OCCRA
Go to Post We draw the line when our students are more affectionate towards the tools rather than eachother. - ksafin [more]
Home
Go Back   Chief Delphi > Technical > Electrical > CAN
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 02-13-2017, 02:41 PM
thorntonj407 thorntonj407 is offline
Registered User
FRC #5193
 
Join Date: Jan 2017
Location: Saginaw, MI
Posts: 1
thorntonj407 is an unknown quantity at this point
monitoring electrical draw of CIM-motors (CAN bus)

Our team is struggling in regards to monitoring and controlling the output of electricity and electrical draw with CIM motors. We want to decrease and monitor the amount of amps during certain tasks and are wondering how to do this. Any suggestions are welcome and appreciated.
Reply With Quote
  #2   Spotlight this post!  
Unread 02-13-2017, 06:08 PM
AriMB's Avatar
AriMB AriMB is offline
The Philadelphian emigrant
AKA: Ari Meles-Braverman
FRC #5987 (Galaxia)
Team Role: Mentor
 
Join Date: Mar 2015
Rookie Year: 2012
Location: Haifa, Israel
Posts: 1,302
AriMB has a reputation beyond reputeAriMB has a reputation beyond reputeAriMB has a reputation beyond reputeAriMB has a reputation beyond reputeAriMB has a reputation beyond reputeAriMB has a reputation beyond reputeAriMB has a reputation beyond reputeAriMB has a reputation beyond reputeAriMB has a reputation beyond reputeAriMB has a reputation beyond reputeAriMB has a reputation beyond repute
Re: monitoring electrical draw of CIM-motors (CAN bus)

One of the best parts of the new control system is the built-in current monitoring on the PDP over CAN. It should be fairly simple to get the value for each port; what you do with that data is up to you. We can't really be more helpful until you tell us what language you are using.
__________________
Studying MechE at the Technion - Israel Institute of Technology
2017-present: Technical Mentor FRC 5987
2017-present: CSA for FIRST Israel
2012-2016: Member FRC 423 Captian, Programmer (LabVIEW), Electrical, CAD, Manipulator, Chassis, Business, Outreach (everything)
Reply With Quote
  #3   Spotlight this post!  
Unread 02-13-2017, 06:46 PM
flemdogmillion's Avatar
flemdogmillion flemdogmillion is offline
Programmer, Builder, Driver...
FRC #3007
 
Join Date: Nov 2016
Rookie Year: 2015
Location: Minnesota
Posts: 221
flemdogmillion will become famous soon enoughflemdogmillion will become famous soon enough
Re: monitoring electrical draw of CIM-motors (CAN bus)

There are also current sensors inside Talon SRXs, and regardless of robot language you can tune the controller's internal PID loop to have almost direct control over current. This doesn't really allow you to just limit the current by limiting the output though.

EDIT: Scratch that last bit, I was mistaken.
__________________
Team 4506: 2015-2016
Team 3007: 2017

Jack of all trades except C++ & Java

Last edited by flemdogmillion : 02-14-2017 at 09:46 AM.
Reply With Quote
  #4   Spotlight this post!  
Unread 02-13-2017, 07:02 PM
ozrien's Avatar
ozrien ozrien is offline
Omar Zrien
AKA: Omar
no team
Team Role: Mentor
 
Join Date: Sep 2006
Rookie Year: 2003
Location: Sterling Heights, MI
Posts: 611
ozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond repute
Re: monitoring electrical draw of CIM-motors (CAN bus)

I think the OP would prefer current-limit versus current-control-mode. Talon SRX supports both.

If the OP is not using Talon SRX, PDP current measurement could be used for rudimentary control with a custom implementation in the RIO.
__________________
Omar Zrien - CTR Electronics - Cross The Road Electronics - Chief Software/Owner
CTRE New products | CTRE/FRC Source Examples | FRC Installer (for Talon SRX and more)
Get Latest Updates on Facebook | Twitter
Reply With Quote
  #5   Spotlight this post!  
Unread 02-14-2017, 09:45 AM
flemdogmillion's Avatar
flemdogmillion flemdogmillion is offline
Programmer, Builder, Driver...
FRC #3007
 
Join Date: Nov 2016
Rookie Year: 2015
Location: Minnesota
Posts: 221
flemdogmillion will become famous soon enoughflemdogmillion will become famous soon enough
Re: monitoring electrical draw of CIM-motors (CAN bus)

Quote:
Originally Posted by ozrien View Post
I think the OP would prefer current-limit versus current-control-mode. Talon SRX supports both.

If the OP is not using Talon SRX, PDP current measurement could be used for rudimentary control with a custom implementation in the RIO.
Oh, it supports both? Good to know, thanks.
__________________
Team 4506: 2015-2016
Team 3007: 2017

Jack of all trades except C++ & Java
Reply With Quote
Reply


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 07:44 AM.

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