Air volume self-adaption method and device for water heater, computer equipment and storage medium

By adjusting the fan speed through adaptive braking control, the problem of slow speed response in wide-frequency constant temperature gas water heaters when adjusting gas flow is solved, achieving synchronous matching of air volume and gas flow, and improving the stability of hot water temperature and ignition success rate.

CN121855068APending Publication Date: 2026-04-14GUANGDONG MACRO GAS APPLIANCE
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202610096287.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-01-23
Publication Date
2026-04-14

AI Technical Summary

Technical Problem

Traditional wide-frequency constant temperature gas water heaters suffer from slow speed response due to fan inertia when adjusting gas flow, resulting in problems such as hot water temperature overshoot and low ignition success rate.

Method used

By introducing a target braking time based on the PWM duty cycle difference, the operating status of the fan is actively intervened, and the fan speed is quickly adjusted using adaptive braking control to achieve synchronous matching of air volume and gas flow.

Benefits of technology

It improves the temperature overshoot problem caused by the slow decrease in fan speed, increases the ignition success rate, shortens the transition time, reduces the amount of cold water outflow, and enhances the user experience and system stability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121855068A_ABST
    Figure CN121855068A_ABST
Patent Text Reader

Abstract

The invention relates to a water heater air volume self-adaption method and device, computer equipment and a storage medium. The method comprises the steps that in the operation process of a draught fan, if a draught fan rotating speed change instruction is received, the target rotating speed PWM duty ratio of the draught fan is obtained; calculating a PWM duty ratio difference value between the PWM duty ratio of the current rotating speed and a preset PWM duty ratio of a target rotating speed; determining target braking time based on the PWM duty ratio difference value; and within the target braking time, the operation rotating speed of the fan is adjusted in a self-adaptive mode based on a preset fan speed adjusting curve. According to the method, the fan rotating speed can reach the target value quickly, the gas adjusting process is accelerated, the problem of temperature overshoot caused by combustion heat exchange inertia caused by fan rotating speed adjustment and inertia is fully solved, the problem of slow rotating speed switching in the sweeping process before ignition is further solved, the ignition success rate is increased, and the ignition efficiency is improved. And the use comfort and reliability of the water heater are ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of water heater technology, and in particular to a water heater airflow adaptive method, device, computer equipment, and storage medium. Background Technology

[0002] To enhance bathing comfort, wide-frequency constant-temperature gas water heaters generally employ FOC vector control DC inverter fans combined with multi-stage combustion technology. In existing designs, different combustion levels typically share the same linear fan speed adjustment curve, meaning the airflow and heat load have a fixed proportional relationship.

[0003] However, in actual use, users often make significant adjustments to the fan speed due to changes in water temperature or water demand (such as quickly switching from maximum to minimum power). In this case, the system needs to continuously and quickly match the target power level with the fan speed. However, because the motor drive relies on a PI current loop for closed-loop regulation, and the fan itself has a large mechanical inertia, the speed reduction process is slow—especially when switching from high to low airflow.

[0004] To prevent the fan's inertia from causing it to rotate too high and extinguish the flame, the main controller of the unit usually reduces the speed of gas flow adjustment when adjusting the gas flow, waiting for the fan speed to slowly reach the target speed. During the waiting process, the system continues to burn heat at an actual power higher than the target load, resulting in a significant overshoot of the hot water temperature (i.e., the "hot first, then stable" phenomenon). Summary of the Invention

[0005] This application provides a water heater airflow adaptive method, device, computer equipment, and storage medium, aiming to solve the problem that traditional methods of adjusting gas flow generally reduce the speed of gas flow adjustment and wait for the fan speed to slowly reach the target speed, resulting in obvious overshoot of hot water temperature.

[0006] In a first aspect, embodiments of this application provide a water heater airflow adaptive method, the method comprising: During the operation of the wind turbine, if a command to change the wind turbine speed is received, the PWM duty cycle of the target wind turbine speed is obtained. Calculate the PWM duty cycle difference between the current speed's PWM duty cycle and the preset target speed's PWM duty cycle; The target braking time is determined based on the difference in PWM duty cycles. During the target braking time, the operating speed of the fan is adaptively adjusted based on a preset fan speed control curve.

