CD-ROM

From Wikipedia, the free encyclopedia

Compact Disc logo/trademark
Compact Disc logo/trademark
Optical disc authoring
Optical media types
Standards

CD-ROM (an abbreviation of "Compact Disc read-only memory") is a Compact Disc that contains data accessible by a computer. While the Compact Disc format was originally designed for music storage and playback, the format was later adapted to hold any form of binary data. CD-ROMs are popularly used to distribute computer software, including games and multimedia applications, though any data can be stored (up to the capacity limit of a disc). Some CDs hold both computer data and audio with the latter capable of being played on a CD player, whilst data (such as software or digital video) is only Disc read-only-media", or that it was a more 'correct' definition. This was not the intention of the original team who developed the CD-ROM, and common acceptance of the 'memory' definition is now almost universal. This is probably in no small part due to the widespread use of other 'ROM' acronyms such as Flash-ROMs and EEPROMs where 'memory' is the corrusable on a computer. These are called Enhanced CDs.


Main article: Compact Disc

CD-ROM discs are identical in appearance to audio CDs, and data is stored and retrieved in a very similar manner (only differing from audio CDs in the standards used to store the data). Discs are made from a 1.2 mm thick disc of polycarbonate plastic, with a thin layer of aluminium to make a reflective surface. The most common size of CD-ROM disc is 120 mm in diameter, though the smaller Mini CD standard with an 80 mm diameter, as well as numerous non-standard sizes and shapes (e.g. business card-sized media) are also available.

Data is stored on the disc as a series of microscopic indentations ("pits", with the gaps between them referred to as "lands"). A laser is shone onto the reflective surface of the disc to read the pattern of pits and lands. Because the depth of the pits is approximately one-quarter to one-sixth of the wavelength of the laser light used to read the disc, the reflected beam's phase is shifted in relation to the incoming beam, causing destructive interference and reducing the reflected beam's intensity. This pattern of changing intensity of the reflected beam is converted into binary data.

Contents

[edit] Standards

There are several formats used for data stored on compact discs, known collectively as the Rainbow Books. These include the original Red Book standards for CD audio, White Book and Yellow Book CD-ROM. The ECMA-130 standard, which gives a thorough description of the physics and physical layer of the CD-ROM, inclusive of CIRC and Eight-to-Fourteen Modulation, can be downloaded from [1].

ISO 9660 defines the standard file system of a CD-ROM, although it is due to be replaced by ISO 13490. UDF format is used on user-writable CD-R and CD-RW discs that are intended to be extended or overwritten. The bootable CD specification, to make a CD emulate a hard disk or floppy, is called El Torito. Apparently named this because its design originated in an El Torito restaurant in Irvine, California.

[edit] CD-ROM format

A CD-ROM sector contains 2352 bytes, divided into 98 24-byte frames. The CD-ROM is, in essence, a data disk, which cannot rely on error concealment, and therefore requires a higher reliability of the retrieved data. In order to achieve improved error correction and detection, a CD-ROM has a third layer of Reed-Solomon error correction.[1] A Mode-1 CD-ROM, which has the full three layers of error correction data, contains a net 2048 bytes of the available 2352 per sector. In a Mode-2 CD-ROM, which is mostly used for video files, there are 2336 user-available bytes per sector. The net byte rate of a Mode-1 CD-ROM is 44.1k×2048/(6×98) = 153.6 kB/s. The playing time is 74 minutes, or 4440 seconds, so that the net capacity of a Mode-1 CD-ROM is 682 MB.

A 1x speed CD drive reads 75 consecutive sectors per second.

[edit] CD sector contents

  • A standard 74 min CD contains 333,000 blocks or sectors.
  • Each sector is 2352 bytes, and contains 2048 bytes of PC (MODE1) Data, 2336 bytes of PSX/VCD (MODE2) Data, or 2352 bytes of AUDIO.
  • The difference between sector size and data content are the Headers info and the Error Correction Codes, that are big for Data (high precision required), small for VCD (standard for video) and none for audio.
  • If extracting the disc in RAW format (standard for creating images) always extract 2352 bytes per sector, not 2048/2336/2352 bytes depending on data type (basically, extracting the whole sector). This fact has two main consequences:
    • Recording data CDs at very high speed (40x) can be done without losing information. However, if done the same with PlayStation or Audio CD it will result in an unreadable PlayStation disc or an audio CD with lots of clicks because there are no error correction codes and the errors are more likely to occur at high speed recording.
    • On a 74 minute CD can fit larger images using RAW mode, up to 333,000 × 2352 = 783,216,000 bytes (747~ MiB). This is the upper limit for RAW images created on a 74 min or 650~ MiB Red Book CD. The 14.8% increase is due to the discarding of error correction data.
  • Please note that an image size is always a multiple of 2352 bytes (the size of a block) when extracting in RAW mode.[2]
Layout Type ← 2,352 bytes block →
CD Digital Audio: 2,352 bytes of Digital Audio
CD-ROM (MODE1): 12 4 2,048 bytes of user data 4 8 276
CD-ROM (MODE2): 12 4 2,336 bytes of user data
Legend (bytes)
12 sync
4 sector ID
data
4 error detection
8 blank/null
276 error correction


[edit] Manufacture

Main article: CD manufacturing

Pre-pressed CD-ROMs are mass-produced by a process of stamping, where a glass master disc is created and used to make "stampers", which in turn are used to manufacture multiple copies of the final disc with the pits already present. Recordable (CD-R) and rewritable (CD-RW) discs are manufactured by a similar method, but the data is recorded on them by a laser changing the properties of a dye or phase change material in a process that is often referred to as "burning".

[edit] Capacity

A standard 120 mm CD-ROM holds 650 or 700 MiB of data. To put this storage capacity into context, the average novel contains 60,000 words. Assume that average word length is 10 letters and that each letter occupies one byte. A novel therefore might occupy 600,000 bytes (600 kB, without layout information). One CD can therefore contain over 1,000 novels. If each novel occupies at least one centimetre of bookshelf space, then one CD can contain the equivalent of over ten metres of bookshelf. However, textual data can be compressed by more than a factor of ten, using compression algorithms, so a CD-ROM can accommodate at least 100 metres of bookshelf space.

In comparison a single layer DVD contains 4.4 GB of data, nearly 7 times the amount of a CD-ROM.

Capacities of Compact Disc types
Type Sectors Data max size Audio max size Time
(MB) (MiB) (MB) (MiB) (min)
8 cm 94,500 193.536 ≈ 184.6 222.264 ≈ 212.0 21
283,500 580.608 ≈ 553.7 666.792 ≈ 635.9 63
650 MB 333,000 681.984 ≈ 650.3 783.216 ≈ 746.9 74
700 MB 360,000 737.280 ≈ 703.1 846.720 ≈ 807.4 80
800 MB 405,000 829.440 ≈ 791.0 952.560 ≈ 908.4 90
900 MB 445,500 912.384 ≈ 870.1 1,047.816 ≈ 999.3 99

Note: Megabyte (MB) and minute (min) values are exact.

CD capacities are always given in binary units, although decimal SI prefixes are usually used: a "700 MB" CD has a nominal capacity of about 700 MiB. DVD capacities, on the other hand, are given in decimal units: a "4.7 GB" DVD has a nominal capacity of about 4.38 GiB.

[edit] CD-ROM drives

CD-RW drive
CD-RW drive

CD-ROM discs are read using CD-ROM drives, which are now almost universal on personal computers. A CD-ROM drive may be connected to the computer via an IDE (ATA), SCSI, S-ATA, Firewire, or USB interface or a proprietary interface, such as the Panasonic CD interface. Virtually all modern CD-ROM drives can also play audio CDs as well as Video CDs and other data standards when used in conjunction with the right software.

[edit] Transfer rates

The rate at which CD-ROM drives can transfer data from the disc is gauged by a speed factor relative to music CDs: 1x or 1-speed which gives a data transfer rate of 150 kilobytes per second in the most common data format. By increasing the speed at which the disc is spun, data can be transferred at greater rates. For example, a CD-ROM drive that can read at 8x speed spins the disc at up to 4000 rpm (compared to the 500 rpm maximum for 1x speed), giving a transfer rate of 1.2 megabytes per second. Above 12x speed, vibration and heat can become a problem. CD-ROM drives above this speed tackle the problem in several ways. Constant angular velocity (CAV) drives spin the disc at a constant rate, leading to faster data transfer when reading from the outer parts of the disc, but slower towards the centre. 20x was thought to be the maximum speed due to mechanical constraints until Samsung Electronics introduced the SCR-3230, a 32x CD-ROM drive which uses a ball bearing system to balance the spinning disc in the drive to reduce vibration and noise. As of 2004, the fastest transfer rate commonly available is about 52x or 10,350 rpm and 7.62 megabytes per second, though this is only when reading information from the outer parts of a disc. Future speed increases based simply upon spinning the disc faster are particularly limited by the strength of polycarbonate plastic used in CD manufacturing, though improvements can still be obtained by the use of multiple laser pickups as demonstrated by the Kenwood TrueX 72x which uses seven laser beams and a rotation speed of approximately 10x.

CD-Recordable drives are often sold with three different speed ratings, one speed for write-once operations, one for re-write operations, and one for read-only operations. The speeds are typically listed in that order; ie a 12x/10x/32x CD drive can, CPU and media permitting, write to CD-R disks at 12x speed (1.76 megabytes/s), write to CD-RW discs at 10x speed (1.46 megabytes/s), and read from CD discs at 32x speed (4.69 megabytes/s).

