• Skip to main content
  • Skip to primary sidebar

Homemade Circuit Projects

Need circuit help? Post them in the comments! I've answered over 50,000!

Blog | Categories | About | Hire Me | Contact | Calculators-online
You are here: Home / Power Supply Circuits / 0-300V Adjustable Transformerless Power Supply Circuit Diagram

0-300V Adjustable Transformerless Power Supply Circuit Diagram

Last Updated on January 17, 2025 by Swagatam 267 Comments

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.

Table of Contents
  • Circuit Operation
    • Circuit Diagram
  • Working Principle
    • Key Parameters
    • Formulas
    • Example Calculations
  • A Failproof 300V Variable Power Supply Design
    • Using a Combination of BJT and Mosfets
    • Converting 80V DC to 5V DC Stabilized Output

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

220 V constant current variable voltage regulator circuit

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

220 V adjustable voltage, constant current regulator circuit

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.

Working Principle

The circuit regulates the output voltage using an IRF840 MOSFET (T1) as the main regulating element.

The 500k potentiometer (R3) controls the gate voltage of the IRF840 thus varying the output voltage.

The output current is controlled via the current-sensing resistor R2. When the voltage drop across R2 exceeds the base-emitter voltage of the BC547 transistor (T2 typically 0.6V to 0.7V) then T2 turns ON and reduces the gate voltage of T1 limiting the current.

D2 (12V Zener diode) ensures that the voltage of the IRF840 between its gate and source does not exceed 12V.

Key Parameters

  • Vout: Adjustable output voltage (0–300V DC)
  • Iout: Maximum output current (A)
  • R2: Current sensing resistor (ohms)
  • R3: Potentiometer for voltage control (ohms)
  • Vin: Input voltage (rectified 220V AC ≈ 310V DC)

Formulas

  1. Output Voltage Control

The gate voltage of T1 is determined by the setting of the 500k potentiometer (R3). The output voltage is approximately proportional to the gate voltage of T1.

Vout ≈ Vgs(T1) - Vds(on)

  • Where:
  • Vgs(T1) = Gate-to-source voltage of T1
  • Vds(on) = Drain-to-source voltage when T1 conducts (small value around few volts)
  1. Current Limiting (Iout)

The current limiting is handled by the sensing resistor R2. The voltage drop across R2 is compared with the base-emitter voltage of T2 (Vbe approximately 0.6V–0.7V). When the voltage drop across R2 exceeds Vbe, T2 turns ON and reduces the gate voltage of T1, thereby limiting the current.

Iout = Vbe / R2

  • Where:
  • Iout = Maximum output current (A)
  • Vbe = Base-emitter voltage of T2 (typically 0.6V–0.7V)
  • R2 = Current sensing resistor (ohms)
  1. Power Dissipation in R2

The sensing resistor R2 must dissipate power proportional to the output current:

P(R2) = Iout2 * R2

  • Where:
  • P(R2) = Power dissipated in R2 (W)

Choose a resistor with a power rating higher than P(R2) for safe operation.

  1. MOSFET Power Dissipation

The IRF840 MOSFET dissipates power due to the voltage drop across it and the output current:

P(T1) = (Vin - Vout) * Iout

  • Where:
  • P(T1) = Power dissipated in T1 (W)
  • Vin = Input voltage (DC, ≈310V for rectified 220V AC)
  • Vout = Output voltage (adjustable)
  • Iout = Output current (A)

Ensure T1 has adequate heat sinking to handle the calculated power dissipation.

Example Calculations

Let us Assume:

Vin = 310V DC peak rectified from 220V AC.

Vout = 300V DC

Iout = 0.5A (desired maximum current)

Vbe = 0.6V

Step 1: Calculate R2 (Current Sensing Resistor)

R2 = Vbe / Iout = 0.6 / 0.5 = 1.2 ohms

Step 2: Power Dissipation in R2

P(R2) = Iout2 * R2 = 0.52 * 1.2 = 0.3W

Choose a resistor with at least a 0.5W rating for safety.

Step 3: Power Dissipation in T1 (IRF840)

At maximum output:

P(T1) = (Vin - Vout) * Iout

= (310 - 300) * 0.5

= 10 * 0.5 = 5W

At lower output voltages the power dissipation in T1 will increase so choose the heat sink to handle the worst-case scenario.

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.

300V Variable Power Supply Design with current restricted by input capacitor

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.

300V Variable transformerless Power Supply Design using FETs, and BJTs

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.

transformerless 5V DC Stabilized Output circuit diagram using MOSFET and optocoupler

You'll also like:

  • How Buck-Boost Circuits Work
  • 7805 resistive divider values compressedIC 7805 Variable Power Supply Circuit [5V to 15V]
  • shuntSCR Shunt Circuit for Protecting LED Drivers
  • 78XXinparallelforhighercurrentConnecting Voltage Regulators 78XX in Parallel for High Current

Filed Under: Power Supply Circuits Tagged With: 300V, Adjustable, Power, Supply, Transformerless

About Swagatam

I am an electronics engineer and doing practical hands-on work from more than 15 years now. Building real circuits, testing them and also making PCB layouts by myself. I really love doing all these things like inventing something new, designing electronics and also helping other people like hobby guys who want to make their own cool circuits at home.

And that is the main reason why I started this website homemade-circuits.com, to share different types of circuit ideas..

If you are having any kind of doubt or question related to circuits then just write down your question in the comment box below, I am like always checking, so I guarantee I will reply you for sure!



Previous Post: « Automatic Voltage Regulator (AVR) Analyzer
Next Post: Bicycle Generator Circuit »

Reader Interactions

Discussion & Solutions

Total Posts: 267
Newest Oldest
sisir roy
July 29, 2013 • 13 years ago #13877

Thank you Mr. Majumder for publishing this ckt. However I require a perfect ckt. for charging my 2X1.5 V chargeable batteries i.e. a 3V charger directy from 220V AC main supply, those are generally supplied with chinese make re-chargeable torches (easily available in the local market). My two sets has been damaged & I am unable to use them.

Reply
SwagatamAdmin
July 30, 2013 • 13 years ago #13889

You can use your cell phone charger for charging the 3V batteries by adding 4nos diodes in series with the positive line. The diodes can be 1N4007 type.

Reply
Francisco
October 22, 2013 • 13 years ago #16593

Hi!

Thanks for sharing. I'm actually designing a similar circuit but with SCRs to improve efficiency, did you think about doing one like that?

Kind regards,
Francisco

Reply
SwagatamAdmin
October 23, 2013 • 13 years ago #16616

Hi, yes I have a SCR design using a zero crossing detector stage, but I am not very sure if it would be entirely safe.
The above design looks more convincing to me.

Reply
nitin gondliya
March 1, 2014 • 12 years ago #20233

sir plz give modification for high amp like 50amp at 60v thankx in advance.

Reply
SwagatamAdmin
March 1, 2014 • 12 years ago #20252

Nitin, connect more mosfets in parallel with the existing one, and calculate R2 accordingly…

Reply
Arapan Bhadra
March 12, 2014 • 12 years ago #20494

Dear Sir please tell me how can I know about the functions of different IC's….

Reply
SwagatamAdmin
March 14, 2014 • 12 years ago #20525

Dear Arpan,
check their datasheets.

Reply
Josep Yoga
March 23, 2014 • 12 years ago #20745

Hello sir swagatam please tell me how make Stabiliser AC

Reply
SwagatamAdmin
March 24, 2014 • 12 years ago #20764

hello joseph, you can try the following circuit:

https://www.homemade-circuits.com/2011/12/how-to-make-small-homemade-automatic.html

more example links can be found at the bottom of the article

Reply
Josep Yoga
March 24, 2014 • 12 years ago #20776

thank you sir swagatam, i will try

Reply
Arapan Bhadra
March 28, 2014 • 12 years ago #20921

Thanks Sir.Sir please suggest me a book where I can found the datasheet of different ICs

Reply
SwagatamAdmin
March 30, 2014 • 12 years ago #20955

Arapan, the internet is the best source for learning the datasheets, you can try googling them online.

Reply
Muhamad baidhowi
July 26, 2014 • 12 years ago #24606

hi Swagatam 🙂
I want to ask.
1. if the input should be given 100watt bulb
2. if the circuit is safe to touch the output.
3. and for how many watts the resistor wear.

Reply
SwagatamAdmin
July 27, 2014 • 12 years ago #24618

Hi Muhamad,

1) yes 100 watt is required for safeguarding the mosfet
2) No the circuit is extremely dangerous to touch
3)R2 is 2 watt rest all are 1/4 watt

Reply
bhanu prasad Mishra
October 8, 2014 • 12 years ago #26288

Hi sir I want to make a variable power supply for 1Amp load.
My purpose is to test relays and adjusting 555based, Opamp based circuit….
Please sir help me…

Reply
SwagatamAdmin
October 8, 2014 • 12 years ago #26300

bhanu, you can use a LM317 circuit as shown in the first diagram here:

https://www.homemade-circuits.com/2011/12/how-to-build-simplest-variable-power.html

use 10k instead of 5k for the pot

input can be anything from 5V to 30V

Reply
bhanu prasad Mishra
October 9, 2014 • 12 years ago #26311

Thanks sir let me try………but I have an diagram how can I send it to you in which e-mail id…

Reply
SwagatamAdmin
October 10, 2014 • 12 years ago #26328

you can upload it to any free image hosting site online and provide the link to me here, i'll check it out

Reply
ainsworth lynch
December 28, 2014 • 12 years ago #27824

Can i get a circuit like this that can produce dual polarity voltages for various amplifiers from probably 0-100v at about 3 or more amps, the supply in my country is 110v

Reply
SwagatamAdmin
December 29, 2014 • 12 years ago #27829

you can try the following circuit:

https://www.homemade-circuits.com/2013/06/0-300v-variable-voltage-current.html#uds-search-results

use TIP35/TIP36 instead of 2N3055/2955 in the diagram for getting a 0-100V range

Reply
SwagatamAdmin
December 29, 2014 • 12 years ago #27830

…I do not have a trasformerless design at the moment…

Reply
ainsworth lynch
December 29, 2014 • 12 years ago #27837

I would need something to provide -70, +70 and ground

with this circuit i was wondering if I use the ground from the supply along with each output if that would work.

Reply
SwagatamAdmin
December 30, 2014 • 12 years ago #27846

I don't think that would work

Reply
ainsworth lynch
December 30, 2014 • 12 years ago #27860

ok then so you haven't desinged any circuit like that +70 -70 & Gnd

Reply
SwagatamAdmin
December 31, 2014 • 12 years ago #27868

sorry, I think I gave you the wrong link, here's the one I wanted you to see:

https://www.homemade-circuits.com/2014/07/0-to-50v-0-to10amp-variable-dual-power.html

but it will require a transformer.

Reply
SwagatamAdmin
April 8, 2015 • 11 years ago #29869

you can do it by altering the R2 value.

R2 = 0.6/.3 = 2 ohms, is a good value for getting 300mA

Reply
Kenneth Wermuth
April 27, 2015 • 11 years ago #30434

Hello, and thanks for the diagram. Have tested it and the setup continues to burn the irf740 as soon as I come over about 250DC primary. Has cooling, and tested with bulb at about ½ wattage. Have tried with less zener, but even 10v burns it. What could be the reason?

Reply
SwagatamAdmin
April 28, 2015 • 11 years ago #30447

Hello, the circuit won't activate until a load is connected at the output, if it's burning without a load then something could be seriously wrong with connections or the device, make sure that the fet "source" is towards the load.

and remove C1 initially and check the response without it

