How to make a power supply or charger from an ATX computer power supply

How to turn on the power supply from a computer without a computer

So, we have in our hands an ATX computer power supply. First of all, let's try to turn it on. But to do this you need to know some of the intricacies of how this device works. Suppose we have a computer in front of us. We plug it into the network, but outwardly nothing happens. This would seem to be clear - the machine is turned off, and to turn it on, you need to press the power button on the front panel of the system unit.

Actually this is not true. As soon as we inserted the plug into the socket, a small part of the circuit in the power supply started working, producing a standby voltage of +5 V. This part is called the standby power module. Voltage is supplied to the motherboard and powers its individual components, one of which is designed to turn on the computer.

Important. Most ATX power supplies have an additional service mechanical switch located on the back of the PC. The mains voltage is supplied to the power supply of these models after turning on this toggle switch.


A mechanical switch is used to supply voltage to this power supply.
By pressing the button on the front panel of the system unit, we thereby send a command to the motherboard (more precisely, its switching unit) to start the power supply. The node sends a Power on signal to the power supply unit, and the power supply unit, and therefore the computer itself, turns on.

Since we don’t have a computer, we will have to send this signal ourselves. This is not difficult to do. To do this, just find the connector on the power supply that powers the motherboard and install a jumper between the green and any of the black wires. So, we install a jumper, connect the power supply to the network, and it starts up immediately - you can hear it even from the noise of the fan.

Advantages and disadvantages

The pulse converter has the following advantages:

  1. A high stabilization coefficient makes it possible to provide power conditions that will not harm sensitive electronics.
  2. The designs under consideration have a high efficiency index. Modern versions have this figure at 98%. This is due to the fact that losses are reduced to a minimum, as evidenced by the low heating of the block.
  3. A large input voltage range is one of the qualities due to which such a design has become widespread. At the same time, the efficiency does not depend on the input current indicators. It is the immunity to the voltage indicator that allows you to extend the service life of electronics, since jumps in the voltage indicator are a common occurrence in the domestic power supply network.
  4. The frequency of the incoming current affects the operation of only the input design elements.
  5. Small dimensions and weight also determine its popularity due to the proliferation of portable and portable equipment. After all, when using a linear block, the weight and dimensions increase several times.
  6. Organization of remote control.
  7. Lower cost.

There are also disadvantages:

  1. Presence of impulse noise.
  2. The need to include power factor compensators in the circuit.
  3. Difficulty in self-regulation.
  4. Less reliability due to the complexity of the circuit.
  5. Severe consequences when one or more circuit elements fail.

Where is 12 volts and where is 5? Understanding color coding

How can you find out which wires produce which voltages? Where, for example, is 12 volts on the computer power supply? You don't need a tester for this, since all the wires coming out of the computer power supply have a strictly defined, generally accepted color. Therefore, instead of a tester, we arm ourselves with the sign below.

Colors and assignment of ATX power supply wires

Color Purpose Note
blackGNDwire common minus
red+5 Vmain power bus
yellow+12 Vmain power bus
blue-12 Vmain power bus (may be missing)
orange+3.3 Vmain power bus
white-5 Vmain power bus
violet+5 VSBstandby food
greyPower goodnutrition is normal
greenPower oncommand to start power supply

The plate does not require any special explanation. We got acquainted with the green wire (Power on) in the previous section - the motherboard sends a low-level signal to it (short to common) to turn on the power supply. The blue wire may be missing in new power supply models, since motherboard manufacturers have abandoned the RS-232C interface (COM port), which requires -12 V.

The purple wire (+5 VSB) is just the standby +5 V that powers the standby nodes of the motherboard. Via the gray wire (Power good), the power supply reports that all voltages are normal and the computer can be turned on. If any of the voltages during operation goes beyond the permissible limits or disappears, the signal is removed. Moreover, this happens before the storage capacitors of the power supply have time to discharge, giving the processor time to take emergency measures to stop the system in an emergency. The remaining wires are power wires for the motherboard and peripheral devices - disk drives, external video cards, etc.

Between 1 PWM leg and the plus output, solder a resistor

This resistor will limit the voltage output from the power supply. This resistor and R60 form a voltage divider that will divide the output voltage and supply it to 1 leg.

The op-amp (PWM) inputs on the 1st and 2nd legs are used for the output voltage task.

The task of the output voltage of the power supply unit comes to the 2nd leg, since a maximum of 5 volts (vref) can arrive at the second leg, then the reverse voltage should also arrive at the 1st leg no more than 5 volts. For this, we need a voltage divider made of 2 resistors, R60 and the one that we will install from the power supply output to 1 leg.

How it works: let’s say a variable resistor is set to 2.5 Volts on the second leg of the PWM, then the PWM will produce such pulses (increase the output voltage from the power supply output) until 1 leg of the op-amp reaches 2.5 (volts). Let’s say if this resistor is missing, the power supply will reach the maximum voltage, because there is no feedback from the power supply output. The resistor value is 18.5 kOhm.

Converting an ATX power supply into a regulated or laboratory power supply

Now is the time to make a switching laboratory power supply from a computer power supply with your own hands. We will be modifying the power supply, the PWM controller of which is assembled on a specialized TL494 microcircuit (aka: μA494, μPC494, M5T494P, KIA494, UTC51494, AZ494AP, KA7500, IR3M02, AZ7500BP, KR1114EU4, MV3759 and similar analogues).

Expert opinion

Alexey Bartosh

Specialist in repair and maintenance of electrical equipment and industrial electronics.

Ask a Question

Let's make a reservation right away - although the typical connection circuits for these microcircuits are the same, there are still some differences depending on the power supply model. Therefore, there is no universal solution for remaking all power supplies.

For example, we will modify the power supply, the diagram of which is shown below. Having understood the idea of ​​​​the changes being made, choosing an algorithm for remaking any other block will not be difficult.

We disassemble the power supply and remove the board. Immediately unsolder all unnecessary wires of the power cables, leaving one yellow, one black and green.

We also solder smoothing electrolytic capacitors along all power lines. In the diagram they are designated as C30, C27, C29, C28, C35. We are going to significantly (up to 25 V on the +12 V bus) increase the output voltage, for which these capacitors are not designed. In place of the one that stood on the +12 V bus, we install a capacitor of the same or larger capacity for a voltage of at least 35 V. We leave the remaining places empty. We solder the green wire in place where any black wire was to allow the power supply to start. Now you can start modifying the controller.

Let's take a look at the pin assignments of the TL494 chip. We are interested in two nodes - error amplifier 1 and error amplifier 2. The first contains a voltage stabilizer, and the second contains a current controller. That is, we are interested in the wiring of pins 1, 2, 3, 4, 13, 14, 15, 16.

Let's change the wiring diagram so that error amplifier 1 is responsible for adjusting the output voltage, and amplifier 2 is responsible for adjusting the current. First of all, we will cut the paths indicated by crosses in the diagram below.

Now we find resistors R17 and R18. The first has a resistance of 2.15 kOhm, the second 27 kOhm. We change them to nominal values ​​of 1.2 kOhm and 47 kOhm, respectively. We add two variable resistors to the circuit, one constant at 10 kOhm (marked in green), terminals for connecting an external consumer, an ammeter and a voltmeter. As a result, we will get a diagram like this.

As can be seen from the diagram, a 22 kOhm resistor allows you to smoothly regulate the voltage within 3-24 V, a 330 Ohm resistor allows the current to vary from 0 to 8 A. Cl1 and Cl2 are used to connect the load. A voltmeter has a measurement limit of 25-30 V, an ammeter - 10 A. The devices can be either pointer or with digital scales, most importantly, small-sized - after all, they must fit into the power supply housing. You can begin checking and calibrating.

Expert opinion

Alexey Bartosh

Specialist in repair and maintenance of electrical equipment and industrial electronics.

Ask a Question

We first turn on our laboratory power supply through a 220 V incandescent lamp with a power of 60 W. This will help avoid problems if we made mistakes in installation. If the lamp does not glow or glows at full intensity, and the power supply starts up, then everything is in order. If the lamp is on at full intensity and the power supply is silent, then you will have to look for errors.

Everything is fine? We connect the power supply directly to the network, and move the resistor sliders to the lowest position according to the diagram. We connect a load to terminals KL1, KL2 - 2 high beam lamps connected in series. We rotate the voltage adjustment resistor and check with the built-in voltmeter that the voltage changes smoothly from 3 to 24 volts. To be sure, we connect a control voltmeter, for example, a tester, to the terminals. We calibrate the voltage regulator knob, guided by instrument readings.

