Searching \ for '[PIC] Unbalanced op-amp supply' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: techref.massmind.org/techref/microchip/devices.htm?key=pic
Search entire site for: 'Unbalanced op-amp supply'.

Exact match. Not showing close matches.
PICList Thread
'[PIC] Unbalanced op-amp supply'
2008\05\27@010957 by Jinx

face picon face
I'm making a simple (as possible) op-amp buffer for the PIC
ADC and would like to know the effect of unbalanced supply

I'm using the amp as a non-inverting unity-gain voltage follower

Circuit has available 5.4V (Vcc) and 13.3V (Vbatt). An I/O
is being used to generate -5.3V (Vee) for the op-amp

I need the input to the ADC to reach at least 5.12V, which is
Vref. Common op-amps are quite short of rail-to-rail, so using
5.4V as Vcc isn't working. Op-amps to hand are LM358, LM
1458, LF412, TLS272 and TL072 (all dual - 2 ADC channels)

If I use 13.3V as the amp's V+ and -5.3V for Vee, the op-amp
output can swing between 0V and up to the 5V6 zener clamp on
its input (which should be safe for a PIC with Vcc = 5.4V)

What I'd like to know is whether this is a sustainable voltage
set-up for the op-amp, or is it going to suffer any damage in
the long term ?

TIA

2008\05\27@014739 by Brent Brown

picon face
> I'm making a simple (as possible) op-amp buffer for the PIC
> ADC and would like to know the effect of unbalanced supply
>
> I'm using the amp as a non-inverting unity-gain voltage follower
>
> Circuit has available 5.4V (Vcc) and 13.3V (Vbatt). An I/O
> is being used to generate -5.3V (Vee) for the op-amp
>
> I need the input to the ADC to reach at least 5.12V, which is
> Vref. Common op-amps are quite short of rail-to-rail, so using
> 5.4V as Vcc isn't working. Op-amps to hand are LM358, LM
> 1458, LF412, TLS272 and TL072 (all dual - 2 ADC channels)

Adding a pull-up resistor to the output of the LM358 can extend it's useability quite a
bit, something worth trying? Say 1k ~ 4k7 or so. Without it they are awful - can only
drive to within 1.5V of +V (from my memory), but on the other hand they drive down
to 0V ok and input common mode range is good, includes 0V.

--
Brent Brown, Electronic Design Solutions
16 English Street, St Andrews,
Hamilton 3200, New Zealand
Ph: +64 7 849 0069
Fax: +64 7 849 0071
Cell: +64 27 433 4069
eMail:  spam_OUTbrent.brownTakeThisOuTspamclear.net.nz


2008\05\27@032219 by Richard Prosser

picon face
As Brent says - try a pull-up resistor on the Opamp output.
But running the opamp in an "Unbalanced" manner won't create any
problems at all - provided you protect against the ADC input being
pulled out of range. (Which you've done).

RP

2008/5/27 Brent Brown <.....brent.brownKILLspamspam@spam@clear.net.nz>:
{Quote hidden}

> -

2008\05\27@044232 by Jinx

face picon face
> Adding a pull-up resistor to the output of the LM358 ..
> Say 1k ~ 4k7 or so

Thanks for the suggestion. I did some tests

Without resistor

Supply +5.4 / 0V  o/p swing 0 - 4.15V
Supply  +5.4V / -5.3V o/p swing 0 - 4.14V

With resistor (various 1k - 10k)

Supply +5.4V / 0V o/p swing 0.915 - 4.80V
Supply +5.4V -5.3V o/p swing 0 - 4.80V

So a resistor helps, but not quite enough. I suppose you
could use 5.4V Vcc with 4/5 gain and have 4.096V out
= 5.120V in as an alternative to a higher Vcc

> Without it they are awful - can only drive to within 1.5V
> of +V (from my memory)

According to the d/s that's right. In practice a little closer

2008\05\27@062235 by Apptech

face
flavicon
face
> As Brent says - try a pull-up resistor on the Opamp
> output.
> But running the opamp in an "Unbalanced" manner won't
> create any
> problems at all - provided you protect against the ADC
> input being
> pulled out of range. (Which you've done).

I agree about unbalanced supply being no problem.

Also:    When running with dual supplies and lots of
headroom outside your target output range, as proposed, you
will not usually need a pull  up or down.

HOWEVER if using an LM358 and running single supply and you
want to drive to near ground the LM358/LM324 needs a pull
DOWN to improve it's ground approach. The LM358 is a very
simple amplifier and makes no great attempt to approach
bottom rail/ground well. The output low side driver is a PNP
emitter follower * which necessarily gets decidedly soggy
when it's base is grounded (when it should produce ground
output). You then have essentially about 0.6V+ of above
ground dead space - more as current increases. Adding a pull
down provides ground drive which the op amp can't.

*Q13 page 20 here http://www.national.com/ds/LM/LM158.pdf

The datasheets output voltage swing spec is not adequately
defined as they don't say where the load is connected to. If
the noted 10k is to ground then 5 mV typical is simply a
reflection of the driver off leakage current .


       Russell

2008\05\27@070049 by Spehro Pefhany
picon face
At 05:06 AM 5/27/2008, you wrote:


>The datasheets output voltage swing spec is not adequately
>defined as they don't say where the load is connected to. If
>the noted 10k is to ground then 5 mV typical is simply a
>reflection of the driver off leakage current .

The LM324 is a bipolar circuit. It's a reflection of the Vce(sat) of the
NPN BJT used as a 50uA (nominal) current sink to ground, which is what
pulls it down the  last bit, n'est ce pas?  It won't behave a bit like
leakage current.

Best regards,

Spehro Pefhany --"it's the network..."            "The Journey is the reward"
.....speffKILLspamspam.....interlog.com             Info for manufacturers: http://www.trexon.com
Embedded software/hardware/analog  Info for designers:  http://www.speff.com



2008\05\27@081304 by Apptech

face
flavicon
face
>>The datasheets output voltage swing spec is not adequately
>>defined as they don't say where the load is connected to.
>>If
>>the noted 10k is to ground then 5 mV typical is simply a
>>reflection of the driver off leakage current .

> The LM324 is a bipolar circuit. It's a reflection of the
> Vce(sat) of the
> NPN BJT used as a 50uA (nominal) current sink to ground,
> which is what
> pulls it down the  last bit, n'est ce pas?  It won't
> behave a bit like
> leakage current.

You obviously have a better schematic of the internals than
I :-). You are no doubt right that that 50 uA source is an
NPN driven to ground.

