Embodiment
Can see from Fig. 1 and Fig. 2, not exist that the ultrasonic waves transmitted pulse of ultrasonic transmitter E institute just can be positioned at this transmitter opposite, receive for the bar shaped receiver of D with the transmitter distance if absorb hyperacoustic touch objects; At this moment ultrasound wave is that spread towards periphery in the center of circle with the transmitter on the surface of base plate, and after one section travel-time T, receiver can receive ultrasound wave, produces electric signal.If the velocity of propagation (the back abbreviation velocity of sound) of ultrasound wave in base plate represents then have with v
D=vT
Because the two ends of receiver R and the distance of transmitter are inequality, wherein an end and transmitter are nearest, more and more far away along the receiver long axis direction from transmitter, ultrasonic pulse 101 will be from an end of receiver like this, " inswept " whole piece receiver, thereby the diverse location of receiver all can passing in time produce electric signal in proper order, and the electric signal exported of receiver is exactly the duration broad pulse envelope 201 that is Δ T like this.Concentric camber line among Fig. 1 is represented the process that the ultrasound wave diffusion is propagated, and wherein solid line is represented the position of crest, and dotted line represents that crest spreads the position of propagating arrival constantly in difference.If a touch objects P is arranged on hyperacoustic travel path, touch objects will sponge a part of ultrasound wave so, extend to receiver R direction along the line between transmitter and the touch objects, with the intersection point place of receiver R, the electric signal that is produced will be when not having touch objects a little less than, promptly after receiving ultrasound wave, arrive Δ t during the moment, the amplitude of receiver output electric signal can obviously reduce, as shown in Figure 2, and the voltage V of sensor output at this moment
pJust less than just often voltage V
mBecause the relation of the position between transmitter and the receiver is known,, just can obtain equation by the straight line of an E and some P as long as measure Δ t so.If as shown in Figure 3, the mounted on surface at base plate has two ultrasonic transmitter E
AAnd E
B, and receiver R between distance be respectively D
AAnd D
B, so by measuring the time Δ t of electric voltage dropping point on two voltage envelope 301,302 of output
AWith Δ t
B, just can obtain the equation of the straight line of two connection transmitters and touch point, find the solution the intersection point of these two straight lines, can obtain the coordinate of touch point.But because structure shown in Figure 3 the effective coverage that can detect very little, so do not possess very strong practicality, only be a kind of explanation to principle.And adopt the structure of back, and just can reach very wide sensing range, reach the requirement of practicability.
Various possible embodiments quantitatively are described in the structural framing of principle shown in this figure below in conjunction with Fig. 4.
In the installation site synoptic diagram of the transmitter of simplification shown in Figure 4 and receiver, the 401st, the touch base plate plate of sensor installation, it is that a, width are b that setting needs the length of the rectangular area of detected touch point, and is that initial point is set up rectangular coordinate system X0Y with an angle in this zone.Four ultrasonic transmitters are installed on four angles of rectangular area, its coordinate be respectively E1 (0,0), E2 (0, b), E3 (a, b) and E4 (a, 0), represent with R1, R2, R3, R4 respectively on four limits of above-mentioned zone by 4 ultrasonic receivers of installation.Clear for narrating, here utilize the diagonal line of rectangle, above-mentioned rectangular area is divided into 1,2,3,4 totally four zonules again, and respectively be provided with a touch point P (x respectively two cornerwise above and belows, y) and P ' (x ', y '), so that analyze as touch point P (x, y) when being positioned at zones of different, the relation between touch point and each ultrasonic transmitter.But all (x y) represents with P when analyzing.
For theory structure of the present invention more clearly is described, below with the new symbol of definitional part, the mathematical relation that is used for the back is derived.These symbols are as follows:
T
a: from the transmitter ultrasonic waves transmitted, behind distance a, arrive receiver R1 or needed transit time of R3;
T
b: from the transmitter ultrasonic waves transmitted, after distance b, arrive receiver R2 or needed transit time of R4;
Δ t
Nu, (n=1,2,3,4): the Δ t that the expression ultrasound wave produces during along 0 → X, 0 → Y direction is inswept each receiver;
Δ t
Nd, (n=1,2,3,4): the Δ t that the expression ultrasound wave produces along X → 0, during Y → 0 direction is inswept each receiver.
Simultaneously, continue to use other notations similar to the front again, derivation is by the equation of the straight line of above-mentioned four ultrasonic transmitters and touch point respectively.
(x y) is positioned at zone 1, zone 2 o'clock, establish the be touched shade that stays after the thing absorption of transmitter E1 (0,0) ultrasonic waves transmitted and stay the central point of projection on receiver R2, and the distance between the transmitter E1 is D1, has as touch point P
Can get
Obtain straight-line equation:
(x y) is positioned at zone 3, zone 4 o'clock, and above-mentioned shade is D2 at the central point of projection on the receiver R3 and the distance between the transmitter E1, then has as touch point P
Obtain straight-line equation:
(0, b), when the touch point is positioned at zone 2, zone 3 the time, above-mentioned shade is D3 at the central point of projection on the receiver R3 and the distance between the transmitter E2, then has for transmitter E2
Because y2 is less than b, so
Thereby must straight-line equation
When the touch point is positioned at zone 1, zone 4 the time, above-mentioned transmitter shade is D4 at the central point of projection on the receiver R4 and the distance between the transmitter E2, then has
Also obtain straight-line equation
(a, b), when the touch point is positioned at zone 1, zone 2 the time, above-mentioned shade is D5 at the central point of projection on the receiver R1 and the distance between the transmitter E3, then has for transmitter E3
Because y3 is less than b, so
Obtain straight-line equation
When the touch point is positioned at zone 3, zone 4 the time, above-mentioned transmitter shade is D6 at the central point of projection on the receiver R4 and the distance between the transmitter E2, then has
Because x3 is less than a, so
And then obtain straight-line equation
At last, for transmitter E4 (a, 0), when the touch point is positioned at zone 2, zone 3 the time, above-mentioned shade is D7 at the central point of projection on the receiver R3 and the distance between the transmitter E4, then has
Because x4 is less than a, so
And then obtain straight-line equation
When the touch point is positioned at zone 4, zone 1 the time, above-mentioned transmitter shade is D8 at the central point of projection on the receiver R1 and the distance between the transmitter E4, then has
So
Obtain straight-line equation thus
When having obtained the touch point and be positioned at diverse location, connect the equation of touch point and 8 different straight lines of each ultrasonic transmitter by top analysis.Like this,, use top different straight-line equations to constitute system of equations, just can access the touch point at the coordinate figure that detects the surface when we set the touch point of using different ultrasonic transmitters and receiver to come the senses touch backplate surface.For example, when we use ultrasonic transmitter E2 (0, b) and E4 (a, 0) come detected touch point, just can find the solution the system of equations that constitutes by straight-line equation (3), (7) or (4), (8)
Perhaps
Obtain the coordinate of touch point.In reality is implemented, select system of equations (9) still (10), according to behind certain transmitter emission ultrasound wave, can on receiver R1, R4 still are the signal exported of R2, R3, detect Δ t and decide.As shown in Figure 4, if on the electric signal of R1 output, detect Δ t
1u, so necessarily also can on the output signal of R4, detect Δ t
4u, and can not on the signal that R2, R3 exported, detect Δ t
2d, Δ t
3d, at this moment just should use system of equations (10) to find the solution the coordinate figure of touch point, system of equations (9) can not occur; If reverse situation promptly can only obtain Δ t in the signal of R2, R3 output
2dPerhaps Δ t
3d, at this moment system of equations (10) can not set up, and can only use system of equations (9) to find the solution the coordinate figure of touch point.
If use the ultrasonic transmitter that is installed in the same side of touch base plate to come the position of detected touch point, situation can be complicated a little.For example (0, b) emission ultrasound wave as seen from Figure 4, when the touch point is positioned at the zone 1 the time, needs to use the coordinate figure that is obtained the touch point by equation (1) and (4) formation system of equations from ultrasonic transmitter E1 (0,0), E2; In the time of within the touch point is positioned at zone 2, need to use by equation (1) and (3) to constitute the coordinate figure that system of equations obtains the touch point; And when being positioned within regional 3 or 4 when the touch point, then need respectively to use by equation (2) and (3) or (2), (4) to constitute the coordinate figure that system of equations obtains the touch point.Identical with the front, determine the end to use which system of equations to obtain the coordinate figure of touch point, still, can connect at which and detect Δ t on the receiver according to after launching ultrasound wave when certain transmitter
NuPerhaps Δ t
NdDecide.
For other various combinations, use same rule and just can obtain configuration between transmitter, the receiver and the relation between employed straight-line equation and the system of equations, thereby determine how to obtain the relationship of touch point coordinate figure.Because these contents are very simple, so need not list one by one at this.As overall conclusion, accompanying drawing 12 has provided when using structure shown in Figure 4, whole possible transducer combinations schemes, and find the solution the straight-line equation group that the touch point coordinate time need be used.In accompanying drawing 12, the system of equations of straight-line equation and formation thereof is still used aforesaid numeral flag.
When actual product designed, in order to protect ultrasonic transducer, actual available touch surveyed area was less than the long rectangular extent of taking advantage of the wide a*b of equaling, the scope of being surrounded as dotted line among the figure 402.In fact, mathematical derivation by less complex, the zone that ultrasonic receiver surrounded of four strips needn't be a rectangle as can be known, as long as know the installation coordinate of each ultrasonic transducer, other shape surveyed area still still can use the detection architecture of this direct-injection type.But the surveyed area of other shape is seldom used in practice, therefore is not described further in the present invention.Simultaneously, the installation site coordinate of above-mentioned ultrasonic transducer also not necessarily will be set according to the given minimalist program in front, fully can actual conditions freely sets up coordinate system and sets.
Described mathematical principle of the present invention and basic structural model above in detail, below will be further several concrete structure of the present invention be described with the mode of embodiment.
What Fig. 5 showed is to implement a kind of basic electromechanical structure of the present invention.Among the figure, R1~R4 is the ultrasonic receiver of four strips as before, is installed in four edges that the surface that touches base plate needs the zone of detected touch point.Here, comprise various embodiment of the present invention, base plate 401 just requires rectangular at the edge of touch point surveyed area 402, and the shape outer as for receiver is unimportant; If touch-screen is used for the surface of display, then need to use transparent glass material, if only use as the Trackpad that does not show the host computer content in real time, then other opaque elastic materials such as pottery, metal can use, and do explanation this spy.Bight on the diagonal of rectangle surveyed area, two ultrasonic transmitter E1 (0,0) and E3 are installed, and (a b), is driven device 501,502 via lead 505 respectively and drives and the emission ultrasound wave.These two drivers are controlled by the digital information processing system that with MCU is core by control line 503,504.Four ultrasonic receivers also are connected to the input end of signal transmission passage 507,508 via lead 505, and are of coupled connections by this passage and two-way analog signal processing circuit.Here be called and be of coupled connections, because signal is just to connect through certain process, for different transducer configuration mounting structures, this process also is different.But the primary element that serves as the signal transmission passage 507,508 among Fig. 5 is the analog switch of two " single-pole double-throw (SPDT)s ", is controlled by digital information processing system 515 by control bus 506 in the present invention.Here said " single-pole double-throw (SPDT) ", expression has two groups of signalling channels: if ultrasonic receiver is differential output, so every " cutter " just should have two bars passages; If single-ended output, so every " cutter " just only needs one tunnel signalling channel, and the connotation of " cutter " that the back relates to analog switch is identical.Each analog switch here all has two groups of stationary contacts (to be made as input end, later on together), our definition is when the control signal of analog switch is identical, (be made as output terminal with moving contact, later on together) that group input end that on-state is identical is input end of the same name (or stationary contact of the same name), like this, ultrasonic receiver with the connected mode of analog switch the best is exactly: the output terminal of R1, R4 is connected with the signal input part of the same name of two analog switches respectively with R2, R3 output terminal, can realize the simplest control mode like this.Because when E1 emission ultrasound wave, the signal that has only R2, R3 to receive is effective, and when E3 emission ultrasound wave, the ultrasonic signal that also has only R1, R4 to receive is effective.Including the analog signal processing circuit 509,510 of functions such as amplification, filtering and A/D transducer 511,512 and output transform result's thereof data bus 513,514 in the analog switch back all is two-way, because touch point position is unknown, so the signal that circuit part needs simultaneously two ultrasonic receivers R1, R4 or R2, R3 to be exported is handled, obtain two groups of data to be compared, that handle, then " find " straight-line equation that is suitable for.This technical scheme shown in Figure 5, except the numerical evaluation of structure, installation form and the digital information processing system inside of front transducer and program code and carry out the program code of signalling channel, A/D convertor controls, other principle of work and number are 4,644,100,4,645,870,4,700,176,4,791,416,4,880,665 and 6,441,809 United States Patent (USP)s such as grade, and the disclosed technical scheme of other patents that they relate to is identical, but reference implementation.At last, the net result that obtains through computing through data line 516 outputs, is transferred to host computer by the interface (PORT) 517 with host computer.
In the present invention, the core of digital information processing system 515 is microprocessor (MCU), can be general or special-purpose Single Chip Microcomputer (SCM) system, also can use DSP (digital signal processor), optionally the processing speed of computational data amount, requirement and deciding.Under most of situation (the detection sample frequency of p.s. is not very high), a lot of existing New Type of Chip Microcomputer system can be competent at.The structure of this system core part is identical with the kernel of the digital information processing system that other occasion is used, and all is to be made of CPU, ROM, RAM, controller and I/O port.For application-specific of the present invention, also comprise other peripheries such as data latches.
The process flow diagram of digital processing system internal core program code is seen Figure 10.System begins to start from step 1001, carries out transducer subsequently and detects step 1002, and whether the work by determining step 1003 detection transducers is normal again.If normal, just begin by the control line driver, drive first ultrasonic transmitter emission ultrasonic pulse, and connect synchronously and first two ultrasonic receivers reception ultrasound wave that transmitter is corresponding from step 1004.Otherwise, jump to step 1015, by data transmission step 1014 to the host computer output error message.Connect the sound of output by ultrasonic receiver---be sent to the A/D transducer after the electric signal process analog circuitry processes, quantize, carry out memory command 1006 again and store the two-way quantized data into working storage through step 1005 control simulating signal.Step 1007,1008, second parts work such as ultrasonic transmitter of 1009 controls, the operation of repeating step 1004~1006.After having obtained four quantized datas, carry out data reading command 1010, read temporary data and judge that Δ t appears in the output of which two receiver, for the data processing evaluation work of back is got ready.
Data processing, calculation procedure 1011 are cores of data processing.When can having two kinds of schemes for enforcement, the run time version of this part selects.First kind is to carry out to set up two corresponding straight-line equations and constitute system of equations, find the solution the program code of this system of equations etc. then, finally obtain the touch point coordinate P (x, y).If be operated in this state, system also needs to carry out the derivation of the straight-line equation (1) that calls according to the front, (5), (2), (6), for reducing the step 1012 that operand has been set up the step 1013 of " the straight-line equation model bank " finished, carried out " current calibration data " that form, that be used for the calibration calculations result when being invoked at touch screen calibration.The advantage of this mode is that data processing is more stable, be not easy to be subjected to the influence of extraneous factor, shortcoming is because the workload of numerical evaluation is very big, if obtain comparing higher processing speed, to the requirement of hardware performance than higher, to cause production cost to improve, otherwise phenomenon such as delay of response will occur and influence normal use.Second kind is after MCU only does the Δ t time signal that obtains the mark of one suitable straight-line equation, directly to be sent in the host computer, finishes operations such as straight-line equation foundation, coordinate figure calculating by means of the powerful numerical evaluation function of host computer (generally being PC).In this case, aforesaid " straight-line equation model bank " and " current calibration data " can directly be stored in the storer of host computer, its relative merits are just in time opposite with first kind of scheme, requirement to MCU reduces greatly, production cost is also cheaper, but be subjected to the influence of host computer duty easily, especially when host computer moves some large programs, also be easy to generate phenomenons such as delay of response even deadlock.Because step 1011 has two kinds of above-mentioned basic schemes, therefore in Figure 10, relevant step, operation and data content all with dashed lines represented to show differentiation.But, no matter use any scheme, resulting data all will be sent data by the communication excuse by data transmission procedure 1014.
The embodiment of another one basic structure sees Fig. 7.Compare with basic structure shown in Figure 5, the key distinction of this framework is the mounting structure of ultrasonic transducer---ultrasonic transmitter is not the diagonal angle, and is mounted in a side of base plate; Receiver only need be installed three, is installed in to touch low three other edges of plate; The analog switch that constitutes signalling channel also only needs one, and the another one signalling channel directly substitutes with lead.Because no matter which transmitter is launched ultrasound wave, receiver R4 must export electric signal, could guarantee the integrality of detection, so need whether not work with specific transmitter, all should be access in analog signal processing circuit.Therefore.This structure also is the 4th a kind of array mode of transducer given in the accompanying drawing 12, although the straight-line equation that will relate to still is four as can be known, but the combination of system of equations has four kinds also, therefore according to Δ t judge use which system of equations to find the solution the process of touch point coordinate can be complicated a little, the content of other structures and operation, identical with structure shown in Figure 5, to be production cost further reduce because of the minimizing meeting of components and parts advantage, shortcoming is at different surveyed areas, the physical resolution that detects can be more inhomogeneous, may be not suitable in some cases.The employed software configuration of this structure, basically the program flow diagram with shown in Figure 10 is identical, the key distinction is because relate to more straight-line equation, so step 1010,1011 code structure are more complicated, the control analog switch is then simpler relatively with the code that ultrasonic transmitter switches receiving sensor.
Fig. 6 is represented is the present invention on the basis of the given basic structure of Fig. 5 or Fig. 8, has increased the basic embodiment of Redundancy Design.Compare with Fig. 5, this structure has increased by two ultrasonic transmitter E2 and E4, has promptly all installed one on each angle that touches base plate, cooperates therewith, driver also is increased to 601,602,603,604 totally 4 by two, controls by control line 605,606,607,608 respectively.Like this, according to the result who obtains from Fig. 4, the possible array mode of transducer is abundanter, can realize whole combinations given in the accompanying drawing 12, the serviceable life of having improved touchscreen greatly.Such as, the setting of supposing acquiescence when touchscreen dispatches from the factory is to use two transmitters of E1, E3, cause E1 to damage owing to work long hours continuously, finding E1 when the self-check program of touch-screen so damages, just can automatically or point out user, guardian to be replaced by use E2, E4 the ultrasonic transmitter of equivalence basically, guarantee that touchscreen continues operate as normal for giving tacit consent to.If E2 damages again after a period of time, can also to continue to change the transmitter of acquiescence be E3, E4 in system so.Therefore this design can increase substantially the serviceable life of product under the condition that increases few production cost.Compare with Fig. 5, the change of another one details is that analog switch becomes " cutter four is thrown " by 609,610 " dpdt double-pole double-throw (DPDT)s " on the circuit structure, this variation be for the combination accessory of transducer.In order to make data handling system the simplest to the control analog switch, the signal output part of ultrasonic receiver preferably is connected according to the mode among the figure with connected mode between the input end of analog switch: the input end of the same name of supposing two analog switches label respectively is " 1~4 " and " one~four ", after the order parallel connection of end of the same name for two analog switches, be connected with the signal output part of R1-R4 more so according to " 1 ∥ two, 2 ∥ three, 3 ∥ four, 4 ∥ one ".Like this, when the control end of two simulations receives identical control signal, can guarantee that two adjacent ultrasonic receivers receive transmitter ultrasonic waves transmitted signal on the angle, opposite.If connect not according to such rule, still can be according to list 1, finish the switching of receiver with the work of ultrasonic transmitter, but control routine and control bus 506 or circuit will be complicated, every analog switch will be controlled separately.
The program flow diagram corresponding with Fig. 6 seen Figure 11.With Figure 10 relatively, Figure 11 is many in the execution of relevant selection transducer combinations step 1101-1106 perhaps, other parts are identical with Figure 10.When the detection step 1003 that executes the acquiescence transducer and after finding the acquiescence transducer fails, program is not directly to jump to 1015 indication error messages, but forward the step 1101 that the transducer combinations list is selected to, from this list according to preestablishing first group of standby transducer combinations of select progressively, according to the execution in step 1102 of 1002,1003 same way as, carry out new transducer combinations tested.If new test can operate as normal through this combination of determination step 1103 proofs, so with regard to execution in step 1104.Step 1104 can be regarded as the inlet of the appointment that program returns, because can have two kinds of operation schemes selective in this step.Operation is to inform that by the indication of display the user recalibrates touch-screen in first, and preserves calibration data by step 1106; Second kind of operation be from " calibration data base ", directly call or mark before (can when using for the first time, all transducer combinations all be calibrated once, and preserve calibration data) calibration data of having produced, use during for the back numerical evaluation.Execution in step 1105 is preserved the current selection conduct transducer combinations of acquiescence later on then, returns master routine and continues to carry out following step.Certainly, step 1104 and 1105 order can be exchanged, and can not influence execution result.Also include the transducer unit that had lost efficacy and can not use if the result of determination step 1103 is these transducer combinations, so just judge whether to test combinations all in the list 1 by next determination step 1107, if the result is Yes, represent that all transducer combinations are all tested, it is too many to illustrate that transducer damages, touch-screen can't continue to use, at this moment with regard to execution in step 1015 prompting error messages; Otherwise return step 1101, from list, select next transducer combinations to continue test.
Certainly, this Redundancy Design also can use 3 ultrasonic transmitters to constitute the smaller design proposals of redundance.But angle from " P/C " ratio, obviously not preferred plan, because (life-span of two transmitters should be similar in theory at this moment can only to produce the redundance of one times of less than in theory, not that lost efficacy with do not have used that combination after, mission life depends on by original that does not temporarily have the life-span of the transmitter of inefficacy), and use 4 transmitters, the above redundance of twice is just arranged in theory.
In addition, the structure of Fig. 6 also can be used 4 transmitter work together, does for the first time for two one group and detects, and other two one group is used for verification to improve the resolution or the precision of touch-screen.But under most of situation, this verification not necessarily, because it is the size of finger is very large size for the resolution or precision that only can reach when two transmitters are used to detect, more reasonable not as being used for Redundancy Design with other two.And if add the secondary checking procedure, the workload of data processing will double, will be higher to the requirement of parts such as MCU.
Fig. 8 is the basic structure and the scheme of installation on the touch base plate thereof of strip ultrasonic receiver.801 expression piezoelectrics among the figure, the 802, the 803rd, two electrodes of receiver.This sensor can be formed in parallel with a plurality of little receivers, perhaps according to the thin-and-long sensor of the size specialized designs certain-length of touch-screen.
Fig. 9 is the relation of the installation site between ultrasonic transmitter and the receiver generally speaking.In the ordinary course of things, an end of ultrasonic receiver and the actual range of transmitter will be greater than straight line that passes through the receiver axis county and the minor increments between the transmitter.But as long as according to the relation between the leg-of-mutton length of side, calculate actual range DT between receiver near-end and the transmitter according to providing formula among the figure, survey or calculate ultrasonic propagation again and spend this needed transit time of distance, in order to substitute Ta and the Tb in the straight-line equation of front, still can obtain correct result.
In fact, the present invention can also have the design proposal of a variety of accommodations, but basic mathematical principle, the counter structure between the transducer, basic software and hardware structure all do not have very big difference, flexible Application in practice.