I've knocked up the attached LM358 dual op amp schematic to measure a variable +20 - 0V input and a 0V to -20V input with common (0V)
The opamp is supposed to scale the signal to a 0-+2.5V range output and in the case of the negative input invert the output to give a positive output.
It's all powered by a single stable 5v supply.
The problem i have is that when the positive input is fed with a steady battery 7.2v input voltage the output from the opamp has a regular ripple as shown in the attached scope pic? It's throwing off an adc connected to the opamp output measuring the voltage.
Is the basic design flawed? Any other ideas to measure (+20V to 0) and (0 to -20V) with an opamp to scale both the outputs to +0-2.5V for my adc?
The circuit simulates correctly in proteus with the opamp outputs changing in response to input voltage changes.
Grateful for any feedback. Thanks
The opamp is supposed to scale the signal to a 0-+2.5V range output and in the case of the negative input invert the output to give a positive output.
It's all powered by a single stable 5v supply.
The problem i have is that when the positive input is fed with a steady battery 7.2v input voltage the output from the opamp has a regular ripple as shown in the attached scope pic? It's throwing off an adc connected to the opamp output measuring the voltage.
Is the basic design flawed? Any other ideas to measure (+20V to 0) and (0 to -20V) with an opamp to scale both the outputs to +0-2.5V for my adc?
The circuit simulates correctly in proteus with the opamp outputs changing in response to input voltage changes.
Grateful for any feedback. Thanks
Attachments
-
9.5 KB Views: 67
-
121.3 KB Views: 47