[0007] A further technical solution is that determining the target braking time based on the PWM duty cycle difference includes: Determine whether the difference in PWM duty cycle is less than a first preset speed change threshold; If the difference in PWM duty cycle is greater than or equal to the first preset speed change threshold, then it is determined whether the difference in PWM duty cycle is less than the second preset speed change threshold, wherein the first preset speed change threshold is less than the second preset speed change threshold. If the difference in PWM duty cycle is greater than or equal to the second preset speed change threshold, the target braking time is determined based on the preset ratio.

[0008] A further technical solution is that determining whether the PWM duty cycle difference is less than a first preset speed change threshold further includes: If the difference in PWM duty cycle is less than the first preset speed change threshold, the fan will continue to run.

[0009] A further technical solution is that, in determining whether the PWM duty cycle difference is less than a second preset speed change threshold, the method further includes: If the difference in PWM duty cycle is less than the second preset speed change threshold, then the preset shortest braking time is taken as the target braking time.

[0010] A further technical solution is that, after adaptively adjusting the operating speed of the fan based on a preset fan speed control curve, the method further includes: Upon receiving a braking stop command, the fan speed is restored to the target speed and operation continues.

[0011] A further technical solution is that the gas water heater adopts a segmented combustion structure, and the acquisition of the target speed PWM duty cycle of the fan includes: Calculate the required heat load based on the user's water temperature and flow rate; Based on the required heat load and the combustion section currently in use by the gas water heater, the preset gas regulation curve is consulted to obtain the gas flow rate; Under the same combustion section, the target air volume is obtained by querying the preset fan speed control curve; The target air volume is converted into the corresponding target speed PWM duty cycle.

[0012] A further technical solution is that, during the target braking time, while adaptively adjusting the operating speed of the fan based on a preset fan speed regulation curve, the method further includes: During the target braking time, the motor current is sampled in real time. Determine whether the exhaust duct of the fan is blocked based on the current amplitude; If the exhaust duct of the fan is blocked, the initial braking speed will be increased based on the preset fan speed control curve and preset parameters.

[0013] Secondly, embodiments of this application also provide a water heater airflow adaptive device, which includes a unit for performing the above-described method.

[0014] Thirdly, embodiments of this application also provide a computer device, which includes a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the above-described method.

[0015] Fourthly, embodiments of this application also provide a computer-readable storage medium storing a computer program that, when executed by a processor, can implement the above-described method.

[0016] This application provides a water heater airflow adaptive method, device, computer equipment, and storage medium. The method includes: during fan operation, if a fan speed change command is received, obtaining the target fan speed PWM duty cycle; calculating the PWM duty cycle difference between the current speed PWM duty cycle and the preset target speed PWM duty cycle; determining a target braking time based on the PWM duty cycle difference; and adaptively adjusting the fan speed based on a preset fan speed control curve during the target braking time.

[0017] This application's embodiment introduces a method to determine the target braking time based on the PWM duty cycle difference and actively intervenes in the fan's operating state during braking. Specifically, the target speed is determined according to a preset fan speed control curve, and the motor can then quickly reach the target speed through braking control. This eliminates the need for conservatively delaying gas regulation speed, allowing the gas flow rate to be adjusted in real-time according to the actual heat load. This achieves synchronized airflow and on-demand distribution, avoiding the risk of high-speed airflow extinguishing the small flame and preventing incomplete combustion under low airflow. This improves upon the slow speed reduction and temperature overshoot issues caused by the motor's inertia-driven speed change under traditional PI current loop control. Furthermore, adaptive braking quickly reduces the fan speed from high to the low speed required for ignition, shortening the transition time and reducing cold water outflow. Simultaneously, it ensures stable airflow conditions at the moment of ignition, improving the ignition success rate and mitigating the unpleasant experience caused by excessive cold water flow during secondary boiling. Attached Figure Description

[0018] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0019] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0020] One or more embodiments are illustrated by way of example with reference numerals in the accompanying drawings. These illustrations do not constitute a limitation on the embodiments. Elements with the same reference numerals in the drawings are denoted as similar elements. Unless otherwise stated, the figures in the drawings are not to be limited by scale.

