This shows you the differences between two versions of the page.
low_pass [2015/02/10 10:23] schultz |
low_pass [2015/02/10 10:47] (current) schultz |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Low Pass Filtering ====== | ||
- | We decided to use a sample rate of 10 kHz. This figure shows the signal collected when the receiver is pointed at the room lights and the sample rate is set at SR=10 kHz. This signal is entirely noise. | + | |
+ | We decided to use a sampling frequency of 10 kHz. This figure shows the signal collected when the receiver is pointed at the room lights and the sample frequency is set at FS=10 kHz. This signal is entirely noise. | ||
{{ :noise_5k.jpg |}} | {{ :noise_5k.jpg |}} | ||
Line 6: | Line 8: | ||
The signal amplitude would need to be larger than the noise spikes otherwise the system would record a hit every time the gun picked up the room lights. So it would be good to reduce the noise if possible. | The signal amplitude would need to be larger than the noise spikes otherwise the system would record a hit every time the gun picked up the room lights. So it would be good to reduce the noise if possible. | ||
- | The first step is to determine if the noise has the frequency components shown in the previous plot or if it is an aliased signal. The next plot shows the same noise signal collected at sample rates of SR=500 kHz and SR=100 kHz. The signals that line up in frequency are the actual frequencies. As you can see, the dominant noise frequencies are around 20 kHz and 40 kHz. There is also another noise spike around 85 kHz. With a sample rate of SR=100 kHz this signal gets aliased down to around 15 kHz. | + | The first step is to determine if the noise has the frequency components shown in the previous plot or if it is an aliased signal. The next plot shows the same noise signal collected at sample frequencies of FS=500 kHz and FS=100 kHz. The signals that line up in frequency are the actual frequencies. As you can see, the dominant noise frequencies are around 20 kHz and 40 kHz. There is also another noise spike around 85 kHz. With a sample frequency of FS=100 kHz this signal gets aliased down to around 15 kHz. |
{{ :noise_500k.jpg |}} | {{ :noise_500k.jpg |}} | ||
- | The noise spikes above 5 kHz need to be eliminated before the signal is down-sampled to 10 kHz. So in essence the system will use a digital low pass filter | + | The following plot shows the noise sampled at FS=100 kHz zoomed in to the frequency band of the players. This plot shows that the noise is very low over this band. This means that the noise over the frequency band of interest (1-4 kHz) can be eliminated by passing the signal through a low pass filter before down sampling. |
+ | |||
+ | {{ :noise_5_100k.jpg |}} | ||