Hi Wings!
Thanks for the RDF idea!
To clearify, I have base stationS (as much as I want) with 100m of distance between them, placed on shore line.
I thought about determinig the position using the RDF and Base StationS.
With 2 stations and RDF I get only the TOP ANGLE of the tringale Base1 <-> Swimmer <-> Base 2
and the base length of the triangle ( 100m distance between the stations) but it's not enough for
determinig the exact swimmer's position...
Could you please tell more about the RDF or ADF methods?
Thanks,
BeNoM
I think RDF is a great method and I need only 2 base stations for determinig the exact position instead of 3, in other methods...
What can you tell me about the accuracy of the RDF method?
BeNoM
What about echoes from sonar transmitions? How to avoid echoe effects?
You would just have to wait until the echos die out before sending another pulse.
1. What are the prices for sonar transmitter and receiver?
2. What companies produce sonar solutions?
3. What are the dimensions of such sonar chip?
4. For sonar transmition, do I have to ask for a license?
5. What frequencies are license free?
1. To buy just an ultrasonic transmitter and receiver, it would be around $10 - $20 USD. It's just a little piezo speaker/microphone set that is tuned to specific frequency like 40 kHz.
2. I think the ones I have were made by Panasonic, but I'm sure there are lots of manufacturers out there.
3. It's not a chip. It looks a lot like an electrolytic capacitor approximately 1 cm in diameter and 1 cm in length.
4. No license necessary. It's just a sound wave. It might be annoying to some animals but the FCC won't mind.
I don't think sonar will work at great distances in the air though. I'm going to suggest that you use the phase shift method again. The base and mobile station(s) could transmit on some high, but non-microwave frequency and the device on the swimmer's wrist would just retransmit the signal it receives on a slightly different frequency. The base station would modulate a square wave onto that carrier with blanking pulses. The carrier can be generated with a crystal and the blanking can be easily done on most PLL chips. When the received signal comes back to the the base station, amplify it and you can use an XOR gate as a phase discriminator. When the received square wave and the original square wave are exactly in phase (zero meters distance) the output from the XOR gate will be zero volts. When the received and original square waves are 180 degrees out of phase, the output of the XOR gate will be a solid 1 volt. Everything in between 0 and 180 degrees will effectively give you a PWM signal proportional to distance. If you low-pass filter the PWM signal, you will get a voltage proportional to the distance. You would have to experiment and do a few calculations to determine an appropriate square wave frequency and you will most likely need a very fast XOR gate, or you could use the phase discriminator from a PLL - likely to be an XOR gate.
Oops, I see that you're using an LNA. Maybe this resolution is acceptable for you then.
The problem is that by the method you suggest, I also measure the time it takes to
a transmitter to generate the message so the time I will measure in fact is:
t = T + t1
where T is an actual time the signal travels in the air
and t1 is a time that takes to transmitter to generate the message and to receiver to decode the message,
so, t1 is a prasite time.
Moreover, the mechanism of sending a message (at least in ZigBee) waits until the "channel" is clear
so I should take this time in acount.
Do you have an idea how can I solve the problem of "parasite" time?
Message Edited by rocco on 2006-08-03 01:28 PM
Again, thanks for help.
This is the most important part of my application. I don't want involve GPS in my project.
The target is to find the distance between 2 trancievers.
According to my calcultions I get the following:
Max range I'll get from ZigBee is 1km (with low noise aplifier).
C = 300,000 km/s
T = L / C = 1km / 300,000km/s = 3.33 micro seconds
So, we are talking about of microseconds...
So a microcontroller that works on 12MHz does a "tick" every aprox 0.1 micro second.
So, at least in theory I will be able to measure the propogation time...
Message Edited by Red Mountain on 2006-08-03 01:19 PM
First, thanks for help!
You are not confused , but my target is to find an efficient and simple way to measure the distanse between 2 trancievers.
I don't have the ZigBee trancievers so I can't do the tests by myself :smileysad:
I want to derive the distance from the equestion: D = C x T.
Where C is a speed of the signal (because we don't live in vacum it won't equel exactly to
speed of light but aprox. it does).
T - is an exact time the signal travels in the air.
I don't sure, but I think that times stated in IEEE 802.15.4 for frames proccecing are only in theory
but maybe you're right, it's worth to check this out...
It's intersting to know what are aprox. values of "parasite time" we are talking about...
I thought of the next method to calculate the real average "parasite time":
By placing 2 trancievers in 2 different places we get 2 equations:
time1 = T1 + "parasite time"
time2 = T2 + "parasite time"
I assume that average "parasite time" is the same and it's make sense because we
we use the same trancievers, the same firmaware and sending the same frames.
To decrease the error one may perform number of such measurements and calculate the average
of the "parasite time".
And now, when I have the "parasite time" I can derive the exact time T that the signal travels in the air,
and from the equation L = C x T we get the axact distance between 2 trancievers...
Sounds very nice in theory...
What do you think?
Unfortunately, I don't have a ZigBee tranciever to test it by myself :smileysad: