Temperature and humidity control method and device, equipment and storage medium
By adding a detection device and building a compensation model in the breathing humidification device, and utilizing multi-sensor data and PID control, the problem of inaccurate temperature and humidity control caused by changes in sensor position and environment was solved, and precise gas temperature and humidity control under different conditions was achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-31
- Publication Date
- 2026-04-14
AI Technical Summary
Existing respiratory humidification devices cannot accurately control the temperature and humidity of the gas delivered to patients in complex environments, especially when the sensor position changes, making it impossible to accurately set the target temperature at the air outlet of the tubing and the air outlet of the water tank.
By adding a detection device to the breathing humidification device, data is collected synchronously with multiple sensors, a compensation model is constructed, the target temperature and humidity of the gas are calculated based on closed-loop control, and the heating power of the heater and heating plate is adjusted using a PID control algorithm to adapt to different environments and sensor positions.
It achieves accurate temperature and humidity control under different ambient temperatures and sensor locations, ensuring that the gas meets the expected temperature and humidity requirements, thus improving the patient's user experience.
Smart Images

Figure CN121857877A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of respiratory humidification equipment technology, and in particular to a temperature and humidity control method, device, equipment and storage medium. Background Technology
[0002] Respiratory humidification devices are important medical devices used to improve the respiratory environment of patients, and are applied in scenarios such as intensive care and treatment of chronic respiratory diseases. The core function of respiratory humidification devices is to maintain the moisture of the airway mucosa by warming and humidifying the breathing gas provided to the patient, thus preventing dysfunction of the airway mucociliary system, lung infection, or respiratory tract damage caused by dry gas.
[0003] Breathing humidification devices include a water tank and an outlet pipe. The water tank is heated by a heating plate so that when the user breathes through the space above the tank, water vapor is carried away, maintaining a certain level of humidity. The air exiting the water tank cools as it passes through the outlet pipe, which can be heated to compensate for heat loss and maintain the air temperature. In related technologies, temperature and humidity control in breathing humidification devices primarily employs an intelligent control mode: dynamically adjusting the heating power using a PID (Proportional-Integral-Derivative) algorithm to maintain a constant temperature at both the water tank outlet and the outlet pipe.
[0004] The above method can only accurately control the temperature of the gas outlet of the pipeline and the gas outlet of the water tank. However, the temperature and humidity of the gas delivered to the user are also related to the ambient temperature and humidity and the location of the sensor (such as the temperature sensor). In other words, it cannot achieve accurate temperature and humidity control in complex environments. Summary of the Invention
[0005] The temperature and humidity control method, device, equipment, and storage medium provided by this invention accurately calculate the target temperature of the pipeline outlet and the target temperature of the water tank outlet corresponding to the current environment and sensor location through a compensation model determined based on closed-loop control. This allows for adaptation to different ambient temperatures and humidity levels as well as different sensor locations, achieving the desired temperature and humidity effects.
[0006] In a first aspect, the present invention provides a temperature and humidity control method, applied to a controller in a respiratory humidification device, the method comprising:
[0007] When the breathing humidification device is in actual operation, it acquires the first sensor data collected by multiple sensors.
[0008] Based on the data from the first sensor and the compensation model, the target temperatures of the gas outlet in the pipeline and the gas outlet in the water tank are determined. The compensation model is determined by the data from the second sensor collected by multiple sensors under closed-loop control. Closed-loop control means that a detection device is set at the location where the user inhales gas, so as to control the pipeline heater and heating plate according to the data detected by the detection device.
[0009] The pipeline heater is controlled by PID based on the target temperature at the pipeline outlet, and the heating plate is controlled by PID based on the target temperature at the water tank outlet.
[0010] Optionally, the compensation model includes a first compensation model; the first sensor data includes the actual intake air temperature, and based on the first sensor data and the compensation model, the target temperature at the pipeline outlet is determined, including:
[0011] The actual intake temperature, the actual set flow rate, and the target temperature of the gas inhaled by the user are input into the first compensation model to determine the target temperature compensation value of the first pipeline outlet.
[0012] The target temperature of the gas outlet is determined based on the target temperature of the gas inhaled by the user and the compensation value of the target temperature at the outlet of the first pipeline.
[0013] Optionally, the first compensation model is established using the first training data; the first training data is predetermined in the following manner:
[0014] After placing the breathing humidification device in an environment with adjustable temperature and humidity, control the environment to change under different combinations of temperature and humidity, and under each combination, control the breathing humidification device to operate at different flow rates and temperature levels;
[0015] During each step of the operation, data from the second sensor and the sampled temperature of the detection device are acquired; the second sensor data includes the sampled value of the gas outlet temperature in the pipeline.
[0016] The target temperature compensation value at the outlet of the second pipeline is calculated according to the following formula to obtain the first training data;
[0017] The target temperature compensation value of the second pipeline outlet = the sampled value of the pipeline outlet temperature - the sampled temperature of the detection device.
[0018] Optionally, the compensation model includes a second compensation model; the first sensor data includes the actual water tank inlet temperature and the actual water tank inlet absolute humidity. Based on the first sensor data and the compensation model, the target temperature of the water tank outlet is determined, including:
[0019] Input the actual water tank inlet temperature, actual water tank inlet absolute humidity, actual set flow rate and actual set temperature into the second compensation model to determine the target temperature compensation value of the first water tank outlet.
[0020] The target temperature of the water tank outlet is determined based on the actual water tank inlet temperature and the target temperature compensation value of the first water tank outlet.
[0021] Optionally, the second compensation model is established using second training data; the second training data is predetermined in the following manner:
[0022] After placing the breathing humidification device in an environment with adjustable temperature and humidity, control the environment to change under different combinations of temperature and humidity, and under each combination, control the breathing humidification device to operate at different flow rates and temperature levels;
[0023] During each step of the operation, data from the second sensor is acquired, as well as the sampled humidity and sampled absolute humidity of the detection device; the second sensor data includes the sampled temperature values of the water tank outlet and the water tank inlet.
[0024] The target temperature compensation value at the water tank outlet is calculated according to the following formula to obtain the second training data;
[0025] The target temperature compensation value of the second water tank outlet = (water tank outlet temperature sampling value - water tank inlet temperature sampling value) - (sampling humidity of the detection device - target humidity of the user's inhaled gas) * influence coefficient of water tank outlet temperature on the humidity of the user's inhaled gas + (target absolute humidity of the user's inhaled gas - sampling absolute humidity of the detection device) / target absolute humidity of the user's inhaled gas / target humidity of the user's inhaled gas * influence coefficient of water tank outlet temperature on the humidity of the user's inhaled gas.
[0026] Optionally, the pipeline heater is PID controlled based on the target temperature at the pipeline outlet, and the heating plate is PID controlled based on the target temperature at the water tank outlet, including:
[0027] Obtain the actual temperature of the pipe outlet, and adjust the output power of the pipe heater according to the actual temperature of the pipe outlet and the target temperature of the pipe outlet, so that the actual temperature of the pipe outlet approaches the target temperature of the pipe outlet.
[0028] The actual temperature of the water tank outlet is obtained, and the output power of the heating plate is adjusted according to the actual temperature of the water tank outlet and the target temperature of the water tank outlet, so that the actual temperature of the water tank outlet approaches the target temperature of the water tank outlet.
[0029] Optionally, the sensor includes a temperature sensor, and the controller is equipped with a temperature sensor acquisition circuit to acquire the first sensor data collected by multiple sensors, including:
[0030] For any temperature sensor, the actual ADC value corresponding to the temperature sensor is obtained through the temperature sensor acquisition circuit.
[0031] The actual temperature value is determined based on the preset correspondence and the actual ADC value.
[0032] The preset correspondence is achieved by connecting a standard resistor to the temperature sensor acquisition circuit to obtain the correspondence between different ADC values acquired under different resistance values and the corresponding temperature values.
[0033] Secondly, the present invention provides a temperature and humidity control device, applied to a controller in a respiratory humidification device, the device comprising:
[0034] The acquisition module is used to acquire the first sensor data collected by multiple sensors when the breathing humidification device is in actual operation;
[0035] The determination module is used to determine the target temperature of the gas outlet of the pipeline and the target temperature of the gas outlet of the water tank based on the data of the first sensor and the compensation model; the compensation model is determined by the data of the second sensor collected by multiple sensors under closed-loop control; the closed-loop control means that a detection device is set at the location where the user inhales gas, so as to control the pipeline heater and the heating plate according to the data detected by the detection device.
[0036] The control module is used to perform PID control on the pipeline heater based on the target temperature of the pipeline outlet and PID control on the heating plate based on the target temperature of the water tank outlet.
[0037] Thirdly, the present invention provides a controller, comprising: at least one processor and a memory;
[0038] The memory stores the instructions that the computer executes;
[0039] At least one processor executes computer execution instructions stored in memory, causing at least one processor to perform the method as described in any of the first aspects.
[0040] Fourthly, the present invention provides a respiratory humidification device, including, as in the third aspect, a controller, a humidification tank, a heating plate, a gas delivery line, a line heater, and multiple sensors;
[0041] A heating plate is installed at the bottom of the humidification tank to heat the water in the humidification tank to generate water vapor;
[0042] The gas pipeline is connected to the outlet of the humidification tank. A pipeline heater is installed on the gas pipeline to heat the gas flowing through the gas pipeline.
[0043] Multiple sensors are used to acquire sensor data;
[0044] The controller connects to multiple sensors, heating plates, and tubular heaters.
[0045] Fifthly, the present invention provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the method of any one of the first aspects.
[0046] In a sixth aspect, the present invention provides a computer program product comprising a computer program that, when executed by a processor, implements the method as described in any of the first aspects.
[0047] The present invention provides a temperature and humidity control method, apparatus, device, and storage medium. This controller, applied in a respiratory humidification device, includes the following steps: when the respiratory humidification device is in actual operation, acquiring first sensor data collected by multiple sensors; determining the target temperature of the pipeline outlet and the target temperature of the water tank outlet based on the first sensor data and a compensation model; the compensation model is determined under closed-loop control using second sensor data collected by multiple sensors; the closed-loop control involves setting a detection device at the user's inhaled gas location to control the pipeline heater and heating plate based on the data detected by the detection device; performing PID control on the pipeline heater and the heating plate based on the target temperature of the water tank outlet; and accurately calculating the target temperatures of the pipeline outlet and the water tank outlet corresponding to the current environment and sensor locations using the compensation model determined based on closed-loop control, thus adapting to different ambient temperatures and humidity levels and different sensor locations to achieve the desired temperature and humidity. Attached Figure Description
[0048] 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.
[0049] Figure 1 The present invention provides a PID control method for delivering gas to a patient under different environmental conditions, including temperature and humidity curves.
[0050] Figure 2 A schematic flowchart of a temperature and humidity control method provided in an embodiment of the present invention;
[0051] Figure 3 This is a schematic diagram of a sensor installed in a respiratory humidification device according to an embodiment of the present invention;
[0052] Figure 4 This is a schematic diagram of the hardware setup of a closed-loop system provided in an embodiment of the present invention;
[0053] Figure 5 This is a schematic diagram of the control flow during data acquisition provided in an embodiment of the present invention;
[0054] Figure 6This is a data schematic diagram for determining a first compensation model, provided in an embodiment of the present invention.
[0055] Figure 7 This is a data schematic diagram for determining a second compensation model, provided as an embodiment of the present invention;
[0056] Figure 8 This is a schematic diagram of a control process for evaluating the effect of the outlet temperature of a water tank on the humidity of the gas delivered to the patient, provided by an embodiment of the present invention.
[0057] Figure 9 A flowchart for calibrating a temperature sensor acquisition circuit is provided as an embodiment of the present invention;
[0058] Figure 10a A schematic diagram of the temperature error of the calibrated resistance provided in an embodiment of the present invention. Figure 1 ;
[0059] Figure 10b A schematic diagram of the temperature error of the calibrated resistance provided in an embodiment of the present invention. Figure 2 ;
[0060] Figure 10c A schematic diagram of the temperature error of the calibrated resistance provided in an embodiment of the present invention. Figure 3 ;
[0061] Figure 10d A schematic diagram of the temperature error of the calibrated resistance provided in an embodiment of the present invention. Figure 4 ;
[0062] Figure 11 A schematic diagram of a pipeline outlet temperature control process provided in an embodiment of the present invention;
[0063] Figure 12 A graph showing the temperature and humidity of gas delivered to a patient under different environmental conditions after using the method of this application, provided as an embodiment of the present invention;
[0064] Figure 13 This is a schematic diagram of the structure of a temperature and humidity control device provided in an embodiment of the present invention;
[0065] Figure 14 This is a schematic diagram of the hardware structure of a controller provided in an embodiment of the present invention.
[0066] The accompanying drawings have illustrated specific embodiments of the invention, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the invention in any way, but rather to illustrate the concept of the invention to those skilled in the art through reference to particular embodiments. Detailed Implementation
[0067] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention.
[0068] In this document, it should be understood that the terminology used is for convenience of understanding only and does not imply any limitation on its meaning. Furthermore, any number of elements in the accompanying drawings is for illustrative purposes only and not for limitation, and any naming is for distinction only and has no limiting meaning.
[0069] In related technologies, there are two modes for controlling temperature and humidity. The first mode is proportional control, which typically uses the temperatures at the water tank outlet and the tubing outlet of the humidifier as targets. If the water tank outlet temperature is higher than the target value, the heating plate stops heating; if it is lower, the heating plate heats up. Similarly, if the tubing outlet temperature is higher than the target value, the tubing stops heating; if it is lower, the tubing heats up. This achieves control of humidity and temperature at the tubing outlet. While this control method is simple, the output temperature and humidity fluctuate significantly, resulting in a poor patient experience. Furthermore, the high temperature and low humidity conditions can irritate the patient's respiratory tract and lungs.
[0070] The second mode for controlling temperature and humidity is PID control. Typically, the air outlet temperature of the water tank and the air outlet temperature of the breathing humidification device are used as targets. The air outlet temperature of the water tank is detected and compared with the corresponding target value. The heating power of the heating plate is gradually adjusted through intelligent control (PID adjustment) to keep the air outlet humidity constant. Similarly, the air outlet temperature of the pipeline is detected and compared with the corresponding target value. The heating power of the pipeline is gradually adjusted through intelligent control (PID adjustment) to keep the air outlet temperature constant.
[0071] However, the gas humidity is not directly related to the humidification tank outlet temperature alone, as it is influenced by multiple factors, such as the temperature and humidity of the gas entering the humidification tank and the ambient temperature. Furthermore, the location of different sensors significantly affects temperature and humidity. When sensor locations differ, the target temperature needs to be refitted, and the fitting methods vary considerably, resulting in significant randomness. Consequently, it becomes impossible to accurately set the target temperature at the pipe outlet and the water tank outlet.
[0072] The shortcomings of the two existing control methods are as follows:
[0073]
[0074] To ensure the stability of temperature and humidity delivered to patients, the following four aspects need to be accurately controlled or set: accurate temperature control of the pipeline outlet, accurate setting of the target temperature of the pipeline outlet, accurate temperature control of the water tank outlet, and accurate setting of the target temperature of the water tank outlet. Existing PID control methods can only accurately control the pipeline outlet temperature and the water tank outlet temperature; that is, accurately control the pipeline outlet temperature and the water tank outlet temperature to their respective target temperatures.
[0075] Figure 1 The temperature and humidity curves of the gas delivered to the patient under different environmental conditions are provided by a PID control method in this application embodiment. It can be seen that when the ambient temperature is high, that is, in a non-standard environment, the temperature and humidity of the gas delivered to the patient are high, while in a standard environment, the temperature and humidity control is more stable.
[0076] Therefore, a method is needed to adapt to different ambient temperatures and humidity levels, as well as different sensor locations, in order to achieve the desired temperature and humidity effect.
[0077] To address the aforementioned issues, this application adds a detection device to the patient end, which synchronously collects data with the multiple sensors within the humidification device. This allows the system to focus not only on whether internal sensors (such as the water tank outlet temperature) have reached a certain target, but also on whether the temperature and humidity at the patient end meet the standards. Based on the data collected by the multiple sensors, compensation values relative to the baseline value can be obtained under different scenarios, thereby constructing a compensation model. When the humidification device is actually running, the actual compensation value under the current scenario is calculated based on this compensation model, thus obtaining the accurate target temperature of the pipeline outlet and the target temperature of the water tank outlet. This enables accurate temperature and humidity control under different ambient temperatures and humidity levels, as well as under different sensor locations.
[0078] Figure 2 This is a schematic flowchart of a temperature and humidity control method provided in an embodiment of the present invention; as shown below. Figure 2 As shown, this method is applied to the controller in a respiratory humidification device, and the method includes:
[0079] Step S201: When the breathing humidification device is actually running, acquire the first sensor data collected by multiple sensors.
[0080] When the breathing humidification device is in actual operation, it can acquire data collected by multiple sensors, namely the data from the first sensor.
[0081] Figure 3 This is a schematic diagram of a sensor installed in a respiratory humidification device according to an embodiment of the present invention, as shown below. Figure 3As shown, gas is delivered into the humidification tank through a pipeline. Upon entering the tank, the bottom is heated by a heating plate, accelerating water evaporation. The gas is then blown through the heated and humidified air, transforming it into a gas saturated with water vapor. This heated and humidified gas is then delivered to the user or patient downstream of the humidification tank via another gas pipeline and a user interface. The multiple sensors include an inlet air temperature sensor, a water tank inlet temperature and humidity sensor, a water tank outlet temperature sensor, and a pipeline outlet temperature sensor. The first sensor data represents the actual data from each of these sensors.
[0082] The collected data from the first sensor can reflect the environment and the location information of each sensor. Based on the first sensor data and the compensation model, the target temperature of the pipeline outlet and the target temperature of the water tank outlet can be determined.
[0083] Step S202: Determine the target temperature of the pipeline outlet and the target temperature of the water tank outlet based on the data from the first sensor and the compensation model. The compensation model is determined by the data from the second sensor collected by multiple sensors under closed-loop control. Closed-loop control means that a detection device is set at the location where the user inhales gas, so as to control the pipeline heater and heating plate according to the data detected by the detection device.
[0084] In addition, a detection device, including a temperature sensor and a humidity sensor, is installed at the point of delivery to the patient. It should be noted that this detection device is included during the development of the compensation model; when the user is actually using the humidifier, this detection device is not required to reduce costs.
[0085] Optionally, after determining the first sensor data, it can be input into a pre-built compensation model, which will then calculate and output two key parameters: the target temperature at the pipe outlet and the target temperature at the water tank outlet. This compensation model is determined during a specific training phase using a closed-loop control method.
[0086] Figure 4This is a schematic diagram of the hardware setup for a closed-loop system provided in an embodiment of the present invention. This closed-loop control involves additionally installing a high-precision detection device at the terminal location simulating the user's actual inhaled gas. During the generation of the compensation model, the sampling temperature of the detection device is compared with the target temperature of the gas delivered to the patient. A pipeline temperature control algorithm is used to ensure that the sampled temperature value matches the target temperature of the gas delivered to the patient. Similarly, the sampled humidity of the detection device is compared with the target humidity of the gas delivered to the patient. A water tank outlet temperature control algorithm is used to ensure that the sampled humidity value matches the target humidity of the gas delivered to the patient. Under the above closed-loop control, data from a second sensor of multiple sensors is collected to establish a compensation model. During actual use of the respiratory humidification device, the target temperatures of the pipeline outlet and the water tank outlet can be determined based on this compensation model.
[0087] Optionally, the compensation model can inherently reflect the influence of comprehensive factors such as environmental interference, individual sensor differences, and positional deviations on the compensation value.
[0088] Step S203: Perform PID control on the pipeline heater according to the target temperature of the pipeline outlet, and perform PID control on the heating plate according to the target temperature of the water tank outlet.
[0089] After determining the target temperatures at the pipe outlet and the water tank outlet, the system enters the precise execution control phase.
[0090] For the control of the pipeline heater, the system uses the calculated target temperature of the pipeline outlet as the set value and the temperature collected in real time by the pipeline outlet temperature sensor as the process variable. The proportional-integral-derivative control algorithm is used to dynamically adjust the heating power of the pipeline heater, aiming to make the actual temperature of the pipeline outlet quickly and stably approach the target temperature of the pipeline outlet.
[0091] Similarly, for the heating plate at the bottom of the humidification tank, the system uses the calculated target temperature of the water tank outlet as the set value and the temperature collected in real time by the water tank outlet temperature sensor as the process variable. The proportional-integral-derivative control algorithm is also applied to adjust the heating power of the heating plate, thereby ensuring that the actual temperature of the water tank outlet is accurately maintained near the target temperature of the water tank outlet.
[0092] Through the above process, adaptive and highly stable control of the temperature and humidity of the respiratory gas can be achieved, ensuring that the gas delivered to the patient can meet the preset temperature and humidity requirements under different environmental conditions and sensor locations.
[0093] The present invention provides a temperature and humidity control method for a controller applied in a respiratory humidification device. The method includes: when the respiratory humidification device is in actual operation, acquiring first sensor data collected by multiple sensors; determining the target temperature of the pipe outlet and the target temperature of the water tank outlet based on the first sensor data and a compensation model; the compensation model being determined under closed-loop control using second sensor data collected by multiple sensors; the closed-loop control involving setting a detection device at the user's inhaled gas location to control the pipe heater and heating plate based on the data detected by the detection device; performing PID control on the pipe heater and the heating plate based on the target temperature of the water tank outlet; and accurately calculating the target temperatures of the pipe outlet and the water tank outlet corresponding to the current environment and sensor locations using the compensation model determined based on closed-loop control, thereby adapting to different ambient temperatures and humidity levels and different sensor locations to achieve the desired temperature and humidity.
[0094] Optionally, the compensation model includes a first compensation model; the first sensor data includes the actual intake air temperature, and the target temperature at the pipeline outlet is determined based on the first sensor data and the compensation model, including:
[0095] The actual intake temperature, the actual set flow rate, and the target temperature of the gas inhaled by the user are input into the first compensation model to determine the target temperature compensation value of the first pipeline outlet.
[0096] The target temperature of the gas outlet is determined based on the target temperature of the gas inhaled by the user and the compensation value of the target temperature at the outlet of the first pipeline.
[0097] Optionally, the first sensor data includes the actual intake air temperature collected in real time by the intake air temperature sensor. The specific process for determining the target temperature of the pipeline outlet is as follows: The actual intake air temperature, the actual set flow rate of the equipment currently in operation, and the user-preset target temperature of the inhaled gas are all input parameters and input into the first compensation model. This first compensation model performs internal calculations and outputs a compensation value for the target temperature of the first pipeline outlet corresponding to the current operating conditions.
[0098] The target temperature compensation value at the outlet of the first pipeline is a dynamic adjustment value. Its magnitude and sign are inferred in real time by the first compensation model based on the input parameters. It aims to compensate for the deviation in pipeline heat loss caused by changes in ambient temperature, different flow rates, and inherent characteristics of the system.
[0099] Optionally, the target temperature of the inhaled gas set by the user (a reference value, wherein the sampling temperature of the detection device is the same as the target temperature of the inhaled gas under stable conditions) can be algebraically added to the target temperature compensation value of the first pipeline outlet, and the sum is the final determined target temperature of the pipeline outlet.
[0100] The target temperature at the outlet of this pipeline will serve as the setpoint for subsequent proportional-integral-derivative control of the pipeline heater, thereby guiding the adjustment of the heating power and ensuring that the gas transported through the pipeline reaches the precise preheated state required to maintain the target temperature at the end user at the outlet.
[0101] Optionally, the first compensation model is established using the first training data; the first training data is predetermined in the following manner:
[0102] After placing the breathing humidification device in an environment with adjustable temperature and humidity, control the environment to change under different combinations of temperature and humidity, and under each combination, control the breathing humidification device to operate at different flow rates and temperature levels;
[0103] During each step of the operation, data from the second sensor and the sampled temperature of the detection device are acquired; the second sensor data includes the sampled value of the gas outlet temperature in the pipeline.
[0104] The target temperature compensation value at the outlet of the second pipeline is calculated according to the following formula to obtain the first training data;
[0105] The target temperature compensation value of the second pipeline outlet = the sampled value of the pipeline outlet temperature - the sampled temperature of the detection device.
[0106] Optionally, the process of determining the first training data is a systematic preliminary data collection and calculation phase.
[0107] The specific working process is as follows: First, place the breathing humidification device inside an environmental simulation device that can precisely control temperature and humidity, referring to... Figure 4 Subsequently, the environmental simulation device is controlled to cycle through different combinations of temperature and humidity according to a preset sequence. Under each specific combination of ambient temperature and humidity, the breathing humidification device itself is further controlled to operate through different gas flow levels and user-set temperature levels.
[0108] Figure 5This is a schematic diagram of the control flow during data acquisition provided in an embodiment of the present invention. For example, the breathing humidification device is placed in a suitable-sized constant temperature and humidity test chamber (environmental simulation device). The temperature and humidity of the test chamber are adjusted in 12-hour increments, from 18℃->22℃->26℃->30℃->30℃->26℃->22℃->18℃. Within each temperature control period, the humidity is adjusted in 2-hour increments, from 30%->50%->70%->70%->50%->30% (the humidity adjustment is not shown in the diagram, but it is actually necessary to adjust the humidity). The temperature ranges from low to high and then from high to low, and the humidity ranges from low to high and then from high to low, simulating all possible environments. For example, in each temperature and humidity combination, the flow rate is adjusted in increments of 10 L / min, and the temperature is adjusted in increments of 1℃.
[0109] During the aforementioned environmental alteration process, data from key sensors were recorded: the inlet air temperature sensor, the water tank inlet temperature and humidity sensor, the water tank outlet temperature sensor, the pipeline outlet temperature sensor, and the temperature and humidity detection device. All the data listed here are used, with some used to construct the first compensation model and some used to construct the second compensation model. This allows for the collection of data from all sensors under all environmental conditions and settings.
[0110] After acquiring this collected data, the target temperature compensation value of the second pipeline outlet for each operating step is calculated according to a specific formula.
[0111] The calculation formula is expressed as: Pipeline outlet air temperature sampling value - Sampling temperature of the detection device. The massive target temperature compensation values of the second pipeline outlet calculated by this formula, together with their corresponding operating condition parameters, constitute the first training data used for model training.
[0112] In the above formula, the difference between the sampled value of the gas outlet temperature in the pipeline and the sampled temperature of the detection device is the target temperature compensation value of the second pipeline outlet when the sampling error and control error of the intelligent control temperature algorithm are 0.
[0113] Figure 6 This is a data illustration for determining a first compensation model provided in an embodiment of the present invention, such as... Figure 6 The table shown represents the calculated target temperature compensation value for the second pipeline outlet, along with corresponding environmental information such as the set flow rate, set temperature, and collected inlet air temperature. This table is obtained by optimizing data with similar attributes. The equipment is set to the same flow rate and temperature, with the inlet air temperature sampled as a reference point. The average of the target temperature compensation values for the pipeline outlet is then calculated. Figure 6The table.
[0114] Optional, upon obtaining Figure 6 After the data is collected, it can be input into the neural network model, so that the neural network model can learn from the data. When the breathing humidification device is in actual operation, the actual intake temperature, the actual set flow rate and the target temperature of the gas inhaled by the user are input into the neural network model to obtain the target temperature compensation value of the first pipeline outlet.
[0115] Optionally, the compensation model includes a second compensation model; the first sensor data includes the actual water tank inlet temperature and the actual water tank inlet absolute humidity. Based on the first sensor data and the compensation model, the target temperature of the water tank outlet is determined, including:
[0116] Input the actual water tank inlet temperature, actual water tank inlet absolute humidity, actual set flow rate and actual set temperature into the second compensation model to determine the target temperature compensation value of the first water tank outlet.
[0117] The target temperature of the water tank outlet is determined based on the actual water tank inlet temperature and the target temperature compensation value of the first water tank outlet.
[0118] In determining the target temperature at the water tank outlet, the first sensor data used includes the actual water tank inlet temperature and the actual water tank inlet absolute humidity, which are collected and calculated by the water tank inlet temperature and humidity sensor.
[0119] The specific working process is as follows: First, the actual water tank inlet temperature, the actual water tank inlet absolute humidity, the actual set flow rate of the equipment currently in operation, and the actual set temperature set by the user are all used as input parameters and input into the second compensation model.
[0120] The second compensation model performs internal inference based on these real-time operating parameters and outputs a corresponding target temperature compensation value for the first water tank outlet. This compensation value is a dynamic variable that comprehensively reflects the amount of adjustment required to the water tank outlet temperature to achieve the target humidity in the final output gas under the current intake conditions, ambient humidity, flow rate, and target settings.
[0121] Subsequently, the actual inlet temperature of the water tank, which is collected in real time, is algebraically added to the target temperature compensation value of the outlet of the first water tank, and the result is the final target temperature of the outlet of the water tank.
[0122] The target temperature at the water tank outlet will serve as the direct setpoint for proportional-integral-derivative control of the heating plate at the bottom of the humidification tank. By adjusting the heating power, the gas temperature at the water tank outlet can be precisely controlled, thereby indirectly and stably controlling the absolute humidity of the output gas to ensure that it meets the user's preset requirements.
[0123] Optionally, the second compensation model is established using second training data; the second training data is predetermined in the following manner:
[0124] After placing the breathing humidification device in an environment with adjustable temperature and humidity, control the environment to change under different combinations of temperature and humidity, and under each combination, control the breathing humidification device to operate at different flow rates and temperature levels;
[0125] During each step of the operation, data from the second sensor is acquired, as well as the sampled humidity and sampled absolute humidity of the detection device; the second sensor data includes the sampled temperature values of the water tank outlet and the water tank inlet.
[0126] The target temperature compensation value at the water tank outlet is calculated according to the following formula to obtain the second training data;
[0127] The target temperature compensation value of the second water tank outlet = (water tank outlet temperature sampling value - water tank inlet temperature sampling value) - (sampling humidity of the detection device - target humidity of the user's inhaled gas) * influence coefficient of water tank outlet temperature on the humidity of the user's inhaled gas + (target absolute humidity of the user's inhaled gas - sampling absolute humidity of the detection device) / target absolute humidity of the user's inhaled gas / target humidity of the user's inhaled gas * influence coefficient of water tank outlet temperature on the humidity of the user's inhaled gas.
[0128] The second training data involved placing the humidifier in an environmental simulation device with precisely adjustable temperature and humidity. This simulation device was then controlled to cycle through different temperature and humidity combinations according to a preset sequence. Under each specific temperature and humidity combination, the humidifier itself was further controlled to operate at different gas flow rates and user-set temperature levels, yielding the obtained data. The process described above will not be elaborated further here.
[0129] After acquiring the second sensor data (the temperature sampling values of the water tank outlet and the water tank inlet), as well as the sampling humidity and sampling absolute humidity of the detection device, the target temperature compensation value of the second pipeline outlet corresponding to each operating step is calculated according to a specific formula.
[0130] In the formula for the target temperature compensation value of the second water tank outlet, the humidity is absolute humidity. This is because, with the water content in the air remaining constant, relative humidity decreases as the temperature increases. Therefore, the comparison here is based on absolute humidity (i.e., the mass of water in the air, unit: mg / L). According to the data provided by the temperature and humidity sensor, the conversion relationship between temperature, relative humidity, and absolute humidity is: Absolute humidity = 6.112 × exp[(17.67 × temperature) / (temperature + 243.5)] * 2.1674 / (273.15 + temperature) * relative humidity.
[0131] Among them, the difference between the temperature sampling value of the water tank outlet and the temperature sampling value of the water tank inlet is the second water tank outlet target temperature compensation value when the intelligent control temperature algorithm, humidity, sampling error and control error are 0.
[0132] (Sampling humidity of the detection device - target humidity of the gas inhaled by the user) * The influence coefficient of the water tank outlet temperature on the humidity of the gas inhaled by the user is to eliminate the additional error brought to the system by the sampling error and control error of the intelligent humidity control algorithm when the intelligent control temperature algorithm, sampling error and control error are 0.
[0133] The target absolute humidity of the user's inhaled gas minus the sampled absolute humidity of the detection device equals the error in the absolute humidity of the user's inhaled gas. The target absolute humidity of the user's inhaled gas / the target humidity of the user's inhaled gas is the absolute humidity at 1% relative humidity at the target temperature. The error in the absolute humidity of the user's inhaled gas / the absolute humidity at 1% relative humidity at the target temperature equals the error in the relative humidity at the target temperature. Multiplying the error in the relative humidity at the target temperature by the influence coefficient of the water tank outlet temperature on the humidity of the user's inhaled gas can eliminate the additional error introduced to the system by the sampling error and control error of the intelligent temperature control algorithm when the sampling error and control error of the intelligent humidity control algorithm are 0.
[0134] The coefficient of influence of the water tank outlet temperature on the humidity of the gas inhaled by the user is a coefficient collected from different systems.
[0135] The influence coefficient of the water tank outlet temperature on the humidity of the gas inhaled by the user can be determined in the following way.
[0136] The humidity of the gas delivered to the patient is indirectly assessed by the temperature of the gas outlet of the equipment's water tank. It is necessary to evaluate the impact of the temperature error of the equipment's water tank outlet on the humidity of the gas delivered to the patient. Figure 7 This invention provides a schematic diagram of a control process for evaluating the impact of the water tank outlet temperature on the humidity of the gas delivered to the patient. Experiments were conducted to verify this. The device was placed in a stable environment, and the flow rate and temperature were maintained at a constant level. The target temperature of the water tank outlet temperature sensor was increased in increments of 0.3°C. While ensuring the temperature of the gas delivered to the patient remained constant, the rate of humidity change was determined. Experiments showed that at an ambient temperature of 25°C and humidity of 30%, for every 0.1°C increase in the water tank outlet temperature, the humidity of the patient's gas increased by approximately 1%. This 1% increase is the influence coefficient of the water tank outlet temperature on the humidity of the gas inhaled by the user. Specific data can be found in the table below.
[0137]
[0138] The massive target temperature compensation value of the second water tank outlet obtained by this formula, together with its corresponding operating condition parameters, constitutes the second training data for model training.
[0139] Figure 8 This invention provides a data schematic diagram for determining a second compensation model, as shown in the embodiment of the invention. Figure 8 The table shown represents the calculated target temperature compensation value for the second water tank outlet, along with corresponding environmental information such as the set flow rate, set temperature, water tank inlet temperature, and absolute humidity. This table is obtained by optimizing data with similar attributes. The equipment is set to the same flow rate and temperature, using data collected by the water tank inlet temperature and humidity sensor as a reference point. The average of the target temperature compensation values for the second water tank outlet is then calculated. Figure 8 The table.
[0140] Optional, upon obtaining Figure 8 After the data is collected, it can be input into the neural network model, so that the neural network model can learn from the data. When the breathing humidification device is in actual operation, the actual water tank inlet temperature, the actual water tank inlet absolute humidity, the actual set flow rate and the actual set temperature are input into the second compensation model to obtain the target temperature compensation value of the first water tank outlet.
[0141] Optionally, the pipeline heater is PID controlled based on the target temperature at the pipeline outlet, and the heating plate is PID controlled based on the target temperature at the water tank outlet, including:
[0142] Obtain the actual temperature of the pipe outlet, and adjust the output power of the pipe heater according to the actual temperature of the pipe outlet and the target temperature of the pipe outlet, so that the actual temperature of the pipe outlet approaches the target temperature of the pipe outlet.
[0143] The actual temperature of the water tank outlet is obtained, and the output power of the heating plate is adjusted according to the actual temperature of the water tank outlet and the target temperature of the water tank outlet, so that the actual temperature of the water tank outlet approaches the target temperature of the water tank outlet.
[0144] After determining the real-time target temperatures at the pipeline outlet and the water tank outlet, the precise execution control phase begins.
[0145] For the control of the pipeline heater, the actual temperature of the pipeline outlet is first acquired in real time by a temperature sensor at the outlet. Then, the actual temperature of the outlet is used as a process variable, and the previously calculated target temperature is used as a setpoint, both input into the proportional-integral-derivative (PID) control algorithm. This algorithm continuously calculates the deviation between the target temperature and the actual temperature, and dynamically and continuously adjusts the output power of the pipeline heater based on the combined calculation results of the proportional, integral, and derivative terms of this deviation. The control objective is to rapidly, smoothly, and accurately approach and stabilize the actual temperature of the outlet at the target temperature, thereby compensating for heat loss in the gas delivery pipeline and ensuring the final output temperature.
[0146] The control process for the heating plate of the humidification tank is similar. The actual temperature of the water tank outlet is acquired in real time via a temperature sensor. This actual temperature is used as a process variable, while the previously calculated target temperature is used as a setpoint, and input into another proportional-integral-derivative (PID) control algorithm. This algorithm, also based on real-time temperature deviation, dynamically changes the output power of the heating plate through comprehensive adjustment of proportional, integral, and derivative parameters. Its control objective is to ensure that the actual temperature of the water tank outlet closely follows the target temperature, thereby ensuring that the saturated humidity of the gas exiting the humidification tank meets the preset requirements, indirectly and stably controlling the absolute humidity of the final output gas.
[0147] Through these two independent and parallel closed-loop proportional-integral-derivative controls, the system achieves precise and stable temperature control of the breathing gas in the two key stages of humidification and delivery.
[0148] Optionally, the sensor includes a temperature sensor, and the controller is equipped with a temperature sensor acquisition circuit to acquire the first sensor data collected by multiple sensors, including:
[0149] For any temperature sensor, the actual ADC value corresponding to the temperature sensor is obtained through the temperature sensor acquisition circuit.
[0150] The actual temperature value is determined based on the preset correspondence and the actual ADC value.
[0151] The preset correspondence is achieved by connecting a standard resistor to the temperature sensor acquisition circuit to obtain the correspondence between different ADC values acquired under different resistance values and the corresponding temperature values.
[0152] In the entire system, the target temperature at the water tank outlet has a significant impact on the humidity of the gas delivered to the patient; a difference of approximately 0.1°C can affect the humidity by 1%. Therefore, the accuracy requirements for the temperature sensor are extremely high. Two factors affect the accuracy of the temperature sensor: the accuracy of the temperature sensor itself and the accuracy of the temperature sensor acquisition circuit. Since the temperature sensor originates from the raw materials, its accuracy can be improved through careful selection. Here, to improve the accuracy of the temperature sensor acquisition circuit, board-level calibration of the temperature sensor circuit can be performed.
[0153] The resistance of the temperature sensor at different temperatures is simulated using a standard resistor. The acquisition circuit of each temperature sensor is calibrated, ensuring a one-to-one correspondence between the ADC sampled by different resistors and the corresponding temperatures, thereby reducing the influence of related circuits on the acquired temperature.
[0154] Figure 9 This invention provides a flowchart for calibrating a temperature sensor acquisition circuit, which can be performed for each temperature sensor acquisition circuit. The calibration method is as follows: A high-precision programmable standard resistance source is connected to the input terminal of the acquisition circuit to simulate the resistance value of the temperature sensor at different temperatures. The temperature sensor acquisition circuit converts this resistance value into a voltage, which is then read by an analog-to-digital converter (ADC) to obtain the corresponding ADC value. By acquiring the ADC values corresponding to multiple different resistance points, a one-to-one preset correspondence (such as a lookup table or fitting formula) between the ADC value of this acquisition circuit and the theoretical temperature value is established, and this relationship is stored in the device.
[0155] When a humidifier is in actual use, the temperature sensor can read an actual ADC value (e.g., 2000). By querying the preset correspondence, it is found that the actual ADC value of 2000 is between 1860 and 2232. The current actual temperature value can be calculated using an interpolation algorithm.
[0156] Figure 10a A schematic diagram of the temperature error of the calibrated resistance provided in an embodiment of the present invention. Figure 1 , Figure 10b A schematic diagram of the temperature error of the calibrated resistance provided in an embodiment of the present invention. Figure 2 , Figure 10c A schematic diagram of the temperature error of the calibrated resistance provided in an embodiment of the present invention. Figure 3 , Figure 10d A schematic diagram of the temperature error of the calibrated resistance provided in an embodiment of the present invention. Figure 4 The horizontal axis of the graph represents five different temperature sensors, each with an actual temperature of 25℃. The graph shows the actual collected temperatures, demonstrating that the temperature sensor circuit accuracy can reach ±0.1℃ after calibration.
[0157] Figure 11 This is a schematic flowchart illustrating a pipeline outlet temperature control method according to an embodiment of the present invention. Taking pipeline outlet temperature control as an example, the actual temperature of the pipeline outlet can be collected, and the target temperature of the pipeline outlet can be calculated. Temperature control is performed when no alarm is triggered. When the actual temperature of the pipeline outlet equals the target temperature of the pipeline outlet, heating is turned off. Conversely, if an alarm is detected, heating is directly turned off.
[0158] Figure 12 This invention provides a curve of temperature and humidity of gas delivered to a patient under different environmental conditions after using the method of this application, as shown in the embodiment of the invention. By comparison... Figure 1 and Figure 12 The method of this application has greatly improved environmental resistance, that is, when the ambient temperature changes, the temperature and humidity of the gas delivered to the patient can remain stable.
[0159] The method described in this application can detect the temperature, humidity, and ambient temperature of the gas entering the humidification tank, and adjust the heating power of the heating plate and pipeline based on changes in these factors. This allows the equipment to adapt to various gas conditions, resulting in a continuous and stable temperature and humidity humidification effect. In this process, target temperatures are determined for the gas outlet of the pipeline and the gas outlet of the water tank to compensate for design errors caused by different sensor positions due to different equipment. This method achieves relative stability of the pipeline output temperature and humidity, increasing immunity to disturbances from ambient temperature and humidity as well as sensor position.
[0160] Figure 13 This is a schematic diagram of a temperature and humidity control device provided in an embodiment of the present invention. The device is a controller used in a respiratory humidification device and includes:
[0161] The acquisition module 1301 is used to acquire the first sensor data collected by multiple sensors when the breathing humidification device is actually running;
[0162] The determination module 1302 is used to determine the target temperature of the pipeline outlet and the target temperature of the water tank outlet based on the first sensor data and the compensation model; the compensation model is determined by the second sensor data collected by multiple sensors under closed-loop control; the closed-loop control means that a detection device is set at the location where the user inhales gas, so as to control the pipeline heater and heating plate according to the data detected by the detection device.
[0163] The control module 1303 is used to perform PID control on the pipeline heater based on the target temperature of the pipeline outlet and PID control on the heating plate based on the target temperature of the water tank outlet.
[0164] Optionally, the compensation model includes a first compensation model; the first sensor data includes the actual intake air temperature. When determining the target temperature of the pipeline outlet based on the first sensor data and the compensation model, the determining module 1302 is specifically used for:
[0165] The actual intake temperature, the actual set flow rate, and the target temperature of the gas inhaled by the user are input into the first compensation model to determine the target temperature compensation value of the first pipeline outlet.
[0166] The target temperature of the gas outlet is determined based on the target temperature of the gas inhaled by the user and the compensation value of the target temperature at the outlet of the first pipeline.
[0167] Optionally, the first compensation model is established using the first training data; the first training data is predetermined in the following manner:
[0168] After placing the breathing humidification device in an environment with adjustable temperature and humidity, control the environment to change under different combinations of temperature and humidity, and under each combination, control the breathing humidification device to operate at different flow rates and temperature levels;
[0169] During each step of the operation, data from the second sensor and the sampled temperature of the detection device are acquired; the second sensor data includes the sampled value of the gas outlet temperature in the pipeline.
[0170] The target temperature compensation value at the outlet of the second pipeline is calculated according to the following formula to obtain the first training data;
[0171] The target temperature compensation value of the second pipeline outlet = the sampled value of the pipeline outlet temperature - the sampled temperature of the detection device.
[0172] Optionally, the compensation model includes a second compensation model; the first sensor data includes the actual water tank inlet temperature and the actual water tank inlet absolute humidity. When determining the target temperature of the water tank outlet based on the first sensor data and the compensation model, the determining module 1302 is specifically used for:
[0173] Input the actual water tank inlet temperature, actual water tank inlet absolute humidity, actual set flow rate and actual set temperature into the second compensation model to determine the target temperature compensation value of the first water tank outlet.
[0174] The target temperature of the water tank outlet is determined based on the actual water tank inlet temperature and the target temperature compensation value of the first water tank outlet.
[0175] Optionally, the second compensation model is established using second training data; the second training data is predetermined in the following manner:
[0176] After placing the breathing humidification device in an environment with adjustable temperature and humidity, control the environment to change under different combinations of temperature and humidity, and under each combination, control the breathing humidification device to operate at different flow rates and temperature levels;
[0177] During each step of the operation, data from the second sensor is acquired, as well as the sampled humidity and sampled absolute humidity of the detection device; the second sensor data includes the sampled temperature values of the water tank outlet and the water tank inlet.
[0178] The target temperature compensation value at the water tank outlet is calculated according to the following formula to obtain the second training data;
[0179] The target temperature compensation value of the second water tank outlet = (water tank outlet temperature sampling value - water tank inlet temperature sampling value) - (sampling humidity of the detection device - target humidity of the user's inhaled gas) * influence coefficient of water tank outlet temperature on the humidity of the user's inhaled gas + (target absolute humidity of the user's inhaled gas - sampling absolute humidity of the detection device) / target absolute humidity of the user's inhaled gas / target humidity of the user's inhaled gas * influence coefficient of water tank outlet temperature on the humidity of the user's inhaled gas.
[0180] Optionally, when the control module 1303 performs PID control on the pipeline heater based on the target temperature at the pipeline outlet and on the heating plate based on the target temperature at the water tank outlet, it is specifically used for:
[0181] Obtain the actual temperature of the pipe outlet, and adjust the output power of the pipe heater according to the actual temperature of the pipe outlet and the target temperature of the pipe outlet, so that the actual temperature of the pipe outlet approaches the target temperature of the pipe outlet.
[0182] The actual temperature of the water tank outlet is obtained, and the output power of the heating plate is adjusted according to the actual temperature of the water tank outlet and the target temperature of the water tank outlet, so that the actual temperature of the water tank outlet approaches the target temperature of the water tank outlet.
[0183] Optionally, the sensor includes a temperature sensor, and the controller is equipped with a temperature sensor acquisition circuit. When acquiring the first sensor data collected by the multiple sensors, the acquisition module 1301 is specifically used for:
[0184] For any temperature sensor, the actual ADC value corresponding to the temperature sensor is obtained through the temperature sensor acquisition circuit.
[0185] The actual temperature value is determined based on the preset correspondence and the actual ADC value.
[0186] The preset correspondence is achieved by connecting a standard resistor to the temperature sensor acquisition circuit to obtain the correspondence between different ADC values acquired under different resistance values and the corresponding temperature values.
[0187] The temperature and humidity control device provided in this embodiment of the invention can achieve the above-mentioned functions. Figure 2 The temperature and humidity control method in the illustrated embodiment has a similar implementation principle and technical effect, and will not be described in detail here.
[0188] Figure 14 A schematic diagram of the hardware structure of a controller provided in an embodiment of the present invention is shown below. Figure 14 As shown, the present invention provides a controller, including at least one processor 1401 and a memory 1402. The processor 1401 and the memory 1402 are connected via a bus 1403.
[0189] In the specific implementation process, memory 1402 stores instructions executed by the computer;
[0190] At least one processor 1401 executes computer execution instructions stored in memory 1402, causing at least one processor 1401 to perform the method in the above method embodiment.
[0191] The specific implementation process of processor 1401 can be found in the above method embodiment, and its implementation principle and technical effect are similar, so it will not be repeated here.
[0192] In the above Figure 14 In the illustrated embodiments, it should be understood that the processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), etc. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in this invention can be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules within the processor.
[0193] The memory may include high-speed RAM, and may also include non-volatile storage (NVM), such as at least one disk storage.
[0194] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc. For ease of illustration, the buses shown in the accompanying drawings are not limited to a single bus or a single type of bus.
[0195] This invention provides a respiratory humidification device, including a controller, humidification tank, heating plate, gas delivery pipeline, pipeline heater and multiple sensors as described in the foregoing embodiments;
[0196] A heating plate is installed at the bottom of the humidification tank to heat the water in the humidification tank to generate water vapor;
[0197] The gas pipeline is connected to the outlet of the humidification tank. A pipeline heater is installed on the gas pipeline to heat the gas flowing through the gas pipeline.
[0198] Multiple sensors are used to acquire sensor data;
[0199] The controller connects to multiple sensors, heating plates, and tubular heaters.
[0200] This invention also provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the method described in the above embodiments.
[0201] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the method described in the above method embodiments.
[0202] The aforementioned computer-readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk. The readable storage medium can be any available medium accessible to a general-purpose or special-purpose computer.
[0203] An exemplary readable storage medium is coupled to a processor, enabling the processor to read information from and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can reside in an Application Specific Integrated Circuit (ASIC). Alternatively, the processor and the readable storage medium can exist as discrete components in the device.
[0204] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.
[0205] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0206] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods of the various embodiments of this application.
[0207] The above are merely preferred embodiments of this application and do not limit the patent scope of this application. Any equivalent structural or procedural transformations made using the content of this application's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of this application.
Claims
1. A method for controlling temperature and humidity, characterized in that, A controller used in a respiratory humidification device, the method comprising: When the breathing humidification device is in actual operation, it acquires the first sensor data collected by multiple sensors. Based on the first sensor data and the compensation model, the target temperature of the pipeline outlet and the target temperature of the water tank outlet are determined; the compensation model is determined by the second sensor data collected by multiple sensors under closed-loop control; the closed-loop control means that a detection device is set at the location where the user inhales gas, so as to control the pipeline heater and heating plate according to the data detected by the detection device. The pipeline heater is controlled by PID based on the target temperature of the pipeline outlet, and the heating plate is controlled by PID based on the target temperature of the water tank outlet.
2. The method according to claim 1, characterized in that, The compensation model includes a first compensation model; the first sensor data includes the actual intake air temperature, and the target temperature of the pipeline outlet is determined based on the first sensor data and the compensation model, including: The actual intake temperature, the actual set flow rate, and the target temperature of the gas inhaled by the user are input into the first compensation model to determine the target temperature compensation value of the first pipeline outlet. The target temperature of the air outlet of the pipeline is determined based on the target temperature of the gas inhaled by the user and the target temperature compensation value of the first pipeline outlet.
3. The method according to claim 2, characterized in that, The first compensation model is established using the first training data; the first training data is predetermined in the following manner: After placing the breathing humidification device in an environment with adjustable temperature and humidity, the environment is controlled to change under different combinations of temperature and humidity, and under each combination, the breathing humidification device is controlled to operate at different flow rates and temperature levels. In each step of the operation, the data from the second sensor and the sampling temperature of the detection device are acquired; The second sensor data includes the sampled value of the gas outlet temperature in the pipeline; The target temperature compensation value at the outlet of the second pipeline is calculated according to the following formula to obtain the first training data; The target temperature compensation value of the second pipeline outlet = the sampled value of the pipeline outlet temperature - the sampled temperature of the detection device.
4. The method according to claim 1, characterized in that, The compensation model includes a second compensation model; the first sensor data includes the actual water tank inlet temperature and the actual water tank inlet absolute humidity. Based on the first sensor data and the compensation model, the target temperature of the water tank outlet is determined, including: The actual water tank inlet temperature, the actual water tank inlet absolute humidity, the actual set flow rate, and the actual set temperature are input into the second compensation model to determine the target temperature compensation value of the first water tank outlet. The target temperature of the water tank outlet is determined based on the actual water tank inlet temperature and the target temperature compensation value of the first water tank outlet.
5. The method according to claim 4, characterized in that, The second compensation model is established using the second training data; the second training data is predetermined in the following manner: After placing the breathing humidification device in an environment with adjustable temperature and humidity, the environment is controlled to change under different combinations of temperature and humidity, and under each combination, the breathing humidification device is controlled to operate at different flow rates and temperature levels. During each step of the operation, the second sensor data, as well as the sampled humidity and sampled absolute humidity of the detection device, are acquired; the second sensor data includes the sampled temperature value of the water tank outlet and the sampled temperature value of the water tank inlet. The target temperature compensation value at the water tank outlet is calculated according to the following formula to obtain the second training data; The target temperature compensation value of the second water tank outlet = (water tank outlet temperature sampling value - water tank inlet temperature sampling value) - (sampling humidity of the detection device - target humidity of the user's inhaled gas) * influence coefficient of water tank outlet temperature on the humidity of the user's inhaled gas + (target absolute humidity of the user's inhaled gas - sampling absolute humidity of the detection device) / target absolute humidity of the user's inhaled gas / target humidity of the user's inhaled gas * influence coefficient of water tank outlet temperature on the humidity of the user's inhaled gas.
6. The method according to claim 1, characterized in that, PID control is applied to the pipeline heater based on the target temperature at the pipeline outlet, and PID control is applied to the heating plate based on the target temperature at the water tank outlet, including: The actual temperature of the pipe outlet is obtained, and the output power of the pipe heater is adjusted according to the actual temperature of the pipe outlet and the target temperature of the pipe outlet so that the actual temperature of the pipe outlet approaches the target temperature of the pipe outlet. The actual temperature of the water tank outlet is obtained, and the output power of the heating plate is adjusted according to the actual temperature of the water tank outlet and the target temperature of the water tank outlet, so that the actual temperature of the water tank outlet approaches the target temperature of the water tank outlet.
7. The method according to claim 1, characterized in that, The sensor includes a temperature sensor, and the controller is equipped with a temperature sensor acquisition circuit. Acquiring the first sensor data collected by multiple sensors includes: For any temperature sensor, the actual ADC value corresponding to the temperature sensor is obtained through the temperature sensor acquisition circuit. The actual temperature value is determined based on the preset correspondence and the actual ADC value. The preset correspondence is obtained by connecting a standard resistor to the temperature sensor acquisition circuit to obtain the correspondence between different ADC values acquired under different resistance values and the corresponding temperature values.
8. A temperature and humidity control device, characterized in that, A controller for use in respiratory humidification devices, the device comprising: The acquisition module is used to acquire first sensor data collected by multiple sensors when the breathing humidification device is actually running; The determination module is used to determine the target temperature of the gas outlet of the pipeline and the target temperature of the gas outlet of the water tank based on the data of the first sensor and the compensation model; the compensation model is determined by the data of the second sensor collected by multiple sensors under closed-loop control; the closed-loop control means that a detection device is set at the location where the user inhales gas, so as to control the pipeline heater and the heating plate according to the data detected by the detection device. The control module is used to perform PID control on the pipeline heater based on the target temperature of the pipeline outlet and PID control on the heating plate based on the target temperature of the water tank outlet.
9. A controller, characterized in that, include: Memory, processor; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory, causing the processor to perform the method as described in any one of claims 1-7.
10. A respiratory humidification device, characterized in that, Includes the controller, humidification tank, heating plate, gas pipeline, pipeline heater, and multiple sensors as described in claim 9; A heating plate is provided at the bottom of the humidification tank, which is used to heat the water in the humidification tank to generate water vapor; The gas pipeline is connected to the gas outlet of the humidification tank, and the gas pipeline is equipped with a pipeline heater, which is used to heat the gas flowing through the gas pipeline. Multiple sensors are used to acquire sensor data; The controller is connected to the plurality of sensors, the heating plate, and the pipeline heater.
11. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the method as described in any one of claims 1-7.
12. A computer program product, characterized in that, Includes a computer program that, when executed by a processor, implements the method described in any one of claims 1-7.