Position Control Setup
- blakrapter
- Topic Author
18 years 5 months ago #4054431
by blakrapter
I am trying to setup my positional control system and have a question about setting the limits. The potentiometers I have are capable of a slightly larger angular range than I require, so I need to be able to tell the controller to stop at some voltage greater than 0 and lower than 5. I did not see any provisions for this in the manual or the software. How do I do this? I saw where I could put limit switches on it, but then I wouldn't be able to use the full throw of the joystick. How do I limit the position? Thanks.
Position Control Setup was created by blakrapter
I am trying to setup my positional control system and have a question about setting the limits. The potentiometers I have are capable of a slightly larger angular range than I require, so I need to be able to tell the controller to stop at some voltage greater than 0 and lower than 5. I did not see any provisions for this in the manual or the software. How do I do this? I saw where I could put limit switches on it, but then I wouldn't be able to use the full throw of the joystick. How do I limit the position? Thanks.
Please Log in or Create an account to join the conversation.
- cosma
18 years 5 months ago #4056421
by cosma
Replied by cosma on topic Re:Position Control Setup
You should be able to do this simply by limiting the range of the command you send.
If operating the controller in RS232 mode, this is quite strainght forward as you are in total control of the command value you compute and send.
If in RC mode, you can alter the pulse capture timing using the Roborun utility, in the "RC-Ananog specific" tab
If operating the controller in RS232 mode, this is quite strainght forward as you are in total control of the command value you compute and send.
If in RC mode, you can alter the pulse capture timing using the Roborun utility, in the "RC-Ananog specific" tab
Please Log in or Create an account to join the conversation.
- blakrapter
- Topic Author
18 years 5 months ago #4062917
by blakrapter
Replied by blakrapter on topic Re:Position Control Setup
Thank you for the information. Just to clarify, if I limit the RC pulse for that axis it will limit the input the controller sees, but not the necessary throw of the joystick? Say I limit it to 50%, it will limit the movement of the motor by 50%, but will it also make only 50% of my joystick throw usable? Thanks
Please Log in or Create an account to join the conversation.
- cosma
18 years 5 months ago #4063084
by cosma
Replied by cosma on topic Re:Position Control Setup
<DIV>You will still get the full throw of your joystick.</DIV> <DIV> </DIV> <DIV>The trick is to fool the controller into thinking that the joystick's full throw is half the throw.</DIV> <DIV> </DIV> <DIV>To put it numerically, default pulse size is:</DIV> <DIV> </DIV> <DIV>Center: 1.5ms</DIV> <DIV>Full min: 1ms</DIV> <DIV>Full max: 2ms</DIV> <DIV> </DIV> <DIV>You should change the controller values so that</DIV> <DIV> </DIV> <DIV>Center: 1.5ms</DIV> <DIV>Full min: 0.5ms</DIV> <DIV>Full max: 2.5ms</DIV> <DIV> </DIV> <DIV>This way, when the joystick is at full max, for example, pulse is 2ms but the controller will see this as half way.</DIV> <DIV> </DIV>
Please Log in or Create an account to join the conversation.
Moderators: tonysantoni
Time to create page: 0.069 seconds