# How to convert an AC volatge to DC using TRIAC?

I have just performed a phase angle control using triac and in which i want that ac voltage to be converted to DC. I have used rectifier with triac and the output seems well.

But if i add a filter capacitor, the situation is not good. The voltage becomes high enough.

Phase angle controlled ac voltage - 83 voltsAC Dc rectified voltage with capacitor - 300 volts

Obviously (?) if your trigger angle is earlier than $\pi$/2 then the capacitor will charge to the peak input voltage minus a few volts for the semiconductors.