Docsity

Computer Hardware: Components, Functions, and Peripheral Devices, Study Guides, Projects, Research of Material Science and Technology

Toggle sidebar
bg1
3
Topics you will explore include:
n Computer Systems
n Supercomputer
n Mainframe
n Personal
n Computer Platforms
n Hardware Components
n System Unit
n CPU
n Primary Memory
n Expansion Ports
n Peripheral Devices
n Secondary Storage Options
n Magnetic
n Solid State
n Optical
n Input Devices
n Output Devices
n Networks
n LAN
n WAN
n Internet
Computer
Hardware
Chapter
39
88394_CH03_Savage.indd 39 11/26/12 10:13:21 AM
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28

Partial preview of the text

Download Computer Hardware: Components, Functions, and Peripheral Devices and more Study Guides, Projects, Research Material Science and Technology in PDF only on Docsity!

Topics you will explore include:

n Computer Systems n (^) Supercomputer n (^) Mainframe n (^) Personal n Computer Platforms n Hardware Components n (^) System Unit n (^) CPU n (^) Primary Memory n (^) Expansion Ports n Peripheral Devices n (^) Secondary Storage Options n (^) Magnetic n (^) Solid State n (^) Optical n (^) Input Devices n (^) Output Devices n Networks n LAN n WAN n Internet

Computer

Hardware

Chapter

39

Computer technology has transformed our lives for over 50 years. First introduced to alleviate the tedious work of calculating long data tables for the military, we now find computers recording and processing every aspect of our daily activity. The modern computer is no longer just a numeric calculator; it is a multimedia device that displays images, sound, and video through operating systems and applications that give the user unprecedented control over information. Visionaries such as Alan Turing and Vannevar Bush articulated the direction for such computers, but it was the development of micro- electronics that brought multimedia to our desktops. Powerful computing devices make multimedia applications possible. They capture and convert input from various analog sources, process and store the digital data, and output in ways that empower users to create, distribute, search, and share information as never before. Hardware powers the development and delivery of multimedia. In this chapter you will explore the basic components of a computer system includ- ing the peripheral devices used for developing multimedia applications. Developers are concerned about the performance features of not only the processor, but also all input, storage, and output devices. After completing this chapter you should understand: n Components of a computer system n Types of computer systems n Functions and components of the central processing unit (CPU) n Functions of the system board and hardware interface n Peripheral devices and performance criteria for: n (^) Secondary storage n (^) Input n (^) Output n Network fundamentals

3.1 Computer Systems

A computer system is an integrated set of hardware and software designed to process data and produce a meaningful result. Every computer performs the basic functions of input, processing, storage, output, and transmission of data. Instructions and data are entered, processed into results that are stored for later use, and output in a useful for- mat. Computers are connected to a larger network system for transmission of data and information. Computer hardware is organized according to these basic functions. The system unit focuses on processing, whereas a variety of peripheral devices facilitate input, output, storage, and communication.

Types of Computer Systems Computers are often identified by their size and power. Common categories of computer systems include supercomputers, mainframes, and microcomputers. Size traditionally refers to the computer’s physical mass, whereas power refers to the computer’s speed and the complexity of calculations it can carry out. Originally, mainframe computers

40 Chapter 3 Computer Hardware

interface that resembled a standard desktop complete with folders and a trash can. It relied on a mouse to manipulate data and programs. It included sound capabilities and dramatically introduced itself at the January 1984 debut. From that day on, advances in hardware technology supported the development of multimedia computing. Today’s microcomputer is in every way a multimedia machine.

3.2 Computer Platforms

Computers have fundamental differences based on the hardware components, such as processors, and the operating systems that they use. An operating system is the software that manages the computer’s resources and executes application programs. The combi- nation of hardware and operating system is often called the computer platform.

