Go to Post Never should an idea be ridiculed, because ideas are exactly that just an idea. - Tim Delles [more]
Home
Go Back   Chief Delphi > Technical > Electrical
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #16   Spotlight this post!  
Unread 31-08-2010, 22:39
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,125
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Speed Controller Design

Quote:
Originally Posted by Geek 2.0 View Post
Also high chop frequency. I have only a very slight idea of what that is, and how it affects Victors and Jaguars differently
The Jag's output PWM frequency is 15,000 Hz. The Victor's is 150 Hz.


  #17   Spotlight this post!  
Unread 31-08-2010, 22:52
Geek 2.0 Geek 2.0 is offline
Registered User
FRC #0107
Team Role: Programmer
 
Join Date: Sep 2009
Rookie Year: 2008
Location: Holland, MI
Posts: 120
Geek 2.0 will become famous soon enough
Re: Speed Controller Design

Quote:
Originally Posted by Ether View Post
The Jag's output PWM frequency is 15,000 Hz. The Victor's is 150 Hz.

That only makes too much sense, thanks. Where would you possibly draw the line for what works with locked antiphase?
  #18   Spotlight this post!  
Unread 31-08-2010, 23:02
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,600
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Speed Controller Design

Since you're in control of the design, you might try designing it so that it can work with a variety of chop rates and different output methods and see if you can answer the questions in the following thread: http://www.chiefdelphi.com/forums/sh...ad.php?t=77297 and this thread: http://www.chiefdelphi.com/forums/sh...ad.php?t=83973

Last edited by Joe Ross : 31-08-2010 at 23:19.
  #19   Spotlight this post!  
Unread 31-08-2010, 23:03
Gdeaver Gdeaver is offline
Registered User
FRC #1640
Team Role: Mentor
 
Join Date: Mar 2004
Rookie Year: 2001
Location: West Chester, Pa.
Posts: 1,370
Gdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond repute
Re: Speed Controller Design

Black jags switch different than tan jags. The tan jags are high side switchers. The black jags are locked antiphase. Allegro makes a nice fet full bridge automotive driver chip. The A3941K. The data sheet gives a good description of the different ways the Fet bridge can be driven. May be it will help.
http://www.allegromicro.com/en/Produ.../3941/3941.pdf
Warning to understand this chip requires allot of back ground Knowledge but the diagrams and tables help with the fundamentals. This chip is used on some of Pololu Robotics motor controllers. http://www.pololu.com/
The Jags really are a deal for FIRST teams compared to many other less capable drivers.
  #20   Spotlight this post!  
Unread 31-08-2010, 23:33
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,125
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Speed Controller Design

Quote:
Originally Posted by Gdeaver View Post
Black jags switch different than tan jags. The tan jags are high side switchers. The black jags are locked antiphase.
Well that's certainly useful to be aware of. Maybe black Jags shipped to FRC teams should come wrapped in yellow caution tape with a warning to this effect.


  #21   Spotlight this post!  
Unread 01-09-2010, 00:59
Geek 2.0 Geek 2.0 is offline
Registered User
FRC #0107
Team Role: Programmer
 
Join Date: Sep 2009
Rookie Year: 2008
Location: Holland, MI
Posts: 120
Geek 2.0 will become famous soon enough
Re: Speed Controller Design

Actually, I find that A3941K chip very intriguing... I might end up using it in the future, because it provides a lot of nice features.


Why is it that they use multiple MOSFETs per H-Bridge leg? Is it to provide more current?

If so, could I use such a configuration on another Gate Driver, such as the A3941K?

Last edited by Geek 2.0 : 01-09-2010 at 01:15.
  #22   Spotlight this post!  
Unread 01-09-2010, 07:51
Unsung FIRST Hero
Al Skierkiewicz Al Skierkiewicz is offline
Broadcast Eng/Chief Robot Inspector
AKA: Big Al WFFA 2005
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1996
Location: Wheeling, IL
Posts: 10,798
Al Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond repute
Re: Speed Controller Design

OK,
Time for a little better definition here. The Jaguar and the Victor differ a little in the method of motor control but not much. The H bridge is basically the same for both, four sets of FETs. To drive in one direction a FET must be connected to the high side and another to the low side. In your drawing above, the diagonally connected FETs are turned on for this mode. Q1 and Q4 for one direction and Q2 and Q3 for the other direction. (Observe current flow through the motor when visualizing these modes.)

Where the Jaguar and Victor differ is that in the Victor, both FETs in the pair are controlled by PWM signals while in the Jaguar, only the high side FET is PWM while the low side FET is ON for direction.

The Brake Mode jumper operates in a similar manner for both types. The Brake Mode will turn on both low side FET pairs in a zero throttle condition while the Coast mode will turn off all FETs. Note that during Brake Mode, current supplied by the motor is shunted through one pair, the common power supply lead and then through the other pair. During Coast, no current flows.

The locked anti-phase that Eric refers to is a condition where the controller is supplying a 50% duty cycle of forward and reverse commands essentially locking the motor shaft in position under power. Please note that this could be a relatively large current demand as current is flowing in the motor all the time. Gary, correct me if I am wrong, but I was under the impression that both the Tan and Black Jaguars could only provide lock mode (analog control mode) under CAN control with encoder input provided at the controller or through the buss. The difference between the two is essentially the RS232 input and the change in the FETs to provide 24 volt input on the Black.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #23   Spotlight this post!  
Unread 01-09-2010, 08:33
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,125
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Speed Controller Design

Quote:
Originally Posted by Al Skierkiewicz View Post
The locked anti-phase that Eric refers to is a condition where the controller is supplying a 50% duty cycle of forward and reverse commands essentially locking the motor shaft in position under power
locked anti-phase does provide some damping (resistance to sudden changes in speed), but it doesn't "lock the motor shaft in position". If there is a load on the motor, the motor will not stay locked in position.


  #24   Spotlight this post!  
