Data Encoding on a CD

by Terry McLean.

Share
|
Homepage | Submit your article | Contact | TOS
More articles on storage devices  

You are here: Categories » Computers and technology » Storage devices

The final part of how data is actually written to the CD is very interesting. After all 98 frames are composed for a sector (whether audio or data), the information is then run through a final encoding process called EFM (eight to fourteen modulation). This scheme takes each byte (8 bits) and converts it into a 14-bit value for storage. The 14-bit conversion codes are designed so that there are never fewer than 2 or more than 10 adjacent 0 bits. This is a form of Run Length Limited (RLL) encoding called RLL 2,10 (RLL x, y where x = the minimum and y = the maximum run of 0s). This is designed to prevent long strings of 0s, which could more easily be misread, as well as to limit the minimum and maximum frequency of transitions actually placed on the recording media. With as few as 2 or as many as 10 0 bits separating 1 bits in the recording, the minimum distance between 1s is 3 bit time intervals (usually referred to as 3T) and the maximum spacing between 1s is 11 time intervals (11T).

Because some of the EFM codes start and end with a 1 or more than five 0s, three additional bits called merge bits are added between each 14-bit EFM value written to the disc. The merge bits usually are 0s but might contain a 1 if necessary to break a long string of adjacent 0s formed by the adjacent 14-bit EFM values. In addition to the now 17-bits created for each byte (EFM plus merge bits), a 24-bit sync word (plus 3 more merge bits) is added to the beginning of each frame. This results in a total of 588 bits (73.5 bytes) actually being stored on the disc for each frame. Multiply this for 98 frames per sector and you have 7,203 bytes actually being stored on the disc to represent each sector. A 74-minute disc, therefore, really has something like 2.4GB of actual data being written, which after being fully decoded and stripped of error correcting codes and other information, results in about 682MB (650MiB) of actual user data.

The calculations for EFM-encoded frames and sectors are shown below

EFM-Encoded Data Calculations
EFM-Encoded Frames: 74-Minute 80-Minute
---------------------------------------------------------------------------------------
Sync word bits 24 24
Subcode bits 14 14
Data bits 336 336
Q+P parity bits 112 112
Merge bits 102 102
---------------------------------------------------------------------------------------
EFM bits per frame 588 588
EFM-Encoded Sectors:
---------------------------------------------------------------------------------------
EFM bits per sector 57,624 57,624
EFM bytes per sector 7,203 7,203
---------------------------------------------------------------------------------------
Total EFM data on disc (MB) 2,399 2,593
B = Byte (8 bits)
KB = Kilobyte (1,000 bytes)
KiB = Kibibyte (1,024 bytes)
MB = Megabyte (1,000,000 bytes)
MiB = Mebibyte (1,048,576 bytes)
EFM = Eight to fourteen modulation


To put this into perspective, see the table below for an example of how familiar data would actually be encoded when written to a CD. As an example, I'll use the letters "N" and "O" as they would be written on the disk.

EFM Data Encoding on a CD
Character "N" "O"
------------------------------------------------------------------------------------
ASCII decimal code 78 79
ASCII hexadecimal code 4E 4F
ASCII binary code 01001110 01001111
EFM code 00010001000100 00100001000100
ASCII = American Standard Code for Information Interchange
EFM = Eight to fourteen modulation
Leave a comment or ask a question
Total comments: 0

Storage devices Disclaimer

  • The e-articles directory is not responsible for any and all copyright infringements by writers and authors. If you suspect the information contained by this page for any copyright infringements, please contact us to investigate the issue
Symmetric Phase Recording In DLT Tape Drive - The SDLT data tape format has unique attribute of "buckling link" that helps in providing strong engagement with S-DLT backup tape drives. The enhanced modular design of the SDLT tape drive is draw (more...)
DVD duplicators - DVDRs are used for the storage of data, video, audio and more, despite the current compatibility issues with recordable DVDs. The reproduction of DVD optical media via copying is termed a (more...)
CD and DVD copiers - CD COPIERS CD copiers are synonymous to CD writers and CD recorders. The efficiency of the system can be measured by the copying or writing speed, reading speed and rewriting speed. (more...)
Fujitsu announces a 250 GB hard disk for Mobile storage devices - Fujitsu Inc. is a world’s leading manufacturing corporation for innovative and efficient storage products which includes hard disk drives, peripherals devices and other security related un (more...)
CD duplicators - The process of burning the data and other contents from a CD directly into the pre-existing media is termed as CD duplication. CD duplicators are ideal for short run & time sensitive disc dup (more...)
CD AND DVD PRINTERS - We supply inkjet and thermal CD Printers and DVD printers, DVD Duplicators and CD Duplicators, standalone duplicators and printers, robotic printers and duplicators, networked DVD & CD Duplic (more...)
CD Erasable - Optical media sing a siren's song with their high storage densities. They captivate engineers with the dream of building a better hard disk, a device that can read and write like a hard disk but (more...)
DVD Specifications and Standards - The initials stand for Digital Versatile Disc, the second generation of photomechanical data storage. Using two-sided technology developed by Toshiba, each DVD disc can store 4.3 gigabytes of in (more...)
CD Care - Two aspects of the design of the Compact Disc make the media resistant to abuse. Because the laser that reads the disc shines through the polycarbonate plastic base before reaching the data, i (more...)
Tape Technologies - Tape systems are often described by how they work, that is, the way they record data onto the tape. For example, although the term "streaming tape" that's appended to many tape drives may conju (more...)

 
free content
    Copyright © 2006 - 2012 e-articles.info.
The texts, articles and tutorials in the directory are property of their respective owners and authors.