This example shows an H-bridge configuration switching audio power amplifier circuit. Switching audio power amplifiers are more efficient than conventional power amplifiers as switching devices are operating only in the fully-on and fully-off states. This audio power amplifier uses a 1MHz switching frequency and has a PI feedback controller to ensure that output voltage tracks the 2kHz and 2.5kHz sine wave inputs. The power spectrum is plotted in the Spectrum Analyzer, and can be used to inform selection of controller and filter parameters.
The plot below shows the output voltage as compared to the reference voltage. It also shows the dissipated power for the four MOSFETS averaged over 100 PWM cycles.
The power spectrum plotted in the Spectrum Analyzer shows peaks at 2kHz and 2.5kHz, the two components of the reference voltage.