Go to Post Whether or not you use wheel weights, if you're running a wheel at several thousand RPM, you'd better have an effective containment system to protect the outside world in case something spontaneously disassembles itself. - Alan Anderson [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 26-01-2014, 00:59
Sylphrena Sylphrena is offline
Registered User
FRC #2584
 
Join Date: Jan 2014
Location: Reseda
Posts: 4
Sylphrena is an unknown quantity at this point
Victors behaving erratically when PWM is plugged in

We have a mecanum drive with a CIM and a mini-CIM on each wheel, with their relevent Victors connected together with a y-cable.
When only one PWM cables are plugged in to the Victors, the robot behaves as expected. However, when two or three wheels are connected to the sidecar, the wheels will start jerking back and forth, even if no inputs are going to the wheels. This remains true even if we replace the Victors and the y-cables. This phenomenon occurs regardless of what order we plug in the Victors.

Why would this phenomenon occur and what could be done to fix it?
  #2   Spotlight this post!  
Unread 26-01-2014, 01:04
Cash4587's Avatar
Cash4587 Cash4587 is offline
Mentor
AKA: Cooper Cash
FRC #4587 (Jersey Voltage)
Team Role: Coach
 
Join Date: Mar 2013
Rookie Year: 2013
Location: United States
Posts: 303
Cash4587 has much to be proud ofCash4587 has much to be proud ofCash4587 has much to be proud ofCash4587 has much to be proud ofCash4587 has much to be proud ofCash4587 has much to be proud ofCash4587 has much to be proud ofCash4587 has much to be proud of
Re: Victors behaving erratically when PWM is plugged in

Is your side car being powered off of the PDB? I know last year my team plugged the digital sidecar into the camera port by accident.. We had problems with the robot going crazy as well.
  #3   Spotlight this post!  
Unread 26-01-2014, 15:53
ArchosR4's Avatar
ArchosR4 ArchosR4 is offline
User of the Matrix
FRC #2130 (Alpha+)
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2010
Location: Bonners Ferry
Posts: 7
ArchosR4 is an unknown quantity at this point
Have you checked the power connections to the sidecar? We had the same problem. The sheathing on the power to the sidecar was in the way and the wire was barely touching. Try resetting the connections on both sides of the power cables to the crio.
  #4   Spotlight this post!  
Unread 26-01-2014, 19:04
dradel's Avatar
dradel dradel is offline
Registered User
FRC #4557 (Full Metal Falcons)
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2013
Location: CT
Posts: 409
dradel is a splendid one to beholddradel is a splendid one to beholddradel is a splendid one to beholddradel is a splendid one to beholddradel is a splendid one to beholddradel is a splendid one to beholddradel is a splendid one to behold
This probably isn't it, but electronics can act screwy if the voltage drops off. Check the battery voltage both at the battery and at the power distribution board. Something as simple as a loose ground can make stuff act a little nutty.
  #5   Spotlight this post!  
Unread 26-01-2014, 21:38
kiettyyyy's Avatar
kiettyyyy kiettyyyy is offline
Registered User
FRC #1538 (The Holy Cows)
Team Role: Engineer
 
Join Date: Mar 2006
Rookie Year: 2005
Location: San Diego, CA
Posts: 181
kiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond repute
Send a message via AIM to kiettyyyy
Re: Victors behaving erratically when PWM is plugged in

You may want to unassemble your digital sidecar to inspect the solder joints on the PWM connectors. I've had multiple instances where there was poor workmanship (i.e. no solder or cracked joints)
__________________
-Kiet Chau

2004-2008 - Software Developer/Driver on Team #968
2008-2011 - Software Developer/Coach/Mentor/"Engineer" on Team #968
2011-Present - Mentor & Engineer on Team #1538
www.team1538.com
  #6   Spotlight this post!  
Unread 26-01-2014, 21:51
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,785
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: Victors behaving erratically when PWM is plugged in

I am going to suspect that you have rotation sensors on all wheels for your drive control. I also suspect you haven't calibrated the Victors. When all of them get going, the mis-calibration could cause the twitch you describe.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #7   Spotlight this post!  
Unread 26-01-2014, 22:03
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: Victors behaving erratically when PWM is plugged in

Are all three power LEDs on the Digital Sidecar brightly lit? Is the big orange Robot Signal Light blinking as expected?

The symptoms point very strongly to the Digital Sidecar not getting battery voltage on its power input. Enough current sneaks through the cable from the cRIO to let a couple of PWM outputs work (especially if you don't run them in reverse), but as soon as too many are connected they all get flaky.
  #8   Spotlight this post!  
Unread 27-01-2014, 20:17
Sylphrena Sylphrena is offline
Registered User
FRC #2584
 
Join Date: Jan 2014
Location: Reseda
Posts: 4
Sylphrena is an unknown quantity at this point
Re: Victors behaving erratically when PWM is plugged in

UPDATE: We replaced the y-cables with straight cables, and the problems disappeared. Now we're rapidly running out of space on the sidecar for more victors, but that's neither here nor there.
  #9   Spotlight this post!  
Unread 27-01-2014, 20:54
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,570
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: Victors behaving erratically when PWM is plugged in

Quote:
Originally Posted by Sylphrena View Post
UPDATE: We replaced the y-cables with straight cables, and the problems disappeared. Now we're rapidly running out of space on the sidecar for more victors, but that's neither here nor there.
I suspect that the root cause of the problem is the digital sidecar power, as others have suggested. By adding more motor controllers, you are increasing the amount of leakage current coming from the DB-37 cable which is making it work temporarily. If you remove the DB-37 cable, are all 3 LEDs brightly lit?

I would encourage you to not consider the problem solved until you can run with Y-cables.
  #10   Spotlight this post!  
Unread 27-01-2014, 23:38
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: Victors behaving erratically when PWM is plugged in

Quote:
Originally Posted by Sylphrena View Post
UPDATE: We replaced the y-cables with straight cables, and the problems disappeared. Now we're rapidly running out of space on the sidecar for more victors, but that's neither here nor there.
As Joe says, it's likely that you just masked a power problem by opening more PWM channels. If you tell your robot to spin to the left (or right, depending on wiring), do the motors quit unexpectedly?

Seriously, look at the three power LEDs on the Digital Sidecar and make sure they're all on even with the connection to the cRIO removed. Verify that the power input of the Digital Sidecar is getting battery voltage (~12V) from a red/black pair of Wago connections on the Power Distribution Board, protected by a 20A snap action breaker.
  #11   Spotlight this post!  
Unread 28-01-2014, 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,785
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: Victors behaving erratically when PWM is plugged in

I would also like to add to the discussion... The three (not just two) LEDs need to be on and bright.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #12   Spotlight this post!  
Unread 28-01-2014, 09:40
nuttle nuttle is offline
Registered User
AKA: Allen Nuttle
FRC #4080
Team Role: Mentor
 
Join Date: Mar 2010
Rookie Year: 2009
Location: United States
Posts: 104
nuttle has much to be proud ofnuttle has much to be proud ofnuttle has much to be proud ofnuttle has much to be proud ofnuttle has much to be proud ofnuttle has much to be proud ofnuttle has much to be proud ofnuttle has much to be proud of
Re: Victors behaving erratically when PWM is plugged in

A short in anything that uses 5V is another possibility -- causes similar issues with DSC power but the cause is different. If you have a meter, you might want to measure the voltage between GND and +5VDC on one of the sets of digital I/O pins. You can rig up a PWM cable to do this pretty easily.
  #13   Spotlight this post!  
Unread 03-02-2014, 09:51
Sylphrena Sylphrena is offline
Registered User
FRC #2584
 
Join Date: Jan 2014
Location: Reseda
Posts: 4
Sylphrena is an unknown quantity at this point
Re: Victors behaving erratically when PWM is plugged in

The LEDs on the sidecar are indeed brightly lit, and this problem persisted after we changed the sidecar, which is one of the reasons we're hesitant to accept it as a problem with the sidecar.

I thank you guys for your help--since we at least have a temporary fix, we haven't managed to find the time to search for something more permanent. I expect that we'll be able to spend more time on it today, as the electronics team hopefully () gets something of a pause in the action until our intake goes on the robot.
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 07:19.

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