hi all......am trying to generate sinusoidal pulse width modulation using arduino-simulink for my inverter board....I simulated the SPWM logic in simulink, then installed the required support package for arduino-simulink.....but i am facing some problems......I started from basic...like linking arduino and PWM block..
I checked the output of Arduino pin11 from CRO and it was working fine….
Now I compared sinusoidal and triangular wave in simulink and connected the outout to arduino bloack
When I checked the output from CRO…..it was distorted…literally I didn't get any SPWM wave…
Help me out with this problem…
My Simulink configurations are
Solver: fixed step size
Step size:auto
Triangle wave frequency is 1KHz and sine wave is 50Hz
