Lab 03: Differential Amplifiers (MOSFET) (20 points)

NOTE:

1) Please use the basic current mirror from Lab01 for the second part of the lab (Fig. 3).

2) You can use the same chip as the basic current mirror; make necessary connections for the diff pair.

3) The procedure is same for both types of amplifiers (common-source or common-source).

Objectives

The purpose of this lab is build and analyze Differential amplifiers based on NMOS transistors (or NPN transistors).

In this lab, we will build the differential amplifier and determine Common Mode Rejection Ratio (CMRR) for two types of configuration for the biasing the source: one with bias resistor and the other with current mirror. A major benefit of using the differential amplifier is to get rid of noise or interference signal present in the input signal.

You can use any NMOS transistors that meet the objective (recommendation: 2N7000TA or ALD1106 (NMOS Array)). You will need to look up the datasheet to determine Vtn and VA.

Fig. 1: Differential amplifier with bias resistor

1.0 Differential Amplifier with Bias Resistor

Fig. 1 shows the differential amplifier which uses the resistor RSS as the bias resistor.

Here VDD=VSS=10 V, ID=1mA. M1 and M2 should be a matched pair of NMOS transistors (you will have to find the two that are closely matched by trial and error).

As explained the class, the differential amplifier amplifies the differential input signal, Vid = (Vin+) - (Vin-), where the differential signals are applied at the gates of the transistors as shown in Fig. 1. The differential output can be taken across the drains as, Vod=(Vo+)-(Vo-). Note that the differential input (and output) signals have phase shift of 180 deg between them (180 deg phase shift corresponds to the opposite polarity). An ideal differential amplifier should have differential input signals with identical amplitudes.

First determine the values of RD and RSS. RSS can be found by finding the DC common source voltage (VS) based on the gate-source voltage drop (first find VOV based on the saturation equation and current=ID/2. Then use Vtn from the datasheet to find VGS). Remember that RSS = VS-(-VSS)/ID. Select RD such that the transistor operates deep in the saturation-mode. For example, RD=10 kΩ will make the dc voltage at the drain (VD) ~5V. Drain current in each of the branches will be half of the bias current (iD). It is best to make sure that the drain voltage is less than VCMmax in eq. 8.7.

L1: What are the values of RD and RSS?

In order to determine the common-mode rejection ratio (CMRR), we need to calculate the common-mode gain, Acm and differential-mode gain, Ad.

1.0.1 Common-mode Gain Acm

The amplifier exhibits the common-mode gain when both the input signals are same (common). Ideally the amplifier should completely reject the common-mode signal. However, the amplifier will not completely reject the common-mode signal due to the mismatches in gm, the bias resistors, the drain resistors RD, the finite impedance of the current source at the drain and so on. Consequently, the common-mode gain represents the ability of the amplifier to amplify noise. So the lower the common-mode gain, the better the amplifier will be at rejecting common-mode interference or noise.

Let’s apply a 1Vdc (or 1-kHz sinusoidal signal of 2V peak-to-peak) to both inputs. Calculate common-mode gain based on these input signals (see eq. 8.49, assume 1% mismatch between the resistors).

L2: What is the calculated common-mode gain Acm of the differential amplifier?

1.0.2 Differential Voltage Gain Ad

The amplifier will exhibit differential voltage gain when you apply differential input signals (equal amplitude and opposite polarity). The differential voltage gain is the ratio of output differential voltage over the input differential voltage. This is the central theme of a differential amplifier.

For the purposes of calculation and simulation, we will assume that the two input signals have equal amplitudes and are 180 deg out of phase with each other (opposite polarity). Calculate the differential voltage gain for input signals of 20 mV peak-to-peak at 1 kHz (see eq. 8.36).

L3: What is the calculated differential voltage gain Ad of the differential amplifier?

1.0.3 Common Mode Rejection Ratio (CMRR)

The CMRR is a measure of the effectiveness of the differential pair in amplifying the differential signal while rejecting common-mode interference. It is simply the ratio of the magnitude differential voltage gain to the magnitude of common-mode gain (see eq. 8.50a, b, c). Calculate the CMRR in dB (20*log10(x)). Note: We will assume that the main contribution to CMRR is the mismatch between the drain resistors.

L4: What is the calculated common-mode rejection ratio CMRR (dB) of the differential amplifier?

1.1 Simulation

Simulate the circuit shown in Fig. 1 and determine the CMRR (in dB) of the amplifier.

1.1.1 Common-mode Gain

