Laboratory Experiment 7 EE348L. Spring 2005

Similar documents
Laboratory Experiment 8 EE348L. Spring 2005

Chapter Two "Bipolar Transistor Circuits"

Lab 3: BJT I-V Characteristics

Laboratory 5. Transistor and Photoelectric Circuits

Amplifier Frequency Response, Feedback, Oscillations; Op-Amp Block Diagram and Gain-Bandwidth Product

ECE 304: Running a Net-list File in PSPICE. Objective... 2 Simple Example... 2 Example from Sedra and Smith... 3 Summary... 5

BJT Differential Amplifiers

Experiment #6 MOSFET Dynamic circuits

SAMPLE FINAL EXAMINATION FALL TERM

Lecture 3: Transistors

The shape of the waveform will be the same, but its level is shifted either upward or downward. The values of the resistor R and capacitor C affect

ES330 Laboratory Experiment No. 9 Bipolar Differential Amplifier [Reference: Sedra/Smith (Chapter 9; Section 9.2; pp )]

EE301 Electronics I , Fall

EE301 Electronics I , Fall

Chapter 3 Bipolar Junction Transistors (BJT)

7. Bipolar Junction Transistor

I1 19u 5V R11 1MEG IDC Q7 Q2N3904 Q2N3904. Figure 3.1 A scaled down 741 op amp used in this lab

KOM2751 Analog Electronics :: Dr. Muharrem Mercimek :: YTU - Control and Automation Dept. 1 2 (CONT D - II) DIODE APPLICATIONS

MOSFET Biasing Supplement for Laboratory Experiment 5 EE348L. Spring 2005

5.25Chapter V Problem Set

Figure1: Basic BJT construction.

Physics of Bipolar Transistor

Chapter 4 Bipolar Junction Transistors (BJTs)

Chapter 3. Bipolar Junction Transistors

Experiment #7 MOSFET Dynamic Circuits II

PHYS 3152 Methods of Experimental Physics I E2. Diodes and Transistors 1

Bipolar Junction Transistors

Exercises 6.1, 6.2, 6.3 (page 315 on 7 th edition textbook)

Laboratory Experiment 5 EE348L. Spring 2005

ELEC 2210 EXPERIMENT 7 The Bipolar Junction Transistor (BJT)

Bipolar Junction Transistors (BJTs) Overview

Prelab 6: Biasing Circuitry

ET215 Devices I Unit 4A

Basic Electronics Prof. Dr. Chitralekha Mahanta Department of Electronics and Communication Engineering Indian Institute of Technology, Guwahati

Bipolar junction transistors.

(a) BJT-OPERATING MODES & CONFIGURATIONS

EEE225: Analogue and Digital Electronics

COE/EE152: Basic Electronics. Lecture 5. Andrew Selasi Agbemenu. Outline

ECEN 325 Lab 7: Characterization and DC Biasing of the BJT

EXPERIMENT 5 CURRENT AND VOLTAGE CHARACTERISTICS OF BJT

V o2 = V c V d 2. V o1. Sensor circuit. Figure 1: Example of common-mode and difference-mode voltages. V i1 Sensor circuit V o

Early Effect & BJT Biasing

BJT. Bipolar Junction Transistor BJT BJT 11/6/2018. Dr. Satish Chandra, Assistant Professor, P P N College, Kanpur 1

Bipolar Junction Transistor (BJT) Basics- GATE Problems

Designing an Audio Amplifier Using a Class B Push-Pull Output Stage

High Frequency Amplifiers

Chapter 3-2 Semiconductor devices Transistors and Amplifiers-BJT Department of Mechanical Engineering

.dc Vcc Ib 0 50uA 5uA

Chapter 6: Transistors and Gain

UNIVERSITY OF PENNSYLVANIA EE 206

ECE 310 Microelectronics Circuits

UNIVERSITY OF NORTH CAROLINA AT CHARLOTTE Department of Electrical and Computer Engineering

EE320L Electronics I. Laboratory. Laboratory Exercise #6. Current-Voltage Characteristics of Electronic Devices. Angsuman Roy

EE105 Fall 2014 Microelectronic Devices and Circuits. NPN Bipolar Junction Transistor (BJT)

Determining BJT SPICE Parameters

ECE 334: Electronic Circuits Lecture 2: BJT Large Signal Model

UNIT-1 Bipolar Junction Transistors. Text Book:, Microelectronic Circuits 6 ed., by Sedra and Smith, Oxford Press

Chapter 3: Bipolar Junction Transistors

Experiment 6: Biasing Circuitry

SOT-23 Mark: 1S. TA = 25 C unless otherwise noted. Symbol Parameter Value Units

Experiment 6: Biasing Circuitry

Analog Circuits Prof. Jayanta Mukherjee Department of Electrical Engineering Indian Institute of Technology - Bombay

University of Southern C alifornia School Of Engineering Department Of Electrical Engineering

Diode and Bipolar Transistor Circuits

BJT AC Analysis CHAPTER OBJECTIVES 5.1 INTRODUCTION 5.2 AMPLIFICATION IN THE AC DOMAIN

Başkent University Department of Electrical and Electronics Engineering EEM 214 Electronics I Experiment 8. Bipolar Junction Transistor

UNIT 3: FIELD EFFECT TRANSISTORS

Expanded Answer: Transistor Amplifier Problem in January/February 2008 Morseman Column

PHY405F 2009 EXPERIMENT 6 SIMPLE TRANSISTOR CIRCUITS

Microelectronic Circuits, Kyung Hee Univ. Spring, Bipolar Junction Transistors

BJT Circuits (MCQs of Moderate Complexity)

