I thing your circuit has a problem .
As we know the drain of Nmosfet ( enhancement ) should connect to positive voltage , otherwise , it can't work .
Hi dear Alex
It has problem , because , the minus polarity of supply ( 6-50v ) connected to the drain of Nmosfet !! isn't it ?
Best Regards
Goldsmith
As shown in the circuit , the polarity of drain is negative , even the input voltage through diode is very high !
See it again , please .
Respectfully
Goldsmith
@alexan_e
I'm referring to a problem if the battery connects in reverse.
To be honest I'm embarrassed that I forgot about internal clamping diodes. Series resistor is certainly an easy solution to protect input.
However, I still have to devise some way to detect reverse polarity and to prevent MCU from starting a charging procedure.
BTW - what do you mean that reverse polarity will be seen as 0V? Diodes will clamp negative output from differential OPAMP output to Vss -0.3V, that's true but for MCU that means two things. Either the voltage of battery is very low or it has reversed polarity. I need to know exactly which is which.
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?