Welcome
Username or Email:

Password:


Missing Code




[ ]
[ ]
Online
  • Guests: 100
  • Members: 0
  • Newest Member: omjtest
  • Most ever online: 396
    Guests: 396, Members: 0 on 12 Jan : 12:51
Members Birthdays:
One birthday today, congrats!
RateReducer (35)


Next birthdays
11/02 Download (31)
11/02 ScottH (37)
11/03 Electroguy (94)
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 »   

PSU hack troubles

Move Thread LAN_403
Mads Barnkob
Sun Jan 04 2009, 05:09PM Print
Mads Barnkob Registered Member #1403 Joined: Tue Mar 18 2008, 06:05PM
Location: Denmark, Odense C
Posts: 1968
I have tried to hack a 300W ATX psu following uzzors guide ( Link2 ), and I feel like I'm stranded at a strange problem.

I have connected a 3.3ohm resistor on 5V and a 15ohm resistor on 12V to run it with a load.

I have located the voltage reference resistors for ground, 5V and 12V and put a potentiometer in series with them.

I have disabled the over voltage transistor by keeping pin 4 on the KA7500B grounded.


When I turn the potentiometer the PT starts being more noisy, screaming and the heatsinks gets warmer faster, but im still left with +5V and +12V on the rails. So I'm no longer sure what is missing or if I did something wrong. :/
Back to top
uzzors2k
Sun Jan 04 2009, 05:34PM
uzzors2k Registered Member #95 Joined: Thu Feb 09 2006, 04:57PM
Location: Norway
Posts: 1308
Sounds strange. Check pin 13 too, it should remain at V+ the entire time. It's for output control and if low will turn off the outputs. Other than that I'm stumped. Have you checked the rectifier and capacitor ratings? It seems as though the power is increasing, but being diverted somewhere else...
Back to top
Mads Barnkob
Sun Jan 04 2009, 06:40PM
Mads Barnkob Registered Member #1403 Joined: Tue Mar 18 2008, 06:05PM
Location: Denmark, Odense C
Posts: 1968
I got +5V at pin 1,2 and 13, there is no change in pin 1 voltage when adjusting the potentiometer, so maybe there isnt a feedback or its still not loaded enough?

Its a PSU visible identical to the one you used in the article, so ratings are properly the same, but as I cant even get it above 12V I figured something else must be wrong.
Back to top
uzzors2k
Sun Jan 04 2009, 06:54PM
uzzors2k Registered Member #95 Joined: Thu Feb 09 2006, 04:57PM
Location: Norway
Posts: 1308
The voltage should change regardless of the load, and I think you've loaded it enough to kee pit stable. What bothers me is that the pin 1 voltage remains constant although the voltage divider ratio changes. Pin 16 is also a non-inverting input, maybe it was used instead?
Back to top
Mads Barnkob
Mon Jan 05 2009, 12:06PM
Mads Barnkob Registered Member #1403 Joined: Tue Mar 18 2008, 06:05PM
Location: Denmark, Odense C
Posts: 1968
Its status quo trying the mod on pin 16's resistors, I'm on the edge of building a SMPS from the ground instead, as its almost as simple as modding an existing :)
Back to top
Dr. Dark Current
Mon Jan 05 2009, 01:53PM
Dr. Dark Current Registered Member #152 Joined: Sun Feb 12 2006, 03:36PM
Location: Czech Rep.
Posts: 3384
Just to add, many of the cheap PC PSU's will explode even before reaching their maximum current ratings.

E.g. a cheap "300W" PSU with the 12V rail rated at 10 amps might actually supply only 6A before reaching a meltdown state, so on the 12V rail you will get only 70W out of a "300W" PSU...


Back to top
GeordieBoy
Mon Jan 05 2009, 02:32PM
GeordieBoy Registered Member #1232 Joined: Wed Jan 16 2008, 10:53PM
Location: Doon tha Toon!
Posts: 881
You don't want to be messing with the feedback resistors, as this alters the loop gain of the power supply. Doing this is likely to make the control loop unstable - Symptoms of instability are a squealing noise, excessive heating, wild oscillations in output voltage and bits exploding.

The loop gain of the power supply is something that the original designer took great efforts to control over a wide frequency range using a whole load of complicated maths and theory. It's a difficult excercise to get this right at the design stage so you don't want to mess with it unless you have a very good understanding of control theory.

In order to change the output voltage you want to alter the set-point (or the reference voltage) that is fed to the voltage error-amplifier (Vea), NOT the loop gain. In other words, leave the feedback resistors that are connected to the EA's inverting input alone. The resistors that you want to be changing are the ones that present the reference voltage to the non-inverting input of the Error Amplifier. By changing the reference voltage to the EA, the EA will servo the feedback voltage to equal the new reference, and the output will change accordingly. There _should_ be no instability problems because the loop gain hasn't been messed with.

