Go to Post Woody says that gracious professionalism is "acting how you would if you grandmother was watching you"... some people must have some really crazy grandmothers. (: - Cappeh [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 17-02-2009, 00:46
csshih csshih is offline
IT pwnage.
AKA: Craig
FRC #0649
Team Role: Communications
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Saratoga
Posts: 6
csshih is an unknown quantity at this point
URGENT(ish): Twitchy motors

our motors sometimes twitch around even though the pwm values are zeroed.
all of our firmware and software(Labview) is up to date
does anyone know whats wrong/ have similar issues?

Last edited by csshih : 17-02-2009 at 00:50.
  #2   Spotlight this post!  
Unread 17-02-2009, 06:49
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,798
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: URGENT(ish): Twitchy motors

Craig,
Are you using Jaguars or Victors? I have noted some twitching with the Jaguars we are testing.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #3   Spotlight this post!  
Unread 17-02-2009, 11:10
nathanww nathanww is offline
Hacker
FRC #1678 (Citrus Circuits)
Team Role: Programmer
 
Join Date: Dec 2008
Rookie Year: 2007
Location: Davis, CA
Posts: 224
nathanww is just really nicenathanww is just really nicenathanww is just really nicenathanww is just really nice
Re: URGENT(ish): Twitchy motors

Probably too late now--but this could be a calibration problem. You should look up the calibration procedure for whatever speed controller you're using and recalibrate them.
__________________
Get yer robot source code here!
  #4   Spotlight this post!  
Unread 17-02-2009, 11:37
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: URGENT(ish): Twitchy motors

Quote:
Originally Posted by csshih View Post
our motors sometimes twitch around even though the pwm values are zeroed.
A noisy PWM signal to the speed controller might do this, but there's no obvious way for that to happen. Unless maybe your Digital Sidecar doesn't have a good 12V power feed, and it's stealing current from the Digital I/O module's output? It's always worth checking to make sure the power cord is plugged in and providing power.
  #5   Spotlight this post!  
Unread 17-02-2009, 11:56
wilsonmw04's Avatar
wilsonmw04 wilsonmw04 is offline
Coach
FRC #1086 (Blue Cheese)
Team Role: Teacher
 
Join Date: Dec 2006
Rookie Year: 2007
Location: Midlothian, VA
Posts: 1,888
wilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond repute
Re: URGENT(ish): Twitchy motors

We noticed that our robot will do the same thing from time to time. We traced the problem back to a loose power connection on the power distribution board. When you lose power for a moment, the robot will continue to do the last command it received for a short period of time. For us, it would go into a short loop (~ .25 seconds) and twitch.
__________________
Currently: Coach FRC 1086/FTC 93
2006-2011 Coach FRC 2106/FTC 35
If you come to a FRC event to see a robot competition, you are missing the point.
  #6   Spotlight this post!  
Unread 23-02-2009, 01:08
csshih csshih is offline
IT pwnage.
AKA: Craig
FRC #0649
Team Role: Communications
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Saratoga
Posts: 6
csshih is an unknown quantity at this point
Re: URGENT(ish): Twitchy motors

we're using victor for the launcher.. which is what's twitching, but we had a jag twitch too, but it stopped.
  #7   Spotlight this post!  
Unread 23-02-2009, 07:13
Jared Russell's Avatar
Jared Russell Jared Russell is offline
Taking a year (mostly) off
FRC #0254 (The Cheesy Poofs), FRC #0341 (Miss Daisy)
Team Role: Engineer
 
Join Date: Nov 2002
Rookie Year: 2001
Location: San Francisco, CA
Posts: 3,082
Jared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond repute
Re: URGENT(ish): Twitchy motors

My money is on a calibration issue.

Can you print out the PWM command to verify that it isn't something wonky in the program?
  #8   Spotlight this post!  
Unread 23-02-2009, 14:52
ay2b's Avatar
ay2b ay2b is offline
Registered User
AKA: Andy
FRC #2928
Team Role: Mentor
 
Join Date: Mar 2004
Rookie Year: 1994
Location: Seattle, WA
Posts: 211
ay2b has a brilliant futureay2b has a brilliant futureay2b has a brilliant futureay2b has a brilliant futureay2b has a brilliant futureay2b has a brilliant futureay2b has a brilliant futureay2b has a brilliant futureay2b has a brilliant futureay2b has a brilliant futureay2b has a brilliant future
Re: URGENT(ish): Twitchy motors

I've seen all of our motors (on Jaguars) twitch slightly upon rebooting the cRio from the DS. It doesn't happen all the time. This seems consistent with other comments indicating a twitch upon loss of a signal.
__________________

2011 - SD Quarterfinalists (980), LA Quarterfinalists (980)
2010 - LA (2404) Finalists (980), AZ Motorola Quality (980)
2009 - LA Semifinalists (980); Las Vegas Quarterfinalists (980); SD (2404); IRI #1 Seed, Finalist (980)
2008 - SD Quarterfinalists (980), LA Champions (980), LA Rookie Inspiration Award (2404); CalGames Finalists
2007 - So.Cal Finalists (980), SD Quarterfinalists (980); CalGames Finalists
2006 - So.Cal Regional Champion (4), Toronto Judge's Award Day 1 (4)
2005 - SVR Champions, Delphi "Driving Tomorrow's Technology" (980); AZ Xerox Creativity (980); So.Cal Finalists, RadioShack Innovation in Control (980); Championship Archimedes Division Semifinalists; IRI Finalists (980)
2004 - So.Cal Regional Champions, Leadership in Controls (980); AZ GM Industrial Design (980); Championship Galileo Division #2 Seed; IRI Champions
2003 - PNW Semi-finalists (488)
2002 - PNW Finalists (488)
2000 - X-bot / 488 - Mentor / Founder
1994 - Sunny Delight - Driver - champion
  #9   Spotlight this post!  
Unread 23-02-2009, 15:15
Jon236's Avatar
Jon236 Jon236 is offline
Registered User
AKA: Jon Mittelman
FRC #2648 (Infinite Loop)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2000
Location: Windsor, Maine
Posts: 741
Jon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond repute
Re: URGENT(ish): Twitchy motors

We have seen the same behavior on rebooting the cRio.
__________________
Jon Mittelman

Senior Judge Advisor New England & Israel 2014-2015
Infinite Loop Mentor 2011-2015
TechnoTicks Mentor 2000-2011
Championship Chairman's Award 2009 Team236 TechnoTicks
Judge 2010-2015 Championships
Senior Judge Advisor New England District Championship 2014-2015
Judge Advisor Tel Aviv Regional 2007-2015
Judge Advisor Pine Tree Regional 2013
Maine Regional Planning Committee
New England District Planning Committee
Lead Inspector Microsoft Tel Aviv Regional 2006-2008
Judge & Lead Inspector GM/Technion Tel Aviv Regional 2006
Judge UTC Hartford Regional 2006
  #10   Spotlight this post!  
Unread 23-02-2009, 16:12
Jared Russell's Avatar
Jared Russell Jared Russell is offline
Taking a year (mostly) off
FRC #0254 (The Cheesy Poofs), FRC #0341 (Miss Daisy)
Team Role: Engineer
 
Join Date: Nov 2002
Rookie Year: 2001
Location: San Francisco, CA
Posts: 3,082
Jared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond repute
Re: URGENT(ish): Twitchy motors

On rebooting the cRIO, sure, we've seen twitching as well. However I don't *think* that this is the issue the thread starter was talking about.
  #11   Spotlight this post!  
Unread 25-02-2009, 22:32
VEI Dude's Avatar
VEI Dude VEI Dude is offline
Mentor 4024, 4013
AKA: Neil the Real Deal
FRC #4013 (Jokers & Clockwork Mania)
Team Role: Mentor
 
Join Date: Sep 2008
Rookie Year: 2008
Location: Orlando, FL
Posts: 54
VEI Dude has a spectacular aura aboutVEI Dude has a spectacular aura about
Re: URGENT(ish): Twitchy motors

I haven't really touched any of the controls at this point, but I do remember reading something about the PWM being the same as a servo PWM signal. If so, you should be able to isolate the problem with a servo or a servo tester (to generater servo signals).

Also, I saw on ours that some of the ring terminals were placed under the metal pad (not on top, between the pad and screw), so the connection was not secure. I thought it could be a flaky signal, so perhaps check for that just in case.

Cheers,
-Neil.
  #12   Spotlight this post!  
Unread 02-03-2009, 12:47
csshih csshih is offline
IT pwnage.
AKA: Craig
FRC #0649
Team Role: Communications
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Saratoga
Posts: 6
csshih is an unknown quantity at this point
Re: URGENT(ish): Twitchy motors

Sorry guys, I am unable to provide more information,
as our robot is now in the realm of Fedex.

The twitching does not only come up with the boot of the cRIO, it continues as long as control is activated. when the system is booted up, it is fine.

also, strangely enough, the twitching seems to be systematic.

thank you guys for your help.
  #13   Spotlight this post!  
Unread 02-03-2009, 20:31
Don Wright's Avatar
Don Wright Don Wright is offline
Registered User
FRC #0469
Team Role: Engineer
 
Join Date: Jan 2003
Rookie Year: 2003
Location: Livonia, MI
Posts: 683
Don Wright has a reputation beyond reputeDon Wright has a reputation beyond reputeDon Wright has a reputation beyond reputeDon Wright has a reputation beyond reputeDon Wright has a reputation beyond reputeDon Wright has a reputation beyond reputeDon Wright has a reputation beyond reputeDon Wright has a reputation beyond reputeDon Wright has a reputation beyond reputeDon Wright has a reputation beyond reputeDon Wright has a reputation beyond repute
Send a message via MSN to Don Wright Send a message via Yahoo to Don Wright
Re: URGENT(ish): Twitchy motors

Are you using an analog sensor to provide feedback to a control loop controlling this motor? There is an issue with faulty code giving false analog signals which could be causing your PID to make the motors twitch...

http://forums.usfirst.org/showthread.php?t=12020
http://decibel.ni.com/content/thread/2325?tstart=0
http://www.chiefdelphi.com/forums/sh...ad.php?t=73640
http://www.chiefdelphi.com/forums/sh...ad.php?t=75067
__________________
Donald F. Wright Jr.
Product Manager
AVL Instrumentation & Test Systems, Inc.
  #14   Spotlight this post!  
Unread 09-03-2009, 18:56
Garii's Avatar
Garii Garii is offline
Registered Abuser
AKA: Jared Hankle
FRC #3044 (BE4)
Team Role: Programmer
 
Join Date: Feb 2009
Rookie Year: 2009
Location: New York
Posts: 27
Garii is an unknown quantity at this point
Send a message via AIM to Garii
Re: URGENT(ish): Twitchy motors

Actually, I had a problem with this, we were using a feedback node though an and gate that allowed us to turn on our motors and keep them on until the button was pressed again.

for some reason it was the boolean feedback node, I removed it and everything work fine except everyone was annoyed when I told them they had to hold the button instead of pressing it =p
__________________
-The Garii- aka Jared Hankle
Ballston Spa Labview Programmer
new team slogan-"Can I Get Some Linux With These Fries?"



  #15   Spotlight this post!  
Unread 09-03-2009, 23:42
eugenebrooks eugenebrooks is offline
Team Role: Engineer
AKA: Dr. Brooks
no team (WRRF)
 
Join Date: Jan 2004
Rookie Year: 2001
Location: Livermore, CA
Posts: 601
eugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond repute
Re: URGENT(ish): Twitchy motors

There is an update of WPIlib that is reputed to resolve
the problem with the analog inputs. It also updates a
lot of other things...

http://first.wpi.edu/FRC/frcupdates.html
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
Motors, Motors, and More Motors 1033missions Motors 1 09-02-2006 18:46
Motors.. and more motors.. How many on your 2004 bot? OneAngryDaisy Motors 33 23-02-2004 00:46
Matching Drill Motors and Fischer-Price Motors archiver 2001 5 24-06-2002 00:51
Fisher Price Motors for Drill Motors archiver 2001 0 24-06-2002 00:22
F.P. Motors & gearbox for $12.50 Window Motors $19.50 archiver 2001 1 23-06-2002 23:05


All times are GMT -5. The time now is 20:59.

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