|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#16
|
|||||
|
|||||
|
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. |
|
#17
|
||||||
|
||||||
|
Re: cRio Constantly Rebooting
Quote:
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. |
|
#18
|
||||
|
||||
|
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. |
|
#19
|
|||||
|
|||||
|
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. |
|
#20
|
||||||
|
||||||
|
Re: cRio Constantly Rebooting
Quote:
4" wheels - 4 traction, 2 omni, no drop center |
|
#21
|
|||||
|
|||||
|
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. |
|
#22
|
||||
|
||||
|
Re: cRio Constantly Rebooting
Have you tried swapping your PDB?
|
|
#23
|
|||||
|
|||||
|
Re: cRio Constantly Rebooting
Haven't yet - might be worth a shot.
|
|
#24
|
||||||
|
||||||
|
Re: cRio Constantly Rebooting
Quote:
Quote:
Hmmm......... |
|
#25
|
|||||
|
|||||
|
Re: cRio Constantly Rebooting
Quote:
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. Last edited by The Lucas : 25-03-2011 at 21:07. |
|
#26
|
|||
|
|||
|
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 |
|
#27
|
|||||
|
|||||
|
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. |
|
#28
|
|||
|
|||
|
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 |
|
#29
|
||||
|
||||
|
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 |
|
#30
|
|||||
|
|||||
|
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! |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|