View Single Post
  #16   Spotlight this post!  
Unread 15-09-2012, 23:08
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: Communication lost

Quantitative measurement of friction using Robot Battery Current:

Friction is directly proportional to current in Amps drawn from robot battery

(test control: fresh fully charged battery OR better: Lab Power Supply set at 12.6v
[variable current limit feature permits safer testing than with battery]
10A continuous is adequate for non loaded, (+ ~200A for ~.1 sec surge)
50A minimum for Loaded (200A would be close to optimum) + ~500A ~.3sec

(test control: Vbatt=12.6 fully charged, record this, great to have a Lab PS for this)

measure quiescent current robot draw power on, all motors off (~1-2A)

quiescent subtracted from ea test to isolate Friction caused Current relevant to ea motor test

Baseline Friction measure & record: (every season, every motor!)

measure no-load, full speed currents at 12.6v, forward & reverse, ea motor alone (= friction of ea motors brushes, bushings)
repeat after adding gears, (no chain, etc)
repeat with chain (drive elevated)
repeat for each range of gears (more gears = expect more friction)
repeat for other drive side

note: Left & Right side Currents (friction) should be close, higher one has issues if more than a few .1's amps different

For early detection "Prediction" of drive train problems (anything with motor)

Use this baseline during life of robot and after ea match when possible,
repeat off floor low gear full speed, fwd & reverse; compare to baseline.

Upward creeping current value indicates potential problem(s)
1A above baseline = needs immediate serious attention
- something is loose, misaligned, worn, broken, shorted (turns in motor)

(option: correct for battery voltage testing below 12.6v: lower batt voltage produces lower currents NOT representative of lower friction!

(test voltage to be closely controlled as practical or compensate for it (add proportional difference) be creative: Dedicate a Battery for friction testing i.e. always on charge, never used for match at this regional, etc.)


For full friction loaded competition scenario:
H/W Use 12 bit A/D input across a .001 ohm "shunt" resistor
(poor mans 1milliohm shunt = portion of #6 AWG with carefully positioned measurement wire attachment ~1' apart TBD: use ammeter to calibrate, a Hall Effect clamp-on or shunt type, Scale: 1mV measured = 1 amp robot current draw

S/W: write a program to sample A/D each ~.1s, store in an array to be retrieved post run (sample rate depends on how much memory is free, shorter times increases detail of current usage at cost more memory 4 or 5 significant digits stored after calibration (if not close to 1 milliohm) is sufficient.
Import to Excel and graph it! The result is very instructive (Robot CAT scan!!)
can be used for early problem detection / avoidance including under charged, weak, & defective batteries i.e. average voltage drop when loaded increased below expected (from increasingly high internal resistance when fully charged)

(Calib is a luxury; ballpark & consistent is most important = relative friction)

At competitions serving as Robot Inspector I use a cheapo Harbor Freight DMM on +-199.9 mV scale with a 1 milliohm shunt = +-199.9 Amps
with a .1A resolution. I carry a ring terminal piece of 6AWG wire previously calibrated connections, but it requires adding it to the robot =time consuming, time being precious I usually use meter across 120A main breaker as ~.001 ohm shunt! When a good 120A breaker is closed it reliably & repeatably measures a bit under .001 ohm (~.096 ohm) Think about it.. if it varied, so would trip current! so mfr's commit to make it repeatable.

This test can also be used to detect a degrading or defective bound 120A breaker-- i.e. if voltage drop across 120A breaker suddenly increases (say doubles) it's bad, & beginning to limit robot performance so needs replaced, otherwise it provides a quick easy convenient ballpark relative measure of robot current = friction gauge of potential motive drive problems


measure A/D in ~20msec intervals to capture surge currents

note 131A ea CIM stall current: 4 CIMs =521A surge for ~.1 sec unloaded, typically ~.3s for robot elevated, increases rapidly against defending robot or field element hits, until breakers begin cycling.

BTW our 40A breakers hold forever at 40A (that's how they are spec'd)
begin cycling at ~50A (~25% over rated) holding 50A for several seconds before cycling, time shortens as over current increases (see mfr curves)

At 131A each 40A breaker holds of a few tenths of a second or more!
so Battery does see surges of hundreds of amps up to ~.3sec without breakers cycling!! causing Vbatt to Sag!! = decreased voltage to entire robot lessening top motive power & top speed due to current limit of less voltage

Note:
nominal fully charged battery and wiring:
voltage at battery drops 1v for each 50A Robot current drawn!
Vbatt at 50A = 12.6-1v (per50A) =11.6v
100A = 10.6v 150A =9.6v 200A=8.6v 250A = 7.6v 300A = 6.6v

See why we have "resets" under "loaded" drive train scenarios?

or binding bearings, chains, gears, misalignments? each of which lengthen the
surge current period & amplitude, collectively may induce one or more module reset(s) "randomly" as a result of "dynamic action": turning, opposing defense, full fwd to full Reverse, binding, etc.

These Vbatt drops are typical motor startup current "surge" Vdrops.
built in design remedy provide some level of protection:
Voltage hold-up Capacitors used in ea electronics module determine when one may reset due to "brown out" (Capacitors store energy to help supply current to Radio, CRIO devices during surges to keep internal voltages higher then the batt terminal voltage drops sags "glitches" for brief periods, but has practical limit)

There were a few years when CPU + aux electronics were supplied by a separate 6 cell battery-- avoiding motor start-up surge scenario that causes Radio, CRIO, etc. resets.

Perhaps time to re-consider? random resets are hard to troubleshoot in heat of competition - this year is BIG case in point.

Electronics have become very complex so also troubleshooting them

(re: surge current: 4WD in turns is worst (highest) in amplitude and time,
6WD with center offset downward vastly improves performance (less surge),
8WD depends if all wheels in plane but likely near 4WD surge demand in turns)