Background technology
All generally adopt touch-screen as showing and operating means in every field such as household electrical appliance at present, substantially be divided into function selecting touch area and procedure Selection touch area on the touch-screen, touch-screen connects control module, the user reaches the prompting on the touch-screen as required, select and operate needed function or program, and then finish whole required operations.According to the method for toch control difference, the touch-screen that generally adopts is divided into two kinds basically at present, and a kind of is capacitive touch screen, and another kind is a resistive touch screen.
For capacitive touch screen, when finger touch is on screen, because people's bulk electric field, user and touch screen surface form a coupling capacitance, for high-frequency current, electric capacity is direct conductor, so finger siphons away a very little electric current from contact point, this electric current divides the electrode on from touch-screen four jiaos and flows out, and the electric current of these four electrodes of flowing through is directly proportional with the distance of pointing four jiaos, control module draws touch point position by the accurate Calculation to these four current ratios.
For resistive touch screen, when the finger contact screen, the two conductive layers of usual mutually insulated has just had a contact in the position, touch point, make voltage become non-zero by zero, after this contact condition Be Controlled unit detects, carry out the A/D conversion, and the magnitude of voltage that obtains is compared the coordinate that obtains the touch point with standard value.
No matter be capacitive touch screen or resistive touch screen, all be subject to interference such as electric field, and then influence its result of use and accuracy of detection.In addition, for capacitive touch screen, because human body becomes the part in the circuit, thereby drift phenomenon is more serious, and just no longer works behind the band gloves, uses to be subjected to bigger restriction.
Summary of the invention
Fundamental purpose of the present invention is to address the above problem and is not enough, provides a kind of electric field that is not subjected to disturb the method for toch control that accuracy of detection is high.
For achieving the above object, technical scheme of the present invention is:
A kind of method of toch control, two detecting units are set in touch screen unit, the vibration that causes in order to detect that the user touches function on the touch-screen or procedure Selection operating area, the vibration wave that detects the oscillation point is transmitted to the travel-time or the propagation distance of described two detecting units, and simultaneously detected numerical value is sent to control module; After described control module receives the numerical value that described two detecting units send over, compare with the standard figures of storing in advance in the storage unit, find the corresponding coordinate information in oscillation point, thereby determine particular location and the corresponding function or the program of user's operating point, carry out respective response, realize function or program setting.
Preferably, in described control module, be provided with the conversion module of travel-time and propagation distance.
Each function or procedure Selection operating area are the numerical range that the size according to operating area is provided with to transmission time of check point or propagation distance in the described storage unit.
Be provided with the self-calibrating module in described control module, be used in use for some time, recalibrate the standard figures in the storage unit, when using, described control module will compare with the new numerical value that stores in the described storage unit next time.
The step of described self-calibrating is, after entering the self-calibrating pattern, the user touches each function on the described touch-screen or the operating area of program respectively, described two detecting units re-enter detected time value and distance value in the described storage unit and store, and promptly get standard figures newly.
Described two detecting units are separately positioned on the roughly diagonal positions of described touch-screen.
The time that detection is transmitted to described two detecting units must be as the criterion with the time that two detecting units receive for the first time.
If have only a detecting unit to receive vibration wave in two detecting units, and another detecting unit does not receive vibration wave, then is judged to inefficacy, does not carry out follow-up judgement.
Content to sum up, a kind of method of toch control of the present invention, in touch screen unit, be provided with two detecting units, vibration in order to detecting operation point, be transmitted to the time value of two detecting units or the coordinate that distance value is determined operating point by detecting the oscillation point, and then the particular location of definite user's operating point and corresponding function or program, this method has realized the touch manner of vibration detection fully, avoided being subjected to the influence of interference such as electric field, the accuracy of detection height, and whether the user be not subjected to the restriction of gloves operation, very easy to use.
In addition, the present invention also has the self-calibrating function, has further improved the response sensitivity of touch-screen, avoids occurring to the detecting unit position owing to the long-time operating point that uses the touch-screen material deformation that causes to cause the problem of deviation.
Embodiment
Below in conjunction with accompanying drawing and embodiment the present invention is described in further detail:
In the present embodiment, touching control flow with washing machine is example, is described in detail at this method of toch control.
As shown in Figure 1, in the touch method of the present invention, touch pad mainly comprises: touch screen unit, storage unit and control module, touch screen unit comprise function and procedure Selection operating area 1 and detecting unit 2 and detecting unit 3 again.
Wherein, as shown in Figure 2, two detecting units 2 and 3 vibrations that cause in order to detect that the user touches function and procedure Selection operating area 1 on the touch-screen, the vibration wave that detecting unit 2 and detecting unit 3 detect the oscillation point respectively is transmitted to the travel-time or the propagation distance of relevant detection unit 2 or detecting unit 3 by touch-screen, and simultaneously detected numerical value is sent to control module.
After control module receives the numerical value that detecting unit 2 and measurement unit 3 send over, with in the storage unit in advance the standard figures of stored propagation time or propagation distance compare, find the corresponding coordinate information in oscillation point, thereby determine particular location and the corresponding function or the program of user's operating point, carry out respective response, realize function or program setting.
Adopt the touch control mode of this vibration detection, avoided being subjected to the interference of electric field etc., the accuracy of detection height, and produce vibration so long as touch touch-screen, and can detect, the means and the instrument that are not touched limit, and be extremely easy to use.
Detecting unit 2 and measurement unit 3 can be arranged on any two positions on the touch-screen edge, to have certain distance between detecting unit 2 and the detecting unit 3, wherein, preferably, as shown in Figure 2, detecting unit 2 and detecting unit 3 are separately positioned on cornerwise position of touch-screen, help improving accuracy of detection like this.
The vibration wave of any operating point on function and the procedure Selection operating area 1 propagates into two detecting units 2 and 3 all needs certain travel-time and propagation distance, and same operating point propagates into detecting unit 2 and propagate into the travel-time and the propagation distance of detecting unit 3 also inequality.It is different with 3 propagation distance and travel-time to be transmitted to two detecting units 2 according to different operating points, stores the propagation distance of each operating point to two detecting unit 2 and 3 and the numerical value in travel-time in storage unit in advance.
Because the operating point of user on touch-screen is not a point, but zone, so, in storage unit, the propagation distance and the travel-time of each function selecting operating area and procedure Selection operating area position to two detecting unit 2 and 3, a scope must be set according to the size of operating area, this scope can be in advance be provided with according to the actual conditions of touch-screen, store in the storage unit, like this, not only can improve the convenience of use, can also reduce user's operation easier simultaneously.
After detecting shake-up, two detecting units 2 and 3 pick up counting respectively, when vibration wave is transferred to detecting unit 2 and detecting unit 3 respectively, detected two time values are sent to control module.In control module, be provided with the conversion module of travel-time and propagation distance, what detecting unit 2 and detecting unit 3 detected is travel-time numerical value, at this moment, if what store in the storage unit is the travel-time of operating point to detecting unit 2 and detecting unit 3, just can directly compare with this time numerical value; If what store in the storage unit is the propagation distance of front contact to detecting unit 2 and detecting unit 3, then control module draws corresponding distance value after needing earlier to multiply each other from the transmission speed of travel-time that detecting unit 2 and detecting unit 3 receive and touch-screen material, compare with the distance value of storing in this distance value and the storage unit again, find corresponding coordinate information after the contrast, thereby determine particular location and the corresponding function or the program of user's operating point.
Because in the vibration wave communication process, when running into the prevention of other object (as the edge), vibration wave can reflect, so, the time that detection propagates into two detecting units 2 and 3 must be as the criterion with the time that two check points receive for the first time, with further raising accuracy of detection.
In two detecting units 2 and 3, have only one of them detecting unit to detect vibration wave, and another detecting unit does not receive vibration wave, then is judged to inefficacy, does not carry out follow-up judgement, avoids misoperation.
As shown in Figure 3, it is as follows specifically to detect step:
(1) the washing machine start that powers on.
(2) user touches function or procedure operation unit, selects needed function or program.
(3) detecting unit 2 and detecting unit 3 detect the travel-time that front contact propagates into relevant detection unit 2 and detecting unit 3 respectively, and the detected travel-time is sent to control module simultaneously.
(4) control module compares the data of storing in the data that receive and the storage unit.
If what store in the storage unit is the travel-time of operating point to detecting unit 2 and detecting unit 3, just can compare with this time numerical value of direct usefulness.
If what store in the storage unit is the propagation distance of front contact to detecting unit 2 and detecting unit 3, then control module draws corresponding distance value after needing earlier to multiply each other from the transmission speed of travel-time that detecting unit 2 and detecting unit 3 receive and touch-screen material, compares with the distance value of storing in this distance value and the storage unit again.
Find corresponding coordinate information after the contrast, thereby determine particular location and the corresponding function or the program of user's operating point.
(5) function or program response realize user's the requirement that is provided with, and washing machine is finished whole laundry operations by the function program operation that the user sets.
For improving the response sensitivity of touch-screen, avoid occurring to the detecting unit position problem of deviation owing to the long-time operating point that uses the touch-screen material deformation that causes to cause, present embodiment is provided with the self-calibrating module in control module, also be correspondingly provided with the viewing area on the touch-screen, user or enter the self-calibrating pattern by operating this zone, the user operates according to information.
The user is according to information, touch the operating point on each function and the procedure Selection operating area 1 respectively, two detecting units 2 and 3 re-enter detected travel-time value and propagation distance value in the storage unit and store, detection time, the method for value and distance value was same as above, after the total data storage is finished, automatically withdraw from the self-calibrating pattern, when using, control module will compare with the new data that stores in the storage unit next time.
As mentioned above, given in conjunction with the accompanying drawings scheme content can derive the similar techniques scheme.In every case be the content that does not break away from technical solution of the present invention, to any simple modification, equivalent variations and modification that above embodiment did, all still belong in the scope of technical solution of the present invention according to technical spirit of the present invention.