Hello all,
I have a linear displacement sensor that outputs voltages from -10v to +10v based on displacement of millimeters. My goal is to invert the -10V to +10v, and any time the sensor outputs a positive voltage, just curb it to 0v / GND. The inverted signal then will be read by an arduino.
To do this I've designed a normal simple inverting op-amp circuit with a gain of -1, but I'm not getting the results I'm hoping for on the output voltage. This is the circuit with corresponding pin out for the op amp IC, an NTE 928M.(Ignore the TL081 marking). In simulation, it operates as I would expect.

I'm finding that no inversion is going on, nor is the value output corresponding to the input and I'm not sure why. If I remove the resistors entirely, I would expect to get inverted output but essentially only be at 10V due to the gain of the op amp. When doing this, I still get no inversion and the output voltage is still allowed to go negative when I'm reading it with my multi-meter.
I considered the function of the op amp might be bad but I've tried with two separate amps and am having the same result. Is the concept I'm trying to do applicable to an op amp? Maybe this isn't the best topology for what I'm trying to accomplish.
Am I understanding the fundamentals of the op amp correctly?
I have a linear displacement sensor that outputs voltages from -10v to +10v based on displacement of millimeters. My goal is to invert the -10V to +10v, and any time the sensor outputs a positive voltage, just curb it to 0v / GND. The inverted signal then will be read by an arduino.
To do this I've designed a normal simple inverting op-amp circuit with a gain of -1, but I'm not getting the results I'm hoping for on the output voltage. This is the circuit with corresponding pin out for the op amp IC, an NTE 928M.(Ignore the TL081 marking). In simulation, it operates as I would expect.

I'm finding that no inversion is going on, nor is the value output corresponding to the input and I'm not sure why. If I remove the resistors entirely, I would expect to get inverted output but essentially only be at 10V due to the gain of the op amp. When doing this, I still get no inversion and the output voltage is still allowed to go negative when I'm reading it with my multi-meter.
I considered the function of the op amp might be bad but I've tried with two separate amps and am having the same result. Is the concept I'm trying to do applicable to an op amp? Maybe this isn't the best topology for what I'm trying to accomplish.
Am I understanding the fundamentals of the op amp correctly?
Attachments
-
19.8 KB Views: 9
Last edited: