Go to Post FIRST has a 365 day season (366 on leap years)... - Adam Richards [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
  #1   Spotlight this post!  
Unread 04-09-2010, 15:08
kamocat's Avatar
kamocat kamocat is offline
Test Engineer
AKA: Marshal Horn
FRC #3213 (Thunder Tech)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 2008
Location: Tacoma
Posts: 894
kamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nice
Send a message via AIM to kamocat Send a message via MSN to kamocat
reverse-voltage protection

I was thinking about how to implement reverse-voltage protection on a Jaguar or Victor, and I realized that all the polarity sensitive components, with the exception of the electrolytic capacitor, are powered by the 5v or 3.3v regulators.
Couldn't we just put a diode on the supply side of both of those, and thus prevent the motor controller from turning on when voltage is reversed?
(The capacitor, though it would blow hot oil all over everything, can be replaced)

On a similar note, how is providing power to the wrong side different than normal operation? It's still the same to the h-bridge. Why does the motor controller even turn on, if the motor is stopped? The source and drain on a MOSFET can be flipped without issues, correct?
__________________
-- Marshal Horn

Last edited by kamocat : 04-09-2010 at 15:12.
  #2   Spotlight this post!  
Unread 04-09-2010, 16:02
EricVanWyk EricVanWyk is offline
Registered User
no team
 
Join Date: Jan 2007
Rookie Year: 2000
Location: Boston
Posts: 1,597
EricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond repute
Send a message via AIM to EricVanWyk
Re: reverse-voltage protection

Quote:
Originally Posted by kamocat View Post
I was thinking about how to implement reverse-voltage protection on a Jaguar or Victor, and I realized that all the polarity sensitive components, with the exception of the electrolytic capacitor, are powered by the 5v or 3.3v regulators.
Reverse voltage protection is very simple conceptually, but gets very expensive when you have high operational power. There are two main types: shunt and series.
A shunt needs to be able to safely shunt many times the operational power for long enough for the breakers to blow. Usually this is a diode or a diode-like device.
A series method needs to be able to conduct the operational power continuously. For an example of a series method, take a look at the schematics for the DSC or Solenoid Breakout.

Quote:
Originally Posted by kamocat View Post
Couldn't we just put a diode on the supply side of both of those, and thus prevent the motor controller from turning on when voltage is reversed?
(The capacitor, though it would blow hot oil all over everything, can be replaced)
Still need to protect the bridge, per your next statement...

Quote:
Originally Posted by kamocat View Post
On a similar note, how is providing power to the wrong side different than normal operation? It's still the same to the h-bridge. Why does the motor controller even turn on, if the motor is stopped? The source and drain on a MOSFET can be flipped without issues, correct?
All MOSFETs (that have 3 terminals) have an internal body diode between source and drain. Reversing polarity allows current to flow through the diode and pop the FET.
  #3   Spotlight this post!  
Unread 04-09-2010, 16:20
kamocat's Avatar
kamocat kamocat is offline
Test Engineer
AKA: Marshal Horn
FRC #3213 (Thunder Tech)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 2008
Location: Tacoma
Posts: 894
kamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nice
Send a message via AIM to kamocat Send a message via MSN to kamocat
Re: reverse-voltage protection

Oh, I was thinking MOSFETs were more like JFETs. That's too bad.
That means in order to have a controller that wouldn't care which side you hooked up the power, you'd need to use JFETs and pre-amplify the signal from the H-bridge drivers. (Supplying power to all this would require a bridge rectifier on both sides)
That's a pain.
__________________
-- Marshal Horn
  #4   Spotlight this post!  
Unread 04-09-2010, 21:22
DonRotolo's Avatar
DonRotolo DonRotolo is offline
Back to humble
FRC #0832
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Atlanta GA
Posts: 7,011
DonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond repute
Re: reverse-voltage protection

Quote:
Originally Posted by EricVanWyk View Post
eeds to be able to conduct the operational power continuously.
The drawback to series protection diodes is their voltage drop - nominally 0.7 volts. That drop hurts your motor power, gets turned into heat, and (as Eric said) needs a device that can handle at least 40 Amps, which isn't all that inexpensive (compared to the cost of a Jaguar, at least).

It certainly can be done, or we just train the operator to not reverse polarity.
__________________

I am N2IRZ - What's your callsign?
  #5   Spotlight this post!  
Unread 05-09-2010, 11:26
kamocat's Avatar
kamocat kamocat is offline
Test Engineer
AKA: Marshal Horn
FRC #3213 (Thunder Tech)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 2008
Location: Tacoma
Posts: 894
kamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nice
Send a message via AIM to kamocat Send a message via MSN to kamocat
Re: reverse-voltage protection

Using a shunt does seem to be the easiest method. The trouble with that is those auto-resetting breakers. (You want this to trip fast, not take two seconds)
So, this would require an inline fuse with tight trip characteristics.

Considering that the PWM drivers seem to be the most sensitive, I would still put a diode in front of the 3.3v and 5v voltage regulators.
__________________
-- Marshal Horn
  #6   Spotlight this post!  
Unread 05-09-2010, 14:07
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: reverse-voltage protection

As mentioned the problem with a diode is the voltage drop and heat generated with it. The current handled by the diode would have to be much greater than 40 amps. In fact it would have to handle a direct short. Many automotive motor drivers use a Fet to provide reverse battery protection. This can be done several Ways.The advantage of a power FET is the low on resistance and less power loss. A PNP Power FET could be used on the high side with the gate tied to ground with a resistor and diode. The problem with a PNP power FET is that they are not available with large current handling and low on resistance. If PNP FETS could be made with the same robust characteristics as NPN FETS they would be used in the motor drive h bridge. Multiple PNP's could be used but, that takes space and adds cost. A NPN FET can be placed on the low side with the gate tied to the V+ with the resistor and diode. The problem with low side protection is that it messes with the ground. Electronics do not like it when the ground has transience on it. A NPN power FET can be used on the high side. The problem is that the gate drive voltage has to be above V+. This requires a voltage boosting circuit adding cost and board space. ST micro makes a bridge driver chip with this circuit on the chip. The other way the jag could be some what protected from reverse polarity and swapping the V+ and motor leads would be to use polarized connectors with a different type for the V+ and Motor. Then the risk of zapping a jag would be limited to when the cables are made up. The PD would also have to have polarized connections. As long as the power connections remain as they are now, every year there will be x number of fried controllers every year. Our team has fried a few.
  #7   Spotlight this post!  
Unread 05-09-2010, 14:30
kamocat's Avatar
kamocat kamocat is offline
Test Engineer
AKA: Marshal Horn
FRC #3213 (Thunder Tech)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 2008
Location: Tacoma
Posts: 894
kamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nice
Send a message via AIM to kamocat Send a message via MSN to kamocat
Re: reverse-voltage protection

You said electronics don't like it when their ground is floating? Does it still matter when their V+ is floating as well?
I'm assuming you're just referring to the small electronics, not the power MOSFETs.

I would be perfectly fine with a keyed connector, such as 45-amp Anderson Powerpole.
__________________
-- Marshal Horn
  #8   Spotlight this post!  
Unread 05-09-2010, 16:16
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: reverse-voltage protection

The Jag has a micro controller, bridge driver chip, CAN driver and voltage regulator that all must have good stable grounds. In addition the micro is making A to D conversions to manage current measurements. The jag is driving a large inductance motor. There are going to be large switching transience floating around. The designer has to manage these. Adding Low side reverse battery protection adds allot of problems to the design. High side is much easier from the ground perspective. Managing the voltage boost and FET power dissipation are the trade off.
The Anderson connectors are big and adding them to the jag which is all ready big would not be ideal. There are smaller connectors that could be used like the RC Dean's connectors. The problem is they could see up to 160 amps. Beyond there rating. Is it really required to have true continuous ratings for our use?
On this subject, would it be acceptable to loose thousands of dollars in electronic modules in a car because a mechanic accidentally reversed battery connections even for a fraction of a second. Can a automotive mechanic reverse polarity by plugging in a new module wrong? If one could the bean counters would be string up the engineers for the warranty claims. Now would this be acceptable in aerospace or a nuclear power plant? Why is it acceptable for our robots.
  #9   Spotlight this post!  
Unread 05-09-2010, 23:30
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,795
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: reverse-voltage protection

Marshall,
I would be willing to bet that the majority of dead controllers due to wiring errors are for the input and output to be reversed. Remember that the HEX power FETs that are used have a diode across the source drain leads that is a fall out of the manufacturing process. The series diode would still need to handle 129 amps, the stall current of the current CIM motors. Schottky diodes have a lower forward voltage drop but are too expensive and large to be included in the controller design. We use the smaller Anderson connectors for all/most of our motor connections. The 45 amp version handles the CIM motors just fine. There is not enough heating in a two minute match to damage these connectors provided that the correct crimper is used to terminate the wire.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #10   Spotlight this post!  
Unread 06-09-2010, 00:09
RyanN's Avatar
RyanN RyanN is offline
RyanN
AKA: Ryan Nazaretian
FRC #4901 (Garnet Squadron)
Team Role: Mentor
 
Join Date: Jun 2006
Rookie Year: 2005
Location: Columbia, SC
Posts: 1,126
RyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond repute
Re: reverse-voltage protection

This involves a few more components, but will get the job done.

NOTE: NOT FRC LEGAL!

You could always add in a simple diode and a relay capable of handling 40A continuous.

Wire the relay to only activate when the right polarity is given. The relay closes the contact to the Jaguar and will then allow the Jaguar to operate.
__________________
Garnet Squadron
FRC 4901
Controls Mentor
@rnazaretian

Previous mentor and student from Team Fusion, FRC 364
  #11   Spotlight this post!  
Unread 06-09-2010, 01:36
kamocat's Avatar
kamocat kamocat is offline
Test Engineer
AKA: Marshal Horn
FRC #3213 (Thunder Tech)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 2008
Location: Tacoma
Posts: 894
kamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nice
Send a message via AIM to kamocat Send a message via MSN to kamocat
Re: reverse-voltage protection

Quote:
Originally Posted by Al Skierkiewicz View Post
Marshall,
I would be willing to bet that the majority of dead controllers due to wiring errors are for the input and output to be reversed. Remember that the HEX power FETs that are used have a diode across the source drain leads that is a fall out of the manufacturing process. The series diode would still need to handle 129 amps, the stall current of the current CIM motors. Schottky diodes have a lower forward voltage drop but are too expensive and large to be included in the controller design. We use the smaller Anderson connectors for all/most of our motor connections. The 45 amp version handles the CIM motors just fine. There is not enough heating in a two minute match to damage these connectors provided that the correct crimper is used to terminate the wire.
From personal experience, I've only wired up power to the wrong side once. That happened to be a Victor. Interestingly, the MOSFETs were the only damaged parts. (They didn't blow until I put significant current through them by actually trying to run the motor) I've replaced those with MOSFETs from Jaguar's I've fried, and it seems to work fine now.

