The transistor as an amplifier and a switch · Physics… | StemPy Lab
Course 27.3·Lesson 2 of 3
The transistor as an amplifier and a switch
In a common-emitter amplifier a small change of the base current makes a change β times larger in the collector current. The output voltage across the collector resistor changes by −βRC/ri
Lesson 2 of 3Show all lessonsHide
Try the code and the simulations beside the lesson.
A small signal made large
A microphone gives a signal of a few millivolts. A loudspeaker needs several volts. Between them an amplifier makes the signal larger. In a transistor amplifier the small signal changes the base current, and the transistor changes a much larger collector current in step with it.
The common-emitter amplifier
The circuit of the previous lesson is used with one change. A small alternating signal vi is added in series with the base supply.
On the left, a circuit of a common-emitter amplifier. An AC source v i is joined to the base through a capacitor C 1. A resistor R B joins the base to the top supply wire, and a resistor R C joins the collector to it. The supply battery V CC is on the right. The output v o is taken from the collector through a capacitor C 2 to two open terminals. On the right, two graphs of voltage against time for two cycles. The top blue graph is the input, a sine wave of 10 millivolt amplitude. The bottom orange graph is the output, a sine wave of 1.8 volt amplitude that is upside down compared with the input, so it falls when the input rises. A note says the voltage gain A V is minus 180, and the minus sign is the phase change of 180 degrees.
The base supply VBB sets a steady bias, so that the transistor stays in the active region. The steady values are the working point or Q point.
The signal changes the base current by ΔIB=riΔvi, where ri is the input resistance.
The collector current changes by ΔIC=βΔIB.
The extra current in RC changes the voltage across it. Because VCE=VCC−ICRC, the output voltage is Δvo=−RCΔIC.
Putting the steps together:
AV=ΔviΔvo=−riβRC
The minus sign says that the output is upside down: a phase change of 180∘. When the input rises, the collector current rises, the drop in RC rises, and VCE falls.
The current gain is AI=β.
The power gain is AP=AV×AI in size, riβ2RC. The extra power is not made by the transistor. It comes from the supply VCC. The signal only controls how much of it reaches the load.
Two stages in a row have a gain equal to the product of the two gains. The two phase changes cancel.
Bias and clipping. The output voltage VCE cannot be larger than VCC (the transistor is then cut off) and cannot fall below about 0.2 V (saturation). If the signal tries to take it past these limits, the peaks are cut off. This is clipping. For the largest swing without clipping, the working point is set near the middle, VCEQ≈VCC/2. The largest input amplitude without clipping is
vi,max=∣AV∣h
Here h is the smaller of VCEQ−0.2V and VCC−VCEQ. It is the room that the output has to swing.
The load lineVCE=VCC−ICRC is a straight line on the output characteristics. The working point is where the line crosses the curve of the base current IB.
An oscillator. If part of the output of an amplifier is fed back to the input in step with the input signal (positive feedback), the amplifier keeps going with no input. A coil and a capacitor in the circuit set the frequency f=2πLC1. The energy comes from the supply.
A worked example. An amplifier has β=60, RC=3.3kΩ and ri=1.1kΩ. An input of 10 mV amplitude is applied. Find the voltage gain, the output amplitude and the power gain.
The voltage gain.AV=−riβRC=−1.1kΩ60×3.3kΩ=−180.
The output.∣vo∣=180×10mV=1.8 V, upside down.
The power gain.AP=∣AV∣×β=180×60=10800.
Make the input 40 mV. Which part of the output is cut off? Then move the resting voltage, and find the setting that clips the fewest peaks.
The transistor as a switch
Use the same circuit with two states only. The input is either low or high.
Low input (Vi below about 0.7 V for silicon): IB=0, the transistor is in cut-off, IC=0, and the output is Vo=VCC. The switch is open.
High input: IB is large, and the transistor is in saturation. The output is Vo=VCE(sat)≈0.2 V. The switch is closed.
On the left, a circuit of a transistor switch. An npn transistor has its emitter on the bottom wire. The input V i is joined to the base through a resistor R B. The collector is joined to the supply V CC through a resistor R C, and the output V o is taken between the collector and the bottom wire. On the right, a graph of the output voltage against the input voltage from 0 to 5 volt for a supply of 5 volt, R C of 1 kilo-ohm, R B of 47 kilo-ohm and beta equal to 100. The blue curve is flat at 5 volt up to an input of 0.7 volt, labelled cut-off, off and output high, then falls in a straight line, the active region, until it reaches 0.2 volt at an input of about 2.96 volt, and stays at 0.2 volt for larger inputs, labelled saturation, on and output low.
For saturation, the base current must be at least
IB,min=βIC(sat)=βRCVCC−0.2V
A design uses a base current a little larger than this, so that saturation is sure even for a transistor with a smaller β.
The output is high when the input is low and low when the input is high. The circuit inverts. It is a NOT gate. The same circuit with a relay or a lamp in the place of RC lets a small signal switch a large load on and off.
A worked example. A buzzer of resistance 150Ω is switched by a transistor with β=100 on a 6.0 V supply. The control voltage is 3.3 V. Find the least base current and the largest base resistor.
The saturated collector current.IC(sat)=150Ω6.0V−0.2V=38.7 mA.
The least base current.IB,min=10038.7mA=0.387 mA.
The largest base resistor.RB=0.387mA3.3V−0.7V=6.7kΩ. A resistor of half this size gives a safe margin.
Move the input from 0 to 5 V. At which input does the output start to fall, and at which does it stop falling? Make the base resistor larger. Which of the two points moves?
Practise with new numbers
Try it in Python
The program amplifies a 100 Hz sine wave with a gain of −200, and clips the output at 0.2 V and 12 V. It tries three input amplitudes.
Common mistakes
Forgetting the minus sign of the gain. The output is 180∘ out of phase with the input.
Saying the transistor makes power. The extra power comes from the supply.
Using the supply VCC as the input to the formula of the gain. The gain uses β, RC and ri.
Using a bias that leaves no room. A working point near VCC or near 0.2 V clips one half of the signal.
Calling the switch closed when the output is high. A high output means the transistor is off, which is the open switch.
Using VCC/RC for the saturation current. The transistor keeps 0.2 V, so use (VCC−0.2V)/RC.
Remember these
AV=−riβRC. The output is upside down. AI=β and ∣AP∣=β∣AV∣.
The Q point is set near VCC/2. Clipping occurs between 0.2 V and VCC.