Distance sensors
heshoy
Posts: 12
Hi guys, im a student at the electromechanical department in alexandria university, Egypt.
so this is my graduation year and we decided that our graduation project would be "Active Suspension", it detects road profiles and u know "holes and bumbs" and moves the suspension vertically in order to keep a high ride quality, so im in charge of the sensors and how to process the sensor's output, so im gonna need some help with what kind of sensors should i use for detecting the depth of the road? its gonna be mounted at the bottom of the vehicle and actively measures the distance between the vehicle and the road
after all the googling ive done i found that the best option is the ultrasound distance sensor but i have no experience at all with it, so pls guys help me with any recommendations and suggestions, sorry for making it long
so this is my graduation year and we decided that our graduation project would be "Active Suspension", it detects road profiles and u know "holes and bumbs" and moves the suspension vertically in order to keep a high ride quality, so im in charge of the sensors and how to process the sensor's output, so im gonna need some help with what kind of sensors should i use for detecting the depth of the road? its gonna be mounted at the bottom of the vehicle and actively measures the distance between the vehicle and the road
after all the googling ive done i found that the best option is the ultrasound distance sensor but i have no experience at all with it, so pls guys help me with any recommendations and suggestions, sorry for making it long
Comments
1) this is for outdoor use in bright sunlight?
2) paved highway or (more likely) offroad use (dirty/dusty/muddy)?
3) how fast are you moving?
Sounds like you anticipate bumpy roads and want to actively move each wheel up and down in order to keep the chassis level. WOW. Great idea, where to begin?
A few thought starters. This isn't unlike a mars rover or the DARPA Grand Challenge robots, attempting to 3D map the terrain ahead of them to determine the best route through. You could search rovers and robots to see what has been done.
I have been amazed by the claims of the David laser scanner, which uses a line laser and an offset camera to produce 3D profiles. You might look at that and see if there's anything you can use. You would need a lot of processing power to use that in real time on a moving vehicle.
http://www.david-laserscanner.com/
and to answer ur questions.. 1)outdoor and indoor, 2)i guess its better for offroads with bumpy and poor paved roads. 3)lets say we are doing 40->80 km/hr.
hope im not bothering u, regards.
You could use a very low mass idler wheel which carries no weight a small distance ahead of the first wheel. It can sense all the variations of the road by way of an encoder.
Another approach (for low speeds and high complexity & price ) would be to have pressure sensors (think many discrete touch sensors, not tire pressure sensors) around each wheel which feel the road ahead and relay that info wirelessly to the controller. One of my many unfinished robots (!) has a continuous touch-sentive potentiometer around its perimeter as a smart bumper so that it which knows where the point of contact is. Something like that on each one of your wheels could detect bumps and potholes rolling in either direction (forward or reverse).
http://www.youtube.com/watch?v=aVF6ETof3tE
I don't have much to add to what others have said about ultrasonic sensors.
While I do have some experience with ultrasonic sensors, I'm far from an expert.
In your PM, you asked about sources for sensors. I've used several different sensors myself. I've used Parallax's Ping, a Maxbotix sensor and sensors erco pointed out from China.
The Maxbotix sensor has some nice features like serial output and continuous operation but I wouldn't suggest getting it unless you need one of its features. The inexpensive sensors erco found work well and I don't see a reason for not using them.
If you order the inexpensive sensors, make sure you order several. I've found only about 80% of them work. Or you can buy them form PropellerPower.com and get ones that has been tested.
Another option is the Programable Acoustic Distance Sensor (PADS). I think with the PADS sensor you could modify the firmware for your own needs. All the sensors I've mentioned use the first echo to compute distance. Being able to monitor multiple echos might be a benefit to your project. I don't know how to go about monitoring multiple echos.
I tried adding one of the inexpensive sensors to a small quadcopter but the noise from the motors(or speed controllers) interfered with sensor's ability to measure distance. I haven't tested to see if larger motors/speed controllers also interfere with ultrasound sensors.
Smooth, flat surfaces don't return a strong echo when approached from a glancing angle. Some surfaces don't return an echo at any angle. My couch absorbs ultrasound which made it invisible to my ultrasound sensor unless the sensor was pressed against the padding of the couch (as seen in this project). If your road was very smooth and flat, you might not be able to measure distances in front of the car. I doubt this would be much of a problem since I'd think most roads would be rough enough to return an echo.
I agree with others about speed being an issue when using ultrasonic sensors.
Unless you could monitor for multiple echos, these sensors might not be able to "see" ruts since the first echo back to the sensor would be from the edge of the rut.
Normally some delay is needed between measurements with an ultrasound sensor to allow echos from the previous measurement to subside.
The Maxbotix sensor takes a measurement about 50 times a second when it is in continuous mode. I don't know what the fastest possible measurement rate of these sensors is.
These ultrasound sensors can be used with just about any microcontroller. I've only used them with Propeller chips myself.
The laser technique might be a better option, but I'm not sure how well this would work in bright daylight.
While a computer would probably be needed to process the image, the Propeller can do some machine vision functions (not nearly as well as a computer). Post #4 of my index lists some of the Propeller machine vision projects I've seen on the forum.
I've wondered about mapping a robot's surroundings using Hanno's video capture method to find a projected laser line. I doubt I'll get around to working on this any time soon (if ever).
Have you thought about using an accelerometer?
- 40 km/hr is about 1111 cm/sec, even with 50 Hz sampling you will only get a data point every 22 cm of travel. This could miss a lot of holes or bumps.
- With the variation in acoustic properties of the ground traveling underneath the sensor, the reflected sound signal may be very inconsistent. I think a laser spot on the ground that you measure the angle to would work better.
- I would recommend trying a small/simple/slow solution first to better understand the issues.
- For sizing your actuators note that you do not have to accelerate the car upward/downward you just have to keep it from falling down/being pushed up.
- Build a test jig where you can simulate a road profile and see how your design performs.
- Obviously understand the physics and control theory aspects of the problem.
--Ed
I'm really at a loss to suggest any active steering that would work at the speeds of 5-10 km/hour. If you can live with low speeds, I think you have received some worthwhile suggestions using ultrasonic sensors and accelerometers. Those are affordable and there is lots of information available on them.
Also, have you searched for information on DARPA's Grand Challenge? Expensive robot cars used every sensor imaginable to sense terrain and obstacles at reasonable speeds. SICK laser scanners were very popular: http://www.youtube.com/watch?v=tJEKkHbxwdk
There was even a riderless motorcycle: http://www.youtube.com/watch?v=V1bkhviWgSg&feature=player_detailpage#t=76s
I'm gonna suggest big bicycle wheels for a couple reasons. And each wheel needs an encoder.
Erlend
It does not matter that the ground is uneven, this method will measure the average under the plate. It is not accurate in terms of absolute distance, though.
Much simpler and more robust than laser IMHO.
Erlend
IMO this is a great problem for Boston Dynamics in full scale. On your budget, you might need to scale this down to a tabletop demo at low speeds, which could still be very dramatic. You could use quarter scale servos and several Sharp IR sensors on each wheel. Do it right and BD may just hire you!