Go to Post I hope to be able to say, "WOW, we put a working robot in the crate". - MrForbes [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 13-04-2010, 01:36
billbo911's Avatar
billbo911 billbo911 is online now
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,355
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: Measuring motor current (anyone tried this?)

Quote:
Originally Posted by EricVanWyk View Post
Cool idea, but not feasible with the current PD hardware (ask again in ~3 years ). The sensing circuit you refer to is super cheap and doesn't actually measure the current. You can check it out, per Joe's suggestion, if you'd like. Its just a FET being used as a comparator, plus some protection.
Yep, that is what I was afraid of. Now that I've seen the schematics, I agree 100%, that circuit will not allow a measurement with any meaning.
Now, if the breaker had a few hundred ohms of resistance...... it would not be a breaker , but you could then measure a nice proportional voltage. But then again, you knew that.
Well, like I said, it was just a thought.


BTW Eric, are you saying there is a new PDB in the works???
__________________
CalGames 2009 Autonomous Champion Award winner
Sacramento 2010 Creativity in Design winner, Sacramento 2010 Quarter finalist
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award.
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).
2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up. Madtown Throwdown: Runner up.
2015 Innovation in Control Award, Sacramento.
2016 Chezy Champs Finalist, 2016 MTTD Finalist
  #2   Spotlight this post!  
Unread 13-04-2010, 01:46
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: Measuring motor current (anyone tried this?)

Quote:
Originally Posted by billbo911 View Post
BTW Eric, are you saying there is a new PDB in the works???
No, I'm just saying that I'd love the opportunity to make it prettier and it took me 3 years to do the first one.
  #3   Spotlight this post!  
Unread 13-04-2010, 09:04
jonboy jonboy is offline
Engineer/Mentor
FRC #0885 (The Green Team)
Team Role: Engineer
 
Join Date: Jan 2003
Rookie Year: 2003
Location: Tunbridge, Vermont
Posts: 46
jonboy is an unknown quantity at this point
Re: Measuring motor current (anyone tried this?)

What about fabricating a cable out of the Anderson power connectors pig tails the goes between the battery and the robot power connector? The special cable can have either a 50mv shunt or an appropriate length and sized wire to provide a voltage drop when the CIMs are running. Now remove all ckt bkrs but the one CIM under test and measure the voltage drop/current. This cable can be fabricated without interfering with the bot and quickly installed and removed.
__________________
... jon
  #4   Spotlight this post!  
Unread 13-04-2010, 10:58
Racer26 Racer26 is offline
Registered User
no team
Team Role: Alumni
 
Join Date: Apr 2003
Rookie Year: 2003
Location: Beaverton, ON
Posts: 2,229
Racer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond repute
Re: Measuring motor current (anyone tried this?)

Quote:
Originally Posted by jonboy View Post
What about fabricating a cable out of the Anderson power connectors pig tails the goes between the battery and the robot power connector? The special cable can have either a 50mv shunt or an appropriate length and sized wire to provide a voltage drop when the CIMs are running. Now remove all ckt bkrs but the one CIM under test and measure the voltage drop/current. This cable can be fabricated without interfering with the bot and quickly installed and removed.
Seems like this would be easy enough to do. Take two APP connectors, and just connect them such that you can access known test points (with long enough wire between to generate your voltage drop), and then plug the robot and battery into this current sense cable, then only run one motor at a time, check the current, if you get an outlier, you know where your problem is.
  #5   Spotlight this post!  
Unread 13-04-2010, 12:47
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: Measuring motor current (anyone tried this?)

Don,
Years ago we set up StangSense to measure current in motors. It used a one foot length of #10 wire in the negative lead of the speed controller input. Using a Maxim battery charge monitor IC we could scale the voltage dropped across the wire into a current through the wire. 100 amps in a one foot piece of #10 generates 0.1 volts. You will have to search here but I am pretty sure we uploaded the schematics. We used StangSense to alert our drivers when they were pushing too hard and to analyze other teams robots. Our software plotted the battery voltage, and motor current against time ticks provided in the IFI controller and then displayed them on a Palm. We then were able to download the Palm data and generate a spreadsheet and plot. In odd situations, we merely played back video of the match and timed out to our high current demands to plan on software changes to prevent the IFI controller at that time from reboot. The old IFI controller which did not have a backup battery, dropped out below 8 volts. We regularly saw small drops into the 4 volt range as motors turned on in drive or pushing. If you want more range, move to #12 and the voltage drops goes up to 0.160 volts per hundred amps. It is a little harder to scale but it is possible.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #6   Spotlight this post!  
Unread 13-04-2010, 16:26
DonRotolo's Avatar
DonRotolo DonRotolo is offline
Back to humble
FRC #0832
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Atlanta GA
Posts: 6,998
DonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond repute
Re: Measuring motor current (anyone tried this?)

Quote:
Originally Posted by billbo911 View Post
Now, if the breaker had a few hundred ohms of resistance......
I'll take 0.1 Ohm!
Quote:
Originally Posted by EricVanWyk View Post
and it took me 3 years to do the first one.
Oh, so you're the guilty party? Nice job with it, BTW
Quote:
Originally Posted by Dale(294engr] View Post
120A CB has tightly controlled resistance of almost exactly 1 milliohm
Exactly the information I was looking for! Perfect, and thanks.
Quote:
Originally Posted by Al Skierkiewicz View Post
a one foot length of #10 wire in the negative lead of the speed controller input.
Thanks Al, I was headed in that direction, until Dale's comments. This is for a one-time measurement, not a monitor, so less is better.

We're on our way tomorrow, see y'all Wednesday.
__________________

I am N2IRZ - What's your callsign?
  #7   Spotlight this post!  
Unread 13-04-2010, 17:58
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: Measuring motor current (anyone tried this?)

six inches of #6 = twelve inches of #10 or 12 inches of #6 at 100 amps gets you 0.2 volts.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #8   Spotlight this post!  
Unread 13-04-2010, 18:05
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: Measuring motor current (anyone tried this?)

I was thinking something like that would be true....thanks for the info Al. If you can measure to a couple decimal places with a dvm then measuring the voltage drop across the same length of wire on each motor circuit should do the job.

KISS?
  #9   Spotlight this post!  
Unread 18-04-2010, 03:36
vamfun vamfun is offline
Mentor :Contol System Engineer
AKA: Chris
FRC #0599 (Robodox)
Team Role: Engineer
 
Join Date: Jan 2009
Rookie Year: 2003
Location: Van Nuys, California
Posts: 182
vamfun is a glorious beacon of lightvamfun is a glorious beacon of lightvamfun is a glorious beacon of lightvamfun is a glorious beacon of lightvamfun is a glorious beacon of lightvamfun is a glorious beacon of light
Send a message via AIM to vamfun
Re: Measuring motor current (anyone tried this?)

Here was our simple solution.... if you can't afford a fluke

http://cgi.ebay.com/ws/eBayISAPI.dll...m=300417617202

Heck of a deal 40/400 DC amp scales w/clamp on
  #10   Spotlight this post!  
Unread 18-04-2010, 21:26
DonRotolo's Avatar
DonRotolo DonRotolo is offline
Back to humble
FRC #0832
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Atlanta GA
Posts: 6,998
DonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond repute
Re: Measuring motor current (anyone tried this?)

OK, so here was the solution we went with:

Measured the voltage drop from the battery + cable end to the + terminal on the power distribution board. I am estimating we had about 5 mV per amp, but all we needed were relative readings, so that was more than sensitive enough (our DVM could display 0.1 mV).

The problem we needed to solve - one breaker was popping - turned out to be a sensitive breaker. Many thanks for team 1732's advice and assistance on Wednesday evening as we worked the checklist.

For what its worth: The right side measured "43" units, the left side measured "38" units, both at full speed off the ground. We attributed the difference to a tight chain; we didn't change it, added some lube, and went to the field like that. We did see some breakers popping on occasion, but it wasn't a problem.
__________________

I am N2IRZ - What's your callsign?
  #11   Spotlight this post!  
Unread 19-04-2010, 00:35
dtengineering's Avatar
dtengineering dtengineering is offline
Teaching Teachers to Teach Tech
AKA: Jason Brett
no team (British Columbia FRC teams)
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2004
Location: Vancouver, BC
Posts: 1,829
dtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond repute
Re: Measuring motor current (anyone tried this?)

Last year we built a couple of Allegro Current sensors in to our robot. If you'll recall we actually got some current sensors in the KoP, along with some nifty little circuit boards to mount them on... oh... about five years ago, I think.

http://www.allegromicro.com/en/Produ...sors/index.asp

