Input is 230v AC
R1- for protection of Surge current
0.22 µF capacitor- for definite charging current