Microcomputer Platforms The two most common microcomputer platforms are Macintosh and Windows-based PCs. The Macintosh platform utilizes hardware developed by Apple. Apple defines the hard- ware specifications and develops the operating system to control the hardware. Apple currently manufacturers multimedia computers in several configurations: MacBook (end user laptop), iMac (end user desktop), and Mac Pro (developer system).The most popu- lar personal computer today is a Windows/PC platform. These microcomputers utilize the Windows operating system developed by Microsoft. Many companies, such as Dell, Gateway, HP, and Sony, build Windows/PC computers. You might even build one yourself, as the hardware components are readily available from a variety of manufacturers. Understanding the distinctions between computer platforms is important for multi- media development. Developers who plan to reach a wide market are concerned about cross-platform compatibility , the ability of an application to run on different hardware and operating systems. For example, images that are saved in a color palette and file format optimized for the Windows/PC platform may appear distorted on a Macintosh computer. Font technologies and typeface families also vary between the two platforms. Advances are underway to standardize digital media formats so they can be utilized on both platforms. Adobe Acrobat, now in widespread use, provides one successful cross- platform format for text and images. The World Wide Web is a major catalyst for defining data formats so that they can be viewed on any computer through network connections and a browser.

Mobile Computing Platforms Mobile computing platforms are the result of the continuing miniaturization of computers and the merger of computing and telephone technologies. Mobile comput- ing devices include lighter personal computers, special purpose e-readers, and tablet computers, as well as smartphones networked through Wi-Fi or 3G/4G technologies. Applications designed for traditional Mac and Windows platforms must now take into consideration mobile devices based around the Google Android OS, Apple iOS, Blackberry OS, and a wide array of proprietary systems, many built around the Linux operating system. The proliferation of mobile computing devices has dramatically increased opportunities for multimedia developers while also posing the challenge of creating applications that meet the requirements of a variety of mobile platforms.

42 Chapter 3 Computer Hardware

3.3 Computer Hardware Basics

Computer hardware is divided into two main categories: the system unit and peripherals. The system unit contains the electronic components used to process and temporarily store data and instructions (Figure 3.2). These components include the central process- ing unit, primary memory, and the system board. Peripheral devices are hardware used for input, auxiliary storage, display, and communication. These are attached to the sys- tem unit through a hardware interface that carries digital data to and from main memory and processors.

System Unit

Central Processing Unit The most important component of any electronic computer is the central processing unit. A CPU is a complex integration of millions of transistors that execute program instructions and manipulate data. The Intel 10-Core Xeon houses over 2.6 billion transistors within a tiny 2-inch chip. This ability to store a CPU on a single silicon chip ushered in the age of personal computers. The CPU has three essential sets of transistors that work together in processing digital data: a control unit, an arithmetic logic unit, and registers. The control unit directs the flow of data and instructions within the processor and electronic memory. The arithmetic logic unit (ALU) contains programmed transistors

The System Unit and the Box Many refer to the rectangular box of the computer as the system unit. In fact, that “box” can contain several peripheral devices such as hard drives, optical drives, and even the monitor. As computer sizes shrink, manufacturers combine peripherals with the system unit in a single container.

Figure 3.2 System unit.

3.3 Computer Hardware Basics (^) 43

Bus Width Another performance factor is the width of the system bus between the processor and memory. A bus is an electronic path for the flow of data. The system bus is an electronic pathway between the CPU, memory, and other system components. The processor has two bus connections to memory: the data bus and the address bus. The data bus is the set of pathways that carries the actual data between memory and the CPU. A 64-bit data bus can move 8 bytes of data to the processor in the same machine cycle. The data bus width should be matched to the word size of the CPU for optimum performance. The address bus is the electronic pathway that carries information about the memory locations of data. The width of the address bus determines how much potential memory a processor can recognize. Larger address buses mean the processor can address more memory. Processors that use a 64-bit address bus can access a potential of 16 GB of memory (2 64 ). The processor’s ability to access a large address space is important for multimedia applications. Digital video, sound, and images produce large data files. Larger address buses support faster multimedia processing by allowing these files to be moved from hard drives, CD-ROMs, DVDs, and other peripheral storage devices to the computer’s electronic memory where they can be processed and displayed faster.

