I need some advice to my summer project, I would like to get max 150mA from 220V. After some research I build up the following circuit:
In the A and B point I would like to connect a bulb and control the power on the light this is why I'm using the X2 TRIAC. In the C-D point I would like to connect a Li-Ion battery charger(MCP73871-Microchip), because I also need a battery to provide the necessary power when the X2 is off. To regulate the voltage I also would like to connect a buck regulator(MCP1603) on the output of the MCP73871 to have a constant voltage. After this I will connect a microcontroller to control the power on the bulb. The control circuit need max 40mA of current(microcontroller+buck regulator+charger+sensors).
My question are:
- Am I in a good way?
- Is this concept good, where can I improve this circuit/idea and how?
- How can I calculate the maximum and minimum current in the C line?
- If I would have a 200mAh battery than a 100mA charging current would be sufficient? What is the minimum charging current for 100mA