2
\$\begingroup\$

I need to charge my 60 Ah LiFePO4 battery with a small charger as fast as possible at 14.4V. There are lots of relatively cheap SMPS in the market which are not designed for this purpose, so they are failing to charge the battery or eventually burnt out.

enter image description here

The battery requires 45A @14.4V when it's fully discharged. It quickly drops to 30A after 10% SOC and maintains this current till 80% SOC. After that point, required current quickly drops and charging operation is finished.

I'm not able to place a sufficient power source that can handle that worst case current (40A) because of the space constraints. Moreover, it's not that wise to invest (and carry around) an additional 10A of hardware which will be only used for the first 10% SOC.

The SMPS' that have less than 40A @14.4V power rating is unable to charge this battery because all of them has "hiccup protection mode", which turns the power supply off on an overcurrent situation.

It turns out that the mentioned overcurrent protection somehow fails to operate correctly, so I have burnt out 4 power supplies (360W to 480W) in one month. On the other hand, some SMPS models claim to have the appropriate current limit function but those have very insane amount of price.

In this desperate situation, I'm planning to limit the output current while keeping the maximum voltage set to 14.4V, thereby limiting the output power to 90% (eg.) of the rated power of the supply. Moreover, as I'm changing the voltage/current characteristics of the supply as follows:

enter image description here

I'll be able to connect many of this modified SMPS' in parallel to get higher current without worrying the strict voltage matching requirements.

Current approach

After some experiments, I figured out that the 2 out of the 3 pins of the variable resistor is connected to GND. :

enter image description here

The other pin of the resistor has 0.96V while the output is 9.75V and 0V while the output is 14.3V. I'm planning to measure the output current and manipulate this reference voltage accordingly with the following approach:

  1. Set this reference voltage to the highest value by using that variable resistor.
  2. The SMPS will output its lowest voltage at this time.
  3. Add some voltage to that pin if the current is inside the limits till output voltage is below the required level.

Is there any easier way to achieve the same/similar result?

Edit 1

As I reverse engineered the feedback stage, there is AZ431-B reference diode used within the circuit and interestingly, the circuit diagram is the same as one of the examples in the application notes in AZ431-B datasheet:

enter image description here

Edit 2

My current approach is as follows:

enter image description here

Here when the current exceeds the limit set by the variable resistor (the one between Vref2 and GND), the MOSFET will start conducting, so the led will illuminate which in turn will decrease the Vout, thus the output current.

\$\endgroup\$
  • \$\begingroup\$ Your charger isn't doing the limiting for you? Just set your charger to not charge the battery so fast. \$\endgroup\$ – DKNguyen Jan 9 at 21:46
  • \$\begingroup\$ I'm using any constant voltage power supply as the battery charger (see the "Conclusion" part: electronics.stackexchange.com/q/473253/20285). \$\endgroup\$ – ceremcem Jan 9 at 21:48
  • 2
    \$\begingroup\$ The best way is to modify the control loop of the existing power supply and make it work in constant-voltage/constant-current or CC-CV mode. If you can locate the optocoupler LED in the secondary side and add in parallel with the existing loop a constant-current circuit which takes control when the output current increases (but is less than the maximum allowable) then you'll charge your battery without hiccup. Have a look at circuits like NCP4328. You'll need a shunt to measure \$I_{out}\$. Let me know if you can figure out the circuit or I'll give more hints via a comprehensive answer. \$\endgroup\$ – Verbal Kint Jan 9 at 22:09
  • \$\begingroup\$ Just use a hobbyist charger that can be plugged into the wall! There are ones out there that'll do 45A, and they've got all corner cases of proper charging already covered. \$\endgroup\$ – TimWescott Jan 9 at 22:12
  • \$\begingroup\$ @VerbalKint I opened the case and traced the feedback pin. It eventually (via a transistor, I think) led to the optocoupler, which is the one you mentioned, I suppose. You are suggesting to disconnect the feedback and optocoupler connection, place the NCP4328 (or like) within the place while adding a shunt resistor and connecting the shunt resistor output to that IC, if I could find NCP4328 like component, right? \$\endgroup\$ – ceremcem Jan 9 at 23:08
3
\$\begingroup\$

The feedback loop around the TL431 is a classic. It works by pulling the opto LED cathode to ground which, in turns, modulates the peak current setpoint in the primary side via the optocoupler emitter or collector current. This works well for a constant-voltage output. Then, when the output current \$I_{out}\$ increases, the voltage starts going down and, eventually, an overload protection trips and the power supply enters an auto-recovery hiccup mode (or sometimes latches off depending on the design). What you need, in your case, is select a constant output current value away from the trip point (for instance 3 A if the supply trips at 3.5 A). That way, the loop will remain closed in constant-current mode and the power supply won't detect a fault despite a decreasing \$V_{out}\$.

