Disclosure of Invention
The embodiment of the application provides a dish washer, a water quantity detection method, a device and a medium of the dish washer, and further can improve the efficiency of detecting the water quantity in a washing cavity at least to a certain extent.
Other features and advantages of the application will be apparent from the following detailed description, or may be learned by the practice of the application.
According to a first aspect of an embodiment of the present application, there is provided a water amount detection method of a dishwasher including a driving motor, a washing chamber, and a heating element provided at a bottom of the washing chamber, the method including:
detecting circuit parameters of the driving motor in the process that the driving motor operates according to the target rotating speed;
If the parameter value of the circuit parameter is detected to reach a first parameter threshold value, acquiring a first target variation of the circuit parameter in a first detection duration;
If the first target variable quantity is smaller than a first preset variable quantity, determining that the current water quantity in the washing cavity is larger than or equal to a first preset water quantity, wherein the first preset water quantity is used for representing the lowest water quantity corresponding to dry burning of the heating element when the driving motor runs at the target rotating speed.
In some embodiments, based on the foregoing scheme, the first parameter threshold is determined as follows:
Acquiring a preset mapping relation table, wherein a plurality of rotating speeds of the driving motor and parameter thresholds corresponding to each rotating speed are recorded in the mapping relation table;
and searching a first parameter threshold corresponding to the target rotating speed in the mapping relation table.
In some embodiments, based on the foregoing solution, the obtaining the first target variation of the circuit parameter in the first detection duration includes:
And acquiring a maximum parameter value and a minimum parameter value of the circuit parameter in the first detection duration, and taking a difference value between the maximum parameter value and the minimum parameter value as the first target variation.
In some embodiments, based on the foregoing solution, the first detection duration includes N detection sub-durations, where N is a positive integer, and the obtaining the first target variation of the circuit parameter in the first detection duration includes:
Acquiring a parameter mean value of each detection sub-duration, and determining a target difference value of the parameter mean value between two adjacent detection sub-durations;
And carrying out average processing on all the target difference values, and taking the result obtained by the average processing as the first target variable quantity.
In some embodiments, based on the foregoing solution, the first target variable includes a first sub-variable and a second sub-variable, the first detection duration includes M detection sub-durations, M is a positive integer, and the obtaining the parameter variable of the circuit parameter within the first detection duration includes:
Obtaining a maximum parameter value and a minimum parameter value of the circuit parameter in the first detection duration, and taking a difference value between the maximum parameter value and the minimum parameter value as a first sub-variation;
Acquiring a parameter mean value of each detection sub-duration, and determining a target difference value of the parameter mean value between two adjacent detection sub-durations;
and carrying out average processing on all the target difference values, and taking the result obtained by the average processing as a second sub-variable quantity.
In some embodiments, based on the foregoing solution, the first preset variation includes a first sub-variation threshold and a second sub-variation threshold, and if the first target variation is smaller than the first preset variation, determining that the current water volume in the washing chamber is greater than or equal to a first preset water volume includes:
If the first sub-variation is smaller than the first sub-variation threshold and the second sub-variation is smaller than the second sub-variation threshold, determining that the current water quantity in the washing cavity is larger than or equal to a first preset water quantity.
In some embodiments, based on the foregoing, the method further comprises:
And if the parameter value of the circuit parameter does not reach the first parameter threshold value within the second detection duration, determining that the current water quantity in the washing cavity is smaller than the first preset water quantity.
In some embodiments, based on the foregoing, after determining that the current amount of water within the wash chamber is less than the first preset amount of water, the method further comprises:
controlling the dishwasher to fill water into the washing cavity;
After water injection is completed, returning to the step of acquiring the circuit parameters of the driving motor so as to determine whether the current water quantity in the washing cavity is greater than or equal to the first preset water quantity;
And if the current water quantity in the washing cavity is larger than or equal to the first preset water quantity, controlling the dish washer to wash according to the current water quantity.
In some embodiments, based on the foregoing, after determining that the current amount of water within the wash chamber is less than the first preset amount of water, the method further comprises:
Controlling the driving motor to run at a reduced rotating speed, and detecting circuit parameters of the driving motor in the process that the driving motor runs at the reduced rotating speed;
if the parameter value of the circuit parameter is detected to reach a second parameter threshold value, acquiring a second target variation of the circuit parameter in the first detection duration;
if the second target variable quantity is smaller than a second preset variable quantity, determining that the current water quantity in the washing cavity is larger than or equal to a second preset water quantity, wherein the second preset water quantity is used for representing the lowest water quantity corresponding to dry heating of the heating element when the driving motor operates according to the reduced rotating speed.
According to a second aspect of embodiments of the present application, there is provided a water amount detection device of a dishwasher including a driving motor, a washing chamber, and a heating element provided at a bottom of the washing chamber, the device comprising:
the first acquisition unit is used for detecting circuit parameters of the driving motor in the process that the driving motor operates according to the target rotating speed;
the second acquisition unit is used for acquiring a first target variable quantity of the circuit parameter in a first detection duration if the parameter value of the circuit parameter reaches a first parameter threshold value;
And the determining unit is used for determining that the current water quantity in the washing cavity is larger than or equal to a first preset water quantity if the first target variation is smaller than a first preset variation, wherein the first preset water quantity is used for representing the lowest water quantity corresponding to dry heating of the heating element when the driving motor operates according to the target rotating speed.
According to a third aspect of embodiments of the present application, a computer-readable storage medium has stored therein at least one computer program instruction that is loaded and executed by a processor to implement the operations performed by the method of any of the first aspects.
According to a fourth aspect of embodiments of the present application, there is provided a dishwasher comprising one or more processors and one or more memories having stored therein at least one piece of program code loaded and executed by the one or more processors to carry out the operations performed by the method according to any of the first aspects.
The one or more technical solutions provided by the embodiments of the present invention at least achieve the following technical effects or advantages:
In the running process of the driving motor according to the target rotating speed, the parameter value of the circuit parameter of the driving motor depends on the load (namely, the water quantity which can be pumped by the driving motor to drive the washing pump), and when the water quantity in the washing cavity is insufficient, the circuit parameter of the driving motor is in a fluctuation state, therefore, under the condition that the parameter value of the circuit parameter reaches a first parameter threshold value, if the first target variation quantity of the circuit parameter in a first detection time period is smaller than a first preset variation quantity, the current water quantity in the washing cavity is determined to be larger than or equal to the first preset water quantity, thereby preventing the washing pump from generating dry burning.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application as claimed.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the application. One skilled in the relevant art will recognize, however, that the application may be practiced without one or more of the specific details, or with other methods, components, devices, steps, etc. In other instances, well-known methods, devices, implementations, or operations are not shown or described in detail to avoid obscuring aspects of the application.
The block diagrams depicted in the figures are merely functional entities and do not necessarily correspond to physically separate entities. That is, the functional entities may be implemented in software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor devices and/or microcontroller devices.
The flow diagrams depicted in the figures are exemplary only, and do not necessarily include all of the elements and operations/steps, nor must they be performed in the order described. For example, some operations/steps may be decomposed, and some operations/steps may be combined or partially combined, so that the order of actual execution may be changed according to actual situations.
It should also be noted that the terms "first," "second," and the like in the description and claims of the present application and in the above-described figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the objects so used may be interchanged where appropriate such that the embodiments of the application described herein may be implemented in other sequences than those illustrated or otherwise described.
The dish washer is a common kitchen utensil in life, and brings convenience to the life of people. When the dish washing machine is operated, the driving motor drives the washing pump to suck washing water in the washing cavity, and the tableware is washed through multiple waterway circulation, and in the process, the water quantity for ensuring the normal operation of all parts of the dish washing machine is required to be arranged in the washing cavity of the dish washing machine. For example, in order to enhance the washing effect on tableware, the bottom of the washing chamber is usually provided with a heating element, such as a heating pipe, through which the washing water is heated to achieve a better washing effect, and in this process, the washing chamber needs to have a corresponding amount of water to cover the surface of the heating pipe, so as to avoid damage caused by dry burning of the surface of the heating pipe. Therefore, during operation of the dishwasher, it is necessary to detect the current amount of water in the washing chamber in order to determine whether the current amount of water in the washing chamber can ensure safe operation of the heating pipe.
At present, the water quantity in the washing cavity is mainly detected through the sensing device, for example, the water quantity detection is realized through devices such as a liquid level sensor, but the sensing device is easily corroded by washing water, so that the detection precision is reduced, and the additional setting of the sensing device increases the cost of the whole machine.
Based on this, the embodiment of the application provides a water quantity detection method of a dish washer, which is applied to the dish washer, and for convenience of understanding, the dish washer of the embodiment of the application is first described below.
Referring to fig. 1, a schematic structural view of a dishwasher in accordance with an embodiment of the present application is shown.
As shown in fig. 1, the dishwasher comprises a driving motor 102, a washing chamber 106 and a heating element 107, the dishwasher further comprises a controller 101, the controller 101 is electrically connected with the driving motor 102, wherein the controller 101 comprises, but is not limited to, programmable Logic Controller (programmable logic controller) and the driving motor 102 comprises, but is not limited to, a synchronous motor, an asynchronous motor and the like. The heating element 107 is disposed at the bottom of the washing chamber 106, and it is understood that the heating element 107 may be an annular heating tube, the annular heating tube is disposed on the surface of the bottom of the washing chamber, and a certain height is provided between the upper surface of the annular heating tube and the bottom of the washing chamber 106, so that, in order to ensure that no dry heating occurs on the surface of the heating element 107, at least an amount of water that can overflow the surface of the heating element 107 needs to be provided in the washing chamber 106.
It will be appreciated that in a typical situation, the dishwasher is provided with a circulation water path, the circulation water path is provided with a washing pump, the driving motor 102 is used for driving the washing pump to operate, the circulation water path comprises a washing pipeline positioned in the washing cavity, the washing pipeline is provided with a water spray opening, the washing pump sucks water under the washing cavity 106 into the washing pipeline, and then the water is sprayed out through the water spray opening so as to clean tableware positioned on the upper part of the washing cavity 106, and waste water generated after the tableware is cleaned falls back to the bottom of the washing cavity 106 for recycling and circulating, so that the tableware is cleaned for a plurality of times by using the circulating water.
Referring to fig. 2, a flow chart of a water amount detection method of a dishwasher according to an embodiment of the present application is shown.
As shown in fig. 2, according to a first aspect of an embodiment of the present application, there is provided a water amount detection method of a dishwasher, the dishwasher including a driving motor, a washing chamber, and a heating element provided at a bottom of the washing chamber, the method being executable in a controller, the method including, but not limited to, being implemented by steps S1 to S3:
s1, detecting circuit parameters of the driving motor in the process that the driving motor operates according to a target rotating speed;
it will be appreciated that the circuit parameters of the drive motor will depend on how much load is present, i.e. how much water the drive motor is able to pump, during operation of the drive motor at the target rotational speed, i.e. during operation of the drive motor at a constant rotational speed. If the amount of water in the washing chamber is sufficient, for example, the amount of water in the washing chamber occupies one half of the volume of the washing chamber, the amount of water that can be pumped by the washing pump each time is also sufficient, so that the load of the driving motor is constant and thus the circuit parameter of the driving motor is constant, while if the amount of water in the washing chamber is insufficient, the amount of water that can be pumped by the washing pump each time cannot be ensured to be sufficient, so that the load of the driving motor is fluctuated and thus the parameter value of the circuit parameter of the driving motor is fluctuated.
It should be noted that the insufficient amount of water in the washing chamber includes at least two cases, that is, the amount of water in the washing chamber cannot cover the surface of the heating pipe, and that is, the amount of water in the washing chamber can cover the surface of the heating pipe, but the state of sufficient amount of water is not achieved, that is, the state of constant amount of water sucked by the washing pump each time is not achieved.
It can be appreciated that in order to improve the energy saving and emission reduction effect during the application of the dishwasher, the amount of washing water is reduced as much as possible on the premise of ensuring the washing efficiency of the dishwasher and the operation performance of each component, and the amount of water in the washing chamber can be the second condition. In the washing process, due to some fault factors, for example, the tableware to be washed is misplaced (for example, the bowl opening is placed upwards), so that part of the washing water cannot fall back to the bottom of the washing cavity after the tableware is washed, and the circulating water in the washing cavity is reduced, and even the surface of the heating pipe cannot be covered, so that the heating pipe generates dry heating, and the water in the washing cavity may be the first condition.
Based on the above, the embodiment of the application is used for detecting whether the water quantity in the washing cavity reaches the minimum water quantity or not in the running process of the washing cavity, wherein the minimum water quantity is the minimum water quantity required in the washing cavity for preventing the heating element from generating dry burning.
It will be appreciated that in the case of a sufficient amount of water in the washing chamber, the threshold value of the circuit parameter, i.e. the constant value of the circuit parameter, is different when the rotational speed of the drive motor is different, for example, when the amount of water is sufficient, the current of the drive motor is constant at 5a when the drive motor is operated at 2000 rpm, and the current of the drive motor is constant at 8 a when the drive motor is operated at 3000 rpm.
Based on the above, the embodiment of the application can determine whether the current water quantity in the washing cavity is greater than or equal to the minimum water quantity by detecting the circuit parameter of the driving motor at the constant rotation speed and taking the relation between the detection result of the circuit parameter and the corresponding parameter threshold value as one of the determination basis.
In some embodiments, the first parameter threshold is determined as follows:
S11A, acquiring a preset mapping relation table, wherein a plurality of rotating speeds of the driving motor and parameter thresholds corresponding to each rotating speed are recorded in the mapping relation table;
For example, in the map table, a plurality of rotation speeds of the driving motor, and a current threshold value and/or a power threshold value corresponding to each rotation speed are recorded, where the corresponding current threshold value may be obtained only through the rotation speed, the corresponding power threshold value may be obtained only through the rotation speed, and the corresponding current threshold value and the corresponding voltage threshold value may be obtained simultaneously through the rotation speed. For example, the corresponding current threshold is 2 amps at a speed of 1000 revolutions per minute, the corresponding power threshold is 1000 watts, the corresponding current threshold is 5 amps at a speed of 2000 revolutions per minute, the corresponding power threshold is 1500 watts, and the corresponding current threshold is 8 amps at a speed of 3000 revolutions per minute, the corresponding power threshold is 2000 watts.
Based on this, a current threshold and/or a power threshold corresponding to each rotational speed may be obtained by a lookup table.
S12A, searching a first parameter threshold corresponding to the target rotating speed in the mapping relation table.
In some embodiments, the first parameter threshold is determined as follows:
S11B, obtaining a pre-constructed mapping relation function, wherein the mapping relation function is used for representing the functional relation between each rotating speed and each parameter threshold;
The mapping relation function is a mapping relation function constructed by taking each rotating speed as an independent variable and taking each parameter threshold as a dependent variable, for example, the mapping relation function can be f (x, y), wherein x and y can be the rotating speed and the parameter threshold respectively, so that under the condition that the target rotating speed is determined, the corresponding first parameter threshold can be obtained through calculation according to the mapping relation function.
And S12B, calculating the first parameter threshold value through the mapping relation function according to the target rotating speed.
It can be appreciated that the benefit of calculating the first parameter threshold by the mapping function is that the calculation of the first parameter threshold is more accurate, so that the whole machine can obtain a better working state.
In some embodiments, the circuit parameters of the drive motor include, but are not limited to, current, voltage, and power. When detecting the circuit parameters of the drive motor, only one of the circuit parameters, for example, only the current, may be detected, or a plurality of circuit parameters, for example, the current, the power, and the like may be detected at the same time.
The driving motor can be provided with a current collection module for collecting current flowing through the driving motor and transmitting the current to the controller when the circuit parameter is current, a voltage collection module for collecting voltage of the driving motor and transmitting the voltage to the controller when the circuit parameter is voltage, and a current collection module and a voltage collection module for collecting current flowing through the driving motor and transmitting the voltage to the controller when the circuit parameter is power, wherein the voltage collection module is used for collecting voltage of the driving motor and transmitting the voltage to the controller, and the controller determines corresponding power according to the received current and voltage.
S2, if the parameter value of the circuit parameter is detected to reach a first parameter threshold value, acquiring a first target variation of the circuit parameter in a first detection duration;
It will be appreciated that when the drive motor is operated at the target rotational speed, if the amount of water in the wash chamber is sufficient, the parameter value of the circuit parameter of the drive motor may appear constant, whereas when the amount of water in the wash chamber is insufficient, the parameter value of the circuit parameter of the drive motor may appear to be unable to reach the first parameter threshold, or intermittently reach the first parameter threshold for a period of time, i.e. there is a fluctuation in the parameter value of the circuit parameter for a period of time.
For example, when the driving motor is operated at 3000 rpm in a detection period of one minute, if the water amount in the washing chamber is sufficient, the parameter value of the circuit parameter of the driving motor is 8 amperes, if the water amount in the washing chamber is not enough and the parameter value of the circuit parameter cannot be detected to be 8 amperes in the detection period of one minute, which means that the water amount in the washing chamber is not the lowest water amount, and if the water amount in the washing chamber is not enough and the parameter of the circuit parameter is intermittently detected to be 8 amperes in the detection period of one minute, for example, the water amount in the washing chamber is 8 amperes in the 20 th second of one minute and 8 amperes in the 40 th second, which means that the washing chamber has a certain water amount, but the lowest water amount may not be reached, the water amount cannot be determined yet, the first target change amount of the circuit parameter in the first detection period is needed to further determine whether the water amount in the washing chamber is greater than or equal to the lowest water amount.
In some embodiments, the obtaining the first target variation of the circuit parameter in the first detection duration includes:
S21A, obtaining a maximum parameter value and a minimum parameter value of the circuit parameter in the first detection duration, and taking the difference value between the maximum parameter value and the minimum parameter value as the first target variable quantity.
It is understood that the first detection duration may be 10 seconds, 30 seconds, 1 minute, etc., which is not limited herein. And the maximum parameter value and the minimum parameter value of the circuit parameter in the first detection duration take absolute values, and the first target variation of the circuit parameter in the first detection duration can be determined according to the difference value between the maximum parameter value and the minimum parameter value.
For example, the first detection period is set to be 1 minute, the maximum value of the current in 1 minute is detected to be 10 amps, the minimum value of the current is detected to be 7 amps, and the difference between the maximum value of the current and the minimum value of the current is 3 amps, namely, the current variation in 1 minute is 3 amps.
For example, the first detection duration is set to 30 seconds, the maximum power value within 30 seconds is detected to be 1500 watts, the minimum power value is 1200 watts, and the difference between the maximum power value and the minimum power value is 300 watts, that is, the power variation within 30 seconds is 300 watts.
In some embodiments, based on the foregoing solution, the first detection duration includes N detection sub-durations, where N is a positive integer, and the obtaining the first target variation of the circuit parameter in the first detection duration includes:
S21B, acquiring a parameter mean value of each detection sub-duration, and determining a target difference value of the parameter mean value between two adjacent detection sub-durations;
It will be appreciated that the N detection sub-durations are of equal value, for example, the first detection duration is 2 minutes, including 10 detection sub-durations, each detection sub-duration being 12 seconds.
The parameter average value of each detection sub-duration refers to the average value of each parameter value of the circuit parameter in each detection sub-duration. For example, 10 current values are detected within 12 seconds, and an average value of the 10 current values is calculated to obtain a parameter average value within the current detection sub-duration.
The two adjacent detection sub-durations refer to two detection sub-durations which are mutually continuous in time within the same first detection duration. For example, the first detection duration is 1 minute and comprises 5 detection sub-durations, the first detection sub-duration is 1-12 seconds, and the second detection sub-duration is 12-24 seconds, and then the first detection sub-duration and the second detection sub-duration are two adjacent detection sub-durations.
The target difference value of the parameter mean value between two adjacent detection sub-time periods refers to the difference value between the first parameter mean value of the previous detection sub-time period and the second parameter mean value of the latter detection sub-time period. For example, the first detection duration is 1 minute and comprises 5 detection sub-durations, the first detection sub-duration is 1-12 seconds, the current average value is 5 amperes, the second detection sub-duration is 12-24 seconds, the current average value is 6 amperes, and the target difference value is 1 ampere.
And S22B, carrying out average processing on all the target difference values, and taking the result obtained by the average processing as the first target variation.
It can be understood that the average processing is performed on the target difference value, so that the average change condition of the circuit parameters in each sub-duration in the first detection duration can be more accurately obtained, and the accuracy of the data processing result is improved.
In some embodiments, the first target variable amount includes a first sub-variable amount and a second sub-variable amount, the first detection duration includes M detection sub-durations, M is a positive integer, and the obtaining the parameter variable amount of the circuit parameter in the first detection duration includes:
S21C, obtaining a maximum parameter value and a minimum parameter value of the circuit parameter in the first detection duration, and taking a difference value between the maximum parameter value and the minimum parameter value as a first sub-variation;
S22C, acquiring a parameter mean value of each detection sub-duration, and determining a target difference value of the parameter mean value between two adjacent detection sub-durations;
and S23C, carrying out average processing on all the target difference values, and taking the result obtained by the average processing as a second sub-variable quantity.
It should be noted that, the implementation principle of the steps S21C to S23C is the same as that of the steps S21A to S22B, and will not be repeated here. It can be appreciated that the first sub-variation and the second sub-variation are simultaneously acquired, so that whether the current water quantity of the washing chamber is greater than or equal to the minimum water quantity is determined based on the first sub-variation and the second sub-variation, and the data processing result can be more accurate.
And S3, if the first target variable quantity is smaller than a first preset variable quantity, determining that the current water quantity in the washing cavity is larger than or equal to a first preset water quantity, wherein the first preset water quantity is used for representing the lowest water quantity corresponding to dry heating of the heating element when the driving motor operates according to the target rotating speed.
The first preset variable quantity is the maximum variable quantity corresponding to the parameter value of the circuit parameter of the driving motor if the water quantity in the washing cavity is larger than or equal to the minimum water quantity when the driving motor operates according to the target rotating speed. That is, when the amount of water in the washing chamber is equal to or greater than the minimum amount of water, the magnitude of the fluctuation should be smaller than the first preset variation amount although the fluctuation may exist in the parameter value of the circuit parameter of the driving motor.
In some embodiments, the first preset variation includes a first sub-variation threshold and a second sub-variation threshold, and if the first target variation is smaller than the first preset variation, determining that the current water volume in the washing chamber is greater than or equal to a first preset water volume includes:
If the first sub-variation is smaller than the first sub-variation threshold and the second sub-variation is smaller than the second sub-variation threshold, determining that the current water quantity in the washing cavity is larger than or equal to a first preset water quantity.
It can be understood that in the process that the driving motor operates according to the target rotating speed, the parameter value of the circuit parameter of the driving motor depends on the load (namely, the water quantity which can be pumped by the driving motor to drive the washing pump), and when the water quantity in the washing cavity is insufficient, the circuit parameter of the driving motor is in a fluctuation state, therefore, under the condition that the parameter value of the circuit parameter reaches the first parameter threshold value, if the first target variation of the circuit parameter in the first detection duration is smaller than the first preset variation, the current water quantity in the washing cavity is determined to be greater than or equal to the first preset water quantity, thereby preventing the washing pump from generating dry burning.
In some embodiments, based on the foregoing, the method further comprises:
And if the parameter value of the circuit parameter does not reach the first parameter threshold value within the second detection duration, determining that the current water quantity in the washing cavity is smaller than the first preset water quantity.
It will be appreciated that if the current, voltage or power has not always reached the first parameter threshold for a period of time, for example 1 minute, this indicates that the current water volume in the washing chamber is less than the minimum water volume, the water volume in the washing chamber is severely insufficient and the heating element is at risk of dry burning.
In some embodiments, based on the foregoing, after determining that the current amount of water within the wash chamber is less than the first preset amount of water, the method further comprises:
S41, controlling the dish washer to fill water into the washing cavity;
S42, after water injection is completed, returning to the step of acquiring the circuit parameters of the driving motor so as to determine whether the current water quantity in the washing cavity is greater than or equal to the first preset water quantity;
and S43, if the current water quantity in the washing cavity is larger than or equal to the first preset water quantity, controlling the dish washer to wash according to the current water quantity.
Based on the results of steps S41 to S43, in the embodiment of the present application, when the water amount in the washing chamber is seriously insufficient, the dishwasher is controlled to perform water injection into the washing chamber, and after the water injection is completed, whether the current water amount in the washing chamber is greater than or equal to the first preset water amount is determined again according to the implementation principles of steps S1 to 3, until the water amount requirement is met, the dishwasher is controlled to perform washing according to the current water amount, and it can be understood that the current water amount is still a smaller water amount meeting the energy saving requirement.
In some embodiments, based on the foregoing, after determining that the current amount of water within the wash chamber is less than the first preset amount of water, the method further comprises:
s51, controlling the driving motor to run at a reduced rotating speed, and detecting circuit parameters of the driving motor in the process that the driving motor runs at the reduced rotating speed;
It will be appreciated that the minimum water volume required for the wash chamber is different as the drive motor operates at different speeds. Therefore, if the driving motor operates at the current rotation speed, and the water quantity in the washing cavity cannot meet the rotation speed requirement, the current water quantity in the washing cavity can be matched with the rotation speed of the driving motor by reducing the rotation speed.
S52, if the parameter value of the circuit parameter is detected to reach a second parameter threshold value, acquiring a second target variation of the circuit parameter in the first detection duration;
And S53, if the second target variable quantity is smaller than a second preset variable quantity, determining that the current water quantity in the washing cavity is larger than or equal to a second preset water quantity, wherein the second preset water quantity is used for representing the lowest water quantity corresponding to dry heating of the heating element when the driving motor operates at the reduced rotating speed.
It can be understood that when the driving motor is operated at a reduced rotation speed, whether the current water quantity in the washing cavity is larger than or equal to a second preset water quantity is determined again according to the parameter value of the circuit parameter and the second variation, and the second preset water quantity is the lowest water quantity matched with the reduced rotation speed. Therefore, the rotating speed of the driving motor is matched with the current water quantity in the washing cavity, the condition of dry heating of the heating element caused by running at a higher rotating speed is prevented, and the running safety performance of all parts of the dish washing machine is improved.
The following describes embodiments of the apparatus of the present application that may be used to perform the methods of the above-described embodiments of the present application. For details not disclosed in the embodiments of the apparatus of the present application, please refer to the embodiments of the method of the present application.
Referring to fig. 3, there is shown a structural view of a water amount detecting device of a dish washer according to an embodiment of the present application.
As shown in fig. 3, according to a second aspect of the embodiment of the present application, there is provided a water amount detecting apparatus 200 of a dish washer including a driving motor, a washing chamber, and a heating element provided at a bottom of the washing chamber, the apparatus comprising:
A first obtaining unit 201, configured to detect a circuit parameter of the driving motor during the operation of the driving motor according to a target rotation speed;
a second obtaining unit 202, configured to obtain a first target variation of the circuit parameter within a first detection duration if it is detected that the parameter value of the circuit parameter reaches a first parameter threshold;
And the determining unit 203 is configured to determine that, if the first target variation is smaller than a first preset variation, a current water volume in the washing chamber is greater than or equal to a first preset water volume, where the first preset water volume is used to characterize that the heating element does not generate a minimum water volume corresponding to dry heating when the driving motor operates at the target rotation speed.
In some embodiments, based on the foregoing scheme, the first parameter threshold is determined as follows:
Acquiring a preset mapping relation table, wherein a plurality of rotating speeds of the driving motor and parameter thresholds corresponding to each rotating speed are recorded in the mapping relation table;
and searching a first parameter threshold corresponding to the target rotating speed in the mapping relation table.
In some embodiments, based on the foregoing scheme, the second obtaining unit 202 is specifically configured to:
And acquiring a maximum parameter value and a minimum parameter value of the circuit parameter in the first detection duration, and taking a difference value between the maximum parameter value and the minimum parameter value as the first target variation.
In some embodiments, based on the foregoing solution, the first detection duration includes N detection sub-durations, where N is a positive integer, and the second obtaining unit 202 is specifically configured to:
Acquiring a parameter mean value of each detection sub-duration, and determining a target difference value of the parameter mean value between two adjacent detection sub-durations;
And carrying out average processing on all the target difference values, and taking the result obtained by the average processing as the first target variable quantity.
In some embodiments, the first target variable amount includes a first sub-variable amount and a second sub-variable amount, the first detection duration includes M detection sub-durations, M is a positive integer, and the second obtaining unit 202 is specifically configured to:
Obtaining a maximum parameter value and a minimum parameter value of the circuit parameter in the first detection duration, and taking a difference value between the maximum parameter value and the minimum parameter value as a first sub-variation;
Acquiring a parameter mean value of each detection sub-duration, and determining a target difference value of the parameter mean value between two adjacent detection sub-durations;
and carrying out average processing on all the target difference values, and taking the result obtained by the average processing as a second sub-variable quantity.
In some embodiments, the first preset variation includes a first sub-variation threshold and a second sub-variation threshold, and the determining unit 203 is specifically configured to:
If the first sub-variation is smaller than the first sub-variation threshold and the second sub-variation is smaller than the second sub-variation threshold, determining that the current water quantity in the washing cavity is larger than or equal to a first preset water quantity.
In some embodiments, based on the foregoing, the apparatus 200 is further configured to:
And if the parameter value of the circuit parameter does not reach the first parameter threshold value within the second detection duration, determining that the current water quantity in the washing cavity is smaller than the first preset water quantity.
In some embodiments, after determining that the current amount of water in the wash chamber is less than the first preset amount of water, the apparatus 200 is further configured to:
controlling the dishwasher to fill water into the washing cavity;
After water injection is completed, returning to the step of acquiring the circuit parameters of the driving motor so as to determine whether the current water quantity in the washing cavity is greater than or equal to the first preset water quantity;
And if the current water quantity in the washing cavity is larger than or equal to the first preset water quantity, controlling the dish washer to wash according to the current water quantity.
In some embodiments, after determining that the current amount of water in the wash chamber is less than the first preset amount of water, the apparatus 200 is further configured to:
Controlling the driving motor to run at a reduced rotating speed, and detecting circuit parameters of the driving motor in the process that the driving motor runs at the reduced rotating speed;
if the parameter value of the circuit parameter is detected to reach a second parameter threshold value, acquiring a second target variation of the circuit parameter in the first detection duration;
if the second target variable quantity is smaller than a second preset variable quantity, determining that the current water quantity in the washing cavity is larger than or equal to a second preset water quantity, wherein the second preset water quantity is used for representing the lowest water quantity corresponding to dry heating of the heating element when the driving motor operates according to the reduced rotating speed.
According to a third aspect of embodiments of the present application, there is provided a computer readable storage medium having stored therein at least one computer program instruction that is loaded and executed by a processor to implement operations performed by a method as in any of the first aspects.
The computer readable storage medium may take the form of a portable compact disc read only memory (CD-ROM) and include program code that can be run on a terminal device, such as a personal computer. However, the computer-readable storage medium of the present application is not limited thereto, and in the present application, the readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device
The readable storage medium can be, for example, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of a readable storage medium include an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
Program code for carrying out operations of the present application may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of remote computing devices, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., connected via the Internet using an Internet service provider).
Referring to FIG. 4, a schematic diagram of a computer system suitable for use in implementing a dishwasher in accordance with an embodiment of the present application is shown.
According to a fourth aspect of embodiments of the present application, there is provided a dishwasher comprising one or more processors and one or more memories in which at least one piece of program code is stored, the at least one piece of program code being loaded and executed by the one or more processors to carry out operations as performed by the method of any of the first aspects.
As shown in fig. 4, dishwasher 400 is in the form of a general purpose computing device. The components of dishwasher 400 may include, but are not limited to, at least one processing unit 410 described above, at least one memory unit 420 described above, a bus 430 connecting the various system components, including memory unit 420 and processing unit 410.
Wherein the storage unit stores program code that is executable by the processing unit 410 such that the processing unit 410 performs steps according to various exemplary embodiments of the present application described in the above-described "example methods" section of the present specification.
The storage unit 420 may include readable media in the form of volatile storage units, such as Random Access Memory (RAM) 421 and/or cache memory 422, and may further include Read Only Memory (ROM) 423.
The storage unit 420 may also include a program/utility 424 having a set (at least one) of program modules 425, such program modules 425 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment.
Bus 430 may be a local bus representing one or more of several types of bus structures including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or using any of a variety of bus architectures.
The dishwasher 400 may also communicate with one or more external devices 500 (e.g., keyboard, pointing device, bluetooth device, etc.), one or more devices that enable a user to interact with the dishwasher 400, and/or any device (e.g., router, modem, etc.) that enables the dishwasher 400 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 450. Also, dishwasher 400 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN) and/or a public network, such as the Internet) via network adapter 460. As shown, the network adapter 460 communicates with other modules of the dishwasher 400 via the bus 430. It should be appreciated that although not shown, other hardware and/or software modules may be used in connection with dishwasher 400, including, but not limited to, microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The functions described herein may be implemented in hardware, software executed by a processor, firmware, or any combination thereof. If implemented in software that is executed by a processor, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Other examples and implementations are within the scope and spirit of the invention and the appended claims. For example, due to the nature of software, the functions described above may be implemented using software executed by a processor, hardware, firmware, hardwired, or a combination of any of these. In addition, each functional unit may be integrated in one processing unit, each unit may exist alone physically, or two or more units may be integrated in one unit.
In the several embodiments provided in the present application, it should be understood that the disclosed technology may be implemented in other manners. The above-described embodiments of the apparatus are merely exemplary, and the division of units may be a logic function division, and there may be another division manner in actual implementation, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some interfaces, units or modules, or may be in electrical or other forms.
The units described as separate components may or may not be physically separate, and components as control devices may or may not be physical units, may be located in one place, or may be distributed over a plurality of units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method of the various embodiments of the present invention. The storage medium includes a U disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a removable hard disk, a magnetic disk, or an optical disk, etc. which can store the program code.
The above is only an embodiment of the present application and is not intended to limit the present application, and various modifications and variations of the present application will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.