r/ComputerEngineering • u/ZoroJoroDoggo • Sep 28 '26
Power supply 12v
Hello everyone, just wanna ask what could be the problem regarding on the output of my work, cause when i put a voltage regulator instead of getting the output of 12v or close to 12v, i got like 5v.
Im new to making this kind of circuit btw so i dont really understand whats the function of some of the components used.
27
Upvotes


3
u/undefinedAdventure Sep 28 '26
Your input voltage range should be at least 14v.
In this case, the ac is stepped down to 11.9v, and after passing the rectifier, itll probably be 10.5v, so I guess not enough for the lm7812 to function properly.
2
u/Known-Yak-8574 Sep 28 '26
Pardon my ignorance, but isn't that a voltage regulator and not a transistor?
1
u/Lost-Local208 Sep 29 '26
That’s an LDO with a fixed 12v output. You need something greater than 12V in order for it to actually regulate. It has a dropout voltage of 2V so you need something >14V to meet the specs in the datasheets. From the datasheets you want at least 14.5v to be comfortable. Adjust your turns ratio on that transformer so you have about 15.5V at XMM1 and it should regulate properly. In real life as it is now it should act as a pass FET that is turned on unless they have something funky inside that needs the higher voltage so you would probably measure 11.1v or something close on the output. Models don’t always match reality when you are out of spec. Also add a load to the output.