CN105161039A - Labview-based multi-type signal online testing system - Google Patents

Labview-based multi-type signal online testing system Download PDF

Info

Publication number
CN105161039A
CN105161039A CN201510632558.6A CN201510632558A CN105161039A CN 105161039 A CN105161039 A CN 105161039A CN 201510632558 A CN201510632558 A CN 201510632558A CN 105161039 A CN105161039 A CN 105161039A
Authority
CN
China
Prior art keywords
signal
control computer
module
con
industrial control
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.)
Pending
Application number
CN201510632558.6A
Other languages
Chinese (zh)
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.)
Nanjing Panda Electronics Manufacturing Co Ltd
Original Assignee
Nanjing Panda Electronics Manufacturing 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 Nanjing Panda Electronics Manufacturing Co Ltd filed Critical Nanjing Panda Electronics Manufacturing Co Ltd
Priority to CN201510632558.6A priority Critical patent/CN105161039A/en
Publication of CN105161039A publication Critical patent/CN105161039A/en
Pending legal-status Critical Current

Links

Landscapes

  • Investigating Strength Of Materials By Application Of Mechanical Stress (AREA)

Abstract

The invention discloses a Labview-based multi-type signal online testing system, which comprises an industrial control computer (1), wherein the industrial control computer (1) is respectively connected with a PLC control system (2) and a signal source (3), the PLC control system (2) is connected with a T-CON board testing fixture (4), the T-CON board testing fixture (4) is connected with signal acquisition and transmission equipment (5), and the signal acquisition and transmission equipment (5) is connected with the industrial control computer (1) through a data line; and the industrial control computer (1) is used for processing image signals and analog-digital signals which are output by a T-CON board to be tested and acquired by the signal acquisition and transmission equipment (5), comparing the processed signals with standard values, and judging whether the T-CON board to be tested is qualified or not through comparative results. According to the Labview-based multi-type signal online testing system, the T-CON board is tested automatically so that the testing results are more precise and direct, the production efficiency is improved and the missing test ratio is reduced.

Description

A kind of polytype signal Online Transaction Processing based on Labview
Technical field
The present invention relates to devices communicating and signal transacting field, specifically a kind of polytype signal Online Transaction Processing based on Labview.
Background technology
Along with the development of science and technology and the progress of society, liquid crystal display instead of traditional CRT monitor completely, liquid crystal display has radiationless, the feature such as flicker free, volume are little, low-power consumption and has captured the market of display completely, and As time goes on, the application of liquid crystal display will be more and more wider.
Liquid crystal Timing driver control panel (T-CON plate) is as important composition parts of liquid crystal display also along with the development in liquid crystal display market, and scale constantly expands.Therefore, how production control cost, improve production efficiency and product quality becomes the major issue faced in T-CON plate production run.But product test becomes a most important link in production run, directly affects the stability of the quality and performance of product.The method of traditional test macro mainly mode manually and human subjective's range estimation judges that whether T-CON board test is qualified, such mode of operation is only with the subjective judgement of individual, be unfavorable for pipelining in enormous quantities, the serious detection efficiency affecting T-CON panel products, causes the loss of T-CON plate defective products higher simultaneously.
Summary of the invention
The object of the invention is for above-mentioned traditional T-CON plate detection system Problems existing, in order to improve the intelligence degree of prior art, reduce production cost, enhance productivity and reduce T-CON panel products test fraction defective, a kind of polytype signal Online Transaction Processing based on Labview is provided.
The object of the invention is to solve by the following technical programs:
A kind of polytype signal Online Transaction Processing based on Labview, comprise industrial control computer, it is characterized in that: described industrial control computer is connected with signal source with PLC control system respectively, PLC control system is connected with T-CON board test fixture, T-CON board test fixture is connected with transmission equipment with signals collecting, and signals collecting is then connected with industrial control computer by data line with transmission equipment; Wherein: industrial control computer and PLC control system carry out positioning with control T-CON board test fixture T-CON plate to be measured and testing alternately, and the signal receiving confidence sample and transform equipment is processed and displayed; Signal source is connected with the T-CON plate to be measured on T-CON board test fixture and for the T-CON plate to be measured on T-CON board test fixture provides test signal under the control of industrial control computer; T-CON board test fixture is for fixing T-CON plate to be measured and being drawn out to by signal on corresponding signals collecting and transmission equipment so that gather signal; Signals collecting and transmission equipment for gather the T-CON plate to be measured on T-CON board test fixture output signal and this output signal sent to industrial control computer to judge whether this T-CON plate to be measured qualified.
Described signals collecting and transmission equipment comprise modulus signal collecting device, picture signal collecting device and interface protector, and wherein modulus signal collecting device is for gathering the modulus signal of the output of the T-CON plate to be measured on T-CON board test fixture and sending to industrial control computer to process and display this modulus signal; Picture signal collecting device is for gathering the picture signal of the output of the T-CON plate to be measured on T-CON board test fixture and sending to industrial control computer to process and display this picture signal, and picture signal collecting device is connected with the picture signal output interface on the T-CON plate to be measured on T-CON board test fixture by interface protector.
Described modulus signal comprises the voltage signal of plan and the frequency signal of numeral; Described picture signal comprises line synchronizing signal, field sync signal and differential pair signal, and differential pair signal is transmitted with the form of Low Voltage Differential Signal.
The signal wire that input end and the voltage on T-CON plate to be measured and the frequency test point of described modulus signal collecting device are drawn is connected, and the output terminal of modulus signal collecting device is connected with industrial control computer by usb bus; Line synchronizing signal, field sync signal and differential pair signal that the input end of picture signal collecting device exports for gathering T-CON plate to be measured; and the input end of picture signal collecting device is connected with the output terminal of interface protector, the output terminal of picture signal collecting device is connected with the PCIE bus interface of industrial control computer.
Described picture signal collecting device comprises image capture module, DDR control module, fifo module and PCIE sending module, wherein the picture signal of the output of the T-CON plate to be measured on T-CON board test fixture to be unstringed after serial data is converted to parallel data by module by the FPGA of image capture module inside via interface protector and is saved in the DDR of DDR control module by image capture module, by the data in DDR control module reading DDR in fifo module, the triggered interrupts when the parallel data in fifo module reaches the data volume of a frame, parallel data is sent in PCIE sending module by fifo module, these data are sent in industrial control computer by PCIE bus and process and display by PCIE sending module.
The picture signal that T-CON plate to be measured exports by described picture signal collecting device uploads to industrial control computer by the view data that the data transformations of differential signal is BMP form by conversion chip and processs and displays.
The processing mode of described industrial control computer to view data is the contrast that standard picture that the image that collected by picture signal collecting device and signal source export carries out similarity, namely the view picture standard picture exported the entire image collected and signal source carries out the comparison of image similarity, set a threshold value, when fiducial value exceed threshold value then judge qualified, otherwise defective.
The comparative approach that described industrial control computer carries out image similarity is as follows: 1. read the standard picture of signal source output to core buffer; 2. the image collected and standard picture are carried out gray processing and binaryzation respectively, and calculate histogram distribution respectively; 3. histogram is divided into 64 districts, each district is continuous print 4 gray shade scales; 4. summation operation is carried out to 4 gray-scale values in each district, obtain 1 data, 64 data can be calculated in this way, be a vector (fingerprint) of this width image; 5. the vectorial A of the image collected and the vectorial B of standard picture can be obtained by above-mentioned calculating; 6. according to similarity measurement computing formula, calculate the similarity of two width images, calculating formula of similarity is as follows:
Wherein, wherein be two vectorial angles, n is two vectorial dimensions, and when angle is 0 degree, then two vector direction are identical and overlap, and similarity is the highest; 7. according to the similarity result calculated compare with the threshold value of setting, as being greater than threshold value, then both are similar, otherwise dissimilar.
There are analog channel and digital channel in described modulus signal collecting device inside, can gather the analog signals of multichannel and digital quantity signal simultaneously, the data collected process by uploading to industrial control computer after the A/D modular converter conversion in modulus signal collecting device, industrial control computer by each channel acquisition to value directly and the scope of standard setting compare, when being positioned at, the signal that standard value range then judges to collect is normal, otherwise abnormal.
Described interface protector is used for the interference of erasure signal and avoids signal short circuit over the ground and damage picture signal collecting device.
Described signal source comprises peripheral module, flush bonding processor, SD card interface module, FPGA module and DDR module, UART interface in peripheral module is connected with industrial control computer by RS232 bus, flush bonding processor is connected with FPGA module with peripheral module, SD card interface module respectively, and FPGA module is connected with DDR module.
The picture format parameter that described signal source exports is determined according to the model of T-CON plate to be measured, flush bonding processor in signal source receives the instruction of industrial control computer by peripheral module, flush bonding processor reads the view data in SD card interface module and is stored in DDR module by the test image data of reading by FPGA module, and under the control of flush bonding processor, FPGA module reads the test image data in DDR module and is converted to the test image data of specific format and parameter; RGB in last FPGA module is turned LVDS signaling module and test picture data signal is converted to differential signal and is exported to T-CON plate to be measured on T-CON board test fixture by LVDS interface.
Described PLC control system for control T-CON board test fixture cylinder action, security alarm, malfunction monitoring and carry out the mutual of order with industrial control computer.
Be ready to complete the comprising alternately of described order order mutual, start test command mutual, test into the mutual of the mutual of order and alarm command, the step of its interactive mode is: PLC control system is in holding state, after T-CON board test fixture detects that T-CON plate to be measured has been placed, PLC control system sends to industrial control computer and is ready to complete order and waiting for the start test command; Send to PLC control system after industrial control computer receives and is ready to complete order and start test command; Cylinder pressure action after PLC control system receives and starts test command in control T-CON board test fixture puts in place; Industrial control computer receive cylinder put in place signal post command signal source to the T-CON plate to be measured on T-CON board test fixture send input signal start test, test postindustrial computer for controlling to PLC control system transmission test into order; Cylinder after PLC control system receives and tests into order in control T-CON board test fixture lifts action, cylinder lift action complete after PLC control system to industrial control computer sending action settling signal; Industrial control computer returns to default conditions after receiving action settling signal, and wait for enter next time test cylinder sent by PLC control system be ready to complete order.
Described order mutual in, order is ready to complete to industrial control computer when PLC control system sends, if industrial control computer does not send and starts test command or industrial control computer and send and start test command and PLC control system does not receive all the time always, now PLC control system sends alarm command.
Described T-CON board test to be measured is qualified refers to the modulus signal of signals collecting and transmission equipment collection and picture signal is all passed through; If there is any one tested entries not pass through, then judge that T-CON board test to be measured is defective.
The present invention has the following advantages compared to existing technology:
The Low Voltage Differential Signal that system of the present invention is exported T-CON plate to be measured by signals collecting and transmission equipment and modulus signal gather, and the signal after gathering is uploaded to industrial control computer and processes, the value range of industrial control computer to the signal collected and standard compares, by the result that compares with objective numerical monitor out, whether qualified to judge T-CON plate to be measured, carry out the mutual of information by PLC control system and industrial control computer simultaneously, control the action of physical construction T-CON board test fixture, realize the robotization of T-CON board test flow process, make test result more precisely directly perceived, can effectively enhance productivity, reduce loss, save labour cost, increase productivity.
System of the present invention realizes pneumatic control mode and replaces traditional manual operations, replace artificial visual identification with digitized image processing algorithm, make test result more precisely directly perceived in conjunction with electric control system, mechanical systems and devices communicating and signal processing system; Signals collecting and transmission equipment can gather picture signal and multichannel modulus signal simultaneously simultaneously, substantially reduce the test duration, while guarantee Product checking quality, enhance productivity; In addition in the mode of image similarity contrast, the cosine similarity that have employed image vector compares, and can draw the similarity of image fast and accurately, judging nicety rate is higher, improves testing efficiency.
Accompanying drawing explanation
Accompanying drawing 1 is the polytype signal Online Transaction Processing modular structure schematic diagram based on Labview of the present invention;
Accompanying drawing 2 is signals collecting of the present invention and transmission equipment internal module structural representation;
Accompanying drawing 3 is signal source internal module structural representation of the present invention;
Accompanying drawing 4 is system testing process flow diagram of the present invention;
Control flow chart when accompanying drawing 5 is industrial control computer of the present invention work.
Wherein: 1-industrial control computer; 2-PLC control system; 3-signal source; 4-T-CON board test fixture; 5-signals collecting and transmission equipment.
Embodiment
In order to understand the present invention better, below in conjunction with accompanying drawing and concrete embodiment, the present invention is specifically described.In the following description, when perhaps the detailed description of existing prior art can desalinate subject content of the present invention, these are described in and will be left in the basket here.
As Figure 1-5: a kind of polytype signal Online Transaction Processing based on Labview, comprise industrial control computer 1, industrial control computer 1 is connected with signal source 3 with PLC control system 2 respectively, PLC control system 2 is connected with T-CON board test fixture 4, T-CON board test fixture 4 is connected with transmission equipment 5 with signals collecting, and signals collecting is then connected with industrial control computer 1 by data line with transmission equipment 5; Wherein: industrial control computer 1 and PLC control system 2 carry out positioning with control T-CON board test fixture 4 T-CON plate to be measured and testing alternately, and the signal receiving confidence sample and transform equipment 5 is processed and displayed; Signal source 3 is connected with the T-CON plate to be measured on T-CON board test fixture 4 and for the T-CON plate to be measured on T-CON board test fixture 4 provides test signal under the control of industrial control computer 1; T-CON board test fixture 4 is for fixing T-CON plate to be measured and being drawn out to by signal on corresponding signals collecting and transmission equipment 5 so that gather signal; Signals collecting and transmission equipment 5 for gather the T-CON plate to be measured on T-CON board test fixture 4 output signal and this output signal sent to industrial control computer 1 to judge whether this T-CON plate to be measured qualified, T-CON board test to be measured is qualified refers to the modulus signal of signals collecting and transmission equipment collection and picture signal is all passed through.
In said system, PLC control system 2 is for the cylinder action of control T-CON board test fixture 4, security alarm, malfunction monitoring and carry out the mutual of order with industrial control computer 1, comprising alternately of order is ready to complete the mutual of order, start the mutual of test command, test into the mutual of the mutual of order and alarm command, the step of its interactive mode is: PLC control system 2 is in holding state, after T-CON board test fixture 4 detects that T-CON plate to be measured has been placed, PLC control system 2 sends to industrial control computer 1 and is ready to complete order and waiting for the start test command, send to PLC control system 2 after industrial control computer 1 receives and is ready to complete order and start test command, cylinder pressure action after PLC control system 2 receives and starts test command in control T-CON board test fixture 4 puts in place, industrial control computer 1 receive cylinder put in place signal post command signal source 3 to the T-CON plate to be measured on T-CON board test fixture 4 send input signal start test, test postindustrial computer for controlling 1 to PLC control system 2 transmission test into order, cylinder after PLC control system 2 receives and tests into order in control T-CON board test fixture 4 lifts action, cylinder lift action complete after PLC control system 2 to industrial control computer 1 sending action settling signal, industrial control computer 1 returns to default conditions after receiving action settling signal, and wait for enter next time test cylinder sent by PLC control system 2 be ready to complete order.Order in addition mutual in, order is ready to complete to industrial control computer 1 when PLC control system 2 sends, if industrial control computer 1 does not send and starts test command or industrial control computer 1 and send and start test command and PLC control system 2 does not receive all the time always, now PLC control system 2 sends alarm command.
As shown in Figure 3: signal source 3 comprises peripheral module, flush bonding processor, SD card interface module, FPGA module and DDR module, UART interface in peripheral module is connected with industrial control computer 1 by RS232 bus, flush bonding processor is connected with FPGA module with peripheral module, SD card interface module respectively, and FPGA module is connected with DDR module.The picture format parameter that signal source 3 exports is determined according to the model of T-CON plate to be measured, flush bonding processor in signal source 3 receives the instruction of industrial control computer 1 by peripheral module, flush bonding processor reads the view data in SD card interface module and is stored in DDR module by the test image data of reading by FPGA module, and under the control of flush bonding processor, FPGA module reads the test image data in DDR module and is converted to the test image data of specific format and parameter; RGB in last FPGA module is turned LVDS signaling module and test picture data signal is converted to differential signal and is exported to T-CON plate to be measured on T-CON board test fixture 4 by LVDS interface.
Signals collecting and transmission equipment 5 comprise modulus signal collecting device, picture signal collecting device and interface protector, wherein modulus signal collecting device is for gathering the modulus signal of the output of the T-CON plate to be measured on T-CON board test fixture 4 and sending to industrial control computer 1 to process and display this modulus signal, the signal wire that input end and the voltage on T-CON plate to be measured and the frequency test point of modulus signal collecting device are drawn is connected, the output terminal of modulus signal collecting device is connected with industrial control computer 1 by usb bus, modulus signal comprises the voltage signal of plan and the frequency signal of numeral, picture signal collecting device is for gathering the picture signal of the output of the T-CON plate to be measured on T-CON board test fixture 4 and sending to industrial control computer 1 to process and display this picture signal, picture signal comprises line synchronizing signal, field sync signal and differential pair signal, and differential pair signal is transmitted with the form of Low Voltage Differential Signal, the input end of picture signal collecting device is for gathering the line synchronizing signal of T-CON plate to be measured output, field sync signal and differential pair signal, and the input end of picture signal collecting device is connected with the output terminal of interface protector, the output terminal of picture signal collecting device is connected with the PCIE bus interface of industrial control computer 1, picture signal collecting device is connected with the picture signal output interface on the T-CON plate to be measured on T-CON board test fixture 4 by interface protector, interface protector is mainly used for preventing charged hot plug in operation from causing the damage of picture signal collecting device, or the error that in signal shorted to earth and signal acquisition process, the shake of the collection signal that extraneous disturbing factor causes causes.Specifically, as shown in Figure 2: picture signal collecting device comprises image capture module, DDR control module, fifo module and PCIE sending module, wherein the picture signal of the output of the T-CON plate to be measured on T-CON board test fixture 4 to be unstringed after serial data is converted to parallel data by module by the FPGA of image capture module inside via interface protector and is saved in the DDR of DDR control module by image capture module, by the data in DDR control module reading DDR in fifo module, the triggered interrupts when the parallel data in fifo module reaches the data volume of a frame, parallel data is sent in PCIE sending module by fifo module, these data are sent in industrial control computer 1 by PCIE bus and process and display by PCIE sending module, namely the picture signal that exported by T-CON plate to be measured of picture signal collecting device uploads to industrial control computer 1 by the view data that the data transformations of differential signal is BMP form by conversion chip and processs and displays.
Because there are analog channel and digital channel in modulus signal collecting device inside, can gather the analog signals of multichannel and digital quantity signal simultaneously, the data collected process by uploading to industrial control computer 1 after the A/D modular converter conversion in modulus signal collecting device, industrial control computer 1 by each channel acquisition to value directly and the scope of standard setting compare, when being positioned at, the signal that standard value range then judges to collect is normal, otherwise abnormal.In the process of view data, the processing mode of industrial control computer 1 pair of view data is the contrast that standard picture that the image that collected by picture signal collecting device and signal source export carries out similarity, namely the view picture standard picture exported the entire image collected and signal source 3 carries out the comparison of image similarity, set a threshold value, when fiducial value exceed threshold value then judge qualified, otherwise defective.The comparative approach that industrial control computer 1 carries out image similarity is as follows: 1. read the standard picture of signal source 3 output to core buffer; 2. the image collected and standard picture are carried out gray processing and binaryzation respectively, and calculate histogram distribution respectively; 3. histogram is divided into 64 districts, each district is continuous print 4 gray shade scales; 4. summation operation is carried out to 4 gray-scale values in each district, obtain 1 data, 64 data can be calculated in this way, be a vector of this width image; 5. the vectorial A of the image collected and the vectorial B of standard picture can be obtained by above-mentioned calculating; 6. according to similarity measurement computing formula, calculate the similarity of two width images, calculating formula of similarity is as follows:
Wherein, wherein be two vectorial angles, n is two vectorial dimensions, and when angle is 0 degree, then two vector direction are identical and overlap, and similarity is the highest; 7. according to the similarity result calculated compare with the threshold value of setting, as being greater than threshold value, then both are similar, otherwise dissimilar.
The specific embodiment of the present invention is T-CON plate to be measured with the T-CON plate of 21.5 cun, discusses the system of test macro composition and the testing process that relates to.
In one embodiment of the invention, the highest resolution can supporting 4K*2K of signal source 3, the highest support frequency is 120hz, passage group 16lane, and bit wide is that the signal of the form of 12bit exports, and backward compatible multi-signal form.First need the signal format of the transmission in the model setting signal source 3 for T-CON plate to be measured, signal source 3 inside is the output being realized the LVDS format signal of special parameter by the process of embedded processing chip arm and FPGA module.First, read the bitmap test picture inside signal source SD card interface module by embedded processing chip arm and be stored in DDR module by FPGA module, this bitmap test picture comprises the parameter with T-CON plate format match to be measured, as the form, frequency and voltage etc. of port number, bit wide, output signal.In the present embodiment, setting port number is binary channels, and bit wide is 8bit, and resolution is 1920*1080, and form is VESA, and voltage is 5V, and frequency is 60hz.Then, FPGA module reads the bitmap test picture in DDR module under the control of embedded processing chip ARM, according to setting format parameter and in conjunction with the sequential control of FPGA module inside, RGB turns the T-CON plate to be measured exported to by LVDS interface after signal that bitmap tested picture by LVDS signaling module is converted to differential signal on T-CON board test fixture 4.The signal exported is connected to the input end of T-CON plate to be measured, LVDS format signal is converted to MINI_LVDS signal, image capture module is mainly used to gather MINI_LVDS signal, image capture module is the data signal of MINI_LVDS form being converted to bitmap format, and being sent on PCIE interface bus by PCIE sending module, it is medium pending that the data of bitmap format are sent to industrial control computer 1 by PCIE interface bus.In one embodiment of the invention, first the picture format parameter that picture signal collecting device is set is needed, comprise BANK number, resolution, bit wide, data pair, Pixpline, the parameters such as Linepframe, according to the actual specifications parameter of T-CON plate to be measured, setting bank number is binary channels, resolution is 1920*1080, bit width is 6bit, the value of Pixpline is row pixel number is 960 divided by 2, Linepframe is that to be multiplied by 2 be 2160 to row pixel number, the collection to the MINI_LVDS signal that T-CON plate to be measured exports can be started after being provided with, image capture module is saved in the DDR of DDR control module after serial data is converted to parallel bitmap formatted data by the module of unstringing in built-in FPGA by the MINI_LVDS signal of input, by the data in DDR control module reading DDR in fifo module, the triggered interrupts when the parallel data in fifo module reaches the data volume of a frame, parallel data is sent in PCIE sending module by fifo module, these data are sent in industrial control computer 1 by PCIE bus and process and display by PCIE sending module, namely the picture signal that exported by T-CON plate to be measured of picture signal collecting device uploads to industrial control computer 1 by the view data that the data transformations of differential signal is BMP form by conversion chip and processs and displays.In one embodiment of the invention, modulus signal collecting device is mainly to the voltage signal that T-CON plate to be measured exports, frequency signal gathers, in general, need to test multiple voltage signal and frequency signal to carry out Comprehensive Comparison, therefore need to implement multiple passage and gather simultaneously, by the connection of passage corresponding for signal to be collected on hardware, the analog voltage signal collected is carried out A/D conversion by modulus signal collecting device, data after conversion are uploaded to industrial control computer 1 etc. by usb bus interface pending, the modulus data collected is carried out D/A conversion voltage range values that is rear and standard and compares by industrial control computer 1, can judge to gather by comparative result the voltage that exported by T-CON plate to be measured and whether frequency values is within normal range, thus whether can detect T-CON plate to be measured qualified.Wherein, if voltage signal to be collected is positioned at the first eight passage of the analog channel of modulus signal collecting device, because these passages have carried out dividing potential drop on hardware, so need to be multiplied by dividing potential drop coefficient to the result collected, ensure the accuracy of result.Industrial control computer 1 is except can processing the program collected, can also communicate with PLC control system 2, the control to T-CON board test fixture 4 action is realized by PLC control system 2, after T-CON board test fixture 4 detects that suitable position put into by T-CON plate to be measured, by sensor, signal is outputted to PLC control system 2, now PLC control system 2 can carry out action by control T-CON board test fixture 4, the action of T-CON board test fixture 4 is divided into the action in horizontal and vertical direction, the probe that vertical action mainly realizes the test point of T-CON plate to be measured and T-CON board test fixture 4 are drawn fully contacts, ensure that signal can extract conveniently to be connected with transmission equipment 5 with signals collecting, the action of level is mainly by signal that signal source 3 exports, be connected with T-CON plate to be measured by the interface of horizontal direction, for T-CON plate to be measured provides input.PLC control system 2 is as follows with the step of the communication mode of industrial control computer 1: test before starting, PLC control system 2 is in holding state, after T-CON board test fixture 4 detects that T-CON plate to be measured has been placed, PLC control system 2 sends to industrial control computer 1 and is ready to complete order and waiting for the start test command; Industrial control computer 1 sends beginning test command by RS232 serial ports to PLC control system 2 after receiving and being ready to complete order; Cylinder pressure action after PLC control system 2 receives and starts test command in control T-CON board test fixture 4 puts in place; Industrial control computer 1 receive cylinder put in place signal post command signal source 3 to the T-CON plate to be measured on T-CON board test fixture 4 send input signal start test, test postindustrial computer for controlling 1 to PLC control system 2 transmission test into order; Cylinder after PLC control system 2 receives and tests into order in control T-CON board test fixture 4 lifts action, cylinder lift action complete after PLC control system 2 to industrial control computer 1 sending action settling signal; Industrial control computer 1 returns to default conditions after receiving action settling signal, and wait for enter next time test cylinder sent by PLC control system 2 be ready to complete order.In one embodiment, place a position transducer in the position of placing T-CON plate to be measured, when detecting that the position of T-CON plate to be measured is placed correct, PLC control system 2 sends to industrial control computer 1 and gets out order, otherwise send without order, point out user to check simultaneously.Simultaneously in order to ensure the stability of input signal, the horizontal direction of T-CON board test fixture 4 arranges a pressure transducer, when horizontal interface inserts the LVDS interface of T-CON plate to be measured, meet obstructions, then just judging socket not, stop action, prompting user checks whether the LVDS interface of T-CON plate to be measured has problem, if do not meet obstructions, then can test normally, PLC control system 2 can send to industrial control computer 1 and get out test command.When PLC control system 2 sends, to get out order to industrial control computer 1(be generally that separated in time sends three times continuously), if industrial control computer 1 does not send beginning test command always, or industrial control computer 1 sends control command, but PLC control system 2 does not receive all the time, now PLC control system 2 produces alerting signal.In one embodiment, due in test process, the velocity ratio of the Signal transmissions that industrial control computer 1 sends is very fast, PLC control system 2 is often caused not respond in time, in order to ensure that PLC control system 2 can receive the beginning test command of industrial control computer 1 transmission after transmission gets out order, need the order to industrial control computer 1 sends to carry out time delay 50ms, the normal reception of order can be realized in this way.After test completes, by judging the Integrated comparative of all test items, can judge that whether T-CON plate to be measured is qualified, completing the test to T-CON plate to be measured and checking.
In one embodiment of the invention, the picture signal that collects T-CON plate to be measured is responsible for by industrial control computer 1 and modulus signal processes, the notifying device structure that the signal processing mode of whole test macro is mainly arranged in industrial control computer 1 designs, order transmission is arranged in and sends notification architecture, the process of signal is arranged in notification received structure, concrete embodiment following steps:
(1), the parameter of signalization sample and transform equipment: the parameter carrying out signalization sample and transform equipment 5 according to the form of the Low Voltage Differential Signal of T-CON plate output to be measured, the parameter of signalization sample and transform equipment is placed in the transmission notification architecture of notifying device, after being provided with, send a notification message to and accept notification architecture, triggering collection task, performs step (2).
(2), image is gathered: gather image task and be placed in the reception notification structure of notifying device, the step of concrete collection image is as follows: 1. searching image signal collecting device, according to the group number (bank number) of the differential pair signal that T-CON plate to be measured exports, determine the quantity of required image signal collecting device, determined the address of slot array and the address of number of devices of PCIE bus slot by search function, distinguish collecting device by slot number; 2. picture signal collecting device is opened, obtain the address of picture signal collecting device handle, searching picture signal collecting device and after determining the slot number of slot, using the address of apparatus slot array as input parameter, the address of the handle of picture signal collecting device can obtained; 3. storage allocation, using the address of picture signal collecting device handle as parameter, obtains the memory headroom address of view data address and the address of DMA structure pointer value, is embodied as picture signal collecting device storage allocation space on industrial control computer 1; 4. by obtaining the parameters such as the address of DMA structure pointer value and view data and picture signal collecting device handle, bitmap image data to be collected can be obtained by Image Acquisition function; 5. picture signal collecting device is closed after having gathered image, the memory headroom that release distributes.After image acquisition completes, perform step (4).
(3), modulus signal is gathered: notifying device receives in structure, while reception gathers image command, the modulus signal of T-CON plate to be measured can be gathered simultaneously, the collection of modulus signal mainly industrial control computer 1 sends acquisition to modulus signal collecting device, the modulus signal collected is turned back to industrial control computer 1 by modulus signal collecting device, concrete acquisition mode is: 1. according to modulus signal collecting device address, opening modulus signal collecting device, distributing the signal to be collected acquisition channel to specifying by signal wiring; 2. industrial control computer 1 sends acquisition in the buffer zone of modulus signal collecting device, the signal of modulus signal collecting device to dedicated tunnel gathers, and read the dividing potential drop coefficient of the first eight analog channel, and the data collected are saved in buffer zone; 3. judge whether the analog voltage gathered is positioned at front 8 passages of analog channel, if be positioned at the first eight passage, then needs to be multiplied by dividing potential drop coefficient to the signal data value collected; 4. industrial control computer 1 reads the data in modulus signal collecting device buffer zone, and changes the voltage signal of numeral into simulating signal by D/A conversion.After modulus signal collection completes, perform step (4).
(4), signal process with compare: what gather step (2), (3) compares with standard picture and modulus signal term of reference respectively to signal demand, whether normal according to the signal that the result compared carries out judging to collect, thus judge that whether T-CON plate to be measured is qualified, the image of established standards is the bitmap picture that signal source sends, and the method that image similarity compares is as follows: 1. read the standard picture of signal source 3 output to core buffer; 2. the image collected and standard picture are carried out gray processing and binaryzation respectively, and calculate histogram distribution respectively; 3. histogram is divided into 64 districts, each district is continuous print 4 gray shade scales; 4. summation operation is carried out to 4 gray-scale values in each district, obtain 1 data, 64 data can be calculated in this way, be a vector of this width image; 5. the vectorial A of the image collected and the vectorial B of standard picture can be obtained by 1.-computing 4.; 6. according to similarity measurement computing formula, calculate the similarity of two width images, calculating formula of similarity is as follows:
Wherein, wherein be two vectorial angles, n is two vectorial dimensions, and when angle is 0 degree, then two vector direction are identical and overlap, and similarity is the highest; 7. according to the similarity result calculated compare with the threshold value of setting, as being greater than threshold value, then both are similar, otherwise dissimilar.Gather modulus signal scope that is direct and standard setting to compare, if within scope, then judge that the signal collected is normal, otherwise abnormal.In one embodiment, setting threshold value is 0.95, if >0.95, then judge that image passes through, the image namely collected is normal, and namely the MINI_LVDS signal of T-CON plate output to be measured is normal, otherwise the picture signal that T-CON plate to be measured exports is defective.
The Low Voltage Differential Signal that system of the present invention is exported T-CON plate to be measured by signals collecting and transmission equipment and modulus signal gather, and the signal after gathering is uploaded to industrial control computer and processes, the value range of industrial control computer to the signal collected and standard compares, by the result that compares with objective numerical monitor out, whether qualified to judge T-CON plate to be measured, carry out the mutual of information by PLC control system and industrial control computer simultaneously, control the action of physical construction T-CON board test fixture, realize the robotization of T-CON board test flow process, make test result more precisely directly perceived, can effectively enhance productivity, reduce loss, save labour cost, increase productivity.
System of the present invention realizes pneumatic control mode and replaces traditional manual operations, replace artificial visual identification with digitized image processing algorithm, make test result more precisely directly perceived in conjunction with electric control system, mechanical systems and devices communicating and signal processing system; Signals collecting and transmission equipment can gather picture signal and multichannel modulus signal simultaneously simultaneously, substantially reduce the test duration, while guarantee Product checking quality, enhance productivity; In addition in the mode of image similarity contrast, the cosine similarity that have employed image vector compares, and can draw the similarity of image fast and accurately, judging nicety rate is higher, improves testing efficiency.
Specific embodiment described herein is only illustrate spirit of the present invention.Those skilled in the art can make various amendment or supplement or adopt similar mode to substitute to described specific embodiment, but can't depart from spirit of the present invention or surmount the scope that appended claims defines; The technology that the present invention does not relate to all is realized by prior art.

Claims (16)

1. the polytype signal Online Transaction Processing based on Labview, comprise industrial control computer (1), it is characterized in that: described industrial control computer (1) is connected with signal source (3) with PLC control system (2) respectively, PLC control system (2) is connected with T-CON board test fixture (4), T-CON board test fixture (4) is connected with transmission equipment (5) with signals collecting, and signals collecting is then connected with industrial control computer (1) by data line with transmission equipment (5); Wherein: industrial control computer (1) and PLC control system (2) carry out positioning with control T-CON board test fixture (4) T-CON plate to be measured and testing alternately, and to receive confidence sample and transform equipment (5) signal process and display; Signal source (3) is connected with the T-CON plate to be measured on T-CON board test fixture (4) and for the T-CON plate to be measured on T-CON board test fixture (4) provides test signal under the control of industrial control computer (1); T-CON board test fixture (4) is for fixing T-CON plate to be measured and being drawn out to by signal on corresponding signals collecting and transmission equipment (5) so that gather signal; Signals collecting and transmission equipment (5) for gather the T-CON plate to be measured on T-CON board test fixture (4) output signal and this output signal sent to industrial control computer (1) to judge whether this T-CON plate to be measured qualified.
2. the polytype signal Online Transaction Processing based on Labview according to claim 1, it is characterized in that: described signals collecting and transmission equipment (5) comprise modulus signal collecting device, picture signal collecting device and interface protector, wherein modulus signal collecting device is for gathering the modulus signal of the output of the T-CON plate to be measured on T-CON board test fixture (4) and this modulus signal being sent to industrial control computer (1) to process and display; Picture signal collecting device is for gathering the picture signal of the output of the T-CON plate to be measured on T-CON board test fixture (4) and this picture signal being sent to industrial control computer (1) to process and display, and picture signal collecting device is connected with the picture signal output interface on the T-CON plate to be measured on T-CON board test fixture (4) by interface protector.
3. the polytype signal Online Transaction Processing based on Labview according to claim 2, is characterized in that: described modulus signal comprises the voltage signal of plan and the frequency signal of numeral; Described picture signal comprises line synchronizing signal, field sync signal and differential pair signal, and differential pair signal is transmitted with the form of Low Voltage Differential Signal.
4. the polytype signal Online Transaction Processing based on Labview according to Claims 2 or 3, it is characterized in that: the signal wire that input end and the voltage on T-CON plate to be measured and the frequency test point of described modulus signal collecting device are drawn is connected, and the output terminal of modulus signal collecting device is connected with industrial control computer (1) by usb bus; Line synchronizing signal, field sync signal and differential pair signal that the input end of picture signal collecting device exports for gathering T-CON plate to be measured; and the input end of picture signal collecting device is connected with the output terminal of interface protector, the output terminal of picture signal collecting device is connected with the PCIE bus interface of industrial control computer (1).
5. the polytype signal Online Transaction Processing based on Labview according to claim 2, it is characterized in that: described picture signal collecting device comprises image capture module, DDR control module, fifo module and PCIE sending module, wherein the picture signal of the output of the T-CON plate to be measured on T-CON board test fixture (4) to be unstringed after serial data is converted to parallel data by module by the FPGA of image capture module inside via interface protector and is saved in the DDR of DDR control module by image capture module, by the data in DDR control module reading DDR in fifo module, the triggered interrupts when the parallel data in fifo module reaches the data volume of a frame, parallel data is sent in PCIE sending module by fifo module, these data are sent in industrial control computer (1) by PCIE bus and process and display by PCIE sending module.
6. the polytype signal Online Transaction Processing based on Labview according to claim 2, is characterized in that: the picture signal that T-CON plate to be measured exports by described picture signal collecting device uploads to industrial control computer (1) by the view data that the data transformations of differential signal is BMP form by conversion chip and processs and displays.
7. the polytype signal Online Transaction Processing based on Labview according to claim 2 or 5, it is characterized in that: described industrial control computer (1) processing mode to view data is the contrast that standard picture that the image that collected by picture signal collecting device and signal source export carries out similarity, namely the view picture standard picture exported the entire image collected and signal source (3) carries out the comparison of image similarity, set a threshold value, when fiducial value exceed threshold value then judge qualified, otherwise defective.
8. the polytype signal Online Transaction Processing based on Labview according to claim 7, is characterized in that: the comparative approach that described industrial control computer (1) carries out image similarity is as follows: 1. read standard picture that signal source (3) exports to core buffer; 2. the image collected and standard picture are carried out gray processing and binaryzation respectively, and calculate histogram distribution respectively; 3. histogram is divided into 64 districts, each district is continuous print 4 gray shade scales; 4. summation operation is carried out to 4 gray-scale values in each district, obtain 1 data, 64 data can be calculated in this way, be a vector (fingerprint) of this width image; 5. the vectorial A of the image collected and the vectorial B of standard picture can be obtained by above-mentioned calculating; 6. according to similarity measurement computing formula, calculate the similarity of two width images, calculating formula of similarity is as follows:
Wherein, wherein be two vectorial angles, n is two vectorial dimensions, and when angle is 0 degree, then two vector direction are identical and overlap, and similarity is the highest; 7. according to the similarity result calculated compare with the threshold value of setting, as being greater than threshold value, then both are similar, otherwise dissimilar.
9. the polytype signal Online Transaction Processing based on Labview according to claim 2, it is characterized in that: there are analog channel and digital channel in described modulus signal collecting device inside, can gather the analog signals of multichannel and digital quantity signal simultaneously, the data collected process by uploading to industrial control computer (1) after the A/D modular converter conversion in modulus signal collecting device, industrial control computer (1) by each channel acquisition to value directly and the scope of standard setting compare, then judge that the signal collected is normal when being positioned at standard value range, otherwise it is abnormal.
10. the polytype signal Online Transaction Processing based on Labview according to claim 1, is characterized in that: described interface protector is used for the interference of erasure signal and avoids signal short circuit over the ground and damage picture signal collecting device.
The 11. polytype signal Online Transaction Processings based on Labview according to claim 1, it is characterized in that: described signal source (3) comprises peripheral module, flush bonding processor, SD card interface module, FPGA module and DDR module, UART interface in peripheral module is connected with industrial control computer (1) by RS232 bus, flush bonding processor is connected with FPGA module with peripheral module, SD card interface module respectively, and FPGA module is connected with DDR module.
12. polytype signal Online Transaction Processings based on Labview according to claim 1 or 11, it is characterized in that: the picture format parameter that described signal source (3) exports is determined according to the model of T-CON plate to be measured, flush bonding processor in signal source (3) receives the instruction of industrial control computer (1) by peripheral module, flush bonding processor reads the view data in SD card interface module and is stored in DDR module by the test image data of reading by FPGA module, under the control of flush bonding processor, FPGA module reads the test image data in DDR module and is converted to the test image data of specific format and parameter, RGB in last FPGA module is turned LVDS signaling module and test picture data signal is converted to differential signal and is exported to T-CON plate to be measured on T-CON board test fixture (4) by LVDS interface.
The 13. polytype signal Online Transaction Processings based on Labview according to claim 1, is characterized in that: described PLC control system (2) for control T-CON board test fixture (4) cylinder action, security alarm, malfunction monitoring and carry out the mutual of order with industrial control computer (1).
The 14. polytype signal Online Transaction Processings based on Labview according to claim 1, it is characterized in that: be ready to complete the comprising alternately of described order order mutual, start test command mutual, test into the mutual of the mutual of order and alarm command, the step of its interactive mode is: PLC control system (2) is in holding state, after T-CON board test fixture (4) detects that T-CON plate to be measured has been placed, PLC control system (2) sends to industrial control computer (1) and is ready to complete order and waiting for the start test command; Industrial control computer (1) receives and is ready to complete the backward PLC control system of order (2) transmission beginning test command; Cylinder pressure action after PLC control system (2) receives and starts test command in control T-CON board test fixture (4) puts in place; Industrial control computer (1) receive cylinder put in place signal post command signal source (3) to the T-CON plate to be measured on T-CON board test fixture (4) send input signal start test, test postindustrial computer for controlling (1) to PLC control system (2) transmission test into order; Cylinder after PLC control system (2) receives and tests into order in control T-CON board test fixture (4) lifts action, cylinder lift action complete after PLC control system (2) to industrial control computer (1) sending action settling signal; After industrial control computer (1) receives action settling signal, return to default conditions, and wait for enter next time test cylinder sent by PLC control system (2) be ready to complete order.
The 15. polytype signal Online Transaction Processings based on Labview according to claim 14, it is characterized in that: described order mutual in, order is ready to complete to industrial control computer (1) when PLC control system (2) sends, if industrial control computer (1) does not send and starts test command or industrial control computer (1) and send and start test command and PLC control system (2) does not receive all the time always, now PLC control system (2) sends alarm command.
The 16. polytype signal Online Transaction Processings based on Labview according to claim 2, is characterized in that: described T-CON board test to be measured is qualified refers to the modulus signal of signals collecting and transmission equipment collection and picture signal is all passed through.
CN201510632558.6A 2015-09-29 2015-09-29 Labview-based multi-type signal online testing system Pending CN105161039A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510632558.6A CN105161039A (en) 2015-09-29 2015-09-29 Labview-based multi-type signal online testing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510632558.6A CN105161039A (en) 2015-09-29 2015-09-29 Labview-based multi-type signal online testing system

Publications (1)

Publication Number Publication Date
CN105161039A true CN105161039A (en) 2015-12-16

Family

ID=54801874

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510632558.6A Pending CN105161039A (en) 2015-09-29 2015-09-29 Labview-based multi-type signal online testing system

Country Status (1)

Country Link
CN (1) CN105161039A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105405377A (en) * 2016-01-08 2016-03-16 环鸿电子(昆山)有限公司 Timing control chip non-image detection system and method thereof
CN105607621A (en) * 2016-01-18 2016-05-25 深圳华强智能技术有限公司 Data acquisition system
CN105931590A (en) * 2016-04-28 2016-09-07 深圳市海达唯赢科技有限公司 LCD driver board automatic detection method and system
CN106249093A (en) * 2016-07-22 2016-12-21 上海新时达电气股份有限公司 Automatically differentiate and detect the devices and methods therefor of pre-buried sensor in electrical equipment
CN108269225A (en) * 2017-12-21 2018-07-10 芜湖圣美孚科技有限公司 A kind of monochromatic illumination and assistant images processing system
CN115083320A (en) * 2022-07-21 2022-09-20 深圳益实科技有限公司 Display control device with diagnosis function and diagnosis method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101950516A (en) * 2010-09-08 2011-01-19 佛山市进步科技有限公司 Detection system of driving plates liquid crystal television and liquid crystal display
CN102170580A (en) * 2011-03-16 2011-08-31 深圳Tcl新技术有限公司 Television testing method, device and system
CN102256158A (en) * 2011-07-29 2011-11-23 广州视源电子科技有限公司 Automatic television circuit board function testing method and system
US9041771B2 (en) * 2011-06-08 2015-05-26 City University Of Hong Kong Automatic switching of a multi-mode display for displaying three-dimensional and two-dimensional images

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101950516A (en) * 2010-09-08 2011-01-19 佛山市进步科技有限公司 Detection system of driving plates liquid crystal television and liquid crystal display
CN102170580A (en) * 2011-03-16 2011-08-31 深圳Tcl新技术有限公司 Television testing method, device and system
US9041771B2 (en) * 2011-06-08 2015-05-26 City University Of Hong Kong Automatic switching of a multi-mode display for displaying three-dimensional and two-dimensional images
CN102256158A (en) * 2011-07-29 2011-11-23 广州视源电子科技有限公司 Automatic television circuit board function testing method and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
程显毅,朱倩: "《文本挖掘原理》", 31 December 2010, 科学出版社 *

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105405377A (en) * 2016-01-08 2016-03-16 环鸿电子(昆山)有限公司 Timing control chip non-image detection system and method thereof
CN105607621A (en) * 2016-01-18 2016-05-25 深圳华强智能技术有限公司 Data acquisition system
CN105607621B (en) * 2016-01-18 2019-05-17 深圳华强智能技术有限公司 A kind of data collection system
CN105931590A (en) * 2016-04-28 2016-09-07 深圳市海达唯赢科技有限公司 LCD driver board automatic detection method and system
CN105931590B (en) * 2016-04-28 2019-07-05 深圳市海达唯赢科技有限公司 A kind of LCD driving plate automatic testing method and system
CN106249093A (en) * 2016-07-22 2016-12-21 上海新时达电气股份有限公司 Automatically differentiate and detect the devices and methods therefor of pre-buried sensor in electrical equipment
CN108269225A (en) * 2017-12-21 2018-07-10 芜湖圣美孚科技有限公司 A kind of monochromatic illumination and assistant images processing system
CN115083320A (en) * 2022-07-21 2022-09-20 深圳益实科技有限公司 Display control device with diagnosis function and diagnosis method
CN115083320B (en) * 2022-07-21 2022-11-15 深圳益实科技有限公司 Display control device with diagnosis function and diagnosis method

