Chapter 2: Power supply unit


If you have a complete pinouts of power supply and video output, just verify them with your hardware and find some compatible power supply unit (or build a converter). If you don't have pinouts, you have to analyse power connector and components. Start from the chips you know. Z80 CPU and 74xx logic chips have +5V and GND pins. Triple-voltage RAM chips allow to trace -5V and +12V. Some op-amps in tape circuits take -5V too, but don't be too sure of it. Trace these voltage lines using PCB tracks and ohmmeter in "beeper" mode to power connector (you will get pinout) or power regulator/converter block. then analyse the block itself, see the voltages on capacitors and try to figure the input voltages out.

The diagram above shows a typical power supply unit (abbreviated PSU) for 8-bit computer (this one is suitable for Commodore 64). In most cases it is transformer-based one, not switching one. Power from mains passes through (not shown) power switch, input filters and fuses (if present, sometimes a DC switch is in computer). Then voltage is decreased in transformer, the first block in our picture. AC coming from transformer is rectified in diode bridge (usually Gretz or half-Gretz type) to unregulated DC. After passing first capacitor (of a large capacity like 2200 or 4700uF, sometimes few capacitors connected in parallel), pulsing becomes smoother and its voltage increases to about 1.41*AC voltage. This voltage can be then stabilized in 7805 regulator which ensures that no matter how much we draw (up to 1A) we will get 5V from the power supply unit. The last capacitor stores energy for sudden increases in consumption. It can be seen that 9V unregulated AC is taken from the another winding of transformer and is used in computer.
Usually external power supply units contain transformer, maybe rectifier and regulator. Some computers like Dragon 32 or TI99 have external transformer only (sometimes with very specific secondary coils), other (like Sanco TPC-8300) may work on unregulated DC, while other (like Atari 65XE or Meritum) have complete regulators inside external PSU.
Regulators may be linear (simpler, but not so efficient) or switching. Switching power supply units don't have a big and heavy transformer. Some computers like Robotron KC85 or Elwro 800 Junior have hybrid power supply units: transformers stepping down voltage to few tens of volts, then it is converted to lower voltages in switching regulator. Some other computers use switching power blocks working with 230V (e.g. some Acorn BBC models).

In the picture above we can see a very simplified diagram of a  switching-mode power supply unit. The main goal of a switching power supply unit is to reduce the size and weight of a transformer. Also switching power supply units have better efficiency, but they are more complicated. In most of them, mains power (in this document sometimes referred to 230V, as 230V is in Europe), is directly rectified to DC using a diode bridge and capacitors, giving about 400V DC. This voltage is quickly turned on and off, usually in few kHz frequency, using electronic switches based on conventional transistors or MOSFETs. Transformers made for higher frequencies are smaller and more efficient, so the voltage is decreased and current increases. Now it is only needed to rectify the resulting few-kHz power coming from secondary side of transformer and we have few amps of power in specified voltage using small power supply unit. To rectify such large frequencies a special Schottky diodes are used, and to prevent impulses electrolytic capacitors are installed in the output stage.
But how about voltage regulation when the receiver draws different current? It is made by increasing or decreasing pulse width (t/T ration in the picture) coming to transformer. This mechanism needs input, it comes from voltage comparator (comparing output voltage with some low-current reference voltage) or by analysing magnetic field in transformer's core. These units sometimes are driven by proprietary chips and to turn the high voltage on and off they use large transistors. They are more complicated in repair if something different than capacitors failed.

The most complex case is with very old and complex machines like Robotron A5120, in which small, stand-by power supply unit allows to start high-power blocks giving 5 and 12V, and negative voltages are generated from them using smaller switching power supply units. In technical documentation, the principle of operation of such power supply unit takes few tens of pages.
If you service a switching power supply, remember that input capacitors may be under high voltage even when power supply is turned off. About 400V DC in 230V mains. This is dangerous voltage, so use insulated tools to discharge the capacitors.
So if you don't have a power supply unit and there is no information about proper voltage and current, evaluate which parts shown in the picture above are built in computer.
If your computer has typical AC plug, verify that it is not shorted to metal casing. You may also have a typical testing problem: If power supply is broken (e.g. transformer primary winding short, shorted filtering capacitor) you may blow fuses in your room. This problem may be diagnosed using apparatus shown below.

