Welcome
Username or Email:

Password:


Missing Code




[ ]
[ ]
Online
  • Guests: 48
  • Members: 0
  • Newest Member: omjtest
  • Most ever online: 396
    Guests: 396, Members: 0 on 12 Jan : 12:51
Members Birthdays:
All today's birthdays', congrats!
Capper (60)
cereus (73)
Mcanderson (43)


Next birthdays
11/05 Capper (60)
11/05 cereus (73)
11/05 Mcanderson (43)
Contact
If you need assistance, please send an email to forum at 4hv dot org. To ensure your email is not marked as spam, please include the phrase "4hv help" in the subject line. You can also find assistance via IRC, at irc.shadowworld.net, room #hvcomm.
Support 4hv.org!
Donate:
4hv.org is hosted on a dedicated server. Unfortunately, this server costs and we rely on the help of site members to keep 4hv.org running. Please consider donating. We will place your name on the thanks list and you'll be helping to keep 4hv.org alive and free for everyone. Members whose names appear in red bold have donated recently. Green bold denotes those who have recently donated to keep the server carbon neutral.


Special Thanks To:
  • Aaron Holmes
  • Aaron Wheeler
  • Adam Horden
  • Alan Scrimgeour
  • Andre
  • Andrew Haynes
  • Anonymous000
  • asabase
  • Austin Weil
  • barney
  • Barry
  • Bert Hickman
  • Bill Kukowski
  • Blitzorn
  • Brandon Paradelas
  • Bruce Bowling
  • BubeeMike
  • Byong Park
  • Cesiumsponge
  • Chris F.
  • Chris Hooper
  • Corey Worthington
  • Derek Woodroffe
  • Dalus
  • Dan Strother
  • Daniel Davis
  • Daniel Uhrenholt
  • datasheetarchive
  • Dave Billington
  • Dave Marshall
  • David F.
  • Dennis Rogers
  • drelectrix
  • Dr. John Gudenas
  • Dr. Spark
  • E.TexasTesla
  • eastvoltresearch
  • Eirik Taylor
  • Erik Dyakov
  • Erlend^SE
  • Finn Hammer
  • Firebug24k
  • GalliumMan
  • Gary Peterson
  • George Slade
  • GhostNull
  • Gordon Mcknight
  • Graham Armitage
  • Grant
  • GreySoul
  • Henry H
  • IamSmooth
  • In memory of Leo Powning
  • Jacob Cash
  • James Howells
  • James Pawson
  • Jeff Greenfield
  • Jeff Thomas
  • Jesse Frost
  • Jim Mitchell
  • jlr134
  • Joe Mastroianni
  • John Forcina
  • John Oberg
  • John Willcutt
  • Jon Newcomb
  • klugesmith
  • Leslie Wright
  • Lutz Hoffman
  • Mads Barnkob
  • Martin King
  • Mats Karlsson
  • Matt Gibson
  • Matthew Guidry
  • mbd
  • Michael D'Angelo
  • Mikkel
  • mileswaldron
  • mister_rf
  • Neil Foster
  • Nick de Smith
  • Nick Soroka
  • nicklenorp
  • Nik
  • Norman Stanley
  • Patrick Coleman
  • Paul Brodie
  • Paul Jordan
  • Paul Montgomery
  • Ped
  • Peter Krogen
  • Peter Terren
  • PhilGood
  • Richard Feldman
  • Robert Bush
  • Royce Bailey
  • Scott Fusare
  • Scott Newman
  • smiffy
  • Stella
  • Steven Busic
  • Steve Conner
  • Steve Jones
  • Steve Ward
  • Sulaiman
  • Thomas Coyle
  • Thomas A. Wallace
  • Thomas W
  • Timo
  • Torch
  • Ulf Jonsson
  • vasil
  • Vaxian
  • vladi mazzilli
  • wastehl
  • Weston
  • William Kim
  • William N.
  • William Stehl
  • Wesley Venis
The aforementioned have contributed financially to the continuing triumph of 4hv.org. They are deserving of my most heartfelt thanks.
Forums
4hv.org :: Forums :: General Science and Electronics
« Previous topic | Next topic »   

world's simplest variable DC power supply EVER?