DISCLAIMER: Attempting to alter the output voltage of a SMPSU from its original design voltage can fail for a whole load of reasons, such as:

1. Saturation of the transformer
2. Exceeding PIV of rectifiers
3. Exceeding reflected voltage in flyback converter
4. Exceeding smoothing capacitor rated voltage
5. Exceeding rated output current or power rating
6. Change of control loop dynamics with duty ratio for some converters
7. Insufficient or excessive bias voltage for the controller (auxilliary winding that supplies the PWM controller can now be under- or over-voltage.)
8. Maximum or minimum duty ratio reached
9. Excessive snubber dissipation

As for whether it is easier to mod an existing design or start from scratch, It depends on your skill level. It's probably easier to mod an existing design if the voltage change is only +/- 25%. For anything greater you'd probably have to do a lot of calculations and change so much that you might as well start with a blank piece of paper. If you've got the right skills you can evaluate both routes to get to the new spec that you want.

It is possible to do things like double the output voltage of a SMPSU (and half the rated output current) by only changing about 5 or 6 components. And if it is done right the control side is tricked into thinking nothing has changed. Such drastic changes from the original spec require a lot of thought and planning to be successful.

-Richie.

EDIT: looking at the schematic here: Link2

I'd change resistors R19 & R24 to alter the output voltage by altering the reference voltage into pin 2 of the Voltage EA. You want to change the ratio of R19 to R24 as these act as a potential divider. However you want to keep the parallel combination of R19 & R24 to be roughly the same as it was before, as this acts with R18 and C1 to form part of the control loop's critical compensation circuitry. Leave R20, R21, R25 & R26 alone as changing these will directly alter the loop gain.
Back to top
Mads Barnkob
Mon Jan 05 2009, 03:26PM
Mads Barnkob Registered Member #1403 Joined: Tue Mar 18 2008, 06:05PM
Location: Denmark, Odense C
Posts: 1968
I tried with 47k potmeters in series with R19 and R24 equilants in my PSU and restored the feedback.

Exactly same results as before, no matter the values / ratio there is no change in output voltage.

My skill level is low regarding SMPS and SSTC designs so I thought this would be an ok start to reverse engineer something that works and try to alter it abit to gain knowledge of its ways.

But I must admit its not as easy as I thought :)

Back to top
uzzors2k
Tue Jan 06 2009, 04:07PM
uzzors2k Registered Member #95 Joined: Thu Feb 09 2006, 04:57PM
Location: Norway
Posts: 1308
It should be working, there must be something else in place limiting the voltage. Have you tried decreasing the output voltage, maybe there's still some protection circuits in place.

For future reference Richie sent me this explanation of stability problems which can/will occur when modding, and how they can be reduced.

When you modify the feedback resistors in a SMPSU you are altering the set-point (i.e. the voltage that the control loop aims to keep the output regulated at) and also the loop gain (basically how drastically the control loop reacts to changes in the output voltage.)

You should really change the reference voltage being fed into the Voltage Error-amplifier (and leave the feedback resistors alone.) This results in only the set-point changing, and no change to the loop gain. Therefore the regulation and stability of the PSU are not affected.

I'm guessing that the SMPSU that you modded was to increase the output voltage only? It is possible to get reasonably acceptable results by decreasing the amount of feedback in an attempt to raise the output voltage from the supply. Decreasing the amount of feedback tricks the supply into thinking the output voltage is lower than it really is, and it increases the duty-ratio to compensate. The reason you can get away with this is that decreasing the feedback also decreases the loop gain. This acts to make the control loop more sluggish and more stable. So in summary, you can increase the output voltage slightly by decreasing the amount of voltage feedback to the error-amplifier, without much risk of instability.

Trying to decrease the output voltage by increasing feedback is where the problems start. Increasing the feedback does initially trick the PSU into thinking the output is over-voltage and decreases its duty-ratio accordingly. However it also increases the loop gain and eventually the PSU will over-compensate for any disturbances at the output. The result is that it will usually break into oscillation before the output has reached half of the previous output voltage. This is because the control loop is normally designed with this 2:1 safety margin built in to allow for all of the component tolerances in the supply itself and the feedback path.

If you didn't encounter any stability problems in modding your SMPSU, then i'm guessing you only tried to raise the output voltage, and didn't try to make it variable down to zero? The later is where you really do need to alter the reference to get any success.

Back to top

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.