Current Mirrors. Basic BJT Current Mirror. Current mirrors are basic building blocks of analog design. Figure shows the basic NPN current mirror.

CHAPTER 3: BIPOLAR JUNCION TRANSISTOR DR. PHẠM NGUYỄN THANH LOAN

ECE321 Electronics I Fall 2006

ES 330 Electronics II Homework # 1 (Fall 2016 SOLUTIONS)

Page 1 of 7. Power_AmpFal17 11/7/ :14

Structure of Actual Transistors

4.1.3 Structure of Actual Transistors

Final Design Project: Variable Gain Amplifier with Output Stage Optimization for Audio Amplifier Applications EE 332: Summer 2011 Group 2: Chaz

Lab 2: Discrete BJT Op-Amps (Part I)

Tutorial 2 BJTs, Transistor Bias Circuits, BJT Amplifiers FETs and FETs Amplifiers. Part 1: BJTs, Transistor Bias Circuits and BJT Amplifiers

University of Southern C alifornia School Of Engineering Department Of Electrical Engineering

Carleton University ELEC Lab 1. L2 Friday 2:30 P.M. Student Number: Operation of a BJT. Author: Adam Heffernan

Lecture 24: Bipolar Junction Transistors (1) Bipolar Junction Structure, Operating Regions, Biasing

Electronic Troubleshooting

Mini Project 2 Single Transistor Amplifiers. ELEC 301 University of British Columbia

(Refer Slide Time: 01:33)

14. Transistor Characteristics Lab

Lecture (06) Bipolar Junction Transistor

BJT Characteristics & Common Emitter Transistor Amplifier

Physics 364, Fall 2012, reading due your answers to by 11pm on Thursday

By: Dr. Ahmed ElShafee

EE 330 Laboratory 8 Discrete Semiconductor Amplifiers

Electronic Circuits EE359A

Field Effect Transistors

Section 2.3 Bipolar junction transistors - BJTs

UNIT I Introduction to DC & AC circuits

Mini Project 3 Multi-Transistor Amplifiers. ELEC 301 University of British Columbia

Improving Amplifier Voltage Gain

Alternate Class AB Amplifier Design

Transcription:

Laboratory Experiment 7 EE348L Spring 2005 B. Madhavan Spring 2005 B. Madhavan Page 1 of 21 EE348L, Spring 2005

B. Madhavan - 2 of 21- EE348L, Spring 2005

Table of Contents 7 Experiment #7: Introduction to the Bipolar Junction Transistor...5 7.1 Introduction... 5 7.2 Bipolar Junction Transistor Theory:... 5 7.2.1 Linear Region of operation:... 6 7.2.2 Biasing... 8 7.2.3 General BJT operating point considerations... 8 7.2.4 Choice of collector current and beta... 9 7.2.5 Biasing a common-emitter amplifier with emitter degeneration resistor... 10 7.2.6 Wilson Current Source... 13 7.3 BJT simulation in HSpice... 14 7.4 BJT Spice models... 17 7.4.1 Device Specifications:... 18 7.5 Conclusion... 18 7.6 Revision History...18 7.7 References... 18 7.8 Pre-lab Exercises... 18 7.9 Post-lab Exercises... 20 7.10 Lab Exercises... 21 7.11 General Report Format Guidelines... 21 B. Madhavan Page 3 of 21 EE348L, Spring 2005

Table of Figures Figure 7-1: Device-level representations of (a) npn & (b) pnp bipolar transistors, and their schematic symbols (c) and (d), respectively.... 5 Figure 7-2: NPN transistor with forward bias across base-emitter junction and resistive load attached between collector and power supply... 6 Figure 7-3: The large signal model of a forward active biased BJT... 7 Figure 7-4: I C -V BE characteristics of a typical npn BJT... 8 Figure 7-5: (a) DC voltage and current variables associated with an npn BJT and (b) V CE(sat) as a function of I C at 25 C for general-purpose discrete npn BJT, 2N3904, used in this laboratory experiment.... 8 Figure 7-6: Data sheet curves associated with general purpose 2N3904 npn BJT. (a) V BE versus I C at 125 C, 25 C, and 40 C and (b) I C versus V CE for different I B values at 25 C... 9 Figure 7-7: Data sheet curves associated with general purpose 2N3904 npn BJT. (a) ac currentgain versus I C and (b) f T versus I C at 25 C and V CE =5V.... 9 Figure 7-8: A common-emitter amplifier with emitter degeneration resistor R ee.... 10 Figure 7-9: Simple bipolar current mirror.... 13 Figure 7-10: Wilson current source.... 14 Figure 7-11: HSpice netlist for obtaining I-V characteristic of an npn BJT, 2N3904... 16 Figure 7-12: I C -V CE characteristics of BJT q1 in Figure 7-11 for V BE of 0.65V, 0.68V and 0.7V volts.... 16 Figure 7-13: versus V BE characteristics of BJT q1 in Figure 7-11 for V CE =3.5 V at 27 C... 17 Figure 7-14: 2N3904 pin out (Courtesy of Fairchild Semiconductor)... 17 Figure 7-15: Figure for Prelab 1.... 19 Figure 7-16: Figure for Prelab 3.... 19 Figure 7-17: Figure for Prelab 4.... 20 B. Madhavan - 4 of 21- EE348L, Spring 2005

