An Efficient SOC approach to Design CRT controller on CPLD s

Similar documents
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)

Design and Implementation of an AHB VGA Peripheral

Design of VGA Controller using VHDL for LCD Display using FPGA

Computer Graphics Hardware

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

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

Part 1: Introduction to Computer Graphics

Elements of a Television System

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

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

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

Computer Graphics: Overview of Graphics Systems

3. Displays and framebuffers

Lab # 9 VGA Controller

IMS B007 A transputer based graphics board

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

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

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

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

Design of VGA and Implementing On FPGA

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

Reading. Display Devices. Light Gathering. The human retina

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

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

2.2. VIDEO DISPLAY DEVICES

TV Character Generator

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

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

Downloads from:

The Cathode Ray Tube

Video Graphics Array (VGA)

CHAPTER 3 OSCILLOSCOPES AND SIGNAL GENERATOR

CHAPTER 4 OSCILLOSCOPES

Monitor and Display Adapters UNIT 4

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

OSCILLOSCOPE AND DIGITAL MULTIMETER

Lecture 14: Computer Peripherals

INSTRUMENT CATHODE-RAY TUBE

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

VHDL Design and Implementation of FPGA Based Logic Analyzer: Work in Progress

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

Display Devices & its Interfacing

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

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

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

2.4.1 Graphics. Graphics Principles: Example Screen Format IMAGE REPRESNTATION

4. ANALOG TV SIGNALS MEASUREMENT

CMPE 466 COMPUTER GRAPHICS

Chapter 3. Display Devices and Interfacing

CATHODE RAY OSCILLOSCOPE (CRO)

C6845 CRT Controller Megafunction

Hitachi Europe Ltd. ISSUE : app084/1.0 APPLICATION NOTE DATE : 28/04/99

MODULE I MCA COMPUTER GRAPHICS ADMN APPLICATIONS OF COMPUTER GRAPHICS

Lancelot. VGA video controller for the Altera Nios II processor. V4.0. December 16th, 2005

Display Systems. Viewing Images Rochester Institute of Technology

Introduction to Computer Graphics

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

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

CATHODE-RAY OSCILLOSCOPE (CRO)

Understanding Multimedia - Basics

Lab 3: VGA Bouncing Ball I

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

FPGA Laboratory Assignment 4. Due Date: 06/11/2012

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

Audio and Video II. Video signal +Color systems Motion estimation Video compression standards +H.261 +MPEG-1, MPEG-2, MPEG-4, MPEG- 7, and MPEG-21

PAST EXAM PAPER & MEMO N3 ABOUT THE QUESTION PAPERS:

University of Utah Electrical & Computer Engineering Department ECE1050/1060 Oscilloscope

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

Screens; media that use additive primaries

Sep 09, APPLICATION NOTE 1193 Electronic Displays Comparison

7inch Resistive Touch LCD User Manual

CS2401-COMPUTER GRAPHICS QUESTION BANK

VGA 8-bit VGA Controller

Dan Schuster Arusha Technical College March 4, 2010

INSTRUMENT CATHODE-RAY TUBE

Spartan-II Development System

EECS150 - Digital Design Lecture 12 - Video Interfacing. Recap and Outline

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

TV Synchronism Generation with PIC Microcontroller

ECE532 Digital System Design Title: Stereoscopic Depth Detection Using Two Cameras. Final Design Report

An FPGA Based Solution for Testing Legacy Video Displays

Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science Introductory Digital Systems Laboratory

VGA Controller. Leif Andersen, Daniel Blakemore, Jon Parker University of Utah December 19, VGA Controller Components

Design and Implementation of SOC VGA Controller Using Spartan-3E FPGA

What is sync? Why is sync important? How can sync signals be compromised within an A/V system?... 3

DT3162. Ideal Applications Machine Vision Medical Imaging/Diagnostics Scientific Imaging

Digital Blocks Semiconductor IP

Oscilloscopes, logic analyzers ScopeLogicDAQ

1 Your computer screen

Computer Graphics : Unit - I

A * Rockwell. R6500 Microcomputer System DATA SHEET CRT CONTROLLER (CRTC) r- r- 31 O PART NUMBER R FEATURES DESCRIPTION O 30-4 O O

V6118 EM MICROELECTRONIC - MARIN SA. 2, 4 and 8 Mutiplex LCD Driver

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

