Hey everyone,
Im working on a project for my practical engineering diploma, im building an air defense like system that tracks an object in the area and rotating a canon towards it.
I got stuck on planing how do i get the exact location of the object, I planned on using an ultrasonic sensor but now i realize that it wont give me the angle (height) of the object so i cant point the canon to the right angle.
Any such ? Thank you!
Also for any suggestions it would be nice to know software wise how do i convert the given solution to coordinates.
Thankks!
Measure/control the angle in the horizontal plane. Make a tilt mechanism for the ultra sonic sensor. Make a tilt mechanics for the gun.
Make the two tilts work in harmony.
Thats what i had in mind, but i dont think it would be fast enough to recognize the object
For example: if an object goes above the altitude that the sensor is now scaning .
And if i would make it fast it would just “jiggle” no?
It depends on the mechanic movement of the sensor, the code… Targets out of the system range are of course missed or lost.
I am not aware of any hobbyist-level sensor that would come close to doing what you want. Even the radar sensors I have used are too wide a field. I would study any freely available documentation from the army/navy, etc. that describes how their systems work, then determine if there is an affordable hobbyist analogue.
Establish Lines Of Bearing from multiple (HC-SR04) devices. Using the proximity of intersection of these lines of bearing, calculate the angle from the selected point to the target. Remember, the beam is wide (not narrow) when it is transmitted, but gets even wider when reflected. The more transmitters, the more accuracy.
"Azimuth and Elevation."
Nice reply, xfpd.
I would also create a few different working modes.
The first would be to acquire a target.
The next would be to lock in to it and to track it.
Acquisition means using the limits of your sensor(s) to do a very course scan.
After acquisition, make your sensor do some circular moves to find out where the target disappears.
This should shift the locking mechanism to the opposite direction.
Whenever this locking in starts, the circular movement should become smaller and smaller, while shifting, following the direction your target is also moving towards.
This way the limits of your sensor should be, eh.. limited, but at the cost of time.
It will also take some time to calculate the offset needed to point your countermeasure, because if you'd shoot it at most recent acquired position, the target would be gone by the time your weapon reaches that point.

