This shows you the differences between two versions of the page.
milestone_2 [2015/05/21 10:46] schultz [Goals] |
milestone_2 [2023/01/02 18:42] (current) scott update |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Milestone 2 ===== | + | ====== Milestone 2 ====== |
In this milestone, you will use MATLAB to design the signal processing algorithm used by the laser tag system. | In this milestone, you will use MATLAB to design the signal processing algorithm used by the laser tag system. | ||
===== Overview ===== | ===== Overview ===== | ||
- | The objective of the signal processing algorithm is to collect a signal and then determine if the signal contains a shot from a laser tag gun. | + | The objective of the signal processing algorithm is to determine from the received signal whether your system has been hit, and if so, what player (frequency) performed the hit. |
+ | |||
+ | This figure shows (in the time domain) a signal that is just noise (i.e., no hit): | ||
- | This figure shows a signal that is just noise (i.e. no hit). | ||
{{ :signal_overview1.jpg?300 |}} | {{ :signal_overview1.jpg?300 |}} | ||
- | This figure shows the same signal with a square wave added to the noise (i.e. a hit from a gun). | + | |
+ | This figure shows the same signal (also in the time domain) with a square wave at one of the player frequencies added to the noise (i.e., a hit from a gun): | ||
{{ :signal_overview2.jpg?300 |}} | {{ :signal_overview2.jpg?300 |}} | ||
- | Your signal processing algorithm will be able to analyze these two signals and determine that the second plot contains a hit and then determine the frequency of the shooter. | + | Your signal processing algorithm will be able to analyze these two signals and determine that the second plot contains a hit, and then determine the frequency of the shooter. |
+ | This milestone builds heavily on the work that you did in Lab #5 in 380. During this milestone, the signal processing algorithm will be implemented and tested entirely in MATLAB. In a future milestone, you will take the digital filtering steps designed in this lab and implement them on the ZYBO board. We test the design first in MATLAB because it is much easier to manipulate and display the involved signals in MATLAB. | ||
===== Goals ===== | ===== Goals ===== | ||
- | + | The basic operation of the system involves the following operations. | |
- | The basic operation of the system involves the following operations. | + | - Convert the received signal into a sampled digital signal |
- | Convert the received signal into a sampled digital signal | + | - Pass the signal through 10 bandpass filters with center frequencies of the 10 players |
- | Pass the signal through 10 bandpass filters with center frequencies of the 10 players | + | - Determine if the target was hit (i.e., the signal is not just noise) |
- | Determine if the target was hit (i.e. the signal is not just noise) | + | - Determine the player |
- | Determine the player | + | |
You will be designing the basic algorithms to accomplish this process. | You will be designing the basic algorithms to accomplish this process. | ||
Line 26: | Line 28: | ||
===== Organization ===== | ===== Organization ===== | ||
This milestone is divided into three tasks. | This milestone is divided into three tasks. | ||
- | - [[Milestone 2 Task 1 | Task 1]]: Design 10 bandpass filters | + | - [[Milestone 2 Task 1 | Task 1]]: Design 10 bandpass filters. (These filters will operate on a signal sampled at 10 ksamples/s.) |
- | - [[Milestone 2 Task 2 | Task 2]]: Analyze the aliasing of the noise and design an anti-aliasing filter | + | - [[Milestone 2 Task 2 | Task 2]]: Design decimating system and analyze noise aliasing. (The ZYBO board samples the signal at 100 ksamples/second, and we've designed our filter bank to operate on signals sampled at 10 ksamples/s. Thus, we need to down-sample the signal, but want to minimize the aliasing of higher frequency noise into the player frequency bands.) |
- | - [[Milestone 2 Task 3 | Task 3]]: Analyze full system with noise | + | - [[Milestone 2 Task 3 | Task 3]]: Analyze full system with noise. |
- | + | ||
- | ==== IGNORE EVERYTHING AFTER THIS. THE REST IS JUST LEFT OVER FROM WINTER 2015 ==== | + | |
- | + | ||
- | ==== Milestone 2 Introductory Materials ==== | + | ===== Report ===== |
+ | **You will hand in a single report for this Milestone, which will include your write-ups from all three tasks.** | ||
- | - Here are the {{::milestone_2_intro_lecture.pdf|slides}} from the introductory lecture for Milestone 2. | + | Please make sure that your report: |
- | - Also, here are some additional {{::getting_started.pdf|slides}} to help you get started. | + | - Includes all of the items listed in each task's "What is Needed in the Lab Report" section |
- | - Here is a {{::introtofilterdesign.pdf|review handout}} from ECEn 380. | + | - Includes a brief introduction (1 paragraph) describing the high-level goals of Milestone 2 |
- | - Here are some simulated ADC: {{::receivertest1b.rtf|data.}} | + | - Includes a brief summary (1 paragraph) for **each** of the 3 tasks |
- | - Here is some MATLAB code to write and read ADC data files: {{:fileioexample.m.zip|}} | + | |
- | - Here is some MATLAB code to write and read decimating FIR data files: {{:fileiodecimatingfirexample.m.zip}} | + | |
- | - [[for_loops|Using for loops to implement filter command]] | + | |
- | - [[data_sets|Here are some data sets to use as inputs]] | + | |
+ | Also, please make sure to clearly label all graphs so that we know exactly what they are showing us. This should include a descriptive graph title, labels (and units) on all axes of the graph, and any other information needed to interpret the graph. | ||
- | - [[signal_processing|temp page]] | + | The lab report for Milestone 2 can be submitted through Learning Suite in PDF format. |
- | ==== Milestone 2 Pass-Off Requirements ==== | + | Please make your report clear and legible. Points will be deducted if it is difficult to read or follow. |
- | Here are the requirements for Milestone 2: {{:milestone2passoffcriteria.pdf|}} | + | Here is an {{::samplemilestone2report.pdf|example}} of an excellent report. |