Unread 01-09-2010, 08:35
Russ Beavis Russ Beavis is offline
Registered User
no team
 
Join Date: Nov 2005
Location: Manchester, NH - DEKA R&D Corp.
Posts: 341
Russ Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond repute
Re: Speed Controller Design

A brief technical sidetrack - for an interesting demonstration of "brake" versus "coast", take the two leads for the motor and short them together. Now try spinning the motor shaft. Now you'll understand why turning on either both of the low side or both of the high side drivers result in "brake".

After you've shown yourself and others how to "brake" a DC brush motor, now try to explain why this happens. This is a great introductory lesson to electromagnetism.

Russ
  #25   Spotlight this post!  
Unread 01-09-2010, 08:45
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,125
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Speed Controller Design

Quote:
Originally Posted by Russ Beavis View Post
A brief technical sidetrack - for an interesting demonstration of "brake" versus "coast", take the two leads for the motor and short them together. Now try spinning the motor shaft.
Yes, I use this demonstration. It is very effective and gets students thinking. Especially when trying to explain the difference between dynamic and static braking.

  #26   Spotlight this post!  
Unread 01-09-2010, 09:07
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,125
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Speed Controller Design

Quote:
Originally Posted by EricVanWyk View Post
.. "locked anti-phase", and is usually used when you need fine control while nearly off
like when doing closed-loop position control on a lightly-loaded motor, for example.


  #27   Spotlight this post!  
Unread 01-09-2010, 10:28
Unsung FIRST Hero
Al Skierkiewicz Al Skierkiewicz is offline
Broadcast Eng/Chief Robot Inspector
AKA: Big Al WFFA 2005
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1996
Location: Wheeling, IL
Posts: 10,798
Al Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond repute
Re: Speed Controller Design

Quote:
Originally Posted by Ether View Post
locked anti-phase does provide some damping (resistance to sudden changes in speed), but it doesn't "lock the motor shaft in position". If there is a load on the motor, the motor will not stay locked in position.
Ether,
Yes, you are correct. We have used this method in the past. With closed loop control using CIM motors and the FRC battery, it is essentially locked.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #28   Spotlight this post!  
Unread 01-09-2010, 15:50
Geek 2.0 Geek 2.0 is offline
Registered User
FRC #0107
Team Role: Programmer
 
Join Date: Sep 2009
Rookie Year: 2008
Location: Holland, MI
Posts: 120
Geek 2.0 will become famous soon enough
Re: Speed Controller Design

Quote:
Originally Posted by Al Skierkiewicz View Post
Where the Jaguar and Victor differ is that in the Victor, both FETs in the pair are controlled by PWM signals while in the Jaguar, only the high side FET is PWM while the low side FET is ON for direction.
Okay I'm sorry if I'm being difficult here, but it seems that the way the circuit is laid out, it wouldn't be possible for a Jaguar to control the high and low side FETs separately, because of the gate driver they use (which makes the high side and low side always opposite each other, unless they are disabled).

Maybe I'm missing a big piece to this puzzle.

Also, would using multiple FETs per leg of the H-Bridge just increase the gate capacitance, meaning you can use as many as the driver can handle effectively (if that makes any sense)? And I would assume using more FETs per leg of the H-Bridge would provide higher current capacity...


By the way, thank you all for being so helpful! I've gone 0-60 (or maybe 35...) on this topic over the past two days!
  #29   Spotlight this post!  
Unread 01-09-2010, 21:18
Unsung FIRST Hero
Al Skierkiewicz Al Skierkiewicz is offline
Broadcast Eng/Chief Robot Inspector
AKA: Big Al WFFA 2005
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1996
Location: Wheeling, IL
Posts: 10,798
Al Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond repute
Re: Speed Controller Design

Geek,
I know it is hard to see but one FET driver only controls one of the pair. The other FET is controlled by the second FET driver. Note where the motor is connected in the schematic you referenced. (Don't look at the driver sheet, you have to look at the jaguar schematic) In this way it is possible to get the control needed for speed control of the brushed CD motor.
In the original design, the FETs used could handle about 40 amps each for short durations due to the internal heating of the FET. With three in parallel, the current capabilities almost met the stall current on a CIM (129Amps). In addition, the original design had a Fairchild driver circuit that in addition to being discontinued by Fairchild also had been designed for 7 amps of gate current. For the most part, the series resistance of most robot designs limited current so that stall on the CIM was less than 120 amps. For some teams that choose #10 or larger wire and short runs could cause significant currents to flow through the Jaguar. There is also a small resistor in the Jaguar that is used for current sense. The voltage across this resistor feeds into the controller for over current protection and makes it also available on the CAN buss for feedback. It was the Fairchild part that seemed to be the cause of a large number of the failures experienced last year. The failure where a motor could only be controlled in one direction was the failure of one of the gate drivers.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #30   Spotlight this post!  
Unread 01-09-2010, 22:19
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,125
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Speed Controller Design




Attached PDF shows a simplified view


Attached Files
File Type: pdf H bridge.pdf (2.2 KB, 53 views)
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
FRC Robot Controller/Speed Controller RoarRoar Control System 3 17-01-2008 10:41
Speed Controller Code ND4SPDLSC Programming 2 18-02-2006 21:48
speed controller max speed Team 668 Programming 15 13-02-2005 14:05
Speed Controller Megas_xlr Control System 3 18-01-2005 15:41
Speed Controller Megas_xlr Electrical 3 18-01-2005 15:41


All times are GMT -5. The time now is 20:55.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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