Rec. ITU-R BT RECOMMENDATION ITU-R BT PARAMETER VALUES FOR THE HDTV STANDARDS FOR PRODUCTION AND INTERNATIONAL PROGRAMME EXCHANGE

CS 4451A: Computer Graphics. Why Computer Graphics?

VectorVGA Tempest User Manual

Module 7. Video and Purchasing Components

Agilent Technologies 54522A

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

Lecture Flat Panel Display Devices

Transcription:

A Monthly Peer Reviewed Open Access International e-journal An Efficient SOC approach to Design CRT controller on CPLD s Abstract: Sudheer Kumar Marsakatla M.tech Student, Department of ECE, ACE Engineering College, Hyderabad. The design of CRT controller is studied, which is applied in the Speech Interactive System based on ASIC.CRT controller based on CPLD is presented. MCU flexible read and write to RAM with CPLD. Meanwhile, the simulation is also given based on Maxplus. The simulating results prove that the design can reach the demand of real time exchanging, and has integrality, reliability and good applications in the Speech Interactive System. I.INTRODUCTION: The main function is to form the address code of character buffer and attribute memory, and generate horizontal scanning, vertical scanning synchronization signal to the video control logic. Due to the complexity of co-ordination with the microcontroller and memory RAM, its peripheral circuits is so large and lack of flexibility. On the one hand, the design of CRT controller based on CPLD, can improve the integration and reliability of the system; on the other hand, it can significantly enhance design flexibility, especially refresh the entire screen to less than one second in line with SCM and through control of the memory RAM read and write, which is the Motorola 6845 cannot be achieved and is an important innovation of this design. CATHODE RAY TUBE: This is the part of the oscilloscope that displays the input signal as a trace. By this stage, most of the work has already been done by the vertical and horizontal circuitry stages. The display circuitry is essentially the Cathode Ray Tube (CRT) and the graticule, which is the calibration marking. Prof. Chandrasekhar Narikadamalli M.Tech, Ph.d,FIE, Department of ECE, ACE Engineering College, Hyderabad. The CRT section consists of an electron gun, vertical and horizontal deflection plates, and the coating that produce the visual colors. The CRT s electron gun produces a stream of electrons. These are accelerated to the front end of the tube and on the way focused into a narrow electron beam. The vertical and horizontal plates, mentioned earlier, deflect this narrow beam of electrons to a particular orientation. This forms the shape of the input signal. The display end of the tube has a coating which when struck by this electron beam emits a particular colour (usually green). This is the trace, which appears on the display end of the tube. CRT-based VGA displays use amplitude-modulated moving electron beams (or cathode rays) to display information on a phosphor-coated screen. LCD displays use an array of switches that can impose a voltage across a small amount of liquid crystal, thereby changing light permittivity through the crystal on a pixel-by-pixel basis. Although the following description is limited to CRT displays, LCD displays have evolved to use the same signal timings as CRT displays (so the signals discussion below pertains to both CRTs and LCDs). COLOR CRT DISPLAY: Color CRT displays use three electron beams (one for red, one for blue, and one for green) to energize the phosphor that coats the inner side of the display end of a cathode ray tube (see illustration). Electron beams emanate from electron guns which are finelypointed heated cathodes placed in close proximity to a positively charged annular plate called a grid. The electrostatic force imposed by the grid pulls rays of energized electrons from the cathodes, and those rays are fed by the current that flows into the cathodes. www.ijmetmr.com Page 106

