An electronic amplifier is a circuit that takes a low-power input signal and outputs a proportionally larger, higher-power replica of that signal by modulating current from an external power supply. In a real circuit or installation, it changes the voltage, current, or both, of a weak signal—like a microphone capsule output or a millivolt sensor reading—to a level capable of driving a heavy load like a speaker, motor, or transmission line. People commonly confuse electronic amplifiers with step-up transformers; while a transformer can increase AC voltage, it decreases current proportionally, meaning it provides zero power gain. An amplifier, however, uses a small input signal to control a larger external DC power source, delivering true power gain to the load.
Core Amplifier Classes and Efficiency
The way an amplifier's active components (transistors, MOSFETs, or tubes) conduct current relative to the input waveform defines its "class." This classification dictates the fundamental trade-off between linearity (how accurately the output matches the input) and efficiency (how much DC power is wasted as heat). Understanding these classes is critical when selecting an IC or designing a discrete output stage for your project.
| Class | Conduction Angle | Max Theoretical Efficiency | Typical IC / Topology | Primary Application |
|---|---|---|---|---|
| Class A | 360° | 25% (Resistive) / 50% (Inductive) | Discrete BJT (e.g., 2N3904), JLH1969 | Ultra-low noise RF front-ends, boutique audio |
| Class B | 180° | 78.5% | Discrete Push-Pull pairs | Rarely used alone due to crossover distortion |
| Class AB | 180° to 360° | ~50% to 78.5% | LM386, TDA2030, LM3886 | General-purpose audio, op-amp output stages |
| Class D | Switching (PWM) | >90% | TPA3116D2, MAX98357A | Battery-powered audio, high-power subwoofers |
| Class G/H | Variable Rail AB | ~70% to 80% | Discrete multi-rail designs | Pro audio PA systems, active studio monitors |
For hobbyists and makers, Class AB and Class D dominate the workbench. Class AB ICs like the LM386 are incredibly forgiving with layout and require minimal external components, making them perfect for simple intercoms or guitar practice amps. However, if you are building a battery-powered Bluetooth speaker, the heat generated by a Class AB chip will drain your 18650 cells rapidly. In that scenario, a Class D module using a chip like the TPA3116D2 is mandatory, as it converts over 90% of the battery's energy into acoustic power rather than thermal waste. For a deeper dive into the semiconductor physics behind these conduction angles, the All About Circuits semiconductor textbook provides excellent waveform breakdowns.
Worked Example: Sizing Gain for an ESP32 Sensor Circuit
Voltage amplifiers (operational amplifiers, or op-amps) are the backbone of sensor signal conditioning. Microcontrollers like the ESP32 have a 12-bit ADC with a usable input range of roughly 0V to 3.3V. If your sensor outputs a tiny voltage, you must amplify it to use the ADC's full resolution.
The Scenario: You are monitoring the current draw of a 12V DC motor using a 5mΩ shunt resistor. At the motor's peak stall current of 15A, the voltage drop across the shunt is:
V = I × R = 15A × 0.005Ω = 0.075V (75mV)
You need to amplify this 0–75mV signal to fit the ESP32's 0–3.3V ADC range.
Step 1: Calculate Required Gain
Gain (Av) = Vout(max) / Vin(max)
Av = 3.3V / 0.075V = 44
Step 2: Select the Topology and Resistors
We will use a standard non-inverting op-amp configuration with an MCP6001 (a rail-to-rail I/O op-amp perfect for 3.3V systems). The gain formula for a non-inverting amplifier is:
Av = 1 + (Rf / Rin)
Rearranging to solve for the feedback resistor (Rf) with a chosen input resistor (Rin) of 1kΩ:
44 = 1 + (Rf / 1000)
43 = Rf / 1000
Rf = 43,000Ω (43kΩ)
Step 3: Account for Real-World Tolerances
43kΩ is not a standard 1% E96 resistor value. The nearest standard values are 42.2kΩ and 43.2kΩ. If we select 43.2kΩ, our actual gain becomes:
Av = 1 + (43,200 / 1,000) = 44.2
At peak current (75mV), the output will be 75mV × 44.2 = 3.315V. This is slightly above the 3.3V nominal rail, which is acceptable because the MCP6001 is powered by the exact same 3.3V LDO as the ESP32; the op-amp's output will naturally clip at the supply rail, protecting the ESP32's GPIO pin from overvoltage. For comprehensive op-amp selection guides, Texas Instruments' amplifier portfolio is the industry standard reference for matching bandwidth and slew rate to your specific signal.
Where You Meet Electronic Amplifiers in Practice
Amplifiers are not just for making music louder; they are the critical bridge between the physical world and digital logic. Here is where you will encounter them on the bench:
- Audio DACs and I2S Interfaces: When connecting an ESP32 to a speaker via I2S, you will use a Class D amplifier module like the MAX98357A. This chip takes digital audio data and internally handles the PWM switching and filtering to drive a 4Ω or 8Ω speaker directly, eliminating the need for external analog signal chains.
- Current and Power Monitoring: High-side current sensing relies on instrumentation amplifiers (like the INA219 or discrete INA333 circuits). These specialized differential amplifiers reject the high common-mode voltage of the power rail while amplifying the tiny millivolt drop across the shunt resistor.
- RF and Wireless Receivers: In LoRa or 433MHz receiver circuits, the first component after the antenna is a Low Noise Amplifier (LNA). Devices like the BFP420 transistor amplify microvolt RF signals without adding significant internal thermal noise, which is critical for maintaining a high Signal-to-Noise Ratio (SNR).
- Motor Drivers: A stepper motor driver (like the A4988 or TMC2209) is fundamentally a high-current, high-speed switching power amplifier. It takes low-voltage logic step/direction signals and amplifies them into high-current PWM waveforms to energize the motor coils.
Troubleshooting and Common Confusions (FAQ)
Why is my op-amp output stuck at the maximum voltage rail?
This is almost always an Input Common-Mode Range violation. Every op-amp has a specified voltage window within which its inputs can operate. If you are using an LM358 to measure a shunt resistor on the high side of a 12V battery, but the LM358 is powered by 5V, the inputs are seeing 12V—far outside its 0-5V operating range. The internal transistors saturate, and the output locks to the positive rail. Fix this by using a dedicated high-side current sense amplifier or powering the op-amp from a voltage higher than the common-mode signal.
Why does my Class D audio amplifier sound distorted at high volumes, even though it isn't clipping?
Class D amplifiers draw massive, high-frequency pulsed currents from the power supply. If your power supply wiring is too thin (e.g., using 22 AWG jumper wires for a 50W TPA3116D2 module) or lacks local bulk capacitance, the supply voltage will physically sag during bass transients. This Power Supply Rejection Ratio (PSRR) limitation causes low-frequency distortion. Upgrade to 16 AWG silicone wire for power feeds and solder a 1000µF low-ESR electrolytic capacitor directly across the DC input terminals of the amp board.
My amplifier is oscillating and getting hot with no input signal. What went wrong?
High-frequency oscillation is usually caused by poor PCB layout or missing decoupling capacitors. Power amplifiers require a 100nF (0.1µF) ceramic capacitor placed as physically close to the VCC and GND pins as possible to provide a low-impedance path for high-frequency switching currents. Additionally, ensure your feedback resistor network is kept short; long traces act as parasitic inductors, introducing phase shift that destroys the amplifier's phase margin and turns it into an RF oscillator.






