Previous in Forum: Differences Between Switchgears and Switchboards   Next in Forum: Transformer Inrush Current Rised to Voltage Dip
Close
Close
Close
16 comments
Rate Comments: Nested
Member

Join Date: Jul 2015
Posts: 5

How Does Output Voltage Work in ICs

07/21/2015 12:28 PM

I have been working with an IR sensor circuit and rather than using one of the IC chips (LM358) an operational amplifier I used another operational amplifier (LM386) and my circuit didn't work. After some thought and measuring the output voltage delivered by by LM386 I found it wouldn't be able to drive enough voltage through the LED. Now I started look at the specs for the LM358 to see how much voltage would be outputted there but I only come across an output quiescent current. How can IC Specs tell me output current, doesnt that depend on the rest of the circuit its connected to? Or is it the same output current everytime because of how the logic is built within the IC. Why doesnt the IC tell me the output voltage as well? Does that depend on the rest of the circuit ? And How can I find the output voltage of the LM358 so i can ensure my Red LED will receive the correct input voltage and current?

Register to Reply
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.

Good Answers:

These comments received enough positive votes to make them "good answers".

"Almost" Good Answers:

Check out these comments that don't yet have enough votes to be "official" good answers and, if you agree with them, vote them!
Guru

Join Date: Oct 2008
Posts: 42355
Good Answers: 1693
#1

Re: How Does Output Voltage Work in ICs

07/21/2015 12:42 PM
Register to Reply
Guru

Join Date: Sep 2012
Location: Iowa, USA
Posts: 577
Good Answers: 50
#2

Re: How Does Output Voltage Work in ICs

07/21/2015 12:59 PM

Supply quiescent current is the current required to bias the internal operation of the OPAMP.

I've pasted part of the data sheet page, you want the source or sink output current, and they are not the same for this amp. Design for the minimum capable, 20 ma source, and 10 ma sink (versus nominal).

The output current is dependent on the load and the analog output of the amplifier if used as that function, if used as a comparator, it will saturate to the V+ or V- terminal minus some offset (this is a function of the internal transistors, and any series output resistor). This offset saturation (rail voltage) is a function of the load. For 2Kohm, the spec sheet indicates 1.5 volt from saturation.

The spec sheet gives you input voltage range of your supply, as maximum amount, this determines your output voltage swing.

How are you using this OPAMP, in linear mode, or as a comparator?

__________________
ignator -
Register to Reply
Guru
Engineering Fields - Electrical Engineering - Been there, done that. Engineering Fields - Control Engineering - New Member

Join Date: Dec 2008
Location: Long Island NY
Posts: 15600
Good Answers: 981
#3

Re: How Does Output Voltage Work in ICs

07/21/2015 1:26 PM

The fault is not in the operational amplifier (LM386). Depending on which package you were using it can deliver at least a quarter watt of power and up to one watt directly into a load. Very few red LED can handle this much power without damage.

__________________
"Don't disturb my circles." translation of Archimedes last words
Register to Reply
Guru
United Kingdom - Member - Indeterminate Engineering Fields - Control Engineering - New Member

Join Date: Jan 2007
Location: In the bothy, 7 chains down the line from Dodman's Lane level crossing, in the nation formerly known as Great Britain. Kettle's on.
Posts: 32175
Good Answers: 839
#4
In reply to #3

Re: How Does Output Voltage Work in ICs

07/21/2015 2:12 PM

...i.e. the LED is kaput.

__________________
"Did you get my e-mail?" - "The biggest problem in communication is the illusion that it has taken place" - George Bernard Shaw, 1856
Register to Reply
Member

Join Date: Jul 2015
Posts: 5
#6
In reply to #3

Re: How Does Output Voltage Work in ICs

07/21/2015 2:20 PM

There wasn't enough voltage going to the operational amplifier surprisingly.

Register to Reply
Guru
United Kingdom - Member - Indeterminate Engineering Fields - Control Engineering - New Member

Join Date: Jan 2007
Location: In the bothy, 7 chains down the line from Dodman's Lane level crossing, in the nation formerly known as Great Britain. Kettle's on.
Posts: 32175
Good Answers: 839
#5

Re: How Does Output Voltage Work in ICs

07/21/2015 2:15 PM

LEDs are not voltage-operated devices. They have a maximum current throughput, the value of which will be found in the datasheet. Ordinarily, an LED requires a series resistance to limit the forward current.

__________________
"Did you get my e-mail?" - "The biggest problem in communication is the illusion that it has taken place" - George Bernard Shaw, 1856
Register to Reply
4
Guru
Hobbies - Musician - Engineering Fields - Chemical Engineering - New Member Engineering Fields - Control Engineering - New Member Engineering Fields - Instrumentation Engineering - New Member

Join Date: Jan 2007
Location: Moses Lake, WA, USA, Thulcandra - The Silent Planet (C.S. Lewis)
Posts: 4216
Good Answers: 194
#7

Re: How Does Output Voltage Work in ICs

07/21/2015 2:45 PM

They are not compatible! The LM358 is a General Purpose Operational Amplifier. The LM386 is an Audio Amplifier. They have different pinouts.

LM358 Datasheet

LM386 Datasheet

__________________
"Reason is not automatic. Those who deny it cannot be conquered by it. Do not count on them. Leave them alone." - Ayn Rand
Register to Reply Good Answer (Score 4)
Guru

Join Date: Apr 2010
Location: About 4000 miles from the center of the earth (+/-100 mi)
Posts: 9910
Good Answers: 1141
#10
In reply to #7

Re: How Does Output Voltage Work in ICs

07/21/2015 6:49 PM

It could be that simple, plugging it into the same socket.

Register to Reply
Power-User

Join Date: Jan 2015
Location: Johannesburg, South Africa
Posts: 248
Good Answers: 3
#16
In reply to #7

Re: How Does Output Voltage Work in ICs

07/24/2015 7:05 PM

Mikerho, I agree with you, the pins for supply and in and outputs are totally different. Your data sheets should explain some difference.

__________________
Tragedy for Engineers is thinking they know so much that they can not learn from any body else.
Register to Reply
Guru

Join Date: Apr 2010
Location: About 4000 miles from the center of the earth (+/-100 mi)
Posts: 9910
Good Answers: 1141
#8

Re: How Does Output Voltage Work in ICs

07/21/2015 2:57 PM

It's an amplifier, the output voltage depends on the input voltage and gain, assuming you have it wired correctly. An opamp needs feedback, generally a resistor from output to inverting input. If it is properly biased, you can figure the output voltage from the input if you remember:

No current flows into either inverting or noninverting input

Open loop gain is very high so the voltage at the inverting and noninverting inputs is the same

The output voltage will be whatever satisfies the first two conditions, provided that it is between the two rails (plus and minus supply voltage minus some amount).

I can't comment any more on your circuit without a diagram. Red LEDs need about 1.7 volts to turn on and then start drawing current, the more current, the brighter the light output.

Register to Reply
Guru

Join Date: Nov 2007
Location: Eastern Arizona mountains on Route 666 about a mile from God's country
Posts: 1676
Good Answers: 122
#9

Re: How Does Output Voltage Work in ICs

07/21/2015 5:20 PM

Gain on/for all Operational Amplifiers follow the same basic formula:

Gain = Rfb/Rin

The Op-Amp drives to equalize the output with/to the input.

If you need more output power you must adjust the Rfb (Feedback resistor) size to the needed value where the Op-Amp output circuit provides what is needed for the circuit application.

Some Op-Amp devices allow external feedback resistance biasing adjustment and some do not as it totally depends on the packaging.

Reviewing the cut-sheets for the particular OP-Amp in question will (should) answer the questions.

If you are going to saturate the OP-Amp to it's maximum output value for extended time periods it is best to oversize the device so that the peak output demand stays within the 80% range if accuracy is required.

As to the voltage-current terminology; it is an age-old issue of individual preferred semantics due to the fact that current through any stable impedance can only be manipulated by changing the applied voltage (pressure) level.

For example:

If an amplifier drives a stereo speaker with 8 ohms impedance the impedance does not ever change unless the speaker fails open or shorted.

Therefore since E=IR or E=IZ and I=E/R or I= E/Z and Power (P) in watts is P=EI then the only way I can increase is if E (voltage) is increased first.

Current (I) is a function of circuit impedance and applied voltage (E).

It is not possible to increase current in any circuit without increasing the applied voltage or decreasing the circuit load impedance.

As long as the Op-Amp is biased properly and used within it's applied voltage limitations there is very little restrictions on the application it can be used for.