7 Experiment #7: Introduction to the Bipolar Junction Transistor 7.1 Introduction Transistors are at the heart of integrated circuit design. As active elements, they are capable of implementing gain stages, buffers, electrically operable switches, op-amps and a host of other applications that require active elements. The word active refers to the fact that transistors require static power, in the form of bias current and/or voltage, to operate in the desired operating region. It is desired, more often than not, that transistors in analog circuits be biased in their active or linear region. The static power provided by the bias is consumed so that input signals may be amplified. In other words, signals experience gain at the expense of static power consumption in the circuit. This experiment will deal with the static, or DC, behavior of the npn Bipolar Junction Transistor (BJT). A brief theory of operation will be presented, and then biasing and their use as current sources will be explored. In the next lab, gain and the dynamic aspects of transistors will be explored. The following material in the textbook [5] pertaining to biasing and dc-behavior of BJTs must be reviewed: section 5.5 (pp 436-439), section 5.4 (pp 422-435), examples 5.2 (pp 413) and 5.1 (pp 395). 7.2 Bipolar Junction Transistor Theory: Bipolar junction transistors can be viewed as an arrangement of two integrate, back-to-back pn junction diodes, as shown in Figure 7-1. n p n p n p collector emitter emitter collector base (a) base (b) collector emitter base base emitter collector (c) (d) Figure 7-1: Device-level representations of (a) npn & (b) pnp bipolar transistors, and their schematic symbols (c) and (d), respectively. B. Madhavan Page 5 of 21 EE348L, Spring 2005

For any discussion that pertains to npn transistors in this experiment, the same discussion applies to pnp transistors provided in every instance n be replaced by p. Every equation for the npn transistor related to the dc operation of the device can be modified and used for the pnp transistor. This is accomplished by reversing the direction of all currents and the polarity of all voltages. 7.2.1 Linear Region of operation: In analog circuits, the BJT is biased in the forward active region (a.k.a. linear active) to achieve high gain and linear operation. In order to bias a BJT in the forward-active operation, the base-emitter junction is forward biased, while the base-collector junction reverse biased. The base-emitter voltage (V BE ) drop will be around 700mV for a silicon BJT. V BE may deviate a little from 700mV due to the inherent exponential I-V characteristics of the device. The emitter is highly doped n material (i.e., low impedance), so electrons are injected quite easily into the base under forward bias. The base is doped moderately relative to the emitter, implying that the base-emitter depletion region lies almost entirely on the base side of the junction. Furthermore, the base is a very narrow region; thus the associated electric field is quite large. This electric filed sweeps the injected electrons right through to the collector (actually, due to the finite base width, and associated finite transit time, a few electrons recombine with available holes in the base before diffusing to the base-collector depletion region, but this is not a dominant effect in modern processes). These electrons are the minority charge necessary to supply the reverse current through the reverse-biased basecollector junction. It is the forward bias across the base-emitter junction that supplies this charge, thus the current through the base-collector junction is not limited to the negligible reverse saturation current. In fact, neglecting recombination of the electrons in transit with available holes in the base, the current through the collector is practically identical to the current through the emitter. The utility of the transistor becomes apparent if one explores what happens if the current injected into the collector is allowed to flow into a resistive load, as shown in Figure 7-2. V cc R C I C V BE Figure 7-2: NPN transistor with forward bias across base-emitter junction and resistive load attached between collector and power supply. As the base and power supply voltages are fixed, it follows that varying the load resistance causes a varying collector node voltage to develop. Thus, the base-collector reverse bias changes. However, recall from the diode labs that the magnitude of the reverse bias voltage has very little effect on the reverse current (i.e., it approaches the reverse saturation current in the limit). Therefore, it can be easily appreciated that the electrons injected by the forward-biased base-emitter junction control the collector current. The significance is that the transistor B. Madhavan - 6 of 21- EE348L, Spring 2005

approximates an ideal controlled current source, where the controlling variable is the base current (which is in turn controlled by the base voltage, so you can think of that as the controlling variable if you prefer) and the controlled variable is the collector current. In comparison to the controlling variable, the load has relatively little effect on the transistor current as long as the transistor is biased in the forward-active region. Now that the emitter and collector currents have been discussed in some detail, one must consider what base current exists (if any), before writing down the key bipolar transistor equations. First, recall that most of the emitter current flows through the collector, with the deviation coming from recombination that occurs in the base. While shrinking the dimensions of the base can minimize the recombination effect, there are always some holes in the base region, which are consumed by the recombination current. These holes have to be supplied by the external circuit as a base current. A second phenomenon is reverse current of holes from the base to the emitter through the forward-biased base-emitter junction. Again, this effect can be minimized by heavily doping the emitter, but nonetheless, some reverse current exists, and must be supplied through the base contact by the external circuit. base collector I B I C V BE _ βi B I E emitter Figure 7-3: The large signal model of a forward active biased BJT. Now that the basic principles of bipolar transistors have been discussed, we can go ahead and write the three key equations for bipolar transistors, one relating collector current to the base-emitter voltage (i.e., the controlling variable), one accounting for the base current, and the third satisfying KCL: V BE V VT CE I = C I s e 1 1 (7.1) VA I I C B τ p = β τ = t (7.2) β 1 I = I I = I (7.3) E C B C β The second parenthesized quantity in the collector current equation accounts for the slight variation of collector current with collector voltage. Though ideally one would like the collector current to be solely influenced by the base-emitter voltage, the base-collector reverse bias voltage does influence the collector current. Since the effect is not dominant, it is usually modeled using a simple linear dependence on collector voltage, with the slope determined by the Early B. Madhavan Page 7 of 21 EE348L, Spring 2005

voltage (named in honor of J. M. Early). This is a secondary effect, and for much of what is presented here will be ignored. The I C -V BE characteristics of a BJT are featured in Figure 7-4, which depicts the dependence of the collector current, I C, versus the applied base-emitter voltage, V BE. Notice that it looks remarkably similar to that of a diode. This should come as no surprise, considering Figure 7-1 (a) and (b), which show that a bipolar transistor as two diodes connected back to back. I C Limits to the linear range of operation Q-point V th V BE Figure 7-4: I C -V BE characteristics of a typical npn BJT. 7.2.2 Biasing 7.2.3 General BJT operating point considerations I C I B - V CB V BE - V CE - I E Figure 7-5: (a) DC voltage and current variables associated with an npn BJT and (b) V CE(sat) as a function of I C at 25 C for general-purpose discrete npn BJT, 2N3904, used in this laboratory experiment. The dc voltage and current variables associated with an npn BJT are shown in Figure 7-8. Of the six variables (V CB, V BE, V CE, I C, I B, and I E ), we recognize, as a consequence of KCL and KCL, that there are only four independent variables. Typically, the four independent variables are picked out as I B, I C, V BE and V CE. We know that I B and I C are related as I C = βi B. V CB has to be chosen so that the minimum value of V CB over signal swing, temperature and process does not forward-bias the collector-base B. Madhavan - 8 of 21- EE348L, Spring 2005

diode. This is equivalent to the data sheet specification of V CE(sat) for different values of I C. V CE(sat) is typically less than 0.2V, as shown in Figure 7-5 (a). Therefore, an important operating-point design consideration is that the minimum value of V CE over the signal swing range is sufficiently greater than V CE Sat 0. 2V. This is equivalent to stating that V ( ) CB(min) is such that the collector-base diode is never forward-biased. Figure 7-6: Data sheet curves associated with general purpose 2N3904 npn BJT. (a) V BE versus I C at 125 C, 25 C, and 40 C and (b) I C versus V CE for different I B values at 25 C. Although V BE is approximated as 0.7 V for Silicon BJTs, the actual value of V BE varies between 0.6 V and 0.8 V for nominal collector current values over temperature range from -40 C to -125 C as shown in Figure 7-6 (a), which plots measured V BE values required for different collector currents of the general purpose 2N3904 npn BJT, at temperatures of 125 C, 25 C, and 40 C, at V CE = 5 V. The collector current of a typical 2N3904 npn BJT for different base current values is plotted against V CE at 25 C in Figure 7-6 (b). 7.2.4 Choice of collector current and beta Figure 7-7: Data sheet curves associated with general purpose 2N3904 npn BJT. (a) ac current-gain β versus I C and (b) f T versus I C at 25 C and V CE =5V. B. Madhavan Page 9 of 21 EE348L, Spring 2005

The value of β is dependent on the value of I C as shown in Figure 7-7 (a). The value of β is determined from the choice of I C, which gives I B, which is then used to design the bias circuit of R b1 and R b2 in Figure 7-8. I C may be chosen according to any of the three criteria below: 1. R1: Least power dissipation: I C is dependent on the choice of V BE and V CE as shown in Figure 7-6 (b). The designer uses the device data sheet or HSpice simulations based on BJT model decks to determine I C from the design choices of V BE and V CE, which are determined from knowledge of largest input signal swing and desired ac, small-signal gain. 2. R2: Maximum ac beta(β): I C may be picked from a plot of β versus I C such as Figure 7-7 (a), such that the ac β is the maximum. 3. R3: Maximum operating frequency: I C may be picked from a plot of the unity-gain short-circuit current-gain, f T versus I C such as Figure 7-7 (b), such that f T is maximum. 7.2.5 Biasing a common-emitter amplifier with emitter degeneration resistor A single BJT transistor has three possible canonic cell configurations (this will be explained in more detail in the next laboratory experiment). V cc V cc R b1 R C I C C c1 I C /β V s I C (1 1/β) - R b2 R ee Figure 7-8: A common-emitter amplifier with emitter degeneration resistor R ee. The canonic cell configurations are determined by how the transistor is connected to the surrounding circuitry. The configuration in Figure 7-8, properly called common-emitter with emitter degeneration resistance, receives its name common-emitter because the ac ground, or common terminal, is located at the emitter. The other two possible configurations for the bipolar transistor are called the commoncollector and common-base. As you might have guessed, each has its own distinguished advantages and applications. One way to determine which configuration a BJT is being used is to determine where the input and output are located. The leftover terminal is where the configuration gets is name. For example, the input in Figure 7-8 is at the base, while the output is taken at the collector. Since the emitter is the terminal that is left over, the configuration in Figure 7-8 is deemed a commonemitter configuration. Before a transistor can be used for the process of any dynamic signals, a bias, or quiescent point (Qpoint), must be established to ensure the linearity of circuit operation. The Q-point of the transistor also B. Madhavan - 10 of 21- EE348L, Spring 2005

must be designed to with stand any changes to the circuit operating point caused by a signal. A Q- point is worthless unless it guarantees that the transistor will stay in the linear region of operation for the entire range of the signal swing that may be applied to the system. In Figure 7-8, the resistors that connect the transistor to the power supply rails set the bias, or Q-point, current. A possible Q-point for a design is highlighted by a dot on the I C -V BE curve in Figure 7-4. The reason why this noted Q-point is a valid bias point is that is you move up or down the curve just a little by sliding the dot, simulating small signal perturbations, the device acts linear on that small region of the I C -V BE curve. Restricting the range of perturbations at the Q-point allows a linear operation out of a normally nonlinear device. This is not to say that the highlighted Q-point is the only possible Q-point that may be used. For a given reason, a designer may wish to bias the transistor at another point on the BJT s I C -V BE curve. The designer has some freedom in determining the Q-point. A bias point is valid as long as the designer doesn t slide the Q-point along the I C -V BE curve to the point where the magnitude of the small signal being used causes the transistor to leave linear operation. Now the question is how to choose the resistors in Figure 7-8 such that the BJT is biased in the forward-active or linear region of operation. The following material in the textbook [5] pertaining to biasing and dc-behavior of BJTs must be reviewed: section 5.5 (pp 436-439), section 5.4 (pp 422-435), examples 5.2 (pp 413) and 5.1 (pp 395). In addition, section 5.7.4 (pp 470-474) discusses the analysis of the ac, small-signal gain of a common-emitter (CE) amplifier with sourceresistance, such as that shown in Figure 7-8. Similar to the approach in the laboratory 5 biasing supplement for MOSFET devices, the optimal biasing of a BJT CE amplifier will depend upon the required ac, small-signal gain required of the amplifier. Biasing a BJT amplifier without the constraints obtained from the ac, small-signal requirements will require a number of ad-hoc choices, smacking of the voodoo approach to transistor circuit design. We recognize that in order to determine the operating point or Q-point of the BJT in the amplifier shown in Figure 7-8 is to determine I C, I B, V BE and V CE. 1. I B is obtained from knowledge of β from a plot ac β versus I C associated with the device, such as Figure 7-7 (a). 2. We approximate V BE as 0.7 V for npn BJTs. 3. This leaves us with the task of determining I C and V CE. I C may be chosen for maximum ac beta (β) or maximum f T using rules R2 and R3 in the previous section. However, as may be noted from Figure 7-7 (a) and (b), I C values for maximum ac beta and f T are relatively large, and result in large power dissipation, especially for multi-stage amplifiers. 4. For optimal power dissipation, we have to determine I C corresponding to our desired V CE at V BE 0. 7V. The desired value of V CE is determined from knowledge of desired ac, small signal gain, A v and the constraint that the worst case value of V CE over signal swing, temperature and process is > V CE(sat). 7.2.5.1 Determination of V CE From section 5.7.4 of the textbook [5], we note that the ac, small signal gain of the CE amplifier shown in Figure 7-8 is given by αrc A (7.4) v R ee whereα = β. ( 1 β ) We note that if I C is the collector current, V C is the voltage at the collector and V B is the voltage at the base of the BJT in Figure 7-8, ( V V ) CC C Rc =, ( V V ) β B BE R =. Substituting the ee I ( I (1 β )) C C expressions for R C and R ee in the equation for A v, we get B. Madhavan Page 11 of 21 EE348L, Spring 2005

A v α( V V ) 1 ( CC C β V = = ( V V ) ( V B BE β CC B V V C BE ) ) (7.5) In the absence of constraints on the collector voltage, a very good choice for V c is V cc /2, as this maximizes the output voltage swing while minimizing output voltage distortion (The signal can swing equally about the collector voltage dc-bias point /- V cc /2). In addition, if we assume that V BE is approximately 0.7V for Silicon npn BJTs, we get which gives V V CC CC ( V V ) ( V ) CC CC C A = = 2 = 2 (7.6) v ( V 0.7) V 0.7 V 0.7 B B VCC V B = 0.7 (7.7) 2 A V v V 2 A CC E = (7.8) v B Therefore, if the desired ac, small-signal gain is 20 (= 26 db), V CC =10 V, V BE is approximately 0.7V, and the voltage at the base of the BJT in Figure 7-8 is V B = 0.7 5/20 = 0.95 V. I C is determined from the data sheet or device HSpice simulations for V BE 0. 7V and V V V ( 2 A ) = CC CC CE 2. For V CC = 10V and A v = 20, V C = 5V, V B = 0.95V, V E = 0.25, V CE =4.75V. v For a maximum input swing of 0.1V, the worst case value of V CE = V CE(min) = 5V 0.1 (120) = 5V 2.1V = 2.9V > V CE(sat), ensuring that the BJT is properly biased in the linear region under all signal swing conditions. If we determine from the device characteristics that I C =1mA and β=100, for the design choices of V BE 0. 7V and V CE =4.75V, then R C = 5V/1mA = 5 kω, R E = 250 Ω, I B = 10 µa. The bias circuit of R b1 and R b2 in Figure 7-8 is designed as per the guideline in section 5.5.1 of the textbook [5] R b1 R b2 = 10 (1β) R ee such that R b1 R b2 << (1β)R ee (7.9) VCCRb2 VB = (7.10) ( R R ) b1 b2 It is actually good practice to have as few circuit performance metrics as possible depend on transistor parameters, as these parameters vary wildly from one transistor to another. As an example, β for a good transistor is large (say, 100 or better) but not at all predictable. One transistor might have a β=83, while another might have β=137. If your design were highly sensitive to β, it would not have repeatable performance (i.e., if you built your circuit, measured it, and then replaced only the transistor, you would get different results). Thus, while the above equations are important, particularly for analysis and understanding basic transistor mechanisms, they are not always used in design. However, there are exceptions to every rule, which the next section demonstrates. When you build the common-emitter amplifier in the lab, you will probably notice that the measured current is not exactly 1mA; in fact, it may be off by a great deal. The main reason for this is the rather arbitrary assumption of a base-emitter voltage of 700 mv. It is a simple matter then to adjust the emitter resistor to achieve the correct current. However, what if you had, say, 4 or 5 transistors, each requiring different bias currents? It would not be efficient to fine-tune each one by tweaking resistors; a better approach would be to fine-tune the current of one transistor, and then somehow force all of the other transistor currents to be a fixed multiple of this current. Thus, achieving the correct current in several transistors would rest on one the accuracy of only one current! B. Madhavan - 12 of 21- EE348L, Spring 2005

