Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

help in speed, direction detection project

Status
Not open for further replies.

was29e

Junior Member level 2
Joined
Mar 10, 2005
Messages
23
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
amman-jordan
Activity points
1,549
hi everyone,
i want to design an embeded system with the following function:
a source that emits sound waves, i will use these waves to detect a moving object and it speed and the direction of it depending on doplar effect..
i need to build a transmitter ckt, and a detector ckt and connect them by a micoprocesor...
can any one give me suggestions of where to start, or if there r any usefull links....
 

hi was,

I generally answer vague quesitons like this...might not be much use, but here's what I think:


For speed, the dopler thing is ok, although if you want an accurate measurement, soundwaves aren't ideal. I'm still surprised they use them for measuring the speed of cars (for speeding fines) as most devices have errors of about 15%!

Direction could be tricky. If your 'device' is stationary, then at least you have a refence. You would need to 'ping' an object twice to get a direction, and speed. But for direction, your device will have to 'look' at the object. Unless of course its really high-power. So, what you need is a Transmitter/receiver thats 'directional'. Otherwise, with multiple objects, you send out a ping, get some echos, but there is no direction information, or any information about the object (so you can't tell which is which, and therefore, where it has traveled, at what speed etc..).

Its a crazy idea, but maybe a radar type affair, only with sound, sonar. Mount the tx/rx on a rotating platform and constantly send out pulses, and receive them. That way, when you get an echo, you know how far away from your device the object is, and where it is, because your platform will be facing a certain way (you could use a stepper motor, or an absolute shaft encoder to measure the angle of the rotation). Once you've stored the information (distance, direciton) then, next time your device 'points' to the direction the object was (after a complete turn) it knows it SHOULD be picking up that object, so it looks for an object around there. once its found it, you have two 'points'. Both with distance, and direction (bearing from your device). Also, with a timer going, or if your platform rotates at a fixed speed, you know the time difference between the two measurements.

After all of that, you will end up with the two distances, the two bearings, and a time difference. Then its some complicated trigonometry (can micro's do this??) to join up the two points. This will give you a vector, the minimum distance between the two points (a straight line). Thats the distance traveled and depending on the angle, the direciton, also, with your 'time delay' you can work out its speed (speed = distance/time).

Phew, sounds really complicated, but I assumed that you would be measuring moving objects from all directions (apart from above and below) and I'm just ranting. If I was to build such a device, I would try not to have any moving parts. But, measuring objects' speed/direction using an antenna array (or a sonar array) would be large, and require a fair amount of computational power.

I hope that this has helped you get thinking, at least in some way.

BuriedCode.
 

hi again,

A 40KHz ultrasonic tone moving away at 1meter/sec will be received as a 39882Hz tone.

Of course. But thats 1m/s directly away from the detector. It could be moving 5m/s across the detector. I suppose an X/Y type thing would be good. I'm just a bit hesitant with using the dopler effect. It all depends on the app.

Buriedcode.
 

    was29e

    Points: 2
    Helpful Answer Positive Rating
Human ears and a human brain are good at working out the direction of sound. Multiple receivers are worth considering.

Like human ears any acoustic system is going to give incorrect result due to reflections in some situations.
 

Like human ears any acoustic system is going to give incorrect result due to reflections in some situations.

^^ I've always been a perfectionist :D

This is one of the reasons I'm interested in this, its always easier to go with a concept that already exists, cheaper, easier, and quicker, but sometimes things could use a re-think. Of course, speed and 'velocity' are different. Here we want 'speed', because we are measuring the direction seperately. You're right about the multiple detectors....the further apart the better. I'll give it more thought when I have more specifics. The baord needs people like you throwaway18 :D

BuriedCode.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top