Go to Post You have the rest of your life to play video games. Time at an FRC tournament is precious. Use it wisely. - gblake [more]
Home
Go Back   Chief Delphi > Technical > Control System
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #16   Spotlight this post!  
Unread 17-03-2011, 13:54
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: cRio Constantly Rebooting

Travis,
A small number of main breakers have a manufacturing defect that makes them intermittent. If you tap the red button and the robot lights flicker, this is likely the cause. Replacing the breaker is the only fix. Other sources of low voltage can be loose connections on the battery terminals. I recommend that a star washer be placed between the terminals before the hardware is inserted. This not only breaks through any surface crud, it also locks the terminals together so that they can't loosen. Any loose connection or crimp in the robot primary wiring can also cause this brown out condition that takes out the Crio and radio power. Although it doesn't occur often, some teams add #6 wire to the provided Anderson plug to extend the distance between battery and PD. This is the one place on the robot that wiring should be kept to minimum length as all robot current flows through this wire.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
Reply With Quote
  #17   Spotlight this post!  
Unread 17-03-2011, 14:02
Travis Hoffman's Avatar Unsung FIRST Hero
Travis Hoffman Travis Hoffman is offline
O-H
FRC #0048 (Delphi E.L.I.T.E.)
Team Role: Engineer
 
Join Date: Sep 2001
Rookie Year: 2001
Location: Warren, Ohio USA
Posts: 4,047
Travis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond repute
Re: cRio Constantly Rebooting

Quote:
Originally Posted by Al Skierkiewicz View Post
Travis,
A small number of main breakers have a manufacturing defect that makes them intermittent. If you tap the red button and the robot lights flicker, this is likely the cause. Replacing the breaker is the only fix. Other sources of low voltage can be loose connections on the battery terminals. I recommend that a star washer be placed between the terminals before the hardware is inserted. This not only breaks through any surface crud, it also locks the terminals together so that they can't loosen. Any loose connection or crimp in the robot primary wiring can also cause this brown out condition that takes out the Crio and radio power. Although it doesn't occur often, some teams add #6 wire to the provided Anderson plug to extend the distance between battery and PD. This is the one place on the robot that wiring should be kept to minimum length as all robot current flows through this wire.
Al:

Thanks - we will check these items out first thing in Tennessee - after the rush of the elimination rounds, I actually thought to check how secure the robot's primary power wiring was...after we bagged the robot. Usually, that issue is never a problem for us.

I do know all the battery leads were securely bolted to the terminals.

I will likely check and replace the main breaker too, just in case. We've got plenty of those handy. I'll grab a few star washers for good measure.

I also know our radio power adapter is secured and has good strain relief at both ends, but I'll likely add a dab of hot glue to the barrel connector just to be safe.
__________________

Travis Hoffman, Enginerd, FRC Team 48 Delphi E.L.I.T.E.
Encouraging Learning in Technology and Engineering - www.delphielite.com
NEOFRA - Northeast Ohio FIRST Robotics Alliance - www.neofra.com
NEOFRA / Delphi E.L.I.T.E. FLL Regional Partner
Reply With Quote
  #18   Spotlight this post!  
Unread 17-03-2011, 15:46
Chris is me's Avatar
Chris is me Chris is me is offline
no bag, vex only, final destination
AKA: Pinecone
FRC #0228 (GUS Robotics); FRC #2170 (Titanium Tomahawks)
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2006
Location: Glastonbury, CT
Posts: 7,790
Chris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond repute
Send a message via AIM to Chris is me
Re: cRio Constantly Rebooting

I am willing to bet it's the 6 motor drive, combined with the additional current draw of a drivetrain being pushed against and pushing. We did some magic math at the beginning of the season and found that heavily loading all of those motors would lead to pretty quick battery drains (1:30 or so into a match with some other mechanisms running).

Talking to some friends with similar issues, changing the 6 motor drive's gearing to a lower speed (10 FPS is apparently a good sweet spot) made the issue go away entirely. From what I can recall, you guys are running at 13 FPS, which is much heavier on the motors.
__________________
Mentor / Drive Coach: 228 (2016-?)
--2016 Waterbury SFs (with 3314, 3719), RIDE #2 Seed / Winners (with 1058, 6153), Carver QFs (with 503, 359, 4607)
Mentor / Consultant Person: 2170 (2017-?)
.
College Mentor: 2791 (2010-2015)
-- 2015 TVR Motorola Quality, FLR GM Industrial Design -- 2014 FLR Motorola Quality / SFs (with 341, 4930)
-- 2013 BAE Motorola Quality, WPI Regional #1 Seed / Delphi Excellence in Engineering / Finalists (with 20, 3182)
-- 2012 BAE Imagery / Finalists (with 1519, 885), CT Xerox Creativity / SFs (with 2168, 118)
Student: 1714 (2009) - 2009 MN 10K Lakes Regional Winners (with 2826, 2470)
2791 Build Season Photo Gallery - Look here for mechanism photos My Robotics Blog (Updated April 11 2014)
Reply With Quote
  #19   Spotlight this post!  
