Go to Post Life is unfair. Learn to deal with it or be unhappy. - Joe Johnson [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 12-04-2010, 21:57
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?)

This is just a thought, without all the details to KNOW if this will work, I can only throw it out as a suggestion.

The power distribution board has led indicators on it to show when a CB is open or missing. The only way these can work is if there is some sort of sensing circuitry across the contacts of the breaker connections. If you are willing to open the PDB, which I am not suggesting you do, you might be able to gain access to these components. Measuring the drop across the sense circuit "could" give you a reading relative to the current flow. Again, without a schematic of the board, I can not say if this will work or not. It is just food for thought.
__________________
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 12-04-2010, 22:06
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,567
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Measuring motor current (anyone tried this?)

Quote:
Originally Posted by billbo911 View Post
This is just a thought, without all the details to KNOW if this will work, I can only throw it out as a suggestion.

The power distribution board has led indicators on it to show when a CB is open or missing. The only way these can work is if there is some sort of sensing circuitry across the contacts of the breaker connections. If you are willing to open the PDB, which I am not suggesting you do, you might be able to gain access to these components. Measuring the drop across the sense circuit "could" give you a reading relative to the current flow. Again, without a schematic of the board, I can not say if this will work or not. It is just food for thought.
The schematic is available here: http://www.usfirst.org/roboticsprogr....aspx?id=16337
  #3   Spotlight this post!  
Unread 12-04-2010, 22:06
reversed_rocker's Avatar
reversed_rocker reversed_rocker is offline
Alumni
AKA: Ken Condon
FRC #0706 (Cyberhawks)
Team Role: College Student
 
Join Date: Nov 2008
Rookie Year: 2008
Location: Hartland
Posts: 69
reversed_rocker is on a distinguished road
Re: Measuring motor current (anyone tried this?)

i'm not sure if i'm remembering this correctly, but we were playing around with connecting a wire to the negative portion of the main breaker lead and measuring the voltage drop when current draw increases using an analog in on the CRIO. The voltage drop has a linear relationship with the current draw, so if you apply a couple known loads and measure the voltage drop you can get a constant to multiply your voltage drop by to give you your current draw. If you have your controller on then run all 4 CIMS at full power you should be able to calculate how much current they draw. If you work out the kinks this can be a great way to monitor current during robot operation and put some safeguards in the code to stop you from drawing too much.

Our mentor showed up with a hall effect sensor rated up to 180 amps that he said he got for 8 bucks. We were going to put this on our robot to see if we were drawing to much current during the comp, but when the battery voltage drops below 9v it sends back angry readings.
__________________


706's Logomotion Bot:
http://www.youtube.com/watch?v=bP7UL...layer_embedded

2010 Breakaway Bot:
http://www.youtube.com/watch?v=pV2V9Kgzhrc
  #4   Spotlight this post!  
Unread 12-04-2010, 23:23
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
This is just a thought, without all the details to KNOW if this will work, I can only throw it out as a suggestion.

The power distribution board has led indicators on it to show when a CB is open or missing. The only way these can work is if there is some sort of sensing circuitry across the contacts of the breaker connections. If you are willing to open the PDB, which I am not suggesting you do, you might be able to gain access to these components. Measuring the drop across the sense circuit "could" give you a reading relative to the current flow. Again, without a schematic of the board, I can not say if this will work or not. It is just food for thought.
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.
  #5   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
  #6   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.
  #7   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
  #8   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.
  #9   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.
  #10   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?
  #11   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.
  #12   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?
  #13   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
  #14   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?
  #15   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
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