Wednesday, February 4, 2009

What is a Hard disk drive


A hard disk drive (HDD), commonly referred to as a hard drive, hard disk, or fixed disk drive is a non-volatile storage device which stores digitally encoded data on rapidly rotating platters with magnetic surfaces. Strictly speaking, "drive" refers to a device distinct from its medium, such as a tape drive and its tape, or a floppy disk drive and its floppy disk. Early HDDs had removable media; however, an HDD today is typically a sealed unit (except for a filtered vent hole to equalize air pressure) with fixed media.
HDDs (introduced in 1956 as data storage for an IBM accounting computer) were originally developed for use with general purpose computers. During the 1990s the need for large-scale, reliable storage, independent of a particular device, led to the introduction of embedded systems such as RAID arrays, network attached storage (NAS) systems and storage area network (SAN) systems that provide efficient and reliable access to large volumes of data. In the 21st century, HDD usage expanded into consumer applications such as camcorders, cellphones, digital audio players, digital video players (e.g. the iPod Classic), digital video recorders, personal digital assistants and video game consoles.
Technology
HDDs record data by magnetizing ferromagnetic material directionally, to represent either a 0 or a 1 binary digit. They read the data back by detecting the magnetization of the material. A typical HDD design consists of a spindle which holds one or more flat circular disks called platters, onto which the data are recorded. The platters are made from a non-magnetic material, usually aluminum alloy or glass, and are coated with a thin layer of magnetic material. Older disks used iron(III) oxide as the magnetic material, but current disks use a cobalt-based alloy
The platters are spun at very high speeds. Information is written to a platter as it rotates past devices called read-and-write heads that operate very close (tens of nanometers in new drives) over the magnetic surface. The read-and-write head is used to detect and modify the magnetization of the material immediately under it. There is one head for each magnetic platter surface on the spindle, mounted on a common arm. An actuator arm (or access arm) moves the heads on an arc (roughly radially) across the platters as they spin, allowing each head to access almost the entire surface of the platter as it spins. The arm is moved using a voice coil actuator or (in older designs) a stepper motor. Stepper motors were outside the head-disk chamber, and preceded voice-coil drives. The latter, for a while, had a structure similar to that of a loudspeaker; the coil and heads moved in a straight line, along a radius of the platters. The present-day structure differs in several respects from that of the earlier voice-coil drives, but the same interaction between the coil and magnetic field still applies, and the term is still used.
Older drives read the data on the platter by sensing the rate of change of the magnetism in the head; these heads had small coils, and worked (in principle) much like magnetic-tape playback heads, although not in contact with the recording surface. As data density increased, read heads using magnetoresistance (MR) came into use; the electrical resistance of the head changed according to the strength of the magnetism from the platter. Later development made use of spintronics; in these heads, the magnetoresistive effect was much greater that in earlier types, and was dubbed "giant" magnetoresistance (GMR). This refers to the degree of effect, not the physical size, of the head — the heads themselves are extremely tiny, and are too small to be seen without a microscope. GMR read heads are now commonplace.
HD heads are kept from contacting the platter surface by the air that is extremely close to the platter; that air moves at, or close to, the platter speed.The record and playback head are mounted on a block called a slider, and the surface next to the platter is shaped to keep it just barely out of contact. It's a type of air bearing.
The magnetic surface of each platter is conceptually divided into many small sub-micrometre-sized magnetic regions, each of which is used to encode a single binary unit of information. In today's HDDs, each of these magnetic regions is composed of a few hundred magnetic grains. Each magnetic region forms a magnetic dipole which generates a highly localized magnetic field nearby. The write head magnetizes a region by generating a strong local magnetic field. Early HDDs used an electromagnet both to generate this field and to read the data by using electromagnetic induction. Later versions of inductive heads included metal in Gap (MIG) heads and thin film heads. In today's heads, the read and write elements are separate, but in close proximity, on the head portion of an actuator arm. The read element is typically magneto-resistive while the write element is typically thin-film inductive.
In modern drives, the small size of the magnetic regions creates the danger that their magnetic state might be lost because of thermal effects. To counter this, the platters are coated with two parallel magnetic layers, separated by a 3-atom-thick layer of the non-magnetic element ruthenium, and the two layers are magnetized in opposite orientation, thus reinforcing each other. Another technology used to overcome thermal effects to allow greater recording densities is perpendicular recording, first shipped in 2005, as of 2007 the technology was used in many HDDs
Architecture
The motor has an external rotor; the stator windings are copper-colored. The spindle bearing is in the center. To the left of center is the actuator with a read-write head under the tip of its very end (near center); the orange stripe along the side of the arm, a thin printed-circuit cable, connects the read-write head to the hub of the actuator. The flexible, somewhat 'U'-shaped, ribbon cable barely visible below and to the left of the actuator arm is the flexible section, one end on the hub, that continues the connection from the head to the controller board on the opposite side.
The head support arm is very light, but also rigid; in modern drives, acceleration at the head reaches 250 gs.
The silver-colored structure at the upper left is the top plate of the permanent-magnet and moving coil "motor" that swings the heads to the desired position. Beneath this plate is the moving coil, attached to the actuator hub, and beneath that is a thin neodymium-iron-boron (NIB) high-flux magnet. That magnet is mounted on the bottom plate of the "motor".
The coil, itself, is shaped rather like an arrowhead, and made of doubly-coated copper magnet wire. The inner layer is insulation, and the outer is thermoplastic, which bonds the coil together after it's wound on a form, making it self-supporting. Much of the coil, sides of the arrowhead, which points to the actuator bearing center, interacts with the magnetic field to develop a tangential force to rotate the actuator. Considering that current flows (at a given time) radially outward along one side of the arrowhead, and radially inward on the other, the surface of the magnet is half N pole, half S pole; the dividing line is midway, and radial.
Other characteristics
Data transfer rate:
As of 2008, a typical 7200rpm desktop hard drive has a sustained "disk-to-buffer" data transfer rate of about 70 megabytes per second. This rate depends on the track location, so it will be highest for data on the outer tracks (where there are more data sectors) and lower toward the inner tracks (where there are fewer data sectors); and is generally somewhat higher for 10,000rpm drives. A current widely-used standard for the "buffer-to-computer" interface is 3.0Gb/s SATA, which can send about 300 megabytes/sec. from the buffer to the computer, and thus is still comfortably ahead of today's disk-to-buffer transfer rates.
Seek time currently ranges from just under 2 ms for high-end server drives, to 15 ms for miniature drives, with the most common desktop type typically being around 9 ms. There has not been any significant improvement in this speed for some years. Some early PC drives used a stepper motor to move the heads, and as a result had access times as slow as 80–120 ms, but this was quickly improved by voice-coil type actuation in the late 1980s, reducing access times to around 20 ms.
Power consumption has become increasingly important, not just in mobile devices such as laptops but also in server and desktop markets. Increasing data center machine density has led to problems delivering sufficient power to devices, and getting rid of the waste heat subsequently produced, as well as environmental and electrical cost concerns (see green computing). Similar issues exist for large companies with thousands of desktop PCs. Smaller form factor drives often use less power than larger drives. One interesting development in this area is actively controlling the seek speed so that the head arrives at its destination only just in time to read the sector, rather than arriving as quickly as possible and then having to wait for the sector to come around (i.e. the rotational latency).
Audible noise (measured in dBA) is significant for certain applications, such as PVRs digital audio recording and quiet computers. Low noise disks typically use fluid bearings, slower rotational speeds (usually 5,400 rpm) and reduce the seek speed under load (AAM) to reduce audible clicks and crunching sounds. Drives in smaller form factors (e.g. 2.5 inch) are often quieter than larger drives.
Shock resistance is especially important for mobile devices. Some laptops now include a motion sensor that parks the disk heads if the machine is dropped, hopefully before impact, to offer the greatest possible chance of survival in such an event.


