Go to Post No really though, a robot game with rules similar to Risk. This would combine FIRST, Battlebots, and US Government... - Betty_Krocker [more]
Home
Go Back   Chief Delphi > Technical > Motors
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 10-02-2014, 17:31
Wzup4021 Wzup4021 is offline
Registered User
FRC #4021 (igKnightion)
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2014
Location: United States
Posts: 32
Wzup4021 is an unknown quantity at this point
CIM motors vibrate/jitter

We have a mock up chassis for testing code on. It has the bare essentials, including 2 talons and 2 mini-CIMs. When we power up the setup and run code, everything works fine, however the 2 CIMs vibrate/jitter. We have tried different CIMs, different sizes, different Talons, they still jitter. We've tried everything we can think of an they still jitter. Any help would be great, thanks.
  #2   Spotlight this post!  
Unread 10-02-2014, 17:33
dellagd's Avatar
dellagd dellagd is offline
Look for me on the field!
AKA: Griffin D
FRC #2590 (Nemesis) #2607 (The Fighting Robovikings)
Team Role: Mentor
 
Join Date: Sep 2011
Rookie Year: 2011
Location: PA
Posts: 890
dellagd has a reputation beyond reputedellagd has a reputation beyond reputedellagd has a reputation beyond reputedellagd has a reputation beyond reputedellagd has a reputation beyond reputedellagd has a reputation beyond reputedellagd has a reputation beyond reputedellagd has a reputation beyond reputedellagd has a reputation beyond reputedellagd has a reputation beyond reputedellagd has a reputation beyond repute
Re: CIM motors vibrate/jitter

So the robot "twitches" on the ground, as in it drives very slightly back and forth without user input telling it to do that?

Is the robot enabled when this happens (so does it happen when the robot is disabled as well)?
__________________
Check out some cool personal projects in computers, electronics, and RC vehicles on my blog!

2016 MAR DCMP Engineering Excellence Award
2016 MAR Westtown Innovation in Control Award
2016 MAR Hatboro-Horsham Industrial Design Award
2015 Upper Darby District Winners - Thanks 225 and 4460!
2015 Upper Darby District Industrial Design Award
2015 Hatboro-Horsham District Winners - Thanks 2590 and 5407!
2014 Virginia Regional Winners - Thanks so much 384 and 1610, I will never forget that experience!
2014 Virginia Quality Award
2014 MAR Bridgewater-Raritan Innovation in Control Award
2014 MAR Hatboro-Horsham Gracious Professionalism Award
2013 MAR Bridgewater-Raritan Innovation in Control Award
2012 MAR Lenape Quality Award
  #3   Spotlight this post!  
Unread 10-02-2014, 17:36
Wzup4021 Wzup4021 is offline
Registered User
FRC #4021 (igKnightion)
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2014
Location: United States
Posts: 32
Wzup4021 is an unknown quantity at this point
Re: CIM motors vibrate/jitter

We don't have any wheels hooked up to it, as it is just on a C-channel frame. When we enable it, the lights on the Talons flicker between red and orange. When it is disabled, they don't jitter.
  #4   Spotlight this post!  
Unread 10-02-2014, 17:39
cgmv123's Avatar
cgmv123 cgmv123 is offline
FRC RI/FLL Field Manager
AKA: Max Vrany
FRC #1306 (BadgerBOTS)
Team Role: College Student
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Madison, WI
Posts: 2,082
cgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond repute
Re: CIM motors vibrate/jitter

Quote:
Originally Posted by Wzup4021 View Post
We don't have any wheels hooked up to it, as it is just on a C-channel frame. When we enable it, the lights on the Talons flicker between red and orange. When it is disabled, they don't jitter.
It's (most likely) a code issue. Red means the Talon is getting a reverse signal, while orange means the Talon is getting a neutral signal. If it's bouncing between the two, it's most likely caused by a code issue, but you can try calibrating the Talons as well.
__________________
BadgerBOTS Robotics|@team1306|Facebook: BadgerBOTS
2016 FIRST Championship Tesla Division | 2016 Wisconsin Regional Engineering Inspiration Award

2015 FIRST Championship Carson Division | 2015 Wisconsin Regional Chairman's Award

2013 FIRST Championship Curie Division | 2013 Wisconsin Regional Chairman's Award

2012 FIRST Championship Archimedes Division | 2012 Wisconsin Regional Engineering Inspiration Award, Woodie Flowers Finalist Award (Lead Mentor Ben Senson)

  #5   Spotlight this post!  
Unread 10-02-2014, 17:41
Wzup4021 Wzup4021 is offline
Registered User
FRC #4021 (igKnightion)
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2014
Location: United States
Posts: 32
Wzup4021 is an unknown quantity at this point
Re: CIM motors vibrate/jitter

Although possible, I don't believe so. We've sent it code that had no other commands other then to set the motors to 0. It still bounces back and forth several times a second between the two colors.
  #6   Spotlight this post!  
