|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||||
|
|||||
|
Re: Modeling motor control
Alright, I'm transferring a post from the current sensing thread over here to keep things better organized.
Quote:
Locked anti-phase required reserving the entire h-bridge to go from forward bias to reverse bias in respective PWM phases. It's a Forward-Reverse phase modulation. That's definitely not what either Jag is doing. Both Jags hold one half of the h-bridge constant. So in forward motion, the M- half is held high-OFF, low-ON for the entire PWM cycle. In the Tan Jags, the M+ high side is selected via the PWM pin, and the output disable is modulated, so the M+ low side would never turn on. So that's a Forward-Open modulation. The Black Jags do things differently and alternately drive the M+ high and low sides. That's a Forward-Shorted modulation, because we never turn on the M- high side. So I was suggesting that the Tan hardware seems perfectly capable of the same Forward-Shorted operation as the Black if they modulated the PWM pin instead of the Output Disable pin. |
|
#2
|
||||
|
||||
|
Re: Modeling motor control
Oh, you're right, my mistake.
If they modulated the PWM pin, it would have the same control as the Black Jaguar. Isn't that interesting? I wonder why they haven't changed that yet. |
|
#3
|
|||||
|
|||||
|
Re: Modeling motor control
They very well may have changed it for the FRC firmware. Again with my caveats that this is all based off the reference source code released by Luminary Micro, which may not be identical to the FRC firmware. I'm not much interested in hunting up a disassembler for pick apart the FRC firmware just to double check things though. Anyways, the only reason I can think of for not doing it is if the don't trust the dead time protection in their FET drivers.
FETs all have some delay between turning off the gate supply and when conduction actually stops. So if you're simply turning off the high side and turning on the low side at the same instant, you can get "shoot-through" where you've actually shorted V+ to V- for some small amount of time. This is obviously bad, so most integrated FET drivers have provisions for adding "dead time" between turning one side off and the other on. The Tan Jag's driver says it has built in dead time, but Luminary Micro may not have trusted it, or may have discovered a problem with their implementation of it. Or they may have just not wanted bother with the possibility of a problem. |
|
#4
|
|||||
|
|||||
|
Re: Modeling motor control
It may well have been to help the bootstrap work.
|
|
#5
|
||||
|
||||
|
Re: Modeling motor control
Quote:
|
|
#6
|
|||||
|
|||||
|
Re: Modeling motor control
Quote:
Come to think of it, this explains Marshal's report of different operating characteristics between the tan and black jags. If you're running the motor at high/full speed and drop to a lower PWM command, the current will decay quicker in the tan jag, but you'll never get reverse torque, so you'll "coast" during the off cycle. In the Black Jag, there's a path for reverse current during the off cycle, so it's possible for the back emf to build up a reverse current and create reverse torque to slow the motor down quicker. I think this makes sense, but I don't have any simulations set up at the moment to test it. |
|
#7
|
||||
|
||||
|
Re: Modeling motor control
Quote:
With a CIM and a Black Jag: even if the CIM is going at full throttle no-load, it takes almost 45 microseconds for the 2.7amp no-load current to decay to zero if you short the motor. The Jag's PWM period is 33 microseconds. |
|
#8
|
||||
|
||||
|
Re: Modeling motor control
Quote:
I don't have L values for other motors. Quote:
Last edited by Ether : 07-01-2011 at 18:46. Reason: corrected typo |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Encoder Motor Control | Wicked | NI LabVIEW | 3 | 11-02-2009 18:21 |
| Motor control problem | Lablabla | Programming | 3 | 17-01-2007 15:27 |
| Motor Control Systems | Astronouth7303 | Programming | 3 | 05-04-2005 19:35 |
| Four motor control | judson | Programming | 1 | 14-02-2005 20:17 |
| Motor Control | archiver | 2000 | 1 | 23-06-2002 23:01 |