Pipelining Microprocessor manufacturers such as Intel, Motorola, and IBM utilize addi- tional techniques to maximize the CPU’s speed. Pipelining increases CPU efficiency by reading an instruction, starting processing, and reading another instruction before finishing the previous one. Using pipelining, different steps of the machine cycle can be carried out on several instructions simultaneously (Figure 3.4). This reduces CPU idle time and increases the speed at which instructions can be executed.

RISC Processing RISC (reduced instruction set computer) chips also increase overall speed of the CPU. RISC chips eliminate complex embedded microcode instructions and

Figure 3.4 Modern processors support pipelining to increase the performance of the processor. In pipelining, instructions are sent to the processor in stages.

Machine Cycle (without pipelining)

Instruction 1 Instruction 2

Fetch Decode Execute Store Fetch Decode Execute Store

Machine Cycle (with pipelining)

Instruction 2

Instruction 4

Instruction 3

Fetch Decode Execute Store

Fetch Decode Execute Store

Fetch Decode Execute Store

Fetch Decode Execute Store

Instruction 1

3.3 Computer Hardware Basics (^) 45

replace them with a simpler set of instructions for executing the most common com- mands used by the processor. These common commands are combined to carry out the less frequent, more complex processing tasks. This results in faster overall processing of routine operations. RISC technology is found in many microprocessors and is rapidly expanding to mobile phone processors.

Multiprocessing Multiprocessing can also improve system performance. Multi- processing is a combination of multiple processors on the system board that execute instructions simultaneously. There are several approaches to multiprocessing. Computers may have a CPU and math coprocessor or graphics coprocessor working together to increase the overall performance of a system. The Apple G5 computer has dual processors that speed CPU operations using 64-bit chips, reaching processing power compa- rable to a supercomputer. Multimedia development may also employ parallel processing , a technique of linking multiple pro- cessors to operate at the same time on a single task. Parallel processing is often used to speed the final stage of 3-D animation, known as rendering. Dreamworks employed a “render farm” of over 1000 HP ProLiant DL145 servers to render the daily versions of its animated films Shrek 2 and Madagascar.

Multicore Technology Multicore processors are an increasingly popular approach to multiprocessing in personal computers. A processor core is a CPU’s “computational engine,” that is, those components that directly execute instructions. Older processors were single core. The CPU was built around a single computational engine that fetched and executed each command in the pipeline as fast as it could. To improve processing capacity, engineers increased clock speeds and made other improvements that added transistors to the CPU. However, the extra electronics increased the heat on the chip and did not achieve the performance gains necessary for current computing demands. Manufacturers looked for a different strategy to increase processing speeds while reduc- ing heat and improving energy efficiency. The result was the multicore architecture. Multicore technology combines two or more processor cores and cache memory on a single integrated circuit. A dual-core processor has two execution cores and two L memory caches. These two “cores” work together simultaneously to carry out different tasks. More cores can be added to further improve computer response time for increas- ingly complex operations. To achieve these computing gains however, the operating system and applications must be adjusted to take advantage of the multiple cores using a technique called multithreading, or passing tasks simultaneously to different cores to execute. Multicore processors can significantly improve performance in multitasking work environments where one processor core can address one task while a second task is completed by another core. For example, one core might be directed to writing a DVD and a second one to editing images in Photoshop. A multicore processor would execute both tasks faster because each core could address a separate task. This can speed the process of multimedia development. The technology also has benefits for multimedia playback, particularly for graphics-intensive applications. Multicore processors are used

Microcode is a programming technique for implementing the instruction set of a processor. An instruction set is the set of instructions that a processor can carry out.

46 Chapter 3 Computer Hardware

