Troubleshooting Disk-Drive Power Supplies

Author(s): Ralph Tenny
Publication: LISTing Newsletter
Date: March 1997
Pages: 6-9

Cranky floppy-disk-drive write’s and read’s are sometimes caused by marginal power supplies

What do you do when a stand-alone floppy-disk drive hasn’t given up the ghost but occasionally drops a file or wipes out a directory. If, after cleaning heads and verifying with a test disk that alignment, et al, are fine, you might consider that this intermittent problem can be caused by a marginal power-supply design inside the drive’s case.

The above scenario can occur even with add-in drives powered from the computer’s power supply if the latter is marginally designed, though this is less likely to occur here. In this article, we’ll discuss what to look for and, more importantly, how to go about solving the problem. If a poorly designed power supply is what’s causing you grief, you’ll be able to fix it yourself. If not, at least you’ll know where not to look for a gremlin.

Fig. 1. Schematic diagram of an ideal +5/+12-volt power supply for a stand-alone floppy-disk drive unit. In this circuit, the two supply rails are derived from virtually independent supplies.
Fig. 1. Schematic diagram of an ideal +5/+12-volt power supply for a stand-alone floppy-disk drive unit. In this circuit, the two supply rails are derived from virtually independent supplies.

Disk Power Supplies

Mini-floppy 5.25-inch and micro-floppy 3.5-inch drives are powered from two different-voltage power-supply rails. A +5-volt rail runs the electronics, while a +12-volt supply delivers driving power to the spindle assembly that revolves the disk inside its jacket or case as well as to the stepper motor that moves the read/write head.

The +5-volt supply that drives the read/write electronics must write data tracks that are both uniform in level and spacing. The motor supply must be designed to deliver a steady +12 volts so that the revolving speed of the disk is uniform and identical for both the read and the write operations. Of course, a very important factor to take into consideration with both power supplies is the demands placed upon them.

An essentially steady load is placed on the +5-volt supply. On the other hand, the +12-volt supply is subjected to a very heavy surge whenever the spindle motor starts up. Once the spindle motor has come up to speed, it settles down to a fairly steady drain on the power supply. Meanwhile, any attempt to access another track requires that the head stepper motor be switched on, placing an additional load on the power supply. The most probable cause of power-supply-related random disk errors is interaction between the +5- and +12-volt supplies.

Properly designed floppy-disk power supplies have adequate isolation between the two voltage rails. In essence, the well-designed supply is actually two separate power supplies in one package. A few add-on disk drive power supplies, however, have been designed with what, for want of a better term, we’ll call “short-cut engineering.” Their performance can range from poor isolation to inadequate current capability and varying degrees of interaction between the two supply rails.

Shown in Fig. 1 is the schematic diagram of a typical well-designed floppy-disk power supply. Note that the +5- and +12-volt rails are the result of separate transformer secondaries, rectifiers, filters and voltage regulators. The only element the both supplies share in common is the power transformer’s primary winding. Hence, the two supplies are essentially independent of each other and minimal, if any, interaction between the two will occur under any loading conditions.

The ac output from each transformer secondary in the Fig. 1 circuit is well in excess of the desired dc voltage at the outputs of the supplies. The lower voltage indicated for each winding should be considered as the minimum usable for solid, reliable performance. That is, the transformer secondary potential in the +5-volt supply shouldn’t be less than 9 volts, while the secondary potential in the +12-volt supply shouldn’t be less than 15 volts. Additionally, the current ratings of both transformer secondary windings and the rectifier diodes (or bridge assemblies, as the case may be) should be conservatively rated. That is, each should be able to safely pass at least 20 percent more current than would ordinarily be demanded under the heaviest operating load placed on the supplies.

An “extra” feature is also illustrated in the Fig. 1 circuit. The Q1/R1 network associated with voltage regulator VR2 bypasses excess motor surge current around the regulator. The main benefit of this bypass network is prevention of VR2‘s internal protection circuit from briefly current-limiting during the start-up surge placed on the supply by the motor. In turn, this allows the spindle motor to come up to speed as quickly as possible, which is typically about 0.5 second.

Fig. 2. An example of the circuit used in some shortcut power-supply designs. The only isolation—minimal at best—between the two supply rails is that provided by D1.
Fig. 2. An example of the circuit used in some shortcut power-supply designs. The only isolation—minimal at best—between the two supply rails is that provided by D1.

Figure 2 is the schematic diagram of a typical short-cut design power supply found in some stand-alone floppy-disk drive cabinets. Notice here that both supply rails are derived from a single power transformer secondary winding and rectifier system. The only components in this system that are separate for each supply are the filter capacitors and voltage regulators. With this particular arrangement some supply isolation is gained with the diode that feeds the filter capacitor for the +5-volt supply.

With a power supply built from the Fig. 2 circuit, the short-cuts used will have the following effects:

(1) The 12.6 volts ac available across the secondary winding of the power transformer is so low that voltage regulator VR1 can’t always stay in regulation unless the ac line potential is at the “normal” 117-volt or greater level. That is, the potential across C1 will become so low that VR1 goes into current-limit mode. The result is that the spindle motor will come up to speed more slowly than normal.

(2) If the current ratings of the power transformer and bridge-rectifier assembly are also too low for the load placed on the power supply, the potential on C2 may “sag” enough for VR2 to also stop regulating. When this occurs, distruption of the disk read/write circuitry will cause random errors to be generated.

(3) In the event the ac line voltage is also low, the problems mentioned above will be compounded.

Locating the Problem

The following assumes that you are troubleshooting a stand-alone floppy-disk drive unit. Unplug the drive from both the ac line and computer to which it is connected. Open the cabinet and locate the power transformer. Trace the circuitry revealed to identify the transformer leads that go to the 117-volt ac source, usually through a switch and fuse. Verify which leads go to the ac line cord with a continuity checker or ohmmeter from the power cord to the leads.

Having identified the primary leads of the power transformer, count the number of remaining leads. If there are only two leads, in addition to the two for the primary winding, the remaining power supply circuitry will likely be the same as or very similar to that shown in Fig. 2. In the unlikely event that there are three secondary leads on the transformer, the circuit design of the power supply is likely to be the same as in Fig. 3. If you find that there are four secondary transformer leads secondary leads, the schematic diagram of the power supply is most likely to resemble Fig. 1.

Fig. 3. An interior view of the power-supply section of a typical stand-alone disk-drive unit.
Fig. 3. An interior view of the power-supply section of a typical stand-alone disk-drive unit.
Fig. 4. The regulator output circuit board with test leads attached for taking voltage measurements.
Fig. 4. The regulator output circuit board with test leads attached for taking voltage measurements.

Shown in Fig. 4 is a photographic view inside a typical floppy-disk drive. In the top-center, you can see two large filter capacitors. Check to see if they are C1 and C2 in the Fig. 1 circuit. To the left of C1 are shown regulators VR1 and VR2.

Power up the drive without the linking flat ribbon cable connected to the computer. Measure the potential across C1 and C2 with a dc voltmeter (observe proper polarity). With the drive not running, expect to read at least +12 volts across C1 and perhaps as much as +20 volts across C2.

Next, locate the power cable that attaches to the drive and identify the conductors with the +5 and +12 volts on them. Figure 3 is a photo of a typical output card, this time on a dual-drive power supply. Use your voltmeter to verify that the outputs of the regulators are at the proper levels: +5 volts and +12 volts, both within ±10 percent.

The final test for power-supply problems in your disk-drive system requires access to an oscilloscope and a test program to cycle the drive. The approach used is to set up a program loop that writes to the disk, waits for the motor to turn off and then repeats this cycle endlessly until the program is interrupted by you.

When running the program, monitor the +5- and +12-volt regulated supply rails. Watch for dips in the required voltages when the spindle motor starts up. If neither supply rail’s potential dips, you probably don’t have a problem with your power supply, regardless of the design of the power supply circuit. The same is probably true if only the +12-volt rail’s potential dips. The exception is if the dip slows the motor enough that the software starts reading or writing before the motor is up to speed.