Similar Documents

Publication Publication Date Title
CN105161039A (en) Labview-based multi-type signal online testing system
CN105354535B (en) A kind of special Low Voltage Differential Signal Image Acquisition and processing method
CN108952673B (en) Method and device for checking working condition of oil pumping well
US20090213223A1 (en) Testing system for a video card and a testing method thereof
CN201653450U (en) Digital display meter automatic calibration device based on machine vision
CN103837758B (en) The Multiple detection system and its multiple detection method of image signal
CN105589801A (en) Mobile phone cluster test method and system
CN103631246A (en) Test method, test device, test tool and test system of electronic device
CN102843575A (en) VGA (Video Graphics Array) port test device and test method thereof
CN103941112A (en) System and method for detecting multiple image signals
CN102109753A (en) Automatic lens detecting method
US20140244195A1 (en) Testing system and method for video graphics array port
CN206038279U (en) LED vision detection system
CN202444573U (en) Novel LVDS (Low Voltage Differential Signaling) image collecting device
CN111402771A (en) Detection equipment for display driving chip and display module
CN201594889U (en) Digital television drive board debugging device
CN203883926U (en) V-by-One interface high speed image acquisition card
CN203433507U (en) A fault detection device for a computer mainboard
KR101849853B1 (en) High speed transmission apparatus of large volume image data
US20140258793A1 (en) Detecting system and method for motherboard
CN204115819U (en) A kind of liquid level recognition device based on camera
CN102829805A (en) U-disk sensor and detector
CN104917988A (en) V-BY-ONE interface high-speed image acquisition card
CN106443161A (en) Power measuring apparatus and method supporting hot swap of power probe
CN117686828A (en) Labview-based white household appliance display and control board online test system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20151216