I have the following differential amplifier in simulation. According to the theory I know, the output should be 0.2V - the difference between the two inputs at 2V and 1.8V. What am I misunderstanding here?
EDIT:.... Added some more probes:
Electrical Engineering Stack Exchange is a question and answer site for electronics and electrical engineering professionals, students, and enthusiasts. It only takes a minute to sign up.
Sign up to join this communityI have the following differential amplifier in simulation. According to the theory I know, the output should be 0.2V - the difference between the two inputs at 2V and 1.8V. What am I misunderstanding here?
EDIT:.... Added some more probes:
From your updated schematic, it is clear that there is a problem with R9/R19. Either R9 is essentially shorted, or R19 is essentially open. With pin 3 held at 2 volts, the op amp is otherwise working just fine.
Looks like the positive supply is not going to a voltage (eg. 5V) that will allow it to work.
Put a marker on it to display the voltage.
Even if that arrow (looks like an inverted chassis ground) is correct (I doubt it), the line looks like it might be off-grid.
This was said by the OP under Spehro's answer: -
The VCC is OK at 3V
What Microchip say about their model: -
This model is intended to be an initial design tool that works well in the op amp’s linear region of operation over the temperature range. See the model file for information on its capabilities.
Bench testing is a very important part of any design and cannot be replaced with simulations. Also, simulation results using this macro model need to be validated by comparing them to the data sheet specifications and characteristic curves.
What this tells me is that if you sail to close to the input common mode specifications (for instance) the model may not work like the data sheet implies.
For a 3V supply the inputs can have a common mode voltage that is 0.9 volts below 3V i.e. 2.1 volts - you are pushing it quite close and this could be the actual problem. Try running it from 4 volts to see if things clear up.
It looks like your ground line is at 2V. I'm not sure if your ground symbol is giving you any more than a connection to other ground symbols. That would mean your + terminal is also at 2V which would give you an output similar to 2.2V which is what you're seeing.
Can you probe the "ground" voltage and see if it's 2 or 0?
EDIT: R19 doesn't appear connected at all then according to your voltages. Alternately, your ground symbol isn't working as a net connector. If that's the case then the gnd off of R19 is 2V while the other is at 0V. Please probe the net between R19 and GND.