Documente Academic
Documente Profesional
Documente Cultură
INTERFACING [20M]
CHAPTER 2
INDEX
SR. NO.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Content
Storage Device
Recording technique
FM Recording Technique
MFM Recording Technique
RLL
Perpendicular
HDD(IDE,SATA,SCSI)
Hard Disk Components
Platters
Read Write Head
Head arm
Logic Board,Spindle Motor
Cable And Connectors
Air Filters
Head Actuator Mechanism
Terms Related To HDTrack
Sector , Cylinder
Cluster,Head Parking, Zone Recording
MBR, Interleaving
Landing Zone
Formatting
Low Level Formatting
High Level Formatting
Partitioning
HDD Interface-PATA,SATA
Page No
4
4
5
7
8
10
11
12
13
15
17
18
19
20
21
23
24
25
26
27
28
29
30
31
34
CHAPTER 2
26
27
28
29
30
CD-ROM, Construction
Working
DVD-Construction
Recording
Comparison CD - DVD
35
36
37
38
38
CHAPTER 2
CHAPTER 2
FM Encoding Scheme:----
It was the original data encoding technique used for data storing on
magnetic recording surface.
It also called as Single density recording
Method of encoding:
In This method Clock pulse is present in the beginning of each bit cell.
The Data pulse is written in the middle of the bit cell.
if data is 1, data pulse is present.
If data is 0, data pulse is not present.
In this recording technique two flux changes in each bite cell.
Each bit cell is 4s duration for floppy disk.
1 bit is stored in two pluses :
Clock pulse
Data Pulse
0 bit is stored in only one clock pulse and no data pulse is present
For :
A binary digit 1 is stored as two pluse (PP)
A Binary digit 0 is stored as one clock pulse and No Data pulse(PN)
Example:
Suppose we want to Store a binary digit 110010110
1
1
0
0
1
0
1
1
0
(PP)
(PP) (PN) (PN) (PP) (PN) (PP) (PP) (PN)
CHAPTER 2
1
0
Clock Pulse
P
P
Data Pulse
P
N
CHAPTER 2
M F M Recording Technique:
It is called Double density Recording.
Clock pulse is not present at the beginning of each bit cell.
Advantage of MFM recording technique is that , it read or write fewer
pulses.
Disadvantage of MFM recording technique is more complex then FM.
Method:
When Data is 1 , there is no clock pulse. Only data pulse is present at
the center of the bit cell.
When data is 0 preceded by 0 , then the clock pulse is written at the
beginning of the current bit cell, but no data pulse is written.
When data is 0 preceded by 1, Neither clock pulse nor data pulse is
written.
In MFM Recording o and 1 are encoded as :
1 is always stored a (NP)
0 when preceded by another 0 is stored as (PN)
0 when preceded by 1, is stored as (NN)
Previous Bit
Current Bit
0 OR 1
1
0
0
1
0
For Example (MFM)
1
(NP)
0
(NN)
(PN)
(NP)
Clock Pulse
N
P
N
Data Pulse
P
N
N
CHAPTER 2
CHAPTER 2
Data
Pattern
RLL
For example:
Encode a Byte 100011
The bit 10 is encoded as NP NN
The bit 0010 is encoded as NN PN NP NN
CHAPTER 2
CHAPTER 2
Comparison:IDE HDD
SATA HDD
SCSI HDD
Device level
interface
Device level
interface
System level
interface
Speed is low as
compared SATA and
SCSI
Speed is high as
compared to IDE
HDD
Speed is high as
compared to IDE and
SATA.
Used in desktop PC
Used in desktop Pc
Used in server
system
4 wire cable
50 wire cable
Easy installation
Easy installation
Complex
CHAPTER 2
HARD DISK CONSTRUCTION :-- A hard disk drive is a sealed unit that a PC uses for nonvolatile data
storage.
Nonvolatile, or semi-permanent, storage means that the storage device
retains the data even when no power is supplied to the computer.
A hard disk drive contains rigid, disk-shaped platters, usually
constructed of aluminum or glass.
6.Logic Board
2. Read/Write head
7.Spindle Motor
8.Bezel
5. Air filter
CHAPTER 2
PLATTERS:
A hard disk drive has one or more flat circular disk called platters.
The platter size is called form factor of HDD
Platter sizes are 5.12 inches ,3.74 inches
Platters are made of an aluminum alloy, which provides both strength
and light weight.
Newer HDD uses glass and glass ceramic platters
These platters are coated with magnetizable media
Media coating can store information magnetically
Two types of recording media used in HDD
1.Iorn oxide media
CHAPTER 2
CHAPTER 2
A hard disk drive usually has one read/write head for each side of
platter surface (meaning that each platter has two sets of read/write
heads - one for the top side and one for the bottom side).
These heads are connected, or ganged, on a single movement
mechanism.
If drive contain three platters then six read/write head will be used
Different types of head for read/write purpose
1.Ferrite head
2.metal-in-gap head
3.Thin film head
4.Magneto resistive head
5.Giant magneto resistive head
1.Ferrite head
CHAPTER 2
CHAPTER 2
Giant MR Heads
Works on the same general principles of MR heads
But uses some what different design that makes them superior in
several ways
The name Giant is not due to the size, but due to the superior
technology
They are more sensitive
By December 1997, IBM introduced their first hard disk with GMR
heads
GMR are used in latest technology drives which capacities up to 75 GB
Added one more layer of Nickel-Ferrite
It is smaller
CHAPTER 2
Logic Boards
Spindle Motors
CHAPTER 2
The motor that spins the platters is called the spindle motor because
it is connected to the spindle around which the platters revolve.
Spindle motors in hard disk drives are always connected directly; no
belts or gears are involved.
The spindle motor also must be precisely controlled for speed.
The platters in hard disk drives revolve at speeds ranging from
3,600rpm to 15,000rpm or more, and the motor has a control circuit
with a feedback loop to monitor and control this speed precisely.
Cables & connectors are used to connect the hdd to the main
computer system
Hard disk drives typically have several connectors for interfacing to the
computer, receiving power, and sometimes grounding to the system
chassis. Most drives have at least these two types of connectors:
-Interface connector
-Power connector
The interface connectors are the most important because they
CHAPTER 2
carry the data and command signals between the system and the drive.
The power connector is usually the same four-pin type that is used in
floppy disk drives, and the same power-supply connector plugs into it.
Air Filters
CHAPTER 2
CHAPTER 2
CHAPTER 2
CHAPTER 2
2. Sector
Sector is a Basic Unit of data storage
Track is broken into smaller units called sector
Sector size 512 bytes of user data.
3. Cylinder
On hard disk drive which has more than one platter,Combining of
same track of different platters called cylinder
Data is stored in cylinder by cylinder
once the cylinder is full the read/write head moves to next cylinder
Because R/W head is moved to particular cylinder all heads are on the
same track.
Reduces the R/W head movement, less time required
Imagine passing a cylinder down through both sides of each
platter(6tracks).
These 6 tracks make up a logical cylinder on the disk.
CHAPTER 2
4. Cluster
Minimum space allotted by DOS when storing any information on the
disk.
Cluster size 512 bytes.
Cluster can be made of one or more sectors, it depends on the disk
type being used.
Cluster reduces the size of the FAT.
If one cluster can store 512 bytes of information then 513 bytes require
two cluster.
5. Head Parking
The process of moving of the read/write head to some safe area is
called parking the head
The area where read/write head is moved for parking is called as
Parking Zone
Early hard drives used stepper motor that did not park the heads of
drive. small utilities are used and run by user before shut down.
Modern voice coil actuated hard disk will automatically park heads
even of power failure
6. Zone Recording
Many hard drives today use a technology called zone bit recording
(ZBR) which enables the hard drive to have more sectors on the outer
tracks, where there is more room than on the inner tracks.
This allows more room for storage than using same number of sectors
on each track.
CHAPTER 2
8. Interleaving
If the sectors on the HDD are numbered sequentially from 1 to the
maximum number of sector available, then the disk read operation is
very slow.
In HDD after reading sector 1 the drive sends this data to the controller.
Then controller checks the data has no error using its CRC code.During
this process the disk is continuously rotating and position of head is
sitting over 3rd or 4th sector.
Then HDD requested to read the data on 2nd sector. So disk will require
one complete rotation. This will make the hard disk read process very
slow.
CHAPTER 2
Landing Zone
Area of the platter near its inner diameter , where no data is stored is
called Landing Zone.
Also Called as Contact start/Stop (CSS) zone.
A special track is designed where heads will be placed for takeoff and
landings.
The process of moving the heads to the area is called head parking
CHAPTER 2
Formatting
Formatting is a process of preparing the blank hard disk for a
particular operating system.
Sectors and tracks does not exists on a hard disk until and unless it has
been formatted.
When a new hard disk is brought , it just like a plain sheet with no
information.
Formatting a disk , means adds the track and sector information written
on the disk media.
There are two types of formatting
o
Low-Level formatting (LLF)
o
High-level formatting (HLF)
CHAPTER 2
CHAPTER 2
During the high level formatting, the operating system writes the
structures necessary for managing the files and data on the disk.
After low level formatting and partitioning the final step for
preparing the hard disk drive for use is to high level formatting the
drive.
During the high level format the FORMAT program verifies all
the tracks and sectors in that particular partition.
Other than this the high level format program performs the
following function:===
Scan the disk for tracks and sectors marked bad during the
low level format.
After scanning the entire disk , it returns to first sector of the
partition and write volume boot record.
Next sector FAT ( 1st copy of FAT just next sector 2nd copy of
FAT is written)
Next writes blank root directory
CHAPTER 2
Partitioning
Partitioning is Done for two purpose: To have more than one operating system on the same drive
To have more than one logical drive.
A logical component is either a defined grouping of physical
objects or parts of physical objects that act as one unit.
Each file system can then use its own method to allocate file
space in logical units called clusters or allocation units.
Every disk must have at least one partition on it and can have up
to four partitions, each of which can support the same or different
type file systems.
For example if you are partitioning a hard disk with a capacity of
10GB and you would like to logically divide this space into three
drives with different drive letters.
You decide you want to break the 10GB space into three logical
partitions: one with 5GB of space, one with 3GB, and one with
2GB.
The operating systems will logically view these three partitions as
three separate drives and gives them separate drive letters C:, D:,
and E:.
Physically all you have is one hard drive with three logical drives.
Hard drive partitions must always begin at C:; because the A: and
B: drives are reserved for floppies.
CHAPTER 2
When disk is partitioned : FDISK-partition program writes MBR(master boot record) cylinder 0 ,head 0, sector 1
MBR
- small program to load OS from bootable partition
- contains partition table
Partition table indicates to the ROM BIOS which partition is
bootable ,so that proper OS can be load
Minimum 1 partition and maximum 24 partitions
CHAPTER 2
What is formatting?W-10,4M
How hard disk is formatted?What is partitioning of hard drive?W-08,4
Compare low level and high level formatting.S-09,4M
CHAPTER 2
SATA(Serial ATA )
Features: Low cost storage
Improve speed and bandwidth
Implementation of serial ATA allow for easy integration due to
improve cabling
Configuration of SATA device will be much simpler
Allow improvements and scalability in performance for the
storage interface.
CHAPTER 2
CD-ROM
CD-ROM means Compact Disc read-only Memory .
CD-ROM disc are read using CD-ROM drives, which are now
almost universal on personal computer.
A CD-ROM drive may be connected to the computer via IDE,SCSI,
USB interface.
Scanning Velocity: 500 to 200 RPM inside to outside.
Track Pitch:1.6um
Disk diameter : 120 mm to 80mm
Disk thickness :1.2 mm
Inner Radius Program area : 25mm
Outer Radius Program area : 58mm
Center Spindle hole diameter : 15 mm
CHAPTER 2
Construction of CD-ROM Drive:The drive consists of following components:- A drive motor :spins the disc. 200 and 500 rpm depending on
which track is being read.
A laser and a lens system focus in on and read the bumps.
A tracking mechanism moves the laser assembly so that the
laser's beam can follow the spiral track. The tracking system has
to be able to move the laser at micron resolution.
Optical Head: A CD-ROM drive contains an optical head mounted
on a swing arm. This Device shines a laser on disc surface , then
travels to the location of data. After the optical head finds the
data, it positions itself within the spiral track and refourses to
read the data.
Three parts enables the optical head to read data on the disc: Laser diode:-Emits a beam of light onto reflecting mirror then
through lens focuses on a particular point on the disc.
Depending on where light was focused appropriate intensity of
light is reflected back to photo detector
Lens:-the optical head assembly of the CDROM drive called lens or
pickup, traverses a path from the inside of the disc to the outside ,
which is made up of concentric circles.
Photodetector:- contains several photodiodes and reads laser
reflection from the disc. (convert light to electric signal)
head positions itself within spiral track and refocuses to read the
data
CHAPTER 2
CHAPTER 2
3:- When beam hits the disc , the light reflected back from shining
metallic coating On the disc.
4:- the amount of light reflected is depend On whether laser hits pit or
land .
5:- reflected light passes through collectors ,mirrors, lenses that are
used to focus the light on photo detector
6:-photo detector converts the light into electric impulses.
7:-These incoming pulses are decoded by the microprocessor and sent
along to the host computer as data.
CHAPTER 2
RECORDING OF DVD:Recording of DVD is same as CD only difference is as follow:DVD can store more data than cd for a few reason: Higher density data storage:-single-sided , single layer dvd can
store about seven times more data than CD.Pits and tracks being
smaller on DVDs. The track pitch on DVD is 2.16 times smaller
than and the minimum pit length for a single-layer DVD is 2.08.
Less overhead, more area:-On CD, there is a lot of extra
information encoded on the disc to allow for error correction. This
information is just a repetation of information that is already on
the disc.Error correction scheme on CD uses is quite old and
inefficient compared to DVDs.
Multi-layer storage:-To increase storage capacity even more,a
DVD can have upto 4 layers, two on each side.
CHAPTER 2
DVD TYPE
Track
Pitch
Data
Capacity
Video Time
Single Side
Single Layer
440nm
4.38GB
2 hrs
Single Side
Double Layer
440nm
7.95GB
4 Hrs
Double Side
Single Layer
440nm
8.34GB
More than 4
Hrs
Double Side
Double Layer
440nm
15.9GB
More than 8
Hrs
CHAPTER 2
CD
DVD
Sided
1 or 2
Layers
1 or 2
Capacity
.68 GB
4.7 17 GB
Track pitch()
1.6
.74
Minimum pit
length()
.83
.4
Wavelength(nm)
780
650
CHAPTER 2
Giant MR Heads