Go to Post Either way, FIRST works. You just have to keep the big picture in mind. - Lux [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 24-03-2013, 21:37
pribusin's Avatar
pribusin pribusin is offline
Uber Alien
AKA: Mike 1
FRC #4004 (M.A.R.S. Rovers)
Team Role: Coach
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Michigan
Posts: 168
pribusin has a spectacular aura aboutpribusin has a spectacular aura aboutpribusin has a spectacular aura about
Voltage drop normal?

At last weekend's regional we noticed something peculiar on our robot: every time the driver would hit the throttle fast, our camera illumination LEDs would dim significantly. We also noticed a dimming of the RSL during that time but not as pronounced. I know some voltage drop is to be expected during the startup phase of the motors when they present the greatest electrical load, but none of us remembers seeing the LEDs dim this much.

We drive two sets of 4 green LEDs in series with a small dropping resistor to minimize power drop across the resistor. I wonder if that makes the LEDs super sensitive to the voltage dip during motor start-up. What caught me off guard was the RSL taking a slight drop in brightness as well.

We drive 6 wheels via two cimple boxes with 2 CIM motors each and 4 Jaguars.

Am I looking for a problem where there isn't one?
  #2   Spotlight this post!  
Unread 24-03-2013, 21:45
AlexH AlexH is offline
Registered User
no team
Team Role: College Student
 
Join Date: Sep 2010
Rookie Year: 2010
Location: PA
Posts: 215
AlexH is a name known to allAlexH is a name known to allAlexH is a name known to allAlexH is a name known to allAlexH is a name known to allAlexH is a name known to all
Re: Voltage drop normal?

how old was the battery?

what was the total reduction on the drivetrain?

how much was the voltage dipping?
__________________
My Instructables
  #3   Spotlight this post!  
Unread 24-03-2013, 21:49
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,990
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: Voltage drop normal?

Green LEDs have a rather high forward voltage, and running four of them in series from 12v would not give you much "cushion" for supply voltage drop.

It all sounds quite normal to me.
  #4   Spotlight this post!  
Unread 24-03-2013, 21:52
Kevin Sevcik's Avatar
Kevin Sevcik Kevin Sevcik is offline
(Insert witty comment here)
FRC #0057 (The Leopards)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Houston, Texas
Posts: 3,672
Kevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond repute
Send a message via AIM to Kevin Sevcik Send a message via Yahoo to Kevin Sevcik
Re: Voltage drop normal?

You should be able to check your driverstation logs to see exactly how low your voltage was dipping under heavy load. Dropping to 9ish volts is fairly normal. if you're dropping to 7 volts then you have a problem. Said problem is likely to be a bad battery, poor connections between the battery and the PDB, or excessively long wires to the PDB.
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.

Lone Star Regional Troubleshooter
  #5   Spotlight this post!  
Unread 24-03-2013, 21:53
efoote868 efoote868 is offline
foote stepped in
AKA: E. Foote
FRC #0868
Team Role: Mentor
 
Join Date: Mar 2006
Rookie Year: 2005
Location: Noblesville, IN
Posts: 1,404
efoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond repute
Re: Voltage drop normal?

At stall, a few cim motors can draw 100's of amps. Multiply that by the internal resistance of the battery (around 10mOhm) and subtract it from 12 or 13, and I wouldn't be surprised if you only had 6-8 volts coming out of the battery at that given moment. LEDs tend to be dim when they only have 2 volts potential across them.

__________________
Be Healthy. Never Stop Learning. Say It Like It Is. Own It.

Like our values? Flexware Innovation is looking for Automation Engineers. Check us out!
  #6   Spotlight this post!  
Unread 24-03-2013, 22:32
pribusin's Avatar
pribusin pribusin is offline
Uber Alien
AKA: Mike 1
FRC #4004 (M.A.R.S. Rovers)
Team Role: Coach
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Michigan
Posts: 168
pribusin has a spectacular aura aboutpribusin has a spectacular aura aboutpribusin has a spectacular aura about
Re: Voltage drop normal?

Ok, that confirms my suspicion... I figured that the way we wired the LED's made them overly sensitive to what turns out to be a normal voltage dip. We never did see any drive issues or latency or cRio resetting so we assumed everything as fine but it was still a bit unnerving to see the LEDs dim so much at times. It was consistent across multiple batteries so we figured it wasn't a bad battery as was our initial thought.

Thanks for the replies and good luck.
  #7   Spotlight this post!  
Unread 24-03-2013, 22:44
MrRoboSteve MrRoboSteve is online now
Mentor
AKA: Steve Peterson
FRC #3081 (Kennedy RoboEagles)
Team Role: Mentor
 
Join Date: Mar 2012
Rookie Year: 2011
Location: Bloomington, MN
Posts: 577
MrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond repute
Re: Voltage drop normal?

I'll second the suggestion that you check the graphical driver station log viewer. It'll quickly tell you whether it's normal or a battery problem.
  #8   Spotlight this post!  
Unread 24-03-2013, 23:16
pribusin's Avatar
pribusin pribusin is offline
Uber Alien
AKA: Mike 1
FRC #4004 (M.A.R.S. Rovers)
Team Role: Coach
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Michigan
Posts: 168
pribusin has a spectacular aura aboutpribusin has a spectacular aura aboutpribusin has a spectacular aura about
Re: Voltage drop normal?

Ok, I've never done that before - please point me in the right direction.
  #9   Spotlight this post!  
Unread 24-03-2013, 23:26
ErvinI ErvinI is offline
Registered User
AKA: Ervin Ibadula
FRC #0865 (Warp7)
Team Role: Mentor
 
Join Date: Feb 2013
Rookie Year: 2011
Location: Kincardine, ON
Posts: 144
ErvinI is just really niceErvinI is just really niceErvinI is just really niceErvinI is just really niceErvinI is just really nice
Re: Voltage drop normal?

ScreenstepsLive has a good guide on it:

http://wpilib.screenstepslive.com/s/...og-file-viewer
  #10   Spotlight this post!  
Unread 25-03-2013, 00:20
Kara_Walker's Avatar
Kara_Walker Kara_Walker is offline
Registered User
FRC #4192 (FMHS Robotics)
Team Role: Electrical
 
Join Date: Mar 2013
Rookie Year: 2011
Location: Flower Mound
Posts: 5
Kara_Walker is an unknown quantity at this point
Re: Voltage drop normal?

During our matches our batteries would stay high at about 12.6 but when we got into pushing matches, especially against 753 with their powerful drive train, our battery would drop to as low as 7.2. We were using a pretty standard six wheel drive with two cims.
  #11   Spotlight this post!  
Unread 25-03-2013, 09:42
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,770
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: Voltage drop normal?

In a four CIM drivetrain, dips below 6 volts are normal. It is for this reason that the dedicated boost/buck regulators on the PD exist. They keep the Crio and radio up down to about 4.5 volts. The PWM drivers drop out at about 5.5 volts so that motor drive usually is interrupted long enough for the voltage to rise and never reach the critical 4.5 volt range.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #12   Spotlight this post!  
Unread 25-03-2013, 11:57
MrRoboSteve MrRoboSteve is online now
Mentor
AKA: Steve Peterson
FRC #3081 (Kennedy RoboEagles)
Team Role: Mentor
 
Join Date: Mar 2012
Rookie Year: 2011
Location: Bloomington, MN
Posts: 577
MrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond repute
Re: Voltage drop normal?

Start -> type "Driver", the log viewer should show up as an option.

Using: http://wpilib.screenstepslive.com/s/...og-file-viewer
  #13   Spotlight this post!  
Unread 25-03-2013, 21:25
pyroslev's Avatar
pyroslev pyroslev is offline
VirginiaFIRST FTA
AKA: Jack of all trades, Master of few
no team (Forget not 616)
Team Role: Alumni
 
Join Date: Nov 2004
Rookie Year: 2001
Location: Virginia
Posts: 414
pyroslev is on a distinguished road
Re: Voltage drop normal?

The LEDs are usually hooked into the nonregulated portion of the PD board. They are gonna dim when the battery is under a load. That's the reason for the Dim.

The Log viewer, if you are using the most recent update, will give you a wealth of information.

Jaguars require 5.5v to completely reinitialize so if you are dipping really low,there's another problem.

Quote:
(Exerpted and edited from Jaguar documentation)
Supply voltage range (VIN) Min 5.5a
Under-voltage detect threshold – 6.0 – Vdc
a. Power supply requires VIN ≥ 7.0 VDC to start up.
And never slam the throttle. I shake my head when I see a robot reboot cause of a brown out. If you see a dim, and the CRIO or Radio reboots, slamming the throttle back up will put you into another reboot. If I had a nickel for every time I had to tell a team to ease up the throttle so their robot works, I'd still be in FIRST.
__________________
"Complications arose, ensued...were overcome." "I'd trade 500 CNC machines for one good hearted student."


From December to April, since 2002, I forfeit my mental sanity for perfect insanity.

Last edited by pyroslev : 25-03-2013 at 21:31.
  #14   Spotlight this post!  
Unread 25-03-2013, 21:57
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,074
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: Voltage drop normal?


I'm not sure telling the driver "don't slam the throttle" is the correct long-term solution to a robot that experiences sufficiently severe brownouts in response to rapid throttle changes to cause the cRIO to boot.

I'd recommend exploring these options first:

Check your drivetrain gear ratio

Check for excessive drivetrain friction or alignment problems

Check your battery

Check your wiring

Add slew rate limiting to the throttle.


  #15   Spotlight this post!  
Unread 26-03-2013, 09:37
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: Voltage drop normal?

I agree with MrForbes - you have your LEDs "stacked too high" given your power rail. Reducing the stack height (the number in series) and increasing resistance to compensate will make it less sensitive.

For your students, I would draw ideal I-V (current vs voltage) curves for various stack heights. Pretend the LEDs are magic perfect diodes with a fixed voltage drop, and pretend that the amount of light that comes out is perfectly linked to current. Each stack height will intercept the current axis at a different voltage equal to the diode drop times the number of diodes - mark these points on the graph first. Then pick your desired operating point - at 12Volts, I want e.g 10 milliamps - and draw that point on the graph. Then connect each intercept to that operating point with a straight line. The slope of this line is the resistance that you are selecting. Now, visually "wiggle" the input voltage and see what happens to the operating current for each stack height. The taller stacks will be more sensitive than shorter stacks, but shorter stacks will waste more of their power in the load resistance.

I'd give it even odds that this will encourage a student to push the stack on to a regulated power supply away from the unregulated battery voltage. Awesome. Pick the DSC's 5V or 6V rail, and encourage them to do the math to see which option is more efficient. ((unless you are drawing plural amps, in which case use the 6V so you don't brown out the more important 5v)
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


All times are GMT -5. The time now is 11:21.

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