What is the function of rectifier diode parallel capacitor resistor after switching power supply transformer The DC power supply is connected in parallel with a capacitor and a resistor through the rectifier diode of the switch transformer. What are the functions of the capacitor and the resistor

What is the function of rectifier diode parallel capacitor resistor after switching power supply transformer The DC power supply is connected in parallel with a capacitor and a resistor through the rectifier diode of the switch transformer. What are the functions of the capacitor and the resistor

It is common to form a peak absorption circuit. When the half cycle peak of the transformer comes, the peak will charge the capacitor after the resistance current limiting. When the cycle peak is converted to the second half cycle, the capacitor will discharge through the current limiting resistance. This is probably such a working process