A kind of self-checking system of infrared touch panel
Technical field
The utility model relates to the infrarede emitting diode of formation infrared ray grating in a kind of infrared touch panel and the self-checking system of the pick-up unit of infrared phototriode, particularly a kind of infrared touch panel.
Background technology
The scanning technique of infrared touch panel depends on the interruption of the infrared ray grating in indicator screen the place ahead.Touch frame X, comprise on the Y direction infrared light-emitting diode array and phototriode array and by send-receive one to one the pattern opposing parallel install, thereby form a sightless infrared ray grating.Touch screen controller makes X, the diode array of Y direction is lighted successively and is sent infrared beam, when barrier such as finger enter the light beam grid, just blocked light beam, made one or several phototriodes detect the loss of light, thereby confirmed the X and the Y-axis coordinate that are touched by calculating the back.
Because the number of power valve and receiving tube is numerous, if one even a plurality of damaged tubular are arranged, then may make the whole touch screen cisco unity malfunction.And in production, maintenance engineering, how to judge the duty of a hundreds of pipe fast, the problem of fault location pipe is also very urgent rapidly.Cooperate automatic means of testing such as utilizing software if use conventional methods, measuring with multimeter of a pipe of a pipe then is an engineering that takes time and effort, and particularly workload is unimaginable especially when producing in batches.
The utility model content
The purpose of this utility model is to provide a kind of self-checking system of infrared touch panel, mainly solving existing method adopts multimeter to measure each pipe to come the inefficient technical matters of failure judgement, help quick trouble shooting touch-screen, bigger reduction production and maintenance cost.
For addressing the above problem, the utility model is achieved in that
A kind of self-checking system of infrared touch panel, this touch-screen housing in the horizontal and vertical directions one by one correspondence be provided with power valve and receiver pope; It is characterized in that: a control panel links to each other with the receiver pope array with the power valve array, and this control panel links to each other with touch-screen PC or host computer PC by the USB connecting line.
The self-checking system of described infrared touch panel is characterized in that: this power valve is an infrared light-emitting diode, and this receiver pope is a phototriode.
The self-checking system of described infrared touch panel is characterized in that: this control panel comprises control chip, ADC load module, addressing module; The signal input part of infrared tube connects control chip by the ADC load module, and the signal output part of control chip connects the signal input part of infrared tube by the addressing module.
The self-checking system of described infrared touch panel is characterized in that: this control chip is the C8051 F340 of SiliconLaboratories.
Use the utility model system, what overcome a pipe of a pipe of original method seeks bad pipe with the multimeter measurement, the problem that detection efficiency is lower, and structure and the quick fault location pipe of debugging software by special use have improved efficient greatly.
Description of drawings
Fig. 1 is a detection system structural drawing in the utility model.
Embodiment
The utility model provides a kind of self-checking system of infrared touch panel.As shown in Figure 1: this touch-screen housing in the horizontal and vertical directions one by one correspondence be provided with power valve and receiver pope.One control panel links to each other with the receiver pope array with the power valve array, and this control panel links to each other with touch-screen PC or host computer PC by the USB connecting line.This power valve is an infrared light-emitting diode, and this receiver pope is a phototriode.This control panel comprises control chip, ADC load module, addressing module; The signal input part of infrared tube connects control chip by the ADC load module, and the signal output part of control chip connects the signal input part of infrared tube by the addressing module.This control chip is the C8051 F340 of SiliconLaboratories.
System architecture of the present utility model powers in conjunction with the infrared touch panel firmware program can self check, under standard light-dark, the infrared ray grid is scanned several times, read the magnitude of voltage of each phototriode, obtain when not stopping and the variable quantity when not having the infrared light irradiation, variable quantity then is judged as bad pipe less than limit value.Concrete steps are:
The illumination condition did not exceed restriction when (1) infrared touch panel powered on, and guaranteed not have the generation of touch.
(2) determine minimal difference a: DiffValueMin, if the difference<DeffValueMin of the infrared receiving tube reading when lighting certain pipe and not lighting this pipe then is judged as evil idea and manages.
(3) the firmware self-check program begins to scan whole infrared ray grid, lights each pipe successively earlier, and the records of values of the infrared receiving tube that obtains is at variable R owValue[ROWMAX] and ColumnValue[COLMAX] in.Under the condition of not lighting this pipe, the numerical value of record receiver pope is at RowValueBlind[ROWMAX again], ColumnValueBlind[COLMAX] in.
ROWMAX: the number that horizontal direction infrared emission-receiver pope is right;
COLMAX: the number that vertical direction infrared emission-receiver pope is right.
(4) calculate RowDiffValue[i]=| RowValue[i]-RowValueBlind[i] |;
ColumnDiffValue[j]=|ColumnValue[j]-ColumnValueBlind[j]|;
If RowDiffValue[i]<DiffValueMin, then the address i with this pipe is recorded in RowBadNum[] in;
If ColumnDiffValue[j]<DiffValueMin, then the address j with this pipe is recorded in ColumnBadNum[] in;
So just bad pipe has been found out.
Being preferred embodiment of the present utility model only in sum, is not to be used for limiting practical range of the present utility model.Be that all equivalences of doing according to the content of the utility model claim change and modification, all should be technology category of the present utility model.