A Peer Reviewed Open Access International Journal Much of the potential display time is therefore lost in blanking periods when the beam is reset and stabilized to begin a new horizontal or vertical display pass. The size of the beams, the frequency at which the beam can be traced across the display, and the frequency at which the electron beam can be modulated determine the display resolution. figure.1: cathode ray tube Between the grid and the display surface, the beam passes through the neck of the CRT where two coils of wire produce orthogonal electromagnetic fields. Because cathode rays are composed of charged particles (electrons), they can be deflected by these magnetic fields. Current waveforms are passed through the coils to produce magnetic fields that interact with the cathode rays and cause them to transverse the display surface in a raster pattern, horizontally from left to right and vertically from top to bottom. As the cathode ray moves over the surface of the display, the current sent to the electron guns can be increased or decreased to change the brightness of the display at the cathode ray impact point. Display surface: Figure 2: display surface Information is only displayed when the beam is moving in the forward direction (left to right and top to bottom), and not during the time the beam is reset back to the left or top edge of the display. Figure 3: resolution of display Video data typically comes from a video refresh memory; with one or more bytes assigned to each pixel location (the Nexys3 uses three bits per pixel). The controller must index into video memory as the beams move across the display, and retrieve and apply video data to the display at precisely the time the electron beam is moving across a given pixel. A VGA controller circuit must generate the HS and VS timings signals and coordinate the delivery of video data based on the pixel clock. The pixel clock defines the time available to display one pixel of information. The VS signal defines the refresh frequency of the display, or the frequency at which all information on the display is redrawn. The minimum refresh frequency is a function of the display s phosphor and electron beam intensity, with practical refresh frequencies falling in the 50Hz to 120Hz range. The number of lines to be displayed at a given refresh frequency defines the horizontal retrace frequency. For a 640-pixel by 480-row display using a 25MHz pixel clock and 60 +/-1Hz refresh, the signal timings shown in the table at right can be derived. Timings for sync pulse width and front and back porch intervals (porch intervals are the pre- and post-sync pulse times during which information cannot be displayed) are based on observations taken from actual VGA displays. www.ijmetmr.com Page 107

A Monthly Peer Reviewed Open Access International e-journal The controlling of the ADC; Controlling the sampling rate. Starting a sampling frame in response to a trigger signal. Figure 4: VGA controller II.ANALOG TO DIGITAL CONVERTER: The ADC used is the 8bit Flash ADC0820, from National Semiconductor. The timing diagrams of the ADC. I then wire up the ADC to see that it functions. First a brief description of how the ADC works. Starting from the left we have an adjustable attenuator. This module scales the input signal, down or up, to the input sensitivity of the ADC. The user selects the scaling factor. This block should have high impedance in order to minimize the loading of the circuit from which the input signal is being measured. This input impedance should also be compatible with the electrical characteristics of standard scope probes. Next we have the ADC. This module is responsible for the conversion of the analogue input signal to its digital form, for further processing. The transformation of input digital data from ADC, to a form that can be displayed on a VGA monitor; The controlling of the VGA monitor. The configuring processor configures the CPLD at start up. This could be a configuring ROM, especially made for this function, or a simple microprocessor. Finally, the interface electronics simply provides the appropriate signal levels for the VGA monitor control lines. The Memory module of the CPLD system. General description of Memory module: Memory is a passive system, in that it is completely controlled by processes external to it. It is also a relatively simple module. Figure 8.1 shows a complete breakdown of Memory. The conversion rate should be as fast as possible as it has a direct bearing on the bandwidth of the scope. A faster conversion rate implies a faster sampling time, and thus a higher range of frequencies that can be measured. The trigger controller is responsible for the selection of the triggering modes of the oscilloscope. The user sets the trigger mode and level. This should be designed with high impedance to minimize loading. III.CPLD CONTROLLER: The CPLD controller is the brain of the whole system. Essentially it implements the 2-process architecture mentioned earlier. The software that describes this controller will be described in detail in the later chapters. For now it is enough to know that this module is responsible for: Figure 5: design of memory module. The Displayer module of the CPLD system: This module describes the functionality of the Displayer module. This module takes care of the visuals of the oscilloscope. Description of VGA monitor: The VGA monitor was explained earlier in more detailed. It is now enough to say that it consists of a 480 x 640 matrix of pixels; RGB data www.ijmetmr.com Page 108

