Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| test-and-measurement:guides:complementary-labs:lab5:start [2021/05/14 23:05] – ↷ Page moved from reference:test-and-measurement:guides:complementary-labs:lab5:start to test-and-measurement:guides:complementary-labs:lab5:start Arthur Brown | test-and-measurement:guides:complementary-labs:lab5:start [2022/10/04 11:38] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 29: | Line 29: | ||
| <WRAP column half> | <WRAP column half> | ||
| **Hardware** | **Hardware** | ||
| - | * [[https://store.digilentinc.com/ | + | * [[https://digilent.com/shop/ |
| </ | </ | ||
| **Software** | **Software** | ||
| - | * [[reference:software: | + | * [[software: |
| * [[https:// | * [[https:// | ||
| * [[https:// | * [[https:// | ||
| Line 182: | Line 182: | ||
| <WRAP group> | <WRAP group> | ||
| - | Traditionally, | + | Traditionally, |
| </ | </ | ||
| ---- | ---- | ||
| Line 192: | Line 192: | ||
| In order to demodulate the signal, we will first acquire the signal using the Analog Discovery Studio, we will then use software to rectify the signal to receive only the positive half of the signal, finally, we will implement a digital filter to remove any of the high-frequency components and recover the original message. Along the way, we will look at the FFT of the rectified signal and the demodulated signal and compare them against what we saw in the first section of this lab. | In order to demodulate the signal, we will first acquire the signal using the Analog Discovery Studio, we will then use software to rectify the signal to receive only the positive half of the signal, finally, we will implement a digital filter to remove any of the high-frequency components and recover the original message. Along the way, we will look at the FFT of the rectified signal and the demodulated signal and compare them against what we saw in the first section of this lab. | ||
| - | This section of the lab will assume a working knowledge of the LabVIEW environment and basic programming conventions. For help with getting started in LabVIEW, including installation of the Digilent WaveForms VIs, please view the resources available here: [[reference:test-and-measurement: | + | This section of the lab will assume a working knowledge of the LabVIEW environment and basic programming conventions. For help with getting started in LabVIEW, including installation of the Digilent WaveForms VIs, please view the resources available here: [[test-and-measurement: |
| </ | </ | ||
| Line 224: | Line 224: | ||
| <WRAP group> | <WRAP group> | ||
| <WRAP half column> | <WRAP half column> | ||
| - | For testing the VI, use the same hardware setup as for the [[reference:test-and-measurement: | + | For testing the VI, use the same hardware setup as for the [[test-and-measurement: |
| </ | </ | ||
| {{ reference: | {{ reference: | ||
| Line 257: | Line 257: | ||
| === Amplitude Modulation === | === Amplitude Modulation === | ||
| <WRAP group>< | <WRAP group>< | ||
| - | In a loop, generate two sinusoidal signals (the carrier and the modulating signal), with the required parameters, then create the modulated signal using the formula presented in the [[reference:test-and-measurement: | + | In a loop, generate two sinusoidal signals (the carrier and the modulating signal), with the required parameters, then create the modulated signal using the formula presented in the [[test-and-measurement: |
| The resulting (modulated) signal should be outputted on the selected //Wavegen// channel. | The resulting (modulated) signal should be outputted on the selected //Wavegen// channel. | ||
| Line 323: | Line 323: | ||
| * With the VI still running, change the cut-off frequency while observing the Demodulated Signal and the Demodulated Signal FFT. How does increasing the cut-off frequency of the low-pass filter affect the demodulated signal? How does decreasing the cut-off frequency of the low-pass filter affect the demodulated signal? What is the lowest cut-off frequency we can use to receive a clean signal? The highest? | * With the VI still running, change the cut-off frequency while observing the Demodulated Signal and the Demodulated Signal FFT. How does increasing the cut-off frequency of the low-pass filter affect the demodulated signal? How does decreasing the cut-off frequency of the low-pass filter affect the demodulated signal? What is the lowest cut-off frequency we can use to receive a clean signal? The highest? | ||
| * Increase the Modulation Coefficient to 15% in steps of 1%. Observe the graphs as you do this. How does the modulation coefficient affect the demodulated signal? What happens to the demodulated signal as the modulation coefficient increases past 1? | * Increase the Modulation Coefficient to 15% in steps of 1%. Observe the graphs as you do this. How does the modulation coefficient affect the demodulated signal? What happens to the demodulated signal as the modulation coefficient increases past 1? | ||
| - | * The maximum buffer size for the Analog Discovery Studio is 8192 samples. This means that the largest number of samples we can acquire during a single read is 8192 samples. Since the number of samples has a set maximum, how else can we increase the resolution of the FFT? Recall the formula for $df$ discussed in the [[reference:test-and-measurement: | + | * The maximum buffer size for the Analog Discovery Studio is 8192 samples. This means that the largest number of samples we can acquire during a single read is 8192 samples. Since the number of samples has a set maximum, how else can we increase the resolution of the FFT? Recall the formula for $df$ discussed in the [[test-and-measurement: |
| </ | </ | ||
| <-- | <-- | ||
| Line 342: | Line 342: | ||
| ==== Analog AM Demodulation ==== | ==== Analog AM Demodulation ==== | ||
| <WRAP group> | <WRAP group> | ||
| - | In this lab, we decided to demodulate by implementing a method known as envelope detection in software. However, the steps in envelope detection (rectifying and filtering) can also be done using hardware. In our previous labs we have talked about both rectification ([[reference:test-and-measurement: | + | In this lab, we decided to demodulate by implementing a method known as envelope detection in software. However, the steps in envelope detection (rectifying and filtering) can also be done using hardware. In our previous labs we have talked about both rectification ([[test-and-measurement: |
| Compare the results of your hardware demodulator to the ones from our software demodulator. What are some considerations and trade-offs between using a hardware system and a software system? | Compare the results of your hardware demodulator to the ones from our software demodulator. What are some considerations and trade-offs between using a hardware system and a software system? | ||
| Line 350: | Line 350: | ||
| ===== Next Steps ===== | ===== Next Steps ===== | ||
| - | For more complementary laboratories, | + | For more complementary laboratories, |
| - | For technical support, please visit the [[https:// | + | For technical support, please visit the [[https:// |