Integrity
Due to the extremely close spacing between the heads and the disk surface, any contamination of the read-write heads or platters can lead to a head crash — a failure of the disk in which the head scrapes across the platter surface, often grinding away the thin magnetic film and causing data loss. Head crashes can be caused by electronic failure, a sudden power failure, physical shock, wear and tear, corrosion, or poorly manufactured platters and heads.
The HDD's spindle system relies on air pressure inside the enclosure to support the heads at their proper flying height while the disk rotates. Hard disk drives require a certain range of air pressures in order to operate properly. The connection to the external environment and pressure occurs through a small hole in the enclosure (about 0.5 mm in diameter), usually with a carbon filter on the inside (the breather filter, see below). If the air pressure is too low, then there is not enough lift for the flying head, so the head gets too close to the disk, and there is a risk of head crashes and data loss. Specially manufactured sealed and pressurized disks are needed for reliable high-altitude operation, above about 3,000 m (10,000 feet). Note that modern commercial aircraft have a pressurized cabin, whose pressure altitude does not normally exceed 2,600 m(8,500 feet) - thus, ordinary hard drives can safely be used in flight Modern disks include temperature sensors and adjust their operation to the operating environment. Breather holes can be seen on all disk drives — they usually have a sticker next to them, warning the user not to cover the holes. The air inside the operating drive is constantly moving too, being swept in motion by friction with the spinning platters. This air passes through an internal recirculation (or "recirc") filter to remove any leftover contaminants from manufacture, any particles or chemicals that may have somehow entered the enclosure, and any particles or outgassing generated internally in normal operation. Very high humidity for extended periods can corrode the heads and platters.
For giant magnetoresistive (GMR) heads in particular, a minor head crash from contamination (that does not remove the magnetic surface of the disk) still results in the head temporarily overheating, due to friction with the disk surface, and can render the data unreadable for a short period until the head temperature stabilizes (so called "thermal asperity", a problem which can partially be dealt with by proper electronic filtering of the read signal).
Actuation of moving arm
The hard drive's electronics control the movement of the actuator and the rotation of the disk, and perform reads and writes on demand from the disk controller. Feedback of the drive electronics is accomplished by means of special segments of the disk dedicated to servo feedback. These are either complete concentric circles (in the case of dedicated servo technology), or segments interspersed with real data (in the case of embedded servo technology). The servo feedback optimizes the signal to noise ratio of the GMR sensors by adjusting the voice-coil of the actuated arm. The spinning of the disk also uses a servo motor. Modern disk firmware is capable of scheduling reads and writes efficiently on the platter surfaces and remapping sectors of the media which have failed.

No comments:

Post a Comment