A method and system for controlling air compression of atomizer
By monitoring and controlling the instantaneous flow and pressure of the atomizer in real time, combined with the PID control algorithm and the double exponential function model, precise control of the atomization volume of the atomizer is achieved, and the problem of inaccurate atomization volume in the existing technology is solved. , improving the treatment effect and resource utilization.
Patent Information
- Application Number
- CN202411039938.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-31
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2044-07-31
AI Technical Summary
Existing atomizers cannot accurately determine the amount of atomization, resulting in uneven drug concentration, affecting treatment effects, and increasing drug waste and costs.
By obtaining the instantaneous flow rate at the atomizer outlet, a mapping relationship between the atomization amount and real-time pressure is constructed, and the improved PID control algorithm and double exponential function fitting model are used to accurately control the output pressure of the air compressor to achieve mist control. Precise control of quantification.
It ensures the accuracy of the drug atomization amount, improves the treatment effect and drug utilization, reduces the treatment cost, and enhances the stability of the system and the patient's treatment experience.
Smart Images

Figure CN118567405B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of atomizers, and in particular to an air compression control method, system, electronic device, and non-transient computer-readable storage medium for an atomizer. Background Art
[0002] Nowadays, aerosol inhalation therapy is an important and effective method for treating respiratory diseases. Aerosol inhalation therapy uses the principle of gas jet to turn the drug solution into fine mist particles through a nebulizer or other atomization devices. These particles are suspended in the gas and enter the respiratory tract and lungs with the patient's natural breathing to achieve respiratory tract humidification or drug treatment. At the same time, it is widely used because it is painless and has a rapid effect.
[0003] However, current nebulizers cannot accurately determine the amount of nebulization when nebulizing medication, and therefore cannot determine the start and stop time of the air compressor, which may cause the drug concentration to be too high or too low, affecting the treatment effect. In addition, the inability to accurately control the amount of nebulization may also increase drug waste and costs. Summary of the invention
[0004] The present invention aims at the technical problems existing in the prior art and provides an air compression control method, system, electronic device and non-transitory computer-readable storage medium for an atomizer, which can accurately control the atomization amount of liquid medicine of the atomizer.
[0005] The technical solution of the present invention to solve the above technical problems is as follows:
[0006] The present invention provides an air compression control method for an atomizer, the method comprising:
[0007] Obtain the instantaneous flow rate at the outlet of the atomizer;
[0008] Determining the total atomization volume of the atomizer within a certain period of time according to the instantaneous flow rate;
[0009] Determine the real-time pressure of the atomizer as the pressure changes over time, and construct an atomization amount-pressure model of the mapping relationship between the atomization amount of the atomizer and the real-time pressure;
[0010] Processing the target atomization volume of the atomizer according to an atomization volume-pressure model to determine the corresponding target pressure;
[0011] Processing the real-time pressure and the target pressure according to a target PID control algorithm to determine an actual output pressure of the air compressor of the atomizer;
[0012] The air compressor of the atomizer is controlled according to the actual output pressure to achieve precise air compression control of the atomizer.
[0013] Optionally, determining the total atomization volume of the atomizer within a certain period of time according to the instantaneous flow rate includes:
[0014] Acquire a first parameter for simulating the effect of additional periodic fluctuations or noise generated by the atomizer on the atomization amount;
[0015] Acquire a second parameter for controlling the frequency of the periodic fluctuation or the noise;
[0016] The total atomization volume of the atomizer within a certain period of time is determined based on the first parameter, the second parameter and the instantaneous flow rate.
[0017] Optionally, the total atomization volume of the atomizer within a certain period of time is expressed as:
[0018] ;
[0019] Among them, Q(t) is the total atomization amount in a period of time, is the instantaneous flow at the outlet measured by the flow sensor, is the first parameter, is the second parameter and t is the time variable.
[0020] Optionally, determining the real-time pressure of the atomizer as the pressure changes over time comprises:
[0021] Acquiring frequency spectrum characteristics of the pressure signal of the atomizer;
[0022] Based on the frequency spectrum characteristics of the pressure signal, determining the corresponding amplitude, angular frequency, phase angle and time variable;
[0023] constructing a plurality of sinusoidal wave components of the pressure of the atomizer based on the amplitude, the angular frequency, the phase angle, and the time variable;
[0024] Based on the plurality of the sinusoidal components of the pressure of the atomizer, an actual pressure of the atomizer is determined.
[0025] Optionally, the actual pressure is expressed as:
[0026] ;
[0027] in, is the actual pressure, is the amplitude, is the angular frequency, is the phase angle and t is the time variable.
[0028] Optionally, the atomization amount-pressure model for constructing a mapping relationship between the atomization amount of the atomizer and the real-time pressure includes:
[0029] Construct an exponential function of atomization volume and pressure;
[0030] Obtaining a third parameter and a fourth parameter for controlling an exponential decay rate;
[0031] Obtaining a first coefficient and a second coefficient for controlling the influence of the exponential function on the atomization amount;
[0032] The exponential function is processed based on the first coefficient, the second coefficient, the third parameter and the fourth parameter to obtain the atomization amount-pressure model.
[0033] Optionally, the atomization amount-pressure model is expressed as:
[0034] ;
[0035] Among them, Q is the atomization amount, P is the variable of pressure, a and c are the first coefficient and the second coefficient respectively, and b and d are the third parameter and the fourth parameter respectively.
[0036] Optionally, before the real-time pressure and the target pressure are processed according to the target PID control algorithm to determine the actual output pressure of the air compressor of the atomizer, the method further comprises:
[0037] Acquire a first difference between the target pressure and the actual pressure;
[0038] Obtain the fifth parameter, the sixth parameter and the seventh parameter of the PID controller;
[0039] The target PID control algorithm is obtained based on the fifth parameter, the sixth parameter, the seventh parameter and the first difference.
[0040] Optionally, the actual output pressure of the air compressor of the atomizer is expressed as:
[0041] ;
[0042] in, is the actual output pressure, is the target pressure, is the actual pressure, , , They are the fifth, sixth and seventh parameters of the PID controller respectively.
[0043] The present invention also provides an air compression control system for an atomizer, the system comprising:
[0044] A flow acquisition module, used to acquire the instantaneous flow at the outlet of the atomizer;
[0045] An atomization volume module, used to determine the total atomization volume of the atomizer within a certain period of time according to the instantaneous flow rate;
[0046] A model building module, used to determine the real-time pressure of the atomizer as the pressure changes over time, and to build an atomization amount-pressure model of the mapping relationship between the atomization amount of the atomizer and the real-time pressure;
[0047] A target pressure module, used to process the target atomization amount of the atomizer according to an atomization amount-pressure model to determine a corresponding target pressure;
[0048] An actual output pressure module, used to process the real-time pressure and the target pressure according to a target PID control algorithm to determine the actual output pressure of the air compressor of the atomizer;
[0049] The compression control module is used to control the air compressor of the atomizer according to the actual output pressure, so as to achieve precise air compression control of the atomizer.
[0050] In addition, to achieve the above objectives, the present invention also proposes an electronic device, comprising: a memory for storing a computer software program; a processor for reading and executing the computer software program, thereby implementing an air compression control method for an atomizer as described above.
[0051] In addition, to achieve the above-mentioned purpose, the present invention also proposes a non-transitory computer-readable storage medium, in which a computer software program is stored. When the computer software program is executed by a processor, an air compression control method of an atomizer as described above is implemented.
[0052] The beneficial effects of the present invention are:
[0053] (1) The present invention uses a flow sensor and a pressure sensor to monitor and control the system in real time, combined with an improved PID control algorithm and a double exponential function fitting model, to achieve precise control of the instantaneous flow rate and internal pressure at the nebulizer outlet, which helps to ensure that the nebulizer can produce accurate drug atomization volume under different working conditions, thereby improving the treatment effect and drug utilization rate;
[0054] (2) The present invention can precisely control the amount of atomization, which means that the amount of drug delivered can be adjusted according to the patient's needs and condition, avoiding the occurrence of overdose or underdose of the drug, and improving the therapeutic effect and efficacy of the drug;
[0055] (3) The present invention can avoid drug waste caused by improper operation of the nebulizer or system instability by accurately controlling the atomization volume, thereby reducing treatment costs and improving the efficiency of medical resource utilization;
[0056] (4) The present invention uses an improved PID control algorithm and a double exponential function fitting model to respond to pressure changes and drug demand changes more quickly and accurately, improve the stability and reliability of the system, and reduce failures and maintenance costs;
[0057] (5) The present invention can ensure that patients receive stable and reliable drug delivery during treatment by precisely controlling the amount of atomization, thereby improving the comfort and safety of treatment and enhancing the patient's treatment experience and satisfaction.
[0058] In summary, the embodiments of the present invention achieve precise control of the atomization amount of the nebulizer by introducing advanced sensor technology, control algorithms and mathematical models, thereby achieving multiple beneficial effects such as improving treatment effects, reducing costs, enhancing system stability and improving patient treatment experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0059] Figure 1 A scene diagram of an air compression control method for an atomizer provided by the present invention;
[0060] Figure 2 A flow chart of an air compression control method for an atomizer provided by the present invention;
[0061] Figure 3 A schematic diagram of the structure of an air compression control system for an atomizer provided by the present invention;
[0062] Figure 4 A schematic diagram of the hardware structure of a possible electronic device provided by the present invention;
[0063] Figure 5 A schematic diagram of the hardware structure of a possible computer-readable storage medium provided by the present invention. DETAILED DESCRIPTION
[0064] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0065] In the description of the present invention, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0066] In the description of the present invention, the term "for example" is used to mean "used as an example, illustration or explanation". Any embodiment described as "for example" in the present invention is not necessarily to be construed as being more preferred or advantageous than other embodiments. The following description is given to enable any technician in the field to implement and use the present invention. In the following description, details are listed for the purpose of explanation. It should be understood that a person of ordinary skill in the art can recognize that the present invention can be implemented without using these specific details. In other examples, well-known structures and processes will not be elaborated in detail to avoid obscuring the description of the present invention with unnecessary details. Therefore, the present invention is not intended to be limited to the embodiments shown, but is consistent with the widest scope consistent with the principles and features disclosed in the present invention.
[0067] See also Figure 1 , Figure 1 This is a scene diagram of an air compression control method for an atomizer provided by the present invention. Figure 1 As shown, the terminal and the server are connected via a network, such as a wired or wireless network connection. The terminal may include but is not limited to portable terminals such as mobile phones and tablets installed with various network platform applications, as well as fixed terminals such as computers, query machines, and advertising machines. The server provides users with various business services, including service push servers, user recommendation servers, etc.
[0068] It should be noted that Figure 1 The scenario diagram of the air compression control method of an atomizer shown is only an example. The terminal, server and application scenario described in the embodiment of the present invention are for more clearly illustrating the technical solution of the embodiment of the present invention, and do not generate limitations on the technical solution provided by the embodiment of the present invention. A person of ordinary skill in the art can know that with the evolution of the system and the emergence of new business scenarios, the technical solution provided by the embodiment of the present invention is also applicable to similar technical problems.
[0069] Among them, the terminal can be used for:
[0070] Obtain the instantaneous flow rate at the outlet of the atomizer;
[0071] Determining the total atomization volume of the atomizer within a certain period of time according to the instantaneous flow rate;
[0072] Determine the real-time pressure of the atomizer as the pressure changes over time, and construct an atomization amount-pressure model of the mapping relationship between the atomization amount of the atomizer and the real-time pressure;
[0073] Processing the target atomization volume of the atomizer according to an atomization volume-pressure model to determine the corresponding target pressure;
[0074] Processing the real-time pressure and the target pressure according to a target PID control algorithm to determine an actual output pressure of the air compressor of the atomizer;
[0075] The air compressor of the atomizer is controlled according to the actual output pressure to achieve precise air compression control of the atomizer.
[0076] See also Figure 2 , provides a flow chart of an air compression control method of an atomizer of the present invention, comprising the following steps:
[0077] Step 201: Obtain the instantaneous flow rate at the outlet of the atomizer.
[0078] Among them, the instantaneous flow rate at the outlet of the atomizer refers to the flow rate of liquid or gas flowing out of the outlet of the atomizer at any given time point. It is measured and recorded for the flow rate within a very short time interval, so it is called instantaneous flow rate.
[0079] Specifically, for a nebulizer, instantaneous flow rate refers to the volume of liquid atomized material (such as drug solution or liquid medicine) or gas (such as air) ejected from the nebulizer nozzle or outlet per unit time. The unit of instantaneous flow rate is usually a volume unit (such as milliliters, liters, etc.) divided by a time unit (such as seconds, minutes, etc.), such as liters / minute or milliliters / second.
[0080] In order to obtain the instantaneous flow rate at the nebulizer outlet, flow sensors or instruments are usually used for measurement. These sensors can monitor the speed or volume of fluid flow in real time to calculate the instantaneous flow rate. Monitoring the instantaneous flow rate is very important for controlling the operation of the nebulizer, adjusting the amount of drug administration, and evaluating the nebulization effect.
[0081] In some embodiments, the instantaneous flow rate at the outlet of the atomizer can be monitored and measured in real time by a flow sensor. A flow sensor is a device that can detect the amount of fluid flow, and is commonly used to measure the flow rate of gas or liquid. In the atomizer solution, a flow sensor is installed at the outlet of the atomizer to obtain the instantaneous flow rate generated by the atomizer in real time. In this way, data on the change of flow rate over time can be obtained for subsequent data processing and control algorithms.
[0082] It is understood that the working principle of flow sensors is usually based on the physical changes caused by the influence of fluid on the sensor. For example, for gas flow sensors, flow measurement can be achieved using principles such as thermal sensors, vortex sensors, and electromagnetic flow meters; for liquid flow sensors, turbine flow meters, ultrasonic flow meters, and electromagnetic flow meters can be used to measure fluid flow.
[0083] In some embodiments, a suitable flow sensor can be installed to monitor the flow changes at the nebulizer outlet in real time and feed back these data to the control system. In this way, the system can obtain the instantaneous flow information of the nebulizer, thereby achieving precise control of the nebulization amount. This flow monitoring and feedback mechanism is an important part of the modern nebulization treatment system, which can improve the treatment effect and drug utilization rate, while reducing drug waste and cost.
[0084] Step 202: Determine the total atomization volume of the atomizer within a certain period of time according to the instantaneous flow rate.
[0085] The total atomization volume of the nebulizer within a certain period of time refers to the total amount of liquid (or solid) converted into atomized state and sprayed out by the nebulizer within a given period of time, usually expressed in volume or mass units, such as milliliter, liter, microgram, milligram, etc.
[0086] In some embodiments, the time period may be expressed in seconds, minutes, hours, etc. The upper and lower limits of the integral are the start time and the end time of the time period.
[0087] In some embodiments, step 202 may include:
[0088] Acquire a first parameter for simulating the effect of additional periodic fluctuations or noise generated by the atomizer on the atomization amount;
[0089] Acquire a second parameter for controlling the frequency of the periodic fluctuation or the noise;
[0090] The total atomization volume of the atomizer within a certain period of time is determined based on the first parameter, the second parameter and the instantaneous flow rate.
[0091] In some embodiments, the total atomization volume of the atomizer within a certain period of time is expressed as:
[0092] ;
[0093] Among them, Q(t) is the total atomization amount in a period of time, is the instantaneous flow at the outlet measured by the flow sensor, is the first parameter, is the second parameter and t is the time variable.
[0094] In the specific implementation, Q(t) is the total atomization amount in a period of time; It is the instantaneous outlet flow rate measured by the flow sensor. During the operation of the atomizer, the flow rate will change with time. This formula will add up the flow rates at all time points. It is the first parameter, which is used to simulate the influence of additional periodic fluctuations or noise on the atomization amount. By multiplying it by a sine function, a periodic change is introduced;
[0095] It is the second parameter, which is the angular frequency parameter in the sine function and controls the periodicity of the sine wave. Adjusting this parameter can change the frequency of periodic fluctuations; t is the time variable, where t Indicates the change of time, is the independent variable of integration, and indicates the change of time during the integration process over a period of time. In this formula, represents the instantaneous outlet flow rate varying with time, and is an additional parameter used to introduce additional periodic fluctuations or noise, which also change with time t The entire integration process describes the influence of flow rate and periodic fluctuation on atomization volume during the time change, thus obtaining the total atomization volume within a period of time. .
[0096] Through By integrating this function, the total atomization volume within a given time range can be obtained. This integration operation integrates the change of flow rate over time, while taking into account the impact of additional periodic fluctuations or noise on the atomization volume, which can more accurately describe the change of atomization volume in the actual working environment.
[0097] Step 203: determine the real-time pressure of the atomizer that changes with time, and construct an atomization amount-pressure model that maps the relationship between the atomization amount of the atomizer and the real-time pressure.
[0098] In an embodiment of the present invention, the atomization amount-pressure model is one of the mathematical models that describe the working characteristics of the atomizer, which is used to characterize the relationship between the atomization amount output by the atomizer and the internal pressure. It is usually used to design and optimize the atomizer system, help control the working state of the atomizer and adjust the atomization amount.
[0099] In some embodiments, step 203 may include:
[0100] Acquiring frequency spectrum characteristics of the pressure signal of the atomizer;
[0101] Based on the frequency spectrum characteristics of the pressure signal, determining the corresponding amplitude, angular frequency, phase angle and time variable;
[0102] constructing a plurality of sinusoidal wave components of the pressure of the atomizer based on the amplitude, the angular frequency, the phase angle, and the time variable;
[0103] Based on the plurality of the sinusoidal components of the pressure of the atomizer, an actual pressure of the atomizer is determined.
[0104] In some embodiments, the actual pressure is expressed as:
[0105] ;
[0106] in, is the actual pressure, is the amplitude, is the angular frequency, is the phase angle and t is the time variable.
[0107] In the specific implementation, is the actual pressure of the atomizer, that is, how the pressure inside the atomizer changes over time. In actual systems, the pressure signal may be affected by many factors, such as air flow, the properties of the atomized liquid, etc., so it may show very complex fluctuation characteristics;
[0108] It is the amplitude of the sine wave component, which indicates the contribution of each sine wave to the pressure signal. In the Fourier series expansion, the complex pressure signal can be decomposed into multiple sine waves of different frequencies. The amplitude of each sine wave can be different, which indicates the influence of different frequency components on the pressure signal.
[0109] It is the angular frequency of the sine wave component, which controls the periodicity of the sine wave. The angular frequency of each component can be different, so fluctuations of different frequencies can be generated. In the pressure signal, fluctuations of different frequencies may have different effects on the operation of the system.
[0110] It is the phase angle of each sine wave, which indicates the phase offset of the sine wave relative to time t. Different phase angles can cause the starting position of the sine wave to be different at different times, thus producing different waveforms. In the pressure signal, sine waves of different phases may superimpose complex fluctuation patterns, reflecting the interaction of different factors in the system.
[0111] t is the time variable. Here, t represents the independent variable that changes with time. It represents the pressure signal. How it changes with time. In actual system operation, time is a continuously growing variable. The pressure values at different time points can be used to describe the change characteristics of the pressure signal over time. Therefore, t plays a role in representing the change of time in this formula;
[0112] In summary, this formula superimposes multiple sinusoidal wave components of different frequencies, amplitudes, and phases to obtain a complex pressure signal This signal reflects the complex interaction of various factors in the pressure system. By analyzing this signal, we can better understand the working characteristics of the atomizer, thereby optimizing the control scheme and improving the stability and efficiency of the system.
[0113] In some embodiments, step 203 may further include:
[0114] Construct an exponential function of atomization volume and pressure;
[0115] Obtaining a third parameter and a fourth parameter for controlling an exponential decay rate;
[0116] Obtaining a first coefficient and a second coefficient for controlling the influence of the exponential function on the atomization amount;
[0117] The exponential function is processed based on the first coefficient, the second coefficient, the third parameter and the fourth parameter to obtain the atomization amount-pressure model.
[0118] In some embodiments, the atomization amount-pressure model is expressed as:
[0119] ;
[0120] Among them, Q is the atomization amount, P is the variable of pressure, a and c are the first coefficient and the second coefficient respectively, and b and d are the third parameter and the fourth parameter respectively.
[0121] In the specific implementation, Q is a variable representing the amount of atomization, which represents the total amount of atomized drug produced by the nebulizer within a certain period of time and is the result that one wants to calculate or predict;
[0122] P is a variable of pressure, which indicates the pressure inside the atomizer. During the operation of the atomizer, the pressure will change with the influence of different factors, such as air flow, atomizer settings, etc.
[0123] a and c are the first coefficient and the second coefficient in the double exponential function, which indicate the influence of the double exponential function in the calculation of atomization amount. Their values need to be determined by experiments or model fitting;
[0124] b and d are the third and fourth parameters that control the exponential decay rate. The smaller they are, the slower the exponential decay is, which affects the contribution of pressure change to the atomization amount;
[0125] e is the base of natural logarithms, approximately equal to 2.718, and is used in the calculation of exponential functions;
[0126] and These two parts describe the contribution of exponential decay to the atomization amount. When the pressure P reaches a certain value, the exponential function tends to be stable and the influence on the atomization amount also decreases.
[0127] The meaning of this formula is that the atomization volume Q is not only affected by the pressure, but also regulated by the double exponential function. This model can better describe the change characteristics of the atomization volume produced by the atomizer under different pressures, so that the atomization volume Q can be adjusted by adjusting the parameters. To optimize the working state of the nebulizer and improve the effect and stability of drug atomization.
[0128] Step 204: Process the target atomization amount of the atomizer according to the atomization amount-pressure model to determine the corresponding target pressure.
[0129] In some embodiments, the required target atomization volume can be set according to actual needs or treatment requirements. The target atomization volume can be the atomization volume of the therapeutic drug, or it can be the target value when debugging the performance of the nebulizer. Then, through the reverse calculation of the atomization volume-pressure model, the set target atomization volume is substituted into the model to solve for the corresponding target pressure.
[0130] Step 205: Process the real-time pressure and the target pressure according to a target PID control algorithm to determine the actual output pressure of the air compressor of the atomizer.
[0131] In some embodiments, before step 205, the following steps may also be included:
[0132] Acquire a first difference between the target pressure and the actual pressure;
[0133] Obtain the fifth parameter, the sixth parameter and the seventh parameter of the PID controller;
[0134] The target PID control algorithm is obtained based on the fifth parameter, the sixth parameter, the seventh parameter and the first difference.
[0135] In some embodiments, the actual output pressure of the air compressor of the atomizer is expressed as:
[0136] ;
[0137] in, is the actual output pressure, is the target pressure, is the actual pressure, , , They are the fifth, sixth and seventh parameters of the PID controller respectively.
[0138] It can be understood that the target PID control algorithm is In the specific implementation, It is the output pressure of the air compressor, that is, the quantity to be controlled in the control system. The working state of the atomizer is controlled by adjusting the output of the air compressor;
[0139] is the target pressure, which is the ideal pressure value that the air compressor is expected to output;
[0140] is the actual pressure, which indicates how the pressure inside the atomizer changes over time;
[0141] , , The fifth, sixth and seventh parameters of the PID controller represent the coefficients of the proportional controller, integral controller and differential controller respectively. Their selection is crucial to the stability and response speed of the control system.
[0142] is the integral term, which represents the square integral of the pressure error. By integrating the pressure error, the cumulative effect of pressure deviation over a long period of time can be taken into account;
[0143] is the second-order differential of the pressure error, which represents the acceleration of the pressure error over time. By considering the acceleration of the pressure error, the output of the controller can be adjusted more quickly, improving the dynamic responsiveness of the system;
[0144] It can be understood that this formula combines the functions of proportional, integral and differential controllers, and realizes accurate control of the output pressure of the air compressor by processing the error between the real-time pressure and the target pressure. This improved PID control algorithm can better adapt to the control requirements under different working conditions and improve the stability and control accuracy of the system. In practical applications, it is necessary to adjust and optimize these PID parameters according to the specific system characteristics and requirements to achieve the best control effect.
[0145] Step 206: Control the air compressor of the atomizer according to the actual output pressure to achieve precise air compression control of the atomizer.
[0146] In some embodiments, the actual output pressure of the atomizer can be monitored in real time using a pressure sensor or the like. These sensors can convert the pressure into an electrical signal and provide it to the control system.
[0147] In some embodiments, the control system can compare the actual output pressure monitored in real time with the preset target pressure. Based on the comparison result, the control system can adjust the working state of the air compressor and control the air pressure outputted by the air compressor.
[0148] In some embodiments, a PID (proportional-integral-differential) control algorithm can be used to adjust the output of the air compressor based on the monitored pressure data and the target pressure. The PID control algorithm adjusts the control quantity (air pressure) according to the deviation (the difference between the actual pressure and the target pressure), including proportional control, integral control and differential control, thereby achieving precise pressure control.
[0149] In some embodiments, the control system can continuously monitor the actual output pressure and adjust it to form a closed-loop feedback control system. This can respond to pressure changes in a timely manner and stably control the working state of the atomizer so that the atomization volume output meets expectations and is stable.
[0150] Through the above method, the present invention can accurately control the air compressor according to actual needs and working conditions, thereby realizing accurate air compression control of the nebulizer. This control method can effectively improve the working efficiency, stability and treatment effect of the nebulizer, while reducing drug waste and cost.
[0151] See also Figure 3 , Figure 3 A schematic structural diagram of an air compression control system for an atomizer provided by the present invention.
[0152] like Figure 3 As shown, an air compression control system for an atomizer proposed in an embodiment of the present invention includes:
[0153] A flow acquisition module 301 is used to acquire the instantaneous flow at the outlet of the atomizer;
[0154] Atomization volume module 302, used to determine the total atomization volume of the atomizer within a certain period of time according to the instantaneous flow rate;
[0155] A model building module 303 is used to determine the real-time pressure of the atomizer as the pressure changes with time, and to build an atomization amount-pressure model of the mapping relationship between the atomization amount of the atomizer and the real-time pressure;
[0156] A target pressure module 304 is used to process the target atomization amount of the atomizer according to an atomization amount-pressure model to determine a corresponding target pressure;
[0157] The actual output pressure module 305 is used to process the real-time pressure and the target pressure according to the target PID control algorithm to determine the actual output pressure of the air compressor of the atomizer;
[0158] The compression control module 306 is used to control the air compressor of the atomizer according to the actual output pressure to achieve precise air compression control of the atomizer.
[0159] See also Figure 4 , Figure 4 Schematic diagram of an electronic device provided by an embodiment of the present invention. Figure 4 As shown, an embodiment of the present invention provides an electronic device 400, including a memory 410, a processor 420, and a computer program 411 stored in the memory 410 and executable on the processor 420. When the processor 420 executes the computer program 411, the following steps are implemented:
[0160] Obtain the instantaneous flow rate at the outlet of the atomizer;
[0161] Determining the total atomization volume of the atomizer within a certain period of time according to the instantaneous flow rate;
[0162] Determine the real-time pressure of the atomizer as the pressure changes over time, and construct an atomization amount-pressure model of the mapping relationship between the atomization amount of the atomizer and the real-time pressure;
[0163] Processing the target atomization volume of the atomizer according to an atomization volume-pressure model to determine the corresponding target pressure;
[0164] Processing the real-time pressure and the target pressure according to a target PID control algorithm to determine an actual output pressure of the air compressor of the atomizer;
[0165] The air compressor of the atomizer is controlled according to the actual output pressure to achieve precise air compression control of the atomizer.
[0166] See also Figure 5 , Figure 5 A schematic diagram of an embodiment of a computer-readable storage medium provided in an embodiment of the present invention. Figure 5 As shown, this embodiment provides a computer-readable storage medium 500, on which a computer program 411 is stored. When the computer program 411 is executed by a processor, the following steps are implemented:
[0167] Obtain the instantaneous flow rate at the outlet of the atomizer;
[0168] Determining the total atomization volume of the atomizer within a certain period of time according to the instantaneous flow rate;
[0169] Determine the real-time pressure of the atomizer as the pressure changes over time, and construct an atomization amount-pressure model of the mapping relationship between the atomization amount of the atomizer and the real-time pressure;
[0170] Processing the target atomization volume of the atomizer according to an atomization volume-pressure model to determine the corresponding target pressure;
[0171] Processing the real-time pressure and the target pressure according to a target PID control algorithm to determine an actual output pressure of the air compressor of the atomizer;
[0172] The air compressor of the atomizer is controlled according to the actual output pressure to achieve precise air compression control of the atomizer.
[0173] It should be noted that in the above embodiments, the description of each embodiment has its own emphasis, and for parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0174] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0175] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded computer, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A system that specifies the functions of a box or multiple boxes.
[0176] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory produce a product including an instruction system, which is implemented in the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0177] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0178] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.
[0179] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. An air compression control method for an atomizer, characterized in that: The method comprises: Obtain the instantaneous flow rate at the outlet of the atomizer; Determining the total atomization volume of the atomizer within a certain period of time according to the instantaneous flow rate; Determine the real-time pressure of the atomizer pressure changing with time, and construct an atomization amount-pressure model of the mapping relationship between the atomization amount of the atomizer and the real-time pressure; the atomization amount-pressure model is expressed as: ; Wherein, Q is the atomization amount, P is the pressure variable, a and c are the first coefficient and the second coefficient respectively, and b and d are the third parameter and the fourth parameter respectively; Processing the target atomization volume of the atomizer according to an atomization volume-pressure model to determine the corresponding target pressure; Processing the real-time pressure and the target pressure according to a target PID control algorithm to determine an actual output pressure of the air compressor of the atomizer; The air compressor of the atomizer is controlled according to the actual output pressure to achieve precise air compression control of the atomizer.
2. The air compression control method of the atomizer according to claim 1, characterized in that: Determining the total atomization volume of the atomizer within a certain period of time according to the instantaneous flow rate includes: Acquire a first parameter for simulating the effect of additional periodic fluctuations or noise generated by the atomizer on the atomization amount; Acquire a second parameter for controlling the frequency of the periodic fluctuation or the noise; The total atomization volume of the atomizer within a certain period of time is determined based on the first parameter, the second parameter and the instantaneous flow rate.
3. The air compression control method of the atomizer according to claim 2, characterized in that: The total atomization amount of the atomizer within a certain period of time is expressed as: ; Among them, Q(t) is the total atomization amount in a period of time, is the instantaneous flow at the outlet measured by the flow sensor, is the first parameter, is the second parameter and t is the time variable.
4. The air compression control method of the atomizer according to claim 3, characterized in that: Determining the real-time pressure of the atomizer as the pressure changes over time includes: Acquiring frequency spectrum characteristics of the pressure signal of the atomizer; Based on the frequency spectrum characteristics of the pressure signal, determining the corresponding amplitude, angular frequency, phase angle and time variable; constructing a plurality of sinusoidal wave components of the pressure of the atomizer based on the amplitude, the angular frequency, the phase angle, and the time variable; Based on the plurality of the sinusoidal components of the pressure of the atomizer, an actual pressure of the atomizer is determined.
5. The air compression control method of the atomizer according to claim 4, characterized in that: The actual pressure is expressed as: ; in, is the actual pressure, is the amplitude, is the angular frequency, is the phase angle and t is the time variable.
6. The air compression control method of the atomizer according to claim 5, characterized in that: The atomization amount-pressure model for constructing a mapping relationship between the atomization amount of the atomizer and the real-time pressure includes: Construct an exponential function of atomization volume and pressure; Obtaining a third parameter and a fourth parameter for controlling an exponential decay rate; Obtaining a first coefficient and a second coefficient for controlling the influence of the exponential function on the atomization amount; The exponential function is processed based on the first coefficient, the second coefficient, the third parameter and the fourth parameter to obtain the atomization amount-pressure model.
7. The air compression control method of the atomizer according to claim 6, characterized in that: Before the real-time pressure and the target pressure are processed according to the target PID control algorithm to determine the actual output pressure of the air compressor of the atomizer, the method includes: Acquire a first difference between the target pressure and the actual pressure; Obtaining a fifth parameter, a sixth parameter and a seventh parameter of the PID controller; the fifth parameter, the sixth parameter and the seventh parameter respectively represent a coefficient of a proportional controller, a coefficient of an integral controller and a coefficient of a differential controller; The target PID control algorithm is obtained based on the fifth parameter, the sixth parameter, the seventh parameter and the first difference.
8. The air compression control method of the atomizer according to claim 7, characterized in that: The actual output pressure of the air compressor of the atomizer is expressed as: ; in, is the actual output pressure, is the target pressure, is the actual pressure, , , They are the fifth, sixth and seventh parameters of the PID controller respectively.
9. An air compression control system for an atomizer, characterized in that: The system comprises: A flow acquisition module, used to acquire the instantaneous flow at the outlet of the atomizer; An atomization volume module, used to determine the total atomization volume of the atomizer within a certain period of time according to the instantaneous flow rate; The model building module is used to determine the real-time pressure of the atomizer pressure changing with time, and to build an atomization amount-pressure model of the mapping relationship between the atomization amount of the atomizer and the real-time pressure; the atomization amount-pressure model is expressed as: ; Wherein, Q is the atomization amount, P is the pressure variable, a and c are the first coefficient and the second coefficient respectively, and b and d are the third parameter and the fourth parameter respectively; A target pressure module, used to process the target atomization amount of the atomizer according to an atomization amount-pressure model to determine a corresponding target pressure; An actual output pressure module, used to process the real-time pressure and the target pressure according to a target PID control algorithm to determine the actual output pressure of the air compressor of the atomizer; The compression control module is used to control the air compressor of the atomizer according to the actual output pressure, so as to achieve precise air compression control of the atomizer.
