This simple MOSFET controlled transformerless power supply circuit can be used for delivering a continuously variable 0 to 300V DC output and a current control from 100 mA to 1 Amp.
To protect against my high voltage research projects from going up in smoke permanently, I developed an easy circuit which is able to render a variable voltage supply of 0 to 330 Volt.
But please be cautioned, the circuit is not isolated from mains potential, and therefore can inflict a lethal shock.
The supply is short-circuit proof: the current is restricted to approximately 100mA.
WARNING: ALL THE ABOVE CIRCUITS CARRY LETHAL MAINS VOLTAGE AND THEREFORE ARE EXTREMELY DANGEROUS. IT CAN KILL ANYBODY, IF TOUCHED ANYWHERE ON THE CIRCUIT IN POWERED CONDITION. OBSERVE APPROPRIATE PRECAUTIONS TO AVOID ANY MISHAP.
Circuit Operation
The design does not require a transformer, rather a 100 watt bulb is introduced at the input in order to provide ultimate safety in case of a short circuit or a component failure.
The mains voltage from after passing through the lamp is rectified with bridge D1 (1Amp / 500V) and C1.
T1 is configured as a source follower: the source of T1 complies with the voltage of the wiper of R3. D2 is insured to safeguard the gate of T1.
T2 and shunt resistor R2 establish the current limiter. Whenever the output current results in being excessive, T2 quickly discharges the gate of T1.
This stops the current from increasing any further. The value of R3 was basically identified experimentally; however it actually depends on the Hfe of T2 which means you may need to adjust the value of R2 appropriately.
Keep in mind T1 requires a large heatsink: in nastiest situation T1 would probably disperse 330V x 100mA = 33Watt!
You may try mosfets such as a BUZ 326 (400V/10.5Amp) or you may likewise use an IRF740 (400V/10Amp).
The output impedance of the power supply varies according to the beta of T1, therefore the bigger the MOSFET, the lesser the output impedance!
Circuit Diagram
UPDATE:
The above design could be much simplified as indicated in the following diagram. The bridge rectifier has been eliminated which drastically reduces the stress level on the MOSFET.
However, the ripple generated due to a half wave rectification may be significantly higher.
The output 10uF filter capacitor helps to reduce this to some extent. The value of this capacitor could be increased to higher levels for improving the DC quality.
The input series lamp can be added, although this may not be required due to the presence of the current control stage in the design. However, for better safety a fuse may be added in series with the input line.
The output load specification must not exceed 100 ma
Video Proof:
This power supply can be used to obtain a regulated power output, variable right from zero to 300 volts maximum. All the devices should be mounted on heatsinks.
A Failproof 300V Variable Power Supply Design
To make the above 300V adjustable power supply completely safe and failproof, you can modify it by adding an input current limiting capacitor, as shown in the following diagram.
However, please remember that the circuit is safe and failproof only for the MOSFET, but it still carries a floating 300V AC, which can be lethal for any human if the circuit is touched in open and powered condition.
Using a Combination of BJT and Mosfets
Circuit Operation
The next transformerless 0-300V variable power supply circuit diagram can be understood with the following points:
As can be seen in the figure, a high voltage transistor BF458 is used as the main load handling device.
Its base bias is controlled by another high voltage transistor BF337 whose emitter is clamped to a stable 24 volts.
An FET is used for selecting the base current of the transistor BF337 via a pot of 1M.
This setting adjusts the base current for the BF337 which in turn restricts the main transistor BF458s voltage and current flow to the output.
The input to the circuit may be derived directly from the mains AC after proper rectification and filtration using a bridge network and a 10u/400V capacitor.
The entire circuit is extremely dangerous to touch, due care should be maintained while making and testing this circuit.
Converting 80V DC to 5V DC Stabilized Output
The above explained 300V MOSFET regulator circuit was successfully modified by Mr. Luigi to convert a varying input between 20V and 80V DC into a stabilized 5V DC output, using an opto-coupler feedback, as shown in the following figure. I am grateful to Mr. Luigi for contributing this design to this website.
Bhardvaj Rajyaguru says
I have one query on transformer less power supply.
Actually I’m going to design one power supply which will be transformer less.
I tried for many topologies. That was not sufficient to provide me 5V, 500mA from bridge rectifier output 330V. Capacitor and Resistor dropper having issue with current it can deliver max. 120mA.
If anyone have suggestion on any particular circuit, please suggest me. with schematic also mentioned output current.
Swagatam says
You can try the last circuit with an opto coupler.
Make sure to replace the MOSFET with IRF840, and feed the 220V input AC through a 10uF/400V capacitor and a bridge rectifier (using 1N5408 diodes)
Fastra says
me again! Mr Swagatham! can you give me a formula to rotate the coil to have an output 220 V AC 110 V AC with step-down transformer
Swagatam says
Fastra, you do not any formula or circuit if you are using a step-down transformer, you just need to connect the 220V side of the transformer to the 220V AC input and then get 110V AC from the other side of the transformer.
Fastra says
bonjour swagatam ! J’ai une imprimante laser jet 110v AC mais dans mon pays nous utilisons du 220v ac, pouvez-vous m’aider avec un schéma 220v ac convertir 110v ac, car le prix du transformateur abaisseur est très cher dans notre pays ! Merci pour votre aide, que Dieu vous bénisse, votre travail et votre famille !
Swagatam says
Thank you Fastra, i can understand your problem, however there’s no easy circuit to convert a 220V AC to 110V AC, unless a transformer is involved.
An SMPS can be used, but that will be far more expensive than an ordinary iron core transformer version….and an SMPS will also require a huge lot of calculations.
Fastra says
merci beaucoup pour votre aide et information
Fastra says
Hello Swagatam! Is this schematic 0 to 300v adjustable suitable for me, for the printer 110v AC 300w hp lasert jet
Swagatam says
Hello Fastra,
Sorry, no, the above design is not suitable for your application, because the above power supply is suitable only for DC loads.
Luigi says
I tried this circuit to reduce the voltage of a 48V photovoltaic system, max input voltage 75V. I needed a stable 5V voltage to power a pic MCU which reads the panel voltage and sends via isolated serial.
It works well, I used an optocoupler to stabilize the voltage. If you are interested, I can send you the diagram which is very simple.
Swagatam says
Thank you Luigi, for trying this circuit for your specific application, yes I would be certainly interested to see the schematic.
Please send it to my following email ID:
homemadecircuits
@ gmail.com
Seth E Burgin says
I have had to put two of these in series. There is a parallel resistor load a voltage divider and circuitry at the first -150 VDC node then another 0D3 and more circuitry to feed at -300 VDC. The 0D3 can NOT handle more than 40mA continuous load after it starts. It’s not supposed to anyway, but a lot cheating went on. With voltage divider off -645 VDC they run at 323 VDC +/- 6%. I also tied in the other -323 into the second regulator. I tossed in some 1N4007s too just to keep them to themselves. And yes those too look like they are in backwards because of the positive ground and the negative voltage supply. Hopefully those two -150 volt outputs will equal a stable -300. I also put the Zener diodes up close to the MOSFETs to keep them at more constant temperature. The Zeners were drifting with temperature changes.
Swagatam says
That sounds good! I hope you have used separate bridge rectifiers at the input sides, for the two -150V modules. This is important to ensure both the modules are completely isolated from one another.
Seth E Burgin says
I found out I actually need to run two of these in series from a voltage divider upstream that outputs 2 x -323 VDC but it can vary from between -303 and -343 VDC with the mains voltage. Will the two -150 VDC outputs sum to make a -300 VDC output in the second regulator or do I set the first one for -150 and the second one for -300 VDC out? I also want to put some diodes in between the two units to keep everything separate with no DC feeding back from the second regulator to the first or is that a waste of parts? I tried some DIY SMPS regulators. WAY TOO NOISY! I had pretty clean DC coming into the SMPS regulators but with the SMPS regulators switching it put lots of high frequency noise into everything, especially with the two of them! They sync’ed up together and it was awful.
Swagatam says
I think it’s better to set the first one for -150 VDC and the second one for -300 VDC out. You can put diodes across the outputs of the two units to keep everything separate and avoid DC feedbacks.
There’s zener diode in the above circuit which can become a source of noise, so i think a 100uF/25V capacitor could be connected parallel to this zener diode to filter out the noise.
Additionally you can also put a high value capacitor across the outputs of each regulator circuit for further noise suppression.
Seth E Burgin says
On further inspection I need two of these set for -150 VDC, and the negative voltage IN comes off a 25K/25K voltage divider from a filtered -645 volt supply node so that gives me -323 volts that could vary between -302 and -343 volts, as per the unit’s specs and the mains voltage. If I tie across ONE -150 VDC output I should get -150 volts regulated and if I tie in across BOTH (two) -150 VDC outputs I should get -300 volts regulated, correct? I need regulated -150 and regulated -300 regulated voltages. I have some other PSUs & some bread boards. If I strap the Lambda and the Japanese PSU together with diodes for safety that should give me a good -350 VDC @ 300 or so mA. I have tube power transformers around too! One would ALMOST work for the damaged transformer in my Nobatron 600B, but it’s 16 mm too tall to fit. : -(
Swagatam says
Yes, that’s correct, you can connect the outputs of the two -150V supplies in series to get two -150V individually, and also one -300V DC output.
Seth E Burgin says
If I wanted to make this into a NEGATIVE 300 volt regulator would using a P channel MOSFET and a PNP BJT work? It’s just a pass tube bias supply, with reference sense & send regulation circuitry and it SHOULD only draw 40mA-60 mA. I’d think the Zener diode may have to be reversed too. I’d like those 0D3 tubes to go away.
Swagatam says
Yes, you can convert the above shown design into a -300V regulated DC supply generator by using P-channel MOSFET and PNP BJT.
The P-channel mosfet can be also replaced with an equivalent PNP BJT.
The bridge rectifier polarity will also need to be changed for this application.
Yes, the zener orientation will also need to be reversed.
Seth E Burgin says
I started looking for P channel MOSFETS and PNP BJTs and THANK YOU THANK YOU so very much for confirming that theory! I shall have to make TWO that run at 150 volts each! I am coming off of a wacky isolated center tapped winding on a “main transformer” that is more or less wired up backwards with a 5R4 rectifier tube with the center tap being positive, relative with all of the filter caps being wired in reverse polarity. The two 0D3 tubes draw 100 mA EACH to start and these stupid designers HOPED they would start before they overheated an undersized $400+ 1170 VCT transformer. It’s just for voltage regulation (6BQ6 sweep tube pentode), reference/regulation voltage for the pass tube bias (5651 & a 6SL7), the feedback, and two regulated bias 0- -150 VDC voltage bias supply. There are two other windings in the transformer: A 240 VAC with no center tap @ ~ 75 mA for the 7 pass tube screen grids, and the 5R4 rectifier’s 5 volt 2 amp filament supply. Switching the unit off and on quickly would have all 7 5881 pass tubes running preheated with NO bias until the 0D3s restart. That jumps the screen current way up and that often fries that 240 VAC transformer winding and often cooks a selenium rectifier too. I already have -725 that is stepped down to -475 VDC post filter caps & some dropping resistors. There is my negative DC voltage supply for this regulator. Eliminating those two 0D3 VR tubes eliminates that 200mA starting current surge load. I may even replace the 5R4 with some 1N5408 diodes & shunt caps in a tube socket. The pass tube plates run off of a 970-0-970 or 1940 VCT transformer, and that filters through a gigantic choke & 3 450 VDC 82uF caps run in series with an old 50 watt 5K x 3 ohm Ward Leonard “voltage divider”. Reading about Ward Leonard (the man and the company) was very educational. I am adding an ON DELAY that activates and keeps the pass tubes OFF for 10 minutes if there is a short duration power outage or if some idiot toggles the unit off and on in quick succession. I can fit these regulator in tube sockets and just plug them into the 0D3 sockets and not worry about those 0D3s not lighting up in time. THANKS AGAIN! I am just an old stupid disabled electrician! I did PLC, relay logic, motor controls, instrumentation,4-20 mA, fire alarm, smart buildings, POI, etc. THANKS AGAIN! I loved working with the Indian electrical engineers. The white American engineers tended to be really lazy and very sloppy. I worked with some very good Pakistanis & an exceptional Englishman too, that were excellent engineers. The American EEs would keep adding stuff and forget to increase the load calculations. That’s just lazy and sloppy, and I have to do all of the calculations out in the field and send the plans back in. .
Swagatam says
Thank you so much for the detailed explanation, it is indeed great to hear about tubes in this era of microchips.
Do let us know how the 300V controller circuit using transistors works for your application.
And feel free to ask or share any further questions or doubts you may have.
Seth E Burgin says
I have an old tube regulated PSU that uses two 0D3 VR tubes, which will regulate around 475 volts DC to 300 VDC with a constant load of around 35mA. Will this be stable @ 300 volts? Worst case it can surge to 60 mA or so.
Swagatam says
The above circuit is extremely stable with its set output voltage.
A.G.Suresh Babu says
Dear Swagatham, This is something that I been working on for a couple of days blowing a hell lot of Mosfets and Pots.
I have a couple of issues , that I hope you can help with.
1) Can I use the first circuit without the last current limitting section after the zenner diode with a 90 v dc input to get full current from the transformer ? (5 Amps) ( I can use really heavy heatsink for the mosfet).
1) When I connect only source to the positive of the 90 volt supply. I get voltage at the drain and gate too. Is that normal ? (Drain and gate not connected at all to anything). Since full 90 v is seen at the gate ,it develops a 10 to 80 ohm resistance between source and gate almost like a permanent short. it won’t work later.
2) A s source follower, can we get 0-90 v control since the gate voltage is clipped at the zenner diode voltage (12v or below the 20 v Vgs).
3) is the output current limited by the wattage of zenner diode ?
pls comment when you get time. thanks in advance.
Swagatam says
Dear Suresh,
Here are the answers to your questions:
1) Yes you can use the first without current limit, however the second diagram is more efficient so i would suggest you the second diagram. Please check the modified version of the second diagram in the following figure:
https://www.homemade-circuits.com/wp-content/uploads/2023/12/300V-MOSFET-power-supply.jpg
The source is not supposed to be connected to a supply because the source is the output not the input. The supply input must be connected to the drain.
2) From a MOSFET source follower you wwill get from 0 to 85V, since 5V might get dropped by the MOSFET. 12V zener diode between gate and source will not impact the source voltage, it will impact if the zener diode is connected across the gate and the ground line.
3) The output is limited to the MOSFET current handling capacity, not the zener wattage.
Rahims says
Hallo!
Thanks for information about transformerless power supplies!
Is it reasonable to use your “0-300V Adjustable MOSFET Transformerless Power Supply Circuit” for high power applications?
For example I am interested in using this kind of power supply with up to 5KW regulated load with current of 13A and more.
So, is your power supply a good idea for abovementioned example?
I think that there will be a lot of power needed to be dissipated with super-extra large heat-sinks which could be as big or bigger than a transformer.
Am I right?
Sorry I am just a beginner in this field
Best wishes from Latvia
Rahims.
Swagatam says
Hello,
You are right, this MOSFET power supply is not suitable for high power applications, since it will dissipate huge amounts of power and will require enormously big heatsink.
Rahims says
Thank you very much!!
Ikechukwu Agbarakwe says
Hello Swagatam, I have been building the first circuit, but I am in a dilemma. I can’t get a 12v zener, or any zener. But I have a TL431A. How can I wire it so as to get 12v at the MOSFET’s gate? Also, I want to use an IRF510 transistor, later to use an IRF540. How do I include current control to vary the current as well? Thanks in advance
Swagatam says
Hello Ikechukwu,
You will need a zener diode here, a TL431 cannot be used. You can use use zener diode between 9V and 15V. For a 220V AC input the MOSFET drain/source voltage must be rated at 400V, therefore IRF510 or IRF540 cannot be used here.
Alastair Clark says
Hello again swagatam. I finally have a working circuit using a 6r125p mosfet, 500k potentiometer and sa5.0a unidirectional tvs diode across gate/source. I figured out I was mistaking fast switching diodes with zener diodes leading to most of my issues.
In a source follower configuration and using a potentiometer to control the gate. It only gets around 3-4v. Which doesn’t fully open the fet. Is there a way to increase the gate to source voltage? Or would it be better to switch to a logic level mosfet? With the sa5.0a I was expecting 9.2v since that’s the clamping voltage of the tvs diode.
Swagatam says
Hello Alastair,
Sorry, I can’t figure out the issue you are facing with your circuit. In the video you can see that I have already tested the circuit and it worked fine for me.
I am not sure why a TVS diode would be required across the gate/source of the mosfet. According to me it should be a 12V or a 15V zener diode. The job of the zener diode is to make sure the gate source voltage does not exceed the zener value.
Alastair Clark says
Okay well that makes much more sense why the failures seemed so random. I knew there was a maximum gate voltage but I just figured the response was quick enough to not have to worry about it.
So basically the gate resistor is to save the potentiometer from overpowering itself in this case? And I could base the size of my gate resistor on the size of my potentiometer? Is there any benefit to decreasing the size of the gate resistor?
Also when changing the configuration to parallel do I need multiple Zener diodes?
And are there any other things I could do to safeguard the mosfets while running them in a parallel configuration?
Swagatam says
The gate resistor is for protecting the zener diode.
The potentiometer value is for protecting the potentiometer itself from high voltage and for preventing unnecessary heat dissipation.
These resistors are irrelevant to the mosfet if the supply is a constant DC.
If the gate signal is in the form of frequency then gate resistor required to be as small as possible.
In parallel mode the whole setup works like a single large mosfet, so a single common resistor and a single zener diode should work OK.
No other precautions are required for the mosfet except that its specifications which must higher than the input supply voltage and the load current.
Alastair Clark says
Hello again and thank you for all of your help. I have a couple Toshiba 2sc5200 transistors available. Would this work as a replacement for bc547?
If so will the current limiting resistor still be calculated the same way?
If you were to add multiple transistors in parallel would this increase the power handling capability of the circuit even further? While still allowing you to control the available amperage?
And if you changed/added a pot to the base of the transistor, would this allow for an adjustable current as well?
Alastair Clark says
I just realized the transistor only discharges the gate and doesn’t actually provide any power. Would a 2n222 be a sufficient replacement?
Would the current limiting resistor still be calculated the same way?
And would adding a pot after R2 or replacing R2 with a big enough pot allow for an adjustable current regulation?
Swagatam says
The mentioned transistor will not work in place of BC547, since their specifications is completely different.
You can try 2N2222 instead.
Current limiting will still work even if the BC547 is replaced with an equivalent.
Increasing the number of mosfets will increase the current handling capacity of the circuit proportionately. The BC547 would still control the current normally.
Adding a pot at the base of the BC547 may be possible, but the control will not be accurate. It can done as explained in the following post:
https://www.homemade-circuits.com/simple-current-sensor-circuit-modules/
Alastair Clark says
Thanks again for all of your help.
I’m still having issues getting my head wrapped around the use of mosfets. Specifically the source follower diagram is using an npn in a high side configuration vs the suggested npn configuration using low side.
Everything I’ve read said that an npn should be used in a low side configuration connecting the ground to the load. Because you need a higher voltage at the gate than your supply. And in a low side configuration you don’t.
Another question regarding the zener diode. And the configuration of the mosfet. The transformer im using also has a 0-10v supply. Could I use a common ground and supply the mosfet with 0-10v at the gate with a pull down resistor on the source to switch a 0-100v load?
And as I was writing my last question I realized… does a load needs to be connected for any of this to work correctly? ????????♂️
Since the reference voltage is from gate to source, and the source is unloaded with no reference to ground… Pretty sure I just had an epiphany while talking to myself.
The only thing I don’t understand is the placement of the mosfet in relation to the load. Since you could just place the load before the mosfet in the circuit.(drain) And use the mosfet to connect it to ground (source)
Am I starting to get it yet? ????
Swagatam says
The high side, low side and bootstrapping issue arises when the drain/source of two mosfets are connected in series.
But in our example there is only one mosfet, which is configured as a source follower.
Source follower configuration makes sure that the source voltage follows the gate voltage, so the gate voltage can be varied effectively to vary the source voltage (load). That is the main benefit of using a source follower in a variable power supply like the above.
You can use a 10V at gate and 100V at drain with common ground but then how will vary the voltage to the load with this configuration?
In a source follower a small load is required to enable the circuit to work correctly. This load can be in the form of a 1 K 5 watt resistor.
A load at the drain will not allow it to be adjustable. The load can be adjustable only when it is connected to the source of the device.
Alastair Clark says
Okay starting to make sense of things now. So thats why pnp transistors have their source in different position. That definitely helped solve quite a bit of my confusion.
I asked about the separate voltage because I remember seeing others use this method with an arduino or a separate power supply for high voltage applications. I’ve also seen extremely basic examples using an irf540, 100k pot, and 10k gate resistor. And that’s it. This was also for a 0-100v regulator.
Ideally I’d like the simplify the circuit until I get a better understanding of it. I’m slowly getting there…
Is it possible to replace the Zener diode with a resistor from source to ground? Or add a 1uf ceramic capacitor after the gate resistor as a buffer? Then calculate for RC network? It’s not perfect and definitely not foolproof protection but it should work no?
Swagatam says
Actually I was wrong, the 10V on gate and 100V on drain cannot be use and will not work. Because with 10V on gate the source will generate less than 10V regardless of the 100V on drain.
So the load will get a voltage less than 10 V and thus cannot be operated.
This is how a source follower is supposed to work. It follows the gate voltage and generates a source voltage which is always lower than the gate voltage.
Zener diode cannot be replaced with a resistor, The zener diode makes sure that the gate/source voltage never exceeds the 12V mark and this safeguards the mosfet from burning.
Alastair Clark says
I think I’ve figured out most of my issues. Here’s the post I referenced. And I had to go searching through the data sheet to figure it out. I’m using 2 13n50c mosfets.
The body diode allows positive biased voltage to flow from source to drain. And I was not able to turn off or adjust the mosfet, similar to how you just explained. So instead of positive voltage from gate to source. I ended up with an extremely voltage from gate to source. And the mosfet latched to power on mode.
After I turned the circuit off I was able to get them to turn back off using a pull down resistor.
Since you have a Zener diode across gate/source it allows the gate voltage to follow the source.
With a common ground I can do something similar like I was thinking originally. With a 0-10v gate, source connected to negative and drain connected to the load.
This allows for the positive voltage to flow from gate to source. Since the motor is supplied with a different power source.
I’m going to end up changing this shortly. But would a resistor or regular diode across gate/source fix the issue?
I was thinking with a regular diode anode on gate and cathode on source. That you might be able to get around this issue by directing the gate voltage toward the source instead of the drain
Alastair Clark says
Hey, I’m working on a 100v adjustable power supply based on the 0-300v circuit and I’m having some issues.
I’m powering the circuit with full bridge rectified ac from a 72v transformer. And have 2 – 330uf smoothing caps before the fet.
Originally I was using too small of a potentiometer. Currently I’m using a 500k pot with 2 – 0.5w 1M resistors in parallel for the gate resistor.
This confused me quite a bit since most of the data sheets and circuits I found had a really small gate resistor? I’ve blown up enough pots now to know that’s not the case. But I still don’t understand why.
Currently I don’t have any current limiting in place and no zener diode.
After struggling for so long trying to build a power supply with multiple mosfets in parallel I finally gave in and went back to basics. Everything was working until I broke a pin off of the fet ????????♂️ feeling confident that I finally *did* have a working model I tried to go back to a parallel circuit. And blew another 2 mosfets. But at least the potentiometer was okay this time ! Considering it’s my last one…
What am I doing wrong with this parallel circuit? And is there anything I can do to help protect my precious fets from the mysterious deaths I’ve been bringing upon them ????
All of the fets I’ve killed have been well within their working voltage range, and mounted to the same heat sink. I’ve tried both high and low side circuits but I don’t think any of the parallel circuits I’ve tried to build have worked.
Swagatam says
Hi, thanks for the question, I will try to solve your problem.
A small resistor at the mosfet gate is relevant only when the gate signal is a pulsating frequency. If the gate voltage is a constant DC then the value of the gate resistor does not matter. Moreover the potentiometer value has to be high in order to safeguard the pot from high voltage.
Another thing is that MOSFET gates cannot tolerate voltage above 20 or 30V across their gate/source terminals. Therefore a zener diode is a must across their gate/source pins of the FET if the supply is higher than 20 V.
You have not used the current limiting feature, that is fine, but make sure to put the 12V zener diode otherwise your MOSFETs will keep blowing off.
Tinu says
Hello Swag, well done Sir, please can I convert 60V from 5battries of 60ah each to 12v to power 12v appliances. Thanks
Swagatam says
Hi Tinu,
Unfortunately the circuit which I have can handle a maximum of 55 V only…60 V is just a bit higher for this device:
https://www.homemade-circuits.com/0-to-50-v-adjustable-switching-power-supply-circuit-using-ic-lm2576/
Moses says
Good day sir! To get 200mA output current out of the circuit instead of 100mA I intend using 2N2222A in place of BC547. My question is do I need to adjust the value of 3.3ohms resistor.
Swagatam says
Hello Moses, the current is not relevant to BC547 rating, so you can use BC547 for 200 mA also.
For 200 mA current the 3.3 ohm can be replaced with a
R = 0.6 / 0.2 = 3 ohm.
sudarsono says
I am interested in your post and I want to try it for experimentation as a smd led light driver, in your opinion which diagram is better than the two diagrams above, the first or the second, then in the first diagram there is a 100 watt lamp, can the lamp be replaced with a resistor as a safety (how much resistor value should I use) so that the circuit is safe, in the first diagram what do you think if the output is also installed a 10 uf 400 volt capacitor as in the second diagram. thank you for your attention
Swagatam says
The lamp cannot be replaced with a resistor, otherwise the resistor will become too hot and burn. However, the bulb could be replaced with a high voltage PPC capacitor. A 1uF/400V will produce 50 mA at the output and so on. Yes in the first diagram also a 10uF/400V or higher value capacitor could be used at the output. In that case the capacitor after the bridge could be removed.
sudarsono says
I have changed the first diagram and I installed a 105 j 400 volt capacitor and I parallel it with a 470 Kohm resistor, then I removed the 150 uf 400 volt capacitor and at the output I installed 10 uf 400 volt, I will practice it on the pcb hopefully the experiment is successful, thank you friends. Unfortunately I can’t send you a diagram change, buddy
Swagatam says
It’s fine you can go ahead.
However be extremely careful with the circuit. It is not isolated from mains AC and therefore can inflict a lethal electrical shock if touched in an uncovered and switched ON condition.
mark smith says
Hi,
I would like to use a transformer both works 220v or 110v to power my heater 150w also I would be needing 12VDC to 3.3v via a regulator to power esp modules, Kindly could you let me know which transformer diagram is recommended to use. Thank you
Swagatam says
Hi, what is the voltage and current specifications of the heater?
For the 12V to 3.3V conversion you can use an LM317 adjustable voltage regulator circuit.
mark smith says
Hello Mr. Swagatam
Actually, I am making an IoT prototype in which power would be required.
For esp chip, at the same time for heater blanket. there would be 2 rods of 75watt each for the blanket Volts 110v 1.25amp also I would be needing 12v for modules.
Swagatam says
Hello Mark,
If your input is 220V and the heater is 110V then you will require a 220V to 110V 3 amp transformer for powering the heaters. For getting the 12V you can simply use a 0-12V/220V/1 amp transformer.
Алексей says
Нагреватели последовательно. Будет как 1 .12 v любой маломощный трансформатор. Конструкция меньше будет.
محمد فؤاد الخليلي says
Hello Swagatam
I am a hobbyist of electronics and I was taught by qualified experts
I am now working on an available project that lights the lights at night and turns them off at daybreak, and they are several designs, including using transistors and others with integrators. Of course, these circuits need to supply power from 9 volts to 12 volts, but the important thing is that these circuits control the relays, and these relays need a relatively large current that exceeds 1 Ampere
What is your advice to use suitable feeding circuits to carry the relay
I salute you for your great efforts and move forward
محمد فؤاد الخليلي says
Knowing that I am very interested in feeding from the general current directly to reduce the size of the device and reduce the material cost as well. Several feeding circuits have been tested from the main current 220 volts AC, but the current is so small that the relay cannot work and move the internal contacts to connect the lighting
Greetings again
May God bless you in all your endeavors and projects
Swagatam says
Thank you محمد فؤاد الخليلي,
I appreciate your interest in electronics. It is strange that your relays require 1 amp. Even a large relay rated at 30 amp will not require more than 100mA current for its coil activation.
Anyway, for a 1 amp current I will never recommend a transformerless power supply, which is explained on the above article.
For any load above 200 mA I will recommend an SMPS circuit, therefore for your application also I would recommend you to use an SMPS circuit.
محمد فؤاد الخليلي says
thank you so much
Please give me the simplest design
For SMPS so that I can easily implement it with a small final size and relatively little material cost
Thank u
Swagatam says
I would rather suggest you to buy a readymade SMPS instead of making one, because making a SMPS can be quite complex and will require advanced knowledge in the field of electronics. However if you are interested to build it you can try one of the circuits from the following article:
https://www.homemade-circuits.com/how-to-make-simple-12-v-1-amp-switch/
Max Weber says
Hello,
my name is Max.
I am currently building a simple tube tester (EL34/KT88) and need a constant 250VDC anode voltage that does not collapse at 200mA.
Where can I find a corresponding circuit diagram based on IRF840?
Can you help me??
LG
Max
Swagatam says
Hi, instead of using a mosfet power supply I would recommend using two small transformers connected back to back o get the intended low current 220V output, as shown below:
Habtamu Tamiru says
ok sir! thank you!
Habtamu Tamiru says
hi sir! i’m one of your blog reader and follower from Ethiopia. in this article, all what you designed were helpful. but i want you to make slight modification on one of the ckts you built above so that i can use it for generator automatic voltage regulator(AVR). that means the output of this power supply will be fed to the rotor winding of the generator across carbon brush and if possible please include the generator main winding output voltage sensor so that the power supply can increase or decrease its output accordingly to meet the set point.
Swagatam says
Thank you Habtamu, since I do not have an expertise in the field of generators, doing this modification can be difficult for me.
Yuriy says
Dear Swagatam,
My question is about MOSFET power. In my case DC input voltage is 350V, output voltage is 310V, load current is 50mA. So, the voltage Vgs = 350 – 310 = 40V. Power dissipation on MOSFET should be P=40Vx0.05A=2W, but MOSFET (2SK2647, Fuji) is very hot. Please let me know the reason of this issue, probably I made some mistake in my calculation?
Thank you.
Swagatam says
Hi Yurly, Vgs = 40V is too high, it should not be more than 20 V according to me. And I could not understand the formula through which you calculated the Vgs.
Vgs is not equal to input V – output V.
Yuriy says
Hi!
So sorry, I made a mistake – I meant Vds, the voltage between drain and source is 40 volts (350-310).
Swagatam says
In that case the mosfet should not have become hot, maybe the mosfets are not original? Can’t actually judge without testing them practically.
Yuriy says
Hi, thank you for your opinion, will try completely different mosfet ASAP.
Swagatam says
Sure, no problem!
Pranab says
Which circuit should i use to power up a 100 watt led . Thanks
Swagatam says
what is the voltage and current specs of the LED? I recommend using a SMPS with a current control circuit, instead of the above transformerless design.
Pranab says
Its’ a flood light. 1500ma is the circuit current. Idk many circuits about smps with constant current. Can you suggest one. Thanks.
Swagatam says
OK, but you did not specify the voltage? Is it 100/1.5 = 66V? Give me the correct V and I specs I’ll try to figure out the SMPS option
Kevin says
Dear Sir,
I want to use this circuit to drive 300 3.3V @20mA LED what modifications do I need to do pls help.
Swagatam says
Kevin, you can make 4 strings of LEDs having 75 series LED on each string along with a 3.3k limiting resistor. You can then connect these 4 strings in parallel, with the above power supply. I am assuming your supply input to be 220V
Nathan D Edwards says
I built this is it works but… When I increase the AC supply voltage from Zero the DC output starts to increase when I reach ~200VAC even with the Pot on Zero. At 240VAC input I am getting 60VDC output… The DC output can be increased by the pot is right up to full voltage but only comes down to ~40-60VDC. All other aspects seem Ok. Any ideas?
Swagatam says
The output voltage depends on the voltage developed at the gate of the MOSFET through the pot. If the voltage across the pot increases, the gate voltage will also increase which will result in the output also increasing, so naturally if the input voltage increases the output will also increase proportionately. For getting a fixed output you may have to replace the pit with a zener diode of the desired value.
Nathan D Edwards says
Hi, Thanks
My problem in adjusting the pot down to zero I still have ~60VDC output? The gate voltage does go to zero with the POT. I am using the IRF740. If I disconnect the pot connection to the gate (open R1) I still get the VDC output. I find that if my AC supply is less than 200VAC it works all the way down to zero, but above 200VAC I get an increasing VDC out without increasing the POT from off zero (0 Volts on the gate).
Swagatam says
Hi, that sounds very strange, because the circuit is configured as a source follower, which means that the source voltage will follow the gate voltage. If gate voltage is zero the source will also show a zero voltage under all circumstances. You can try shorting the gate to the 0V line and check the output, if it still produces a voltage then I might suspect the MOSFET to be malfunctioning.
Lanny says
Hello,
it is saying the output is 0-300vdc 100mA max, if i need 3A max, which parts need to be changed ?
thanks a lot,
Cheers,
Lanny
Swagatam says
Hello, you can get 3 amp by adding more number of MOSFETs in parallel and by calculating the R2 accordingly. However 3 amp would generate a lot of heat on the Mosfet at lower output voltage levels.
R2 = 0.6 / 3 = 0.2 ohms, 2 watts
Yamoah Isaac says
hi good work . please i want to know if there is any way i can make this circuit a bigger amps like say 3 amps to run by dc motor? i made it but the transistor bc547 kept blowing. i will appreciate your quick response. thank you
Swagatam says
Thank you, 3 amps is not recommended, since the MOSFET can get immensely hot. Instead you can use the last circuit from the following article:
https://www.homemade-circuits.com/treadmill-motor-speed-controller-circuit/
GIULIANO VIGARANI says
Good day,I built the power supply with your scheme,but it does not work.I adjust 150 vdc out with 250vdc inp and I can adjust the vout but it does not stabilize the Vout,also as soon as I put a load with 18kOhm resistor the Vout goes to zero.Your scheme is with irf740,a 470 kOhm trimmer a 12 volt zener and a 470kOhm resistor
What do you recommend?
Thanks
Greetings
Swagatam says
Hello, When I checked it practically and found the circuit to be working perfectly….it is source follower mosfet circuit, the output will be almost same as the gate voltage of the MOSFET…..if the gate voltage fluctuates then the output will also fluctuate…
Suka says
Hello Swagatam!
I am working on designing a multi-input (couple of AC values like 240VAC, 120VAC, 24VAC) -> 24VDC output supply for my load (120ohm, 200mA). Both space and price are important for me, that’s why I don’t want to use a transformer or a 3-4$ capacitor. What would you recommend?
Thank you in advance & appreciate the work you do here!
Swagatam says
Hello Suka, capacitive power supply is the cheapest option, there’s no other option cheaper than capacitors, although you won’t get isolation from AC mains.
Chinmaya says
Hi Swag
I need 0-300v dc variable voltage but constant 100mA power source using transformer and potentiometer. Can it be done by modifying the above circuit diagram??
Swagatam says
Hi Chinmaya, yes it is possible to use the above concept. You can remove everything that’s connected on the AC side of the bridge rectifier, and replace it with your transformer secondary wires.
aliesmaili says
Hi
can I use this circuit for 600 volt DC input and have a 0 to 600 volt regulator ?
Swagatam says
You can use by upgrading the MOSFET accordingly
ahmad says
Hello good time
Thanks for your good suggestions
But I need a 12 to 15 volt regulator circuit with a current of 25 amps. Can you help?
If possible, please email me the circuit.
Thanks a lot
Swagatam says
Hello Ahmad, 25 amps cannot be achieved using capacitive power supply, SMPS is the only feasible way to achieve this!