This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
university:courses:electronics:electronics-lab-19 [29 Dec 2012 19:06] – [Description:] Doug Mercer | university:courses:electronics:electronics-lab-19 [23 Aug 2019 13:52] (current) – Antoniu Miclaus | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Activity | + | ====== Activity: The Switched Capacitor ====== |
===== Objective: ===== | ===== Objective: ===== | ||
Line 9: | Line 9: | ||
A switched capacitor is an electronic circuit element used in discrete time signal processing systems. It works by transferring charge into and out of a capacitor when switches are opened and closed. Usually, non-overlapping signals are used to control the switches, often termed Break before Make switching, so that all switches are open for a very short time during the switching transitions. Filters implemented with these elements are termed ' | A switched capacitor is an electronic circuit element used in discrete time signal processing systems. It works by transferring charge into and out of a capacitor when switches are opened and closed. Usually, non-overlapping signals are used to control the switches, often termed Break before Make switching, so that all switches are open for a very short time during the switching transitions. Filters implemented with these elements are termed ' | ||
- | ====== | + | ====== |
The most simple switched capacitor circuit is shown in figure 1, the switched capacitor resistor. It consists of one capacitor C< | The most simple switched capacitor circuit is shown in figure 1, the switched capacitor resistor. It consists of one capacitor C< | ||
Line 43: | Line 43: | ||
http:// | http:// | ||
- | ====== | + | ====== |
The next step is to build an example circuit using the Switched Capacitor as a resistor. By adding a second capacitor C< | The next step is to build an example circuit using the Switched Capacitor as a resistor. By adding a second capacitor C< | ||
Line 52: | Line 52: | ||
===== Materials: ===== | ===== Materials: ===== | ||
- | Analog Discovery Lab hardware\\ | + | ADALM2000 Active Learning Module\\ |
Solder-less breadboard\\ | Solder-less breadboard\\ | ||
Jumper wires\\ | Jumper wires\\ | ||
Line 67: | Line 67: | ||
===== Directions: ===== | ===== Directions: ===== | ||
- | The breadboard connections are as shown in figure 4. If you are using the power supplies from the Discovery | + | The breadboard connections are as shown in figure 4. If you are using the power supplies from the ADALM2000 |
{{ : | {{ : | ||
Line 75: | Line 75: | ||
===== Hardware Setup: ===== | ===== Hardware Setup: ===== | ||
- | Waveform generator W1 should be configured as a 100 Hz sine wave with a 500 mV amplitude and zero offset to start out. Waveform generator W2 should be configured as a 100 KHz square wave with a 5 V amplitude and zero offset. Scope channel 1 should be connected to the input of the filter and Scope channel 2 should be connected to the output of the filter. | + | Waveform generator W1 should be configured as a 100 Hz sine wave with a 1 mV amplitude |
===== Procedure: ===== | ===== Procedure: ===== | ||
Turn on the power supplies and enable both AWG channels. Using the oscilloscope display observe the output amplitude of the filter relative to the input as you change the input frequency, AWG1. Also note any changes in the output amplitude as you change the switching frequency by adjusting the frequency of AWG2. | Turn on the power supplies and enable both AWG channels. Using the oscilloscope display observe the output amplitude of the filter relative to the input as you change the input frequency, AWG1. Also note any changes in the output amplitude as you change the switching frequency by adjusting the frequency of AWG2. | ||
- | Stop and close the Oscilloscope screen and now open the Network Analyzer instrument ( Bode plotter ). You will need to disable AWG channel 1 on the waveform generator screen but keep channel 2 enabled and set to 100 KHz, 5 V amplitude, zero offset as it was previously. Set up the Analyzer to sweep the filter input from 100 Hz to 10 KHz. Run sweeps with AWG2 set to 100 KHz, 200 KHz and 500 KHz. Export the data for each sweep to a .csv file and using a spreadsheet program like Excel make plots of the amplitude and phase vs. frequency similar to the plots in figure 5 and 6. | + | Stop and close the Oscilloscope screen and now open the Network Analyzer instrument ( Bode plotter ). You will need to disable AWG channel 1 on the waveform generator screen but keep channel 2 enabled and set to 100 KHz, 10 V amplitude |
{{ : | {{ : | ||
Line 98: | Line 98: | ||
How well do these Bode plot curves match a simple RC low pass filter response? | How well do these Bode plot curves match a simple RC low pass filter response? | ||
- | ====== | + | ====== |
===== Objective: ===== | ===== Objective: ===== | ||
Line 128: | Line 128: | ||
===== Procedure: ===== | ===== Procedure: ===== | ||
- | Start with AWG1 and AWG2 both set up for sine waves with equal amplitudes of 500 mV and zero offset but with AWG2 set with 180 degree phase. This will result with a differential signal with 1 V amplitude ( 2 V peak to peak ). Observe the signal at the output and record the minimum and maximum values along with the DC ( average ) value of the output. | + | Start with AWG1 and AWG2 both set up for sine waves with equal amplitudes of 500 mV peak-to-peak |
Repeat these measurements with the DC offset of both AWG1 and AWG2 set to 250 mV, 500 mV, -250 mV and -500 mV. | Repeat these measurements with the DC offset of both AWG1 and AWG2 set to 250 mV, 500 mV, -250 mV and -500 mV. |