The feeling of true love is a keeper.
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
  #16   Spotlight this post!  
Unread 17-03-2012, 19:08
SteveGPage's Avatar
SteveGPage SteveGPage is offline
Mentor - Scouting and Strategy
AKA: Steve
FRC #0836 (RoboBees)
Team Role: Mentor
 
Join Date: Feb 2006
Rookie Year: 2004
Location: Hollywood, MD
Posts: 523
SteveGPage has a reputation beyond reputeSteveGPage has a reputation beyond reputeSteveGPage has a reputation beyond reputeSteveGPage has a reputation beyond reputeSteveGPage has a reputation beyond reputeSteveGPage has a reputation beyond reputeSteveGPage has a reputation beyond reputeSteveGPage has a reputation beyond reputeSteveGPage has a reputation beyond reputeSteveGPage has a reputation beyond reputeSteveGPage has a reputation beyond repute
Re: Intermittent connection on field only

Joe,

This sounds very similar to what was happening to us at Chesapeake. We, too, thought it had to be the FMS, since we were only having the issues when we connected to the field. The FTA said, that in his experience, the type of connection issues we were having were usually due to hardware issues. We replaced several wires, swapped out our cameras, removed the cameras, etc... All approaches I see above. We re-checked every connection, taped down everything that might move, did a very thourough shock and vibe set of tests on the bot in the pits, and then, at least, everything seemed to work in our first quarterfinal, and thought we had found the issue. The next match, we were playing blind again, our cameras had dropped the frames, and the lag times between the camera and the dashboard were killing us. we asked the FTA if the logs showed any connection issues, and he said no. He then said, "You do have, however, a lot of latency showing up. A lot more than I would expect."

We decided to bring the cameras home and run tests with our practice bot to see if we could re-create the issues, but were generally unable to do so. A post here on CD, regarding the 3-13 update had a post from a member of the Killer Bees (33) talking about issues he had found in some of the LabView code, and he posted a sample code he had written that had helped with some of the latency issues they were having.
http://www.chiefdelphi.com/forums/sh...=104580&page=2
It sounded familiar to our problems, so I forwarded the info to our programmers. Other than some of the basic code, our team had written a lot of the code ourselves. When they reviewed the info in this post, they found some of the same issues mentioned. They have been optimizing the code as described, and finding that the code is now a lot more efficient. We are continuing to run tests to see if there are other issues, but are hopeful that when we get to DC, we will not see a repeat of the problems we had in Chesapeake.
In previous years we had build rather "simple" machines, with very little reliance in sensors and complex code, this year, we have two cameras, complex image processing, a complex set of code that keeps track of the state of each ball in the system, etc... I'm wondering if this year's general increase in the complexity of the bots teams are building is bring some of these code issues to light? If you all find anything else that is causing these problems, I would love to hear about it. Thanks!

Steve
__________________
FRC 836, The RoboBees www.robobees.org
growingSTEMS www.growingSTEMS.org
2017: Southwest VA, Northern MD, Chesapeake District Championships, Championships
  #17   Spotlight this post!  
Unread 17-03-2012, 21: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: Intermittent connection on field only

One team at Boilermaker today had the same symptoms described here: inconsistent loss of wireless communication during a match. There didn't seem to be any pattern other than noting that it never happened on the practice field. When I was called in to help troubleshoot, I discovered the 12v-to-5v converter essentially stuck to the bottom of the D-Link. After I suggested that they move it to a less potentially interfering location, they had a string of successful matches all the way through the elimination rounds.

I remember the same problem with the same fix with another team last year.

I'm going to engage in some speculation here. The 12v radio power from the PDB comes from a boosted supply. The supply should have filtering on the output, but if something is faulty it's going to have some ripple in it from the switching. That could be causing electrical noise and RFI from the 5v converter. It might be that an insufficiently clean 5v input makes the D-Link act a bit flaky. Without taking a few hours with an oscilloscope and a collection of parts to do a careful analysis, I think that's the best theory I'm going to come up with.
  #18   Spotlight this post!  
Unread 17-03-2012, 21:35
jspatz1's Avatar
jspatz1 jspatz1 is offline
Registered User
AKA: Jeff
FRC #1986 (Team Titanium)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Lee's Summit, MO
Posts: 836
jspatz1 has a reputation beyond reputejspatz1 has a reputation beyond reputejspatz1 has a reputation beyond reputejspatz1 has a reputation beyond reputejspatz1 has a reputation beyond reputejspatz1 has a reputation beyond reputejspatz1 has a reputation beyond reputejspatz1 has a reputation beyond reputejspatz1 has a reputation beyond reputejspatz1 has a reputation beyond reputejspatz1 has a reputation beyond repute
Send a message via AIM to jspatz1
Re: Intermittent connection on field only

