Go to Post After all, each day is fresh with no mistakes in it [yet]. - atomikitten [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 19-12-2013, 10:55
mickztlin mickztlin is offline
Y_SO_CRIO
FRC #2637
Team Role: Electrical
 
Join Date: Feb 2012
Rookie Year: 2011
Location: Rancho palos verdes
Posts: 26
mickztlin can only hope to improve
Current reading of motor controllers

I am currently working on a project my team were i want to have a box that has a power conector to a battery and a connector out to a motor. Im planning to let the build team use it, but I was wondering if there was a way to record amp draw so we could troubleshoot prototypes. Any suggestions?
__________________
To the victors go the swarf!
  #2   Spotlight this post!  
Unread 19-12-2013, 11:22
David Brinza's Avatar
David Brinza David Brinza is offline
Lead Mentor, Lead Robot Inspector
FRC #0980 (ThunderBots)
Team Role: Mentor
 
Join Date: Feb 2003
Rookie Year: 2003
Location: Glendale, CA
Posts: 1,378
David Brinza has a reputation beyond reputeDavid Brinza has a reputation beyond reputeDavid Brinza has a reputation beyond reputeDavid Brinza has a reputation beyond reputeDavid Brinza has a reputation beyond reputeDavid Brinza has a reputation beyond reputeDavid Brinza has a reputation beyond reputeDavid Brinza has a reputation beyond reputeDavid Brinza has a reputation beyond reputeDavid Brinza has a reputation beyond reputeDavid Brinza has a reputation beyond repute
Re: Current reading of motor controllers

You can use a current/voltage sensing breakout circuit to monitor power draw using analog inputs in your robot control system.

Here's a PCB capable of measuring up to 180 Amps (more than CIM stall current): AttoPilot Voltage and Current Sense Breakout - 180A

The current measurement is made across a very low resistance shunt (0.25 milliOhm). Voltage measurement uses a 16KOhm voltage divider.

Per 2013 Robot Rules (R54), this breakout circuit should be competition legal:

"Custom high impedance voltage monitoring or low impedance current monitoring circuitry connected to the ROBOT’S electrical system is acceptable, if the effect on the ROBOT outputs is inconsequential."
__________________
"There's never enough time to do it right, but always time to do it over."
2003 AZ: Semifinals, Motorola Quality; SoCal: Q-finals, Xerox Creativity; IRI: Q-finals
2004 AZ: Semifinals, GM Industrial Design; SoCal: Winners, Leadership in Controls; Championship: Galileo #2 seed, Q-finals; IRI: Champions
2005 AZ: #1 Seed, Xerox Creativity; SoCal: Finalist, RadioShack Controls; SVR: Winners, Delphi "Driving Tomorrow's Technologies"; Championship: Archimedes Semifinals; IRI: Finalist
2007 LA: Finalist; San Diego: Q-finals; CalGames: Finalist || 2008 San Diego: Q-finals; LA: Winners; CalGames: Finalist || 2009 LA: Semifinals; Las Vegas: Q-finals; IRI: #1 Seed, Finalist
2010 AZ: Motorola Quality; LA: Finalist || 2011 SD: Q-finals; LA: Q-finals || 2013 LA: Xerox Creativity, WFFA, Dean's List Finalist || 2014 IE: Q-finals, LA: Finalist, Dean's List Finalist
2016 Ventura: Q-finals, WFFA, Engineering Inspiration
  #3   Spotlight this post!  
Unread 19-12-2013, 11:49
mickztlin mickztlin is offline
Y_SO_CRIO
FRC #2637
Team Role: Electrical
 
Join Date: Feb 2012
Rookie Year: 2011
Location: Rancho palos verdes
Posts: 26
mickztlin can only hope to improve
Re: Current reading of motor controllers

Thanks a lot, looking for something like this!
__________________
To the victors go the swarf!
  #4   Spotlight this post!  
Unread 19-12-2013, 11:53
Jon Stratis's Avatar
Jon Stratis Jon Stratis is online now
Electrical/Programming Mentor
FRC #2177 (The Robettes)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2006
Location: Minnesota
Posts: 3,753
Jon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond repute
Re: Current reading of motor controllers

You can also get something like this: http://www.radioshack.com/product/in...ductId=4439164

Simply clamp it around the wire to measure the current through the wire. It works equally well for motor current as it does for entire robot current!
__________________
2007 - Present: Mentor, 2177 The Robettes
LRI: North Star 2012-2016; Lake Superior 2013-2014; MN State Tournament 2013-2014, 2016; Galileo 2016; Iowa 2017
2015: North Star Regional Volunteer of the Year
2016: Lake Superior WFFA
  #5   Spotlight this post!  
Unread 19-12-2013, 12:10
Michael Hill's Avatar
Michael Hill Michael Hill is offline
Registered User
FRC #3138 (Innovators Robotics)
Team Role: Mentor
 
Join Date: Jul 2004
Rookie Year: 2003
Location: Dayton, OH
Posts: 1,572
Michael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond repute
Re: Current reading of motor controllers

If you use Jaguars, I believe you should be able to read current draw if run in a CAN configuration.
  #6   Spotlight this post!  
Unread 19-12-2013, 12:39
mickztlin mickztlin is offline
Y_SO_CRIO
FRC #2637
Team Role: Electrical
 
Join Date: Feb 2012
Rookie Year: 2011
Location: Rancho palos verdes
Posts: 26
mickztlin can only hope to improve
Re: Current reading of motor controllers

We will be using a jag but were planning to use a micro controller and we dont plan to use can. (Arduino does not suport)
__________________
To the victors go the swarf!
  #7   Spotlight this post!  
Unread 19-12-2013, 13:45
gpetilli gpetilli is offline
Registered User
FRC #1559
 
Join Date: Jan 2009
Location: Victor, NY
Posts: 285
gpetilli is a name known to allgpetilli is a name known to allgpetilli is a name known to allgpetilli is a name known to allgpetilli is a name known to allgpetilli is a name known to all
Re: Current reading of motor controllers

Quote:
Originally Posted by Michael Hill View Post
If you use Jaguars, I believe you should be able to read current draw if run in a CAN configuration.
We have been very successful using the bcd-comm software on a laptop to drive all the motors connected to Jaguars using a single RS232 connector on a laptop. It reports motor voltage and current for debug and if there is an encoder connected to the Jaguar, it also reports RPM. All good diagnostics for initial robot bringup, even if you use PWM instead of CAN on the production robot. No additional hardware or software to buy. We also have used cRIO code to read dynamic currents and diagnose brown-outs at regionals.

I know lots of teams don't like Jaguars, and there are lots of valid reasons not to, but it does provide some very nice features. I am disappointed that the CAN version of the Talon does not appear to be available for 2014. We are looking forward for a more robust CAN based speed controller in 2015.
  #8   Spotlight this post!  
Unread 19-12-2013, 13:50
gpetilli gpetilli is offline
Registered User
FRC #1559
 
Join Date: Jan 2009
Location: Victor, NY
Posts: 285
gpetilli is a name known to allgpetilli is a name known to allgpetilli is a name known to allgpetilli is a name known to allgpetilli is a name known to allgpetilli is a name known to all
Re: Current reading of motor controllers

Quote:
Originally Posted by mickztlin View Post
We will be using a jag but were planning to use a micro controller and we dont plan to use can. (Arduino does not suport)
I assume you realize you can not control a motor from an Arduino on a competition robot. All motor controls have to come directly from the cRIO. Inputs to the cRIO are fair game, but outputs are not. This is a necessary safety feature so the field can shut down a rouge robot.

Even if you don't use CAN for drive software, you could use it for diagnostics using bcd-comm on a PC or Mac via a USB-RS232 adapter.
  #9   Spotlight this post!  
Unread 19-12-2013, 14:13
mickztlin mickztlin is offline
Y_SO_CRIO
FRC #2637
Team Role: Electrical
 
Join Date: Feb 2012
Rookie Year: 2011
Location: Rancho palos verdes
Posts: 26
mickztlin can only hope to improve
Re: Current reading of motor controllers

Quote:
Originally Posted by gpetilli View Post
I assume you realize you can not control a motor from an Arduino on a competition robot. All motor controls have to come directly from the cRIO. Inputs to the cRIO are fair game, but outputs are not. This is a necessary safety feature so the field can shut down a rouge robot.

Even if you don't use CAN for drive software, you could use it for diagnostics using bcd-comm on a PC or Mac via a USB-RS232 adapter.
It is not ment to be on the robot, it is mearly for prototyping
__________________
To the victors go the swarf!
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


All times are GMT -5. The time now is 10:26.

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