共用协议层的多通道显示接口信号生成系统及方法Multi-channel display interface signal generation system and method for sharing protocol layer
技术领域Technical field
本发明涉及DP(DisplayPort显示接口)接口的液晶模组显示和测试技术领域,具体涉及一种共用协议层的多通道显示接口信号生成系统及方法。The present invention relates to the field of display and test of a liquid crystal module of a DP (DisplayPort display interface) interface, and in particular, to a multi-channel display interface signal generation system and method sharing a protocol layer.
背景技术Background technique
随着中小尺寸液晶模组(即不大于15寸的液晶模组)的分辨率增加,传统的LVDS(Low-Voltage Differential Signaling,低电压差分信号)接口已经不能满足小尺寸液晶模组在体积、EMI(Electromagnetic Interference,电磁干扰)和功耗等方面的要求。传统的LVDS接口不能满足上述要求的原因如下:随着分辨率的增加,信号所需的带宽也相应增加,而LVDS接口的每组线材的速率都较低,如果要满足带宽的急剧增加,就需要大量的线材,大量的线材不利于中小尺寸液晶模组继续往轻薄方向发展,另外线材多成本也将提高,不能满足体积,EMI以及成本方面的要求。As the resolution of small and medium-sized LCD modules (ie, liquid crystal modules of no more than 15 inches) increases, the traditional LVDS (Low-Voltage Differential Signaling) interface cannot meet the size of small-sized LCD modules. Requirements for EMI (Electromagnetic Interference) and power consumption. The reason why the traditional LVDS interface can not meet the above requirements is as follows: as the resolution increases, the bandwidth required for the signal increases accordingly, and the rate of each group of wires of the LVDS interface is low. If the bandwidth is to be increased sharply, A large number of wires are required, and a large number of wires are not conducive to the development of small and medium-sized liquid crystal modules in a thin and light direction, and the cost of wires is also increased, which cannot meet the requirements of volume, EMI and cost.
因此技术人员开始使用DP接口作为中小尺寸液晶模组测试接口。对中小尺寸液晶模组进行测试时,需要生成多路相同的DP信号,目前,生成上述多路相同DP信号的方式主要为多颗ASIC(Application Specific Integrated Circuit,特定用途集成电路)专用芯片直接生成或FPGA(Field-Programmable Gate Array,现场可编程门阵列)直接复制生成,上述传统方式存在如下缺点:Therefore, technicians began to use the DP interface as a test interface for small and medium-sized LCD modules. When testing small and medium-sized LCD modules, it is necessary to generate multiple identical DP signals. At present, the method of generating the above multiple multiple DP signals is mainly generated by multiple ASIC (Application Specific Integrated Circuit) dedicated chips. Or FPGA (Field-Programmable Gate Array) direct copy generation, the above conventional methods have the following disadvantages:
1、ASIC专有芯片只能支持单独显示接口信号输出,产生多路显示接口信号时,需要多颗芯片,同时需要多路控制器,体积大,功耗高。1. The ASIC proprietary chip can only support the output of the signal of the separate display interface. When generating the multi-channel display interface signal, multiple chips are needed, and multiple controllers are needed at the same time, which is large in size and high in power consumption.
2、由于显示接口协议较复杂,对于FPGA直接复制的方式,在现场可编程门阵列中实现多路显示接口发送,显示接口编码器资源占用较多,占用现场可编程门阵列FPGA资源面积大。2. Due to the complexity of the display interface protocol, for the direct copying of the FPGA, the multi-channel display interface is implemented in the field programmable gate array, and the display interface encoder resource is occupied more, occupying the field programmable gate array FPGA resource area.
发明内容Summary of the invention
本发明的目的在于提供一种共用协议层的多通道显示接口信号生成系统及方法,该
系统及方法能减小现场可编程门阵列逻辑资源的占用,缩小现场可编程门阵列资源的占用面积,同时能降低现场可编程门阵列的功耗,并提高现场可编程门阵列的集成度。An object of the present invention is to provide a multi-channel display interface signal generating system and method sharing a protocol layer,
The system and method can reduce the occupation of the field programmable gate array logic resources, reduce the occupied area of the field programmable gate array resources, reduce the power consumption of the field programmable gate array, and improve the integration degree of the field programmable gate array.
为实现上述目的,本发明所设计的共用协议层的多通道显示接口信号生成系统,它包括数据组包与控制符号生成单元、数据复用单元和状态监视与组装单元,其中,所述数据组包与控制符号生成单元的信号输出端通过数据复用单元连接状态监视与组装单元的信号输入端,所述状态监视与组装单元包括多个信号组装通道,数据复用单元的控制信号通信端用于连接各个信号组装通道的测试状态监视端;所述数据组包与控制符号生成单元用于根据接收的外部图像信号生成显示接口协议所需的数据流结构属性信息、测试序列和帧控制符,并根据显示接口协议对接收的外部图像信号的像素数据进行组包;所述数据复用单元根据从对应信号组装通道的测试状态监视端获取的信号组装通道测试状态,将相应的数据流结构属性信息、测试序列、帧控制符和像素数据包分配到状态监视与组装单元内对应的信号组装通道;所述状态监视与组装单元用于将接收到的数据流结构属性信息、测试序列、帧控制符和像素数据包根据各组装通道的测试状态生成对应的多路显示接口信号。To achieve the above object, a multi-channel display interface signal generating system of a shared protocol layer designed by the present invention includes a data group packet and control symbol generating unit, a data multiplexing unit, and a state monitoring and assembling unit, wherein the data group The signal output end of the packet and control symbol generating unit is connected to the signal input end of the state monitoring and assembling unit through the data multiplexing unit, the state monitoring and assembling unit includes a plurality of signal assembly channels, and the control signal communication end of the data multiplexing unit is used. a test state monitoring end connected to each signal assembly channel; the data packet and control symbol generating unit is configured to generate data stream structure attribute information, a test sequence, and a frame control symbol required by the display interface protocol according to the received external image signal, And grouping the pixel data of the received external image signal according to the display interface protocol; the data multiplexing unit assembling the channel test state according to the signal acquired from the test state monitoring end of the corresponding signal assembly channel, and corresponding data stream structure attribute Information, test sequences, frame control symbols, and pixel data Assigning to a corresponding signal assembly channel in the state monitoring and assembly unit; the state monitoring and assembling unit is configured to receive the received data stream structure attribute information, the test sequence, the frame control symbol, and the pixel data packet according to the test state of each assembly channel Generate corresponding multi-channel display interface signals.
一种共用协议层的多通道显示接口信号生成方法,它包括如下步骤:A multi-channel display interface signal generating method sharing a protocol layer includes the following steps:
步骤1:数据组包与控制符号生成单元接收外部图像信息,所述数据组包与控制符号生成单元的主数据流属性发生器根据外部图像信息生成显示接口协议的数据流结构属性信息;Step 1: The data group packet and the control symbol generating unit receive external image information, and the data stream packet and the main data stream attribute generator of the control symbol generating unit generate data stream structure attribute information of the display interface protocol according to the external image information;
同时,测试序列生成模块根据外部图像信息生成显示接口协议所需的各种类型的测试序列;At the same time, the test sequence generation module generates various types of test sequences required for displaying the interface protocol according to the external image information;
同时,帧控制符号生成模块根据外部图像信息生成显示接口协议的帧控制符;At the same time, the frame control symbol generating module generates a frame control character of the display interface protocol according to the external image information;
同时,像素数据组包模块根据显示接口协议对外部图像信息中的像素数据组成相应的数据包;At the same time, the pixel data packet module forms a corresponding data packet for the pixel data in the external image information according to the display interface protocol;
步骤2:数据复用单元从各个信号组装通道的测试状态监视端获取的对应的信号组装通道测试状态信息,并根据该测试状态信息将相应的数据流结构属性信息、测试序列、帧控制符和像素数据包分配到状态监视与组装单元内对应的信号组装通道;Step 2: The data multiplexing unit assembles the channel test state information from the corresponding signal acquired by the test state monitoring end of each signal assembly channel, and according to the test state information, the corresponding data stream structure attribute information, the test sequence, the frame control character, and Pixel data packets are allocated to corresponding signal assembly channels in the state monitoring and assembly unit;
步骤3:每个辅助通道信号控制与状态监视模块监视对应液晶显示模组的辅助通道
信号通信端的通信链路测试状态,对应的控制单元根据该通信链路状态控制信号组装模块对数据流结构属性信息、测试序列、帧控制符和像素数据包在显示接口协议的规则下进行组装,最终每个信号组装模块生成对应的显示接口信号,即完成了多路显示接口信号的生成。Step 3: Each auxiliary channel signal control and status monitoring module monitors an auxiliary channel of the corresponding liquid crystal display module
a communication link test state of the signal communication end, the corresponding control unit assembles the data stream structure attribute information, the test sequence, the frame control character, and the pixel data packet under the rule of the display interface protocol according to the communication link state control signal assembly module, Finally, each signal assembly module generates a corresponding display interface signal, that is, the generation of the multi-channel display interface signal is completed.
本发明的有益效果在于:The beneficial effects of the invention are:
相比传统的多颗ASIC专有芯片生成多路显示接口信号的方式,本发明只需要数据组包与控制符号生成单元、数据复用单元和状态监视与组装单元三个单元模块即可,体积小,能耗低,更适用于中小尺寸液晶模组的测试。另外,相比传统的现场可编程门阵列直接复制生成多路显示接口信号的方式,本发明由于采用了数据复用单元进行数据分配,使得前端只需设置一个数据组包与控制符号生成单元,降低了现场可编程门阵列的逻辑资源占用,提高了显示接口信号生成系统的集成度,能更好的适应越来越小型化的液晶模组。Compared with the traditional multi-ASIC display chip to generate multi-channel display interface signals, the present invention only needs three data modules: a data packet and a control symbol generating unit, a data multiplexing unit, and a state monitoring and assembling unit. Small, low energy consumption, more suitable for testing small and medium size LCD modules. In addition, compared with the traditional field programmable gate array directly copying and generating the multi-channel display interface signal, the present invention adopts the data multiplexing unit for data distribution, so that the front end only needs to set one data group packet and the control symbol generating unit. The logic resource occupation of the field programmable gate array is reduced, the integration degree of the display interface signal generation system is improved, and the liquid crystal module of more and more miniaturization can be better adapted.
附图说明DRAWINGS
图1为本发明中的结构框图。Figure 1 is a block diagram showing the structure of the present invention.
其中,1—数据组包与控制符号生成单元、1.1—主数据流属性发生器、1.2—测试序列生成模块、1.3—帧控制符号生成模块、1.4—像素数据组包模块、2—数据复用单元、3—状态监视与组装单元、3.1—信号组装模块、3.2—控制单元、3.3—辅助通道信号控制与状态监视模块、4—串行解串器。Among them, 1 - data packet and control symbol generation unit, 1.1 - main stream attribute generator, 1.2 - test sequence generation module, 1.3 - frame control symbol generation module, 1.4 - pixel data packet module, 2 - data multiplexing Unit, 3-state monitoring and assembly unit, 3.1-signal assembly module, 3.2-control unit, 3.3-auxiliary channel signal control and status monitoring module, 4-serial deserializer.
具体实施方式detailed description
以下结合附图和具体实施例对本发明作进一步的详细说明:The present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments:
如图1所述的共用协议层的多通道显示接口信号生成系统,如图1所述,它包括数据组包与控制符号生成单元1、数据复用单元2和状态监视与组装单元3,其中,所述数据组包与控制符号生成单元1的信号输出端通过数据复用单元2连接状态监视与组装单元3的信号输入端,状态监视与组装单元3包括多个信号组装通道,数据复用单元2的控制信号通信端用于连接各个信号组装通道的测试状态监视端;数据组包与控制符号生
成单元1用于根据接收的外部图像信号生成显示接口协议所需的数据流结构属性信息、测试序列和帧控制符,并根据显示接口协议对接收的外部图像信号的像素数据进行组包;数据复用单元2根据从对应信号组装通道的测试状态监视端获取的信号组装通道测试状态,将相应的数据流结构属性信息、测试序列、帧控制符和像素数据包分配到状态监视与组装单元3内对应的信号组装通道;状态监视与组装单元3用于将接收到的数据流结构属性信息、测试序列、帧控制符和像素数据包根据各组装通道的测试状态生成对应的多路显示接口信号。The multi-channel display interface signal generating system of the shared protocol layer as shown in FIG. 1 includes a data packet and control symbol generating unit 1, a data multiplexing unit 2, and a state monitoring and assembling unit 3, as described in FIG. The signal output end of the data packet and control symbol generating unit 1 is connected to the signal input end of the state monitoring and assembling unit 3 through the data multiplexing unit 2. The state monitoring and assembling unit 3 includes a plurality of signal assembly channels, and data multiplexing The control signal communication end of unit 2 is used to connect the test state monitoring end of each signal assembly channel; the data group package and the control symbol are generated.
The unit 1 is configured to generate data stream structure attribute information, a test sequence, and a frame control symbol required by the display interface protocol according to the received external image signal, and group the pixel data of the received external image signal according to the display interface protocol; The multiplexing unit 2 assembles the channel test state according to the signal acquired from the test state monitoring end of the corresponding signal assembly channel, and assigns the corresponding data stream structure attribute information, the test sequence, the frame control symbol, and the pixel data packet to the state monitoring and assembling unit 3 a corresponding signal assembly channel; the state monitoring and assembling unit 3 is configured to generate the corresponding multi-channel display interface signal according to the test state of each assembly channel by the received data stream structure attribute information, the test sequence, the frame control character and the pixel data packet. .
上述技术方案中,所述状态监视与组装单元3中的每个信号组装通道均包括信号组装模块3.1、控制单元3.2和辅助通道信号控制与状态监视模块3.3,其中,所述信号组装模块3.1的信号输入端连接数据复用单元2对应的信号输出端,信号组装模块3.1的信号输出端为信号组装通道的输出通道,该信号组装通道的输出通道用于连接对应液晶显示模组的高速数据信号及热插拔检测信号(HPD,Hot Plug Detection,热插拔检测)通信端,所述辅助通道信号(AUX,Auxiliary)控制与状态监视模块3.3的第一通信端连接对应液晶显示模组的辅助通道信号通信端(即输入端),辅助通道信号控制与状态监视模块3.3的信号输出端连接对应控制单元3.2的信号输入端,控制单元3.2的控制信号输出端连接对应信号组装模块3.1的控制端,辅助通道信号控制与状态监视模块3.3的测试状态监视端连接数据复用单元2的控制信号通信端。辅助通道信号控制与状态监视模块3.3负责与液晶模组的辅助通道信号通信端通信并监控链路所处的状态。信号组装模块3.1负责根据链路的状态将来自于数据复用单元2的数据组装成显示接口信号。控制单元3.2通过辅助通道信号控制与状态监视模块3.3检测到当前链路的状态,控制信号组装模块3.1工作。In the above technical solution, each of the signal assembly channels in the state monitoring and assembling unit 3 includes a signal assembly module 3.1, a control unit 3.2, and an auxiliary channel signal control and status monitoring module 3.3, wherein the signal assembly module 3.1 The signal input end is connected to the signal output end corresponding to the data multiplexing unit 2, and the signal output end of the signal assembly module 3.1 is an output channel of the signal assembly channel, and the output channel of the signal assembly channel is used for connecting the high-speed data signal corresponding to the liquid crystal display module. And a hot plug detection (HPD, Hot Plug Detection) communication terminal, the auxiliary channel signal (AUX, Auxiliary) control and the first communication end of the state monitoring module 3.3 are connected to the auxiliary of the liquid crystal display module The channel signal communication end (ie, the input end), the auxiliary channel signal control and the signal output end of the state monitoring module 3.3 are connected to the signal input end of the corresponding control unit 3.2, and the control signal output end of the control unit 3.2 is connected to the control end of the corresponding signal assembly module 3.1. , the auxiliary channel signal control and the test status monitoring terminal of the status monitoring module 3.3 are connected to the data. The control signal communication terminal of the multiplexing unit 2. The auxiliary channel signal control and status monitoring module 3.3 is responsible for communicating with the auxiliary channel signal communication terminal of the liquid crystal module and monitoring the state of the link. The signal assembly module 3.1 is responsible for assembling the data from the data multiplexing unit 2 into display interface signals according to the state of the link. The control unit 3.2 detects the state of the current link through the auxiliary channel signal control and status monitoring module 3.3, and the control signal assembly module 3.1 operates.
上述技术方案中,所述数据组包与控制符号生成单元1包括主数据流属性发生器1.1(MSA Gen,Main Stream Attribute Generator)、测试序列生成模块1.2(TP Gen)、帧控制符号生成模块1.3(Frame Control Symbol Generator)和像素数据组包模块1.4(Pixel Packetizer),其中,所述主数据流属性发生器1.1、测试序列生成模块1.2、帧控制符号生成模块1.3和像素数据组包模块1.4的信号输入端均能接收外部图像信号,主数据流属性发生器1.1、测试序列生成模块1.2、帧控制符号生成模块1.3和像素数据组包模块1.4
的信号输出端连接数据复用单元2的信号输入端。In the above technical solution, the data packet and control symbol generating unit 1 includes a main stream attribute generator 1.1 (MSA Gen, Main Stream Attribute Generator), a test sequence generating module 1.2 (TP Gen), and a frame control symbol generating module 1.3. (Frame Control Symbol Generator) and Pixel Packetizer, wherein the main stream attribute generator 1.1, the test sequence generation module 1.2, the frame control symbol generation module 1.3, and the pixel data packet module 1.4 The signal input terminal can receive external image signals, the main data stream attribute generator 1.1, the test sequence generation module 1.2, the frame control symbol generation module 1.3, and the pixel data group package module 1.4.
The signal output terminal is connected to the signal input terminal of the data multiplexing unit 2.
上述技术方案中,所述每个信号组装通道的输出通道均连接有对应的串行解串器4(SERDES),每个信号组装通道的输出通道均通过对应的串行解串器4连接相应液晶显示模组的高速数据信号及热插拔检测信号通信端。串行解串器4用于将编码后的并行数据转为串行数据输出。In the above technical solution, the output channels of each of the signal assembly channels are connected with corresponding serial deserializers 4 (SERDES), and the output channels of each signal assembly channel are connected by corresponding serial deserializers 4 High-speed data signal and hot-swap detection signal communication terminal of the liquid crystal display module. The serial deserializer 4 is used to convert the encoded parallel data into serial data output.
一种共用协议层的多通道显示接口信号生成方法,它包括如下步骤:A multi-channel display interface signal generating method sharing a protocol layer includes the following steps:
步骤1:数据组包与控制符号生成单元1接收外部图像信息,该外部图像信息可由视频信号发生器产生的,也可通过TTL信号(transistor transistor logic,晶体管-晶体管逻辑电平)或LVDS信号或MIPI信号(Mobile Industry Processor Interface,移动产业处理器接口)或VX1信号(V-By-One,专用于图像传输的数字接口标准)解调得到,所述数据组包与控制符号生成单元1的主数据流属性发生器1.1根据外部图像信息生成显示接口协议的数据流结构属性信息;Step 1: The data packet and control symbol generating unit 1 receives external image information, which may be generated by a video signal generator, or may be through a TTL signal (transistor transistor logic) or an LVDS signal or MIPI signal (Mobile Industry Processor Interface) or VX1 signal (V-By-One, digital interface standard dedicated to image transmission) demodulated, the data packet and control symbol generating unit 1 main The data stream attribute generator 1.1 generates data stream structure attribute information of the display interface protocol according to the external image information;
同时,测试序列生成模块1.2根据外部图像信息生成显示接口协议所需的各种类型的测试序列;At the same time, the test sequence generation module 1.2 generates various types of test sequences required for displaying the interface protocol according to the external image information;
同时,帧控制符号生成模块1.3根据外部图像信息生成显示接口协议的帧控制符;At the same time, the frame control symbol generating module 1.3 generates a frame control character of the display interface protocol according to the external image information;
同时,像素数据组包模块1.4根据显示接口协议对外部图像信息中的像素数据组成相应的数据包;At the same time, the pixel data group packet module 1.4 forms a corresponding data packet for the pixel data in the external image information according to the display interface protocol;
步骤2:数据复用单元2从各个信号组装通道的测试状态监视端获取的对应的信号组装通道测试状态信息,并根据该测试状态信息将相应的数据流结构属性信息、测试序列、帧控制符和像素数据包分配到状态监视与组装单元3内对应的信号组装通道;Step 2: The data multiplexing unit 2 assembles the channel test state information from the corresponding signal obtained by the test state monitoring end of each signal assembly channel, and according to the test state information, the corresponding data stream structure attribute information, the test sequence, and the frame control character. And the pixel data packet is allocated to the corresponding signal assembly channel in the state monitoring and assembling unit 3;
步骤3:每个辅助通道信号控制与状态监视模块3.3监视对应液晶显示模组的辅助通道信号通信端的通信链路测试状态,对应的控制单元3.2根据该通信链路状态控制信号组装模块3.1对数据流结构属性信息、测试序列、帧控制符和像素数据包在显示接口协议的规则下进行组装,最终每个信号组装模块3.1生成对应的显示接口信号,即完成了多路显示接口信号的生成。Step 3: Each auxiliary channel signal control and status monitoring module 3.3 monitors the communication link test status of the auxiliary channel signal communication end of the corresponding liquid crystal display module, and the corresponding control unit 3.2 assembles the module 3.1 pair data according to the communication link state control signal. The stream structure attribute information, the test sequence, the frame control character and the pixel data packet are assembled under the rules of the display interface protocol, and finally each signal assembly module 3.1 generates a corresponding display interface signal, that is, the generation of the multi-channel display interface signal is completed.
上述技术方案中,所述数据流结构属性信息包括场同步信号、行同步信号和数据有效信号之间的位置参数。
In the above technical solution, the data stream structure attribute information includes a position parameter between the field synchronization signal, the line synchronization signal, and the data valid signal.
上述技术方案中,所述场同步信号、行同步信号和数据有效信号之间的位置参数包括前肩、后肩、脉宽、以及场消隐和行消隐参数。In the above technical solution, the position parameters between the field sync signal, the line sync signal and the data valid signal include a front shoulder, a back shoulder, a pulse width, and a field blanking and line blanking parameter.
上述技术方案中,所述帧控制符包括消隐区起始控制符(BS,Blank Start)、消隐区结束控制符(BE,Blank End)、视频帧起始控制符(FS,Frame Start)和视频帧结束控制符(FE,Frame End)。In the above technical solution, the frame control character includes a blank start control (BS, Blank Start), a blank end control (BE, Blank End), and a video frame start control (FS, Frame Start). And the video frame end control character (FE, Frame End).
上述技术方案中,所述液晶显示模组的辅助通道信号通信端的通信链路测试状态包括恢复时钟训练状态、符号对齐训练状态和视频模式状态。In the above technical solution, the communication link test state of the auxiliary channel signal communication end of the liquid crystal display module includes a recovery clock training state, a symbol alignment training state, and a video mode state.
上述技术方案的步骤1中的测试序列包括恢复时钟训练测试序列和符号对齐训练测试序列。The test sequence in step 1 of the above technical solution includes a recovery clock training test sequence and a symbol alignment training test sequence.
本说明书未作详细描述的内容属于本领域专业技术人员公知的现有技术。
The contents not described in detail in the specification belong to the prior art known to those skilled in the art.