[0021] Figure 1 This is a diagram of a traditional motor FOC vector control architecture. Figure 2 A schematic diagram of temperature overshoot due to combustion heat exchange airflow inertia; Figure 3 This is a flowchart illustrating a first embodiment of a water heater airflow adaptive method provided in this application; Figure 4 This application provides a schematic diagram of the combustion chamber sections; Figure 5 A schematic diagram of the gas regulation curve provided in this application; Figure 6 A schematic diagram of the fan speed regulation curve provided in this application; Figure 7 The wind turbine adaptive braking signal control block diagram provided in this application; Figure 8 This is a flowchart illustrating another embodiment of a water heater airflow adaptive method provided in this application; Figure 9 The wind-air dynamic extreme matching diagram for the adaptive braking of the wind turbine provided in this application; Figure 10 A schematic diagram of the fan speed regulation curve provided in this application; Figure 11 This is a schematic diagram of the structure of a computer device provided in an embodiment of this application. Detailed Implementation

[0022] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, 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] The following disclosure provides numerous different embodiments or examples for implementing various structures of this application. To simplify the disclosure, specific examples of components and arrangements are described below. These are merely examples and are not intended to limit the scope of this application. Furthermore, reference numerals and / or letters may be repeated in different examples. Such repetition is for simplification and clarity and does not in itself indicate a relationship between the various embodiments and / or arrangements discussed.

[0024] It should be understood that, when used in this specification and the appended claims, the terms "comprising" and "including" indicate the presence of the described features, integrals, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or collections thereof.

[0025] It should also be understood that the terminology used in this specification is for the purpose of describing particular embodiments only and is not intended to limit the scope of the application. As used in this specification and the appended claims, the singular forms “a,” “an,” and “the” are intended to include the plural forms unless the context clearly indicates otherwise.

[0026] It should also be further understood that the term “and / or” as used in this application specification and the appended claims means any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.

[0027] As used in this specification and the appended claims, the term "if" may be interpreted, depending on the context, as "when," "once," "in response to determination," or "in response to detection." Similarly, the phrase "if determined" or "if [described condition or event] is detected" may be interpreted, depending on the context, as "once determined," "in response to determination," "once [described condition or event] is detected," or "in response to detection of [described condition or event]."

[0028] To enhance bathing comfort, wide-frequency constant-temperature gas water heaters commonly employ FOC vector control DC inverter fans combined with multi-stage combustion technology. In existing designs, different combustion levels typically share the same linear fan speed adjustment curve, meaning airflow and heat load are in a fixed proportional relationship. However, under the same load conditions, selecting the lower heat output level can lead to issues such as relatively higher operating noise, lower efficiency, and accidental flameout—a mismatch between airflow and heat output, or even combustion resonance—seriously impacting the bathing comfort of using the gas water heater.

[0029] In actual use, users often make significant adjustments to the fan speed due to changes in water temperature or water demand (such as quickly switching from maximum to minimum power). At this time, the system needs to continuously and quickly match the target power level with the fan speed. However, because the motor drive relies on a PI current loop for closed-loop regulation, and the fan itself has a large mechanical inertia, the speed reduction process is slow—especially when switching from high air volume to low air volume.

[0030] For example, such as Figure 1 and Figure 2 As shown, users often adjust the heat output of their water heaters drastically during daily use. However, this adjustment often results in the fan's inertia causing it to spin too fast and extinguish the flame. Figure 1 As shown in the diagram, the speed loop is located outside the current loop in the motor FOC vector control architecture. Generally, the rotor position information is obtained through a position sensor or a sensorless observer algorithm installed at the bottom of the motor, and the feedback speed (electric angle) is calculated and compared with the given speed. The result is given to the speed PI controller to control the motor torque current output. Then, the torque current enters the current loop torque PI controller to output the dq axis voltage. Since this voltage cannot directly drive the motor, it is necessary to transform the voltage in the dq two-phase rotating coordinate system into the voltage in the ABC three-phase stationary coordinate system through Park inverse transformation and Clarke inverse transformation to drive the three-phase motor to rotate cyclically according to the target setting.

[0031] However, during PI current loop adjustment, due to the processing of sampled parameters and the inertia of the fan itself, the reduction in speed takes a relatively long time. When the difference in speed reduction is not significant (e.g., between the same gear), because the adjustment deviation of the PI current loop is small, the entire process of reducing the fan speed through parameter optimization and inertia will take a relatively long time. Generally, the speed of gas flow adjustment will be reduced, resulting in combustion heat exchange exceeding the target load demand and causing overheating. Especially during gear switching, when the overall air volume switches between the maximum and minimum setpoints, the main controller adjusts the gas flow according to the theoretical load calculation. To prevent the fan speed from being too high due to inertia and blowing out the flame, the speed of gas flow adjustment is generally reduced. During the adjustment and fan speed reduction process, combustion heat exchange will still exceed the target load demand, resulting in significant temperature overshoot due to combustion heat exchange inertia.

[0032] In addition, for safety reasons, the whole machine needs to go through a high speed for pre-cleaning before switching to a low speed, which takes a long time. This results in a low ignition success rate or too much cold water flowing through during the second boiling, causing a poor water cooling experience.

[0033] To address the aforementioned issues, this application provides a water heater airflow adaptive method that can quickly achieve the target fan speed, accelerate the gas regulation process, effectively avoid temperature overshoot caused by combustion heat exchange inertia due to fan speed adjustment and inertia, further reduce the problem of slow speed switching during pre-ignition scavenging, improve ignition success rate, and ensure the comfort and reliability of the water heater.

[0034] See Figure 3 , Figure 3 This is a flowchart illustrating a first embodiment of a water heater airflow adaptive method provided in this application. The water heater airflow adaptive method includes the following steps: Step 110: During the operation of the fan, if a fan speed change command is received, the PWM duty cycle of the target fan speed is obtained.

[0035] Step 120: Calculate the PWM duty cycle difference between the current speed's PWM duty cycle and the preset target speed's PWM duty cycle.

[0036] Step 130: Determine the target braking time based on the PWM duty cycle difference.

[0037] Step 140: During the target braking time, the operating speed of the fan is adaptively adjusted based on the preset fan speed regulation curve.

[0038] This embodiment introduces a target braking time determined by the difference in PWM duty cycle and actively intervenes in the fan's operating state during braking. Specifically, the target speed is determined based on a preset fan speed control curve, and the motor can then quickly reach the target speed through braking control. This eliminates the need for conservatively delaying the gas regulation speed, and the gas flow can be adjusted in real time according to the actual heat load, achieving synchronized airflow and on-demand mixing. This avoids the risk of high-speed airflow extinguishing the small flame and prevents incomplete combustion under low airflow. It improves upon the slow speed reduction and temperature overshoot problems caused by the motor's inertia-driven speed change under traditional PI current loop control. Furthermore, adaptive braking quickly reduces the fan speed from high to the low speed required for ignition, shortening the transition time and reducing the amount of cold water flowing out. At the same time, it ensures stable airflow conditions at the moment of ignition, improving the ignition success rate and alleviating the unpleasant experience caused by excessive cold water flow during secondary boiling of water.

[0039] Referring to a second embodiment of a water heater airflow adaptive method provided in this application, the signal processing of the underwater acoustic communication method includes the following steps: Step 210: During the operation of the fan, if a fan speed change command is received, the PWM duty cycle of the target fan speed is obtained.

[0040] In some embodiments, to achieve a wider temperature regulation range, the gas water heater may employ a segmented combustion structure (i.e., a multi-stage combustion burner structure). Figure 4 As shown, the gas flow rate is first regulated by a gas proportional valve, and then enters the gas distributor and nozzles. Among them, the middle row of flames is a normally open flame, while the other flames are controlled by the on / off state of segment valves 1 and 2, thereby achieving different combinations of the number of flames.

[0041] In actual operation, the unit dynamically selects the number of burners to be activated (such as 1, 2, 3 or 4 burners) according to the current heat load demand, and simultaneously adjusts the current of the gas proportional valve to accurately control the gas flow and achieve continuous adjustment of the firepower.

[0042] To ensure combustion continuity and stepless switching capability during load adjustment, water heaters must meet the following "overlapping section" requirements during design: 1) The maximum output load of the 2-row fire is greater than the minimum output load of the 3-row fire; 2) The maximum output load of 3-row fire is greater than the minimum output load of 4-row fire.

[0043] This ensures that the heat load output will not be interrupted or jump when switching between adjacent combustion gears, thus guaranteeing load continuity.

[0044] Step 210, which involves obtaining the target speed PWM duty cycle of the fan, includes: Step 211: Calculate the required heat load based on the user's water temperature and water flow rate.

[0045] Step 212: Based on the required heat load and the combustion section currently in use by the gas water heater, query the preset gas regulation curve to obtain the gas flow rate.