A Peer Reviewed Open Access International Journal is sent serially to the monitor; and that control is accomplished by setting the VSYNC and HSYNC signals at the appropriate times. General description of Displayer module: Displayer is responsible for conditioning the value of the data sample stored in memory, in order for it to be displayed on a VGA monitor. It then goes on to display the trace stored in memory. Displayer runs continuously. Figure summarizes the Displayer module. IV.SYSTEM DESIGN: The Working Principle and design parameters of a CRT Display: System Structure: Microcontroller indexes the character dot matrix of the text information (character code) which will be displayed in the Chinese character dot matrix library ROM (29C040), when then horizontal and vertical signals retrace period, and extracts 32 bytes of Chinese character dot matrix data, then deposit them in the 32K display buffer RAM (62256). 2. The CPLD produces the line synchronization, frame synchronization signal at speed of 72Hz field frequency and 31KHz line frequency, at the same time generates the address code and read the dot matrix bytes in the display buffer RAM, then sends into the shift register and shifts out to the video control logic to form the output signal of the display. CRT display use lum signal to control the electron gun eradiating electrons, use two scan signals to control the electrons shooting the given dot of the screen, so that a picture forms. The CRT monitor is composed of five parts, which are electron gun, defection coil, shadow mask, the phosphor layer and scanning circuit. Raster scan can be used by the electron beam, which scans point from the top left of the screen, point by point to the right, then form a horizontal line; to reach the far right, back to the next horizontal line of the left, repeat the above procedure. When the electron beam scans the lower right corner point of scanning, the frame is formed. Since then, the electron beam back to the top left of the starting point begin the next frame scan. In this way the images and texts are displayed on the monitor. Figure 6: Horizontal and vertical scan timing schematic Figure 7: the structure of CRT controller based on CPLD In the video viewing area, the CPLD reads RAM memory for dot matrix display, while generating inverting field signal hv_syn is high, so that the microcontroller stops write character dot-matrix information to the memory. When the hv_syn signal is low at the inverting blanking field, the CPLD will output the address switch to the address bus of the microcontroller. The microcontroller opens the tri-state data bus 245 by movx instruction and the A15=0, to write dot matrix Chinese character to the memory RAM, in order to avoid the conflict of memory read and write data. Memory ROM, according to Chinese character code from small to large in turn stores the primary and secondary Chinese character dot matrix. Because the character dot matrix is16 16, so each character takes up 32 bytes. For each Chinese character, to retrieve the corresponding 32 bytes dot-matrix information and then write to the display buffer RAM. www.ijmetmr.com Page 109

A Monthly Peer Reviewed Open Access International e-journal The way of character dot-matrix datum stored in RAM, is called screen memory-mapped, which is each pixel on the screen corresponds to a RAM storage unit. Because CRT controller display line by line on the screen, so 32 bytes written to memory is to increase every two byte address 50H, then the pointer to the next line at the same colum. DEVICE UTILIZATION REPORT: V.RESULTS: Simulation result of cathode ray tube: Figure 11: device utilization report of cathode ray tube VI.CONCLUSION: Figure 8: simulation result of cathode ray tube TIMING REPORT: Figure 9: timing report of cathode ray tube RTL SCHEMATIC: According to the working principle and technical indicators of the display, combined with design requirements, the paper puts forward system parameters about text display to achieve a CRT controller based on CPLD, which is achieved by simulating and testing. The design of CRT controller based on EDA, which is applied to the digital speech terminals, not only reduces the complexity of the digital electronic system, but also significantly enhances the flexibility of design, system integration and reliability. Which is also once again confirmed Electronic Design Automation (EDA) technology has infiltrated into the electronic system and ASIC design chain, the software has been applied to a variety of electronic design and simulation, the circuit design, adjustment and improvement are more efficient and convenient. REFERENCES: [1] Yanping Wang. CRTC screen display controllers principles and applications of the MC6845, International Electronic Elements, vol.3, pp. 24-27, March 1988. [2] Yunfeng Dong. A CRT display interface and its application composed of MC6847, Journal of KunMing Metallurgy College, 3rd ed.,vol.13, pp.53-56, September 1997. Figure 10: RTL schematic of cathode ray tube [3] Wenzhan Lai. Computer display technology manual. Beijing: Publishing House of Electronics Industry, 1992. www.ijmetmr.com Page 110

A Peer Reviewed Open Access International Journal [4] Liudi Chang, Changmin Dang. Display Technology. Beijing: Beijing Institute of Technology Press, 1993. [5] Guoxian Peng. Display Technology and Display Devices, Beijing: Posts & Telecom Press, 1981. [6] Xiangsheng Huang. The design for display and management based on CPLD, Journal of East China Institute of Technology, 1st ed., vol.30, pp.70-72, 2007 [7] Jiao Yang, Guofang Hao,Kangling Fang. A design of LED large screen display system based on cyclone EP1C6, Control & Automation, 2nd ed., vol.22 pp.59-61, 2006 [8] Guoqiang Jiang. VHDL Design of Digital Systems, Beijing: China Machine Press, 2009. www.ijmetmr.com Page 111