Unread 10-02-2014, 17:44
dellagd's Avatar
dellagd dellagd is offline
Look for me on the field!
AKA: Griffin D
FRC #2590 (Nemesis) #2607 (The Fighting Robovikings)
Team Role: Mentor
 
Join Date: Sep 2011
Rookie Year: 2011
Location: PA
Posts: 890
dellagd has a reputation beyond reputedellagd has a reputation beyond reputedellagd has a reputation beyond reputedellagd has a reputation beyond reputedellagd has a reputation beyond reputedellagd has a reputation beyond reputedellagd has a reputation beyond reputedellagd has a reputation beyond reputedellagd has a reputation beyond reputedellagd has a reputation beyond reputedellagd has a reputation beyond repute
Re: CIM motors vibrate/jitter

Quote:
Originally Posted by Wzup4021 View Post
Although possible, I don't believe so. We've sent it code that had no other commands other then to set the motors to 0. It still bounces back and forth several times a second between the two colors.
Are you routing your PWM wires parallel with all of your power wires to the motors? The induced current could mess with the signal, but if you're not running them I doubt this would occur. Just controls food for thought.

That being said, do calibrate them. If the calibration is such that a zero signal is right on the line in the talon of neutral/reverse, it would probably bounce between them as you said.
__________________
Check out some cool personal projects in computers, electronics, and RC vehicles on my blog!

2016 MAR DCMP Engineering Excellence Award
2016 MAR Westtown Innovation in Control Award
2016 MAR Hatboro-Horsham Industrial Design Award
2015 Upper Darby District Winners - Thanks 225 and 4460!
2015 Upper Darby District Industrial Design Award
2015 Hatboro-Horsham District Winners - Thanks 2590 and 5407!
2014 Virginia Regional Winners - Thanks so much 384 and 1610, I will never forget that experience!
2014 Virginia Quality Award
2014 MAR Bridgewater-Raritan Innovation in Control Award
2014 MAR Hatboro-Horsham Gracious Professionalism Award
2013 MAR Bridgewater-Raritan Innovation in Control Award
2012 MAR Lenape Quality Award

Last edited by dellagd : 10-02-2014 at 17:46.
  #7   Spotlight this post!  
Unread 10-02-2014, 17:45
Wzup4021 Wzup4021 is offline
Registered User
FRC #4021 (igKnightion)
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2014
Location: United States
Posts: 32
Wzup4021 is an unknown quantity at this point
Re: CIM motors vibrate/jitter

Well, we have the PWM wires tied next to eachother most of the way until they split, and one place that could be a problem is I looped them up at one point to shorten them up, just a simple back and around loop, but could that be the issue?
  #8   Spotlight this post!  
Unread 10-02-2014, 17:46
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,795
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: CIM motors vibrate/jitter

It is very possible that something is telling the Talons to go full throttle and in doing so they trip the breaker feeding each one. Do you have any wiring attached to the output of the Talons? Double check this to be sure you don't have a short there.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #9   Spotlight this post!  
Unread 10-02-2014, 17:47
cgmv123's Avatar
cgmv123 cgmv123 is offline
FRC RI/FLL Field Manager
AKA: Max Vrany
FRC #1306 (BadgerBOTS)
Team Role: College Student
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Madison, WI
Posts: 2,082
cgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond repute
Re: CIM motors vibrate/jitter

Quote:
Originally Posted by Wzup4021 View Post
Although possible, I don't believe so. We've sent it code that had no other commands other then to set the motors to 0. It still bounces back and forth several times a second between the two colors.
Something is causing the mixed signal and thus the jitter. Check your DSC connections.
__________________
BadgerBOTS Robotics|@team1306|Facebook: BadgerBOTS
2016 FIRST Championship Tesla Division | 2016 Wisconsin Regional Engineering Inspiration Award

2015 FIRST Championship Carson Division | 2015 Wisconsin Regional Chairman's Award

2013 FIRST Championship Curie Division | 2013 Wisconsin Regional Chairman's Award

2012 FIRST Championship Archimedes Division | 2012 Wisconsin Regional Engineering Inspiration Award, Woodie Flowers Finalist Award (Lead Mentor Ben Senson)

  #10   Spotlight this post!  
Unread 10-02-2014, 17:48
Wzup4021 Wzup4021 is offline
Registered User
FRC #4021 (igKnightion)
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2014
Location: United States
Posts: 32
Wzup4021 is an unknown quantity at this point
Re: CIM motors vibrate/jitter

Yes, we have wiring. They are not making contact though, it's circle screw on connectors connected to wire running straight to the CIMs, no metal contact.
  #11   Spotlight this post!  
Unread 10-02-2014, 17:49
dellagd's Avatar
dellagd dellagd is offline
Look for me on the field!
AKA: Griffin D
FRC #2590 (Nemesis) #2607 (The Fighting Robovikings)
Team Role: Mentor
 
Join Date: Sep 2011
Rookie Year: 2011
Location: PA
Posts: 890
dellagd has a reputation beyond reputedellagd has a reputation beyond reputedellagd has a reputation beyond reputedellagd has a reputation beyond reputedellagd has a reputation beyond reputedellagd has a reputation beyond reputedellagd has a reputation beyond reputedellagd has a reputation beyond reputedellagd has a reputation beyond reputedellagd has a reputation beyond reputedellagd has a reputation beyond repute
Re: CIM motors vibrate/jitter

Quote:
Originally Posted by Wzup4021 View Post
Well, we have the PWM wires tied next to eachother most of the way until they split, and one place that could be a problem is I looped them up at one point to shorten them up, just a simple back and around loop, but could that be the issue?
Having the PWMs next to each other wouldn't be an issue, just big current flow through the power wires from the PDB.

http://www.crosstheroadelectronics.c...Manual_1_1.pdf - Pg 7 is the calibration instructions.
__________________
Check out some cool personal projects in computers, electronics, and RC vehicles on my blog!

2016 MAR DCMP Engineering Excellence Award
2016 MAR Westtown Innovation in Control Award
2016 MAR Hatboro-Horsham Industrial Design Award
2015 Upper Darby District Winners - Thanks 225 and 4460!
2015 Upper Darby District Industrial Design Award
2015 Hatboro-Horsham District Winners - Thanks 2590 and 5407!
2014 Virginia Regional Winners - Thanks so much 384 and 1610, I will never forget that experience!
2014 Virginia Quality Award
2014 MAR Bridgewater-Raritan Innovation in Control Award
2014 MAR Hatboro-Horsham Gracious Professionalism Award
2013 MAR Bridgewater-Raritan Innovation in Control Award
2012 MAR Lenape Quality Award

Last edited by dellagd : 10-02-2014 at 17:53.
  #12   Spotlight this post!  
Unread 10-02-2014, 17:56
Wzup4021 Wzup4021 is offline
Registered User
FRC #4021 (igKnightion)
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2014
Location: United States
Posts: 32
Wzup4021 is an unknown quantity at this point
Re: CIM motors vibrate/jitter

All of the DSC connections are proper. We disconnected them all and reconnected them.
  #13   Spotlight this post!  
Unread 10-02-2014, 18:08
Chris_Ely's Avatar
Chris_Ely Chris_Ely is offline
Registered User
AKA: luckof13
FRC #3414 (HackBots)
Team Role: College Student
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Farmington, Michigan
Posts: 366
Chris_Ely has a reputation beyond reputeChris_Ely has a reputation beyond reputeChris_Ely has a reputation beyond reputeChris_Ely has a reputation beyond reputeChris_Ely has a reputation beyond reputeChris_Ely has a reputation beyond reputeChris_Ely has a reputation beyond reputeChris_Ely has a reputation beyond reputeChris_Ely has a reputation beyond reputeChris_Ely has a reputation beyond reputeChris_Ely has a reputation beyond repute
Re: CIM motors vibrate/jitter

Quote:
Originally Posted by Wzup4021 View Post
We don't have any wheels hooked up to it, as it is just on a C-channel frame. When we enable it, the lights on the Talons flicker between red and orange. When it is disabled, they don't jitter.
Are these Talon SRs? If so, then red/orange flashing is the fault code for under voltage (<3.3V), over temperature (>170C), or shorted output transistor.
__________________
2013: Waterford Finalist, Livonia Winner, MSC Quarterfinalist, Curie Division
2012: Waterford, Northville, Livonia
2011: Waterford Finalist, Livonia
2010: Ann Arbor Rookie Inspiration Award, Troy

Mechanical Engineering Student,
Michigan Technological University
  #14   Spotlight this post!  
Unread 11-02-2014, 17:48
Wzup4021 Wzup4021 is offline
Registered User
FRC #4021 (igKnightion)
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2014
Location: United States
Posts: 32
Wzup4021 is an unknown quantity at this point
Re: CIM motors vibrate/jitter

Yes, I believe they are the Talon SR motor controllers. This doesn't seem like an error code, as it is flashing extremely fast, as in 15+ times per second, and the motors are actually moving. They are hooked up identical to our robot, so they shouldn't be under volted. They have fans on top of them, and the flashing is all they do, so it can't be over heating. I also doubt that it is a shorted out transistor, seeing as we have tried different talons. It must be something to do with the DSC or CRio, however we have no clue what. We've reconnected everything, but nothing seems to work.
  #15   Spotlight this post!  
Unread 11-02-2014, 18:02
RufflesRidge RufflesRidge is offline
Registered User
no team
 
Join Date: Jan 2012
Location: USA
Posts: 989
RufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant future
Re: CIM motors vibrate/jitter

Have you tried calibrating them as suggested by dellagd above? It sounds like they are getting a signal right on the edge of neutral and based on timing jitter it is alternating between neutral and a very low speed reverse.
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 22:43.

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