Go to Post FIRST prides itself on safety. It shouldn't be limited to only the pit area. - sanddrag [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

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 24-10-2016, 17:14
Lireal Lireal is offline
Registered User
AKA: Alex Colello
FRC #2141 (Spartonics)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2013
Location: Concord, California
Posts: 106
Lireal has a spectacular aura aboutLireal has a spectacular aura aboutLireal has a spectacular aura about
Safe Method for Purposeful Brown-out

I was wondering, what would be a safe method to purposefully induce a brown out with out risk to electronics? I think it would be useful to test electronics in those extreme conditions.
Reply With Quote
  #2   Spotlight this post!  
Unread 24-10-2016, 17:23
SenorZ's Avatar
SenorZ SenorZ is offline
Physics Teacher
AKA: Tom Zook
FRC #4276 (Surf City Vikings)
Team Role: Teacher
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Huntington Beach, California
Posts: 929
SenorZ has a reputation beyond reputeSenorZ has a reputation beyond reputeSenorZ has a reputation beyond reputeSenorZ has a reputation beyond reputeSenorZ has a reputation beyond reputeSenorZ has a reputation beyond reputeSenorZ has a reputation beyond reputeSenorZ has a reputation beyond reputeSenorZ has a reputation beyond reputeSenorZ has a reputation beyond reputeSenorZ has a reputation beyond repute
Re: Safe Method for Purposeful Brown-out

Which electronics are you intending to test?

A 6 CIM drive moving a 140LB robot can drop your voltage to below 10v. That can cause some brown-out issues for some components. But I think it would be safer to monitor loads with as few electronics connected as possible to test your limits.
__________________
2013-present: FRC Team 4276, Surf City Vikings
2011-2012: FRC Team 3677, The Don Bots
Reply With Quote
  #3   Spotlight this post!  
Unread 24-10-2016, 17:43
MrForbes's Avatar
MrForbes MrForbes is offline
Registered User
AKA: Jim
FRC #1726 (N.E.R.D.S.)
Team Role: Mentor
 
Join Date: Feb 2006
Rookie Year: 2006
Location: Sierra Vista AZ
Posts: 5,986
MrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond repute
Re: Safe Method for Purposeful Brown-out

run the robot for a while, the battery will run down, voltage will drop, you can see what happens. I think it's pretty much a normal thing, we've never had issues with electronics when the batteries get low. But sometimes, we waste some troubleshooting effort before someone gets wise enough to ask what the battery voltage is.
Reply With Quote
  #4   Spotlight this post!  
Unread 24-10-2016, 18:46
Tom Line's Avatar
Tom Line Tom Line is offline
Raptors can't turn doorknobs.
FRC #1718 (The Fighting Pi)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1999
Location: Armada, Michigan
Posts: 2,514
Tom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond repute
Re: Safe Method for Purposeful Brown-out

Drive for a while until the battery is low. Drive up against a wall. Slowly increase power to drivetrain. You will 'safely' brown out.
Reply With Quote
  #5   Spotlight this post!  
Unread 25-10-2016, 07:10
GeeTwo's Avatar
GeeTwo GeeTwo is offline
Technical Director
AKA: Gus Michel II
FRC #3946 (Tiger Robotics)
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Slidell, LA
Posts: 3,590
GeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond repute
Re: Safe Method for Purposeful Brown-out

You could take Al's advice in reverse: terminate one end of a spool of #6 cable and use it (the whole spool) as the leg between the main breaker and the PDP. That would drop your voltage without requiring you to drain your battery so far or building up dangerous temperatures in a component.
__________________

If you can't find time to do it right, how are you going to find time to do it over?
If you don't pass it on, it never happened.
Robots are great, but inspiration is the reason we're here.
Friends don't let friends use master links.
Reply With Quote
  #6   Spotlight this post!  
Unread 25-10-2016, 10:16
gblake's Avatar
gblake gblake is offline
6th Gear Developer; Mentor
AKA: Blake Ross
no team (6th Gear)
Team Role: Mentor
 
