I am making an inverter to convert 12 DC to AC(~8.5Vrms) @50Hz. Later i will do the same for 400V DC to 250Vrms. I am using IRF540N and IRF9540 mosfets as switch. And IR2110 mosfer driver for gate control. I get SinePWM from arduino with carrier frequency of 15kHz. And the whole project work successfully till this stage.
But now i am confuse about how to filter this PWM to pure sine wave. I know i can use low pass filter but how to choose value of L and C? And is there more than one topologies to make filter?(i read on internet but i am not sure) Also does this L and C's value depends on how much load i have connected?