Excellent information.I worked for 15 years at a company that built UPS, power inverters and large power supplies. Up to 150 kW. I designed several commercial products.
I can tell you that the cost of such products is never, never, never, in the microcontroller.
The power semiconductors, the large heatsinks and/or fans, the huge bypass capacitors, the magnetic components (inductors and transformers), the protection and monitoring devices like fuses, current sensing circuitry, large capacity transient suppressors....... that is where all the cost is. Easily 95% plus.
Actually, because of all the necessary monitoring and protection circuitry, and I mean necessary and not optional, a microcontroller is actually a cost reducer.
And since the microcontroller is already gathering and manipulating so much internal state information, it only requires a few lines of code and an inexpensive LCD display to provide all sorts of good information to the user.
Oh, did I forget that additional lines of code can also provide very useful diagnostics? Like how many charge/discharge cycles the battery has had, the actual run time, overload events, and many more.
Thanks!
jt