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-18 [24 Apr 2017 08:37] – rename Antoniu Miclausuniversity:courses:electronics:electronics-lab-18 [02 Feb 2023 21:17] (current) – [Activity: The CMOS Analog Switch] Doug Mercer
Line 1: Line 1:
-====== Activity 18. The CMOS Analog Switch======+======ActivityThe CMOS Analog Switch - ADALM2000======
  
 ===== Objective: ===== ===== Objective: =====
Line 17: Line 17:
 1 - 4.7 KΩ resistor\\ 1 - 4.7 KΩ resistor\\
  
-{{ :university:courses:electronics:cd4007.png?400 |}}+{{ :university:courses:alm1k:cd4007_pinout.png?400 |}}
  
 <WRAP centeralign> CD4007 CMOS transistor array pinout </WRAP> <WRAP centeralign> CD4007 CMOS transistor array pinout </WRAP>
Line 29: Line 29:
 {{ :university:courses:electronics:a18_f1.png?500 |}} {{ :university:courses:electronics:a18_f1.png?500 |}}
  
-<WRAP centeralign> Figure 1NMOS Ron test circuit </WRAP>+<WRAP centeralign> Figure 1 NMOS Ron test circuit </WRAP> 
 +===== Hardware Setup: ===== 
 + 
 +{{ :university:courses:electronics:a18_nmos_bb.JPG? |}} 
 + 
 +<WRAP centeralign> Figure 2 NMOS Ron test circuit Breadboard Connections</WRAP>
  
 ===== Procedure: ===== ===== Procedure: =====
  
-Configure waveform generator 1 as a 100 Hz triangle wave with an amplitude of 4.5 volts and an offset of +500 mV. This will swing the voltage on the NMOS switch transistor from +5 volts to -4 volts. We can not swing the voltage all the way to -5 volts because of the NPN current source Q<sub>2</sub>. Be sure to turn on the external user power supplies (Vp and Vn) before running the waveform generator. Configure the scope screen in XY mode with C1 on the X axis, and C2 (the voltage across the switch) on the Y axis. Use the math function to calculate the resistance (C2 / 1mA). Note: You can get a more precise estimate of the current source by measuring the voltage across R<sub>1</sub> and its actual resistance.+Configure waveform generator 1 as a 100 Hz triangle wave with an amplitude of volts peak-to-peak and an offset of +500 mV. This will swing the voltage on the NMOS switch transistor from +5 volts to -4 volts. We can not swing the voltage all the way to -5 volts because of the NPN current source Q<sub>2</sub>. Be sure to turn on the external user power supplies (Vp and Vn) before running the waveform generator. Configure the scope screen in XY mode with C1 on the X axis, and C2 (the voltage across the switch) on the Y axis. Use the math function to calculate the resistance (C2 / 1mA). Note: You can get a more precise estimate of the current source by measuring the voltage across R<sub>1</sub> and its actual resistance. 
 +{{ :university:courses:electronics:a18_nmos_ss.png?300 |}} 
 + 
 +<WRAP centeralign> Figure 3 NMOS Ron X-Y trace </WRAP> 
  
 ===== Questions: ===== ===== Questions: =====
Line 49: Line 58:
 {{ :university:courses:electronics:a18_f2.png?500 |}} {{ :university:courses:electronics:a18_f2.png?500 |}}
  
-<WRAP centeralign> Figure PMOS Ron test circuit </WRAP>+<WRAP centeralign> Figure PMOS Ron test circuit </WRAP> 
 +===== Hardware Setup: ===== 
 + 
 +{{ :university:courses:electronics:a18_pmos_bb.JPG? |}} 
 + 
 +<WRAP centeralign> Figure 5 PMOS Ron test circuit Breadboard Connections</WRAP>
  
 ===== Procedure: ===== ===== Procedure: =====
  
 Repeat the sweep of the voltage from waveform generator W1 and plot the on-resistance of just the PMOS transistor. Repeat the sweep of the voltage from waveform generator W1 and plot the on-resistance of just the PMOS transistor.
 +{{ :university:courses:electronics:a18_pmos_ss.png?300 |}}
 +
 +<WRAP centeralign> Figure 6 PMOS Ron X-Y trace </WRAP>
  
 ===== Questions: ===== ===== Questions: =====
Line 69: Line 86:
 {{ :university:courses:electronics:a18_f3.png?500 |}} {{ :university:courses:electronics:a18_f3.png?500 |}}
  
-<WRAP centeralign> Figure CMOS Ron test circuit </WRAP>+<WRAP centeralign> Figure CMOS Ron test circuit </WRAP> 
 +===== Hardware Setup: ===== 
 + 
 +{{ :university:courses:electronics:a18_cmos_bb.JPG? |}} 
 + 
 +<WRAP centeralign> Figure 8 CMOS Ron test circuit Breadboard Connections</WRAP>
  
 ===== Procedure: ===== ===== Procedure: =====
  
-Repeat the sweep of the voltage and plot the on  resistance of the combined NMOS and PMOS transistors.+Repeat the sweep of the voltage and plot the on resistance of the combined NMOS and PMOS transistors. 
 +{{ :university:courses:electronics:a18_cmos_ss.png?300 |}} 
 + 
 +<WRAP centeralign> Figure 9 CMOS Ron X-Y trace </WRAP>
  
 ===== Questions: ===== ===== Questions: =====
Line 87: Line 112:
 ==== For Further Study: ====== ==== For Further Study: ======
  
-ADI Mini Tutorial on [[http://www.analog.com/static/imported-files/tutorials/MT-088.pdf|Analog Switches]]\\ +ADI Mini Tutorial on [[adi>static/imported-files/tutorials/MT-088.pdf|Analog Switches]]\\ 
-R<sub>ON</sub> Modulation in CMOS [[http://www.analog.com/static/imported-files/tech_articles/99941520Ron_Modulati_Whitepaper.pdf|Switches and Multiplexers]]+R<sub>ON</sub> Modulation in CMOS [[adi>static/imported-files/tech_articles/99941520Ron_Modulati_Whitepaper.pdf|Switches and Multiplexers]]\\ 
 +[[adi>library/analogdialogue/archives/45-05/switch_mux.html|Switches and Multiplexers]]\\ 
 +[[adi>media/en/analog-dialogue/raqs/raq-issue-173.pdf|On Building Physically Accurate Analog Switch Macromodels]]
  
 ====== Extra Challenge Activity: ====== ====== Extra Challenge Activity: ======
  
 Try measuring the Ron vs input voltage for other CMOS analog switches such as the CD4016, CD4066 quad switches or the CD4051, CD4052, and CD4053 analog multiplexers or the ADG419 SPDT analog switch or ADG333 quad SPDT switch. Compare your results to the Ron specified in the manufacturer product datasheets. Try measuring the Ron vs input voltage for other CMOS analog switches such as the CD4016, CD4066 quad switches or the CD4051, CD4052, and CD4053 analog multiplexers or the ADG419 SPDT analog switch or ADG333 quad SPDT switch. Compare your results to the Ron specified in the manufacturer product datasheets.
 +
 +<WRAP round download>
 +**Resources:**
 +  * Fritzing files: [[downgit>education_tools/tree/master/m2k/fritzing/cmos_analog_sw_bb | cmos_analog_sw_bb]]
 +  * LTspice files: [[downgit>education_tools/tree/master/m2k/ltspice/cmos_analog_sw_ltspice | cmos_analog_sw_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-18.1493015827.txt.gz · Last modified: 24 Apr 2017 08:37 by Antoniu Miclaus