1 2 
Move Thread LAN_403
haxor5354
Sun Mar 20 2011, 12:40AM Print
haxor5354 Registered Member #2063 Joined: Sat Apr 04 2009, 03:16PM
Location: Toronto
Posts: 352
I was just messing around with LM317 and mosfets trying to make a variable supply by amplifying the output of the LM317 by using a mosfet.
after spending a few hours with no progress, I just had the craziest idea ever. WHY NO JUST AMPLIFY A VARIABLE RESISTOR?!!
I tested it out with a 10 turn 4.7K pot and a IRFP260N mosfet heatsinked and fan cooled, and it actually works!!
works great as a 12V halogen light dimmer.
no op-amps,LM317,capacitor,chokes,ICs.... just a pot and a mosfet, can't get any simpler than that!!
any circuit design flaws?

1300581659 2063 FT0 Simple
Back to top
Inducktion
Sun Mar 20 2011, 12:43AM
Inducktion Registered Member #3637 Joined: Fri Jan 21 2011, 11:07PM
Location: Buffalo, NY
Posts: 1068
haxor5354 wrote ...

I was just messing around with LM317 and mosfets trying to make a variable supply by amplifying the output of the LM317 by using a mosfet.
after spending a few hours with no progress, I just had the craziest idea ever. WHY NO JUST AMPLIFY A VARIABLE RESISTOR?!!
I tested it out with a 10 turn 4.7K pot and a IRFP260N mosfet heatsinked and fan cooled, and it actually works!!
works great as a 12V halogen light dimmer.
no op-amps,LM317,capacitor,chokes,ICs.... just a pot and a mosfet, can't get any simpler than that!!
any circuit design flaws?

1300581659 2063 FT0 Simple


...I tried the same thing once. The mosfet just got hot and the voltage didn't really change that much coming out. I think it's mainly because you're operating the mosfet in it's linear region, and they get REALLY hot there because they're not really on, or off. a Transistor might work better for this, if i'm right, or an IGBT.
Back to top
haxor5354
Sun Mar 20 2011, 12:55AM
haxor5354 Registered Member #2063 Joined: Sat Apr 04 2009, 03:16PM
Location: Toronto
Posts: 352
mine stayed cool when fan cooled.
I remember a few years back I made a variable power supply with a 2n3055 to amplify a Lm317 and it get really hot even when fan cooled.
transistor are current controlled and mosfets are voltage controlled right?
PWM would work great for simple loads such as motors and lights but in my case I want pure DC not pulsing DC
Back to top
Inducktion
Sun Mar 20 2011, 12:56AM
Inducktion Registered Member #3637 Joined: Fri Jan 21 2011, 11:07PM
Location: Buffalo, NY
Posts: 1068
haxor5354 wrote ...

mine stayed cool when fan cooled.
I remember a few years back I made a variable power supply with a 2n3055 to amplify a Lm317 and it get really hot even when fan cooled.
transistor are current controlled and mosfets are voltage controlled right?
PWM would work great for simple loads such as motors and lights but in my case I want pure DC not pulsing DC

PWM is what you want, yes. You can make it pure DC just by adding a parallel cap to filter it out, no rectification needed.
Back to top
Mattski
Sun Mar 20 2011, 02:11AM
Mattski Registered Member #1792 Joined: Fri Oct 31 2008, 08:12PM
Location: University of California
Posts: 527
Haxor, in a circuit such as you have posted here there will inevitably be a large power loss turning into heat in the pass transistor since you are attempting to reduce a voltage while passing a current, so P_heat = (V_source - V_load) * I_load. So the higher this power dissipation is the bigger heatsink/fan you need.

Also this circuit has little regulation so if the load draws less current then the voltage will rise. If the load draws more current then the voltage drops. There is some feedback because as the source voltage falls the transistor is turned on more strongly partially compensating for the change in load, but not fully. The regulation might be good enough for some circuits. If you implement some type of closed loop feedback to automatically control the gate voltage then you would have a linear regulator like a 7805, or lm317. If your load is fairly constant and you are constantly monitoring it then it might be

wrote ...
PWM is what you want, yes. You can make it pure DC just by adding a parallel cap to filter it out, no rectification needed.
With just a capacitor the voltage would still jump up to the source voltage when driving it with a PWM to turn it fully on and off. Adding an inductor and diode as in a buck converter would do the trick though, and can be made to have fairly small ripple.