[0046] Step 213: Under the same combustion section, query the preset fan speed regulation curve to obtain the target air volume.

[0047] Among them, the preset gas regulation curve can be as follows: Figure 5 As shown, the preset fan speed control curve is as follows: Figure 6 As shown.

[0048] Traditional gas water heaters generally use a linear synchronous adjustment method for fan airflow and gas flow, meaning that the airflow and gas flow change in a fixed ratio with the heat load. However, this linear control strategy has significant limitations in actual operation: under certain segmented combustion conditions, insufficient airflow can lead to incomplete combustion and worsened flue gas emissions, or excessive airflow can extinguish the small flame, seriously affecting combustion stability and safety.

[0049] Based on this, this embodiment proposes a flexible nonlinear cooperative control scheme (such as...). Figure 5 and Figure 6 As shown in the figure, it makes full use of the independent adjustment characteristics of the DC inverter fan and the gas proportional valve, breaking the traditional linear binding relationship.

[0050] Specifically, L1 / H1-Li / Hi represent the adjustment curves of gas volume (secondary pressure) and overall heat load for each segment, respectively. Correspondingly, FL1 / FH1-FLi / FHi represent the adjustment curves of air volume and overall heat load for each segment. By changing the original linear control method, this application can flexibly, accurately and quickly match the fan speed corresponding to different load points, which can make the gas combustion more stable and complete, effectively avoid flameout and deflagration resonance, realize flexible adaptive air volume control of combustion segments, and reduce the combustion noise of users using hot water.

[0051] Step 214: Convert the target air volume into the corresponding target speed PWM duty cycle.

[0052] Step 220: Calculate the PWM duty cycle difference between the current speed's PWM duty cycle and the preset target speed's PWM duty cycle.

[0053] Step 230: Determine the target braking time based on the PWM duty cycle difference.

[0054] Step 230, namely determining the target braking time based on the PWM duty cycle difference, includes: Step 231: Determine whether the difference in PWM duty cycle is less than the first preset speed change threshold.

[0055] Step 232: If the difference in PWM duty cycle is less than the first preset speed change threshold, then control the fan to continue running.

[0056] Step 233: If the difference in PWM duty cycle is greater than or equal to the first preset speed change threshold, then determine whether the difference in PWM duty cycle is less than the second preset speed change threshold.

[0057] Wherein, the first preset speed change threshold is less than the second preset speed change threshold.

[0058] Step 234: If the difference in PWM duty cycle is greater than or equal to the second preset speed change threshold, then the target braking time is determined based on the preset ratio.

[0059] Step 235: If the difference in PWM duty cycle is less than the second preset speed change threshold, then the preset shortest braking time is taken as the target braking time.

[0060] In some embodiments, the first preset speed change threshold is 20%, the second preset speed change threshold is 50%, the preset minimum braking time t0 can be 50ms, and the preset ratio can be based on the ratio of the PWM duty cycle difference & between 0.5 and 1, corresponding to a value of 1.01-2.00.

[0061] For example, if the ratio of the PWM duty cycle difference & is 0.5, then the target braking time determined based on the preset ratio can be 1.01*t0; if the ratio of the PWM duty cycle difference & is 1, then the target braking time determined based on the preset ratio can be 2*t0.

[0062] The first preset speed change threshold, the second preset speed change threshold, the preset minimum braking time t0, and the preset ratio can be set and adjusted according to actual conditions, and this application does not limit them here.

[0063] Step 240: During the target braking time, the operating speed of the fan is adaptively adjusted based on the preset fan speed regulation curve.

[0064] During the braking process, the fan speed changes rapidly from high speed to low speed, for example, from FHi to any value between FLi, which can be determined according to the load requirements.

[0065] In some embodiments, step 240, which is the process of adaptively adjusting the operating speed of the fan based on a preset fan speed control curve during the target braking time, further includes: Step 241: Sample the motor current in real time during the target braking time.

[0066] Step 242: Determine whether the exhaust duct of the fan is blocked based on the current amplitude.

[0067] Step 243: If the exhaust duct of the fan is blocked, the initial braking speed is increased based on the preset fan speed control curve and preset parameters.

