|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: Ramping Motors?
Quote:
If you are using jaguars, they have ramping modes built in(but disabled by default). To enable voltage ramping, you need to change some jumpers.(see in the attached manual p.12) You can even change the rate of ramping using the serial interface and some NI software. Checkout page 11 of the attached manual to see if this is what you want. Look at coast/break jumper and the automatic ramp mode. |
|
#2
|
|||
|
|||
|
Re: Ramping Motors?
Quote:
Also, the guide on commands was really bad. I'll take it into account that it loops repeatedly. Thanks to you both! |
|
#3
|
||||
|
||||
|
Re: Ramping Motors?
Quote:
In PWM mode, the ramp is 0.06 seconds from neutral to full throttle. That's enough to reduce the occurrence of Jag overcurrent trips. But if you're trying to change the feel of the driver interface it's probably not going to help. |
|
#4
|
||||
|
||||
|
Re: Ramping Motors?
Quote:
|
|
#5
|
|||
|
|||
|
Re: Ramping Motors?
Oh, sweet, I just downloaded the software. I am using PWM, so that's really helpful.
|
|
#6
|
||||
|
||||
|
Re: Ramping Motors?
Quote:
Q8 & Q9 in the FAQ seem to be saying that the factory "preset value" cannot be changed, and will be used every time the Jag is power cycled. Could someone who has actually done it please confirm? Last edited by Ether : 28-01-2013 at 15:21. |
|
#7
|
|||
|
|||
|
Re: Ramping Motors?
Quote:
|
|
#8
|
||||
|
||||
|
Re: Ramping Motors?
Quote:
|
|
#9
|
|||
|
|||
|
Re: Ramping Motors?
Quote:
The idea behind the Automatic Ramp Mode was to give teams a quick way to prevent high current spikes without having to write code or hook up the CAN/Serial interface. If you need the ability to tweak your ramp rate, you either need to use CAN/Serial the whole time or write a ramp into your PWM code. -David Last edited by dyanoshak : 28-01-2013 at 18:30. |
|
#10
|
|||
|
|||
|
Re: Ramping Motors?
PWM is stupid, I'm switching to CAN. Unfortunately, I didn't request CAN when I ordered, so now I have to buy the RS232-RJ11 and RJ11-RJ11 cables. Oh well...
|
|
#11
|
|||
|
|||
|
Re: Ramping Motors?
If you don't want to use CAN and you still want ramping, you can modify the source file for the Jaguar class to just average out speeds over the last 20 ms or so before setting the output speed.
|
|
#12
|
|||
|
|||
|
Re: Ramping Motors?
Yeah, but now that I read up on it, I may want to use the jaguar PID modules too to keep my own code as clean as possible.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|