Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Electrical (http://www.chiefdelphi.com/forums/forumdisplay.php?f=53)
-   -   Speed Controller Design (http://www.chiefdelphi.com/forums/showthread.php?t=86733)

Joe Ross 03-09-2010 16:11

Re: Speed Controller Design
 
Quote:

Originally Posted by JesseK (Post 973235)
Would this affect the choice of speed controller for a robotic subsystem? For example, would fine PID control on a shoulder joint that needs more low-throttle torque be more efficient with a Victor over a Jag? Or is the difference (mostly) negligible?

Like ether said, it should be handled in software. However, if you have the opposite requirement, you need fine control at low throttle, the Jaguar is much better. See http://www.youtube.com/watch?v=_X0_aFMpm9I for a visual demonstration.

Ether 03-09-2010 16:48

Re: Speed Controller Design
 
Quote:

Originally Posted by Joe Ross (Post 973278)
See http://www.youtube.com/watch?v=_X0_aFMpm9I for a visual demonstration.

I saw this about a year ago. It's hard to tell for sure, but it doesn't look like there is any kind of sensor on either motor shaft to provide speed feedback. So I am assuming that this demo was done done with open-loop (voltage) control of speed ?

I wonder how the Vic and Jag would compare when using closed-loop control, and with the motor under at least some minimal load instead of free-running. Could be an entirely different story.



AdamHeard 03-09-2010 17:05

Re: Speed Controller Design
 
Quote:

Originally Posted by Ether (Post 973279)
I saw this about a year ago. It's hard to tell for sure, but it doesn't look like there is any kind of sensor on either motor shaft to provide speed feedback. So I am assuming that this demo was done done with open-loop (voltage) control of speed ?

I wonder how the Vic and Jag would compare when using closed-loop control, and with the motor under at least some minimal load instead of free-running. Could be an entirely different story.


Anecdotal, but 330 has mentioned that their 2008 Arm performed better when under control by jaguars.

Joe Ross 03-09-2010 19:26

Re: Speed Controller Design
 
Quote:

Originally Posted by Ether (Post 973279)
I saw this about a year ago. It's hard to tell for sure, but it doesn't look like there is any kind of sensor on either motor shaft to provide speed feedback. So I am assuming that this demo was done done with open-loop (voltage) control of speed ?

I wonder how the Vic and Jag would compare when using closed-loop control, and with the motor under at least some minimal load instead of free-running. Could be an entirely different story.

You are correct that video was unloaded with voltage control. Adam is correct that the difference was noticeable with our arm, perhaps even more so when loaded.

While we have never run our arm with velocity control, it was also noticeable with position control. It was much easier to get an over-damped response with the jaguar. Our drivers preferred it to be over-damped, they didn't like an extra oscillation even if it was faster. Because of the slop in our arm, being over-damped also gave a more accurate response, since we were always approaching from the same direction. It was also much faster to tune the PID to an acceptable response with the jaguar. Perhaps given the time for optimal tuning for both you might be able to get similar responses, but I don't think many teams have that much time in a FIRST season.

At some point, it would be interesting to repeat the same tests with a black jaguar, but I'm not sure we'd be able to do it. I do encourage other teams to perform similar tests and document the results.

Ether 03-09-2010 19:29

Re: Speed Controller Design
 
Thanks for the detail Joe. That helps put things in perspective.



kamocat 04-09-2010 14:24

Re: Speed Controller Design
 
Ether,
My comment about the motor slowing down quickly when the speed is reduced was in reference to open-loop Voltage control.

I've opened up both Black and Tan Jaguars. (I've fried both). I noticed that the Black Jaguars don't have all 12 MOSFETs; they only have 8. I know the purpose of this was to allow room for the RS232 components, but I was wondering how this was possible (and still have the same performance)? Are they higher-quality MOSFETs with lower ON resistance or greater power dissipation?
If we take Ohm's law, we can say that the total power dissipated by a set of MOSFETs (for one leg of an H-bridge) is i*i*r/n.
i is current
n is the number of MOSFETs
r is the ON resistance of a single MOSFET

That means the power dissipatiion per MOSFET is (i*i*r/n)/n
OR r*(i/n)^2

If identical MOSFETs were used, that means the MOSFETs in the Black Jaguar dissipate 9/4 of what the ones in the Tan Jaguar do, given identical operating conditions. A more accurate way of saying that is if you took out one MOSFET from each leg of the H-bridge on a Tan Jaguar, each MOSFET would now dissipate 9/4 as much power as it did before. (If it doesn't, then it burns up)

However, it has been stated that the Tan Jaguars operate differently than the Black Jaguars. Does locked anti-phase reduce the current through the MOSFETs?

Ether 04-09-2010 18:11

Re: Speed Controller Design
 
Quote:

Originally Posted by kamocat (Post 973352)
I noticed that the Black Jaguars don't have all 12 MOSFETs; they only have 8.

Tan Jag uses FDP8874

Black Jag uses FDP8441



Ether 04-09-2010 18:27

Re: Speed Controller Design
 
Quote:

Originally Posted by kamocat (Post 973352)
Ether,
My comment about the motor slowing down quickly when the speed is reduced was in reference to open-loop Voltage control.

OK, I can understand why a Black Jag would exhibit this behavior. Damping is an inherent characteristic of locked antiphase switching.

But what I can't make sense of (yet) is this:

Quote:

Even in coast mode, when I take a motor down from full speed to 10%, it goes down like it was braked. (It also draws a lot of current in doing so, tripping the crowbar on my 9A power supply, even if the motor is free-running. It performs fine on battery.)
Why would it draw a lot of current when you take the motor down from full speed to 10%, if you are using open-loop voltage control?



kamocat 04-09-2010 21:01

Re: Speed Controller Design
 
The reason it draws a lot of current is that instead of shorting the motor to itself, you're shorting the motor to the power supply.
I haven't actually measured the current while it's doing this. It might have something to do with the nature crowbar on the power supply. (Perhaps it's voltage controlled, not current-controlled?)

I will double-check this behavior.

kamocat 04-09-2010 21:05

Re: Speed Controller Design
 
Quote:

Originally Posted by Ether (Post 973373)
Tan Jag uses FDP8874

Black Jag uses FDP8441

Thanks for looking those up!
The FDP8441, the on-resistance is 0.0021 ohms and it has a power dissipation of 300W.
The FDP8874 has an on-resistance of 0.0036 ohms and a power dissipation of 110 watts.

So yes, they did use much higher quality transistors.

Ether 04-09-2010 21:50

Re: Speed Controller Design
 
Quote:

what I can't make sense of (yet) is this: Why would it draw a lot of current when you take the motor down from full speed to 10%, if you are using open-loop voltage control?
Never mind - I figured it out.

When a DC motor is free-spinning at high speed there is very little current. If you then apply a reverse voltage, the motor's back EMF adds to the applied reverse voltage and creates high current.



kamocat 04-09-2010 21:56

Re: Speed Controller Design
 
Okay, good.
I confirmed that it happens, but it only happens with Black Jaguars. On Tan Jaguars, the motor just runs down on its own.

Ether 04-09-2010 22:04

Re: Speed Controller Design
 
Quote:

Originally Posted by kamocat (Post 973392)
Okay, good.
I confirmed that it happens, but it only happens with Black Jaguars. On Tan Jaguars, the motor just runs down on its own.

That's because the Black Jags use locked antiphase switching (which applies reverse voltage during the "off" part of the duty cycle).

So, in your example, if you change the throttle command from 100% to 10%, that corresponds to a change in duty cycle from 100% to 55%. With a 55% duty cycle, you will have 45% reverse voltage with locked antiphase.




All times are GMT -5. The time now is 07:28.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi