Computer Graphics Hardware

Similar documents
Computer Graphics: Overview of Graphics Systems

3. Displays and framebuffers

Displays. History. Cathode ray tubes (CRTs) Modern graphics systems. CSE 457, Autumn 2003 Graphics. » Whirlwind Computer - MIT, 1950

Reading. 1. Displays and framebuffers. History. Modern graphics systems. Required

Reading. Display Devices. Light Gathering. The human retina

VGA Port. Chapter 5. Pin 5 Pin 10. Pin 1. Pin 6. Pin 11. Pin 15. DB15 VGA Connector (front view) DB15 Connector. Red (R12) Green (T12) Blue (R11)

Reading. Displays and framebuffers. Modern graphics systems. History. Required. Angel, section 1.2, chapter 2 through 2.5. Related

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

Types of CRT Display Devices. DVST-Direct View Storage Tube

CHAPTER 3 OSCILLOSCOPES AND SIGNAL GENERATOR

Elements of a Television System

Part 1: Introduction to Computer Graphics

An Efficient SOC approach to Design CRT controller on CPLD s

Part 1: Introduction to computer graphics 1. Describe Each of the following: a. Computer Graphics. b. Computer Graphics API. c. CG s can be used in

2.2. VIDEO DISPLAY DEVICES

Computer Graphics Prof. Sukhendu Das Dept. of Computer Science and Engineering Indian Institute of Technology, Madras Lecture - 5 CRT Display Devices

CMPE 466 COMPUTER GRAPHICS

OSCILLOSCOPE AND DIGITAL MULTIMETER

The Cathode Ray Tube

CS2401-COMPUTER GRAPHICS QUESTION BANK

Display Systems. Viewing Images Rochester Institute of Technology

CATHODE-RAY OSCILLOSCOPE (CRO)

Television brian egan isnm 2004

CHAPTER 4 OSCILLOSCOPES

decodes it along with the normal intensity signal, to determine how to modulate the three colour beams.

PTIK UNNES. Lecture 02. Conceptual Model for Computer Graphics and Graphics Hardware Issues

These are used for producing a narrow and sharply focus beam of electrons.

B. TECH. VI SEM. I MID TERM EXAMINATION 2018

CATHODE RAY OSCILLOSCOPE (CRO)

2.4.1 Graphics. Graphics Principles: Example Screen Format IMAGE REPRESNTATION

Presented by: Amany Mohamed Yara Naguib May Mohamed Sara Mahmoud Maha Ali. Supervised by: Dr.Mohamed Abd El Ghany

Introduction & Colour

CS 4451A: Computer Graphics. Why Computer Graphics?

Introduction to Computer Graphics

Display Technology. Images stolen from various locations on the web... Cathode Ray Tube

Electrical and Electronic Laboratory Faculty of Engineering Chulalongkorn University. Cathode-Ray Oscilloscope (CRO)

Start with some basics: display devices

L14 - Video. L14: Spring 2005 Introductory Digital Systems Laboratory

Overview of Graphics Systems

THE OPERATION OF A CATHODE RAY TUBE

Chapter 3. Display Devices and Interfacing

Display Technologies CMSC 435. Slides based on Dr. Luebke s slides

MODULE I MCA COMPUTER GRAPHICS ADMN APPLICATIONS OF COMPUTER GRAPHICS

Screens; media that use additive primaries

Computer Graphics. Raster Scan Display System, Rasterization, Refresh Rate, Video Basics and Scan Conversion

RICHLAND COLLEGE School of Engineering Business & Technology Rev. 0 W. Slonecker Rev. 1 (8/26/2012) J. Bradbury

Sep 09, APPLICATION NOTE 1193 Electronic Displays Comparison

Tutorial Cathode Rays Year 12 Physics - Module 9.3 Motors and Generators

Design of VGA Controller using VHDL for LCD Display using FPGA

THE OPERATION OF A CATHODE RAY TUBE

INSTRUMENT CATHODE-RAY TUBE

1. Introduction. 1.1 Graphics Areas. Modeling: building specification of shape and appearance properties that can be stored in computer

Downloads from:

Computer Graphics : Unit - I

4. ANALOG TV SIGNALS MEASUREMENT

Design and Implementation of an AHB VGA Peripheral

Lecture Flat Panel Display Devices

CATHODE RAY OSCILLOSCOPE. Basic block diagrams Principle of operation Measurement of voltage, current and frequency

INSTRUMENT CATHODE-RAY TUBE

Electrical & Electronic Measurements: Class Notes (15EE36) Module-5. Display Devices

Computer Graphics NV1 (1DT383) Computer Graphics (1TT180) Cary Laxer, Ph.D. Visiting Lecturer

Monitor and Display Adapters UNIT 4

PanelView 1400e CRT Maintenance

Teltron Delection Tube D

ANTENNAS, WAVE PROPAGATION &TV ENGG. Lecture : TV working

Module 1: Digital Video Signal Processing Lecture 3: Characterisation of Video raster, Parameters of Analog TV systems, Signal bandwidth

Display Technology.! Images stolen from various locations on the web... Cathode Ray Tube

Display Technology. Images stolen from various locations on the web... Cathode Ray Tube

Objectives: Topics covered: Basic terminology Important Definitions Display Processor Raster and Vector Graphics Coordinate Systems Graphics Standards

Display Devices & its Interfacing

Lab # 9 VGA Controller

NAPIER. University School of Engineering. Advanced Communication Systems Module: SE Television Broadcast Signal.

Chapter 3 Fundamental Concepts in Video. 3.1 Types of Video Signals 3.2 Analog Video 3.3 Digital Video

Display Technology. Cathode Ray Tube. Images stolen from various locations on the web...

PAST EXAM PAPER & MEMO N3 ABOUT THE QUESTION PAPERS:

Service Manual for D9100 Series Digital-Control Color Monitor

Design of VGA and Implementing On FPGA

CR7000. CRT Analyzer & Restorer. Easily Test And Restore CRTs With The Most Complete Tests Available For Added Profit And Security.

Basically we are fooling our brains into seeing still images at a fast enough rate so that we think its a moving image.

K Service Source. Apple High-Res Monochrome Monitor

Revision: August 11, E Main Suite D Pullman, WA (509) Voice and Fax. 8 LEDs. Doc: page 1 of 9

FUNDAMENTAL CONSTRUCTION OF A CRT

S op o e p C on o t n rol o s L arni n n i g n g O bj b e j ctiv i e v s

K Service Source. Apple High-Res Monochrome Monitor

BLOCK DIAGRAM. Brightness Control -120V. Vertical Blanking, FBT 30V 15V. Protection TDA8172 ( IC601) Circuit -12V 12V. H/V Sync Processor

IMS B007 A transputer based graphics board

Lecture Flat Panel Display Devices

1 Your computer screen

Time Varying Signals Part A Chemistry 838

Flat Panel Displays: 1. Introduction

SERVICE AND OPERATION MANUAL

4. Alignment and Adjustments

SERVICE AND OPERATION MANUAL

Computer Graphics. Introduction

Secrets of the Studio. TELEVISION CAMERAS Technology and Practise Part 1 Chris Phillips

Video. Updated fir31.filtered on website Fall 2008 Lecture 12

VARIOUS DISPLAY TECHNOLOGIESS

TV Character Generator

Brief Description of Circuit Functions. The brief ckt. description of V20 107E5 17 Monitor

High-resolution screens have become a mainstay on modern smartphones. Initial. Displays 3.1 LCD

Transcription:

