Go to Post We can sit here and engineer this all day but I think untill one of us gets off our chair and starts making it we'll never know if its possible. - sanddrag [more]
Home
Go Back   Chief Delphi > Technical > Control System > FRC Control System
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 23-12-2008, 23:34
jalburty jalburty is offline
Joe Alburty
AKA: Joe Alburty
FRC #1763 (Paseo Pirates)
Team Role: Mentor
 
Join Date: Oct 2006
Rookie Year: 2005
Location: Kansas City
Posts: 25
jalburty will become famous soon enoughjalburty will become famous soon enough
Send a message via ICQ to jalburty
Wireless problem - losing communication

When using the joysticks to operate under a wireless connection we are consistently losing communication with the robot whenever suddenly going from full forward to reverse. It happens in arcade mode or in tank mode (only one joystick going from full forward to reverse in tank mode does not cause the problem). The robot then comes to a stop with the LEDs flashing on all four Victors indicating no signal and the driver station indicates no communication.

-We can regain communication by switching the driver station to disabled and then back to enabled and waiting about a minute.
-The problem happens just at the point when the motors start to reverse.
-The problem happens with the robot either up on blocks or not and we have checked our electrical contacts very carefully.
-The robot works fine in tethered mode.
-The problem does not happen if we go from forward to reverse slowly and gently.
-We are using the C++ version of the default code.
-We are using four Victor 884 motor controllers.

I suspect either the wireless router or the wireless bridge is the problem. Perhaps too much data is being generated by the joysticks for the wireless link to handle. The problem occurs only when going from full forward to reverse somewhat suddenly so we are able to get along for now, but this must not happen during competition.

Anybody else witnessed this behavior?

Joe Alburty
Team 1763
Reply With Quote
  #2   Spotlight this post!  
Unread 24-12-2008, 00:24
BornaE's Avatar
BornaE BornaE is offline
Registered User
FRC #0842 (Formerly 39)
Team Role: Engineer
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Gilbert, Arizona
Posts: 359
BornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant future
Re: Wireless problem - losing communication

Are you using a robot battery or a power supply?
if you are using a power supply, the sudden spike in current lowers the voltage to a point which the wifi adaptor or the crio resets.

if you are using a battery, make sure your battery is fine and the voltage does not drop too much.
either way its a power loss issue
__________________
-Borna Emami
Team 0x27
Reply With Quote
  #3   Spotlight this post!  
Unread 24-12-2008, 00:38
EricVanWyk EricVanWyk is offline
Registered User
no team
 
Join Date: Jan 2007
Rookie Year: 2000
Location: Boston
Posts: 1,597
EricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond repute
Send a message via AIM to EricVanWyk
Re: Wireless problem - losing communication

Please verify that the bridge and cRIO are plugged into their dedicated connectors on the PD, and that nothing else is sharing their power.

If the bridge isn't powered by its dedicated power supply, it can drop out and create a situation like the one you described. Next time this happens, watch the lights on the bridge. If it goes through the same sequence as it does during power on, you have verified that the bridge isn't getting good enough power.

* Below this point is a ramble. Ignore or Enjoy at your leisure. *


Slamming the motors from one direction to the other draws a *lot* of current, and can be the hardest thing for the battery. The peak draw can approach twice the stall current of the motor in the worst case scenario.

Lets simplify to a perfect battery driving a motor that is a resistor and a back emf in series - ignore the series inductance for a moment. At full speed forward at steady state, the motor will have a back-emf that is equal to the battery voltage: No torque is being applied. When you suddenly slam the motor in reverse, this back-emf now adds with the applied voltage. For a brief moment, it is almost like driving the motor with a 24V battery. In this idealized case, the peak current is exactly 2x the 12V stall current.

When you go non-ideal, several things reduce this current. For one, the losses in your drive train will force the motor to apply torque to keep at steady state. This torque translates to a current, which translates to a voltage that develops across all of the resistances in the circuit. This reduces peak back-emf. Additionally, the inductance we previously ignored won't allow the current to instantaneously change, which will further reduce the peak.

In either case, this massive current slug is relatively quick - it only lasts as long as the motor is still spinning the wrong way, and the motors are being given a lot of power to convince them to spin the other way. This is therefore a quick but serious event that can easily offend the delicate sensibilities of the bridge.

The boost supplies on the PD are designed to handle this sort of thing and should be just fine.
Reply With Quote
  #4   Spotlight this post!  
Unread 24-12-2008, 11:14
jalburty jalburty is offline
Joe Alburty
AKA: Joe Alburty
FRC #1763 (Paseo Pirates)
Team Role: Mentor
 
Join Date: Oct 2006
Rookie Year: 2005
Location: Kansas City
Posts: 25
jalburty will become famous soon enoughjalburty will become famous soon enough
Send a message via ICQ to jalburty
Re: Wireless problem - losing communication

Thanks for the excellent and quick replies..

-We are using a battery and it does drop from above 12V to below 9V during the reversal operation.
-I don't think we are using a dedicated connector on the PD for the bridge - just a 30A breaker terminal.
-We are using the 24V dedicated connector for the cRIO.

