Author Topic: Any reason I shouldn't use a TL431 as a virtual ground?  (Read 7622 times)

0 Members and 1 Guest are viewing this topic.

Offline Zero999

  • Super Contributor
  • ***
  • Posts: 19491
  • Country: gb
  • 0999
Re: Any reason I shouldn't use a TL431 as a virtual ground?
« Reply #25 on: November 15, 2018, 03:32:15 pm »
This is going to have a DC socket on it. It needs to be able to run off battery or 12V DC.

If I set the rail at 2.5v approx with a TL431/whatever, the supply voltage change will be in the order of 50nV. If I bias it with a voltage divider I need to accept at that time an instant change of virtual ground from 4.5V to 6V. There are two integrators this isn't going to make very happy.
If the LM358 is buffering it, then I think that's optimistic. The voltage change on the output of the LM358 will be much greater than 50nV, given a step change of supply voltage from 9V to 12V.

The +V rail will still have a poor PSRR, but it's impossible to know whether it's an issue without seeing the bigger picture. Please post a schematic.
 

Offline Zero999

  • Super Contributor
  • ***
  • Posts: 19491
  • Country: gb
  • 0999
Re: Any reason I shouldn't use a TL431 as a virtual ground?
« Reply #26 on: November 15, 2018, 06:37:30 pm »
I think a bare TL431 with a large smoothing capacitor, will be better than adding an LM358.

I've just done an LTSpice simulation showing the step response of the LM358 when the power supply voltage is changed from 9V to 12V and the output current from +2mA to -2mA and back again. Both scenarios generate pretty big transients on the output. I wouldn't trust the SPICE model though: do some bench tests.
 

Online T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 21658
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: Any reason I shouldn't use a TL431 as a virtual ground?
« Reply #27 on: November 15, 2018, 06:41:58 pm »
You gotta do



or



if you want to put capacitance on there, to reduce the high frequency impedance (i.e. reduce voltage ripple for a change in output current).

(Which, if you note the TL431 is basically an open-collector op-amp, these are identical.)

Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 
The following users thanked this post: oPossum

Offline nuno

  • Frequent Contributor
  • **
  • Posts: 606
  • Country: pt
Re: Any reason I shouldn't use a TL431 as a virtual ground?
« Reply #28 on: November 15, 2018, 07:14:07 pm »
TL431 must be used with a resistor (or whatever equivalent), the resistor will source current.

The 431 can only sink the current, the 78L05 only source..
358 buffer with 2x10k at its +inp could be the simplest solution..
 

Offline bd139Topic starter

  • Super Contributor
  • ***
  • Posts: 23018
  • Country: gb
Re: Any reason I shouldn't use a TL431 as a virtual ground?
« Reply #29 on: November 15, 2018, 07:56:55 pm »
You gotta do



or



if you want to put capacitance on there, to reduce the high frequency impedance (i.e. reduce voltage ripple for a change in output current).

(Which, if you note the TL431 is basically an open-collector op-amp, these are identical.)

Tim

This is what they do in the HP546xx scope internal references. Totally agree and thanks for the tips.

Edit: regarding step response, the supply is very heavily decoupled so there isn’t a massive ramp up. I will test this on the bench.
 

Offline nuno

  • Frequent Contributor
  • **
  • Posts: 606
  • Country: pt
Re: Any reason I shouldn't use a TL431 as a virtual ground?
« Reply #30 on: November 15, 2018, 08:52:56 pm »
(...)

On a side note, you should put a link to your datasheet in your forum signature :D
 

Offline iMo

  • Super Contributor
  • ***
  • Posts: 4760
  • Country: nr
  • It's important to try new things..
Re: Any reason I shouldn't use a TL431 as a virtual ground?
« Reply #31 on: November 15, 2018, 09:34:48 pm »
I think a bare TL431 with a large smoothing capacitor, will be better than adding an LM358.

