Hobby Electronics Basics Is it okay if I leave an opamp or comparator input open?

Bookmark this page:  YahooMyWeb Yahoo!  Google Google  Windows Live Favorites Windows Live  del.icio.us del.icio.us  digg digg  Add to Netscape Netscape
Subject Author Date
Is it okay if I leave an opamp or comparator input open? MRW 07-24-07
Posted by MRW on July 24, 2007, 10:18 pm
Please log in for more thread options


I am curious if it is okay to leave an opamp or comparator inverting
or non-inverting input open while the device is powered.
Thanks!


Posted by DJ Delorie on July 24, 2007, 10:47 pm
Please log in for more thread options



Op amps have such a high gain that leaving an input open will probably
drive the output into saturation, which isn't ideal. Better to
configure unused op amps as unity-gain (tie in- to out) and use a pair
of resistors to set the input voltage to half the supply voltage.
That keeps all the pins in spec and happy.

Posted by MRW on July 25, 2007, 12:20 am
Please log in for more thread options


> Op amps have such a high gain that leaving an input open will probably
> drive the output into saturation, which isn't ideal. Better to
> configure unused op amps as unity-gain (tie in- to out) and use a pair
> of resistors to set the input voltage to half the supply voltage.
> That keeps all the pins in spec and happy.

Okay. I think I get it. Thanks! Hmm.. I do remember reading somewhere
that the opamp input terminal has to have a path back to ground to
make it happy.. or something like that. I don't quite remember, but I
guess that would make sense if we tie the inputs to a voltage source
or ground.

Would a circuit like this work?



GND
|
|
V
-
| GND
| |\|
VIN2 -- ----|-\
| >-VO
VIN3-|+/
|/|
VCC

(created by AACircuit v1.28.6 beta 04/19/05 www.tech-chat.de)


VIN3 in the diagram is a fixed voltage source, while VIN2 is either
there or not (like plugged in or plugged out). Thanks!



Posted by John Larkin on July 25, 2007, 11:03 am
Please log in for more thread options



>> Op amps have such a high gain that leaving an input open will probably
>> drive the output into saturation, which isn't ideal. Better to
>> configure unused op amps as unity-gain (tie in- to out) and use a pair
>> of resistors to set the input voltage to half the supply voltage.
>> That keeps all the pins in spec and happy.
>
>Okay. I think I get it. Thanks! Hmm.. I do remember reading somewhere
>that the opamp input terminal has to have a path back to ground to
>make it happy.. or something like that. I don't quite remember, but I
>guess that would make sense if we tie the inputs to a voltage source
>or ground.
>
>Would a circuit like this work?
>
>
>
> GND
> |
> |
> V
> -
> | GND
> | |\|
> VIN2 -- ----|-\
> | >-VO
> VIN3-|+/
> |/|
> VCC
>
>(created by AACircuit v1.28.6 beta 04/19/05 www.tech-chat.de)
>
>
>VIN3 in the diagram is a fixed voltage source, while VIN2 is either
>there or not (like plugged in or plugged out). Thanks!
>

Some opamps will draw a lot of supply power if their outputs rail, as
they will if they are not operating closed-loop. And in some dual or
quad-section opamps, running one section open-loop will mess up other
sections. In general, keep all opamps running closed-loop, like this:


> +--------------+
> | |
> | GND |
> | |\| |
> +-----|-\ |
> | >-----+----VO
> VIN3-|+/
> |/|
> VCC

or

> vin2---+------1M------+
> | |
> | GND |
> | |\| |
> +-----|-\ |
> | >-----+----VO
> VIN3-|+/
> |/|
> VCC

or some other way to keep it happy when your input is disconnected.


John


Posted by MRW on July 25, 2007, 10:34 pm
Please log in for more thread options


John Larkin wrote:

>
> >> Op amps have such a high gain that leaving an input open will
> probably >> drive the output into saturation, which isn't ideal.
> Better to >> configure unused op amps as unity-gain (tie in- to out)
> and use a pair >> of resistors to set the input voltage to half the
> supply voltage. >> That keeps all the pins in spec and happy.
> >
> > Okay. I think I get it. Thanks! Hmm.. I do remember reading
> > somewhere that the opamp input terminal has to have a path back to
> > ground to make it happy.. or something like that. I don't quite
> > remember, but I guess that would make sense if we tie the inputs to
> > a voltage source or ground.
> >
> > Would a circuit like this work?
> >
> >
> >
> > GND
> > |
> > |
> > V
> > -
> > | GND
> > | |\|
> > VIN2 -- ----|-\
> > | >-VO
> > VIN3-|+/
> > |/|
> > VCC
> >
> > (created by AACircuit v1.28.6 beta 04/19/05 www.tech-chat.de)
> >
> >
> > VIN3 in the diagram is a fixed voltage source, while VIN2 is either
> > there or not (like plugged in or plugged out). Thanks!
> >
>
> Some opamps will draw a lot of supply power if their outputs rail, as
> they will if they are not operating closed-loop. And in some dual or
> quad-section opamps, running one section open-loop will mess up other
> sections. In general, keep all opamps running closed-loop, like this:
>
>
> > +--------------+
> > | |
> > | GND |
> > | |\| |
> > +-----|-\ |
> > | >-----+----VO
> > VIN3-|+/
> > |/|
> > VCC
>
> or
>
> > vin2---+------1M------+
> > | |
> > | GND |
> > | |\| |
> > +-----|-\ |
> > | >-----+----VO
> > VIN3-|+/
> > |/|
> > VCC
>
> or some other way to keep it happy when your input is disconnected.
>
>
> John

Thanks, John!


--


Similar ThreadsPosted
Is it okay if I leave an opamp or comparator input open? July 24, 2007, 10:18 pm
TLV3702 Comparator: input > Vcc ? April 12, 2008, 11:36 am
Comparator hysteresis using high resolution input signals July 19, 2007, 12:46 pm
Adding input offset on a non-inverting opamp. February 15, 2005, 4:07 pm
Recommend an inexpensive OPAMP with RR input and output August 20, 2008, 9:40 am
Re: VR-sensor zero-crossing opamp input conditioner circuit February 27, 2007, 6:21 pm
Re: Leave No Stone Unturned When It Comes To Energy Storage October 20, 2008, 11:52 am
How do you derive opamp equations if you flip the opamp in an inverting configuration? February 1, 2007, 11:17 am
op-amp comparator August 8, 2007, 12:21 am
comparator problem November 3, 2004, 2:08 pm
Need help with op-amp/comparator circuit January 15, 2005, 1:03 am
Re: Need help with op-amp/comparator circuit January 15, 2005, 2:12 am
Comparator for sensor January 31, 2006, 10:20 am
Vref > Vin on comparator February 10, 2006, 7:53 am
Need op amp comparator advise July 24, 2006, 7:51 pm