ComputersOS

Hard Drive: Operating Principle and Main Features

Hard drives, or, as they are called, hard drives, are one of the most important components of a computer system. Everyone knows about this. But not every modern user even in principle guesses how the hard disk functions. The principle of work, in general, for a basic understanding is quite simple, but there are some nuances about which we will go further.

Questions about the purpose and classification of hard drives?

The question of purpose is, of course, rhetorical. Any user, even the most basic level, immediately responds that the hard drive (which is also a hard drive, aka Hard Drive or HDD) immediately responds that it serves to store information.

In general, it is true. Do not forget that on the hard disk, in addition to the operating system and user files, there are boot sectors created by the OS, thanks to which it starts, as well as some labels on which you can quickly find the information on the disk.

Modern models are quite diverse: conventional HDDs, external hard drives, high-speed SSD SSDs, although they are not strictly classified as hard disks. Next, it is proposed to consider the device and the principle of the hard disk, if not in its entirety, then at least in such a way as to be sufficient to understand the basic terms and processes.

Please note that there is also a special classification of modern HDD according to some basic criteria, among which are the following:

  • Method of information storage;
  • Type of carrier;
  • Way of organizing access to information.

Why is a hard drive called a hard drive?

Today, many users are thinking about why hard drives are called small-capacity hard drives. It would seem that there can be a common between these two devices?

The term itself appeared back in 1973, when the world's first HDD appeared on the market, the design of which consisted of two separate compartments in one sealed container. The capacity of each compartment was 30 MB, because of which the engineers gave the disk the codename "30-30", which was fully in tune with the brand of the then popular "30-30 Winchester" shotgun. However, in the early 90's in America and Europe this name was almost out of use, but still remains popular in the post-Soviet space.

The device and the principle of the hard disk

But we digress. The principle of operation of a hard disk can be briefly described as a process of reading or writing information. But how does this happen? In order to understand the principle of the magnetic hard disk, first of all it is necessary to study how it is arranged.

The hard disk itself is a set of plates, the number of which can vary from four to nine, connected by a shaft (axis), called a spindle. Plates are placed one above the other. Most often, the material for their manufacture is aluminum, brass, ceramics, glass, etc. The plates themselves have a special magnetic coating in the form of a material called a platter, based on gamma-ferrite oxide, chromium oxide, barium ferrite, etc. Each such plate has a thickness of about 2 mm.

For the recording and reading of information, the radial heads (one for each plate) answer, and both surfaces are used in the plates. For the rotation of the spindle, whose speed can be from 3600 to 7200 rpm, and the movement of the heads corresponds to two electric motors.

In this case, the basic principle of the computer's hard disk is that information is written not just anywhere, but in strictly defined locations, called sectors, which are located on concentric tracks or tracks. In order to avoid confusion, unified rules are applied. It means that the principles of hard drives on the basis of their logical structure are universal. So, for example, the size of one sector, accepted for a single standard all over the world, is 512 bytes. In turn, sectors are divided into clusters, which are sequences of a number of sectors located. And the peculiarities of the hard disk operation principle in this respect are that the information exchange is made by whole clusters (an entire number of sector chains).

But how do you read the information? The principles of operation of the hard disk drive are as follows: using a special bracket, the reading head in the radial (helical) direction is moved to the desired track and when positioned, it is positioned above the given sector, all the heads can move simultaneously, reading the same information not only from different tracks , But also from different disks (plates). All tracks with the same ordinal numbers are called cylinders.

One more principle of hard disk operation can be distinguished: the closer the reading head to the magnetic surface (but does not touch it), the higher the recording density.

How is the information recorded and read?

Hard drives, or hard drives, therefore were called magnetic, that they use the laws of physics of magnetism, formulated yet Faraday and Maxwell.

As already mentioned, a magnetic coating is applied to the plates of a non-magnetically sensitive material, the thickness of which is only a few micrometers. In the process of work, a magnetic field arises that has a so-called domain structure.

