Designing a push–pull audio amplifier for a car speaker
The goal of this project was to design a simple audio amplifier to drive a 4-ohm, 30-watt RMS (42 Watt peak) speaker extracted from a car door. The objective was not to create the most efficient design, but rather to explore various design approaches.
- Pick amplifier class
- Pick power stage amplifier
- Design and simulate in LTSPICE
- Pick components with appropriate ratings
- Determine thermal output of transistors
- PCB design
- Testing
Initially, I began by driving the speaker with my USB oscilloscope/waveform generator (Analog Discovery 2). The USB waveform generator has the ability to take an MP3 file as an input and output the corresponding waveform. It also has the ability to amplify the signal up to a peak voltage of 5V. However, there were a few problems with this:
- According to the datasheet, this waveform generator has the ability to output a maximum current of 750mA. At a peak voltage of 5V, the power output would only be (0.75A x 5V = 3.75W peak * 0.707 = 2.65W RMS) 2.65 watts RMS, which is only about 9% of the speaker's power output capabilities
- When set to 5V peak output, the waveform generator only seemed to be able to push out 250mA. This means we were only achieving a power output of (0.25A * 5V = 1.25W peak * 0.707 = 0.883W RMS) 0.883 watts RMS.
- Lastly, when set to 5V, the speaker seemed to suffer from a lot of distortion and resulted in very muddy tones
- The final motivation was to see if I could drive the speaker significantly louder. With a 1V waveform signal the loudest sound seemed to be around INSERT DB MEASUREMENT
While devising the design for this project, I established a few constraints to prevent overcomplication. The constraints/rules I settled on were as follows:
- The input/audio signal would be anywhere from 100mV to 1V
- I didn't have to make use of the full 30 watt power capabilities of the speaker
To drive a speaker louder (higher output power) there are two things to keep in mind. These elements are evident in the power equation
The subsequent step in the process involved determining the preferred classification of audio amplifiers for this design. There are four main classes: A, B, AB, and Class D. Further information about these classifications can be found in the links provided below.
- Transistors conduct over the entire 360° cycle of the input signal
- Highest linearity and fidelity, with minimal crossover distortion
- Very inefficient, with typical efficiency around 25% due to constant current draw
- Significant heat dissipation and power wastage, even with no input signal
- Used in low-power applications where sound quality is the top priority
- Use a pair of transistors, each conducting for 180° of the input signal cycle
- Improved efficiency over Class A, up to 78% theoretical maximum
- Suffer from crossover distortion around the zero-crossing point when transitioning between transistors
- Reduced heat dissipation compared to Class A
- Used in applications where efficiency is more important than linearity
*Combine the high efficiency of Class B with the low distortion of Class A
- Bias both transistors to conduct for slightly more than 180° to eliminate crossover distortion
- Efficiency up to 60%, lower than Class B but higher than Class A
- Moderate heat dissipation, less than Class A but more than Class B
- Popular choice for high-fidelity audio amplifiers, balancing efficiency and sound quality
I ended up settling on designing a Class AB amplifier due to its compromise between efficiency and fidelity.
The second decision was whether to use MOSFETs or BJTs for the power stage amplifier. I ultimately chose MOSFETs for the following reasons:
- They generally have high input impedance, which reduces the loading effect on the preceding stages
- They require no current to drive the gate pin
- They can switch faster than BJTs, which can be beneficial in certain applications
- Reduced distortion compared to some BJT designs
- The only drawback is they tend to be more expensive than BJT's
My initial design was based on the class A amplifier design, as shown in the image below. However, the issue arose from its excessive current draw from the op-amp. Additionally, in the absence of a signal input, the amplifier continues to conduct large amounts of current, which could potentially damage the speaker.
Class A Amplifier Design in LTSpice
Class A Amplifier Simulation in LTSpice
Class AB Amplifier LTSpice Schematic Capture
- For this design, I ended up choosing the LT1124 op-amp for the signal amplifying stage. There were a couple of reasons behind this decision. Initially, I had planned for that stage to use a common emitter amplifier. However, the issue was that it required fine-tuning to determine the bias voltages. Additionally, by using the LT1124 op-amp, I could incorporate a potentiometer for variable gain ranging from 0 to 10dB.
- For the power stage of this amplifier, I ended up utilizing the op-amp's inverting terminal as a negative feedback loop for the push-pull configuration. This allowed me to avoid fine-tuning the bias voltages with resistors and diodes.
[1]Output Voltage [2]Output Current [3]Output Power
Amplifier Frequency Response 1Hz - 20kHz
- For the spice simulation of the MOSFETs, custom models were obtained online through Infineon's website. The custom models can be found in the spice_models folder.
I ended up settling on the LT1124
- Power supply range: ±22V (Dual rail supplies)
- Slew rate: 3.9 - 4.5 V/us
- To maintain high fidelity audio it is recommended to have a slew rate of +5V/us.
- We can determine the minimum slew rate given the expected output voltage and frequency. Our maximum output voltage should be 10V and our maximum frequency should be around 20kHz (The upper limit of human hearing). Using the slew rate formula (
$Slew Rate = 2πfv$ ) $Minimum Slew Rate = 2 * π * 20000 * 10 = 1.256V/μS$
- Gain-Bandwidth product: 12.5MHz
- Low voltage noise: 2.7nV/√Hz Typ
I ended up settling on the IRFZ34NPBF
- Maximum VDS: 55V
- Continuous drain current: 29A
- Maximum power dissipation: 68W
- No additional cooling is required since we will not exceed this power rating
- Gate to source voltage: ±20V
- Gate threshold voltage: 2-4V
- RDS(ON): 0.04 ohms
- Turn-on delay time: 7ns
- Rise time: 49ns
- Turn-off delay time: 31ns
- Fall time: 40ns
- Input capacitanceL 700pF
I ended up settling on the IRF9Z24NPBF
- Maximum VDS: -55V
- Continuous drain current: -12A
- Maximum power dissipation: 45W
- No additional cooling is required since we will not exceed this power rating
- Gate to source voltage: ±20V
- Gate threshold voltage: (-2V)-(-4V)
- RDS(ON): 0.175 ohms
- Turn-on delay time: 13ns
- Rise time: 55ns
- Turn-off delay time: 23ns
- Fall time: 37ns
- Input capacitanceL 350pF
Both MOSFET's chosen are overkill for our purposes but provide sufficient headroom for error and/or future upgrades
$Irms = Ipeak/√2 = 3A / √2 = 2.12A$ - Rds(on) = 0.040 ohms
$Pavg = (2.12^2A * 0.04ohms)/2 = 0.08988 W$
$Pavg = 0.08988W$ $RthJA = 62W/C$ $TA = 25C$ $Tj = 0.08988W * 62W/C + 25C = 30.57C$
$Irms = Ipeak/√2 = 3A / √2 = 2.12A$ - Rds(on) = 0.175 ohms
$Pavg = (2.12^2A * 0.175ohms)/2 = 0.3932W$
$Pavg = 0.3932$ $RthJA = 62W/C$ $TA = 25C$ $Tj = 0.3932W * 62W/C + 25C = 49.38C$
Based on the above calculations the MOSFETs shouldn't require any additional cooling methods.
This design requires a positive and negative supply of 20V. This can be done using two power supplies and setting the ground references appropriately as described in this website (Get a positive and negative voltage output from power supply). Alternatively, a split power supply design is another approach; however, the desired voltage and current specifications are simply too large for any regulators on the market.
Since I only had a single power supply at home, I decided to provide an alternative circuit that utilizes a single supply and injects a DC bias voltage into the audio signal. The signal is then passed through a unity gain buffer and subsequently to the push-pull amplifier configuration. The push-pull amplifier configuration serves as a power stage amplifier, enabling us to deliver more power to the speaker. Finally, a large high-pass filter is added at the end to eliminate the initial DC bias.
Class AB Amplifier with DC Bias LTSpice Capture
[1]Output Voltage [2]Output Current [3]Output Power
DC Bias Circuit Frequency Response (1Hz - 20kHz)
The PCB design shown below is for the audio amplifier with dual supplies (+20V and -20V).
3D Audio Amplifier Render
- One of the key considerations during this design was the use of power and ground planes. In this design, I settled on a 2 layer board design because it was cheap and simple to design. The layers are relatively thick to allow for large amounts of current to pass through the traces. However, the board might have benefited from a +20V, -20V, and GND planes. This would help dissipate heat better and reduce electromagnetic interference.
Power Analyzer by Keysight - Altium
- I used the Saturn PCB Design Toolkit to determine the amount of current that the VIAs could handle. Based on power integrity simulations, the VIAs were more than capable of meeting the current requirements. Nevertheless, I ended up adding extra headroom for the current by increasing both the trace width and PCB thickness.












