Go to Post (puts on his asbestos underwear, because these threads always get heated) - Billfred [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

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 08-04-2013, 16:37
Jon Stratis's Avatar
Jon Stratis Jon Stratis is offline
Electrical/Programming Mentor
FRC #2177 (The Robettes)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2006
Location: Minnesota
Posts: 3,738
Jon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond repute
Re: Troubleshooting motor controllers

From everything you've said, it sounds like everything is correctly hooked up electrically - ie nothing "shook loose" on that side of things.

Use a multimeter and make sure that the GND and +5V pins for the PWM wires you're using are reading the correct voltage. If not, your sidecar might be busted.

Do you have access to an oscilloscope? It would be nice to scope the PWM signal coming out of the digital sidecar and make sure it looks correct. If not, you can try using a multimeter set to AC Voltage. It's not perfect, but if there's no signal, you'll read 0V, and if there is one you should read a voltage.

Have you checked that all of the PWM wires are seated correctly? Sometimes they can be loose, and riding around in the back of a truck on a long bumpy drive might be enough to shake them just loose enough from the Victors that you don't get a signal anymore. It would be odd for this to happen to all of them at once, though.

Are you sure the code hasn't changed?
__________________
2007 - Present: Mentor, 2177 The Robettes
LRI: North Star 2012-2016; Lake Superior 2013-2014; MN State Tournament 2013-2014, 2016; Galileo 2016; Iowa 2017
2015: North Star Regional Volunteer of the Year
2016: Lake Superior WFFA
  #2   Spotlight this post!  
Unread 08-04-2013, 16:45
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,042
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Troubleshooting motor controllers

Quote:
Originally Posted by Jon Stratis View Post
If not, you can try using a multimeter set to AC Voltage.
Some DVM's use half-wave rectification for AC, and if you have the DVM leads connected the wrong way you'll read zero volts. If you use DC, you'll read voltage regardless of polarity.


  #3   Spotlight this post!  
Unread 08-04-2013, 16:56
Jon Stratis's Avatar
Jon Stratis Jon Stratis is offline
Electrical/Programming Mentor
FRC #2177 (The Robettes)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2006
Location: Minnesota
Posts: 3,738
Jon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond repute
Re: Troubleshooting motor controllers

Quote:
Originally Posted by Ether View Post
Some DVM's use half-wave rectification for AC, and if you have the DVM leads connected the wrong way you'll read zero volts. If you use DC, you'll read voltage regardless of polarity.


Good to know... I've seen with mine set to DC the results can be inconsistent, as the sampling period doesn't handle square wave forms very nicely. With AC, I've always seen decent results for quick testing. It just goes to show that testing I might do for a team in their pit can't necessarily translate very well over the internet!
__________________
2007 - Present: Mentor, 2177 The Robettes
LRI: North Star 2012-2016; Lake Superior 2013-2014; MN State Tournament 2013-2014, 2016; Galileo 2016; Iowa 2017
2015: North Star Regional Volunteer of the Year
2016: Lake Superior WFFA
  #4   Spotlight this post!  
Unread 08-04-2013, 17:32
MichaelBielecki MichaelBielecki is offline
Registered User
FRC #0195 (Cyber Knights)
Team Role: Electrical
 
Join Date: Feb 2013
Rookie Year: 2010
Location: Southington CT
Posts: 5
MichaelBielecki is an unknown quantity at this point
Re: Troubleshooting motor controllers

I did a quick search and found this online:
( http://content.vexrobotics.com/docs/...al-9-25-06.pdf ).

From what I read, a "Flashing ORANGE indicator on power up" means "No PWM signal." This is probably caused by the sidecar. Since all motor controllers are not working, it is unlikely that all of them had something happen to them that would be causing this. It is more likely that the source of the pwm signal (the sidecar) which they all share in common is causing the problem. A couple things you can do to check the side car is to first look at it and see if there is anything visibly shorting or if something is plugged in backwards. Another this that could be causing this is chips. You can try to clean out the chips if you see any and try again. The signal light pattern would help identify the problem. Is the RSL blinking when you plug it in or is it a solid on or off? I ask because one of my teams sidecars went bad and the signal light would not turn on. If you don't see a problem, you can try unplugging everything from the sidecar except for one motor controller. See if it works. If not, try getting a new, unused motor controller if you have one to test the sidecar.

I hope this helps
  #5   Spotlight this post!  
Unread 08-04-2013, 17:37
danruff5 danruff5 is offline
Hobbiest Programmer
FRC #4525 (Rambot)
Team Role: Programmer
 
Join Date: Apr 2013
Rookie Year: 2013
Location: Springfield
Posts: 13
danruff5 is an unknown quantity at this point
Re: Troubleshooting motor controllers

Thanks MichaelBielecki. The RSL is always solid.
Quote:
Another this that could be causing this is chips. You can try to clean out the chips if you see any and try again.
I will try this now.

EDIT
I tried this and still no change.

Quote:
you can try unplugging everything from the sidecar except for one motor controller.
Next this.

EDIT
Still no change.
__________________
100101010101

Last edited by danruff5 : 08-04-2013 at 18:25. Reason: Tried something
  #6   Spotlight this post!  
Unread 10-04-2013, 15:58
roystur44's Avatar
roystur44 roystur44 is offline
Mentor/Sponsor
AKA: Roy Dumlao
FRC #4543 (Apollo Robotics)
Team Role: Mentor
 
Join Date: Mar 2010
Rookie Year: 2006
Location: San Jose,California
Posts: 362
roystur44 has a reputation beyond reputeroystur44 has a reputation beyond reputeroystur44 has a reputation beyond reputeroystur44 has a reputation beyond reputeroystur44 has a reputation beyond reputeroystur44 has a reputation beyond reputeroystur44 has a reputation beyond reputeroystur44 has a reputation beyond reputeroystur44 has a reputation beyond reputeroystur44 has a reputation beyond reputeroystur44 has a reputation beyond repute
Send a message via Yahoo to roystur44
Re: Troubleshooting motor controllers

We use this to generate a pwm signal to a motor controller. Great device to have to test the motors without hooking up the electronics.

http://www.servocity.com/html/dual_servo_driver.html
__________________
Roy Dumlao

Mentor/Sponsor
2006-2012 971
2013-2017 4543
  #7   Spotlight this post!  
Unread 10-04-2013, 16:07
lcoreyl's Avatar
lcoreyl lcoreyl is offline
WittyTitleGen can't link to library
AKA: Milner
no team
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Colorado Springs
Posts: 201
lcoreyl has much to be proud oflcoreyl has much to be proud oflcoreyl has much to be proud oflcoreyl has much to be proud oflcoreyl has much to be proud oflcoreyl has much to be proud oflcoreyl has much to be proud oflcoreyl has much to be proud oflcoreyl has much to be proud of
Re: Troubleshooting motor controllers

Quote:
Originally Posted by roystur44 View Post
We use this to generate a pwm signal to a motor controller. Great device to have to test the motors without hooking up the electronics.

http://www.servocity.com/html/dual_servo_driver.html
IMO that $50 would be better served towards an arduino with a potentiometer. This gives you a tool with endless possibilities (including acting as a motor controller). Actually, AndyMark now has a shield for an arduino that can make it replace your cRIO for testing, which makes an arduino all the more valuable.
  #8   Spotlight this post!  
Unread 10-04-2013, 16:12
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,042
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Troubleshooting motor controllers

Quote:
Originally Posted by roystur44 View Post
We use this to generate a pwm signal to a motor controller. Great device to have to test the motors without hooking up the electronics.

http://www.servocity.com/html/dual_servo_driver.html
Quote:
Originally Posted by lcoreyl View Post
IMO that $50 would be better served towards an arduino with a potentiometer. This gives you a tool with endless possibilities (including acting as a motor controller). Actually, AndyMark now has a shield for an arduino that can make it replace your cRIO for testing, which makes an arduino all the more valuable.


Or spend $0 and make one with an old junker laptop.



  #9   Spotlight this post!  
Unread 11-04-2013, 19:51
lcoreyl's Avatar
lcoreyl lcoreyl is offline
WittyTitleGen can't link to library
AKA: Milner
no team
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Colorado Springs
Posts: 201
lcoreyl has much to be proud oflcoreyl has much to be proud oflcoreyl has much to be proud oflcoreyl has much to be proud oflcoreyl has much to be proud oflcoreyl has much to be proud oflcoreyl has much to be proud oflcoreyl has much to be proud oflcoreyl has much to be proud of
Re: Troubleshooting motor controllers

Quote:
Originally Posted by Ether View Post
Wow, fantastic! We're always looking for cheap solutions using old "trash".
  #10   Spotlight this post!  
Unread 12-04-2013, 13:12
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,042
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Troubleshooting motor controllers

Quote:
Originally Posted by lcoreyl View Post
Wow, fantastic! We're always looking for cheap solutions using old "trash".
See posts 17 thru 21 in this thread:

http://www.chiefdelphi.com/forums/sh...d.php?t=115970


  #11   Spotlight this post!  
Unread 12-04-2013, 13:22
roystur44's Avatar
roystur44 roystur44 is offline
Mentor/Sponsor
AKA: Roy Dumlao
FRC #4543 (Apollo Robotics)
Team Role: Mentor
 
Join Date: Mar 2010
Rookie Year: 2006
Location: San Jose,California
Posts: 362
roystur44 has a reputation beyond reputeroystur44 has a reputation beyond reputeroystur44 has a reputation beyond reputeroystur44 has a reputation beyond reputeroystur44 has a reputation beyond reputeroystur44 has a reputation beyond reputeroystur44 has a reputation beyond reputeroystur44 has a reputation beyond reputeroystur44 has a reputation beyond reputeroystur44 has a reputation beyond reputeroystur44 has a reputation beyond repute
Send a message via Yahoo to roystur44
Re: Troubleshooting motor controllers

I don't have one but I saw this and it looks kinda cool.

http://www.robotshop.com/seeedstudio-dso-nano-v2-1.html


http://www.robotshop.com/oscilloscopes-generators.html
__________________
Roy Dumlao

Mentor/Sponsor
2006-2012 971
2013-2017 4543
  #12   Spotlight this post!  
Unread 10-04-2013, 16:12
danruff5 danruff5 is offline
Hobbiest Programmer
FRC #4525 (Rambot)
Team Role: Programmer
 
Join Date: Apr 2013
Rookie Year: 2013
Location: Springfield
Posts: 13
danruff5 is an unknown quantity at this point
Re: Troubleshooting motor controllers

Quote:
Originally Posted by lcoreyl View Post
IMO that $50 would be better served towards an arduino with a potentiometer. This gives you a tool with endless possibilities (including acting as a motor controller). Actually, AndyMark now has a shield for an arduino that can make it replace your cRIO for testing, which makes an arduino all the more valuable.
This sounds AWESOME!!! Thanks for telling me!

We replaced the digital sidecar and now it works perfectly!

Thanks to everyone who gave suggestions!
__________________
100101010101
  #13   Spotlight this post!  
Unread 10-04-2013, 18:30
slijin's Avatar
slijin slijin is offline
Pockets
AKA: Samuel Lijin
FRC #0694 (StuyPulse)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2010
Location: New York City
Posts: 537
slijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to behold
Re: Troubleshooting motor controllers

Quote:
Originally Posted by danruff5 View Post
This sounds AWESOME!!! Thanks for telling me!

We replaced the digital sidecar and now it works perfectly!

Thanks to everyone who gave suggestions!
Great to hear that.

Could you open up the bad DSC and have a look inside? I'm sure I'm not alone in wanting to understand why a DSC that appeared perfectly functional wasn't actually working.
__________________

2010-12 CT Chairman's
2011 Galileo 5th seed
2010 NY Regional Winners
  #14   Spotlight this post!  
Unread 10-04-2013, 19:31
danruff5 danruff5 is offline
Hobbiest Programmer
FRC #4525 (Rambot)
Team Role: Programmer
 
Join Date: Apr 2013
Rookie Year: 2013
Location: Springfield
Posts: 13
danruff5 is an unknown quantity at this point
Re: Troubleshooting motor controllers

Quote:
Originally Posted by slijin View Post
Could you open up the bad DSC and have a look inside?
I have done that, I could not see any physical damage to the DSC.
__________________
100101010101
  #15   Spotlight this post!  
Unread 10-04-2013, 16:04
404'd's Avatar
404'd 404'd is offline
Lead contributor of sweg
AKA: Josh
FRC #0967 (Iron Lions (9-sits-7))
Team Role: Alumni
 
Join Date: Mar 2011
Rookie Year: 2009
Location: Marion, Iowa
Posts: 86
404'd is a name known to all404'd is a name known to all404'd is a name known to all404'd is a name known to all404'd is a name known to all404'd is a name known to all
Re: Troubleshooting motor controllers

Quote:
Originally Posted by danruff5 View Post
Thanks MichaelBielecki. The RSL is always solid..
You say the RSL is always solid, even while disabled it does not blink?

I would try swapping Sidecars if you have a spare.
__________________
Driving "Career":
2012 GKC: Quarterfinals w/ 6th seeded alliance | Wisconsin: Quarterfinals - 3rd seeded alliance captains
2013 GKC: Quarterfinals w/ 5th seeded alliance | North Star: Regional winners, 2nd seeded alliance captains
2013 CMP: Curie Semis w/ 2056 + 3990
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 02:16.

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