Computer Graphics Hardware Kenneth H. Carpenter Department of Electrical and Computer Engineering Kansas State University January 26, 2001 - February 5, 2004 1 The CRT display The most commonly used type of graphics display device at the present time is the CRT (cathode ray tube) monitor. This device consists of a picture tube similar to those used with television sets, and drive electronics suitable for computer display use. The computer must contain a graphics adapter that sends appropriate signals to the CRT monitor. Together a graphics output is obtained. 1.1 The tube itself The CRT is a large glass envelope containing a high vacuum. The inside of the face has a coating of phosphorescent material. With a color display this material is actually three different phosphors that emit the three primary colors, red, green, and blue, when hit by an electron of suitable energy. There must be a mask behind the screen to cause electrons to only hit the color of phosphor intended. Fig. 1 shows the tube in front view, while Fig. 2 shows the tube from the side. The narrow end of the tube (the neck) at the left end in Fig. 2 contains three electron guns which emit three beams one for each of the primary colors. The electron gun is shown in enlarged form, along with the electrical connections to it in schematic form, in Fig. 3. A heater raises the temperature of the cathode material so that electrons have enough thermal energy to escape from the material. The electric field produced by the high potential difference between the anode and the cathode cause a current of electrons to flow from the cathode towards the anode. A hole in the anode allows these electrons to go across the tube and hit the phosphor on the face of the tube. A grid between the anode and cathode has a charge that controls the current in the electron beam and thereby controls the rate at which photons are emitted by the phosphor and hence controls the brightness of the phosphor s emitted light. 1

Figure 1: Front face of a CRT, showing scan lines (for only 28 lines vertical resolution). 2

R G B electron guns electron beam deflection coil shadow mask Figure 2: Side view of a CRT, showing the major components (but not the purity magnets). 3

+ + V g + heater electron beam cathode grid anode Figure 3: Electron gun, with controlling voltages. (Details of focusing omitted.) Deflection coils produce magnetic fields which change with time and bend the path of the electron beam so that the phosphor dots that are illuminated on the screen change with time in a pattern that is called a raster. The currents through the coils are produced by the monitor s deflection circuitry. The vertical deflection is at a much lower frequency, f v, than the horizontal deflection, whose frequency is f h. Since the current in the deflection coils cannot change instantaneously because of their inductance, there must be a finite time after the beam is deflected all the way across the tube before it can be back at the starting side again. This time is called the retrace time. There is a horizontal retrace time and a vertical retrace time. During the retrace times the grid voltages on the electron guns are set to values to turn off the electron beam. The current in one of the deflection coils is shown in Fig. 4. The raster pattern is shown (with a very small vertical resolution) on the face of the tube in Fig. 1. The number of vertical lines in this pattern is called the vertical resolution. It is usually a number like 480, 600, or 768, although it could be any value consistent with the computer graphics adapter and the driving software. The horizontal resolution is a number like 640, 800, or 1024, and is usually chosen so that the ratio of the horizontal to vertical resolution is 4/3, although it does not have to be. The horizontal resolution is the number of pixels displayed on a horizontal scan line. (A scan line is one of the horizontal traces of the electron beam during a horizontal period. The horizontal period is the amount of time that is the inverse of the horizontal frequency.) These pixels are formed on the video signal as a quantized stairstep wave. The width of these steps is the reciprocal of the dot clock frequency, f d. The heights of these steps are a function of the quantized pixel 4

current time t s t l t r Figure 4: Current in a CRT deflection coil. t s is the time of the visible part of the scan, t r is the retrace time, and t l is the total time taken. The frequency is f = 1/t l. 5

