I can't seem to find an answer to this, or the answers available are too advanced for me to understand.
I have an AC source 0VAC-40VAC. I also have a buck converter rated at 6VDC-24VDC input, and 5V output.
To connect the two, I've soldered 4 diodes together to convert VAC to VDC. I have put a 50V capacitor at the output. But my question is, how do I convert the DC source (after the rectifier) so that it caps at 24 VDC? If my memory serves, the Vrms is what comes out of the AC source and so the DC out of the rectifier is the same as the Vrms minus 0.7 (diode) multiplied by 2? Do I add more diodes in series to drop the voltage from 29VDC (0.7 x 40V) until it drops to 24VDC?
The problem is I can't measure because the AC source is not at a constant voltage, it goes anywhere between 0 and 40 at any time.
Please point me in the right direction to figure this out.
Thanks for reading.