V cc R I ref I C Q 1 Q 2 R 1 R 2 Figure 7-9: Simple bipolar current mirror. Assume transistor Q 1 has been biased appropriately to achieve exactly the right reference current. Applying KVL (ignoring the Early effect and noting that V T is approximately 26mV at room temperature), one gets: I 1R1 VBE1 = I 2R2 VBE 2 (7.11) I I c1 c2 I = 1R1 VT ln I 2R2 VT ln I s1 I s2 (7.12) R 1 VT I c1 I s2 I = 2 I1 ln (7.13) R2 R2 I c2 I s1 Bearing in mind that we want the current through Q 2 to be a fixed multiple of that through Q 1, largely independent of transistor parameters, it would be nice to make the natural logarithmic term (error term) disappear. If that happens, the currents through transistors are determined by simple resistor ratios! To make the error term vanish, the reverse saturation currents must have the same ratio as the collector currents. If the collector currents are to be given by a resistor ratio, the reverse saturation currents must be in the same ratio, which requires that the transistor areas be in the same ratio. This is routinely done in IC design, where ratios can be very accurate. However, using discrete components in the lab, the only way to make a transistor with bigger area is to parallel multiple transistors, which has the following drawbacks; 1) it takes a lot of space. 2) it limits you to integer multiples of the area of your reference transistor. 3) there is wide variation in the saturation current from one transistor to the next with discrete devices, so paralleling, say, 3 devices does not mean that the effective reverse saturation current is exactly 3 times that of the reference transistor. However, note that the error term decreases inversely with R 2 ; this means that using large reference resistors reduces the error term significantly. Secondly, note that the error incurred due to mismatched reverse saturation current increases only logarithmically, so the error is not that substantial anyway. In the pre-lab, you will design a current mirror and investigate numerically the percentage error arising from the logarithmic term. 7.2.6 Wilson Current Source Another type of current source is the Wilson current source, shown in Figure 7-10. This current source has two advantages, namely, it gives very good matching between output and reference currents, and it provides very high output resistance. Analysis of the matching and the output resistance is left as prelab exercises in next laboratory experiment. The advantage of high output resistance is that the output B. Madhavan Page 13 of 21 EE348L, Spring 2005

