buck converter with faults -凯发k8网页登录
this example shows how to model and assess the impact of component tolerances and fault events on the operation of a switching power supply. the r, l, and c components all have tolerances, operational limits, and faults defined. the faults can be enabled within the block dialog or using matlab® commands. the capacitor fault is already enabled to cut in at 1.5e-3 seconds.
model
simulation results from simscape logging
the plot below shows the output voltage as compared to the reference voltage. it also shows the control signal that adjusts the duty cycle of the pwm signals applied to the mosfet gates. as the faults occur, the effect can be seen on the control signal and the voltage supplied by the converter.
the plots below show the behavior of the different implementations of the pi controller.