Unread 17-03-2011, 15:55
Jared Russell's Avatar
Jared Russell Jared Russell is offline
Taking a year (mostly) off
FRC #0254 (The Cheesy Poofs), FRC #0341 (Miss Daisy)
Team Role: Engineer
 
Join Date: Nov 2002
Rookie Year: 2001
Location: San Francisco, CA
Posts: 3,082
Jared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond repute
Re: cRio Constantly Rebooting

It's not out of the question, but a week+ of practicing (often for longer and/or harder than during a real match) and then perfect operation on practice day suggests, to me, that the issue is elsewhere. If it's not electrical, or somehow code/firmware related, then the only other possibility is that our bolted frame is losing its stiffness and causing the motors to work harder during turns (though the robot doesn't jump or otherwise seem to struggle at all to turn).

Besides, I don't believe that Travis is running a 6 motor drive, nor are either of our teams' issues happening as an obvious result of pushing matches (it happened to us less than a minute into a match where we hadn't even touched another robot). We also ran one match with just the 4 CIMs (still geared at 13 fps, though) and the issue didn't go away.
Reply With Quote
  #20   Spotlight this post!  
Unread 17-03-2011, 17:00
Travis Hoffman's Avatar Unsung FIRST Hero
Travis Hoffman Travis Hoffman is offline
O-H
FRC #0048 (Delphi E.L.I.T.E.)
Team Role: Engineer
 
Join Date: Sep 2001
Rookie Year: 2001
Location: Warren, Ohio USA
Posts: 4,047
Travis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond repute
Re: cRio Constantly Rebooting

Quote:
Originally Posted by Jared341 View Post
Besides, I don't believe that Travis is running a 6 motor drive
4 motor drive: 2 CIM's and a SuperShifter per side.

4" wheels - 4 traction, 2 omni, no drop center
__________________

Travis Hoffman, Enginerd, FRC Team 48 Delphi E.L.I.T.E.
Encouraging Learning in Technology and Engineering - www.delphielite.com
NEOFRA - Northeast Ohio FIRST Robotics Alliance - www.neofra.com
NEOFRA / Delphi E.L.I.T.E. FLL Regional Partner
Reply With Quote
  #21   Spotlight this post!  
Unread 25-03-2011, 11:46
Jared Russell's Avatar
Jared Russell Jared Russell is offline
Taking a year (mostly) off
FRC #0254 (The Cheesy Poofs), FRC #0341 (Miss Daisy)
Team Role: Engineer
 
Join Date: Nov 2002
Rookie Year: 2001
Location: San Francisco, CA
Posts: 3,082
Jared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond repute
Re: cRio Constantly Rebooting

Interesting - I was watching the Waterloo Regional feed, watching 2056 score twice in autonomous (very impressive!) before dying shortly thereafter for about 40 seconds. I wonder if this was the same issue?

As an update:
* We received our tool crate from Florida, and began doing diagnostics on our electrical board. We have been unable to find any debris, loose connections, damage, etc., to which we could attribute the problem.

* We did notice that with our practice robot up on blocks (wheels off the ground), slamming the stick from full forward to full reverse did cause a (predictable) brief but severe drop in battery voltage. Other than simply asking too much from our battery, though, we're almost out of theories.

* This still begs the question: why didn't we see the issue in practice? Or on practice day or the first half of Friday of our first Regional?

* Lastly, we looked at video of each and every time we died on the field. I see no real pattern - sometimes we were lightly bumped, sometimes we were turning in open field, sometimes we were picking up or carrying a tube. I was able to tell that our RSL DID go out completely each time, meaning that it was the cRIO (and NOT the radio) that was doing the rebooting.
Reply With Quote
  #22   Spotlight this post!  
Unread 25-03-2011, 13:08
Chris is me's Avatar
Chris is me Chris is me is offline
no bag, vex only, final destination
AKA: Pinecone
FRC #0228 (GUS Robotics); FRC #2170 (Titanium Tomahawks)
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2006
Location: Glastonbury, CT
Posts: 7,790
Chris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond repute
Send a message via AIM to Chris is me
Re: cRio Constantly Rebooting

Have you tried swapping your PDB?
__________________
Mentor / Drive Coach: 228 (2016-?)
--2016 Waterbury SFs (with 3314, 3719), RIDE #2 Seed / Winners (with 1058, 6153), Carver QFs (with 503, 359, 4607)
Mentor / Consultant Person: 2170 (2017-?)
.
College Mentor: 2791 (2010-2015)
-- 2015 TVR Motorola Quality, FLR GM Industrial Design -- 2014 FLR Motorola Quality / SFs (with 341, 4930)
-- 2013 BAE Motorola Quality, WPI Regional #1 Seed / Delphi Excellence in Engineering / Finalists (with 20, 3182)
-- 2012 BAE Imagery / Finalists (with 1519, 885), CT Xerox Creativity / SFs (with 2168, 118)
Student: 1714 (2009) - 2009 MN 10K Lakes Regional Winners (with 2826, 2470)
2791 Build Season Photo Gallery - Look here for mechanism photos My Robotics Blog (Updated April 11 2014)
Reply With Quote
  #23   Spotlight this post!  
Unread 25-03-2011, 13:20
Jared Russell's Avatar
Jared Russell Jared Russell is offline
Taking a year (mostly) off
FRC #0254 (The Cheesy Poofs), FRC #0341 (Miss Daisy)
Team Role: Engineer
 
Join Date: Nov 2002
Rookie Year: 2001
Location: San Francisco, CA
Posts: 3,082
Jared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond repute
Re: cRio Constantly Rebooting

Quote:
Originally Posted by Chris is me View Post
Have you tried swapping your PDB?
Haven't yet - might be worth a shot.
Reply With Quote
  #24   Spotlight this post!  
Unread 25-03-2011, 13:22
Travis Hoffman's Avatar Unsung FIRST Hero
Travis Hoffman Travis Hoffman is offline
O-H
FRC #0048 (Delphi E.L.I.T.E.)
Team Role: Engineer
 
Join Date: Sep 2001
Rookie Year: 2001
Location: Warren, Ohio USA
Posts: 4,047
Travis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond repute
Re: cRio Constantly Rebooting

Quote:
Originally Posted by Jared341 View Post
Interesting - I was watching the Waterloo Regional feed, watching 2056 score twice in autonomous (very impressive!) before dying shortly thereafter for about 40 seconds. I wonder if this was the same issue?
I'm sure I'll be asking Tyler Holtzman to find out.

Quote:

As an update:
* We received our tool crate from Florida, and began doing diagnostics on our electrical board. We have been unable to find any debris, loose connections, damage, etc., to which we could attribute the problem.

* We did notice that with our practice robot up on blocks (wheels off the ground), slamming the stick from full forward to full reverse did cause a (predictable) brief but severe drop in battery voltage. Other than simply asking too much from our battery, though, we're almost out of theories.

* This still begs the question: why didn't we see the issue in practice? Or on practice day or the first half of Friday of our first Regional?

* Lastly, we looked at video of each and every time we died on the field. I see no real pattern - sometimes we were lightly bumped, sometimes we were turning in open field, sometimes we were picking up or carrying a tube. I was able to tell that our RSL DID go out completely each time, meaning that it was the cRIO (and NOT the radio) that was doing the rebooting.
3 robots. 3 events. 3 fields (well, 2 - I believe the Pittsburgh field was sent to Waterloo...). Exact same symptoms.

Hmmm.........
__________________

Travis Hoffman, Enginerd, FRC Team 48 Delphi E.L.I.T.E.
Encouraging Learning in Technology and Engineering - www.delphielite.com
NEOFRA - Northeast Ohio FIRST Robotics Alliance - www.neofra.com
NEOFRA / Delphi E.L.I.T.E. FLL Regional Partner
Reply With Quote
  #25   Spotlight this post!  
Unread 25-03-2011, 20:58
The Lucas's Avatar
The Lucas The Lucas is offline
CaMOElot, it is a silly place
AKA: My First Name is really "The" (or Brian)
FRC #0365 (The Miracle Workerz); FRC#1495 (AGR); FRC#4342 (Demon)
Team Role: Mentor
 
Join Date: Mar 2002
Rookie Year: 2001
Location: Dela-Where?
Posts: 1,564
The Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond repute
Send a message via AIM to The Lucas
Re: cRio Constantly Rebooting

Quote:
Originally Posted by Jared341 View Post
* We did notice that with our practice robot up on blocks (wheels off the ground), slamming the stick from full forward to full reverse did cause a (predictable) brief but severe drop in battery voltage. Other than simply asking too much from our battery, though, we're almost out of theories.
Let me preface this by saying I don't see what I am about to suggest as a long term solution, more a quick fix/diagnostic. I suggest you put in a voltage ramp (a la Lunacy) in your code for the drive train. See how that impacts your voltage drop and potential for reboots. If it eliminates your reboots, you will know that you are asking a bit much of the battery . Then you can make the tough decisions related to reducing your usage.
Also, does your roller claw have some sort of clutch (or torque limiter) mechanism to prevent you from stalling out your RS775?

I also agree that it looks like a cRIO reboot was plaguing 2056 today, it would be interesting to hear their story since they didn't seem to have issue at FLR.

This is a game has the potential for more frequent high current bursts than any other we have seen with this control system. Lunacy tended toward a moderate to low constant draw. Breakaway had bursts for climbing, kicking and pushing matches, but for the most part was low.
__________________
Electrical & Programming Mentor ---Team #365 "The Miracle Workerz"
Programming Mentor ---Team #4342 "Demon Robotics"
Founding Mentor --- Team #1495 Avon Grove High School
2007 CMP Chairman's Award - Thanks to all MOE members (and others) past and present who made it a reality.
Robot Inspector
"I don't think I'm ever more ''aware'' than I am right after I burn my thumb with a soldering iron"

Last edited by The Lucas : 25-03-2011 at 21:07.
Reply With Quote
  #26   Spotlight this post!  
Unread 26-03-2011, 10:11
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,756
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: cRio Constantly Rebooting

A couple observations:

A voltage sag that reboots the cRIO should look almost identical to pushing the reset button on the cRIO. Forty seconds seems way too long for the cRIO to reboot, load user code and start driving again. Sometimes more than one device will reboot.

The default voltage monitoring of the battery is sorta slow and doesn't have any logging or history. If you are using LV, you can open up the Start Communications VI, scroll to the right and find the code that reads the analog. You can either change that to run faster and publish the value, or you can publish the refnum and read it in a periodic task or tele and monitor the batter more closely. I'm not certain where this is done in the other languages, but I suspect a similar monitor is pretty easy to add.

At events, it is pretty common to see reboots attributable to each type of fault. Some are due to exposed wiring at the cRIO or PD that shorts when a bump shifts wires on the robot. Some are due to opened circuits due to a loose crimp or connector and shifting wires. Some are due to sagging voltage often made worse by wiring layout or gearing and tire choices. Some are due to code issues.

Robots that stop moving, but don't reboot are another matter and are typically either code or a radio issue with a cable or a switch/button being changed due to movement on the robot.

Obviously there are lots of other failure types, but these are the ones that i've seen most often with robots that move for awhile, but then stop entirely.

Pure speculation leads me to believe that motor shorts may contribute to some of these this year.

Greg McKaskle
Reply With Quote
  #27   Spotlight this post!  
Unread 27-03-2011, 06:54
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: cRio Constantly Rebooting

Greg,
The Crio reboot seems to be affected by the amount of code and type of development platform a team uses. While 30 seconds seems typical, I have seen longer times.
Although it doesn't happen often, we did have a team that kept having Crio reboots this past weekend. After removing the Crio and replacing they had no further problems, so they opened the bad one and found it contained significant shavings and metallic dust. I had forgotten how critical this is. When I asked if the gasket was in place, the team said they had always planned to install it but hadn't gotten around to it yet.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
Reply With Quote
  #28   Spotlight this post!  
Unread 27-03-2011, 18:21
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,756
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: cRio Constantly Rebooting

An internal short on the cRIO due to debris should definitely be added to the list of potential causes. From what I've seen, this is far less common than the other issues and belongs towards the bottom of the solutions list.

It sounds like we agree that forty seconds is not the typical boot time. The approach was to use the time between movement to help determine whether it was a power loss at only the radio, only the cRIO, or on both is useful to know when diagnosing and fixing the issue.

The cRIO-only reboot due to power sag can be approximated using a reset button press or duplicated by pulling and reattaching a cable. A team or CSA can measure this for a given robot and use this number to help diagnose what is happening on the robot. Typical numbers aren't nearly as accurate as a robot-specific boot time, but since most teams don't state that information in their problem statement, we fall back to typical values.

Personally, I'd be interested in seeing poll results on cRIO reset times. Quicker is obviously better, and this could help identify what impacts it. But this is an independent topic and far less of a priority than avoiding the immobility in the first place.

Greg McKaskle
Reply With Quote
  #29   Spotlight this post!  
Unread 27-03-2011, 20:37
Dale(294engr]'s Avatar
Dale(294engr] Dale(294engr] is offline
Mentor/Sponsor since '98
FRC #0294 (Beach Cities Robotics)
Team Role: Engineer
 
Join Date: Jan 2004
Rookie Year: 1998
Location: Redondo Beach, CA
Posts: 92
Dale(294engr] is a glorious beacon of lightDale(294engr] is a glorious beacon of lightDale(294engr] is a glorious beacon of lightDale(294engr] is a glorious beacon of lightDale(294engr] is a glorious beacon of lightDale(294engr] is a glorious beacon of light
Re: cRio Constantly Rebooting

It is my belief this is a power sag problem due to having only one power source (18AH SLA)

It is due to the high peak simultaneous startup current drawn by the Drive motors (or joystick(s) full fwd to full reverse = even worse as all motors are generating power so multiplying the instantaneous current draw at the instant the reverse occurs) then added to any other motors that may be starting at this same instant.. Banebots and Compressor..

The zero speed motor represents a near short The CIMS draw 125A at stall (all motors start at stall) As the motor rotates the current decreases due to rotation creating AC impedance added to DC R=~.1 ohm (ImotorStall=12.5v/.1ohm = 125A)

6 CIMs - 750A throw in couple simultaneous Banebots and compressor startup ~1000A !!

The Battery has an internal R of ~.01 ohm fully charged and new..

(for now lets ignore the battery connections connectors 125A breaker 20A breaker to controller if you are lucky and make good connections add another .01 ohm)

So battery voltage sags due to ohms law instantaneously
and for up to a few hundred milliseconds until the motors spin up

Vsag = .01ohms * 1000A = 10V

Voltage available to the controller and all electronics sags to:
12.6v - 10v = 2.6v !!

So much potential for something to reset!!

so even if we halve the start up current to 500A.. the likely battery internal+wiring resistance is .02 ohm.. result is same 10v drop!!

IFI has oscope capture of this motor drive startup current: 350A with 2 Bosch drill motors.. 6 CIMs represent 2-3X this

RESET depends on design "holdup margin" through the use of capacitor energy storage and isolation diodes etc.. to isolate such sags.

Note: quicker drive motors come up to speed the shorter the high current period surge period

more gears = better i.e. slower range 7fps/high torque mode yields shorter "stalled rotor time"

less gearing (fast 14fps gear mode = longer stalled rotor high current draw time

Best solution as in some past years:
Allow use a separate battery to independently power all electronics
(currently NOT an option)

i.e. isolate motor startup current sag & subsequent reboot problem scenario

Solution for this year:
1. on the fly shifting

2. implement a timed startup algorithm..to smoothly increase motor current draw but this will reduce torque!! and increase time to get up to speed solves the problem at a performance cost

but less likely to reset a controller of Radio!! which is VERY costly in a match
Reply With Quote
  #30   Spotlight this post!  
Unread 28-03-2011, 09:09
Jared Russell's Avatar
Jared Russell Jared Russell is offline
Taking a year (mostly) off
FRC #0254 (The Cheesy Poofs), FRC #0341 (Miss Daisy)
Team Role: Engineer
 
Join Date: Nov 2002
Rookie Year: 2001
Location: San Francisco, CA
Posts: 3,082
Jared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond repute
Re: cRio Constantly Rebooting

Dale and Chris,

In the absence of our inability to isolate any other failure modes on our practice machine, we are arriving at the same conclusion: at times, we are simply asking too much from the battery and browning out the cRIO and/or the radio. Other teams have used successfully 6-motor drive setups geared for similar speeds in the past, but as you pointed out, this was in the IFI era when we often had backup batteries (even before backup batteries, does anyone have data on how low the main battery has to go before the RC reset?).

Brian,

A voltage ramp to the motors is one fix we did talk about. However, as you pointed out, this is a band-aid. For Philly we will swap out our ~13FPS drive modules for ~10FPS drive modules and run without the RS-775s (at least until we verify that we have corrected the issue). With our howitzer of a human player, we seldom ended up making dashes of more than 15 feet at a time anyway, so we feel this fix has a high probability of resolving the issue while not impacting our scoring ability.

Greg and Al,

Check your PMs.

Thank you all for your help!
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 11:56.

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