Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Virtual ground mid-rail LM386 for low voltage projects.

voxmagna

Newbie level 6
Newbie level 6
Joined
Apr 19, 2020
Messages
11
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
126
I often need to split voltage rails for a center rail virtual ground cheap and simple. I'm working with op amp circuits running from battery 4-6 Volts. I took several different op amps from my components stock, bread boarded split rail circuits and learned a lot:

1. The output current can be just a few mA, or some opamps can do 30mA.
2. Some op amps are unstable with a capacitor load on the split rail output
3. The output current into a resistor load isn't always symmetrical sinking to ground or sourcing current from the supply rail.
4. The quiescent current draw of some opamps can be over 3mA, too high for low power battery designs.
5. Adding a BJT output driver with diodes and resistors for more currrent, increases the complexity and parts count.

I've tested an unconventional design using an LM386 audio amp IC. It's not an op amp in the normal sense and only has a gain of x20, but it can drive 8 ohm mini speakers or headphones with capacitor loads. It's an old chip with not much in it, but easily sourced cheap. It's capable of X200 gain but that's a.c gain and I wanted higher d.c gain for rail spliting to hold the rail voltage constant at VCC/2 up to 100mA output.

I studied the LM386 architcture and bread boarded it as a rail splitter, testing with a dvm, 'scope for noise, capacitor loads and resistors. Without any aditional parts, it would rail split but had a -250mV offset from center and some voltage variation with resistor test loads when sinking and sourcing current up to 150mA. I studied the LM386 nternal schematic and calculated I could replace the gain capacitor on pins 1 & 8 with a 180 ohm resistor to increase gain from x20 to X100. The fixed offset voltage of VCC/2 -250mV was still present, but I could correct this with an external resistor 91k on pin 7. All my practical tests seem to show this works with 5 parts. Can anybody see the downside because I've not seen anybody do this? Thanks
 

Attachments

  • LM386 Schematic.jpg
    LM386 Schematic.jpg
    163.9 KB · Views: 23
  • My LM386 rail splitter.jpg
    My LM386 rail splitter.jpg
    143.6 KB · Views: 22
Rough sim :

1731013987832.png


Since inputs not tied to fdbk they sit at ~ ground due to internal pull downs. So
rail is not getting split 1:1


Regards, Dana.
 

Attachments

  • 1731013819924.png
    1731013819924.png
    260.4 KB · Views: 7
How much is your load, Rl? This affects load regulation error, as error = Rs for the split rail controls the error roughly by Rs/(Rs+Rl)*Vcc
The LM386 Quiescent Current Drain: 4 to 8 mA

The advantage of compensated BJT Op Amps is that they can drive high C loads, CMOS OA's cannot.
The Rs output impedance is reduced by the excess gain so if Rout (open loop) is 300ohms and excess gain is 10k, then the Zout is 300 /10k until current limit is exceeded.
 
Thanks for all your replies. I've met and tried simulations on the internet in the past and found they didn't always tie up in practice. I've built and measured the schematic I posted and it would be interesting to see a simulation that proves what I measured is possible? Dannadakk, when you posted your simulation did you build the diagram from the LM386 schematic or use a generic or library op amp? Every measurement I've made showed I can get a stable mid rail from a 6V supply (I've adjusted it higher and lower) and whilst still supporting a 100-150mA load. It also worked with a large 220uF capacitor on the load tied either to ground, VCC or both. I haven't tried several LM386s from different manufacturers. The only unstable operation I had was when VCC was reduced below 3.5V which I expected and there was complete output cliff edge drop out, but that low voltage is pretty extreme. With a dc gain of only X100 I wasn't expecting instability because the LM386 a.c gain is claimed to be stable at X200.

Can anybody with an LM386 try what I've done in practice and tell me their result, it only takes a few minutes to assemble? I don't use SIM. The LM386 internal architecture isn't like a normal op amp. It's designed for single rail operation with - input pin 2 grounded, when it's output pin 5 sits at half rail (as measured). Here's a link to an article I found helpful because it explains circuit gain and how I arrived at a feedback resistor value of 180 ohms.


Tony, yes I've learned BJTs are better than OA's for rail splitting although I was surprised the TL07 series OAs I tried could drive 30mA at low rail voltage, even with some load capacitance. But have a look at the LM386 architecture explained in the link. The output stage is what you might build using discretes and why the LM386 can drive 3 ohm loads.
 
Last edited:
The sim I did (all) used a LM386 spice model other folks found behaved close to
bench testing.

I am sure at a loss where your circuit has no fdbk from output, hence load
accommodation changes affecting Vout. And yopu have both inputs tied together,
not sensing any supply value, I do not understand what you are seeing.

Regards, Dana,
 
This works better than an LM317ADJ using complementary emitter followers on a LM741
I did worst-case testing 10 kHz square wave load 200 mA. < 10 mV ripple quick & dirty design


OK don't laugh

1731031926824.png

--- Updated ---

I simulated the internals of the LM386 and found your result was close but dependent on hFE which I started at hFE =100 then reduced some to try to bring down Vout = 3.6 but was not enough to bother adjusting every one.

The Bypass node is the most sensitive.
Since my transistors are matched, shorting Vin+/- has no effect.
Gain R brings down the output more, so to get Vout=50%Vs this is what I did.

1. Short out g8-g1 letting Av = 200 = 2*15k/150
2. Move Bypass R to 0V and use 1.2M then max Vout error was 13 mV/1V.


The problem with your LM386 approach is the hFE is too temperature sensitive and there will be changes to front end bias current which induces offset into the Bypass and path to output.

But you still don't have any design tolerance specs, so we can't tell what you need.
There a far better solutions once you define all the variables in your design spec.

my design sim = https://tinyurl.com/2yg6ugfo

1731036051514.png



1731036425726.png
 
Last edited:
I am sure at a loss where your circuit has no fdbk from output, hence load
accommodation changes affecting Vout. And yopu have both inputs tied together,
not sensing any supply value, I do not understand what you are seeing.
LM386 has internal feedback network to set gain and differential inputs. No external feedback required. Inputs are already biased to ground by internal resistors, in the present circuit, they should be shorted to ground.
Stability can be checked by measuring output impedance in AC simulation. LM386 applications are suggesting Boucherot cell for stability in regular amplifier operation, thus there might be a problem.
 
Hi,

the others gave you valuable informations about your circuit.
However I see a solution with an analog switch, a 50% duty cycle square wave to drive the switch (maybe can be supplied by an existing microcontroller for free), an inductance and double diode and a capacitor (and a damping resistor, if the load is not suitable).
Depending on the parameters it could be a rather low cost and low power consumption solution.

***
To your points of post1:
1) there are "high current OPAMPs" ... just use a parametric OPAMP search tool (distributor, manufacturer...)
2) ...true, but most OPAMP datasheets show simple solutions to avoid this problem
3) OPAMP cirrcuit using feedback solves this problem
4) there are many low power OPAMPs ... just use a parametric OPAMP search tool (distributor, manufacturer...)
5) true ... and? two transitors and a resistor is a problem?

Still I try to give a different view:
In decades of electronics design I came across the same problem several times. But (I guess) I never used above solution to split the POWER side. My solutions more worked on the SIGNAL side. The benefit is that it can be done using a single OPAMP. Rather precisely. low current draw (for battery operated systems), low effort, low noise...

If you want us to give you such "alternative solutions" we need to get more informations about your application. Like the schematic, so we can see why and how you use the split power supply.

Klaus
 

LaTeX Commands Quick-Menu:

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top