1 COMP541 Video Monitors Montek Singh Oct 1, 2014.

Slides:



Advertisements
Similar presentations
“A Simplified Viewpoint??”
Advertisements

Monitors and Sound Systems
Computer Graphics- SCC 342
Introduction to Raster scan display C A E D C Computer Aided Engineering Design Centre.
1 COMP541 More on State Machines and Video Scanout Montek Singh Feb 13, 2007.
Monitors and Sound Systems lesson 5 This lesson includes the following sections:  Monitors  PC Projectors  Sound Systems.
C HAPTER 20: G ETTING T ECHNICAL – T HE V IDEO S IGNAL.
Monochrome Television Block Diagram
Display Technology  Images stolen from various locations on the web...
Screen Monitor Visual display unit (VDU)
EET 450 – Advanced Digital Video Display Systems.
Imaging Science Fundamentals Chester F. Carlson Center for Imaging Science Display Systems Viewing Images.
Display CMSC 435/ Light Visible Range: nm Luminance has large dynamic range – Moonless overcast night sky – 30. Sky on overcast day.
Computer Monitors B. Konkoth. Types of monitors CRT Cathode Ray Tube LCD Liquid Crystal Display.
Monitors and Sound Systems section 3A This lesson includes the following sections: · Monitors · PC Projectors · Sound Systems.
1 CCTV SYSTEMS CCTV MONITORS. 2 CCTV SYSTEMS A monitor simply allows remote viewing of cameras in a CCTV system from a control room or other location.
Win OS & Hardware. Monitors Most desktop displays use a cathode ray tube (CRT), while portable computing devices use liquid crystal display (LCD), light-
VGA Interface1 CRT Display Technology zCathode Ray Tube yElectron gun fires electrons at the screen yElectric field steers the electron (X field and Y.
Power Supplies. Basics Power Supply Unit aka PSU Converts 110/220VAC to 3.3, ±5, ±12 VDC There is a 5VDC standby in ATX PSU Rating is in Watts. More is.
Video Monitor Uses raster scanning to display images
Diff b/w Raw & composite Video signal Raw video signal: Raw video is the signal created by the tube or imager of the camera. Raw video on an average, measure.
Data Transmission No. 1  Seattle Pacific University Data Transmission: Data and Signals Based on Chapter 3 of William Stallings, Data and Computer Communication,
Lecture 03 Fasih ur Rehman
CHAPTER 1 Installing and Supporting I/O Devices Suraya Alias.
BY Kamran Yousaf Computer Graphics & Animation. BY Kamran Yousaf Contents Introduction Usage, Application & Advantages Video Display Devices Output Devices.
Lecture No. 3.  Screen resolution  Color  Blank space between the pixels  Intentional image degradation  Brightness  Contrast  Refresh rate  Sensitivity.
Video Monitor Uses raster scanning to display images –Beam of electrons illuminates phosphorus dots on the screen called pixels. Starting at the top of.
Computer Graphics Hardware
ECE 448: Lab 6 VGA Display (mini chess game). Video Graphic Array (VGA) Resolution: 640x480 Display: 16 colors (4 bits), 256 colors (8 bits) Refresh Rate:
Introduction to Experiment 5 VGA Signal Generator ECE 448 Spring 2009.
L 13: – Spring Introductory Digital Systems Laboratory L13 - Video Slides 2-10 courtesy of Tayo Akinwande Take the graduate course,
George Mason University ECE 448 – FPGA and ASIC Design with VHDL VGA Display Part 1 VGA Synchronization ECE 448 Lecture 9.
Overview of Graphics Systems. Cathode-ray Tube (CRT) - colors are represented using Red, Green, and Blue components - the CRT has a mechanism for.
1 COMP541 More on State Machines; and Video Scanout Montek Singh Feb 16, 2010.
Introduction to VGA 數位電路實驗 TA: 吳柏辰 Author: Trumen.
Video Monitor CRT: Cathode Ray Tube
Pulse-Height Analyzers Basic Functions Single Channel Analyzers Time Methods Multi-channel Analyzers.
COMP541 Video Monitors Montek Singh Oct 2, 2015.
Hardware used in Multimedia Systems. Hardware demands on multimedia systems Multimedia puts huge demands on a computer system, so designers and users.
Lecture # 4 Output Devices. Output Devices Devices that convert machine language into human understandable form. Output can be in display form, on paper.
Introduction to Graphical Hardware Display Technologies
Display Technology  Images stolen from various locations on the web...
 Video Display Devices Video Display Devices  Cathode-ray tube (CRT) Monitors Cathode-ray tube (CRT) Monitors  Display Technologies Display Technologies.
2/1 A Look at Monitors Roll call Video: monitors Step-by-step lecture.
Ch5: TELEVISION.
ECE 448: Lab 4 VGA Display. Bouncing Ball.. Organization and Grading.
Beam Penetration & Shadow Mask Method
Computer Fundamentals MSCH 233 Lecture 5. The Monitor A Monitor is a video screen that looks like a TV. It displays both the input data and instructions,
K.B.H.POLYTECHNIC,MALEGAON CAMP, MALEGAON. Computer Hardware & Maintenance. S.Y.C.M/I.F Guided By :- Mr.K.S.Pawar. Lecturer in Computer Department.
CRT Display Technology
10/19 Monitors CRT monitors: Flat-panel displays Electron guns
Hardware Components Display. 1.Display (Monitor) The screen is made up of thousands of picture elements or pixels Displays can be either CRT (Cathode.
Week 9 Monitors and output to the screen. Monitors, also known as Visual display units (V.D.Us) Desktop computers contain a Cathode Ray Tube (C.R.T.)
Computer Graphics Lecture -02. Frame Buffer The image being displayed is stored in a dedicated system memory area that is often referred.
1.  The primary output device in a graphics system is a video monitor. These monitors are based on Cathode Ray Tube (CRT) design.  CRT is a vacuum tube/electron.
1 COMP541 Video Monitors Montek Singh Mar 11, 2016.
How Does Your TV Work? A brief introduction.. Two Amazing Things about the Brain 1.Connecting the dots Pixels and resolution 2.Connecting the frames 15.
Implementation of Pong over VGA on the Nexys 4 FPGA
COMP541 Video Monitors Montek Singh Oct 7, 2016.
COMP541 Video Monitors Montek Singh Sep 15, 2017.
VGA Display Part 1 VGA Synchronization
Computer Graphics Lecture 3 Computer Graphics Hardware
Overview of Graphics Systems
COMP541 Video Monitors Montek Singh Feb 20, 2015.
Monitors and Sound Systems
Introduction to VGA Digital Circuit Lab TA: Po-Chen Wu.
COMP541 Video Monitors Montek Singh Feb 6, 2019.
Chapter 2 Overview of Graphics Systems
This lesson includes the following sections:
VGA Display: VGA Synchronization & Pixel Generation
Presentation transcript:

1 COMP541 Video Monitors Montek Singh Oct 1, 2014

Outline  Last Friday’s lab Tips/discussion Tips/discussion  How to generate video signal 2

How about making a BCD stop watch?  Each digit counts 0 to 9, and then wraps around i.e., display is decimal number, not hex i.e., display is decimal number, not hex  Do the following: Separate the 16-bit number into four 4-bit numbers Separate the 16-bit number into four 4-bit numbers  reg [3:0] A3, A2, A1, A0;  For A0: on each clock tick… –if this digit is 9, change it to 0, else add 1 to it  For A1, A2, A3: on each clock tick… –if all lower A’s are at 9, then »if this digit is 9, change it to 0, else add 1 to it –else this digit does not change Slow it down to tick once per 1/100 second Slow it down to tick once per 1/100 second  have a separate counter to count 2 20 clock ticks (~1/100 th sec)  update the 4-digit number only whenever this counter fills up! 3

Reminder: Good Verilog Practices  Best to use single clock for all FFs Make all signals synchronous to one clock Make all signals synchronous to one clock  button) etc.  clock) Avoids “weird” and frustrating problems Avoids “weird” and frustrating problems  Multiple modules Tested individually Tested individually Top level has input and outputs Top level has input and outputs  One module per file Just to make it easier to follow and test Just to make it easier to follow and test 4

VGA Monitors 5

6 How Do Monitors Work?  Origin is TV, so let’s look at that LCDs work on different principle, but all signaling still derived from TV of 1940s LCDs work on different principle, but all signaling still derived from TV of 1940s  Relies on your brain to do two things Integrate over space Integrate over space Integrate over time Integrate over time

Many Still Images  Video (and movies) are a series of stills If stills go fast enough your brain interprets as moving imagery If stills go fast enough your brain interprets as moving imagery  Hz or more to not see flicker –“1 Hz” means once per second In fact, even if the scene does not change… In fact, even if the scene does not change…  … a single “still” image is displayed repeatedly over time  Why? Phosphor persistence varies 7

Cathode Ray Tube (CRT) 8 From wikipedia:

Deflection Coils 9

Simple Scanning TV  Electron beam scans across  Turned off when Scanning back to the left (horizontal retrace ----) Scanning back to the left (horizontal retrace ----) Scanning to the top (vertical retrace ____) Scanning to the top (vertical retrace ____) 10

Scanning: Interlaced vs. Progressive  (Some) TVs use interlacing Every other scan line is swept per field Every other scan line is swept per field Two fields per frame (30Hz) Two fields per frame (30Hz) Way to make movement less disturbing Way to make movement less disturbing  Computers use progressive scan Whole frame refreshed at once Whole frame refreshed at once 60Hz or more, 72Hz looks better 60Hz or more, 72Hz looks better  Similar notation used for HD i = interlaced (1080i) i = interlaced (1080i) p = progressive (1080p) p = progressive (1080p) which better? which better? 11

