Anti-interference type infrared touch device
[technical field]
The utility model relates to a kind of infrared location technology and equipment, particularly relates to a kind of electronic display unit or other writing planes of being applied to and carries out the anti-interference type infrared touch device that handwriting trace is caught and reappeared.
[background technology]
The electronic touch technology provides great convenience to man-machine interaction mode, technically also provides multiple solution, and Performance And Reliability is also constantly perfect.Common in the market have a dual mode: a kind of is passive mode, utilizes resistance, electric capacity, infrared scan technology, and characteristics are the captured objects that need not promptly to can be used as through the pen of special processing locating device; Another is an active mode, and as electromagnetic location, ultrasonic locating, this mode need could be used through the electronic pen of special facture, in case pen is lost or damaged, whole positioning system cannot be worked.Along with the continuous development of touching technique, the infrared scan location technology has its special advantages, for example compares with resistance, electric capacity location, can accomplish light transmission completely, wearing quality; Compare with the electromagnetic location technology, infrared location technology need not to use special electronic pen, and is easy to use; In addition, infrared location technology can also be produced the large scale touch-screen very easily, can be applicable to rear-projection TV, front projection machine, or in the PDP/LCD display device, in prelocalization, because the complete light transmission of infrared location, other several location technologies can't be compared.Though infrared location technology has many advantages and since the size restrictions of infrared tube the raising of resolution, infrared transmitting tube has a fixing emission angle, can interfere with each other between infrared tube; Reflection of light causes writing thing can not block infrared light path; The touch-screen refresh rate of large scale infrared technology is slow; Adopt traditional treatment technology, infrared location technology can only be used for undersized touch-screen and the low occasion of positioning accuracy request, the requirement that does not reach handwriting far away.In order to catch effect in range of application and the location of expanding infrared location technology, all done a large amount of research both at home and abroad, introduced the way that improves infrared touching device resolution as domestic 03113702.4, what wherein relate to only is a kind of theoretic mathematical model, do not consider the particular problem of infrared touching device, can not form the product of a success.
Existing infrared positioning touch device has added light-conductive hole for improving anti-interference at screen edge, as Fig. 7, light-conductive hole is the housing with the frame one, infrared transmitting tube and receiving tube are aimed at light-conductive hole can suppress interference between infrared tube, but on technology, accomplish infrared emission and receiving tube are aimed at light-conductive hole, increased producting process difficulty.
See also Fig. 3, on adjacent two emissions of existing infrared location technology or receiver module, infrared tube scanning work synoptic diagram.Because infrared transmitting tube has certain emission angle β, the transmitting boundary of power valve can cover infrared receiving tube adjacent or that be separated by, so if infrared touching device adopts general scan method shown in Figure 3, with No. 2 infrared tubes is example explanation scan method, and the infrared light of No. 2 infrared transmitting tubes emissions of the X SND2 (transmitter module 2) that shows at Fig. 1 can be received with No. 2 infrared receiving tubes of numbering by X RCV1, X RCV2, X RCV3 ( receiver module 1,2,3) receiver module.When shelter during in shelter 2 positions, the light that shelter blocks can have influence on the receiving tube 2 of X RCV1, X RCV2, X RCV3 simultaneously, thereby receiver module X is RCV1, X RCV2, X RCV3 can detect block information simultaneously, on directions X, detect 3 simultaneously and block the position, cause locating device can't judge the concrete position of blocking, and under emission angle β certain condition, increasing along with the infrared touching device size, power valve 2 can interfere with the infrared tube of more infrared modules with numbering, and other infrared tubes also are the same principles; Relate to the scanning of the infrared tube of One's name is legion in the infrared ray touching device, in large-sized infrared ray touching device, also relate to a plurality of microprocessors, communicating by letter between the scanning of finishing big quantity infrared tube and a plurality of microprocessors needs the plenty of time, the time that the communication pattern that adopts general scan method and principal and subordinate to call formula spends is oversize, has had a strong impact on the writing speed of infrared ray touching device; Infrared light is as a kind of form of light, the problem that has reflection, the light path 4 in 1 as shown is shown in the light path 5, in the reflecting surface emission that the infrared light of the infrared transmitting tube of infrared posting corner emission can form along infrared posting edge, cause and write object and in some zone, can't normally write; The infrared ray touching device is as a kind of touching technique, and requirement can provide various sizes, adopts traditional project organization, can't satisfy the requirement of flexible design various sizes.
Therefore, need provide a kind of simple in structure, high resolving power, high anti-interference, refresh rate fast, be applicable to the infrared touching device of giant-screen location.
[summary of the invention]
The purpose of this utility model provides the anti-interference type infrared touch device that a kind of strong interference immunity, processing speed are fast, be applicable to the giant-screen location.
To achieve these goals, the utility model adopts following technical scheme:
A kind of anti-interference type infrared touch device is provided, it is included in one or more groups transmitter module and the receiver module of arranging on the longitudinal and transverse direction, link to each other by synchronous signal line and/or bus between described each transmitter module or between each receiver module, generally, link to each other by synchronous signal line between this each transmitter module, link to each other by bus between each receiver module.This receiver module and transmitter module have included from microprocessor, linking to each other with master microprocessor of this receiver module and transmitter module from the microprocessor through bus interface, benchmark synchronizing signal of this master microprocessor output give all transmitter modules from microprocessor and all receiver modules from microprocessor, and obtain the detected block information of each receiver module from bus, carry out touch location calculation, and result of calculation is sent to computing machine.
Each receiver module adopt detected touch information or other Debugging message the work schedule mode of timesharing to pass to master microprocessor from the microprocessor through bus interface, general system passes to master microprocessor with active form with described information from microprocessor.Simultaneously, be further to eliminate the interference phenomenon of corner's infrared tube, be positioned at the working method that adjacent transmitter module and the corresponding infrared tube on the receiver module of at least one corner of this anti-interference type infrared touch device adopt sequential to stagger.
The row of the infrared transmitting tube of this transmitter module and receiver module, infrared receiving tube drives and is connected with microprocessor, the row of infrared transmitting tube drive with the modulation signal of high-frequency modulator output and link to each other, the row of infrared receiving tube drive and link to each other with the output modulation signal of high-frequency modulator, and this high-frequency modulator and power valve row drive same frequency.
Wherein the port with interrupt function of this microprocessor can link to each other with the port that possesses the PWM output function of master microprocessor, and the microprocessor of this receiver module can link to each other with master microprocessor by I2C interface or SPI interface.Link to each other by power lead, ground wire, infrared transmitting tube power lead, synchronous signal line between this transmitter module, link to each other by power lead, ground wire, synchronous signal line, I2C bus clock line, I2C bus data line between this receiver module.This master microprocessor can with one of them from the shared microprocessor of microprocessor.On the frame at four edges, seizure plane of infrared touching device, the infrared fileter that prevents that dust and stray light from penetrating is installed.And at least one end of at least one transmitting side of this anti-interference type infrared touch device and/or at least one receives the infrared tube biasing certain angle of at least one end on limit.For preventing that infrared light from forming reflection on the optical filter at four edges, preferably the angle of installing of a plurality of infrared tubes on four angles of infrared ray positioning touch device will be setovered to screen center, and preferred plan is 3-10 the infrared tube of setovering respectively on each angle of touching device according to different size.
Every pair of infrared emission, receiver module have only a pair of infrared tube in work at synchronization, and the moment of the corresponding infrared tube work of adjacent panels is inconsistent, the scan mode of promptly having taked sequential to stagger; The infrared transmitting tube induced signal that infrared receiving tube receives is through the detecting circuit detection of microprocessor control, it with the amplifier tube core, vacuum generator, resistance, electric capacity, etc. discrete element cooperate the signal that infrared tube is received to amplify, through ADC (Analog-to-Digital Converter, analog to digital converter), the light intensity signal of infrared tube is become digital signal; Master microprocessor sends to computer to detected coordinate information with USB or RS-232 serial ports.Each transmitter module or receiver module are controlled from microprocessor by one, what all controls transmitted and received works under the coordination of a master microprocessor from microprocessor, linking to each other with master microprocessor by I2C interface or SPI interface of each receiver module from microprocessor, the port that has an interrupt function from certain of microprocessor of each receiver module and transmitter module links to each other with the port that possesses the PWM output function of master microprocessor, realizes the synchronous working of whole infrared ray positioning touch device.
The utility model anti-interference type infrared touch device can also adopt modular production technology, and it is that each module is by independent microprocessor control that each transmitter module or receiver module adopt modular design.Can develop the infrared ray positioning touch device that different size requires flexibly by the quantity that changes infrared tube on right quantity of transmitter module, receiver module or transmitter module, the receiver module.
Compared with prior art, the utility model has following beneficial effect:
The utility model adopts the optical filter that prevents that dust and anti-ambient light from disturbing, and the part infrared tube setovered, not only having improved the anti-interference of infrared touching device, also simplified production technology, is all to have than obvious effects on the technology or on the cost.Bus of the present utility model is finished communicating by letter between primary module and each receiver module, and the order of primary module is handed down to each receiver module by bus, and receiver module is uploaded touch information or other Debugging message by bus.
[description of drawings]
Fig. 1 is the structure and the light path synoptic diagram of the utility model anti-interference type infrared touch device;
Fig. 2 is the microprocessor distribution schematic diagram of the utility model anti-interference type infrared touch device;
Fig. 3 is the infrared tube scanning work sequential chart of existing infrared touching device;
Fig. 4 is the transmitter module of the utility model anti-interference type infrared touch device or the scanning work sequential chart of receiver module;
Fig. 5 is the duty sequential chart of the corresponding infrared tube of the adjacent transmission module of the utility model anti-interference type infrared touch device or receiver module;
Fig. 6 is the working timing figure that the I2C line timesharing of the utility model anti-interference type infrared touch device sends detected block information;
Fig. 7 is the existing synoptic diagram that the infrared positioning touch device of light-conductive hole is housed;
Fig. 8 is the duty sequential chart of the corresponding infrared tube of the utility model anti-interference type infrared touch device corner adjacent transmission module and receiver module.
[embodiment]
Please refer to Fig. 1, the utility model anti-interference type infrared touch device is being arranged the infrared transmission module and the receiver module of many group splicings, the corresponding transmitter module of X-direction and Y direction, the strict alignment of receiver module on X, Y coordinate direction.Install three pairs on the X-direction: X SND1, X RCV1; X SND2, X RCV2; X SND3, X RCV3.Install three pairs on the Y direction: Y SND1, Y RCV1; Y SND2, Y_RCV2; Y SND3, Y RCV3; Embodiment for other can change the transmitter module on X and the Y direction, the infrared touching device that the receiver module number forms different size.N infrared tube arranged on each transmitter module or the receiver module, require to increase or to reduce the number of infrared tube on the number of transmitter module, receiver module or transmitter module, the receiver module according to the size dimension of infrared touch panel.For avoiding infrared light reflection to disturb, 3-5 infrared tube on four angles in the infrared touching device done migration processing to screen center, each transmitter module and receiver module include respectively from microprocessor in this anti-interference type infrared touch device, this anti-interference type infrared touch device also includes a master microprocessor in addition, in the present embodiment, master microprocessor and one of them are from the shared microprocessor of microprocessor and be integrated on the primary module, be the master microprocessor+X RCV 1 among Fig. 2, master microprocessor and distribute as shown in Figure 2 from microprocessor.
Interface between primary module and transmitter module is as follows:
Employing+5V, GND provide power supply for MCU, the logic IC etc. of transmitter module:
Adopt LED VCC power supply to be provided for the anode of power valve, the independent current source power supply, avoid and+interference between the 5V power supply;
Primary module offers transmitter module synchronous clock SYNC, and each receives, transmitter module cooperates the location work of finishing.
Interface between main circuit module and receiver module is as follows:
Employing+5V, GND give whole receiver module power supply;
Primary module offers receiver module synchronous clock SYNC, and each receives, transmitter module cooperates the location work of finishing;
Primary module is communicated by letter with receiver module, and (order of primary module is handed down to receiver module by the I2C bus for SDA, SCL) interconnection, and receiver module is uploaded touch coordinate information or other Debugging message by the I2C bus with the data line of I2C bus, clock line.
The port that has an interrupt function from microprocessor on the port that this master microprocessor has a PWM output function and infrared transmission module, the receiver module links to each other and realizes the synchronous sequence signal of whole noctovisor scan positioning touch screen.In descending synchronously of synchronizing signal, transmitter module, receiver module are by shown in Figure 4, scan the 1st to N emission, receiving tube one by one, realize every group of transmitter module and receiver module infrared emission receive to the pipe synchronous working and corresponding infrared tube asynchronous working on adjacent other transmitter modules and the receiver module group; Except synchronizing signal, receiver module also need the I2C interface from microprocessor and master microprocessor.By the I2C communication interface, each receiver module passes to master microprocessor to detected touch signal timesharing, has improved the different size particularly sweep velocity and the reliability of large scale infrared touch panel.
The utility model is designed a special sequential, can effectively avoid because the interference that the infrared transmitting tube emission angle causes.Sequential as shown in Figure 4 scans each infrared tube one by one, synchronization only has a pair of infrared tube in running order on a pair of transmitter module, receiver module, but different emissions, receiver module are designed to inconsistent to the last corresponding moment that the plumber is done, with m pipe among Fig. 1 is example, when being the m infrared tube work of transmitter module X SND2 and receiver module X RCV2, the m infrared tube of transmitter module X SND1, X SND3 and receiver module X RCV 1, X RCV3 is in the state of quitting work.Seeing also Fig. 5 shows, adopt this work schedule mode, even the m power valve of X SND2 can shine the corresponding m infrared receiving tube of other adjacent receiver modules, but because with constantly, the m pipe of adjacent panels is in the state of quitting work, and when shelter during in shelter 2 positions, has only X RCV2 to detect block information, so only detect a block information on directions X, in like manner the Y direction also only detects a block information at synchronization.
Simultaneously the adjacent transmitter module and the corresponding infrared transmitting tube receiving tube of receiver module in the touching device lower left corner shown in Fig. 1 we be designed to be operated in different sequential, with No. 2 pipes is example, when being No. 2 infrared tube work of transmitter module Y SND 1 and receiver module Y RCV1, No. 2 infrared tubes of receiver module X RCV1, transmitter module X SND1 are in the state of quitting work.Seeing also Fig. 8 shows, adopt this work schedule mode, even No. 2 power valves of Y SND1 can shine corresponding No. 2 infrared receiving tubes of adjacent panels X RCV1, but owing to be in the state of quitting work with No. 2 pipes of moment X RCV1 plate, in like manner the transmitter module X SEND3 in this touching device upper right corner also is operated in different sequential with receiver module Y RCV3.Therefore the infrared tube of receiver module does not receive the infrared light that adjacent transmitter module infrared tube is launched on the synchronization lower left corner and the upper right corner, so just can not produce interference, and infrared touching device just can accurately detect the more specific location information of shelter.
I2C bus of the present utility model is finished communicating by letter between primary module and each receiver module, and the order of primary module is handed down to each receiver module by the I2C bus, and receiver module is uploaded touch information or other Debugging message by the I2C bus.The utility model is for improving the refresh rate of large scale infrared ray positioning touch screen, I2C communication has adopted special work schedule mode to avoid bus collision, improved the speed of infrared ray positioning touch device processing block information data greatly, the effect of finishing track capturing on the large scale touch-screen is remarkable.As shown in Figure 6, under operate as normal, each receiver module is counted synchronizing pulse, when the umber of pulse of counting during for 16 times of this receiver module numbering, if detect block information, begin to start the detected block information of transmission constantly to master microprocessor at this; So just avoided sending the bus collision that block information causes simultaneously behind all infrared tube ends of scan in the conventional method, improved refresh rate.
The above only is preferred embodiment of the present utility model, and protection domain of the present utility model is not limited thereto, and those of skill in the art are any to be included within the utility model protection domain based on non-material change on the technical solutions of the utility model.