Human body detecting method for washing machine
Technical field
The invention belongs to washing machine fields, in particular to are used for the human body detecting method of washing machine.
Background technique
Due to the market demand of decoration integration, washing machine is all made of concealed operation panel, although such operation panel
Very high overall beautiful effect is realized, but is also brought simultaneously when panel backlit extinguishes, user can not accurately determine
This defect of the position of control button.
Although general opereating specification can be drawn a circle to approve by carrying out silk-screen printing on operation panel, destroy again
The effect of washer operation panel globality.
Summary of the invention
In order to solve shortcoming and defect existing in the prior art, the present invention provides the detection knots for passing through infrared sensor
Fruit detects human body, and then controls the indicator light in washing machine, so that without being modified to washing machine appearance,
Keep the integrated human body detecting method of appearance.
In order to reach above-mentioned technical purpose, the present invention provides the human body detecting methods for washing machine, including setting to exist
Concealed operation portion on washing machine, and the control unit being arranged in washing machine, operation portion to the operating status of washing machine into
Row adjustment, the human body detecting method include:
Operation portion obtains the temperature value in washing machine detection range in real time;
The temperature value and preset threshold that will acquire compare, and determine whether someone close to washing machine according to comparing result;
If it is determined that someone close to washing machine, then obtains the current operating status of washing machine, enable control unit according to operation shape
State controls the backlight of washing machine.
Optionally, the current operating status of the washing machine, comprising:
Standby mode, including shutdown;
In non-standby state, including operation, suspend, end of run.
Optionally, if it is determined that described someone is close to washing machine, then the current operating status of washing machine is obtained, control unit is enabled
It is controlled according to backlight of the operating status to washing machine, comprising:
If washing machine is in standby, control unit control is located at the backlight circuit below operation portion and is powered, and lights behaviour
Make the indicator light of power button in portion.
Optionally, after lighting the indicator light of power button, the human body detecting method further include:
If detecting the operation to power button within a preset time, control unit control is located at the backlight electricity below operation portion
Road is powered, the indicator light in lighting operation portion other regions in addition to power button;
Wherein, other described regions include the adjustment region and washing drum in operation portion.
Optionally, after lighting the indicator light of power button, the human body detecting method further include:
If the operation to power button is not detected within a preset time, control unit control is located at the backlight below operation portion
Down circuitry extinguishes the indicator light of power button in operation portion.
Optionally, if it is determined that described someone is close to washing machine, then the current operating status of washing machine is obtained, control unit is enabled
It is controlled according to backlight of the operating status to washing machine, comprising:
If washing machine is in operation or the state of pause, control unit control is located at the backlight circuit below operation portion,
So that the indicator light of power button is lighted, control that the indicator light of washing drum, the backlight indicator light of display screen is lighted in operation portion;
If washing machine is in the state of end of run, control unit control is located at the backlight circuit below operation portion, so that
The indicator light of power button is lighted, and controls that the indicator light of washing drum, the backlight indicator light of display screen extinguishes in operation portion;
If washing machine is in standby, control unit control is located at the backlight circuit below operation portion, so that power button
Indicator light light, control that the indicator light of washing drum, the backlight indicator light of display screen extinguishes in operation portion.
Optionally, the human body detecting method further include:
If it is determined that nobody is close to washing machine,
If washing machine is in operation or the state of pause, control unit controls the finger of the indicator light of power button, washing drum
Show that lamp extinguishes, the backlight indicator light of display screen continues to light in operation portion;
If washing machine is in the state of end of run, the indicator light that control unit controls power button extinguishes, and controls washing drum
Indicator light, the backlight indicator light of display screen persistently extinguishes in operation portion;
If washing machine is in standby, control unit controls the indicator light of power button, the indicator light of washing drum, operation portion
The backlight indicator light of middle display screen extinguishes.
Optionally, the human body detecting method further includes the update step for obtaining the temperature value in washing machine detection range,
The update step includes:
Step 1 constructs initial temperature value T0, T1, obtains the real time temperature T of washing machine local environment;
Step 2 determines the difference DELTA T1 of environment real time temperature T Yu initial temperature value T1;
Step 3, if difference DELTA T1, which is greater than preset threshold Th1, shows have for human detection result function F assignment 1
For human body close to washing machine, the numerical value of initial temperature value T1 is updated to T, and the numerical value of T0 is constant.
Optionally, the update step further include:
Step 4 obtains the numerical value of human testing function F if difference DELTA T1 is less than or equal to preset threshold Th1;
Step 5, if numerical value is 1, it is determined that the difference DELTA T2 of environment real time temperature T and initial temperature value T0;
Step 6, if difference DELTA T2, which is less than preset threshold Th2, shows people for human detection result function F assignment 0
Body has left washing machine, and the numerical value of initial temperature value T1 is updated to T.
Optionally, the update step further include:
The step of opposing with step 5 seven, if numerical value is not 1, shows nobody before washing machine, by initial temperature value T0
Numerical value be updated to T;
The step of opposing with step 6 eight shows that washing machine is previous if difference DELTA T2 is greater than or equal to preset threshold Th2
Straight someone exists, and the numerical value of initial temperature value T1 is updated to T.
Technical solution provided by the invention has the benefit that
By being detected to human body, and the state current based on association washing machine, to washer operation portion
Backlight be adjusted, will when human body is far from washing machine so that light the backlight of power button when human body is far from washing machine
The indicator light lighted extinguishes, and while playing power saving effect, does not also need to carry out operation portion region using other modes
Function division, to keep the integraty of washing machine appearance.
Detailed description of the invention
It, below will be to attached drawing needed in embodiment description in order to illustrate more clearly of technical solution of the present invention
It is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, general for this field
For logical technical staff, without creative efforts, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is the flow diagram provided by the present invention for the human body detecting method of washing machine;
Fig. 2 is the flow diagram that the update step of human detection result is updated provided by the present invention for timing.
Specific embodiment
The technical solution of the embodiment of the present invention is explained and illustrated below with reference to the attached drawing of the present embodiment, but following realities
Applying example is only the preferred embodiment of the present invention, and not all.Based on the implementation example in the implementation mode, those skilled in the art exist
Obtained other embodiments under the premise of creative work are not made, protection scope of the present invention is belonged to.
It, can be according to the testing result of human body to washing the present embodiment provides the human body detecting method based on infrared induction principle
Backlight in clothing machine operation portion region is controlled, and the use feeling of washing machine is improved under the premise of not destroying globality.
It is worth noting that, the control unit proposed in the embodiment of the present application, is the program based on write-in to washing part
Function, process carry out the software of set control and the combination of hardware.Avatar in washing machine is to be equipped with single-chip microcontroller
And the circuit board of subsidiary component.
Embodiment one
In order to reach above-mentioned technical purpose, the present invention provides the human body detecting methods for washing machine, including setting to exist
Infrared sensor on washing machine, and the control unit being arranged in washing machine, as shown in Figure 1, the human body detecting method packet
It includes:
11, operation portion obtains the temperature value in washing machine detection range in real time;
12, temperature value and the preset threshold comparison that will acquire, determine whether someone close to washing machine according to comparing result;
If it is determined that 13, someone is close to washing machine, then the current operating status of washing machine is obtained, enables control unit according to operation
State controls the backlight of washing machine.
The considerations of for integrated aesthetics, the type washing machine is in power-off or not running, the backlight of operation portion part
Extinguish completely, while also resulting in user in this way without separating the control button of different function using modes such as silk-screens
The working condition of washing machine can not be known near washing machine.
Above-mentioned steps 11-13 proposes the method for realizing human testing based on the infrared sensor in washing machine, and being used for will
Key in front panel uses the washing machine of concealed design.When infrared sensor detects that human body is close to washing machine,
Operation portion can be powered, the subregional indicator light of lighting portion is washed so that human body can obtain under the premise of not in contact with operation portion
The current state of clothing machine;And when human body is far from washing machine, the indicator light lighted is extinguished, the effect of power saving is played, and
And do not need to divide functional area using other modes in above process, to keep the one of washing machine appearance
Property.
Operation portion in the present embodiment refers to the region switched over to washing machine running state, can be described as operation panel or
Operating area, set have the functions such as power button, program switching, water control, and control unit is then setting in washing machine internal, including
The conglomerate of the components such as power supply, host circuit board, motor, for executing the operational order of operation portion.
Optionally, the current operating status of the washing machine, comprising:
Standby mode, including shutdown;
In non-standby state, including operation, suspend, end of run.
In an implementation, in order to accurately control the backlight of washing machine, so that showing difference under different conditions
Light effect, the operating status of washing machine is classified here.
It is primarily based on whether washing machine runs, operating status is divided into the standby mode not run, and be currently running
Non-standby state.Further, standby mode includes off-mode;Non-standby state then includes the operation of normal laundry processes
In, the pause that uses pause button to trigger and laundry terminate or using the states such as end of run for terminating key triggering.
Based on the above-mentioned state listed, corresponding backlight adjusting can be carried out for each state, so that user exists
Under the different conditions of washing machine, it can guarantee according to different types of backlight clearly to the operation logic of washing machine using just
On the basis of benefit, the integraty of washing machine appearance is also maintained.
Optionally, if it is determined that described someone is close to washing machine, then the current operating status of washing machine is obtained, control unit is enabled
It is controlled according to backlight of the operating status to washing machine, comprising:
If washing machine is in standby, control unit control is located at the backlight circuit below operation portion and is powered, and lights behaviour
Make the indicator light of power button in portion.
In an implementation, when washing machine is in open state, and human body is mobile towards washing machine, control unit controls lighting operation
Indicator light below portion.On the other hand, if washing machine is in off-mode, show that washing machine has only been powered at this time,
Do not carry out any washing operation, it is only necessary to which the indicator light of the power button in lighting operation portion informs the position of user's power button
?.After user is opened washing machine using power button, the indicator light of other control areas can be lighted on operation panel, be convenient for
User carries out subsequent laundry operations.Here by when human body is mobile towards washing machine, only lighting washing machine booting under off-mode
The mode of key indicator light reduces the consumption of electric energy under the premise of guaranteeing washer operation portion integraty.
Optionally, after lighting the indicator light of power button, the human body detecting method further include:
If detecting the operation to power button within a preset time, control unit control is located at the backlight electricity below operation portion
Road is powered, the indicator light in lighting operation portion other regions in addition to power button;
Wherein, other described regions include the adjustment region and washing drum in operation portion.
In an implementation, under the premise of lighting power button indicator light, if detecting that user operates power button,
In control unit also lighting operation portion in addition to power button region other regions indicator light, so that user do washing etc. other behaviour
Make.Here other regions include the adjustment region that the contents such as water temperature, water level, washing mode in washing process are adjusted
It outside, further include washing drum.
After the indicator light being arranged in washing drum is lit, user can see under the premise of not opening laundry cover
It examines and whether has clothing in washing drum, or the clothing whether washes clean in observation washing drum.So that user carries in hand
Situation when thering is article to be inconvenient to open laundry cover in observation washing drum.
Optionally, after lighting the indicator light of power button, the human body detecting method further include:
If the operation to power button is not detected within a preset time, control unit control is located at the backlight below operation portion
Down circuitry extinguishes the indicator light of power button in operation portion.
In an implementation, with it is opposite above, open if being not received by user within a preset time backlight has been lighted
The operation of switch, enables control unit to control backlight circuit, extinguishes the indicator light below power button, so that the operation of washing machine
The appearance of no backlight is presented in portion again, maintains the integraty of washing machine appearance.
It is noted that the preset time of the present embodiment, representative value can be set to 3s, and the specific time can be according to actual use
Environment is adjusted, in order to washing machine control part be prevented to be constantly in the state for waiting instruction.
Optionally, if it is determined that described someone is close to washing machine, then the current operating status of washing machine is obtained, control unit is enabled
It is controlled according to backlight of the operating status to washing machine, comprising:
If washing machine is in operation or the state of pause, control unit control is located at the backlight circuit below operation portion,
So that the indicator light of power button is lighted, control that the indicator light of washing drum, the backlight indicator light of display screen is lighted in operation portion;
If washing machine is in the state of end of run, control unit control is located at the backlight circuit below operation portion, so that
The indicator light of power button is lighted, and controls that the indicator light of washing drum, the backlight indicator light of display screen extinguishes in operation portion;
If washing machine is in standby, control unit control is located at the backlight circuit below operation portion, so that power button
Indicator light light, control that the indicator light of washing drum, the backlight indicator light of display screen extinguishes in operation portion.
In an implementation, in an implementation, the state based on the washing machine divided in detail above indicates washing machine concrete position
The control mode of lamp is as follows:
The indicator light in washing machine is divided into power button indicator light first, display screen in washing drum indicator light and operation portion
Three kinds of backlight indicator light, it is as shown in table 1 for the control mode of three kinds of indicator lights.
Human body is towards the backlight control mode in washing machine under 1 open state of table
As can be seen from the table, it during human body is close to washing machine, only under end of run and standby mode, washes
The backlight indicator light of clothing cylinder indicator light and display screen carries out extinguishing processing, is the purpose for economize on electricity in this way, and it is whole to reduce washing machine
The power consumption of body.
Optionally, the human body detecting method further include:
If it is determined that nobody is close to washing machine,
If washing machine is in operation or the state of pause, control unit controls the finger of the indicator light of power button, washing drum
Show that lamp extinguishes, the backlight indicator light of display screen continues to light in operation portion;
If washing machine is in the state of end of run, the indicator light that control unit controls power button extinguishes, and controls washing drum
Indicator light, the backlight indicator light of display screen persistently extinguishes in operation portion;
If washing machine is in standby, control unit controls the indicator light of power button, the indicator light of washing drum, operation portion
The backlight indicator light of middle display screen extinguishes.
In an implementation, when washing machine is under open state, but during human body is far from washing machine, for this three kinds
The control mode of indicator light is as shown in table 2.
Timing node |
Power button indicator light |
Washing drum indicator light |
Backlight indicator light |
Pause |
○→× |
○→× |
○→○ |
In operation |
○→× |
○→× |
○→○ |
End of run |
○→× |
×→× |
×→× |
It is standby |
○→× |
×→× |
×→× |
Backlight control mode under 2 open state of table in human body principle washing machine
According to the content in table 2 it is found that after human body is far from washing machine, in addition to the backlight indicator light of display screen in operation portion
It lights outside the working condition to show current laundry machine, most backlight can all be extinguished, to realize preferably economize on electricity effect
Fruit.
In addition, zero representative is lighted in Tables 1 and 2, × represent and extinguish.
The present embodiment proposes the human body detecting method for washing machine, including operation portion obtains laundry machine testing model in real time
Enclose interior temperature value;The temperature value and preset threshold that will acquire compare, and determine whether someone close to laundry according to comparing result
Machine;If it is determined that someone close to washing machine, then obtains the current operating status of washing machine, enable control unit according to operating status to washing
The backlight of clothing machine is controlled.By being detected to human body, and the state current based on association washing machine, to washing
The backlight of clothing machine operation portion is adjusted, so that light the backlight of power button when human body is far from washing machine, in human body far from washing
When clothing machine, the indicator light lighted is extinguished, while playing power saving effect, is not also needed using other modes to operation portion
Region carries out function division, to keep the integraty of washing machine appearance.
Embodiment two
The step of detecting based on infrared sensor to human body is proposed in previous embodiment, is based on previous embodiment
Content, the present embodiment also proposed obtain washing machine detection range in temperature value update step, as shown in Fig. 2, described
Updating step includes:
Step 1 constructs initial temperature value T0, T1, obtains the real time temperature T of washing machine local environment;
Step 2 determines the difference DELTA T1 of environment real time temperature T Yu initial temperature value T1;
Step 3, if difference DELTA T1, which is greater than preset threshold Th1, shows have for human detection result function F assignment 1
For human body close to washing machine, the numerical value of initial temperature value T1 is updated to T, and the numerical value of T0 is constant.
Step 4 obtains the numerical value of human testing function F if difference DELTA T1 is less than or equal to preset threshold Th1;
Step 5, if numerical value is 1, it is determined that the difference DELTA T2 of environment real time temperature T and initial temperature value T0;
Step 6, if difference DELTA T2, which is less than preset threshold Th2, shows people for human detection result function F assignment 0
Body has left washing machine, and the numerical value of initial temperature value T1 is updated to T.
Step 7 shows nobody before washing machine if numerical value is not 1, and the numerical value of initial temperature value T0 is updated to T;
Step 8 shows that someone exists always before washing machine if difference DELTA T2 is greater than or equal to preset threshold Th2, will be first
The beginning numerical value of temperature value T1 is updated to T.
In an implementation, specific renewal process includes above-mentioned eight steps.
At no point in the update process, initial temperature value T0, T1 is set first, then obtains environment when collecting human temperature angle value
T is done subtraction with T0, T1 respectively by real time temperature T respectively, and obtained difference and preset two threshold values Th1, Th2 are carried out pair
Than determining a need for for the numerical value of human testing function F being modified according to comparing result.
In above process, preset threshold Th1, Th2 represents the meaning mobile, someone that is respectively someone towards washing machine far from washing
The two different meanings of clothing machine indicate someone in front of current laundry machine if difference is greater than Th1, need to be implemented in embodiment one
Backlight control step of the someone towards washing machine after mobile needs if difference is less than Th2 and shows that human body has left washing machine
Execute backlight control step of the people far from washing machine in embodiment one.
The present embodiment is by based on environment real time temperature when getting human temperature angle value, not to initial temperature value T0, T1
It is updated disconnectedly, is in order to which the human body in additional embodiments one determines as a result, being become according to the distance between human body and washing machine
Change situation accurately to control the backlight of washing machine.Under the premise of not being modified to washing machine appearance, maintains and wash
The integraty of clothing machine appearance, and the power savings of washing machine can also be promoted, reduce energy consumption.
Each serial number in above-described embodiment is for illustration only, the assembling for not representing each component or the elder generation in use process
Sequence afterwards.
The above description is only an embodiment of the present invention, is not intended to limit the invention, all in the spirit and principles in the present invention
Within, any modification, equivalent replacement, improvement and so on should all be included in the protection scope of the present invention.