This gave us real time feedback to an analog input on the control system, and allowed us to do PID control on the current to ensure that we did not exceed a maximum current draw.

I guess you can do this directly with the new Jags, but getting a few current sensors from Digikey is a cheaper way to go about it.

Jason
  #12   Spotlight this post!  
Unread 19-04-2010, 09:23
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: Measuring motor current (anyone tried this?)

Quote:
Originally Posted by dtengineering View Post
allowed us to do PID control on the current to ensure that we did not exceed a maximum current draw.
Hi Jason,

Are you saying that your primary mode of control was current? Or were you controlling voltage (or perhaps speed), with a max current limiter?


~
  #13   Spotlight this post!  
Unread 14-07-2011, 10:17
chuckmerja chuckmerja is offline
Registered User
FRC #1696 (RoboRevolution)
Team Role: Mentor
 
Join Date: Feb 2008
Rookie Year: 2004
Location: Montana
Posts: 21
chuckmerja is an unknown quantity at this point
Re: Measuring motor current (anyone tried this?)

Any progress on this? We built a rough terrain bot with CIMS and we know we are at or beyond the design limits for our CIMS and Victors, but that is what we had, and so that is where we started. We have 4 motors being driven by 4 Victors and a 55Ahr deep cycle battery. We ran a few hundred yards and measured the temps on the motors and discovered 3 of them at roughly 105 deg F (on 82 ish degree day) but one motor was 160 to 180 deg F! That's definitely an outlier, and we need to look into this further. I really think we need to monitor and record amps on each of the 4 motors - simultaneously. I think that hall effect current sensors is where we are headed http://www.allegromicro.com/en/Produ...sors/index.asp any help would be great.

Chuck
__________________
2005 - Sacto quarterfinalist
2006 - Sil Valley quarterfinalist
2007 - AZ semifinalist, 2 judges awards, Woodie Flowers Award
2008 - smallest team from smallest school in FIRST - 3 person team!! - Seattle semifinalist
2009 - let's just say this bot would not have qualified for a trip to Mars
2010 - redoubled quality effort - won quality award and WINNER Utah Regional (first MT team to win an FRC regional) also won state FTC tourney (team 724)
2011 - Finalist UTAH regional
  #14   Spotlight this post!  
Unread 15-07-2011, 14:18
roystur44's Avatar
roystur44 roystur44 is offline
Mentor/Sponsor
AKA: Roy Dumlao
FRC #4543 (Apollo Robotics)
Team Role: Mentor
 
Join Date: Mar 2010
Rookie Year: 2006
Location: San Jose,California
Posts: 362
roystur44 has a reputation beyond reputeroystur44 has a reputation beyond reputeroystur44 has a reputation beyond reputeroystur44 has a reputation beyond reputeroystur44 has a reputation beyond reputeroystur44 has a reputation beyond reputeroystur44 has a reputation beyond reputeroystur44 has a reputation beyond reputeroystur44 has a reputation beyond reputeroystur44 has a reputation beyond reputeroystur44 has a reputation beyond repute
Send a message via Yahoo to roystur44
Re: Measuring motor current (anyone tried this?)

Take a look at this product.

http://www.batteryspace.com/compactd...upto50amp.aspx

We used this to tune our minibot motors and it worked out great. Reading the specs I think the analyzer is within your test range. We used this with a variable DC power supply.

Here are some uses:
Set speed control cutoff voltages and currents
Tune performance by comparing different setups of propeller, motor, gearing, speed control and battery
Measure a full battery charge and compare to spec when charger claims done
Check peak currents are safe for battery, speed control, motor, wiring and connectors
Predict airplane flight time based on ACTUAL conditions in your model
Check battery capacity and health and whether battery should be retired
Verify that the minimum voltage under load is within specifications
Check for wiring and connector power losses.



Roy
__________________
Roy Dumlao

Mentor/Sponsor
2006-2012 971
2013-2017 4543

Last edited by roystur44 : 15-07-2011 at 14:27.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu 10.04: Anyone else tried it yet? CraigHickman Chit-Chat 6 10-04-2010 19:49
Anodizing - has anyone tried it at home? sanddrag Technical Discussion 5 06-02-2006 12:25
Measuring Motor Characteristics DonRotolo Motors 1 08-01-2006 19:39


All times are GMT -5. The time now is 12:03.

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