I have designed a circuit to turn green led ON if the voltage from the power supply (3.3kV 10uA) is greater than 2.7kv and turn the red led ON if it is equal to or less than 2.7kV.
Here 50Mohm and 50kohm is a 4pin caddock HV divider resistor. 100kohm resistor is used in order to drop the 2.7kv to 1.8v so that it turns off the mosfet. The led that i thought of using is a bi-colour common anode red+green led. One point to be noted is that the 12v is from the same power supply and this is converted to kvolts.
The problem with the circuit is that when I set the voltage between 2.708kV and 2.35kv both red and green leds turns ON. Please guide me how can I solve this issue and also can i use bjt instead of a mosfet.