Jump to content

Disk controller: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
No edit summary
 
(27 intermediate revisions by 20 users not shown)
Line 1: Line 1:
{{Short description|Controller for disk storage, usually integrated into the drive}}
{{confused|host adapter}}
{{confused|Host adapter}}{{More citations needed|date=October 2023}}[[File:Seagate ST11R.jpg|thumb|Seagate ST11R, an 8-bit [[ISA card|ISA]] [[RLL encoding|RLL]] hard disk controller produced in 1990.]]
[[SNIA Dictionary]]: the '''controller''' (disk controller in particular) - the control logic in a disk or tape that performs command decoding and execution, host data transfer, serialization and deserialization of data, error detection and correction, and overall management of device operations.
A '''disk controller''' is a controller [[Electronic circuit|circuit]] that enables a [[CPU]] to communicate with a [[hard disk]], [[floppy disk]] or other kind of [[disk drive]]. It also provides an interface between the disk drive and the bus connecting it to the rest of the system.<ref>{{FOLDOC|Disk+controller}}</ref><ref>{{Cite book |url=https://ieeexplore.ieee.org/document/955038 |access-date=2023-10-18 |date=2001 |doi=10.1109/ICCD.2001.955038 |s2cid=3084914 |language=en-US |last1=Jeppesen |first1=J. |last2=Allen |first2=W. |last3=Anderson |first3=S. |last4=Pilsl |first4=M. |title=Proceedings 2001 IEEE International Conference on Computer Design: VLSI in Computers and Processors. ICCD 2001 |chapter=Hard disk controller: The disk drive's brain and body |pages=262–267 |isbn=0-7695-1200-3 }}</ref>


Early disk controllers were identified by their storage methods and data encoding. They were typically implemented on a separate controller card. [[Modified frequency modulation]] (MFM) controllers were the most common type in small computers, used for both floppy disk and hard disk drives. [[Run length limited]] (RLL) controllers used data compression to increase storage capacity by about 50%. Priam created a proprietary storage algorithm that could double the disk storage. [[Shugart Associates]] Systems Interface ([[Shugart Associates System Interface|SASI]]) was a predecessor to [[SCSI]].
Early disk controllers were identified by their storage methods and data encoding. They were typically implemented on a separate controller card. [[Modified frequency modulation]] (MFM) controllers were the most common type in small computers, used for both floppy disk and hard disk drives. [[Run length limited]] (RLL) controllers used data compression to increase storage capacity by about 50%. [[Priam Corporation | Priam]] created a proprietary storage algorithm that could double the disk storage. [[Shugart Associates]] Systems Interface ([[Shugart Associates System Interface|SASI]]) was a predecessor to [[SCSI]].


Modern disk controllers are integrated into the disk drive. For example, disks called "SCSI disks" have built-in SCSI controllers. In the past, before most SCSI controller functionality was implemented in a single chip, separate SCSI controllers interfaced disks to the SCSI bus.
Modern disk controllers are integrated into the disk drive as peripheral controllers. For example, ''SCSI disks'' have built-in SCSI controllers. In the past, before most SCSI controller functionality was implemented in a single chip, separate SCSI controllers interfaced disks to the SCSI bus.


The most common types of interfaces provided nowadays by disk controllers are [[Parallel ATA|PATA (IDE)]] and [[Serial ATA]] for home use. High-end disks use [[SCSI]], [[Fibre Channel]] or [[Serial Attached SCSI]]. Disk controllers can also control the timing of access to [[flash memory]] which is not mechanical in nature (i.e. no physical disk).
These integrated peripheral controllers communicate with a [[host adapter]] in the host system over a standardized, high-level [[storage bus]] interface. The most common types of interfaces provided nowadays by host controllers are [[Parallel ATA|PATA (IDE)]] and [[Serial ATA]] for home use. High-end disks use [[Parallel SCSI]], [[Fibre Channel]] or [[Serial Attached SCSI]].
Disk controllers can also control the timing of access to [[flash memory]] which is not mechanical in nature (i.e. no spinning disk).


==Disk controller versus host adapter==
==Disk controller versus host adapter==
The correct{{clarify|date=November 2015}} term for the component that allows a ''computer'' to talk to a peripheral bus is [[host adapter]] or host bus adapter (HBA). On the other hand, a disk controller allows a ''disk'' to talk to the same bus. Those two are often confused, especially in the [[Advanced Technology Attachment|PC world]]. In fact signals read by a [[disk read-and-write head]] are converted by a disk controller, then transmitted over the peripheral bus, then converted again by the host adapter into the suitable format for the [[motherboard]]'s bus, and then read by the [[CPU]].
The component that allows a ''computer'' to talk to a peripheral bus is a [[host adapter]] or host bus adapter (HBA, e.g. [[Advanced Host Controller Interface]] or AHDC). A disk controller allows a ''disk'' to talk to the same bus. Signals read by a [[disk read-and-write head]] are converted by a disk controller, then transmitted over the peripheral bus, then converted again by the host adapter into the suitable format for the [[motherboard]]'s bus, and then read by the [[CPU]] into the memory (RAM).

Sometimes there may be yet another controller between a host adapter and a disk controller - a [[disk array controller]] that allows [[RAID#Hardware-based|hardware RAID]] to be formed. Sometimes it may be even physically integrated with an HBA.


== References ==
Sometimes there may be yet another controller between a host adapter and a disk controller - a [[disk array controller]] that allows [[RAID#Hardware RAID|hardware RAID]] to be formed. Sometimes it may be even physically integrated with an HBA, but it performs different functions.
<references />


==See also==
==See also==
* [[Disk array controller]]
* [[Disk array controller]]
* [[Floppy disk controller]]
* [[Floppy-disk controller]]
* [[Forensic disk controller]]
* [[Forensic disk controller]]


[[Category:Computer data storage]]
{{FOLDOC}}
[[Category:Computer storage terminology]]
[[Category:Integrated circuits]]
[[Category:Integrated circuits]]



Latest revision as of 16:15, 8 August 2024

Seagate ST11R, an 8-bit ISA RLL hard disk controller produced in 1990.

A disk controller is a controller circuit that enables a CPU to communicate with a hard disk, floppy disk or other kind of disk drive. It also provides an interface between the disk drive and the bus connecting it to the rest of the system.[1][2]

Early disk controllers were identified by their storage methods and data encoding. They were typically implemented on a separate controller card. Modified frequency modulation (MFM) controllers were the most common type in small computers, used for both floppy disk and hard disk drives. Run length limited (RLL) controllers used data compression to increase storage capacity by about 50%. Priam created a proprietary storage algorithm that could double the disk storage. Shugart Associates Systems Interface (SASI) was a predecessor to SCSI.

Modern disk controllers are integrated into the disk drive as peripheral controllers. For example, SCSI disks have built-in SCSI controllers. In the past, before most SCSI controller functionality was implemented in a single chip, separate SCSI controllers interfaced disks to the SCSI bus.

These integrated peripheral controllers communicate with a host adapter in the host system over a standardized, high-level storage bus interface. The most common types of interfaces provided nowadays by host controllers are PATA (IDE) and Serial ATA for home use. High-end disks use Parallel SCSI, Fibre Channel or Serial Attached SCSI.

Disk controllers can also control the timing of access to flash memory which is not mechanical in nature (i.e. no spinning disk).

Disk controller versus host adapter

[edit]

The component that allows a computer to talk to a peripheral bus is a host adapter or host bus adapter (HBA, e.g. Advanced Host Controller Interface or AHDC). A disk controller allows a disk to talk to the same bus. Signals read by a disk read-and-write head are converted by a disk controller, then transmitted over the peripheral bus, then converted again by the host adapter into the suitable format for the motherboard's bus, and then read by the CPU into the memory (RAM).

Sometimes there may be yet another controller between a host adapter and a disk controller - a disk array controller that allows hardware RAID to be formed. Sometimes it may be even physically integrated with an HBA.

References

[edit]
  1. ^ This article is based on material taken from Disk+controller at the Free On-line Dictionary of Computing prior to 1 November 2008 and incorporated under the "relicensing" terms of the GFDL, version 1.3 or later.
  2. ^ Jeppesen, J.; Allen, W.; Anderson, S.; Pilsl, M. (2001). "Hard disk controller: The disk drive's brain and body". Proceedings 2001 IEEE International Conference on Computer Design: VLSI in Computers and Processors. ICCD 2001. pp. 262–267. doi:10.1109/ICCD.2001.955038. ISBN 0-7695-1200-3. S2CID 3084914. Retrieved 2023-10-18.

See also

[edit]