Two Problem-Solving Circuits: Preregulator and Battery Backup

Author(s): Fred Nachbaur
Publication: Syntax
Pub Details: Syntax/Syntax ZX80 v3 n8 (Volume 3, Issue 8)
Date: August 1982
Pages: 4-5

Ed Buttenhoff‘s pre-regulator circuit uses an LM340-8 regulator (May82). While it works fine, that regulator is not as commonly available as LM340-5. Fig. 1 following is a circuit that performs the same function as Ed’s Fig. 1 and uses a garden-variety LM340-5 or 78L05 and two resistors to provide the 8-volt pre-regulation. You may replace the 100 Ohm resistor with a 100 Ohm trimpot in series with a 22 Ohm resistor to make the output adjustable; we recommend that you set the regulator output at 7.5 volts, which is plenty for operation while allowing the lowest possible line voltage (about 110 volts).

Figure 1--8V Preregulator. Resistors are 1/4 W, 5% film
Figure 1–8V Preregulator. Resistors are 1/4 W, 5% film

Fig. 2 shows a circuit to provide battery backup for about one hour. Seven Nickel-Cadmium AA cells in series form the battery. It is recharged directly from the Sinclair power supply through R1 as long as power is present. Diodes D1 and D2 form a clamp which shuts the battery off when input voltage from the power supply is present but instantly connects the battery during a power interruption.

An optional SPST switch allows you to reset the computer without pulling the plug. We also suggest additional filter capacitor (C1)–1000 uF or more. Also optional are transistor Q1, resistors R2 and R3, and LED1 which indicate that AC power is present when the LED is on. (This scheme is used instead of an LED and resistor across the input line as the battery would discharge through R1 and the LED with AC off and there is not enough output voltage from the Sinclair power supply to allow another diode drop and still charge the battery adequately.) Q1 is a PNP silicon transistor–2N4443, 2N3906, or similar. R2 and R3 are 1/4 W, R1 is 1/2 W. There is even enough room to install the entire circuit inside the ZX81 case if you’re adventurous. This circuit is the same as that used in the SYNCWARE BBU-1 battery backup unit.

Note that the circuit in Fig. 2 cannot successfully be followed by the preregulator of Fig. 1 because the output voltage (taking diode drop into account) is in the vicinity of 8 volts–just enough to operate the ZX81 directly.

Our BBU-2 battery system uses 10 NiCd cells of higher capacity for longer running time, followed by a preregulator for cool running and improved glitch-rejection. This scheme requires a new power supply of about 16 volts; Sinclair’s doesn’t put out enough voltage to recharge the 12-volt battery. Not only does this type of system allow portable operation and protect against power-down, it also makes the ZX81 practically immune to line glitches and noise.


At SYNTAX we built the battery backup unit to test. Operation is just as described. Our unit fits in a small box (Radio Shack 270-233) which holds two, 4-cell plastic battery holders (RS 270-391). We rewired one holder to use only 3 cells. You can use RS 23-125 cells for the NiCd battery, but they only provide 450 mAh and cost more than $2 per cell.

If you’d rather not build your own, you can buy these battery packs from Syncware Co., 4825 Elrovia Ave., El Monte, CA 91732 for $39.50-$84.50. The schematic shown is their commercial unit. Patrick Spera called the BBU-2 “professional in appearance, performance and craftsmanship” in the Sinclair Computers User’s Group of OK newsletter.–KO

Figure 2. Battery backup circuit
Figure 2. Battery backup circuit

WARNING: Do not leave battery pack plugged into wall unless computer is connected. Batteries will overheat.