Summary of the invention
In view of this, the invention provides a kind of touch input device to address the above problem.
Touch input device among the present invention comprises a felt pen and an input panel.This felt pen is provided with light source and is used for emitting beam.This input panel comprises that one touches input area, first aperture, second aperture, the first image acquiring unit and the second image acquiring unit, wherein this first and second aperture is arranged at the adjacent both sides of this input panel respectively, this first and second image acquiring unit is located at these adjacent both sides and the corresponding position of aperture respectively, and the light that makes this felt pen send sees through this first and second aperture and forms projection respectively on this first and second image acquiring unit; The also corresponding X-Y coordinate system of this input panel, this first and second aperture are respectively to the coordinate in should coordinate system.This touch input device also comprises a processing unit, first and second image acquiring unit of this processing unit and this is connected, the angle α that this processing unit calculates this felt pen and the first aperture line and X-direction respectively in the position and the distance between image acquiring unit and the respective apertures of projection on first and second image acquiring unit respectively according to first and second aperture, and the angle β of felt pen and the second aperture line and Y direction, and determine first straight line through touch location according to the coordinate of first aperture and angle α respectively, and determine second straight line through touch location according to the coordinate of second aperture and angle β, thereby determine the intersecting point coordinate of this first straight line and second straight line, this intersecting point coordinate is this felt pen at the coordinate that touches input area institute touch location, thereby determines the position and the motion track of this felt pen by this felt pen position coordinates of continuous detecting.
The present invention also provides a kind of touch inputting method, and this method comprises the steps: that the light that felt pen sends sees through the projection on first and second image acquiring unit respectively of first and second aperture; Determine the projected position on the first image acquiring unit, and go out the line (calling first straight line in the following text) of this felt pen position and aperture and the angle of horizontal direction according to the distance calculation of this projected position and first aperture and the first image acquiring unit; Determine the coordinate set of this first straight line according to the angle of the first aperture position coordinate and first straight line and horizontal direction; Determine the position of this projection on the second image acquiring unit, and go out the angle of line (to call second straight line in the following text) and vertical direction between the felt pen position and second aperture according to the distance calculation of the position of this projection and second aperture and the second image acquiring unit; Determine the coordinate set of this second straight line according to the angle of this second aperture coordinate and second straight line and vertical direction; Determine a public coordinate points according to the coordinate set of first straight line and second straight line, be the coordinate of felt pen institute position of touch; Detect the position coordinates of this felt pen continuously, thereby determine the motion track of this felt pen.
Touch input device among the present invention is simple in structure, the convenient use, and be not subjected to the influence of electromagnetic interference (EMI).
Embodiment
See also Fig. 1 and Fig. 2, thistouch input device 100 comprises a felt pen 10 and an input panel 20.This felt pen 10 is provided with a light source 101, this light source 101 to around launch light.In the present embodiment, this light source 101 is an infrared light supply, is arranged at this felt pen 10 nib places.In other embodiments, this light source 101 is a lasing light emitter.This input panel 20 comprises that one touches input area 201, first aperture 202, second aperture 203, the firstimage acquiring unit 204 and the second image acquiring unit 205.In the present embodiment, this input panel 20 is one to have the rectangular configuration of protruding frame, and this protrusions frame is a hollow structure, touches input area 201 settings around this.This first aperture 202 and second aperture 203 lay respectively on the protrusion frame of 20 liang of adjacent sidewalls of this input panel and aperture direction and its place frame perpendicular, promptly touch input area 201 towards this.
In the present embodiment, this first aperture 202 is positioned on the horizontal sides of this input panel 20, and this second aperture 203 is positioned on the vertical edge of this input panel 20.This firstimage acquiring unit 204 is arranged at the inner position corresponding with first aperture 202 of the protrusion frame of this input panel 20, and with these first aperture, 202 one first preset distance settings at interval, this secondimage acquiring unit 205 is arranged in this protrusion frame the position corresponding with this second aperture 203, and with this second aperture, 203 intervals, one second preset distance, when thereby this felt pen 10 was arranged in this touch input area 201, the light that this felt pen 10 sends can see through this first aperture 202 and the projection on the firstimage acquiring unit 204 and the secondimage acquiring unit 205 respectively of this second aperture 203.Wherein, this first preset distance and this second preset distance can be identical also can be different.When this felt pen 10 touched different positions, the light that this felt pen 10 sends was by the position difference of projection on corresponding image acquiring unit behind the aperture.Thistouch input device 100 also comprises aprocessing unit 30, and thisprocessing unit 30 is electrically connected with this firstimage acquiring unit 204 and the secondimage acquiring unit 205.
In the present embodiment, the tangible point of this touch input area 201 and a coordinate system for example the coordinate in the X-Y coordinate system shine upon one by one.This first aperture 202, second aperture 203 are equally to the coordinate in should the X-Y coordinate system.Thisprocessing unit 30 according to light see through first aperture 202 and second aperture 203 respectively on the firstimage acquiring unit 204 and the secondimage acquiring unit 205 position of projection and the distance between image acquiring unit and the respective apertures calculate the angle α of this felt pen 10 and first aperture, 202 lines and X-direction respectively, and the angle β of felt pen 10 and second aperture, 203 lines and Y direction, and determine first a straight line L1 through first aperture 202 and touch location according to the coordinate and the angle α of first aperture 202 respectively, and determine second a straight line L2 through second aperture 203 and touch location according to the coordinate and the angle β of second aperture 203, thereby determine the intersecting point coordinate of this first straight line L1 and the second straight line L2, this intersecting point coordinate is this felt pen 10 at the coordinate that touches 201 touch locations of input area, thereby thisprocessing unit 30 is determined the position and the motion track of this felt pen 10.
In the present embodiment, thistouch input device 100 also comprises a display panel (not shown), and this display panel is positioned at the top of this input panel 20, and the motion track that thisprocessing unit 30 is also controlled this felt pen 10 is presented on the display panel.In other embodiments, this input panel 20 is a transparent panel, and this display panel is positioned at the below of this input panel 20.
See also Fig. 3, for touching the coordinate synoptic diagram of input panel 20 in the present embodiment.In the present embodiment, if the center with this touch input area 201 is that true origin is set up the X-Y coordinate system, wherein first aperture 202 and the firstimage acquiring unit 204 are positioned on the X-axis, coordinate is respectively (0, a), (0, c), this second aperture 203 and this secondimage acquiring unit 205 are positioned on the Y-axis, coordinate is respectively (b, 0) reach (d, 0), thereby, the distance of this firstimage acquiring unit 204 and first aperture 202 is c-a, and the distance of this secondimage acquiring unit 205 and second aperture 203 is b-d.In the present embodiment, this the firstimage acquiring unit 204 and the secondimage acquiring unit 205 are formed by a plurality of optical inductors of linearly arranging, when the light that sends when felt pen 10 projected to an optical inductor by aperture, this optical inductor produced an induced signal.Optical inductor in this firstimage acquiring unit 204 is parallel to X-axis, and the optical inductor in this secondimage acquiring unit 205 is parallel to Y-axis, all corresponding coordinate figure of each optical inductor in this image acquiring unit 204,205.Wherein the coordinate that is positioned at right-hand optical inductor of Y-axis of the firstimage acquiring unit 204 on the occasion of, the coordinate that is positioned at the optical inductor of Y-axis left is a negative value.This secondimage acquiring unit 205 be positioned at X-axis top optical inductor coordinate on the occasion of, the coordinate that is positioned at the optical inductor of X-axis below is a negative value.
In the present embodiment, the computation process of these felt pen 10 position coordinateses is as follows: the position coordinates of setting this felt pen 10 for (x, y).The light that sends when felt pen 10 passes this first aperture 202 and when projecting to an optical inductor of this firstimage acquiring unit 204, this optical inductor produces an induced signal, determine the coordinate of this optical inductor behindprocessing unit 30 these induced signals of reception, this coordinate is the position of this ray cast on this firstimage acquiring unit 204, be made as (z, and obtain the value of angle α according to the distance c-a of this horizontal ordinate z and the firstimage acquiring unit 204 and first aperture 202 c).Concrete because tan α=(c-a)/z, thereby can obtain α, wherein c-a is an absolute value, when z was negative value, tan α was for negative, when z be on the occasion of the time, tan α is for just.In like manner can try to achieve the angle value of angle β.Thereby thisprocessing unit 30 can determine that according to the angle α of the coordinate of this first aperture 202 and this this first straight line L1 and horizontal direction the coordinate set of this first straight line L1 is for satisfying all coordinates of equation y=tan α (x+a).In like manner, thisprocessing unit 30 determines that according to the coordinate of second aperture 203 and the angle β of this second straight line L2 and vertical direction the coordinate set of this second straight line L2 is for satisfying all coordinates of EQUATION x=tan β (y+b).Thisprocessing unit 30 is determined this public coordinate points by the coordinate set of this first straight line L1 of contrast and the second straight line L2, promptly draws the coordinate of 10 position of touch of this felt pen.Thisprocessing unit 30 draws the deformation trace of this felt pen 10 by detecting the coordinate of 10 position of touch of this felt pen continuously.
See also Fig. 4, the touch inputting method in thistouch input device 100 comprises the steps:
Step S301: this felt pen 10 with light source is put the light that produces when touching and is produced projection respectively on the firstimage acquiring unit 204 and the secondimage acquiring unit 205 through first aperture 202 and second aperture 203 on input panel 20.
Step S302: determine the position of this subpoint on the firstimage acquiring unit 204, and go out the angle of line (to call the first straight line L1 in the following text) and horizontal direction between felt pen 10 positions and first aperture 202 according to the distance calculation of the position of this subpoint and first aperture 202 and the firstimage acquiring unit 204.
Step S303: the coordinate set of determining this first straight line L1 according to the angle of these first aperture, 202 coordinates and the first straight line L1 and horizontal direction.
Step S304: determine the position of this subpoint on the secondimage acquiring unit 205, and go out the angle of line (to call the second straight line L2 in the following text) and vertical direction between felt pen 10 positions and second aperture 203 according to the distance calculation of the position of this subpoint and second aperture 203 and the secondimage acquiring unit 205.
Step S305: the coordinate set of determining this second straight line L1 according to the angle of these second aperture, 203 coordinates and the second straight line L1 and vertical direction;
Step S306: determine a public coordinate points according to the coordinate set of the first straight line L1 and the second straight line L2, be the coordinate of 10 position of touch of felt pen;
Step S307: detect the position coordinates of this felt pen 10 continuously, thereby determine the motion track of this felt pen 10.