Both sides previous revisionPrevious revisionNext revision | Previous revision |
university:courses:electronics:electronics-lab-6m [22 Oct 2018 05:31] – Added scopy screenshots to the activities Trecia Agoylo | university:courses:electronics:electronics-lab-6m [25 Jun 2020 22:07] (current) – external edit 127.0.0.1 |
---|
====== Activity 6M. NMOS as a Current Mirror ====== | ====== Activity: NMOS as a Current Mirror ====== |
| |
===== Objective: ===== | ===== Objective: ===== |
===== Hardware Setup: ===== | ===== Hardware Setup: ===== |
| |
In the current mirror configuration, the opamp serves as a virtual ground at the mirror input (gate) node to convert the voltage steps from AWG 1 ( W1 output ) into current steps through the 1K? resistor. The drain voltage is swept using a ramp from AWG 2(output W2) set to 3V peak to peak with the offset to 1.5V. V<sub>DS</sub> of output device M<sub>2</sub> is measured differentially by scope inputs 1+, 1-. The mirror output current is measured by scope inputs 2+. 2- across 1K? resistor, R<sub>2</sub>. | In the current mirror configuration, the opamp serves as a virtual ground at the mirror input (gate) node to convert the voltage steps from AWG 1 ( W1 output ) into current steps through the 1K? resistor. The drain voltage is swept using a ramp from AWG 1(output W1). Load the stairstep.csv file, set amplitude to 3V peak-to-peak with the offset to 1.5V. |
| V<sub>DS</sub> of output device M<sub>2</sub> is measured differentially by scope inputs 1+, 1-. The mirror output current is measured by scope inputs 2+. 2- across 1K? resistor, R<sub>2</sub>. |
If you don't want to use the op-amp configuration the following simplified configuration can be used as well. | If you don't want to use the op-amp configuration the following simplified configuration can be used as well. |
| |
Two identical transistors with the same gate to source voltage will have the same drain current I<sub>D</sub>. The second transistor, M<sub>2</sub>, in effect mirrors the current in the first, M<sub>1</sub>. Remembering the drain current to gate source voltage relationship for a MOS transistor: | Two identical transistors with the same gate to source voltage will have the same drain current I<sub>D</sub>. The second transistor, M<sub>2</sub>, in effect mirrors the current in the first, M<sub>1</sub>. Remembering the drain current to gate source voltage relationship for a MOS transistor: |
| |
{{ :university:courses:electronics:a6m_ne1.png?250 |}} | {{ :university:courses:electronics:a6m_ne1.png? 250 |}} |
| |
where K =μ<sub>n</sub>C<sub>ox</sub>/2<sub></sub> and λ can be taken as process technology constants.\\ | where K =μ<sub>n</sub>C<sub>ox</sub>/2<sub></sub> and λ can be taken as process technology constants.\\ |
<WRAP centeralign> Figure 5 Current Mirror waveform </WRAP> | <WRAP centeralign> Figure 5 Current Mirror waveform </WRAP> |
| |
| <WRAP round download> |
| **Resources:** |
| * Fritzing files: [[downgit>education_tools/tree/master/m2k/fritzing/mos_current_mirror_bb | mos_current_mirror_bb]] |
| * LTspice files: [[downgit>education_tools/tree/master/m2k/ltspice/nmos_cur_mirror_ltspice | mos_current_mirror_ltspice]] |
| </WRAP> |
===== Questions: ===== | ===== Questions: ===== |
| |