Difference between revisions of "Sonar Tracking SP2011"
From ESE497 Wiki
Jump to navigationJump to searchLine 27: | Line 27: | ||
*The sampling frequency, Fs, is 250,000hz. We also know the robot can move at a maximum of 0.4 m/s. | *The sampling frequency, Fs, is 250,000hz. We also know the robot can move at a maximum of 0.4 m/s. | ||
*To calculate this, I have combined several equations to come up with this: | *To calculate this, I have combined several equations to come up with this: | ||
− | ** N = Fs/[f0(vr-vs)/(v+vs)] , where: | + | ** N = Fs/[f0*(vr-vs)/(v+vs)] , where: |
*** N: number of samples | *** N: number of samples | ||
*** Fs: sampling frequency | *** Fs: sampling frequency | ||
Line 34: | Line 34: | ||
*** vs: velocity of transmitter | *** vs: velocity of transmitter | ||
*** v: velocity of ultrasonic wave in air | *** v: velocity of ultrasonic wave in air | ||
+ | *Which for my purposes, would look like: | ||
+ | ** N = 250k/[40k*(vrobot/340)]=2125/vrobot | ||
+ | *** where vrobot is the minimum change in velocity measurable |
Revision as of 04:00, 19 February 2011
Progress Report, February 11, 2011.
- I am currently working on determining the feasibility of this project. To do this, I have done the following:
- Determine the maximum velocity of the mobile platforms.
- I found the maximum forward radial velocity was 7 rad/s. The max backwards radial velocity was 8 rad/s.
- This translates to a maximum forwards and backwards velocity of 0.35 m/s and 0.4 m/s respectively.
- Image of .vi used to find radial velocity.
- This result is lower than hoped. We were expecting a velocity of around 1.0 m/s.
- Set-up of Ultrasonic Transmitter and Receiver
- Setting up the transmitter and receiver proved harder than expected. With help from Ed Richter, I got a .vi working that could run both the transmitter and receiver on the same Elvis board. However, there was an issue of the signals being mixed somewhere between the board and the computer; even if I had the transmitter unplugged, the receiver would still show a strong peak at the frequency the transmitter was programmed to transmit (40khz). So, my temporary solution is to run the receiver and transmitter on different Elvis boards (each of which is connected to a different computer). This works, but is not the most practical solution, so work will have to be done in that regard.
- Analyze the Fourier Transform
- Analysis is being done with the following settings:
- Fs of 250k, taking 250k samples over 1 second. Emitting a sine wave of frequency 40khz.
- Default Amplitude of sine wave was set at 3. Found setting higher created a more notable peak. Max setting is 10.
- Moving transmitter by hand comparable to that of a mobile platform creates a noticeable shift in the peak of the receiver's FFT graph. Not sure of said peak's consistency over repeated experiments.
- Analysis is being done with the following settings:
- Analysis of the Spectogram
- This is my first time working with a spectogram (or hearing of a spectograph). While I am not entierly familiar with it yet, I have made some progress with it.
- Initially, I had settings that created a notable band of frequency around 40hz.
- I am currently using a Hanning filter. The filter's setting has a very big effect on the output of the spectogram, and will probably have to be experimented with to a fair extent later on.
- Increasing the frequency bins leads to a higher frequency band on the output of the spectogram.
- This behavior is not what I expect. Will ask Phani about it next week.
- This is my first time working with a spectogram (or hearing of a spectograph). While I am not entierly familiar with it yet, I have made some progress with it.
- Determine the maximum velocity of the mobile platforms.
- End Progress Report
Progress Report, February 18, 2011.
- We figured out how to properly use the spectogram. Yay!
- I am now trying to find the sampling criteria we need to have in order to detect a change in the mobile platform's velocity.
- The sampling frequency, Fs, is 250,000hz. We also know the robot can move at a maximum of 0.4 m/s.
- To calculate this, I have combined several equations to come up with this:
- N = Fs/[f0*(vr-vs)/(v+vs)] , where:
- N: number of samples
- Fs: sampling frequency
- f0: input signal frequency
- vr: velocity of receiver
- vs: velocity of transmitter
- v: velocity of ultrasonic wave in air
- N = Fs/[f0*(vr-vs)/(v+vs)] , where:
- Which for my purposes, would look like:
- N = 250k/[40k*(vrobot/340)]=2125/vrobot
- where vrobot is the minimum change in velocity measurable
- N = 250k/[40k*(vrobot/340)]=2125/vrobot