Go to Post FIRST should never come before school and anyone who thinks otherwise is irresponsible and should not be mentoring the kids - Koko Ed [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 03-02-2010, 13:00
EthanMiller EthanMiller is offline
Lead Programmer
AKA: Socks
FTC #4356 (The Zip Ties)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2009
Location: Clayton, NY
Posts: 121
EthanMiller has a spectacular aura aboutEthanMiller has a spectacular aura aboutEthanMiller has a spectacular aura about
Jaguars/CIMS halting during operation

While driving the robot, our drive CIMS randomly cut out. We're using the ToughBoxes to gear together two CIMS on each side, and they're definitely going in the same direction.

Each CIM has it's own Jaguar, which has been connected correctly as near as I can tell.

This happens mostly when a quick change of direction takes place. Afterwords, the motors cease working until we disable the robot from the Classmate, then reenable it. Using the default Java code, the only thing that stops working are the CIMS/Jaguars, which have flashing yellow lights. If joystick buttons are pressed, the solenoid LEDs light correctly and the NetBeans output shows the correct output, as when switching from Tank to Arcade Drive.

Although I don't remember it, our robot last year had the same problem by a few accounts, and stopped as soon as we got to competition. I've tried everything I can think of short of programming in an acceleration curve. Also, searching on CD turned up nothing of use.

Any ideas?
__________________
When all else fails, read the manual.

FRC 1713 K Island Gears 2009, 2010 (Not 2011 due to budget, hopefully 2012!) - Fingerlakes Regional

FTC 4356 The Zip Ties 2010-2011 Season - NNYRC (2010 9th seed).
  #2   Spotlight this post!  
Unread 03-02-2010, 14:02
mdecello mdecello is offline
Registered User
FRC #0503
 
Join Date: Feb 2008
Location: Novi
Posts: 2
mdecello is an unknown quantity at this point
Re: Jaguars/CIMS halting during operation

We had the same problem last year. Although my knowledge base is much more mechanical than electrical, I recall that it had something to due with a voltage drop. To solve the problem, the power wiring to all motor and Jaguars was increased to 10 gauge wire and all connections were changed from crimped to solder. I hope this helps.
  #3   Spotlight this post!  
Unread 03-02-2010, 14:06
JesseK's Avatar
JesseK JesseK is offline
Expert Flybot Crasher
FRC #1885 (ILITE)
Team Role: Mentor
 
Join Date: Mar 2007
Rookie Year: 2005
Location: Reston, VA
Posts: 3,702
JesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond repute
Re: Jaguars/CIMS halting during operation

Perhaps this post will help:
http://www.chiefdelphi.com/forums/sh...65&postcount=6

It might also help to figure out if your code potentially sends a 0 instead of 255 based upon joystick input to motor control algorithms. Excel or Matlab would be great to detect this since you could map out expected motor outputs based upon the joystick input map.

The 'filtering' Russ refers to is as simple as 'smoothing' the outputs to the motors by not allowing two chronological outputs to have a difference greater than N, where N is determined experimentally. Typically we found that if we gave it 300-500ms in between full forward/reverse this problem never came up, yet that was also on a slick field.
__________________

Drive Coach, 1885 (2007-present)
CAD Library Updated 5/1/16 - 2016 Curie/Carver Industrial Design Winner
GitHub
  #4   Spotlight this post!  
Unread 03-02-2010, 15:38
EthanMiller EthanMiller is offline
Lead Programmer
AKA: Socks
FTC #4356 (The Zip Ties)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2009
Location: Clayton, NY
Posts: 121
EthanMiller has a spectacular aura aboutEthanMiller has a spectacular aura aboutEthanMiller has a spectacular aura about
Re: Jaguars/CIMS halting during operation

Ok, that makes sense. I'll try these. Thanks for your time.
__________________
When all else fails, read the manual.

FRC 1713 K Island Gears 2009, 2010 (Not 2011 due to budget, hopefully 2012!) - Fingerlakes Regional

FTC 4356 The Zip Ties 2010-2011 Season - NNYRC (2010 9th seed).
  #5   Spotlight this post!  
Unread 03-02-2010, 15:57
apalrd's Avatar
apalrd apalrd is offline
More Torque!
AKA: Andrew Palardy (Most people call me Palardy)
VRC #3333
Team Role: College Student
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Auburn Hills, MI
Posts: 1,347
apalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond repute
Re: Jaguars/CIMS halting during operation

We had a similar problem on a shooter motor last year, after about 1/2 hours of continuous practice or demo. The control algorithm set the CIM, geared around 1:4 reduction to a 6" diameterx18"long drum, into full reverse for a short time while the feed belts backed the balls down to prevent balls that were already touching it from firing before it was spun up, then switched into full forward and spinning up while the feed belts slowed, reversed, and fed the balls into the shooter wheel. This sudden change in direction could cause the battery voltage to drop enough to reset the Jaguar controlling it, but after waiting a few seconds it would return to normal operation. A battery change would always fix the problem. We used 12 gauge wire for all 40 and 30 amp motors (CIM, F-P, 545) with crimped connectors last year without problems.
__________________
Kettering University - Computer Engineering
Kettering Motorsports
Williams International - Commercial Engines - Controls and Accessories
FRC 33 - The Killer Bees - 2009-2012 Student, 2013-2014 Advisor
VEX IQ 3333 - The Bumble Bees - 2014+ Mentor

"Sometimes, the elegant implementation is a function. Not a method. Not a class. Not a framework. Just a function." ~ John Carmack
  #6   Spotlight this post!  
Unread 03-02-2010, 16:56
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,584
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: Jaguars/CIMS halting during operation

What does the Jaguar's LED do when this occurs?
  #7   Spotlight this post!  
Unread 03-02-2010, 20:40
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: Jaguars/CIMS halting during operation

Ethan,
What you describe is a classic symptom of powering the wireless adapter from a breaker on the PD instead of the dedicated 12 volt supply connector designed for this application. That 12 volt output is a regulated power supply, not the battery. If you had this last year but it stopped, a knowledgeable inspector likely saw it and had you change it. During start and direction changes and especially during hard turns with tank drive, the battery voltage will pull down to as little as 4 volts for short periods of time. This is enough to cause the wireless to reboot.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #8   Spotlight this post!  
Unread 03-02-2010, 21:35
EthanMiller EthanMiller is offline
Lead Programmer
AKA: Socks
FTC #4356 (The Zip Ties)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2009
Location: Clayton, NY
Posts: 121
EthanMiller has a spectacular aura aboutEthanMiller has a spectacular aura aboutEthanMiller has a spectacular aura about
Re: Jaguars/CIMS halting during operation

Thanks, everyone. Seems that powering the digital sidecar fixed it.

@Al - Not with the bot now, but I'm pretty sure that's not the case, due to following the PD diagram pretty closely while wiring, to catch things like that.

@Joe - The lights flashed the "no signal" yellow blink.
__________________
When all else fails, read the manual.

FRC 1713 K Island Gears 2009, 2010 (Not 2011 due to budget, hopefully 2012!) - Fingerlakes Regional

FTC 4356 The Zip Ties 2010-2011 Season - NNYRC (2010 9th seed).
  #9   Spotlight this post!  
Unread 04-02-2010, 07:48
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: Jaguars/CIMS halting during operation

OK,
Let us know what you find.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
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
Switch digital input to output during operation? Parallax Ultrasonic wt200999 C/C++ 2 28-01-2009 19:30
CIMs? fishgurl General Forum 3 15-02-2008 17:47
CIMs brennerator Motors 10 26-01-2007 10:22
Inductance of CIMs phrontist Electrical 13 06-01-2006 09:17
Drill+CIMs kevin.li.rit Motors 2 10-01-2004 16:29


All times are GMT -5. The time now is 07:38.

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