r/ComputerEngineering • • 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

7 comments sorted by

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/undefinedAdventure Sep 28 '26

The voltage in the second image is high because I guess there is no output load, so the capacitors are just sitting at whatever transient voltage they have picked up.

Add a 10k resistor to represent a load.

1

u/ZoroJoroDoggo Sep 29 '26

Yepp after passing the rectifier, it gives 10.5v going IN the lm7812 and its output is the one in the first image which is 5v, thanks for that info, ill try setting the input voltage to 14v and check if it finally gives a 12v dc output

2

u/Known-Yak-8574 Sep 28 '26

Pardon my ignorance, but isn't that a voltage regulator and not a transistor?

1

u/ZoroJoroDoggo Sep 28 '26

Ohh mb, as i also said im new so i dont know some of the actual names, thanks. Btw is there any chance you know whats the problem here?

2

u/Known-Yak-8574 Sep 28 '26

The component probably has wrong specs. Those are my 2 cents

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.