Author Topic: Does LM358 need a negative supply voltage?  (Read 2455 times)

0 Members and 1 Guest are viewing this topic.

Offline awesomechaproTopic starter

  • Newbie
  • Posts: 4
  • Country: au
Does LM358 need a negative supply voltage?
« on: January 04, 2022, 09:51:53 am »
Hi, I am currently making an ac signal inverter with an lm358. I was wondering if I need the -5v supply voltage or if I could just connect it to ground instead? This is the circuit I am using:
 

Offline magic

  • Super Contributor
  • ***
  • Posts: 6779
  • Country: pl
Re: Does LM358 need a negative supply voltage?
« Reply #1 on: January 04, 2022, 09:59:17 am »
Hard to tell without knowing what the input signal is going to be, but as a matter of fact, an opamp cannot output voltages lower than its negative supply and that will be a problem if the input goes below ground.
 

Offline Kleinstein

  • Super Contributor
  • ***
  • Posts: 14210
  • Country: de
Re: Does LM358 need a negative supply voltage?
« Reply #2 on: January 04, 2022, 10:09:30 am »
One of the 2 OPs will need the negative supply to have a negative output. So this circuit would need a negative supply.
 

Offline awesomechaproTopic starter

  • Newbie
  • Posts: 4
  • Country: au
Re: Does LM358 need a negative supply voltage?
« Reply #3 on: January 04, 2022, 10:10:30 am »
The input signal is an audio signal, and does go below ground. So do I need to connect pin 5 of the lm358 to -5v?
« Last Edit: January 04, 2022, 10:12:45 am by awesomechapro »
 

Offline not1xor1

  • Frequent Contributor
  • **
  • Posts: 716
  • Country: it
Re: Does LM358 need a negative supply voltage?
« Reply #4 on: January 04, 2022, 11:52:04 am »
The input signal is an audio signal, and does go below ground. So do I need to connect pin 5 of the lm358 to -5v?

yes... unless you set input to 1/2 DC supply and use capacitors at input and output
 

Offline Terry Bites

  • Super Contributor
  • ***
  • Posts: 2393
  • Country: gb
  • Recovering Electrical Engineer
Re: Does LM358 need a negative supply voltage?
« Reply #5 on: January 04, 2022, 02:47:02 pm »
It does.
Heres an atricle on what you can do with a single suplly if thats all you have. https://www.ti.com/lit/pdf/sloa030?keyMatch=SLOA030
 

Offline Kleinstein

  • Super Contributor
  • ***
  • Posts: 14210
  • Country: de
Re: Does LM358 need a negative supply voltage?
« Reply #6 on: January 04, 2022, 02:53:10 pm »
For the given circuit it does not matter which signal (except fixed 0) - it would allways need a negative ouput from one of the OPs. The signal just decides which OP would need the negative voltage. So the output would be essentially always be near zero.

For audio the LM358 is a really bad choice, as it shown lots of cross over distorion. With a negative supply one could as well use an RC4558 or similar.
 

Offline rstofer

  • Super Contributor
  • ***
  • Posts: 9890
  • Country: us
Re: Does LM358 need a negative supply voltage?
« Reply #7 on: January 04, 2022, 02:58:26 pm »
Google for 'rail splitter' or 'rail splitting' and you'll get something like this:

https://www.maximintegrated.com/en/design/technical-documents/tutorials/4/4344.html

Notice that there are physical devices designed as 'rail splitters'.  The advantage is lower output impedance than you might want to get with low resistor values as a voltage divider.

Be careful when you select the voltages for the rails.  Check "Output Voltage - High Limit" (page 4) and you'll see that for a 5V single rail design, you can't get above 3.3V and for "Output Voltage - Low Limit" you can't get below 20 mV.

https://www.onsemi.com/pdf/datasheet/lm358-d.pdf


« Last Edit: January 04, 2022, 03:02:07 pm by rstofer »
 

Offline awesomechaproTopic starter

  • Newbie
  • Posts: 4
  • Country: au
Re: Does LM358 need a negative supply voltage?
« Reply #8 on: January 06, 2022, 01:39:28 pm »
Although if I added a dc offset to the signal wouldn't I need to then subtract that dc offset again at the end with another op amp? That would still require a negative voltage input? I would prefer to have only a positive supply voltage but I need an ac signal output. So what op amp should I use for an ac output?
« Last Edit: January 06, 2022, 01:53:59 pm by awesomechapro »
 

Offline rstofer

  • Super Contributor
  • ***
  • Posts: 9890
  • Country: us
Re: Does LM358 need a negative supply voltage?
« Reply #9 on: January 06, 2022, 02:50:41 pm »
That's why you see single rail amplifiers with capacitor coupled input and output.  You set up a DC bias on the input to center the output and then couple in AC signals through a capacitor.  You remove the DC in the output with another capacitor before the next stage (or whatever).
 

Offline Zero999

  • Super Contributor
  • ***
  • Posts: 19528
  • Country: gb
  • 0999
Re: Does LM358 need a negative supply voltage?
« Reply #10 on: January 06, 2022, 10:07:11 pm »
The op-amp needs to be biased, at half the supply voltage.

 
The following users thanked this post: tooki

Offline rstofer

  • Super Contributor
  • ***
  • Posts: 9890
  • Country: us
Re: Does LM358 need a negative supply voltage?
« Reply #11 on: January 07, 2022, 02:31:44 am »
That's an excellent page, thanks for posting it!
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf