Electronic – Why does LM324 Op-amp send out max voltage when I got 0V at the non inverter input

operational-amplifier

I have this circuit.
The goal is that it going to control the current loop by using the NPN-transistor. My problem here is that 0V results that the output from the Op-amp is near 24V. Why?

enter image description here

If I'm increasing the voltage a little bit, then I got this.

enter image description here

And even better, If I implement a schottky diode, then I got this.

enter image description here

So why does the output goes to near 24V when the non inverting input is 0V?

Best Answer

It looks OK in my simulator: -

enter image description here

0 volts in produces near enough 0 volts out (well, 7.847 μV) with a drive level from the LM324 of around 200 mV.

If I increase V1 to 100 mV, it all makes sense too: -

enter image description here

I suspect that Falstad (is that your sim?) is having problems (after all, it's pretty much a toy when it comes to sim tools) but, importantly, the LM324 will never have problems with inputs or outputs close to 0 volts because it was designed to encompass the negative supply rail, especially so the inputs.