Author Topic: LM741 as comparator 1.9V problem  (Read 2892 times)

0 Members and 1 Guest are viewing this topic.

Offline PerranOakTopic starter

  • Frequent Contributor
  • **
  • Posts: 548
  • Country: gb
LM741 as comparator 1.9V problem
« on: May 02, 2018, 06:35:23 pm »
Hi,
I'm experimenting with an LM741 as a comparator.
I have a simple circuit with pots to sweep the voltage on both inputs (with meters) and I watch the output with a meter.
Powered with 5V and the inv input at 3V all is well as I sweep the non-inv input above and below 3V the output goes high and low as expected.
However, if the inv input is below 1.9V the output will not change no matter what the non-inv input.
How can this be?
Thanks.
You can release yourself but the only way to go is down!
RJD
 

Offline capt bullshot

  • Super Contributor
  • ***
  • Posts: 3033
  • Country: de
    • Mostly useless stuff, but nice to have: wunderkis.de
Re: LM741 as comparator 1.9V problem
« Reply #1 on: May 02, 2018, 06:45:36 pm »
This is pretty normal for a common Op-Amp.
Read the datasheet and find the common mode voltage range of the input. If one (or both) inputs exceeds this range, the OpAmp won't work as expected. For a non-RRIO (rail-to-rail In/Out) like this 741, the input common voltage range usually goes from about neg. supply+2V to pos. supply-2V (2V ... 3V with a 5V supply). See the datasheet for exact values. There are some Op-Amps that have a common mode voltage range including the neg. supply (e.g. the LM358), or modern variants that allow from neg. to pos. supply (rail-to-rail input).
Safety devices hinder evolution
 

Offline Audioguru

  • Super Contributor
  • ***
  • Posts: 1507
  • Country: ca
Re: LM741 as comparator 1.9V problem
« Reply #2 on: May 02, 2018, 10:40:30 pm »
The 741 opamp was designed 50 years ago to use a 30V power supply (plus and minus 15V). Many will not work when the total supply voltage is less than 10V but yours is only 5V so of course it does not work.
 

Online Zero999

  • Super Contributor
  • ***
  • Posts: 19525
  • Country: gb
  • 0999
Re: LM741 as comparator 1.9V problem
« Reply #3 on: May 03, 2018, 09:28:19 am »
As mentioned above, you're exceeding the common mode range of the op-amp.

Ideally a comparator IC should be used, such as the LM393 or LM311, rather than a generic op-amp, which will be designed for linear operation.
 

Offline orbanp

  • Regular Contributor
  • *
  • Posts: 168
Re: LM741 as comparator 1.9V problem
« Reply #4 on: May 03, 2018, 12:20:58 pm »
You got solid advice above: do read the datasheet!

Also, here is an app note that gives good info on using opamps as comparators:
http://www.analog.com/media/en/technical-documentation/application-notes/AN-849.pdf

Peter
 

Offline Lee Leduc

  • Regular Contributor
  • *
  • Posts: 84
  • Country: us
Re: LM741 as comparator 1.9V problem
« Reply #5 on: May 03, 2018, 07:58:22 pm »
 

Offline David Hess

  • Super Contributor
  • ***
  • Posts: 16618
  • Country: us
  • DavidH
Re: LM741 as comparator 1.9V problem
« Reply #6 on: May 04, 2018, 12:38:57 am »
As mentioned above, you're exceeding the common mode range of the op-amp.

Ideally a comparator IC should be used, such as the LM393 or LM311, rather than a generic op-amp, which will be designed for linear operation.

Comparators have common mode input range limits as well although the LM339/LM393 operates down to its negative supply.  The LM311 is good down to 0.5 volts from its negative supply and 2 volts from its positive supply.
 

Offline PerranOakTopic starter

  • Frequent Contributor
  • **
  • Posts: 548
  • Country: gb
Re: LM741 as comparator 1.9V problem
« Reply #7 on: May 04, 2018, 01:24:23 pm »
Thanks all.

I was just experimenting with comparators and found a circuit online. I had an LM741 so I gave it a go. When I used an LM393 all was well but I just wanted to understand what was happening.

I looked on the datasheet for "input common voltage range" but can't find it nor anything that mentions the 2V headroom. I do have difficulty with datasheets though: it says that for my LM741C it says that the supply voltage can be +/-18V but doesn't mention that it only works properly at the higher values.

Oh well, new stuff learned and thanks all.
You can release yourself but the only way to go is down!
RJD
 