wrote ...
transistor are current controlled and mosfets are voltage controlled right?
BJT's and MOSFETs (both are transistors) are both voltage controlled at the physics level. But it is frequently convenient to treat BJT's as current controlled in circuit analysis because the collector current vs. base-emitter voltage has an exponential relationship, which can be inconvenient.

Back to top
James
Sun Mar 20 2011, 02:13AM
James Registered Member #3610 Joined: Thu Jan 13 2011, 03:29AM
Location: Seattle, WA
Posts: 506
Inducktion wrote ...

haxor5354 wrote ...

mine stayed cool when fan cooled.
I remember a few years back I made a variable power supply with a 2n3055 to amplify a Lm317 and it get really hot even when fan cooled.
transistor are current controlled and mosfets are voltage controlled right?
PWM would work great for simple loads such as motors and lights but in my case I want pure DC not pulsing DC

PWM is what you want, yes. You can make it pure DC just by adding a parallel cap to filter it out, no rectification needed.


Not quite. You need an inductor and a diode, then you have a buck converter. If you just put a capacitor across a PWM output, you will have enormous peak currents and both the mosfet and capacitor will see huge stresses. The only thing preventing the capacitor from charging to the full peak voltage on even the shortest pulse width is the series resistance of it, the mosfet and the wiring.

Sure you can use a mosfet as a variable resistor to drop the line voltage, it's just like using a giant variable resistor, which was done for decades. For theatrical stage lighting it was common to use vats of salt water with an electrode that could be raised and lowered to control the lights. Giant variable resistors were commonly used in theaters and such where budget didn't allow for variacs on everything up until the 1960s or so when thyristor dimmers appeared. Any sort of resistor is a hugely inefficient way to control any significant amount of power though as you're burning up all the excess voltage as heat.
Back to top
haxor5354
Mon Mar 21 2011, 10:24PM
haxor5354 Registered Member #2063 Joined: Sat Apr 04 2009, 03:16PM
Location: Toronto
Posts: 352
so i just made a buck converter with a 555PWM generator, but it seems like the filter cap is storing residual voltage when the duty cycle is turn down. what value filter cap should i use?
Back to top
Arcstarter
Mon Mar 21 2011, 11:48PM
Arcstarter Registered Member #1225 Joined: Sat Jan 12 2008, 01:24AM
Location: Beaumont, Texas, USA
Posts: 2253
haxor5354 wrote ...

so i just made a buck converter with a 555PWM generator, but it seems like the filter cap is storing residual voltage when the duty cycle is turn down. what value filter cap should i use?
The filter cap is fine, you need a load on the output if you want a good reading.
Back to top
haxor5354
Mon Mar 21 2011, 11:54PM
haxor5354 Registered Member #2063 Joined: Sat Apr 04 2009, 03:16PM
Location: Toronto
Posts: 352
so, a bleeder resisotr?
Back to top
Mattski
Tue Mar 22 2011, 12:08AM
Mattski Registered Member #1792 Joined: Fri Oct 31 2008, 08:12PM
Location: University of California
Posts: 527
A buck converter without any load will approach the power supply voltage even with extremely small duty cycles, so the capacitor would keep charging up until it is near the input voltage. Without feedback the output voltage depends on the load current, so really you want to put a resistor which will draw the same current as the load you intend to power.

A 1,000Ohm will draw a bit of current and a standard quarter watt resistor should will run reasonably cool up to 12V output, at P=V^2/R=144mW. For larger loading you want a smaller value resistor, but make sure that your resistor is rated for enough power dissipation.

Edit: James, we need to stop posting at the same time wink
Back to top
1 2 

Moderator(s): Chris Russell, Noelle, Alex, Tesladownunder, Dave Marshall, Dave Billington, Bjørn, Steve Conner, Wolfram, Kizmo, Mads Barnkob

Go to:

Powered by e107 Forum System
 
Legal Information
This site is powered by e107, which is released under the GNU GPL License. All work on this site, except where otherwise noted, is licensed under a Creative Commons Attribution-ShareAlike 2.5 License. By submitting any information to this site, you agree that anything submitted will be so licensed. Please read our Disclaimer and Policies page for information on your rights and responsibilities regarding this site.