As you can understand, you are adding a second loop to your original power supply: the first loop based on the TL431 will regulate the voltage and when the current exceeds the regulated limit you will set, \$V_{out}\$ will go down as the second current loop takes over. The LED current is ORed between the TL431 and the newly-added circuit.

How do you build a second loop then? There are plenty of ways as described in the book I wrote and published a while ago. See page 702 where the below circuit is reproduced:

enter image description here

When the TL431 operates, the NPN transistor is silent and the LED current is imposed by the TL. When the current starts increasing and biases the transistor, the LED current starts to be diverted by the NPN which takes the lead: \$V_{out}\$ decreases but at an output current maintained constant by the transistor which drives the loop now. The TL431 no longer absorbs current because as \$V_{out}\$ is down, it just stops conducting. The output voltage can potentially go down to a very low voltage but it is very likely that the auxiliary winding in the primary side stops supplying the controller. This is something to check also: if you have an aux. \$V_{cc}\$ of let's say 15 V for a 24-V output, then having the output down to 12 V in constant current means the aux will be at 7.5 V (not exactly because of the leakage inductance). So this is something you want to verify that the under voltage lockout (UVLO) does not stop the controller prematurely.

A bipolar transistor is not a panacea: its \$V_{be}\$ is high (650 mV at 25 °C) and moves up and down with temperature. The sense resistance is likely to dissipate quite a bit of power and this scheme is usually implemented in low-cost, low-power chargers. But it is a good example of what has to be done in your case.

A better solution is to use a CC-CV controller as NCP4328 but there are plenty of other options: MC33341 (an old MOT part you can find), some ST TSM1052 etc. Just Google CC-CV controllers and you'll find a bunch. These ICs have a reference voltage in the vicinity of 100 or 200 mV so less drop across the shunt and less dissipated power. A typical application circuit is available page 290 of another book that I wrote and is shown below:

enter image description here

You can see two ORed op-amps, one for the voltage loop and the second for the current loop. You would need just one as the TL431 is already in place. However, as you create an new loop, you will have to compensate it which depends on the experience you have in doing so.

Anyway, if you work on these ac-dc power supplies, never forget to insert an isolation transformer (especially if you probe it with an oscilloscope). As an alternative and for debugging purposes, you can supply it from a laboratory dc source (120 V will do if you deal with a universal input converter) assuming there is no PFC front-end.

No surprise, adding this second loop is not an easy task but it is doable. You will have to verify that thermally the converter accepts to operate a long time in the max output current area (while the battery charges). Good luck!

\$\endgroup\$
  • \$\begingroup\$ Thanks for this extremely detailed answer. I was preparing a circuit diagram similar to your first suggestion, so I'll probably stick with the first one. Luckily I have already integrated a wattmeter which I use it both measuring the power supply power and use its shunt resistor in my own current loop. \$\endgroup\$ – ceremcem Jan 10 at 14:12
  • \$\begingroup\$ Considering the amount of amps you want to regulate, you will have to carefully study the loop before power up. If you use an op-amp and a ref. I would not resort to an external MOSFET which will affect the loop gain but rather add a simple diode as proposed in the sketches I provided. \$\endgroup\$ – Verbal Kint Jan 10 at 16:46
  • \$\begingroup\$ "Considering the amount of amps you want to regulate, you will have to carefully study the loop before power up." Sure I will, but what can possibly go wrong in the worst case scenario? Is there any safety concerns you want to mention? If my current loop stays open circuit, supply will enable its hiccup protection. If my current loop stays short circuit, supply will output a very low voltage, thus no power can be delivered to the load, which is also safe. Is there anything I'm missing? \$\endgroup\$ – ceremcem Jan 10 at 16:57
  • 2
    \$\begingroup\$ it that one of those schematics where you have to guess which wires connect and which cross? \$\endgroup\$ – Jasen Jan 12 at 19:54
  • 1
    \$\begingroup\$ @Jasen, yes, I agree that the dots are a bit small. The original picture is okay though. \$\endgroup\$ – Verbal Kint Jan 13 at 6:32
0
\$\begingroup\$
  1. Basic external

Add a current sense (small resistor and comparator and reference).
When I is high switch in a resistor Rdrop using a FET.
You'd need to juggle the sense limit or add hysteresis so it limits initially and stays that way until I falls to a value where it will be safe when Rdrop is removed.
Rdrop can be eg Nichrome wire - high wattage at a low cost.

  1. PWM switched series resistor.

