Chapter 9: Peripheral Devices

Similar documents
Chapter 9: Peripheral Devices: Magnetic Disks

Chapter 3: Computer Hardware Components: CPU, Memory, and I/O

Computer Peripherals

Introduction To Computers: Hardware and Software

COMPUTER HARDWARE. Input- Output and Communication Memory Systems

Comp 410/510. Computer Graphics Spring Introduction to Graphics Systems

Primary Memory. Input Units CPU (Central Processing Unit)

TEST CHAPTERS 1 & 2 OPERATING SYSTEMS

Graphical displays are generally of two types: vector displays and raster displays. Vector displays

Important Question with Answer

Gursharan Singh Tatla Page No. 1 COMPUTER GRAPHICS (Short Answer type Questions)

A+ Guide to Managing and Maintaining Your PC, 7e. Chapter 1 Introducing Hardware

1 PERSONAL COMPUTERS

Computer Systems Structure Main Memory Organization

Preliminary Draft May 19th Video Subsystem

The Keyboard One of the first peripherals to be used with a computer and is still the primary input device for text and numbers.

ELECTRONIC DOCUMENT IMAGING

Note monitors controlled by analog signals CRT monitors are controlled by analog voltage. i. e. the level of analog signal delivered through the

MULTIPLE CHOICE FREE RESPONSE QUESTIONS

Prof. Dr. M. H. Assal

Computer Systems Structure Input/Output

Computers Are Your Future Prentice-Hall, Inc.

Main Memory & Backing Store. Main memory backing storage devices

Displays. Cathode Ray Tube. Semiconductor Elements. Basic applications. Oscilloscope TV Old monitors. 2009, Associate Professor PhD. T.

Machine Architecture and Number Systems. Major Computer Components. Schematic Diagram of a Computer. The CPU. The Bus. Main Memory.

Chapter 8 Memory Units

Basics of Computer 1.1 INTRODUCTION 1.2 OBJECTIVES

Parts of a Computer. Preparation. Objectives. Standards. Materials Micron Technology Foundation, Inc. All Rights Reserved

CSCA0102 IT & Business Applications. Foundation in Business Information Technology School of Engineering & Computing Sciences FTMS College Global

Computers. Hardware. The Central Processing Unit (CPU) CMPT 125: Lecture 1: Understanding the Computer

COMPUTER SCIENCE AND ENGINEERING - Basic Functions and Operational Units - Kevin Skadron, BASIC FUNCTIONS AND OPERATIONAL UNITS

Technical Product Specifications Dell Dimension 2400 Created by: Scott Puckett

Multiple Choice Questions(Computer)

Computer Peripherals

Desktop Publishing 5N0785 Learning Outcome 2 Monaghan Institute Level 5 Module

Devices and Device Controllers

ADVANCED PROCESSOR ARCHITECTURES AND MEMORY ORGANISATION Lesson-17: Memory organisation, and types of memory

Introduction Disks RAID Tertiary storage. Mass Storage. CMSC 412, University of Maryland. Guest lecturer: David Hovemeyer.

COMP175: Computer Graphics. Lecture 1 Introduction and Display Technologies

Disk Geometry: How Data is Organized on a Hard Disk Drive

Computer Hardware HARDWARE. Computer Hardware. Mainboard (Motherboard) Instructor Özgür ZEYDAN

MP3 Player CSEE 4840 SPRING 2010 PROJECT DESIGN.

Lesson 10: Video-Out Interface

AUTOMATIC NIGHT LAMP WITH MORNING ALARM USING MICROPROCESSOR

File System & Device Drive. Overview of Mass Storage Structure. Moving head Disk Mechanism. HDD Pictures 11/13/2014. CS341: Operating System

Hardware: Input, Processing, and Output Devices. A PC in Every Home. Assembling a Computer System

Sistemas Operativos: Input/Output Disks

Memory Basics. SRAM/DRAM Basics

A Computer Glossary. For the New York Farm Viability Institute Computer Training Courses

Introduction to Computers, Anatomy of Computers, Input and Output Devices

Introduction to graphics and LCD technologies. NXP Product Line Microcontrollers Business Line Standard ICs