TRIVIA: Many of the old tube-type guitar amplifiers utilize a "push-pull" design that applies as much as 500 volts to the speaker output terminals which can be lethal to humans and animals.

Hope this helps. Good luck!

__________________
They said; "Brain size?" I heard; "Train size?" so I said: "I'll take a small one, thank you."
Register to Reply
Guru
United States - Member - New Member

Join Date: Mar 2010
Location: In the pool because it is too hot.
Posts: 3054
Good Answers: 141
#11
In reply to #9

Re: How Does Output Voltage Work in ICs

07/21/2015 9:01 PM

While in general your theory stands for linear loads, taking the speaker example is not the best. While music in general is a mix of frequencies, your speaker "could" act partly as "linear", however when the frequency doubles, the impedance Z doubles also.

Z=ωL were Z = impedance, and ω= 2.π (pi) f (frequency)

(This is why speakers use more power, the lower your frequency is, and where the amp starts "clipping" the first. When clipping, the speaker "sees" almost a DC voltage appear over its coil and then the resistance R comes to play - and R is just the resistance of the coil wire)

TRIVIA:

The 500 volts "can eventually" appear when the amp is on, and initiated with the guitar, or oscillates and only to the speaker terminals, when the speaker is not connected or defective.

Push pull tube amps use to have a end transformer that matches the output impedance with the speaker impedance. (= a ohms value, commonly in reference to a 1000 Hz sinusoidal signal)

With old tube amplifiers, sometimes the end transformer was "unified" with the speaker. Perhaps this leads your thoughts?

__________________
Plenty of room here
Register to Reply
Guru

Join Date: Nov 2007
Location: Eastern Arizona mountains on Route 666 about a mile from God's country
Posts: 1676
Good Answers: 122
#13
In reply to #11

Re: How Does Output Voltage Work in ICs

07/22/2015 9:06 AM

Yes. Excellent information! Thanks for the clarification of the frequency affect on speaker impedance.

__________________
They said; "Brain size?" I heard; "Train size?" so I said: "I'll take a small one, thank you."
Register to Reply
Guru

Join Date: Sep 2009
Posts: 1056
Good Answers: 88
#12

Re: How Does Output Voltage Work in ICs

07/22/2015 4:31 AM

LM386 is NOT an operational amplifier, it is a mono power amplifier with fixed (but modifiable) voltage gain of 20 (~26 db). So the small gain IS a problem even if you compensated for the different pinout and used two LM386's,(since LM358 is a dual Op Amp) Try adding a resistor between pins 1 and 8 to increase gain and see if it gets any better. S.M.

__________________
Life is complex. It has a real part and an imaginary part.
Register to Reply Score 1 for Good Answer
Active Contributor

Join Date: Jul 2015
Location: Phoenix
Posts: 22
#14

Re: How Does Output Voltage Work in ICs

07/22/2015 10:28 AM

Why are you using an op amp to drive your led? What is the supply voltage and LED VF and IF? It sounds like your application could be solved much easier by creating a simple buck/boost SMPS than using an op amp. The buck boost controller would control the constant current to the LED and you would set the voltage with conditioning resistors.

__________________
My internal monologue is saturated anologue.
Register to Reply Score 1 for Good Answer
Power-User

Join Date: Nov 2012
Posts: 183
Good Answers: 6
#15

Re: How Does Output Voltage Work in ICs

07/23/2015 4:36 AM

LM386 outputs Vcc/2 if the input pin is grounded. It can drive the LED but you cannot get rid of the Vcc/2 volts. The IC can drive a 1/4 W into 8 ohms speaker. If you calculate the current, it is 31mA, good enough for an LED which mostly needs 20mA.

Gajanan Phadte

Register to Reply Score 1 for Good Answer
Register to Reply 16 comments

Good Answers:

These comments received enough positive votes to make them "good answers".

"Almost" Good Answers:

Check out these comments that don't yet have enough votes to be "official" good answers and, if you agree with them, vote them!
Copy to Clipboard

Users who posted comments:

dvmdsc (1); gmphadte (1); ignator (1); lyn (1); Mikerho (1); Oomborrie (1); PWSlack (2); redfred (1); Rixter (2); SHOCKHISCAN (2); SimpleMind (1); Vincent.Jones (1); Vrao (1)

Previous in Forum: Differences Between Switchgears and Switchboards   Next in Forum: Transformer Inrush Current Rised to Voltage Dip

Advertisement