A pcb made according to the schematic (attached below) uses LM324 opamps. With no input signal to the current transformer pin 3 should be low, and pin 2 follows feedback from output pin 1 (high).
Two of the opamps give 0.0V on their pin 1, but two opamps measure approx. 2.5V on their outputs.
All components are correctly soldered with correct values on the pcb, hence I would expect five identical results.
Pcb traces to pins 2 and 3 are just millimeters long, and as short as possible.
Jumpers SJx are not soldered.
I swapped IC's around, but still the same circuits of the five do show this behaviour, hence unrelated to the IC's.
Voltage on all input pins may tell you why the output is low or high. 1st stage has a gain of +101..
Maybe some diodes are reversed D1 etc Does layout match schema?
2nd stage is a compare with vbl. threshold going to a filter for a 2.5V compare in stage 3.
1st stage problem If Vio = 2 mV , Av=1k then 2V out LM324B spec is +/-3mV @ 25'C
Is there Vio on that line? I assume CT's are connected (?) . Otherwise . install jumper
If I understand you correctly the input offset (3 to 4mV) should be a reason for the output offset.. Yet, with x100 that would be 0.5V at worst?
And >=1M from pin 2 to Vcc: good point. But that will then also have implications for input voltage on pin 3, which would need to be higher than now for the output to go high.. right?
That is the point: the input from the current transformer must trigger this circuit at low values. Reason being that this results in higher detection sensitivity.
First, a non inverting amplifier stage is 1+Rf/Rin so with 1M and 10k we have 1+100 which is a gain of 101.
With 1mv input offset that means 0.101 volts output. With 2mv input offset that means 0.202 volts output. I've never seen one of these op amps with an input offset greater than 2mv at 25 degrees C ambient, and that is probably because at other temperatures it could go even higher. If the max was 5mv though it would still only be 0.505 volts output, and all these are plus and minus.
To get +2v on the output we'd have to see about 20mv input offset, which would mean a bad op amp chip. If there are other components on the input however, we could see effects from those parts also. Schottky diodes are notorious for higher leakage and can look like a 20k resistor with a reverse voltage. Compare that to the 500M reverse resistance of a 1N4148 diode.
So how much leakage does it take to force 20mv extra on the input of the input impedance is 10k?
It takes a whopping 2ua to get an extra 20mv across a 10k resistor! Ha!
So what input voltage could cause that with a 20k resistor? Well, about 40mv.
So with just 40mv and some extra leakage we could see an extra 20mv input.
This analysis is approximate to just get some idea what it takes to mess up a seemingly good op amp circuit.
I've seen worse. I've actually seen an inexplicable near zero output offset when it could have been more like 10mv.
I've never seen a higher than expected output offset without a good reason for it however.