CN109281134A - A kind of method for controlling water level, device, storage medium and washing machine - Google Patents
A kind of method for controlling water level, device, storage medium and washing machine Download PDFInfo
- Publication number
- CN109281134A CN109281134A CN201811334288.0A CN201811334288A CN109281134A CN 109281134 A CN109281134 A CN 109281134A CN 201811334288 A CN201811334288 A CN 201811334288A CN 109281134 A CN109281134 A CN 109281134A
- Authority
- CN
- China
- Prior art keywords
- fuzzy
- input
- water level
- output
- membership
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- D—TEXTILES; PAPER
- D06—TREATMENT OF TEXTILES OR THE LIKE; LAUNDERING; FLEXIBLE MATERIALS NOT OTHERWISE PROVIDED FOR
- D06F—LAUNDERING, DRYING, IRONING, PRESSING OR FOLDING TEXTILE ARTICLES
- D06F39/00—Details of washing machines not specific to a single type of machines covered by groups D06F9/00 - D06F27/00
- D06F39/08—Liquid supply or discharge arrangements
- D06F39/087—Water level measuring or regulating devices
-
- D—TEXTILES; PAPER
- D06—TREATMENT OF TEXTILES OR THE LIKE; LAUNDERING; FLEXIBLE MATERIALS NOT OTHERWISE PROVIDED FOR
- D06F—LAUNDERING, DRYING, IRONING, PRESSING OR FOLDING TEXTILE ARTICLES
- D06F33/00—Control of operations performed in washing machines or washer-dryers
-
- D—TEXTILES; PAPER
- D06—TREATMENT OF TEXTILES OR THE LIKE; LAUNDERING; FLEXIBLE MATERIALS NOT OTHERWISE PROVIDED FOR
- D06F—LAUNDERING, DRYING, IRONING, PRESSING OR FOLDING TEXTILE ARTICLES
- D06F34/00—Details of control systems for washing machines, washer-dryers or laundry dryers
- D06F34/28—Arrangements for program selection, e.g. control panels therefor; Arrangements for indicating program parameters, e.g. the selected program or its progress
-
- D06F2202/085—
-
- D06F2204/086—
Landscapes
- Engineering & Computer Science (AREA)
- Textile Engineering (AREA)
- Control Of Washing Machine And Dryer (AREA)
- Detail Structures Of Washing Machines And Dryers (AREA)
Abstract
The invention discloses a kind of method for controlling water level, device, storage medium and washing machines, this method comprises: obtaining the actual water level of washing machine to be controlled and current level difference and the actual water level current level change rate within the set duration of target water level;According to setting water level difference, setting SEA LEVEL VARIATION rate and the fuzzy control relation between flooding time is set, determines in the fuzzy control relation and the identical water level difference and the corresponding flooding time that sets of SEA LEVEL VARIATION rate that sets identical with the current level change rate of setting of the current level difference is the current flooding time of the inlet valve of washing machine to be controlled.The solution of the present invention, switching inlet valve repeatedly according to actual water level during can solve the water level for adjusting washing machine has component easy to damage, achievees the effect that be hardly damaged component.
Description
Technical field
The invention belongs to washing machine technology fields, and in particular to a kind of method for controlling water level, device, storage medium and laundry
Machine more particularly to a kind of water level of washing machine adjusting method, device, storage medium and washing machine based on FUZZY ALGORITHMS FOR CONTROL.
Background technique
The water level for adjusting washing machine is mainly to work as reality by the difference for judging actual water level and target water level come what is carried out
Water level can stop intaking after reaching target water level.But the clothing water absorption of unlike material is different, practical water after clothing water suction
Position can be declined.Most of washing machine can be again turned on water intake valve after actual water level decline, to meet mesh again
Mark water level.And clothing water suction be a slow process, especially in the case where clothing is more, need in this way switch repeatedly into
Water valve can just be fully finished the process of moisturizing after clothing water suction reaches saturation state.Switch so repeatedly can not only make into
Water valve and the component for controlling inlet valve are easily damaged, and can shorten the service life of corresponding device.
Summary of the invention
It is an object of the present invention in view of the foregoing drawbacks, a kind of method for controlling water level, device, storage medium are provided and washed
Clothing machine is switched inlet valve according to actual water level during being adjusted the water level of washing machine in the prior art with solution repeatedly and existed easily
The problem of damaging component, achievees the effect that be hardly damaged component.
The present invention provides a kind of method for controlling water level, comprising: obtains the actual water level and target water level of washing machine to be controlled
The current level change rate of current level difference and the actual water level within the set duration;According to setting water level difference, set
Determine SEA LEVEL VARIATION rate and set the fuzzy control relation between flooding time, determine in the fuzzy control relation with it is described current
The identical setting water level difference of water level difference and setting SEA LEVEL VARIATION rate identical with the current level change rate are corresponding
Flooding time is set as the current flooding time of the inlet valve of washing machine to be controlled.
Optionally, further includes: the switch of the inlet valve of washing machine to be controlled is controlled by the current flooding time, realization is treated
Control the water level control of washing machine;And/or it establishes between setting water level difference, setting SEA LEVEL VARIATION rate and setting flooding time
Fuzzy control relation.
Optionally, setting water level difference, setting SEA LEVEL VARIATION rate and the fuzzy control set between flooding time is established to close
System, comprising: with the water level difference of the actual water level of washing machine to be controlled and target water level be the first input quantity, the actual water level
SEA LEVEL VARIATION rate is that the flooding time of the inlet valve of the second input quantity and washing machine to be controlled is output quantity, defeated to described first
Enter amount, second input quantity and the output quantity and carry out Fuzzy processing respectively, obtains the first input fuzzy quantity, the second input
The output fuzzy quantity of fuzzy quantity sum;To the first input fuzzy quantity, the second input fuzzy quantity and the output fuzzy quantity
Quantification treatment is carried out respectively, obtains the first degree of membership, the second degree of membership and output degree of membership;Establish with first degree of membership and
Second degree of membership is as input, the degree of membership relationship that the output degree of membership is output, as the fuzzy control relation.
Optionally, Fuzzy processing is carried out respectively to first input quantity, second input quantity and the output quantity,
Include: by water level height, is the 1st to the input fuzzy quantity of n-th first by the first input quantity Fuzzy processing, N is nature
Number;And/or by SEA LEVEL VARIATION speed, the second input quantity Fuzzy processing is inputted into fuzzy quantity for the 1st to m-th second,
M is natural number;And/or by water inlet length of time, the output quantity Fuzzy processing is exported into fuzzy quantity, L for the 1st to l-th
For natural number.
Optionally, to it is described first input fuzzy quantity, it is described second input fuzzy quantity and the output fuzzy quantity respectively into
Row quantification treatment, comprising: draw the first input fuzzy quantity, the second input fuzzy quantity and the output fuzzy quantity respectively
It is divided into the 1st to P quantification gradation, P is natural number;The first input fuzzy quantity, institute under each quantification gradation are determined respectively
State the degree of membership of the second input fuzzy quantity and the output fuzzy quantity.
Optionally, the first input fuzzy quantity, the second input fuzzy quantity under each quantification gradation are determined respectively
With the degree of membership of the output fuzzy quantity, comprising: respectively by the first input fuzzy quantity, described under each quantification gradation
Second input fuzzy quantity and the output fuzzy quantity are determined as the membership function in setting quantization interval range;Respectively according to each
The membership function under a quantification gradation determines the first input fuzzy quantity, the second input fuzzy quantity and the output
The degree of membership of fuzzy quantity;Wherein, the membership function, comprising: triangular function, Gaussian bases, any letter in trapezoidal function
Number.
Match with the above method, another aspect of the present invention provides a kind of water-level control apparatus, comprising: acquiring unit is used
In the current level difference for the actual water level and target water level for obtaining washing machine to be controlled and the actual water level in setting duration
Interior current level change rate;Control unit, for according to setting water level difference, setting SEA LEVEL VARIATION rate and setting flooding time
Between fuzzy control relation, determine setting water-head identical with the current level difference in the fuzzy control relation
Value and the corresponding flooding time that sets of SEA LEVEL VARIATION rate that sets identical with the current level change rate is washing machines to be controlled
Inlet valve current flooding time.
Optionally, further includes: described control unit, be also used to control by the current flooding time washing machine to be controlled into
The switch of water valve realizes the water level control to washing machine to be controlled;And/or described control unit, it is also used to establish setting water-head
Fuzzy control relation between value, setting SEA LEVEL VARIATION rate and setting flooding time.
Optionally, described control unit is established between setting water level difference, setting SEA LEVEL VARIATION rate and setting flooding time
Fuzzy control relation, comprising: with the water level difference of the actual water level of washing machine to be controlled and target water level be the first input quantity, institute
It is output quantity that the SEA LEVEL VARIATION rate for stating actual water level, which is the flooding time of inlet valve of the second input quantity and washing machine to be controlled,
Fuzzy processing is carried out to first input quantity, second input quantity and the output quantity respectively, obtains the first input mould
The output fuzzy quantity of paste amount, the second input fuzzy quantity sum;To the first input fuzzy quantity, the second input fuzzy quantity and institute
It states output fuzzy quantity and carries out quantification treatment respectively, obtain the first degree of membership, the second degree of membership and output degree of membership;It establishes with described
First degree of membership and second degree of membership are as input, the degree of membership relationship that the output degree of membership is output, as described
Fuzzy control relation.
Optionally, described control unit to first input quantity, second input quantity and the output quantity respectively into
Row Fuzzy processing, comprising: by water level height, the first input quantity Fuzzy processing is inputted into mould for the 1st to n-th first
Paste amount, N are natural number;It is the 1st to m-th the by the second input quantity Fuzzy processing and/or by SEA LEVEL VARIATION speed
Two input fuzzy quantities, M is natural number;It and/or is the 1st to L by the output quantity Fuzzy processing by water inlet length of time
A output fuzzy quantity, L are natural number.
Optionally, described control unit is to the first input fuzzy quantity, the second input fuzzy quantity and the output
Fuzzy quantity carries out quantification treatment respectively, comprising: by the first input fuzzy quantity, the second input fuzzy quantity and the output
Fuzzy quantity is respectively divided into the 1st to P quantification gradation, and P is natural number;Determine under each quantification gradation that described first is defeated respectively
Enter the degree of membership of fuzzy quantity, the second input fuzzy quantity and the output fuzzy quantity.
Optionally, described control unit determines the first input fuzzy quantity, described the under each quantification gradation respectively
The degree of membership of two input fuzzy quantities and the output fuzzy quantity, comprising: respectively that described first under each quantification gradation is defeated
Enter fuzzy quantity, the second input fuzzy quantity and the output fuzzy quantity to be determined as being subordinate to letter in setting quantization interval range
Number;The first input fuzzy quantity, second input are determined according to the membership function under each quantification gradation respectively
The degree of membership of fuzzy quantity and the output fuzzy quantity;Wherein, the membership function, comprising: triangular function, Gaussian bases,
Any function in trapezoidal function.
Match with above-mentioned apparatus, further aspect of the present invention provides a kind of washing machine, comprising: above-described water level control
Device.
Match with the above method, further aspect of the present invention provides a kind of storage medium, comprising: deposited in the storage medium
Contain a plurality of instruction;The a plurality of instruction, for being loaded by processor and executing above-described method for controlling water level.
Match with the above method, further aspect of the present invention provides a kind of washing machine, comprising: processor is more for executing
Item instruction;Memory, for storing a plurality of instruction;Wherein, a plurality of instruction, for being stored by the memory, and by institute
Processor is stated to load and execute above-described method for controlling water level.
The solution of the present invention can greatly reduce the switch of inlet valve by adjusting water level of washing machine using fuzzy algorithmic approach
Number extends device service life to reduce the probability of device failure.
Further, the solution of the present invention, the water level by adjusting washing machine are not only to judge actual water level and target water level
Difference can optimize water level regulation mode while using the variation speed of actual water level as Rule of judgment, effectively reduce into
The on-off times of water valve play protective effect to inlet valve and its control device.
Further, the solution of the present invention, by the rate of climb of actual water level during water inlet according to clothing it is how many and
Clothing material has apparent difference, can be effective by difference and change rate two Fuzzy tunings because usually carrying out water level
Frequently switching on for inlet valve is prevented, the probability of device failure is reduced, extends device service life.
Further, inlet valve can be effectively prevented by adjusting water level of washing machine using fuzzy algorithmic approach in the solution of the present invention
Frequently switch on, reduce the probability of device failure, extend device service life.
Further, the solution of the present invention, the water level by adjusting washing machine are not only to judge actual water level and target water level
Difference frequently switching on for inlet valve can be effectively prevented, subtract while using the variation speed of actual water level as Rule of judgment
The probability of gadget damage, reduces maintenance cost.
The solution of the present invention as a result, by according to the difference of actual water level and target water level and the variation of actual water level
Rate, using fuzzy algorithmic approach adjust water level of washing machine, solve in the prior art adjust washing machine water level during according to reality
Water level switchs inlet valve repeatedly has component easy to damage, thus, overcome component easy to damage, reduction in the prior art
Component service life and the defect for increasing maintenance cost, realization, which is hardly damaged component and is conducive to extend component, to be made
With the beneficial effect in service life and reduction maintenance cost.
Other features and advantages of the present invention will be illustrated in the following description, also, partly becomes from specification
It obtains it is clear that understand through the implementation of the invention.
Below by drawings and examples, technical scheme of the present invention will be described in further detail.
Detailed description of the invention
Fig. 1 is the flow diagram of an embodiment of method for controlling water level of the invention;
Fig. 2 is to be established between setting water level difference, setting SEA LEVEL VARIATION rate and setting flooding time in method of the invention
Fuzzy control relation an embodiment flow diagram;
Fig. 3 is in method of the invention to the first input fuzzy quantity, the second input fuzzy quantity and the output
Fuzzy quantity carries out the flow diagram of an embodiment of quantification treatment respectively;
Fig. 4 is to determine the first input fuzzy quantity, described the under each quantification gradation in method of the invention respectively
The flow diagram of one embodiment of the degree of membership of two input fuzzy quantities and the output fuzzy quantity;
Fig. 5 is the structural schematic diagram of an embodiment of water-level control apparatus of the invention.
In conjunction with attached drawing, appended drawing reference is as follows in the embodiment of the present invention:
102- acquiring unit;104- control unit.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with the specific embodiment of the invention and
Technical solution of the present invention is clearly and completely described in corresponding attached drawing.Obviously, described embodiment is only the present invention one
Section Example, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not doing
Every other embodiment obtained under the premise of creative work out, shall fall within the protection scope of the present invention.
According to an embodiment of the invention, providing a kind of method for controlling water level, the one of method of the invention is real as shown in Figure 1
Apply the flow diagram of example.The method for controlling water level may include: step S110 and step S120.
At step S110, the actual water level and the current level difference of target water level, Yi Jisuo of washing machine to be controlled are obtained
State the current level change rate of actual water level within the set duration.
At step S120, according to setting water level difference, setting SEA LEVEL VARIATION rate and set fuzzy between flooding time
Control planning, determine in the fuzzy control relation setting water level difference identical with the current level difference and with institute
The identical corresponding flooding time that sets of SEA LEVEL VARIATION rate that sets of current level change rate is stated as the inlet valve of washing machine to be controlled
Current flooding time, to control the water level of the washing machine to be controlled by the current flooding time.
Such as: the method for adjusting water level of washing machine using fuzzy algorithmic approach can greatly reduce the on-off times of inlet valve, from
And reduce the probability of device failure, extend device service life, while also can optimal control logic.This optimization water level regulation
Mode, effectively reduces the on-off times of inlet valve, plays protective effect to inlet valve and its control device.Such as: adjusting laundry
The water level of machine is not only to judge the difference of actual water level and target water level, while using the variation speed of actual water level as judgement
Condition;The rate of climb of actual water level is how many according to clothing during water inlet and clothing material has apparent difference, passes through
Difference and change rate two Fuzzy tunings because usually carrying out water level, can be effectively prevented frequently switching on for inlet valve, make into water
Control logic more optimizes.
Such as: in software realization, by known input quantity, inquiring fuzzy control table can be obtained the specific of output variable
Value, to realize the fuzzy control of output quantity.Such as: if it is known that the quantification gradation of current input variable, passes through inquiry table 5
The quantification gradation of output variable is obtained, to obtain the occurrence of output quantity.Assuming that the range of water level difference is [0,42.85],
The range of SEA LEVEL VARIATION rate be [0.05,1.00], flooding time range be [0,20], when water level difference be 20.55, SEA LEVEL VARIATION
When rate is 0.5, flooding time occurrence calculates as follows:
It is occurrence according to formula y=(n/ (b-a)) x, x, y is grade, for water level difference, b=42.85, a=0,
N=6, then water level difference grade=(6/ (42.85-0)) * 20.55=2.8, the water level difference that rounds up are grade 3;To water level
For change rate, b=1.00, a=0.05, n=6, then SEA LEVEL VARIATION rate grade=(6/ (1.00-0.05)) * 0.5=3.16,
The SEA LEVEL VARIATION that rounds up rate is grade 3;Inquiry table 5, flooding time grade are 3, for flooding time, b=20, a=0, n
=6, then flooding time=3/ (6/ (20-0))=10.
Existed as a result, by the actual water level of acquisition washing machine and the current level difference and actual water level of target water level
The SEA LEVEL VARIATION rate in duration is set, the fuzzy control relation based on setting determines the flooding time of the inlet valve of washing machine, real
Now to the control of water level of washing machine, frequently switching on for inlet valve can be prevented, reduces the spoilage of component.
In an optional embodiment, control situation can also be comprised at least one of the following.
The first control situation: the setting water identical with the current level difference in determining the fuzzy control relation
Potential difference value and identical with the current level change rate set that SEA LEVEL VARIATION rate is corresponding to be set flooding time and wash to be to be controlled
Before the current flooding time of the inlet valve of clothing machine, opening for the inlet valve of washing machine to be controlled is controlled by the current flooding time
It closes, realizes the water level control to washing machine to be controlled.
The switch of inlet valve is controlled by the current flooding time by the inlet valve obtained based on Fuzzy Calculation as a result, it is real
Now to the water level control of washing machine, the convenience and accuracy of water level control are improved, also reduces water level control to component
The proportion of goods damageds.
Second of control situation: the setting water identical with the current level difference in determining the fuzzy control relation
Potential difference value and identical with the current level change rate set that SEA LEVEL VARIATION rate is corresponding to be set flooding time and wash to be to be controlled
Before the current flooding time of the inlet valve of clothing machine, setting water level difference, setting SEA LEVEL VARIATION rate and setting flooding time are established
Between fuzzy control relation.
As a result, by establishing setting water level difference, setting SEA LEVEL VARIATION rate and setting the fuzzy control between flooding time
Relationship can be conducive in order to be determined the current flooding time of inlet valve based on water level difference at that time and current level change rate
Promote the high efficiency determined to current flooding time and accuracy.
It is alternatively possible to as shown in connection with fig. 2 in method of the invention establish setting water level difference, setting SEA LEVEL VARIATION rate with
An embodiment flow diagram of the fuzzy control relation between flooding time is set, further illustrates and establishes setting water-head
Value, setting SEA LEVEL VARIATION rate and the detailed process for setting the fuzzy control relation between flooding time, may include: step S210
To step S230.
Step S210, with the water level difference of the actual water level of washing machine to be controlled and target water level for the first input quantity, described
The SEA LEVEL VARIATION rate of actual water level is that the flooding time of the inlet valve of the second input quantity and washing machine to be controlled is output quantity, right
First input quantity, second input quantity and the output quantity carry out Fuzzy processing respectively, obtain first input
The first input fuzzy quantity, the output fuzzy quantity of the second input fuzzy quantity and the output quantity of second input quantity of amount.Example
Such as: determining the first input quantity, the second input quantity and output quantity.First input quantity may include: the reality of washing machine to be controlled
The difference of water level and target water level.Second input quantity may include: the SEA LEVEL VARIATION rate of actual water level.The output quantity,
It may include: the flooding time of the inlet valve of washing machine to be controlled.
Such as: input quantity is set as two, this two may include: actual water level and setting water level difference and
The SEA LEVEL VARIATION rate of actual water level.Output quantity is the flooding time of inlet valve.
More optionally, in step S210 to first input quantity, second input quantity and the output quantity respectively into
Row Fuzzy processing may include following at least one blurring situation.
The first blurring situation: being the 1st to n-th the by the first input quantity Fuzzy processing by water level height
One input fuzzy quantity, N is natural number.
Second of blurring situation: pressing SEA LEVEL VARIATION speed, is the 1st to M by the second input quantity Fuzzy processing
A second input fuzzy quantity, M is natural number.
The third blurring situation: being the 1st defeated to l-th by the output quantity Fuzzy processing by water inlet length of time
Fuzzy quantity out, L are natural number.
Such as: three variables are subjected to blurring definition, water level difference is defined as three fuzzy quantities, i.e., it is small, in, it is big;Water
Position change rate is defined as five fuzzy quantities, i.e., fastly, comparatively fast, it is moderate, more slowly and slowly;Flooding time is defined as five fuzzy quantities, i.e.,
It is short, shorter, in, it is longer with it is long.
As a result, by by different degree that the Fuzzy processings such as input quantity, output quantity are fuzzy in various degree multiple
Amount realizes the Fuzzy processing to input quantity, output quantity etc., and processing mode is easy, processing result is reliable.
Step S220 distinguishes the first input fuzzy quantity, the second input fuzzy quantity and the output fuzzy quantity
Quantification treatment is carried out, the first degree of membership of first input quantity, the second degree of membership of second input quantity and described are obtained
The output degree of membership of output quantity.
Such as: fuzzy quantity is quantified.
More it is alternatively possible to as shown in connection with fig. 3 to the first input fuzzy quantity, described second defeated in method of the invention
Enter fuzzy quantity and the output fuzzy quantity carries out an embodiment flow diagram of quantification treatment respectively, further illustrates step
Quantification treatment is carried out respectively to the first input fuzzy quantity, the second input fuzzy quantity and the output fuzzy quantity in S220
Detailed process, may include: step S310 and step S320.
Step S310 distinguishes the first input fuzzy quantity, the second input fuzzy quantity and the output fuzzy quantity
The 1st is divided into P quantification gradation, P is natural number.
Step S320 determines that the first input fuzzy quantity, second input are fuzzy under each quantification gradation respectively
The degree of membership of amount and the output fuzzy quantity.
Such as: quantification gradation can be divided into 7 grades, respectively 0 to 6, while determining and being obscured under each quantification gradation
The degree of membership of amount.
Such as: fuzzy quantity is quantified, should be that continuous input and output duration set is defined as finite integer here
Discrete domain, facilitate below generate fuzzy control table.Such as: the difference of actual water level and setting water level is the collection of [0,42.85]
Close, be classified as [0,6.12], (6.12,12.24], (12.24,18.36], (18.36,24.48], (24.48,30.60],
(30.60,36.72], (36.72,42.84], each collection is then shared into an integer representation, and be an equidistant ordered series of numbers.Table 1
Degree of membership of the fuzzy quantity in each section is illustrated to table 3.
As a result, by the way that each fuzzy quantity is respectively divided into multiple grades, and determine the person in servitude of each fuzzy quantity under each grade
Category degree, to realize the quantification treatment to each fuzzy quantity, processing mode is easy and processing result is reliable.
Further it is alternatively possible to be determined under each quantification gradation respectively in method of the invention as shown in connection with fig. 4
One embodiment process of the degree of membership of the first input fuzzy quantity, the second input fuzzy quantity and the output fuzzy quantity is shown
It is intended to, further illustrates and determine the first input fuzzy quantity, described second under each quantification gradation in step S320 respectively
The detailed process for inputting the degree of membership of fuzzy quantity and the output fuzzy quantity, may include: step S410 and step S420.
Step S410 is fuzzy by the first input fuzzy quantity under each quantification gradation, second input respectively
Amount and the output fuzzy quantity are determined as the membership function in setting quantization interval range.
Step S420 determines that first input is fuzzy according to the membership function under each quantification gradation respectively
The degree of membership of amount, the second input fuzzy quantity and the output fuzzy quantity.
Such as: degree of membership is obtained according to membership function, and membership function is defined as the primary linear side of a binary
Journey, each quantized interval are respectively a linear equation y=(1/ (b-a)) * (x-a), a, b quantized interval range thus, by
This obtains the degree of membership of corresponding grade under each fuzzy quantity, such as table 1, table 2 and table 3.
Table 1: the difference degree of membership of actual water level and target water level
Table 2: SEA LEVEL VARIATION rate degree of membership
Table 3: flooding time degree of membership
Wherein, the membership function may include: triangular function, Gaussian bases, any function in trapezoidal function.
Such as: degree of membership is obtained according to membership function, and membership function is also possible to multiplicity.Wherein, here
Membership function is a linear equation in two unknowns, and by all corresponding upper equation of each fuzzy quantity, drawing can be seen that it is triangular function;Mould
Also there are other membership functions, such as normal distribution type (Gaussian bases), trapezoidal function etc. in paste control.
Person in servitude by being respectively determined as each fuzzy quantity under each quantification gradation in setting quantization interval range as a result,
Membership fuction, and then determine according to the membership function under each quantification gradation the degree of membership of each fuzzy quantity, method of determination it is easy and
Definitive result is accurate.
Step S230, establish using first degree of membership and second degree of membership as input, the output degree of membership
For the degree of membership relationship of output, as the fuzzy control relation.
Such as: fuzzy reasoning table is obtained according to control experience, primarily to being optimal output response, such as table
4.Such as: when water level difference very little and when SEA LEVEL VARIATION rate is quickly, flooding time is just very short;When water level difference is very big and SEA LEVEL VARIATION
Rate quickly when, flooding time is at intermediate state;When water level difference is very big and SEA LEVEL VARIATION rate is slower, flooding time is just needed
It is very long.But an only fuzzy quantity for fuzzy reasoning table output, could realize control in software after being quantified.
Table 4: fuzzy flooding time control rule
Table 5 gives the output level after quantization.The table be according to table 1 into table 2 water level difference and SEA LEVEL VARIATION rate
What degree of membership obtained.Such as: water level difference quantification gradation is 2, and the quantification gradation of SEA LEVEL VARIATION rate is 3, according to weighting method (2*
0.5+3*1.0)/(0.5+1.0)=2.67 determines that the quantification gradation of output quantity is 3 in conjunction with the control rule in table 4.Thus
Method obtains other grades of 5 flooding time of table.
Table 5: fuzzy control table
Pass through as a result, and makees respectively using water level difference and SEA LEVEL VARIATION rate as input quantity and by the flooding time of inlet valve
Fuzzy Processing and quantification treatment are carried out for output quantity, respectively obtains the degree of membership of input quantity and output quantity, and then establish input quantity
Degree of membership relationship between output quantity, as required fuzzy control relation, it is reliable to establish mode, establishes gained fuzzy control
Relationship is accurate.
Through a large amount of verification experimental verification, using the technical solution of the present embodiment, by adjusting washing machine water using fuzzy algorithmic approach
Position, can greatly reduce the on-off times of inlet valve, to reduce the probability of device failure, extend device service life.
According to an embodiment of the invention, additionally providing a kind of water-level control apparatus corresponding to method for controlling water level.Referring to
The structural schematic diagram of one embodiment of the device of the invention shown in Fig. 5.The water-level control apparatus may include: acquiring unit 102
With control unit 104.
In an optional example, acquiring unit 102 can be used for obtaining the actual water level and target water of washing machine to be controlled
The current level change rate of the current level difference and the actual water level of position within the set duration.The acquiring unit 102
Concrete function and processing are referring to step S110.
In an optional example, control unit 104 can be used for according to setting water level difference, setting SEA LEVEL VARIATION rate
Fuzzy control relation between setting flooding time, determines identical as the current level difference in the fuzzy control relation
Setting water level difference and the corresponding setting flooding time of setting SEA LEVEL VARIATION rate identical with the current level change rate
For the current flooding time of the inlet valve of washing machine to be controlled, to control the water of the washing machine to be controlled by the current flooding time
Position.The concrete function of the control unit 104 and processing are referring to step S120.
Such as: the method for adjusting water level of washing machine using fuzzy algorithmic approach can greatly reduce the on-off times of inlet valve, from
And reduce the probability of device failure, extend device service life, while also can optimal control logic.This optimization water level regulation
Mode, effectively reduces the on-off times of inlet valve, plays protective effect to inlet valve and its control device.Such as: adjusting laundry
The water level of machine is not only to judge the difference of actual water level and target water level, while using the variation speed of actual water level as judgement
Condition;The rate of climb of actual water level is how many according to clothing during water inlet and clothing material has apparent difference, passes through
Difference and change rate two Fuzzy tunings because usually carrying out water level, can be effectively prevented frequently switching on for inlet valve, make into water
Control logic more optimizes.
Such as: in software realization, by known input quantity, inquiring fuzzy control table can be obtained the specific of output variable
Value, to realize the fuzzy control of output quantity.Such as: if it is known that the quantification gradation of current input variable, passes through inquiry table 5
The quantification gradation of output variable is obtained, to obtain the occurrence of output quantity.Assuming that the range of water level difference is [0,42.85],
The range of SEA LEVEL VARIATION rate be [0.05,1.00], flooding time range be [0,20], when water level difference be 20.55, SEA LEVEL VARIATION
When rate is 0.5, flooding time occurrence calculates as follows:
It is occurrence according to formula y=(n/ (b-a)) x, x, y is grade, for water level difference, b=42.85, a=0,
N=6, then water level difference grade=(6/ (42.85-0)) * 20.55=2.8, the water level difference that rounds up are grade 3;To water level
For change rate, b=1.00, a=0.05, n=6, then SEA LEVEL VARIATION rate grade=(6/ (1.00-0.05)) * 0.5=3.16,
The SEA LEVEL VARIATION that rounds up rate is grade 3;Inquiry table 5, flooding time grade are 3, for flooding time, b=20, a=0, n
=6, then flooding time=3/ (6/ (20-0))=10.
Existed as a result, by the actual water level of acquisition washing machine and the current level difference and actual water level of target water level
The SEA LEVEL VARIATION rate in duration is set, the fuzzy control relation based on setting determines the flooding time of the inlet valve of washing machine, real
Now to the control of water level of washing machine, frequently switching on for inlet valve can be prevented, reduces the spoilage of component.
In an optional embodiment, control situation can also be comprised at least one of the following.
The first control situation: described control unit 104, can be also used in determining the fuzzy control relation with institute
State the identical setting water level difference of current level difference and setting SEA LEVEL VARIATION rate identical with the current level change rate
It is corresponding set flooding time as the current flooding time of the inlet valve of washing machine to be controlled before, by the current flooding time control
The switch of the inlet valve of washing machine to be controlled is made, realizes the water level control to washing machine to be controlled.
The switch of inlet valve is controlled by the current flooding time by the inlet valve obtained based on Fuzzy Calculation as a result, it is real
Now to the water level control of washing machine, the convenience and accuracy of water level control are improved, also reduces water level control to component
The proportion of goods damageds.
Second of control situation: described control unit 104, can be also used in determining the fuzzy control relation with institute
State the identical setting water level difference of current level difference and setting SEA LEVEL VARIATION rate identical with the current level change rate
It is corresponding set flooding time as the current flooding time of the inlet valve of washing machine to be controlled before, establish setting water level difference, set
Determine SEA LEVEL VARIATION rate and sets the fuzzy control relation between flooding time.
As a result, by establishing setting water level difference, setting SEA LEVEL VARIATION rate and setting the fuzzy control between flooding time
Relationship can be conducive in order to be determined the current flooding time of inlet valve based on water level difference at that time and current level change rate
Promote the high efficiency determined to current flooding time and accuracy.
Optionally, described control unit 104 establish setting water level difference, setting SEA LEVEL VARIATION rate and setting flooding time it
Between fuzzy control relation, may include:
Described control unit 104 specifically can be also used for the water level with the actual water level of washing machine to be controlled and target water level
Difference is the first input quantity, the inlet valve that the SEA LEVEL VARIATION rate of the actual water level is the second input quantity and washing machine to be controlled
Flooding time be output quantity, first input quantity, second input quantity and the output quantity are blurred respectively
Processing obtains the first input fuzzy quantity of first input quantity, the second of second input quantity inputs fuzzy quantity and described
The output fuzzy quantity of output quantity.Such as: determine the first input quantity, the second input quantity and output quantity.First input quantity, can be with
It include: the actual water level of washing machine to be controlled and the difference of target water level.Second input quantity, may include: actual water level
SEA LEVEL VARIATION rate.The output quantity may include: the flooding time of the inlet valve of washing machine to be controlled.The tool of the control unit 104
Body function and processing see also step S210.
Such as: input quantity is set as two, this two may include: actual water level and setting water level difference and
The SEA LEVEL VARIATION rate of actual water level.Output quantity is the flooding time of inlet valve.
More optionally, described control unit 104 is to first input quantity, second input quantity and the output quantity point
Not carry out Fuzzy processing, may include following at least one blurring situation.
The first blurring situation: described control unit 104 specifically can be also used for by water level height, by described first
Input quantity Fuzzy processing is the 1st to the input fuzzy quantity of n-th first, and N is natural number.
Second of blurring situation: described control unit 104 specifically can be also used for by SEA LEVEL VARIATION speed, will be described
Second input quantity Fuzzy processing is the 1st to the input fuzzy quantity of m-th second, and M is natural number.
The third blurring situation: described control unit 104 specifically can be also used for by water inlet length of time, will be described
Output quantity Fuzzy processing is the 1st to l-th output fuzzy quantity, and L is natural number.
Such as: three variables are subjected to blurring definition, water level difference is defined as three fuzzy quantities, i.e., it is small, in, it is big;Water
Position change rate is defined as five fuzzy quantities, i.e., fastly, comparatively fast, it is moderate, more slowly and slowly;Flooding time is defined as five fuzzy quantities, i.e.,
It is short, shorter, in, it is longer with it is long.
As a result, by by different degree that the Fuzzy processings such as input quantity, output quantity are fuzzy in various degree multiple
Amount realizes the Fuzzy processing to input quantity, output quantity etc., and processing mode is easy, processing result is reliable.
Described control unit 104 specifically can be also used for the first input fuzzy quantity, the second input fuzzy quantity
Carry out quantification treatment respectively with the output fuzzy quantity, obtain first input quantity the first degree of membership, it is described second input
Second degree of membership of amount and the output degree of membership of the output quantity.The concrete function of the control unit 104 and processing see also step
Rapid S220.
Such as: fuzzy quantity is quantified.
More optionally, described control unit 104 is to the first input fuzzy quantity, the second input fuzzy quantity and described
Output fuzzy quantity carries out quantification treatment respectively, may include:
Described control unit 104 specifically can be also used for the first input fuzzy quantity, the second input fuzzy quantity
The 1st is respectively divided into P quantification gradation with the output fuzzy quantity, and P is natural number.The concrete function of the control unit 104
And processing sees also step S310.
Described control unit 104 specifically can be also used for determining the first input mould under each quantification gradation respectively
The degree of membership of paste amount, the second input fuzzy quantity and the output fuzzy quantity.The concrete function of the control unit 104 and processing
See also step S320.
Such as: quantification gradation can be divided into 7 grades, respectively 0 to 6, while determining and being obscured under each quantification gradation
The degree of membership of amount.
Such as: fuzzy quantity is quantified, should be that continuous input and output duration set is defined as finite integer here
Discrete domain, facilitate below generate fuzzy control table.Such as: the difference of actual water level and setting water level is the collection of [0,42.85]
Close, be classified as [0,6.12], (6.12,12.24], (12.24,18.36], (18.36,24.48], (24.48,30.60],
(30.60,36.72], (36.72,42.84], each collection is then shared into an integer representation, and be an equidistant ordered series of numbers.Table 1
Degree of membership of the fuzzy quantity in each section is illustrated to table 3.
As a result, by the way that each fuzzy quantity is respectively divided into multiple grades, and determine the person in servitude of each fuzzy quantity under each grade
Category degree, to realize the quantification treatment to each fuzzy quantity, processing mode is easy and processing result is reliable.
Further optionally, described control unit 104 determines the first input mould under each quantification gradation respectively
Paste amount, the second input fuzzy quantity and the degree of membership for exporting fuzzy quantity may include:
Described control unit 104 specifically can be also used for the first input mould under each quantification gradation respectively
Paste amount, the second input fuzzy quantity and the output fuzzy quantity are determined as the membership function in setting quantization interval range.It should
The concrete function of control unit 104 and processing see also step S410.
Described control unit 104 specifically can be also used for respectively according to the membership function under each quantification gradation
Determine the first input fuzzy quantity, the degree of membership of the second input fuzzy quantity and the output fuzzy quantity.The control unit
104 concrete function and processing see also step S420.
Such as: degree of membership is obtained according to membership function, and membership function is defined as the primary linear side of a binary
Journey, each quantized interval are respectively a linear equation y=(1/ (b-a)) * (x-a), a, b quantized interval range thus, by
This obtains the degree of membership of corresponding grade under each fuzzy quantity, such as table 1, table 2 and table 3.
Table 1: the difference degree of membership of actual water level and target water level
Table 2: SEA LEVEL VARIATION rate degree of membership
Table 3: flooding time degree of membership
Wherein, the membership function may include: triangular function, Gaussian bases, any function in trapezoidal function.
Such as: degree of membership is obtained according to membership function, and membership function is also possible to multiplicity.Wherein, here
Membership function is a linear equation in two unknowns, and by all corresponding upper equation of each fuzzy quantity, drawing can be seen that it is triangular function;Mould
Also there are other membership functions, such as normal distribution type (Gaussian bases), trapezoidal function etc. in paste control.
Person in servitude by being respectively determined as each fuzzy quantity under each quantification gradation in setting quantization interval range as a result,
Membership fuction, and then determine according to the membership function under each quantification gradation the degree of membership of each fuzzy quantity, method of determination it is easy and
Definitive result is accurate.
Described control unit 104 specifically can be also used for establishing and be made with first degree of membership and second degree of membership
It is the degree of membership relationship exported for input, the output degree of membership, as the fuzzy control relation.The control unit 104
Concrete function and processing see also step S230.
Such as: fuzzy reasoning table is obtained according to control experience, primarily to being optimal output response, such as table
4.Such as: when water level difference very little and when SEA LEVEL VARIATION rate is quickly, flooding time is just very short;When water level difference is very big and SEA LEVEL VARIATION
Rate quickly when, flooding time is at intermediate state;When water level difference is very big and SEA LEVEL VARIATION rate is slower, flooding time is just needed
It is very long.But an only fuzzy quantity for fuzzy reasoning table output, could realize control in software after being quantified.
Table 4: fuzzy flooding time control rule
Table 5 gives the output level after quantization.The table be according to table 1 into table 2 water level difference and SEA LEVEL VARIATION rate
What degree of membership obtained.Such as: water level difference quantification gradation is 2, and the quantification gradation of SEA LEVEL VARIATION rate is 3, according to weighting method (2*
0.5+3*1.0)/(0.5+1.0)=2.67 determines that the quantification gradation of output quantity is 3 in conjunction with the control rule in table 4.Thus
Method obtains other grades of 5 flooding time of table.
Table 5: fuzzy control table
Pass through as a result, and makees respectively using water level difference and SEA LEVEL VARIATION rate as input quantity and by the flooding time of inlet valve
Fuzzy Processing and quantification treatment are carried out for output quantity, respectively obtains the degree of membership of input quantity and output quantity, and then establish input quantity
Degree of membership relationship between output quantity, as required fuzzy control relation, it is reliable to establish mode, establishes gained fuzzy control
Relationship is accurate.
The processing and function realized by the device of the present embodiment essentially correspond to earlier figures 1 to method shown in Fig. 4
Embodiment, principle and example, therefore not detailed place in the description of the present embodiment may refer to mutually speaking on somebody's behalf in previous embodiment
Bright, this will not be repeated here.
Through a large amount of verification experimental verification, using technical solution of the present invention, the water level by adjusting washing machine is not only to judge
The difference of actual water level and target water level, while using the variation speed of actual water level as Rule of judgment, water level can be optimized
Regulative mode, effectively reduces the on-off times of inlet valve, plays protective effect to inlet valve and its control device.
According to an embodiment of the invention, additionally providing a kind of washing machine corresponding to water-level control apparatus.The washing machine can
To include: above-described water-level control apparatus.
In an optional embodiment, the solution of the present invention, the method for adjusting water level of washing machine using fuzzy algorithmic approach can
To greatly reduce the on-off times of inlet valve, to reduce the probability of device failure, extend device service life, while also can be excellent
Change control logic.The mode of this optimization water level regulation, effectively reduces the on-off times of inlet valve, to inlet valve and its controller
Part plays protective effect.
In an optional example, in the solution of the present invention, the water level for adjusting washing machine be not only to judge actual water level with
The difference of target water level, while using the variation speed of actual water level as Rule of judgment.Actual water level during water inlet
The rate of climb is how many according to clothing and clothing material has apparent difference, by difference with change rate two because usually carrying out water
The Fuzzy tuning of position, can be effectively prevented frequently switching on for inlet valve, makes more to optimize into water control logic.
In an optional specific embodiment, the solution of the present invention realizes water using a kind of method of fuzzy control
The adjusting of position, may comprise steps of:
Input quantity is set as two first by step 1, this two may include: actual water level and setting water level difference,
And the SEA LEVEL VARIATION rate of actual water level.Output quantity is the flooding time of inlet valve.
Further, three variables are subjected to blurring definition, water level difference is defined as three fuzzy quantities, i.e., it is small, in,
Greatly;SEA LEVEL VARIATION rate is defined as five fuzzy quantities, i.e., fastly, comparatively fast, it is moderate, more slowly and slowly;Flooding time is defined as five and obscures
Amount, i.e., it is short, shorter, in, it is longer with it is long.
Wherein, algorithm of the present invention will be related to input and output amount, and input quantity is exactly to influence the factor of output quantity,
Two factors in the present invention are main influence output quantity results, so using the two amounts as input quantity.
Step 2 quantifies fuzzy quantity.
It is alternatively possible to which quantification gradation is divided into 7 grades, respectively 0 to 6, while determining in each quantification gradation lower die
The degree of membership of paste amount.Wherein, degree of membership is obtained according to membership function, and membership function is defined as the primary line of binary
Property equation, each quantized interval is respectively a linear equation y=(1/ (b-a)) * (x-a), a, b quantized interval model thus
It encloses, it follows that the degree of membership of corresponding grade under each fuzzy quantity, such as table 1, table 2 and table 3.
Wherein, fuzzy quantity is quantified, should is that continuous input and output duration set is defined as finite integer here
Discrete domain, facilitate below generate fuzzy control table.
Such as: actual water level and setting water level difference be [0,42.85] set, be classified as [0,6.12],
(6.12,12.24], (12.24,18.36], (18.36,24.48], (24.48,30.60], (30.60,36.72], (36.72,
42.84], each collection is then shared into an integer representation, and is an equidistant ordered series of numbers.Table 1 to table 3 illustrates fuzzy quantity each
Degree of membership in a section.
Table 1: the difference degree of membership of actual water level and target water level
Table 2: SEA LEVEL VARIATION rate degree of membership
Table 3: flooding time degree of membership
Wherein, state variable of the table 1 into table 3 is exactly variable (such as difference, water level, the water inlet indicated with fuzzy language
Time etc.) several states, be to be defined according to experiment and experience, state is more, and control can be more complicated.
Fuzzy reasoning table is obtained according to control experience, primarily to being optimal output response, such as table 4.Example
Such as: when water level difference very little and when SEA LEVEL VARIATION rate is quickly, flooding time is just very short;When water level difference is very big and SEA LEVEL VARIATION rate
When quickly, flooding time is at intermediate state;When water level difference is very big and SEA LEVEL VARIATION rate is slower, flooding time just needs
It is very long.But an only fuzzy quantity for fuzzy reasoning table output, could realize control in software after being quantified.
Table 4: fuzzy flooding time control rule
Table 5 gives the output level after quantization.The table be according to table 1 into table 2 water level difference and SEA LEVEL VARIATION rate
What degree of membership obtained.Such as: water level difference quantification gradation is 2, and the quantification gradation of SEA LEVEL VARIATION rate is 3, according to weighting method (2*
0.5+3*1.0)/(0.5+1.0)=2.67 determines that the quantification gradation of output quantity is 3 in conjunction with the control rule in table 4.Thus
Method obtains other grades of 5 flooding time of table.
Table 5: fuzzy control table
If it is known that the quantification gradation of current input variable, by the quantification gradation of you can get it the output variable of inquiry table 5,
To obtain the occurrence of output quantity.Assuming that the range of water level difference is [0,42.85], the range of SEA LEVEL VARIATION rate be [0.05,
1.00], flooding time range is [0,20], when water level difference is 20.55, and SEA LEVEL VARIATION rate is 0.5, flooding time occurrence
It calculates as follows:
It is occurrence according to formula y=(n/ (b-a)) x, x, y is grade, for water level difference, b=42.85, a=0,
N=6, then water level difference grade=(6/ (42.85-0)) * 20.55=2.8, the water level difference that rounds up are grade 3;To water level
For change rate, b=1.00, a=0.05, n=6, then SEA LEVEL VARIATION rate grade=(6/ (1.00-0.05)) * 0.5=3.16,
The SEA LEVEL VARIATION that rounds up rate is grade 3;Inquiry table 5, flooding time grade are 3, for flooding time, b=20, a=0, n
=6, then flooding time=3/ (6/ (20-0))=10.
In software realization, by known input quantity, inquiring fuzzy control table can be obtained the occurrence of output variable, from
And realize the fuzzy control of output quantity.
In an alternative specific example, the solution of the present invention teaches the control method of water level Fuzzy tuning, wherein
The degree of membership and design parameter value being related to are intended only as referring to, concrete condition can depending on actual conditions (such as: membership function is not
Equally, corresponding degree of membership can difference).Degree of membership is obtained according to membership function, and membership function is also possible to multiplicity
's.Wherein, membership function here is a linear equation in two unknowns, and by all corresponding upper equation of each fuzzy quantity, drawing can be seen
It is triangular function out;Also there are other membership functions, such as normal distribution type (Gaussian bases), trapezoidal function in fuzzy control
Deng.
The processing and function realized by the washing machine of the present embodiment essentially correspond to the reality of aforementioned device shown in fig. 5
Example, principle and example are applied, therefore not detailed place in the description of the present embodiment, it may refer to the related description in previous embodiment,
This will not be repeated here.
The rising of actual water level during water inlet is passed through using technical solution of the present invention through a large amount of verification experimental verification
Speed is how many according to clothing and clothing material has apparent difference, by difference with change rate two because usually carrying out water level
Frequently switching on for inlet valve can be effectively prevented in Fuzzy tuning, reduces the probability of device failure, extends device service life.
According to an embodiment of the invention, additionally providing a kind of storage medium corresponding to method for controlling water level.The storage is situated between
Matter may include: that a plurality of instruction is stored in the storage medium;The a plurality of instruction, for being loaded by processor and being executed
Above-described method for controlling water level.
The processing and function realized by the storage medium of the present embodiment essentially correspond to earlier figures 1 to shown in Fig. 4
Embodiment, principle and the example of method, therefore not detailed place in the description of the present embodiment, may refer to the phase in previous embodiment
It speaks on somebody's behalf bright, this will not be repeated here.
Through a large amount of verification experimental verification, using technical solution of the present invention, by adjusting water level of washing machine using fuzzy algorithmic approach,
Frequently switching on for inlet valve can be effectively prevented, reduce the probability of device failure, extend device service life.
According to an embodiment of the invention, additionally providing a kind of washing machine corresponding to method for controlling water level.The washing machine, can
To include: processor, for executing a plurality of instruction;Memory, for storing a plurality of instruction;Wherein, a plurality of instruction, is used for
It is stored by the memory, and is loaded by the processor and execute above-described method for controlling water level.
The processing and function realized by the washing machine of the present embodiment essentially correspond to earlier figures 1 to side shown in Fig. 4
Embodiment, principle and the example of method, therefore not detailed place in the description of the present embodiment, may refer to the correlation in previous embodiment
Illustrate, this will not be repeated here.
Through a large amount of verification experimental verification, using technical solution of the present invention, the water level by adjusting washing machine is not only to judge
The difference of actual water level and target water level, while using the variation speed of actual water level as Rule of judgment, it can be effectively prevented
Inlet valve frequently switches on, and reduces the probability of device failure, reduces maintenance cost.
To sum up, it will be readily appreciated by those skilled in the art that under the premise of not conflicting, above-mentioned each advantageous manner can be certainly
It combined, be superimposed by ground.
The above description is only an embodiment of the present invention, is not intended to restrict the invention, for those skilled in the art
For member, the invention may be variously modified and varied.All within the spirits and principles of the present invention, it is made it is any modification,
Equivalent replacement, improvement etc., should be included within scope of the presently claimed invention.
Claims (15)
1. a kind of method for controlling water level characterized by comprising
The actual water level of washing machine to be controlled and the current level difference of target water level and the actual water level are obtained in setting
Current level change rate in length;
According to setting water level difference, setting SEA LEVEL VARIATION rate and the fuzzy control relation between flooding time is set, described in determination
In fuzzy control relation setting water level difference identical with the current level difference and with the current level change rate phase
Same sets the corresponding flooding time that sets of SEA LEVEL VARIATION rate as the current flooding time of the inlet valve of washing machine to be controlled.
2. the method according to claim 1, wherein further include:
The switch of the inlet valve of washing machine to be controlled is controlled by the current flooding time, realizes the water level control to washing machine to be controlled
System;
And/or
It establishes setting water level difference, setting SEA LEVEL VARIATION rate and sets the fuzzy control relation between flooding time.
3. according to the method described in claim 2, it is characterized in that, establishing setting water level difference, setting SEA LEVEL VARIATION rate and setting
Determine the fuzzy control relation between flooding time, comprising:
It take the water level difference of the actual water level of washing machine to be controlled and target water level as the water level of the first input quantity, the actual water level
Change rate is that the flooding time of the inlet valve of the second input quantity and washing machine to be controlled is output quantity, to first input quantity,
Second input quantity and the output quantity carry out Fuzzy processing respectively, obtain the first input fuzzy quantity, the second input obscures
Measure the output fuzzy quantity of sum;
Quantification treatment is carried out respectively to the first input fuzzy quantity, the second input fuzzy quantity and the output fuzzy quantity,
Obtain the first degree of membership, the second degree of membership and output degree of membership;
Establishing using first degree of membership and second degree of membership as input, the output degree of membership is the degree of membership exported
Relationship, as the fuzzy control relation.
4. according to the method described in claim 3, it is characterized in that, to first input quantity, second input quantity and institute
It states output quantity and carries out Fuzzy processing respectively, comprising:
It is the 1st to the input fuzzy quantity of n-th first by the first input quantity Fuzzy processing, N is nature by water level height
Number;And/or
It is the 1st to the input fuzzy quantity of m-th second by the second input quantity Fuzzy processing, M is certainly by SEA LEVEL VARIATION speed
So number;And/or
It is the 1st to l-th output fuzzy quantity by the output quantity Fuzzy processing, L is natural number by water inlet length of time.
5. the method according to claim 3 or 4, which is characterized in that the first input fuzzy quantity, second input
Fuzzy quantity and the output fuzzy quantity carry out quantification treatment respectively, comprising:
The first input fuzzy quantity, the second input fuzzy quantity and the output fuzzy quantity are respectively divided into the 1st to P
Quantification gradation, P are natural number;
The first input fuzzy quantity, the second input fuzzy quantity and the output mould under each quantification gradation are determined respectively
The degree of membership of paste amount.
6. according to the method described in claim 5, it is characterized in that, determining first input under each quantification gradation respectively
The degree of membership of fuzzy quantity, the second input fuzzy quantity and the output fuzzy quantity, comprising:
Respectively by the first input fuzzy quantity, the second input fuzzy quantity and the output mould under each quantification gradation
Paste amount is determined as the membership function in setting quantization interval range;
The first input fuzzy quantity, second input are determined according to the membership function under each quantification gradation respectively
The degree of membership of fuzzy quantity and the output fuzzy quantity;
Wherein, the membership function, comprising: triangular function, Gaussian bases, any function in trapezoidal function.
7. a kind of water-level control apparatus characterized by comprising
Acquiring unit, for obtaining the actual water level of washing machine to be controlled and the current level difference and the reality of target water level
The current level change rate of border water level within the set duration;
Control unit, for according to the fuzzy control between setting water level difference, setting SEA LEVEL VARIATION rate and setting flooding time
Relationship determines setting water level difference identical with the current level difference in the fuzzy control relation and works as with described
The identical corresponding flooding time that sets of SEA LEVEL VARIATION rate that sets of preceding SEA LEVEL VARIATION rate is the current of the inlet valve of washing machine to be controlled
Flooding time.
8. device according to claim 7, which is characterized in that further include:
Described control unit is also used to control the switch of the inlet valve of washing machine to be controlled, realization pair by the current flooding time
The water level control of washing machine to be controlled;
And/or
Described control unit is also used to establish setting water level difference, setting SEA LEVEL VARIATION rate and sets the mould between flooding time
Paste control planning.
9. device according to claim 8, which is characterized in that described control unit establishes setting water level difference, setting water
Fuzzy control relation between position change rate and setting flooding time, comprising:
It take the water level difference of the actual water level of washing machine to be controlled and target water level as the water level of the first input quantity, the actual water level
Change rate is that the flooding time of the inlet valve of the second input quantity and washing machine to be controlled is output quantity, to first input quantity,
Second input quantity and the output quantity carry out Fuzzy processing respectively, obtain the first input fuzzy quantity, the second input obscures
Measure the output fuzzy quantity of sum;
Quantification treatment is carried out respectively to the first input fuzzy quantity, the second input fuzzy quantity and the output fuzzy quantity,
Obtain the first degree of membership, the second degree of membership and output degree of membership;
Establishing using first degree of membership and second degree of membership as input, the output degree of membership is the degree of membership exported
Relationship, as the fuzzy control relation.
10. device according to claim 9, which is characterized in that described control unit is to first input quantity, described
Two input quantities and the output quantity carry out Fuzzy processing respectively, comprising:
It is the 1st to the input fuzzy quantity of n-th first by the first input quantity Fuzzy processing, N is nature by water level height
Number;And/or
It is the 1st to the input fuzzy quantity of m-th second by the second input quantity Fuzzy processing, M is certainly by SEA LEVEL VARIATION speed
So number;And/or
It is the 1st to l-th output fuzzy quantity by the output quantity Fuzzy processing, L is natural number by water inlet length of time.
11. device according to claim 9 or 10, which is characterized in that described control unit is fuzzy to first input
Amount, the second input fuzzy quantity and the output fuzzy quantity carry out quantification treatment respectively, comprising:
The first input fuzzy quantity, the second input fuzzy quantity and the output fuzzy quantity are respectively divided into the 1st to P
Quantification gradation, P are natural number;
The first input fuzzy quantity, the second input fuzzy quantity and the output mould under each quantification gradation are determined respectively
The degree of membership of paste amount.
12. device according to claim 11, which is characterized in that described control unit determines each quantification gradation respectively
Under it is described first input fuzzy quantity, it is described second input fuzzy quantity and it is described output fuzzy quantity degree of membership, comprising:
Respectively by the first input fuzzy quantity, the second input fuzzy quantity and the output mould under each quantification gradation
Paste amount is determined as the membership function in setting quantization interval range;
The first input fuzzy quantity, second input are determined according to the membership function under each quantification gradation respectively
The degree of membership of fuzzy quantity and the output fuzzy quantity;
Wherein, the membership function, comprising: triangular function, Gaussian bases, any function in trapezoidal function.
13. a kind of washing machine characterized by comprising the water-level control apparatus as described in claim 7-12 is any.
14. a kind of storage medium, which is characterized in that be stored with a plurality of instruction in the storage medium;The a plurality of instruction, is used for
It is loaded by processor and executes the method for controlling water level as described in claim 1-6 is any.
15. a kind of washing machine characterized by comprising
Processor, for executing a plurality of instruction;
Memory, for storing a plurality of instruction;
Wherein, a plurality of instruction for being stored by the memory, and is loaded by the processor and is executed such as claim
Any method for controlling water level of 1-6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811334288.0A CN109281134B (en) | 2018-11-09 | 2018-11-09 | Water level control method and device, storage medium and washing machine |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811334288.0A CN109281134B (en) | 2018-11-09 | 2018-11-09 | Water level control method and device, storage medium and washing machine |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109281134A true CN109281134A (en) | 2019-01-29 |
CN109281134B CN109281134B (en) | 2020-03-24 |
Family
ID=65175260
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811334288.0A Active CN109281134B (en) | 2018-11-09 | 2018-11-09 | Water level control method and device, storage medium and washing machine |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109281134B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111005190A (en) * | 2019-12-23 | 2020-04-14 | 合肥美的洗衣机有限公司 | Water inflow control method, water inflow control device, clothes treatment device, and medium |
CN111041773A (en) * | 2019-12-09 | 2020-04-21 | 无锡小天鹅电器有限公司 | Clothes treatment equipment, control method and device thereof and storage medium |
CN114045632A (en) * | 2021-10-29 | 2022-02-15 | 珠海格力电器股份有限公司 | Control method, control device, electronic equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6029298A (en) * | 1998-04-14 | 2000-02-29 | General Electric Company | System and method for determining a liquid level setting in a washing machine |
CN101058934A (en) * | 2007-06-07 | 2007-10-24 | 上海交通大学 | Automatic water supply regulating system for washing machine |
CN101403930A (en) * | 2008-11-13 | 2009-04-08 | 东北大学 | Continuous casting crystallizer fluid level control method based on Fuzzy-PID |
CN103628275A (en) * | 2013-12-17 | 2014-03-12 | 上海电机学院 | Intelligent washing machine based on nerve net fuzzy controller |
CN105648700A (en) * | 2014-11-28 | 2016-06-08 | 青岛海尔洗衣机有限公司 | Method for water inlet control of washing machine and washing machine |
-
2018
- 2018-11-09 CN CN201811334288.0A patent/CN109281134B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6029298A (en) * | 1998-04-14 | 2000-02-29 | General Electric Company | System and method for determining a liquid level setting in a washing machine |
CN101058934A (en) * | 2007-06-07 | 2007-10-24 | 上海交通大学 | Automatic water supply regulating system for washing machine |
CN101403930A (en) * | 2008-11-13 | 2009-04-08 | 东北大学 | Continuous casting crystallizer fluid level control method based on Fuzzy-PID |
CN103628275A (en) * | 2013-12-17 | 2014-03-12 | 上海电机学院 | Intelligent washing machine based on nerve net fuzzy controller |
CN105648700A (en) * | 2014-11-28 | 2016-06-08 | 青岛海尔洗衣机有限公司 | Method for water inlet control of washing machine and washing machine |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111041773A (en) * | 2019-12-09 | 2020-04-21 | 无锡小天鹅电器有限公司 | Clothes treatment equipment, control method and device thereof and storage medium |
CN111005190A (en) * | 2019-12-23 | 2020-04-14 | 合肥美的洗衣机有限公司 | Water inflow control method, water inflow control device, clothes treatment device, and medium |
CN114045632A (en) * | 2021-10-29 | 2022-02-15 | 珠海格力电器股份有限公司 | Control method, control device, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN109281134B (en) | 2020-03-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109281134A (en) | A kind of method for controlling water level, device, storage medium and washing machine | |
US11651205B2 (en) | Method for training a generative adversarial network (GAN), generative adversarial network, computer program, machine-readable memory medium, and device | |
CN111862093A (en) | Corrosion grade information processing method and system based on image recognition | |
CN111079989B (en) | DWT-PCA-LSTM-based water supply amount prediction device for water supply company | |
CN111063194A (en) | Traffic flow prediction method | |
CN110991495B (en) | Method, system, medium, and apparatus for predicting product quality in manufacturing process | |
CN103164752B (en) | A kind of heuristic one-dimensional stock-cutting method based on stratified random searching algorithm | |
Rong-qiang et al. | Fabric defect detection method based on improved u-net | |
DE102018126429A1 (en) | Processing condition adjustment device and machine learning device | |
CN107817771A (en) | Consider the modeling method of the hybrid flowshop energy-saving distribution of cycle power strategy | |
CN108446702A (en) | A kind of image character dividing method, device, equipment and storage medium | |
CN107844104A (en) | Consider the modeling method of the flexible job shop energy-saving distribution of cycle power strategy | |
CN104991443A (en) | Fuzzy control method based on adaptive domain partitioning | |
CN117313792A (en) | Flexible job shop scheduling strategy training method based on deep reinforcement learning | |
CN100573551C (en) | Phase displacement fuzzy difference binaryzation method during fingerprint digital picture is handled | |
CN104361077B (en) | The creation method and device of webpage scoring model | |
CN104102955A (en) | Electric power circuit planning method for selecting differential evolution algorithm on the basis of abstract convexity estimation | |
CN113036769A (en) | Static voltage stability analysis method and system for power system | |
CN115360772B (en) | Active safety correction control method, system, equipment and storage medium for power system | |
CN115200296B (en) | Ice machine group control method, device, equipment and computer readable storage medium | |
Riesterer et al. | Implications of guessing types in multinomial processing tree models: Conditional reasoning as an example | |
KR102265361B1 (en) | Method and apparatus for deep-learning using smoothing | |
KR102433431B1 (en) | Improved prediction system and prediction method using heterogeneous data | |
CN102005042A (en) | Feature extracting method of Sobel operator filtering general picture for representing textile fabric veins | |
CN117649533A (en) | Metal surface defect detection method aiming at inconsistent morphology |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |