Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Find x and y location from timer values

Kisen

Member
Hi,
I am hoping that someone can help me with my problem.

I am working on calculating the impact point on a plate, when only provided with a few known points.
I have to say i am struggling quite a bit.

Below is my geometry setup and an example of a hit point x10,y20.

Speed of sound in the material is 3273m/s
Hypothetical timer values are as follows. (S2 was where the timer started) .td is the calculated distance travelled.
S1S2S3S4
Timer Value51409311291
.td16.820.0030.4742.25

From this information i need to find the missing value for (S1-S2) that when added to all 4 .td will result in the correct values.

I am lost at how to find x,y coordinates, with what i have available.

Can anyone help?

1649165632969.png
 

Pommie

Well-Known Member
Most Helpful Member
If you truly believe your velocity in material then your top two readings give your hit point (except one is zero). Or, bottom two. I think that the total distance - all paths (from hit point to sensors) added together will always be the same. A bit of maths should solve it.

Mike.
 

rjenkinsgb

Well-Known Member
Most Helpful Member
Imagine a circle around each sensor, with its radius the time value for that sensor.

Look for intersections.

Keep increasing the circle radii, all by equal amounts at each pass through the loop, until you get all four to intersect as a common point.

After looking at the initial intersections and distances a few times you can likely see some separation that can be used as an increment at each loop iteration, to rapidly zero on on the final position.
 

Latest threads

New Articles From Microcontroller Tips

Top