Offline David Hess

  • Super Contributor
  • ***
  • Posts: 16618
  • Country: us
  • DavidH
Re: LM741 as comparator 1.9V problem
« Reply #8 on: May 04, 2018, 05:33:48 pm »
I was just experimenting with comparators and found a circuit online. I had an LM741 so I gave it a go. When I used an LM393 all was well but I just wanted to understand what was happening.

Some operational amplifiers work fine as comparators within their limits and the 741 is one of these.

Quote
I looked on the datasheet for "input common voltage range" but can't find it nor anything that mentions the 2V headroom. I do have difficulty with datasheets though: it says that for my LM741C it says that the supply voltage can be +/-18V but doesn't mention that it only works properly at the higher values.

When the 741 was designed, +/-15 volt supplies were assumed but the original datasheet shows dynamic performance and input and output voltage range graphs down to +/-5 volts.  It also includes an equivalent schematic from which it is possible to derive the input and output voltage ranges without too much trouble.
 

Offline PerranOakTopic starter

  • Frequent Contributor
  • **
  • Posts: 548
  • Country: gb
Re: LM741 as comparator 1.9V problem
« Reply #9 on: May 05, 2018, 01:07:38 pm »
It also includes an equivalent schematic from which it is possible to derive the input and output voltage ranges without too much trouble.

Really. How is this done?
You can release yourself but the only way to go is down!
RJD
 

Offline Lee Leduc

  • Regular Contributor
  • *
  • Posts: 84
  • Country: us
Re: LM741 as comparator 1.9V problem
« Reply #10 on: May 05, 2018, 01:47:21 pm »
Wikipedia has a very nice write up of 741 op amp. It walks you through the device explaining how each stage of the circuit works. Very educational.

https://en.wikipedia.org/w/index.php?title=Operational_amplifier&direction=next&oldid=436142906
 

Offline PerranOakTopic starter

  • Frequent Contributor
  • **
  • Posts: 548
  • Country: gb
Re: LM741 as comparator 1.9V problem
« Reply #11 on: May 05, 2018, 03:07:55 pm »
Beaut, thanks, I'll have a look.
You can release yourself but the only way to go is down!
RJD
 

Online Zero999

  • Super Contributor
  • ***
  • Posts: 19525
  • Country: gb
  • 0999
Re: LM741 as comparator 1.9V problem
« Reply #12 on: May 05, 2018, 05:48:47 pm »
Thanks all.

I was just experimenting with comparators and found a circuit online. I had an LM741 so I gave it a go. When I used an LM393 all was well but I just wanted to understand what was happening.

I looked on the datasheet for "input common voltage range" but can't find it nor anything that mentions the 2V headroom. I do have difficulty with datasheets though: it says that for my LM741C it says that the supply voltage can be +/-18V but doesn't mention that it only works properly at the higher values.

Oh well, new stuff learned and thanks all.
Page 5, section 6.5, "input voltage range ±13V". It's specified with +/-15V supplies, which implies it's 2V of headroom from either supply rail. Note it also says ±13V typical, ±12V minimum, you you'll need to allow 3V of headroom to ensure it works over the entire temperature range.
http://www.ti.com/lit/ds/symlink/lm741.pdf
 

Offline viperidae

  • Frequent Contributor
  • **
  • Posts: 306
  • Country: nz
Re: LM741 as comparator 1.9V problem
« Reply #13 on: May 05, 2018, 09:19:42 pm »
it says that for my LM741C it says that the supply voltage can be +/-18V but doesn't mention that it only works properly at the higher values.
It says the recommended minimum supply voltage is +/- 10V. All the values in the tables are only valid when running at +/- 15V
 

Offline David Hess

  • Super Contributor
  • ***
  • Posts: 16618
  • Country: us
  • DavidH
Re: LM741 as comparator 1.9V problem
« Reply #14 on: May 06, 2018, 07:20:34 pm »
It also includes an equivalent schematic from which it is possible to derive the input and output voltage ranges without too much trouble.

Really. How is this done?

Just add up the transistor Vce (about 0.2 volts) and Vbe (about 0.6 volts) saturation values.
 

Offline PerranOakTopic starter

  • Frequent Contributor
  • **
  • Posts: 548
  • Country: gb
Re: LM741 as comparator 1.9V problem
« Reply #15 on: May 08, 2018, 07:45:02 pm »
Excellent, thank you for all the pointers.
You can release yourself but the only way to go is down!
RJD
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf