Looking for ultrasonic sensor tips/tricks...
I'm helping mentor a nearby high school robotics team for an upcoming, well-known robotics competition. Because many of the field elements consist of clear acrylic panels, we decided to use ultrasonic sensors for distance measurement. At the moment, the design calls for six such sensors: two on either side and one in front and back. The primary use case, I think, will be to help guide the robot through a 4 foot wide passage. The secondary use case will simply be general obstacle avoidance. When using multiple sensors, I know you have to avoid crosstalk, usually by staggering each measurement. However, this begs the question: how do you use these sensors if other robots in the vicinity are also using them?
And, while on the topic, does anyone have any other ultrasonic sensor tips or tricks we might find useful?
And, while on the topic, does anyone have any other ultrasonic sensor tips or tricks we might find useful?
Comments
My mental picture of this, If correct, with a 4 foot wide acrylic passage, is that this is going to be treacherous. The highly reflective wall panels won't be perfectly flat, neither will your robot likely be perfectly aligned in the passage. Your echoes may never return via a predictable path, or at all. Random echoes will make the jump from side to side an amazing number of times, and the curvature of the panels will cause random focusing and scattering of the signals as well.
A competition? The first thing I would do is use my ultrasonic sensors as jammers, firing them as often as possible. and then start playing with infared sensors and polarizing sheets... Acrylic is so amazingly reflective at certain polarizations.
Maybe some combination of polarized infared and ultrasonic with cross-checking?
At the very least, if the other robots that happen to also be using the ultrasonic sensors are designed to maintain a fixed ping interval, I might be able to shift our pings to occur in between theirs. However, considering how slow the ranging period is, this may not be practical.
I do agree, though, that we should work from a rolling average (even if just 2-3 samples wide).
-Phil
Master timing signal for all of the bots aside, timing them apart on a single robot is easy. Setup a filter to get rid of large changes. Most of my interference made a change faster than the bot could travel. Possibly stop the bot and wait for values to settle before moving again if you want to be as accurate as possible. Of course stopping assumes the offending signals eventually go away.
From what I've seen in 600sq' with three sensors, a big room full will be really hard to deal with. You really wouldn't know until you got there so many come up with a few backup plans. If there are a lot of these bots in a small area it's going to take a lot to get it to work.
Seems kind of odd IMHO. Or maybe that's the challenge, that bots can't interfere?
In the video, the passage I refer to above is each of the defenses, where the clear acrylic walls on either side of a defense (referred to as "shields") are the passage walls. Mostly, the above conversation revolves around the 15 second autonomous period at the beginning of the match. Fortunately, considering the starting configuration and a couple "dumb" maneuvers we can do, I think the students can do a decent job of breaching at least one defense during that period. Once they switch to teleop mode, the ultrasonic sensors will be employed in a different fashion, which is where I was mostly concerned about interference from other robots.
Good luck Seairth, I'm sure your team will kick Smile at FIRST!
Even with clear plastic panels, I think you'd also want some kind of IR detection. From the video there will be other obstacles, including other robots.
I haven't read the rules, but in general, it's not allowed for teams to intentionally obstruct or impair sensor readings, but in these, it can pay to bring along an ultrasonic microphone to catch the cheats (IR is easy to see in any camcorder). Otherwise known as a bat detector. Plenty of project plans available for these.
-Phil