Just to document other occurrences of the problem, we had this identicle trouble at Greater Kansas City in week 1. We tried all the replacements and fixes mentioned in this thread, including filtering the power from the DC adapter. To this day we do not know the problem. Just to make sure it is not the router itself, we have replaced it with a new one. One possibility is physical damage to the router PCB/components caused by shocks/jarring/vibration. This router certainly was not designed for such abuse. Our older, 2011 router which has seen more mileage and abuse exhibits the same problem but more frequently. We have mounted the new router in a location with less shock and more cushioning to try to keep it pristine. Time and another competition will tell if this solves the problem.
__________________
  #19   Spotlight this post!  
Unread 17-03-2012, 21:42
MrForbes's Avatar
MrForbes MrForbes is offline
Registered User
AKA: Jim
FRC #1726 (N.E.R.D.S.)
Team Role: Mentor
 
Join Date: Feb 2006
Rookie Year: 2006
Location: Sierra Vista AZ
Posts: 6,047
MrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond repute
Re: Intermittent connection on field only

We had a dead robot one match in San Diego, because of a problem that we were aware of but hadn't fixed yet.

The ethernet connectors on our bridge seem to have a bad design or have been damaged or something. When the cable is plugged in and latched, it can be pulled out against the latch, and lose connection. We have tried several different cables, they all act the same, no connection if not pushed in all the way. We fixed it with some hot glue.

I doubt this is your problem, but it's worth a look.
  #20   Spotlight this post!  
Unread 18-03-2012, 08: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,811
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: Intermittent connection on field only

Max,
The 12 volt radio output is exactly 12 volts from a boost/buck regulator inside the PD. It continues to work until the battery falls to about 4.5 volts at which time it quits altogether. It does not track the battery.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.

Last edited by Al Skierkiewicz : 18-03-2012 at 08:53.
  #21   Spotlight this post!  
Unread 18-03-2012, 08:41
McGurky's Avatar
McGurky McGurky is offline
Geek
AKA: Kyle McGurk
FRC #1716 (Redbird Robotics)
Team Role: College Student
 
Join Date: Dec 2008
Rookie Year: 2008
Location: Houghton, MI
Posts: 291
McGurky is just really niceMcGurky is just really niceMcGurky is just really niceMcGurky is just really nice
Re: Intermittent connection on field only

Can anyone confirm or deny seeing this problem during practice matches on Thursday?
__________________
RTFM -Read The First Manual

You already are who you are, I may be able to show you a fancy trick or two, but the term "Better" is relative to the potential you already have.
Take a look at my website/Blog!
  #22   Spotlight this post!  
Unread 18-03-2012, 11:12
drwisley's Avatar
drwisley drwisley is offline
FRC Coach
AKA: Dave
FRC #1756 (Argos)
Team Role: Coach
 
Join Date: Jan 2010
Rookie Year: 2007
Location: Peoria, IL
Posts: 58
drwisley has a brilliant futuredrwisley has a brilliant futuredrwisley has a brilliant futuredrwisley has a brilliant futuredrwisley has a brilliant futuredrwisley has a brilliant futuredrwisley has a brilliant futuredrwisley has a brilliant futuredrwisley has a brilliant futuredrwisley has a brilliant futuredrwisley has a brilliant future
Re: Intermittent connection on field only

Quote:
Originally Posted by Alan Anderson View Post
One team at Boilermaker today had the same symptoms described here: inconsistent loss of wireless communication during a match. There didn't seem to be any pattern other than noting that it never happened on the practice field. When I was called in to help troubleshoot, I discovered the 12v-to-5v converter essentially stuck to the bottom of the D-Link. After I suggested that they move it to a less potentially interfering location, they had a string of successful matches all the way through the elimination rounds.

I remember the same problem with the same fix with another team last year.

I'm going to engage in some speculation here. The 12v radio power from the PDB comes from a boosted supply. The supply should have filtering on the output, but if something is faulty it's going to have some ripple in it from the switching. That could be causing electrical noise and RFI from the 5v converter. It might be that an insufficiently clean 5v input makes the D-Link act a bit flaky. Without taking a few hours with an oscilloscope and a collection of parts to do a careful analysis, I think that's the best theory I'm going to come up with.
On behalf of Team 1756, thank you Alan.

Last edited by drwisley : 18-03-2012 at 12:06.
  #23   Spotlight this post!  
Unread 18-03-2012, 11:21
PayneTrain's Avatar
PayneTrain PayneTrain is online now
stole 2451's swerve
AKA: Lizard King
FRC #0422 (The Meme Tech Pneumatic Devices)
Team Role: Mascot
 
Join Date: Mar 2010
Rookie Year: 2009
Location: RVA
Posts: 2,275
PayneTrain has a reputation beyond reputePayneTrain has a reputation beyond reputePayneTrain has a reputation beyond reputePayneTrain has a reputation beyond reputePayneTrain has a reputation beyond reputePayneTrain has a reputation beyond reputePayneTrain has a reputation beyond reputePayneTrain has a reputation beyond reputePayneTrain has a reputation beyond reputePayneTrain has a reputation beyond reputePayneTrain has a reputation beyond repute
Re: Intermittent connection on field only

This may sound silly, but I haven't seen anyone with problems explicitly mentioning communications drops with their router plugged into the regulated port for the router.

Our alliance captain apparently got through two rounds of inspection and every qualification match before their communications started dropping Saturday afternoon. The problem was quickly traced to that wiring problem, and was rectified over a series of timeouts, cool-downs, and gentle, gentle driving.
  #24   Spotlight this post!  
Unread 18-03-2012, 11:35
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,609
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: Intermittent connection on field only

We ran a total of 5 matches on Saturday with the new power distribution board, without a single problem. After removing the "bad" power supply, we did discover that there was a few pieces of metallic swarf on the outside. It's possible that a piece worked its way inside and caused problems. The mechanical team has been sufficiently reprimanded.

I'm still interested in the explanation of what the PD board could be doing to cause issues with the radio. Like Alan speculated, perhaps some noise that isn't filtered by the power converter.

Quote:
Originally Posted by Al Skierkiewicz View Post
Max,
The 12 volt radio output is exactly 12 volts from a boost/buck regulator inside the PD. It continues to work until the battery falls to about 4.5 volts at which time it quits altogether. It does not track the battery.
That disagrees with the data sheet for the power distribution board. http://www.usfirst.org/sites/default...on%20Board.pdf It also disagrees with our experience, both the "bad" board and the "good" board output voltage above 12v when the battery is above 12v.

Quote:
12V/2A boost supply with on-board 2A PTC for over-current protection (typically for powering a WiFi adapter, the boost supply tracks battery voltage when the battery is fully charged and greater than 12V)
Quote:
Don’t panic if the 12V power supply output is a bit higher than 12V. The supply tracks battery voltage when the battery is fully charged and greater than 12V.
Quote:
Originally Posted by McGurky View Post
Can anyone confirm or deny seeing this problem during practice matches on Thursday?
We had a problem in one practice match, which was initially attributed to code, but may have actually been this problem.

Quote:
Originally Posted by PayneTrain View Post
This may sound silly, but I haven't seen anyone with problems explicitly mentioning communications drops with their router plugged into the regulated port for the router.

Our alliance captain apparently got through two rounds of inspection and every qualification match before their communications started dropping Saturday afternoon. The problem was quickly traced to that wiring problem, and was rectified over a series of timeouts, cool-downs, and gentle, gentle driving.
Our radio was properly connected through the 12-5v converter and the boosted power supply. On a side note, I'm amazed that every year I find a few teams that made it through inspection without using the boosted power supply.

Last edited by Joe Ross : 18-03-2012 at 11:53.
  #25   Spotlight this post!  
Unread 18-03-2012, 11:41
cgmv123's Avatar
cgmv123 cgmv123 is offline
FRC RI/FLL Field Manager
AKA: Max Vrany
FRC #1306 (BadgerBOTS)
Team Role: College Student
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Madison, WI
Posts: 2,091
cgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond repute
Re: Intermittent connection on field only

Quote:
Originally Posted by Al Skierkiewicz View Post
Max,
The 12 volt radio output is exactly 12 volts from a boost/buck regulator inside the PD. It continues to work until the battery falls to about 4.5 volts at which time it quits altogether. It does not track the battery.
Quote:
Originally Posted by PDB Documentation
Don’t panic if the 12V power supply output is a bit higher than 12V. The supply tracks battery voltage when the battery is fully charged and greater than 12V.
http://www.usfirst.org/sites/default...on%20Board.pdf
__________________
BadgerBOTS Robotics|@team1306|Facebook: BadgerBOTS
2016 FIRST Championship Tesla Division | 2016 Wisconsin Regional Engineering Inspiration Award

2015 FIRST Championship Carson Division | 2015 Wisconsin Regional Chairman's Award

2013 FIRST Championship Curie Division | 2013 Wisconsin Regional Chairman's Award

2012 FIRST Championship Archimedes Division | 2012 Wisconsin Regional Engineering Inspiration Award, Woodie Flowers Finalist Award (Lead Mentor Ben Senson)

  #26   Spotlight this post!  
Unread 18-03-2012, 11:56
Steve Warner Steve Warner is offline
Controls / Programming
FRC #0234 (Cyber Blue)
Team Role: Mentor
 
Join Date: Feb 2006
Rookie Year: 2006
Location: Indiana
Posts: 45
Steve Warner is an unknown quantity at this point
Re: Intermittent connection on field only

You said you tried running the robot with and without the camera but I'll mention this anyway. At Knoxville we had a similar problem with the robot stopping on the competition field but never having a problem anywhere else. We had very high trip times and a lot of lost packets. We were displaying the camera vidoe on the dashboard using one of the older E09 classmates. It turned out the classmate could not handle the video stream load even though it was only 4 or 5 frames per second. Disabling the video stream brought down the trip times and lost packets and the problem seems to have gone away. Check the stats in the Dashboard Log File Viewer.
  #27   Spotlight this post!  
Unread 18-03-2012, 13:14
rsisk's Avatar
rsisk rsisk is offline
The GURU Channel
AKA: Richard Sisk
FRC #2493 (Robokong)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Riverside, CA
Posts: 2,750
rsisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond repute
Send a message via MSN to rsisk
Re: Intermittent connection on field only

Quote:
Originally Posted by Al Skierkiewicz View Post
Joe,
The 12 volt output for the radio should be 12 volts +/- 0.1 volts. It should not read the same as the battery. Since you replace the PD already, I am going to guess that the 12 volt supply has a problem. However, none of this explains the action on the field vs all other trials. If the radio resets due to a power dump it takes about 50 seconds. The new FMS dashboard also reports lost packets. Were you told that there were cluster of lost packets on your data stream? They also have the ability to check emissions on your channel, have they looked at that? Normally they only check prior to the event and not during the event. It really sounds like something is interfering with your radio. I know it's not supposed to happen but it obviously is. What is the possibility that your WPA key is corrupt in the kiosk? Have you always configured at the same kiosk or did you try the second one?
I was the CSA that checked the logs. In a couple of cases, there was a flurry of dropped packets right before the robot was disabled. In other cases, there were some lost packets, but nothing unusual. There really was no pattern we could determine in the logs. Sometimes they were disabled for 4 seconds, a couple times for 30 seconds and once for the remainder of the match (> 45 secs).
__________________
Quote:
The views expressed are mine and should not be construed to represent the views of anyone else.
  #28   Spotlight this post!  
Unread 18-03-2012, 18:07
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,811
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: Intermittent connection on field only

Sorry to mislead, I meant the 12 volt supply does not track the battery below 12 volts. The maximum output of the supply according to the sheet will not make more than 13 volts even with a 15 volt input.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #29   Spotlight this post!  
Unread 18-03-2012, 18:45
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,609
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: Intermittent connection on field only

For anyone who's interested, I've attached ds log files from our second match on Friday, where we dropped out once prior to the match and twice during the match. It appears that upon reconnecting, the DS creates a new log file, so there are 4 files in the attached zip file.
Attached Files
File Type: zip DS Log Files - 330 dropout.zip (5.7 KB, 35 views)
  #30   Spotlight this post!  
Unread 19-03-2012, 16:28
dbarr4011 dbarr4011 is offline
Registered User
AKA: Mr. Barr
FRC #0141 (Wobot)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2004
Location: Holland, MI
Posts: 7
dbarr4011 is an unknown quantity at this point
Re: Intermittent connection on field only

We have also been getting D-Link drop outs on the field. During our competition at Traverse City and at Western Michigan District we had several communications drop outs. Our robot was not driving hard and no major current draws on the battery. The Field controls personal said our radio reset. I am questioning this answer because I see the radio takes about 1 1/2 minutes to power-up and starts its wireless communications. We loss communications for about 40 seconds. After 40 seconds we are off and running again. My thoughts are we having a wireless network access point/network problem on the field control access point. We saw several other teams with the same problem at these two events.

We have checked the power to the 12V/5V converter. We have replaced the Ethernet cable with a shielded Ethernet cable. We added (4) 470uf 35V capacitors across the 5V power into the D-Link radio. We are running LabView and a camera on our robot network back to out DS. We process the camera image on the DS and send data back to the Robot through a UDP packet.

HELP.... We ordered a new D-Link radio and power converter today but I think there is an issue on the Field Control Access Point.
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 15:36.

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