thanks again Goldsmith, but I think it will be complicated, i mean the inverter circuit will be very complex
actually i want a simple IC or etc. to do that, i tried to use ICL8038 and simulate it in proteus but i didn't succeed,
1.can i generate exactly a 50Hz sine wave with this IC and a 20kHz tri wave? ( if so, would you please help me? give me a circuit schematic or a reference?)
2.is a microcontroler such as atmega16 would be able to make that? (generate both the sine and triangular wave)
3.please tell me if there is an easier way.