dhananjaya said:I designed a pulse oximeter and it's working fine with LM 358 as the aplifier. But the output I get is only 3.68v. I tied this to an LED through a resistor so I can visually see the heart beats.
But I can't read this output from PIC 16f877. So I used another LM 358 as a basic comparator and tried to get a 5V pulse. But still the output I get is 3.6V.
What can be the reason? Can someone help?
These are my circuit pins.
LM 358
V+ (Pin 8 )= 5v
GND(Pin 4)= GnD
VA+ (Pin 3) = Input (3.6v)
VA-(Pin 2) = V reference 1.5V
Vout (Pin 1)
The LM358 is not a rail to rail opamp. What this means is that it cannot swing its output pin to the power supply rail. Basically the upper transistor can not be saturated, so it always has some voltage drop.
The options are either switch to an opamp that does have rail to rail output, or try adding a pullup resistor to the Vout pin of the comparator. Place and 10K resistor from pin 1 to +5V. When the comparator is driving high, this should increase the max output voltage. When the comparator is supposed to drive low, the opamp can easily sink the extra current provided by the pullup resistor.
If the pullup resistor does not work for you, look for a rail to rail opamp in the same pin configuration and package. When reading the spec sheets, look at the maximum voltage swing parameter to determine how close to the rails you can swing.
The datasheet for the LM358 is easily found via Google.
Referring to the National Semiconductor datasheet dated October 2005 located at Cornell U (it's the 4th one down in a google search for LM358 datasheet).
If you look at page 3 thereof, you will find the manufacturer's specification for the range of Vout.
For a supply voltage of 30V, the closest Vo is guaranteed to get is 26V.
Typically (which you should not rely on for design purposes), the maximum is 28V.
On page 20, you find a representative circuit diagram of one amplifier.
The output uses a darlington pair as the upper half of the output circuit, which has a minimum Vsat of about 1.5V or so.
This, then, explains why the output will not reach the positive supply rail.
Using an external pullup resistor may assist in increasing the value of Vout.
HTH.
I trust this is not regarded as a "Useless Post".
thanks a lot for your answer. But i still have a couple of problems:
1>can we use a pair of silicon diodes as bias voltage to raise the output voltage level?
2>can we use a 1M resistor as the feedback resistor? Is this value too large? Will it cause any sort of loading effect?
1) Don't understand what you mean by using a pair of silcon diodes.
Standing the negative rail on a pair of diodes won't get the output voltage any closer to the positive rail.
2) A 1M feedback resistor is ok. I've used 10M and 20M in the past. It may well increase the offset voltage though, due to the input bias current.
you got what i meant. I thought of getting two diodes connected to the negative rail. Since generally diodes have a barrier potential of 0.7volt at the p-n junction, then two diodes will make it 1.4 volts. Please explain why it wont work, i am really new to these type of circuit design and am having a lot of problems.
---------- Post added at 20:01 ---------- Previous post was at 19:30 ----------
what will happen if the offset voltage increases?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?