Go to Post I heartily applaud FIRST for finally reacting proactively to this ongoing problem. - Ether [more]
Home
Go Back   Chief Delphi > Technical > Control System > Sensors
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rating: Thread Rating: 3 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 18-04-2011, 09:22
ajlapp ajlapp is offline
Registered User
AKA: Anthony Lapp
None #0118 (Team RUSH and Robonauts)
 
Join Date: Sep 2001
Rookie Year: 1996
Location: Ortonville, MI
Posts: 648
ajlapp has a reputation beyond reputeajlapp has a reputation beyond reputeajlapp has a reputation beyond reputeajlapp has a reputation beyond reputeajlapp has a reputation beyond reputeajlapp has a reputation beyond reputeajlapp has a reputation beyond reputeajlapp has a reputation beyond reputeajlapp has a reputation beyond reputeajlapp has a reputation beyond reputeajlapp has a reputation beyond repute
Ultrasonic Interference

A few weeks back we added a Vex ultrasound sensor to our bot to help us close the loop on our absolute distance form the driver's wall during auton.

The system works great but suffers from extreme interference when we run our rotation joint. The joint has two Banebot 775 motors.

Even the slightest input into the motors causes erratic feedback from the sensors.

What's my best bet for eliminating the interference??

Thanks in advance.
__________________
Anthony Lapp
FIRST Engineering Mentor
Owner/Operator 221 Robotic Systems
221 Robotics Systems - Quality Hardware, Made in the USA
RobotOpen
anthony@221robotics.com
Twitter us: @221RobotSystems
Team 1 --> 94 --> 68 --> 221 --> 857 --> 27 --> 118
Design Engineer/Fabricator and 17 year vet
Team Rush (FRC27) and Robonauts (FRC118)
Reply With Quote
  #2   Spotlight this post!  
Unread 18-04-2011, 09:48
The Lucas's Avatar
Happy Birthday! The Lucas The Lucas is offline
CaMOElot, it is a silly place
AKA: My First Name is really "The" (or Brian)
FRC #0365 (The Miracle Workerz); FRC#1495 (AGR); FRC#4342 (Demon)
Team Role: Mentor
 
Join Date: Mar 2002
Rookie Year: 2001
Location: Dela-Where?
Posts: 1,564
The Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond repute
Send a message via AIM to The Lucas
Re: Ultrasonic Interference

First of all check for case shorts on the RS-775.

If that is not the problem, the simplest solution is to only pulse (enable) the ultrasonics when the RS 775 is off.
For a more in depth solution more info is needed. Where are the motors mounted in relation to the sensor? Are the sensors on the arm (ie moving)?
__________________
Electrical & Programming Mentor ---Team #365 "The Miracle Workerz"
Programming Mentor ---Team #4342 "Demon Robotics"
Founding Mentor --- Team #1495 Avon Grove High School
2007 CMP Chairman's Award - Thanks to all MOE members (and others) past and present who made it a reality.
Robot Inspector
"I don't think I'm ever more ''aware'' than I am right after I burn my thumb with a soldering iron"
Reply With Quote
  #3   Spotlight this post!  
Unread 18-04-2011, 09:53
ajlapp ajlapp is offline
Registered User
AKA: Anthony Lapp
None #0118 (Team RUSH and Robonauts)
 
Join Date: Sep 2001
Rookie Year: 1996
Location: Ortonville, MI
Posts: 648
ajlapp has a reputation beyond reputeajlapp has a reputation beyond reputeajlapp has a reputation beyond reputeajlapp has a reputation beyond reputeajlapp has a reputation beyond reputeajlapp has a reputation beyond reputeajlapp has a reputation beyond reputeajlapp has a reputation beyond reputeajlapp has a reputation beyond reputeajlapp has a reputation beyond reputeajlapp has a reputation beyond repute
Re: Ultrasonic Interference

The are no case shorts. The sensor is not moving. The sensor is not near the motor.

We did a series of tests to isolate the sensor from the robot including holding it in fixed relation to a surface off the robot.....the interference was still present.
__________________
Anthony Lapp
FIRST Engineering Mentor
Owner/Operator 221 Robotic Systems
221 Robotics Systems - Quality Hardware, Made in the USA
RobotOpen
anthony@221robotics.com
Twitter us: @221RobotSystems
Team 1 --> 94 --> 68 --> 221 --> 857 --> 27 --> 118
Design Engineer/Fabricator and 17 year vet
Team Rush (FRC27) and Robonauts (FRC118)
Reply With Quote
  #4   Spotlight this post!  
Unread 18-04-2011, 10:14
The Lucas's Avatar
Happy Birthday! The Lucas The Lucas is offline
CaMOElot, it is a silly place
AKA: My First Name is really "The" (or Brian)
FRC #0365 (The Miracle Workerz); FRC#1495 (AGR); FRC#4342 (Demon)
Team Role: Mentor
 