I've just done an LTSpice simulation showing the step response of the LM358 when the power supply voltage is changed from 9V to 12V and the output current from +2mA to -2mA and back again. Both scenarios generate pretty big transients on the output. I wouldn't trust the SPICE model though: do some bench tests.
The Spice models must not be exact, but I can hardly imagine a 100ns pulse edge in a system OP is elaborating (an another 358 generating some 150Hz sine I/Q stuff), however. LM358 itself is an 1MHz at unity gain opamp..
 

Offline Zero999

  • Super Contributor
  • ***
  • Posts: 19491
  • Country: gb
  • 0999
Re: Any reason I shouldn't use a TL431 as a virtual ground?
« Reply #32 on: November 15, 2018, 09:51:12 pm »
I think a bare TL431 with a large smoothing capacitor, will be better than adding an LM358.

I've just done an LTSpice simulation showing the step response of the LM358 when the power supply voltage is changed from 9V to 12V and the output current from +2mA to -2mA and back again. Both scenarios generate pretty big transients on the output. I wouldn't trust the SPICE model though: do some bench tests.
The Spice models must not be exact, but I can hardly imagine a 100ns pulse edge in a system OP is elaborating (an another 358 generating some 150Hz sine I/Q stuff), however. LM358 itself is an 1MHz at unity gain opamp..

I don't know what power supply the OP is using, but a mechanical switch to change from 9V to 12V can create some surprisingly high frequency components. In real life I wouldn't expect a 100ns step response, but a bunch of pulses, as the switch bounces, with ringing causing some over and undershoot of the set supply voltage. The LM358's bandwidth makes its PSRR lower, at higher frequencies and therefore prone to interference when the power supply voltage is rapidly changed. I agree, about SPICE models not representing reality, hence my recommendation to bench test it.


Edit: regarding step response, the supply is very heavily decoupled so there isn’t a massive ramp up. I will test this on the bench.
How about when the power source is switched from 9V to 12V or will the never happen when the circuit is running?

What about a plain old 3.3V zener diode? It may not have so good regulation, but it will be faster than the TL431?

By the way, I don't have a problem with the TL431. I just think there are probably more efficient solutions.
 

Offline bd139Topic starter

  • Super Contributor
  • ***
  • Posts: 23018
  • Country: gb
Re: Any reason I shouldn't use a TL431 as a virtual ground?
« Reply #33 on: November 15, 2018, 10:33:09 pm »
It's a DC input jack which switches from a PP3 battery to internal supply. There is a diode or gate between the internal battery and the supply. This feeds a 10uF tantalum and there is local decoupling per amplifier. There is no requirement for it to survive this change but it would be nice to understand the situation in future in case I build something that does need to survive it.

Like I said this is a one off. The main objective here is to get the project completed versus make it totally ideal. I was just making sure originally that I hadn't done something utterly stupid.

Incidentally I have used an LM385-2.5 in it now as I killed my last TL431. This has a 47k resistor so I'm eating about 100uA on that and the buffer opamp is free because it's left over from the 9 other opamps in the design.

When I said 50nV earlier I meant 50uV  :palm: half asleep.

I'll post the completed unit and schematics when I get some time to finish it. It's nothing special or exciting merely a sales tool for something :D
 

Offline Zero999

  • Super Contributor
  • ***
  • Posts: 19491
  • Country: gb
  • 0999
Re: Any reason I shouldn't use a TL431 as a virtual ground?
« Reply #34 on: November 16, 2018, 09:21:26 am »
The LM385-2.5 is a superior solution to the LM431.

No you're certainly not doing anything stupid. You know asking asking a simple question here will result in the idea being heavily scrutinised from every angle. :)
 

Offline bd139Topic starter

  • Super Contributor
  • ***
  • Posts: 23018
  • Country: gb
Re: Any reason I shouldn't use a TL431 as a virtual ground?
« Reply #35 on: November 16, 2018, 09:43:46 am »
Yes indeed. The more questions you ask the more questions are asked of you and the more you learn so it’s a win win all around.
 

Offline iMo

  • Super Contributor
  • ***
  • Posts: 4760
  • Country: nr
  • It's important to try new things..
Re: Any reason I shouldn't use a TL431 as a virtual ground?
« Reply #36 on: November 16, 2018, 11:02:46 am »
My naive simulation - Vbat pulsing 8-9V, 1us edges, 100Hz freq.
500ohm||100uF(alum) simulate an "load".
« Last Edit: November 16, 2018, 11:08:17 am by imo »
 

Offline bd139Topic starter

  • Super Contributor
  • ***
  • Posts: 23018
  • Country: gb
Re: Any reason I shouldn't use a TL431 as a virtual ground?
« Reply #37 on: November 16, 2018, 11:08:26 am »
Interesting. Just waiting on a new fan for my AWG today and I will use that as a crappy source impedance power supply and see what happens :)
 

Offline iMo

  • Super Contributor
  • ***
  • Posts: 4760
  • Country: nr
  • It's important to try new things..
Re: Any reason I shouldn't use a TL431 as a virtual ground?
« Reply #38 on: November 16, 2018, 11:19:31 am »
And the variant N2:
 

Offline StillTrying

  • Super Contributor
  • ***
  • Posts: 2850
  • Country: se
  • Country: Broken Britain
Re: Any reason I shouldn't use a TL431 as a virtual ground?
« Reply #39 on: November 16, 2018, 11:54:40 am »
It's a DC input jack which switches from a PP3 battery to internal supply.

Oh dear. :) Keep an eye on all of the different GNDs.
.  That took much longer than I thought it would.
 

Offline iMo

  • Super Contributor
  • ***
  • Posts: 4760
  • Country: nr
  • It's important to try new things..
Re: Any reason I shouldn't use a TL431 as a virtual ground?
« Reply #40 on: November 16, 2018, 12:34:30 pm »
And finally four variants with 10mA current sources as "the loads" switched on/off at 100Hz, 1us edges, the upper and lower current source shifted by 2.5ms (such it simulates 4 load situations - 0/0, 0/10, 10/0, 10/10mA). Vbat is 9V, an ideal source.
« Last Edit: November 16, 2018, 12:59:58 pm by imo »
 

Offline Zero999

  • Super Contributor
  • ***
  • Posts: 19491
  • Country: gb
  • 0999
Re: Any reason I shouldn't use a TL431 as a virtual ground?
« Reply #41 on: November 16, 2018, 03:10:40 pm »
And the variant N2:
Why not use a single 82R, rather than 100R and 500R in parallel?

Using two capacitors, one to the positive and another to the negative rail makes matters worse, as far as supply rejection is concerned. The capacitors bypass dominate the LM358's output stage and the TL431, forming a capacitive potential divider. Try it again without C2 and C3. The LM358 might also oscillate when its output is connected to such a large capacitance, which is something the SPICE model might not show.
 

Offline iMo

  • Super Contributor
  • ***
  • Posts: 4760
  • Country: nr
  • It's important to try new things..
Re: Any reason I shouldn't use a TL431 as a virtual ground?
« Reply #42 on: November 16, 2018, 06:07:59 pm »
And the variant N2:
Why not use a single 82R, rather than 100R and 500R in parallel?
For clarity. 100R and 1K have been chosen randomly.
Quote
Using two capacitors, one to the positive and another to the negative rail makes matters worse, as far as supply rejection is concerned..
Here you are:
« Last Edit: November 16, 2018, 06:23:05 pm by imo »
 

Offline Zero999

  • Super Contributor
  • ***
  • Posts: 19491
  • Country: gb
  • 0999
Re: Any reason I shouldn't use a TL431 as a virtual ground?
« Reply #43 on: November 16, 2018, 10:54:48 pm »
And the variant N2:
Why not use a single 82R, rather than 100R and 500R in parallel?
For clarity. 100R and 1K have been chosen randomly.
Quote
Using two capacitors, one to the positive and another to the negative rail makes matters worse, as far as supply rejection is concerned..
Here you are:
I didn't say remove both the capacitors going to positive and negative. Reread the post.  :palm:
« Last Edit: November 16, 2018, 10:57:13 pm by Hero999 »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf