# Triangulation Vibration Sensor Impact Detection Position

I am working on a project to detect the position of an impact using three vibration sensors each one of them linked to a micro-controller(in my case STM32F4) .

Using ADC and UART ,I can plot with a python script the graphic for each of the data received,thus when i do a tap inside the triangle of the three devices(vibration sensor+STM32F4) i can see that there is a delay between the three line chart.

My goal is to detect where the impact has occured and then plot it. I saw that i can do that using triangulation. I would like to do that with a python script and plotting for example the triangle and when an impact occurs inside of it,it shows me its position. As far as i saw,the triangulation is a solution to this but i don't know where to begin or what to do .

How can I do that with triangulation ?

• Welcome to EE.SE. What delay did you see? (How many ns / ms?) You need to show a bit of effort with the triangulation calculation? What did your research teach you and where did you get stuck? Mar 17, 2016 at 16:44
• As I have a project that does precisely this, I will give you a hint to get you started: You will need a capture timer for each sensor. As noted, we will help, but we won't do the whole thing for you. Mar 17, 2016 at 16:48
• I don't think I understood, you have everything yet done, but you don't know how to calculate the triangulation? Perhaps is this question more suitable for math forum. Mar 17, 2016 at 18:26
• I have a timestamp Thanks to the internal clock (RTC) . For the devices everything is OK,Now is left the part to analyse the charts and do a triangulation but I don't know how to do that Mar 18, 2016 at 9:29
• Your question is about trilateration, not triangulation. In triangulation you locate a point in space using angle measurements, while in trilateration you solve the position using distance measurements only. More specifically you are seeking to do differential time of arrival trilateration, since you cannot measure the impact time directly, instead having to solve the distance based on how much longer the wave took to arrive at the other sensors relative to the first.
– jms
Mar 20, 2016 at 5:16