Background technology
At present at all commonly used touch screen of the every field such as household electrical appliance as display and operation device, touch screen is divided into function selecting touch area and procedure Selection touch area substantially, touch screen connects control unit, user's prompting as required and on touch screen, select and operate required function or program, and then complete all required operations.Different according to method of toch control, touch screen commonly used at present is essentially divided into two kinds, and one is capacitive touch screen, and another kind is resistive touch screen.
For capacitive touch screen, when finger touches on screen, owing to human body electric field, user and touch screen surface form a coupling electric capacity, for high frequency electric, electric capacity is direct conductor, then finger siphons away an only small electric current from contact point, and this electric current divides outflow from the electrode the corner of touch screen, and the distance of the electric current and finger to corner flowing through these four electrodes is directly proportional, control unit, by the accurate calculating to these four current ratios, draws the position of touch point.
For resistive touch screen, when finger contact screen, the two conductive layers of usual mutually insulated has just had a contact in position, touch point, voltage is made to be become non-zero by zero, after this contact condition controlled unit detects, carry out A/D conversion, and the magnitude of voltage obtained is obtained compared with standard value the coordinate of touch point.
No matter it is capacitive touch screen or resistive touch screen, is all relatively subject to the interference such as electric field, and then affects its result of use and accuracy of detection.It addition, for capacitive touch screen, become the part in circuit due to human body, thus drift phenomenon ratio is more serious, and just no longer work after band glove, use and be subject to bigger restriction.
Summary of the invention
Present invention is primarily aimed at solution the problems referred to above and deficiency, it is provided that one is not by electric jamming, the method for toch control that accuracy of detection is high..
For achieving the above object, the technical scheme is that
A kind of method of toch control, touch screen unit arranges two detection unit, two detection unit include two test points of A, B respectively, in order to detect function or procedure Selection operating area that user touches on touch screen and the vibration caused, two detection unit detection oscillation points are transmitted to time difference and/or the time value of described two test points of A, B, and the numerical value detected are sent to control unit simultaneously;After described control unit receives the numerical value that described detection unit sends over, contrast with the standard figures prestored in memory element, find the coordinate information that oscillation point is corresponding, so that it is determined that the particular location of user operation point and corresponding function or program, carry out respective response, it is achieved function or program are arranged.
Further improvement of the present invention is in that, the numerical value that prestores in described memory element includes three parts: Part I is the time difference that after described A test point first receives vibration wave, described B test point receives vibration wave again, and corresponding function or program;Part II is the time difference that after described B test point first receives vibration wave, described A test point receives vibration wave again, and corresponding function or program;Part III is that two test points of described A, B are simultaneously received the reception time value corresponding to vibration wave, and corresponding function or program.
In described memory element, each function or procedure Selection operating area are the numerical range that the size according to operating area is arranged to the transmission time of two test points of A, B.
Two test points of described A, B being formed a line segment, assumes that a vertical line is as demarcation line in this line segment center, whole touch screen is divided into three part on the left of demarcation line, on the right side of demarcation line, on demarcation line by this demarcation line;The mode of the operation point employing reduced time difference being positioned on the left of described demarcation line on described touch screen and on the right side of demarcation line is distinguished, and the operation point being pointed on described demarcation line is adopted the mode of reduced time value to be distinguished.
When operating area on the left of user touches described demarcation line or on the right side of demarcation line, after shake-up being detected, said two detection unit starts timing respectively, it is firstly received the test point of vibration wave, timing before then resets and restarts timing, until timing stops after another test point receives vibration, this time value is the oscillation point transmission time difference value to two test points of A, B, and the information that this time difference and test point first receive vibration wave is sent simultaneously to described control unit;When user touches the operating area on described demarcation line, two test points of A, B are simultaneously received vibration wave, then being sent to described control unit by touching the time value started to reception stops, the information simultaneously issuing described control unit has two test points of A, B to be simultaneously received vibration wave.
Being provided with self-calibrating module in described control unit, in use for some time, recalibrate the standard figures in memory element, when using, described control unit will contrast with the new numerical value of storage in described memory element next time.
The step of described self-calibrating is, after entering self-calibrating pattern, user touches the operating area of each function on described touch screen or program respectively, the time value detected and time difference are re-entered in described memory element and are stored by said two detection unit, obtain standard figures newly.
Detection is transmitted to the time of described two test points of A, B and must be as the criterion with the time that two test points first time receives.
If only one of which test point receives vibration wave in two detection unit, and another test point does not receive vibration wave, then be judged to inefficacy, does not carry out follow-up judgement.
To sum up content, a kind of method of toch control of the present invention, touch screen unit is provided with two detection unit, in order to detect the vibration of operation point, by detecting oscillation point and be transmitted to the time value of described two test points of A, B and/or time difference determining the coordinate of operation point, and then determine the particular location of user operation point and corresponding function or program, the method fully achieves the touch manner of vibration detection, avoid the impact disturbed by electric field etc., accuracy of detection is high, and user's restriction with glove operation by whether, very easy to use.
It addition, the present invention also has self-calibrating function, further increase the response sensitivity of touch screen, it is to avoid the problem that the operation point caused owing to using the touch screen material caused to deform for a long time deviation occurs to detection cell position.
Detailed description of the invention
Below in conjunction with accompanying drawing and detailed description of the invention, the present invention is described in further detail:
In the present embodiment, for washing machine touch control screen, it is described in detail for this method of toch control.
As it is shown in figure 1, in touch method of the present invention, touch pad mainly comprises: touch screen unit, memory element and control unit, touch screen unit comprises again the operating area of function or procedure Selection and two detection unit.
Wherein, as shown in Figure 2, two detection unit include two test points of A, B respectively, function on touch screen or procedure Selection operating area is touched and the vibration that causes in order to detect user, two detection unit detection oscillation points are transmitted to time value and/or the time difference of described two test points of A, B, and the numerical value detected are sent to control unit simultaneously.
After control unit receives the numerical value that said two detection unit sends over, contrast with the standard figures prestored in memory element, find the coordinate information that oscillation point is corresponding, so that it is determined that the particular location of user operation point and corresponding function or program, carry out respective response, it is achieved function or program are arranged.
Adopt the touch control mode of this vibration detection, it is to avoid by the interference of electric field etc., accuracy of detection is high, as long as and touch touch screen and produce vibration, can detect, means and instrument by touching are not limited, extremely easy to use.
Time according to the different oscillation points propagation distance to two test points of A, B and propagation is different, and the numerical value prestored in memory element is subdivided into three parts, in order to improve detection speed and precision.
Part I is the time difference that after described A test point first receives vibration wave, described B test point receives vibration wave again, and corresponding function or program;
Part II is the time difference that after described B test point first receives vibration wave, described A test point receives vibration wave again, and corresponding function or program;
Part III is the reception time value (non-temporal is poor) that two test points of described A, B are simultaneously received corresponding to vibration wave, and corresponding function or program.
Because the operation point that user is on the touchscreen is not a point, but a region, so, in the memory unit, the regional location of each function or procedure Selection operation is to transmission time of two test points of A, B, one scope must be set according to the size of operating area, this scope can be configured previously according to the practical situation of touch screen, and storage is in memory element, so, not only can improve the convenience of use, the operation easier of user can also be reduced simultaneously.
As in figure 2 it is shown, two test points of A, B to be formed the line segment of a level, in the present embodiment, it is two test points of A, B are arranged on touch screen the upper right corner and left upper, naturally it is also possible to the middle both sides of touch screen or other position of left and right inferior horn are set.
In the line segment center that two test points of A, B are formed, it is assumed that a vertical line is as demarcation line, and whole touch screen is divided into three parts by this demarcation line, respectively on the left of demarcation line, on the right side of demarcation line and demarcation line.
As seen from Figure 2, when touching the function on the left of demarcation line or procedure Selection operating area (such as 1, etc.) at 2, vibration wave will first arrive at A test point;And when touching the function on the right side of demarcation line or procedure Selection operating area (such as 5, etc.) at 6, vibration wave will first arrive at B test point;When touching the function on demarcation line or procedure Selection operating area (such as 3,4 etc.), vibration wave will arrive at two test points of A, B simultaneously, but touches 3,4 regions respectively, and the time arriving at 2 is different.
So, in this control method, for the operation point being positioned on the left of demarcation line on touch screen and on the right side of demarcation line, adopt the mode of reduced time difference to be distinguished;And be pointed to the operation point on demarcation line, then adopt the mode of reduced time value to be distinguished.
Due in vibration wave communication process, when running into the prevention of other object (such as edge), vibration wave can reflect, so, detection propagation must be as the criterion with the time that two test points first times receive to the time of two test points of A, B, to improve accuracy of detection further.
If in two test points of A, B, only one of which test point receives vibration wave, and another test point does not receive vibration wave, then be judged to inefficacy, do not carry out follow-up judgement, it is to avoid misoperation.
As it is shown on figure 3, concrete detecting step is as follows:
(1) washing machine powers on start.
(2) user touches function or procedure operation unit, selects required function or program.
(3) two detection unit detect shake-up, start timing.
(4) when operating area on the left of user touches demarcation line, after shake-up being detected, two detection unit start timing, if A test point is firstly received vibration wave, timing before then resets and restarts timing, until timing stops after B test point receives vibration, this time value is the oscillation point propagation time difference to two test points of A, B, and the information that this time difference and A test point first receive vibration wave is sent simultaneously to control unit.
When operating area on the right side of user touches demarcation line, after shake-up being detected, described detection unit starts timing, if B test point is firstly received vibration wave, timing before then resets and restarts timing, until timing stops after A test point receives vibration, this time value is the oscillation point propagation time difference to two test points of A, B, and the information that this time difference and B test point first receive vibration wave is sent simultaneously to control unit;
When user touches the operating area on demarcation line, two test points of A, B are simultaneously received vibration wave, then be sent to control unit by touching the time value started to reception stops, and the information simultaneously issuing control unit has two test points of A, B to be simultaneously received vibration wave.
(5) data prestored in the data received and memory element are contrasted by control unit, find corresponding coordinate information after contrast, so that it is determined that the particular location of user operation point and corresponding function or program.
(6) function or program response, it is achieved user arranges requirement, washing machine runs by function or the program of user's setting, completes whole laundry operations.
For improving the response sensitivity of touch screen, avoid the problem that the operation point caused owing to using the touch screen material caused to deform for a long time deviation occurs to detection cell position, the present embodiment arranges self-calibrating module in a control unit, touch screen is also correspondingly provided with viewing area, user or be operated by this region enter self-calibrating pattern, user is operated according to information.
User is according to information, touch the operation point of each function or procedure Selection operating area respectively, the time value detected and time difference are re-entered in memory element and are stored by two detection unit, the method of detection time value and time difference is same as above, after total data storage completes, automatically exiting from self-calibrating pattern, when using, control unit will contrast with the new data of storage in memory element next time.
As it has been described above, in conjunction with the plan content given by accompanying drawing, it is possible to derive similar technical scheme.In every case it is the content without departing from technical solution of the present invention, according to any simple modification, equivalent variations and modification that above example is made by the technical spirit of the present invention, all still falls within the scope of technical solution of the present invention.