Pages: [1]   Go Down
Author Topic: Measure distance or direction with accelerometer?  (Read 1825 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Full Member
***
Karma: 0
Posts: 116
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello there, Now I will give you what we call in sweden a "tankenöt",( brain teaser?)
Do you think it's possible with some kind of algorithm to calculate the distance or the direction to the source of a footstep/knock from an accelerometer? I mean if you can get data from x, y and z axis from the accelerometer wouldn't it be possible?
I was thinking of the ADXL 345 accelerometer to be more precise smiley
thank youu!
Logged

Massachusetts, USA
Offline Offline
Tesla Member
***
Karma: 208
Posts: 8853
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

You may be able to tell about where footfalls are landing based on the magnitude and direction of the vibrations they create.  The hard part will be gathering data and recognizing patterns.
Logged

Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

Anaheim CA.
Offline Offline
Faraday Member
**
Karma: 47
Posts: 2892
...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Very difficult to map an event that might only be 100 - 300 ms long and relatively low in amplitude. Almost easier to try and map it with three audio sensors from the time delay and amplitude in the arrival to the sensors. The real issue is the speed of propagation through different materials to a single sensor and that a single point of reference might not be sufficient to return good data as although you do have some sensitivity, the event is low in energy/amplitude and to try to amplify it would open up a really big can of worms. I don't think that the sensor in question was designed for that purpose.

Doc
Logged

--> WA7EMS <--
“The solution of every problem is another problem.” -Johann Wolfgang von Goethe
I do answer technical questions PM'd to me with whatever is in my clipboard

0
Online Online
Shannon Member
****
Karma: 131
Posts: 10468
:(){:|:&};:
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

i think this is exactly what is already done with earthquake; you need at least 2 sensor  to know where the things happened in a plane (so 2d) and 3 to know info int the space (so 3d).

with earthquake the "roundness" of the heart is enought to have a significant height difference. Also it is almost impossible understand thinghs when too much is going on; backreverese the "sum of effect" to the original effects need many more sensor and complicated math
Logged

sei nuovo? non sai da dove partire? leggi qui: http://playground.arduino.cc/Italiano/Newbie

Derbyshire
Offline Offline
Newbie
*
Karma: 0
Posts: 46
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

From the description i'm not quite sure on the application but be aware that:

Displacement is the double integral of a Raw Acceleration in a given time period.

Measuring displacements with accelerometers is possible yes.

But, please consider the behaviors differences of piezo vs strain gauge accelerometers in low to high frequencies. (Ie, piezo types are not responsive to low frequencies (>50Hz) or changes in direction, if you are considering measuring a humans foot step it can be assumed that one footstep =~1Hz, this is low and I very much doubt peizo accels would give you any good data.)


Kind regards,
Logged

Southern California
Offline Offline
Full Member
***
Karma: 0
Posts: 108
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Do you think it's possible with some kind of algorithm to calculate the distance or the direction to the source of a footstep/knock from an accelerometer?

Here's a thought experiment for you.  If you know the volume of a brick, do you think it's possible come up with an algorithm to calculate the length, width and height of the brick? 
Logged

Georgina Ontario
Offline Offline
Sr. Member
****
Karma: 5
Posts: 437
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

It''s not a brain teaser. It's a "Do you have some particular knowledge" question?

Do you know and understand vector math differentials and integrals? Is this just about decoding dynamic position as opposed to static position?  The the answer is yes and you can do it.

So yes -- there are seismic algorithms as has been pointed out. They are an analog to what you want.
Logged

Just another Hacker

Offline Offline
Newbie
*
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Google this, First Person Shooter with a real gun. Quote:-
The goal of this project is to be able to triangulate the position of an impact on a wall and then generatea mouse click that corresponds to this location. A computer screen can then be projected onto the wall and a projected action can be performed - seeming as if the impact acts as a mouse click on theprojected surface. This can then be extrapolated into use in any software, in our case a flash version  ...
Logged

0
Online Online
Shannon Member
****
Karma: 131
Posts: 10468
:(){:|:&};:
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

is the principle of earthquake control station (i don't know their name)
Logged

sei nuovo? non sai da dove partire? leggi qui: http://playground.arduino.cc/Italiano/Newbie

Pages: [1]   Go Up
Jump to: