Pulse Width Modulation Algorithm

PSoC4200_thumbnail1

  • The PWM (Pulse-Width Modulation) algorithm must be developed such that a sinusoidal wave can be generated utilizing the PSoC 4 board in conjunction with PMOS/NMOS transistors.
  • The average value of voltage (and current) fed to the load is controlled by turning the switch between supply and load on and off at a fast rate. The longer the switch is on compared to the off periods, the higher the total power supplied to the load.
  • The PWM switching frequency has to be much higher than what would affect the load (the device that uses the power), which is to say that the resultant waveform perceived by the load must be as smooth as possible.