Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
test-and-measurement:analog-discovery-2:am-signal-generator-demodulator [2021/10/13 21:06] – external edit 127.0.0.1test-and-measurement:analog-discovery-2:am-signal-generator-demodulator [2022/10/04 11:38] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== AM Signal Generator/Demodulator (Under Construction) ======
 +<WRAP round todo>
 +== Under Construction ==
 +</WRAP>
 +
 +{{ reference:test-and-measurement:analog-discovery-2:am-signal-generator-demodulator:am-layers.gif |}}
 +
 +===== Introduction =====
 +
 +This workspace demonstrates how to generate AM signals with the Analog Discovery 2 and how to demodulate the signal to see the original waveform. The carrier frequency is 150kHz, the AM signal is 1kHz.
 +
 +The signal detected by the oscilloscope is processed through two functions that mimic the circuit elements used in an AM demodulator. "H-W Rectifier" mathematically mimics a half-wave rectifier and passes the positive half of the signal through while nullifying the negative. "Low Pass" is a software-based 2nd order low pass Chebyshev filter with a cutoff frequency of 2kHz. This isolates the signal that is being transmitted through the amplitude modulations. An actual demodulator would have subsequent steps, but this workspace demonstrates a signal conditioning technique for demodulating AM signals.
 +
 +
 +{{ reference:test-and-measurement:analog-discovery-2:am-signal-generator-demodulator:shot1.png?400 |}}
 +<WRAP GROUP> <WRAP COLUMN HALF>
 +{{ reference:test-and-measurement:analog-discovery-2:am-signal-generator-demodulator:shot2.png?400 |}}
 +</WRAP> <WRAP COLUMN HALF>
 +{{ reference:test-and-measurement:analog-discovery-2:am-signal-generator-demodulator:shot3.png?400 |}}
 +</WRAP> </WRAP>
 +----
 +===== Inventory =====
 +  * WaveForms
 +  * A Discovery Device:
 +    * [[https://digilent.com/shop/analog-discovery-2-100ms-s-usb-oscilloscope-logic-analyzer-and-variable-power-supply/|Analog Discovery 2]]
 +    * An Analog Discovery (Legacy) can also be used
 +  * Pmod TMP2
 +  * 2 pull-up resistors 1kΩ-100kΩ
 +  * {{ reference:test-and-measurement:analog-discovery-2:am-signal-generator-demodulator:am-signal-generator-demodulator.zip | AM Signal Generator/Demodulator ZIP Archive}}
 +
 +----
 +
 +===== Setup Instructions =====
 +=== 1. Software Setup ===
 +Download and extract the WaveForms workspace from the {{ reference:test-and-measurement:analog-discovery-2:am-signal-generator-demodulator:am-signal-generator-demodulator.zip | AM Signal Generator/Demodulator ZIP}} (also linked in the inventory section, above).
 +
 +----
 +
 +=== 2. Hardware Setup ===
 +The workspace is ready to use and only requires that the Oscilloscope Channel 
 +1 wires (solid orange and striped orange) be connected to the Function 
 +Generator Channel 1 (yellow) and ground (black), respectively. 
 +
 +----
 +
 +=== 3. Using the Workspace ===
 +
 +To capture a sample of the AM signal, press the "Single" button in the Scope 
 +1 screen on top, and then press the "Run All" button twice in the Wavegen 1 
 +screen on bottom. Each stage of the demodulation will be graphed, and can be 
 +toggled on or off. The stages of the demodulation are in order from top to 
 +bottom.
 +
 +
 +----
 +===== Final Notes =====
 +
 +For more guides and example projects for your Test and Measurement device, please visit its Resource Center, which can be found through this wiki's [[test-and-measurement:start]] page.
 +
 +For technical support, please visit the [[https://forum.digilentinc.com|Digilent Forums]].