The magnetic domain is strictly bounded by the magnetized region of the ferroalloy. Further, the principle of operation of a hard disk can be briefly described as follows: when an external magnetic field occurs, the proper field of the disk begins to orient strictly along the magnetic lines, and upon termination of the action on the disks, remanent magnetization zones appear in which information that was previously contained in the ground field .

For creating an external field, a reading head responds to the recording, and when reading the zone of remanent magnetization, facing the head, creates an electromotive force or EMF. Further everything is simple: changing the EMF corresponds to one in the binary code, and its absence or termination is zero. The time for changing the EMF is called the bit element.

In addition, the magnetic surface can be associated purely as an informatics reason, as a certain bit sequence of bits of information. But, since the location of such points can not be calculated exactly, it is necessary to install some pre-defined marks on the disk, which helped to determine the desired location. Creating such labels is called formatting (roughly speaking, splitting the disk into tracks and sectors clustered into clusters).

Logical structure and operating principle of the hard disk in terms of formatting

As for the logical organization of HDD, here the first place is formatting, in which there are two main types: low-level (physical) and high-level (logical). Without these steps, there is no need to talk about bringing a hard drive into the working state. About how to initialize a new hard drive, will be discussed separately.

Low-level formatting assumes physical impact on the HDD surface, at which sectors are created along the tracks. Curiously, the principle of the hard disk is that each created sector has its own unique address, which includes the sector number, the track number on which it is located, and the side number of the plate. Thus, in the organization of direct access, the same RAM is accessed directly from the given address, and does not search for the necessary information on the entire surface, due to which the speed is achieved (although this is not the most important thing). Note that when performing low-level formatting, absolutely all information is erased, and in most cases it is not subject to recovery.

Another matter is logical formatting (in Windows systems this is quick formatting or Quick format). In addition, these processes are also applicable to the creation of logical partitions, representing a certain area of the main hard disk, operating on the same principles.

Logical formatting primarily affects the system area, which consists of the boot sector and partition tables (boot record Boot record), file allocation tables (FAT, NTFS, etc.) and Root Directory (Root Directory).

The recording of information into sectors is done through the cluster in several parts, and two identical objects (files) can not be contained in one cluster. Actually, the creation of a logical partition, as it were, separates it from the main system partition, as a result of which information stored on it, when errors and malfunctions appear, is not subject to change or removal.

Main characteristics of HDD

I think, in general terms, the principle of the hard drive is a little understandable. Now we turn to the main characteristics, which give a complete picture of all the possibilities (or disadvantages) of modern hard drives.

The principle of operation of the hard disk and the main characteristics can be completely different. In order to understand what is at issue, let us outline the most basic parameters that characterize all the known information storage devices:

  • Capacity (volume);
  • Speed (data access speed, reading and writing information);
  • Interface (connection method, controller type).

Capacity is the total amount of information that can be written and saved on the hard drive. The industry for the production of HDD is developing so quickly that today the hard disk drives with volumes of about 2 TB and higher have already entered into use. And, it is believed, this is not the limit.

The interface is the most significant characteristic. It determines how the device connects to the motherboard, which controller it uses, how it reads and writes, etc. The main and most common interfaces are IDE, SATA and SCSI.