It can be made using leftovers from house renovation and any low-power incandescent light bulb (do not use compact discharge lamps or LED bulbs). The usage is following: The power supply under test is connected to socket, the apparatus is turned off and light bulb bypass is turned off. Now the main switch is turned on. Light bulb may flash at this moment. A bright flash of a lightbulb at the beginning of a test is normal, it's caused by input capacitors charging.
Now, if a light bulb constantly lights full bright, it means that there is a short in tested power supppy unit. If it is glowing dimly, it means that everything seems to be OK. You can turn the apparatus off, bypass light bulb with bypass switch and turn it on again to power the computer up.
If it is totally off, power supply may not work at all (have you checked its fuse?) or consume very small amount of power.
This device is really useful when dealing with unknown or uncertain electrical devices.


Remember to check all fuses in power supply unit. Fuse sockets too.
So if you have power supply unit, you should test it before connecting to computer. If something with regulation goes wrong and there is 15V instead of 5V, you won't fry your system. First, inspect power supply unit. Check fuses, if they are patched with wire or its sockets are oxidized replace fuse or clear the socket. Fuses are usually on primary side of transformer, but sometimes the unit has fuses on both sides of transformer. In critical applications (e.g. medical electronics), there are even fuses on power supply outputs, but these low-voltage ones are usually solid-state. Replace with fuse of the same type (F - Fast or T - Delayed) and rating as specified near fuse or in old one. As always look at capacitors, both electrolytic and filtering ones. Now test voltages using voltmeter. If the unit doesn't produce proper voltages and power supply is switching one, try to run it with some kind of energy receiver, some units must be connected to receiver in order to work. I prefer using different types of light bulbs, small ones from flashlights (roughly 4 1.5V bulbs in series for 5V) or 12V old CPU fans.
When replacing bad electrolytic capacitors, in most cases you can use capacitor for higher voltage (don't go too high, if you replace a 10V capacitor you can use 16 or 25V, avoid using 100V), only make sure that it will fit. Capacity should be the same. Increasing capacity should be done only if you know what you are doing.
Another thing happens when mains filtering capacitors get old. When power flows through them, they heat up inside, when temperature is too big, they emit gas or liquid, this substance boils and may make smoke. Usually it won't burn with fire, but can smoke with sweet-like odour. This damage happens usually after 15-30 minutes of constant operation when first turned on, after the capacitor heats up, sometimes with acoustic effects like hiss or cracking sounds. When replacing this capacitor remember that you have to use the same one, with the same capacity, voltage and insulation class (usually called X2). Its size should correspond to holes in PCB. Sometimes double capacitor may blow up, then you can substitute it with two or more normal capacitors. Eventually you may continue without one, but the power supply may give unstable voltages. If you remove this capacitor from 12" monochrome CRT, you will only get almost unnoticeable distortions every few hours. If you do it with a computer's power supply, you may get instabilities because input voltages may be unstable.


Mains filtering capacitors may blow after few minutes of usage. Replace them with capacitors with the same parameters.


Another exploded capacitor, the second one (behind the coil) needs replacing too.
If you need to add own power supply unit, use unit with the same voltage. Current may be higher, but voltage is critical. If the unit consists of transformer only or is unregulated, use the voltage written on PSU casing, because in unregulated power supply units voltage printed on them is usually the voltage under some load bigger than just a voltmeter (that's why ZX Spectrum transformer measured without load gives 13V DC instead of 9V as it is written on it). Few power supply units may be connected sharing common ground, but avoid such connecting with switching units as they may have ground on strange voltages contrary to another switching PSU. You can connect transformers in series to get higher voltage (primary windings still go parallel) but the power given by this solution will be quite low.
Connecting the same transformers (or two same secondary coils of a single transformer) in parallel increases maximum current.
It is important when connecting transformers to maintain the direction of windings. If you connect ends of these coils the way that one is wound in the opposite direction to the other, you will blow fuses and the transformer may overheat. Why? AC is a sinewave. Windings connected the opposite way makes one winding having maximum power while the other has minimum. They short each other which ends with overloading primary coil (fuses blown) or overheating the transformer. Check this event using tester with a light bulb. If bulb lights, connect one of the windings opposite way.

If you have verified a computer, you have a complete CPU and you know how to power it, try to connect power. Use a complete pinout of power supply, as sometimes there are "Power good" signals which need to be supplied (e.g. shorted to ground or 5V) to make the system start.
If the system has internal regulator and is using triple-voltage DRAM chips like 4116, quickly check presence of 5V and -5V. If -5V is absent, turn off the power immidiately. Few seconds without negative voltage and DRAMs will be damaged.
If -5V is present, check are other voltages correct.

 

Chapter 1: Computer inspection
Table of contents

Chapter 3: Fans and cooling


Home
Back to home pagehacks
Back to hacks

MCbx 2016