current is insensitive to whatever load is attached to it. Model the current source as a parallel combination of a Norton current and resistance and your load as a pure resistance. If the source resistance is significantly large than the load resistance, the resultant current divider is such that nearly the entire Norton current flows into the load resistance, with very little lost to the internal resistance of the current source. V cc R I out I ref Q 3 Q 1 Q 2 Figure 7-10: Wilson current source. 7.3 BJT simulation in HSpice In this section, we investigate the simulation of the I-V characteristics of 2N3904, a discrete npn BJT, whose datasheet may be found at (http://www.fairchildsemi.com/ds/2n/2n3904.pdf or http://www.rohm.com/products/databook/tr/pdf/umt3904.pdf). The syntax (see page 4-14 of the HSpice user Manual, version 2001.4, December 2001) for a BJT element in HSpice is: qxxx collector base emitter bjt_model_name Where collector, base, emitter are the collector, base, and emitter terminals of the BJT qxxx, and bjt_model_name is the model name of the BJT as specified in the HSpice BJT model deck. Very Important Point: See pages 4-14 to 4-16 of the HSpice user manual, version 2001.4, December 2001 for the BJT capacitance models, and pages 4-4 to 4-20 for the BJT model deck parameters, in the HSpice Device Models Reference Manual, version 2001.4, December 2001 The simulation of semiconductor devices requires the specification of an appropriate device model deck in HSpice. The model deck specifies a particular mathematical model of the device being simulated and the values of the parameters associated with the model. Model parameter values that are not specified default to the default values specified in HSpice. The interested reader can determine the default values associated with a particular model by searching the HSpice Device Models Reference Manual, version 2001.4, December 2001. An example of an HSpice model deck specification for 2N3904, the discrete npn BJT used in this laboratory assignment, is shown below. Note that the model deck starts with the keyword B. Madhavan - 14 of 21- EE348L, Spring 2005

.MODEL, followed by the particular n-channel BJT model name, npn_2n3904, followed by the keyword NPN. The character is a continuation character that indicates that the model deck specification continues on that line..model npn_2n3904 NPN Is=6.734f Xti=3 Eg=1.11 Vaf=74.03 Bf=416.4 Ne=1.259 Ise=6.734f Ikf=66.78m Xtb=1.5 Br=.7371 Nc=2 Isc=0 Ikr=0 Rc=1 Cjc=3.638p Mjc=.3085 Vjc=.75 Fc=.5 Cje=4.493p Mje=.2593 Vje=.75 Tr=239.5n Tf=301.2p Itf=.4 Vtf=4 Xtf=2 Rb=10 Very Important Point: It is very important to start the model deck with the.model keyword, followed by the bjt model name and then the keyword npn for an npn BJT. It is good practice to put the device models at the end of the netlist before the final.end statement. The internal model variables of the BJT model may be plotted or used in expressions. The internal model variables that are accessible to the user are detailed on pages 8-60 to 8-61 of the HSpice user manual, version 2001.4, December 2001. Figure 7-11 is an example of a netlist that can be used to plot the I C -V CE characteristics of the BJT 2N3904, specified by the model deck named npn_2n3904 in Figure 7-11 The collector to emitter voltage, V CE, is swept from 0.03V through 6V in steps of 0.01V at base to emitter voltages, V BE of 0.65V, 0.68V, and 0.7V at 27 C. The HSpice simulation results are shown in Figure 7-12. Refer to Laboratory assignment 3 or the HSpice user manual, version 2001.4, December 2001 for help on plotting using mwaves/awaves. BJT I-V characteristic for biasing amplifier *Written April 14, 2005 for EE348L by Bindu Madhavan. **** options section.options post=1 brief nomod alt999 accurate acct=1 opts.options unwrap dccap=1 **** circuit description q1 collector base emitter npn_2n3904 **** sources section vc collector vss 3.5V ve emitter vss 0.0V vb base vss 0.7V v2 vss 0 0.0V **** analysis section * see page 8-60 and 8-61 of HSpice user manual.probe dc ft = par('lv5(q1)').probe dc beta = par('lv10(q1)').probe dc rb = par('lv14(q1)').probe dc vbe = par('lx0(q1)').probe dc vbc = par('lx1(q1)').probe dc ib = par('-i1(vb)') B. Madhavan Page 15 of 21 EE348L, Spring 2005

.probe dc ic = par('-i1(vc)') **** specify nominal temperature of circuit in degrees C.TEMP=27 **** analysis section.dc vc 0.03 6.0 0.01 sweep vb poi 3 0.65 0.68 0.7 *Model for a NPN 2N3904.model npn_2n3904 NPN Is=6.734f Xti=3 Eg=1.11 Vaf=74.03 Bf=416.4 Ne=1.259 Ise=6.734f Ikf=66.78m Xtb=1.5 Br=.7371 Nc=2 Isc=0 Ikr=0 Rc=1 Cjc=3.638p Mjc=.3085 Vjc=.75 Fc=.5 Cje=4.493p Mje=.2593 Vje=.75 Tr=239.5n Tf=301.2p Itf=.4 Vtf=4 Xtf=2 Rb=10.END Figure 7-11: HSpice netlist for obtaining I-V characteristic of an npn BJT, 2N3904. V BE =0.7V V BE =0.68V V BE = 0.65V Figure 7-12: I C -V CE characteristics of BJT q1 in Figure 7-11 for V BE of 0.65V, 0.68V and 0.7V volts. Plots of the dc beta of the BJT q1 in the netlist in Figure 7-11 for V CE =3.5V at 27 C is shown in Figure 7-13. B. Madhavan - 16 of 21- EE348L, Spring 2005

Figure 7-13: β versus V BE characteristics of BJT q1 in Figure 7-11 for V CE =3.5 V at 27 C. 7.4 BJT Spice models.model npn_2n3904 NPN Is=6.734f Xti=3 Eg=1.11 Vaf=74.03 Bf=416.4 Ne=1.259 Ise=6.734f Ikf=66.78m Xtb=1.5 Br=.7371 Nc=2 Isc=0 Ikr=0 Rc=1 Cjc=3.638p Mjc=.3085 Vjc=.75 Fc=.5 Cje=4.493p Mje=.2593 Vje=.75 Tr=239.5n Tf=301.2p Itf=.4 Vtf=4 Xtf=2 Rb=10 Figure 7-14: 2N3904 pin out (Courtesy of Fairchild Semiconductor). B. Madhavan Page 17 of 21 EE348L, Spring 2005

7.4.1 Device Specifications: Caution: Never exceed the device maximum specifications during design. 2N3904 V CBmax =60V V CEmax =40V V EBmax =5.0V I Cmax =200mA 2N3906 V CBmax =40V V CEmax =40V V EBmax =5.0V I Cmax =200mA 7.5 Conclusion A major task for a BJT, as you will soon discover, is to provide gain to small signals in analog circuits. To correctly achieve this, one must bias the normally nonlinear transistor in a linear region. This is accomplished by establishing a Q-point that restricts any perturbations, signals, used to a small operating region where the transistor acts linear. Once the transistor is biased correctly one may use linear circuit analysis techniques, this is presented in the next lab, on circuit topologies that contain bipolar transistors. However before one can master the bipolar transistor in dynamic conditions, a sufficient background and understanding of a BJT in a static environment is needed. One must understand that processing variations, temperature etc. that affect the static performance of a bipolar transistor. Even though biasing and small-signal (dynamic) operation are treated as separate tasks when doing analysis on circuits, they have a direct bearing on each other. 7.6 Revision History This laboratory experiment is a modified version of the laboratory assignment 8 (BJT Static Operation) created by Jonathan Roderick, Hakan Durmas, and Scott Kilpatrick Burgess. 7.7 References [1] Bindu Madhavan, Laboratory Experiment 5 biasing supplement, EE348L, Spring 2005 [2] Avant! HSpice User Manual, Version 2001.4, December 2001, posted on EE348L class web site. [3] Avant! HSpice Device Models Reference Manual, Version 2001.4, December 2001, posted on EE348L class web site. [4] Bindu Madhavan, EE348L Laboratory Experiment 3, Spring 2005. [5] Adel Sedra and K. C. Smith, Microelectronic Circuits, fifth edition, Oxford University Press. [6] David Johns & Ken Martin. Analog integrated Circuit Design. John Wiley & Sons, Inc., New York, 1997. [7] Paul R. Gray & Robert G. Meyer. Analysis and Design of Analog Integrated Circuits. John Wiley & Sons, Inc., New York, 1993. 7.8 Pre-lab Exercises Note: For HSpice simulations, use the model deck for 2N3904 in Figure 7-11. See HSpice guidelines in Laboratory Experiment 3. Read section 7.2.2, Biasing carefully. Submit plots relevant to each question in your lab report. Device Specifications: Caution: Never exceed the device maximum limitations during design. 2N3904 V CBmax =60V V CEmax =40V V EBmax =5.0V I Cmax =200mA B. Madhavan - 18 of 21- EE348L, Spring 2005

2N3906 V CBmax =40V V CEmax =40V V EBmax =5.0V I Cmax =200mA 1) Given V cc =10V, R 1 =13.3kΩ, R 2 =5kΩ, R 3 =1k β=120, V ce =6.5V and V be =0.7V, determine I B, I C and the power dissipation of each component in the figure below. V cc V cc R 1 R 2 V BE - V CE - R 3 Figure 7-15: Figure for Prelab 1. 2) Using the same circuit as in question #1, calculate the difference between I E and I C for the following β values: (a) β=10, (b) β=50 (c) β=150 (d) 200. V 1 _ V be _ V ce _ I C V 2 _ Figure 7-16: Figure for Prelab 3. 3) Build the circuit in Figure 7-16 in HSpice. Perform a dc sweep of voltage source V 2 from 0 to 5V. Plot I C vs. V 2 given V 1 =0.7V. 4) Using Figure 7-17, determine the resistance values of R 1, R 2, and R 4 that will give a 2.5mA collector current and a V CE =5V. Given a base voltage (V b ) of 1V, V cc =10V, R 3 =4.7kΩ. B. Madhavan Page 19 of 21 EE348L, Spring 2005

