Go to Post "One man's trash is our robotics team's fundraiser" (We have an aluminum can drive to raise money) - bombadier337 [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 14-02-2016, 15:00
tdbroun tdbroun is offline
Registered User
AKA: Tim Brounscheidel
FRC #1507 (Warlocks)
Team Role: Mentor
 
Join Date: May 2013
Rookie Year: 2013
Location: Lockport NY
Posts: 16
tdbroun is an unknown quantity at this point
SD540 Motor controllers won't run in reverse

We have encountered a problem with the new SD540 motor controller and were wondering if anyone else had experienced it. We chose to use these controllers exclusively because of the reduced footprint of the 4 bank model. Like every other low bar bot, robot space is at a premium and this unit puts 4 controllers in the space of 3.

The problem is that we cannot get the motors to turn in the reverse direction. We executed the calibration procedure multiple times. We changed to different PWM ports on the RoboRio. We created a brand new project just for testing to remove the possibility of anything else we had in our code from impacting the controllers. We verified that there is a PWM signal coming from the RoboRio. The controllers just don’t respond to signals in the reverse direction. We already swapped out the 4 bank controller unit with another and got the same results (after callibration). When we put a Talon SR in its place, it worked flawlessly. Any ideas before I scrounge up 8 motor controllers and try to find space for them on an already jam packed robot?

Thanks
Tim
Attached Thumbnails
Click image for larger version

Name:	Callibration.JPG
Views:	118
Size:	52.4 KB
ID:	20065  
  #2   Spotlight this post!  
Unread 15-02-2016, 07:23
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: SD540 Motor controllers won't run in reverse

Tim,
If the controller is satisfied with the calibration procedure, then you likely have a hole in your software. When you expect the motor to reverse, what is the motor actually doing? Is it moving or is it just stationary? Be aware that limit switch input may affect operation. Also check the position of your DIP switches on the bottom.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.

Last edited by Al Skierkiewicz : 15-02-2016 at 07:26.
  #3   Spotlight this post!  
Unread 15-02-2016, 08:21
tdbroun tdbroun is offline
Registered User
AKA: Tim Brounscheidel
FRC #1507 (Warlocks)
Team Role: Mentor
 
Join Date: May 2013
Rookie Year: 2013
Location: Lockport NY
Posts: 16
tdbroun is an unknown quantity at this point
Re: SD540 Motor controllers won't run in reverse

The fact that the software works flawlessly with a Talon SR eliminates our software as a root cause. (unless my problem solving logic is flawed) We put a multi-meter on the pwm signal line and verified that we are sending a voltage in both directions (although the values escape me at the moment).
When we send the reverse signal, there is no response from the controller.

We have nothing attached to the limit switch pins, and they are set to normally open.
  #4   Spotlight this post!  
Unread 15-02-2016, 08:26
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: SD540 Motor controllers won't run in reverse

Tim,
The DIP switches also affect operation on this controller. The limit switch, when sensed, may prevent motor operation in one direction. The controller could be fooled into thinking it is beyond the limit in that direction and therefore will prevent control in that direction.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #5   Spotlight this post!  
Unread 15-02-2016, 09:31
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,101
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: SD540 Motor controllers won't run in reverse

Quote:
Originally Posted by tdbroun View Post
We put a multi-meter on the pwm signal line and verified that we are sending a voltage in both directions (although the values escape me at the moment).
When we send the reverse signal, there is no response from the controller.
What model multimeter did you use, and did you have it set to AC or DC?

See this post, and then this one.


  #6   Spotlight this post!  
Unread 15-02-2016, 11:57
tdbroun tdbroun is offline
Registered User
AKA: Tim Brounscheidel
FRC #1507 (Warlocks)
Team Role: Mentor
 
Join Date: May 2013
Rookie Year: 2013
Location: Lockport NY
Posts: 16
tdbroun is an unknown quantity at this point
Re: SD540 Motor controllers won't run in reverse

You can watch the behavior here on a bench with a signal generator and an oscilloscope. First calibration, then normal operation. Cycling of power, then no reverse.

https://www.youtube.com/watch?v=xaKI...ature=youtu.be
  #7   Spotlight this post!  
Unread 15-02-2016, 12:21
tdbroun tdbroun is offline
Registered User
AKA: Tim Brounscheidel
FRC #1507 (Warlocks)
Team Role: Mentor
 
Join Date: May 2013
Rookie Year: 2013
Location: Lockport NY
Posts: 16
tdbroun is an unknown quantity at this point
Re: SD540 Motor controllers won't run in reverse

Update!

The manufacturer has replied that they have reproduced this condition and are making firmware changes to correct it.

Thanks for your efforts to help us out.

Tim
  #8   Spotlight this post!  
Unread 15-02-2016, 12:29
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,101
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: SD540 Motor controllers won't run in reverse

Quote:
Originally Posted by tdbroun View Post
You can watch the behavior here on a bench with a signal generator and an oscilloscope. First calibration, then normal operation. Cycling of power, then no reverse.

https://www.youtube.com/watch?v=xaKI...ature=youtu.be
Nice video, thanks.

Don't know if this has anything to do with the problem you are seeing, but it doesn't look like you are waiting a full 5 seconds when you are calibrating.


Quote:
Originally Posted by tdbroun View Post
Update!

The manufacturer has replied that they have reproduced this condition and are making firmware changes to correct it.

Thanks for your efforts to help us out.

Tim
Can users update the firmware themselves, or do they have to ship the units back to mindsensors?



  #9   Spotlight this post!  
Unread 17-02-2016, 15:53
deepak's Avatar
deepak deepak is offline
Registered User
FRC #0540 (Talon 540)
Team Role: Mentor
 
Join Date: Feb 2008
Rookie Year: 2008
Location: Richmond, VA
Posts: 4
deepak is on a distinguished road
Re: SD540 Motor controllers won't run in reverse

Quote:
Originally Posted by Ether View Post

Can users update the firmware themselves, or do they have to ship the units back to mindsensors?


Users can upgrde the firmware themselves, the instructions to upgrade are here: http://www.mindsensors.com/blog/how-...roller-for-frc
__________________
www.mindsensors.com
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 06:20.

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