djdaga
Newbie level 5
I have a transformer (40A in the secondary) and a rectification stage (18V DC). Everything's fine. I have a circuit with an operational and a mosfet, as shown in the photo. The operational with 5V input, and a 14.6V-14.9V output, to control the mosfet. The image is for reference only, the values in the resistors and voltage have been changed, for work at 14.6V-14.9V
Now I want to control everything with a microcontroller. I have the voltage reading on the battery. So far so good.
I understand that some chargers work by limiting the current, and others work based on the voltage in the battery, and that the battery determines what current is flowing.
I'm putting a resistor in the gate to limit a certain current.
My question is, what voltage should be applied when connecting a battery, or else, which I should consider in my algorithm, for time, for the initial voltage... For example, if the battery has 10.8V, if it has 11.2V, if it has 11.5V, or special cases when it has 12.5V, but no charge, the latter happens to me often, when I measure a battery and I think it is OK, but when I connect it, the inverter shuts down immediately.
Can I improve this circuit somehow?
In the microcontroller, I am censusing 3 voltages, battery voltage, voltage at the power supply, and voltage at the operational output. I am applying PWM to 20khz, and the duty cycle, as you will tell me how and in what percentage.
**broken link removed**
I appreciate yours comments.
Now I want to control everything with a microcontroller. I have the voltage reading on the battery. So far so good.
I understand that some chargers work by limiting the current, and others work based on the voltage in the battery, and that the battery determines what current is flowing.
I'm putting a resistor in the gate to limit a certain current.
My question is, what voltage should be applied when connecting a battery, or else, which I should consider in my algorithm, for time, for the initial voltage... For example, if the battery has 10.8V, if it has 11.2V, if it has 11.5V, or special cases when it has 12.5V, but no charge, the latter happens to me often, when I measure a battery and I think it is OK, but when I connect it, the inverter shuts down immediately.
Can I improve this circuit somehow?
In the microcontroller, I am censusing 3 voltages, battery voltage, voltage at the power supply, and voltage at the operational output. I am applying PWM to 20khz, and the duty cycle, as you will tell me how and in what percentage.
**broken link removed**
I appreciate yours comments.