Go to Post every year presents new challenges. What worked well last year might well be a clunker-bot this year. keep an open mind! - KenWittlief [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 09-02-2014, 14:04
techbeast34 techbeast34 is offline
Registered User
FRC #4048
 
Join Date: Jan 2014
Location: Westborough, Massachussets
Posts: 6
techbeast34 is an unknown quantity at this point
Spikes and solenoids randomly hiccups when controlling over wireless

Hey guys, so our team has a small problem that bugs us a tiny bit. Whenever we are connected to our robot over wireless, the robot "hiccups" and in that period, the spikes and solenoids on our robot temporarily disable. This happens sporadically and the problem does not appear when tethered. We've tried using another D-Link, tried swapping the cRIO, tried swapping the driver station, and swapped out each individual module on the cRIO. The problem occurs even without the Spike connected, and this can be told by the Digital Sidecar indicator LED. So far this hiccup only occurs in our latest robot, our Rebound Rumble robot does not show any symptoms of this happening at all. Again, this only happens when connecting over wireless, and not when wired to the robot. Any help will be greatly appreciated! Thank you to anybody in advance.
  #2   Spotlight this post!  
Unread 09-02-2014, 14:08
AustinH's Avatar
AustinH AustinH is offline
Registered User
FRC #4918 (The Roboctopi)
Team Role: Coach
 
Join Date: Apr 2013
Rookie Year: 2013
Location: Port Townsend
Posts: 85
AustinH is a splendid one to beholdAustinH is a splendid one to beholdAustinH is a splendid one to beholdAustinH is a splendid one to beholdAustinH is a splendid one to beholdAustinH is a splendid one to behold
Re: Spikes and solenoids randomly hiccups when controlling over wireless

Happened to us too on our practice bot. Leading theory is that there's too much interference where the radio was initially placed, so our final design has our radio placed in a much more open spot with fewer large power consuming devices nearby. Can you guys post pictures of your setup?
__________________
3826: 2013 Seattle Regional Industrial Design Award & Semi-Finalists
4918: 2014 PNW Glacier Peak District Event Rookie Inspiration Award & Quarter-Finalists, 2014 PNW Mount Vernon District Event Highest Rookie Seed Award, Rookie All Star & Semi-Finalists, 2015 PNW West Valley District Event Engineering Excellence Award & Semi-Finalists, 2015 PNW Mount Vernon District Event Semi-Finalists





Visit us on the web at www.team4918.org
  #3   Spotlight this post!  
Unread 09-02-2014, 14:13
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,563
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: Spikes and solenoids randomly hiccups when controlling over wireless

The Driver Station log viewer can be very useful for diagnosing these types of problems.
  #4   Spotlight this post!  
Unread 09-02-2014, 21:17
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,112
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: Spikes and solenoids randomly hiccups when controlling over wireless

Quote:
Originally Posted by techbeast34 View Post
...this only happens when connecting over wireless, and not when wired to the robot.
Do you tether through the router? If so, wired vs. wireless is the only difference, and you probably don't need to investigate anything else.

Is there anything electrical near the D-Link router? One of the biggest interference-causing culprits I've seen is the 12v-to-5v converter. I've encountered several teams who had succumbed to the temptation of mounting it right against the router, which turns out to be a very bad idea. Jaguars are also powerful sources of electromagnetic interference (Victors don't seem to be as much of an issue, and I've not had enough experience with Talons to be able to say one way or the other).
  #5   Spotlight this post!  
Unread 09-02-2014, 21:38
Jared's Avatar
Jared Jared is offline
Registered User
no team
Team Role: Programmer
 
Join Date: Aug 2013
Rookie Year: 2012
Location: Connecticut
Posts: 602
Jared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond repute
Re: Spikes and solenoids randomly hiccups when controlling over wireless

We had this last year, and it drove us crazy when the robot would start clicking randomly without logging any errors. The problem turned out to be the cRIO power connector. If you wiggle the cRIO power wires (at the cRIO and the PDB), and it hiccups, then try replacing the connector.
  #6   Spotlight this post!  
Unread 10-02-2014, 20:45
techbeast34 techbeast34 is offline
Registered User
FRC #4048
 
Join Date: Jan 2014
Location: Westborough, Massachussets
Posts: 6
techbeast34 is an unknown quantity at this point
Re: Spikes and solenoids randomly hiccups when controlling over wireless

UPDATE: Started measuring packet loss to the cRIO through the DS Log, and found out that whenever the hiccups occur, packets are lost, so we confirm that it is packet loss. We ran the "ping" command in such a way that it pings infinitely until we stop it, and we also saw that the lost packets were actually returned, just after a significantly longer time. We fiddled around with the router settings by changing the bandwidth to Auto 20/40 MHz, changed the WiFi channel being used, isolated the DS connection by disconnecting the other dev laptop, and updated our Driver Station's Wi-Fi drivers. We've also taken away the D-Link from the robot and the hiccups still happened, so the idea of electronic interference is starting to become less plausible, but I'm still considering it. We turned off all the power saving settings for our DS too. Any more ideas of what might be causing this hiccup?
  #7   Spotlight this post!  
Unread 10-02-2014, 20:57
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: Spikes and solenoids randomly hiccups when controlling over wireless

Have you tried swapping in last year's radio? It's possible that the radio itself has a bent antenna or other abnormality that's causing the issue.
  #8   Spotlight this post!  
Unread 10-02-2014, 22:14
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,112
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: Spikes and solenoids randomly hiccups when controlling over wireless

Quote:
Originally Posted by techbeast34 View Post
...changed the WiFi channel being used,...
Have you run a Wi-Fi channel scanner tool? Something like inSSIDer should be able to show you how congested your 802.11 band is, and perhaps let you choose a channel with little interference.
  #9   Spotlight this post!  
Unread 17-02-2014, 10:51
co1inw co1inw is offline
Student
AKA: Colin Willoughby
FRC #1768 (Nashoba Robotics)
Team Role: Programmer
 
Join Date: Feb 2014
Rookie Year: 2013
Location: United States
Posts: 2
co1inw is an unknown quantity at this point
Re: Spikes and solenoids randomly hiccups when controlling over wireless

Hello,
We are also having the same problem with our DLink. We have tried moving the DLink, changing Ethernet cables to the cRio, and using other DLinks from previous years. We even tried using a DLink with only two computers connected to it and nothing else. When we tried to ping one computer from the other, after a minute or so, the ping response would be very slow for a few seconds, then go back to normal. When we did this same ping test while the cRio was connected, the slow ping response corresponded to the hiccups on the robot. The hiccups will happen anywhere from a minute apart to 5 minutes apart. I have attached links to some images from the Driver Station log viewer that shows the hiccups happening. the blue spikes on the graph show packet loss.

Ping test image with the computers

Driver Station Log

Zoomed in hiccup on Log Viewer
Attached Thumbnails
Click image for larger version

Name:	full_log.png
Views:	5
Size:	53.5 KB
ID:	16270  Click image for larger version

Name:	zoomed_in.png
Views:	5
Size:	49.2 KB
ID:	16271  Click image for larger version

Name:	cmd.png
Views:	3
Size:	16.4 KB
ID:	16272  
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 17:19.

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