Category: Controllers
The PWM (Single Phase) block provides a pulse width modulated signal based on the input carrier frequency and % modulation.
Modulation%: Indicates the percentage of carrier frequency cycle in which pulse is active (high) from 0 to 100%.
Carrier_freq: Indicates the base frequency of modulation carrier signal in hertz.
Output: Indicates the pulse width modulated output scaled 0 to 1.
Diagram name: PWM Single Phase
Location: Examples > eMotor > Brush DC
In this example, the PID Controller (Digital) block is configured as PI and saturation limits are set for 0 to 100 for anti-windup control with the PWM logic. A modulation frequency is chosen at 3000 Hz, and the gain of 250 represents voltage switching at 250 V, controlled by the PWM. Velocity is measured from the load using a tachometer and fed back to the PI compensator.