A third form of electronic memory is called cache storage. This high-speed electronic storage optimizes microprocessor speed by storing frequently used data and instruc- tions close to the processor. This reduces the time it takes to locate and transport data from RAM. Primary cache (Level 1) is on the actual CPU chip. Level 2 cache is positioned between the CPU and RAM. It has higher capacity than primary cache on the CPU, but less capacity than RAM. Neither Level 1 nor Level 2 cache storage adds to the overall total of available RAM. However, cache is an important feature that improves processor performance.

System Board The system board (also called the motherboard) is the main circuit board, or the electrical foundation of the computer. In addition to CPU, RAM, and ROM chips, the system board contains the following: n Expansion slots to add memory and hardware devices n Special purpose chips that convert analog signals to digital format n Video card to control the display monitor n Power supply n I/O interface ports to capture and send data to peripheral devices

Multimedia computers are equipped with many built-in devices, but often a developer may want additional hard drives, a DVD burner, or a second video board, for example. Many computers have expansion slots to add these hardware components; others have limited or no expansion capability at all. An alternative to adding devices directly on the system board is to plug external devices into an interface port.

Hardware Interface A hardware interface is a point of union between the system unit and a peripheral device. Data flows through the interface between the system board and peripheral devices in a serial or parallel path. Serial data transmission is a single stream of bits. One wire sends the bits and another wire returns the bits. This method is gener- ally used for devices that don’t transfer large volumes of data, such as a keyboard, mouse, or modem. Parallel data transmission is a series of bits transferred simultaneously. Each bit has its own wire in a parallel path. Parallel connections may move 8 or more bits of data at once, thus increasing the amount of data transferred in a given amount of time. Interface ports are connections to add peripheral devices to the system board (Figure 3.5). They are generally located behind the system unit cabinet or on the sides of por- table computers. Current microcomputers are equipped with USB (Universal Serial Bus), FireWire (IEEE 1394), audio, video, and Ethernet ports.

Magsafe Power Port

Ethernet Port

FireWire Port (^) Thunderbolt Port

2 USB Ports

SD Card Slot

Audio In Audio Out

Figure 3.5 Interface ports for MacBook Pro.

48 Chapter 3 Computer Hardware

Universal Serial Bus (USB) is an input/output bus to transfer data at higher speeds than older serial and parallel interfaces. USB has several advantages over previous bus systems. First, it is a widely supported standard. This simplifies purchasing external devices. A USB device can plug into any USB port, whether on an Apple or PC. Second, a USB cabling system creates its own independent bus where up to 127 devices can be daisy-chained together and share a single port on the microcomputer. Third, USB devices are “hot swappable.” A USB device can be disconnected and another device swapped (plugged) into the system without restarting the computer. Fourth, USB devices can be powered through the interface port rather than a separate power supply. This greatly reduces the number of power adapters (or “wall-warts” as they’ve been called) that clog up power strips. Finally, USB has faster data transfer. USB transmits data at speeds of 12 Mbps (megabits per second) compared to the RS-232C speeds of 115.2 Kbps (kilobits per second). USB devices such as printers, scanners, zip drives, and keyboards benefit from faster transmission rates. The USB 2.0 standard introduced even faster transmission rates (480 Mbps) for devices that require higher rates of transmission such as MP3 players, removable hard drives, and DVDs. IEEE 1394 (named FireWire by Apple) is a high-speed serial interface standard with data-transfer rates of 400 Mbps over cables up to 4.5 meters in length. It has its own bus system that can daisy chain up to 63 devices. Like USB, FireWire devices are hot swappable and power for these devices is drawn from the FireWire port. These ports are most often found on digital video cameras or large capacity external hard drives. A further development of the standard, FireWire 800, has twice the transfer speed and can maintain it across 100-meter cables. This opens efficient cabling possibilities to capture digital video and/ or audio from cameras placed significant distances from the computer (Figure 3.6). As the processing speed of CPUs increases, computer manufacturers continue to seek ways to increase the inter- face speeds between the user and the system board. USB 3.0 and Thunderbolt are the newest interfaces for connecting peripheral devices to the system board. Code named SuperSpeed USB, the USB 3.0 standard offers faster transfer speeds than its predecessors. USB 3.0 can deliver up to 4.8 Gbps and remain backward compatible to the USB 2.0 standard. High-bandwidth devices such as camcorders, webcams, and Blu-ray burners, for example, will experience better performance using the USB 3. interface. Thunderbolt was developed by Intel and introduced to the market by Apple. It offers three main advantages over other interfaces. First, Thunderbolt combines the transfer of both computer data, from devices such as hard drives, and display data for additional monitors or projectors. This simplifies the interface by eliminating the need for a sepa- rate video port. Second, Thunderbolt improves transfer speeds. It delivers simultaneous data and display transfer on a single bidirectional cable at speeds of 10 Gbps, making it the fastest entry into computer interface design. Finally, Thunderbolt increases the

Figure 3.6 USB, FireWire, and Thunderbolt cables.

3.3 Computer Hardware Basics (^) 49

system unit. Early forms of secondary storage were paper tape, punched cards, and magnetic tape. Secondary storage now includes hard disks with gigabyte capacities, optical discs that deliver high-fidelity multimedia, and a wide array of portable storage ranging from zip disks to flash drives, as well as portable music players and smartphones (Figure 3.8). Secondary storage has several advantages over primary electronic storage. In addi- tion to being nonvolatile, secondary storage is easily expandable and portable. If one disk fills with data, another disk is readily available. Data and applications are easily dis- tributed and shared through secondary storage media such as CDs, DVDs, flash drives, or zip disks. Each of these addresses one or more of the five main uses of secondary storage: saving, backup, distribution, transport, and archiving. The most obvious use of secondary storage is to save the data that is in electronic memory for further processing. Multimedia developers fre- quently save data files to hard drives or other devices as they work. They know that RAM is volatile and that hours of effort can be lost in an instant with a system crash or power failure. Important performance criteria for saving include capacity, access time, and transfer rate. Storage capacity is the amount of digital data, measured in bytes, that a device can record. Multimedia developers require high storage capacities for large media files such as digital video. Access time is the time needed to locate data on the storage device. Transfer rate measures the speed at which data moves between secondary storage and RAM. Faster access times and transfer rates mean less time waiting for data and applications to load into RAM. This speed is especially important if developers are working with large sound or video files where fast access to data editing and playback is essential. Another use of secondary storage is to back up entire hard drives or important volumes on the hard drive. Data is a major asset for most organi- zations. It must be preserved in the event of damaged drives, theft, system crashes, viruses, or natural disasters. Backup systems should have large stor- age capacities and be able to transfer data quickly. Frequently, a hard drive is backed up to another hard drive because both have large capacities and fast transfer rates. Users should also consider backing up important data files to other devices, such as a zip disk, flash drive, or DVD, on a routine schedule. To further protect the data, the backup should be stored in another location, preferably off-site. A third use of secondary storage is distribution of data and applications. Networks improve data sharing over communication lines, but data portability cannot be restricted to network connections. Data and applications can also be distributed by “snail mail” or as retail products such as “shrink-wrap” software. CDs, for example, are cheap to produce, have long storage life, and are lightweight. Most computers can read the disc, which makes them a good choice to distribute applications and data. Performance fea- tures to consider in distributing secondary media include cost, weight, data integrity, and adherence to standards for playback. In addition to distributing data and applications, secondary storage media transport digital content. Commonly called “sneaker-net,” users can carry their digital files on por-

Figure 3.8 The iPod is also a popular storage device. In addition to holding hours of music and video, the iPod can plug into a USB port to record data for transport.

3.3 Computer Hardware Basics (^) 51

