Unipolar PWM simulink simulation model and analysis