We do use pigtails with mini-anderson connectors on them. On the output side, we actually use a different color (white and green), where as we use red and black on the supply side.
Most of the errors come from cheesed-together systems that haven't been thoroughly checked. I have a small 6 Amp-Hour battery that has a tendency to get reversed (either at the Anderson Powerpole or the push-ons to the battery terminals).
To date, I have 3 Jaguars I use for physical mock-ups. They've all been fried by reversed voltage (either by me or by somebody else on the team).
__________________
-- Marshal Horn
  #12   Spotlight this post!  
Unread 07-09-2010, 07:38
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,795
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: reverse-voltage protection

Quote:
Originally Posted by kamocat View Post
To date, I have 3 Jaguars I use for physical mock-ups. They've all been fried by reversed voltage (either by me or by somebody else on the team).
A cheap fix for this is to use a sharpie when the Jag or Victor come out of the box and mark input and output with a large, unmistakable "+" sign and "IN" and "OUT".
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.

Last edited by Al Skierkiewicz : 07-09-2010 at 07:54.
  #13   Spotlight this post!  
Unread 07-09-2010, 15:23
Bot190's Avatar
Bot190 Bot190 is offline
Registered User
FRC #0166 (ChopShop)
Team Role: Programmer
 
Join Date: Sep 2009
Rookie Year: 2009
Location: Merrimack NH
Posts: 105
Bot190 will become famous soon enough
Re: reverse-voltage protection

The problem isn't always with the wiring to the jaguar itself. This year, one of our batteries was wired backwards. We only found out when we connected it to the robot and turned it on. Reverse voltage protection would have saved at least 2 of our jaguars in this instance.
__________________

  #14   Spotlight this post!  
Unread 07-09-2010, 16:05
AdamHeard's Avatar
AdamHeard AdamHeard is offline
Lead Mentor
FRC #0973 (Greybots)
Team Role: Mentor
 
Join Date: Oct 2004
Rookie Year: 2004
Location: Atascadero
Posts: 5,509
AdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond repute
Send a message via AIM to AdamHeard
Re: reverse-voltage protection

Quote:
Originally Posted by Bot190 View Post
The problem isn't always with the wiring to the jaguar itself. This year, one of our batteries was wired backwards. We only found out when we connected it to the robot and turned it on. Reverse voltage protection would have saved at least 2 of our jaguars in this instance.
I think what people are getting at is that the additional cost, in either performance loss or actual costs, is not worth it. The sum of that additional cost is probably substantially more than the value of the speed controllers damaged. I've been doing this for a while, and I can't recall killing a single speed controller due to reverse wiring. I understand it can be a catastrophic error, especially with a backwards battery, but it's just not a problem worth rectifying
  #15   Spotlight this post!  
Unread 07-09-2010, 16:44
EricVanWyk EricVanWyk is offline
Registered User
no team
 
Join Date: Jan 2007
Rookie Year: 2000
Location: Boston
Posts: 1,597
EricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond repute
Send a message via AIM to EricVanWyk
Re: reverse-voltage protection

Quote:
Originally Posted by AdamHeard View Post
but it's just not a problem worth rectifying
Very Punny
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
Protection Spiders Technical Discussion 3 11-02-2008 21:37
Eye protection gnirts General Forum 9 13-01-2007 20:28
floor protection Ken Leung Off-Season Events 15 17-05-2003 07:42
Voltage Byte -> True Voltage Ulibrium Technical Discussion 11 01-03-2002 08:55
Claimed CD-Protection Kyle Fenton Chit-Chat 19 31-01-2002 04:16


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

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