Disks with an IDE interface are not very expensive, but among the main disadvantages is a limited number of simultaneously connected devices (maximum four) and a low data transfer rate (even if you support direct access to Ultra DMA memory or Ultra ATA protocols (Mode 2 and Mode 4), although their use is believed to improve the read / write speed to 16 MB / s, but in reality the speed is much lower.In addition, to use UDMA mode, you need to install a special driver that, In theory, should be bundled with the motherboard.

Speaking of what the principle of hard drive performance and characteristics are, you can not ignore the SATA interface, which is the heir of the IDE version of ATA. The advantage of this technology is that the read / write speed can be increased up to 100 Mb / s due to the use of the high-speed Fireware IEEE-1394 bus.

Finally, the SCSI interface compared to the previous two is the most flexible and fastest (the writing / reading speed reaches 160 Mb / s and higher). But even these hard drives are almost twice as expensive. But the number of simultaneously connected storage devices is from seven to fifteen, the connection can be made without de-energizing the computer, and the cable length can be about 15-30 meters. Actually, this type of HDD is mostly used not in user PCs, but on servers.

The performance, characterizing the transmission speed and I / O bandwidth, is usually expressed by the transmission time and the amount of transmitted sequentially transmitted data and is expressed in Mb / s.

Some additional options

Speaking of what the principle of the hard disk is and what parameters affect its operation, it is impossible to ignore some additional characteristics, on which the speed or even the life of the device can depend.

Here, in the first place is the rotation speed, which directly affects the time of search and initialization (recognition) of the desired sector. This is the so-called latent search time - the interval during which the required sector rotates to the reading head. Today, several standards are adopted for the spindle rotation speed, expressed in revolutions per minute with a delay time in milliseconds:

  • 3600 - 8.33;
  • 4500 - 6.67;
  • 5400-5.56;
  • 7200 - 4.17.

It is easy to see that the higher the speed, the less time is spent searching for sectors, and in physical terms - on the turn of the disk before installing the head for the desired point of positioning the plate.

Another parameter is the internal transfer rate. On external tracks, it is minimal, but increases with a gradual transition to internal tracks. Thus, the same defragmentation process, which is the movement of frequently used data to the fastest areas of the disk, is nothing more than transferring them to the inner track with a faster reading speed. The external speed has fixed values and directly depends on the interface used.

Finally, one of the important moments is connected with the presence of the hard disk of its own cache memory or buffer. In fact, the principle of the hard disk in terms of using the buffer in something similar to the operative or virtual memory. The larger the cache (128-256 KB), the faster the hard disk will work.

Main requirements for HDD

The basic requirements, which in most cases are presented to hard drives, is not so much. The main thing is a long service life and reliability.

The main standard for most HDDs is the service life of about 5-7 years with an operating time of at least five hundred thousand hours, but for high-end hard drives this figure is at least one million hours.

With regard to reliability, this is the responsibility of the SMART self-test function, which monitors the status of individual hard disk elements, performing continuous monitoring. Based on the collected data, even a forecast of the appearance of possible malfunctions in the future can be formed.

It goes without saying that the user should not be left out. So, for example, when working with HDD it is extremely important to observe the optimal temperature regime (0 - 50 ± 10 degrees Celsius), avoid shaking, hitting and falling of the hard drive, dust or other small particles getting into it, etc. Incidentally, many will It is interesting to know that the same particles of tobacco smoke are approximately twice as long as the distance between the reading head and the magnetic surface of the hard drive, and the human hair is 5-10 times.

Initialization issues in the system when replacing the hard drive

Now a few words about what actions to take if, for some reason, the user changed the hard drive or installed secondary.

We will not describe this process completely, but we will dwell only on the main stages. First, the hard drive must be connected and viewed in the BIOS settings, if new hardware is detected, initialize it in the disk administration section and create a boot record, create a simple volume, assign it an identifier (letter), and format with the choice of the file system. Only after this, the new "screw" will be fully ready for work.

Conclusion

That, in fact, and everything that briefly touches on the basics of the functioning and characteristics of modern hard drives. The principle of operation of an external hard disk was not considered here in principle, since it practically does not differ from what is used for stationary HDDs. The only difference is only in the method of connecting an additional drive to a computer or laptop. The most common connection is via a USB interface, which is directly connected to the motherboard. At the same time, if you want to ensure maximum speed, it's better to use the USB 3.0 standard (the port inside is painted in blue), of course, provided that the external HDD itself supports it.

In the rest, I think, it became clear to many people how the hard disk of any type functions. Perhaps, too much technical information was given above, especially from the school course of physics, nevertheless, without it, all the basic principles and methods laid down in the technologies of production and application of HDD can not be fully understood without understanding this.

Similar articles

 

 

 

 

Trending Now

 

 

 

 

Newest

Copyright © 2018 en.atomiyme.com. Theme powered by WordPress.