Make an I max limiter with a sense resistor. PWM Rload on/off with an Rc filter between it and Rsense so you see mean current.
PWM Rload with variable mark space ratio to hold I <= Imax.

  1. PWM PSU's feedback circuit.

As 2. above but use PWM to ground Q1 Cathode in PSU's feedback cct to maintain current. This is more elegant and probably easier.

This can work in parallel with existing CV control giving a CCCV supply.

______________________________

MOSFET Gate Drivers:

Some of the above solutions may be best implemented with a high side MOSFET. The cost of a driver has been queried. The following provides example of very low cost low and high side MOSFET gate drivers. The low side drivers uses 2 x almost_anything_works bipolar transistors and a gate damping resistor.
The high side driver uses 3 similar transistors and 3 resistors.

Low side MOSFET gate driver:

This basic gate driver provides high current MOSFET gate drive for minimal current input voltage drive. The two transistors act as emitter followers. R31 is shown ar 10 ohms - which is a typically good value at drives around 10-15V and somewhere is the 1 - 10 ohm range usually suits. The resistor mainly limits very high initial charging currents which tend to sharpen switching edges unnecessarily, and help prevent parasitic gate waveform ringing.

Vout = Vin - a Vbe drop at high and low excursions. This can be used as a low side driver directly, or as part of a high side driver (see below).

enter image description here

High side MOSFET gate driver (200 ns.)

This high side circuit (which is a superset of the above circuit) was provided by Olin Lathrop. It is much "cleverer" circuit than is first apparent. It provide a 200 nS switching time high side drive signal to a MOSFET gate using 3 low cost "jellybean" transistors.

The circuit provides controlled voltage swing high side drive from a known voltage swing low side drive for any value of Vhv (here +30V) within the voltage (and power) ratings of Q2.

Define
V_Q2_E = Vdrivein
V_Q2_C = Vriveout
Vhv = V_Q14_E

Note that, unusually, Q2 has NO base resistor and does have an emitter resistor.
V_R14 = Vin - Vbe.
Here V_R14 ~= 0 / 3.3 V - 0.6V = 0 / 2.7V.

The current in R15 and R14 are the same, so V_R!5 = V_R14 x R15/R14.
ie the high side gate swing is R15/R14 higher than the input swing.

So Vdriveout = Vdrivein x R15/R14

In this case the 3V3 input swing provides 2V7 swing at Q2_E So the swing at the input to the Q14/Q15 driver pair is about 13.5V, so the MOSFET drive swings from about Vhv - Vbe to Vhv - 13.5 + Vbe
or about from 0.6 to 13 V below Vhv.

The dissipation in Q2 when on is P = V x I = (Vhv-Vdriveout) x Vdrivein/R14
Here ~= (30-13.5) x 2.7/1000 ~~= 50 mW.

enter image description here

\$\endgroup\$
  • \$\begingroup\$ "When I is high switch in a resistor Rdrop using a FET" What is Rdrop? \$\endgroup\$ – ceremcem Jan 12 at 0:16
  • \$\begingroup\$ Second option makes no sense at all because it's both expensive and inefficient. I 'd bet a step down regulator can be built with the same rating by using these components, which would be a universal and efficient, yet an expensive solution. \$\endgroup\$ – ceremcem Jan 12 at 0:28
  • 1
    \$\begingroup\$ What is Q1? Downvoting because this answer is a spaghetti: Contains undefined variables, suggestions besides the track, unclear directions. \$\endgroup\$ – ceremcem Jan 12 at 0:30
  • \$\begingroup\$ re "What is Q1" -> See " ... ground Q1 Cathode in PSU's feedback cct ..." -> See your circuit. Standard English terminology applies. Q1 is the device labelled Q1 in the PSU's feedback circuit as provided by you. If you are going to be immensely impolite then you could at least parse the std English text in the normal manner before so being. || Method 2 is an option which allows wholly external correction of the short term problem without opening the supply. Why you think it's expensive I know not. \$\endgroup\$ – Russell McMahon Jan 12 at 11:54
  • \$\begingroup\$ Sorry, yes, Q1 was on that circuit. After the undefined Rdrop, I must have gotten some degree of prejudice. No matter what, I never meant to be impolite, my apologies if it is understood that way. Reading again, the second option is not just like a step down converter, but it is a step down converter. A 40A step down converter that regulates input voltage means that it is a 40 A MPPT module, which is expensive because of high current components. \$\endgroup\$ – ceremcem Jan 12 at 20:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.