Humidifier bacterium inhibition control method and system based on AI water quality attenuation model
By using an AI-based water quality degradation model to record water addition events and atomization consumption, a batch ledger of water volume is constructed. Combined with a temperature acceleration function and a data-driven model, the risk of water contamination in the humidifier is dynamically assessed. This solves the problem that existing humidifiers cannot reflect the mixing of new and old water and the impact of water temperature, ensuring effective protection in the event of power failure or abnormal conditions, and improving the hygiene and safety of the humidifier.
Patent Information
- Application Number
- CN202611522851.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-29
- Publication Date
- 2026-11-27
AI Technical Summary
Existing humidifiers cannot effectively distinguish the mixing ratio of new and old water and the influence of water temperature, resulting in fixed timers failing to reflect the actual pollution status of the water in the tank. Furthermore, they lose their protective capabilities in the event of power failure or abnormal conditions, and cannot properly sterilize or assess changes in water quality.
An AI-based water quality degradation model is used to record each water addition event and atomization consumption to build a batch ledger of water volume. Combined with a temperature acceleration function and a data-driven model, the risk of water contamination is dynamically assessed, and the atomization module is locked when the level is reached, triggering sterilization and prompting for water replacement.
It enables dynamic assessment of the risk of water contamination in the water tank without the need for an online water quality sensor, improving the humidifier's hygiene and safety, preventing deteriorated water from being atomized, and ensuring effective protection in the event of power failure or abnormal conditions.
Smart Images

Figure CN123174680A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of humidifier hygiene and safety and intelligent control technology, and in particular to a humidifier antibacterial control method and system based on an AI water quality decay model. Background Technology
[0002] Humidifiers increase ambient air humidity by atomizing water stored in a tank and are widely used in indoor settings such as homes, hospital wards, and offices. The humidifier water tank is a semi-enclosed, light-proof, and temperature- and humidity-controlled water storage structure. If the residual water inside is left stagnant for a long time, microorganisms in the water will gradually proliferate during the lag phase and logarithmic phase, potentially forming a biofilm on the tank walls and transducer surface. When this degraded water is directly atomized, the microorganisms and their metabolic products can enter the human respiratory tract via aerosols, posing a health risk to sensitive individuals. Therefore, automatically identifying the sanitary condition of the stored water and preventing degraded water from being atomized without relying on human intervention is a practical need to improve the safety of humidifier use and has clear hygienic significance and application value.
[0003] Existing humidifiers have the following shortcomings in addressing this problem: Firstly, most products rely on physical timing with a fixed duration or on the user's own judgment of water change. Fixed timing only accumulates natural time, does not distinguish the mixing ratio of new and old water, and does not consider the impact of water temperature on the rate of microbial growth. If the user adds a small amount of water, it may be mistakenly judged as an effective water change and the timing will be restarted, causing the already deteriorated water to continue to be atomized. In scenarios with low temperature and frequent water use, it is easy to trigger alarms too early, interfering with normal use. Secondly, some products use constantly running UV lamps or single sterilization functions as a means, lacking a control system related to the sanitary condition of the water. The sterilization action is not quantitatively applied according to the degree of pollution, and the water quality is not reassessed over time after sterilization, failing to reflect the phenomenon of microbial re-proliferation after disinfection.
[0004] Third, existing solutions generally lack fail-safe design. Once the timing data is lost due to power failure or the detection or algorithm is abnormal, the hygiene protection will fail. Users can even reset the existing timing to zero by powering off or adding a small amount of water, making it difficult to form a reliable and unavoidable antibacterial step.
[0005] To address the aforementioned shortcomings, this invention constructs a batch ledger of water volume based on successive water additions and consumption, an AI water quality degradation model combining temperature acceleration and data-driven approaches, and a graded locking and disinfection, water replacement unlocking technology that ORs risk criteria with static hard thresholds. This aims to overcome the technical bottlenecks of existing fixed-timed systems that cannot reflect the mixing of new and old water and the impact of water temperature, as well as the inadequacy of sterilization and the possibility of bypassing protection. It achieves dynamic assessment of the risk of water contamination in the humidifier's water tank and preventative antibacterial control for safety without the need for online water quality sensors. Summary of the Invention
[0006] The purpose of this invention is to propose a humidifier antibacterial control method and system based on an AI water quality degradation model. This addresses the problems faced by existing humidifiers, such as the inability of fixed physical timing to reflect the mixing of old and new water and the influence of water temperature, and the inability to maintain effective protection in the event of power failure or abnormal conditions, leading to the atomization of deteriorated water. It also solves the problems of the sterilization action being disconnected from the degree of contamination, the lack of re-evaluation of water quality after disinfection, and the possibility of bypassing protective measures.
[0007] To achieve the above objectives, the technical solution adopted by the present invention is as follows: In a first aspect of the present invention, a method for antibacterial control of a humidifier based on an AI water quality degradation model is provided, comprising the following steps: S10. Record the water addition time and amount for each water addition event, and establish the water balance of the water tank by combining the atomization consumption of the atomization module, and determine the equivalent stagnation time of the water and the continuous stagnation time since the last water disturbance. S20. Input the state characteristics into the pre-established water quality decay model to obtain the water quality state quantity that characterizes the degree of water pollution. The water quality state quantity includes the pollution risk index and the remaining safe time. S30. Compare the water quality status quantity with the preset safety threshold to determine the water quality level of the stored water; S40. When the water quality level is determined to reach the lock level, the atomizing module is locked to prevent the humidification action, and the sterilization module is linked to perform forced disinfection. The prompting module outputs a water change reminder. S50. Update the water quality status based on the sterilization results of the sterilization module and the detected effective water exchange events, and unlock the atomization module when the unlocking conditions are met.
[0008] Furthermore, in step S10, establishing water balance and determining equivalent stagnation time includes treating each water addition as a water batch, recording the entry time and volume of each batch, and deducting the volume of each batch according to the atomization consumption. The water batches and equivalent stagnation time are stored in non-volatile memory. The stagnation time of each batch from entry into the tank is weighted by the proportion of its batch volume to the current total volume of the water tank to obtain the equivalent stagnation time. During the power outage of the humidifier, the power outage duration is recorded by a real-time clock. After power is restored, the power outage duration is added back according to the accumulation rule of the equivalent stagnation time to obtain the effective stagnation amount accelerated by temperature and the continuous stagnation time.
[0009] Furthermore, each time a water addition event occurs, the proportion of the water added to the total volume of the water tank after the addition is calculated as the new water ratio: when the new water ratio reaches the set water replacement ratio, it is determined as a valid water replacement event, the historical water volume batch is cleared, and the equivalent stagnation time and continuous static duration are reset; when the new water ratio does not reach the set water replacement ratio, the water volume batch before the addition is retained, and the current water addition is incorporated into the water balance, diluted by volume weight, and the equivalent stagnation time of the stored water is not reset.
[0010] Furthermore, the state characteristics in step S20 include the effective stagnation amount accelerated by temperature, the continuous stagnation time, water temperature, ambient temperature and humidity, historical water usage rhythm, and cumulative disinfection dosage. The effective stagnation amount accelerated by temperature is the integral of the temperature acceleration function over time. The temperature acceleration function has a value of 1 at the reference water temperature and increases with the increase of water temperature. The pollution risk index characterizes the relative degree of microbial contamination of the stored water. The remaining safe time is the time from the current moment until the pollution risk index is expected to reach the locking threshold.
[0011] Furthermore, the water quality degradation model is a data-driven model pre-trained based on water quality samples collected under different stagnation durations, water temperatures, and water usage rhythms; and it also performs an online self-learning step, including correcting the model parameters of the water quality degradation model and the preset safety thresholds at each level according to the user's actual water addition intervals, disinfection behavior, and water replenishment behavior.
[0012] Furthermore, in step S30, the water quality level includes a safety level, a warning level, and a lockout level. The lockout level is determined by an OR judgment method of a first criterion and a second criterion. The first criterion is that the pollution risk index reaches the lockout threshold, and the second criterion is that the continuous static duration reaches a preset static hard threshold. When the water quality degradation model or water quantity detection module is abnormal, the judgment is degraded to the timing judgment based on the preset static hard threshold.
[0013] Furthermore, after the sterilization module in step S40 performs disinfection, the pollution risk index is reduced based on its cumulative disinfection dose, or the equivalent stagnation time is reversed. After reduction or reversal, the water quality status continues to accumulate and update over time.
[0014] Furthermore, in step S50, the unlocking condition is that the effective water change event is detected, or the sterilization module determines the disinfection dosage according to the water quality level and disinfects until the water quality status drops back to the safe level, and the prompt module outputs the reason for locking and the remaining safe time.
[0015] In a second aspect of the present invention, a humidifier antibacterial control system based on an AI water quality decay model is provided, characterized in that it includes: a water volume detection module for acquiring the water volume in the water tank and identifying water addition events and water volume; a timing module for providing the water addition time, continuous static duration, and power outage duration; a storage module for storing water volume batches and equivalent static time; a sterilization module for performing sterilization actions on the stored water; an atomization module for atomizing and outputting the stored water; a prompting module for outputting the reason for humidifier locking and remaining safety events to remind the user to change the water in time; and a controller, specifically... The system includes a water age calculation unit, a water quality decay model unit, a grade determination unit, and a linkage execution unit. The water age calculation unit determines the equivalent stagnation time and continuous static duration by combining the water addition and atomization consumption. The water quality decay model unit outputs water quality status quantities including a pollution risk index and remaining safe time based on state characteristics including at least the equivalent stagnation time. The grade determination unit determines the water quality grade according to a preset safety threshold. The linkage execution unit locks the atomization module and links the sterilization module and the prompt module when the lock level is reached, and unlocks the module when the unlocking conditions are met.
[0016] In a third aspect of the invention, an electronic device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that the processor executes the humidifier antibacterial control method based on an AI water quality degradation model from the first aspect.
[0017] Compared to the prior art, the beneficial effects of this disclosure are as follows: 1) This disclosure uses the method of adding water sequentially and atomizing to construct a batch ledger of water volume and weights the equivalent stagnation time by the batch volume ratio. This changes the method of recording only natural time at fixed time. Therefore, it can quantitatively characterize the actual stagnation degree after mixing new and old water without configuring online water quality sensors. This is conducive to obtaining water age estimation that is close to the actual pollution accumulation process at a lower hardware cost.
[0018] 2) This disclosure distinguishes between effective water replacement and minor water addition based on whether the proportion of new water reaches the set water replacement ratio. Furthermore, the water age ledger is stored in non-volatile memory, and the duration of power failure is compensated by a real-time clock. Therefore, minor water addition only produces weighted dilution and does not reset the water age to zero. Power failure will not cause the loss of existing stagnant records. This helps to avoid the problem of water age assessment being bypassed due to human or non-human factors, and improves the objectivity and anti-interference ability of water age records.
[0019] 3) This disclosure constructs the equivalent stagnation time as the integral of the temperature acceleration function over time, and introduces an online self-learning water quality degradation model with water temperature, water usage rhythm, and disinfection dosage as inputs, outputting a pollution risk index and remaining safe time. Therefore, it can distinguish the actual degradation rate under different water temperatures and water usage habits, and make the judgment result dynamically adjusted with the working conditions. This helps to reduce false alarms in low-temperature high-frequency water use scenarios with fixed timing and false alarms in high-temperature static scenarios. Furthermore, it can gradually converge the threshold according to individual usage habits.
[0020] 4) This disclosure adopts a locking logic that combines dynamic risk criteria with continuous static hard thresholds, degrades to conservative timing in case of anomalies, and constructs a locking, quantitative disinfection, water change reminder and unlocking process that meets the standard. After disinfection, the water quality status continues to accumulate, so even if the model or detection link fails, it can ensure that the deteriorated water is not atomized by the mechanism. At the same time, it avoids permanent unlocking after one disinfection, which is conducive to forming a failure-safe and non-sustainable antibacterial control system, and improves the hygiene and safety of the humidifier mist output.
[0021] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure.
[0022] Other features and aspects of this disclosure will become clear from the following detailed description of exemplary embodiments with reference to the accompanying drawings. Attached Figure Description
[0023] Figure 1 A flowchart of a humidifier antibacterial control method based on an AI water quality decay model is provided in an embodiment of the present invention. Figure 2 This is a block diagram of a humidifier antibacterial control system based on an AI water quality decay model, provided as an embodiment of the present invention. Detailed Implementation
[0024] Various exemplary embodiments, features, and aspects of this disclosure will now be described in detail with reference to the accompanying drawings. The same reference numerals in the drawings denote elements that have the same or similar functions. Although various aspects of the embodiments are shown in the drawings, they are not necessarily drawn to scale unless specifically indicated otherwise.
[0025] The term “exemplary” as used herein means “serving as an example, embodiment, or illustration.” Any embodiment illustrated herein as “exemplary” is not necessarily to be construed as superior to or better than other embodiments.
[0026] In this document, the term "and / or" is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent three cases: A alone, A and B simultaneously, and B alone. Furthermore, the term "at least one" in this document means any combination of at least two of any one or more elements. For example, including at least one of A, B, and C can mean including any one or more elements selected from the set consisting of A, B, and C.
[0027] Furthermore, to better illustrate this disclosure, numerous specific details are set forth in the following detailed description. Those skilled in the art will understand that this disclosure can be practiced without certain specific details. In some instances, methods, means, components, and circuits well known to those skilled in the art have not been described in detail in order to highlight the main points of this disclosure.
[0028] To make the objectives, technical solutions, and advantages of the embodiments of this disclosure clearer, the technical solutions in the embodiments of the invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the protection scope of the present invention.
[0029] Example 1
[0030] Based on the above ideas, this disclosure proposes a humidifier antibacterial control method based on an AI water quality decay model. Figure 1 A flowchart of a humidifier antibacterial control method based on an AI water quality degradation model is shown. The method includes: S10. Record the water addition time and amount for each water addition event, and establish the water balance of the water tank by combining the atomization consumption of the atomization module, and determine the equivalent stagnation time of the water and the continuous stagnation time since the last water disturbance. S20. Input the state characteristics, including at least the equivalent stagnation time, into the pre-established water quality decay model to obtain the water quality state quantity characterizing the degree of water pollution. The water quality state quantity includes the pollution risk index and the remaining safe time. S30. Compare the water quality status quantity with the preset safety threshold to determine the water quality level of the stored water; S40. When the water quality level is determined to reach the lock level, the atomizing module is locked to prevent the humidification action, and the sterilization module is linked to perform forced disinfection. The prompting module outputs a water change reminder. S50. Update the water quality status based on the sterilization results of the sterilization module and the detected effective water exchange events, and unlock the atomization module when the unlocking conditions are met.
[0031] Specifically, the water volume detection module samples the water volume in the tank before and after each water addition, and the difference between the two samples represents the volume of water added in that instance. The water addition time is recorded by a real-time clock. This establishes a water batch. Between two water additions, the atomizing module consumes flow rate. Drain the stored water. Assuming uniform mixing, each batch consumes water according to its current volume percentage; therefore, the... The remaining volume of the batch is in a very small range. The internal changes are: , in, For the first Batch water at time The remaining volume, For the water tank at all times The total volume of water stored, For a moment Atomization consumes flow rate. The time step is the length of a small control interval.
[0032] Its differential form and the volume jump at the moment of water addition are as follows: , , in, Indicates the first The total remaining volume after the second water addition is completed. Indicates the first The volume of remaining old water before the next water addition is completed. Indicates the first The volume of new water added each time.
[0033] Summing over all batches yields the total volume that satisfies the given conditions. That is, the discharge volume equals the sum of the deductions from each batch, ensuring water conservation; percentage It is an objective volume fraction determined by the current water composition, rather than an artificially set empirical weight. As an alternative implementation method, a first-in, first-out (FIFO) deduction rule can also be used, that is, deduction is given priority to the batch that entered the tank earliest, which also satisfies the total volume conservation.
[0034] No. The nominal water age of a batch from the time it enters the container is the physical residence time. The formula is expressed as: , in, For the current continuous time variable, For the first The moment the water refilling incident occurred.
[0035] Since multiple batches exist in the water tank simultaneously, this embodiment does not calculate the water age based on the oldest or newest single batch, but rather uses the volume percentage of each batch as the weight to determine the nominal water age. Weighted, the volume-weighted equivalent dwell time is obtained, expressed by the formula: , in, The volume-weighted equivalent dwell time represents the average age of the water in the tank. When a larger amount of new water is injected, the volume percentage shifts towards the newer batch. This decrease reflects the true process of dilution as new and old water mix. Conversely, as stored water is continuously consumed and the proportion of older batches increases, The corresponding increase. This is fundamentally different from the timing method of a fixed timer that does not distinguish between mixed proportions.
[0036] In addition to the average water age, the controller also records the continuous static time separately. Actions that cause water flow or renewal, such as effective water addition, atomized water pumping exceeding the set flow rate, and circulating disinfection, are defined as disturbance events, and the most recent disturbance time is recorded. ,but: , , in, For continuous static duration, The time of occurrence of each disturbance is denoted as . Even if the average water age If the water remains completely still for a short period of time, without flowing or being disinfected, it is still conducive to the attachment of microorganisms and the development of biofilm. Therefore, the duration of continuous stillness needs to be used as a criterion for judgment independent of the average water age, and used together with subsequent risk assessment criteria.
[0037] Specifically, to prevent a small amount of water being added from being mistaken for a full tank water change, the controller... Before adding water, first read the remaining volume before adding water. Calculate the proportion of new water this time. And distinguish between effective water changes and regular water replenishment according to the following rules: , in, When it is the first The ratio of fresh water added in the first batch To determine the effective water exchange ratio, when an effective water exchange is determined, the historical batches are cleared and the equivalent downtime is reset. Effective stagnation rate accelerated by temperature With continuous static duration When a batch is determined to be a normal addition of water, the historical batch is retained and incorporated into the new batch. It is then diluted using the volume-weighted equivalent stagnation time formula and is not reset.
[0038] The water age can only be reset to zero when new water dominates the total volume after addition and the old water is substantially replaced; adding a small amount of water will only lower the water age portion through volume weighting. Set the water replacement ratio. In one implementation, to make the parameters calibrable, The value is 0.5, which means that the proportion of new water is more than half and the proportion of old water is reduced to less than half before it is considered as water replacement. This is consistent with the intuitive judgment that most of the water in the tank has been replaced. This value is only the initial value for calibration. In practice, it can be adjusted within the range of (0,1) according to the water tank volume and hygiene requirements.
[0039] Specifically, to prevent water age loss due to power outages, water volume batch ledgers and equivalent stagnation time are recorded. Effective stagnation rate accelerated by temperature Continuous static duration Cumulative UV disinfection dose All data is written to non-volatile memory, and the real-time clock continues to run during power outages. The power outage duration is calculated upon power restoration. And it will be calculated according to the same stagnation accumulation rules as normal operation, where, For the moment of power failure, This is the moment when power is restored.
[0040] The supplementary calculation method can be expressed by the formula as follows: , , in, The duration of continuous stillness at the moment of power-on. The duration of continuous stillness at the moment of power outage. The effective stagnation amount at the moment of power-on. The effective stagnation amount at the moment of power failure. Let be the temperature acceleration function. This is the estimated water temperature value used during the power outage.
[0041] During a power outage, although the humidifier's controller is not operating, microorganisms in the water continue to multiply. Therefore, the duration of the power outage must be included in the static and effective stagnation time. Since the water temperature cannot be measured during a power outage, an estimated water temperature is necessary. If the higher of the last water temperature and ambient temperature before power is cut off is selected, the estimated stagnation amount will be larger, and the result will be biased towards the safe side, which is in line with the fail-safe principle.
[0042] Considering that water temperature is the main environmental factor affecting the rate of microbial proliferation, this embodiment does not directly use natural time as the basis for risk assessment, but instead converts it into the effective stagnation amount at the baseline water temperature.
[0043] Specifically, define the temperature acceleration function. If , which is 1 at the reference water temperature and increases with increasing water temperature, then the cumulative rate of effective stagnation and its integral form are: , , in, For a moment Water tank temperature, Reference water temperature Temperature acceleration function under [condition].
[0044] , in, This is the most recent reset time for the water age ledger. This is a dummy variable for integration, used to represent the time within the integration interval.
[0045] In one implementation, the temperature acceleration function is constructed in the form of a temperature coefficient, expressed by the formula: , in, It is the temperature coefficient, that is, the coefficient of water temperature for every increase of temperature. The rate amplification factor.
[0046] When the water temperature is higher than the reference water temperature, the temperature acceleration function A value greater than 1 indicates that the effective stationary clock is faster than the natural clock, while the opposite is true for water temperatures lower than the reference water temperature. Therefore, under the same natural settling time, water with a higher temperature will reach the risk threshold earlier, consistent with the general rule that mesophilic microorganisms proliferate faster within a suitable temperature range. This mechanism is an application of a well-known principle in this field to this scenario. The precise parameters for this humidifier's specific water source are still subject to calibration. In one embodiment, the reference water temperature... The value is The water temperature is close to the typical water temperature of an indoor water tank at room temperature, making it easy to perform fast / slow conversions based on room temperature, and the temperature coefficient... The initial calibration value is in Selected from the options.
[0047] Specifically, based on the mechanism calculation, the water quality degradation model further introduces multi-dimensional state features, and the model input feature vector The construction is as follows: , in, For ambient relative humidity, This is a statistical vector representing historical water usage patterns. Cumulative UV disinfection dose. Historical water usage rhythm statistical vector. It consists of statistics on the frequency of water replenishment in the recent cycle, the average working duty cycle, and the natural time since the last effective water exchange.
[0048] The data-driven model maps feature vectors to pollution risk indices. This can be expressed as a formula: , , in, The parameter is The water quality degradation model can employ any equivalent model capable of supervised regression, such as gradient boosting decision trees, shallow neural networks, or Bayesian sequential models. Its training samples are water quality samples cultured offline under different effective stagnation levels and water temperatures, labeled with microbial indicator values. The label values are monotonically transformed and normalized to an interval. As a monitoring target.
[0049] The remaining safe time is defined as the time remaining before the estimated future water temperature trajectory. Under these conditions, the time required for the risk to first reach the locking threshold from the current moment is expressed by the formula: , in, The remaining safe time is quantified to the user, indicating how much longer the water can be used safely. This information is displayed by the reminder module and supports early water change reminders. The function guarantees the minimum value that satisfies the condition, i.e., from the current time. Looking ahead, the pollution risk index First rise to the lock threshold The shortest time required For locked-level risk thresholds, meet the following conditions , This is the risk threshold for early warning level.
[0050] The water quality degradation model supports online learning, using events such as user-initiated water changes or system-locked water changes as weak supervision signals, and adjusting the step size in the direction of reducing false alarms and false negatives. The formula for updating model parameters is as follows: , in, For the updated model parameters, These are the current model parameters. Choosing a smaller step size for online parameter updates ensures smooth online updates and prevents gradient updates from being affected by single abnormal water usage behaviors. This is the gradient operator symbol. For the first The loss function used in this online self-learning process Represents the loss function For parameter vectors The gradient.
[0051] The thresholds at each level are based on the user's experience with the safe duration that is actually acceptable, using a single sliding coefficient. Perform an exponential sliding update, taking the locked threshold as an example: , in, This is the update sequence number for online self-learning, rounded to a positive integer. and It is the exponential sliding coefficient of the same quantity between two adjacent estimates, describing the time recursion relationship.
[0052] When the sterilization module is working, the cumulative disinfection dose The formula, which integrates the surface density of ultraviolet power reaching the water body over time, is as follows: , in, This is the most recent reset time for the water age ledger. This represents the surface density of ultraviolet power reaching the water body. At the end of a disinfection cycle... You can choose one of the two equivalent treatment methods to update the water quality status.
[0053] One is risk reduction, expressed by the formula: , , in, This indicates the pollution risk index at the instant of performing the unlocking action. This indicates the contamination risk index at the instant before the disinfection process ends. The amount of disinfectant applied in a single disinfection process. This is a risk reduction function for eliminating pests.
[0054] Secondly, there is the effective water age adjustment, expressed by the formula: , in, To eliminate water age adjustment amount.
[0055] Disinfection risk reduction function Cumulative dose of this disinfection Increase and decrease, return amount Cumulative dose of this disinfection The specific functional relationship between the two is determined by the UV dose-inactivation effect calibration curve. Reduction or reversal does not freeze water quality state parameters for any... The cumulative and updated effective stagnant volume is still increasing. and pollution risk index Because disinfection reduces the current pollution load, it cannot make the water permanently sterile. Microorganisms will multiply again after disinfection. Therefore, it is necessary to continue timing after disinfection to avoid considering a single disinfection as permanent safety.
[0056] The grading unit classifies water quality into three levels: safe, warning, and locked. The judgment rule is as follows: , in, The risk threshold is for early warning level. For locked-level risk thresholds, The threshold is a continuous static hard threshold. The humidifier enters the lockout stage using a binary OR operation of two criteria, the first criterion... The dynamic risk criterion provided by the AI water quality degradation model is responsible for identifying risks in advance and reducing false alarms under high temperature and complex water use rhythms; the second criterion This is a model-independent continuous static hard threshold, responsible for taking effect when the model or water detection module malfunctions or features are missing. When the model is detected to be unavailable, the sensor malfunctions, or the features have not been updated for a long time, the controller actively abandons the first criterion and only retains the second criterion for conservative timing. That is, as long as the continuous static duration reaches the hard threshold, it enters the locking level, thus biasing towards safety in the event of failure. In one implementation, the continuous static hard threshold... That is, after two days of stagnation, and under high-temperature conditions, the effective stagnation amount is triggered in advance by the first criterion, and the actual locking is often less than [a certain value]. This value is the initial value for calibration, and can be adjusted according to the specific water source, season, and working environment.
[0057] For different levels, the linkage execution unit takes differentiated actions: the safety level humidifies normally; the warning level prompts the module to change the water or perform a preventative short-term disinfection, and the atomization function can continue to be used normally; the lock level uses both hardware and software to block the atomization module's fogging enable, and the locked machine cannot fog up.
[0058] Once locked, the controller does not offer unconditional manual unlocking. Unlocking is performed by determining if certain unlocking conditions are met. These conditions are: Determined as an effective water change or and , in, The amount of disinfectant required to break the lockout increases with the water quality level at the time of lockout; that is, the higher the relative degree of pollution, the greater the required amount of disinfectant.
[0059] Specifically, there are only two verifiable paths to resuming humidification: one is to determine it as a valid water exchange event, and the other is to apply humidification at a rate no lower than the required level according to the water quality standard. If the pollution risk index falls below the warning threshold after disinfection, the system will remain locked if neither of these conditions is met.
[0060] Every locking, disinfection dosage, reduction or redial, and unlocking path is written into the storage module for traceability, ensuring that operations such as power outage restart, adding a small amount of water, and single disinfection cannot bypass hygiene protection.
[0061] Example 2
[0062] As another aspect of the embodiments of this disclosure, a humidifier antibacterial control system based on an AI water quality degradation model is also provided, such as... Figure 2 As shown, it includes the following core modules: Water volume detection module 1 is used to obtain the water volume in the water tank and identify water addition events and water volume; Timing module 2 is used to provide the water filling time, continuous static duration, and power outage duration; Storage module 3 is used to store water volume batches and equivalent stagnation time; Sterilization module 4 is used to perform disinfection on the stored water; Atomizing module 5 is used to atomize and output the stored water; The prompt module 6 is used to output the reason for the humidifier locking and the remaining safety events to remind the user to change the water in time; Controller 7 specifically includes a water age calculation unit, a water quality degradation model unit, a grade determination unit, and a linkage execution unit: The water age calculation unit 701 determines the equivalent stagnation time and continuous static duration by combining the water addition and atomization consumption. The water quality degradation model unit 702 outputs a water quality state quantity including a pollution risk index and a remaining safe time based on state characteristics including at least the equivalent stagnation time. The water quality determination unit 703 determines the water quality level according to a preset safety threshold. The linkage execution unit 704 locks the atomizing module 5 and links the sterilization module 4 and the prompting module 6 when the locking level is reached, and unlocks the module when the unlocking conditions are met.
[0063] Without causing contradictions, the above-described modules in the system of the present disclosure embodiments can implement any of the above-described methods.
[0064] Based on the description of the above embodiments, it can be seen that the embodiments of this disclosure can achieve the following technical effects: 1) This disclosure uses the method of adding water sequentially and atomizing to construct a batch ledger of water volume and weights the equivalent stagnation time by the batch volume ratio. This changes the method of recording only natural time at fixed time. Therefore, it can quantitatively characterize the actual stagnation degree after mixing new and old water without configuring online water quality sensors. This is conducive to obtaining water age estimation that is close to the actual pollution accumulation process at a lower hardware cost.
[0065] 2) This disclosure distinguishes between effective water replacement and minor water addition based on whether the proportion of new water reaches the set water replacement ratio. Furthermore, the water age ledger is stored in non-volatile memory, and the duration of power failure is compensated by a real-time clock. Therefore, minor water addition only produces weighted dilution and does not reset the water age to zero. Power failure will not cause the loss of existing stagnant records. This helps to avoid the problem of water age assessment being bypassed due to human or non-human factors, and improves the objectivity and anti-interference ability of water age records.
[0066] 3) This disclosure constructs the equivalent stagnation time as the integral of the temperature acceleration function over time, and introduces an online self-learning water quality degradation model with water temperature, water usage rhythm, and disinfection dosage as inputs, outputting a pollution risk index and remaining safe time. Therefore, it can distinguish the actual degradation rate under different water temperatures and water usage habits, and make the judgment result dynamically adjusted with the working conditions. This helps to reduce false alarms in low-temperature high-frequency water use scenarios with fixed timing and false alarms in high-temperature static scenarios. Furthermore, it can gradually converge the threshold according to individual usage habits.
[0067] 4) This disclosure adopts a locking logic that combines dynamic risk criteria with continuous static hard thresholds, degrades to conservative timing in case of anomalies, and constructs a locking, quantitative disinfection, water change reminder and unlocking process that meets the standard. After disinfection, the water quality status continues to accumulate, so even if the model or detection link fails, it can ensure that the deteriorated water is not atomized by the mechanism. At the same time, it avoids permanent unlocking after one disinfection, which is conducive to forming a failure-safe and non-sustainable antibacterial control system, and improves the hygiene and safety of the humidifier mist output.
[0068] This disclosure also proposes an electronic device, including: a processor; and a memory for storing processor-executable instructions; wherein the processor is configured for the aforementioned humidifier antibacterial control method based on an AI water quality degradation model. The electronic device can be provided as a terminal, a server, or other form of device.
[0069] This disclosure also proposes a computer-readable storage medium storing computer program instructions, which, when executed by a processor, implement the aforementioned humidifier antibacterial control method based on an AI water quality degradation model. The computer-readable storage medium can be a non-volatile computer-readable storage medium.
[0070] Those skilled in the art will understand that, in the above-described humidifier antibacterial control method and system based on the AI water quality decay model in specific embodiments, the order in which each step is written does not imply a strict execution order and does not constitute any limitation on the implementation process. The specific execution order of each step should be determined by its function and possible internal logic.
[0071] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of an instruction containing one or more executable instructions for implementing a specified logical function. In some alternative implementations, the functions marked in the blocks may occur in a different order than those shown in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.
[0072] The various embodiments of this disclosure have been described above. These descriptions are exemplary and not exhaustive, nor are they limited to the disclosed embodiments. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen to best explain the principles, practical application, or technical improvements to the technology in the market, or to enable others skilled in the art to understand the embodiments disclosed herein.
[0073] The above description is only a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any equivalent substitutions or modifications made by those skilled in the art within the scope of the technology disclosed in the present invention, based on the technical solution and inventive concept of the present invention, should be within the scope of protection of the present invention.
Claims
1. A humidifier antibacterial control method based on an AI water quality degradation model, executed by a controller in the humidifier, characterized in that, Includes the following steps: S10. Record the water addition time and amount for each water addition event, and establish the water balance of the water tank by combining the atomization consumption of the atomization module, and determine the effective stagnation amount of the stored water after temperature acceleration and the continuous stagnation time since the last water storage was disturbed. S20. Input the state characteristics into the pre-established water quality decay model to obtain the water quality state quantity that characterizes the degree of water pollution. The water quality state quantity includes the pollution risk index and the remaining safe time. S30. Compare the water quality status quantity with the preset safety threshold to determine the water quality level of the stored water; S40. When the water quality level is determined to reach the lock level, the atomizing module is locked to prevent the humidification action, and the sterilization module is linked to perform forced disinfection. The prompting module outputs a water change reminder. S50. Update the water quality status based on the sterilization results of the sterilization module and the detected effective water exchange events, and unlock the atomization module when the unlocking conditions are met.
2. The humidifier antibacterial control method based on an AI water quality degradation model according to claim 1, characterized in that, In step S10, establishing water balance and determining equivalent stagnation time includes treating each water addition as a water batch, recording the entry time and volume of each batch, and deducting the volume of each batch according to the atomization consumption. The water batches and equivalent stagnation time are stored in non-volatile memory. The stagnation time of each batch from entry into the tank is weighted by the proportion of its volume to the current total volume of the water tank to obtain the equivalent stagnation time. During the power outage of the humidifier, the power outage duration is recorded by a real-time clock. After power is restored, the power outage duration is added back according to the accumulation rule of the equivalent stagnation time to obtain the effective stagnation amount accelerated by temperature and the continuous stagnation time.
3. The humidifier antibacterial control method based on an AI water quality degradation model according to claim 2, characterized in that, Each time a water addition event occurs, the proportion of the water added to the total volume of the water tank after the addition is calculated as the new water ratio. When the new water ratio reaches the set water replacement ratio, it is determined as a valid water replacement event. The historical water batch is cleared and the equivalent stagnation time and continuous static duration are reset. When the new water ratio does not reach the set water replacement ratio, the water batch before the addition is retained and the current water addition is incorporated into the water balance. The water is diluted by volume weighting, and the equivalent stagnation time of the stored water is not reset.
4. The humidifier antibacterial control method based on an AI water quality degradation model according to claim 1, characterized in that, The state characteristics in step S20 include the effective stagnation amount accelerated by temperature, the continuous stagnation time, water temperature, ambient temperature and humidity, historical water use rhythm, and cumulative disinfection dosage. The effective stagnation amount accelerated by temperature is the integral of the temperature acceleration function over time. The temperature acceleration function has a value of 1 at the reference water temperature and increases with the increase of water temperature. The pollution risk index characterizes the relative degree of microbial contamination of the stored water. The remaining safe time is the time from the current moment until the pollution risk index is expected to reach the locking threshold.
5. The humidifier antibacterial control method based on an AI water quality degradation model according to claim 4, characterized in that, The water quality degradation model is a data-driven model pre-trained based on water quality samples collected under different stagnation durations, water temperatures, and water usage rhythms. It also performs an online self-learning step, including correcting the model parameters and preset safety thresholds at each level based on the user's actual water addition intervals, disinfection behavior, and water replenishment behavior.
6. The humidifier antibacterial control method based on an AI water quality degradation model according to claim 1, characterized in that, In step S30, the water quality levels include safety level, warning level, and lockout level. The lockout level is determined by an OR judgment method of a first criterion and a second criterion. The first criterion is that the pollution risk index reaches the lockout threshold, and the second criterion is that the continuous static duration reaches a preset static hard threshold. When the water quality degradation model or water quantity detection module is abnormal, the judgment is degraded to the timing judgment based on the preset static hard threshold.
7. The humidifier antibacterial control method based on an AI water quality degradation model according to claim 1, characterized in that, After the sterilization module in step S40 performs disinfection, the pollution risk index is reduced or the equivalent stagnation time is reversed based on its cumulative disinfection dose, and the water quality status continues to accumulate and update over time.
8. The humidifier antibacterial control method based on an AI water quality degradation model according to claim 1, characterized in that, In step S50, the unlocking condition is that the effective water change event is detected, or the sterilization module determines the disinfection dosage according to the water quality level and disinfects until the water quality status drops back to the safe level, and the prompt module outputs the reason for locking and the remaining safe time.
9. A humidifier antibacterial control system based on an AI water quality degradation model, characterized in that, include: The water volume detection module is used to obtain the water volume in the water tank and identify water addition events and water volume; the timing module is used to provide the water addition time, continuous static duration and power outage duration; the storage module is used to store water volume batches and equivalent static time. The system includes a sterilization module for disinfecting stored water; an atomization module for atomizing and outputting stored water; a notification module for outputting the reason for humidifier locking and remaining safety events to remind users to change the water in time; and a controller, specifically comprising a water age calculation unit, a water quality degradation model unit, a level determination unit, and a linkage execution unit. The water age calculation unit determines the equivalent stagnation time and continuous static time by combining the water added and atomization consumption. The water quality degradation model unit outputs water quality status quantities including a pollution risk index and remaining safety time based on state characteristics including at least the equivalent stagnation time. The level determination unit determines the water quality level according to a preset safety threshold. The linkage execution unit locks the atomization module and activates the sterilization module and notification module when the locking level is reached, and unlocks the system when the unlocking conditions are met.
10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the humidifier antibacterial control method based on the AI water quality decay model as described in any one of claims 1 to 8.
