CN1196078C - Infrared ray touch device with high resolutions - Google Patents

Infrared ray touch device with high resolutions Download PDF

Info

Publication number
CN1196078C
CN1196078C CN 03113702 CN03113702A CN1196078C CN 1196078 C CN1196078 C CN 1196078C CN 03113702 CN03113702 CN 03113702 CN 03113702 A CN03113702 A CN 03113702A CN 1196078 C CN1196078 C CN 1196078C
Authority
CN
China
Prior art keywords
coordinate
target
receiving tube
size
interceptor
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.)
Expired - Fee Related
Application number
CN 03113702
Other languages
Chinese (zh)
Other versions
CN1431623A (en
Inventor
贺伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN 03113702 priority Critical patent/CN1196078C/en
Publication of CN1431623A publication Critical patent/CN1431623A/en
Application granted granted Critical
Publication of CN1196078C publication Critical patent/CN1196078C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Position Input By Displaying (AREA)

Abstract

The present invention discloses an infrared contact device. A quadratic function curve or an index and logarithmic curve equation is established through using the light particle distribution density of an optical axis passage as a model and using the relation of light particle density decrease caused by that the optical axis passage is shielded by an interception object and the change of the output voltage of a receiving tube according to voltage variation generated when a moving target pass through the optical axis passage. The interception particular position or the coordinate lambada of the moving target in the optical axis passage is solved through given voltage. The resolution of infrared capture can be greatly improved by applying the method, and the technology of the handwriting of the infrared capture can be realized accurately and smoothly.

Description

A kind of high resolving power infrared ray touching device
Technical field involved in the present invention:
Technical field involved in the present invention is that infrared ray touches capturing technology, more specifically say so a kind of utilize infrared ray to computer display screen or a writing plane as the track capturing of the moving target of entry terminal and the technology of reproduction.
Technical background:
The electronic touch technology is the indispensable important component part of man-machine interface all the time, and development uses the touch-screen of various technology to emerge in an endless stream so far, and its performance and resolution are all improving constantly.Existing touch screen technology roughly is divided into two classes, a kind of is passive type, promptly utilize ultrasonic, and the technology such as infrared ray in resistance, electric capacity, surface, be characterized in need not special pen and can catch the system of moving target coordinate, and another kind of technology is active, be i.e. electromagnetic technique as emitter, compare it with other technology and must be used as the emitter captured target by a special electronic pen in use, when in a single day electronic pen is lost, total system is just at a standstill, can't operate.As wherein a member of touching technique, the infrared ray touching technique has the winning part of its uniqueness, and for example, it has the high definition characteristic, does not compare and can wear and tear with electric capacity, resistance screen, compares with electromagnetic technique and need not to use special electronic pen.With the exception of this, utilize infrared ray can also very easily produce ultra-large touch-screen, directly fit applications is in large-scale rear-projection TV, or PDP/LCD shows on the TV application as computer I/O terminal, and in this application, as utilize other touching technique all simpler, reliable less than infrared technology.Though, the infrared ray capture system has numerous benefits, but because the low deadly defect of its resolution, greatly reduce its range of application, even to this day still resting on easy detection touches on the application that instructs, this is that its resolution generally can only reach the minimum dimension of photoelectric device owing to be subjected to the size restrictions of photoelectric device.For this reason, advance several in the period of, manufacturer attempts utilizing the whole bag of tricks both at home and abroad, constantly research, the technology that development makes new advances, the resolution of infrared touch panel is improved constantly, wherein in the most representative patented technology, United States Patent (USP) 6 is arranged, 429,857 disclose a kind of non-coaxial (off axis) single-shot that utilizes August 6 in 2002 overcharges, multiple single patented technology of receiving, as shown in figure 15, this technology is positioned at emission except judgement, outside whether reception is blocked the light on the same optical axis of pipe, also utilize this power valve around pipe and receiving tube to be carried out the judgement of non-coaxial ir light interception.Though this technology can be improved to some extent resolution, but the dead angle problem that distance caused by the density of infrared tube physical distribution, and departing from the consistency problem of emission axle center apart from the threshold voltage of receiving tube far away, and the complicacy of computing method can bring some errors, and this error can cause the resolution of this invention the problems such as flatness of consistance and target acquisition to occur in catching range.The patent of utilizing similar fashion to handle problems also has Japan, and 2000-284509 is disclosed on September 20th, 2000, the mode that the employing single-shot of this patent is overcharged but different on the method, but have problems such as catching the dead angle equally.And domestic relevant patent 00121462.4 is published on February 13rd, 2002, a kind of coordinate that utilizes the minimum point of judgement hyperbolic model for interceptor is disclosed, this invention thinks that target is when interception, the output voltage of several receiving tubes that are blocked can form a hyperbolic curve, as shown in figure 16, N represents the receiving tube sequence number among the figure, on behalf of the receiving tube output voltage, V change, this hyperbolic curve is to be based upon on the similar object of the size of an interceptor and finger size, and must there be the adjacent receiving tube more than 3 or 3 to be blocked simultaneously, and the variation of the receiving tube output voltage on each interception passage must meet this hyp variation tendency, just can judge a coordinate accurately, if the size of interceptor is the nib of writing of 1-5mm, or less than the size of 3 receiving tubes, or entity can not can be by infrared penetration as the muscle parts of finger, or the shape that touches object is tack right angle rather than round end or passes through in the both sides of surface of contact as the oval head tolerable part light of finger-type, or can not arrive the receiving tube that is blocked once more by secondary reflection from the infrared ray of power valve the time, this hyp determination methods has also just no longer been set up.Though above-mentioned various technical schemes all are improved to some extent in the resolution that infrared ray is touched, utilizing as above, technology is not enough at all if think accurate, reliable, level and smooth seizure and handle handwriting, drawing etc.
Summary of the invention
To thoroughly solve the resolution problem of infrared ray touching device, not merely be to improve the click resolution that it touches instruction, and the more important thing is that infrared ray is caught resolution to be increased to, can be level and smooth, catch accurately and handle handwriting, purposes such as drawing, even can be applied among the TABLET PC of the WINDOW XP of Microsoft's Window system, or in the product such as intelligent display, therefore find out a degree of accuracy height, practicable method presses for, it also is one of fundamental purpose of the present invention, with the exception of this, another one fundamental purpose of the present invention is to solve minimum interceptor can not catch the coordinate of movement path of movable objective less than the problem and the realization of receiving tube size, identification, track reappears and stores.
Main technical schemes of the present invention is: a kind of high resolving power infrared ray touches trap setting, wherein laterally, vertically is arranged in the infrared array of catching horizontal edge and equally laterally, vertically is arranged in the infrared ray receiving array corresponding with emission array of catching horizontal edge to link to each other with microprocessor by line driver, row driver respectively; The output port of the row driver of infrared array links to each other with the high-frequency modulation signal generator; The output port of the row driver of infrared ray receiving array links to each other with microprocessor by signal amplifier, modulator-demodular unit, the A/D A/D converter that connects successively, described signal amplifier is to include the transimpedance amplifier that one or more operational amplifier and inductance, electric capacity, resistance configuration form, and the infrared array links to each other with emission line driver, row driver respectively by emission row drive wire, column drive wire respectively; The infrared ray receiving array links to each other with reception line driver, row driver respectively by receiving row drive wire, column drive wire respectively; Emission line driver, reception line driver connect microprocessor by the row address bus, emission row driver, reception row driver connect microprocessor by column address bus, and microprocessor links to each other with computer by the chip of control RS232 serial port or USB interface.
The present invention adopts two complete unified emissions, receiving array, and they are driven by array drive circuit separately, helps the wiring board wiring, also saves driving circuit.Touch trap setting in order to make large-scale infrared ray, the present invention also is designed to module array with infrared, receiving array, can make produce to oversimplify, standardization, and can use size, module that quantity is different just can produce the infrared ray touch trap setting that varies in size flexibly as required.
In order to improve the resolution that infrared ray touches trap setting, the inventor is at the Chinese patent of application: 02149761.3 is model by setting up one with optical axis passage light distribution of particles density, and utilize the optical axis passage blocked by interceptor to cause the light particle density to reduce the relation that changes with the receiving tube output voltage, having set up one blocks apart from being independent variable x, the receiving tube output voltage is changed to the repeatedly typical curve equation of function of the typical curve equation that contains tan (x) function of function or, and by utilizing this normal equation to calculate the interception width d of interceptor in the optical axis passage i, utilize this width d again iCalculate the size dimension W of interceptor, then utilize this W value again, obtain accurate moving target trajectory coordinates by the coordinate Calculation formula, said method is applicable to the situation of the size of moving target less than the size of emission, receiving tube.If the size of moving target less than the emission, receiving tube size the time, more than ask the method for W value calculating interceptor coordinate just no longer suitable, the change in voltage that produced during by the optical axis passage according to such moving target again of the present invention has been set up a quadratic function curve for this reason, or index, logarithmic curve equation, and find the solution particular location or the coordinate λ that moving target is tackled in the optical axis passage by known voltage.By using above method, can greatly improve the resolution that infrared ray is caught, realization that can be accurate, level and smooth infrared ray catch the technology of handwriting.
Description of drawings
Below in conjunction with the drawings and specific embodiments the present invention is described in further detail.
Fig. 1 is that infrared ray touches trap setting emission, receiving tube location map;
Fig. 2 is the real row of infrared, receiver module circuit theory diagrams;
Fig. 3 is the module circuit board drawing example of infrared, receiving tube;
Fig. 4 is catenation principle figure between infrared, the receiving tube module;
Fig. 5 is that infrared ray touches trap setting system, control circuit frame diagram;
Fig. 6 is that moving target is caught FB(flow block);
Fig. 7 is single moving target identification and reproduction FB(flow block);
Fig. 8 is a modulus converter A/D conversion sub-process block diagram;
Fig. 9 is an interactive instructions operator scheme FB(flow block);
Figure 10 A is an infrared ray axis channel synoptic diagram;
Figure 10 B is an infrared ray axis channel schematic cross-section;
Figure 11 is optical axis light distribution of particles model and modulus converter A/D change in voltage figure;
Figure 12 is moving target size dimension, coordinate diagram;
Figure 13 is the receiving tube voltage output curve diagram that same interceptor moves through different size optical axis passage;
Figure 14 is the receiving tube voltage output curve diagram that the different size interceptor moves through same optical axis passage;
Figure 15 is the structural representation of United States Patent (USP) 6429857;
Figure 16 is the voltage in the Chinese patent application 00121462.4 and the graph of a relation of receiving tube sequence number.
Embodiment
In order to improve the resolution that noctovisor scan is caught, it is model with optical axis passage light distribution of particles density that the present invention sets up one, and utilize the optical axis passage blocked by interceptor to cause the light particle density to reduce the relation that changes with the receiving tube output voltage, having set up one is independent variable x to block distance, the receiving tube output voltage is changed to the curvilinear equation of the above function of the curvilinear equation that contains tan (x) function of function or secondary or secondary, the number of times of described equation is high more, the result who obtains is accurate more, usually to the function of five powers, obtain and just can accomplish enough accurately; Certainly, under the not high situation of some accuracy requirements, if adopt the once linear equation also to be fine.And by utilize this normal equation calculate interceptor in the optical axis passage concrete intercepting position or the method for length, so proposed a kind of new method of catching resolution that improves.The present invention is when the arrangement sequence number with emission, receiving tube is coordinate, launching, receiving the distance of blocking in the pipe optical axis passage to catch receiving tube output voltage values judgement interceptor, the coordinate of emission, receiving tube further can be segmented like this, can provide simultaneously one very high and import resolution accurately.Shown in Figure 10 A, Figure 10 B, its principle is, when corresponding power valve 1100, receiving tube 1102 one by one are positioned on the same optical axis, and form an optical axis passage 1103 that is column type, passage square section diameter equals the diameter (establish receiving tube, power valve convex lens diameter is identical) of power valve convex lens.When object 1101 moves and pass through this optical axis passage, from the light beam of power valve some or all be blocked, so the optical axis passage is along with the mobile of target 1101 fades away, the light particle (light beam) by this passage also reduces along with target moves gradually.The 1104th, the arcuate section that is blocked, the 1105th, the remainder after passage is blocked.We know light with rectilinear propagation, and the light particle that arrives receiving tube through diffraction is considerably less, can ignore.According to optical theory, high more the closer to light particle (light beam) density of optical axis center part, so the distribution of the light particle (light beam) on optical axis passage tangent plane should be uneven, and the light particle density of arrival receiving tube neither be evenly distributed.For this reason, calculate the density that optical channel is blocked the back remainder, will use inverse square law.
Inverse square law (Inverse Square Law) according to optical theory; That is: the density of light particle (light beam) with near square being inversely proportional to of the distance of optical axis center, so set up as shown in figure 11 be the light particle density distribution plan S of model and with emission illumination tangent plane with light particle density scatter chart I in the optical channel.Y-axis is light particle density or a receiving tube output voltage values in the optical axis passage among the figure, and X-axis is an optical axis channel diameter size.Among the curve I, the D point is a light particle density peak, also is the center of passage, and the light particle density that C, E are ordered is minimum, also is the edge of passage.
The part that the optical axis passage is blocked is arc, and the process that is blocked, and is that this arcly slowly becomes big process, also is that this arc height becomes big process.With the variation of target optical channel tangent plane useful area when X-axis moves (, the useful area of optical channel (area that no shield portions the is arc)=optical channel tangent plane total area-be subjected to shield portions bow-shaped area) is divided into numerous section, descending, basis again, the model S that light particle channel density distributes, calculate by infinitesimal analysis, derive standard, target moves the change curve H of light particle (light beam) amount in the time axis channel along X-direction, this typical curve be with block the distance be independent variable x, the receiving tube output voltage is changed to the repeatedly typical curve equation of function of the typical curve equation that contains tan (x) function of function or, wherein the A point is that the light number of particles is maximum, because passage is not blocked; The B point is the watershed divide, promptly has only half light particle to pass through; The E point is a minimum point, because passage is all blocked, does not have the light particle to pass through.
Because light particle (light beam) quantity that light particle (light beam) quantity=receiving tube receives in the optical axis passage, and the relation that the variation of light particle (light beam) quantity and receiving tube output voltage are linear direct ratio, that is: above-mentioned optical axis passage is blocked the change curve that typical curve that the time particle changes also equals infrared receiver tube output voltage when receiving infrared-ray.
The present invention has used an A/D digital to analog converter to convert receiving tube output voltage change curve to displacement, it can be divided into some branches with the aanalogvoltage amplitude of infrared receiver tube output, be quantified as discrete numerical value performance again, if what use is 8 A/D converters, can output quantity turn to 2 8=256 different voltage values can be adjusted to the magnitude of voltage that A is ordered among the typical curve H with the full lattice voltage of A/D converter at this, are up to 255, minimum is 0, be fit to again on the typical curve H, on corresponding X-axis, can find its corresponding 256 X coordinates.Therefore, the magnitude of voltage of A/D output is updated to this typical curve equation, can try to achieve target and move interception concrete width (being the arc height of shield portions) partly in the optical axis passage, and by utilizing this normal equation to calculate the interception width d of interceptor in the optical axis passage i, at the width d that continuous several receiving tubes of being tackled is subjected to shield portions iAccumulation calculating goes out the size dimension W of interceptor, then utilizes this W value again, obtains accurate moving target trajectory coordinates by following coordinate Calculation equation, according to shown in Figure 12, establishes: emission, receiving tube are of a size of L; W x, W yDiameter for interceptor; D is target is tackled part in the optical axis passage a width, promptly tackles the arc height of part; J is the arrangement sequence number of first receiving tube of being tackled on the X-axis; K is the arrangement sequence number of first receiving tube of being tackled on the Y-axis.Among the figure, the diameter of moving target M1 (receiving tube of promptly being tackled is subjected to the width of shield portions):
W x=d 7+d 8+d 9
What can derive moving target at X, Y-axis diameter mathematic(al) representation is:
W x = Σ i = j N d i = d j + d j + 1 + · · · d j + n , N = j + n
W y = Σ i + k N d i = d k + d k + 1 + · · · d k + n , N = k + n
The mathematic(al) representation that X, Y coordinate are is:
X = j × L - d j + ( Σ i = j N d i ) ÷ 2
Y = k × L - d k + ( Σ i = k N d i ) ÷ 2
With formula in known number j, k, L, the d substitution, just can obtain the size dimension of any interception target, and accurate coordinates.
In order further to improve degree of accuracy, the present invention also sets up voltage and the normal data table that blocks the width conversion in microprocessor or computer, this table is through the experiment gained, it is in conjunction with the diameter dimension of difference emission, receiving tube, in the optical axis passage when mobile, magnitude of voltage that infrared receiver tube produced and target interceptor block infrared ray axis channel width d with the target interceptor iOne-to-one relationship arrange and to form, the magnitude of voltage that microprocessor or computer can produce according to the receiving tube that A/D converter obtained in the signal receiving circuit directly in this table correspondence obtain the target interceptor and block infrared ray axis channel width d iValue, the target interceptor that curvilinear equation that again will be by tan (x) function or secondary or the above curvilinear equation of quadratic power obtain blocks infrared ray axis channel width d iValue and this table look-up numerical value carry out match, to obtain accurate more numerical value, thereby, realize when interceptor size during greater than emission, receiving tube size, coordinate seizure, identification, the track of the movement path of movable objective on the infrared ray touching device reappeared and storage.Perhaps also can be directly by obtaining width d after the value that receiving tube output voltage and voltage of being set up and the normal data table that blocks the width conversion are tabled look-up iValue, thus carry out, when the interceptor size greater than emission, during the receiving tube size, coordinate seizure, identification, the track that infrared ray is touched the movement path of movable objective on the trap setting reappears and stores;
Can realize according to above-mentioned method, when the size of moving target interceptor during more than or equal to the size of receiving tube, seizure, reproduction and the size identification of moving target track.If target interceptor size is less than emission, the receiving tube size, when being described optical axis channel size, above-mentioned method is just no longer suitable, for this reason, the present invention is according to experimental result, find when a diameter moves through the optical axis passage less than the interception object of receiving tube diameter, it is a quadratic function curve as shown in figure 13 that the output voltage of receiving tube changes, or logarithm, index curve, Y-axis is the output voltage of the receiving tube that is blocked among the figure, X-axis is coordinate or the change in location value λ of interceptor when moving through the optical axis passage, A1 wherein, A2, A3 is that the expression diameter is the change in voltage curve of 5mm receiving tube, B1, B2, B3, be that the expression diameter is the change in voltage curve of 3mm receiving tube, C1, C2, C3 is that the expression diameter is the change in voltage curve of 2mm receiving tube, P1 is the center of optical axis passage, it also is the center of receiver pope, A2 when interceptor moves through the center of receiving tube, B2, the corresponding magnitude of voltage of C2 point does not all reach 0 or near 0, this has illustrated it is because the interception object fails the interception of overall optical axis channel is hidden, cause a part of infrared ray still by still have certain voltage output down to receiving tube, the A2 point voltage is higher than the B2 point, the B2 point voltage is higher than the C2 point, this is because when the interception object of same size moves through the optical axis passage, the size of optical axis passage is the electric voltage dropping trend speed that the size of receiving tube has determined curve, again by experiment, according to Figure 14, curve (A1, A2, A3), (A1, B2, A3), (A1, C2, A3) be ascending successively target interceptor receiving tube output voltage change curve when moving through the optical axis passage, A1 wherein, A2, A3 represents the curve of minimum target interceptor, A1, C2, A3 represents the curve of maximum target interceptor, P2 is the optical axis passage, it is the center of receiving tube, A2 when the target interceptor moves through this center, B2, the corresponding magnitude of voltage of C2 is the minimum point voltage on its curve, it also is the major parameter that is used to determine target interceptor size, this shows, when the receiving tube size dimension remains unchanged, when the interception object of different size dimensions passes through the optical axis passage, the size dimension of interception object has determined the electric voltage dropping trend speed of curve, so set up the curvilinear equation of voltage and moving coordinate relation according to above-mentioned experimental result, according to this quadratic function curve equation, or logarithm, known voltage in the index curve equation is found the solution particular location or the coordinate λ that the interception object moves in the optical axis passage, perhaps the data that obtain by experiment can be set up one and include receiving tube output voltage values and the corresponding one by one tables of data that forms of arranging of interceptor moving coordinate value λ, its coordinate figure λ can directly try to achieve by lookup table mode, therefore, for tackling object less than emission, during the receiving tube size, moving target X, the mathematic(al) representation of Y coordinate is as follows:
X=(j-1)×L+λ x
Y=(k-1)×L+λ y
Wherein j, k are that first is tackled, the arrangement sequence number of the receiving tube on X, Y-axis respectively, and L is the receiving tube diameter dimension, λ x, λ yCan try to achieve by said method,, just can obtain accurate coordinates less than the moving target of receiving tube size with formula in known number j, k, L, the λ substitution.Find also that in experiment when interception object during through the optical axis position P2 of channel center, as seen voltage A2>B2>C2 tackles the big or small W of dimension of object λDetermine the minimum voltage output valve of receiving tube, obtain the size of interception object, can be by setting up a minimum point magnitude of voltage that includes receiving tube, i.e. A2, B2, C2 point voltage value and known interceptor size W in the curve λThe corresponding one by one tables of data that forms of arranging of value by lookup table mode, can be tried to achieve the size dimension W of interception object λValue.Utilize this method can solve realization, when target interceptor diameter less than emission, during the receiving tube size, the difficult problem of the seizure of moving target track, reproduction and interceptor size identification.According to above method, as using infrared, the receiving tube of 2mm diameter, the resolution that infrared ray can be touched trap setting is increased to about 3251dpi (theoretical value), is 1300dpi (theoretical value) if use its resolution of receiving tube of 5mm diameter.
The writing of literal wrapped and contained disconnected pen and continuous pen, in order to solve the problem of interrupting pen and continuous pen in handwriting input, to realize accurately that track reappears, just must judge accurately disconnected pen or continuous pen, the present invention is the coordinate of the last cycle being caught by application software, coordinate with this cycle IT, carry out trying to achieve the D value apart from the difference computing, utilize the size of this value to judge that coordinate is a point or the beginning of another line then, still the continuity of a line tracking, if the continuity of line tracking, then utilize lines to link together on two adjacent coordinates, if not, then on coordinate, draw point of output, be simultaneously displayed on the computer screen, can realize seizure the moving target track, purposes such as reproduction.Ask the D value method can according to moving target M1 among Figure 12 (X1, Y1) with M2 (X2, distance Y2) can be drawn by following formula:
D = ( X 2 - X 1 ) 2 + ( Y 2 - Y 1 ) 2
In same target, the mathematic(al) representation of the distance between the coordinate that cycle n and cycle n-1 catch is as follows:
D n = ( X n - X n - 1 ) 2 + ( Y n - Y n - 1 ) 2
When in one-period n a plurality of target acquistion being arranged, the mathematic(al) representation of distance is as follows between two different moving target m, the m-1:
D ( m ) = ( X ( m ) n - X ( m - 1 ) n ) 2 + ( Y ( m ) n - Y ( m - 1 ) n ) 2
If when catching target m in two adjacent cycle n, n-1, the mathematic(al) representation of the coordinate distance of catching of this target m in different cycles is as follows:
D ( m ) n = ( X ( m ) n - X ( m ) n - 1 ) 2 + ( Y ( m ) n - Y ( m ) n - 1 ) 2
Thisly utilize the target range difference to judge to be with the benefit of the method that is connected two adjacent coordinates, utilize this method can be simultaneously the track of a plurality of coordinates of catching to be reappeared once more, this method is to be different from the method that the track of existing infrared touch panel and some handwritten computer clipboards reappears.Existing track replay method is that single dependence judges whether target leaves catching range or the plane determines that the coordinate of being caught is the beginning of a line or the continuity of the track of a line, catching the words of writing on the plane simultaneously if any a plurality of users, if utilize this method to judge that when which target leaves catching range is very complicated and difficulty, therefore utilize existing track replay method to realize that the multi-user touches at infrared ray simultaneously that to write on the trap setting also be unusual difficulty.And method of the present invention has just in time overcome the obstacle that this multi-user uses simultaneously.
When target acquisition, obtain target and touch the track that moves on the trap setting at infrared ray, just must be begun by first pair of emission, receiving tube fast, the scanning that repeats constantly to carry out every pair of emission, receiving element is finished a scan period immediately till finishing last unit.The continual then coordinate that repeats above scan period seizure moving target fast uploads to computer with the coordinate that is about to weekly be caught in the phase.
Erasing apparatus discerned automatically according to its size dimension W value judge, after the process scanning of one-period, as long as can judge the moving target size, just can confirm that touching the object that moves on the trap setting at infrared ray is erasing apparatus greater than stroke (nib) size (can be defined by software) by the user.Generally speaking, the device that is identified should be near circular.This erasing apparatus can be finger or with other object because point on the plane when mobile, its contact area is an ellipse near circle, also can be considered round the processing.At this, only illustrate how round erasing apparatus is captured, handles and realizes.The motion track of erasing apparatus is caught in realization, and screen to wipe ultimate principle that effect reappears be the same with catching.By knowing in the preamble, the moving target size is to pass through, and receiving tube interception length computation is come out, and same, the diameter that can draw erasing apparatus by following formula is:
W x = Σ i = j N d i = d j + d j + 1 + · · · d j + n , N = j + n
Perhaps use W yOr W λValue.
The reproduction of wiping effect be by, receive the diameter W of this coordinate and object when computer after, application software is utilized diameter W, and the coordinate that moves in target (X, a white entity circle draws on Y), the target of basis moves subsequently, repeats (the X that is constantly receiving n, Y n) to draw with the diameter on the coordinate be the entity circle of W, can realize the application of erasing apparatus.Certainly, the target of this judgement can only be that rule is circular.If target is square, rectangle, the user before use, just erasing apparatus vertically must be placed on infrared ray touches on the trap setting, system carries out single pass identification earlier then, purpose is to catch rectangle or foursquare length and width by scanning, calculate cornerwise length then, calculate the rectangle or the square anglec of rotation by geometrical principle again, what just can draw erasing apparatus wipes area and track.
After explaining principle of work of the present invention, below in conjunction with description of drawings structure of the present invention and application program:
Fig. 1 is this location map of inventing employed infrared, receiving tube.Wherein, an infrared array is arranged, be divided into two parts, a part 102 is positioned on the position, edge in infrared ray touch trap setting left side, arranges by sequence number, is used for the Y-axis emission scan; Another part 101 is positioned at infrared ray and touches position, trap setting upper edge, arranges by sequence number, is used for the X-axis emission scan.Other has an infrared ray receiving array, is divided into two parts, and a part 103 is positioned on the edge, 102 opposite, arranges by sequence number, is used for Y-axis and receives scanning; Another part 104 is located on the edge, 101 opposite, arranges by sequence number, is used for X-axis and receives scanning.101,102,103,104 all is with modular form, be connected to form by connector, and each module is to be made of emission, receiving tube unit.
Wherein, on X-axis, every pair of emission, receiving tube all are one to one, and have identical X-axis sequence number.When not having object between power valve and receiving tube when mobile, receiving tube is the high-frequency pulse signal that can normally receive power valve and sent, but begin when X-direction moves if any object, certain of X-axis or the infrared signal that some power valve sent can be blocked by object 105, the width relative attenuation that causes corresponding signal basis single or that several receiving tubes are received to be blocked, sequence number according to this receiving tube or power valve position, by using the A/D converse routine, calculate the width of interceptor shield portions in the optical axis passage, utilize described coordinate formula again, just can know coordinate figure X that object 105 moves on X-axis.Equally, on Y-axis, every pair of emission, receiving tube also all are one to one, and have identical Y-axis sequence number.When object is mobile between power valve and receiving tube, when having receiving tube on certain or some Y-axis can't receive the pulse signal that power valve sends, according to receiving at that time or the Y-axis sequence number of power valve,, just can obtain coordinate Y value that object 105 moves on Y-axis by as above method.Take turns output pulse signal by each infrared transmitting tube that goes round and begins again, scan, also carry out signal and read simultaneously being positioned at corresponding each receiving tube in its opposite on X, the Y-axis, object 105 at the moving coordinate track of X-axis and Y-axis just with getting final product.
Fig. 2 is infrared of the present invention, receiver module circuit theory diagrams, each infrared tube on transmitter module is to connect with array way, in order to cooperate requirements such as different product size application and space, cabling, the concrete aligning method of array and big I are decided according to the concrete size situation that infrared ray touches catching range, the wherein a kind of concrete array connected mode that the following the present invention of being comprised, but technology involved in the present invention has more than the connection that is limited to this mode.Shown in the figure is the array of a 32x2, and totally 32 of row drive wires 305 are wherein arranged, and the one end is connected with two connectors 301,302 respectively, and the other end is connected with the positive pole of each infrared emission tube or infrared receiver tube 304.Totally 2 of column drive wires 306 are arranged, and the one end is connected with connector 303, and the other end is connected with the negative pole of each infrared emission tube or receiving tube 304.Also can with the array connected mode of emission, receiver module by 32 * 2 change to 8 * 8 or other help the combination in any of product wiring.
Fig. 3 is the infrared emission tube in the present invention, module wiring board (PCB) the part distribution plan of receiving tube.The two ends that wherein are arranged in wiring board 407 have two row drive wire connectors 401 and 406 (that is: 301 of Fig. 2 and 302) to be connected with 32 row drive wires, its objective is to be used for that between module and the module row drive wire is connected.Connector 403 (that is: 303 among Fig. 2) is totally 2 that are connected with column drive wire.The 402nd, infrared pipe unit or receiving tube unit are directly to weld in the circuit board, have 64.Wherein the positive pole of each emission or receiving tube is connected with 406 with connector 401, and negative pole is connected with column drive wire, forms the array of a 32x2.404 is screw holes, is used for fixing this module.
Fig. 4 is catenation principle figure between each infrared emission tube, the receiving tube module.Shown in figure, touch plane 501 and be centered around middle by a plurality of infrared modules.Wherein, the usage quantity of infrared module is according to the size that touches the plane and fixed.As shown in FIG., emission array has 21 transmitter modules, it is to be used for touching 501 left sides, plane that 10 modules are wherein arranged, and is used for the scanning of Y-axis infrared, and 11 modules are positioned at 501 coboundary, are used for the X-axis emission scan.The receiver module that similar number is arranged on the opposite of transmitter module equally.If this size dimension of inventing employed infrared tube is 2mm, can calculate the effective dimensions that touches the plane write area according to following method.Module size is 64 * 2mm=128mm, the X-axis sweep limit is 128 * 11 (transmitter module)=1408mm, in kind can calculate the Y-axis sweep limit is 1280mm, promptly be applied to infrared ray and touch trap setting effectively to catch area be 1408 * 1280 square millimeters, be applicable to and utilize the application of rear-projection TV as the computer display terminal.As being 38 * 2mm=76mm with modular design, the X-axis sweep limit is 76 * 4 (transmitter module)=304mm, and the Y-axis sweep limit is 76 * 3=228, is applicable to 15 cun computer touch screen.Want to increase or dwindle the size dimension of catching range, the quantity of adjusting module use accordingly, or use the infrared tube of different sizes to get final product, if want to reduce the quantity of using infrared, receiving tube, can use 5mm or larger sized emission, receiving tube, so, can reduce emission over half, receiving tube quantity at least.
Described in preamble, be connected by connector between module and the module.Shown in Figure 4, transmitter module 502 headtotails are chained together and constitute one 32 * 42 infrared emission array.Wherein the row drive wire 504 of power valve module totally 32 be connected between the module, be connected to the line driver interface 506 of emission array again.The column drive wire 503 of transmitter module has 21, and each 2, totally 42 are connected with the column driver interface 505 of the emission array of control panel.The connected mode of same receiver module is as above-mentioned.Receiver module 507 headtotails, row drive wire 509 is connected with the line driver interface 511 of receiving array, totally 32.Column drive wire 508 is connected with the interface 510 of the row driver of receiving array, totally 42, constitutes one 32 * 42 infrared receiving array.
Infrared tube emission array 32 * 42 totally 1344 power valves are arranged, have receiving array 32 * 42 totally 1344 receiving tubes be used to catch mobile object on the screen.Scanning is to be begun by first pair of emission, receiving tube, by arranging sequence number, until 1344 pairs of emissions, receiving tube all being taken turns run-down, promptly finishes a scan period.As will catching a level and smooth continuous moving coordinate, the cycle of scanning should The faster the better, and the number of times of per second interscan should be The more the better.
Fig. 5 is the control circuit structural framing figure of the core of this invention, comprising four major parts:
First partly is the microprocessor control section: comprising microprocessor 637 is arranged, it mainly is the programmed instruction that is used for according to being stored in ROM, the address signal of output scanning emission, receiving tube, control certain a pair of emission, receiving tube conducting, and the shift position of record object and upload coordinate data to computer etc.Power supply 633 provides power supply to microprocessor, and 632 is that a crystal is the required oscillation frequency of microprocessor.
Second portion is the infrared control circuit: wherein, one input end of the line driver 606 of emission array is through a current-limiting resistance 608 and 638 anodal linking to each other of power supply, provide voltage to power valve, output terminal is that 32 row drive wires 609 link to each other with each power valve on the emission array 611 is anodal; Simultaneously, to be 42 column drive wires 610 link to each other with the negative pole of each power valve on the emission array input port of row driver 607, output port links to each other with a high-frequency modulation signal generator 640, can produce high-frequency pulse signal, when microprocessor 637 follow procedures instruct conducting to emission, receiving tube, can make this power valve output have the infrared signal of high frequency modulated.
Wherein, line driver 606 sends " OK " address code according to microprocessor, with its input port and its output terminal, i.e. and certain delegation's conducting in this address code row drive wire 609 pointed; Row driver 607 sends " row " address code according to microprocessor, with its output port and its input end, i.e. and a certain row conducting in this address code column drive wire 610 pointed; Circuit 611 is the power valve arrays that are chained together by 21 transmitter modules, one of them power valve that is switched in unit 601 611 shown in being; The high-frequency modulation signal generator provides a high frequency modulated about 300kHz can for the power valve 611 of conducting.
Third part is the infrared ray reception control circuit, an input port that receives the line driver 616 of array links to each other with positive source, can provide voltage to receiving tube, to be 32 row drive wires 619 link to each other with the positive pole of each receiving tube on the receiving array 621 output terminal, to be 42 column drive wires link to each other with the negative pole of each receiving tube on the receiving array 621 input port of row driver 617, output port and one or more operational amplifier and inductance, electric capacity, the transimpedance amplifier 641 that resistance configuration forms connects, transimpedance amplifier can filter out useless undesired signal and amplify useful pulse signal, modulation 642 is demodulated to voltage signal with high-frequency signal and is input in the modulus converter A/D 643 again, signal is given microprocessor by 8 binary digital signals of A/D conversion back output, try to achieve moving target X by the conversion routine of A/D voltage and moving coordinate then, the Y coordinate position.
Wherein, line driver 616 sends " OK " address code according to microprocessor, with its input port and its output terminal, that is: and certain delegation's conducting in this address code row drive wire 619 pointed; Row driver 617 sends " row " address code according to microprocessor, with its output port and its input end, that is: and a certain row conducting in this address code column drive wire 620 pointed; Equally, circuit 621 is infrared receiver tube arrays that 21 receiver modules are chained together, and shown in the unit 622 is a infrared receiver tube that is switched among the receiving array 621;
More than the line driver the 606, the 616th of emission, receiving array links to each other with microprocessor by row address bus 602, and launch, the row driver the 607, the 617th of receiving array, link to each other with microprocessor by column address bus 604.Wherein microprocessor is by address bus 602 to the control of driver 606,607, and totally 5 lines are 25 combination selection, and the different addressings of 32 row drive wires can be provided; Control to driver 616,617 is by address bus 604, and totally 5 lines provide the different addressings of 32 column drive wires.
In the foregoing circuit, drive circuit 606,607,616, with 617 can form by the driver chip of a unit or a plurality of unit, when the row drive wire of driver or column drive wire are not enough, just need to increase chip for driving, select line 603 for use by use, 605 just can select different chip for driving to carry out each one of driver needs of scanning of row, column drive wire are selected for use line, if row driver circuits 606 can drive 32 drive wires, so, only need a driver and 1 of use to select for use line to get final product.When column driver circuit 607 needs the driving force of 42 lines, just need to use 2 drivers, need to utilize 2 to select for use line that the driver chip that needs use is selected simultaneously.So, under the situation that does not increase address wire, the driving force of drive circuit can be increased by the fan-out capability of driving chip and doubles, that is: utilize the driver of 2 32 line driving forces, again by utilizing 2 to select line for use, promptly launch line driver 606, receiving line driver 616 can also select address bus 603 to connect microprocessor 637 by row, emission row driver 607, receive row driver 617 and can also connect microprocessor 637 by column selection address bus 605, so just can drive array, and need not to increase the quantity of address bus with 64 row or column drive wires.In this example, use two driver chips with regard to 42 column drive wires of enough this devices of driving.
The 4th part is an external equipment: mainly comprise a control RS232 serial communication integrated circuit 626.Because the access level of the RS232 serial port of computer 628 and the output level of microprocessor are different, undertaken by integrated circuit 626 so link up between this invention and the computer.The moving coordinate value of the 626 target interceptors that will in scanning, capture from microprocessor 637 or etc., convert the computer 628 polyphones mouthful discernible level signal of RS232 serial port to by level signal, the signal that is read in the RS232 port by application program gets final product then.After treatment, microprocessor comprises the data of catching: coordinate X, the Y of moving target, or receiving tube output voltage values V λ x, V λ y, or V j, V J+1... V J+n, and V k, V K+1... V K+n, or target sizes W value and scan period sequence number etc. are uploaded to computer by RS232.
Following according to embodiment flow diagram 6, will specify the seizure of this invention to the moving target coordinate, and the key step that stores:
If: n is the scan period sequence number, and i is 1 for the constant scope ... ∞; W is the diameter of moving target; L is the physical size of receiving tube; M is the target identities sequence number; X (m) is the X coordinate of target m; Y (m) is the Y coordinate of target m.
1. by microprocessor " OK ", " row " address code are write " 00H ", output to the row, column driver address bus 602,604 of emission, receiving tube array by the address wire interface;
2. the row, column driver of emission array is connected the power valve that is positioned at these these row of row, this pipe begins to send the pulse of infrared ray high frequency modulated, the row, column driver of receiving array is also connected the receiving tube that is positioned at these these row of row simultaneously, because each emission, receiving tube are to be positioned on the same optical axis, and be corresponding one by one, the analog pulse signal that receiving tube begins to export;
3. continue step 2, convert the analog pulse signal that receives to aanalogvoltage amplitude variable signal by signal receiving circuit subsequently, be input to then in the A/D analog to digital converter 643, aanalogvoltage amplitude variable signal is converted to discrete numerical value performance;
4. continue step 3, microprocessor 637 reads the A/D voltage value of A/D signal incoming end, and judges whether that this numerical value is near the peak in the A/D voltage curve, be that the A/D value is when expiring lattice, if, then be judged as no interception incident and take place, enter next step immediately; If not, then be judged as the interception incident and taken place, with the A/D magnitude of voltage V that is about to the receiving tube that this time tackled on X or the Y-axis jOr V kArrange respectively in the register that stores microprocessor into by sequence number j, k, and with first receiving tube of being tackled arrangement sequence number j or k value on X or the Y-axis, deposit in respectively in the register of microprocessor, and simultaneously with the A/D voltage value V of first receiving tube of being tackled in X or Y-axis λ jOr V λ kDeposit in the register, enter next step;
5. continue step 4, judge whether the timing microprocessor device overflows, if, then enter step 6, if not, then return step 2;
6. scan this moment, finished the scan cycle of a unit, the scanning work of promptly a pair of emission, receiving tube; Immediately, whether microprocessor judges finishes the row drive wire scanning of all 32 emissions, receiving array; If, then enter step 8, if not, then enter next step;
7. microprocessor adds " 01H " with the row address sign indicating number, and this row address sign indicating number is outputed on the line driver address bus 602, begins immediately to launch, the next line scanning work of receiving array, returns step 2;
8. judge whether to finish the column drive wire scanning of all 42 emissions, receiving array, if, then enter step 10, if not, then enter next step;
9. microprocessor adds " 01H " with the column address sign indicating number, with row address sign indicating number clear " 00H "; Output to row driving address bus 604 with being about to this column address sign indicating number, the row address sign indicating number outputs to line driver address bus 602, and the next column that scanning begins to enter emission, receiving array returns step 2 immediately;
10. scan this moment, finished a scan period, promptly all the emission, receiving tube scanning work, judged whether that moving target catches, if not, then entered step 12, if, then enter the conversion routine of A/D magnitude of voltage and moving coordinate, will be at the magnitude of voltage V of this cycle IT j, V J+1... V J+n, and V k, V K+1... V K+nOr V λ j, V λ kBe converted into coordinate figure, obtain one or more target interceptor X n, Y nCoordinate figure enters next step after being returned by subroutine immediately;
11. if catch simple target, the coordinate (X of the moving target that captures in then should the cycle n, Y n) and W value, output to the RS232 port by the sequence number n of scan period by level conversion 626 and be uploaded to computer, enter step 13 immediately; If catch a plurality of targets, the coordinate (X (m) of the moving target that captures in then should the cycle n, Y (m) n), (X (m+1) n, Y (m+1) n) ... (X (m+i) n, Y (m+i) n) and W (m), W (m+1) ... W (m+i) value is uploaded to computer by the sequence number n of scan period by the RS232 port, enters step 13 immediately;
12. judge and in a last scan period, whether coordinate (X arranged (n-1), Y (n-1)) be hunted down, if, then to upload " termination " mark and give computer by RS232, notice computer application program moving target has left catching range, enters next step immediately; If not, then enter next step;
13. judging whether target end catches, if, then finish scanning sequence, if not, then microprocessor is with row address sign indicating number clear " 00H ", column address sign indicating number clear " 00H ", " row " address code outputs to row and drives address bus 604, and " OK " address code outputs to line driver address bus 602, returns step 2, continue the scanning next cycle, begin new circulation.
By repeating step 1-13 again and again, microprocessor is uploaded computer application program with the coordinate of the moving target of catching by RS232, by computer application program the coordinate of catching is linked to each other again, again be presented at again on the computer screen, can reach the purpose that realizes that screen reappears.
Following according to embodiment flow diagram 8, specify this invention how with the converse routine key step of A/D magnitude of voltage and moving coordinate:
If d iTackle the width of part for target in the optical axis passage, i=j or k, j are the arrangement sequence number of first receiving tube of being tackled on the X-axis; K is the arrangement sequence number of first receiving tube of being tackled on the Y-axis;
1. microprocessor or computer have judged whether that a receiving tube is blocked fully, promptly this receiving tube output voltage values is 0V or near 0V, or the receiving tube that is blocked continuously more than is arranged, if not, then be judged as target interceptor size less than emission, receiving tube size, enter step 6 immediately, if, then be judged as target interceptor size greater than emission, receiving tube size, enter next step immediately;
2. the voltage output value V that several receiving tubes adjacent on the X in microprocessor or the computer register, the Y-axis are tackled j, V J+1... V J+n, and V k, V K+1... V K+nBe updated to the curvilinear equation formula of the above function of the curvilinear equation that contains tan (x) function or secondary or secondary respectively, try to achieve the concrete width d that tackles in the optical axis passage of interception target this receiving tube on X, Y-axis respectively j, d J+1... d J+n, and d k, d K+1... d K+n, enter next step immediately;
3. or again should be worth d j, d J+1... d J+n, and d k, d K+1... d K+nCompare with the receiving tube output voltage change curve normal data table of gather setting up in the experiment, obtain last accurate d after the match, value j, d J+1... d J+n, and d k, d K+1... d K+nValue enters next step;
4. utilize following formula, try to achieve the big or small W of target interceptor on X, Y-axis x, W ySize, that is:
W x = Σ i = j N d i = d j + d j + 1 + · · · d j + n , N = j + n
W y = Σ i = k N d i = d k + d k + 1 + · · · d k + n , N = k + n
Enter next step immediately;
5. utilize following formula, by the substitution known number, receiving tube sequence number j, k, receiving tube size L, and target interceptor size W x, W yValue is carried out coordinate Calculation, just can try to achieve in scan period n, and institute's captured object, the final position of on X, Y-axis, moving, that is:
X n=j×L-d j+W x÷2
Y n=k×L-d k+W y÷2
Enter step 9 immediately;
6. microprocessor or computer are with V λ x, V λ yBe about to the A/D output data and be updated to one, be used to calculate target interceptor size less than the receiving tube size, include quafric curve, or the functional equation of logarithm, index curve, try to achieve, when target interceptor during less than the receiving tube size, this target is at the concrete coordinate position λ of X, Y-axis receiving tube optical axis passage x, λ y, enter next step;
7. or again should be worth λ x, λ yWith the gained of tabling look-up, when target interceptor size during less than the optical axis passage, the right numerical value of normal data epiphase of coordinate position compares, match, obtains last exact position λ in the optical axis passage x, λ y, enter next step;
8. utilize following formula, by the substitution known number, receiving tube sequence number j, k, receiving tube size L and the target interceptor position coordinates λ in the optical axis passage x, λ yValue is carried out coordinate Calculation, just can try to achieve in scan period n, and institute's captured object, the position of on X, Y-axis, moving, that is:
X=(j-1)×L+λ x
Y=(k-1)×L+λ y
Enter next step immediately;
9. return master routine.
Following according to embodiment flow diagram 7, will specify the identification how this invention move simple target, the key step that track reappears and stores:
If: n is the scan period sequence number, and i is 1 for the constant scope ... ∞; W is the diameter of moving target; L is the physical size of receiving tube.
1. the computer expert crosses application program the RS232 port is scanned, and reads the coordinate (X that is uploaded by microprocessor n, Y n), after W value and the scan period sequence number, application program begins to judge in a last scan period whether (X was arranged (n-1), Y (n-1)) coordinate is hunted down.If not, then enter step 3, if then enter next step.
2. a last scan period was caught (X (n-1), Y (n-1)) and present coordinate figure (X n, Y n), according to formula D = ( X n - X n - 1 ) 2 + ( Y n - Y n - 1 ) 2 Carry out the coordinate distance computing, try to achieve the D value, and relatively, judge D value size (this condition can be by user oneself by the application software adjustment, but minimum must not be less than 2W),, then enter step 4,, then enter next step as if D 〉=2W as if D<2W with D and standard value.
3. can determine that this is beginning or another point of another line, continue to judge the kind of target immediately, if W≤2L (this condition can have user oneself to adjust by application program equally) confirms that then moving target is a pen, simultaneously, application software begins corresponding (X on screen n, Y n) to draw a diameter be W to coordinate position, color is a black color dots, continues to enter step 5; If W>2L can confirm that then moving target is an erasing apparatus, simultaneously, at corresponding (X n, Y n) to draw a diameter be W to coordinate position, color be white point, promptly wipes this point, continues to enter step 5.
4. continue to judge the kind of target, if W≤2L (this condition can have user oneself to adjust by application program equally) confirms that then moving target is a pen, and with coordinate (X (n-1), Y (n-1)) and coordinate (X n, Y n) be W with a diameter, color is that the line of black connects, and enters next step then; If W>2L can confirm that then moving target is an erasing apparatus, and with coordinate (X (n-1), Y (n-1)) and coordinate (X n, Y n) be W with a diameter, color is that the line of white connects, and promptly wipes this line, enters next step then.
5. judge whether to finish the simple target track and reappear, if then termination routine if not, then continues scanning RS232 port, returns step 1 then, begins new circulation.
By the repeating step 1 to 5 that goes round and begins again, continuously with coordinate (X N+i, Y N+i) and (X N+ (i-1), Y N+ (i-1)) link to each other.So, the track that target moves is writing in other words, reappear on computer screen in real time immediately, and as required, the user can store, read this picture at any time.
Below be how this invention realizes that the multi-user writes simultaneously, i.e. the key step that multiple goal identification, track reappear and store:
If: n is the scan period sequence number; I is 1 for the constant scope ... ∞; M is the target identities sequence number; X (m) is the X coordinate of target m; Y (m) is the Y coordinate of target m; D is a separation distance between the different target; L emission, receiving tube size; W is the diameter of moving target.
1. the computer expert crosses application program the RS232 port is scanned, and reads the coordinate values (X (m) that is uploaded by microprocessor n, Y (m) n), (X (m+1) n, Y (m+1) n) ... (X (m+i) n, Y (m+i) n), W (m), W (m+1) ... after W (m+i) value back and the scan period sequence number, deposit computer memory in being about to these data.And utilize the W value to judge the classification of target, that is: whether W (m) or W (m+1) or W (m+i) 〉=2L (this condition can be adjusted by the user, can be W>3L, or other numerical value), if, then being judged as target is erasing apparatus, withdraws from multiple goal immediately and catches program, and enter simple target seizure application program.If not, then being judged as target may be a plurality of mobile interceptors, enters next step immediately.
2. utilize formula D ( m + i ) = ( X ( m + i ) - X ( m + ( i - 1 ) ) ) 2 + ( Y ( m + i ) - Y ( m + ( i - 1 ) ) ) 2 , With (X (m) n, Y (m) n), (X (m+1) n, Y (m+1) n) ... (X (m+i) n, Y (m+i) n) the coordinate figure substitution, and to same one-period, the distance between the different target is carried out computing, try to achieve D (m+i) value after, judge whether that these coordinates have continuity Characteristics, that is: D (m+i)<2W whether is if then being judged as target is erasing apparatus, enter simple target and catch application program, if not, then being judged as target is a plurality of mobile interceptors, enters next step immediately.
3. application program begins to judge in a last scan period whether moving target (m) was arranged N-1, (m+1) N-1... (m+i) N-1Coordinate is hunted down.If target m is then to enter step 4, if target m is not, then at coordinate (X (m) n, Y (m) n) width that draws is the point of W (m), enters step 7 subsequently.If target (m+1) is then to enter step 5, if (m+1) deny, then at coordinate (X (m+1) n, Y (m+1) n) width that draws is the point of W (m+1), enters step 7 subsequently.If (m+i) be, then enter step 6, if (m+i) deny, then at coordinate (X (m+i) n, Y (m+i) n) width that draws is the point of W (m+i), enters step 7 subsequently.
4. utilize formula D ( m ) n = ( X ( m ) n - X ( m ) n - 1 ) 2 + ( Y ( m ) n - Y ( m ) n - 1 ) 2 , Coordinate (X (m) with a last scan period captured object m N-1, Y (m) N-1) with the present coordinate figure (X (m) of this target n, Y (m) n) carry out distance operation.If D (m) as a result n〉=2W, then judgement is the beginning of a line of target m picture, or a point, and beginning coordinate (X (m) on screen n, Y (m) n) width that draws is the point of W (m), enters step 7 subsequently.If D (m) n<2W is then with coordinate (X (m) N-1, Y (m) N-1) and coordinate (X (m) n, Y (m) n) be that the line of W (m) is connected with wide, enter step 7 subsequently.
5. utilize formula D ( m + 1 ) n = ( X ( m + 1 ) n - X ( m + 1 ) n - 1 ) 2 + ( Y ( m + 1 ) n - Y ( m + 1 ) n - 1 ) 2 , Coordinate (X (m+1) with a last scan period captured object m+1 N-1, Y (m+1) N-1) with the present coordinate figure (X (m+1) of this target n, Y (m+1) n) carry out distance operation.If D (m+1) as a result n〉=2W then judges it is the beginning of a line drawing of target m+1, or a point, and on screen coordinate (X (m+1) n, Y (m+1) n) to draw a width be the point of W (m+1), enters step 7 subsequently.If D (m+1) n<2W is then with coordinate (X (m+1) N-1, Y (m+1) N-1) and coordinate (X (m+1) n, Y (m+1) n) be that the line of W (m+1) is connected with wide, enter step 7 subsequently.
6. utilize formula D ( m + i ) n = ( X ( m + i ) n - X ( m + i ) n - 1 ) 2 + ( Y ( m + i ) n - Y ( m + i ) n - 1 ) 2 , Coordinate (X (m+i) with a last scan period captured object m+i N-1, Y (m+i) N-1) with the present coordinate figure (X (m+i) of this target n, Y (m+i) n) carry out apart from the difference computing.If D (m+i) as a result n〉=2W then judges it is the beginning of a line drawing of target m+i, or a point, and on screen coordinate (X (m+i) n, Y (m+i) n) to draw a width be the point of W (m+i), enters next step subsequently.If D (m+i) n<2W is then with coordinate (X (m+i) N-1, Y (m+i) N-1) and coordinate (X (m+i) n, Y (m+i) n) be that the line of W (m+i) is connected with wide.Subsequently, enter next step.
7. judge whether to finish multi-target track and reappear, if then termination routine if not, then continues scanning RS232 port, returns step 1 then, begins new circulation.
By the repeating step 1 to 7 that goes round and begins again, can be continuously with coordinate (X (m) N+i, Y (m) N+i) and (X (m) N+ (i-1), Y (m) N+ (i-1)) link to each other, with (X (m+1) N+i, Y (m+1) N+i) and (X (m+1) N+ (i-1), Y (m+1) N+ (m-1)) link to each other ... with (X (m+i) N+i, Y (m+i) N+i) and (X (m+i) N+ (i-1), Y (m+i) N+ (i-1)) link to each other.So, track that a plurality of targets move or writing, representation on computer screen in real time immediately.And as required, the user can store, read this picture at any time.
Following according to embodiment flow diagram 9, will specify the key step of this invention after entering the computer interactive mode of operation:
If: n is the scan period sequence number, and i is 1 for the constant scope ... ∞; W is the diameter of moving target; L is the physical size of receiving tube.
1. the computer expert crosses application program the RS232 port is scanned, and reads in the coordinate (X that is uploaded by microprocessor n, Y n) or " termination " mark.
2. continue step 1, judge if receive be coordinate " termination " mark the time, then enter step 4; If that receive is coordinate (X n, Y n) and the W value, then mouse is moved to (X n, Y n) on the corresponding screen position, enter next step immediately.
3. judge in a last scan period, whether target (X was arranged N-1, Y N-1) be hunted down, if, then be judged as the touch well afoot, enter step 6 immediately; If not, then be judged as touch and begin incision, open timer T immediately, open timing simultaneously, enter step 6.
4. application program is judged whether T<100ms (this value can be provided with adjustment by application software by the user) of timer, if not, then is judged as an invalid touch behavior, enters step 6 immediately, if, then be effectively to touch, enter next step.
5. judge this touch (click) position (X n, Y n) whether in the instruction effective range, if, then carry out click order or other application software instructions of Microsoft's Window system, with timer T clear " 0 ", enter next step simultaneously.If not, then, enter next step with timer T clear " 0 ".
6. continue scanning RS232 port, judge whether to finish interactive mode of operation, if, then stop executive routine, if not, then return step 1, read the coordinate figure that the next cycle uploaded by microprocessor is caught, begin new circulation.
Computer application program by continuous repeating step 1-6, can be realized the purpose of the interactive instructions operator scheme of aforesaid this invention.

Claims (10)

1. high resolving power infrared ray touching device wherein laterally, vertically is arranged in display screen or catches the infrared array (611) of horizontal edge and the infrared ray receiving array (621) corresponding with emission array that equally laterally, vertically be arranged in display screen or catch horizontal edge links to each other with microprocessor (637) respectively by coupled line driver, row driver respectively; Microprocessor links to each other with computer (628) by RS232 serial port or USB interface, and it is characterized in that: the output terminal at the described row driver that links to each other with the infrared array (607) is connected with a high-frequency modulation signal generator (640); Be connected the infrared signal receiving processing circuit that a transimpedance amplifier (641), a modulator-demodular unit (642) and an A/D A/D converter (643) combine successively at the described output terminal that links to each other row driver (617) with the infrared ray receiving array simultaneously; Reservoir in described microprocessor has been embedded in program that a row, column driver that can produce address code and gated sweep emission, receiving array connects successively, one and can have detected infrared according to the magnitude of voltage of A/D A/D converter output, receive managing the distance that light particle density and interceptor block in the formed optical axis passage, and catch based on this, identification, track reappears and the program of storage interceptor Grid Track.
2. a kind of infrared ray according to claim 1 touches trap setting, it is characterized in that: its interceptor coordinate seizure, identification, track reproduction and stored routine are as follows, if n is the scan period sequence number, j is an X-axis receiving tube sequence number, k is a Y-axis receiving tube sequence number, i is a constant independent variable 1 ... ∞, W are the diameter W=W of moving target xOr W yOr W λ, L is the physical size of infrared, receiving tube, and m is the target identities sequence number, and X (m) is the X coordinate of target m, and Y (m) is the Y coordinate of target m, the step that the moving target coordinate is caught and stored is:
1) by microprocessor " OK ", " row " address code are write " 00H ", output to the row, column driver address bus of emission, receiving tube array by the address wire interface;
2) the row, column driver of emission array is connected the power valve that is positioned at these these row of row, this pipe begins to send the pulse of infrared ray high frequency modulated, the row, column driver of receiving array is also connected the receiving tube that is positioned at corresponding ranks simultaneously, because each emission, receiving tube are to be positioned on the same optical axis, and be corresponding one by one, receiving tube begins to export analog pulse signal;
3) continue step 2), convert the analog pulse signal that receives to aanalogvoltage amplitude variable signal by signal receiving circuit subsequently, be input to then in the A/D analog to digital converter, aanalogvoltage amplitude variable signal is converted to discrete numerical value performance;
4) continue step 3), microprocessor reads the A/D voltage value of A/D signal incoming end, and judges whether this numerical value near the peak in the A/D voltage curve, and promptly the A/D value is when expiring lattice, if, then be judged as no interception incident and take place, enter next step immediately; If not, then be judged as the interception incident and taken place, with the A/D magnitude of voltage V that is about to the receiving tube that this time tackled on X or the Y-axis jOr V kArrange respectively in the register that stores microprocessor into by sequence number j or k, and with first receiving tube of being tackled arrangement sequence number j or k value on X or the Y-axis, deposit in respectively in the register of microprocessor, and simultaneously with the A/D voltage value V of first receiving tube of being tackled in X or Y-axis λ jOr V λ kDeposit in the register, enter next step;
5) continue step 4), judge whether the timing microprocessor device overflows, if then enter step 6); If not, then return step 2);
6) scan this moment, finished the scan cycle of a unit, the scanning work of promptly a pair of emission, receiving tube; Immediately, whether microprocessor judges finishes the row drive wire scanning of all emissions, receiving array; If, then enter step 8), if not, then enter next step;
7) microprocessor adds " 01H " with the row address sign indicating number, and this row address sign indicating number is outputed on the line driver address bus, begins immediately to launch, the next line scanning work of receiving array, returns step 2);
8) judge whether that the column drive wire of finishing all emissions, receiving array scans, if then enter step 10); If not, then enter next step;
9) microprocessor adds " 01H " with the column address sign indicating number, with row address sign indicating number clear " 00H "; Output to row driving address bus with being about to this column address sign indicating number, the row address sign indicating number outputs to row and drives address bus, and the next column that scanning begins to enter emission, receiving array returns step 2 immediately);
10) scan this moment, finished a scan period, promptly all the emission, receiving tube scanning work, judged whether that moving target catches, if not, then entered step 12), if, then enter the conversion routine of A/D magnitude of voltage and moving coordinate, will be at the magnitude of voltage V of this cycle IT j, V J+1... V J+n, and V k, V K+1... V K+nOr V λ j, V λ kBe converted into coordinate figure, obtain one or more target interceptor X n, Y nCoordinate figure enters next step after being returned by subroutine immediately;
11) if catch simple target, the then coordinate (X of the moving target that should capture in the cycle n, Y n) and the W value be uploaded to computer by the sequence number n of scan period by the RS232 port, enter step 13) immediately; If catch a plurality of targets, the then coordinate of the moving target that should capture in the cycle (X (m) n, Y (m) n), (X (m+1) n, Y (m+1) n) ... (X (m+i) n, Y (m+i) n) and W (m), W (m+1) ... W (m+i) value is uploaded to computer by the sequence number n of scan period by the RS232 port, enters step 13) immediately;
12) judge in a last scan period, whether coordinate (X was arranged (n-1), Y (n-1)) be hunted down, if, then to upload " termination " mark and give computer by RS232, notice computer application program moving target has left catching range, enters next step immediately; If not, then enter next step;
13) judge whether the target end seizure, if, terminator then, if not, then microprocessor is with row address sign indicating number clear " 00H ", column address sign indicating number clear " 00H ", the column address sign indicating number outputs to row and drives address bus, and the row address sign indicating number outputs to row and drives address bus, returns step 2, continue to scan following one-period, begin new circulation;
Wherein the conversion routine of A/D voltage and moving coordinate is:
If d iTackle the width of part for target in the optical axis passage, i=j or k, j are the arrangement sequence number of first receiving tube of being tackled on the X-axis, and k is the arrangement sequence number of first receiving tube of being tackled on the Y-axis;
1) microprocessor or computer have judged whether that a receiving tube is blocked fully, promptly this receiving tube output voltage values is 0V or near 0V, or the receiving tube that is blocked continuously more than is arranged, if not, then be judged as target interceptor size less than emission, receiving tube size, enter step 6) immediately, if, then be judged as target interceptor size greater than emission, receiving tube size, enter next step immediately;
2) the voltage output value V that several receiving tubes adjacent on the X in microprocessor or the computer register, the Y-axis are tackled j, V J+1... V J+n, and V k, V K+1... V K+nBe updated to the curvilinear equation formula of the above function of the curvilinear equation that contains tan (x) function or secondary or secondary respectively, try to achieve the concrete width d that tackles in the optical axis passage of interception target this receiving tube on X, Y-axis respectively j, d J+1... d J+n, and d k, d K+1... d K+n, enter next step immediately;
3) or again should be worth d j, d J+1... d J+n, and d k, d K+1... d K+nCompare with the receiving tube output voltage change curve normal data table of gather setting up in the experiment, obtain last accurate d after the match, value j, d J+1... d J+n, and d k, d K+1... d K+nValue enters next step;
4) utilize following formula, try to achieve the big or small W of target interceptor on X, Y-axis x, W ySize, that is:
W x = Σ i = j N d i = d j + d j + 1 + Λ d j + n , N = j + n
W y = Σ i = k N d i = d k + d k + 1 + Λ d k + n , N = k + n
Enter next step immediately;
5) utilize following formula, by the substitution known number, receiving tube sequence number j, k, receiving tube size L, and target interceptor size W x, W yValue is carried out coordinate Calculation, just can try to achieve in scan period n, when target interceptor size greater than emission, during the receiving tube size, institute's captured object, the position of on X, Y-axis, moving, that is:
X n=j×L-d j+W x÷2
Y n=k×L-d k+W y÷2
Enter step 9) immediately
6) microprocessor or computer are with V λ x, V λ yBe about to the A/D output data and be updated to one, be used to calculate target interceptor size less than the receiving tube size, include quafric curve, or the functional equation of logarithm, index curve, try to achieve, when target interceptor during less than the receiving tube size, this target is at the concrete coordinate position λ of X, Y-axis receiving tube optical axis passage x, λ y, enter next step;
7) or again should be worth λ x, λ yWith the gained of tabling look-up, when target interceptor size during less than the optical axis passage, the right numerical value of normal data epiphase of coordinate position compares, match, obtains last exact position λ in the optical axis passage x, λ y, enter next step;
8) utilize following formula, by the substitution known number, receiving tube sequence number j, k, receiving tube size L and the target interceptor position coordinates λ in the optical axis passage x, λ yValue is carried out coordinate Calculation, just can try to achieve in scan period n, when target interceptor size greater than emission, during the receiving tube size, institute's captured object, the position of on X, Y-axis, moving, that is:
X=(j-1)×L+λ x
Y=(k-1)×L+λ y
Enter next step immediately;
9) return master routine;
The program of wherein identification of single moving target, track being reappeared and storing is as follows:
1) computer expert crosses application program the RS232 port is scanned, and reads the coordinate (X that is uploaded by microprocessor n, Y n), after W value and the scan period sequence number, application program begins to judge in a last scan period whether (X was arranged (n-1), Y (n-1)) coordinate is hunted down; If not, then enter step 3); If then enter next step;
2) coordinate (X that a last scan period is caught (n-1), Y (n-1)) and present coordinate figure (X n, Y n) the substitution formula D = ( X n - X ( n - 1 ) ) 2 + ( Y n - Y ( n - 1 ) ) 2 Carry out the coordinate distance computing, try to achieve the D value, and D value and standard value are compared, standard value is adjusted as required by the user, but minimum must not be less than 2W, if D<2W then enter step 4), if D 〉=2W then enter next step;
3) can determine that this is beginning or another point of another line, continue to judge the kind of target immediately, set as if W≤2L, this condition also can be adjusted as required by the user, confirms that then moving target is a pen, and application software begins corresponding (X on screen n, Y n) to draw a diameter be W to coordinate position, color is the point of black, continues to enter step 5), if W>2L can confirm that then moving target is an erasing apparatus, so at corresponding (X n, Y n) to draw a diameter be W to coordinate position, color be white point, promptly wipes this point, enters step 5);
4) kind of target is judged in continuation, sets as if W≤2L, and this condition also can be adjusted as required by the user, confirms that then moving target is a pen, with coordinate (X (n-1), Y (n-1)) and coordinate (X n, Y n) be W with a diameter, color is that the line of black connects, and enters next step then, if W>2L can confirm that then moving target is an erasing apparatus, and with coordinate (X (n-1), Y (n-1)) and coordinate (X n, Y n) be W with a diameter, color is that the line of white connects, and promptly wipes this line, enters next step then;
5) judge whether to finish the simple target track and reappear, if then terminator if not, then continues scanning RS232 port, returns step 1) then, begins new circulation.
3. a kind of infrared ray according to claim 2 touches trap setting, it is characterized in that: multi-movement target seizure, identification, track reproduction and stored routine are as follows, establish W=W xOr W yOr W λ:
1) computer expert crosses application program the RS232 port is scanned, and reads the coordinate values (X (m) that is uploaded by microprocessor n, Y (m) n), (X (m+1) n, Y (m+1) n) ... (X (m+i) n, Y (m+i) n), W (m), W (m+1) ... after W (m+i) value back and the scan period sequence number, deposit computer memory in being about to these data, and utilize the classification of W value judgement target, that is: whether W (m) or W (m+1) or W (m+i) 〉=2L, this condition can be adjusted by the user, can be W>3L or other numerical value, if then being judged as target is erasing apparatus, withdraw from multiple goal immediately and catch program, and enter simple target seizure application program; If not, then being judged as target may be a plurality of mobile interceptors, enters next step immediately;
2) utilize formula D ( m + i ) = ( X ( m + i ) - X ( m + ( i - 1 ) ) ) 2 + ( Y ( m + i ) - Y ( m + ( i - 1 ) ) ) 2 , With (X (m) n, Y (m) n), (X (m+1) n, Y (m+1) n) ... (X (m+i) n, Y (m+i) n) the coordinate figure substitution, and to same one-period, the distance between the different target is carried out computing, try to achieve D (m+i) value after, judge whether that these coordinates have continuity Characteristics, that is: D (m+i)<2W whether is if then being judged as target is erasing apparatus, enter simple target and catch application program, if not, then being judged as target is a plurality of mobile interceptors, enters next step immediately;
3) application program begins to judge in a last scan period whether moving target (m) was arranged N-1, (m+1) N-1... (m+i) N-1Coordinate is hunted down, if target m is then to enter step 4); If target m is not, then at coordinate (X (m) n, Y (m) n) width that draws is the point of W (m), enters step 7) subsequently; If target (m+1) is then to enter step 5), if (m+1) deny, then at coordinate (X (m+1) n, Y (m+1) n) width that draws is the point of W (m+1), enters step 7) subsequently; If (m+i) be, then enter step 6), if (m+i) deny, then at coordinate (X (m+i) n, Y (m+i) n) width that draws is the point of W (m+i), enters step 7) subsequently;
4) utilize formula D ( m ) n = ( X ( m ) n - X ( m ) n - 1 ) 2 + ( Y ( m ) n - Y ( m ) n - 1 ) 2 , Coordinate (X (m) with a last scan period captured object m N-1, Y (m) N-1) with the present coordinate figure (X (m) of this target n, Y (m) n) carry out distance operation, if D (m) as a result n〉=2W, then judgement is the beginning of a line of target m picture, or a point, and beginning coordinate (X (m) on screen n, Y (m) n) width that draws is the point of W (m), enters step 7) subsequently; If D (m) n<2W is then with coordinate (X (m) N-1, Y (m) N-1) and coordinate (X (m) n, Y (m) n) be that the line of W (m) is connected with wide, enter step 7) subsequently;
5) utilize formula D ( m + 1 ) n = ( X ( m + 1 ) n - X ( m + 1 ) n - 1 ) 2 + ( Y ( m + 1 ) n - Y ( m + 1 ) n - 1 ) 2 , Coordinate (X (m+1) with a last scan period captured object m+1 N-1, Y (m+1) N-1) with the present coordinate figure (X (m+1) of this target n, Y (m+1) n) carry out distance operation, if D (m+1) as a result n〉=2W then judges it is the beginning of a line drawing of target m+1, or a point, and on screen coordinate (X (m+1) n, Y (m+1) n) to draw a width be the point of W (m+1), enters step 7) subsequently; If D (m+1) n<2W is then with coordinate (X (m+1) N-1, Y (m+1) N-1) and coordinate (X (m+1) n, Y (m+1) n) be that the line of W (m+1) is connected with wide, enter step 7) subsequently;
6) utilize formula D ( m + i ) n = ( X ( m + i ) n - X ( m + i ) n - 1 ) 2 + ( Y ( m + i ) n - Y ( m + i ) n - 1 ) 2 , Coordinate (X (m+i) with a last scan period captured object m+i N-1, Y (m+i) N-1) with the present coordinate figure (X (m+i) of this target n, Y (m+i) n) carry out distance operation, if D (m+i) as a result n〉=2W then judges it is the beginning of a line drawing of target m+i, or a point, and on screen coordinate (X (m+i) n, Y (m+i) n) to draw a width be the point of W (m+i), enters next step subsequently; If D (m+i) n<2W is then with coordinate (X (m+i) N-1, Y (m+i) N-1) and coordinate (X (m+i) n, Y (m+i) n) be that the line of W (m+i) is connected with wide; Subsequently, enter next step;
7) judge whether to finish multi-target track and reappear, if then termination routine if not, then continues scanning RS232 port, returns step 1) then, begins new circulation.
4. touch trap setting according to claim 2 or 3 described a kind of infrared rays, it is characterized in that: the seizure program of infrared ray trap setting under the interactive instructions operator scheme is:
1) computer expert crosses application program the RS232 port is scanned, and reads in the coordinate (X that is uploaded by microprocessor n, Y n) or " termination " mark;
2) continue step 1), judge if receive be coordinate " termination " mark the time, then enter step 4); If that receive is coordinate (X n, Y n) and the W value, then mouse is moved to (X n, Y n) on the corresponding screen position, enter next step immediately;
3) judge in a last scan period, whether target (X was arranged N-1, Y N-1) be hunted down, if, then be judged as the touch well afoot, enter step 6) immediately; If not, then be judged as touch and begin incision, open timer T immediately, open timing simultaneously, enter step 6);
4) application program is judged whether T<100ms of timer, and this value can be provided with adjustment by application software by the user, if not, then is judged as an invalid touch behavior, enters step 6) immediately, if, then be effectively to touch, enter next step;
5) judge this touch or click location (X n, Y n) whether in the instruction effective range, if, then carry out click order or other application software instructions of Microsoft's Window system, with timer T clear " 0 ", enter next step simultaneously; If not, then, enter next step with timer T clear " 0 ";
6) continue scanning RS232 port, judge whether to finish interactive mode of operation, if, then stop executive routine, if not, then return step 1), read the coordinate figure that the next cycle uploaded by microprocessor is caught, begin new circulation.
5. touch trap setting according to claim 2 or 3 described a kind of infrared rays, it is characterized in that: in the step that the moving target coordinate is caught and stored, X, the Y-axis receiving tube magnitude of voltage V that will catch in the scan period j, V J+1... V J+n, and V k, V K+1... V K+nOr V λ j, V λ kBy sending computer on the RS232 port, directly move the conversion routine of A/D voltage and moving coordinate then by computer replacement microprocessor, obtain the coordinate figure X of one or more target interceptor n, Y n
6. touch trap setting according to claim 2 or 3 described a kind of infrared rays, it is characterized in that: when the interceptor size greater than emission, during the receiving tube size, obtain moving target interceptor size and the Coordinate Calculation method is, by a curvilinear equation that includes tan (x) function or secondary or the above curvilinear equation of quadratic power, set up magnitude of voltage and the target interceptor that infrared receiver tube produces and block infrared ray axis channel width d iRelation, draw described calculating target sizes W then x, W yFormula be:
W y = Σ i = k N d i = d k + d k + 1 + Λ d k + n , N = k + n
Wherein, the arrangement sequence number of first receiving tube of being tackled on the j:X axle
The arrangement sequence number of first receiving tube of being tackled on the k:Y axle
D: the width of shield portions in the optical axis passage
N: constant independent variable
W x = Σ i = j N d i = d j + d j + 1 + Λ d j + n , N = j + n
X = j × L - d j + ( Σ i = j N d i ) ÷ 2
Y = k × L - d k + ( Σ i = k N d i ) ÷ 2
And described calculating moving target coordinate (X, equation Y) is:
Wherein, first receiving tube of being tackled is arranged sequence number on the j:X axle
First receiving tube of being tackled is arranged sequence number on the k:Y axle
D: the width of shield portions in the optical axis passage
L: the size of emission, receiving tube
N:N=j+n, or N=k+n, n are the constant independent variable
At definite W x, W yAnd after the value of X, Y, just can realize, when the interceptor size greater than emission, during the receiving tube size, coordinate seizure, identification, the track of movement path of movable objective reappeared and stores.
7. a kind of infrared ray according to claim 6 touches trap setting, it is characterized in that: voltage and the normal data table that blocks the width conversion are arranged in microprocessor or the computer, this table is through the experiment gained, it is in conjunction with the diameter dimension of difference emission, receiving tube, be be used for when the interceptor size greater than emission, during the receiving tube size, in the optical axis passage when mobile, magnitude of voltage that infrared receiver tube produced and target interceptor block infrared ray axis channel width d with target iOne-to-one relationship arrange and to form, microprocessor or computer can according to by the magnitude of voltage that receiving tube produced that is obtained in the receiving circuit directly in this table correspondence obtain the target interceptor and block infrared ray axis channel width d iValue, thereby carry out, when the interceptor size greater than emission, during the receiving tube size, coordinate seizure, identification, the track that infrared ray is touched the movement path of movable objective on the trap setting reappears and stores; The target interceptor that curvilinear equation that perhaps will be by tan (x) function or secondary or the above curvilinear equation of quadratic power obtain blocks infrared ray axis channel width d iWidth data in value and this table carries out match, to obtain the coordinate values that accurate more target moves.
8. touch trap settings according to claim 2 or 3 described a kind of infrared rays, it is characterized in that:, obtain the position coordinate value λ that the target interceptor moves in the optical axis passage when the size of moving target during less than the size of emission, receiving tube x, λ yAnd the computing method of target interceptor moving coordinate are to find the solution the particular location coordinate λ that the interception object moves by the known voltage in a quadratic function curve equation or logarithm, the index curve equation in the optical axis passage x, λ y, and by described, when the size of moving target during less than the size of emission, receiving tube, calculate the moving target coordinate (X, equation Y):
Wherein, first receiving tube of being tackled is arranged sequence number on the j:X axle;
First receiving tube of being tackled is arranged sequence number on the k:Y axle;
L: the size of emission, receiving tube
Determine λ x, λ y, X, Y value, realize when interceptor size during less than emission, receiving tube size, coordinate seizure, identification, the track of movement path of movable objective reappeared and storage.
X=(j-1)×L+λ x
Y=(k-1)×L+λ y
9. a kind of infrared ray according to claim 8 touches trap setting, it is characterized in that: the normal data table that the conversion of voltage and shift position is arranged in microprocessor or the computer, this table is to be used for, when the interceptor size less than emission, during the receiving tube size, the normal data table of inquiry interceptor coordinate position in the optical axis passage, this table is through the experiment gained, it is launched in conjunction with difference, the diameter dimension of receiving tube, with the target interceptor in the optical axis passage when mobile, the coordinate figure one-to-one relationship that magnitude of voltage that infrared receiver tube produced and interceptor move through the optical axis passage is arranged and to be formed, microprocessor or computer can according to by the magnitude of voltage that infrared receiver tube produced that obtains in the receiving circuit directly in this table correspondence obtain the concrete coordinate figure λ in the optical axis passage of target x, λ yThereby, carry out, when the interceptor size less than emission, during the receiving tube size, coordinate seizure, identification, the track that infrared ray is touched the movement path of movable objective on the trap setting reappears and stores; The perhaps coordinate figure λ of target in the optical axis passage that will obtain by quadratic curve equation or logarithm, index curve equation x, λ yCarry out match with the coordinate data in this table, to obtain the coordinate values that accurate more target moves.
10. a kind of infrared ray according to claim 9 touches trap setting, it is characterized in that: the normal data table that voltage and interceptor size conversion are arranged in microprocessor or the computer, this table is to be used for, when interceptor less than emission, during the receiving tube size, query aim interceptor size tables of data, this table is through the experiment gained, according to the target interceptor of different-diameter size in same optical axis passage when mobile, minimum point magnitude of voltage that infrared receiver tube produced and interceptor size dimension value one-to-one relationship arranged form, microprocessor or computer can according to by the minimum voltage value that receiving tube produced that obtains in the receiving circuit directly in this table correspondence obtain the size dimension W of moving target λValue, thus realize, when interceptor size during, the moving target that infrared ray touches on the trap setting is discerned and stored less than emission, receiving tube size.
CN 03113702 2003-01-28 2003-01-28 Infrared ray touch device with high resolutions Expired - Fee Related CN1196078C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 03113702 CN1196078C (en) 2003-01-28 2003-01-28 Infrared ray touch device with high resolutions

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 03113702 CN1196078C (en) 2003-01-28 2003-01-28 Infrared ray touch device with high resolutions

