Module 4: The Magic of Transistors
Use BJT or MOSFET switching to control higher loads safely and introduce basic signal amplification.
Module theory
Welcome to the heart of modern electronics! Until now, our components (resistors, capacitors) were passive—they just reacted to electricity. Transistors are different; they are active components. They act like valves that let a tiny, weak signal control a huge, powerful flow of electricity. Whether you want to turn on a heavy motor with a delicate computer chip or make a whisper sound like a roar, the transistor is your tool. In this module, we will learn how to use them as digital switches and as analog amplifiers.
The Electronic Valve: How Transistors Work
Imagine a large water pipe with a heavy valve. To turn the handle of that valve, you don’t need the strength of the water rushing through the pipe; you just need a small hand to twist it. A transistor works exactly like this electronic valve. It has three legs. One leg is where the main electricity enters (like the water source), one is where it leaves (the drain), and the middle leg is the control handle.
In our Practical case: The transistor as a light switch, we see this in action. We use a tiny, weak signal from a button to ‘push’ the control leg. This opens the floodgates, allowing a much larger current to flow through the other two legs to light up a bright LED. If we didn’t use a transistor, that weak signal might not be strong enough to light the LED on its own. This is the essence of switching: using a small effort to control a big result.
Switching Logic: On, Off, and Inverted
Transistors are great at making decisions based on the presence or absence of electricity. We call these states ‘Saturation’ (fully ON, like a wide-open valve) and ‘Cut-off’ (fully OFF, like a closed valve). But we can also be clever about how we trigger them. Sometimes, we want things to turn on when a connection is broken rather than made.
Consider the Practical case: Intrusion alarm by wire break. Here, we wire the transistor so that as long as a safety wire is intact, it ‘steals’ the control signal, keeping the transistor off. The moment a burglar cuts that wire, the control signal has nowhere else to go but into the transistor, turning it on and sounding the alarm. This shows how transistors form the basic building blocks of logic—determining ‘true’ or ‘false’ based on physical conditions.
Time and Memory: Adding Capacitors
What happens if we combine our new switching tool with the storage tank we learned about in the previous module—the capacitor? We get a circuit that has a sense of time. Since a capacitor takes time to fill up and empty, it can hold the transistor’s control valve open even after you stop pushing the button.
In the Practical case: Slow turn-off timer, we use this trick. When you release the button, the capacitor acts like a small backup battery. It slowly feeds its stored energy into the transistor’s control leg. The transistor doesn’t snap shut immediately; instead, it slowly closes as the capacitor runs dry. This creates a beautiful fading effect, exactly like the interior lights in a car that dim slowly after you close the door.
Handling Heavy Loads and Inductive Kickback
Sometimes the thing we want to switch is dangerous or difficult for a small transistor to handle directly. Mechanical relays are great for switching huge currents, but they need a fair bit of power to activate their magnetic coils. This is where we use the Practical case: Low-Side Transistor Relay Switch.
The transistor acts as a middleman. Your delicate control circuit tells the transistor to turn on. The transistor then handles the medium-sized current needed to activate the relay. The relay then handles the massive current for a heater or motor. However, coils (inductors) are tricky; when you turn them off, they kick back a spike of electricity. We must use protection diodes to ensure this kickback doesn’t destroy our transistor valve.
Amplification: Making Small Signals Big
So far, we have used the transistor as a hard switch: either fully open or fully closed. But what if we hold the valve half-open? This is the secret to the Practical case: Simple audio amplifier. To amplify sound, we don’t want to chop the signal into simple On/Off states; we want to make the waves bigger while keeping their shape.
To do this, we set up a ‘bias point’ or a resting point. Imagine holding the water valve exactly halfway open. Water is flowing steadily. This is our DC resting state. Now, if a tiny ripple (our audio signal) nudges your hand, the main water flow will surge and dip in exact rhythm with that tiny nudge, but with much more power. The small input wiggle creates a huge output wave. This is amplification in the active region.
We use coupling capacitors to block the steady DC water flow from entering or leaving, so only the ‘ripples’ (the sound) pass through. We also use a resistor on the emitter leg to stabilize the circuit, ensuring that temperature changes don’t accidentally open the valve too wide. If the signal is too big, the valve hits its maximum open or fully closed limit, flattening the tops of the waves; we call this ‘clipping’ or distortion.
Choosing the Right Tool: BJT vs. MOSFET
Not all transistors are the same. The BJT (Bipolar Junction Transistor) we have discussed is controlled by current—you have to constantly push a little electricity into the base to keep it on. There is another type called a MOSFET. In the Practical case: Comparing BJT and MOSFET Switches, we see the difference.
A MOSFET is controlled by voltage (pressure) rather than current flow. It’s like a valve that stays open just because of the pressure of your hand resting on it, without your hand actually moving. This makes MOSFETs incredibly efficient because they don’t waste energy just to stay ‘on.’ While BJTs are great for simple tasks and amplifiers, MOSFETs are often better for high-power switching because they stay cooler and demand less from the control circuit.
Quiz
