当前位置:网站首页>Design of vga/lcd display controller system based on FPGA (Part 1)
Design of vga/lcd display controller system based on FPGA (Part 1)
2022-06-24 15:11:00 【FPGA technology Jianghu】
be based on FPGA Of VGA/LCD Display controller system design ( On )
Today, I bring you FPGA Of VGA/LCD Display controller design , Because of the long space , It is divided into three parts . Today I bring the first one , Part 1 ,VGA Display principle and VGA/LCD Display the basic framework of the controller , Don't talk much , Loading .
There were also image processing and VGA Show related articles , Great Xia, you can search by yourself .
Source series : be based on FPGA Of VGA Drive design ( Source attached works )
be based on FPGA Real time image edge detection system design ( On )
be based on FPGA Real time image edge detection system design ( in )
be based on FPGA Real time image edge detection system design ( Next )
Reading guide
VGA (Video Graphics Array) Video graphics array , yes IBM On 1987 Annual follow PS/2 machine (PersonalSystem 2) A video transmission standard using analog signals . This standard is very outdated for today's PC market . But at that time, it had high resolution 、 The display speed is fast 、 Rich colors, etc , It has been widely used in the field of color display , It is a low standard supported by many manufacturers .
LCD ( Liquid Crystal Display For short ) Liquid crystal display .LCD The structure is to place a liquid crystal cell between two parallel glass substrates , The lower base plate is arranged on the glass TFT( Thin film transistor ), A color filter is arranged on the upper substrate glass , adopt TFT The rotation direction of liquid crystal molecules is controlled by changing the signal and voltage on the liquid crystal , So as to control whether the polarized light of each pixel is emitted or not and achieve the purpose of display . According to the different backlights ,LCD Can be divided into CCFL A display and a LED There are two types of monitors .LCD Has replaced CRT The mainstream , Prices have also fallen a lot , And has been fully popularized .
In the previous article, I introduced how to get 、 Process the video signal provided by the camera , In practical application, the processed signals need to be displayed on the display . This process is opposite to that in signal processing , The composition of digital signals according to the system of TV signals conforms to the time sequence 、 Signal with required format , And add various synchronization signals for control . This article will pass FPGA Achieve one VGA/LCD Displays an instance of the controller , And the implementation process is introduced in detail .
The first content abstract : Introduction VGA Display principle , Including the principle of image display 、 Common video display standards ; It will also introduce VGA/LCD Display the basic framework of the controller and other related contents .
One 、VGA Display principle
In the design VGA Display the implementation process of the controller , The first thing to understand is VGA Display principle of .
1.1 Image display principle
VGA The display controller controls the image signal to be transmitted to the display through the cable and displayed . The current display technology mainly includes two types :CRT(Cathode Ray Tube, crt ) and LCD(Liquid Crystal Display, LCD screen ).CRT The electron beam of the electron gun is controlled to scan line by line and point by point by frame synchronization signal and line synchronization signal , Strike an electron on a fluorescent spot , Make it glow .
Through the role of visual persistence , What you see is a complete picture .LCD And CRT similar , It is also a dynamic scanning . but CRT It's analog , Controlled by circuit , The electron beam can move freely ; and LCD It's digital , There is only a fixed current path , So you can only scan line by line through the circuit matrix , Not point by point , That is, all points on a line work at the same time .CRT The connection diagram of the display is shown in the figure 1 Shown .
chart 1 CRT Schematic diagram of display connection
VGA Display controller control CRT The process of displaying the image is shown in Figure 2 Shown .
chart 2 VGA Display controller control CRT Block diagram of the display
The scanning process of the electron gun is synchronized 、 Field synchronization and other control signals , Including horizontal scanning 、 Horizontal retrace 、 Vertical scanning 、 Vertical retrace, etc , Pictured 3 Shown .
chart 3 Scanning process
1.2 Common video display standards
Video display standards have been gradually improved with the continuous progress of display technology and technology :
- The first to display characters was MDA standard (Monochrome Display Adapter, Monochrome display adapter interface ), Only character display mode is supported , Only black and white , Display specifications 80 Column ×25 That's ok , A resolution of 720×350.
- CGA standard (Color Graphic Adapter, Color graphics adapter interface ), Support color image mode , Display specifications from 40 Column ×25 Row to 80 Column ×25 That's ok , Colors range from black and white to 16 color .
- EGA standard (Enhanced Graphics Adapter, Enhanced graphics adapter interface ), In addition to compatibility MDA、CGA Out of standard , Enhanced mode is also supported , The graphic display specifications are from 320×200 To 640×350, Colors range from black and white to 16 color .
- VGA standard (Video Graphies Array, Video graphics array ), In addition to being compatible with the above standards , It also includes QVGA、VGA、SVGA And so on , Support from the 640×480 To 800×600 And other higher display specifications . What is commonly used at present is VGA standard , The following examples will describe VGA Standard display controller .
Two 、VGA/LCD Display the basic framework of the controller
VGA The program framework of the display controller is shown in the figure 4 Shown . This VGA/LCD The display controller provides access to CRT、LCD Support for , It is suitable for the development of embedded system .
chart 8-4 VGA Display controller program framework
VGA The program framework of the display controller includes the following main parts :
- Color lookup table The color lookup table saves 256 Color resolution R、G、B All possible colors , So it's a piece 256×24 Bit static RAM District , Each pixel consists of R、G、B Each color 8 Bit data composition , The program includes two such color lookup tables , altogether 512×24 position .
- register Including all kinds of control required by the whole program 、 Status register .
- Color processor Used to convert the received pixel data into RGB Color information .
- Cursor processor Used to convert saved cursor information into visible cursor .
- Output FIFO Used to ensure continuous data flow output to VGA perhaps LCD On the monitor .
- Video timing generator Used to generate various synchronization signals required for display , Such as field synchronization 、 Line synchronization 、 Composite synchronous signal, etc .
This is the end of this article , The next one is based on FPGA Of VGA/LCD Display controller design ( in ),VGA/LCD Implementation of display controller program , Including top-level programs 、 Color lookup table 、 Color processor 、 Cursor processor 、 Video timing generator and output FIFO And so on .
边栏推荐
- GO语言-goroutine协程的使用
- laravel8使用faker调用工厂填充数据
- 3环杀掉360安全卫士进程
- Do you really know the difference between H5 and applet?
- [bitbear story collection] June MVP hero story | technology practice collision realm thinking
- US Senate promotes bipartisan gun safety bill
- leetcode.12 --- 整数转罗马数字
- 【ansible问题处理】远程执行用户环境变量加载问题
- [pytoch] quantification
- 简谈企业Power BI CI /CD 实施框架
猜你喜欢

List of PostgreSQL
Record the range of data that MySQL update will lock
Redis consistency hash and hash slot

I have been in the industry for 4 years and have changed jobs twice. I have learned a lot about software testing

Linux Installation cenos7 MySQL - 8.0.26

Virtual machines on the same distributed port group but different hosts cannot communicate with each other

Multimeter resistance measurement diagram and precautions

【比特熊故事汇】6月MVP英雄故事|技术实践碰撞境界思维

The "little giant" specialized in special new products is restarted, and the "enterprise cloud" digital empowerment

How to avoid placing duplicate orders
随机推荐
Service visibility and observability
PgSQL queries the largest or smallest data of a field in a group
Qunhui synchronizes with alicloud OSS
[pytoch] quantification
Stm32f1 and stm32cubeide programming examples -ws2812b full color LED driver (based on spi+dma)
SSH keygen configuration does not require entering a password every time
Record the range of data that MySQL update will lock
Redis interview questions
R language constructs regression model diagnosis (normality is invalid), performs variable transformation, and uses powertransform function in car package to perform box Cox transform to normality on
box-sizing
tongweb使用之端口冲突处理办法
IList of PostgreSQL
Linux 安装 CenOS7 MySQL - 8.0.26
How to implement redis cache of highly paid programmers & interview questions series 115? How do I find a hot key? What are the possible problems with caching?
ES mapping之keyword;term查询添加keyword查询;更改mapping keyword类型
实战 | 记一次曲折的钓鱼溯源反制
在宇宙的眼眸下,如何正确地关心东数西算?
R语言构建回归模型诊断(正态性无效)、进行变量变换、使用car包中的powerTransform函数对目标变量进行Box-Cox变换(Box–Cox transform to normality)
CVPR2022 | 可精簡域適應
Redis consistency hash and hash slot