Overview
The analog audio power amplifier is a custom PCB designed around the LM386 audio power amplifier to amplify low-level audio signals and drive an external speaker. The circuit integrates adjustable volume control, power-supply filtering and decoupling, AC-coupled speaker output, and an output stability network into a complete analog audio amplification system. The LM386 is configured for a nominal voltage gain of 20 V/V (26 dB), while the surrounding circuitry was designed to provide signal conditioning, power stability, DC isolation, and reliable speaker operation. The project combines circuit design and component selection, simulation, PCB layout, and hardware implementation.
Fig. 1. LM386 analog audio power amplifier PCB layout
Design
The amplifier was designed around an LM386 low-voltage audio power amplifier with a 10 kΩ potentiometer for adjustable input volume. The audio signal is attenuated by the potentiometer before being fed into the amplifier, while the output is AC-coupled to the speaker through a 220 µF capacitor to block the DC component. A 10 Ω resistor and 47 nF capacitor form a Zobel network at the output to improve high frequency stability. The power input includes Schottky-diode reverse polarity protection and bulk and ceramic decoupling capacitors to reduce supply noise and improve circuit stability.
Fig. 2. LM386 analog audio power amplifier schematic
Circuit Simulation
Transient Analysis
Transient analysis was performed in LTspice to evaluate the amplifier’s time-domain response and output clipping behaviour. A 1 kHz sinusoidal input was applied while the input peak voltage was swept from 100 mV to 160 mV. The output remained approximately sinusoidal at lower amplitudes, with visible clipping beginning at approximately 140 mV peak input as the output approached its maximum voltage swing.
Fig. 3. LTspice transient simulation setup for output clipping analysis
Fig. 4. simulated output waveforms for input peak voltages from 100 mV to 160 mV
AC Analysis
AC analysis was performed in LTspice to characterize the amplifier’s frequency response across the 20 Hz–20 kHz audio range. A Bode plot of the voltage gain, Vout/Vin, was generated using a logarithmic frequency sweep. The simulated gain increases at low frequencies before reaching an approximately constant midband gain of 28.4 dB, while the phase shift approaches 0° as frequency increases.
Fig. 5. LTspice AC simulation setup for 20 Hz–20 kHz frequency response analysis
Fig. 6. simulated Bode plot showing amplifier voltage gain and phase from 20 Hz to 20 kHz
Challenges & Solutions
Voltage Loss in Reverse Polarity Protection
A conventional silicon diode was initially considered for reverse polarity protection, but its forward voltage drop would unnecessarily reduce the supply voltage available to the LM386. A Schottky diode was selected instead to provide reverse polarity protection with a lower forward voltage drop, minimizing supply loss while maintaining a simple series protection scheme.
Compact PCB Layout and Signal Integrity
The compact board size required the audio input, amplified output, and power circuitry to be routed within a limited area. Poor component placement or long signal paths could increase unwanted coupling and noise in the low-level audio input. The PCB was organized by functional blocks, separating the input, output, and power connections around the LM386. Decoupling and bypass capacitors were placed close to the IC, critical signal and power traces were kept short, and a ground copper pour was used to provide a low-impedance ground return across the board.
Final Outcome
LTspice simulations demonstrated the expected amplification and frequency-response behavior, with output clipping beginning at approximately 140 mV peak input. The simulated gain was approximately 28.4 dB, slightly higher than the LM386’s nominal 26 dB gain due to differences between the SPICE model and ideal datasheet characteristics. Hardware measurements will be performed once the fabricated PCB is received and assembled.
Technologies & Tools: Altium Designer · LM386 · Reverse Polarity Protection · AC Coupling · Power Supply Decoupling · LTspice