A bench or "lab" power supply is obviously a central piece of equipment required for performing electronics projects. Relatively inexpensive units are available, but generally have limited voltage/current capabilities, and a DIY power supply not only can save $$, but is an excellent learning opportunity. The simplest power supply is just to use batteries. Using a rechargeable 12V battery, and a linear voltage regulator can be a suitable (and safe) alternative.
Instead of the rechargeable 12V battery, using a surplus "wall wart" (laptop rechargers typically give ~20V and 3-4A) is a good option and saves needing to recharge the battery etc. The majority of the projects I have constructed use "wall warts" with LM317 or similar as the voltage supply. Even though a variable voltage supply is relatively easy with linear voltage regulators, and current capacity up to 3-4A can be obtained with only minor extra circuit complexity, having higher current capacity (using transformers etc) starts to get expensive and or circuit complexity increases dramatically if using switched-mode type supplies. This is where converting a surplus ATX supply from old computer equipment comes in. These supplies are generally available for free (scrouged from old equipment), provide up to 30A or more, have short-circuit protection and generally have good voltage regulation (at least on the 5V and 3.3V lines).
The various sections below detail the conversion of a Auriga Model 9806B-300W ATX supply into a simple benchtop power supply providing ± 12V, ± 5V and 3.3V. Even though the ATX supply is capable of 30A on the 5V, 10A on the 12V and 14A on the 3.3V lines, seperate 4A fuses (which can be changed as desired) are installed to limit current and protect test circuits etc. The following information is some general detail about different types of power supply and background material concerning ATX power supply conversion.
Types of "Lab" Power Supply
A bench power supply usually refers to a power supply capable of supplying a variety of output voltages useful for bench testing electronic circuits, possibly with continuous variation of the output voltage, or just some preset voltages (1). A lab power supply normally implies an accurate bench power supply, while a balanced or tracking power supply refers to twin supplies for use when a circuit requires both positive and negative supply rails).
Power supplies are categorized in various ways, including by functional features (2). For example, a regulated power supply is one that maintains constant output voltage or current despite variations in load current or input voltage. Conversely, the output of an unregulated power supply can change significantly when its input voltage or load current changes. Adjustable power supplies allow the output voltage or current to be set by mechanical controls (e.g., knobs on the power supply front panel) or by means of a control input. An adjustable regulated power supply is one that is both adjustable and regulated. An isolated power supply has a power output that is electrically independent of its power input; this is in contrast to other power supplies that share a common connection between power input and output. Power supplies can be broadly divided into linear and switching types. Linear power converters process the input power directly, with all active power conversion components operating in their linear operating regions. In switching power converters, the input power is converted to AC or to DC pulses before processing, by components that operate predominantly in non-linear modes (e.g., transistors that spend most of their time in cutoff or saturation). Power is "lost" (converted to heat) when components operate in their linear regions and, consequently, switching converters are usually more efficient than linear converters because their components spend less time in linear operating regions.
ATX Power Supply Conversion
The are numerable web-sites that detail how to perform a conversion of an ATX supply into a lab bench power supply (see References Section below). Some of the more noteworthy/and or detailed accounts are:
1: http://www.mbeckler.org/powersupply/
2: http://www.wikihow.com/Convert-a-Computer-ATX-Power-Supply-to-a-Lab-Power-Supply
3: http://majsterkowo.pl/a-lab-bench-psu-from-an-old-atx-power-supply/
ATX supplies are produced according to a specification (7) that includes not only Power Supply Unit, but also the interface to the case and motherboard. In addition to the old AT standard (v1.x with a 20 pin connector) ATX 2.0 has one extra voltage line available (+3.3V), a connector chain-lined to the single 20-pin and a power-on wire that allows Software to turn off the PSU. The ATX specification requires the power supply to produce three main outputs, +3.3 V (±0.165 V), +5 V (±0.25 V) and +12 V (±0.60 V). Low-power −12 V (±1.2 V) and 5 VSB (standby) (±0.25 V) supplies are also required. A −5 V output was originally required because it was supplied on the ISA bus, but it became obsolete with the removal of the ISA bus in modern PCs and has been removed in later versions of the ATX standard. Originally the motherboard was powered by one 20-pin connector. Current version of ATX12V 2.x power supply provides two connectors for the motherboard: a 4-pin auxiliary connector providing additional power to the CPU, and a main 24-pin ATX 2 power supply connector, an extension of the original 20-pin version.
ATX Connector Pinout
Pin |
Name |
|
Color |
Description |
1 |
3.3V |
|
Orange |
+3.3 VDC |
2 |
3.3V |
|
Orange |
+3.3 VDC |
3 |
COM |
|
Black |
Ground |
4 |
5V |
|
Red |
+5 VDC |
5 |
COM |
|
Black |
Ground |
6 |
5V |
|
Red |
+5 VDC |
7 |
COM |
|
Black |
Ground |
8 |
PWR_OK |
|
Gray |
Power Ok is a status signal generated by the power supply to notify the computer that the DC operating voltages are within the ranges required for proper computer operation (+5 VDC when power is Ok) |
9 |
5VSB |
|
Purple |
+5 VDC Standby Voltage (max 10mA) 500mA or more typical
|
10 |
12V |
|
Yellow |
+12 VDC (may sometimes have a colored stripe to indicate which rail it's on) |
11 |
3.3V |
|
Orange |
+3.3 VDC |
12 |
-12V |
|
Blue |
-12 VDC |
13 |
COM |
|
Black |
Ground |
14 |
/PS_ON |
|
Green |
Power Supply On (active low). Short this pin to GND to switch power supply ON, disconnect from GND to switch OFF. |
15 |
COM |
|
Black |
Ground |
16 |
COM |
|
Black |
Ground |
17 |
COM |
|
Black |
Ground |
18 |
-5V |
|
White |
-5 VDC (2002 v1.2 made optional, 2004 v2.01 removed from specification) |
19 |
5V |
|
Red |
+5 VDC |
20 |
5V |
|
Red |
+5 VDC |
The colour coding can vary, with many power supply units having pin-12 as Brown (not Blue), pin-18 may be Blue (not White), and pin-8 may be White (not Gray). However, you need to double check as any individual ATX supply can violate the colour coding of wires. Pin 9 (standby) supply 5V even when PSU is turned off. Pin 14 goes from 0 to 3.7 when PSU switch is turned on. Shorting pin 14 (/PS_ON) to GND (COM) causes power supply to switch ON and PWR_OK to change to +5V.
ATX Conversion Steps
The ATX supply cannot be just plugged into the mains supply to produce the various output voltages. This is because these PC power supply units have two safety mechanisms that prevent the ATX supply operating without the PC motherboard being attached (8). Firstly, the ATX supply requires a “Power-ON” zero voltage signal to start up similar to the “ON-OFF” switch on the front of a PC. Secondly, for the ATX supply to correctly regulate the +5V output voltage it needs to have some sort of load attached, at least 5W to trick the ATX supply into thinking its attached to the motherboard.
The first "safety mechanism" is overcome by connecting together pin 14 – Green (Power-ON) to one of the common black wires (ground) which is how the PC motherboard tells the power supply to turn “ON”. Secondly, to provide a small load on the +5V (red wires) output to trick the ATX supply into thinking its attached to the motherboard and to keep the power supply in the “ON” mode. To do this connect a large resistor of 10 Ohms or less, with a standard power rating of 5W to 10W across the +5V output using just one set of the red and black wires.
Optionally, use pin 8 – Grey (Pwr_Ok) as a visual indication that the ATX supply has started up correctly and is ready to operate. The Pwr_Ok signal goes high (+5V) when the power supply has settled down after its initial startup, and all the voltages are within their proper tolerance ranges. A red LED in series with a 220 Ohm current limiting resistor or similar.
Only Logged-In Members can add comments