4 ms·
Far from it. Chargers are actually very complex and demanding design tasks with a lot of interesting* fault modes. (* assuming you like small fires and explod
by lmilcin 5y ago
Far from it.
Chargers are actually very complex and demanding design tasks with a lot of interesting* fault modes.
(* assuming you like small fires and exploding devices)
Just because you can make it work doesn't mean it is safe. Good charging circuit will be designed to behave correctly if any of the components fail.
Even a simple battery charger can easily cause fire.
The usual advice to amateurs is to stay away from charging circuits and switching power supplies. And reuse existing circuits in their designs. There is a lot of complete charging circuits and power supplies made to be included in designs.
- dontcare123 5y agoThis isn't an actual charger though, just a basic off the shelf switching power supply, low power AC -> 5V DC. The actual battery charger chip is on the phone (which again, will use a ready made BMS IC, so not really complicated either, all the smarts are already done). There's some things to consider when laying out a switcher (keep loop areas small, keep sensitive lines from noise ones, etc), but it's not that complicated, and once you've done a few of them, it becomes routine. And of course to pass safety standards there are clearance and creepage rules and EMI/EMC to keep in mind. Any junior level EE/hobbyist with a few years of tinkering should be able to put this together.