1
\$\begingroup\$

I am trying to use an op-amp (first time). I know the basic theory of its amplification circuits. To test I am using an Arduino Nano Microcontroller to create a Signal (0-5V). I want to amplify the signal by a Factor of 3. I measured the input and the output of the opamp relative to GND with an oscilloscope. The amplification works (5V to 15V --> factor 3), however when the signal goes to ground the opamp always reaches the supply voltage (tried with different supply voltages). enter image description here I know that an op amp amplifies to the supply voltage if there is no feedback, but i cannot explain how it can happen in my case. How do I prevent the opamp from switching to supply voltage once the signal raches GND?

EDIT: The Op-Amp is a MC33078 (datasheet)

\$\endgroup\$
  • 1
    \$\begingroup\$ All opamps are not created equal. Yours might not have a common-mode input range that includes its negative rail. If so, the opamp might be going into an error condition when the input is driven negative too far. And as above, it should NOT be inverted. What is the part number? \$\endgroup\$ – AnalogKid Mar 21 at 18:09
  • \$\begingroup\$ @AnalogKid I added the part into the description. \$\endgroup\$ – RIJIK Mar 21 at 18:18
0
\$\begingroup\$

The circuit you draw is the right one for a gain of 3, but the waveforms you show indicate a negative gain and an offset. The equation for Vout would be something like Vout=15V-A*Vin where A is your gain.

I think your circuit you've built is not what you've drawn. Double check your connections. 5Vin should make 15Vout. If the opamp is rail to rail, you'll also get 0Vin makes 0Vout.

\$\endgroup\$
0
\$\begingroup\$

Looks like you driving the output tri-state (open circuit) rather than pulling it to ground. You can add a resistor from the non-inverting input to ground or change your firmware. When it's open the op-amp input will float up or down, predictably if it's a bipolar op-amp to one supply or the other, and unpredictably if it's a MOS input op-amp. For example, an LM324 input will float upward because the bias current flows out of the op-amp input.

You should also be using a "single supply" (or rail-to-rail I/O) op-amp - the output should swing to near ground and the input common mode range should include the negative rail.

Edit: The MC33708 is not 'single supply', as you know. Some op-amps (not sure about the MC33708, I've used them, but have not knowingly violated the input common mode range that way) may behave the way you describe. LM358 is the the same pinout and should work okay.

\$\endgroup\$
  • \$\begingroup\$ Unfortunately adding a pull down resistor didn't impact the output signal. \$\endgroup\$ – RIJIK Mar 21 at 18:16
  • 1
    \$\begingroup\$ But i think its the single supply that i have bought wrong. \$\endgroup\$ – RIJIK Mar 21 at 18:22
  • \$\begingroup\$ What is your op-amp type? Something like an LM324/LM358 should work fine. \$\endgroup\$ – Spehro Pefhany Mar 21 at 18:37
  • \$\begingroup\$ Its a MC33078. I added a Datasheet into the EDIT of the question. The Type is Dual Supply \$\endgroup\$ – RIJIK Mar 21 at 18:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.