Generating sine pwm in orcad pspice

h-bridgepspicepwm

I am trying to design a PWM inverter in Orcad PSPICE where i am using a Vpulse source from library to generate MOSFET triggering pulses for H-bridge and it works fine for square waves.

But i if i want to generate sinusoidal pwm to drive the h-bridge how can i accomplish it in orcad pspice and drive the mosfets accordingly.

Previous method:

previous schematic

Desired PWM output in simulation

expected pwm

I figured out that sinusoidal pwm is generated by comparing a
sinusoidal wave with triangular wave.Is there any way we could
simulate sine pwm in orcad pspice and drive the h bridge accordingly
different switching topologies.?

I would appreciate any help or suggestions that will help me to
achieve my intended purpose of making prototype of sine wave pwm
generation like as mentioned above in picture using orcad pspice.

Thank You for your time 🙂

Best Answer

Have you read this: http://homepages.which.net/~paul.hills/Circuits/PwmGenerators/PwmGenerators.html

Basically what you need is a comparator and a triangular shaped waveform. You feed the triangle to one input of the comparator and your sine wave to the other input. Then the output of the comparator will be the PWM signal you desire.