当前位置:网站首页>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 .
边栏推荐
- 高薪程序员&面试题精讲系列115之Redis缓存如何实现?怎么发现热key?缓存时可能存在哪些问题?
- Database considerations
- R语言构建回归模型诊断(正态性无效)、进行变量变换、使用car包中的powerTransform函数对目标变量进行Box-Cox变换(Box–Cox transform to normality)
- R语言plotly可视化:可视化模型在整个数据空间的分类轮廓线(等高线)、meshgrid创建一个网格,其中每个点之间的距离由mesh_size变量表示、使用不同的形状标签表征、训练、测试及分类标签
- 同样是初级测试工程师,为啥他薪资高?会这几点面试必定出彩
- Chapter 8 operation bit and bit string (4)
- Brief discussion on the implementation framework of enterprise power Bi CI /cd
- openinstall携手书链:助力渠道数据分析,共创书联网时代
- Bitmap of redis data structure
- R语言plotly可视化:使用plotly可视化数据划分后的训练集和测试集、使用不同的形状标签表征、训练集、测试集、以及数据集的分类标签(Display training and test split
猜你喜欢

laravel 8 实现Auth登录

Application of motion capture system in positioning and mapping of mobile robot in underground tunnel

业务与技术双向结合构建银行数据安全管理体系

Overview of SAP marketing cloud functions (IV)

不要小看了积分商城,它的作用可以很大

Laravel8 uses faker to call factory to fill data

Linux Installation cenos7 MySQL - 8.0.26

Multimeter resistance measurement diagram and precautions

Py之toad:toad的简介、安装、使用方法之详细攻略

探索云原生数据库,纵观未来科技发展
随机推荐
探索云原生数据库,纵观未来科技发展
R语言实战应用精讲50篇(二十三)-贝叶斯理论重要概念: 可信度Credibility, 模型Models, 和参数Parameters
09_ An efficient memory method
业务与技术双向结合构建银行数据安全管理体系
Bert whitening vector dimension reduction and its application
R language plot visualization: use plot to visualize the training set and test set after data division, use different shape label representation, training set, test set, and display training and test
Cvpr2022 𞓜 thin domain adaptation
update+catroot+c000021a+critical service failed+drivers+intelide+viaide+000000f
List of PostgreSQL
Method after charging the idea plug-in material theme UI
安装wireshark时npcap怎么都安装不成功,建议先用winpcap
在同花顺开户证券安全吗,需要什么准备
缓存使用中Redis,Memcached的共性和差异分析
update+catroot+c000021a+critical service failed+drivers+intelide+viaide+000000f
MySQL log management, backup and recovery
Bitmap of redis data structure
Cvpr2022 | domaine compact adaptable
Linux Installation cenos7 MySQL - 8.0.26
PgSQL queries the largest or smallest data of a field in a group
Golang implements BigInteger large number calculation