Join Date: May 2006
Rookie Year: 2006
Location: Virginia
Posts: 1,935
gblake has a reputation beyond reputegblake has a reputation beyond reputegblake has a reputation beyond reputegblake has a reputation beyond reputegblake has a reputation beyond reputegblake has a reputation beyond reputegblake has a reputation beyond reputegblake has a reputation beyond reputegblake has a reputation beyond reputegblake has a reputation beyond reputegblake has a reputation beyond repute
Re: Safe Method for Purposeful Brown-out

Variable-voltage, high-current power supply? If you happen to have one handy.

A little more seriously ... I never yet needed to learn about the cleanliness or other characteristics of arc welding power supplies, but one of those, plus or minus some high wattage voltage-dividing components might do the trick.

Does the robot need to be driving around on the ground? Or can it be up on blocks or on a homebrew dynamometer?
__________________
Blake Ross, For emailing me, in the verizon.net domain, I am blake
VRC Team Mentor, FTC volunteer, 5th Gear Developer, Husband, Father, Triangle Fraternity Alumnus (ky 76), U Ky BSEE, Tau Beta Pi, Eta Kappa Nu, Kentucky Colonel
Words/phrases I avoid: basis, mitigate, leveraging, transitioning, impact (instead of affect/effect), facilitate, programmatic, problematic, issue (instead of problem), latency (instead of delay), dependency (instead of prerequisite), connectivity, usage & utilize (instead of use), downed, functionality, functional, power on, descore, alumni (instead of alumnus/alumna), the enterprise, methodology, nomenclature, form factor (instead of size or shape), competency, modality, provided(with), provision(ing), irregardless/irrespective, signage, colorized, pulsating, ideate
Reply With Quote
  #7   Spotlight this post!  
Unread 25-10-2016, 12:24
Jaci's Avatar
Jaci Jaci is online now
Registered User
AKA: Jaci R Brunning
FRC #5333 (Can't C# | OpenRIO)
Team Role: Mentor
 
Join Date: Jan 2015
Rookie Year: 2015
Location: Perth, Western Australia
Posts: 257
Jaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond repute
Re: Safe Method for Purposeful Brown-out

If you're just testing the functionality of your robot code during a temporary loss of control:

Put all your robot control code inside of a common periodic method that is called from all states (i.e. DisabledPeriodic, TeleopPeriodic) and temporarily have a codriver switch the robot to and from disabled mode. Disabled mode is almost identical to a brownout in that actuators do not receive power however most sensors do.
__________________
Jacinta R

Curtin FRC (5333+5663) : Mentor
5333 : Former [Captain | Programmer | Driver], Now Mentor
OpenRIO : Owner

Website | Twitter | Github
jaci.brunning@gmail.com
Reply With Quote
  #8   Spotlight this post!  
Unread 26-10-2016, 15:32
adciv adciv is offline
One Eyed Man
FRC #0836 (RoboBees)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2010
Location: Southern Maryland
Posts: 478
adciv is a name known to alladciv is a name known to alladciv is a name known to alladciv is a name known to alladciv is a name known to alladciv is a name known to all
Re: Safe Method for Purposeful Brown-out

Quote:
Originally Posted by Jaci View Post
Disabled mode is almost identical to a brownout in that actuators do not receive power however most sensors do.
If I remember right, the 5v rail is disabled during brown out. Can't remember if the 3.3v rail is or not.
__________________
Quote:
Originally Posted by texarkana View Post
I would not want the task of devising a system that 50,000 very smart people try to outwit.
Reply With Quote
  #9   Spotlight this post!  
Unread 27-10-2016, 10:05
Jaci's Avatar
Jaci Jaci is online now
Registered User
AKA: Jaci R Brunning
FRC #5333 (Can't C# | OpenRIO)
Team Role: Mentor
 
Join Date: Jan 2015
Rookie Year: 2015
Location: Perth, Western Australia
Posts: 257
Jaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond repute
Re: Safe Method for Purposeful Brown-out