values stored in the frame buffer in the graphics adapter. The mathematical relationship between the three frequencies, f v, f h, and f d is determined by the horizontal resolution, n h, the vertical resolution, n v, and the fraction of the horizontal visible scan time that is the retrace time, r h, and the fraction of the vertical visible scan time that is the retrace time, r v. (r = retracetime/non-retracetime, f = 1/(retracetime + non-retracetime)). The required relationships are thus: f h = n v (1 + r v )f v f d = n h (1 + r h )f h (1) 2 The frame buffer The frame buffer is the memory holding the information on what color to give each pixel of the display. The number of pixels is the product of the horizontal and vertical resolutions: n p = n v n h. If each pixel could only be one of two colors, say black and white, then only one bit of memory would be needed to store this information black could be a zero and white a one. Thus the number of bits required for the frame buffer is the same as the number of pixels, and the number of bytes required would seem to be that number divided by eight but the conversion to bytes is more complicated as we will see later. If many colors are to be possible for the pixels there are two ways to specify them in the frame buffer. The first is called rgb or sometimes truecolor if enough colors are possible to make the latter name reasonable. In this case there must be a set of bits to specify the red value, a set for the green value, and a set for the blue value all placed in the frame buffer. The second is called color index where a set of bits in the frame buffer gives the offset into another buffer called the color map which contains the actual rgb information for the pixel. For either rgb or color map mode of operation, the frame buffer will need multiple bits per pixel. These are usually organized into bit planes where each bit plane has one bit per pixel and there are as many bit planes as there are bits per pixel. In order for the computer processing of scan lines in the frame buffer to be efficient, the first bit for a scan line in a bit plane should start on a natural boundary in the memory. This would be starting on a new byte, or multi-byte word, depending on the computer architecture. This means that if the horizontal resolution is not an integer times the number of bits in the memory word, then the last word for the line will contain unused bits. Thus the total memory bytes required for a bit plane may be more than the number of pixels divided by eight. 6

3 Example problems for CRT timings and frame buffer memory Example 1: Find the number of bytes required for a bit plane for 800 by 600 resolution when the word length is 4 bytes. Solution: 800/8 = 100 bytes per line are needed. Since 100 divides by 4, each scan line can start on a new word with no memory lost. So 100 600 = 60000 bytes are needed for a bit plane. Example 2: Find the number of bytes required for a bit plane for 800 by 600 resolution when the word length is 8 bytes. Solution: 800/8 = 100 bytes per line are needed. Since 100 does not divide by 8 without a remainder, each scan line will require 800/64 rounded up to an integer or 13 words = 104 bytes per line. Hence the total memory requirement for the bit plane is 104 600 = 62400 bytes. Example 3: How many kilobytes of memory are required for the bit planes in the previous two examples? Solution: 60000/1024 = 59 (rounded up to an integer) 62400/1024 = 61 (rounded up to an integer). Example 4: How many bytes are required for a color map for a color index frame buffer when each pixel in the frame buffer has 6 bits and each color is specified by 32 bits? Solution: 6 bits allows 2 6 = 64 choices. So the color map requires 64 entries. Each entry requires 32 bits, which is 4 bytes. Hence the color map requires 64 4 = 256 bytes. Example 5: Given that a monitor/graphics card/display combination must meet the following specifications: vertical retrace time, t rv 50µs 7

horizontal retrace time, t rh 5µs dot clock frequency, f d 200MHz vertical frequency, f v 70Hz aspect ratio, n v = 3 4 n h Find the maximum resolution, n h by n v, which satisfies these requirements while keeping both n h and n v integers. n h n h = t sh + t rh = 1 = t lh f d f d f h 3 4 n 3 ht lh = t sv 4 n ht lh + t rv = 1 f v n 2 h + t rh f d n h + 4 3 f d(t rv 1 f v ) = 0 n h = 1 2 t rhf d + ( 1 2 t rhf d ) 2 + ( 1 f v t rv ) 4 3 f d From inspection of this last equation, one can see that n h is maximized when f d is a maximum, f v is a minimum, and t rv is a minimum. It is not so obvious what effect t rh has on n h. So take a derivative: n h = 1 t rh 2 f d 1 + 1 2 t rhf d ( 1 2 t rhf d ) 2 + ( 1 f v t rv ) 4 3 f d < 0 Since this derivative is always negative, n h is maximized by having t rh a minimum. Thus the maximum is n hmax = 1 ( ) (500) 2 5µs 200MHz + 2 1 4 + 70 5 10 5 3 2 108 n hmax = 1511.5 This value for n hmax must be reduced to the next integer divisible by 4 in order for n v to be an integer. Thus the final solution is n h = 1508 n v = 3 1508 = 1131 4 to obtain the maximum resolution meeting all the requirements. (to be continued... The date on the first page will change when new material is added.) 8