CN108962105B - Liquid crystal module touch screen testing device and method based on FPGA - Google Patents

Liquid crystal module touch screen testing device and method based on FPGA Download PDF

Info

Publication number
CN108962105B
CN108962105B CN201810681836.0A CN201810681836A CN108962105B CN 108962105 B CN108962105 B CN 108962105B CN 201810681836 A CN201810681836 A CN 201810681836A CN 108962105 B CN108962105 B CN 108962105B
Authority
CN
China
Prior art keywords
liquid crystal
touch screen
crystal module
picture
video
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.)
Active
Application number
CN201810681836.0A
Other languages
Chinese (zh)
Other versions
CN108962105A (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.)
Wuhan Jingce Electronic Group Co Ltd
Original Assignee
Wuhan Jingce Electronic Group Co Ltd
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 Wuhan Jingce Electronic Group Co Ltd filed Critical Wuhan Jingce Electronic Group Co Ltd
Priority to CN201810681836.0A priority Critical patent/CN108962105B/en
Publication of CN108962105A publication Critical patent/CN108962105A/en
Application granted granted Critical
Publication of CN108962105B publication Critical patent/CN108962105B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/006Electronic inspection or testing of displays and display drivers, e.g. of LED or LCD displays
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0412Digitisers structurally integrated in a display
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/34Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source
    • G09G3/36Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source using liquid crystals

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Chemical & Material Sciences (AREA)
  • Crystallography & Structural Chemistry (AREA)
  • Human Computer Interaction (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Liquid Crystal Display Device Control (AREA)

Abstract

The invention discloses a liquid crystal module touch screen testing device and a method based on FPGA, wherein the testing device comprises a processor, a communication control unit, a picture acquisition unit, a video generation unit and a track processing unit which are embedded in the FPGA; the picture acquisition unit reads a test picture from the memory according to a test starting instruction received by the processor from the upper computer; the video generation unit generates a video time sequence adaptive to the liquid crystal module to be tested and outputs a test picture according to the video time sequence; the communication control unit reads a coordinate value generated after the touch screen receives the drawing according to the outline of the test picture according to an interrupt signal sent by the touch screen; the trace processing unit generates a continuous pressing trace according to the coordinate values and judges whether the pressing trace is normal or not according to a judgment strategy pre-configured by the processor; the system has simple structure, reduces the interaction times among the systems, shortens the communication link, has high signal transmission speed and greatly improves the production line testing efficiency.

Description

Liquid crystal module touch screen testing device and method based on FPGA
Technical Field
The invention belongs to the technical field of display, and particularly relates to a liquid crystal module touch screen testing device and method based on an FPGA.
Background
Touch Panel (TP), as an inductive liquid crystal display device capable of receiving input signals from contacts, is a man-machine interaction mode widely used at present; when a Liquid Crystal Module (LCM) manufacturer develops and produces a Liquid Crystal Module, the Liquid Crystal Module TP needs to be tested quickly and efficiently, so as to improve the production efficiency of a Liquid Crystal Module production line.
The traditional testing device adopts a special TP testing board to communicate with a touch chip in a liquid crystal module TP and collect coordinates; before testing, the PC controls the pattern signal generator to output a specific test image (such as a field character image or a return character image) to the liquid crystal module, a tester scribes on the TP by hands according to a field character track or a return character track on a picture, a touch control chip in the TP converts the scribing track into specific coordinate values, the TP test board reads the coordinate values and uploads the coordinate data to the PC, the PC filters and throws points on the coordinates uploaded by the TP test board and sends the coordinates after the track is described to the pattern signal generator, and the pattern signal generator superposes the track coordinates on the output image so as to be observed by an operator.
When the test device is used for testing the TP, the TP test board, the pattern signal generator and the PC are required to be matched together to complete the test, the hardware structure of the system is complex, and the test cost is high; and because the TP test board, the PC and the pattern signal generator are frequently interacted, the communication link is long, the real-time performance is poor, the test efficiency is low, and the productivity of the liquid crystal module is seriously restricted.
Disclosure of Invention
Aiming at least one defect or improvement requirement in the prior art, the invention provides a liquid crystal module touch screen testing device and method based on an FPGA (field programmable gate array), which can simplify the system architecture and improve the testing efficiency and aims to solve the problems of complex system structure, high testing cost, poor real-time performance and low testing efficiency of the existing testing device.
In order to achieve the above object, according to an aspect of the present invention, there is provided a device for testing a touch screen of a liquid crystal module based on an FPGA, comprising a processor embedded in the FPGA, a communication control unit, a picture acquisition unit, a video generation unit, and a track processing unit;
the processor is used for configuring the testing device according to the Timing data, the testing picture information and the communication interface type of the liquid crystal module to be tested, which are sent by the external upper computer; the device is used for receiving a test starting instruction sent by an external upper computer and logically controlling the working flows of the picture acquisition unit, the video generation unit, the communication control unit and the track processing unit;
the picture acquisition unit is used for reading a specified test picture from an external memory under the control of the processor;
the video generation unit is used for generating a video time sequence adaptive to the liquid crystal module to be tested according to the Timing data and outputting the test picture according to the video time sequence to form video stream data; the video stream data is used for enabling the liquid crystal module to be tested touch screen to display the test picture;
the communication control unit is used for reading a coordinate value generated by scribing according to the outline of the test picture when the touch screen detects the outline according to the interrupt signal sent by the touch screen;
the track processing unit is used for generating a continuous pressing track according to the coordinate values and judging whether the pressing track is abnormal or not according to a judgment strategy pre-configured by the processor; the abnormal conditions comprise disconnection, boundary crossing and overtime;
and the processor controls the picture acquisition unit to acquire a display picture corresponding to the judgment result from the external memory according to the judgment result generated by the track processing unit and sends the display picture to the liquid crystal module to be tested for display.
Preferably, in the liquid crystal module touch screen testing device, the picture acquiring unit comprises a mode selector and a read-write controller;
the mode selector is used for setting a storage address of the test picture according to the configuration information of the processor and controlling the read-write controller to read the test picture from the external memory according to the storage address.
Preferably, in the liquid crystal module touch screen testing device, the video generating unit comprises a Timing generator and a video generator;
the Timing generator is used for generating a video time sequence adaptive to the liquid crystal module to be tested according to the Timing data configured by the processor; and the video generator is used for outputting the test pictures sent by the read-write controller according to the video time sequence to generate video stream data.
Preferably, in the lcd touch screen testing device, the communication control unit includes a bus control module and a TP control module;
the bus control module is used for realizing bus communication between the TP control module and the touch screen of the liquid crystal module to be tested; the TP control module is used for initializing the liquid crystal module touch screen to be tested and reading the coordinate value of a pressing point generated by the touch screen according to an interrupt signal sent by the touch screen.
Preferably, in the liquid crystal module touch screen testing device, the trajectory processing unit includes a coordinate processing module, a trajectory tracing module and a trajectory judging module;
the coordinate processing unit is used for filtering the coordinate values generated by the touch screen to eliminate repeated and approximate coordinate values; the trajectory drawing module is used for connecting the coordinate values processed by the coordinate processing unit to generate a continuous pressing trajectory; and the track judgment module judges whether the pressing track is abnormal or not according to a judgment strategy configured by the processor.
Preferably, the track processing unit of the liquid crystal module touch screen testing device further comprises a video superposition module and a character generator;
the character generator is used for generating character dot matrix data according to auxiliary character information contained in the video stream data; the video superposition module is used for superposing the pressing track data and/or the character dot matrix data on video stream data, and outputting a video image generated after superposition to the liquid crystal module to be tested for display so that a tester can directly observe a test result.
Preferably, in the liquid crystal module touch screen testing device, the bus control module includes a plurality of bus controllers, and the processor selects and initializes the corresponding bus controller according to the communication interface type of the liquid crystal module to be tested.
According to another aspect of the invention, a method for testing a liquid crystal module touch screen based on an FPGA is provided, which comprises the following steps:
s1: configuring and initializing the testing device according to Timing data and communication interface types of the liquid crystal module to be tested, which are sent by an external upper computer;
s2: receiving a test starting instruction sent by an external upper computer, and reading a specified test picture from an external memory under the trigger of the test starting instruction;
s3: generating a video time sequence adaptive to the liquid crystal module to be tested according to the Timing data, and outputting the test picture according to the video time sequence to form video stream data; the video stream data is used for enabling the liquid crystal module to be tested touch screen to display the test picture;
s4: reading a coordinate value generated when the touch screen detects that the touch screen performs scribing according to the outline of the test picture according to an interrupt signal sent by the touch screen;
s5: generating a continuous pressing track according to the coordinate values, and judging whether the pressing track is abnormal or not according to a preset judgment strategy; the abnormal conditions comprise disconnection, boundary crossing and overtime;
s6: and obtaining a result picture corresponding to the judgment result from the external memory according to the judgment result in the step S5, and sending the result picture to the liquid crystal module to be tested for display.
Preferably, the liquid crystal module touch screen testing device further includes the following steps before step S5: the touch screen generated coordinate values are filtered to reject duplicate and close coordinate values.
Preferably, the step S5 of the testing apparatus for a touch screen of a liquid crystal module further includes the following steps:
and superposing the pressing track and/or character dot matrix data contained in the video stream data on the video stream data, and outputting a video image generated after superposition to a liquid crystal module to be tested for display.
In general, compared with the prior art, the above technical solution contemplated by the present invention can achieve the following beneficial effects:
(1) according to the liquid crystal module touch screen testing device and method based on the FPGA, the testing function which is jointly completed by the graphic signal generator and the TP testing board in the traditional testing device is realized through the processor, the communication control unit, the picture obtaining unit, the video generating unit and the track processing unit which are embedded in the FPGA, the system architecture is simple and efficient, the integration level is high, and the communication link is shortened; the generation of the video stream of the test picture, the acquisition and processing of the coordinate values, the tracing and superposition and the judgment of the test result are all realized by the FPGA, the interaction times with an upper computer are greatly reduced, the signal transmission speed is high, the real-time performance is high, and the production line test efficiency is greatly improved.
(2) According to the liquid crystal module touch screen testing device and method based on the FPGA, the bus control module comprises the I2C Controller, the SPI Controller and other bus controllers, the processor selects the corresponding bus Controller according to the type of the communication interface of the liquid crystal module to be tested to realize bus communication between the testing device and the liquid crystal module to be tested, so that the liquid crystal module touch screen testing device can be adapted to the liquid crystal modules of various communication interfaces, application scenes are enriched, and the universality of the testing device is improved.
Drawings
Fig. 1 is a logic block diagram of a testing device for a touch screen of a liquid crystal module based on an FPGA according to an embodiment of the present invention;
fig. 2 is a logic block diagram of a touch screen testing device of a liquid crystal module based on an FPGA according to a second embodiment of the present invention;
fig. 3 is a flowchart of a method for testing a touch screen of a liquid crystal module based on an FPGA according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. In addition, the technical features involved in the embodiments of the present invention described below may be combined with each other as long as they do not conflict with each other.
Fig. 1 is a logic block diagram of a testing device for a touch screen of a liquid crystal module based on an FPGA according to an embodiment of the present invention; as shown in fig. 1, the device for testing the touch screen of the liquid crystal module comprises a processor, a communication control unit, a picture acquisition unit, a video generation unit, a track processing unit and a power generation unit (not shown in the figure);
the processor is used for receiving configuration information, test picture information and communication interface types of the liquid crystal module to be tested, which are sent by an external upper computer, wherein the configuration information comprises Timing data and Power data; and configuring and initializing the testing device according to the configuration information, the test picture and the communication interface type, and specifically comprising: configuring and initializing a communication control unit according to the type of a communication interface of the liquid crystal module to be tested; configuring a video generation unit according to Timing data; generating voltage and switching electric time sequence data required by the work of the liquid crystal module to be tested according to the Power data and configuring a Power generation unit; and configuring the picture acquisition unit according to the test picture information.
After configuration is completed, the processor receives a test starting instruction sent by an external upper computer, and controls the picture acquisition unit, the video generation unit, the communication control unit and the track processing unit to execute test work according to a flow.
The power supply generation unit is used for outputting working voltage and on-off time sequence instructions required by the liquid crystal module to be tested according to the voltage data and the on-off electric time sequence generated by the processor, and ensuring that the liquid crystal module to be tested is normally lightened in the test process;
the picture acquisition unit is used for reading a specified test picture from the external DDR memory under the trigger of a test starting instruction; if the DDR memory does not store the test picture required by the test, the processor obtains the test picture from the external upper computer in advance and stores the test picture in the external DDR memory;
the video generation unit is used for generating a video time sequence adaptive to the liquid crystal module to be tested according to the Timing data configured by the processor and outputting a test picture according to the video time sequence to form video stream data;
after receiving the video stream data, the liquid crystal module to be tested displays a corresponding test picture on the touch screen; a tester marks a line on the touch screen according to the track of the test picture, and a touch chip in the touch screen converts the pressing point into a corresponding coordinate value and triggers the communication control unit to interrupt;
the communication control unit is used for initializing the touch screen of the liquid crystal module to be tested and reading a coordinate value generated by the touch screen according to an interrupt signal sent by the touch screen;
the trace processing unit is used for generating a continuous pressing trace according to the coordinate values output by the touch screen, judging whether the pressing trace is abnormal or not according to a judgment strategy pre-configured by the processor and feeding back a judgment result to the processor; if the track is broken, out of bounds, overtime, the touch screen has no reaction and the like;
the processor is also used for controlling the picture acquisition unit to acquire a display picture corresponding to the judgment result from the external DDR memory according to the judgment result generated by the track processing unit and sending the display picture to the liquid crystal module to be tested for display, so that a tester can visually acquire the test result; for example: when the judgment result is abnormal, the processor controls the picture acquisition unit to acquire a red NG picture from the external DDR memory and sends the red NG picture to the liquid crystal module to be tested; and when the judgment result is normal, the processor controls the picture acquisition unit to acquire a green OK picture from the external DDR memory and send the green OK picture to the liquid crystal module to be tested. In addition, the processor also sends corresponding popup messages to an external upper computer according to the judgment result generated by the track processing unit.
The processor, the communication control unit, the picture acquisition unit, the video generation unit and the track processing unit are embedded in the FPGA, and the processor can be an embedded processor of the FPGA and comprises but is not limited to ARM, NiosII or MicroBlaze and other processors; the processor is communicated with an external upper computer through communication interfaces such as an Eth, a USB and a UART to acquire configuration information, a test picture and a communication interface type of the liquid crystal module to be tested.
In a preferred embodiment, the picture taking unit comprises a mode selector and a DDR read-write controller;
the mode selector is used for setting a storage address of a specified test picture under the control of the processor, and controlling the DDR read-write controller to read the specified test picture, such as a 'field' word graph or a 'return' word graph, from the external DDR memory according to the storage address; the function of the mode selector has multiple implementation modes, for example, the processor stores the test picture in the external DDR memory and then sends a corresponding memory address to the mode selector, and the mode selector directly controls the DDR read-write controller to execute picture reading according to the address; or the processor directly selects the working mode of the mode selector, and different working modes correspond to specific test picture storage addresses; in addition, the mode selector is also used for controlling the DDR read-write controller to read a display picture corresponding to the test result from the external DDR memory, such as a green OK picture or a red NG picture, and feeding the display picture back to the processor; the DDR read-write controller is mainly responsible for read-write access control and arbitration of the external DDR memory.
In a preferred embodiment, the video generation unit comprises a Timing generator and a video generator;
the Timing generator is used for generating a video time sequence adaptive to the liquid crystal module to be tested according to Timing data configured by the processor, and the Timing data comprises video parameter data such as resolution, frame rate and refresh rate; the video generator is used for outputting the test picture sent by the DDR read-write controller according to the video time sequence output by the Timing generator to form video stream data;
in a preferred embodiment, the communication control unit includes a TP control module and a bus control module;
the TP control module is used for initializing the touch screen of the liquid crystal module to be tested and reading the coordinate value of a pressing point generated by the touch screen according to an interrupt signal sent by the touch screen; the bus control module is used for realizing bus communication between the touch screen Controller and the liquid crystal module touch screen to be tested, and comprises but not limited to I2CController, SPI Controller and other bus controllers, so that the device in the liquid crystal module touch screen test can be adapted to liquid crystal modules with various communication interfaces, and the universality of the test device is improved; the processor selects the corresponding bus controller according to the communication interface type of the liquid crystal module to be tested and initializes the bus controller, such as baud rate/clock, bit number, working mode and the like. A tester marks a line on the touch screen according to the track of a test picture, a touch control chip in the touch screen converts a pressing point into a corresponding coordinate value and triggers the TP control module to Interrupt through an Interrupt Request (IRQ) pin, and after receiving an Interrupt signal, the TP control module communicates with the touch control chip in the touch screen through a bus controller, reads the coordinate value and sends the coordinate value to the track processing unit.
In a preferred embodiment, the trajectory processing unit comprises a coordinate processing module, a trajectory delineation module and a trajectory decision module;
the coordinate processing unit is used for filtering a large number of coordinate values generated by the touch screen to eliminate repeated and approximate coordinate values; when a tester starts to press the touch screen, the touch chip outputs a large number of repeated coordinates and coordinate values with very close coordinates of the pressed point, which will cause interference to the processing and judgment of the trajectory description module and reduce the accuracy of the pressed trajectory generated by the trajectory description module; therefore, before the trace drawing module generates the pressing trace, the coordinate processing unit carries out interference removing processing on a large number of coordinate values output by the touch chip, and the accuracy of the test result of the touch screen is further improved.
The trace drawing module is used for connecting the coordinate values processed by the coordinate processing unit to generate a continuous pressing trace;
the track judgment module judges whether the pressing track is abnormal or not according to a judgment strategy configured by the processor and feeds back a judgment result to the processor; the abnormal conditions comprise disconnection, boundary crossing, overtime and the like, specific abnormal judgment conditions are set according to customer requirements, and a judgment strategy is formed and is configured for the track drawing module in advance by the processor. Specifically, the method comprises the following steps: the track judging module calculates the pixel width occupied by the pressing track and judges whether the pixel width is within a preset pixel width threshold range, if not, the out-of-range condition of the liquid crystal module touch screen is shown, and a test result is NG; the track judgment module judges whether the output time of two adjacent coordinate points in the pressing track exceeds a set value or not, if yes, the overtime situation of the liquid crystal module touch screen is shown, and a test result is NG; different liquid crystal modules have different set values of output time due to different touch screen characteristics; and the track judgment module calculates whether the pixel distance of two adjacent coordinate values in the pressing track is within a preset pixel distance threshold range, if not, the liquid crystal module touch screen is broken, and a test result is NG.
Fig. 2 is a logic block diagram of a touch screen testing device of a liquid crystal module based on an FPGA according to a second embodiment of the present invention; as shown in fig. 2, the present embodiment is different from the first embodiment in that the track processing unit further includes a video overlay module and a character generator;
the character generator is used for generating character dot matrix data according to the auxiliary character information contained in the video stream data; the video superposition module is used for superposing the pressing track data and/or the character dot matrix data on the video stream data, outputting the video image generated after superposition to the liquid crystal module to be tested for display, and enabling a tester to visually acquire the superposition effect in the scribing process so as to enable the tester to directly observe the test result.
The embodiment also provides a method for testing a liquid crystal module touch screen based on the FPGA, which comprises the following steps as shown in fig. 3:
s1: the processor configures the testing device according to the Timing data and the communication interface type of the liquid crystal module to be tested, which are sent by the external upper computer, and stores the testing picture sent by the external upper computer in the external memory; the method specifically comprises the following steps: the processor configures the Timing generator according to the Timing data, wherein the Timing data comprises video parameter data such as resolution, frame rate, refresh rate and the like; the processor selects a corresponding bus controller in the bus control module according to the type of the communication interface and initializes the bus controller;
s2: the processor receives a test starting instruction sent by an external upper computer, and the mode selector controls the DDR read-write controller to read a specified test picture from the external DDR memory under the triggering of the test starting instruction;
s3: the Timing generator generates a video time sequence adaptive to the liquid crystal module to be tested according to the Timing data, and the video generator outputs the test picture according to the video time sequence to form video stream data; the video stream data is used for enabling the liquid crystal module to be tested to display a test picture on the touch screen;
s4: the TP control module reads a coordinate value generated after the touch screen receives the outline of the test picture and lines according to the outline of the test picture through a bus controller according to an interrupt signal sent by the touch screen;
s5: the coordinate processing unit filters the coordinate values generated by the touch screen to eliminate repeated and approximate coordinate values; the trajectory drawing module is used for connecting the processed coordinate values to generate a continuous pressing trajectory; the video superposition module superposes character dot matrix data contained in video stream data generated by the pressing track and/or the character generator on the video stream data, and outputs a video image generated after superposition to the liquid crystal module to be tested for display so that a tester can directly observe the test effect; the track judgment module judges whether the pressing track is normal or not according to a judgment strategy pre-configured by the processor and feeds back a judgment result to the processor;
s6: and the processor acquires a result picture corresponding to the judgment result from the external DDR memory according to the judgment result in the step S5 and sends the result picture to the liquid crystal module to be tested for displaying, so that a tester can acquire the test result intuitively.
Compared with the existing touch screen testing device, the liquid crystal module touch screen testing device and method based on the FPGA provided by the invention realize the testing function which is jointly completed by the graphic signal generator and the TP testing board in the traditional testing device through the processor, the communication control unit, the picture acquisition unit, the video generation unit and the track processing unit which are embedded in the FPGA, the system architecture is simple and efficient, the integration level is high, and the communication link is shortened; the generation of the video stream of the test picture, the acquisition and processing of the coordinate values, the tracing and superposition and the judgment of the test result are all realized by the FPGA, the interaction times with an upper computer are greatly reduced, the signal transmission speed is high, the real-time performance is high, and the production line test efficiency is greatly improved.
It will be understood by those skilled in the art that the foregoing is only a preferred embodiment of the present invention, and is not intended to limit the invention, and that any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (8)

1. A liquid crystal module touch screen testing device based on an FPGA is characterized by comprising a processor, a communication control unit, a picture acquisition unit, a video generation unit and a track processing unit, wherein the processor, the communication control unit, the picture acquisition unit, the video generation unit and the track processing unit are embedded in the FPGA;
the processor is used for configuring the testing device according to the Timing data and the testing picture information of the liquid crystal module to be tested, which are sent by the external upper computer; the device is used for receiving a test starting instruction sent by an external upper computer and logically controlling the working flows of the picture acquisition unit, the video generation unit, the communication control unit and the track processing unit;
the picture acquisition unit is used for reading a specified test picture from an external memory under the control of the processor;
the video generation unit is used for generating a video time sequence adaptive to the liquid crystal module to be tested according to the Timing data and outputting the test picture according to the video time sequence to form video stream data; the video stream data is used for enabling the liquid crystal module to be tested touch screen to display the test picture;
the communication control unit comprises a bus control module and a TP control module; the bus control module is used for realizing bus communication between the TP control module and the touch screen of the liquid crystal module to be tested, the bus control module comprises a plurality of bus controllers, and the processor selects and initializes the corresponding bus controller according to the communication interface type of the liquid crystal module to be tested, which is sent by an external upper computer; the TP control module is used for initializing the touch screen of the liquid crystal module to be tested and reading a coordinate value generated when the touch screen detects that the touch screen performs scribing according to the outline of the test picture according to an interrupt signal sent by the touch screen;
the track processing unit is used for generating a continuous pressing track according to the coordinate values and judging whether the pressing track is abnormal or not according to a judgment strategy pre-configured by the processor;
and the processor controls the picture acquisition unit to acquire a display picture corresponding to the judgment result from the external memory according to the judgment result generated by the track processing unit and sends the display picture to the liquid crystal module to be tested for display.
2. The device for testing the touch screen of the liquid crystal module as claimed in claim 1, wherein the picture taking unit comprises a mode selector and a read/write controller;
the mode selector is used for setting a storage address of the test picture according to the configuration information of the processor and controlling the read-write controller to read the test picture from the external memory according to the storage address.
3. The liquid crystal module touch screen testing device of claim 1, wherein the video generating unit comprises a Timing generator and a video generator;
the Timing generator is used for generating a video time sequence adaptive to the liquid crystal module to be tested according to the Timing data configured by the processor; and the video generator is used for outputting the test pictures sent by the read-write controller according to the video time sequence to generate video stream data.
4. The device for testing the touch screen of the liquid crystal module as claimed in any one of claims 1 to 3, wherein the track processing unit comprises a coordinate processing module, a track drawing module and a track judging module;
the coordinate processing unit is used for filtering the coordinate values generated by the touch screen to eliminate repeated and approximate coordinate values; the trajectory drawing module is used for connecting the coordinate values processed by the coordinate processing unit to generate a continuous pressing trajectory; and the track judgment module judges whether the pressing track is abnormal according to a judgment strategy configured by the processor, wherein the abnormality comprises disconnection, boundary crossing and overtime.
5. The device for testing the touch screen of the liquid crystal module as claimed in claim 4, wherein the track processing unit further comprises a video superposition module and a character generator;
the character generator is used for generating character dot matrix data according to auxiliary character information contained in the video stream data; the video superposition module is used for superposing the pressing track data and/or the character dot matrix data on video stream data and outputting a video image generated after superposition to a liquid crystal module to be tested for display.
6. A liquid crystal module touch screen testing method based on FPGA is suitable for the liquid crystal module touch screen testing device of any one of claims 1-5, and is characterized by comprising the following steps:
s1: configuring the testing device according to the Timing data and the testing picture of the liquid crystal module to be tested, which are sent by an external upper computer;
s2: receiving a test starting instruction sent by an external upper computer, and reading a specified test picture from an external memory under the trigger of the test starting instruction;
s3: generating a video time sequence adaptive to the liquid crystal module to be tested according to the Timing data, and outputting the test picture according to the video time sequence to form video stream data; the video stream data is used for enabling the liquid crystal module to be tested touch screen to display the test picture;
s4: selecting a corresponding bus controller according to the communication interface type of the liquid crystal module to be tested sent by an external upper computer and initializing the bus controller to realize bus communication with the touch screen of the liquid crystal module to be tested; reading a coordinate value generated when the touch screen detects that the touch screen performs scribing according to the outline of the test picture according to an interrupt signal sent by the touch screen;
s5: generating continuous pressing tracks according to the coordinate values, and judging whether the pressing tracks are abnormal or not according to a preset judgment strategy, wherein the abnormality comprises disconnection, boundary crossing and overtime;
s6: and obtaining a result picture corresponding to the judgment result from the external memory according to the judgment result in the step S5, and sending the result picture to the liquid crystal module to be tested for display.
7. The method for testing the touch screen of the liquid crystal module as claimed in claim 6, wherein the step S5 is preceded by the steps of: the touch screen generated coordinate values are filtered to reject duplicate and close coordinate values.
8. The method for testing the touch screen of the liquid crystal module as claimed in claim 7, wherein the step S5 further comprises the following steps: and superposing the character dot matrix data contained in the pressing track and/or the video stream data on the video stream data, and outputting the video image generated after superposition to a liquid crystal module to be tested for display.
CN201810681836.0A 2018-06-27 2018-06-27 Liquid crystal module touch screen testing device and method based on FPGA Active CN108962105B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810681836.0A CN108962105B (en) 2018-06-27 2018-06-27 Liquid crystal module touch screen testing device and method based on FPGA

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810681836.0A CN108962105B (en) 2018-06-27 2018-06-27 Liquid crystal module touch screen testing device and method based on FPGA

Publications (2)

Publication Number Publication Date
CN108962105A CN108962105A (en) 2018-12-07
CN108962105B true CN108962105B (en) 2021-10-01

Family

ID=64487356

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810681836.0A Active CN108962105B (en) 2018-06-27 2018-06-27 Liquid crystal module touch screen testing device and method based on FPGA

Country Status (1)

Country Link
CN (1) CN108962105B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111198635B (en) * 2020-01-08 2023-06-27 云谷(固安)科技有限公司 Picture and touch control combined detection module and detection method and display device
CN111415605A (en) * 2020-03-20 2020-07-14 深圳同兴达科技股份有限公司 On-line test system and test method of liquid crystal display module
CN112242114B (en) * 2020-08-31 2023-04-18 苏州华兴源创科技股份有限公司 Device and system for identifying state of module to be displayed
CN114257758A (en) * 2020-09-25 2022-03-29 湖北视拓光电科技有限公司 Efficient human-computer interface superposition method based on FPGA
CN112416676A (en) * 2020-11-18 2021-02-26 上海磐启微电子有限公司 Testing tool applied to testing chip
CN112506720A (en) * 2020-11-20 2021-03-16 苏州华兴源创科技股份有限公司 Driving device, system and method for display module test based on FPGA
CN114241038A (en) * 2021-10-29 2022-03-25 惠州高盛达智显科技有限公司 Touch parameter adjusting method and system based on pattern recognition

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI375943B (en) * 2007-11-26 2012-11-01 Coretronic Corp Liquid crystal display and method for dimming backlighting of liquid crystal display
CN101770089B (en) * 2008-12-26 2012-03-07 京东方科技集团股份有限公司 Liquid crystal display module tester
CN203787060U (en) * 2014-02-18 2014-08-20 深圳市国华光电研究所 Display screen test device provided with plurality of VGA output interfaces
CN104865478B (en) * 2015-06-12 2018-01-05 武汉精测电子技术股份有限公司 The line detecting system and its detection method of a kind of touch screen
CN105045692B (en) * 2015-07-22 2018-11-30 京东方科技集团股份有限公司 Testing device for touch screens and system, testing touch screen control device

Also Published As

Publication number Publication date
CN108962105A (en) 2018-12-07

Similar Documents

Publication Publication Date Title
CN108962105B (en) Liquid crystal module touch screen testing device and method based on FPGA
TWI713907B (en) Automatic optical inspection system based on CPU, GPU and FPGA architecture
US9135675B2 (en) Multiple graphics processing unit display synchronization system and method
CN109032494B (en) Intelligent interaction system, writing track display method and device, tablet and medium
CN102592566B (en) Data driving device, corresponding operation method and corresponding display
US9058789B2 (en) Synchronous processing system and semiconductor integrated circuit
CN105607312A (en) Automated optical inspection device and method for defect inspection of LCD (liquid crystal display) module
CN108550350A (en) The over-current protection system and overcurrent protection method of liquid crystal display panel
CN104992648A (en) Liquid crystal module test system based on SOC FPGA
CN101815180A (en) Signal self-adaptive adapter plate of display screen interface
CN112147927B (en) Multi-axis motion control system for two-channel bus communication
CN201918143U (en) Intelligent liquid crystal display module detecting system
CN102141695A (en) Detection system for intelligent liquid crystal display module
CN202856875U (en) High-definition hybrid matrix seamless switching VGA output system
CN102945199B (en) System and method for intelligently detecting display card working condition
CN102097049B (en) Signal self-adaption device and method for liquid crystal module testing
CN114446226B (en) LED display screen dynamic display remote monitoring system
CN102591046A (en) Method for testing RGB (red, green and blue) interface of liquid crystal screen
US10571725B2 (en) Method for locating subpixel address, address location device and repairing device
CN212324117U (en) RS485 bus multi-host competition switching system
CN205015664U (en) Photovoltaic drive simulation device
CN1987567A (en) Liquid crystal display picture detecting system
CN202721742U (en) High definition hybrid matrix seamless switching DVI digital interface system
CN109558343B (en) PC interface signal switching device and method based on touch frame
CN112437115A (en) Train integrated man-machine interaction unit

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant