Okada
Banned
- Joined
- Jun 16, 2016
- Messages
- 1,159
- Helped
- 129
- Reputation
- 252
- Reaction score
- 129
- Trophy points
- 63
- Activity points
- 0
PIC internal pin protection will be forced to sink the excess which is not a good idea.
Yes, inside the PIC there are protective diodes between the pin and the VSS and the pin and VDD, they normally never conduct but if a voltage below VSS (a negative voltage) or higher than VDD is applied, the diode conducts and tries to divert the current away. If the transformer nominally produces 15VRMS, the voltage across C8 will be (sqrt(2)*15)-(2*Vf) = 20V and the 10K/10K divider will drop that to 10V. The maximum you are allowed at the ADC input is VDD so the protection diodes will be forced into conduction. Ideally you should make R15 a higher value so MAINS_SENSE never goes above 5V. The Zener gives extra protection in case of AC surges.You mean the current through the MAINS_SENSE pin ?
Yes, inside the PIC there are protective diodes between the pin and the VSS and the pin and VDD, they normally never conduct but if a voltage below VSS (a negative voltage) or higher than VDD is applied, the diode conducts and tries to divert the current away. If the transformer nominally produces 15VRMS, the voltage across C8 will be (sqrt(2)*15)-(2*Vf) = 20V and the 10K/10K divider will drop that to 10V. The maximum you are allowed at the ADC input is VDD so the protection diodes will be forced into conduction. Ideally you should make R15 a higher value so MAINS_SENSE never goes above 5V. The Zener gives extra protection in case of AC surges.
By coincidence, I used a battery identical to the APC one in a project yesterday! They should be charged at constant voltage of 13.4V and at a current no higher than 2.1A. If you set the voltage at 13.4V and limit the current to 1A it will be fine. On my project I used an LM317 regulator and a current limit of 0.2A as it is only a back-up lighting system.
I will be using 0-18V 5A Transformer for the Circuit. Should the open circuit voltage of L200CV be 13.4V or should it be 13.4 V when battery is connected ??
I am using the book "Fundamentals of Analog Circuits by Floyd and Buchla". In that it mentions if AC input is 5V (10V peak to peak) then after half wave rectification 0.7V drop across the diode and 4.3V appear at the output.
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?