This shows you the differences between two versions of the page.
milestone_2_task_3 [2023/01/14 23:23] scott [Pass Off] |
milestone_2_task_3 [2023/01/15 00:38] (current) scott [Pass Off] |
||
---|---|---|---|
Line 13: | Line 13: | ||
* Filter the resulting 10 ksamples/s signal using the 10 IIR bandpass filters | * Filter the resulting 10 ksamples/s signal using the 10 IIR bandpass filters | ||
* Calculate and display the signal energy of each of the 10 resulting filtered signals | * Calculate and display the signal energy of each of the 10 resulting filtered signals | ||
- | |||
===== General Notes ===== | ===== General Notes ===== | ||
Line 32: | Line 31: | ||
- The center-of-passband frequencies for the filters are the ten player frequencies | - The center-of-passband frequencies for the filters are the ten player frequencies | ||
- For this task, you should read in your 'b' and 'a' coefficients from the file(s) you saved them in when you designed the filter in Task 1 | - For this task, you should read in your 'b' and 'a' coefficients from the file(s) you saved them in when you designed the filter in Task 1 | ||
- | |||
- | |||
- | ===== Pass Off ===== | ||
- | Show the following plots for a shot by player 1. | ||
- | - Time-domain plot of square wave for player 1 | ||
- | - f = 1471Hz | ||
- | - Amplitude of 0.1V (square wave with voltage of either 0 or 0.1V) | ||
- | - Zoom in on a section of the x-axis 4ms wide when you are showing this for pass off | ||
- | - y-axis of -1V to 1.5V | ||
- | - Sampling frequency of Fs = 100kHz | ||
- | - Time-domain plot of optical noise (from lights.mat) | ||
- | - Same axis as square wave | ||
- | - Time-domain plot showing sum of optical noise and square wave | ||
- | - Same axis as square wave | ||
- | - Frequency-domain plot of sum of optical noise and square wave (on an axis going from 0 to 50 kHz) | ||
- | - Frequency-domain plot of decimated signal (on an axis going from 0 to 5 kHz) | ||
- | - Low pass filter signal and then down-sampled to Fs = 10kHz | ||
- | - Then use fft to view in frequency domain | ||
- | - Frequency-domain signal filtered by bandpass filter centered at f = 1471Hz | ||
- | - Frequency-domain signal filtered by bandpass filter centered at another player frequency | ||
- | - The signal energy for the signal through all 10 bandpass filters | ||
- | - Signal length of 200ms | ||
===== Resources ===== | ===== Resources ===== | ||
Line 81: | Line 58: | ||
- A 1-paragraph summary of what was accomplished in this task | - A 1-paragraph summary of what was accomplished in this task | ||
+ | ===== Pass Off ===== | ||
+ | Show the following plots for a shot by player 1: | ||
+ | - Time-domain plot of square wave for player 1 | ||
+ | - f = 1471Hz | ||
+ | - Amplitude of 0.1V (square wave with voltage of either 0 or 0.1V) | ||
+ | - Zoom in on a section of the x-axis 4ms wide when you are showing this for pass off | ||
+ | - y-axis of -1V to 1.5V | ||
+ | - Sampling frequency of Fs = 100kHz | ||
+ | - Time-domain plot of optical noise (from lights.mat) | ||
+ | - Same axis as square wave | ||
+ | - Time-domain plot showing sum of optical noise and square wave | ||
+ | - Same axis as square wave | ||
+ | - Frequency-domain plot of sum of optical noise and square wave (on an axis going from 0 to 50 kHz) | ||
+ | - Frequency-domain plot of decimated signal (on an axis going from 0 to 5 kHz) | ||
+ | - Low pass filter signal and then down-sampled to Fs = 10kHz | ||
+ | - Then use fft to view in frequency domain | ||
+ | - Frequency-domain signal filtered by bandpass filter centered at f = 1471Hz | ||
+ | - Frequency-domain signal filtered by bandpass filter centered at another player frequency | ||
+ | - The signal energy for the signal through all 10 bandpass filters | ||
+ | - Signal length of 200ms | ||