Quote:
Originally Posted by adciv View Post
If I remember right, the 5v rail is disabled during brown out. Can't remember if the 3.3v rail is or not.
That depends on the level of brownout.

At 6.8V the 6V PWM rail is disabled, CAN devices are sent a disable command.

At 6.3V the 5V rail is disabled among DIO, Analog and MXP. 3V3 is disabled on the SPI and I2C bus. Something to note is that the 5V output on the SPI bus appears to stay active. If the internal jumper J2 is configured properly, all DIO outputs turn to 3V3 and are also disabled at this brownout level.

Keep note that all power going to the USB bus is still active.

Source: https://wpilib.screenstepslive.com/s...g-current-draw
__________________
Jacinta R

Curtin FRC (5333+5663) : Mentor
5333 : Former [Captain | Programmer | Driver], Now Mentor
OpenRIO : Owner

Website | Twitter | Github
jaci.brunning@gmail.com
Reply With Quote
  #10   Spotlight this post!  
Unread 27-10-2016, 16:04
Peter Johnson Peter Johnson is offline
WPILib Developer
FRC #0294 (Beach Cities Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Redondo Beach, CA
Posts: 249
Peter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud of
Re: Safe Method for Purposeful Brown-out

If you're doing it as a bench setup (or can put the robot up on blocks), and are wanting to just check brownout response of the roboRio, you can use a variable bench supply to power just the roboRio while powering the rest of the robot with the normal battery. The main thing to be careful to do is tie the negative side of the power supply to the negative side of the battery to get a common ground reference (no need to go to the battery directly, you can get this from wiring to any black terminal of the PDP). The advantage of this approach is you only need a small (e.g. 20W) bench supply as all you are powering is the roboRio.

What this looks like:
RoboRio (+) -- Power Supply (+)
RoboRio (-) -- Power Supply (-)
PDP any spare (-) terminal -- Power Supply (-)
__________________
Author of cscore - WPILib CameraServer for 2017+
Author of ntcore - WPILib NetworkTables for 2016+
Creator of RobotPy - Python for FRC

2010 FRC World Champions (294, 67, 177)
2007 FTC World Champions (30, 74, 23)
2001 FRC National Champions (71, 294, 125, 365, 279)

Last edited by Peter Johnson : 27-10-2016 at 16:19.
Reply With Quote
  #11   Spotlight this post!  
Unread 27-10-2016, 22:27
GeeTwo's Avatar
GeeTwo GeeTwo is offline
Technical Director
AKA: Gus Michel II
FRC #3946 (Tiger Robotics)
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Slidell, LA
Posts: 3,590
GeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond repute
Re: Safe Method for Purposeful Brown-out

Another oddball way to to this if you don't need too many amps for your test is to set up a motor controller (controlled by an arduino or separate RIO) to provide voltage for the the cRIO. Just don't try to drive it backwards...
__________________

If you can't find time to do it right, how are you going to find time to do it over?
If you don't pass it on, it never happened.
Robots are great, but inspiration is the reason we're here.
Friends don't let friends use master links.
Reply With Quote
  #12   Spotlight this post!  
Unread 28-10-2016, 13:23
cgmv123's Avatar
cgmv123 cgmv123 is offline
FRC RI/FLL Field Manager
AKA: Max Vrany
FRC #1306 (BadgerBOTS)
Team Role: College Student
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Madison, WI
Posts: 2,075
cgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond repute
Re: Safe Method for Purposeful Brown-out

Quote:
Originally Posted by GeeTwo View Post
Another oddball way to to this if you don't need too many amps for your test is to set up a motor controller (controlled by an arduino or separate RIO) to provide voltage for the the cRIO. Just don't try to drive it backwards...
I don't know how the RoboRIO will respond to a pulsed output like that of a speed controller, and I'm not sure I want to know.
__________________
BadgerBOTS Robotics|@team1306|Facebook: BadgerBOTS
2016 FIRST Championship Tesla Division | 2016 Wisconsin Regional Engineering Inspiration Award

2015 FIRST Championship Carson Division | 2015 Wisconsin Regional Chairman's Award

2013 FIRST Championship Curie Division | 2013 Wisconsin Regional Chairman's Award

2012 FIRST Championship Archimedes Division | 2012 Wisconsin Regional Engineering Inspiration Award, Woodie Flowers Finalist Award (Lead Mentor Ben Senson)

Reply With Quote
  #13   Spotlight this post!  
Unread 28-10-2016, 15:50
philso philso is offline
Mentor
FRC #2587
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Houston, Tx
Posts: 938
philso has a reputation beyond reputephilso has a reputation beyond reputephilso has a reputation beyond reputephilso has a reputation beyond reputephilso has a reputation beyond reputephilso has a reputation beyond reputephilso has a reputation beyond reputephilso has a reputation beyond reputephilso has a reputation beyond reputephilso has a reputation beyond reputephilso has a reputation beyond repute
Re: Safe Method for Purposeful Brown-out

Quote:
Originally Posted by GeeTwo View Post
Another oddball way to to this if you don't need too many amps for your test is to set up a motor controller (controlled by an arduino or separate RIO) to provide voltage for the the cRIO. Just don't try to drive it backwards...
Inverters + Wiring Inductance = Voltage Spikes

It would be best to use an oscilloscope to look at the motor controller output, with the intended wiring, to ensure that you are not getting voltage spikes that go higher than the rated input voltage or go below zero volts.

In the past, I have used programmable DC power supplies that can simulate a brown out condition but they were pretty expensive.

The brown out test would be more repeatable if one used a MOSFET with a power resistor to add a momentary high-current load to your system. An oscilloscope would have to be used to measure the system voltage.
Reply With Quote
  #14   Spotlight this post!  
Unread 28-10-2016, 22:32
AustinSchuh AustinSchuh is offline
Registered User
FRC #0971 (Spartan Robotics) #254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Feb 2005
Rookie Year: 1999
Location: Los Altos, CA
Posts: 802
AustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond repute
Re: Safe Method for Purposeful Brown-out

Quote:
Originally Posted by cgmv123 View Post
I don't know how the RoboRIO will respond to a pulsed output like that of a speed controller, and I'm not sure I want to know.
Yea, this is a bad idea. One of our mentors connected a motor controller up to another motor controller. The second one blew up pretty fast.

The very low impedance MOSFETs in the motor controller will rapidly switch between 12v and 0v continually. This will cause large, fast, voltage changes across the input capacitors on the roboRIO. That will cause them to heat up and blow up.
Reply With Quote
  #15   Spotlight this post!  
Unread 28-10-2016, 23:28
frcguy's Avatar
frcguy frcguy is offline
Unregistered Unuser
AKA: Nicholas Dal Porto
FRC #5940 (B.R.E.A.D.)
Team Role: Tactician
 
Join Date: Dec 2015
Rookie Year: 2012
Location: Burlingame, California
Posts: 866
frcguy has a reputation beyond reputefrcguy has a reputation beyond reputefrcguy has a reputation beyond reputefrcguy has a reputation beyond reputefrcguy has a reputation beyond reputefrcguy has a reputation beyond reputefrcguy has a reputation beyond reputefrcguy has a reputation beyond reputefrcguy has a reputation beyond reputefrcguy has a reputation beyond reputefrcguy has a reputation beyond repute
Safe Method for Purposeful Brown-out

Quote:
Originally Posted by AustinSchuh View Post
Yea, this is a bad idea. One of our mentors connected a motor controller up to another motor controller. The second one blew up pretty fast.

I don't even want to know why
__________________


2017: Team 5940 (Silicon Valley Regional/San Francisco Regional)
2016: Team 5940 (Silicon Valley Regional Rookie All-Star and Quarterfinalist, Curie Quarterfinalist)

Volunteer: 2016 (Chezy Champs Field Reset, Capital City Classic FTA, MadTown ThrowDown FTA)
Reply With Quote
Reply


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


All times are GMT -5. The time now is 06:29.

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