We return the engine to the bottom position according to the diagram, turn off the power supply, and connect the lamps in parallel. Turn on the power supply, set the current regulator to the middle position, and the voltage regulator to 12 V. Rotate the current regulator knob. In this case, the ammeter readings should smoothly change from 0 to 8 A, and the lamps should smoothly change brightness. We calibrate the current regulator based on the ammeter readings.

Disconnect the device and assemble it. Our laboratory power supply is ready. With its help, we can get any voltage from 3 to 24 volts and set the current limit through the load in the range of 0-10 A.

Making a shunt

We are making a shunt from which we will relieve tension. The meaning of the shunt is that the voltage drop across it tells the PWM about how current-loaded the power supply output is. For example, we got the shunt resistance to be 0.05 (Ohm), if we measure the voltage on the shunt at the moment of passing 10 A, then the voltage on it will be:

U=I*R = 10*0.05 = 0.5 (Volts)

I won’t write about the manganin shunt, because I didn’t buy it and I don’t have one, I used two tracks on the board itself, we close the tracks on the board as in the photo to get a shunt. It’s clear that it’s better to use manganin, but it works more than fine.

How to make a charger

Now let's convert the computer power supply into a car charger.

Constant voltage charger

This device charges the battery with a constant fixed voltage of 14 V. As the battery charges, the charging current will drop. As soon as the voltage at the battery terminals reaches 14 V, the current will become zero and charging will stop.

Thanks to this algorithm, the battery cannot be recharged, even if it is left on charge for a week. This is useful when servicing AGM and GEL car batteries that do not like to be recharged.

And now let’s get down to business, especially since the modification scheme is simple. We will modify the ATX power supply on the TL494 controller or its analogues (see the section above). Our task is to increase the output voltage on the +12 V bus to 14 volts. This is not difficult to do. We open the power supply, take out the board and unsolder all the power wires, leaving only yellow, black and green.

We solder the green wire in place of any black one - we issue a command to the power supply unit to unconditionally turn on when connected to the network (see the section above). We unsolder electrolytic smoothing capacitors from all power lines. In the place where the capacitor stood on the +12 V bus, we install a capacitor of the same capacity, but with an operating voltage of 35 V. We proceed to finalizing the controller. We find a resistor that connects the first pin of the microcircuit to the +12 V bus. In the diagram below it is indicated by an arrow.

We need to change its denomination. But which one? We solder it and measure its resistance. In our case, its nominal value is 27 kOhm, but depending on the power supply model, the value may vary. In place of the soldered one, install a variable resistor with a nominal value approximately twice as large. We set the resistor slider to the middle position.

We turn on the power supply and, measuring the voltage on the +12 V bus (yellow wire relative to black), rotate the slider. The voltage is easily reduced, but it cannot be increased - the overvoltage protection interferes. In order to raise the voltage to the 14 V we need, it needs to be turned off. We find a resistor and a diode in the diagram, indicated by arrows in the figure below, and unsolder them.

We turn on the power supply again, set the voltage between the black and yellow wires to 14 V. Turn it off, unsolder the resistor without touching its slider, and measure the resistance. In place of the variable we install a constant of the same denomination. We install two terminals on the case, solder the black and yellow wires to them, mark where the plus and minus are (yellow is plus, black is minus).

We turn on the power supply again, now a device converted into a battery charger. We connect the load to the terminals - the high beam lamp of the car. We measure the voltage at the terminals: if it has not decreased by more than 0.2 V, then the modification is complete. We assemble the device and use it.

Important! The final charging voltage for AGM and GEL batteries is 13.8 V, so it makes sense to reduce the output voltage from 14 V to 13.8 V.

Perhaps the only drawback of this homemade design is that it does not have protection against short circuits and reverse polarity (we turned it off). Therefore, you need to use the device carefully.

PSU assembly instructions

The network wires of the converted module are soldered to the power supply located on the PC unit case. Reinstall the fan and tighten the board.

Holes are cut out on one of the side faces of the lid:

  • at the top - for a voltmeter and ammeter;
  • just below - for variable resistors and a switch.

If it is difficult to process iron, it is better to remove one of the sidewalls, cut it out of plastic and secure it using any method. Moreover, many devices are prohibited from being installed on a metal surface.

Rating
( 1 rating, average 4 out of 5 )
Did you like the article? Share with friends:
For any suggestions regarding the site: [email protected]
Для любых предложений по сайту: [email protected]