table media such as flash drives. Adequate capacity and the ability to withstand tem- perature extremes, magnetic fields, and the wear and tear of a duffel bag are important criteria for digital data on the move. Finally, a fifth use of secondary storage is to archive digital information for long-term preservation. Digital files abound in all the transactions of daily life, and schools, hospi- tals, governments, businesses, and other organizations must preserve them for legal and historical purposes. In the past, this meant large vaults of file folders. Later, these files were transferred to tape and stored in special tape libraries. Archived data requires stor- age media with massive and expandable capacity, media longevity, and security. These include RAID (redundant array of independent disks) drives, WORM (write once, read many) optical disk library systems, and digital tape. The secondary storage devices fall into three broad categories based on the underly- ing technology used to represent digital data: magnetic, optical, or solid state.

Magnetic Storage Magnetic storage devices record and/or read digital content in magnetic form. Early microcomputers used floppy disks for magnetic storage. These were thin plastic disks with a coating of iron oxide that could be inserted in a floppy drive mechanism. They were light and easily transportable but very limited in storage capacity (1.4 MB per disk). Later, cartridge drives such as the zip drive provided removable media with larger capacities (100 MB, 250 MB, and 750 MB) (Figure 3.9). Although zip cartridges and similar media are still in use, they have largely been replaced with solid-state devices such as USB flash sticks. Magnetic storage is now found principally in internal and portable hard drives. Hard drives are composed of rigid platters mounted on a spindle in an enclosed drive container. The container regulates air pressure and filters the air that enters the drive to protect it from dust and other contaminants. A drive motor rotates disks at speeds of 7200 revolutions per minute (rpm) or more. The drives record bits on a disk platter as positive or negative magnetic fields. Access arms with read/ write heads move between platters to read tracks on both top and bottom surfaces (Figure 3.10). Data is stored on these platters in addressable tracks and sectors defined by the operating system. A track is a circular path along which data is stored. Sectors are pie-shaped logical divisions of a track (Figure 3.11). Each sector holds a designated amount of data (traditionally 512 bytes; more recently 4096 bytes). The number of tracks and sectors determine the drive’s storage potential. Hard-disk units built inside the computer system have capacities ranging from gigabytes to terabytes, but even these disks quickly fill with large multimedia data files, applications, and modern graphics-based operating systems.

Figure 3.9 Zip cartridges.

Figure 3.10 Disk platters are rotated on a spindle. The access arms move to a track location and the read/write head transfers data to and from RAM. Source: © vadim kozlovsly/ShutterStock, Inc.

52 Chapter 3 Computer Hardware

to manage. Portable music was restricted to tapes, also easily susceptible to damage. Compact disc storage and digital music provided a medium for permanent, high-fidelity recordings. CDs were designed to hold a full 74 minutes of digital audio recording, sig- nificantly increasing music storage over the long-playing vinyl record. The advent of optical storage also offered new potential for multimedia. A new CD standard, called CD-ROM, was developed especially for computer data. Now applica- tions that required large storage could easily be distributed on a small 4.72-inch disc. The first general interest CD-ROM was Grolier’s Electronic Encyclopedia. Released in 1985, its 9 million words only used 12% of the CD-ROM’s capacity. Optical storage technology developed rapidly. From music CDs of the 1980s, technology expanded to DVD-Videos in the 1990s. n Compact Disc Technology: CD storage uses a laser beam to read and write data to a disc. Lasers are amplified light energy focused into a very precise beam. The basic process is simple: focus a laser beam on a reflective surface and measure the amount of light reflected back on a photo detector. By altering surface texture, light will either be reflected or deflected. The disc acts as a reflective mirror with pits and lands that encode digital content. Pits are indentations on the surface and lands are the flat area. Pits scatter light and lands reflect light (Figure 3.13). Binary data once encoded as positive/ negative magnetism is now read as variations in light reflection. CD-Audio and CD-ROM discs are manufactured by pressing pits into a plastic base. This process is called stamping. A reflective layer of aluminum is then added and finally a lacquer coating is applied to protect the surface. The laser beam scans the bottom of the disc surface where pits appear as bumps to scatter light. Lands reflect the full intensity of the light beam. Once the CD is stamped, data is permanent. Optical storage has several advantages. The first is high-capacity storage. Laser beams are extremely precise and pits and lands are extremely small, so data is densely recorded on a disc. Pits are approximately 0.83 microns long by 0.5 microns wide (about 30 times narrower than a human hair). Data is recorded in one continuous spiral from the center to the outside edge of the disc. There are about 20,000 windings of this single spiral on a CD, resulting in a total track length of 5000 meters, or about 3 miles. This produces a storage capacity of 680 MB. Another benefit of optical storage is stability. CD data is more durable than data stored magnetically. Pits are pressed into the disc. This process makes it unlikely that normal handling and exposure to the environment will destroy the data. CD data is also encoded with special error detection and correction code (EDC/ECC) to further ensure data integrity if the disc is damaged. Magnetic disks do not incorpo- rate error detection and correction, with the result that damaged data is often lost

Pits, Lands, and EFM Pits and lands do not translate directly to bits. Instead, optical discs use an encoding system called eight-to-fourteen modulation (EFM). Fourteen bits are used to encode the 8 bits of a data byte. The extra information is used to ensure the accuracy of the optical reading of each byte.

Figure 3.13 Pits scatter light and lands reflect light.

54 Chapter 3 Computer Hardware

data. By contrast, the data on a scratched CD-Audio disc can usually be repaired as it plays. CD technology is synonymous with high-capacity, high-quality, and durable storage. n (^) Optical Data Encoding: Optical data is organized in tracks, frames, and sessions on the disc. A track is the basic addressing scheme on a CD. A CD has a physical, continuous spiral from the center to the outside edge, but it is further divided into logical units called tracks. A compact disc addresses 1 of up to 99 sequentially numbered tracks. Each track can handle only one data type, so a CD with music and text would require at least 2 separate tracks (Figure 3.14). The basic unit of information stored on a CD is a frame. Frames define the physical format of data. Frames contain data code, error detection and correction code, syn- chronization code, and information about the track. Fifty-eight frames are grouped together to form the smallest addressable data unit, called either blocks (CD-Audio) or sectors (CD-ROM). Each CD-Audio block has 2352 bytes of user data, while CD-ROM sectors contain 2048 bytes of data code. There are fewer bytes of data code on the CD-ROM because these sectors contain more error detection and correction code that helps ensure the integrity of error-sensitive media such as text and numbers. A session is a single recorded segment on the CD. Sessions may cover several tracks depending on the content of the application. For each session, a track table of con- tents is added to the disc. A track table of contents (TTOC) is an index of track contents. Early CDs supported only one session and one TTOC per disc. This is called a single- session CD. Newer CD formats support multisessions. Kodak used the first multisession CD for their PhotoCD by recording one set of photos on a CD, then adding another set

Figure 3.14 CDs store data in a continuous spiral from the center to the outside of the disc. The single spiral is further divided into logical units called tracks. The smallest addressable data unit is called a block or sector.

Single Spiral Track

Track Sector

3.3 Computer Hardware Basics (^) 55