also you can try connecting the zener across the gate and bridge (-) of the supply.

Reply
SwagatamAdmin
April 28, 2015 • 11 years ago #30448

if you have excluded the current limiting stage then initially try a resistive load with relatively high resistance such as a 40 watt bulb at the load side or a 25 watt soldering iron etc.

In this situation the input 100 watt bulb can be eliminated.

Reply
Jideofor Igwe
February 2, 2016 • 10 years ago #38323

Please sir, what modifications can i make in the circuit above in order to get a regulated 12v, 300mA at the output? And i don't need the light bulb at the input.

Reply
SwagatamAdmin
February 3, 2016 • 10 years ago #38342

Jideofor, I cannot suggest much regarding this circuit because it is not designed by me and it can be dangerous if anything goes wrong, especially because it is not isolated from the mains in any manner…

it's better to go for a capacitive power supply

Reply
ronald
June 8, 2016 • 10 years ago #41649

Hi Mr. Majumdar,
Is this able to used for electron tube amplifier, without any hum?.
Thanks so much.

Reply
SwagatamAdmin
June 9, 2016 • 10 years ago #41664

Hi Ronald, hum will depend on the filter capacitor value, if it is properly optimized then the hum can be controlled to the desired limits.

Reply
Ali
August 31, 2016 • 10 years ago #44105

Hi dear Swagatam
i need a transformless power supply for my leds which change 230 v ac to 0-35 v or more
but please simple and without transformer
regards,

Reply
SwagatamAdmin
September 1, 2016 • 10 years ago #44116

Ali, you did not mention the current requirement….?

Reply
Ali
September 1, 2016 • 10 years ago #44134

2-5 amps
but please simple

Reply
SwagatamAdmin
September 2, 2016 • 10 years ago #44141

that's very high, you will have to opt for an SMPS version, capacitive type may not be recommended.

Reply
Ali
September 2, 2016 • 10 years ago #44149

Thankss swagatam
Ok,below 1 amp i can choose?

Reply
SwagatamAdmin
September 3, 2016 • 10 years ago #44164

Ali, you can try the following concept

https://www.homemade-circuits.com/2016/07/scr-shunt-for-protecting-capacitive-led.html

but make sure the SCR is rated above 2 amps

and change the zener diode with a 35V, 1 watt

Reply
Vic Natoli
September 10, 2016 • 10 years ago #44400

Hi
I'm looking to make a 430V 150ma supply for a tube amplifier. If I use a 350V transformer to supply the input voltage, increase the voltage on C1 to 600V and use a higher rated MOSFET, should the above layout work? What would you recommend as a suitable MOSFET? Any issues that you can see in an audio application?

Reply
SwagatamAdmin
September 10, 2016 • 10 years ago #44409

Hi, yes according to me it should work….

Reply
Vic Natoli
September 11, 2016 • 10 years ago #44425

Thanks. I'll give it a go.

Reply
Faith Jumbo
April 26, 2017 • 9 years ago #50063

Please sir can u elaborate more on how to calculate the value of R2 because if i multiple the value of R2 being 3E3 by 100mA is not giving me the 330v. And in one of the comments i read u said for 300mA R2 will be 2ohms u get by dividing 0.6/0.3 i want to know the 0.6 please can u give me steps on how 2ohms is gotten
Thanks and best Regards

Reply
SwagatamAdmin
April 27, 2017 • 9 years ago #50076

Faith, use the following formula for setting up the resistor

R2= 12/current Limit

for 100mA, this becomes

R2 = 12/100 = 0.12 ohms

Reply
SwagatamAdmin
April 27, 2017 • 9 years ago #50077

correction:

R2 = 12/0.1 = 120 ohms

Reply
Faith Jumbo
April 27, 2017 • 9 years ago #50079

Please the 12v is it as a result of 12v zener diode please how come the 12v and why not use 330v which is the required output voltage

Reply
SwagatamAdmin
April 27, 2017 • 9 years ago #50084

yes it is, but the main reason is that by grounding 12V level the mosfet will be completely shut off…

Reply
The Rocking Time
August 18, 2017 • 9 years ago #52550

Hi Sir ..Your circuit ideas are awesome.

I am designing a variable dual power supply circuit with high current output .. I have a 300 W transformer. I was initially thinking of making the circuit with LM317 and LM337.. but it is very difficult to get LM337 in our place. So I have designed the circuit with 7805 and 7905 Ics. By putting them in dual mode with the ground as common I got +5V 0 -5V dual power.. By connecting 2 pots between the Battery ground and the Ground pins of 7805 ( pin#2 ) and 7905 ( pin#1 ) I could tweek the output voltage from 5V to the full 15V range which was exactly my requirement.. The circuit is successfull in delivering the voltage range.. But the real problem happens next I am not able to take enough current from the output. I cant run high current loads with it. To compensate that I have used 2 to 4 no.s of TIP3055 Ics after 7805 regulator and there was improvement in the current. But not completely.. Now I need the help of you to design the current amplifier section at the output of the negative voltage regulator Ic ( 7905 ). I have several 2N3055 NPN transistors and MJE2955 PNP Transistors with me.. please help in this problem.. I have sent you an email comprising the designed circuit

Reply
SwagatamAdmin
August 20, 2017 • 9 years ago #52624

Hi RT,

Your 2N3055 connections are correct and they should be able to deliver high current, but make sure to add a low value (may be a 22 ohm2 watt) resistor with the base of each transistor, otherwise they may get damaged if the load is bigger.

Reply
View Older Comments

Need Help? Please Leave a Comment! We value your input—Kindly keep it relevant to the above topic! Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar



My Youtube Channel

Circuit Simulator

circuit simulator image



Subscribe to get New Circuits in your Email



Categories

  • Arduino Projects (95)
  • Audio and Amplifier Projects (134)
  • Automation Projects (18)
  • Automobile Electronics (103)
  • Battery Charger Circuits (88)
  • Datasheets and Components (109)
  • Electronics Theory (149)
  • Energy from Magnets and Earth (40)
  • Games and Sports Projects (11)
  • Grid and 3-Phase (20)
  • Health related Projects (27)
  • Home Electrical Circuits (13)
  • Indicator Circuits (16)
  • Inverter Circuits (99)
  • Lamps and Lights (162)
  • Meters and Testers (72)
  • Mini Projects (28)
  • Motor Controller (68)
  • Oscillator Circuits (28)
  • Pets and Pests (15)
  • Power Supply Circuits (91)
  • Remote Control Circuits (50)
  • Security and Alarm (65)
  • Sensors and Detectors (107)
  • SMPS and Converters (45)
  • Solar Controller Circuits (60)
  • Temperature Controllers (43)
  • Timer and Delay Relay (50)
  • Voltage Control and Protection (44)
  • Water Controller (37)
  • Wireless Circuits (31)



Other Links

  • Privacy Policy
  • Cookie Policy
  • Disclaimer
  • Copyright
  • Videos
  • Sitemap

People also Search

555 Circuits | 741 Circuits | LM324 Circuits | LM338 Circuits | 4017 Circuits | Ultrasonic Projects | SMPS Projects | Christmas Projects | MOSFETs | Radio Circuits | Laser Circuits | PIR Projects |



Recent Comments

  • Swagatam on 5 Useful Power Failure Indicator Circuits Explained
  • Swagatam on Simple 20 watt Amplifier Circuits
  • David Lloyd on 5 Useful Power Failure Indicator Circuits Explained
  • Dale on Simple 20 watt Amplifier Circuits
  • Swagatam on Blood Electrification Circuit: Explanation And Working Principle

Social Profiles

  • Twitter
  • YouTube
  • Instagram
  • Pinterest
  • My Facebook-Page
  • Stack Exchange
  • Linkedin

© 2026 · Swagatam Innovations