Electrical – 18650 in series while charging using TP4056 and connecting two buck regulators LM2596 in parallel, is it safe

battery-chargingswitch-mode-power-supply

I'm building a robot which contains a battery system. The 3×18650 batteries are connected in series and are charged using TP4056 boards. The voltage is then fed into the circuit shown below. The voltage dividers and power resistors assist in obtaining the voltage and current of the system.

My questions are:

  1. Is connecting the batteries in series while charging a bad idea?

  2. The buck regulators have a maximum current output of 3A, that is why im thinking of connecting two of these boards in parallel to share the load, is it safe to do this?

  3. Any thoughts of improving the system.
  4. What is the simplest way to get the Arduino to know if the batteries are being charged or not?

enter image description here

enter image description here

Best Answer

The batteries can NOT be connected in series when charging. This will short out the battery. This is because the ground is not floating on USB hubs. Gnd will short out the lower V+ connected to it.

You would need 3 isolated USB wall chargers capable of 5W or 1A or more to charge in series.

You may add 2 LEDs with the anode (+) to 5V to indicate charging with the cathode (-) to 330 ~ 1K series R to CHRG low when active and STDBY low when done.

An actual current of 10mA is adequate which is V/R=I

The charge current depends on the onboard PROGramming resistor into a current amplifier. \$I_{BAT}=\dfrac{1V*1200}{R_{PROG}}\$ thus 1.2k = 1A

The battery chargers are linear regulators and only need 4.2V in but 5V is ok but gets warmer with 1000mA and may need heatsink from 3V discharged cell. (5-3)*1A=2W

If your USB Hub cannot drive 1000mA then it is slow to charge up.

Your LM2596 will not generate split +/-5V supplies. Yes, it is true the intermodulation or having each Buck supply interference with simultaneous charge currents is not a good idea.

Although it is a good idea to decouple the motor power from logic Vdd and Vss but not with this PS design. Go to ti.com and register your email and choose a triple output design from their "Webbench" online in the browser with Java approval or Analog Devices.

Often a 3 secondary winding forward converter works best on a custom coil form. By tight mutual coupling of coils, the ratios of voltage are maintained while regulating off one for feedback. This is how PC PSU's generate all their voltages.