Join Date: Mar 2002
Rookie Year: 2001
Location: Dela-Where?
Posts: 1,564
The Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond repute
Send a message via AIM to The Lucas
Re: Ultrasonic Interference

Hmm that is interesting, havent seen that before. Couple ideas for additional tests.

Have you tried placing a shield between the motor and the sensor (and any wall the sensor is using) to reflect or absorb any interfering sound?

Have you tried running a different RS-775 directly off a separate battery (using a breakout box or something) while using the sensor on the robot? (if you don't get interference in this case the RS-775 are likely interfering with the electrical system on your robot)

This is an interesting case to investigate, but ultimately I would just pulse the ultrasonics a couple times to check/adjust my distance (at the end of an encoder segment) and not run the RS-775 during these readings.
__________________
Electrical & Programming Mentor ---Team #365 "The Miracle Workerz"
Programming Mentor ---Team #4342 "Demon Robotics"
Founding Mentor --- Team #1495 Avon Grove High School
2007 CMP Chairman's Award - Thanks to all MOE members (and others) past and present who made it a reality.
Robot Inspector
"I don't think I'm ever more ''aware'' than I am right after I burn my thumb with a soldering iron"
Reply With Quote
  #5   Spotlight this post!  
Unread 18-04-2011, 10:18
Jared Russell's Avatar
Jared Russell Jared Russell is offline
Taking a year (mostly) off
FRC #0254 (The Cheesy Poofs), FRC #0341 (Miss Daisy)
Team Role: Engineer
 
Join Date: Nov 2002
Rookie Year: 2001
Location: San Francisco, CA
Posts: 3,078
Jared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond repute
Re: Ultrasonic Interference

We found this to be a problem as well. Even when the wires for the VEX Ultrasonic sensor were physically moved >1 foot away from any RS775s or wires for these, we would get erratic readings. This was unacceptable for the application (keeping the robot from slamming into the wall), so we gave up and used other options (using light sensors to detect the line at the end of the zone, and using encoders to dead-reckon).
Reply With Quote
  #6   Spotlight this post!  
Unread 18-04-2011, 10:36
ajlapp ajlapp is offline
Registered User
AKA: Anthony Lapp
None #0118 (Team RUSH and Robonauts)
 
Join Date: Sep 2001
Rookie Year: 1996
Location: Ortonville, MI
Posts: 648
ajlapp has a reputation beyond reputeajlapp has a reputation beyond reputeajlapp has a reputation beyond reputeajlapp has a reputation beyond reputeajlapp has a reputation beyond reputeajlapp has a reputation beyond reputeajlapp has a reputation beyond reputeajlapp has a reputation beyond reputeajlapp has a reputation beyond reputeajlapp has a reputation beyond reputeajlapp has a reputation beyond repute
Re: Ultrasonic Interference

We also have a similar workaround which uses encoder distance....but now we doing two tubes in auton. We need a fixed reference in order to determine or distance from the wall.

We cannot look for the end of line marker because of our arm geometry.

Perhaps we can take a series of snapshots on our way down....essentially halting the program and commanding zero pwm out of our arm joint so we can take a reading. We can then use encoder distance once we have a reference point.

Thanks for the help.
__________________
Anthony Lapp
FIRST Engineering Mentor
Owner/Operator 221 Robotic Systems
221 Robotics Systems - Quality Hardware, Made in the USA
RobotOpen
anthony@221robotics.com
Twitter us: @221RobotSystems
Team 1 --> 94 --> 68 --> 221 --> 857 --> 27 --> 118
Design Engineer/Fabricator and 17 year vet
Team Rush (FRC27) and Robonauts (FRC118)
Reply With Quote
  #7   Spotlight this post!  
Unread 18-04-2011, 11:23
The Lucas's Avatar
Happy Birthday! The Lucas The Lucas is offline
CaMOElot, it is a silly place
AKA: My First Name is really "The" (or Brian)
FRC #0365 (The Miracle Workerz); FRC#1495 (AGR); FRC#4342 (Demon)
Team Role: Mentor
 
Join Date: Mar 2002
Rookie Year: 2001
Location: Dela-Where?
Posts: 1,564
The Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond repute
Send a message via AIM to The Lucas
Re: Ultrasonic Interference

Quote:
Originally Posted by ajlapp View Post
We also have a similar workaround which uses encoder distance....but now we doing two tubes in auton.
I assume this is for 27 and you are grabbing the second tube by flipping your arm around (hence the RS775 needs to running most of the time). Have you considered trying 987's 2 tube path starting at the Y with periodic line checks. It is the most consistent and creative 2 tube auto I have seen. The periodic line checks & encoders give them all the field reference they need.

We use a whole bunch of sensors (ultrasonics, light, etc) for positioning on some of our single tube auto modes. But for our double tube only uses gyro and encoder because we don't have time (1 sec to spare) to check/adjust for the others. It is my understanding that most of the 2 tube teams (33, 1114, 148, etc) use only gyro & encoder.

Good luck with that double uber auto!
__________________
Electrical & Programming Mentor ---Team #365 "The Miracle Workerz"
Programming Mentor ---Team #4342 "Demon Robotics"
Founding Mentor --- Team #1495 Avon Grove High School
2007 CMP Chairman's Award - Thanks to all MOE members (and others) past and present who made it a reality.
Robot Inspector
"I don't think I'm ever more ''aware'' than I am right after I burn my thumb with a soldering iron"
Reply With Quote
  #8   Spotlight this post!  
Unread 18-04-2011, 11:40
Kevin Sevcik's Avatar
Kevin Sevcik Kevin Sevcik is online now
(Insert witty comment here)
FRC #0057 (The Leopards)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Houston, Texas
Posts: 3,673
Kevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond repute
Send a message via AIM to Kevin Sevcik Send a message via Yahoo to Kevin Sevcik
Re: Ultrasonic Interference

This is most likely just a big noisy motor causing electrical interference on your bot. There's a few quick and easy things you can try to filter the noise down to an acceptable level. It'd be great if you had an oscilloscope to measure things and see just where the noise is coming from, but if you did, you wouldn't be posting here, so...

First, put a 1 microfarad (uF), non-polarized capacitor across the leads of the 775, as close to the motor as possible. This should make the biggest difference.

Second, connect a pulldown resistor from the signal line of your ultrasonic to GND. This should probably be in the 1k ohm range. I don't have specs on the Vex ultrasonic handy, so I can't say what it will tolerate here, but 1k seems safe. You'll know if it's too large because you won't get anything back from the ultrasonic even with the motor off.
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.

Lone Star Regional Troubleshooter
Reply With Quote
  #9   Spotlight this post!  
Unread 18-04-2011, 13:42
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,772
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: Ultrasonic Interference

Tony,
there are two possibilities here. One is electrical noise and the other is acoustic noise. Since the sensor is only putting out 40kHz it is possible that the motors generate enough acoustical energy in the desired band to swamp the sensor input or to modulate the body of the sensor. You can try to wrap the sensor in some foam, fiberglass or a chunk of pool noodle and see if that effects the interference. If it does then the motors are making significant noise on frequency. The other possibility and the more likely one, is that the sensor amplifier is not shielded and so therefore receives all of the generated electrical noise and boosts it along with the received acoustic signal. Without a scope and some controlled tests it is hard to tell exactly what is the problem. Considering that the output is a 5 volt digital signal, it is unlikely that the cable is picking up enough noise to be a problem. You can try shielding the sensor in a steel box but will need to tie the shield to something to drain away the charge. Robot frame or battery common might work but not both please. 3M sells a nice product that is a copper foil with a conductive adhesive available from Digikey. It is expensive and it comes in various widths. An 18 yard by 1" wide roll is about $50. You can solder to it with care but it may not take care of all of the interference.

You didn't mention it, but are you using Jags in this application? It is possible that the third harmonic of the switching frequency is close enough to produce significant in band noise.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
Reply With Quote
  #10   Spotlight this post!  
Unread 18-04-2011, 13:49
ajlapp ajlapp is offline
Registered User
AKA: Anthony Lapp
None #0118 (Team RUSH and Robonauts)
 
Join Date: Sep 2001
Rookie Year: 1996
Location: Ortonville, MI
Posts: 648
ajlapp has a reputation beyond reputeajlapp has a reputation beyond reputeajlapp has a reputation beyond reputeajlapp has a reputation beyond reputeajlapp has a reputation beyond reputeajlapp has a reputation beyond reputeajlapp has a reputation beyond reputeajlapp has a reputation beyond reputeajlapp has a reputation beyond reputeajlapp has a reputation beyond reputeajlapp has a reputation beyond repute
Re: Ultrasonic Interference

We are using Jags...so this could be a factor.

At this stage we'll probably just read the sensor without moving the offending joint. This should give us a chance to calibrate our encoders without needing constant feedback from the ultrasound. i.e. we'll take a distance snapshot then track our encoders from that point.

We'll hopefully get a chance to dig into this in the post season.

Thanks for all of the quick responses.
__________________
Anthony Lapp
FIRST Engineering Mentor
Owner/Operator 221 Robotic Systems
221 Robotics Systems - Quality Hardware, Made in the USA
RobotOpen
anthony@221robotics.com
Twitter us: @221RobotSystems
Team 1 --> 94 --> 68 --> 221 --> 857 --> 27 --> 118
Design Engineer/Fabricator and 17 year vet
Team Rush (FRC27) and Robonauts (FRC118)
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


All times are GMT -5. The time now is 21:46.

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