Embodiment
As shown in Figure 1, it is the structural representation of touch panel device embodiment of the present invention, wherein, the 101st, infrared transmission module longitudinally, the 102nd, horizontal infrared transmission module, the 103rd, infrared receiving module longitudinally, the 104th, horizontal infrared receiving module, 101,102,103,104 mutual group become the infrared scan module among the present invention, the 105th, infrared transmitting tube, the 106th, infrared receiving tube, 105 and 106 constitute the infrared emission receiving tube of a pair of pairing, 107 is 105 and 106 sweep traces that constitute, wherein, all vertical infrared scan lines are almost parallel, and all horizontal infrared scan lines are almost parallel, by horizontal stroke, infrared scan line on the vertical both direction has been formed the infrared scan net, the 108th, the coverage of 105 transponder pulse signals of infrared transmitting tube, when the deviation angle ofinfrared power valve 105 was big,infrared receiving tube 106 may detect less than infrared signal, wheninfrared power valve 105 was parallel with the central optical axis ofinfrared receiving tube 106, the detected infrared signal intensity of infrared receiving tube was the strongest.
In above-mentioned infrared scan module, each all is a synchronous working to the infrared emission receiving tube, and an infrared tube is used for emission, and an infrared tube is used for receiving, to detect on this a pair of infrared emission receiving tube corresponding scanning line whether shelter being arranged.Infrared transmission module is lighted a period of time according to certain time sequence with all infrared transmitting tubes, make it in running order one by one, and the signal that infrared receiving module detects at synchronization on the infrared receiving tube of pairing changes, with signal have or not or power has judged whether to block.In a scan period, all infrared transmitting tubes are lighted once, and all infrared transmitting tubes can be successively to light, and also can be that subregion is lighted simultaneously, according to the difference of application need and different.
The touch panel device of the invention described above (is positioned at touch panel device inside by the main control module, indicate among the figure) control, the main control module adopts bus or other modes to be connected with infrared transmission module and infrared receiving module, perhaps directly be connected so that infrared transmission module and infrared receiving module are controlled, with the pulse width of the pairing radiating circuit of adjustment infrared emission component and the gain multiple of the pairing receiving circuit of infrared receiver component, and receive or read from the detected touch data of infrared receiving module, calculate final touch coordinate, and coordinate data is sent to main process equipment.The main control module adjust a pair of infrared emission receiving element process can for: main control module by initialization infrared scan module or receive the pulse width of the pairing radiating circuit of infrared emission component that the infrared scan module transmitted and/or the gain multiple of the pairing receiving circuit of infrared receiver component, obtain current corresponding pulse width and/or the gain multiple that needs the infrared emission receiving tube of debugging, start one time infrared scan, the main control module is according to infrared signal intensity that infrared receiver component received, current pulse width and/or gain multiple calculate best pulse width and/or gain multiple.
After pulse width that draws above-mentioned the best and/or gain multiple, can be according to this best pulse width and/or the mode adjusted of gain multiple:
The main control module should the best pulse width and/or gain multiple or pulse width that should the best and/or gain multiple with respect to the modified value of original pulse width and/or gain multiple, send to infrared transmission module and/or infrared receiving module, the pulse width of the pairing radiating circuit of information change infrared emission component that is sent according to the main control module by infrared transmission module and/or infrared scan module and/or the gain multiple of the pairing receiving circuit of infrared receiver component are realized automatic debugging operations;
The main control module is according to this best pulse width and/or gain multiple, and directly the pulse width of the pairing radiating circuit of infrared emission component and/or the gain multiple of the pairing receiving circuit of infrared receiver component are realized automatic debugging operations.
Wherein, debugging to a pair of infrared emission receiving element, can only debug the gain multiple of the pairing receiving circuit of infrared receiver component, the pulse width that also can be the pairing radiating circuit of infrared emission component is debugged, also can be simultaneously described gain multiple and pulse width to be debugged, can be different according to the difference of application need.
Below according to each specific embodiment, adjustment method to touch panel device of the present invention is set forth, wherein, in following each embodiment, only the debugging at a pair of infrared emission receiving element describes, when practical operation, owing to can have a plurality of infrared emission components or infrared receiver component on a wiring board, when having the polylith wiring board, can carry out simultaneously the debugging of the infrared components of this polylith wiring board, but debug at an infrared components only simultaneously on each piece wiring board.
Embodiment one:
As shown in Figure 2, be the schematic flow sheet of embodiment one of the adjustment method of touch panel device of the present invention, in the present embodiment, when debugging, only the gain multiple of the pairing receiving circuit of receiving element is made amendment.
As shown in the figure, it comprises step:
Step S201: start one time infrared scan, detect the received infrared signal intensity level of infrared receiver component, be called detected value, enter step S202;
Step S202: judge whether described detected value is greater than or equal to minimum predetermined value and is less than or equal to maximum predetermined value, promptly whether satisfy the condition of minimum predetermined value<=detected value<=maximum predetermined value, if not, enter step S203, if, then need not debug or debug and finish the pairing relevant device parameter of current infrared emission receiving element, enter step S207, wherein, this minimum predetermined value and maximum predetermined value can have different setting meanss according to concrete application need;
Step S203: whether further judge described detected value greater than maximum predetermined value, if, enter step S204, if not, promptly described detected value then enters step S205 less than minimum predetermined value;
Step S204: reduce the gain multiple B of the pairing receiving circuit of infrared receiver component, enter step S206;
Step S205: increase the gain multiple B of the pairing receiving circuit of infrared receiver component, enter step S206;
Step S206: according to described step S204 or the adjusted gain multiple of step S205 B, the control infrared receiving module is made as described adjusted gain multiple B the new gain multiple of the pairing receiving circuit of infrared receiver component, and return step S201, the infrared emission of carrying out a new round receives debug process;
Step S207: debugging finishes to the infrared emission receiving element for this.
Wherein, among described step S204, the step S205, reduce and/or increase the degree of described gain multiple B, according to the difference of application scenario or the difference of each touch panel device, can be set to different adjustment modes, for example, based on current gain multiple, according to the value that increases certain gain multiple, perhaps adjust according to the mode of the number percent of the current gain multiple of increase/minimizing.
According to the scheme in the present embodiment, because the difference of the degree of aging of each infrared components, the detected value of receiver module is also different, the gain multiple that need to adjust receiving circuit this moment satisfies application demand, it is by judging the infrared signal intensity that infrared receiver component received, when this infrared signal intensity that receives is positioned at optimum range, when being aforesaid minimum predetermined value<=detected value<=maximum predetermined value, judge that then this a pair of infrared emission receiving element need not debugging or debugged to finish, in the time of outside being positioned at optimum range, if the infrared signal intensity of this reception is during less than minimum predetermined value, then increase the gain multiple of the pairing receiving circuit of corresponding infrared receiver component, the received infrared signal intensity of infrared receiving tube can suitably be increased, if the infrared signal intensity of this reception is during greater than maximum predetermined value, then reduce the gain multiple of the pairing receiving circuit of corresponding infrared receiver component, the received infrared signal intensity of infrared receiver component can suitably be reduced, thereby can make the received infrared signal intensity of infrared receiver component be positioned at optimum range, to reach best user mode, realize the purpose of debugging automatically.
After scheme in using present embodiment is adjusted, when touch panel device is in running order, before a pair of infrared emission receiving element is started working, infrared receiving module is according to the setting value of the gain multiple of the pairing receiving circuit of this infrared receiver component that sets, the gain multiple of receiving circuit is set at the pairing gain multiple of current infrared receiver component setting value, and with this gain multiple setting value execution infrared emission scan operation, at this after work is finished to the infrared emission receiving element, again the following in running order pairing gain multiple of infrared emission receiving element of a pair of need is adjusted, by that analogy, thereby the signal intensity that each infrared receiver component is received is positioned within the preset range, makes touch panel device be in good working order.
Wherein, because the difference of the degree of aging of each infrared components, might make the pairing gain multiple of this infrared receiver component comparatively near the gain multiple ultimate value of this receiving circuit, therefore:
Can also comprise step behind the described step S205: whether the gain multiple B after judgement increases is greater than predetermined maximum gain multiple, if, then with this maximum predetermined gain multiple as the new gain multiple of the pairing receiving circuit of this infrared receiver component or judge that directly this is aging to the infrared emission receiving element, if not, then with the new gain multiple of the gain multiple after this increase as the pairing receiving circuit of this infrared receiver component.
Wherein, before the scheme in carrying out present embodiment, can also comprise step: obtain the gain multiple B of the pairing receiving circuit of infrared receiver component, wherein, a kind of in can be in the following ways of the acquisition of this gain multiple B, the mode that is adopted can be different as required:
One: the main control module of infrared touch screen device sends message getparms to the infrared scan module, and the infrared scan module sends to the main control module with the gain multiple of the pairing receiving circuit of each infrared receiver component of current device;
Its two: the infrared touch screen device is carried out initialization operation to the infrared scan module, with the initial value of this initialization value as the gain multiple B of the pairing receiving circuit of each infrared receiver component of infrared scan module;
Its three: the infrared scan module is accepted the instruction of main control module and is carried out initialization operation, with initialization value as each infrared receiver component the initial value of gain multiple of corresponding receiving circuit send to the main control module.
Embodiment two:
As shown in Figure 3, be the schematic flow sheet of embodiment two of the adjustment method of touch panel device of the present invention, in the present embodiment, when debugging, only the pulse width of the pairing radiating circuit of radiated element is adjusted.
As shown in the figure, it comprises step:
Step S301: start one time infrared scan, detect the received infrared signal intensity level of infrared receiver component, be called detected value, enter step S302;
Step S302: judge whether described detected value is greater than or equal to minimum predetermined value and is less than or equal to maximum predetermined value, promptly whether satisfy the condition of minimum predetermined value<=detected value<=maximum predetermined value, if not, enter step S303, if, then need not debug or debug and finish the pairing relevant device parameter of current infrared emission receiving element, enter step S309, wherein, this minimum predetermined value and maximum predetermined value can have different setting meanss according to concrete application need;
Step S303: whether further judge described detected value greater than maximum predetermined value, if, enter step S304, if not, promptly described detected value then enters step S305 less than minimum predetermined value;
Step S304: reduce the pulse width with the pairing radiating circuit of infrared emission component of described infrared receiver component pairing, enter step S308;
Step S305: the pulse width that increases the pairing radiating circuit of described infrared emission component;
Step S306: according to adjusted pulse width W, the control infrared transmission module is provided with the pulse width W of the pairing radiating circuit of this infrared emission component, and returns step S301, and the infrared emission of carrying out next round receives debug process;
Step S307: the debugging of infrared emission receiving element finishes.
Wherein, among described step S304, the step S305, reduce and/or increase the degree of described pulse width W, according to the difference of application scenario or the difference of each touch panel device, can be set to different adjustment modes, for example, based on current pulse width, according to the value that increases certain pulse width, perhaps adjust according to the mode of the number percent of the current pulse width of increase/minimizing.
According to the scheme in the present embodiment, it is by judging the infrared signal intensity that infrared receiver component received, when this infrared signal intensity that receives is positioned at optimum range, when being aforesaid minimum predetermined value<=detected value<=maximum predetermined value, judge that then this a pair of infrared emission receiving element need not debugging or debugged to finish, in the time of outside being positioned at optimum range, if the infrared signal intensity of this reception is during less than minimum predetermined value, then increase the pulse width of the pairing radiating circuit of corresponding infrared emission component, the signal intensity that infrared emission component is launched suitably strengthens, the received infrared signal intensity of infrared receiver component can correspondingly suitably increase, if the infrared signal intensity of this reception is during greater than maximum predetermined value, then reduce the pulse width of the pairing radiating circuit of corresponding infrared emission component, the signal intensity that infrared emission component is launched can suitably reduce, the received infrared signal intensity of infrared receiver component also can responsively suitably reduce, thereby can make the received infrared signal intensity of infrared receiver component be positioned at optimum range, to reach best user mode, realize the purpose of debugging automatically.
After scheme in using present embodiment is adjusted, when touch panel device is in running order, before a pair of infrared emission receiving element is started working, infrared transmission module is according to the setting value of the pulse width of the pairing radiating circuit of this infrared emission component that sets, the pulse width of radiating circuit is set at the pairing pulse width set-point of current infrared emission component, and with this pulse width set-point execution infrared emission scan operation, at this after work is finished to the infrared emission receiving element, again the following in running order pairing pulse width of infrared emission receiving element of a pair of need is adjusted, by that analogy, thereby the signal intensity that each infrared receiver component is received is positioned within the preset range, makes touch panel device be in good working order.
Wherein, because the difference of the degree of aging of each infrared components, make that the degree of aging of pulse width of the signal that each infrared emission component of infrared transmission module is launched is also different, therefore, after described step S305, can also comprise step:
Step S3051: whether the pulse width after judgement increases is greater than predetermined maximum pulse, if enter step S3052, if not, pulse width after then will increasing is made as the new pulse width of the pairing radiating circuit of this infrared emission component, enters step S306;
Step S3052: this has been aging to the infrared emission receiving element for mark, enters step S307.
Wherein, because the received infrared signal intensity of infrared receiver component may just be offset a very little scope of optimum range, therefore, described step S3052 can also replace with: with the new pulse width of described predetermined maximum pulse as this infrared emission component, enter step S306.
Wherein, before the scheme in carrying out present embodiment, can also comprise step: obtain the pulse width W of the pairing radiating circuit of infrared emission component, wherein, a kind of in can be in the following ways of the acquisition of this pulse width W, the mode that is adopted can be different as required:
One: the main control module of infrared touch screen device sends message getparms to the infrared scan module, and the infrared scan module sends to the main control module with the pulse width of the pairing radiating circuit of each infrared emission component of current device;
Its two: the infrared touch screen device is carried out initialization operation to the infrared scan module, with the initial value of this initialization value as the pulse width W of the pairing radiating circuit of each infrared emission component of infrared scan module;
Its three: the infrared scan module is accepted the instruction of main control module and is carried out initialization operation, and initialization value is sent to the main control module as the initial value of the pulse width of the pairing radiating circuit of each infrared emission component.
Embodiment three:
Owing to the reason that causes the received signal intensity of infrared receiver component to be positioned at outside the optimum range is more, cause the infrared signal intensity step-down, the aging of receiving element that are sent under the equal pulse width to cause receiving sensitivity decline and some other external factor such as dust to block or the like as the aging of radiated element, therefore, in the present embodiment, set forth at the scheme of simultaneously the gain multiple of the pulse width of the pairing radiating circuit of infrared emission component and the pairing receiving circuit of infrared receiver component being adjusted.
As shown in the figure, in the present embodiment, it comprises step:
Step S401: start one time infrared scan, detect the received infrared signal intensity level of infrared receiver component, be called detected value, enter step S402;
Step S402: judge whether described detected value is greater than or equal to minimum predetermined value and is less than or equal to maximum predetermined value, promptly whether satisfy minimum predetermined value<=detected value<=maximum predetermined value, if not, enter step S403, if then need not debug or debug the pairing device parameter of infrared emission receiving element and finish to current this, enter step S408, wherein, this minimum predetermined value and maximum predetermined value can have different setting meanss according to concrete application need;
Step S403: whether further judge described detected value greater than maximum predetermined value, if, enter step S404, if not, promptly described detected value then enters step S405 less than minimum predetermined value;
Step S404: the pulse width W that reduces the pairing radiating circuit of infrared emission component;
Step S405: the gain multiple B that increases the pairing receiving circuit of infrared receiver component;
Step S406: the control infrared transmission module is provided with the pulse width W of the pairing radiating circuit of infrared emission component, and return step S401, carry out the debug process of next round, perhaps judge and use newly-installed pulse width whether can make this that infrared emission receiving element is in normal working range;
Step S407: the control infrared receiving module is provided with the gain multiple B of the pairing receiving circuit of infrared receiver component, and return step S401, carry out the debug process of next round, perhaps judge and use newly-installed gain multiple whether can make this that infrared emission receiving element is in normal working range;
Step S408: debugging finishes.
According to the scheme in the present embodiment, it is by judging the infrared signal intensity that infrared receiver component received, when this infrared signal intensity that receives is positioned at optimum range, when being aforesaid minimum predetermined value<=detected value<=maximum predetermined value, then judge and need not the pairing device parameter of this a pair of infrared emission receiving element debugged or debugged to finish, in the time of outside being positioned at optimum range, if the infrared signal intensity of this reception is during less than minimum predetermined value, then increase the gain multiple B of the pairing receiving circuit of corresponding infrared receiver component, the received infrared signal intensity of infrared receiver component can suitably be increased, if the infrared signal intensity of this reception is during greater than maximum predetermined value, then reduce the pulse width of the pairing radiating circuit of corresponding infrared emission component, the signal intensity that infrared emission component is launched can suitably reduce, and the received infrared signal intensity of infrared receiver component also can responsively suitably reduce, thereby can make the received infrared signal intensity of infrared receiver component be positioned at optimum range, to reach best user mode, realize the purpose of debugging automatically.
In addition, in the present embodiment, owing to be when received signal intensity during greater than the maximum predetermined value of optimum range, it is the adjustment that the pulse width to the pairing radiating circuit of infrared emission component reduces, and when received signal intensity during less than the minimum predetermined value of optimum range, it is the adjustment that the gain multiple to the pairing receiving circuit of infrared receiver component increases, be positioned at a narrower scope with the pulse width that makes radiated element as best one can, the working time of infrared emission component is reduced, thus the mission life that can prolong infrared emission component.
After scheme in using present embodiment is adjusted, when touch panel device is in running order, before a pair of infrared emission receiving element is started working, infrared transmission module is according to the setting value of the pulse width of the pairing radiating circuit of this infrared emission component that sets, the pulse width of radiating circuit is set at the pairing pulse width set-point of current infrared emission component, infrared receiving module is according to the setting value of the gain multiple of the pairing receiving circuit of this infrared receiver component that sets, the gain multiple of receiving circuit is set at the pairing gain multiple of current infrared receiver component setting value, and with this pulse width set-point, gain multiple setting value is carried out the infrared emission scan operation, at this after work is finished to the infrared emission receiving element, again following a pair of need in running order pairing pulse width of infrared emission receiving element and gain multiple are adjusted, by that analogy, thereby the signal intensity that each infrared receiver component is received is positioned within the preset range, makes touch panel device be in good working order.
Yet because the difference of component ageing degree, the pulse width of the pairing radiating circuit of infrared emission component under the current state or the gain multiple of the pairing receiving circuit of infrared receiver component may approach ultimate value, therefore:
After described step S404, also comprise step:
Step S4041: whether judge this pulse width after reducing less than predetermined minimum pulse width, if, then enter step S4042, if not, then directly enter step S406;
Step S4042: described predetermined minimum pulse width is made as the pulse width of the pairing radiating circuit of this infrared emission component, enters step S406.
Thereby by the judgement to the pulse width after reducing, the pulse width after can effectively preventing to reduce makes infrared emission component can be in normal working range less than the minimum zone that infrared emission component can be provided with.
In addition, after described step S405, can also comprise step:
Step S4051: whether judge gain multiple B after the described increase greater than predetermined maximum gain multiple, if, enter step S4052, if not, then enter step S407;
Step S4052: described predetermined maximum gain multiple is made as the gain multiple of the pairing receiving circuit of this infrared receiver component, enters step S407.
Thereby, by the gain multiple after increasing is judged that the gain multiple after can effectively preventing to increase makes infrared receiver component can be in normal duty greater than the maximum magnitude that the pairing receiving circuit of infrared receiver component can be provided with.
Wherein, before the scheme in carrying out present embodiment, can also comprise step: obtain the pulse width W of the pairing radiating circuit of infrared emission component, the gain multiple B of the pairing receiving circuit of infrared receiver component, wherein, a kind of in can be in the following ways of the acquisition of this pulse width W and gain multiple B, the mode that is adopted can be different as required:
One: the main control module of infrared touch screen device sends message getparms to the infrared scan module, the infrared scan module with each infrared emission component of current device the pulse width of corresponding radiating circuit and the gain multiple of the pairing receiving circuit of each infrared receiver component send to the main control module;
Its two: the infrared touch screen device is carried out initialization operation to the infrared scan module, with the initial value of this initialization value as the gain multiple of the pulse width of the pairing radiating circuit of each infrared emission component of infrared scan module and the pairing receiving circuit of each infrared receiver component;
Its three: the infrared scan module is accepted the instruction of main control module and is carried out initialization operation, and initialization value is sent to the main control module as the initial value of the gain multiple of the pulse width of the pairing radiating circuit of each infrared emission component and the pairing receiving circuit of each infrared receiver component.
It should be noted that, in the present embodiment, in described step S404, when detected value during greater than predetermined maximum, be the pulse width W that reduces the pairing radiating circuit of infrared emission component, in described step S405, when detected value during less than predetermined minimum value, it is the gain multiple that increases the pairing receiving circuit of infrared receiver component, this is to consider, make as far as possible infrared emission component exomonental pulse width be in a narrower scope so that the working time of infrared emission component shortens, prolong the mission life of infrared emission component, in fact, in described step S404, when detected value during greater than maximum predetermined value, also can be the gain multiple B that reduces the pairing receiving circuit of infrared receiver component, in described step S405,, also can be the pulse width that increases the pairing radiating circuit of infrared emission component when detected value during less than minimum predetermined value, in this case, follow-up step also can be done corresponding adjustment.
Embodiment four:
As shown in Figure 5, be the schematic flow sheet of embodiment four of the adjustment method of touch panel device of the present invention, in the present embodiment, be with the difference of embodiment three:
Can also comprise step among the described step S4042: reduce the gain multiple B of the pairing receiving circuit of infrared receiver component, enter step S406 and step S407 then simultaneously, so that pulse width W and gain multiple B to be set.
In this case, possibly can't satisfy the requirement that the infrared signal intensity that infrared receiver component is received is in optimum range owing to reduce pulse width to predetermined minimum pulse width, adjust by gain multiple B the pairing receiving circuit of infrared receiver component, but the pulse width that can not only make the pairing radiating circuit of infrared emission component is positioned at the scope of operate as normal, can also adjust to make and satisfy the requirement that signal intensity that infrared receiver component receives is positioned at optimum range.
In described step S4052, can also comprise: increase the pulse width W of the pairing radiating circuit of infrared emission component, and enter step S4053;
Step S4053: whether the pulse width W after judge increasing greater than predetermined maximum pulse, if, then enter step S4054, if not, then enter step S406 and step S407, so that gain multiple B and pulse width W to be set;
Step S4054: this has been aging to the infrared emission receiving element for mark, and enters step S408 and determine this debugging to the infrared emission receiving element is finished.At this moment, owing to simultaneously the pulse width W of infrared emission component, the gain multiple B of infrared receiver component are adjusted, and the normal range of operation that has all exceeded infrared emission component, infrared receiver component after adjusting, thereby can mark this is aging to the infrared emission receiving element, no longer debug.
Thereby, according to method as mentioned above, judge by gain multiple B the pairing receiving circuit of infrared receiver component after increasing, when the gain multiple B ultrasonic after increasing has been crossed predetermined maximum gain multiple, owing to being set to predetermined maximum gain multiple, the multiple B that should gain also can't meet the demands, increase the pulse width W of the pairing radiating circuit of infrared emission component this moment again, and the pulse width W after increasing judged, thereby both can adjust satisfying under the less condition of pulse width that infrared emission component launches as far as possible, but also can make adjusted pulse width and gain multiple be in operate as normal within.
The other technologies feature of present embodiment is identical with embodiment three, does not repeat them here.
Above-described embodiment of the present invention does not constitute the qualification to protection domain of the present invention.Any modification of being done within the spirit and principles in the present invention, be equal to and replace and improvement etc., all should be included within the claim protection domain of the present invention.