When I was about to implement a circuit with a 24V supply voltage I noticed that the comparator's inverting input in the part below receiving 24V with respect to ground when the input signal goes high. I was investigating hysteresis and I also add 2Vpp noise to the input signal which makes the input voltage higher than supply voltage. So the non-inverting input goes at least up to 24V in the circuit below:
As a remedy to limit the input voltage less than 24V just after the C1 I added to 15V zener diodes back to back as in the below schematic(I think I have to set R1 R2 again in this case):
Is my concern correct? What should be the max input voltage to an opamp comparing to the supply voltage Vcc? I used zeners to limit the voltage which works in simulation. Is that doable?
eidt:
I just learned opmap input could exceed Vcc depending on the opamp: