









Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!










ECE 2B Lab #
In this lab you will experiment with the three types of transistors: JFETs, BJTs, and MOSFETs. Later coursework (ECE132) will teach you about the physics of how these devices work. Our goal in ECE2 is more practical and focused on using the devices: understanding their current-voltage characteristics, and learning how to configure the circuit environment for the transistor to set the appropriate biasing conditions. In this lab we will not build any clever functional circuits; the goal is simply to learn how to bias transistors correctly. This is always the first step in transistor circuit design, and is crucial to determining the success or failure of the circuit. In fact, most of the mistakes made by beginning students with transistor circuits can usually be traced to incorrect DC biasing.
Pre-lab Preparation 2 Before Coming to the Lab 2 Parts List 2 Background information 3 Transistor Basics 3 Junction Field-Effect Transistors 3 Metal-Oxide-Semiconductor (MOS) Devices 5 Bipolar Junction Transistors 7 In-Lab Procedure 9 3.1 Depletion-mode FETs (JFET) 9 Measuring I-V characteristics 9 JFET Biasing Circuit 10 3.2 Enhancement-mode MOSFETs 11 Gate-Drain ID-Vgs Characteristics 11 Four-Resistor Bias Circuit 12 Simple LED Blinker 13 More on Switching 13 3.3 CMOS Circuits 14 3.4 Bipolar Junction Transistors (BJTs) 16
2 Transistors at DC
Before Coming to the Lab
□ Read through the lab experiment to familiarize yourself with the components and assembly sequence.
□ Calculate the bias resistor values that are required in each of the steps. This will save you time during the lab experiment
□ Each group should obtain a parts kit from the ECE Shop.
Parts List
Use stocked cabinet in lab and the bench decade box for any required resistors
Laboratory #
Qty Description 2 2N5485 n-ch JFET 2 2N7000 NMOS 2 2N3904 NPN BJT 2 2N3906 PNP BJT 1 CD4007 CMOS pair/inverter 1 1uF capacitor (electrolytic, 25V, radial) 2 Red LED (20mA)
4 Transistors at DC
voltage on the gate. The “source” is the place where the charge carriers enter the channel, and after passing through the “gate” region they exit at the “drain”. In an “n-channel” FET like the one shown in Figure 3-2, the charge carriers are electrons (the “n” is for “negative charge”), and so the current flow is opposite to the flow of electrons. We’ll discuss the opposite device, the “positive”-channel FET later. A nice feature of FETs is that the DC gate current is negligibly small, so the gate terminal is essentially an open circuit at DC. That makes them very easy to use. So, with reference to Figure 3-2, the important thing left to understand is how the drain-source current (^) d varies with the gate voltage. Figure 3-3 shows some idealized current-voltage characteristics for the case where the drain-source voltage Vds is varied while the gate-source voltage Vgs is held constant at several different values. This is called a common-source configuration because the source terminal is the common reference potential for the gate and drain voltages.
I (^) d
Vgs
Vds
I (^) g = 0
Saturation region I (^) D
Vgs ≤ Vt (cutoff)
Ohmic or Triode region
Vds
Vgs= Vt + 0.
Vgs= Vt + 1.
Vgs= Vt + 1.
Vgs= 0
G
D
S
I (^) dss
Increasing V
gs
Figure 3-3 – Simple common-source bias configuration and resulting current-voltage characteristics for an n-channel JFET.
The first important feature of the I-V curves is that they all level out at sufficiently high ds ; this is called the “saturation region”, because the drain current has reached a saturation point where it can’t increase any further (contrast this with a resistor, where the current just keeps increasing linearly with voltage). It’s not obvious yet, but we will find that this is the most important region for FET operation in practice.
The second key feature is that there is a critical gate voltage that makes the drain current go to zero; this is called the threshold voltage (^) t , also called the “pinch-off” voltage because charges are prevented from entering the channel, much like a plastic tube that has been pinched closed. In n-channel JFETs the pinch-off voltage is negative , usually on the order of a few volts. For (^) gs
V < V t the drain current is zero, Id = 0 ; we could say that the device is in its “off” state. When Vgs^ t , the channel conducts and the device is “on”. In a simple sense the device acts like a voltage-controlled switch, and many applications use FETs in this way.
In the saturation region, the drain current is a constant that only depends on the gate voltage, so a good model is the voltage-controlled current source as suggested in Figure 3-2. The I^ d vs. Vgs relationship is given by 2 Saturation: (^) D dss 1^ gs when (^) gs t , ds gs t t
Background information 5
In a JFET the maximum gate bias than can be applied is typically (^) (max) , and the drain current at this maximum bias is labeled (^) dss. So clearly there are two critical parameters of interest for the JFET: (^) dss and Vt. Once we know those two things, (3.1) allow us to predict the drain current at any other gate voltage. A caution: state-of-the-art short-channel FETs do not always obey (3.1)! Bt that is a topic for 137AB (and beyond…).
Vgs = 0V I I
For small drain-source voltages the channel current does not reach saturation and instead varies almost linearly with Vds , much as it would in an ordinary resistor, so this region is called the “Ohmic” region. In this case it can be shown that the drain current is given by 2 Ohmic: (^) D dss 2^ gs^ 1 ds^ ds (^0) ds gs t t t t
Note that when Vds is small, this equation reduces to
1/
ds
dss gs D ds ds gs t t t R
This is interesting because it shows that for small Vds the device can be used as a voltage- controlled resistance, potentially useful in some applications. In most cases we will be trying to operate the device in the saturation region, but when used as a switching device, the voltage across the device in the “on” state is often small to minimize power dissipation, and (3.3) tells us that the minimum resistance in this on state occurs for Vgs = 0 and is given by
t DS on dss
r I
This is often a key figure of merit for a switching device. We mentioned the fact that FETs can be n-channel or p-channel devices. What’s the difference? Basically the current flow is in the opposite direction in p-channel devices; it flows from source to drain instead, and the polarity of the gate bias is reversed. Consequently the I-V characteristics are essentially the same as long as we replace Vgs by Vs (^) g , and Vds by
sd.^ For a given device size, p-channel devices tend to have smaller^ dss , a larger on-state resistance, and poorer high-frequency performance when compared with n-channel devices. So in most cases it is preferable to use n-channel FETs, but we will see that p-channel FETs can be useful in combination with some n-channel devices.
Metal-Oxide-Semiconductor (MOS) Devices
The JFET is an example of a so-called depletion-mode device because with no gate bias, the channel normally has an abundance of charge carriers, and a negative applied voltage is required to deplete the channel of charges and pinch-off the device. Remember that we said the device is considered “on” when conducting, and “off” when the drain current is zero. For this reason, depletion-mode FETs like the JFET are called “normally on” devices; if you take away the gate bias they will always be “on” (conducting). In some applications it is desirable to have a normally-off device instead. The need for a negative gate bias also complicates the gate bias circuit, and sometimes makes it necessary to use a bipolar power supply (one with both positive and negative outputs) to power the circuit. There is a different type of FET that removes these limitations, the enhancement-mode MOSFET. MOS is short for metal-oxide-semiconductor, which simply describes how the device is made; it is similar to a JFET but with an insulating oxide layer sandwiched between
Background information 7
similarly labeled PMOS. Integrated circuits that employ both types of transistors on the same chip are called CMOS (Complementary MOS) circuits. CMOS technology is by far the most dominant integrated-circuit technology. It is also possible to create MOS devices that have a negative threshold voltage and hence devices that operate in a depletion mode. These differ from JFETs in that we can apply gate voltages greater than zero volts, so depletion-type MOSFETs are really kind of a hybrid device that combines elements of depletion and enhancement characteristics. So, there are basically six types of FETs that we can group into a family tree as shown in Figure 3-6.
JFET, MESFET
Depletion-mode (negative V t)
n-ch p-ch
MOSFET
Depletion-mode (negative V t)
Enhancement-mode (positive V t)
n-ch p-ch n-ch p-ch
Figure 3-6 – Simple family tree for Field-Effect Transistors. In this lab we will experiment with an n-channel JFET, an n-channel enhancement-mode MOSFET, and a simple CMOS circuit. In the process we will cover the essential features of many devices in this family tree.
Bipolar Junction Transistors
The BJT (Bipolar Junction Transistor) is both physically and operationally distinct from FETs. Whereas FETs are voltage-controlled devices, BJTS are current-controlled devices. BJTs were in fact the first type of transistor to be widely commercialized, and still play an important role in certain analog circuits and other applications. Figure 3-7a shows the symbol for an NPN BJT. The primary current path is between the “collector” and “emitter”, and this current is modulated or controlled by the current in the “base” terminal. The arrow in the BJT symbol indicates the direction of current flow in a device that is biased in the forward active region. Figure 3-7b shows an equivalent circuit for the NPN BJT. The base-emitter junction is modeled by a diode, so immediately we can see that current will only flow if the diode is “on”; that is, if the base is positively biased with respect to the emitter by the diode turn-on voltage (~0.7V for Silicon devices).
Base
Emitter
Collector
Ic =βI (^) B
B
C
E (a) (b) Figure 3-7 – (a) BJT symbol, (b) Simplified equivalent circuit in the forward active region for DC calculations.
8 Transistors at DC
When the base-emitter junction is forward biased, the action of the transistor causes a current
appropriately called the current gain of the device. One nice feature of the BJT is immediately apparent: the relationship between collector current and base (control) current is a simple, linear function. No nasty equations here! Typical I-V characteristics are shown in Figure 3-8. The device is turned “off” when the base-current is zero, and turned on when a base-current is allowed to flow (base-emitter diode is forward biased). Clearly there are qualitative similarities between all the transistors in terms of their I-V curves, but the terminology used in BJTs is a little different. For example, the shaded region in the I-V curve is called “saturation” here, and the region where the collector current is relatively constant is called the forward active region. The boundary between the two occurs when vce sat (^) , ≈ 0.3V. One feature we are showing in Figure 3-8 is a positive slope on the curves in the forward active region. This is present to some degree in most transistors (FETs too). We typically ignore this effect for DC calculations, but it can be an important effect in some circuits. We will learn how to model such non-idealities later.
I (^) c
vce
I (^) b
I (^) c, , mA (^) Forward active region
VCE
70 μA
Increasing I
b
v (^) be
v (^) cb
60 μA 50 μA
40 μA 30 μA 20 μA 10 μA 0 μA Vce,sat
2
4
6
8
I (^) e
Figure 3-8 – Common-emitter bias configuration and I-V characteristics for the NPN BJT.
Biasing the BJT typically involves choosing the desired collector current and collector- emitter voltage (usually somewhere in the forward active region), determining what base- current is required to achieve this current, and then building a circuit around the device that is consistent with these parameters. With reference to Figure 3-7b, we can see that establishing a desired base current is just a simple diode biasing problem. Once thebase current is established, the collector and emitter currents are given by
c F e
Like FETs, BJTs come in two flavors, NPN and PNP, which are complementary devices in the same sense as n-channel and p-channel FETs.
10 Transistors at DC
Ids [mA] (record for each gate voltage below)
Vds [V] Vgs =0 V Vgs = -0.5V Vgs = -1.0V Vgs = -1.5V 0
1 2 5 10 15
Looking at the data above, you should clearly see the general features that we expect for FETs: at the higher drain-source voltages ( Vds >5V) the current is nearly constant and depends only on Vgs. It is this ability to control the current using a separate signal on the gate that makes FETs so useful. In your lab report, generate a set of I-V curves from your data. Compare the Id -vs- Vgs data against the theoretical square-law relation. Do not do this during the lab period!
JFET Biasing Circuit
When we say “transistor bias”, what we mean is configuring the circuit so that the transistor operates with a specified DC output current and voltage. Usually the electronic system will have some specified power-supply voltage ( e.g. ±12 V), and it is our job to design the circuit to set the correct current and voltage levels on the transistor using the available voltages. Consider the simple JFET circuit shown in Figure 3-10, powered from a 12V supply. To bias the transistor correctly in this case, we need to establish the correct gate voltage (which governs the drain current that can flow in saturation) and then we must choose the drain resistor to set the desired output voltage.
□ Using the I-V data you took earlier, determine what gate voltage and resistor value is needed to make Vout = +7 V and using a 2N5485 in the circuit of Figure 3-10.
I (^) d = 5mA
□ Now build the circuit and measure the output voltage (choose the nearest stock resistor value for your design). Use the bench supply for the gate bias. How close did you come? In such situations engineers will usually declare victory if they are within ±10% of the design goal! There are always uncertainties in device parameters and resistor values that make higher levels of precision a difficult challenge.
Vg =? Vout
I (^) d
+12 V
R =?
Figure 3-10 – A simple JFET biasing challenge
Note that if the gate voltage were suddenly disconnected for some reason, then the maximum drain current will flow. For this reason we say that depletion-mode devices are “normally on” devices; we have to apply a negative bias to shut them “off”.
Enhancement-mode MOSFETs 11
The negative gate bias that is required for depletion-mode devices is a slight annoyance, but there is a simple trick that we can use to “self-bias” the gate: this is shown in Figure 3-11. Can you see how this works? Since the gate is grounded, the voltage drop across the source resistance Rs puts the source at a higher potential than the gate, thus making Vgs negative.
□ Choose the source resistance Rs to establish the bias conditions that you had in the previous step. Choose the nearest stock resistor value and build the circuit. How close did you come this time?
JFETs have been largely displaced by MOS technology, but they share many common features with depletion-mode MOSFETs. There are also other depletion-mode devices (Gallium-Arsenide- based MESFETs and HEMTs) with characteristics somewhat similar to JFETs that are widely used in high-frequency applications such as radar and satellite communications. So a study of JFETs is worthwhile.
Vout I (^) d
+12 V
R (^) D
RS =?
Vgs
Figure 3-11 – Self- biasing JFET circuit.
Most transistor electronics today are based on a different type of device, the enhancement- mode MOSFET. Enhancement devices have some attractive features that make them more desirable and/or easier to use than JFETs and other depletion-mode devices. Two important advantages are: 1) they have a positive gate threshold voltage (i.e. they do not require negative gate bias); and consequently 2) they “normally off” devices.
Gate-Drain ID-Vgs Characteristics
The MOSFET we are using in this lab is a 2N7000, an n-channel enhancement-mode device. It is a small-signal device that is suitable for controlling DC currents on the order of <200 mA, at drain voltages <60V. Since we already know what to expect for the I-V characteristics (the data-sheet also includes some representative curves), lets just measure the Id - Vgs curve to find the important design parameters:
□ Find the 2N7000 device in your kit, and construct the simple biasing circuit shown in Figure 3-12. Note the pin assignments have changed! Here the gate voltage will be positive with respect to the source ( ). Note also the addition of a 1uF capacitor on the gate (needed for stability reasons).
Vgs > 0
I (^) D
Gate
Source
Drain
Vgs
Vds (^) 3 V
1 μF
Figure 3-12 – N-channel enhancement MOSFET device and common-source circuit for Id-Vgs characterization.
□ Set Vgs = 0 and then increase the drain voltage to Vds = 3V. The device should be off (no current flowing). Now increase (^) gs slowly until the current reaches about 100mA (this should typically happen around 3V). We don’t want to exceed this current level, in order
Enhancement-mode MOSFETs 13
□ Since the FET draws negligible current at the gate terminal, we can make a simple voltage divider to derive the +5V gate bias from the +10V supply, as shown in Figure 3-13b. Do this for your design from the previous step, choosing the gate resistance Rg appropriately, and re-measure Vd and Vs.
The circuit you just made is one of the most common biasing networks for MOSFET amplifiers, often simply called a four-resistor bias network. A similar scheme works for BJTs too. This network gives us a lot of flexibility in choosing the bias conditions, and has the advantage of requiring only a single supply voltage. Incidentally, you may wonder why a 100kΩ resistor was chosen for the voltage divider on the gate. Why not 1kΩ, for example? One reason is simply to minimize the current draw from the power supply; if this circuit were powered from a battery, any current through this resistor divider is really wasted current, and would reduce the battery life. In later coursework we will learn other considerations that impact the choice of this resistance.
Simple LED Blinker
In the bias circuit you just made, you chose resistors to set a current level of around 20mA, with a voltage drop of around 2V across the drain resistor. Those are also the terminal conditions that describe the on-state of a red LED, so we can swap out Rd and replace it with a red LED without changing the operation of the circuit.
+10 V
RS
Vin
0 V
5 V
Figure 3-14 – Simple LED Blinker
Now, if we ground the gate terminal the device would then be off, and no current would flow in the LED. Thus we should be able to turn the LED on and off by varying the gate voltage between zero and 5V.
□ Build the circuit in Figure 3-14 using your source-resistance from the previous step. Use the function generator to apply a 0-5V square wave to the gate terminal of the device. Adjust the frequency to a low enough value (on the order of 1 Hz) so that you can see the LED turn on and off. At what frequency can you no longer discern the flickering of the light? This question is relevant to our future discussion of LED displays.
This is our first example of using the transistor as a kind of electronic “switch” to turn something on or off. Note that the function generator is basically supplying no current (and hence no power) to the circuit; all the current for the LED comes from the +10V supply. This ability to control a large current with a separate and smaller signal is a central concept in the application of transistors.
More on Switching
Now, if we really wanted to operate the FET as a more ideal switch, we would try to make the device look like an open-circuit in the off state, and a short-circuit in the on-state. How can we do this? The off-state is easy, just bias the gate below pinch-off so that no current flows. In fact we already did this in the LED blinker. To make it look like a short-circuit in the on-state we must configure the circuit so that the output voltage is very small when the device is
14 Transistors at DC
conducting; that is, we need to make the on-state resistance small in comparison to all the other resistances in the circuit. Consider the circuit shown in Figure 3-15. When the input voltage is 0V, the device is off and no current flows through Rd. This means that the output voltage is just. When the input voltage is +5V, however, then a very large drain current can flow. In this case, the drain current will then be limited by the drain resistor. That is, we can make Vout by simply choosing
d
Vout = 10 V
Rd ≥ 10 / I ; a large drain resistor effectively makes the device look like a short-circuit in comparison, and it consequently determines the amount of current that will flow when the transistor is “on”. So here it is not important to control the gate voltage accurately. We just choose gate bias points that are well above and well below the threshold, and let the resistor do the work of setting the current!
+10 V
Vin
0 V
5 V
Vout
R (^) D
Figure 3-15 – A simple switching circuit (inverter).
□ Build the circuit in Figure 3-15 with a drain resistance of Rd = 10 kΩ. Set the function generator to create a 5V square wave at a frequency of 1 kHz. Configure the oscilloscope to monitor Vin on CH1, and Vout on CH2. Record your observations.
If you did this correctly, you will note the following:
■ The device is indeed operating as a nearly ideal switch ■ The circuit acts like an inverter: when the input is high, the output is low, and vice versa. You may recall from lab 1 that this inverting operation was impossible with diode logic, but it is easy with transistors. ■ The circuit has effectively amplified the input signal by a factor of two. That is, the output waveform is like the input waveform but with twice the voltage!
As simple as this circuit is, it captures many of the essential aspects of more complicated transistor circuits that we will be learning about in subsequent labs and coursework. Please pay close attention to why the output waveform appears amplified: the choice of drain resistor accomplishes this trick. When the drain resistor is large enough so that the voltage drop across it is greater than the input voltage, then we will have a voltage “gain”. As a simple thought experiment, what would the output voltage become if the supply voltage were reduced to +5V?
The simple inverter circuit in Figure 3-15 has a problem: it doesn’t work as well for some loads! So see why, consider Figure 3-16a. In the on-state when the FET acts like a short there is no problem: the output voltage will always be close to zero volts as long as Rd is reasonably large. But in the off-state the FET acts like an open circuit, so the load resistance R L and drain resistance make a voltage divider. The output voltage in the off state then depends critically on the load resistance, an undesirable situation. We’d like the circuit to behave the same way no matter what it is hooked up to (within reason of course; few circuits work well when driving a short).
16 Transistors at DC
to drive the inverter. Monitor the input and output waveforms on the oscilloscope and record your observations.
Note: In CMOS IC’s the transistors have a “body” or “substrate” terminal that is internally connected to one of the power-supply pins, thus it is important to hook up the VDD and VSS pins to their respective supply rails, even if the diagram does not show an explicit connection.
0μA
25μA
50μA
75μA
100μA
125μA
150μA
175μA
200μA
I b
Collector Current,
I c
[Amps]
Collector-Emitter Voltage, V ce [Volts]
2N
0μA
25μA
50μA
75μA
100μA
125μA
150μA
175μA
200μA
I b
Collector Current,
I c
[Amps]
Emitter-Collector Voltage, V ec [Volts]
2N
Figure 3-18 – Representative I-V curves for the 2N3904 and 2N3906.
Biasing BJTs is a little different than FETs because it is a current-controlled device, but otherwise, most of the circuit techniques we have discussed above for FETs translate
Bipolar Junction Transistors (BJTs) 17
reasonably well to BJT circuits. So let’s just make a couple of simple BJT circuits here to demystify them a bit. We will use the 2N3904 (NPN) and the 2N3906 (PNP), two of the most commonly-used discrete BJTs, suitable for a variety of low-level amplification and switching functions. Representative I-V curves for these devices are shown in Figure 3-18. From these curves we
specify a minimum of 100 and maximum of 300). Like the FETs, the variation of device parameters with temperature, manufacturer, etc. make the four-resistor bias network a better choice than some simpler techniques. But for simple switching functions, simple bias networks are often used. Consider the circuit in Figure 3-19. The resistor Rb determines the base current according to
5V 0.7 V b b
□ For the circuit shown in Figure 3-19, the design goal is I^ c =^ 20 mAand Vout^ =^ 6V. Find the base- resistance and collector resistance to make this
and verify. How close did you come?
Hopefully you will find that working with BJTs isn’t too different from working with FETs. Although MOSFETs are more common these days, it is important to become comfortable designing circuits with any kind of transistor. Let’s finish with a simple circuit that highlights the difference between NPN and PNP BJTs. In the PNP, all the polarities are reversed: the emitter is biased higher than the base to turn the device on, and current flows from emitter to collector. Otherwise, the behavior is similar. Consider the simple circuit shown in Figure 3-20, what does this do? Build it and find out!
Vout
I (^) c
R (^) b =?
+10 V
+5 V
2N
Rc =?
Figure 3-19 – Simple BJT circuit.
+5 V
0 V
5 V
Vin
+5 V
2N
2N
Rb
Rb
Rc
Rc
f = 1 Hz
Figure 3-20 – Circuit using NPN and PNP devices.