With your disk drive reconnected to the computer and the line cord plugged into an ac outlet, turn on both the computer and drive. Place a formatted disk in the drive, preferably one without any data on it you wish to save. Then key in the following BASIC program, which can easily be translated to any version BASIC interpreter:

After typing RUN followed by a RETURN (or ENTER if this is the designation on your keyboard), if the disk in the drive doesn’t stop revolving as the program executes, increase the delay in line 50. If the drive is idle for a relatively long time during each cycle, decrease the count in line 50. The optimum is for the motor to just coast to a stop before starting again for another run-through.

Fig. 5. An alternate rectifier/filter arrangement for the Fig. 2 circuit.
Fig. 5. An alternate rectifier/filter arrangement for the Fig. 2 circuit.
Fig. 6. Power supply waveforms observed on an oscilloscope screen, along with the sag, illustrated by the dashed lines, that can occur when a drive's spindle motor starts up.
Fig. 6. Power supply waveforms observed on an oscilloscope screen, along with the sag, illustrated by the dashed lines, that can occur when a drive's spindle motor starts up.

Solving the Problem

There are two fixes for the motor-speed problem—fix the power supply or change the software so that it waits longer before beginning a read or write operation. Obviously, the preferable solution is to fix the power supply.

The quickest way to fix a supply that uses the circuit arrangement shown in Fig. 2 is to substitute a transformer that has slightly greater secondary voltage and adequate current capacity—if you can find a transformer with appropriate ratings. If the secondary voltage is only slightly low, you can replace the silicon rectifiers with Schottky rectifiers and double the microfarad rating of the filter capacitors. With regard to the latter, you can replace the existing capacitors altogether or simply connect an additional capacitor of the same value in parallel across each of the originals in the proper polarity, assuming there is room in the supply to do so.

Figure 6 both sums up the problems and demonstrates the gains to be made by tweaking the existing power supply. The waveform at the top represents an estimated 2 volts of peak-to-peak ripple on a loaded disk supply built according to the design shown in Fig. 2. The 7.2-volt line represents the maximum drop across the standard three-terminal voltage regulator, and the last line represents the output from the regulator.

A dashed line in Fig. 6 represents a voltage sag caused by the starting surge of the spindle motor. As soon as this surge penetrates the 7.2-volt guard band, the regulator breaks regulation and will probably disrupt the disk electronics.

Schottky rectifiers have significantly lower voltage drop (about 40 percent) than do standard silicon rectifiers. Their use raises the peak charging voltage for the filter capacitor. The larger filter capacitance should reduce the ripple to about half of what it was before changing rectifiers.

The lower voltage drop of the Schottky rectifier further reduces ripple. With a higher voltage to start with and greater reserve, the voltage sag may disappear altogether or be reduced enough to prevent disturbance in the +5-volt supply.

If you find that the rectifier/filter modifications detailed above aren’t enough to solve the problem, you must use a beefed up power transformer to prevent sagging on the +5-volt rail. One other last-ditch measure can be taken here. If the disk drive in question is an older unit, you can replace it with a newer, thinner drive that uses a lot less power and works better. The thing to be on the alter for is that you don’t inadvertently substitute a quad-density model for a double-density drive. AT-style quad-density disk drives require different diskettes and cannot read from or write to disks that are compatible with the lower-density XT and PC drives.

Except for the earliest models, the power supplies in MS-DOS computers generally have sufficient power to handle a full complement of add-in disk drives and expansion cards. If you encounter a problem with an MS-DOS disk drive, make the same tests detailed above for stand-alone drives, but take your voltage measurements on the drive board, as near as possible to the drive’s power connector. If you note a dip in the +5-volt line, there are two possible causes for this: the computer’s power supply is overloaded or defective, or there is a high-resistance connection in the power-supply cable.

Schottky rectifiers are fairly difficult to find. If you are having any difficulty here, one source of the 1N5822 Schottky rectifier is Digi-Key, 701 Brooks Ave. S., P.O. Box 677, Thief River Falls, MN 56701-0677. You might think that this rectifier is very expensive when compared to silicon rectifiers of similar rating, but the cost is well worth it considering the benefits obtained. It’s much cheaper to buy the needed Schottky rectifiers than to have to replace or even build a new power supply to suit your needs!