|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Limit motor speed
The robot we built is hard to control. I was wondering is there a way to limit the speed of the motors through labview? Thnx
|
|
#2
|
|||||
|
|||||
|
Re: Limit motor speed
Do you want to limit the maximum speed, as if you had an extra stage of reduction in a gearbox? That's easily done by multiplying the joystick values by a number less than one. You lose the ability to apply full power if you do that, so it might be a good idea to include the option to leave the joystick values alone if a "turbo" button (e.g. the joystick trigger) is pressed by the driver.
Do you want to change the response of the joysticks so that they are more sensitive at low speeds, but still go to full power when pushed all the way? That's a little more difficult, but still straightforward. Try multiplying the joystick value by itself three times, yielding the cube of its value. That response curve is something many teams have used in the past. |
|
#3
|
|||
|
|||
|
Re: Limit motor speed
Im leaning towards the 2 choice. what do i hook up to the multiply terminals.
|
|
#4
|
|||
|
|||
|
Re: Limit motor speed
Take the output of the joystick X and Y and use a Numeric multiply. For bonus points, plot the joystick output against the drive input to show your teammates the difference.
Greg McKaskle |
|
#5
|
|||||
|
|||||
|
Re: Limit motor speed
Feed in the joystick axis value. The attached image shows you how to look at the way the cubed value changes as you move the joystick.
|
|
#6
|
|||
|
|||
|
Re: Limit motor speed
Thank you very much. Got it to work
![]() |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Motor limit for Denso 2010? | Bill Taylor | Motors | 4 | 18-01-2010 18:51 |
| how to limit speed on the motors. | haxor5354 | Programming | 2 | 07-02-2009 07:51 |
| Motor speed sensing with the Jaguar motor controller? | mminutto | FRC Control System | 5 | 13-01-2009 18:13 |
| Motor Limit? | ForgottenSalad | Motors | 2 | 10-01-2006 16:08 |
| How do you set a speed limit on the servo | Fares | Programming | 6 | 01-01-2003 15:04 |