Hi Nishanth,
The best solution here is to use isolated flyback to create an intermediate voltage like 20-24V. Then use a dedicated battery charger IC like BQ25792 to handle the charging algorithm.
One example that can be used for the AC/DC solution…
Part Number: UCC28632 Other Parts Discussed in Thread: PMP11753 , PMP I came across an issue with a Flyback converter, designed based on WEBENCH and application notes for UCC28632. Please see the attached schematic. Converter works with 230VAC (320VDC…