[0068] Thus, when a blockage is detected in the exhaust duct of the fan, the initial braking strategy is dynamically adjusted according to the preset fan speed control curve and in combination with preset parameters related to the blockage state (such as wind pressure feedback, speed deviation or drag coefficient). This includes increasing the initial braking trigger speed or increasing the braking intensity to counteract the flue gas difference caused by the blockage of the flue pipe, and to ensure that the fan deceleration can still be effectively controlled under abnormal wind resistance conditions.

[0069] In some embodiments, after adaptively adjusting the operating speed of the fan based on a preset fan speed control curve, the method further includes: Step 250: After receiving the brake stop command, restore the fan speed to the target speed and continue operation.

[0070] Based on the above embodiments, see Figures 7-8 ,like Figure 7 As shown, the water heater airflow adaptive method provided in this application directly drives the fan through the PWM speed control signal sent by the main control terminal to achieve rapid airflow response. At the same time, based on real-time sampling and analysis of motor current, it determines whether there is a blockage in the exhaust channel and dynamically adjusts the speed threshold in the initial stage of braking accordingly. In addition, the system also receives braking commands sent by the main control terminal and actively applies braking when rapid airflow reduction is required, thereby significantly shortening the transition time of the fan from high airflow to the target low airflow and achieving efficient and precise airflow control.

[0071] like Figure 8 As shown, the water heater airflow adaptive method provided in this application may include the following process: 1) Fan operation; 2) Determine if there is a need to change the fan speed; If yes, then execute step 3); otherwise, return step 2). 3) Calculate the difference & between the current speed pwmduty0 (i.e., the PWM duty cycle of the current speed) and the target speed pwmduty1 (i.e., the difference in PWM duty cycles). 4) Judgment&<20%? ; If yes, then execute 5-1); otherwise, return to 5-2). 5-1) The fan does not need to be braked and should continue to run; 5-2) Judgment 20%≤&≤50%? If yes, then execute 6-1); otherwise, return to 6-2). 6-1) Brake at the shortest braking time t0, then resume operation at the target speed pwmduty1; 6-2) Based on the ratio of & between 0.5 and 1, the braking time is adaptively adjusted to (1.01-2.00)*t0, and then the speed is restored to the target speed pwmduty1.

[0072] In other words, this application mainly calculates based on the requirements of the current rotational speed pwmduty0 and the target rotational speed pwmduty1, and adaptively controls the force of the fan brake through the high-level time of the brake signal, thereby achieving precise adjustment of the fan speed and overcoming the problem of insufficient accuracy of the mapping rules in the prior art.

[0073] Furthermore, during the braking process, the fan brakes according to the settings, and a minimum speed is set to prevent the fan from stopping in extreme cases. During the braking process, the target speed pwmduty1 given by the motherboard is essentially blocked, and the fan does not operate at the speed corresponding to the given target speed pwmduty1 for braking. After the braking signal ends, it will operate at the speed corresponding to pwmduty1 given by the motherboard at this time. If it is found that the speed has not reached the expected speed after braking, the braking time can be extended.

[0074] In this application, the braking signal can be high level, that is, high level during the braking time period, and low level during the system initialization phase or non-braking state.

[0075] In other embodiments, the braking signal may be a PWM or Vsp signal, etc., which is not limited herein.

[0076] For example, taking a high-level braking signal as an example, when a running fan receives a high-level braking signal, it first brakes for a fixed unit time, tentatively set to k ms. If the high-level braking time (H) is less than k ms, the fan will brake for the full k ms and then operate at the corresponding speed of the target speed pwmduty1 given by the main board. If the high-level braking time (H) is greater than k ms, it brakes for the full k ms and then coasts at the speed corresponding to pwmduty=30% (where approximately 1800 on the whole machine exists to prevent the fan from being stopped), until the braking level (L) is applied, and then it continues to operate at the speed corresponding to pwmduty1 given by the main board at this time. k is generally taken as 50.

[0077] Specifically, when the value is less than 20%, the fan speed changes little, and braking is not necessary (the fan speed can be reduced by relying on the original inertia method). 20%≤&≤50%, according to the shortest braking high-level time of 50ms (if the speed is still too high after 50ms, the corresponding speed will be used to operate the coasting air reduction and follow the gas reduction). For values ​​between 50% and 100%, the braking time is adaptively set to a high level between 50ms and 100ms based on the difference ratio. It should be noted that braking will cease after a maximum of 100ms, the braking signal will return to a low level, and wind and air will be reduced using the original inertial method.

[0078] Thus, the adaptive airflow method for water heaters provided in this application can quickly adjust the fan airflow, achieving high-precision dynamic matching between airflow and gas flow, significantly improving the overall stability and temperature control performance of the unit under sudden load changes; at this time, the residual fluctuation of the outlet water temperature is mainly affected only by the thermal inertia (heat accumulation effect) of the heat exchanger, and is no longer limited by the fan response lag, such as Figure 9 As shown.

[0079] This application introduces an adaptive braking mechanism at the fan control end, which can dynamically adjust the braking intensity and duration according to the speed change, thereby achieving rapid reduction of air volume; at the same time, at the motor drive level, after converting the load demand into the corresponding speed demand, the target speed PWM duty cycle is automatically calculated, and then the motor is prepared to change according to the target speed, and the target speed is quickly achieved through braking control.

[0080] In addition, when the brake signal is abnormal, the whole machine can automatically switch to the traditional non-adaptive control mode to ensure stable system operation, thereby significantly improving the environmental adaptability and reliability of the product.

[0081] like Figure 10 As shown, the airflow adaptive braking control algorithm used in this application can reduce the response time of the fan from high speed to low speed from the traditional approximately 1.5 seconds to less than 0.5 seconds, a reduction of 66.7%. This braking time is not a fixed value, but is calculated and dynamically adjusted in real time based on the difference between the current speed and the target speed, achieving optimal deceleration performance and operational stability under different operating conditions.

[0082] Thus, by introducing an adaptive braking control algorithm for wind turbines and a flexible airflow matching mechanism, this application has the following beneficial effects: 1) Through the adaptive braking control algorithm, the fan can quickly reduce from the current speed to the target speed, effectively overcoming the problem of slow deceleration caused by sampling delay and fan mechanical inertia in traditional PI current loop control, and significantly improving the response speed and system stability of gas water heater under different load switching conditions.

[0083] 2) During load adjustment, there is no need to passively wait for the fan to decelerate naturally. Instead, the fan is actively braked to quickly match the target air volume, thereby avoiding heat exchange inertia and outlet water temperature overshoot caused by the combustion power continuously exceeding the actual demand, which greatly improves the accuracy of constant temperature control.

[0084] 3) By adopting a segmented nonlinear flexible airflow adaptive matching strategy, the optimal air-fuel ratio can be maintained in each fire zone. This not only improves the continuity and stability of the overall thermal efficiency output, but also significantly reduces combustion noise and effectively avoids safety risks such as flameout, deflagration or combustion resonance caused by airflow mismatch, thereby enhancing product reliability and user comfort.

[0085] 4) Shorten the transition time from high speed of front cleaning to low speed of ignition, reduce the amount of cold water flowing out, and ensure stable airflow conditions at the moment of ignition, thereby improving the ignition success rate and optimizing the user experience in typical scenarios such as "re-boiling water".

[0086] Corresponding to the above-described water heater airflow adaptive method, this application also provides a water heater airflow adaptive device. This water heater airflow adaptive device includes a unit for executing the above-described water heater airflow adaptive method, and can be configured in a desktop computer, tablet computer, laptop computer, or other terminal.

[0087] like Figure 11 As shown in the figure, this application provides a computer device including a processor 111, a communication interface 112, a memory 113, and a communication bus 114, wherein the processor 111, the communication interface 112, and the memory 113 communicate with each other through the communication bus 114. Memory 113 is used to store computer programs; In one embodiment of this application, when the processor 111 executes the program stored in the memory 113, it implements the water heater airflow adaptive method provided in any of the foregoing method embodiments, including: During the operation of the wind turbine, if a command to change the wind turbine speed is received, the PWM duty cycle of the target wind turbine speed is obtained. Calculate the PWM duty cycle difference between the current speed's PWM duty cycle and the preset target speed's PWM duty cycle; The target braking time is determined based on the difference in PWM duty cycles. During the target braking time, the operating speed of the fan is adaptively adjusted based on a preset fan speed control curve.

[0088] It will be understood by those skilled in the art that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program may be stored in a storage medium, which is a computer-readable storage medium. The computer program is executed by at least one processor in the computer system to implement the process steps of the embodiments of the above methods.