Color  Three colors of phosphor three beams, one each for the three phosphors three beams, one each for the three phosphors Black: all beams off Black: all beams off White: all beams on White: all beams on 12 Picture is a bit misleading. Mask (or aperture grill) ensures beams hit only correct color phosphor.

What about LCD?  How do LCD monitors work? internals are very different internals are very different  no beams, tubes  made up of tiny LCD cells However, external signaling is the same! However, external signaling is the same!  for compatibility  Same goes for micro-mirror projectors 13

14 VGA Signaling  Timing signals horizontal sync (hsync) & vertical sync (vsync) horizontal sync (hsync) & vertical sync (vsync)  Color values: R, G, B total 8 bits for Nexys 3 (rrrgggbb), 12 bits for Nexys 4 (rrrrggggbbbb) total 8 bits for Nexys 3 (rrrgggbb), 12 bits for Nexys 4 (rrrrggggbbbb) Nexys 3 Nexys 4 digital to analog converter

VGA Timing  You supply two pulses hsync and vsync hsync and vsync allow the monitor to lock onto timing allow the monitor to lock onto timing One vsync per frame One vsync per frame One hsync per scan line One hsync per scan line  hsync does not stop during vsync pulse 15 Image from dell.com

Horizontal Timing Terms  Horizontal timing: hsync pulse hsync pulse Back porch (left side of display) Back porch (left side of display) Active Video Active Video  Video should be blanked (not sent) at other times Front porch (right side) Front porch (right side) 16 Picture not accurate for our case; just for illustration. Video and HSYNC not on same wire

Horizontal Timing Horizontal Dots Horiz. Sync Polarity NEG Scanline time (A) us Sync pulse length (B) 3.77 us Back porch (C) 1.89 us Active video (D) us Front porch (E) 0.94 us Image from This diagram shows video as a digital signal. It’s not – video is an analog level. us = microsecond

Vertical Timing (note ms, not us) 18 Vert. Sync Polarity NEG Vertical Frequency 60Hz Total frame time (O) ms Sync length (P) 0.06 ms Back porch (Q) 1.02 ms Active video (R) ms Front porch (S) 0.35 ms

Timing as Pixels  Easiest to derive all timing from single-pixel timing  How “long” is a pixel? Active video / number of pixels Active video / number of pixels us / 640 = 39.32ns us / 640 = 39.32ns Conveniently close to 25 MHz – just use that Conveniently close to 25 MHz – just use that Actual VESA spec is MHz Actual VESA spec is MHz 19

Standards  640 x 480 (sometimes x 60Hz) is “VGA” I will give you spec sheets in lab I will give you spec sheets in lab  You can try for 800x600 at 60 Hz (40 MHz exactly) or 800x600 at 72 Hz (50 MHz exactly) or 800x600 at 72 Hz (50 MHz exactly)  Note that some standards have vsync and hsync positive true, some negative true choose correct polarity choose correct polarity determine by experimentation! determine by experimentation! 20

Color Depth  Voltage of each of RGB determines color Nexys 3: Nexys 3:  3-bit for red and green, 2-bit for blue Nexys 4: Nexys 4:  4-bit for red, green and blue All on for white All on for white 21 Nexys 3 Nexys 4

What To Do Friday 1. Show previous lab’s demo 2. Make Verilog module to generate hsync, vsync, horizontal count, vertical count, and signal to indicate active video hsync, vsync, horizontal count, vertical count, and signal to indicate active video 3. Use higher-level module to drive RGB using counts gated by active Just do something simple (stripes, checkerboard, diagonals) Just do something simple (stripes, checkerboard, diagonals) 4. Later we will use memory addressed by counts to make terminal 22

23 What do you Need for VGA?  Think first Need counter(s)? Need counter(s)? Will you need a state machine? Will you need a state machine?  Sketch out a design Block diagram Block diagram  Test individually in lab  Keep in mind Verilog has all these operators (and more; see Verilog ref.) Verilog has all these operators (and more; see Verilog ref.) ==,, = ==,, =

VGA Links  VGA Timing Recommended: Recommended:  Interesting