Laundry equipment control method and device, storage medium and laundry equipment
By capturing the sound of the drain pump and adjusting the drainage strategy, the noise and efficiency problems caused by the air sucked by the washing machine drain pump are solved, and a lower noise and higher efficiency laundry process is achieved.
Patent Information
- Application Number
- CN202311022426.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-14
- Publication Date
- 2025-02-21
AI Technical Summary
The drain pumps in existing washing machines suck air when pumping water, resulting in increased noise and reduced efficiency.
The sound of the drain pump is captured during the preset phase of the laundry equipment operation and control the drain pump to perform different drain strategies based on this sound, including pausing or adjusting the working status of the drain pump.
It effectively reduces the sound pollution of the equipment, improves the working efficiency of the washing machine, and extends the service life of the drainage pump.
Smart Images

Figure CN119491356A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of washing machine technology control, and specifically provides a control method, a control device, a storage medium and a washing machine. Background Art
[0002] In existing laundry equipment, the drain pump is one of the key components, which is used to extract and drain water from the drum during the washing process.
[0003] However, due to the low water level of the washing machine or other reasons, the drain pump will suck in air while pumping water. When the drain pump sucks in air, it will make a loud noise and reduce working efficiency. This not only increases the noise of the equipment, but may also affect the life and stability of the drain pump.
[0004] Accordingly, the art needs a new control solution for a drainage pump to solve the above problems. Summary of the invention
[0005] In order to overcome the above defects, the present invention is proposed to solve or at least partially solve the technical problem in the prior art that the drainage pump inhaling air will cause noise and reduce efficiency.
[0006] In a first aspect, the present invention provides a control method for a laundry device, wherein the laundry device includes a drainage pump, and the method includes: when the device is in a preset stage, obtaining the sound of the drainage pump when it is working; and controlling the drainage pump to execute different drainage strategies based on the sound.
[0007] As an alternative or supplement to the above scheme, in a method according to an embodiment of the present invention, the laundry device also includes a drum, and the method also includes: obtaining the water level in the drum; "controlling the drainage pump to execute different drainage strategies based on the sound", including: controlling the drainage pump to execute different drainage strategies based on the sound and the water level in the drum.
[0008] As an alternative or supplement to the above scheme, in a method according to an embodiment of the present invention, "controlling the drainage pump to execute different drainage strategies based on the sound" includes: judging the working state of the drainage pump based on the sound, wherein the working state of the drainage pump is the state corresponding to the different media being pumped by the drainage pump at this time; and controlling the drainage pump to execute different drainage strategies based on the working state of the drainage pump.
[0009] As an alternative or supplement to the above scheme, in a method according to an embodiment of the present invention, the working state of the drainage pump includes at least a first working state and a second working state, wherein the first working state is the working state when the drainage pump extracts a medium that is gas or a mixture of gas and liquid, and the second working state is the working state when the drainage pump extracts a medium that is liquid; "controlling the drainage pump to execute different drainage strategies based on the working state of the drainage pump" includes: if the drainage pump is in the first working state, pausing the drainage pump until a preset condition is met and then starting the drainage pump to drain water; and / or, the working state of the drainage pump also includes a third working state, wherein the third working state is the working state when the drainage pump extracts foam; if the drainage pump is in the third working state, starting the corresponding drainage strategy to control the drainage pump to drain water.
[0010] As an alternative or supplement to the above scheme, in a method according to an embodiment of the present invention, the laundry device also includes a drum, and the method also includes: obtaining the water level in the drum; "controlling the drainage pump to execute different drainage strategies based on the working state of the drainage pump", including: controlling the drainage pump to execute different drainage strategies based on the working state of the drainage pump and the water level in the drum.
[0011] As an alternative or supplement to the above scheme, in a method according to an embodiment of the present invention, the working state of the drain pump includes at least a first working state and a second working state, wherein the first working state is the working state when the medium pumped by the drain pump is gas or a mixture of gas and liquid, and the second working state is the working state when the medium pumped by the drain pump is liquid; "controlling the drain pump to execute different drainage strategies based on the working state of the drain pump and the water level in the drum" includes: if the drain pump is in the first working state, and the water level in the drum is greater than a preset first water level threshold, controlling the drain pump to continue draining.
[0012] As an alternative or supplement to the above scheme, in a method according to an embodiment of the present invention, the preset condition includes that the pause time of the drain pump is greater than or equal to a preset first time threshold; "starting the drain pump for drainage until the preset condition is met" includes: when the pause time of the drain pump is greater than or equal to the preset first time threshold, starting the drain pump for drainage; and / or obtaining the water level in the drum; the preset condition includes that the water level in the drum is greater than or equal to a preset first water level threshold; "starting the drain pump for drainage until the preset condition is met" includes: when the water level in the drum is greater than or equal to the preset first water level threshold, starting the drain pump for drainage.
[0013] As an alternative or supplement to the above scheme, in a method according to an embodiment of the present invention, "determining the working status of the drainage pump based on the sound" includes: inputting the sound into a trained working status detection neural network to obtain the working status of the drainage pump.
[0014] As an alternative or supplement to the above scheme, in a method according to an embodiment of the present invention, "determining the working status of the drainage pump based on the sound" includes: obtaining the first audio information corresponding to the sound based on the sound, wherein the first audio information includes at least one of the frequency characteristics, amplitude characteristics or phase characteristics of the sound; based on the first audio information, judging the working status of the drainage pump.
[0015] As an alternative or supplement to the above scheme, in a method according to an embodiment of the present invention, when the first audio information includes the frequency characteristic of the sound, "based on the first audio information, judging the working state of the drainage pump" includes: judging whether the frequency characteristic is within a preset first frequency interval; if the frequency characteristic is within the preset first frequency interval, judging that the drainage pump is in the first working state; and / or, when the first audio information includes the amplitude characteristic of the sound, "based on the first audio information, judging the working state of the drainage pump" includes: judging whether the amplitude characteristic is within a preset first amplitude interval; if the amplitude characteristic is within the preset first amplitude interval, judging that the drainage pump is in the first working state; and / or, when the first audio information includes the phase characteristic of the sound, "based on the first audio information, judging the working state of the drainage pump" includes: judging whether the phase characteristic is within a preset first phase interval; if the phase characteristic is within the preset first phase interval, judging that the drainage pump is in the first working state.
[0016] In a second aspect, a control device is provided, which includes a processor and a storage device, wherein the storage device is suitable for storing multiple computer programs, and the computer programs are suitable for being loaded and run by the processor to execute the control method of the laundry device described in any one of the technical solutions of the above-mentioned control method of the laundry device.
[0017] In a third aspect, a computer-readable storage medium is provided, which stores a plurality of computer programs, wherein the computer programs are suitable for being loaded and run by a processor to execute the control method for the laundry device described in any one of the technical solutions of the control method for the laundry device.
[0018] In a fourth aspect, a laundry device is provided, comprising: an audio sensor and a control device; wherein the audio sensor is used to collect the audio of a drainage pump; and the control device is used to run a control method for the laundry device as described in any one of the technical solutions of the control method for the above-mentioned laundry device.
[0019] The above one or more technical solutions of the present invention have at least one or more of the following Beneficial effects:
[0020] In the technical solution of the present invention, by capturing the sound of the drain pump when it is running in a preset stage, and controlling the drain pump to execute different drainage strategies based on the sound, this solution directly solves the problem of huge noise and reduced efficiency caused by the drain pump sucking in air, thereby significantly reducing the sound pollution of the equipment and improving its working efficiency. In addition, by optimizing the drainage strategy, the working stability of the drain pump is enhanced, further extending its service life. In summary, this solution ensures the smooth and efficient operation of the laundry process, while optimizing the user experience and reducing the demand and cost of equipment maintenance. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] The disclosure of the present invention will become more easily understood with reference to the accompanying drawings. It will be readily understood by those skilled in the art that these drawings are only for illustrative purposes and are not intended to limit the scope of protection of the present invention. In addition, similar numbers in the drawings represent similar components, wherein:
[0022] Figure 1 is a flow chart of main steps of a control method for a laundry device according to an embodiment of the present invention;
[0023] Figure 2 is a flowchart of the minor steps of a control method for a laundry device according to an embodiment of the present invention;
[0024] Figure 3 1 is a flow chart of the main steps of a control method for a laundry device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0025] Some embodiments of the present invention are described below with reference to the accompanying drawings. It should be understood by those skilled in the art that these embodiments are only used to explain the technical principles of the present invention and are not intended to limit the protection scope of the present invention.
[0026] In the description of the present invention, "module" and "processor" may include hardware, software or a combination of the two. A module may include hardware circuits, various suitable sensors, communication ports, and memories, and may also include software parts, such as computer programs, or a combination of software and hardware. The processor may be a central processing unit, a microprocessor, an image processor, a digital signal processor, or any other suitable processor. The processor has data and / or signal processing functions. The processor may be implemented in software, hardware, or a combination of the two. Non-temporary computer-readable storage media include any suitable medium that can store computer programs, such as magnetic disks, hard disks, optical disks, flash memory, read-only memory, random access memory, etc. The term "A and / or B" means all possible combinations of A and B, such as only A, only B, or A and B. The term "at least one A or B" or "at least one of A and B" has a similar meaning to "A and / or B", and may include only A, only B, or A and B. The singular terms "one" and "the" may also include plural forms.
[0027] Embodiment 1:
[0028] See attached Figure 1 , Figure 1 FIG. 1 is a flow chart showing the main steps of a control method for a laundry device according to an embodiment of the present invention. Figure 1 As shown, the control method of the laundry device in the embodiment of the present invention mainly includes the following steps S10 to S20.
[0029] Step S10: When the device is in the preset stage, the sound of the drainage pump when it is working is obtained.
[0030] In this embodiment, the laundry machine includes a drainage pump, and the laundry machine obtains the sound of the drainage pump when it is working through the audio sensor.
[0031] In one embodiment, the preset stage is a stage in which the drain pump is in operation, such as a dehydration stage or a drainage stage. In this embodiment, the drain pump is a key component of the washing machine and is responsible for effectively removing waste water and other media during the washing process. However, the drain pump will produce different sounds when handling different media (such as pure liquid, gas, or a mixture of gas and liquid), which are a direct reflection of the internal dynamics of the drain pump, the liquid flow rate, and the liquid composition.
[0032] For example, when the drain pump discharges gas or a mixture of gas and liquid, its sound is different from when it only discharges liquid. This is because the characteristics of liquid and gas are different, resulting in different sound characteristics when the drain pump is working. Specifically, when the drain pump discharges gas or a mixture of gas and liquid, due to the compressibility and vibration of the gas, the working sound of the drain pump will be sharper or have a certain frequency of vibration. In contrast, when the drain pump only discharges liquid, its sound is usually smoother and lower.
[0033] In this embodiment, this phenomenon is used to determine the state of the drainage pump, and for this purpose, the sound of the drainage pump when it is working is obtained when the device is running in a preset stage. In this way, by comparing the sound in actual operation with the preset sound characteristics, the working state of the drainage pump can be determined in real time and accurately.
[0034] In addition, this method is non-invasive, does not cause any damage to the drain pump, and has relatively low installation and maintenance costs. In summary, by obtaining the sound of the drain pump at work in the preset stage and using the sound characteristics to judge the working status, it can not only ensure the normal operation of the washing machine, but also bring a better user experience.
[0035] Step S20: Controlling the drainage pump to execute different drainage strategies based on the sound.
[0036] In this embodiment, the drainage strategy is to adjust the drainage operation method of the drainage pump according to the state of the drainage pump.
[0037] In one embodiment, different drainage strategies are implemented through steps S201-S202, such as Figure 2 As shown, the details are as follows:
[0038] Step S201: Determine the working status of the drainage pump based on the sound.
[0039] In this embodiment, the working state of the drainage pump is the corresponding state when the drainage pump is pumping different media.
[0040] In one embodiment, the working state of the drain pump includes at least a first working state and a second working state, wherein the first working state is the working state when the drain pump discharges gas or a mixture of gas and liquid, and the second working state is the working state when the drain pump discharges liquid.
[0041] In this embodiment, the working state of the drainage pump can be determined by various methods such as algorithms, deep learning or neural networks. In this embodiment, the working state of the drainage pump is determined by an algorithm, specifically by steps S201-1 to S201-2, as follows:
[0042] Step S201 - 1 : obtaining first audio information corresponding to the sound based on the sound.
[0043] In this embodiment, the first audio information includes at least one of a frequency feature, an amplitude feature or a phase feature of the sound.
[0044] In one implementation, after preprocessing the sound, an audio intermediate signal is obtained, and feature extraction is performed based on the audio intermediate signal to obtain the first audio information. Specifically, as follows:
[0045] In order to obtain the first audio information, the captured sound is first preprocessed. Since the raw data captured by the audio sensor often contains a lot of unwanted noise and interference, through proper preprocessing, key information about the working status of the drainage pump can be more effectively extracted.
[0046] In this embodiment, a simple digital filtering method, such as a moving average method, can be used for preprocessing. The moving average method can effectively smooth data and reduce short-term random noise. The principle is to consider a window containing a fixed number of continuous data points. The average value is calculated for all data points in the window, then the window is moved forward by one data point, and the average value in the new window is recalculated. In this way, each data point will have a corresponding filter output, that is, the average value of the point and its surrounding data points. The moving average method does not require complex mathematical operations or a large amount of storage space, so it is very suitable for single-chip microcomputer applications. In addition, the moving average method can also effectively smooth short-term random noise and improve the signal-to-noise ratio of the data.
[0047] In this embodiment, if the entire algorithm program is implemented based on a single chip microcomputer on the laundry device, since the computing resources of the single chip microcomputer are limited, the moving average method, as a filtering method that can save resources, is more suitable for the calculation on the single chip microcomputer.
[0048] Similarly, in the preprocessing step, in order to prevent the baseline of the sensor from being offset, a linear fitting or low-pass filtering method can be used to further preprocess the data. After the preprocessing operation, an audio intermediate signal is obtained.
[0049] Then, feature extraction is performed based on the audio intermediate signal to obtain the first audio information.
[0050] In this embodiment, different characteristics of the sound when the drainage pump is working are obtained through different methods, which are illustrated one by one here.
[0051] If the first audio information is the frequency characteristics of the sound, the frequency characteristics are mainly extracted by fast Fourier transform (FFT). The details are as follows:
[0052] Fast Fourier Transform (FFT) is a method of converting a time domain signal into a frequency domain. Before applying FFT, the audio intermediate signal is divided into many small time windows. Preferably, in this embodiment, a larger window is used to obtain better frequency resolution. In the obtained spectrum, a simple local maximum search algorithm is used to identify the peaks. These peak positions represent the main frequency components of the audio signal. In some cases, the audio signal of the drainage pump may contain a fundamental frequency and multiple harmonics. By identifying these harmonics, more dimensional information can be provided for the state analysis of the drainage pump.
[0053] If the first audio information is the amplitude feature of the sound, the amplitude feature is mainly extracted through time domain analysis. The details are as follows:
[0054] Time domain analysis is a direct observation of the amplitude of the audio intermediate signal, which can provide information about the strength or power of the signal. The change in amplitude, rise, fall, and width of the waveform may all hint at different working conditions of the drainage pump. In order to better track the change in amplitude, a low-pass filter is used to track the amplitude envelope of the audio intermediate signal. In addition, by calculating different statistics of the audio intermediate signal, such as mean, standard deviation, skewness, kurtosis, and total energy or energy density, a more comprehensive understanding of the working condition of the drainage pump can be obtained from different angles of amplitude distribution.
[0055] If the first audio information is the phase feature of the sound, the phase feature is mainly extracted by Hilbert transform. The details are as follows:
[0056] Phase is an important characteristic of periodic signals. For a periodic audio intermediate signal, the phase is obtained by calculating the phase difference between two adjacent periods. In order to improve stability, preferably, in this embodiment, the average phase difference of multiple periods can be considered. By Hilbert transform, the envelope and instantaneous frequency of the audio intermediate signal can be obtained.
[0057] Step S201 - 2 : Based on the first audio information, determine the working state of the drainage pump.
[0058] In this embodiment, the audio features captured in real time are compared with predetermined audio feature intervals, which represent the range of frequency, amplitude and phase features of the drainage pump under different known working conditions.
[0059] In one embodiment, the corresponding judgment is made based on an algorithm. In this embodiment, the first working state is mainly judged. At this time, due to the influence of gas, the noise of the water pump will become louder, and the working state of the drainage pump is judged based on the first audio information, as follows:
[0060] The system checks whether the frequency feature extracted in real time falls within the preset first frequency interval. If it is indeed within this interval, it can be determined that the drain pump is processing a specific medium. In this embodiment, when the frequency feature matches the preset first frequency interval, it indicates that the drain pump is extracting gas or a mixture of gas and liquid, that is, it is in the first working state. This state is because the drain pump is extracting a liquid containing a large number of bubbles, or the drain pump is close to idling, and most of the extracted is air.
[0061] On the other hand, the system can also use the amplitude characteristics to determine the working state of the drainage pump. The amplitude change reflects the properties of the medium or the working efficiency of the drainage pump. When the amplitude characteristics extracted from the sound fall within the preset first amplitude range, combined with the frequency characteristics, this further confirms that the drainage pump is in the first working state, that is, the extracted medium is gas or a mixture of gas and liquid.
[0062] On the other hand, the system can also use the phase feature to determine the working state of the water pump. The phase is generally not easy to change. When the phase feature extracted in real time matches the preset first phase interval, it means that the water pump is in the first working state.
[0063] Step S202: controlling the drainage pump to execute different drainage strategies based on the working state of the drainage pump.
[0064] In this embodiment, the working state information of the drainage pump obtained in the previous step is converted into specific operations to ensure that the drainage pump adopts the best drainage strategy according to the actual situation. This not only helps to optimize the efficiency of the drainage pump, but also ensures its long-term stable and safe operation.
[0065] In one embodiment, after determining the working state of the drain pump, the control module selects a corresponding drainage strategy based on preset parameters and strategy libraries. These strategy libraries are developed based on a large number of experiments and practical application experience, and are intended to provide optimal operating parameters for specific working states. For example, if it is determined that the drain pump is extracting gas or a mixture of gas and liquid, the control module may choose to reduce the speed of the drain pump to reduce bubble generation, or start a degassing program to ensure that there is no gas accumulation in the system. This not only ensures the effective operation of the drain pump, but also avoids possible damage caused by bubbles.
[0066] In this embodiment, preferably, different drainage strategies are executed through steps S202-1 to S202-2, as follows:
[0067] Step S202-1: If the drainage pump is in the first working state, the drainage pump is suspended until a preset condition is met and then the drainage pump is started to drain water.
[0068] In this embodiment, the preset condition is a pre-set condition.
[0069] In one embodiment, when the drainage pump extracts gas or a mixture of gas and liquid, there are some obvious drawbacks. When the drainage pump extracts pure gas or a gas-liquid mixture, it will cause increased noise during operation. Secondly, extracting gas or a gas-liquid mixture will reduce the working efficiency of the drainage pump.
[0070] Therefore, if the drainage pump is in the first working state, the drainage pump is suspended until the preset conditions are met and then the drainage pump is started to drain water.
[0071] In this embodiment, the preset condition includes that the suspension time of the drain pump is greater than or equal to a preset first time threshold. The starting point of this strategy is to take into account that in some cases, the drain pump may enter the first working state due to temporary reasons, such as air accumulation. But as time goes by, especially during the period when the drain pump is suspended, the clothes in the drum may release more moisture due to the centrifugal drying effect. Therefore, by setting a preset first time threshold, the system can ensure that there is enough time for the clothes in the drum to release more moisture. When the suspension time of the drain pump reaches or exceeds this preset time, the drain pump is started again. At this time, the drain pump is likely to extract pure liquid, avoiding the situation of extracting gas.
[0072] In another embodiment, the water level in the drum is obtained; the preset condition includes that the water level in the drum is greater than or equal to a preset first water level threshold. The water level in the drum is a direct criterion for determining whether the drain pump should be started. If the water level is higher than the preset first water level threshold, it means that enough water has accumulated in the drum, and starting the drain pump will be more likely to extract pure liquid, thereby improving work efficiency.
[0073] Step S202-2: If the drainage pump is in the third working state, start the corresponding drainage strategy to control the drainage pump to drain water.
[0074] In this embodiment, the working state of the drainage pump further includes a third working state, wherein the third working state is the working state when the drainage pump extracts foam.
[0075] In one embodiment, an interval drainage method is adopted. Specifically, when the system detects that the drainage pump enters the third working state, that is, the foam extraction state, it will start an interval timer. Within the set period of the interval timer, the drainage pump will start and run for a short time, and then stop working in the next time period. Such a cyclic operation allows the foam to have enough time to dissipate, while ensuring that the drainage pump can effectively drain water in a short time. This method can effectively avoid the risk of foam blockage and excessive generation.
[0076] In addition, considering that different washing processes or detergents may lead to different concentrations and stability of foam, a foam detection sensor may be added to the drainage strategy. This sensor can monitor the concentration and stability of foam in the drum in real time. When the foam drops below a safe level, the system will start the drainage pump at full speed instead of using interval drainage, thereby improving drainage efficiency.
[0077] In general, facing the special working conditions of the drainage pump extracting foam, this control strategy not only ensures the safety and long life of the equipment, but also maximizes the drainage efficiency while ensuring the drainage effect.
[0078] Embodiment 2:
[0079] Most of the techniques in this embodiment are the same as those in Embodiment 1, except that the water level is also considered when controlling the drainage strategy in this embodiment. Other than that, the remaining techniques are the same as those in Embodiment 1 and will not be described in detail here. Figure 3 As shown, the details are as follows:
[0080] Step S30: obtaining the water level in the drum.
[0081] In one embodiment, accurate monitoring of the water level in the drum together with previously captured sound characteristics determines the drainage strategy.
[0082] In this embodiment, the water level in the drum is obtained by a water level gauge.
[0083] Step S203: Controlling the drainage pump to execute different drainage strategies based on the sound and the water level in the drum.
[0084] In one implementation, different drainage strategies are executed in step S203-1, as follows:
[0085] Step S203 - 1 : controlling the drain pump to execute different drainage strategies based on the working state of the drain pump and the water level in the drum.
[0086] In this embodiment, the comprehensive consideration of the working state of the drainage pump and the water level in the drum can better determine the drainage strategy. Combining these two types of information can ensure that drainage is performed at an appropriate time, thereby improving drainage efficiency.
[0087] In one embodiment, if the drain pump is in the first working state, and the water level in the drum is greater than a preset first water level threshold, the drain pump is controlled to continue draining. Specifically, when the water level in the drum is high, it forms an obvious water column pressure. This means that under this condition, water has a greater driving force, even if the drain pump is currently pumping gas or a gas-liquid mixture. Therefore, when the pumping operation continues, water will flow into the drain pump at a relatively high speed, and this rapid inflow forces the gas inside the drain pump to be discharged quickly.
[0088] In summary, by comprehensively considering the working status of the drainage pump and the water level in the drum, the system can control the drainage strategy more intelligently and efficiently, thereby ensuring the stable and long-term operation of the equipment, while saving energy and improving overall efficiency.
[0089] Embodiment 3:
[0090] Most of the techniques in this embodiment are the same as those in Embodiment 1, except for step S201 in this embodiment. Other techniques are the same as those in Embodiment 1, and will not be described in detail here.
[0091] Step S203: Input the sound into the trained working status detection neural network to obtain the working status of the drainage pump
[0092] In one embodiment, this method is implemented in the cloud, that is, the sound is uploaded to the cloud and the calculation results of the cloud are returned to the laundry device.
[0093] First, the sound data is preprocessed. The quality and characteristics of sound data play a key role in the application of neural networks. Before starting the analysis, we must first ensure that the sound data is properly preprocessed to meet the input requirements of the model. This process includes multiple steps such as sound sampling, regularization, and feature extraction.
[0094] Then, spectrum analysis is performed. For example, through Fourier transform or short-time Fourier transform, the frequency characteristics of the sound signal can be extracted to obtain key information about the characteristics of the sound. In addition, statistical feature analysis of the sound signal is also very helpful for the accuracy of the model. This includes calculating the mean, variance, kurtosis and skewness of the sound to reveal the inherent structure and characteristics of the sound data.
[0095] The choice of neural network model should be based on the specific application scenario and data characteristics. For sound data, convolutional neural network (CNN) and recurrent neural network (RNN) have their unique application value.
[0096] CNN, due to its excellent feature extraction ability, is particularly suitable for processing data with spatial structure. For example, in the spectrogram of sound, CNN can identify specific patterns or structures, thereby performing effective classification or regression. RNN, especially some of its variants such as long short-term memory network (LSTM), is widely used due to its ability to process sequence data. It can capture the temporal characteristics in sound data, thereby better understanding the structure and changes of sound.
[0097] After being processed by a multi-layer neural network, the sound data is converted into a highly abstract feature representation. At the end of the neural network, a fully connected layer, also called a densely connected layer, plays a "decision-making" role. This layer outputs a probability distribution vector, where each element corresponds to a possible working state.
[0098] In fact, the state corresponding to the largest probability value is usually regarded as the neural network's prediction or judgment of the current sound data. For example, if the drainage pump has three possible working states, then each value of the output vector represents the probability that the current sound data belongs to each state. The state represented by the largest probability value is the output result of the neural network.
[0099] It should be pointed out that although the various steps in the above embodiments are described in a specific order, those skilled in the art can understand that in order to achieve the effects of the present invention, different steps do not have to be performed in such an order. They can be performed simultaneously (in parallel) or in other orders. These changes are within the scope of protection of the present invention.
[0100] It is understood by those skilled in the art that the present invention implements all or part of the processes in the method of the above embodiment, and can also be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of each of the above method embodiments when executed by the processor. Among them, the computer program includes a computer program, and the computer program can be in source code form, object code form, executable file or some intermediate form. The computer-readable storage medium may include: any entity or device, medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory, random access memory, electric carrier signal, telecommunication signal and software distribution medium that can carry the computer program. It should be noted that the content contained in the computer-readable storage medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, the computer-readable storage medium does not include electric carrier signals and telecommunication signals.
[0101] Furthermore, the present invention also provides a control device. In an embodiment of a control device according to the present invention, the control device includes a processor and a storage device, the storage device can be configured to store a program for executing the control method of the laundry device of the above method embodiment, and the processor can be configured to execute the program in the storage device, which includes but is not limited to the program for executing the control method of the laundry device of the above method embodiment. For ease of explanation, only the parts related to the embodiment of the present invention are shown. For specific technical details not disclosed, please refer to the method part of the embodiment of the present invention. The control device can be a control device device formed by various electronic devices.
[0102] Furthermore, the present invention also provides a computer-readable storage medium. In a computer-readable storage medium embodiment according to the present invention, the computer-readable storage medium can be configured to store a program for executing the control method of the laundry device of the above method embodiment, and the program can be loaded and run by the processor to implement the control method of the laundry device. For ease of explanation, only the parts related to the embodiment of the present invention are shown. For specific technical details not disclosed, please refer to the method part of the embodiment of the present invention. The computer-readable storage medium can be a storage device formed by various electronic devices. Optionally, the computer-readable storage medium in the embodiment of the present invention is a non-temporary computer-readable storage medium.
[0103] Furthermore, the present invention also provides a laundry device, comprising: an audio sensor and a control device; wherein the audio sensor is used to collect the audio of a drainage pump; and the control device is used to run to execute the laundry device control method described in any one of the technical solutions of the above-mentioned laundry device control method.
[0104] Further, it should be understood that since the setting of each module is only for illustrating the functional units of the device of the present invention, the physical devices corresponding to these modules may be the processor itself, or a part of the software in the processor, a part of the hardware, or a part of the combination of software and hardware. Therefore, the number of each module in the figure is only schematic.
[0105] Those skilled in the art will appreciate that the modules in the device can be adaptively split or merged. Such splitting or merging of specific modules will not cause the technical solution to deviate from the principle of the present invention, and therefore, the technical solutions after splitting or merging will fall within the protection scope of the present invention.
[0106] So far, the technical solutions of the present invention have been described in conjunction with the preferred embodiments shown in the accompanying drawings. However, it is easy for those skilled in the art to understand that the protection scope of the present invention is obviously not limited to these specific embodiments. Without departing from the principle of the present invention, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will fall within the protection scope of the present invention.
Claims
1. A control method for a laundry appliance, characterized in that: The laundry appliance includes a drain pump, and the method includes: When the device is in a preset stage, obtaining the sound of the drainage pump when it is working; The drainage pump is controlled to execute different drainage strategies based on the sound.
2. The control method of the laundry equipment according to claim 1, characterized in that: The laundry device further includes a drum, and the method further includes: Get the water level in the drum; "Controlling the drainage pump to execute different drainage strategies based on the sound", including: The drain pump is controlled to perform different drainage strategies based on the sound and the water level in the drum.
3. The control method of the laundry equipment according to claim 1, characterized in that: "Controlling the drainage pump to execute different drainage strategies based on the sound", including: Determine the working state of the drainage pump based on the sound, wherein the working state of the drainage pump is the corresponding state of the drainage pump when pumping different media at this time; The drainage pump is controlled to execute different drainage strategies based on the working state of the drainage pump.
4. The control method of the laundry equipment according to claim 3, characterized in that: The working state of the drainage pump at least includes a first working state and a second working state, wherein the first working state is a working state when the medium pumped by the drainage pump is gas or a mixture of gas and liquid, and the second working state is a working state when the medium pumped by the drainage pump is liquid; “Controlling the drainage pump to execute different drainage strategies based on the working state of the drainage pump” includes: If the drainage pump is in the first working state, the drainage pump is suspended until the preset condition is met and then the drainage pump is started to drain water; And / or, the working state of the drainage pump further includes a third working state, wherein the third working state is a working state when the drainage pump extracts foam; If the drainage pump is in the third working state, the corresponding drainage strategy is started to control the drainage pump to drain water.
5. The control method of the laundry machine according to claim 3, characterized in that: The laundry device further includes a drum, and the method further includes: Get the water level in the drum; “Controlling the drainage pump to execute different drainage strategies based on the working state of the drainage pump” includes: The drain pump is controlled to execute different drainage strategies based on the working state of the drain pump and the water level in the drum.
6. The control method of the laundry machine according to claim 5, characterized in that: The working state of the drainage pump at least includes a first working state and a second working state, wherein the first working state is a working state when the medium pumped by the drainage pump is gas or a mixture of gas and liquid, and the second working state is a working state when the medium pumped by the drainage pump is liquid; “Controlling the drainage pump to execute different drainage strategies based on the working state of the drainage pump and the water level in the drum” includes: If the drainage pump is in the first working state, and the water level in the drum is greater than a preset first water level threshold, the drainage pump is controlled to continue draining water.
7. The control method of the laundry machine according to claim 4, characterized in that: The preset condition includes that the suspension time of the drainage pump is greater than or equal to a preset first time threshold; "Start the drainage pump to drain water until the preset conditions are met", including: When the suspension time of the drainage pump is greater than or equal to a preset first time threshold, starting the drainage pump to drain water; and / or, obtaining the water level in the drum; The preset condition includes that the water level in the drum is greater than or equal to a preset first water level threshold; "starting the drainage pump to drain water when the preset condition is met" includes: When the water level in the drum is greater than or equal to a preset first water level threshold, the drainage pump is started to drain water.
8. A control device, comprising a processor and a storage device, wherein the storage device is suitable for storing a plurality of computer programs, characterized in that: The computer program is suitable for being loaded and run by the processor to execute the control method of the laundry appliance according to any one of claims 1 to 7.
9. A computer-readable storage medium storing a plurality of computer programs, characterized in that: The computer program is suitable for being loaded and run by a processor to execute the control method of the laundry appliance according to any one of claims 1 to 7.
10. A laundry device, characterized in that: The laundry appliance comprises: an audio sensor and a control device; wherein the audio sensor is used to collect the audio of a drainage pump; and the control device is used to operate to execute the control method for the laundry appliance according to any one of claims 1 to 7.