The 1x speed rating for CDs (150 kilobytes/s) is not to be confused with the 1x speed rating for DVDs (1.32 megabytes/s).

A view of a CD-ROM drive's disassembled laser system.
A view of a CD-ROM drive's disassembled laser system.

Common transfer speeds:

Data Transfer Speeds
Transfer Speed Megabytes/s Megabits/s Mebibits/s
1x 0.15 1.2 1.1444
2x 0.3 2.4 2.2888
4x 0.6 4.8 4.5776
8x 1.2 9.6 9.1553
10x 1.5 12.0 11.4441
12x 1.8 14.4 13.7329
20x 3.0 24.0 22.8882
32x 4.8 38.4 36.6211
36x 5.4 43.2 41.1987
40x 6.0 48.0 45.7764
48x 7.2 57.6 54.9316
50x 7.5 60.0 57.2205
52x 7.8 62.4 59.5093

[edit] Loading mechanisms

Current CD-ROM drives use either a tray-loading mechanism, where the disc is loaded onto a motorised or manually operated tray, or a slot-loading mechanism, where the disc is slid into a slot and drawn in by motorised rollers. Slot-loading drives have the disadvantage that they cannot usually accept the smaller 80 mm mini CDs or any non-standard sizes; however, the Nintendo Wii seems to have defeated this problem, for it is be able to load standard size DVDs and smaller size GameCube discs in the same slot-loading drive. A small number of CD-ROM drive models, mostly compact portable units, have a top-loading mechanism where the drive lid is opened upwards and the disc is placed directly onto the spindle (similar to most portable CD players). (Example - [2])

Some early CD-ROM drives used a mechanism where CDs had to be inserted into special cartridges or caddies, somewhat similar in appearance to a 3.5" floppy diskette. Although the idea behind this — a tougher plastic shell to protect the disc from damage — was sound, it did not gain wide acceptance among disc manufacturers due to the increased cost of production and the concern that the discs would not be compatible with drives that did not use caddies. One exception is the PSP (PlayStation Portable), which uses an 80 mm DVD inside a unopenable caddie. This was partly as a copy protection system as well as damage prevention. Unspecialised drives that used the caddy format required "bare" discs to be placed into an openable cartridge before use, negating most of the protection offered by having discs in a permanent, integrated protective cartridge, as well as making the drives less convenient to use.

[edit] Copyright issues

There has been a move by the recording industry to make audio CDs (CDDAs, Red Book CDs) unplayable on computer CD-ROM drives, to prevent the copying of music. This is done by intentionally introducing errors onto the disc that the analogue circuits on most stand-alone audio players can automatically compensate for, but which may confuse CD-ROM drives. Consumer rights advocates are as of October 2001 pushing to require warning labels on compact discs that do not conform to the official Compact Disc Digital Audio standard (often called the Red Book) to inform consumers of which discs do not permit full fair use of their content.

In 2005, Sony BMG Music Entertainment were criticised when a copy protection mechanism known as Extended Copy Protection (XCP) used on some of their audio CDs automatically and surreptitiously installed copy-prevention software on computers (see 2005 Sony BMG CD copy protection scandal). Such discs are not legally allowed to be called CDs or Compact Discs because they break the Red Book standard governing CDs, and Amazon.com for example describes them as "copy protected discs" rather than "compact discs" or "CDs".

Software distributors, and in particular distributors of computer games, often make use of various copy protection schemes to prevent software running from any media besides the original CD-ROMs. This differs somewhat from audio CD protection in that it is usually implemented in both the media and the software itself. The CD-ROM itself may contain "weak" sectors to make copying the disc more difficult, and additional data that may be difficult or impossible to copy to a CD-R or disc image, but which the software checks for each time it is run to ensure an original disc and not an unauthorized copy is present in the computer's CD-ROM drive.

Manufacturers of CD writers (CD-R or CD-RW) are encouraged by the music industry to ensure that every drive they produce has a unique identifier, which will be encoded by the drive on every disc that it records: the RID or Recorder Identification Code. This is a counterpart to the SID — the Source Identification Code, an eight character code beginning with "IFPI" that is usually stamped on discs produced by CD recording plants.

[edit] Durability

[3] Stability Study [4] Care, Handling and Storage of Removeable Media.

[edit] See also

[edit] References

This article was originally based on material from the Free On-line Dictionary of Computing, which is licensed under the GFDL.

  1. ^ Note that the CIRC error correction system used in the CD audio format has two interleaved layers.
  2. ^ Optical Media FAQs (1.72 MiB PDF). Retrieved on 2007-01-06.

.

[edit] External links