Go to Post Way to think outside the box...or circle..or triangle. - Barry Bonzack [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
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 12-01-2017, 14:21
Joe G.'s Avatar
Joe G. Joe G. is offline
Taking a few years (mostly) off
AKA: Josepher
no team (Formerly 1687, 5400)
Team Role: Mentor
 
Join Date: Sep 2006
Rookie Year: 2007
Location: Worcester, MA
Posts: 1,453
Joe G. has a reputation beyond reputeJoe G. has a reputation beyond reputeJoe G. has a reputation beyond reputeJoe G. has a reputation beyond reputeJoe G. has a reputation beyond reputeJoe G. has a reputation beyond reputeJoe G. has a reputation beyond reputeJoe G. has a reputation beyond reputeJoe G. has a reputation beyond reputeJoe G. has a reputation beyond reputeJoe G. has a reputation beyond repute
Send a message via AIM to Joe G.
Re: The do's and do not's when shifting

Quote:
Originally Posted by WesleyK View Post
So would placing an encoder on the output shaft of the gear box and limit the motor power based on that be enough to prevent overdraw or would we have to monitor the rpm and current draw of each individual cim using a CIMcoder and a current sensor on each motor?
You could infer the stress on your motors with a single encoder value per side compared to the commanded motor speed, over a sustained period of time (you don't want to shift down for a fraction of a second just because you accelerate hard). Doing the same thing with the built-in current monitoring functionality of the new power distribution panel is a lot more straightforward way of doing it though, since you get the actual value (the current) which causes bad things to happen.
__________________
FIRST is not about doing what you can with what you know. It is about doing what you thought impossible, with what you were inspired to become.

2007-2010: Student, FRC 1687, Highlander Robotics
2012-2014: Technical Mentor, FRC 1687, Highlander Robotics
2015-2016: Lead Mentor, FRC 5400, Team WARP
2016-???: Volunteer and freelance mentor-for-hire
Reply With Quote
  #2   Spotlight this post!  
Unread 12-01-2017, 21:07
MetaEngineer's Avatar
MetaEngineer MetaEngineer is offline
Director of magic smoke
AKA: Barden
FRC #0246
Team Role: Mentor
 
Join Date: Jan 2016
Rookie Year: 2010
Location: Boston, MA
Posts: 27
MetaEngineer is an unknown quantity at this point
Re: The do's and do not's when shifting

Quote:
So would placing an encoder on the output shaft of the gear box and limit the motor power based on that be enough to prevent overdraw
This is a crude but potentially effective way of estimating motor load, using the commanded motor power, the motor speed, and the current gear ratio.


Quote:
or would we have to monitor the rpm and current draw of each individual cim using a CIMcoder and a current sensor on each motor?
All CIMs on the gearbox will turn the same speed, so you can use a single encoder as part of the gearbox to get both wheel speed and motor speed (taking into account what gear is selected). Talon SRX motor controllers have built in current sensors for individual motors, which can be accessed through CANbus.

This can allow code that can automatically shift gears based on both speed and motor load. Related code can back off the drive motor power and even shut down other motors such as the air compressor to stave off a brownout (with its subsequent total cutoff of motor power).

Auto shifting needs hysteresis and possibly a time delay to prevent rapid cycling when right at the threshold of low gear and high gear. Keep very close tabs on wear and tear, as the gears will get torn up much faster when driven hard with automatic shifting.
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 11:29.

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