Organization of a Floppy Disk
Unidad de lectura y grabación de discos flexibles de 5 ¼ pulgadas.
Certain similarities can be established between a floppy disk and a music record. The latter stored recorded music in the spiral groove on its plastic surface. A floppy disk stores data in the form of magnetic signals on the surface of the storage medium. When reading an audio record, a needle moves along the groove and converts mechanical vibrations into electrical signals. A floppy disk has no grooves, but it does have tracks on which information has been recorded. To read this information, a magnetic head moves along the tracks and converts magnetic signals into electrical signals.
The tracks on a floppy disk are circular and concentric. For this analysis, we will use a 5¼-inch disk with a capacity of 320 Kbytes as a reference. This data storage medium consists of 40 concentric tracks, with a density of 48 tracks per inch. To improve efficiency, each track on the disk is divided into sectors. On 5¼-inch storage media, a track can be divided into 8, 9, or 16 sectors, depending on the sector capacity. Access to this information is direct, meaning that accessing a data record does not require accessing the preceding records. It is sufficient to provide the coordinates of the location where the information is stored: track, sector, and record number within the sector.
Track and Sector Format
- User data.
- Identification information.
- Synchronization information for the read/write circuits.
Using the 5¼-inch disk as a reference, each sector can store 512 bytes of user information if the track contains 8 or 9 sectors, and 256 bytes if it contains 16 sectors.
The total amount of information that this type of storage medium can hold is:
512 bytes × 8 sectors per track = 4,096 bytes/track
4,096 bytes/track × 40 tracks = 163,840 bytes/surface
163,840 bytes/surface × 2 surfaces = 327,680 bytes/disk
Two sectoring methods are used to locate sectors on the surface of a floppy disk:
- Software sectoring.
- Hardware sectoring.
In the first method, the disk has a single index hole. This hole indicates the beginning of the track, and each sector has its address recorded from that point onward. This method reduces the actual capacity of the disk because the address recorded in each sector takes up space that could otherwise be used to store user information. In the second method, the disk uses a series of holes, each corresponding to the beginning of a sector.
Floppy Disk Read/Write Drive
So far, we have discussed only floppy disks. Their physical and logical structure, recording methods, and fundamental characteristics have been examined. We will now analyze the drive used to read and write these disks.
The entire drive can be divided into two main blocks:
- Logical block, which incorporates the control circuits and the read/write circuits.
- Mechanical block, consisting of the positioning motor, read/write heads, control sensors, and the floppy disk drive motor.
We will analyze each of the components of the mechanical block.
The Positioning Motor
The positioning motor, which moves the read/write heads across the disk surfaces, is a stepper motor. The shaft of this motor rotates through a small angle each time it receives a series of properly synchronized digital pulses. The disk controller sends step signals, or elementary movement signals. With each signal, the motor moves one track.
The Read/Write Heads
The read/write heads, one for each usable surface of the floppy disk, are mounted on a head carriage that allows them to move across the disk.
These heads may remain in constant contact with the disk surfaces or come into contact only when reading or writing is required.
Photosensors
Photosensors are devices that convert variations in light intensity into variations in electrical intensity. They are used to detect certain conditions that may occur within the disk drive:
- Track 0 photosensor. Floppy disk drives incorporate a photosensor or microswitch to detect whether the heads are positioned at track 0.
- Index photosensor. Used by the logic circuitry to detect the beginning of a track through a photodiode and a phototransistor.
- Disk presence photosensor or microswitch. Used to detect whether the floppy disk has been inserted correctly.
- Write-protection photosensor or microswitch. Detects the signal indicating that the floppy disk must be protected against writing.
The Disk Drive Mechanism
The disks are driven by a direct-current motor, either brushed or brushless. In the latter, sensors switch the windings of each motor phase, and the rotational speed is continuously controlled. This type of motor is more reliable and experiences less wear than the former.
