Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
I am making a pure sine wave inverter . In an intermidiate stage i have to drive the mosfets using SPWM. so anyone please tell me how to generate SINUSOIDAL PULSE WIDTH MODULATION using ARDUINO board.??
Arduino's PWM has a frequency around 500Hz for a resolution of 8 bits. I suppose you need a higher PWM frequency in order to reduce the size of your output filter. If you have a transistor bridge to drive, you have to consider dead-time between the opening of each transistor. For sine wave generation, normally DSPs are used.
The Arduino's PWM frequency could be increased by reducing the resolution, but you'll have more harmonics.
It is only a didactic issue.. to use Arduino for this purpose.