I'll check these items out again on January 3rd when I can get back into the room. Perhaps I'll re-plug the bridge into its 12V wall wart next if needed.

Joe
Team 1763
Reply With Quote
  #5   Spotlight this post!  
Unread 24-12-2008, 11:31
EricVanWyk EricVanWyk is offline
Registered User
no team
 
Join Date: Jan 2007
Rookie Year: 2000
Location: Boston
Posts: 1,597
EricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond repute
Send a message via AIM to EricVanWyk
Re: Wireless problem - losing communication

Quote:
Originally Posted by jalburty View Post
-I don't think we are using a dedicated connector on the PD for the bridge - just a 30A breaker terminal.
There is the issue. Swap that over to the dedicated port and let us know if you still have issues.
Reply With Quote
  #6   Spotlight this post!  
Unread 08-01-2009, 22:35
Hadi379's Avatar
Hadi379 Hadi379 is offline
Registered User
FRC #0379
 
Join Date: Jan 2007
Location: Girard
Posts: 162
Hadi379 is a splendid one to beholdHadi379 is a splendid one to beholdHadi379 is a splendid one to beholdHadi379 is a splendid one to beholdHadi379 is a splendid one to beholdHadi379 is a splendid one to beholdHadi379 is a splendid one to behold
Re: Wireless problem - losing communication

We are also having this same problem. Our wireless bridge is connected to the dedicated 12v source. Not sure what to do.....
Reply With Quote
  #7   Spotlight this post!  
Unread 08-01-2009, 22: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,766
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: Wireless problem - losing communication

Hadi,
I have to ask if you charged the batteries before you used them from the KOP? Then working down the list, check that all of the terminals are tight and that you don't have a damaged 120 amp breaker. You have used the #6 wire that came in the kit for wiring from the battery to the PD and the main breaker. Then check that all the screws are tight in the connector you are using to feed both the OI access point and the robot wireless. A quick check it to measure the output of one of the WAGO connectors with a breaker installed. The voltage should not vary much from 12 volts. If it does fall at the same time, as the router drops out, something is loose up stream. If everything checks out, and the CRIO voltage stays at 24 volts, then there is a possiblity of a defect on the PD.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
Reply With Quote
  #8   Spotlight this post!  
Unread 08-01-2009, 22:53
popo308's Avatar
popo308 popo308 is offline
Registered User
AKA: Brent
FRC #1625 (Winnovation)
Team Role: Alumni
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Winnebago, IL
Posts: 312
popo308 is a name known to allpopo308 is a name known to allpopo308 is a name known to allpopo308 is a name known to allpopo308 is a name known to allpopo308 is a name known to all
Send a message via AIM to popo308
Re: Wireless problem - losing communication

We were having a similar issue...
Our problem was when we suddenly changed directions the power draw was causing the Gaming adapter to lose power momentarily...

The Fix? A fresh battery... now it works fine! Whenever it starts to happen we just swap the battery out for a new one and the problem stops...
Reply With Quote
  #9   Spotlight this post!  
Unread 09-01-2009, 00:13
Hadi379's Avatar
Hadi379 Hadi379 is offline
Registered User
FRC #0379
 
Join Date: Jan 2007
Location: Girard
Posts: 162
Hadi379 is a splendid one to beholdHadi379 is a splendid one to beholdHadi379 is a splendid one to beholdHadi379 is a splendid one to beholdHadi379 is a splendid one to beholdHadi379 is a splendid one to beholdHadi379 is a splendid one to behold
Re: Wireless problem - losing communication

All connections seemed to be secure and wiring is correct (gauges and connections). The battery was a fresh battery. I will check the output tomorrow. I am using an older 120amp circuit because one was not included in the early ship of the control system. I will also switch that tomorrow.

This problem seems to only happen when we make the sudden change from one extreme to the next, full forward to full reverse.

If this is a battery issue, what will happen in the middle of a match or near the end when the battery becomes drained a bit?

Thanks for the advice, hope it solves our problem...
Reply With Quote
  #10   Spotlight this post!  
Unread 09-01-2009, 07:35
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,766
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: Wireless problem - losing communication

Hadi,
The power supplies built into the PD should work even with heavy battery draw. Remembering that any series resistance will drop voltage as the load current increases, teams should check for loose hardware on the battery terminals, PD terminals, loose crimps on the Anderson plugs and damaged contacts on connectors. It is quite common for teams that use the supplied alligator clips on the battery chargers to scratch the contact surface of the Anderson connectors and raise the contact series resistance. It is highly recommended (read that as do it) to change the clips to an Anderson connector. There is always the possibility that the battery is defective as well. Checking with a voltmeter will point you to the problem I think.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
Reply With Quote
Reply


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
losing air pressure razor95kds Pneumatics 3 13-02-2007 07:17
Wireless communication during the matches dwc309 Control System 10 11-02-2006 11:04
Highest Losing Score Ben Piecuch General Forum 9 03-04-2005 23:17


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

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