step1: Make sure to change either of drain resistor to +/- 1% of the other resistor value (e.g.

10 kΩ and 9.9kΩ represent the mismatch).

step2: Apply a 1Vdc (or 1-kHz sinusoidal signal of 2V peak-to-peak) to both inputs. This

will make the two input signals common-mode. Run the simulation.

step3: Plot (vo+) - (vo-). Note the peak value and calculate the ratio of this value to input

amplitude. This is the common-mode gain.

L5: What is the simulated common-mode gain Acm of the differential amplifier?

1.1.2 Differential Voltage Gain

step1: Set the phase of one of the input voltages to 180 deg and amplitudes to small values (e.g. 10 mVamp). Run simulation.

step2: Plot (vin+)-(vin-) and (vout+)-(vout-) on the same plot, use markers and obtain the ratio of

output differential voltage to input differential voltage.

L6: What is the simulated differential voltage gain Ad of the differential amplifier?

Based on the above numbers, find the CMRR in dB (20*log10(x)).

L7: What is the simulated CMRR (dB) of the differential amplifier?

Please see the next page for the experimental set up.

1.2 Experiment

Don’t forget to check the multi-meter mode before you measure a current or voltage, if it is set incorrectly you will blow a fuse!

HIGH-Z MODE Make sure you put the function generator in High-Z mode. Otherwise

your signal amplitudes will be off by factor two.

Repeat 1.1 to determine the CMRR of the amplifier.

1.2.1 Common-mode Gain

Before you begin, first check the input signal, vin (same input applied at both the gates) and the output signal, vo+ or vo- (output signal at either of the drains) on the oscilloscope. Ensure that there is no distortion. If you observe noticeable distortion, reduce the input signal amplitude until the distortion disappears. If you cannot lower the amplitude enough to get rid of the distortion completely, build a resistive voltage divider to attenuate the input signal further. If you use a voltage divider to attenuate your input signal, don’t forget to factor the attenuation into your gain calculations. You can also increase VOV (by increasing the current) to improve the linearity (see Fig. 8.7 in the text).

Apply a 1-kHz sinusoidal signal of 0.1V peak-to-peak to both inputs. Measure the amplitude of the differential output signal, Vod=(Vo+)-(Vo-). Calculate the common-mode gain (=vod / vicm). Is the common mode gain higher or lower than your calculated and simulated values? Why?

L8: What is the measured common-mode gain Acm of the differential amplifier?

1.2.2 Differential Voltage Gain

To measure the differential mode gain, you will need two equal amplitude signals with opposite polarity. We can supply the needed signals with the circuit shown in Fig. 2. You can use any opamp that accomplishes this task (alternatively you can use any other scheme that produces differential input signals). You can use a potentiometer for R2 which will be useful for fine adjustment. Make R2=R1=1kΩ. Connect a 1-kHz, 0.1Vamp sinusoidal signal and measure Vin+ and Vin- on the oscilloscope (you should reduce the amplitude later after you get the op-amp working). Set the scope to sum the two channels (use math function). The sum should be as close to zero as possible (since Vin+ and Vin- have opposite polarity). Adjust R2 until you achieve zero sum. Note that Vin+ and Vin- are passed through the blocking caps CB before connecting them to the transistors.

Fig. 2: Circuit with op-amp for creating differential input signals

Now reduce the amplitude of the input signal Vin until the output signal, Vod is sinusoidal (for no distortion, you may need to build the voltage divider to attenuate the input signal further). Measure both Vid and Vod. Remember that Vid=(Vin+)-(Vin-) and Vod=(Vo+)-(Vo-). Please make note of where the two output signals are measured in Fig. 1. Calculate the differential voltage gain as the ratio, Vod/Vid.

L9: What is the measured differential voltage gain Ad of the differential amplifier?

Based on the above numbers, find the CMRR in dB (20*log10(x)).

L10: What is the measured CMRR (dB) of the differential amplifier?

Create a table with calculated, simulated and measured values of Acm, Ad, and CMRR in your report. Comment on the discrepancies.

2.0 Differential Amplifier with Current Mirror

Fig. 3: Differential amplifier with current mirror

Build the circuit shown in Fig.3 by using a current mirror at the common source to improve the CMRR. You can use the basic current mirror you constructed in lab1 to accomplish the task (select the appropriate value of Rp to provide the bias current of 1 mA). Is CMRR higher than the previous circuit? If so, why?

L11: What is the measured CMRR (dB) of the differential amplifier with current mirror?

Weber State University EE3120 Microelectronics II Suketu Naik