|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: Jaguars - Current Mode Fails
The slaves do not and never have relied on PID loops - they draw straight from the masters.
|
|
#2
|
||||||
|
||||||
|
Re: Jaguars - Current Mode Fails
Current mode uses PID.
|
|
#3
|
||||
|
||||
|
Re: Jaguars - Current Mode Fails
Exclusively? For our purposes, it is not only impractical but also not healthy for the motors, as ideally the slaves should be running at the same speed as the masters.
If they use PID exclusively, is it not true that Current mode is more effective at distributing the work load? |
|
#4
|
||||
|
||||
|
Re: Jaguars - Current Mode Fails
They use a PID loops to get the current draw as close to the target as possible. Remember, the output is some speed from -1 to 1. The Jaguar needs the PID loop to figure out what output will get the proper current draw.
|
|
#5
|
||||
|
||||
|
Re: Jaguars - Current Mode Fails
Does anyone have any experience trying to get a "slave" CIM to sync current output with a "master" CIM - specifically in the application of a 4-motor (2 per side) drivetrain?
I'm curious what ballpark PID values were used, and what your tuning methodology was. We're planning on using the speed control PID on the master Jags. If there is a PID loop running on the slave Jags just to match the currents, if it doesn't react fast enough, it'll confuse the master Jag's speed PID loop. Sort of like trying to hit a constantly moving target. Has anyone already implemented something similar to this? Last edited by Mr. Lim : 14-01-2012 at 07:44. |
|
#6
|
||||
|
||||
|
Re: Jaguars - Current Mode Fails
Quote:
|
|
#7
|
||||
|
||||
|
Re: Jaguars - Current Mode Fails
That sounds like what we were doing before - we had the slave Jaguars running in PercentVBus mode, and the master Jaguars running in PID speed control mode. We had separate PID loops on the left and right master Jaguars. To synchronize the slaves, we used:
Code:
... jagLeftSlave.setX(jagLeftMaster.getOutputVoltage() / jagLeftMaster.getBusVoltage()); jagRightSlave.setX(jagRightMaster.getOutputVoltage() / jagRightMaster.getBusVoltage()); ... |
|
#8
|
||||
|
||||
|
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|