[go: up one dir, main page]

CN102768819A - OLED real-time display drive control system and control method thereof - Google Patents

OLED real-time display drive control system and control method thereof Download PDF

Info

Publication number
CN102768819A
CN102768819A CN2012102468021A CN201210246802A CN102768819A CN 102768819 A CN102768819 A CN 102768819A CN 2012102468021 A CN2012102468021 A CN 2012102468021A CN 201210246802 A CN201210246802 A CN 201210246802A CN 102768819 A CN102768819 A CN 102768819A
Authority
CN
China
Prior art keywords
video
image
oled
decoding module
signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2012102468021A
Other languages
Chinese (zh)
Other versions
CN102768819B (en
Inventor
李贵娇
李金宝
张浩然
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
No 214 Institute of China North Industries Group Corp
Original Assignee
China North Industries Group Corp No 214 Research Institute Suzhou R&D Center
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China North Industries Group Corp No 214 Research Institute Suzhou R&D Center filed Critical China North Industries Group Corp No 214 Research Institute Suzhou R&D Center
Priority to CN201210246802.1A priority Critical patent/CN102768819B/en
Publication of CN102768819A publication Critical patent/CN102768819A/en
Application granted granted Critical
Publication of CN102768819B publication Critical patent/CN102768819B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

The invention relates to an OLED (organic light emitting diode) real-time display driving control system which comprises a video decoding module, a video processor and a video memory. Video signals are inputted through an input end of the video decoding module, an output end of the video decoding module is connected with the video processor which is connected with the video memory, an output end of the video processor is connected with an OLED display module, an FPGA (field programmable gate array) serves as the video processor, and an SRAM (static random access memory) serves as the video memory. The control method of the OLED real-time display driving control system includes four portions of video decoding module initialization, video acquisition, video storage and video displaying, and the four portions are in cooperative operation under the control of the video processor to finally realize real-time display of video images on the OLED display module. The FPGA is used as the video processor while the SRAM is used as the video memory, data processing speed can be greatly increased by the aid of the control method, and the OLED real-time display driving control system has real-time processing and video image information storing capacities to enable the OLED to play dynamic video images in real time.

Description

OLED实时显示驱动控制系统及其控制方法OLED real-time display drive control system and control method thereof

技术领域 technical field

本发明涉及一种用于控制OLED显示装置进行实时显示的驱动控制系统及该系统所采用的控制方法。 The invention relates to a drive control system for controlling an OLED display device to perform real-time display and a control method adopted by the system.

背景技术 Background technique

OLED(有机电致发光二极管)是一种电致发光的显示器件,由流过屏的电流驱动有机材料产生发光效应,所以属于电流驱动的发光元件。OLED技术是一种新型的平板显示技术,和目前主流的平板显示技术LCD相比,OLED技术具有能耗小、可视角度大、体积小、响应速度快、全固态、宽工作温度环境等优势,目前已经在数码显示领域得到广泛应用,并且随着理论研究的不断完善和制造工艺的不断改进,大有取代LCD技术成为平板显示主流技术的趋势。 OLED (Organic Electroluminescent Diode) is an electroluminescent display device. The organic material is driven by the current flowing through the screen to produce a luminous effect, so it belongs to the current-driven light-emitting element. OLED technology is a new type of flat-panel display technology. Compared with the current mainstream flat-panel display technology LCD, OLED technology has the advantages of low energy consumption, large viewing angle, small size, fast response speed, full solid state, and wide operating temperature environment. , has been widely used in the field of digital display, and with the continuous improvement of theoretical research and continuous improvement of manufacturing technology, there is a tendency to replace LCD technology and become the mainstream technology of flat panel display.

传统的OLED显示驱动控制方案采用单片机作为微处理器,采用flash作为图像信息存储器。单片机的数据处理速度以及flash的读写速度均难以满足高速的视频图像处理要求,这就造成OLED在播放视频图像时只能重复播放,无法进行实时动态播放。 The traditional OLED display driving control scheme uses a single-chip microcomputer as a microprocessor, and uses flash as an image information memory. The data processing speed of the single-chip microcomputer and the reading and writing speed of the flash are difficult to meet the requirements of high-speed video image processing, which causes OLED to play video images repeatedly, and cannot perform real-time dynamic playback.

发明内容 Contents of the invention

本发明的目的是提供一种可以驱动OLED进行实时显示的驱动控制系统及该系统所采用的控制方法。 The object of the present invention is to provide a driving control system capable of driving OLEDs for real-time display and a control method adopted by the system.

为达到上述目的,本发明采用的技术方案是: In order to achieve the above object, the technical scheme adopted in the present invention is:

一种OLED实时显示驱动控制系统,用于驱动OLED显示模块实现实时显示,其包括视频解码模块、视频处理器、视频存储器,视频信号由所述的视频解码模块的输入端输入,所述的视频解码模块的输出端与所述的视频处理器相连接,所述的视频存储器与所述的视频处理器相连接,所述的视频处理器的输出端与所述的OLED显示模块相连接,所述的视频处理器采用FPGA,所述的视频存储器采用SRAM。 An OLED real-time display driving control system, used to drive an OLED display module to realize real-time display, it includes a video decoding module, a video processor, a video memory, the video signal is input by the input terminal of the video decoding module, and the video The output end of the decoding module is connected with the video processor, the video memory is connected with the video processor, the output end of the video processor is connected with the OLED display module, and the Said video processor adopts FPGA, and said video memory adopts SRAM.

优选的,所述的视频存储器包括两个视频存储模块,所述的视频存储模块分别与所述的视频处理器相连接。 Preferably, the video storage includes two video storage modules, and the video storage modules are respectively connected to the video processor.

一种上述OLED实时显示驱动控制系统的控制方法,其包括 A control method of the above-mentioned OLED real-time display drive control system, which includes

(1)视频解码模块初始化:当所述的OLED实时显示驱动控制系统启动时,所述的视频处理器对所述的视频解码模块内的各个寄存器进行初始化配置; (1) Video decoding module initialization: when the OLED real-time display drive control system is started, the video processor initializes and configures each register in the video decoding module;

(2)视频采集:当所述的视频解码模块初始化配置成功后,若所述的视频解码模块在其输入端检测到视频信号,则所述的视频解码模块将所述的视频信号进行解码处理后向所述的视频处理器输出数字信号及若干个同步参考信号,所述的视频处理器采集所述的数字信号中每帧图像的图像信息; (2) Video acquisition: After the initialization and configuration of the video decoding module is successful, if the video decoding module detects a video signal at its input end, the video decoding module will decode the video signal Output digital signal and several synchronous reference signals to described video processor behind, described video processor collects the image information of every frame image in described digital signal;

所述的同步参考信号包括奇偶场标志信号、场同步参考信号、行同步参考信号、像素时钟;设定所述的视频解码模块输入至所述的视频处理器的数字信号中,每帧图像的分辨率为m×n;在采集一帧图像的图像信息时,所述的奇偶场标志信号的高电平区间和低电平区间分别对应一帧图像的奇数场和偶数场,在所述的奇数场或所述的偶数场中,当所述的场同步参考信号为高电平时,所述的视频处理器采集所述的奇数场或所述的偶数场中的m/2个像素行、每个像素行中n个有效像素的图像数据;每个所述的场同步参考信号的高电平的有效区间中,所述的行同步参考信号具有m/2个高电平的有效区间,且每个所述的行同步参考信号的高电平的有效区间中,包含n个所述的像素时钟,在每个所述的像素时钟的上升沿,所述的视频处理器采集每个有效像素的图像数据; Described synchronous reference signal comprises parity field sign signal, field synchronous reference signal, line synchronous reference signal, pixel clock; Set described video decoding module to input in the digital signal of described video processor, every frame image The resolution is m×n; when collecting the image information of a frame of image, the high-level interval and the low-level interval of the odd-even field flag signal correspond to the odd-numbered field and the even-numbered field of a frame of image respectively. In the odd field or the even field, when the field synchronization reference signal is at a high level, the video processor collects the m/2 pixel rows in the odd field or the even field, The image data of n effective pixels in each pixel row; in each of the high-level effective intervals of the field synchronization reference signal, the horizontal synchronization reference signal has m/2 high-level effective intervals, And each of the high-level effective intervals of the horizontal synchronization reference signal includes n pixel clocks, and at the rising edge of each pixel clock, the video processor collects each effective pixel image data;

(3)视频存储:所述的视频处理器将其采集到的图像信息以帧为单位写入所述的视频存储器中;写入所述的视频存储器的每帧图像的分辨率为a×b(a≤m,b≤n); (3) Video storage: the video processor writes the collected image information into the video memory in units of frames; the resolution of each frame of image written into the video memory is a×b (a≤m, b≤n);

将所述的视频存储器中的存储空间分为至少a个存储组,每个所述的存储组中包含至少b个存储单元;当所述的视频存储器的写使能信号有效时,每帧图像中的有效像素的图像数据写入所述的视频存储器的存储单元中,当所述的视频存储器的写使能信号无效时,所述的视频处理器准备下一即将写入的有效像素的图像数据及其在所述的视频存储器中所对应的存储单元的地址; The storage space in the video memory is divided into at least a storage groups, each of which contains at least b storage units; when the write enable signal of the video memory is valid, each frame of image The image data of the effective pixels in the memory is written in the storage unit of the video memory, and when the write enable signal of the video memory is invalid, the video processor prepares the image of the effective pixels to be written next Data and the address of the corresponding storage unit in the video memory;

所述的地址包括定位存储单元所在的存储组的组地址、定位存储单元在其所在的存储组中位置的单元地址;所述的组地址包括由有效行计数器产生的高位地址及由所述的奇偶场标志信号经反相器产生的低位地址,在所述的场同步参考信号的有效区间中,所述的有效行计数器在所述的行同步参考信号的上升沿开始计数,并在计满a/2个数后清零;所述的单元地址由有效像素计数器产生,在所述的行同步参考信号的有效区间中,所述的有效像素计数器在所述的像素时钟的上升沿开始计数,并在计满b个数后清零; The address includes the group address of the storage group where the storage unit is located, and the unit address of the location of the storage unit in the storage group where it is located; The low bit address generated by the parity field flag signal through the inverter, in the effective interval of the field synchronization reference signal, the effective line counter starts counting on the rising edge of the line synchronization reference signal, and counts when it is full Cleared after a/2 numbers; the unit address is generated by the effective pixel counter, and in the effective interval of the horizontal synchronization reference signal, the effective pixel counter starts counting on the rising edge of the pixel clock , and cleared to zero after counting b numbers;

(4)视频显示:在对所述的OLED显示模块内部的驱动芯片进行配置后,所述的视频处理器读取所述的视频存储器中的图像信息并输出给所述的OLED显示模块进行动态显示。 (4) Video display: After configuring the drive chip inside the OLED display module, the video processor reads the image information in the video memory and outputs it to the OLED display module for dynamic display. show.

优选的,所述的视频解码模块初始化过程中,所述的视频处理器通过IIC总线对所述的视频解码模块内的寄存器进行初始化配置;对每个所述的寄存器进行初始化配置时,所述的视频处理器首先发送起始信号后发送所述的视频解码模块的地址,所述的视频解码模块检测到所述的视频处理器所发送的地址与其自身的地址相同时,所述的视频解码模块发送第一应答信号,所述的视频处理器接收到所述的第一应答信号后传送需要访问的寄存器的地址,所述的视频解码模块接收到所述的寄存器的地址后发送第二应答信号,所述的视频处理器接收到所述的第二应答信号后传送需要写入到所述的寄存器的数据,所述的视频解码模块接收所述的数据后传送第三应答信号,所述的视频处理器接收到所述的第三应答器后发送停止位结束数据传输。 Preferably, during the initialization process of the video decoding module, the video processor initializes and configures the registers in the video decoding module through the IIC bus; when each of the registers is initialized and configured, the The video processor first sends the start signal and then sends the address of the video decoding module, and when the video decoding module detects that the address sent by the video processor is the same as its own address, the video decoding module The module sends the first response signal, the video processor transmits the address of the register to be accessed after receiving the first response signal, and the video decoding module sends the second response after receiving the address of the register signal, the video processor transmits the data that needs to be written into the register after receiving the second response signal, and the video decoding module transmits the third response signal after receiving the data, the After receiving the third responder, the video processor sends a stop bit to end the data transmission.

优选的,在所述的视频采集过程中,采用状态机对该过程进行总体控制;在初始状态下,当所述的状态机检测到所述的奇偶场标志信号为低电平时,则其进入第二状态;在所述的第二状态下,当所述的状态机检测到所述的奇偶场标志信号为高电平时,则其进入第三状态;在所述的第三状态下,当所述的状态机检测到所述的场同步参考信号为高电平时,则其进入第四状态;在所述的第四状态下,在所述的行同步参考信号为高电平时对所述的图像信息进行采集,当所述的状态机检测到所述的场同步参考信号为低电平时,则其进入第五状态;在所述的第五状态下,当所述的状态机检测到所述的场同步参考信号为高电平时,则其进入第六状态;在所述的第六状态下,在所述的行同步参考信号为高电平时对所述的图像信息进行采集,当所述的状态机检测到所述的场同步参考信号为低电平时,则其回到所述的初始状态。 Preferably, in the video acquisition process, a state machine is used to overall control the process; in the initial state, when the state machine detects that the parity field flag signal is low, it enters Second state; in the second state, when the state machine detects that the parity field flag signal is high, it enters the third state; in the third state, when When the state machine detects that the vertical synchronization reference signal is high level, it enters the fourth state; in the fourth state, when the horizontal synchronization reference signal is high level, the When the state machine detects that the field synchronization reference signal is low, it enters the fifth state; in the fifth state, when the state machine detects When the vertical synchronization reference signal is at a high level, it enters the sixth state; in the sixth state, the image information is collected when the horizontal synchronization reference signal is at a high level, and when When the state machine detects that the vertical synchronization reference signal is at low level, it returns to the initial state.

优选的,当由所述的视频解码模块传输至所述的视频处理器的数字信号中每帧图像的分辨率大于由所述的视频处理器写入所述的视频存储器中的每帧图像的分辨率时(即a<m,b<n时),控制所述的视频存储器的写使能信号为所述的像素时钟的x分频(x为正整数)来使每帧所述的图像的分辨率由m×n降低为a’×b’,其中a’=(m/x),b’=(n/x);若a’>a、b’>b时,提取每帧图像的前a行像素行、该a行像素行中前b个有效像素来实现图像分辨率的降低。 Preferably, when the resolution of each frame of image in the digital signal transmitted to the video processor by the video decoding module is greater than the resolution of each frame of image written in the video memory by the video processor When the resolution is high (that is, when a<m, b<n), the write enable signal of the video memory is controlled to divide the frequency of the pixel clock by x (x is a positive integer) to make the image of each frame The resolution is reduced from m×n to a'×b', where a'=(m/x), b'=(n/x); if a'>a, b'>b, extract each frame of image The first a row of pixel rows and the first b effective pixels in the a row of pixel rows are used to reduce the image resolution.

优选的,当所述的OLED实时显示驱动控制系统中的所述的视频存储器包括两个所述的视频存储模块时,相邻两帧图像的图像信息交替存入两个所述的视频存储模块中,且交替从两个所述的视频存储模块中读出所述的图像信息。 Preferably, when the video memory in the OLED real-time display drive control system includes two video storage modules, the image information of two adjacent frames of images is alternately stored in the two video storage modules , and alternately read the image information from the two video storage modules.

优选的,对所述的OLED显示模块内部的驱动芯片进行配置,包括指定OLED显示模块的数据传输格式和传输位宽、指定X方向的图像显示起始地址和终止地址、指定Y方向的图像显示起始地址和终止地址。 Preferably, configuring the drive chip inside the OLED display module includes specifying the data transmission format and transmission bit width of the OLED display module, specifying the image display start address and end address in the X direction, and specifying the image display in the Y direction. start address and end address.

由于上述技术方案运用,本发明与现有技术相比具有下列优点:本发明采用FPGA作为视频处理器,采用SRAM作为视频存储器,并结合控制方法,可大大提高数据处理速度,具备实时处理与存储视频图像信息的能力,使OLED能实时播放动态视频图像。 Due to the use of the above-mentioned technical solutions, the present invention has the following advantages compared with the prior art: the present invention adopts FPGA as video processor, SRAM as video memory, and in combination with control method, can greatly improve data processing speed, and has real-time processing and storage The ability of video image information enables OLED to play dynamic video images in real time.

附图说明 Description of drawings

附图1为本发明的OLED实时显示驱动控制系统的系统框架图。 Accompanying drawing 1 is the system frame diagram of OLED real-time display drive control system of the present invention.

附图2为本发明的OLED实时显示驱动控制系统的控制方法中视频处理器初始化配置视频解码模块寄存器的流程图。 Accompanying drawing 2 is the flow chart of video processor initialization configuration video decoding module register in the control method of OLED real-time display driving control system of the present invention.

附图3为本发明的OLED实时显示驱动控制系统的控制方法中有效像素与行同步参考信号的关系图。 Figure 3 is a diagram of the relationship between effective pixels and horizontal synchronization reference signals in the control method of the OLED real-time display drive control system of the present invention.

附图4为本发明的OLED实时显示驱动控制系统的控制方法中有效像素与像素时钟信号的关系图。 Figure 4 is a diagram of the relationship between effective pixels and pixel clock signals in the control method of the OLED real-time display drive control system of the present invention.

附图5为本发明的OLED实时显示驱动控制系统的控制方法中状态机的状态示意图。 Figure 5 is a schematic diagram of the state of the state machine in the control method of the OLED real-time display drive control system of the present invention.

附图6为本发明的OLED实时显示驱动控制系统的控制方法中写SRAM时序图。 Accompanying drawing 6 is the timing diagram of writing SRAM in the control method of the OLED real-time display driving control system of the present invention.

附图7为本发明的OLED实时显示驱动控制系统的控制方法中视频存储器的写地址信号发生器的逻辑框图。 Accompanying drawing 7 is the logical block diagram of the writing address signal generator of the video memory in the control method of the OLED real-time display driving control system of the present invention.

附图8为本发明的OLED实时显示驱动控制系统的控制方法中OLED显示模块的显示流程图。 Fig. 8 is a display flowchart of the OLED display module in the control method of the OLED real-time display driving control system of the present invention.

具体实施方式 Detailed ways

下面结合附图所示的实施例对本发明作进一步描述。 The present invention will be further described below in conjunction with the embodiments shown in the accompanying drawings.

实施例一:一种OLED实时显示驱动控制系统,用于驱动OLED显示模块实现实时显示。参见附图1所示。其包括视频解码模块、视频处理器、视频存储器,视频信号由视频解码模块的输入端输入,视频解码模块的输出端与视频处理器相连接,视频存储器与视频处理器相连接,视频处理器的输出端与OLED显示模块相连接,视频处理器采用FPGA,视频存储器采用SRAM。视频存储器包括两个视频存储模块,视频存储模块为相独立的SRAM,视频存储模块分别与视频处理器FPGA相连接。 Embodiment 1: an OLED real-time display driving control system, which is used to drive an OLED display module to realize real-time display. See attached drawing 1. It includes a video decoding module, a video processor, and a video memory, the video signal is input by the input end of the video decoding module, the output end of the video decoding module is connected with the video processor, the video memory is connected with the video processor, and the video processor The output end is connected with the OLED display module, the video processor adopts FPGA, and the video memory adopts SRAM. The video storage includes two video storage modules, the video storage modules are independent SRAMs, and the video storage modules are respectively connected with the video processor FPGA.

上述OLED实时显示驱动控制系统的控制方法具体包括视频解码模块初始化、视频采集、视频存储、视频显示四大部分,各部分在视频处理器FPGA的控制下协调工作,最终实现视频图像在OLED显示模块上实时显示。 The control method of the above-mentioned OLED real-time display drive control system specifically includes four parts: video decoding module initialization, video acquisition, video storage, and video display. displayed in real time.

(1)视频解码模块初始化:当OLED实时显示驱动控制系统上电启动时,视频处理器FPGA对视频解码模块内的各个寄存器进行初始化配置。 (1) Video decoding module initialization: When the OLED real-time display drive control system is powered on and started, the video processor FPGA initializes and configures each register in the video decoding module.

解码模块采用SAA7111A芯片,其内部包括32个寄存器,该芯片的各项功能均通过这32个寄存器控制。视频解码模块初始化过程中,视频处理器FPGA通过IIC总线对视频解码模块内的寄存器进行初始化配置,视频处理器FPGA作为主设备,而视频解码模块作为从设备。IIC总线由数据线SDA和时钟线SCL组成,标准模式下数据传输速率为100kbit/s。对每个寄存器进行初始化配置时,参见附图2所示,视频处理器FPGA首先发送起始信号,接着发送视频解码模块的地址(包括7位地址码和一位W/R,这里为0x48H),当视频解码模块检测到视频处理器FPGA所发送的地址与其自身的地址相同时,视频解码模块发送第一应答信号ACK;视频处理器FPGA接收到第一应答信号ACK后传送需要访问的寄存器的地址,视频解码模块接收到寄存器的地址后发送第二应答信号;视频处理器FPGA接收到第二应答信号后传送需要写入到寄存器的数据,视频解码模块接收到数据后传送第三应答信号,视频处理器FPGA接收到第三应答信号则表示传输成功,接着发送停止位结束数据传输。 The decoding module adopts SAA7111A chip, which includes 32 registers inside, and each function of the chip is controlled by these 32 registers. During the initialization process of the video decoding module, the video processor FPGA initializes and configures the registers in the video decoding module through the IIC bus, the video processor FPGA acts as a master device, and the video decoding module acts as a slave device. IIC bus is composed of data line SDA and clock line SCL, and the data transfer rate is 100kbit/s in standard mode. When initializing and configuring each register, see Figure 2, the video processor FPGA first sends the start signal, and then sends the address of the video decoding module (including 7-bit address code and 1-bit W/R, here is 0x48H) , when the video decoding module detects that the address sent by the video processor FPGA is the same as its own address, the video decoding module sends the first acknowledgment signal ACK; the video processor FPGA transmits the address of the register that needs to be accessed after receiving the first acknowledgment signal ACK Address, the video decoding module sends the second response signal after receiving the address of the register; the video processor FPGA transmits the data that needs to be written into the register after receiving the second response signal, and the video decoding module transmits the third response signal after receiving the data, When the video processor FPGA receives the third response signal, it indicates that the transmission is successful, and then sends a stop bit to end the data transmission.

(2)视频采集:当视频解码模块初始化配置成功后,视频解码模块进入工作状态。若视频解码模块在其输入端检测到PAL制的模拟视频信号,则视频解码模块通过其内部的AD转换和解码处理后,向视频处理器FPGA输出RGB格式的数字信号及若干个同步参考信号。为了准确提取每帧图像的图像信息,同步参考信号包括奇偶场标志信号RTS0、场同步参考信号VREF、行同步参考信号HREF、像素时钟LLC2,其中,像素时钟LLC2的频率为13.5MHz。 (2) Video capture: After the initial configuration of the video decoding module is successful, the video decoding module enters the working state. If the video decoding module detects the PAL analog video signal at its input end, the video decoding module outputs digital signals in RGB format and several synchronous reference signals to the video processor FPGA after its internal AD conversion and decoding processing. In order to accurately extract the image information of each frame of image, the synchronization reference signal includes parity field mark signal RTS0, field synchronization reference signal VREF, horizontal synchronization reference signal HREF, and pixel clock LLC2, wherein the frequency of pixel clock LLC2 is 13.5MHz.

设定视频解码模块输入至视频处理器FPGA的数字信号中,每帧图像的分辨率为m×n,在本实施例中,以分辨率为576×720为例。视频处理器FPGA采集数字信号中每帧图像的图像信息。在采集一帧图像的图像信息时,参见附图3和附图4所示,奇偶场标志信号RTS0的高电平区间和低电平区间分别对应一帧图像的奇数场和偶数场,其上升沿表示一帧图像的开始。在奇数场或偶数场中,当场同步参考信号VREF为高电平时,视频处理器FPGA采集奇数场或偶数场中的m/2个像素行(即288个像素行)、每个像素行中n个有效像素(即每行720个有效像素)的图像数据,而场同步参考信号VREF的低电平对应场消隐期间。具体地说,每个场同步参考信号VREF的高电平的有效区间中,行同步参考信号HREF具有m/2个(即288个)高电平的有效区间,分别对应奇数场或偶数场中的m/2个(即288个)像素行,而行同步参考信号HREF的低电平对应行消隐期间。同时在每个行同步参考信号HREF的高电平的有效区间中,包含n个(即720个)像素时钟,在每个像素时钟的上升沿,视频处理器FPGA采集每个有效像素的图像数据,从而采集每一帧图像的图像信息。 It is set that the video decoding module inputs the digital signal to the video processor FPGA, and the resolution of each frame of image is m×n. In this embodiment, the resolution is 576×720 as an example. The video processor FPGA collects the image information of each frame image in the digital signal. When collecting the image information of a frame of image, referring to the accompanying drawings 3 and 4, the high-level interval and the low-level interval of the parity field flag signal RTS0 correspond to the odd field and the even field of a frame of image respectively, and its rise The edge indicates the start of a frame of image. In odd or even fields, when the field synchronization reference signal VREF is at a high level, the video processor FPGA collects m/2 pixel rows (that is, 288 pixel rows) in odd or even fields, and n effective pixels (that is, 720 effective pixels per line), and the low level of the field synchronization reference signal VREF corresponds to the field blanking period. Specifically, in the high-level effective intervals of each vertical synchronization reference signal VREF, the horizontal synchronization reference signal HREF has m/2 (that is, 288) high-level effective intervals, corresponding to odd fields or even fields m/2 (that is, 288) pixel rows, and the low level of the row synchronization reference signal HREF corresponds to the row blanking period. At the same time, in the high-level effective interval of each line synchronization reference signal HREF, n (ie 720) pixel clocks are included, and on the rising edge of each pixel clock, the video processor FPGA collects the image data of each effective pixel , so as to collect the image information of each frame of image.

在上述图像采集过程中,最重要的是精确确定每一帧图像信息的开始和结束时刻,因此,采用状态机对该过程进行总体控制。参见附图5所示,在初始状态下,当状态机检测到奇偶场标志信号RTS0为低电平(RTS0=0)时,则其进入第二状态;在第二状态下,当状态机检测到奇偶场标志信号RTS0为高电平(RTS0=1)时表示新一帧图像开始,则其进入第三状态;在第三状态下,当状态机检测到场同步参考信号VREF为高电平(VREF=1)时,表示第一场图像数据即将到来,则其进入第四状态;在第四状态下,在行同步参考信号HREF为高电平(HREF=1)时对图像信息进行采集,当状态机检测到场同步参考信号VREF为低电平(VREF=0)时,表示第一场图像数据结束,则其进入第五状态;在第五状态下,当状态机检测到场同步参考信号VREF为高电平(VREF=1)时,标示第二场图像数据即将到来,则其进入第六状态;在第六状态下,在行同步参考信号HREF为高电平(HREF=1)时对图像信息进行采集,当状态机检测到场同步参考信号VREF为低电平(VREF=0)时,表示第二场图像数据结束,则其回到初始状态,为检测下一帧图像信息做准备。通过这六个状态即可精确的知道一帧图像的开始和结束时刻,为以后图像的精准重现做好准备。 In the above-mentioned image acquisition process, the most important thing is to accurately determine the start and end time of each frame of image information, so the state machine is used to control the process as a whole. Referring to Figure 5, in the initial state, when the state machine detects that the parity field flag signal RTS0 is low (RTS0=0), it enters the second state; in the second state, when the state machine detects When the parity field flag signal RTS0 is high level (RTS0=1), it means that a new frame of image starts, and then it enters the third state; in the third state, when the state machine detects that the field synchronization reference signal VREF is high level ( When VREF=1), it means that the image data of the first field is coming soon, and then it enters the fourth state; in the fourth state, the image information is collected when the line synchronization reference signal HREF is high level (HREF=1), When the state machine detects that the field synchronization reference signal VREF is low (VREF=0), it means that the first field of image data is over, and then it enters the fifth state; in the fifth state, when the state machine detects the field synchronization reference signal VREF When it is high level (VREF=1), it indicates that the second field image data is coming, and then it enters the sixth state; in the sixth state, when the horizontal synchronization reference signal HREF is high level (HREF=1) The image information is collected. When the state machine detects that the field synchronization reference signal VREF is low (VREF=0), it means that the second field of image data is over, and then it returns to the initial state to prepare for the detection of the next frame of image information. Through these six states, you can accurately know the start and end moments of a frame of image, and prepare for the accurate reproduction of the image in the future.

(3)视频存储:视频处理器FPGA将其采集到的图像信息以帧为单位写入视频存储器SRAM中。设定写入视频存储器SRAM的每帧图像的分辨率为a×b(a≤m,b≤n)。在本实施例中,采用分辨率为128×160的逐行扫描的OLED显示模块,因此,写入视频存储器SRAM的每帧图像的分辨率为128×160。此时,在写入数据时需对每一帧图像进行降分辨率处理。 (3) Video storage: The video processor FPGA writes the image information collected by it into the video memory SRAM in units of frames. Set the resolution of each frame of image written into the video memory SRAM as a×b (a≤m, b≤n). In this embodiment, a progressive scan OLED display module with a resolution of 128×160 is used, therefore, the resolution of each frame of image written into the video memory SRAM is 128×160. At this time, it is necessary to perform resolution reduction processing on each frame of image when writing data.

参见附图6所示,A[14:0]为视频存储器SRAM的地址线,DATA[15:0]为视频存储器SRAM的数据线。视频存储器SRAM在写使能信号WE的上升沿采样数据DATA[15:0],故视频处理器FPGA在写使能信号WE的下降沿把数据和其对应的地址准备好。控制视频存储器SRAM的写使能信号WE为像素时钟LLC2的x分频(x为正整数)来使每帧图像的分辨率由m×n降低为a’×b’,其中a’=(m/x),b’=(n/x)。在本实施例中,写使能信号WE为像素时钟LLC2的四分频,即每四个像素取一个像素,在此基础上,每四个像素行取一个像素行,即可把图像的分辨率由576×720降低为255×180。此时获得的图像分辨率仍大于OLED显示模块的分辨率,因此,需进行进一步的降低分辨率处理。此时,提取每帧图像的前a行像素行、该a行像素行中前b个有效像素,即提取每一帧图像的前128个像素行、每个像素行的前160个有效像素,进一步把图像的分辨率降低为OLED显示模块的分辨率128×160,实现图像分辨率的降低。 Referring to FIG. 6 , A[14:0] is the address line of the video memory SRAM, and DATA[15:0] is the data line of the video memory SRAM. The video memory SRAM samples the data DATA[15:0] at the rising edge of the write enable signal WE, so the video processor FPGA prepares the data and its corresponding address at the falling edge of the write enable signal WE. The write enable signal WE that controls the video memory SRAM is divided by x of the pixel clock LLC2 (x is a positive integer) to reduce the resolution of each frame of image from m×n to a'×b', where a'=(m /x), b'=(n/x). In this embodiment, the write enable signal WE is divided by four of the pixel clock LLC2, that is, one pixel is taken for every four pixels. On this basis, one pixel row is taken for every four pixel rows, and the resolution of the image can be made The resolution is reduced from 576×720 to 255×180. The resolution of the image obtained at this time is still greater than the resolution of the OLED display module, therefore, further resolution reduction processing is required. At this time, extract the first a row of pixels of each frame image, the first b effective pixels in the a row of pixels, that is, extract the first 128 pixel rows of each frame of image, the first 160 effective pixels of each pixel row, The resolution of the image is further reduced to 128×160 of the resolution of the OLED display module, thereby reducing the resolution of the image.

写SRAM时,由于视频解码模块输出的数字信号的图像数据采用隔行扫描的方式,奇数场扫描的像素行为第0,2,4,6,…,126行,偶数场扫描的像素行为第1,3,5,7,…,127行,而本系统采用的OLED为逐行扫描格式,所以要对隔行的图像数据进行去隔行处理,以适应OLED显示模块的要求,这就需要注意写入时的地址信号的生成机制。 When writing SRAM, since the image data of the digital signal output by the video decoding module adopts an interlaced scanning method, the pixel row of odd-numbered field scanning is 0, 2, 4, 6, ..., 126 rows, and the pixel row of even-numbered field scanning is 1st, 3, 5, 7, ..., 127 lines, and the OLED used in this system is a progressive scanning format, so the interlaced image data must be deinterlaced to meet the requirements of the OLED display module, which requires attention when writing The generation mechanism of the address signal.

将视频存储器SRAM中的存储空间分为至少a个存储组,每个存储组中包含至少b个存储单元。当视频存储器SRAM的写使能信号WE有效时,每帧图像中的有效像素的图像数据依次写入视频存储器SRAM的存储单元中,当视频存储器SRAM的写使能信号WE无效时,视频处理器FPGA准备下一即将写入的有效像素的图像数据及其在视频存储器SRAM中所对应的存储单元的地址。 The storage space in the video memory SRAM is divided into at least a storage groups, and each storage group contains at least b storage units. When the write enable signal WE of the video memory SRAM was effective, the image data of the effective pixels in each frame of image was written in the storage unit of the video memory SRAM in turn; when the write enable signal WE of the video memory SRAM was invalid, the video processor The FPGA prepares the image data of the next effective pixel to be written and the address of the corresponding storage unit in the video memory SRAM.

地址包括定位存储单元所在的存储组的组地址、定位存储单元在其所在的存储组中位置的单元地址,其中组地址为地址中的高位,而单元地址为地址中的低位。参见附图7所示,组地址包括由有效行计数器产生的高位地址及由奇偶场标志信号RTS0经反相器产生的低位地址。在场同步参考信号VREF的有效区间(VREF=1)中,有效行计数器在行同步参考信号HREF的上升沿开始计数,并在计满a/2个数后清零。这样,结合场同步参考信号VREF经过反相器而产生的低位地址,就可以保证在奇数场期间所写数据位于存储空间中的第0,2,4,6,…,(a-2)个储存组中,而偶数场期间所写数据位于存储空间中的第1,3,5,7,…,(a-1)个储存组中。而单元地址由有效像素计数器产生,在行同步参考信号HREF的有效区间(HREF=1)中,有效像素计数器在像素时钟LLC2的上升沿开始计数,并在计满b个数后清零。 The address includes a group address for locating the storage group where the storage unit is located, and a unit address for locating the location of the storage unit in the storage group where the storage unit is located, wherein the group address is the high bit in the address, and the unit address is the low bit in the address. Referring to FIG. 7, the group address includes the high address generated by the effective row counter and the low address generated by the parity field flag signal RTS0 through the inverter. In the effective interval of the vertical synchronization reference signal VREF (VREF=1), the effective row counter starts counting on the rising edge of the horizontal synchronization reference signal HREF, and is cleared after counting a/2 counts. In this way, combined with the low address generated by the field synchronization reference signal VREF passing through the inverter, it can be ensured that the data written during the odd field is located in the 0th, 2nd, 4th, 6th, ..., (a-2) of the storage space In the storage group, the data written during the even field period is located in the 1st, 3rd, 5th, 7th, ..., (a-1) storage groups in the storage space. The unit address is generated by the effective pixel counter. In the effective interval of the horizontal synchronization reference signal HREF (HREF=1), the effective pixel counter starts counting on the rising edge of the pixel clock LLC2, and is cleared after counting b.

结合本实施例,视频存储器SRAM采用容量为256k×16Bit、存取最大速度为100MHz的芯片。而OLED显示模块显示的图像的大小为20k×16 Bit。在视频存储器SRAM中取出32k的存储空间,将其分为128个存储组,且每个存储组分配256个存储单元。存储时,OLED显示模块的一行像素对应视频存储器SRAM的一个存储组。要实现隔行到逐行的转换,只要把奇场期间采集的64行图像数据依次存入第0,2,4,…,126组存储组,把偶场期间采集的64行图像数据依次存入第1,3,5,…,127组存储组中,这样,视频存储器SRAM中第0-127组存储组的图像数据就对应一帧图像的第0-127行,构成了一幅完整的逐行扫描图像。每组存储组中的256个存储单元只占用了160个,虽然有些浪费,但是经过这样的处理,大大简化了去隔行的电路结构。 In combination with this embodiment, the video memory SRAM adopts a chip with a capacity of 256k×16Bit and a maximum access speed of 100MHz. The size of the image displayed by the OLED display module is 20k×16 Bit. Take out the storage space of 32k in the video memory SRAM, divide it into 128 storage groups, and each storage group allocates 256 storage units. When storing, a row of pixels of the OLED display module corresponds to a storage group of the video memory SRAM. To realize the conversion from interlaced to progressive, it is only necessary to store the 64 lines of image data collected during the odd field into storage groups 0, 2, 4, ..., 126 in sequence, and store the 64 lines of image data collected during the even field into In the 1st, 3rd, 5th, ..., 127th storage groups, like this, the image data of the 0-127th storage groups in the video memory SRAM is just corresponding to the 0th-127th line of a frame image, constitutes a complete step-by-step line scan image. The 256 storage units in each storage group only occupy 160, although it is a bit wasteful, but after such processing, the de-interlacing circuit structure is greatly simplified.

存储单元由地址线A[14:0]进行定位,其中A[14:8]为组地址,定位存储单元所在的存储组,A[7:0]为单元地址,定位存储单元在其所在的存储组中的位置。在场同步参考信号VREF为高电平(VREF=1)时,有效行计数器在行同步参考信号HREF的上升沿开始计数,并产生视频存储器SRAM的写地址信号中的高6位A[14:9],计满64个像素时,有效行计数器清零。在行同步参考信号HREF为高电平(HREF=1)时,有效像素计数器在像素时钟LLC2的上升沿开始计数,并产生视频存储器SRAM的写地址信号中的低8位A[7:0],计满160个像素时,有效像素计数器清零。将奇偶场标志信号RTS0反相后作为视频存储器SRAM写地址信号的A[8],保证了在奇数场期间所写数据的存储单元位于第0,2,4,…,126组存储组中,偶数场期间所写数据的存储单元位于第1,3,5,…,127组存储组中。 The storage unit is located by the address line A[14:0], where A[14:8] is the group address, which locates the storage group where the storage unit is located, and A[7:0] is the unit address, which locates the storage unit where it is located. The location in the storage group. When the vertical synchronization reference signal VREF is high level (VREF=1), the effective line counter starts counting on the rising edge of the horizontal synchronization reference signal HREF, and generates the upper 6 bits A[14:9 of the write address signal of the video memory SRAM ], when 64 pixels are counted, the effective line counter is cleared. When the horizontal synchronization reference signal HREF is high level (HREF=1), the effective pixel counter starts counting on the rising edge of the pixel clock LLC2, and generates the lower 8 bits A[7:0] in the write address signal of the video memory SRAM , when 160 pixels are counted, the effective pixel counter is cleared. A[8] used as the video memory SRAM write address signal after inverting the parity field flag signal RTS0 ensures that the storage unit of the data written during the odd field is located in the 0th, 2, 4, ..., 126 storage groups, The memory cells of data written during the even field are located in the 1st, 3rd, 5th, . . . , 127th memory groups.

为了解决将处理后的图像数据写入视频存储模块以及从视频存储模块获取图像数据的冲突,本系统的视频存储器SRAM采用两个物理上独立的SRAM视频存储模块存储相邻的两帧图像。这两个视频存储模块交替处于被写与被读的状态,即相邻两帧图像的图像信息交替存入两个模块中,且交替由两个图像处理模块中读出图像信息。具体实现过程如下:第一个视频存储模块在第一帧图像采集周期内存储第一帧图像,在第二帧图像采集周期内输出第一帧图像,在第三帧图像采集周期内存储第三帧图像,在第四帧图像采集周期内输出第三帧图像,依此类推。而第二个视频存储模块在第二帧图像到来时才开始工作,在第二帧图像采集周期内存储第二帧图像,在第三帧图像采集周期内输出第二帧图像,在第四帧图像采集周期内存储第四帧图像,在第五帧图像采集周期内输出第四帧图像,依此类推。这样就实现了双帧切换机制,虽然这种方法使采集的图像延时一帧后才被显示,但是不会遗漏任何一帧图像信息。 In order to solve the conflict of writing the processed image data into the video storage module and obtaining image data from the video storage module, the video memory SRAM of this system uses two physically independent SRAM video storage modules to store two adjacent frames of images. The two video storage modules are alternately in the state of being written and being read, that is, the image information of two adjacent frames of images is alternately stored in the two modules, and the image information is alternately read out from the two image processing modules. The specific implementation process is as follows: the first video storage module stores the first frame image in the first frame image acquisition cycle, outputs the first frame image in the second frame image acquisition cycle, and stores the third frame image in the third frame image acquisition cycle. frame image, output the third frame image in the fourth frame image acquisition cycle, and so on. The second video storage module starts working when the second frame image arrives, stores the second frame image in the second frame image acquisition cycle, outputs the second frame image in the third frame image acquisition cycle, and outputs the second frame image in the fourth frame image acquisition cycle. The fourth frame of image is stored in the image acquisition period, the fourth frame of image is output in the fifth frame of image acquisition period, and so on. In this way, a double-frame switching mechanism is realized. Although this method delays the captured image by one frame before being displayed, it will not miss any frame of image information.

(4)视频显示:OLED显示模块采用彩色显示器件,其内部自带驱动芯片,使其与视频处理器FPGA的接口较为简单。首先对OLED显示模块内部的驱动芯片进行配置,包括指定OLED显示模块的数据传输格式和传输位宽、指定X方向的图像显示起始地址和终止地址、指定Y方向的图像显示起始地址和终止地址。配置后,视频处理器FPGA读取视频存储器SRAM中的图像信息并输出给OLED显示模块进行动态显示,其流程参见附图8所示。 (4) Video display: The OLED display module uses a color display device, and its internal drive chip makes the interface with the video processor FPGA relatively simple. First configure the driver chip inside the OLED display module, including specifying the data transmission format and transmission bit width of the OLED display module, specifying the image display start address and end address in the X direction, and specifying the image display start address and end address in the Y direction address. After configuration, the video processor FPGA reads the image information in the video memory SRAM and outputs it to the OLED display module for dynamic display. The process is shown in Figure 8.

上述OLED实时显示驱动控制系统及其控制方法具有如下优点: The OLED real-time display driving control system and its control method have the following advantages:

(1)结构简单,成本低,易于实施。 (1) The structure is simple, the cost is low, and it is easy to implement.

对于如何实现模拟视频信号的采集与显示,传统方案大量使用模拟分离元件,不仅较为复杂,而且难于调试。本发明采用集成电路设计,外围模拟器件少,体积小,结构简单。采用通用元器件设计,所用元器件易于采购,成本低,易于实施。 As for how to realize the acquisition and display of analog video signals, the traditional solution uses a large number of analog discrete components, which is not only complicated, but also difficult to debug. The invention adopts integrated circuit design, has few peripheral analog devices, small volume and simple structure. The general-purpose component design is adopted, and the components used are easy to purchase, low in cost, and easy to implement.

(2)使用灵活,修改方便。 (2) Flexible to use and easy to modify.

可根据用户要求定制相应的软件,例如要改变图像显示模式,可通过修改视频解码芯片和OLED的配置实现图像亮度、对比度、画面幅度、显示方向等参数的调节。 Corresponding software can be customized according to user requirements. For example, to change the image display mode, parameters such as image brightness, contrast, screen width, and display direction can be adjusted by modifying the configuration of the video decoder chip and OLED.

(3)实现了视频信号的实时在线播放。 (3) The real-time online playback of video signals is realized.

由于FPGA是硬件电路工作,其工作性质类似于编程中的多线程操作,对数据的处理都是并行进行的,具有处理高速视频图像数据的能力。本发明实现了视频信号实时采集与显示,使OLED显示模块能以每秒25帧的速度显示图像,画面清晰流畅。 Since FPGA is a hardware circuit, its working nature is similar to multi-threaded operation in programming, and the processing of data is carried out in parallel, and it has the ability to process high-speed video image data. The invention realizes the real-time collection and display of video signals, so that the OLED display module can display images at a speed of 25 frames per second, and the picture is clear and smooth.

上述实施例只为说明本发明的技术构思及特点,其目的在于让熟悉此项技术的人士能够了解本发明的内容并据以实施,并不能以此限制本发明的保护范围。凡根据本发明精神实质所作的等效变化或修饰,都应涵盖在本发明的保护范围之内。 The above-mentioned embodiments are only to illustrate the technical concept and characteristics of the present invention, and the purpose is to enable those skilled in the art to understand the content of the present invention and implement it accordingly, and not to limit the protection scope of the present invention. All equivalent changes or modifications made according to the spirit of the present invention shall fall within the protection scope of the present invention.

Claims (8)

1.一种OLED实时显示驱动控制系统,用于驱动OLED显示模块实现实时显示,其包括视频解码模块、视频处理器、视频存储器,视频信号由所述的视频解码模块的输入端输入,所述的视频解码模块的输出端与所述的视频处理器相连接,所述的视频存储器与所述的视频处理器相连接,所述的视频处理器的输出端与所述的OLED显示模块相连接,其特征在于:所述的视频处理器采用FPGA,所述的视频存储器采用SRAM。 1. A OLED real-time display drive control system, used to drive the OLED display module to realize real-time display, it includes a video decoding module, a video processor, a video memory, and the video signal is input by the input terminal of the video decoding module, and the The output end of the video decoding module is connected with the video processor, the video memory is connected with the video processor, and the output end of the video processor is connected with the OLED display module , it is characterized in that: described video processor adopts FPGA, and described video memory adopts SRAM. 2.根据权利要求1所述的OLED实时显示驱动控制系统,其特征在于:所述的视频存储器包括两个视频存储模块,所述的视频存储模块分别与所述的视频处理器相连接。 2 . The OLED real-time display driving control system according to claim 1 , wherein the video memory includes two video storage modules, and the video storage modules are respectively connected to the video processor. 3 . 3.一种权利要求1所述的OLED实时显示驱动控制系统的控制方法,其特征在于:其包括 3. A control method of the OLED real-time display drive control system according to claim 1, characterized in that: it comprises (1)视频解码模块初始化:当所述的OLED实时显示驱动控制系统启动时,所述的视频处理器对所述的视频解码模块内的各个寄存器进行初始化配置; (1) Video decoding module initialization: when the OLED real-time display drive control system is started, the video processor initializes and configures each register in the video decoding module; (2)视频采集:当所述的视频解码模块初始化配置成功后,若所述的视频解码模块在其输入端检测到视频信号,则所述的视频解码模块将所述的视频信号进行解码处理后向所述的视频处理器输出数字信号及若干个同步参考信号,所述的视频处理器采集所述的数字信号中每帧图像的图像信息; (2) Video acquisition: After the initialization and configuration of the video decoding module is successful, if the video decoding module detects a video signal at its input end, the video decoding module will decode the video signal Output digital signal and several synchronous reference signals to described video processor behind, described video processor collects the image information of every frame image in described digital signal; 所述的同步参考信号包括奇偶场标志信号、场同步参考信号、行同步参考信号、像素时钟;设定所述的视频解码模块输入至所述的视频处理器的数字信号中,每帧图像的分辨率为m×n;在采集一帧图像的图像信息时,所述的奇偶场标志信号的高电平区间和低电平区间分别对应一帧图像的奇数场和偶数场,在所述的奇数场或所述的偶数场中,当所述的场同步参考信号为高电平时,所述的视频处理器采集所述的奇数场或所述的偶数场中的m/2个像素行、每个像素行中n个有效像素的图像数据;每个所述的场同步参考信号的高电平的有效区间中,所述的行同步参考信号具有m/2个高电平的有效区间,且每个所述的行同步参考信号的高电平的有效区间中,包含n个所述的像素时钟,在每个所述的像素时钟的上升沿,所述的视频处理器采集每个有效像素的图像数据; Described synchronous reference signal comprises parity field sign signal, field synchronous reference signal, line synchronous reference signal, pixel clock; Set described video decoding module to input in the digital signal of described video processor, every frame image The resolution is m×n; when collecting the image information of a frame of image, the high-level interval and the low-level interval of the odd-even field flag signal correspond to the odd-numbered field and the even-numbered field of a frame of image respectively. In the odd field or the even field, when the field synchronization reference signal is at a high level, the video processor collects the m/2 pixel rows in the odd field or the even field, The image data of n effective pixels in each pixel row; in each of the high-level effective intervals of the field synchronization reference signal, the horizontal synchronization reference signal has m/2 high-level effective intervals, And each of the high-level effective intervals of the horizontal synchronization reference signal includes n pixel clocks, and at the rising edge of each pixel clock, the video processor collects each effective pixel image data; (3)视频存储:所述的视频处理器将其采集到的图像信息以帧为单位写入所述的视频存储器中;写入所述的视频存储器的每帧图像的分辨率为a×b(a≤m,b≤n); (3) Video storage: the video processor writes the collected image information into the video memory in units of frames; the resolution of each frame of image written into the video memory is a×b (a≤m, b≤n); 将所述的视频存储器中的存储空间分为至少a个存储组,每个所述的存储组中包含至少b个存储单元;当所述的视频存储器的写使能信号有效时,每帧图像中的有效像素的图像数据写入所述的视频存储器的存储单元中,当所述的视频存储器的写使能信号无效时,所述的视频处理器准备下一即将写入的有效像素的图像数据及其在所述的视频存储器中所对应的存储单元的地址; The storage space in the video memory is divided into at least a storage groups, each of which contains at least b storage units; when the write enable signal of the video memory is valid, each frame of image The image data of the effective pixels in the memory is written in the storage unit of the video memory, and when the write enable signal of the video memory is invalid, the video processor prepares the image of the effective pixels to be written next Data and the address of the corresponding storage unit in the video memory; 所述的地址包括定位存储单元所在的存储组的组地址、定位存储单元在其所在的存储组中位置的单元地址;所述的组地址包括由有效行计数器产生的高位地址及由所述的奇偶场标志信号经反相器产生的低位地址,在所述的场同步参考信号的有效区间中,所述的有效行计数器在所述的行同步参考信号的上升沿开始计数,并在计满a/2个数后清零;所述的单元地址由有效像素计数器产生,在所述的行同步参考信号的有效区间中,所述的有效像素计数器在所述的像素时钟的上升沿开始计数,并在计满b个数后清零; The address includes the group address of the storage group where the storage unit is located, and the unit address of the location of the storage unit in the storage group where it is located; The low bit address generated by the parity field flag signal through the inverter, in the effective interval of the field synchronization reference signal, the effective line counter starts counting on the rising edge of the line synchronization reference signal, and counts when it is full Cleared after a/2 numbers; the unit address is generated by the effective pixel counter, and in the effective interval of the horizontal synchronization reference signal, the effective pixel counter starts counting on the rising edge of the pixel clock , and cleared to zero after counting b numbers; (4)视频显示:在对所述的OLED显示模块内部的驱动芯片进行配置后,所述的视频处理器读取所述的视频存储器中的图像信息并输出给所述的OLED显示模块进行动态显示。 (4) Video display: After configuring the drive chip inside the OLED display module, the video processor reads the image information in the video memory and outputs it to the OLED display module for dynamic display. show. 4.根据权利要求3所述的OLED实时显示驱动控制系统的控制方法,其特征在于:所述的视频解码模块初始化过程中,所述的视频处理器通过IIC总线对所述的视频解码模块内的寄存器进行初始化配置;对每个所述的寄存器进行初始化配置时,所述的视频处理器首先发送起始信号后发送所述的视频解码模块的地址,所述的视频解码模块检测到所述的视频处理器所发送的地址与其自身的地址相同时,所述的视频解码模块发送第一应答信号,所述的视频处理器接收到所述的第一应答信号后传送需要访问的寄存器的地址,所述的视频解码模块接收到所述的寄存器的地址后发送第二应答信号,所述的视频处理器接收到所述的第二应答信号后传送需要写入到所述的寄存器的数据,所述的视频解码模块接收所述的数据后传送第三应答信号,所述的视频处理器接收到所述的第三应答器后发送停止位结束数据传输。 4. The control method of the OLED real-time display drive control system according to claim 3, characterized in that: in the initialization process of the video decoding module, the video processor passes the IIC bus to the video decoding module. The registers are initialized and configured; when each of the registers is initialized, the video processor first sends the start signal and then sends the address of the video decoding module, and the video decoding module detects the When the address sent by the video processor is the same as its own address, the video decoding module sends the first response signal, and the video processor transmits the address of the register to be accessed after receiving the first response signal , the video decoding module sends a second response signal after receiving the address of the register, and the video processor transmits the data that needs to be written into the register after receiving the second response signal, The video decoding module transmits a third response signal after receiving the data, and the video processor sends a stop bit to end data transmission after receiving the third response signal. 5.根据权利要求3所述的OLED实时显示驱动控制系统的控制方法,其特征在于:在所述的视频采集过程中,采用状态机对该过程进行总体控制;在初始状态下,当所述的状态机检测到所述的奇偶场标志信号为低电平时,则其进入第二状态;在所述的第二状态下,当所述的状态机检测到所述的奇偶场标志信号为高电平时,则其进入第三状态;在所述的第三状态下,当所述的状态机检测到所述的场同步参考信号为高电平时,则其进入第四状态;在所述的第四状态下,在所述的行同步参考信号为高电平时对所述的图像信息进行采集,当所述的状态机检测到所述的场同步参考信号为低电平时,则其进入第五状态;在所述的第五状态下,当所述的状态机检测到所述的场同步参考信号为高电平时,则其进入第六状态;在所述的第六状态下,在所述的行同步参考信号为高电平时对所述的图像信息进行采集,当所述的状态机检测到所述的场同步参考信号为低电平时,则其回到所述的初始状态。 5. the control method of OLED real-time display driving control system according to claim 3 is characterized in that: in described video collection process, adopt state machine to carry out overall control to this process; Under initial state, when described When the state machine detects that the parity field flag signal is low, it enters the second state; in the second state, when the state machine detects that the parity field flag signal is high level, it enters the third state; in the third state, when the state machine detects that the field synchronization reference signal is high, it enters the fourth state; in the In the fourth state, the image information is collected when the horizontal synchronization reference signal is at a high level, and when the state machine detects that the vertical synchronization reference signal is at a low level, it enters the first Five states; in the fifth state, when the state machine detects that the field synchronization reference signal is high, it enters the sixth state; in the sixth state, in the When the horizontal synchronization reference signal is at a high level, the image information is collected, and when the state machine detects that the vertical synchronization reference signal is at a low level, it returns to the initial state. 6.根据权利要求3所述的OLED实时显示驱动控制系统的控制方法,其特征在于:当由所述的视频解码模块传输至所述的视频处理器的数字信号中每帧图像的分辨率大于由所述的视频处理器写入所述的视频存储器中的每帧图像的分辨率时(即a<m,b<n时),控制所述的视频存储器的写使能信号为所述的像素时钟的x分频(x为正整数)来使每帧所述的图像的分辨率由m×n降低为a’×b’,其中a’=(m/x),b’=(n/x);若a’>a、b’>b时,提取每帧图像的前a行像素行、该a行像素行中前b个有效像素来实现图像分辨率的降低。 6. The control method of the OLED real-time display driving control system according to claim 3, characterized in that: when the resolution of each frame image in the digital signal transmitted to the video processor by the described video decoding module is greater than When the resolution of each frame of image in the video memory is written by the video processor (that is, when a<m, b<n), the write enable signal of the video memory is controlled to be the The pixel clock is divided by x (x is a positive integer) to reduce the resolution of the image described in each frame from m×n to a'×b', where a'=(m/x), b'=(n /x); if a'>a, b'>b, extract the first a row of pixels in each frame image, and the first b effective pixels in the a row of pixels to reduce the image resolution. 7.根据权利要求3所述的OLED实时显示驱动控制系统的控制方法,其特征在于:当所述的OLED实时显示驱动控制系统中的所述的视频存储器包括两个所述的视频存储模块时,相邻两帧图像的图像信息交替存入两个所述的视频存储模块中,且交替从两个所述的视频存储模块中读出所述的图像信息。 7. The control method of the OLED real-time display driving control system according to claim 3, characterized in that: when the video memory in the OLED real-time display driving control system comprises two described video storage modules The image information of two adjacent frames of images is alternately stored in the two video storage modules, and the image information is alternately read out from the two video storage modules. 8.根据权利要求3所述的OLED实时显示驱动控制系统的控制方法,其特征在于:对所述的OLED显示模块内部的驱动芯片进行配置,包括指定OLED显示模块的数据传输格式和传输位宽、指定X方向的图像显示起始地址和终止地址、指定Y方向的图像显示起始地址和终止地址。 8. The control method of the OLED real-time display drive control system according to claim 3, characterized in that: configuring the drive chip inside the OLED display module includes specifying the data transmission format and transmission bit width of the OLED display module , Specify the image display start address and end address in the X direction, and specify the image display start address and end address in the Y direction.
CN201210246802.1A 2012-07-17 2012-07-17 OLED (organic light emitting diode) real-time display driving control system and control method thereof Expired - Fee Related CN102768819B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210246802.1A CN102768819B (en) 2012-07-17 2012-07-17 OLED (organic light emitting diode) real-time display driving control system and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210246802.1A CN102768819B (en) 2012-07-17 2012-07-17 OLED (organic light emitting diode) real-time display driving control system and control method thereof

Publications (2)

Publication Number Publication Date
CN102768819A true CN102768819A (en) 2012-11-07
CN102768819B CN102768819B (en) 2014-12-10

Family

ID=47096203

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210246802.1A Expired - Fee Related CN102768819B (en) 2012-07-17 2012-07-17 OLED (organic light emitting diode) real-time display driving control system and control method thereof

Country Status (1)

Country Link
CN (1) CN102768819B (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103065587A (en) * 2012-12-28 2013-04-24 富顺光电科技股份有限公司 Transmitting-card-free low-cost light emitting diode (LED) synchronous display controlling system
CN103472748A (en) * 2013-09-04 2013-12-25 青岛海信信芯科技有限公司 Verification system and method of sequential control circuit
CN106556407A (en) * 2016-11-22 2017-04-05 天津驰华科技有限公司 A kind of nearest gas station's travel route prompt system under oil mass detection
CN106934758A (en) * 2017-03-01 2017-07-07 南京大学 A kind of three-dimensional image video real time integrating method and system based on FPGA
CN106961570A (en) * 2017-03-20 2017-07-18 中航华东光电有限公司 The de-interlaced system of vision signal and processing method based on FPGA
CN108780483A (en) * 2016-02-29 2018-11-09 萨基姆宽带简易股份有限公司 Method for displaying animation during startup phase of electronic device and related electronic device
CN111757036A (en) * 2020-07-08 2020-10-09 深圳市洲明科技股份有限公司 Horizontal mirror image display method and device based on FPGA
CN112153447A (en) * 2020-09-27 2020-12-29 海信视像科技股份有限公司 Display device and sound and picture synchronous control method
CN112565679A (en) * 2020-11-03 2021-03-26 合肥工业大学 Monitoring method and monitoring device based on machine vision
CN112967666A (en) * 2021-02-24 2021-06-15 南京磊积科技有限公司 LED display screen control device and control method capable of realizing random pixel arrangement
CN113132651A (en) * 2020-01-15 2021-07-16 西安诺瓦星云科技股份有限公司 Image processing method and device and display control system
CN116051354A (en) * 2022-12-30 2023-05-02 太原航空仪表有限公司 A method, device and system for accelerating graphics based on FPGA
CN116193043A (en) * 2022-12-29 2023-05-30 苏州长风航空电子有限公司 Signal timing synchronization method and synchronization device
CN116320244A (en) * 2022-09-09 2023-06-23 东莞市中辉新能源科技有限公司 Display processing method for 4G module display data
CN116778857A (en) * 2023-08-22 2023-09-19 联士光电(深圳)有限公司 Input signal polarity self-adapting circuit in micro display panel

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1801313A (en) * 2004-12-31 2006-07-12 厦门火炬福大显示技术有限公司 Image data transmission and display circuit employing FPGA to control FED
CN1988432A (en) * 2006-12-27 2007-06-27 中国科学院上海光学精密机械研究所 Full-digital space optical communication array signal diversity receiving system
CN1987972A (en) * 2005-12-23 2007-06-27 上海广电电子股份有限公司 Video frequency driving system and its method for organic light emitting diode display screen
CN102572393A (en) * 2011-12-21 2012-07-11 成都众询科技有限公司 Wireless video acquisition device based on field programmable gata array (FPGA) and digital signal processor (DSP)

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1801313A (en) * 2004-12-31 2006-07-12 厦门火炬福大显示技术有限公司 Image data transmission and display circuit employing FPGA to control FED
CN1987972A (en) * 2005-12-23 2007-06-27 上海广电电子股份有限公司 Video frequency driving system and its method for organic light emitting diode display screen
CN1988432A (en) * 2006-12-27 2007-06-27 中国科学院上海光学精密机械研究所 Full-digital space optical communication array signal diversity receiving system
CN102572393A (en) * 2011-12-21 2012-07-11 成都众询科技有限公司 Wireless video acquisition device based on field programmable gata array (FPGA) and digital signal processor (DSP)

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
刘德良,等: "多分辨率图像实时采集系统的FPGA逻辑设计", 《电子技术应用》 *
龚剑: "基于FPGA的图像处理系统", 《信息科技辑》 *

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103065587A (en) * 2012-12-28 2013-04-24 富顺光电科技股份有限公司 Transmitting-card-free low-cost light emitting diode (LED) synchronous display controlling system
CN103065587B (en) * 2012-12-28 2016-01-20 富顺光电科技股份有限公司 A kind of LED synchronous display controlling system without sending card
CN103472748A (en) * 2013-09-04 2013-12-25 青岛海信信芯科技有限公司 Verification system and method of sequential control circuit
CN103472748B (en) * 2013-09-04 2017-01-18 上海顺久电子科技有限公司 Verification system and method of sequential control circuit
CN108780483B (en) * 2016-02-29 2022-10-11 萨基姆宽带简易股份有限公司 Method for displaying animation in startup phase of electronic equipment and related electronic equipment
CN108780483A (en) * 2016-02-29 2018-11-09 萨基姆宽带简易股份有限公司 Method for displaying animation during startup phase of electronic device and related electronic device
CN106556407A (en) * 2016-11-22 2017-04-05 天津驰华科技有限公司 A kind of nearest gas station's travel route prompt system under oil mass detection
CN106934758A (en) * 2017-03-01 2017-07-07 南京大学 A kind of three-dimensional image video real time integrating method and system based on FPGA
CN106934758B (en) * 2017-03-01 2019-08-27 南京大学 A method and system for real-time fusion of stereoscopic image and video based on FPGA
CN106961570A (en) * 2017-03-20 2017-07-18 中航华东光电有限公司 The de-interlaced system of vision signal and processing method based on FPGA
CN113132651B (en) * 2020-01-15 2023-04-11 西安诺瓦星云科技股份有限公司 Image processing method and device and display control system
CN113132651A (en) * 2020-01-15 2021-07-16 西安诺瓦星云科技股份有限公司 Image processing method and device and display control system
CN111757036A (en) * 2020-07-08 2020-10-09 深圳市洲明科技股份有限公司 Horizontal mirror image display method and device based on FPGA
CN112153447A (en) * 2020-09-27 2020-12-29 海信视像科技股份有限公司 Display device and sound and picture synchronous control method
CN112153447B (en) * 2020-09-27 2022-06-14 海信视像科技股份有限公司 Display device and sound and picture synchronous control method
CN112565679A (en) * 2020-11-03 2021-03-26 合肥工业大学 Monitoring method and monitoring device based on machine vision
CN112967666B (en) * 2021-02-24 2022-07-15 南京磊积科技有限公司 LED display screen control device and control method capable of realizing random pixel arrangement
CN112967666A (en) * 2021-02-24 2021-06-15 南京磊积科技有限公司 LED display screen control device and control method capable of realizing random pixel arrangement
CN116320244A (en) * 2022-09-09 2023-06-23 东莞市中辉新能源科技有限公司 Display processing method for 4G module display data
CN116193043A (en) * 2022-12-29 2023-05-30 苏州长风航空电子有限公司 Signal timing synchronization method and synchronization device
CN116051354A (en) * 2022-12-30 2023-05-02 太原航空仪表有限公司 A method, device and system for accelerating graphics based on FPGA
CN116778857A (en) * 2023-08-22 2023-09-19 联士光电(深圳)有限公司 Input signal polarity self-adapting circuit in micro display panel
CN116778857B (en) * 2023-08-22 2023-11-07 联士光电(深圳)有限公司 Input signal polarity self-adapting circuit in micro display panel

Also Published As

Publication number Publication date
CN102768819B (en) 2014-12-10

Similar Documents

Publication Publication Date Title
CN102768819B (en) OLED (organic light emitting diode) real-time display driving control system and control method thereof
CN103390392B (en) GOA circuit, array base palte, display device and driving method
CN104795044B (en) Drive device, driving method and display device
CN102708803B (en) Method for realizing controllable gray level of LED constant current driver and constant current driver
CN106097951A (en) Display device
CN206272746U (en) A kind of digital video display interface module based on FPGA
CN209149785U (en) A kind of high refresh rate LED display system based on FPGA
CN102262865A (en) Liquid crystal display and driving method thereof
CN103248797A (en) Video resolution enhancing method and module based on FPGA (field programmable gate array)
CN105118424A (en) Data transmission module, data transmission method, display panel, display panel driving method and display device
CN102163404B (en) Large-screen light emitting diode (LED) display control device and method based on synchronous dynamic random access memory (SDRAM)
CN102708280A (en) Method and device for image display
CN115512651B (en) Display driving system and method of micro-display passive array
CN104658492A (en) Driving device for driving a display unit
CN113421519B (en) Driving circuit, driving method, display device, and computer-readable storage medium
CN102622982A (en) A kind of driving method of LCoS display chip and display chip thereof
CN104282341B (en) Microdisplay on silicon integrates asynchronous transmission shift-register circuit and implementation method
CN115841799B (en) Active Micro-LED display control system
CN101930349B (en) Led scanning control chip
CN204807860U (en) Liquid crystal display panel&#39;s testing arrangement
CN103813125B (en) A kind of duplex digital image processing system
CN106875859A (en) A kind of billboard dynamic display device and its control method
CN112785968A (en) Control device, display device and operation method thereof
CN201788499U (en) LED scanning control chip device
CN201570228U (en) LED dot matrix display board

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20180813

Address after: 233030 2016 Tang He road, Bengbu, Anhui

Patentee after: 214 INSTITUTE OF CHINA NORTH INDUSTRIES GROUP

Address before: 215163 No. 89 Longshan Road, hi tech Zone, Suzhou, Jiangsu

Patentee before: Suzhou R & D center of 214 Institute of China North Industries Group

TR01 Transfer of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20141210

CF01 Termination of patent right due to non-payment of annual fee