This shows you the differences between two versions of the page.
system_data [2015/02/10 15:49] schultz |
system_data [2022/02/14 10:35] (current) scott |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== System Plots ====== | ====== System Plots ====== | ||
- | This is basic block diagram of the system. | + | This is a basic block diagram of the system. |
{{ :filterstructure.jpg |}} | {{ :filterstructure.jpg |}} | ||
Line 25: | Line 25: | ||
{{ :plot2.jpg |}} | {{ :plot2.jpg |}} | ||
- | The data is then passed through the 10 IIR bandpass filters. Rather than plotting all 10 signals this figure shows the signal after filters 0, 5, and 9. This is labeled as point (3) in the block diagram. The original signal is a square wave with a frequency that aligns with the frequency of filter 0. Notice that the amplitude of the signal out of Filter0 is close to the original amplitude and the output of the other filters is much lower. | + | The data is then passed through the 10 IIR bandpass filters. Rather than plotting all 10 signals this figure shows the signal after filters 0, 5, and 9. This is labeled as point (3) in the block diagram. The original signal is a square wave with a frequency that aligns with the frequency of filter 0. Notice that the amplitude of the signal out of Filter0 is close to the original amplitude and the output of the other filters is much lower. |
{{ :plot3.jpg |}} | {{ :plot3.jpg |}} | ||
- | By looking at the signal in the previous plot it is fairly easy for you to see which player shot. But you need to think about how your determined that it is the hit. Without actually realizing it you looked at the envelope | + | By looking at the signal in the previous plot it is fairly easy for you to see which player shot. But you need to think about how your determined that it is the hit. Without actually realizing it you looked at the envelope of the signal. |
+ | |||
+ | Rather than simply grabbing the maximum it is better to do a power calculation. To calculate the power we square the signal and then compute a moving average. The following plot is of the power sum and is position (4) on the block diagram. Initially the signal is 0 and then starts to increase as more samples are summed. Since we are adding the square of the signal every new sample increases the sum. However, the increase is much greater for the signal that has the correct frequency. This plot shows that the signal to noise ratio (SNR) increases with the length of the summation. In this project the shot length is specified to be 200 ms, which corresponds to 2000 samples. Therefore, to get the best SNR the summation length should be 2000 samples. | ||
+ | |||
+ | {{ :plot4.jpg |}} |