The content of the invention
To solve the above problems, the technical problems to be solved by the invention are to propose a kind of control method of washing machine,
Equipped with the identifier F being stored in nonvolatile memory, judge whether last time program for washing is normal end by identifier
Only, and by cyclelog according to identifier select corresponding water quality parameter to control program for washing as calibration value, realize
Water quality judgement also can be normally carried out when being restarted after the improper suspension of program for washing, realizes intelligentized control method comprehensively, is reduced
Water power consumes, and saves the time.
Another object of the present invention is to propose a kind of washing machine using above-mentioned control method.
For this purpose, the technical scheme is that:
A kind of control method for washing machine, the washing machine have water quality sensor, cyclelog, and described program controller is set
There is first memory, the first memory uses nonvolatile memory, and water quality sensor is detected water quality and will pass
To cyclelog, the sensing data S is stored in the first memory by cyclelog to be become sensor data S transport
First memory data M, cyclelog are transported according to the first memory data M control washing machines stored in first memory
OK, wherein,
There is identifier F in the first memory or other nonvolatile memories, for identifying last time program for washing
Whether it is fair termination;
Cyclelog judges one of following operation of selection according to the content of the identifier F:Operation 1, read sensor
Data S simultaneously covers the first memory data M with the value of the sensing data S;Operation 2, maintain in first memory
First memory data M is constant.
Further, the first memory is used to storing that water quality sensor when program for washing starts to detect initial washes
The calibration water quality parameter of clothing water.
Further, described program controller also has at least one second memory, and cyclelog control water quality passes
Sensor to water quality carry out in real time detection and using sensing data S real-time storages at least one second memory as extremely
A few second memory data M2, cyclelog is by by least one second memory data M2 and first memory
First memory data M controls the operating of washing machine compared to relatively.
Further, cyclelog reads and judges whether the identifier F is equal to the first preset value F1,
It is the sensing data S for then receiving water quality sensor detection, and is deposited with the value covering first of the sensing data S
First memory data M in reservoir;
Otherwise maintain first memory data M constant.
Further, the operation to identifier F is as follows:The identifier F initial values are set to the first preset value F1;
Step 1A, when program for washing starts, cyclelog reads and judges whether the identifier F is pre- equal to first
If value F1, if F is equal to the first preset value F1, step 1B is gone to;If F is not equal to the first preset value F1, step 1C is gone to;
Step 1B, identifier F is set to the second preset value F2, then goes to step 1C;
Step 1C, judge whether program for washing terminates, be, identifier is reverted into the first preset value F1, otherwise continues institute
State program for washing.
Preferably, the identifier F initial values are set to the first preset value F1;Described program controller control washing machine press with
Lower step performs program for washing:
Step 2A, when program for washing starts, cyclelog reads and judges whether the identifier F is pre- equal to first
If value F1, if F is equal to the first preset value F1, step 2B is gone to;If F is not equal to the first preset value F1, step 2C is gone to;
Step 2B, cyclelog receives the sensing data S of water quality sensor detection, with the first storage of value covering of S
First memory data M in device, and identifier F is set to the second preset value F2, then go to step 2C;
Step 2C, cyclelog control washing machine performs program for washing, and in rinse stage by first memory data M
Rinsed as calibration water quality parameter and stop program, then go to step 2D;
Step 2D, judge whether program for washing terminates, be, identifier is reverted into the first preset value F1, otherwise continues institute
State program for washing.
Preferably, there is initial value using first memory data M as the identifier F, the first memory data
M1, described program controller control washing machine perform program for washing according to the following steps:
Step 3A, when program for washing starts, cyclelog read and judge the first memory data M whether etc.
In initial value M1, if M is equal to initial value M1, step 3B is gone to;If M is not equal to initial value M1, step 3C is gone to;
Step 3B, cyclelog receives the sensing data S of water quality sensor detection, with the first storage of value covering of S
First memory data M in device, then goes to step 3C;
Step 3C, cyclelog control washing machine performs program for washing, and in rinse stage by first memory data M
Rinsed as calibration water quality parameter and stop program, then go to step 3D;
Step 3D, judge whether program for washing terminates, it is then initial value M1 by first memory data recovery to be, otherwise after
Continue the program for washing.
Further, described rinse stops program and is:
Step 4A, the real-time water quality parameter S of water quality sensor detection current laundry water and by real-time water quality parameter S transport
To cyclelog;
Step 4B, cyclelog receives real-time water quality parameter S, and transmits it to second memory as the second storage
Device data M2;
Step 4C, cyclelog by first memory data M compared with second memory data M2, i.e. M2-M=
To rinse angle value, the angle value Ks that rinses is defaulted in cyclelog by K, Ks;If K>Ks, then continue to execute step 4B, and will
The real-time water quality parameter S transport received to second memory, which replaces M2, becomes second memory data M2 ';If K<Ks, then hold
Row step 4D;
Step 4D, cyclelog control washing machine terminates rinsing program, performs follow-up program for washing.
A kind of washing machine, for performing above-mentioned control method for washing machine.
Beneficial effects of the present invention are:A kind of control method for washing machine and washing machine of the present invention, it is non-easy equipped with being stored in
Whether the identifier F in the property lost memory, be fair termination for identifying last time program for washing, and by cyclelog according to mark
Know symbol and carry out the corresponding water quality parameter of control selections as calibration value progress program for washing, realize to clean comprehensively and stops, rinses and stop
Function, after the improper suspension of program for washing restarting or when reconfiguration procedure can also be normally carried out water quality judgement, realize intelligence
Change control, greatly reduce water power consumption, save the time.In addition, cyclelog is additionally provided with display module, user can
Monitor the washing situation of washing machine in real time.
Embodiment
Further illustrate technical scheme below with reference to the accompanying drawings and specific embodiments.
Preferred embodiment one:
Fig. 1 show the control method for washing machine flow chart of the offer of the preferred embodiment of the present invention one.
Washing machine has water quality sensor, cyclelog, and cyclelog is equipped with first memory, and first memory is
Nonvolatile memory, the calibration water quality of the initial wash water detected for storing water quality sensor when program for washing starts
Parameter, water quality sensor can be detected the wash water in washing machine and by the water quality parameter S transport measured to program
Water quality parameter S is stored in first memory as first memory data M and controls washing machine by controller, cyclelog
Whole laundry flow is carried out, is provided with identifier F on cyclelog, identifier F has the first preset value F1 i.e. 00 and second pre-
If value F2 i.e. 01, the initial value of identifier F is arranged to the first preset value F1 i.e. 00, judges last time program for washing by identifier
Whether it is fair termination, and is carried out by cyclelog according to identifier come the corresponding water quality parameter of control selections as calibration value
Program for washing.In the preferred embodiment, the first preset value F1 i.e. 00 is the identifier of last time program for washing fair termination;Second
Preset value F2 i.e. 01 is the identifier of last time program for washing non-normal termination.
In addition, cyclelog also has second memory, it is real that cyclelog controls water quality sensor to carry out water quality
When detect and sensing data S real-time storages are led in second memory as second memory data M2, cyclelog
Cross and second memory data M2 is relatively controlled into the operating of washing machine compared with the first memory data M of first memory.Journey
Sequence controller is additionally provided with display module, and user can monitor the washing situation of washing machine in real time.
Washing machine carries out laundry flow according to the following steps:
Step 2A, when program for washing starts, the value of cyclelog reading identifier F and judgement, if identifier F is the
One preset value F1 i.e. 00, then it represents that the washing machine last time program for washing is to be terminated after normally completing, cyclelog control operation
Step 2B;If identifier F is the second preset value F2 i.e. 01, then it represents that the washing machine last time program for washing is non-normal termination, journey
Sequence controller control operating procedure 2C;
Step 2B, cyclelog receives the water quality parameter S that water quality sensor detects, with the first storage of value covering of S
First memory data M in device, and identifier F is set to the second preset value F2 i.e. 01, then perform step 2C;
Step 2C, the first memory data M in cyclelog reading first memory, progress program for washing, and
Rinse stage, which is rinsed first memory data M as the clear water water quality parameter of calibration, stops program, then carries out step
2D。
Step 2D, judge whether program for washing terminates, if it is, identifier F is re-set as by cyclelog
One preset value F1 i.e. 00, if it is not, then continuing program for washing.
Wherein, the identifier F purposes for being set to the second preset value F2 i.e. 01 are in step 2B, are carrying out the mistake of step 2C
If there is the situation of non-normal termination in journey, then the second preset value F2 i.e. 01 is stored in cyclelog as identifier F,
When program for washing restarts, cyclelog reading identifier F, the data read are the second preset value F2, then judge
Last time program for washing is non-normal termination, and cyclelog control washing machine skips step 2B, and direct operating procedure 2C, is washed
Clothing program.
First memory data M in step 2C is the clear water water quality parameter of calibration, it, which is used as, judges whether clothing is cleaned
Standard value be stored in first memory, until cyclelog is covered the parameter during operation of next program for washing,
When occurring powering off when non-normal termination situation, the first memory data M being stored in first memory will not become
It is dynamic, ensure to use consistent calibration clear water water quality parameter all the time in once complete program for washing, it is ensured that clean and stop, rinse
Stop the precision of function.
Rinsed in step 2C and stop program step and be:
Step 4A, the real-time water quality parameter S of water quality sensor detection current laundry water and by real-time water quality parameter S transport
To cyclelog;
Step 4B, cyclelog receives real-time water quality parameter S, and transmits it to second memory as the second storage
Device data M2;
Step 4C, cyclelog by first memory data M compared with second memory data M2, i.e. M2-M=
To rinse angle value, the angle value Ks that rinses is defaulted in cyclelog by K, Ks;If K>Ks, then continue to execute step 4B, and will
The real-time water quality parameter S transport received to second memory, which replaces M2, becomes second memory data M2 ';If K<Ks, then hold
Row step 4D;
Step 4D, cyclelog control washing machine terminates rinsing program, performs follow-up program for washing.
Control method in this way, by setting an identifier F to judge whether last time program for washing is fair termination,
And program for washing is carried out as calibration value come the corresponding water quality parameter of control selections according to identifier by cyclelog, it is stored in
First memory data M in first memory is as the clear water water quality parameter demarcated, it is necessary to be carried out by cyclelog special
The clear operation of door, otherwise will retain always, even if its storage will not be influenced by abort or reconfiguration procedure situation occur
Data, ensure to use consistent calibration clear water water quality parameter all the time in once complete program for washing, ensure that water quality judges work(
Energy is normally carried out, and is realized to clean comprehensively and is stopped, rinses and stop function, realizes intelligentized control method, is greatly reduced water power and is consumed,
Save the time.
Preferred embodiment two:
Washing machine structure in this preferred embodiment is identical with preferred embodiment one, will be in first memory with the presence or absence of the
One memory data M is to judge last time program for washing with the presence or absence of data in first memory as identifier, by judging
No is fair termination, and is carried out by cyclelog according to judgement result come the corresponding water quality parameter of control selections as calibration value
Program for washing.In this preferred embodiment, there are data in first memory, represent that last time program for washing is non-normal termination;The
Data are not present in one memory, then it represents that last time program for washing is fair termination.
Washing machine carries out program for washing according to the following steps:
Step 3A, when program for washing starts, cyclelog reads the first memory data M in first memory,
If no data in first memory, represent that last time program for washing is fair termination, then go to step 3B;If deposited in first memory
Data are contained, represents that last time program for washing is non-normal termination, then goes to step 3C;
Step 3B, cyclelog receives the sensing data S of water quality sensor detection, with the first storage of value covering of S
First memory data M in device, then goes to step C;
Step 3C, cyclelog reads the first memory data M in first memory, and performs program for washing, and
First memory data M is rinsed as the clear water water quality parameter of calibration in rinse stage and stops program, then goes to step
Rapid 3D;
Step 3D, judge whether program for washing terminates, be, first in first memory is deposited in cyclelog control
Memory data M is removed, and otherwise continues program for washing.
It is identical with preferred embodiment one that rinsing in step 3C stops program.
In step 3D, after program for washing, cyclelog removes first memory data M, represents this laundry
Program is fair termination, ensures that cyclelog can carry out washing machine operation conditions correct when next program for washing starts
Judge and run corresponding program for washing.
First memory data M will directly be whether there is in the control method for washing machine in first memory as in judgement
Secondary program for washing whether be fair termination identifier, cyclelog judges washing machine status by identifier, goes forward side by side
The corresponding program for washing of row, clear water water quality parameters of the first memory data M as calibration being stored in first memory, needs
Special clear operation is carried out by cyclelog, otherwise will be retained always, even if there is abort or reconfiguration procedure
Situation will not influence the data of its storage, ensure to use consistent calibration clear water water all the time in once complete program for washing
Matter parameter, it is ensured that clean and stop, rinse the precision for stopping function.
Identifier F is separately provided compared to preferred embodiment one, this preferred embodiment intermediate range sequence controller only needs to judge
In first memory with the presence or absence of first memory data M can complete last time program for washing whether be fair termination judgement,
Program is simpler feasible.
Preferred embodiment three:
Washing machine structure in this preferred embodiment is identical with preferred embodiment one, the first memory in first memory
For data M as identifier, M is provided with initial value M1 i.e. 1111, is to judge last time program for washing by first memory data M
No is fair termination, and is used as mark according to first memory data M come the corresponding water quality parameter of control selections by cyclelog
Definite value carries out program for washing.In this preferred embodiment, the first memory data M values in first memory are not equal to 1111, table
It is non-normal termination to show last time program for washing, and storage data M values are equal to 1111, then it represents that last time program for washing is fair termination.
Washing machine carries out program for washing according to the following steps:
Step 3A ', when program for washing starts, cyclelog reads and whether judges the first memory data M
Equal to initial value M1 i.e. 1111, if M is equal to 1111, represents that last time program for washing is fair termination, then go to step 3B ';If M is not
Equal to 1111, represent that last time program for washing is non-normal termination, then go to step 3C ';
Step 3B ', cyclelog receive the sensing data S of water quality sensor detection, with the first storage of value covering of S
First memory data M in device, then goes to step 3C ';
Step 3C ', cyclelog read the first memory data M in first memory, and perform program for washing, and
First memory data M is rinsed as the clear water water quality parameter of calibration in rinse stage and stops program, then goes to step
Rapid 3D ';
Step 3D ', judge whether program for washing terminates, and is, is for initial value M1 by first memory data recovery
1111, otherwise continue laundry operations.
It is identical with preferred embodiment one that rinsing in step 3C ' stops program.
In step 3D ', after program for washing, first memory data M is reverted to initial value M1 i.e. by cyclelog
1111, it is fair termination to represent this program for washing, ensures that cyclelog can be to washing machine when next program for washing starts
Operation conditions judges soundly and runs corresponding program for washing.
Using first memory data M as judging whether washing machine last time program for washing is just in the control method for washing machine
The identifier often terminated, by judging whether first memory data M is initial value M1 i.e. 1111(Or 0000 grade other numerical value
), judge whether last time program for washing is fair termination, compared to the judgement first memory data in preferred embodiment two
M whether there is, this preferred embodiment is more accurate, avoid maloperation, signal erroneous judgement situations such as it is whether normal to program for washing
The influence of stop technology.
Above in association with the specific embodiment technical principle that the invention has been described.These descriptions are intended merely to explain the present invention's
Principle, and limiting the scope of the invention cannot be construed in any way.Based on explanation herein, the technology of this area
Personnel would not require any inventive effort the other embodiments that can associate the present invention, these modes are fallen within
Within protection scope of the present invention.