Self-cleaning methods and devices for smart appliances
By generating a controllable water hammer effect through the energy storage chamber and solenoid valve system in the smart appliance, the problem of oil clogging in the dishwasher's drainage system is solved, achieving a highly efficient and low-energy self-cleaning effect.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- NINGBO FOTILE KITCHEN WARE CO LTD
- Filing Date
- 2026-04-08
- Publication Date
- 2026-05-26
Smart Images

Figure CN122074864A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of smart electrical appliance technology, and in particular to a self-cleaning method and apparatus for smart electrical appliances. Background Technology
[0002] With the improvement of modern living standards and the popularization of technologies such as artificial intelligence, home appliances are increasingly developing towards intelligence and multi-functionality. Under this trend, the long-term reliable operation of the drainage system of dishwashers, as an important piece of kitchen equipment, is particularly crucial.
[0003] Currently, the industry generally adopts three main solutions to address the problem of drainage branch pipes being clogged due to grease buildup: first, regularly flushing the pipes with high-temperature wastewater (usually exceeding 70°C) generated by the washing process to dissolve the grease; second, adding specialized chemical cleaning agents during the usage cycle, relying on their strong chemical properties to decompose the grease; and third, installing filters or cutting devices in the drainage path to intercept and break up residues, or manually and mechanically clearing the blockage after it occurs. However, these existing methods all have significant limitations: high-temperature flushing has limited effectiveness in removing stubborn grease that has cooled and solidified, and continuous heating leads to high energy consumption; chemical cleaning agents may leave harmful residues, posing a risk of corrosion to internal machine components, and causing secondary pollution and increased user costs. Summary of the Invention
[0004] This application provides a self-cleaning method and apparatus for smart appliances, which can achieve the cleaning of oil stains in drainage pipes by using a controllable water hammer effect, thereby improving the self-cleaning effect of smart appliances.
[0005] On one hand, this application provides a self-cleaning method for a smart appliance, the smart appliance comprising a drain pump, an energy storage chamber, a solenoid valve, and a drain pipe connected in sequence, the energy storage chamber comprising a water storage chamber and a gas storage chamber separated from each other, the water storage chamber being connected to the drain pump and the solenoid valve respectively, the method comprising: During the drainage process of the smart appliance, the oil content value in the drainage pipe is obtained; If the oil content value is greater than or equal to a preset oil content threshold, the drain pump and the solenoid valve are controlled to close, so that the pressure in the water storage chamber is greater than the pressure in the air storage chamber; the preset oil content threshold is the lower limit value of the oil in the drain pipe that needs to be cleaned. Real-time detection of the first cumulative closing time of the solenoid valve; If the first cumulative closing time is greater than or equal to the first preset closing time, the cumulative number of closing times of the solenoid valve is obtained, and the solenoid valve is controlled to open; so that the water in the water storage chamber flows into the drain pipe through the solenoid valve to flush the oil stains in the drain pipe. Based on the cumulative number of closures and the preset number of closures, a real-time cleaning strategy is generated, and the oil stains in the drainage pipe are cleaned based on the real-time cleaning strategy.
[0006] In one exemplary embodiment, obtaining the oil content value in the drainage pipe during the drainage process of the smart appliance includes: During the drainage process of the smart appliance, the reference water flow rate value of the drainage pipe, the set of grease content values in a preset time period, the set of water flow rate values, and the current water flow rate value at the current moment are obtained; the preset time period is the time period ending at the current moment. Based on the set of grease content values and the set of water flow values for the preset time period, the average grease accumulation in the drainage pipe during the preset time period is determined. The flow attenuation rate of the drainage pipe is determined based on the reference water flow rate and the current water flow rate. The oil content in the drainage pipe is determined based on the average grease accumulation and the flow rate attenuation rate.
[0007] In one exemplary embodiment, the preset time period includes at least two data collection times; determining the average grease accumulation in the drainage pipe during the preset time period based on the set of grease content values and the set of water flow values during the preset time period includes: Calculate the product between the grease content value and the water flow rate value corresponding to each of the at least two sampling times to obtain the grease mass value of the drainage pipe at each of the at least two sampling times. Calculate the sum of the grease mass values corresponding to each of the at least two sampling times to obtain the total grease mass value of the drainage pipe at the at least two sampling times; The average grease accumulation in the drainage pipe is determined based on the total grease mass value and the preset time period.
[0008] In one exemplary embodiment, determining the flow attenuation rate of the drainage pipe based on the reference water flow rate value and the current water flow rate value includes: The difference between the reference water flow rate and the current water flow rate is calculated to obtain the water flow rate difference. The flow rate attenuation rate is obtained by calculating the ratio between the water flow rate difference and the reference water flow rate value.
[0009] In one exemplary embodiment, determining the oil content value in the drainage pipe based on the average grease accumulation and the flow rate attenuation includes: Obtain the grease accumulation weight and flow rate weight corresponding to the drainage pipe; The average oil accumulation is normalized to obtain the processed oil accumulation. The weighted cumulative amount of oil is obtained by multiplying the cumulative amount of oil after processing with the weight of the cumulative amount of oil. The weighted flow attenuation rate is obtained by multiplying the flow attenuation rate and the flow weight. The oil content value is obtained by summing the weighted cumulative amount of grease and the weighted flow rate attenuation rate.
[0010] In one exemplary embodiment, after obtaining the cumulative number of closures of the solenoid valve and controlling the solenoid valve to open when the first cumulative closing time is greater than or equal to the first preset closing time, the method further includes: Real-time monitoring of the cumulative opening time of the solenoid valve; The step of generating a real-time cleaning strategy based on the cumulative number of closures and a preset number of closures, and cleaning the grease in the drainage pipe based on the real-time cleaning strategy, includes: If the cumulative number of closures is less than the preset number of closures, obtain the first pressure value of the drainage pipe; If the first pressure value is less than or equal to the target pressure threshold, the second preset closing time of the solenoid valve is determined based on the target pressure threshold, the first pressure value, and the first preset closing time. When the cumulative opening time is greater than or equal to the preset opening time, the solenoid valve is controlled to close, and the second cumulative closing time of the solenoid valve is detected in real time. When the second cumulative closing time is greater than or equal to the second preset closing time, the solenoid valve is controlled to open to clean the oil stains in the drainage pipe.
[0011] In one exemplary embodiment, determining the second preset closing time of the solenoid valve based on the target pressure threshold, the first pressure value, and the first preset closing time if the first pressure value is less than or equal to a target pressure threshold includes: If the first pressure value is less than or equal to the target pressure threshold, calculate the difference between the target pressure threshold and the first pressure value to obtain the pressure difference. The target adjustment time of the solenoid valve is determined based on the pressure difference. The second preset closing time is obtained by calculating the sum between the first preset closing time and the target adjustment time.
[0012] In one exemplary embodiment, controlling the drainage pump and the solenoid valve to close if the oil content value is greater than or equal to a preset oil content threshold includes: If the oil content value is greater than or equal to the preset oil content threshold, obtain the cumulative running time of the drainage pump, the preset average drainage flow rate, and the total inflow of the drainage pipe. The total drainage volume of the drainage pipe is obtained by multiplying the cumulative running time and the preset average drainage flow rate. The difference between the total inflow and the total outflow is calculated to obtain the water storage capacity of the drainage pipe; If the water storage capacity is greater than the preset water storage threshold, the drain pump and the solenoid valve are controlled to close; the preset water storage threshold is the lower limit of the water storage capacity required for the smart appliance to self-clean.
[0013] In one exemplary embodiment, the method for obtaining the first preset closing duration includes: When the oil content value is greater than or equal to the preset oil content threshold and the drain pump is closed, the preset power value of the drain pump and the third pressure value of the drain pipe are obtained. Determine the target power identifier corresponding to the preset power value; The target pressure duration relationship library is obtained by searching the preset power pressure relationship library for a pressure duration relationship library that matches the target power identifier. The preset power pressure relationship library includes a mapping relationship between preset power identifiers and preset pressure duration relationship libraries. The preset pressure duration relationship library includes a mapping relationship between preset pressure values and preset closure durations. The first preset closing time is obtained by searching the target pressure-time relationship database for a closing time that matches the third pressure value.
[0014] On the other hand, a self-cleaning device for a smart appliance is provided. The smart appliance includes a drain pump, an energy storage chamber, a solenoid valve, and a drain pipe connected in sequence. The energy storage chamber includes a water storage chamber and a gas storage chamber separated from each other. The water storage chamber is connected to the drain pump and the solenoid valve respectively. The device includes: An oil content value acquisition module is used to acquire the oil content value in the drainage pipe during the drainage process of the smart appliance. A closing module is used to control the drain pump and the solenoid valve to close if the oil content value is greater than or equal to a preset oil content threshold, so that the pressure in the water storage chamber is greater than the pressure in the air storage chamber; the preset oil content threshold is the lower limit value of the oil in the drain pipe that needs to be cleaned. The cumulative closing time detection module is used to detect the first cumulative closing time of the solenoid valve in real time. The opening module is used to obtain the cumulative number of closures of the solenoid valve when the first cumulative closing time is greater than or equal to the first preset closing time, and control the solenoid valve to open; so that water in the water storage chamber flows into the drain pipe through the solenoid valve to flush the oil stains in the drain pipe; The cleaning module is used to generate a real-time cleaning strategy based on the cumulative number of closures and a preset number of closures, and to clean the oil stains in the drainage pipe based on the real-time cleaning strategy.
[0015] On the other hand, a self-cleaning method for a smart appliance is provided. The smart appliance includes a drain pump, an energy storage chamber, a solenoid valve, and a drain pipe connected in sequence. The energy storage chamber includes a water storage chamber and a gas storage chamber separated from each other. The water storage chamber is connected to the drain pump and the solenoid valve, respectively. The method includes: During the drainage process of the smart appliance, the reference water flow rate value of the drainage pipe, the set of grease content values in a preset time period, the set of water flow rate values, and the current water flow rate value at the current moment are obtained; the preset time period is a time period ending at the current moment; the preset time period includes at least two data collection moments; Calculate the product between the grease content value and the water flow rate value corresponding to each of the at least two sampling times to obtain the grease mass value of the drainage pipe at each of the at least two sampling times. Calculate the sum of the grease mass values corresponding to each of the at least two sampling times to obtain the total grease mass value of the drainage pipe at the at least two sampling times; The average grease accumulation in the drainage pipe is determined based on the total grease mass value and the preset time period. The difference between the reference water flow rate and the current water flow rate is calculated to obtain the water flow rate difference. The flow rate attenuation rate is obtained by calculating the ratio between the water flow rate difference and the reference water flow rate value. Obtain the grease accumulation weight and flow rate weight corresponding to the drainage pipe; The average oil accumulation is normalized to obtain the processed oil accumulation. The weighted cumulative amount of oil is obtained by multiplying the cumulative amount of oil after processing with the weight of the cumulative amount of oil. The weighted flow attenuation rate is obtained by multiplying the flow attenuation rate and the flow weight. The oil content in the drainage pipe is obtained by calculating the sum between the weighted cumulative amount of grease and the weighted flow rate attenuation rate. If the oil content value is greater than or equal to the preset oil content threshold, obtain the cumulative running time of the drainage pump, the preset average drainage flow rate, and the total inflow of the drainage pipe. The total drainage volume of the drainage pipe is obtained by multiplying the cumulative running time and the preset average drainage flow rate. The difference between the total inflow and the total outflow is calculated to obtain the water storage capacity of the drainage pipe; If the water storage capacity is greater than the preset water storage capacity threshold, the drain pump and the solenoid valve are controlled to close, so that the pressure in the water storage chamber is greater than the pressure in the air storage chamber; the preset water storage capacity threshold is the lower limit of the water storage capacity required for the smart appliance to self-clean; the preset oil content threshold is the lower limit of the oil content required to be cleaned in the drain pipe. Real-time detection of the first cumulative closing time of the solenoid valve; If the first cumulative closing time is greater than or equal to the first preset closing time, the cumulative number of closing times of the solenoid valve is obtained, and the solenoid valve is controlled to open; so that the water in the water storage chamber flows into the drain pipe through the solenoid valve to flush the oil stains in the drain pipe. Real-time monitoring of the cumulative opening time of the solenoid valve; If the cumulative number of closures is less than the preset number of closures, obtain the first pressure value of the drainage pipe; If the first pressure value is less than or equal to the target pressure threshold, calculate the difference between the target pressure threshold and the first pressure value to obtain the pressure difference. The target adjustment time of the solenoid valve is determined based on the pressure difference. The second preset closing time of the solenoid valve is obtained by calculating the sum between the first preset closing time and the target adjustment time. When the cumulative opening time is greater than or equal to the preset opening time, the solenoid valve is controlled to close, and the second cumulative closing time of the solenoid valve is detected in real time. When the second cumulative closing time is greater than or equal to the second preset closing time, the solenoid valve is controlled to open to clean the oil stains in the drainage pipe; The method for obtaining the first preset closing duration includes: When the oil content value is greater than or equal to the preset oil content threshold and the drain pump is closed, the preset power value of the drain pump and the third pressure value of the drain pipe are obtained. Determine the target power identifier corresponding to the preset power value; The target pressure duration relationship library is obtained by searching the preset power pressure relationship library for a pressure duration relationship library that matches the target power identifier. The preset power pressure relationship library includes a mapping relationship between preset power identifiers and preset pressure duration relationship libraries. The preset pressure duration relationship library includes a mapping relationship between preset pressure values and preset closure durations. The first preset closing time is obtained by searching the target pressure-time relationship database for a closing time that matches the third pressure value.
[0016] On the other hand, an electronic device is provided, the device including a processor and a memory, the memory storing at least one instruction or at least one program, the at least one instruction or the at least one program being loaded by the processor and executed as described above for the self-cleaning method of a smart appliance.
[0017] On the other hand, a computer-readable storage medium is provided, wherein at least one instruction or at least one program is stored therein, the at least one instruction or at least one program being loaded and executed by a processor to implement the self-cleaning method of the smart appliance as described above.
[0018] On the other hand, a computer program product or computer program is provided, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform a self-cleaning method for the intelligent appliance as described above.
[0019] This application provides a self-cleaning method and apparatus for smart appliances, which has the following technical effects: During the drainage process of the smart appliance, the oil content value in the drainage pipe is obtained; if the oil content value is greater than or equal to a preset oil content threshold, the drainage pump and the solenoid valve are controlled to close; so that the pressure of the water storage chamber is greater than the pressure of the air storage chamber; the preset oil content threshold is the lower limit value for cleaning the oil in the drainage pipe; the first cumulative closing time of the solenoid valve is detected in real time; when the first cumulative closing time is greater than or equal to the first preset closing time, the cumulative number of closing times of the solenoid valve is obtained, and the solenoid valve is controlled to open; so that water in the water storage chamber flows into the drainage pipe through the solenoid valve to flush the oil in the drainage pipe; a real-time cleaning strategy is generated based on the cumulative number of closing times and the preset number of closing times, and the oil in the drainage pipe is cleaned based on the real-time cleaning strategy. The design includes a smart electrical appliance consisting of a drain pump, an energy storage chamber, a solenoid valve, and a drain pipe connected in sequence. The energy storage chamber is divided into a water storage chamber and an air storage chamber, with the water storage chamber connected to the drain pump and the solenoid valve. When the oil content in the smart electrical appliance is too high, a self-cleaning program is activated. The solenoid valve has a preset number of closures and a first preset closure duration. In actual use, the solenoid valve closes the preset number of closures, and the first closure lasts for the first preset duration. After the solenoid valve closes for the first time, a sealed space is formed between the drain pump and the solenoid valve. Water collects in the water storage chamber, where the pressure is greater than that in the air storage chamber. When the solenoid valve opens, a high-pressure water jet is ejected at high speed, forming a shock wave (water hammer). This shock wave generates a strong shearing force on the oil stains on the drain pipe wall, thereby achieving a controllable water hammer effect to clean the oil stains in the drain pipe and improving the self-cleaning effect of the smart electrical appliance. Attached Figure Description
[0020] To more clearly illustrate the technical solutions and advantages in the embodiments or prior art of this specification, the drawings used in the description of the embodiments or prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0021] Figure 1 This is a schematic diagram of the structure of a smart appliance provided in the embodiments of this specification; Figure 2 This is a schematic diagram of the structure of an energy storage cavity provided in the embodiments of this specification; Figure 3 This is a schematic diagram illustrating the working process of an energy storage cavity provided in the embodiments of this specification; Figure 4 This is a schematic diagram illustrating the functional flow of components in a smart appliance provided in the embodiments of this specification; Figure 5 This is a schematic flowchart of a self-cleaning method for a smart appliance provided in the embodiments of this specification; Figure 6 This is a schematic flowchart of another self-cleaning method for a smart appliance provided in the embodiments of this specification; Figure 7 This is a flowchart illustrating a method for a smart electrical appliance to perform a water hammer cleaning task, as provided in an embodiment of this specification. Figure 8 This is a flowchart illustrating a method for optimizing pulse parameters in a smart appliance, as provided in an embodiment of this specification. Figure 9 This is a schematic diagram of the structure of the self-cleaning device for intelligent appliances provided in the embodiments of this specification; Figure 10 This is a schematic diagram of the server structure for a self-cleaning method for intelligent appliances provided in the embodiments of this specification. Detailed Implementation
[0022] The technical solutions in the embodiments of this specification will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0023] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or server that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or devices.
[0024] The following describes a smart appliance according to this application, such as... Figure 1 As shown, Figure 1This is a schematic diagram of the structure of a smart appliance provided in an embodiment of this specification. The smart appliance can be a smart dishwasher or other smart appliances with washing functions. The smart appliance includes a washing chamber, a drain pump, an energy storage chamber, a solenoid valve, a mechanical pressure relief valve, a drain pipe, and a main drain pipe connected in sequence. The washing chamber contains dishes to be washed and a spray arm. After washing, the water in the washing chamber passes through the drain pump, the solenoid valve, and the drain pipe in sequence. Oil stains adhere to the drain pipe, and the wastewater finally flows into the main drain pipe. The drain pump, the energy storage chamber, and the solenoid valve constitute a water hammer generation module. A pressure sensor, a grease concentration sensor, and a flow sensor are installed in the drain pipe. The pressure sensor is used to detect the pressure value in the drain pipe. The grease concentration sensor is used to detect the grease content value in the water discharged from the washing chamber. The flow sensor is used to detect the drainage flow rate value of the drain pipe. The solenoid valve is a high-speed solenoid valve, located after the energy storage chamber and before the drainage pipe. The high-speed solenoid valve can achieve rapid opening and closing in milliseconds, thus acting as a water hammer switch to generate a controllable water hammer effect.
[0025] The mechanical pressure relief valve is located after the high-speed solenoid valve and before the pressure sensor, serving as the final safety barrier. It automatically opens to relieve pressure when the system pressure abnormally exceeds the safety threshold.
[0026] The energy storage chamber is essentially a pressure energy storage chamber, such as... Figure 2 As shown, Figure 2 This is a schematic diagram of the structure of an energy storage chamber provided in an embodiment of this specification. The energy storage chamber is installed between the outlet of the drainage pump and the inlet of the high-speed solenoid valve to serve as an energy conversion and buffer core. When the high-speed solenoid valve is closed, it stores the kinetic energy of the water flow and converts it into pressure energy, while smoothing out pressure peaks. The outer shell of the energy storage chamber is a robust metal (such as stainless steel) container capable of withstanding high pressure, typically spherical or round. Inside, an elastic diaphragm, similar to a bowl-shaped rubber membrane, seals the container into two separate, unconnected spaces: an air chamber above the diaphragm and a water chamber below. The air chamber is pre-filled with dry nitrogen at a specific pressure via an inflation valve at the smart appliance factory. The water chamber is connected to a water system; the interface at the bottom of the water chamber serves as both an inlet and outlet, directly connected in series with the smart appliance's drainage pipe, specifically installed after the drain pump and before the high-speed solenoid valve. The energy storage chamber operates as follows: Figure 3 As shown, Figure 3This is a schematic diagram illustrating the working process of an energy storage chamber provided in the embodiments of this specification. In the initial state, i.e., when the drain pump is not working or draining at a constant speed, the water pressure in the water chamber and the pre-charge pressure in the air chamber are basically balanced, the diaphragm is kept in a relatively static middle position, and the water flows smoothly through the drain pipe. When in the energy storage and buffering state, i.e., when the drain pump is working but the high-speed solenoid valve is suddenly closed, the water flow is suddenly blocked, and the kinetic energy is instantly converted into pressure energy, causing the pressure in the water chamber to rise sharply, far exceeding the pressure in the air chamber. The high-pressure water squeezes the diaphragm, causing it to bulge upwards towards the air chamber, compressing the nitrogen above. The kinetic energy and pressure energy of the water flow are converted into the compressive potential energy of the gas (nitrogen) and stored at this moment. This process effectively absorbs the instantaneous impact of the water flow, preventing pressure peaks from directly impacting downstream pipes and valves. When in the energy release state, i.e., when the high-pressure solenoid valve opens instantaneously, the diameter of the drain pipe increases instantly, and the pressure seeks to be released. The compressed nitrogen gas begins to expand, pushing the diaphragm downwards and releasing the stored pressure energy, generating a strong water column with a huge instantaneous flow rate. This forcefully pushes the water column in the water chamber toward the outlet, impacting the drain pipe. This achieves active pressure relief while using the water hammer effect to transform a violent impact into a controllable high-pressure pulse, greatly improving the cleaning effect.
[0027] The specific flow of information within smart appliances is as follows: Figure 4 As shown, Figure 4 This is a schematic diagram illustrating the functional flow of components in a smart appliance provided in an embodiment of this specification. Taking a dishwasher as an example, the dishwasher includes a washing chamber and a drain pump connected to the washing chamber. After washing, the central processing unit / control unit (ECU) of the smart appliance sends a command to start the drain pump and open the high-speed solenoid valve. This allows the wastewater stored in the washing chamber to be pressurized by the drain pump, buffered in a pressure storage chamber, smoothly passed through the high-speed solenoid valve, and flowed into the drain pipe before the main drain pipe, ultimately being discharged into the sewer through the main drain pipe. A pressure sensor monitors the pressure value of the drain pipe in real time, a grease concentration sensor detects the grease content in the wastewater to determine the washing effect or trigger an alarm, and a flow sensor measures the amount of wastewater flowing through the drain pipe per unit time to monitor drainage smoothness. All sensor data is transmitted to the control unit (ECU) in real time, where the central processing unit analyzes the data and dynamically adjusts the power of the drain pump or the opening and closing of the valve based on the analysis results. If the drainage system pressure is abnormally high, the mechanical pressure relief valve automatically opens to release pressure and prevent damage to the smart appliance.
[0028] The following describes a self-cleaning method for a smart appliance according to this application. Figure 5This is a flowchart illustrating a self-cleaning method for a smart appliance provided in an embodiment of this specification. This specification provides the operational steps of the method described in the embodiment or flowchart, but based on conventional or non-inventive labor, more or fewer operational steps may be included. The order of steps listed in the embodiment is merely one possible execution order among many and does not represent the only possible execution order. In actual system or server product execution, the method can be executed sequentially or in parallel (e.g., in a parallel processor or multi-threaded processing environment) as shown in the embodiment or drawings. Specifically, as... Figure 5 As shown, the intelligent appliance includes a drain pump, an energy storage chamber, a solenoid valve, and a drain pipe connected in sequence. The energy storage chamber includes a water storage chamber and a gas storage chamber separated from each other. The water storage chamber is connected to the drain pump and the solenoid valve, respectively. The method can be applied to the control unit of the intelligent appliance, and the method includes: S501: During the drainage process of the smart appliance, the oil content value in the drainage pipe is obtained.
[0029] In the embodiments of this specification, during the drainage process of the smart appliance, multimodal data is sensed in real time, namely the set of pressure values detected by the pressure sensor, the set of grease content values detected by the grease concentration sensor, and the water flow value detected by the flow sensor, so as to calculate the grease content value in the drainage pipe.
[0030] S503: If the oil content value is greater than or equal to the preset oil content threshold, control the drain pump and the solenoid valve to close; so that the pressure of the water storage chamber is greater than the pressure of the air storage chamber; the preset oil content threshold is the lower limit value of the oil in the drain pipe that needs to be cleaned.
[0031] In the embodiments of this specification, the preset oil content threshold is the lower limit value of the oil content in the drainage pipe that needs to be cleaned. If the oil content value is greater than or equal to the preset oil content threshold, there is a risk of blockage in the drainage pipe, triggering the self-cleaning program. To generate effective water hammer and ensure sufficient water column in the drainage pipe, the water storage volume in the drainage pipe is calculated. When the water storage volume is greater than the preset water storage threshold, that is, when the water storage volume in the drainage pipe can generate effective water hammer impact, the drainage pump is controlled to close to block drainage. Based on the known preset power value of the drainage pump and the stable pressure value after the drainage pump is closed (third pressure value), the first preset closing time of the solenoid valve is determined, and the solenoid valve is controlled to close so that the water flow is blocked in the water storage chamber, and the kinetic energy is converted into pressure energy, so that the pressure in the water storage chamber is greater than the pressure in the air storage chamber.
[0032] S505: Real-time detection of the first cumulative closing time of the solenoid valve.
[0033] In the embodiments described in this specification, while controlling the solenoid valve to close, the first cumulative closing time of the solenoid valve is detected in real time.
[0034] S507: When the first cumulative closing time is greater than or equal to the first preset closing time, obtain the cumulative number of closing times of the solenoid valve and control the solenoid valve to open; so that the water in the water storage chamber flows into the drain pipe through the solenoid valve to flush the oil stains in the drain pipe.
[0035] In the embodiments of this specification, when the first cumulative closing time is greater than or equal to the first preset closing time, it indicates that the solenoid valve has completed its first closing. The cumulative number of closing times of the solenoid valve is obtained, which is one more than the initial value. The solenoid valve is then controlled to open, the energy storage chamber releases high pressure, and a controlled water hammer pulse is generated. The water in the water storage chamber forms a water column and flows into the drainage pipe through the solenoid valve to flush the oil stains in the drainage pipe.
[0036] S509: Generate a real-time cleaning strategy based on the cumulative number of closures and the preset number of closures, and clean the oil stains in the drainage pipe based on the real-time cleaning strategy.
[0037] In the embodiments of this specification, the preset number of closures is the total number of times the solenoid valve needs to close. The cumulative number of closures and the preset number of closures are compared to obtain a comparison result. If the comparison result indicates that the cumulative number of closures is less than the preset number of closures, water hammer pulses are continuously executed to flush the oil stains on the wall of the drainage pipe. If the comparison result indicates that the cumulative number of closures is greater than or equal to the preset number of closures, the drainage pump is turned on to drain water, and the data from the flow sensor is read. If the flow rate recovers to the preset flow rate range, the cleaning is determined to be successful, and the oil stain content value of this self-cleaning, the first preset closure duration, the data finally read by the flow sensor, and the recovery status are recorded to achieve adaptive optimization of the self-cleaning program. If the flow rate is not within the preset flow rate range, a cleaning alarm is triggered.
[0038] In this embodiment of the specification, obtaining the oil content value in the drainage pipe during the drainage process of the smart appliance includes: During the drainage process of the smart appliance, the reference water flow rate value of the drainage pipe, the set of grease content values in a preset time period, the set of water flow rate values, and the current water flow rate value at the current moment are obtained; the preset time period is the time period ending at the current moment. In the embodiments of this specification, in order to determine the blockage risk value (oil content value) of the drainage pipe during the drainage process of the smart appliance, it is necessary to monitor the two key dimensions of oil pollution input and pipe flow capacity reduction in real time. Therefore, the two are quantified into specific parameters: average oil accumulation and flow attenuation rate, and weighted and fused to calculate the comprehensive oil content value, which serves as the intelligent decision-making basis for triggering the self-cleaning program of the smart appliance. Regarding the average grease accumulation, since high concentration at low flow rates and low concentration at high flow rates may result in similar total grease amounts, it is necessary to calculate the average grease accumulation. The average grease accumulation is the grease accumulation per unit time, used to quantify the total grease pollution load actually entering the pipeline during this drainage process, rather than just the concentration of the wastewater. In order to calculate the average grease accumulation, it is necessary to obtain the set of grease content values collected by the grease concentration sensor in the drainage pipeline during a preset time period, and the set of water flow values collected by the flow sensor in the drainage pipeline during the preset time period. The preset time period is the period ending at the current time.
[0039] The flow decay rate is used to directly quantify the current real-time flow capacity of the drainage pipe and is a direct indication of the blockage that is occurring in the drainage pipe. To calculate the flow decay rate, it is necessary to obtain the reference water flow value of the drainage pipe and the current water flow value of the drainage pipe at the current moment. The reference water flow value is a stable flow benchmark value established when the drainage pipe is relatively clean (such as when smart appliances leave the factory / after effective cleaning). The set of water flow values includes the current water flow value. Based on the set of grease content values and the set of water flow values for the preset time period, the average grease accumulation in the drainage pipe during the preset time period is determined. In the embodiments of this specification, the total grease mass value of the drainage pipe during the preset time period is calculated based on the set of grease content values and the set of water flow values for the preset time period, and the average grease accumulation of the drainage pipe during the preset time period is further obtained.
[0040] The flow attenuation rate of the drainage pipe is determined based on the reference water flow rate and the current water flow rate. In the embodiments of this specification, the flow attenuation rate of the drainage pipe at the current moment is obtained based on the reference water flow rate value and the current water flow rate value.
[0041] The oil content in the drainage pipe is determined based on the average grease accumulation and the flow rate attenuation rate.
[0042] In the embodiments of this specification, the average grease accumulation and flow attenuation rate are weighted separately to obtain weighted grease accumulation and weighted flow attenuation rate, respectively. The sum of the two is calculated to obtain the grease content value in the drainage pipe. By integrating the average grease accumulation and flow attenuation rate, the smart appliance can provide an early warning before grease actually clogs the drainage pipe, changing from a passive response to proactive intervention. Quantifying multi-source data into a single grease content value and using this as the decision-making basis for triggering self-cleaning avoids blind cleaning based on fixed times or experience, significantly saving water and electricity, reducing equipment wear and tear, extending the service life of the smart appliance, and improving the intelligence level of the smart appliance.
[0043] In this embodiment of the specification, the preset time period includes at least two data collection times; determining the average grease accumulation in the drainage pipe during the preset time period based on the set of grease content values and the set of water flow values during the preset time period includes: Calculate the product between the grease content value and the water flow rate value corresponding to each of the at least two sampling times to obtain the grease mass value of the drainage pipe at each of the at least two sampling times. In the embodiments of this specification, the preset time period includes at least two collection times; the grease discharge rate of the drainage pipe at each collection time is calculated, that is, the product between the two, to obtain the grease mass value C(t)*Q(t) corresponding to the drainage pipe at each of the at least two collection times, in mg / min; where C(t) is the grease content value of the drainage pipe at each collection time, in mg / L; and Q(t) is the water flow rate value of the drainage pipe at each collection time, in L / min.
[0044] Calculate the sum of the grease mass values corresponding to each of the at least two sampling times to obtain the total grease mass value of the drainage pipe at the at least two sampling times; In the embodiments described in this specification, the sum of the grease mass values corresponding to at least two sampling times is calculated to obtain the total grease mass value of the drainage pipe at at least two sampling times. ,in, This refers to the oil content values corresponding to at least two sampling times; For each of the at least two sampling times, the water flow rate value is represented; i represents the value of sampling time i.
[0045] The average grease accumulation in the drainage pipe is determined based on the total grease mass value and the preset time period.
[0046] In the embodiments of this specification, the ratio between the total grease mass value and the preset time period is calculated to obtain the average grease accumulation in the drainage pipe during the preset time period. The calculation formula is as follows:
[0047] Where M is the average amount of grease accumulated in the drainage pipe during the preset time period; The average grease accumulation represents the total grease mass value of the drainage pipe at at least two sampling times; T is the total duration of the preset time period. If the average grease accumulation remains high, it means that a large amount of grease is entering the pipe, increasing the potential risk of future adhesion and blockage. It can be seen that by calculating the average grease accumulation, a forward-looking quantitative assessment of the risk of drainage pipe blockage is achieved, ensuring that the average grease accumulation reflects the pollution trend over a period of time, rather than an occasional high value at a certain moment, so as to calculate the accurate grease content value later, enabling smart appliances to clean on demand.
[0048] In this embodiment of the specification, determining the flow attenuation rate of the drainage pipe based on the reference water flow rate value and the current water flow rate value includes: The difference between the reference water flow rate and the current water flow rate is calculated to obtain the water flow rate difference. In the embodiments described in this specification, a reference water flow rate value is calculated. and current water flow value The difference between them gives the water flow rate difference.
[0049] The flow rate attenuation rate is obtained by calculating the ratio between the water flow rate difference and the reference water flow rate value.
[0050] In the embodiments of this specification, the ratio between the water flow difference and the reference water flow value is calculated to obtain the flow attenuation rate. The formula for calculating the flow attenuation rate is as follows:
[0051] in, This refers to the flow rate attenuation rate. For reference water flow rate; This represents the current water flow rate.
[0052] As can be seen, calculating the flow attenuation rate essentially involves comparing the current instantaneous flow rate with a fixed baseline flow rate to obtain the attenuation ratio at the current moment. This reflects how much the flow capacity of the drainage pipe has decreased compared to a clean state at the current moment. In actual drainage processes, the flow attenuation rate ranges from 0 to 1. The flow attenuation rate starts from 0 and increases. A value of 0 indicates no flow attenuation and the drainage pipe is completely unobstructed. The closer the flow attenuation rate is to 1, the more severe the flow attenuation, and the smaller the flow cross-section of the drainage pipe is due to oil and grease buildup, meaning that blockage is occurring.
[0053] By calculating the flow attenuation rate, the system can directly monitor the real-time decrease in the flow capacity of drainage pipes, enabling it to sensitively detect the reduction in the flow cross-section caused by oil stains adhering to the pipe walls. Even with complex pollutant compositions, it can respond accurately and help calculate precise oil stain content values.
[0054] In this embodiment of the specification, determining the oil content value in the drainage pipe based on the average grease accumulation and the flow rate attenuation includes: Obtain the grease accumulation weight and flow rate weight corresponding to the drainage pipe; In the embodiments of this specification, the weight of the accumulated grease corresponding to the drainage pipe is obtained. and traffic weight Furthermore, the sum of the grease accumulation weight and the flow weight must be 1. If the grease accumulation weight is set higher, it means that the control system of the smart appliance is more inclined to intervene in advance when the pollution load is high. If the flow weight is set higher, it means that the control system of the smart appliance is more inclined to take action only when the flow has dropped significantly (blockage has occurred). In actual use, the initial values of the grease accumulation weight and the flow weight can be set by the user according to actual needs. The control system can then adaptively fine-tune the grease accumulation weight and the flow weight based on the feedback of the cleaning effect.
[0055] The average oil accumulation is normalized to obtain the processed oil accumulation. In the embodiments of this specification, since the unit of average grease accumulation is mg / min, and its value may range from tens to hundreds, the average grease accumulation is normalized by dividing it by the maximum value monitored during historical drainage or a preset typical maximum value to obtain the processed grease accumulation. This ensures that its value falls within the range of 0 to 1, achieving the same scale as the flow attenuation rate.
[0056] The weighted cumulative amount of oil is obtained by multiplying the cumulative amount of oil after processing with the weight of the cumulative amount of oil. In the embodiments of this specification, the weighted cumulative amount of oil is obtained by multiplying the processed cumulative amount of oil by its weight. .
[0057] The weighted flow attenuation rate is obtained by multiplying the flow attenuation rate and the flow weight. In the embodiments described in this specification, the product of the flow attenuation rate and the flow weight is calculated to obtain the weighted flow attenuation rate. .
[0058] The oil content value is obtained by summing the weighted cumulative amount of grease and the weighted flow rate attenuation rate.
[0059] In the embodiments of this specification, the sum of the weighted cumulative grease amount and the weighted flow rate attenuation rate is calculated to obtain the grease content value. By weighting and integrating the average grease accumulation and flow rate attenuation rate into a grease content value, the over-reliance on a single parameter is avoided. This allows the control system of smart appliances to flexibly adapt to different usage scenarios and determine subsequent decisions based on the calculated grease content value, thus enabling forward-looking prediction of the self-cleaning process of smart appliances.
[0060] In this embodiment of the specification, after obtaining the cumulative number of closures of the solenoid valve and controlling the solenoid valve to open when the first cumulative closing time is greater than or equal to the first preset closing time, the method further includes: Real-time monitoring of the cumulative opening time of the solenoid valve; In the embodiments of this specification, when the solenoid valve is opened for the first time, the user presets a preset opening time. In order to ensure that the water hammer pulse generated each time is controllable, the cumulative opening time of the solenoid valve is detected in real time.
[0061] In this embodiment of the specification, generating a real-time cleaning strategy based on the cumulative number of closures and a preset number of closures, and cleaning the oil stains in the drainage pipe based on the real-time cleaning strategy, includes: If the cumulative number of closures is less than the preset number of closures, obtain the first pressure value of the drainage pipe; In the embodiments of this specification, if the cumulative number of closures is less than the preset number of closures, the self-cleaning process is not yet completed, and the first pressure value of the drainage pipe is obtained. This pressure value is the peak pressure generated by the water hammer impact.
[0062] If the first pressure value is less than or equal to the target pressure threshold, the second preset closing time of the solenoid valve is determined based on the target pressure threshold, the first pressure value, and the first preset closing time. In the embodiments described in this specification, the target pressure threshold is the pressure value between the effective cleaning pressure value of the drainage pipe and the upper limit of the safe pressure value.
[0063] After the first water hammer pulse, the control unit of the smart appliance compares the first pressure value with the target pressure threshold. If the first pressure value is less than or equal to the target pressure threshold, the control unit calculates the next closing time of the solenoid valve, i.e. the second preset closing time, based on the target pressure threshold, the first pressure value, and the first preset closing time, combined with the PID control algorithm, so as to perform the next water hammer pulse to flush the oil in the drain pipe.
[0064] Additionally, while calculating the second preset closing time, the pulse interval of the solenoid valve is optimized. A rule-based feedback adjustment strategy can be adopted, i.e., after the first water hammer pulse ends, the pressure value of the drainage pipe is acquired in real time, and the moment when the first pressure value is acquired is taken as the starting time; if the pressure value is less than or equal to a preset pressure threshold, the moment corresponding to that pressure value is taken as the ending time, and the difference between the ending time and the starting time is calculated to obtain the time difference; where the preset pressure threshold is a preset safe pressure ratio, such as 10%; the time difference is the time required for the pressure value of the drainage pipe to decay from the pressure peak (first pressure value) to the safe ratio; if the time difference is long, it indicates that the drainage pipe system has high damping and slow pressure dissipation. In order to avoid uncontrollable oscillations or excessive pressure caused by pressure superposition, the interval of the next pulse will be actively extended. For example, it is set to 1.2 times the time difference to ensure that the drainage system of the smart appliance is completely calm before the next impact; if the time difference is short, it indicates that the drainage system responds quickly and can withstand a faster pulse frequency. In order to improve cleaning efficiency, the interval can be appropriately shortened.
[0065] When the cumulative opening time is greater than or equal to the preset opening time, the solenoid valve is controlled to close, and the second cumulative closing time of the solenoid valve is detected in real time. In the embodiments of this specification, in the continuous self-cleaning mode of the smart appliance, the control unit of the smart appliance is preset with a preset opening time, which is the time required for the solenoid valve to open after the first water hammer pulse. It can be a fixed value preset by the user based on experimental experience, as long as it is sufficient to allow the water flow to stabilize again. When the cumulative opening time is greater than or equal to the preset opening time, the solenoid valve is controlled to close, and the second cumulative closing time of the solenoid valve is detected in real time.
[0066] When the second cumulative closing time is greater than or equal to the second preset closing time, the solenoid valve is controlled to open to clean the oil stains in the drainage pipe.
[0067] In the embodiments of this specification, when the second cumulative closing time is greater than or equal to the second preset closing time, the solenoid valve is controlled to open, so that the water in the water storage chamber forms a water hammer under high pressure to flush the oil stains in the drainage pipe; and the opening time of the solenoid valve is controlled according to the updated pulse interval duration until the number of closing times of the solenoid valve reaches the preset number of closing times.
[0068] By using the actual peak pressure of the drainage pipe fed back by a pressure sensor, a PID algorithm is used to dynamically adjust the solenoid valve closing time for the next pulse. This ensures that the impact force of each water hammer is consistently near the preset optimal pressure target value, thus overcoming the effects of differences in the initial state of the drainage pipe or changes in resistance during cleaning. Simultaneously, by analyzing pressure attenuation and dynamically and intelligently adjusting the pulse interval, it ensures that each impact is delivered at the optimal moment when the system returns to stability.
[0069] In this embodiment of the specification, determining the second preset closing time of the solenoid valve based on the target pressure threshold, the first pressure value, and the first preset closing time if the first pressure value is less than or equal to the target pressure threshold includes: If the first pressure value is less than or equal to the target pressure threshold, calculate the difference between the target pressure threshold and the first pressure value to obtain the pressure difference. In the embodiments of this specification, if the first pressure value is less than or equal to the target pressure threshold, the difference between the target pressure threshold and the first pressure value is calculated to obtain the pressure difference value.
[0070] The target adjustment time of the solenoid valve is determined based on the pressure difference. In the embodiments of this specification, the control unit in the intelligent appliance uses a PID control algorithm to optimize the closing time of the solenoid valve. Specifically, the proportional term P in the PID controller is adjusted according to the pressure difference. If the first pressure value is insufficient, i.e., the pressure difference is greater than 0, a positive adjustment is output to increase the closing time of the next time to enhance water hammer. The integral term I is based on the accumulated pressure difference (there is only one pressure difference after the first water hammer pulse, and subsequent ones continue to accumulate) to eliminate continuous small deviations. If the pressure value is continuously lower than the target pressure threshold after multiple pulses, the integral term will gradually increase the adjustment until the pressure reaches the target. The derivative term D predicts the trend based on the rate of change of the pressure difference. If the pressure value is rapidly approaching the target pressure threshold, the adjustment is reduced in advance to prevent overshoot, which would cause the pressure value to exceed the target pressure threshold. Finally, the target adjustment time of the solenoid valve is obtained.
[0071] The second preset closing time is obtained by calculating the sum between the first preset closing time and the target adjustment time.
[0072] In the embodiments of this specification, the sum between the first preset closing time and the target adjustment time is calculated to obtain the closing time of the next pulse of the solenoid valve, which is the second preset closing time. In addition, a preset closing time interval is preset, with the minimum safe closing time and the maximum safe closing time of the solenoid valve on both sides of the preset closing interval. After each calculation of the closing time corresponding to the next solenoid valve, it is ensured that it is limited to the preset closing time interval to prevent dangerous high pressure from being generated in the drainage pipe due to incorrect closing time.
[0073] Based on the pressure difference and employing a PID algorithm, the closing time of the solenoid valve is dynamically and in real time fine-tuned, causing the impact pressure in the drainage pipe to automatically converge and stabilize near the target pressure threshold. This adapts to changes in the resistance of the drainage pipe, ensuring optimal cleaning efficiency at all times. Simultaneously, the preset closing range prevents dangerous commands from being generated due to calculation errors or interference signals.
[0074] In this embodiment of the specification, controlling the drainage pump and the solenoid valve to close if the oil content value is greater than or equal to a preset oil content threshold includes: If the oil content value is greater than or equal to the preset oil content threshold, obtain the cumulative running time of the drainage pump, the preset average drainage flow rate, and the total inflow of the drainage pipe. In the embodiments of this specification, the water inlet of the smart appliance is equipped with a water flow sensor. If the oil content value is greater than or equal to the preset oil content threshold, the cumulative running time of the drain pump, the preset average drainage flow rate, and the total water inlet of the drain pipe are obtained. Among them, the cumulative running time is the total working time of the drain pump in this drainage process; the preset average drainage flow rate is the rated flow rate of the drain pump, which represents the average drainage capacity of the drain pump under normal working conditions, and can be measured by experiments; the total water intake is the cumulative water intake measured by the water flow sensor at the water inlet end from the start of the current washing cycle.
[0075] The total drainage volume of the drainage pipe is obtained by multiplying the cumulative running time and the preset average drainage flow rate. In the embodiments of this specification, the total drainage volume of the drain pipe in this washing cycle is obtained by calculating the product between the cumulative running time and the preset average drainage flow rate.
[0076] The difference between the total inflow and the total outflow is calculated to obtain the water storage capacity of the drainage pipe; In the embodiments of this specification, the difference between the total inflow and the total outflow is calculated to obtain the water storage capacity of the drainage pipe.
[0077] If the water storage capacity is greater than the preset water storage threshold, the drain pump and the solenoid valve are controlled to close; the preset water storage threshold is the lower limit of the water storage capacity required for the smart appliance to self-clean.
[0078] In the embodiments of this specification, the preset water storage threshold is the lower limit of the water storage required for the self-cleaning of smart appliances; if the water storage is greater than the preset water storage threshold, it indicates that there is enough water in the closed pipeline, the drainage system can generate effective water hammer impact, control the drainage pump and solenoid valve to close, and prepare to initiate water hammer pulse. If the water storage is less than or equal to the preset water storage threshold, the control unit of the smart appliance will perform a water replenishment operation. Specifically, it will control the drain pump to close and the inlet valve to open, and obtain the inlet flow rate increment of the inlet valve in real time until the difference between the updated total inlet flow and the total drain flow exceeds the preset water demand threshold. At this time, the inlet valve will be closed and the smart appliance will enter the cleaning preparation state.
[0079] By integrating data such as total water intake and cumulative running time of the drainage pump, the system intelligently determines whether the drainage system of the smart appliance has the minimum water volume to generate an effective shock wave. This avoids ineffective cleaning or weak impact caused by forcibly starting the system when the water volume is insufficient, ensuring that each water hammer pulse reaches a controllable intensity. At the same time, it enables on-demand water replenishment, only performing a very small amount of water replenishment when necessary.
[0080] In this embodiment of the specification, the method for obtaining the first preset closing duration includes: When the oil content value is greater than or equal to the preset oil content threshold and the drain pump is closed, the preset power value of the drain pump and the third pressure value of the drain pipe are obtained. In the embodiments of this specification, when the oil content value is greater than or equal to a preset oil content threshold and the drain pump is closed, the preset power value of the drain pump and the third pressure value of the drain pipe are obtained; wherein, the preset power value is determined by the drive command issued by the control unit of the smart appliance to the drain pump; the third pressure value is the stable pressure value measured after the drain pipe forms a closed space when the drain pump is closed.
[0081] Determine the target power identifier corresponding to the preset power value; In the embodiments of this specification, a target power identifier corresponding to a preset power value is determined.
[0082] The target pressure duration relationship library is obtained by searching the preset power pressure relationship library for a pressure duration relationship library that matches the target power identifier. The preset power pressure relationship library includes a mapping relationship between preset power identifiers and preset pressure duration relationship libraries. The preset pressure duration relationship library includes a mapping relationship between preset pressure values and preset closure durations. In the embodiments of this specification, the preset power-pressure relationship library includes a mapping relationship between preset power identifiers and preset pressure-duration relationship libraries; the preset pressure-duration relationship library includes a mapping relationship between preset pressure values and preset closure durations; the target pressure-duration relationship library is obtained by searching the preset power-pressure relationship library for a pressure-duration relationship library that matches the target power identifier.
[0083] The first preset closing time is obtained by searching the target pressure-time relationship database for a closing time that matches the third pressure value.
[0084] In the embodiments described in this specification, a closing time matching the third pressure value is searched in the target pressure-time relationship library to obtain the initial solenoid valve closing time, i.e., the first preset closing time, which does not cause overpressure but generates sufficient impact force. Mapping the preset power value of the drain pump to the third pressure value as the precise solenoid valve closing time of the first pulse ensures that the first impact generates sufficient cleaning force while avoiding the risk of overpressure in the drain pipe, thus improving the reliability and overall efficiency of the smart appliance cleaning.
[0085] In one exemplary implementation, such as Figure 6 As shown, Figure 6 A flowchart illustrating another self-cleaning method for a smart appliance provided in an embodiment of this specification includes: S601: Start the drainage procedure.
[0086] In the embodiments described in this specification, the smart appliance initiates a drainage procedure.
[0087] S602: Real-time sensing: Oil sensor reads concentration, flow sensor measures flow rate, and pressure sensor collects static pressure.
[0088] In the embodiments of this specification, a grease concentration sensor in the drainage pipe of the smart appliance collects the grease concentration in the drainage pipe, a flow sensor in the drainage pipe measures the water flow rate in the drainage pipe, and a pressure sensor in the drainage pipe collects the pressure value of the drainage pipe.
[0089] S603: Risk Analysis Algorithm - Comprehensive calculation of real-time congestion risk value.
[0090] In the embodiments of this specification, multi-sensor data fusion is the basis of intelligent decision-making and can comprehensively reflect the pollution load, flow capacity and system status of the drainage system of intelligent appliances. Therefore, the data from three sensors are fused and calculated into a single real-time blockage risk value.
[0091] S604: Determine whether the real-time congestion risk value is less than the congestion risk threshold; if the real-time congestion risk value is less than the congestion risk threshold, proceed to S616.
[0092] In the embodiments of this specification, the real-time blockage risk value is compared with the blockage risk threshold to realize the transformation from continuous monitoring to judging whether action is needed, so as to achieve on-demand cleaning of smart appliances, avoid unnecessary cleaning times, save water and electricity, and reduce wear and tear on smart appliances. S605: The main drain valve is closed to store water, and the water level sensor confirms the water volume.
[0093] In the embodiments of this specification, when the real-time blockage risk value is greater than or equal to the blockage risk threshold, it indicates that the blockage risk of the drainage system exceeds the standard. The drainage system immediately switches from the normal drainage mode to the self-cleaning mode. First, the drainage pump is turned off, the drainage pipe is isolated into a closed system, and the water level sensor at the inlet of the smart electrical appliance is used to confirm the water volume inside, ensuring that the water volume in the closed system is sufficient to create an effective water hammer.
[0094] S606: Feedforward control: Calculates initial pulse parameters based on the power / static pressure of the drainage pump.
[0095] In the embodiments described in this specification, the safe and effective initial closing time of the high-speed solenoid valve is calculated based on the power of the drainage pump and the static pressure of the drainage pipe, so that the first water hammer pulse in the drainage system is close to the ideal intensity, avoiding the risks of blindly trying.
[0096] S607: Executes a single water hammer pulse (controls the operation of the high-speed solenoid valve).
[0097] In the embodiments described in this specification, the high-speed solenoid valve is controlled to close and reopen rapidly based on the calculated initial closing time to generate water hammer impact.
[0098] S608: Real-time monitoring - pressure sensor tracks peak pressure.
[0099] In the embodiments described in this specification, a pressure sensor inside the drainage pipe synchronously monitors the actual peak pressure generated by the impact in real time.
[0100] S609: Safety Judgment - Whether the actual peak pressure is greater than the pressure safety threshold; if the actual peak pressure is greater than or equal to the pressure safety threshold, proceed to S617.
[0101] In the embodiments described in this specification, the pressure safety threshold is the upper limit of the safe pressure of the drainage pipe; the actual peak pressure is compared with the pressure safety threshold to ensure that the pressure of the drainage system does not exceed the standard.
[0102] S610: Feedback adjustment: Optimizes the parameters of the next pulse based on the actual peak pressure.
[0103] In the embodiments of this specification, if the pressure in the drainage system is safe, i.e., the actual peak pressure is less than the pressure safety threshold, the PID control algorithm is used to optimize the closing time and pulse interval of the high-speed solenoid valve for the next water hammer pulse based on the deviation between the actual peak pressure and the target pressure threshold. This enables the drainage system to have adaptive capabilities during the self-cleaning process. Specifically, if the impact force is weak, it will be increased slightly next time; if the drainage pipe becomes unobstructed or the response changes during the cleaning process, the drainage system will automatically reduce the impact force to always maintain the optimal cleaning power and never exceed the pressure safety threshold.
[0104] S611: Determine whether the preset number of pulses has been completed; if the preset number of pulses has not been completed, proceed to S607.
[0105] In the embodiments of this specification, the preset number of pulses is an empirical value based on the balance between cleaning efficiency and the lifespan of the drainage system. Setting the preset number of pulses ensures the integrity and controllability of the cleaning process and avoids the intelligent system from endlessly cycling through self-cleaning. It is determined whether the number of pulses of the high-speed solenoid valve has reached the preset number of pulses to continuously monitor the self-cleaning process of the intelligent appliance.
[0106] S612: Post-cleaning verification - flow sensor detection recovery status.
[0107] In the embodiments described in this specification, after a preset number of pulses has been completed, the drainage pump is started, and the drainage recovery status of the drainage pipe is read by the flow sensor inside the drainage pipe.
[0108] S613: Determine if the traffic has returned to normal; if not, proceed to S618.
[0109] In the embodiments described in this specification, the measured flow rate value is compared with the reference flow rate value to determine whether the flow rate in the drainage pipe has returned to normal.
[0110] S614: Successful recording, update adaptive parameters.
[0111] In the embodiments of this specification, when the flow rate returns to normal, the effective cleaning parameters (real-time blockage risk value when the self-cleaning program is triggered, preset number of pulses, etc.) are recorded and used to adaptively adjust the parameters required for subsequent self-cleaning.
[0112] S615: End of this self-cleaning cycle.
[0113] In the embodiments described in this specification, the self-cleaning process ends after the recording is completed.
[0114] S616: Normal drainage until completion.
[0115] In the embodiments of this specification, when the real-time blockage risk value is less than the blockage risk threshold, it means that there is no risk of blockage in the drainage pipe, and drainage will proceed normally until the end.
[0116] S617: Emergency termination and alarm (triggering mechanical pressure relief valve).
[0117] In the embodiments described in this specification, if the actual peak pressure is greater than or equal to the pressure safety threshold, the mechanical pressure relief valve is triggered, the program is immediately terminated and an alarm is triggered to prevent pipeline damage.
[0118] S618: Enhanced cleaning intensity / alarm.
[0119] In the embodiments described in this specification, if the flow rate does not return to normal, it indicates that the cleaning is ineffective, and the smart appliance can automatically start a more powerful backup cleaning program (such as longer duration and stronger impact); if the cleaning is still ineffective, an alarm message is generated and sent to the user terminal to notify the user that manual intervention is required.
[0120] In this embodiment, multi-sensor data is collected in real time and fused into a real-time blockage risk value. This quantifies the blockage risk of the drainage pipe into a precise numerical value, enabling prediction of whether the smart appliance needs self-cleaning. When the real-time blockage risk value is greater than or equal to the blockage risk threshold, a self-cleaning program is triggered, the drainage pump is shut down, and the initial impact parameters are calculated forward to achieve on-demand cleaning, reducing the energy consumption of the smart appliance. After executing a single water hammer pulse, the pressure is monitored in real time, and the intensity and interval of the next pulse are optimized through a PID algorithm, ensuring that the impact force of the water hammer pulse is stabilized within the optimal range, thus improving the self-cleaning effect of the smart appliance. After completing a preset number of pulses, the flow capacity of the drainage pipe is verified to ensure that the cleaning parameters are adaptively optimized, thereby improving the intelligence level of the smart appliance.
[0121] In one exemplary implementation, such as Figure 7 As shown, Figure 7 A flowchart illustrating a method for a smart electrical appliance to perform a water hammer cleaning task, as provided in the embodiments of this specification, includes: S701: Performs water hammer cleaning tasks.
[0122] In the embodiments described in this specification, when the risk of blockage in the drainage pipe exceeds a threshold, the control unit of the smart appliance issues an instruction to perform a water hammer cleaning task and switch the smart appliance to self-cleaning mode.
[0123] S702: Feedforward control.
[0124] In the embodiments of this specification, the preset power value of the drain pump and the static pressure value of the drain pipe after the drain pump is turned off are obtained. Based on these two inputs, the initial safe closing time of the high-speed solenoid valve is determined.
[0125] S703: Feedback adjustment.
[0126] In the embodiments of this specification, a single water hammer pulse is executed using the calculated safe closing time of the high-speed solenoid valve. The actual peak pressure generated during the execution of the single water hammer pulse is monitored in real time. The actual peak pressure is compared with the target pressure threshold. Based on the deviation between the two and combined with the PID algorithm, the parameters of the next water hammer pulse (closing time of the high-speed solenoid valve and pulse interval time) are dynamically adjusted.
[0127] S704: Software security threshold.
[0128] In the embodiments described in this specification, it is determined whether the actual peak pressure is greater than the software-preset safe pressure upper limit in order to determine the subsequent control strategy.
[0129] S705: Immediately stop the pulse sequence.
[0130] In the embodiments described in this specification, if the actual peak pressure exceeds the software-preset upper limit of safe pressure, the pulse sequence is immediately stopped.
[0131] S706: Mechanical pressure relief valve.
[0132] In the embodiments described in this specification, when the pressure in the drainage pipe rises abnormally, the mechanical pressure relief valve is opened to release the pressure and provide safety protection for the drainage system.
[0133] S707: Continue safe operation.
[0134] In the embodiments described in this specification, if the actual peak pressure is less than or equal to the software-preset safe pressure upper limit, the water hammer pulse will continue to be executed safely to flush the oil in the drainage pipe.
[0135] S708: Cleaning completed safely.
[0136] In the embodiments described in this specification, the smart appliance safely completes cleaning once all the preset number of cleaning pulses has been executed under safe conditions.
[0137] This embodiment employs four levels of safety protection: feedforward prediction (determining the initial safe closing time of the high-speed solenoid valve based on the power of the drain pump and the static pressure of the drain pipe), feedback regulation (monitoring the peak pressure in real time based on the pressure sensor after executing the water hammer pulse, and adjusting the pulse parameters of the subsequent high-speed solenoid valve according to the peak pressure), software emergency stop (immediately judging whether the peak pressure exceeds the software safety limit after each pulse; if it does not exceed it, it continues to execute safely and returns to the feedback regulation layer; if it exceeds it, it immediately stops the pulse sequence and interrupts cleaning), and mechanical pressure relief (automatically performing physical pressure relief when the pressure in the drain pipe is abnormally high), ensuring that the water hammer pressure is always under control, realizing the reliable transformation of the water hammer effect from destructive force to safe cleaning force; at the same time, the multi-level design and combination of multiple components enable it to be integrated into various dishwasher products, improving the versatility and reliability of the water hammer control algorithm.
[0138] In one exemplary implementation, such as Figure 8 As shown, Figure 8 A flowchart illustrating a method for optimizing pulse parameters in a smart appliance, as provided in an embodiment of this specification, includes: S801: Start optimizing the process.
[0139] In the embodiments described in this specification, the process optimization begins after the previous water hammer pulse has been executed.
[0140] S802: Read the current pulse data - pressure peak value.
[0141] In the embodiments described in this specification, the actual peak pressure generated by the water hammer pulse is read.
[0142] S803: Calculate pressure deviation.
[0143] In the embodiments of this specification, the pressure difference between the ideal target pressure value and the actual peak pressure in the drainage pipe is calculated; if the pressure difference is greater than 0, it indicates that the water hammer impact is insufficient, and if the pressure difference is less than 0, it indicates that the water hammer impact is too strong.
[0144] S804: PID controller operation, calculates the shutdown time adjustment based on the pressure difference.
[0145] In the embodiments described in this specification, the PID controller calculates the shut-off time adjustment amount based on the magnitude of the deviation, so that the next water hammer impact is closer to the ideal target pressure value.
[0146] S805: Calculate the next shutdown time.
[0147] In the embodiments of this specification, the sum between the closing time adjustment and the initial safe closing time is calculated to obtain the closing time required by the high-speed solenoid valve for the next water hammer pulse.
[0148] S806: Apply safety limits.
[0149] In the embodiments of this specification, a safe range for the shutdown time is preset. Regardless of the shutdown time calculated by the PID control algorithm, it must be limited to the safe range to prevent the generation of dangerous control commands due to calculation errors or sensor malfunctions.
[0150] S807: Determine the new shutdown time.
[0151] In the embodiments of this specification, if the generated new shutdown time is within the safe range of shutdown time, it is used as the new shutdown time.
[0152] S808: Monitors pressure decay time.
[0153] In the embodiments of this specification, the pressure decay time required for the pressure in the drainage pipe to decrease from the peak value to a safe low level is measured. This directly reflects the recovery speed of the drainage system after an impact. If the recovery is slow, it indicates that the system has high damping or heavy load.
[0154] S809: Adjust the pulse interval based on rules; increase the interval if the pressure decay time is long, and shorten it if the pressure decay time is short.
[0155] In the embodiments of this specification, if the pressure decay time is long, it means that the drainage system needs more time to calm down, so the waiting interval for the next water hammer pulse is automatically extended to prevent the risk of pressure superposition; if the pressure decay time is short, it means that the drainage system has recovered quickly, so the interval can be appropriately shortened to improve the cleaning efficiency of the smart appliance.
[0156] S810: Determine the new pulse interval.
[0157] In the embodiments described in this specification, the optimized interval time is output to ensure that the impact generated by each water hammer pulse is delivered at the optimal moment when the drainage system is ready.
[0158] S811: Optimization complete, parameters to be used in the next pulse.
[0159] In the embodiments described in this specification, the newly calculated solenoid valve closing time pulse interval is stored and applied to the next water hammer pulse; and after the next water hammer pulse is completed, the process will return to the beginning of the optimization process, read the new peak pressure, and start a new round of optimization, thereby realizing the dynamic adjustment of parameters.
[0160] In this embodiment, the peak pressure of the drainage pipe generated during the current water hammer pulse is read, the ideal target pressure value and the deviation between the peak pressure are calculated, and the closing time adjustment is calculated using a PID control algorithm. Combined with the initial closing time and the safe range of the closing time, a new closing time is output to limit it within the safe range. This ensures that the pressure output of the next impact automatically and stably converges to the target pressure value, effectively compensating for interference caused by changes in the cleanliness of the drainage pipe and fluctuations in component performance. Simultaneously, the pressure decay time is monitored in parallel, and the pulse interval time is optimized based on the pressure decay time. This ensures that each water hammer pulse is emitted after the drainage system has fully recovered its calm state, preventing the risk of pressure wave superposition and improving cleaning efficiency. Furthermore, the closing time of the solenoid valve and the pulse interval time are optimized after each water hammer pulse, improving the intelligence level of the smart appliance and enabling it to adaptively adjust with the cleaning process.
[0161] This manual also provides information on self-cleaning devices for smart appliances, such as... Figure 9 As shown, the intelligent electrical appliance includes a drain pump, an energy storage chamber, a solenoid valve, and a drain pipe connected in sequence. The energy storage chamber includes a water storage chamber and a gas storage chamber separated from each other. The water storage chamber is connected to the drain pump and the solenoid valve respectively. The device includes: The oil content value acquisition module 901 is used to acquire the oil content value in the drainage pipe during the drainage process of the smart appliance. The closing module 902 is used to control the drain pump and the solenoid valve to close if the oil content value is greater than or equal to a preset oil content threshold, so that the pressure of the water storage chamber is greater than the pressure of the air storage chamber; the preset oil content threshold is the lower limit value of the oil in the drain pipe that needs to be cleaned. The cumulative closing time detection module 903 is used to detect the first cumulative closing time of the solenoid valve in real time. The opening module 904 is used to obtain the cumulative number of closures of the solenoid valve when the first cumulative closing time is greater than or equal to the first preset closing time, and to control the solenoid valve to open; so that water in the water storage chamber flows into the drain pipe through the solenoid valve to flush the oil stains in the drain pipe. The cleaning module 905 is used to generate a real-time cleaning strategy based on the cumulative number of closures and the preset number of closures, and to clean the oil stains in the drainage pipe based on the real-time cleaning strategy.
[0162] In some embodiments, the oil content value acquisition module further includes: The first acquisition submodule is used to acquire, during the drainage process of the smart appliance, a reference water flow rate value of the drainage pipe, a set of grease content values in a preset time period, a set of water flow rate values, and the current water flow rate value at the current moment; the preset time period is a time period ending at the current moment. The average grease accumulation determination submodule is used to determine the average grease accumulation of the drainage pipe during the preset time period based on the set of grease content values and the set of water flow values during the preset time period. The flow attenuation rate determination submodule is used to determine the flow attenuation rate of the drainage pipe based on the reference water flow rate value and the current water flow rate value. The oil content determination submodule is used to determine the oil content in the drainage pipe based on the average grease accumulation and the flow rate attenuation rate.
[0163] In some embodiments, the average fat accumulation determination submodule further includes: The grease quality value determination unit is used to calculate the product between the grease content value and the water flow rate value corresponding to each of the at least two sampling times, so as to obtain the grease quality value of the drainage pipe at each of the at least two sampling times. The total grease mass value determination unit is used to calculate the sum of the grease mass values corresponding to the at least two collection times, and to obtain the total grease mass value of the drainage pipe at the at least two collection times. The average grease accumulation determination unit is used to determine the average grease accumulation in the drainage pipe based on the total grease mass value and the preset time period.
[0164] In some embodiments, the flow attenuation rate determination submodule further includes: A water flow difference determination unit is used to calculate the difference between the reference water flow value and the current water flow value to obtain the water flow difference. The flow attenuation rate determination unit is used to calculate the ratio between the water flow difference and the reference water flow value to obtain the flow attenuation rate.
[0165] In some embodiments, the oil content determination submodule further includes: The weight acquisition unit is used to acquire the grease accumulation weight and flow weight corresponding to the drainage pipe. The unit for determining the cumulative amount of oil after processing is used to normalize the average cumulative amount of oil to obtain the cumulative amount of oil after processing. The weighted oil accumulation determination unit is used to calculate the product between the processed oil accumulation and the oil accumulation weight to obtain the weighted oil accumulation. The weighted flow attenuation rate determination unit is used to calculate the product between the flow attenuation rate and the flow weight to obtain the weighted flow attenuation rate. The oil content determination unit is used to calculate the sum between the weighted cumulative amount of grease and the weighted flow rate attenuation rate to obtain the oil content value.
[0166] In some embodiments, the apparatus further includes: The cumulative opening time detection module is used to detect the cumulative opening time of the solenoid valve in real time. In some embodiments, the cleaning module further includes: The first pressure value acquisition submodule is used to acquire the first pressure value of the drainage pipe if the cumulative number of closures is less than the preset number of closures. The second preset closing time determination submodule is used to determine the second preset closing time of the solenoid valve based on the target pressure threshold, the first pressure value, and the first preset closing time if the first pressure value is less than or equal to the target pressure threshold. The second cumulative closing time detection submodule is used to control the solenoid valve to close when the cumulative opening time is greater than or equal to the preset opening time, and to detect the second cumulative closing time of the solenoid valve in real time. The cleaning submodule is used to control the solenoid valve to open in order to clean the oil stains in the drain pipe when the second cumulative closing time is greater than or equal to the second preset closing time.
[0167] In some embodiments, the second preset closing duration determination submodule further includes: The pressure difference determination unit is used to calculate the difference between the target pressure threshold and the first pressure value if the first pressure value is less than or equal to the target pressure threshold, and obtain the pressure difference value. The target adjustment duration determination unit is used to determine the target adjustment duration of the solenoid valve based on the pressure difference value. The second preset closing duration determination unit is used to calculate the sum between the first preset closing duration and the target adjustment duration to obtain the second preset closing duration.
[0168] In some embodiments, the closure module further includes: The second acquisition submodule is used to acquire the cumulative running time of the drainage pump, the preset average drainage flow rate, and the total inflow of the drainage pipe if the oil content value is greater than or equal to the preset oil content threshold. The total drainage volume determination submodule is used to calculate the product between the cumulative running time and the preset average drainage flow rate to obtain the total drainage volume of the drainage pipe. The water storage capacity determination submodule is used to calculate the difference between the total inflow and the total outflow to obtain the water storage capacity of the drainage pipe; A closing submodule is used to control the drain pump and the solenoid valve to close if the water storage capacity is greater than a preset water storage threshold; the preset water storage threshold is the lower limit of the water storage capacity required for the self-cleaning of the smart appliance.
[0169] In some embodiments, the apparatus further includes: The third pressure value acquisition module is used to acquire the preset power value of the drainage pump and the third pressure value of the drainage pipe when the oil content value is greater than or equal to the preset oil content threshold and the drainage pump is closed. The target power identifier determination module is used to determine the target power identifier corresponding to the preset power value; The target pressure-duration relationship library determination module is used to search for a pressure-duration relationship library that matches the target power identifier in a preset power-pressure relationship library to obtain the target pressure-duration relationship library; the preset power-pressure relationship library includes a preset power identifier and a mapping relationship between the preset pressure-duration relationship libraries; the preset pressure-duration relationship library includes a preset pressure value and a preset closure duration mapping relationship. The first preset closing duration determination module is used to search for a closing duration that matches the third pressure value in the target pressure duration relationship library to obtain the first preset closing duration.
[0170] The apparatus and method embodiments described herein are based on the same inventive concept.
[0171] This specification provides an electronic device including a processor and a memory. The memory stores at least one instruction or at least one program, which is loaded and executed by the processor to implement the self-cleaning method of the smart appliance provided in the above method embodiments.
[0172] Embodiments of this application also provide a computer storage medium, which can be disposed in a terminal to store at least one instruction or at least one program related to implementing a self-cleaning method for a smart appliance in the method embodiments. The at least one instruction or at least one program is loaded and executed by the processor to implement the self-cleaning method for a smart appliance provided in the above method embodiments.
[0173] Embodiments of this application also provide a computer program product or computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the self-cleaning method for a smart appliance provided in the above-described method embodiments.
[0174] The memory described in the embodiments of this specification can be used to store software programs and modules. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory. The memory may mainly include a program storage area and a data storage area. The program storage area may store the operating system, application programs required for the functions, etc.; the data storage area may store data created according to the use of the device, etc. In addition, the memory may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory may also include a memory controller to provide the processor with access to the memory.
[0175] The self-cleaning method for smart appliances provided in the embodiments of this specification can be executed on a mobile terminal, computer terminal, server, or similar computing device. Taking running on a server as an example, Figure 10 This is a hardware structure block diagram of a server for a self-cleaning method for intelligent appliances provided in the embodiments of this specification. (Example:) Figure 10As shown, the server 1000 can vary significantly due to different configurations or performance. It may include one or more Central Processing Units (CPUs) 1010 (CPUs 1010 may include, but are not limited to, microprocessors (MCUs) or programmable logic devices (FPGAs), a memory 1030 for storing data, and one or more storage media 1020 (e.g., one or more mass storage devices) for storing application programs 1023 or data 1022. The memory 1030 and storage media 1020 may be temporary or persistent storage. The program stored in the storage media 1020 may include one or more modules, each module may include a series of instruction operations on the server. Furthermore, the CPU 1010 may be configured to communicate with the storage media 1020 and execute the series of instruction operations in the storage media 1020 on the server 1000. Server 1000 may also include one or more power supplies 1060, one or more wired or wireless network interfaces 1050, one or more input / output interfaces 1040, and / or one or more operating systems 1021, such as Windows Server™, Mac OS X™, Unix™, Linux™, FreeBSD™, etc.
[0176] The input / output interface 1040 can be used to receive or send data via a network. Specific examples of the network described above may include a wireless network provided by the communication provider of server 1000. In one example, the input / output interface 1040 includes a network interface controller (NIC), which can connect to other network devices via a base station to communicate with the Internet. In another example, the input / output interface 1040 may be a radio frequency (RF) module used for wireless communication with the Internet.
[0177] Those skilled in the art will understand that Figure 10 The structure shown is for illustrative purposes only and does not limit the structure of the aforementioned electronic device. For example, server 1000 may also include... Figure 10 The more or fewer components shown, or having the same Figure 10 The different configurations shown.
[0178] As can be seen from the embodiments of the self-cleaning method and apparatus for smart appliances provided in this application, during the drainage process of the smart appliance, this application obtains the oil content value in the drainage pipe; if the oil content value is greater than or equal to a preset oil content threshold, it controls the drainage pump and the solenoid valve to close; so that the pressure of the water storage chamber is greater than the pressure of the air storage chamber; the preset oil content threshold is the lower limit value of the oil in the drainage pipe that needs to be cleaned; the first cumulative closing time of the solenoid valve is detected in real time; when the first cumulative closing time is greater than or equal to the first preset closing time, the cumulative number of closing times of the solenoid valve is obtained, and the solenoid valve is controlled to open; so that the water in the water storage chamber flows into the drainage pipe through the solenoid valve to flush the oil in the drainage pipe; a real-time cleaning strategy is generated based on the cumulative number of closing times and the preset number of closing times, and the oil in the drainage pipe is cleaned based on the real-time cleaning strategy.
[0179] The design includes a smart electrical system consisting of a drain pump, an energy storage chamber, a solenoid valve, and a drain pipe connected in sequence. The energy storage chamber is divided into a water storage chamber and an air storage chamber, with the water storage chamber connected to the drain pump and solenoid valve. It integrates data from multiple sensors to calculate the oil content and initiates a self-cleaning program when the oil content is too high. First, it determines whether the water storage capacity in the drainage system is sufficient to support water hammer pulses, avoiding unnecessary energy consumption by the smart electrical system. Based on the preset power value of the drain pump and the static pressure (third pressure value) of the drain pipe, it determines the first preset closing time of the solenoid valve, achieving feedforward prediction to ensure that the first round of water hammer pulses generates sufficient cleaning force while avoiding the risk of overpressure in the drain pipe. A preset number of solenoid valve closures is preset, ensuring that the actual number of closures in use is based on this preset number. After the solenoid valve closes for the first time, the drain pump and solenoid valve... A sealed space is formed between the valves, and water collects in the water storage chamber. The pressure in the water storage chamber is greater than the pressure in the air storage chamber. When the solenoid valve opens, a high-pressure water jet is ejected at high speed, forming a shock wave (water hammer). This generates a strong shearing force on the oil stains on the drain pipe wall, thus achieving a controllable water hammer effect to clean the oil stains in the drain pipe, avoiding blockages and improving the self-cleaning effect of the smart appliance. After the first water hammer pulse, the closing time of the solenoid valve and the pulse interval are continuously optimized, allowing the smart appliance to adaptively optimize during the self-cleaning process, achieving on-demand cleaning and improving the intelligence level of the smart appliance. At the same time, the pressure value in the drain pipe is continuously monitored during the cleaning process. When overpressure occurs, a mechanical pressure relief valve is used to release pressure, enabling predictive maintenance of the smart appliance and improving its safety performance.
[0180] It should be noted that the order of the embodiments described above is merely for descriptive purposes and does not represent the superiority or inferiority of the embodiments. Furthermore, specific embodiments of this specification have been described above. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in a different order than that shown in the embodiments and still achieve the desired result. Additionally, the processes depicted in the drawings do not necessarily require a specific or sequential order to achieve the desired result. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0181] The various embodiments in this specification are described in a progressive manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the embodiments of apparatus, devices, and storage media are basically similar to the method embodiments, so the descriptions are relatively simple; relevant parts can be referred to the descriptions of the method embodiments.
[0182] Those skilled in the art will understand that all or part of the steps of the above embodiments can be implemented by hardware or by a program instructing related hardware. The program can be stored in a computer storage medium, such as a read-only memory, a disk, or an optical disk.
[0183] The above description is only a preferred embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.
Claims
1. A self-cleaning method for intelligent electrical appliances, characterized in that, The intelligent electrical appliance includes a drain pump, an energy storage chamber, a solenoid valve, and a drain pipe connected in sequence. The energy storage chamber includes a water storage chamber and a gas storage chamber separated from each other. The water storage chamber is connected to the drain pump and the solenoid valve, respectively. The method includes: During the drainage process of the smart appliance, the oil content value in the drainage pipe is obtained; If the oil content value is greater than or equal to a preset oil content threshold, the drain pump and the solenoid valve are controlled to close, so that the pressure in the water storage chamber is greater than the pressure in the air storage chamber; the preset oil content threshold is the lower limit value of the oil in the drain pipe that needs to be cleaned. Real-time detection of the first cumulative closing time of the solenoid valve; If the first cumulative closing time is greater than or equal to the first preset closing time, the cumulative number of closing times of the solenoid valve is obtained, and the solenoid valve is controlled to open; so that the water in the water storage chamber flows into the drain pipe through the solenoid valve to flush the oil stains in the drain pipe. Based on the cumulative number of closures and the preset number of closures, a real-time cleaning strategy is generated, and the oil stains in the drainage pipe are cleaned based on the real-time cleaning strategy.
2. The method according to claim 1, characterized in that, The process of obtaining the oil content value in the drainage pipe during the drainage process of the smart appliance includes: During the drainage process of the smart appliance, the reference water flow rate value of the drainage pipe, the set of grease content values in a preset time period, the set of water flow rate values, and the current water flow rate value at the current moment are obtained; the preset time period is the time period ending at the current moment. Based on the set of grease content values and the set of water flow values for the preset time period, the average grease accumulation in the drainage pipe during the preset time period is determined. The flow attenuation rate of the drainage pipe is determined based on the reference water flow rate and the current water flow rate. The oil content in the drainage pipe is determined based on the average grease accumulation and the flow rate attenuation rate.
3. The method according to claim 2, characterized in that, The preset time period includes at least two data collection times; determining the average grease accumulation in the drainage pipe during the preset time period based on the set of grease content values and the set of water flow values during the preset time period includes: Calculate the product between the grease content value and the water flow rate value corresponding to each of the at least two sampling times to obtain the grease mass value of the drainage pipe at each of the at least two sampling times. Calculate the sum of the grease mass values corresponding to each of the at least two sampling times to obtain the total grease mass value of the drainage pipe at the at least two sampling times; The average grease accumulation in the drainage pipe is determined based on the total grease mass value and the preset time period.
4. The method according to claim 3, characterized in that, Determining the flow attenuation rate of the drainage pipe based on the reference water flow rate and the current water flow rate includes: The difference between the reference water flow rate and the current water flow rate is calculated to obtain the water flow rate difference. The flow rate attenuation rate is obtained by calculating the ratio between the water flow rate difference and the reference water flow rate value.
5. The method according to claim 4, characterized in that, Determining the oil content value in the drainage pipe based on the average accumulated grease and the flow rate attenuation includes: Obtain the grease accumulation weight and flow rate weight corresponding to the drainage pipe; The average oil accumulation is normalized to obtain the processed oil accumulation. The weighted cumulative amount of oil is obtained by multiplying the cumulative amount of oil after processing with the weight of the cumulative amount of oil. The weighted flow attenuation rate is obtained by multiplying the flow attenuation rate and the flow weight. The oil content value is obtained by summing the weighted cumulative amount of grease and the weighted flow rate attenuation rate.
6. The method according to claim 1, characterized in that, After obtaining the cumulative number of closures of the solenoid valve and controlling the solenoid valve to open when the first cumulative closure duration is greater than or equal to the first preset closure duration, the method further includes: Real-time monitoring of the cumulative opening time of the solenoid valve; The step of generating a real-time cleaning strategy based on the cumulative number of closures and a preset number of closures, and cleaning the grease in the drainage pipe based on the real-time cleaning strategy, includes: If the cumulative number of closures is less than the preset number of closures, obtain the first pressure value of the drainage pipe; If the first pressure value is less than or equal to the target pressure threshold, the second preset closing time of the solenoid valve is determined based on the target pressure threshold, the first pressure value, and the first preset closing time. When the cumulative opening time is greater than or equal to the preset opening time, the solenoid valve is controlled to close, and the second cumulative closing time of the solenoid valve is detected in real time. When the second cumulative closing time is greater than or equal to the second preset closing time, the solenoid valve is controlled to open to clean the oil stains in the drainage pipe.
7. The method according to claim 6, characterized in that, If the first pressure value is less than or equal to the target pressure threshold, determining the second preset closing time of the solenoid valve based on the target pressure threshold, the first pressure value, and the first preset closing time includes: If the first pressure value is less than or equal to the target pressure threshold, calculate the difference between the target pressure threshold and the first pressure value to obtain the pressure difference. The target adjustment time of the solenoid valve is determined based on the pressure difference. The second preset closing time is obtained by calculating the sum between the first preset closing time and the target adjustment time.
8. The method according to claim 1, characterized in that, If the oil content value is greater than or equal to a preset oil content threshold, controlling the drainage pump and the solenoid valve to close includes: If the oil content value is greater than or equal to the preset oil content threshold, obtain the cumulative running time of the drainage pump, the preset average drainage flow rate, and the total inflow of the drainage pipe. The total drainage volume of the drainage pipe is obtained by multiplying the cumulative running time and the preset average drainage flow rate. The difference between the total inflow and the total outflow is calculated to obtain the water storage capacity of the drainage pipe; If the water storage capacity is greater than the preset water storage threshold, the drain pump and the solenoid valve are controlled to close; the preset water storage threshold is the lower limit of the water storage capacity required for the smart appliance to self-clean.
9. The method according to claim 1, characterized in that, The method for obtaining the first preset closing duration includes: When the oil content value is greater than or equal to the preset oil content threshold and the drain pump is closed, the preset power value of the drain pump and the third pressure value of the drain pipe are obtained. Determine the target power identifier corresponding to the preset power value; The target pressure duration relationship library is obtained by searching the preset power pressure relationship library for a pressure duration relationship library that matches the target power identifier. The preset power pressure relationship library includes a mapping relationship between preset power identifiers and preset pressure duration relationship libraries. The preset pressure duration relationship library includes a mapping relationship between preset pressure values and preset closure durations. The first preset closing time is obtained by searching the target pressure-time relationship database for a closing time that matches the third pressure value.
10. A self-cleaning device for a smart appliance, characterized in that, The intelligent electrical appliance includes a drain pump, an energy storage chamber, a solenoid valve, and a drain pipe connected in sequence. The energy storage chamber includes a water storage chamber and a gas storage chamber separated from each other. The water storage chamber is connected to the drain pump and the solenoid valve respectively. The device includes: An oil content value acquisition module is used to acquire the oil content value in the drainage pipe during the drainage process of the smart appliance. A closing module is used to control the drain pump and the solenoid valve to close if the oil content value is greater than or equal to a preset oil content threshold, so that the pressure in the water storage chamber is greater than the pressure in the air storage chamber; the preset oil content threshold is the lower limit value of the oil in the drain pipe that needs to be cleaned. The cumulative closing time detection module is used to detect the first cumulative closing time of the solenoid valve in real time. The opening module is used to obtain the cumulative number of closures of the solenoid valve when the first cumulative closing time is greater than or equal to the first preset closing time, and control the solenoid valve to open; so that water in the water storage chamber flows into the drain pipe through the solenoid valve to flush the oil stains in the drain pipe; The cleaning module is used to generate a real-time cleaning strategy based on the cumulative number of closures and a preset number of closures, and to clean the oil stains in the drainage pipe based on the real-time cleaning strategy.