I was actually starting with my real world experiences and
retro-fitting an explanation to them. In retrospect this may
have given the right answer for a less than fully correct
reason :-).

My practical experience is that if you want it to drive
really close to ground you have to help it out fairly
severely. A quick look at a circuit that came to mind where
I'd needed to do this (7 years ago as it happens) shows I
used a 2k7 to ground and was driving a 10k load to an
intermediate voltage. That 10k matches the 10k load of the
data sheet and I know that I was not getting close to the 20
mV max the spec sheet claims. It's interesting that my 2k7
helped as, at the specified 20 mV, it would only have drawn
an additional ~= 8 uA. Well under what the 50 uA/NPN
saturated should provide. ???

In Jinx's case he's more concerned about achieving a high
Vout so this won't be an issue.



       Russell

2008\05\27@092118 by Spehro Pefhany

picon face
Quoting Apptech <EraseMEapptechspam_OUTspamTakeThisOuTparadise.net.nz>:

{Quote hidden}

Once the 50uA current sink can't handle it you've got problems
getting close to the negative rail. IOW, if your intermediate voltage
is more than 0.5V above the negative rail with a 10K load (in practice,
you'd want it to be quite a bit less to allow for tolerance).

> It's interesting that my 2k7
> helped as, at the specified 20 mV, it would only have drawn
> an additional ~= 8 uA. Well under what the 50 uA/NPN
> saturated should provide. ???

Maybe it was just on the edge?

> In Jinx's case he's more concerned about achieving a high
> Vout so this won't be an issue.

Sometimes it's easier & better to just throw away some portion
(maybe 10%) of the ADC range at each end, especially when you
consider clamp tolerances and the difficulty of getting close
to either rail and maintaining accuracy, closed-loop stability
and response speed. If you have an ENOB of 9.6 rather than 10,
in most cases it's no big deal. I don't think the zener clamp
is going to cut it when you consider tolerances on the Vz and
Vdd.

Best regards,
Spehro Pefhany
--
"it's the network..."                          "The Journey is the reward"
s...spamspam_OUTinterlog.com             Info for manufacturers: http://www.trexon.com
Embedded software/hardware/analog  Info for designers:  http://www.speff.com


2008\05\27@093245 by Spehro Pefhany

picon face
Quoting Apptech <@spam@apptechKILLspamspamparadise.net.nz>:
<...>

BTW, you can model the output for Iout << 50uA as a voltage source from
the negative supply with a series resistance. A 50uA BC337 current mirror
looks like a ~2mV voltage source with 680 ohms in series. It should have a
positive tempco.

Best regards,
Spehro Pefhany
--
"it's the network..."                          "The Journey is the reward"
KILLspams...KILLspamspaminterlog.com             Info for manufacturers: http://www.trexon.com
Embedded software/hardware/analog  Info for designers:  http://www.speff.com


'[PIC] Unbalanced op-amp supply'
2008\06\10@023917 by Jinx
face picon face
I can't remember whether it was Richard Prosser or Brent
Brown who asked where I'd be at the Mystery Creek Fieldays

Can't guarantee if or when I'll be there personally, the client is
manning it initially

PE63

Our budding web site

http://www.remstatt.com/

A run-through on Sunday highlighted last-minute changes requiring
an all-nighter at the keyboard. Haven't done a straight 40-hour stint
for a while (yaaaaawn). But it paid off

2008\06\10@031845 by Richard Prosser

picon face
Unfortunately, not me.

RP

2008/6/10 Jinx <RemoveMEjoecolquittTakeThisOuTspamclear.net.nz>:
{Quote hidden}

> -

2008\06\10@033230 by Brent Brown

picon face
On 10 Jun 2008 at 18:37, Jinx wrote:
> I can't remember whether it was Richard Prosser or Brent
> Brown who asked where I'd be at the Mystery Creek Fieldays

Yep, twas me, I'm planning to be there tomorrow and friday at this stage. So you're
inside the big building then?.. nice, although we're putting on good weather so
outside wil be nice and sunny. I'll be sure to drop in and have a look at your work,
let you know what I think! See you if I see you.

--
Brent Brown, Electronic Design Solutions
16 English Street, St Andrews,
Hamilton 3200, New Zealand
Ph: +64 7 849 0069
Fax: +64 7 849 0071
Cell: +64 27 433 4069
eMail:  spamBeGonebrent.brownspamBeGonespamclear.net.nz


2008\06\10@034727 by Vasile Surducan

face picon face
On 5/27/08, Jinx <TakeThisOuTjoecolquittEraseMEspamspam_OUTclear.net.nz> wrote:

Op-amps to hand are LM358, LM
> 1458, LF412, TLS272 and TL072 (all dual - 2 ADC channels)

LMC6482 will work without twisting your brain...

2008\06\10@050224 by Jinx

face picon face
>  Op-amps to hand are LM358, LM1458, LF412, TLC272
> and TL072 (all dual - 2 ADC channels)
>
> LMC6482 will work without twisting your brain...

Thanks Vasile (and particularly the non-brain-twisting bit. I don't
think I can cope with another just now ;-) ). The whole project
will be re-visited shortly and there'll be a more leisurely look,
compared with the hurried flap to get it made in the first place, at
the PIC's ADC buffering components. Experience with previous
projects shows that you can use fairly standard components
without affecting performance too badly for many applications,
but I'd like to fine-tune this one a little better. Although even the
current, simple, set-up returns results to 0.2% using 'junk box' parts

2008\06\10@074124 by Jinx

face picon face
> See you if I see you.

If I'm not there it'll be most likely Murray (beard) or Des. Say hello

And buy something ;-)

2008\06\10@111640 by Vasile Surducan

face picon face
OK, junk box, basement, things lost in your beard...
:)

Use the AD reference at 4V or so. Where do you get inexpensive 4V or
so reference?
TL431 or LM431
Specifically, in any PC power suply there is one.
How many do you have in your basement ? I think I have hundreds...

On 6/10/08, Jinx <RemoveMEjoecolquittspamTakeThisOuTclear.net.nz> wrote:
{Quote hidden}

> -

2008\06\10@184807 by Jinx

face picon face
> Use the AD reference at 4V or so. Where do you get inexpensive 4V
> or so reference?
> TL431 or LM431
> Specifically, in any PC power suply there is one.
> How many do you have in your basement ? I think I have hundreds...

I have access to thrown-out 48V Nokia PSUs and each one has a
control board with a dozen TL431. I haven't tried one as a voltage
reference source though. The 4.096V references I looked at were
a little expensive (although I didn't shop around), so I should include
a TL431 in the next round of experiments then

Currently I'm using a jacked-up 78L05 to make 5.12V for Vref for
several boards. It's quite easy to set with a couple of fixed resistors
and a trim-pot. If I continue to use that it'll need testing to make sure
it's stable from say -10C to 40C. The case is heated a little by the
PSU so temperature probably won't go too low

2008\06\10@214451 by Richard Prosser

picon face
Jinx,

The TL431 is likely to be much more temperature stable than the LM7805
and should be lower noise also.  Also much more consistent between
samples.
I've used the TL431 several times and while it's not perfect, it
meets my requirements over -10 to +70C.  Just use resistors with good
temp coefficients!

RP

2008/6/11 Jinx <joecolquittEraseMEspam.....clear.net.nz>:
{Quote hidden}

> -

2008\06\10@235837 by Jinx

face picon face
> The TL431 is likely to be much more temperature stable than the
> LM7805 and should be lower noise also

Cheers. I've got some here to play with. Will post results

2008\06\11@010545 by Vasile Surducan

face picon face
One perfect application for TL431 is replacing a few lines of code and
some comparators and/or AD inputs for monitoring precisely the PIC
supply value in portable applications. It's what I named "oldest but
goldest". Like LM723, ICL7107 and a few other components without age
and without aging.
:)
Vasile

On 6/10/08, Richard Prosser <EraseMErhprosserspamgmail.com> wrote:
{Quote hidden}

2008\06\11@030352 by Xiaofan Chen

face picon face
On 6/11/08, Vasile Surducan <RemoveMEpiclist9spam_OUTspamKILLspamgmail.com> wrote:
> One perfect application for TL431 is replacing a few lines of code and
> some comparators and/or AD inputs for monitoring precisely the PIC
> supply value in portable applications. It's what I named "oldest but
> goldest". Like LM723, ICL7107 and a few other components without age
> and without aging.
> :)

TL431 is also widely used in the feedback path of many
isolated Flyback converters together with an opto-coupler.
Be very careful about the caps used with TL431. Back in
1999, one of my colleague wrongly used one cap. The
symptom was that the regulator would not regulate properly
at higher operating temperature and it would trip the secondary
crowbar over-voltage protection circuits and thus caused the
primary fuse to blow. It was a solenoid driver module and
customer found out that the modules would have the fuse blow
after few weeks and the failure all happened during the
switch-on moment. Initially we all thought the inrush current control
circuit was the culprit. In the end, we found out it was due to
a wrong cap used with TL431.

Xiaofan

2008\06\11@041806 by Jinx

face picon face
> In the end, we found out it was due to a wrong cap used
> with TL431

The TL431 is not a component I've used before so I appreciate
that sort of pointer

I've just been reading this (kind of echoes the LDO + ceramics thread)

http://www.tnt-audio.com/clinica/regulators2_impedance2_e.html

2008\06\11@045237 by Alan B. Pearce

face picon face
>Use the AD reference at 4V or so. Where do you get inexpensive
>4V or so reference?
>TL431 or LM431

Anyone looking for low noise accurate references may like to look at the new
Analog Devices range. Look at the ADR44x range, each voltage output comes in
2 grades of tolerance, and includes 2.048 and 4.096V references.

2008\06\11@050807 by Xiaofan Chen

face picon face
On 6/11/08, Alan B. Pearce <RemoveMEA.B.PearceTakeThisOuTspamspamrl.ac.uk> wrote:
> >Use the AD reference at 4V or so. Where do you get inexpensive
> >4V or so reference?
> >TL431 or LM431
>
> Anyone looking for low noise accurate references may like to look at the new
> Analog Devices range. Look at the ADR44x range, each voltage output comes in
> 2 grades of tolerance, and includes 2.048 and 4.096V references.

That is a totally different grade of component than the TL431. I am
using ADR03 and tried ADR421 as well because of their good temperature
drift performance (3ppm worst case). They have much better
speciifcation than the TL431 and are much more expensive as well.

But TL431 is more than a reference. You can refer to the following
written by the famous R. B. Ridley (ok, he is famous only in the
field of power electronics).
http://switchingpowermagazine.com/downloads/15%20Designing%20with%20the%20TL431.pdf

Xiaofan




Xiaofan

2008\06\11@065457 by Dennis Crawley

picon face
On Wednesday, June 11, 2008 6:07 AM [GMT-3=CET],
Xiaofan Chen  wrote:

> On 6/11/08, Alan B. Pearce <EraseMEA.B.PearcespamspamspamBeGonerl.ac.uk> wrote:
>>> Use the AD reference at 4V or so. Where do you get inexpensive
>>> 4V or so reference?
>>> TL431 or LM431
>>
>> Anyone looking for low noise accurate references may like to look at the
>> new Analog Devices range. Look at the ADR44x range, each voltage output
>> comes in 2 grades of tolerance, and includes 2.048 and 4.096V references.
>
> That is a totally different grade of component than the TL431. I am
> using ADR03 and tried ADR421 as well because of their good temperature
> drift performance (3ppm worst case). They have much better
> speciifcation than the TL431 and are much more expensive as well.
>
> But TL431 is more than a reference. You can refer to the following
> written by the famous R. B. Ridley (ok, he is famous only in the
> field of power electronics).
>
switchingpowermagazine.com/downloads/15%20Designing%20with%20the%20TL
431.pdf
>
> Xiaofan

I always believe that it was a mere *adjustable* zenner, excellent article.
Dennis.


More... (looser matching)
- Last day of these posts
- In 2008 , 2009 only
- Today
- New search...