Go to Post To me game hints are like robot teasers. Much ado about nothing and I ignore both. - 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 16-02-2014, 02:34
Thad House Thad House is offline
Volunteer, WPILib Contributor
no team (Waiting for 2021)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2010
Location: Thousand Oaks, California
Posts: 1,094
Thad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond repute
Sidecar Brownout causing motors to move

We were testing our drive today with a dead battery accidentally, and whenever we would reverse the drive we could see the sidecar was browning out. We know not to do this, but when it happened all the Talons would turn on backwards for a split second. It this the expected behavior for a sidecar brownout, or do we have a bad sidecar?
__________________
All statements made are my own and not the feelings of any of my affiliated teams.
Teams 1510 and 2898 - Student 2010-2012
Team 4488 - Mentor 2013-2016
Co-developer of RobotDotNet, a .NET port of the WPILib.
  #2   Spotlight this post!  
Unread 16-02-2014, 08:29
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,770
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: Sidecar Brownout causing motors to move

Thad,
If the DSC was browning out so was everything else on the robot. All bets are off when that occurs. Most often the DSC power supplies start to fail at about 5.5 volts, the PD power fails at about 4.5 volts. If there is a sudden surges, a lot of noise is generated in all of the control systems. I have not heard of a brownout fault with the Talons, but you might want to check with Mike at Cross The Road.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #3   Spotlight this post!  
Unread 16-02-2014, 08:39
RufflesRidge RufflesRidge is offline
Registered User
no team
 
Join Date: Jan 2012
Location: USA
Posts: 989
RufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant future
Re: Sidecar Brownout causing motors to move

Quote:
Originally Posted by sst.thad View Post
We know not to do this, but when it happened all the Talons would turn on backwards for a split second. It this the expected behavior for a sidecar brownout, or do we have a bad sidecar?
Yes, this seems like an expected behavior:

The robot is enabled and you're driving it around. This means that the cRIO is sending PWM signals to the motor controllers via the Digital Sidecar with nominal high pulse width of 1.5ms (neutral) +/- .5ms (forward and reverse respectively). So you're in the middle of sending one of these pulses, and the Digital Sidecar browns out and stops sending the high signal so you have a pulse that is much shorter than what the controller was trying to send.

Some tests we've done with some of our Talons and a pulse-width generator show that they will respond to a signal much shorter than 1.0 ms with full reverse. So your truncated signal is interpreted as full reverse. The Talon then looks for another pulse for a little bit, but doesn't get one so it disables the output.
  #4   Spotlight this post!  
Unread 16-02-2014, 12:12
Thad House Thad House is offline
Volunteer, WPILib Contributor
no team (Waiting for 2021)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2010
Location: Thousand Oaks, California
Posts: 1,094
Thad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond repute
Re: Sidecar Brownout causing motors to move

Quote:
Originally Posted by RufflesRidge View Post
Yes, this seems like an expected behavior:

The robot is enabled and you're driving it around. This means that the cRIO is sending PWM signals to the motor controllers via the Digital Sidecar with nominal high pulse width of 1.5ms (neutral) +/- .5ms (forward and reverse respectively). So you're in the middle of sending one of these pulses, and the Digital Sidecar browns out and stops sending the high signal so you have a pulse that is much shorter than what the controller was trying to send.

Some tests we've done with some of our Talons and a pulse-width generator show that they will respond to a signal much shorter than 1.0 ms with full reverse. So your truncated signal is interpreted as full reverse. The Talon then looks for another pulse for a little bit, but doesn't get one so it disables the output.
That was exactly our thought too. We just wanted to double check and see if there was something else wrong with something else on the control system. We know to not brown out, and will make sure to have a charged battery to control it.
__________________
All statements made are my own and not the feelings of any of my affiliated teams.
Teams 1510 and 2898 - Student 2010-2012
Team 4488 - Mentor 2013-2016
Co-developer of RobotDotNet, a .NET port of the WPILib.
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 10:23.

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