V cc V cc R 1 R 2 I C V o V b _ R 3 R 4 Figure 7-17: Figure for Prelab 4. 5) Verify with HSpice the currents in each branch and voltage at each node in your answer to Prelab 4. Do your HSpice results give you 2.5 ma of collector current? If not, explain why you think the collector current is not 2.5 ma and make any necessary modifications, such as adjusting R 2 or R 4 in Figure 7-17 to the circuit so you get 2.5 ma of collector current. 6) Using the current mirror in Figure 7-9, assume you desire the current in Q 2 to be 2.4 times that of the reference transistor. What is the required emitter resistor for Q 2 (assuming R 1 = 1kΩ)? To get a feel for the error involved in this design, assume that the reverse saturation current for Q 2 is 25% smaller than that of Q 1 and that T = 300 K (i.e., room temperature). Evaluate the error term as a percentage of the desired current. Is this acceptable assuming you desire less than 1% error? To reduce the error by a factor of 5, what new resistor values are required? Verify your design in HSpice. 7.9 Post-lab Exercises Submit post-lab exercises with your lab report. 1) Reconsider the design of the common-emitter amplifier in Figure 7-17. With all design parameters remaining the same, how large may the collector resistor be such that the collector-base junction remains reverse-biased (assume that this reverse bias must be at least 200 mv)? 2) Reconsider the design of the common-emitter amplifier in Figure 7-17, but assuming finite β (i.e., collector and emitter currents are not equal, and base current is not zero) and that the 2.5 ma specification refers to the collector, not emitter, current. Determine expressions for the four resistors in terms of β. Evaluate these expressions for β = 50, 100, 200 and infinity, and comment qualitatively as to the sensitivity of these values on β. 3) Once again using the common-emitter amplifier in Figure 7-17, but this time assuming arbitrary V BE (i.e., in your equations, use the symbol V BE rather than 700 mv). Determine expressions for the four resistors in terms of V BE. Evaluate these expressions for V BE = B. Madhavan - 20 of 21- EE348L, Spring 2005

600 mv, 700 mv and 800 mv, and comment qualitatively as to the sensitivity of these values on V BE. What causes greater changes in resistor values, V BE or β? Why? 7.10 Lab Exercises Use the model deck for 2N7000 in Figure 7-11. Submit plots relevant to reach question in your lab report. Use the supply voltage that you used in your pre-lab HSpice simulations for this lab. Take care that you look up the manufacturer s datasheet to determine the beta (minimum, typical, and maximum values) of the particular discrete BJT device that you are using. Ensure that the device is oriented correctly before using it in your circuit. For proper operation, the base-emitter junction has to be forward biased and the collector-base junction has to be reverse biased. 1) Build the circuit in Figure 7-15. Measure V BE, V CB and I C using a multi-meter. What is the operating region of the BJT? Make the necessary adjustments to put the BJT in the linear active region (forward bias base-emitter junction and reverse bias collector-base junction) Measure the power dissipation through all the components. Do your results agree with what you found in Prelab question #1 (within ±15%)? If not, why? 2) Build the circuit in Figure 7-16. Fix V 1 at 0.7V and adjust V 2 from 0V to 5V. Take measurements every quarter volt. Plot your results on a graph. Does your data resemble the curve you go in HSpice? 3) Build and verify your design for Prelab question #4 (Figure 7-17). Measure all branch currents and node voltages. What is the percentage deviation between the design constraints and the measure results? Are they within 5%? Make any modification to resistor values until you get with in 5% of specs. Report any hypotheses you have on why your measured data was different from your calculation in the Prelab. Is the collector current now 2.5 ma? Do the results agree with your HSpice simulation from Prelab question #5? Why or why not? Measure the voltage across the collector and emitter resistors as well as the resistors themselves, and from this deduce the β of the transistor. How much dependence does your circuit have on β? Could this be a potential problem? Why or why not? 4) Build and verify your current mirror design from Prelab question #6. What values of resistor did you end up using? Is the current within 5% of the required specification from the Prelab? If not, modify the circuit so it does and report what you changed and why. 7.11 General Report Format Guidelines 1. Data Present all data taken during the lab. It should be organized and easy to read. 2. Discussion Answer all the questions in the lab. For each laboratory exercise, make sure that you discuss the significance of the results you obtained. How do they help your investigation? Explain the meaning, the numbers alone aren t good enough. 3. Conclusion Wrap up the report by giving some comments on the lab. Do the results clearly agree with what the lab was trying to teach? Did you have any problems? Suggestions? B. Madhavan Page 21 of 21 EE348L, Spring 2005