What would be the best way to do this? I have made a 16s li-ion battery system and would like to build an inverter myself as well. For that I will be using an EGS002 module and according to the datasheet that requires a 400V DC source which will be converted into a sinus-ish waveform using sPWM.
I also see circuits online from dubious sources such as instructables that claim you can also apply the sPWM signal to 12 or 24V and then run that through a transformer for the same result. This is not in the datasheet, but does it work? This sounds like an easier setup. With my battery it would require a different transformer ratio.
Since I’m using a 16s battery the voltage will be in between 48V at its lowest and 64V at its highest. The feedback should be able to compensate for this.
As for transformers, I have a few 1:9 (European) microwave transformers, it would be nice if those could be used for this project as they’re more than capable of big loads.
Ideally I would like to build an inverter that can provide 2000W of power, perhaps more. The whole idea behind the battery/inverter system is being able to power household objects when the power goes out. The ultimate goal is to troll my neighbors in that once in 5 year event.
Of course there is the commercial option, which I might use, but I want to learn how they work as well.

