Wiki

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
university:courses:electronics:electronics-lab-12m [23 Mar 2017 16:21] – [Materials:] Doug Merceruniversity:courses:electronics:electronics-lab-12m [25 Jun 2020 22:07] (current) – external edit 127.0.0.1
Line 1: Line 1:
-====== Activity 12M. MOS Differential pair ======+====== ActivityMOS Differential pair ======
  
 ===== Objective: ===== ===== Objective: =====
Line 5: Line 5:
 To investigate the simple differential amplifier using enhancement mode NMOS transistors. To investigate the simple differential amplifier using enhancement mode NMOS transistors.
  
-First a few notes on hardware limitation issues. The waveform generator in the Analog Discovery Lab system has a high output bandwidth and with that high bandwidth comes wide band noise. The input signal level needed for the measurements in this lab activity is rather small because of the gain of the differential amplifier. If the waveform generator output were used directly the signal to noise ratio of its output is not high enough. The signal to noise ratio can be improved by increasing the signal level and then placing an attenuator and filter ( figure 1 ) between the generator outputs and the circuit inputs. The materials needed for this are:+First a few notes on hardware limitation issues. The waveform generator in the ADALM2000 Lab system has a high output bandwidth and with that high bandwidth comes wide band noise. The input signal level needed for the measurements in this lab activity is rather small because of the gain of the differential amplifier. If the waveform generator output were used directly the signal to noise ratio of its output is not high enough. The signal to noise ratio can be improved by increasing the signal level and then placing an attenuator and filter ( figure 1 ) between the generator outputs and the circuit inputs. The materials needed for this are:
  
 2 - 100Ω resistors\\ 2 - 100Ω resistors\\
Line 35: Line 35:
 ===== Hardware Setup: ===== ===== Hardware Setup: =====
  
-The first waveform generator should be configured for a 200 Hz Triangle wave with volt amplitude and 0 offset. The second generator should be configured also for a 200 Hz Triangle wave with volts amplitude and 0 volts offset but with 180 degree phase. Channel one of the scope should be connected with 1+ to the output of the first generator, W1 and 1- connected to W2. Channel 2 should be connected to display 2+ and 2- and set to 1 V per division.+{{ :university:courses:electronics:diff_pair_tail_res_mos-bb.png|}} 
 + 
 +<WRAP centeralign> Figure 3 NMOS Differential pair Breadboard Circuit </WRAP> 
 + 
 +The first waveform generator should be configured for a 200 Hz Triangle wave with volt amplitude peak-to-peak and 0 offset. The second generator should be configured also for a 200 Hz Triangle wave with volts amplitude peak-to-peak and 0 volts offset but with 180 degree phase. Channel one of the scope should be connected with 1+ to the output of the first generator, W1 and 1- connected to W2. Channel 2 should be connected to display 2+ and 2- and set to 1 V per division.
  
 ===== Procedure: ===== ===== Procedure: =====
  
 The following data should be taken: The X axis is the output of the arbitrary waveform generator and the Y axis is scope channel 2 using both the 2+ and 2- inputs. By changing the value of R<sub>3</sub>, the student can explore the effects of the level of the tail current on the gain of the circuit (as seen in the slope of the line as it passed through the origin) and the linear input range and the shape of the nonlinear fall off in the gain as the circuit saturates. With minor additions to the basic circuit, such as source degeneration resistors, the student can explore techniques to extend and linearize the range of the input swing and the effects on circuit gain. The following data should be taken: The X axis is the output of the arbitrary waveform generator and the Y axis is scope channel 2 using both the 2+ and 2- inputs. By changing the value of R<sub>3</sub>, the student can explore the effects of the level of the tail current on the gain of the circuit (as seen in the slope of the line as it passed through the origin) and the linear input range and the shape of the nonlinear fall off in the gain as the circuit saturates. With minor additions to the basic circuit, such as source degeneration resistors, the student can explore techniques to extend and linearize the range of the input swing and the effects on circuit gain.
 +
 +{{ :university:courses:electronics:diff_pair_tail_res_mos-wav.png?500 |}}
 +
 +<WRAP centeralign> Figure 4 NMOS Differential pair XY plot </WRAP>
  
 {{ :university:courses:electronics:a12m_f3.png?400 |}} {{ :university:courses:electronics:a12m_f3.png?400 |}}
  
-<WRAP centeralign> Figure Gain curves </WRAP>+<WRAP centeralign> Figure Gain curves </WRAP>
  
 ====== Using a current source as the tail current.====== ====== Using a current source as the tail current.======
Line 55: Line 63:
 {{ :university:courses:electronics:a12m_f4.png?500 |}} {{ :university:courses:electronics:a12m_f4.png?500 |}}
  
-<WRAP centeralign> Figure Diff pair with tail current source </WRAP>+<WRAP centeralign> Figure Diff pair with tail current source </WRAP> 
 + 
 +===== Hardware Setup: ===== 
 + 
 +{{ :university:courses:electronics:diff_pair_tail_cs_mos-bb.png|}} 
 + 
 +<WRAP centeralign> Figure 7 Diff pair with tail current source Breadboard Circuit </WRAP> 
 + 
 +===== Procedure: ===== 
 + 
 +{{ :university:courses:electronics:diff_pair_tail_cs_mos-wav.png?500 |}} 
 + 
 +<WRAP centeralign> Figure 8 Diff pair with tail current source XY plot </WRAP>
  
 ====== Measuring Common Mode gain====== ====== Measuring Common Mode gain======
  
-Common mode rejection is a key aspect of the differential amplifier. CMR can be measured by connecting the base of both transistors M<sub>1</sub> and M<sub>2</sub> to the same input source. The plot below shows the differential output for both the resistively biased and current source biased differential pair as the common mode voltage is swept + and 200mV around ground .+Common mode rejection is a key aspect of the differential amplifier. CMR can be measured by connecting the base of both transistors M<sub>1</sub> and M<sub>2</sub> to the same input source. The plot below shows the differential output for both the resistively biased and current source biased differential pair as the common mode voltage from W1 is swept from +4.5V to -4.5V around ground. The gain will be effected the most as the transistors go from the saturation region to the triode (resistive) region as the positive voltage on the gates approaches the drain voltage. This can be monitored by observing the drain voltage single ended with respect to ground (i.e. with the 2- input grounded). The amplitude of the generator should be adjusted until the signal seen at the output just starts to clip/fold over(as you see in your waveform plot).  
  
 {{ :university:courses:electronics:a12m_f5.png?500 |}} {{ :university:courses:electronics:a12m_f5.png?500 |}}
  
-<WRAP centeralign> Figure Measuring Common Mode gain </WRAP>+<WRAP centeralign> Figure Measuring Common Mode gain </WRAP> 
 + 
 +===== Hardware Setup: ===== 
 + 
 +{{ :university:courses:electronics:common_mode_gain_mos-bb.png|}} 
 + 
 +<WRAP centeralign> Figure 10 Common Mode Gain Breadboard Circuit </WRAP> 
 + 
 +===== Procedure: ===== 
 + 
 +{{ :university:courses:electronics:common_mode_gain_mos-wav.png |}} 
 + 
 +<WRAP centeralign> Figure 11 Common Mode Gain Waveform </WRAP>
  
 ===== Questions: ===== ===== Questions: =====
Line 74: Line 107:
  
 What is common-mode voltage, and how should a differential amplifier (ideally) respond to it? What is common-mode voltage, and how should a differential amplifier (ideally) respond to it?
 +
 +<WRAP round download>
 +**Resources:**
 +  * Fritzing files: [[downgit>education_tools/tree/master/m2k/ltspice/mos_diff_pair_bb | mos_diff_pair_bb]]
 +  * LTspice files: [[downgit>education_tools/tree/master/m2k/ltspice/mos_diff_pair_ltspice | mos_diff_pair_ltspice]]
 +</WRAP>
  
 **Return to Lab Activity [[university:courses:electronics:labs|Table of Contents]]** **Return to Lab Activity [[university:courses:electronics:labs|Table of Contents]]**
university/courses/electronics/electronics-lab-12m.1490282492.txt.gz · Last modified: 23 Mar 2017 16:21 by Doug Mercer