iOS App Acoustically Measures Distances Up To 25 Meters
n01 writes "A recently published app for the iOS platform uses the propagation of sound waves to measure distances of up to 25 meters in a dual device mode. The technique works through repeatedly sending a chirp signal from the master device to which the other (reflector) device synchronizes itself and then replies in a similar fashion. A novel combination of techniques has been engineered to enhance the robustness in noisy environments, such as using an optimum-autocorrelation-signal and semi-automatic frequency calibration together with an averaging over multiple cycles."
http://wiki.laptop.org/go/Distance
That's not very impressive. Anyone who has two devices that are syncronized to a common timing source (which most cell phones are) can accomplish this. You just say "I started transmitting at x and you received it at y. x-y/speed of sound at sea level = your result. Now if it could be done with one device, and use doppler effect,etc., to map out the room and roughly what's inside it (like in Batman) then we'd be getting somewhere.
#fuckbeta #iamslashdot #dicemustdie
I thought this was going to be a cool sonar thing- you'll need 2 iphones? get a tape measure...
Weapons Officer: "Captain I can't get a fix on the enemies position."
Science Officer: "We could try using an optimum-autocorrelation-signal and semi-automatic frequency calibration together with an averaging over multiple cycles."
Captain: "Good idea."
Me at home: "Who makes up this stuff."
Some humans can learn echo location[1], but just wondering if we could have an app that sends clicks and chirps and processes the echos and creates a picture or 3D model.
But it might need two or more "ears" to quickly build a 3D image of the environment.
[1] http://www.youtube.com/watch?v=qLziFMF4DHA
http://www.youtube.com/watch?v=GYWpxmcHTOc
Because such an app already existed for PocketPC (That'd be Windows Mobile):
http://nerdipedia.com/tiki-index.php?page=Sonar+CE
Oh, and desktop PC:
http://nerdipedia.com/tiki-index.php?page=Sonar&structure=index
I hear there's a flashlight app for iDevices, too - Slashdot should really look into that. It's magical.
This didn't seem to do that good of a job, but was 2 years ago.
* Sonar Ruler, By Laan Labs: http://itunes.apple.com/app/sonar-ruler/id324621243?mt=8
* http://thenextweb.com/2009/08/20/amazing-iphone-app-lets-measure-distance-echoes-works/
Happy measuring!
http://stephan.sugarmotor.org
One suspects that the primary use case for this application is not, "Hey, we need to measure this, let's go get two iPhones!" It's "Hey we need to measure this and happen to have two iPhones, but no tape measure." Most people carry their phones around with them all the time, but unless they're contractors don't carry tape measures. The point of near ubiquitous mobile computers is that you can use them for lots of things. This is a cute and clever thing that you can now use them for.
I don't need a million points of light, just two points of multi-mode fiber and a 10 Gig-E router.
So Slashdot can't report on anything, ever, if it's for sale somewhere. Got it.
As I mentioned in another comment, I've been experimenting with a similar application on iOS devices. Yes, consumer devices do cover ultrasonic frequencies, but barely. For average humans, ultrasound begins above 18 - 19 KHz, and devices with 48KHz range can produce up to 24KHz frequencies... in theory. The problem is that the commodity speakers/microphones in smart-phones are optimized for the human perceptual range, and since ultrasound is beyond that, the transducer dynamic range and/or the in-built signal processing conspire to significantly attenuate and distort ultrasonic signals. Using an iPad, in preliminary experiments, I could only get a range of ~5m using ultrasound, whereas these guys say they can go up to 25m.
Moving to ultrasound also can affect resolution negatively. Since you're effectively using a much smaller bandwidth signal, your positioning accuracy reduces, on top of which, multipath problems get much worse. (Smaller bandwidth because by limiting the signal to ultrasound, you only get a bandwidth between ~18KHz and 24KHz for a 48KHz sampling frequency, and the iPad microphone strongly attenuates signals after the 20KHz range.)
Bat ears are highly specialized. This link gives a brief overview of how bats do echo-location:
http://science.howstuffworks.com/environmental/life/zoology/mammals/bat2.htm
I believe smartphones have, or will soon have, enough processing power to do the necessary signal processing if we can design the right algorithms. The problem is it would also need highly specialized audio transducers to get any useful signals, which may not necessarily fit into a smartphone form factor.
Keep in mind that all that 'specialised equipment' evolved out of a need to improve the simpler predecessor systems.
Sonar and sonic range finding systems use all that 'extra equipment' to achieve ranges far in excess of 25m and in mediums much more variable than air. The impulse response of miniature consumer grade condenser microphones and speakers are more than adequate for air use within an octave of the audible spectrum. The speakers in the iPhone are primarily limited by their output power, and the fairly omnidirectional nature of the microphones may lack overall sensitivity, but both are simple parameters that really only end up reducing total available range and accuracy (as compared to specialised custom hardware using the same algorithmic solutions).
Applying the same design principles that would normally be applied to a specialised system design to an iPhone implementation, would be very unlikely to provide anything unknown to someone in the industry. This is very similar to early stage engineering "proofs of concept" that are used to test various parameters within a system design, without the interactive complexity of implementing the entire system.
There is nothing within this extremely simple setup that hasn't been done as part of a larger system design. A single (consumer grade) speaker + microphone used in transmissive, active echo, or for passive echolocation is not unusual. Considering the iPhone has excessive processing capability to implement all the standard approaches (correlation, convolution, deconvolution, filtering, impulse response measurement, etc), there is no real need to be 'clever' as such.
'Back in the day', when trying to do this with a 10MIPS DSP in real time with moving objects, it was much more important to come up with better algorithms and shortcuts. Of course, this could otherwise have easily been done with standard theoretical methods and a modern processor a hundred times more powerful.
I see patents pop up all the time that describe things that are far from novel. Most of those patents are usually 'invented' by people with no real experience in the given fields. ie. Ideas that seem like earth shattering discoveries to the uninitiated, but are really just standard techniques used by properly skilled engineers.
I'm not saying that this iPhone app is bad/good, just that it is VERY unlikely to contain any actual improvements to the current state of the art (or the state of the art 20 years ago for that matter). I say this, because there is no real need to do anything new to achieve the results that they are claiming.
BTW, in the past I've worked on sonar/radar systems for air, ocean and rock. The biggest problem in 'noisy' environments is a lack of output level. Multipath isn't a major problem for a point to point (ie. line of sight, shortest path) ranging device - unless you're talking about wave guide shapes/sizes over long distances.