PCB MANUFACTURING & ASSEMBLYSHENZHEN, CHINA   /   GLOBAL PROJECTS

How To Use LM386 Audio Amplifier Circuit Effectively

Introduction to the Lm386 Amplifier

The LM386 is a low voltage audio power amplifier designed for use in low power consumer applications. It requires minimal external components, making it ideal for simple and compact audio circuits. Some key features of the LM386 amplifier include:

The LM386’s combination of low distortion, low power consumption, and ease of use make it a popular choice for small audio projects and devices.

Basic LM386 Amplifier Circuit

Below is the schematic for a basic LM386 amplifier circuit:

              +Vs
               |
              +-+
              | |  
    +-------+ | |
    |       | | |
    |  +--+ | | |   
 +--+--+  | | | |  +--------+ 
 |     |  | | +-+  |        |
 | 10uF|  |    |   |        |  
-+     +--+ 10K+---+ IN     |
 |     |      |   |        |
 +-----+      |   +--+--+--+
              +---+  |  |
                  +--+  |
                  |     |
                  +-----+--> Out
                  |     |
                  +--+--+
                     |
                    === Gnd
                     -

This basic configuration provides a voltage gain of 20 (26 dB). The key components are:

The input signal is AC-coupled via a 10uF capacitor to block any DC component. The 10K pot acts as a volume control. The 10uF capacitor between pins 1 and 8 helps improve stability and reduce noise. Finally, the amplifier output is coupled to an 8 ohm speaker through a 250uF capacitor.

Adjusting the Gain

The LM386 provides different voltage gain options by connecting certain pins:

Gain dB Pins
20 26 None
50 34 1 and 8
200 46 1 and 8

To increase the gain to 50, connect a 10uF capacitor between pins 1 and 8. For a gain of 200, leave pins 1 and 8 open. Higher gains allow lower input signal levels but increase noise and risk of feedback.

Power Supply Considerations

The LM386 can operate on a supply voltage range from 4V to 12V. This allows it to be powered from batteries or a DC wall adapter. Some guidelines for the power supply:

To minimize noise and hum, use a regulated supply that is well filtered. Bypass the supply with a 100uF capacitor close to pins 6 and 4 of the LM386.

Input Signal Conditioning

For best results, the input signal to the LM386 should be:

Use an input coupling capacitor of at least 1uF, preferably non-polarized. Keep input wiring short and away from power supply and output traces to minimize noise pickup.

If the input signal is too high, distortion will occur as the amplifier output clips. Reduce the input level or input impedance in this case. On the other hand, extremely low input levels (< 2 mV) will have a poor signal-to-noise ratio. Increase the gain or input signal level if possible.

Minimizing Noise and EMI

Proper circuit layout and grounding is critical to achieving low noise operation with the LM386. Some tips to minimize noise, hum, and interference:

Carefully evaluate the circuit layout to identify potential noise sources and coupling paths. Breadboarding the circuit first can help identify noise issues before committing to a PCB design.

Bass Boost Circuit

To add bass boost, you can create a low-pass filter network on the input pin 3:

              +Vs        
               |         
              +-+        
         0.033| | 15uF        
            uF| |  |
    +-------+ | |  |
    |       | | |  +--+ 
 +--|--+ +--+ | |    | |
 |  |  | |    +-+    +-+
 |  |  | | 15K |      | 
-+  |  +-+    +--+---+--> Pin 3  
 |  |    |       |
 +--+    |      +-+
         +--+     |
            |     | 10K
            +-----+
                  |
                 ===
                  -

This bass boost filter has a low frequency gain of approximately 6 dB and a crossover frequency around 100 Hz. Adjust the component values to tailor the bass response as needed.

Improving Stability

In some cases, the LM386 can become unstable and oscillate, especially at higher gains. To improve stability:

  1. Keep supply leads short and well bypassed
  2. Isolate input and output sections of the circuit
  3. Minimize output coupling capacitance
  4. Use a Zobel network on the amplifier output

A Zobel network consists of a series resistor and capacitor connected from the output to ground. Typical values are 10 ohms and 0.1uF. The Zobel network isolates the amplifier from the effects of speaker impedance variations and long speaker wires that can cause instability.

PCB Layout Tips

When laying out a PCB for the LM386 amplifier, follow these general guidelines:

Pay close attention to potential ground loops and noise coupling paths. Use a star grounding scheme to avoid creating unintentional signal paths.

Bridged Mode Operation

For more output power, two LM386s can be operated in bridged mode:

                            +Vs
                             |
                       +-----+-----+
                       |           | 
                      +-+         +-+
                      | |         | |
    +-------+   +---+ | |         | |
    |       |   |   | | |         | |
 +--|--+    +---+   +-+-+         | |
 |     |        |     |           +-+
 |     |        |     +--+--+--+   |
-+ 10uF| Input  |        |  |  |   |
 |     |  >-----+--------+  |  +---+--> Out
 |     |        |        +--+  |   |
 |     |        |     +--+--+--+  +-+
 |  10K|        |     |           | |
 +--/\/+    +---+   +-+-+         | |
    |       |   |   | | |         | |
    +-------+   +---+ | |         | |
                      +-+         +-+
                       |           |
                       +-----------+
                             |
                            ===
                             -

In this configuration, each LM386 amplifies the input signal but with opposite polarity. This doubles the effective output voltage swing, quadrupling the max output power.

A few things to keep in mind for bridged mode:

Bridged mode does increase component count and circuit complexity compared to a single-ended design. However, it provides much more output power for driving lower impedance speakers.

Troubleshooting Common Issues

Distortion

If you hear distortion, some things to check:

Low Output Volume

For low or no output volume:

Noise or Hum

Potential causes of noise/hum:

Careful PCB layout that separates input and output sections and keeps signal wires short is essential for low noise. Use shielded wires for inputs when necessary. Verify all components are in good working condition.

LM386 Project Ideas

The LM386 is a versatile amplifier IC that is useful for countless small-scale audio projects, such as:

Many of these can be built on a small PCB or even a breadboard. Wherever a compact, low power audio amplifier is needed, chances are the LM386 will do the job.

LM386 Amplifier FAQ

Q: What is the maximum output power of the LM386?

A: The LM386 can deliver 325 mW of output power into an 8 ohm load with a 9V supply. Output power can be increased to 500 mW by using two LM386s in bridged mode.

Q: How much voltage gain does the LM386 have?

A: The LM386 can be configured for three different voltage gain settings: 20 (26 dB), 50 (34 dB), and 200 (46 dB). Gain is set by connecting pins 1 and 8, or leaving them open.

Q: What is the input impedance of the LM386?

A: The LM386 has a relatively high input impedance, typically around 50k ohms or more. For best results, the source impedance should be less than 50k.

Q: How much quiescent current does the LM386 draw?

A: The LM386 has a very low quiescent current of just 4 mA. This makes it well-suited for battery powered applications where current consumption must be minimized.

Q: Can the LM386 be used with a single supply?

A: Yes, the LM386 is designed to operate on a single ended power supply ranging from 4V to 12V. For lower supply voltages, output power and headroom will be reduced accordingly.

Request quote ↗WhatsApp Stan