[0089] Therefore, this application embodiment also provides a computer-readable storage medium storing a computer program thereon, wherein when the computer program is executed by a processor, it implements the steps of the water heater airflow adaptive method provided in any of the foregoing method embodiments, including: During the operation of the wind turbine, if a command to change the wind turbine speed is received, the PWM duty cycle of the target wind turbine speed is obtained. Calculate the PWM duty cycle difference between the current speed's PWM duty cycle and the preset target speed's PWM duty cycle; The target braking time is determined based on the difference in PWM duty cycles. During the target braking time, the operating speed of the fan is adaptively adjusted based on a preset fan speed control curve.

[0090] The storage medium is a physical, non-transient storage medium, such as a USB flash drive, external hard drive, read-only memory (ROM), magnetic disk, or optical disk, or any other physical storage medium capable of storing program code. The computer-readable storage medium can be non-volatile or volatile.

[0091] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this application.

[0092] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative. For example, the division of each unit is merely a logical functional division, and there may be other division methods in actual implementation. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed.

[0093] The steps in the methods of this application embodiment can be adjusted, merged, or deleted according to actual needs. The units in the apparatus of this application embodiment can be merged, divided, or deleted according to actual needs. Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0094] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, a terminal, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application.

[0095] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.

[0096] Obviously, those skilled in the art can make various modifications and variations to this application without departing from the spirit and scope of this application. Since these modifications and variations fall within the scope of the claims and their equivalents, this application also intends to include these modifications and variations.

[0097] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in this application, and these modifications or substitutions should all be covered within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A method for adaptive airflow in a water heater, characterized in that, The method includes: During the operation of the wind turbine, if a command to change the wind turbine speed is received, the PWM duty cycle of the target wind turbine speed is obtained. Calculate the PWM duty cycle difference between the current speed's PWM duty cycle and the preset target speed's PWM duty cycle; The target braking time is determined based on the difference in PWM duty cycles. During the target braking time, the operating speed of the fan is adaptively adjusted based on a preset fan speed control curve.

2. The method according to claim 1, characterized in that, Determining the target braking time based on the PWM duty cycle difference includes: Determine whether the difference in PWM duty cycle is less than a first preset speed change threshold; If the difference in PWM duty cycle is greater than or equal to the first preset speed change threshold, then it is determined whether the difference in PWM duty cycle is less than the second preset speed change threshold, wherein the first preset speed change threshold is less than the second preset speed change threshold. If the difference in PWM duty cycle is greater than or equal to the second preset speed change threshold, the target braking time is determined based on the preset ratio.

3. The method according to claim 2, characterized in that, The step of determining whether the PWM duty cycle difference is less than a first preset speed change threshold further includes: If the difference in PWM duty cycle is less than the first preset speed change threshold, the fan will continue to run.

4. The method according to claim 2, characterized in that, The step of determining whether the PWM duty cycle difference is less than the second preset speed change threshold further includes: If the difference in PWM duty cycle is less than the second preset speed change threshold, then the preset shortest braking time is taken as the target braking time.

5. The method according to claim 1, characterized in that, After adaptively adjusting the operating speed of the fan based on a preset fan speed control curve, the method further includes: Upon receiving a braking stop command, the fan speed is restored to the target speed and operation continues.

6. The method according to claim 1, characterized in that, The gas water heater adopts a segmented combustion structure, and the acquisition of the target speed PWM duty cycle of the fan includes: Calculate the required heat load based on the user's water temperature and flow rate; Based on the required heat load and the combustion section currently in use by the gas water heater, the preset gas regulation curve is consulted to obtain the gas flow rate; Under the same combustion section, the target air volume is obtained by querying the preset fan speed control curve; The target air volume is converted into the corresponding target speed PWM duty cycle.

7. The method according to claim 1, characterized in that, During the target braking time, in the process of adaptively adjusting the operating speed of the fan based on a preset fan speed control curve, the method further includes: During the target braking time, the motor current is sampled in real time. Determine whether the exhaust duct of the fan is blocked based on the current amplitude; If the exhaust duct of the fan is blocked, the initial braking speed will be increased based on the preset fan speed control curve and preset parameters.

8. A water heater airflow adaptive device, characterized in that, Includes a unit for performing the method as described in any one of claims 1-7.

9. A computer device, characterized in that, The computer device includes a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the method as described in any one of claims 1-7.

10. A computer-readable storage medium, characterized in that, The storage medium stores a computer program that, when executed by a processor, can implement the method as described in any one of claims 1-7.