Transfer rate measures the speed at which data is moved to the computer or other device for playback. The CD-DA standard established a transfer rate of 0.15 MB/s or 1X. This ensured accurate playback of digital music. Altering this speed would distort the sound by speeding it up or slowing it down. When CD technology was adapted for computers, higher transfer rates were needed to quickly move data from disc to RAM. One technique to produce higher transfer rates is increasing rotational speed. Current computer CD drives have transfer rates of 48X to 64X. If the drive is rated at 48X, the transfer rate is 48 3 0.15 MB, or 7.2 MB/s. Transfer rates are affected not only by rotational speeds, but also by the method used to store and access data on disc. There are two methods to locate and transfer data: CLV and CAV. CD-Audio drives read data from discs at a constant linear velocity (CLV). A CLV disc stores pits and lands as closely together as possible in a uniform, continuous spiral from the center to the outside edge. This produces the highest possible storage capac- ity, but it also creates a problem. Because disc diameter is larger at the outside, a con- stant rate of spin will result in more data being read per second at the outer edge than at the inner edge. To keep the transfer rate constant, CLV drives spin the disc faster when data is being read toward the center of the disc and slower as reading takes place toward the outside. This results in the same length of the data spiral being read each second, regardless of its location on the disc (hence, constant linear velocity). For audio data, varying disc spin rate is a reasonable mechanical adjustment because the rate of music playback is continuous and predictable from one song to the next. Using CLV for computer data, however, poses a problem. An important performance feature of computers is random access. Random access is the ability to quickly read data from any location on the storage device. Random access is difficult to achieve with CLV because drives must constantly adjust spin rates depending on data location,

Figure 3.15 A beam of light produced by a laser is directed through a series of lenses until it is focused on the surface of the spinning disc. A drive motor moves the laser head along the rails to reposition the laser lens.

3.3 Computer Hardware Basics (^) 57

speeding up if the data is located close to the center and slowing down if it is closer to the outside of the disc. When CD drives were first adapted for computer data, they maintained the CLV standard but increased the motor spin rates to improve transfer rates from 1X to 12X. However, it became apparent that CD drives needed to dramati- cally increase rotational speeds to keep up with faster processor demands. It was rea- sonable to alter spin rates from 200 rpm to 500 rpm, but much harder to go from 5000 rpm to 12,000 rpm. A second method of storing and accessing data was needed. Computer optical drives adopted the same technique used in hard drives, constant angular velocity (CAV). These drives spin the disc at a constant high speed regardless of the location of the laser. Transfer rates vary from the inside to the outside track. While this would destroy playback of a symphony orchestra on a CD player, computers can compensate for the data flow variations by buffering data and storing it in RAM for later processing. Today, most CD drives that exceed 12X transfer rates are using CAV to con- trol disc spin rate. Computer optical drives may also combine CLV and CAV techniques. CLV mode is used to write CD-Rs and CD-RWs, while CAV mode is used to read discs. The transfer rates of current optical drives are still slower than a hard drive, but they are much faster than the original CD-Audio drives. CD-R and CD-RW drives have a range of transfer rates. CD-R has a write transfer rate and reading transfer rate. CD-RW drives have different rates for writing, erasing, and reading. A 52X–24X–52X drive will write and read at a 7.8 MB/s transfer rate, but erase at a slower 24X, or 3.6 MB/s (Table 3.4). n DVD: Movies and More on Disc: The music industry sought ways to improve on vinyl records with the first CD. In similar fashion, the movie industry pushed development of DVDs to record full-length films on a higher-quality medium than film or tape. CDs held promise for video, but their storage capacity was too low for a 133-minute movie, even with high levels of data compression. DVD , or digital versatile disc, first appeared in 1997. Originally, it was targeted as a storage format for movies and called the digital video disc, but developers soon recognized its potential to store all forms of digital data and changed the name to “versatile.” The versatility of DVD is reflected in its various designations: DVD-Video for motion pictures, DVD-Audio for high-quality music, DVD-ROM for distribution of com- puter software. Competing standards and other uses of the technology have led to a proliferation of DVD specifications. See Table 3.5 for a listing of the most significant of these formats. The main advantage of DVDs over CDs is storage capacity. The capacity of a CD is approximately 650 MB. A DVD can hold up to 17 GB. The higher capacity of DVDs is

Table 3.4 CD Drive Rotational Speeds and Transfer Rates Drive Rating Access Method Avg. Transfer Rate (MB/s) RPM 1X CLV 0.15 200– 8X CLV 1.2 1600– 12X CLV 1.8 2400– 20X CAV 3.08 4000 40X CAV 6.15 8000 56X CAV 8.6 11,

58 Chapter 3 Computer Hardware