CPS104 Computer Organization and Programming Lecture 18: Input-Output. Robert Wagner

Lecture Notes, CEng 477

2. Keyboard-An input device similar to a typewriter, for the entry of text, numbers and punctuation.

Digital Systems Based on Principles and Applications of Electrical Engineering/Rizzoni (McGraw Hill

Logical Operations. Control Unit. Contents. Arithmetic Operations. Objectives. The Central Processing Unit: Arithmetic / Logic Unit.

TH2. Input devices, processing and output devices

CSCA0201 FUNDAMENTALS OF COMPUTING. Chapter 4 Output Devices

Input / Ouput devices. I/O Chapter 8. Goals & Constraints. Measures of Performance. Anatomy of a Disk Drive. Introduction - 8.1

OPERATION MANUAL. MV-410RGB Layout Editor. Version 2.1- higher

CHAPTER 2: HARDWARE BASICS: INSIDE THE BOX

CARD FEEDING 316 PROCEEDINGS--SPRING JOINT COMPUTER CONFERENCE, From the collection of the Computer History Museum (

With respect to the way of data access we can classify memories as:

10.1 FUNCTIONS OF INPUT AND OUTPUT DEVICES

Chapter 6. Inside the System Unit. What You Will Learn... Computers Are Your Future. What You Will Learn... Describing Hardware Performance

Chapter 2: Computer-System Structures. Computer System Operation Storage Structure Storage Hierarchy Hardware Protection General System Architecture

The six steps of Printing 1. Cleaning

Computer Performance. Topic 3. Contents. Prerequisite knowledge Before studying this topic you should be able to:

Solid State Drive Architecture

1. Oscilloscope is basically a graph-displaying device-it draws a graph of an electrical signal.

MICROPROCESSOR AND MICROCOMPUTER BASICS

Management Challenge. Managing Hardware Assets. Central Processing Unit. What is a Computer System?

Chapter Introduction. Storage and Other I/O Topics. p. 570( 頁 585) Fig I/O devices can be characterized by. I/O bus connections

Big Picture. IC220 Set #11: Storage and I/O I/O. Outline. Important but neglected

Computer Hardware Submitted in partial fulfillment of the requirement for the award of degree Of MCA

Chapter 11 I/O Management and Disk Scheduling

Quiz for Chapter 6 Storage and Other I/O Topics 3.10

Disturbance Recoder SPCR 8C27. Product Guide

Why Touch Technology?

A Comparison of Client and Enterprise SSD Data Path Protection

LEVERAGING FPGA AND CPLD DIGITAL LOGIC TO IMPLEMENT ANALOG TO DIGITAL CONVERTERS

Module 2. Embedded Processors and Memory. Version 2 EE IIT, Kharagpur 1

MONOCHROME RGB YCbCr VIDEO DIGITIZER

CHAPTER 3: DIGITAL IMAGING IN DIAGNOSTIC RADIOLOGY. 3.1 Basic Concepts of Digital Imaging

APPENDIX A MICRO-COMPUTER REPAIR TECHNICIAN D.O.T. CODE A. Basic Repair Skills 100

Price/performance Modern Memory Hierarchy

1. General Description

Programming Logic controllers

COMPUTER SCIENCE AND ENGINEERING - Microprocessor Systems - Mitchell Aaron Thornton

Analog/Digital Conversion. Analog Signals. Digital Signals. Analog vs. Digital. Interfacing a microprocessor-based system to the real world.

Interfacing To Alphanumeric Displays

Record Storage and Primary File Organization

Chapter 10: Mass-Storage Systems

File System Management

Chap-02, Hardware and Software. Hardware Model

Discovering Computers Chapter 7 Storage

Computer Organization & Architecture Lecture #19

Case for storage. Outline. Magnetic disks. CS2410: Computer Architecture. Storage systems. Sangyeun Cho

WHAT You SHOULD KNOW ABOUT SCANNING

Overview. Raster Graphics and Color. Overview. Display Hardware. Liquid Crystal Display (LCD) Cathode Ray Tube (CRT)

Transcription:

9-1 Chapter 9 Peripheral Devices Chapter 9: Peripheral Devices Topics 9.1 Magnetic Disk Drives Ubiquitous and complex Other moving media devices: tape and CD ROM 9.2 Display Devices Video monitors: analog characteristics Video terminals Memory-mapped video displays Flat-panel displays 9.3 Printers Dot matrix, laser, inkjet 9.4 Input Devices Manual input: keyboards and mice 9.5 Interfacing to the Analog World

9-2 Chapter 9 Peripheral Devices Tbl 9.1 Some Common Peripheral Interface Standards Bus Standard Data Rate Bus Width Centronics ~50 KB/s 8-bit parallel EIA RS232/422 30 20 KB/s Bit-serial SCSI Few MB/s 16-bit parallel Ethernet 10 100 Mb/s Bit-serial

9-3 Chapter 9 Peripheral Devices Disk Drives Moving Media Magnetic Recording High density and nonvolatile Densities approaching semiconductor RAM on an inexpensive medium No power required to retain stored information Motion of medium supplies power for sensing More random access than tape: direct access Different platters selected electronically Track on platter selected by head movement Cyclic sequential access to data on a track Structured address of data on disk Drive: Platter: Track: Sector: Byte

9-4 Chapter 9 Peripheral Devices Fig 9.3 Cutaway View of a Multiplatter Hard Disk Drive Edge connector Drive electronics Disk platters Read/write heads

9-5 Chapter 9 Peripheral Devices Fig 9.4 Simplified View of Disk Track and Sector Organization Track 1,023 Track 0 An integral number of sectors are recorded around a track A sector is the unit of data transfer to or from the disk Sector 63 Sector 0 Sector 1 Sector 2

9-6 Chapter 9 Peripheral Devices Track and Sector Characteristics Inside tracks are shorter and thus have higher densities or fewer words All sectors contain the same number of bytes Inner portions of a platter may have fewer sectors per track Small areas of the disk are magnetized in different directions Read/write head Fig 9.5 Disk motion L L L R Change in magnetization direction is what is detected on read

9-7 Chapter 9 Peripheral Devices Fig 9.6 Typical Hard Disk Sector Organization Location and synchronization information 10 Bytes (header) Data 512 Bytes One sector ECC information 12 Bytes Serial bit stream has header, data, and error code Header synchronizes sector read and records sector address Data length is usually power of 2 bytes Error detection/correction code needed at end

9-8 Chapter 9 Peripheral Devices Disk Formatting Disks are preformatted with track and sector address written in headers Disk surface defects may cause some sectors to be marked unusable for the software

9-9 Chapter 9 Peripheral Devices Fig 9.7 The PC AT Block Address for Disk Access 4 4 16 8 8 Drive #, etc. Head # Cylinder # Sector # Sector count Logical block address Diagram is for the PC AT Head number determines platter surface Cylinder is track number for all heads Count sectors, up to a full track, can be accessed in one operation

9-10 Chapter 9 Peripheral Devices The Disk Access Process 1. OS Communicates LBA to the disk interface and issues a READ command. 2. Drive seeks to the correct track by moving heads to correct position, and enabling the appropriate head. 3. Sector data and ECC stream into buffer. ECC is done "on the fly." 4. When correct sector is found data is streamed into a buffer. 5. Drive communicates "data ready" to the OS 6. OS reads data byte by byte or by using DMA.

9-11 Chapter 9 Peripheral Devices Static Disk Characteristics Areal density of bits on surface density = 1/(bit spacing track spacing) Maximum density: density on innermost track Unformatted capacity: includes header and error control bits Formatted capacity: capacity = bytes sector sectors track tracks surface # of surfaces

9-12 Chapter 9 Peripheral Devices Dynamic Disk Characteristics Seek time: time to move heads to cylinder Track-to-track access: time to adjacent track Rotational latency: time for correct sector to come under read/write head Average access time: seek time + rotational latency Burst rate (maximum transfer bandwidth) burst rate = revs sec sectors rev bytes sector

9-13 Chapter 9 Peripheral Devices Video Monitors Color or black and white Image is traced on screen a line at a time in a raster format Screen dots, or pixels, are sent serially to the scanning electron beam Beam is deflected horizontally and vertically to form the raster About 60 full frames are displayed per second Vertical resolution is number of lines: 500 Horizontal resolution is dots per line: 700 Dots per sec: 60 500 700 21M

9-14 Chapter 9 Peripheral Devices Fig 9.8 Schematic View of a Blackand-White Video Monitor H sync V sync Intensity Intensity info. (pixel stream) Video circuitry One frame Vert. defl. Horiz. defl. One line Cathode ray tube (CRT) Cathode Note: signal timings are not to scale. ~ 20,000 V + Deflection yoke Glass envelope Phosphor-coated screen

9-15 Chapter 9 Peripheral Devices Two Video Display Types: Terminal and Memory-Mapped Video monitor can be packaged with display memory and keyboard to form a terminal Video monitor can be driven from display memory that is memory-mapped Video display terminals are usually character-oriented devices Low bandwidth connection to the computer Memory-mapped displays can show pictures and motion High bandwidth connection to memory bus allows fast changes

9-16 Chapter 9 Peripheral Devices Fig 9.9 (a) The Video Display Terminal Computer Video display terminal System bus Video out CPU Video drive circuitry Monitor Memory RS-232 serial ASCII characters Local display memory Parallel ASCII characters Serial interface Serial interface Keyboard (a) Video display terminal (Character-oriented)

9-17 Chapter 9 Peripheral Devices Fig 9.9 (b) Memory-Mapped Video Display Computer System bus CPU Video out Monitor Memory Display memory Video drive circuitry (keyboard not shown) (b) Memory-mapped video (Pixel-oriented)

9-18 Chapter 9 Peripheral Devices Memory Representations of Displayed Information Bit-mapped displays Each pixel represented by a memory datum Black and white displays can use a bit per pixel Gray scale or color needs several bits per pixel Character-oriented (alphanumeric) displays Only character codes stored in memory Character code converted to pixels by a character ROM A character generates several successive pixels on several successive lines

9-19 Chapter 9 Peripheral Devices Fig 9.10 Dot Matrix Characters and Character Generator 0001 4 Line 7 A Character Character ROM 7 0011100 Pattern (a) Character matrix (b) Character ROM Bits of a line are read out serially Accessed 9 times at same horizontal position and successive vertical positions

9-20 Chapter 9 Peripheral Devices From serial interface ASCII character 7 Fig 9.11 Video Controller for an Alphanumeric Display Display memory 13 4 Character line Character generator Dot pattern 7 Shift register 7 7 6 9 4 Incr. Incr. OF Incr. Character dot counter: 0 6 Character column counter: 0 79 Horizontal (line) sync Character line counter: 0 8 Video (pixels) Counters count the 7 dots in a character, the 80 characters across a screen, the 9 lines in a character, and the 67 rows of characters from top to bottom Display memory address OF Incr. OF 64 80 Character row counter: 0 63 Vertical (frame) sync

9-21 Chapter 9 Peripheral Devices Fig 9.12 Memory-Mapped Video Controller for a 24-Bit Color Display Processor bus Display memory 8 8 8 n Dot clock 8-bit video DAC 8-bit video DAC 8-bit video DAC Timing and sync generator Red video Green video Blue video Horizontal (line) sync Vertical (frame) sync Memory must store 24 bits per pixel for 256- level resolution At 20M dots per second the memory bandwidth is very high Place for video RAM Display memory address

9-22 Chapter 9 Peripheral Devices Flat-Panel Displays Allow electrical control over the transparency of a liquid crystal material sandwiched between glass plates, dot by dot 3 dots per pixel for color, one for black and white Dots are scanned in a raster format, so controller similar to that for video monitor Passive matrix has X and Y drive transistors at edges Active matrix has one (or 3) transistor(s) per dot

9-23 Chapter 9 Peripheral Devices Printers Ways of Getting Ink on Paper Dot matrix printer: Row of solenoid actuated pins, could be height of character matrix Inked ribbon struck by pin to mark paper Low resolution Laser printer: Positively charged drum scanned by laser to discharge individual pixels Ink adheres to remaining positive surface portions 300 to 1200 dots per inch resolution Ink-jet printers: Ultrasonic transducer squirts very small jet of ink at correct pixels as head moves across paper Intermediate between the 2 in price and resolution

9-24 Chapter 9 Peripheral Devices Fig 9.13 Character Generation in Dot Matrix Printers A 7 Character 3 1 Character ROM Column 9 Pattern Print head 0 0 1 1 1 1 1 1 0 Can print a column at a time from a character ROM ROM is read out parallel by column instead of serial by row, as in alphanumeric video displays Ribbon Character matrix Paper

9-25 Chapter 9 Peripheral Devices Manual Input Input Devices Keyboards and Mice Very slow input rates 10 characters of 8 bits per second on keyboard Mouse tracking somewhat faster: few X and Y position change bits per millisecond Mouse click: bit per 1/10 second Main thrust in manual input design is to reduce number of moving parts

9-26 Chapter 9 Peripheral Devices Fig 9.14 ADC and DAC Interfaces Clear Clock Begin Unknown voltage (0 10V) Analog- to-digital converter n Count Done Input word n Digital- to-analog converter Output voltage Begin and Done synchronize A to D conversion, which can take several cycles D to A conversion is usually fast in comparison

9-27 Chapter 9 Peripheral Devices Fig 9.15 R-2R Ladder DAC Voltage Out Proportional to Binary Number x R' Node 0 Node 1 R Node N 1 R R R1 + V o 2R 2R 2R 2R 2R 2R RD V +Op. amp. x 0 x 1 x n 2 x n 1 V R V 0 = ( x n-1 + 1 2 x n-2 + 1 4 x n-3 + + 1 2n-1 x 0 ) kv R

9-28 Chapter 9 Peripheral Devices Fig 9.16 Counting Analog-to-Digital Converter Clear Clock Begin Unknown voltage (0 10V) S Q R Analog comparator n-bit counter Reset Increment n n-bit DAC n Count Done 0 10V Counter increments until DAC output becomes just greater than unknown input Conversion time 2 n for an n-bit converter

9-29 Chapter 9 Peripheral Devices Fig 9.17 Successive-Approximation ADC Clear Clock Begin Successive approximation logic Unknown voltage (0 10V) Analog comparator n n-bit DAC n Count Done 0 10V Successive approximation logic uses binary chopping method to get n-bit result in n steps

9-30 Chapter 9 Peripheral Devices Fig 9.18 Successive Approximation Search Tree Try 100 > < Try 110 Try 010 > < > < Try 111 Try 101 Try 011 Try 001 > < > < > < > < Value = 111 Value = 110 Value = 101 Value = 100 Value = 011 Value = 010 Value = 001 Value = 000 Each trial determines one bit of result Trial also determines next comparison level For specific input, one path from root to leaf in binary tree is traced Conversion time n for an n-bit converter

9-31 Chapter 9 Peripheral Devices Errors in ADC and DAC Full scale error: voltage produced by all 1 s input in DAC or voltage producing all 1 s in ADC Offset error: DAC output voltage with all 0 s input Missing codes: digital values that are never produced by an ADC (skips over as voltage increased) Lack of monotonicity: DAC monotonicity means voltage always increases as value increases Quantization error: always present in DAC or ADC as a theoretical result of conversion process

9-32 Chapter 9 Peripheral Devices Fig 9.19 Signal Quantization and Quantization Error by an ADC Ideal Output word 111 110 101 100 011 010 001 Ideal output of the ADC for a linearly increasing input 000 0 Vf 8 Vf 4 3Vf 8 Vf 2 5Vf 8 3Vf 4 7Vf 8 Vf Input voltage Quantization error + Vf 8 0 Vf 8 Error signal corresponding to the ideal ADC output Quantization error = ±Vf/2n

9-33 Chapter 9 Peripheral Devices Chapter 9 Summary Structure and characteristics of moving magnetic media storage, especially disks Display devices: Analog monitor characteristics Video display terminals Memory-mapped video displays Printers: dot matrix, laser, and ink jet Manual input devices: keyboards and mice Digital-to-analog and analog-to-digital conversion