CD-ROM From Wikipedia, the free encyclopedia Jump to: navigation, search
Compact Disc logo/trademark Optical disc authoring v•d•e • • • • •
Optical disc Optical disc drive Optical disc authoring Authoring software Recording technologies o Recording modes o
Packet writing
Optical media types • •
• • • • •
•
Laserdisc (LD), Video Single Disc (VSD) Compact Disc (CD): Red Book, 5.1 Music Disc, SACD, PhotoCD, CD-R, CD-ROM, CD-RW, CD Video (CDV), Video CD (VCD), SVCD, CD+G, CD-Text, CD-ROM XA, CD-i MiniDisc (MD) (Hi-MD) DVD: DVD-R, DVD+R, DVD-R DL, DVD+R DL, DVDRW, DVD+RW, DVD-RW DL, DVD+RW DL, DVDRAM, DVD-D Ultra Density Optical (UDO) Universal Media Disc (UMD) HD DVD: HD DVD-R, HD DVD-RW, HD DVD-RAM, HD DVD-ROM Blu-ray Disc (BD): BD-R, BD-RE
Standards • •
Rainbow Books File systems o ISO 9660 Joliet Rock Ridge El Torito Apple ISO 9660 Extensions
o
Universal Disk Format (ISO 9660) (UDF)
Mount Rainier
Further reading •
History of optical storage media
•
High definition optical disc format war
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 usable on a computer (such as PC CDROMs). These are called Enhanced CDs. Although many people use lowercase letters in this acronym, proper presentation is in all capital letters with a hyphen between CD and ROM. It was also suggested by some, especially soon after the technology was first released, that CD-ROM was an acronym for "Compact Disc read-onlymedia", 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 usually the correct term. Contents [hide] •
• • • •
1 Media o 1.1 Standards o 1.2 CD-ROM format 1.2.1 CD sector contents o 1.3 Manufacture o 1.4 Capacity 2 CD-ROM drives o 2.1 Laser and Optics o 2.2 Transfer rates 3 Copyright issues 4 See also 5 References 6 Further reading
•
7 External links
•
[edit] Media 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. [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 Cross-interleaved ReedSolomon coding 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-writeable 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 CDROM has a third layer of Reed-Solomon error correction.[1] A Mode-1 CDROM, 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, based on comparison to CDDA audio standards, is 44.1k/s×4B×2048/2352 = 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: o Recording data CDs at very high speed (40x) can be done without losing information. However, as audio CDs do not contain a third layer of error correction codes, recording these at high speed may result in more unrecoverable errors or 'clicks' in the audio. o On a 74 minute CD, one 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 2,352 bytes of Digital Audio Audio:
CD-ROM (MODE1) 12 :
4 2,048 bytes of user data
CD-ROM (MODE2) 12 :
4 2,336 bytes of user data
Legend (bytes)
12 sync
4 8
276
4
sector ID
data
4
error detection
8
blank/null
27 error correction 6
[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
The CD-ROM can easily contain all the encyclopaedia's words and images, plus audio & video clips A standard 120 mm CD-ROM holds up to 703.1 MiB (737 million bytes) of data (not counting error correction/detection data). To put this storage capacity into context, the average novel contains 100,000 words. Assume that average word length is 10 letters and that each letter occupies one byte. A novel therefore might occupy 1,000,000 bytes (1000 kB, without layout information). One CD can therefore contain around 700 novels. If each novel occupies at least one centimetre of bookshelf space, then one CD can
contain the equivalent of seven 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 close to 100 metres of bookshelf space. In comparison a single layer DVD contains 4.4 GiB of data, approximately 6 times the amount of a CD-ROM.
Data max size Type
Time
Sectors (MB)
8 cm
Audio max size
(MiB) (MB)
(MiB) (min)
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 Further information: Optical disc drive
Old 4x CD-ROM 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] Laser and Optics CD-ROM drives employ a near-infrared 780 nm laser diode. The laser beam is directed onto the disc via an opto-electronic tracking module, which then detects whether the beam has been reflected or scattered. [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 SCR3230, 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 discs
at 12x speed (1.80 MiB/s), write to CD-RW discs at 10x speed (1.50 MiB/s), and read from CD discs at 32x speed (4.80 MiB/s). The 1x speed rating for CD-ROM (150 KiB/s) is different than 1x speed rating for audio CD (172.3 KiB/s) and is not to be confused with the 1x speed rating for DVDs (1.32 MiB/s).
A view of a CD-ROM drive's disassembled laser system.
The movement of the laser enables reading at any position of the CD.
The laser system of a CD Drive. Common transfer speeds: Data Transfer Speeds Transfer Speed KiB/s 1x 150 2x 300 4x 600 8x 1200 10x 1500
MiB/s 0.146 0.293 0.568 1.172 1.465
Mbit/s 1.2288 2.4576 4.9152 9.8304 12.2880
Mibit/s 1.1719 2.3438 4.6875 9.3750 11.7188
12x 20x 32x 36x 40x 48x 50x 52x
1800 3000 4800 5400 6000 7200 7500 7800
1.758 2.930 4.688 5.273 5.860 7.031 7.324 7.617
14.7456 24.5760 39.3216 44.2368 49.1520 58.9824 61.4400 63.8976
14.0625 23.4375 37.5000 42.1875 46.8750 56.2500 58.5938 60.9375
[edit] Copyright issues This article or section needs to be updated. Please update the article to reflect recent events / newly available information, and remove this template when finished. Main article: CD/DVD copy protection 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 embedded circuits on most stand-alone audio players can automatically compensate for, but which may confuse CDROM 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 was criticised when a copy protection mechanism known as Extended Copy Protection (XCP) used on some of their audio CDs automatically and surreptitiously installed copyprevention 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.[3] 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.