Publications (2)

Publication Number Publication Date
CN1431623A CN1431623A (en) 2003-07-23
CN1196078C true CN1196078C (en) 2005-04-06

Family

ID=4790404

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 03113702 Expired - Fee Related CN1196078C (en) 2003-01-28 2003-01-28 Infrared ray touch device with high resolutions

Country Status (1)

Country Link
CN (1) CN1196078C (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100458673C (en) * 2006-05-31 2009-02-04 北京汇冠新技术有限公司 Infrared touch screen for realizing scan driving by bus organized structure
CN100589070C (en) * 2006-07-27 2010-02-10 广东威创视讯科技股份有限公司 Anti-interference type infrared touch device and positioning method
GB0623432D0 (en) * 2006-11-24 2007-01-03 Trw Ltd Capacitance sensing apparatus
CN101398733B (en) * 2007-09-26 2010-09-08 福建星网锐捷通讯股份有限公司 Two-point touch processing method of touch screen
CN101526867B (en) * 2008-03-03 2013-03-06 贺伟 Infrared transmitting or receiving circuit board unit and infrared touch screen
CN101576787B (en) * 2008-05-07 2011-05-25 联想(北京)有限公司 Electric equipment, notebook computer and method for realizing touch control

Also Published As

Publication number Publication date
CN1431623A (en) 2003-07-23

Similar Documents

Publication Publication Date Title
CN1196077C (en) Interacted infrared electronic white blackboard
CN1152296C (en) Input unit, method for using same and input system
CN1198451C (en) Apparatus and method for automatically tracking mobile object
CN1307707A (en) Method and apparatus for scanning fingerprint using linear sensor
CN1769834A (en) Smear-limit based system and method for controlling vision systems for consistently accurate and high-speed inspection
CN1172527A (en) Coordinate detecting system, method therefor and game system
CN1831845A (en) Biometric authenticating apparatus and image acquisition method
CN1655178A (en) Local localization using fast image match
CN1196078C (en) Infrared ray touch device with high resolutions
CN1716078A (en) Image pickup apparatus and image pickup method
CN1495659A (en) Camera
CN102945091B (en) A kind of man-machine interaction method based on laser projection location and system
US6529854B2 (en) Coordinate position detecting method and display apparatus using the same
CN1889016A (en) Eye-to-computer cursor automatic positioning controlling method and system
CN1842819A (en) Pupil detector and iris authentication device
CN1842818A (en) Pupil detector and iris identification device
CN105090790B (en) The long high-power line source apparatus and system of breadth
CN105760017A (en) Touch screen driving method and driving integrated circuit
CN101377450A (en) System and method for extracting lightness data of display screen dot matrix
CN1543185A (en) Scanner having alignment sensor and its process method for image acquisition
EP2202669B1 (en) Methods and apparatus for increased range of focus in image based bar code scanning
CN1975646A (en) Optical navigation device and method of operating the same
CN102520827B (en) Area scanning method and scanning device for non-positive scanning of infrared geminate transistor touch screen and touch screen system
CN1667481A (en) Quick focusing method for digital camera
CN104898900A (en) Infrared touch frame scanning method and infrared touch frame

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20050406

Termination date: 20130128

CF01 Termination of patent right due to non-payment of annual fee