Expiration detection equipment control method and device, equipment and storage medium
By using a coupled control module to adjust temperature and pressure in the breath detection device, the problem of measurement inaccuracy caused by independent temperature and pressure control is solved, achieving higher measurement accuracy and control precision.
Patent Information
- Application Number
- CN202511791102.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-01
- Publication Date
- 2026-03-06
AI Technical Summary
In existing breath testing devices, the independent control of temperature and pressure systems leads to reduced measurement accuracy due to thermal expansion and contraction of gases and pressure fluctuations caused by temperature changes.
A coupled control module is used to acquire temperature and pressure change information, calculate disturbance and control auxiliary information, and adjust temperature and pressure to reduce measurement fluctuations caused by decoupled control.
It improves the measurement accuracy of breath testing equipment, reduces measurement errors caused by temperature and pressure changes, and enhances the equipment's adaptability and control precision under complex dynamic conditions.
Smart Images

Figure CN121606283A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of equipment control technology, and in particular to a method, apparatus, device and storage medium for controlling a breath testing device. Background Technology
[0002] Breath control devices are widely used in the diagnosis and monitoring of respiratory diseases. These devices include temperature and pressure control systems, and most control them as two independent variables. However, temperature changes cause gas expansion and contraction, resulting in slight pressure fluctuations within the sealed chamber. Rapid pressure changes can lead to adiabatic compression or expansion of the gas, causing instantaneous temperature changes. Therefore, the independent control of existing temperature and pressure systems can affect the measurement accuracy of breath control devices. Summary of the Invention
[0003] In view of the above, the purpose of this application is to overcome the shortcomings of the prior art and provide a control method for a breath detection device, the breath detection device including a coupling control module, a temperature control module, and a pressure control module, the method being applied to the coupling control module, the method comprising: Acquire temperature change information from the temperature control module and pressure change information from the pressure control module; The pressure disturbance amount and pressure control auxiliary information are determined based on the temperature change information, and the pressure control module adjusts the pressure based on the pressure change information, the pressure disturbance amount and the pressure control auxiliary information. Based on the pressure change information, the temperature disturbance amount and temperature control auxiliary information are determined, and the temperature control module adjusts the temperature based on the temperature change information, the temperature disturbance amount, and the temperature control auxiliary information.
[0004] In one embodiment, the step of determining the pressure disturbance amount and pressure control auxiliary information based on the temperature change information includes: The temperature control quantity is calculated based on the temperature change information, and the pressure disturbance quantity is determined based on the temperature control quantity and the first coupling coefficient. Pressure control auxiliary information is determined based on the temperature change information and the first preset weight.
[0005] In one embodiment, the step of adjusting the pressure by the pressure control module based on the pressure change information, the pressure disturbance amount, and the pressure control auxiliary information includes: The pressure disturbance is input to the output of the pressure control module so that the pressure control module performs a first pressure adjustment operation. The pressure change information and the pressure control auxiliary information are input to the input terminal of the pressure control module, so that the pressure control module outputs an adjustment command and performs a second pressure adjustment operation based on the adjustment command.
[0006] In one embodiment, the step of determining the temperature disturbance amount and temperature control auxiliary information based on the pressure change information includes: The pressure control quantity is calculated based on the pressure change information, and the temperature disturbance quantity is determined based on the pressure control quantity and the second coupling coefficient. Temperature control auxiliary information is determined based on the temperature change information and the first preset weight.
[0007] In one embodiment, the step of adjusting the temperature by the temperature control module based on the temperature change information, the temperature disturbance amount, and the temperature control auxiliary information includes: The temperature disturbance is input to the output of the temperature control module so that the temperature control module performs a first temperature adjustment operation. The temperature change information and the temperature control auxiliary information are input to the input terminal of the temperature control module, so that the temperature control module outputs an adjustment command and performs a second temperature adjustment operation based on the adjustment command.
[0008] In one embodiment, the breath detection device control method further includes: A first temperature change is applied to the temperature control module, and the first pressure change generated by the pressure control module due to the first temperature change is recorded. The first coupling coefficient is determined based on the first temperature change and the first pressure change; A second pressure change is applied to the pressure control module, and the second temperature change caused by the second pressure change is recorded in the temperature control module. The second coupling coefficient is determined based on the second temperature change and the second pressure change.
[0009] In one embodiment, the breath detection device control method further includes: Obtain the current operating status of the breath testing device; Based on the current operating state, determine the first preset weight and the second preset weight.
[0010] This application also provides a control device for a breath testing device, the control device comprising: The acquisition module is used to acquire temperature change information from the temperature control module and pressure change information from the pressure control module. The pressure adjustment module is used to determine the pressure disturbance amount and pressure control auxiliary information based on the temperature change information, and to adjust the pressure based on the pressure change information, the pressure disturbance amount and the pressure control auxiliary information by the pressure control module. The temperature adjustment module is used to determine the temperature disturbance amount and temperature control auxiliary information based on the pressure change information, and to adjust the temperature based on the temperature change information, the temperature disturbance amount and the temperature control auxiliary information.
[0011] This application also provides a breath detection device, which includes a processor and a memory. The memory stores a computer program, and the processor executes the computer program to implement the above-described breath detection device control method.
[0012] This application also provides a computer-readable storage medium storing a computer program that, when run on a processor, executes the above-described breath detection device control method.
[0013] The embodiments of this application have the following beneficial effects: This application embodiment acquires temperature change information from the temperature control module and pressure change information from the pressure control module; determines pressure interference and pressure control auxiliary information based on the temperature change information; and adjusts the pressure through the pressure control module based on the pressure change information, pressure interference, and pressure control auxiliary information. Similarly, it determines temperature interference and temperature control auxiliary information based on the pressure change information; and adjusts the temperature through the temperature control module based on the temperature change information, temperature interference, and temperature control auxiliary information. When the breathalyzer requires temperature and pressure adjustments, independent temperature and pressure control are avoided. Instead, pressure changes are considered during temperature control, and temperature changes are considered during pressure control, reducing measurement fluctuations caused by decoupled temperature and pressure control and improving the measurement accuracy of the breathalyzer. Attached Figure Description
[0014] To more clearly illustrate the technical solutions of this application, the accompanying drawings used in the embodiments will be briefly described below. It should be understood that the following drawings only show some embodiments of this application and therefore should not be considered as a limitation on the scope of protection of this application. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0015] Figure 1 A flowchart illustrating the first embodiment of the breath testing device control method provided in this application; Figure 2 A schematic diagram of the structure of the breath testing device provided in this application; Figure 3 A flowchart illustrating a second embodiment of the breath detection device control method provided in this application; Figure 4 A schematic flowchart of the third embodiment of the breath testing device control method provided in this application; Figure 5 A schematic flowchart of the fourth embodiment of the breath testing device control method provided in this application; Figure 6 A schematic flowchart of the fifth embodiment of the breath detection device control method provided in this application; Figure 7 This is a schematic diagram of the control device for the breath testing equipment provided in this application.
[0016] The reference numerals in the attached diagram are as follows: 10-Coupled control module, 20-Temperature controller, 21-Temperature sensor, 22-Temperature regulating device, 30-Pressure controller, 31-Pressure sensor, 32-Pressure regulating device, 40-Gas sensing chamber. Detailed Implementation
[0017] The technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments.
[0018] The components of the embodiments of this application described and illustrated in the accompanying drawings can be arranged and designed in a variety of different configurations. Therefore, the following detailed description of the embodiments of this application provided in the drawings is not intended to limit the scope of the claimed application, but merely to illustrate selected embodiments of the application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without inventive effort are within the scope of protection of this application.
[0019] In the following, the terms “comprising,” “having,” and their cognates, which may be used in various embodiments of this application, are intended only to indicate a particular feature, number, step, operation, element, component, or combination thereof, and should not be construed as excluding, firstly, the presence of one or more other features, numbers, steps, operations, elements, components, or combinations thereof, or adding the possibility of one or more features, numbers, steps, operations, elements, components, or combinations thereof.
[0020] Furthermore, the terms "first," "second," and "third" are used only to distinguish descriptions and should not be interpreted as indicating or implying relative importance.
[0021] Unless otherwise specified, all terms used herein (including technical and scientific terms) shall have the same meaning as commonly understood by one of ordinary skill in the art to which the various embodiments of this application pertain. Terms (such as those defined in commonly used dictionaries) shall be interpreted as having the same meaning as in their contextual meaning in the relevant technical field and shall not be construed as having an idealized or overly formal meaning, unless clearly defined in the various embodiments of this application.
[0022] It is understood that the method of this application is applied to the coupling control module in a breath detection device. The breath detection device also includes a temperature control module and a pressure control module. The breath detection device can be an exhaled nitric oxide (FeNO) detector, an end-tidal carbon dioxide (EtCO2) monitor, an exhaled VOCs molecular analysis device, etc., and is not limited thereto. For ease of explanation, the following embodiments will be described in detail using the coupling control module as the execution subject.
[0023] The following detailed description of some embodiments of this application is provided in conjunction with the accompanying drawings. Unless otherwise specified, the following embodiments and features can be combined with each other.
[0024] Please refer to Figure 1 , Figure 1 This is a flowchart illustrating the first embodiment of the breath test device control method provided in this application, the method being applied to... Figure 2 The exhalation detection device shown includes a coupling control module 10. The device further includes a temperature control module, a pressure control module, and a gas sensing chamber 40. The coupling control module 10 is communicatively connected to both the temperature control module and the pressure control module. The temperature control module includes a temperature controller 20, a temperature sensor 21, and a temperature regulating device 22. The pressure control module includes a pressure controller 30, a pressure sensor 31, and a pressure regulating device 32. The temperature control module controls the temperature of the gas sensing chamber 40, and the pressure control module controls the pressure of the gas sensing chamber 40. The control method for the exhalation detection device includes: Step S101: Obtain the temperature change information of the temperature control module and the pressure change information of the pressure control module.
[0025] In this embodiment, the coupling control module 10 acquires temperature change information from the temperature control module and pressure change information from the pressure control module. It is understood that when the breath detection device is working, it sets a target temperature and a target pressure for the gas sensing chamber 40; the temperature sensor 21 in the temperature control module monitors the actual temperature in the gas sensing chamber 40 in real time, and the temperature controller 20 in the temperature control module calculates the temperature change information based on the target temperature and the actual temperature; the pressure sensor 31 in the pressure control module monitors the actual pressure in the gas sensing chamber 40 in real time, and the pressure controller 30 in the pressure control module calculates the pressure change information based on the target pressure and the actual pressure.
[0026] It should be noted that changes between the target temperature and the actual temperature are usually caused by changes to the set target temperature or by the patient's breathing process during use. Similarly, changes between the target pressure and the actual pressure are usually caused by changes to the set target pressure or by the patient's breathing process during use.
[0027] For example, when the temperature controller 20 issues a command to change the state of the temperature regulating device 22 to adjust the temperature, the target temperature changes. The temperature controller 20 calculates the temperature change information based on the target temperature and the actual temperature collected by the temperature sensor 21. For example, when a patient suddenly exhales forcefully, it causes the gas in the gas sensing chamber 40 to undergo adiabatic compression or expansion, resulting in a change in the actual pressure in the gas sensing chamber 40. The pressure controller 30 calculates the pressure change information based on the target pressure and the actual pressure collected by the pressure sensor 31.
[0028] Step S102: Determine the pressure disturbance amount and pressure control auxiliary information based on the temperature change information, and adjust the pressure by the pressure control module based on the pressure change information, the pressure disturbance amount and the pressure control auxiliary information.
[0029] In this embodiment, after receiving temperature change information from the temperature control module, the coupling control module 10 determines the pressure disturbance amount and pressure control auxiliary information based on the temperature change information, and then the pressure control module adjusts the pressure based on the pressure change information, the pressure disturbance amount and the pressure control auxiliary information.
[0030] In one embodiment, the pressure control module directly calculates the adjustment parameters such as the opening degree or rotation speed of the pressure regulating device based on pressure change information, pressure disturbance amount and pressure control auxiliary information, and then adjusts the pressure based on the calculated adjustment parameters.
[0031] In one embodiment, the coupling control module 10 first sends the pressure disturbance amount to the pressure control module. The pressure control module adjusts the adjustment parameters such as the opening degree or rotation speed of the pressure regulating device 32 according to the pressure disturbance amount. Based on the adjusted adjustment parameters, a first pressure adjustment is performed. Then, the coupling control module sends pressure control auxiliary information to the pressure control module. Based on the pressure change information and the pressure control auxiliary information, the pressure control module calculates the adjustment parameters such as the opening degree or rotation speed of the pressure regulating device 32. Then, based on the first pressure adjustment, a second pressure adjustment is performed according to the calculated adjustment parameters.
[0032] Step S103: Determine the temperature disturbance amount and temperature control auxiliary information based on the pressure change information, and adjust the temperature by the temperature control module based on the temperature change information, the temperature disturbance amount and the temperature control auxiliary information.
[0033] In this embodiment, after receiving the pressure change information fed back by the pressure control module, the coupling control module 10 determines the temperature disturbance amount and temperature control auxiliary information based on the pressure change information, and the temperature control module adjusts the temperature based on the temperature change information, the temperature disturbance amount and the temperature control auxiliary information.
[0034] In one embodiment, the temperature control module directly calculates the power parameters of the temperature regulating device 22 based on temperature change information, temperature disturbance amount and temperature control auxiliary information, and then adjusts the temperature based on the calculated power parameters.
[0035] In one embodiment, the coupling control module 10 first sends the temperature interference quantity to the temperature control module. The temperature control module adjusts the power parameters of the temperature regulating device 22 based on the temperature interference quantity and performs a first temperature adjustment based on the adjusted power parameters. Then, the coupling control module sends temperature control auxiliary information to the temperature control module. Based on the temperature change information and the temperature control auxiliary information, the temperature control module calculates the power parameters of the temperature regulating device 22 and then performs a second temperature adjustment based on the calculated power parameters on the basis of the first temperature adjustment.
[0036] In this embodiment, the coupling control module acquires temperature change information from the temperature control module and pressure change information from the pressure control module. Based on the temperature change information, it determines the pressure interference and pressure control auxiliary information, and the pressure control module adjusts the pressure based on these information. Similarly, based on the pressure change information, it determines the temperature interference and temperature control auxiliary information, and the temperature control module adjusts the temperature based on these information. When the breathalyzer requires temperature and pressure adjustments, independent temperature and pressure control are avoided. Instead, pressure changes are considered during temperature control, and temperature changes are considered during pressure control, reducing measurement fluctuations caused by decoupled temperature and pressure control and improving the measurement accuracy of the breathalyzer.
[0037] Please refer to Figure 3 , Figure 3 This is a flowchart illustrating a second embodiment of the breath detection device control method provided in this application. The difference between the second embodiment and the first embodiment is that the step of determining the pressure interference amount and pressure control auxiliary information based on the temperature change information includes: Step S201: Calculate the temperature control quantity based on the temperature change information, and determine the pressure disturbance quantity based on the temperature control quantity and the first coupling coefficient.
[0038] In this embodiment, the coupling control module 10 calculates the temperature control quantity based on the temperature change information, and determines the pressure disturbance quantity based on the temperature control quantity and the first coupling coefficient.
[0039] In one embodiment, the coupling control module 10 pre-sets a first coupling coefficient and a conversion logic for the temperature control module to convert temperature change information into a temperature control quantity. The temperature change information includes the deviation between the target temperature and the actual temperature. The coupling control module 10 calculates the temperature control quantity based on the conversion logic and the deviation between the target temperature and the actual temperature, and then determines the pressure disturbance quantity based on the temperature control quantity and the first coupling coefficient.
[0040] In one embodiment, the temperature control module calculates the temperature control quantity based on the deviation between the target temperature and the actual temperature, integrates the temperature control quantity into the temperature change information, and sends it to the coupling control module. The coupling control module 10 directly determines the pressure interference quantity based on the temperature control quantity and the pre-set first coupling coefficient.
[0041] In one embodiment, the formula for calculating the pressure disturbance is: FF_p = K_tp × Gain1 × U_t. Where FF_p is the pressure disturbance, K_tp is the first coupling coefficient, Gain1 is the gain coefficient, and U_t is the temperature control value. It should be noted that if U_t is positive (indicating a temperature increase), then FF_p is negative (meaning a temporary pressure decrease); if U_t is negative (indicating a temperature decrease), then FF_p is positive (meaning a temporary pressure increase).
[0042] Step S202: Determine pressure control auxiliary information based on the temperature change information and the first preset weight.
[0043] In this embodiment, the coupling control module 10 determines pressure control auxiliary information based on temperature change information and a first preset weight. In one embodiment, the coupling control module 10 pre-sets the first preset weight, and the temperature change information includes the deviation between the target temperature and the actual temperature. The coupling control module 10 multiplies the deviation between the target temperature and the actual temperature by the first preset weight to obtain the pressure control auxiliary information. The formula for calculating the pressure control auxiliary information is: P , = (Ts-Tr)×α, where, P , For pressure control auxiliary information, Ts is the target temperature, Tr is the actual temperature, and α is the first preset weight.
[0044] In one embodiment, the step of adjusting the pressure by the pressure control module based on the pressure change information, the pressure disturbance amount, and the pressure control auxiliary information includes: Step S203: Input the pressure disturbance amount to the output terminal of the pressure control module so that the pressure control module performs a first pressure adjustment operation.
[0045] In this embodiment, the coupling control module 10 inputs the pressure disturbance quantity to the output terminal of the pressure control module, so that the pressure control module performs a first pressure adjustment operation. It should be noted that the pressure disturbance quantity is the expected disturbance to the pressure caused by this temperature change, calculated by the coupling control module 10 based on the temperature control quantity generated by the temperature control module when the temperature changes and the first coupling coefficient. The coupling control module 10 generates a feedforward compensation signal based on the pressure disturbance quantity and sends it to the pressure control module in advance, so that the pressure regulating device 32 in the pressure control module performs a first pressure adjustment operation to maintain the pressure stability in the gas sensing chamber.
[0046] Understandably, by using feedforward compensation, the coupling interference of temperature changes on pressure is actively offset, avoiding the inherent lag problem of traditional feedback control, greatly suppressing the occurrence of excessive pressure fluctuations caused by temperature changes, and helping to maintain pressure stability in the gas sensing cavity.
[0047] Step S204: Input the pressure change information and the pressure control auxiliary information to the input terminal of the pressure control module, so that the pressure control module outputs an adjustment command and performs a second pressure adjustment operation based on the adjustment command.
[0048] In this embodiment, the coupling control module 10 inputs pressure change information and pressure control auxiliary information to the input terminal of the pressure control module, so that the pressure control module outputs an adjustment command and performs a second pressure adjustment operation based on the adjustment command. It can be understood that in traditional control processes, the pressure control module outputs an adjustment command based on the pressure change information to adjust the pressure. However, in this solution, the pressure control module needs to output an adjustment command for the pressure regulating device 32 based on the pressure change information and the pressure control auxiliary information, so that the pressure regulating device 32 adjusts the pressure based on the adjustment command. The pressure control auxiliary information is determined based on the deviation between the target temperature and the actual temperature. That is, the pressure control module outputs an adjustment command that considers both pressure and temperature changes, greatly improving the adaptability and control accuracy of the breath detection device under complex dynamic conditions.
[0049] In this embodiment, the coupling control module actively counteracts the coupling interference of temperature changes on pressure through the first pressure adjustment operation, avoiding the inherent lag problem of traditional feedback control and greatly suppressing the occurrence of excessive pressure fluctuations caused by temperature changes, which is conducive to maintaining pressure stability in the gas sensing chamber. At the same time, through the second pressure adjustment operation, the pressure control module can control the pressure to recover to a steady state more quickly when the exhalation detection device faces sudden temperature changes, shortening the time to enter the effective measurement window and improving testing efficiency.
[0050] Please refer to Figure 4 , Figure 4 This is a flowchart illustrating a third embodiment of the breath detection device control method provided in this application. The difference between the third embodiment and the first to second embodiments is that the step of determining the temperature interference amount and temperature control auxiliary information based on the pressure change information includes: Step S301: Calculate the pressure control quantity based on the pressure change information, and determine the temperature interference quantity based on the pressure control quantity and the second coupling coefficient.
[0051] In this embodiment, the coupling control module 10 calculates the pressure control quantity based on the pressure change information, and determines the temperature interference quantity based on the pressure control quantity and the second coupling coefficient.
[0052] In one embodiment, the coupling control module 10 pre-sets a second coupling coefficient and a conversion logic for the pressure control module to convert pressure change information into a pressure control quantity. The pressure change information includes the deviation between the target pressure and the actual pressure. The coupling control module 10 calculates the pressure control quantity based on the conversion logic and the deviation between the target pressure and the actual pressure, and then determines the temperature disturbance quantity based on the pressure control quantity and the second coupling coefficient.
[0053] In one embodiment, the pressure control module calculates the pressure control quantity based on the deviation between the target pressure and the actual pressure, integrates the pressure control quantity into the pressure change information, and sends it to the coupling control module 10. The coupling control module 10 directly determines the temperature interference quantity based on the pressure control quantity and the pre-set second coupling coefficient.
[0054] In one embodiment, the formula for calculating the temperature disturbance is: FF_t = K_pt × Gain2 × U_p. Where FF_t is the temperature disturbance, K_pt is the second coupling coefficient, Gain2 is the gain coefficient, and U_p is the pressure control value. It should be noted that if U_p is positive (indicating a pressure increase), then FF_t is negative (meaning a temporary temperature decrease); if U_p is negative (indicating a pressure decrease), then FF_t is positive (meaning a temporary temperature increase).
[0055] Step S302: Determine temperature control auxiliary information based on the pressure change information and the second preset weight.
[0056] In this embodiment, the coupling control module 10 determines temperature control auxiliary information based on pressure change information and a second preset weight. In one embodiment, the coupling control module 10 pre-sets the second preset weight, and the pressure change information includes the deviation between the target pressure and the actual pressure. The coupling control module 10 multiplies the deviation between the target pressure and the actual pressure by the second preset weight to obtain the temperature control auxiliary information. The formula for calculating the temperature control auxiliary information is: T , = (Ps-Pr)×β, where T , For temperature control auxiliary information, Ps is the target temperature, Pr is the actual temperature, and β is the first preset weight.
[0057] In one embodiment, the step of adjusting the temperature by the temperature control module based on the temperature change information, the temperature disturbance amount, and the temperature control auxiliary information includes: Step S303: Input the temperature disturbance quantity to the output terminal of the temperature control module so that the temperature control module performs a first temperature adjustment operation.
[0058] In this embodiment, the coupling control module 10 inputs the temperature disturbance quantity to the output terminal of the temperature control module, so that the temperature control module performs a first temperature adjustment operation. It should be noted that the temperature disturbance quantity is the expected disturbance to temperature caused by this pressure change, calculated by the coupling control module 10 based on the pressure control quantity generated by the pressure control module during pressure changes and the second coupling coefficient. The coupling control module 10 generates a feedforward compensation signal based on the temperature disturbance quantity and sends it to the temperature control module in advance, causing the temperature adjustment device 22 in the temperature control module to perform the first temperature adjustment operation to maintain temperature stability in the gas sensing cavity.
[0059] Understandably, by using feedforward compensation, the coupling interference of pressure changes on temperature is actively offset, avoiding the inherent lag problem of traditional feedback control, greatly suppressing the occurrence of excessive temperature fluctuations caused by pressure changes, and helping to maintain temperature stability in the gas sensing cavity.
[0060] Step S304: Input the temperature change information and the temperature control auxiliary information to the input terminal of the temperature control module so that the temperature control module outputs an adjustment command and performs a second temperature adjustment operation based on the adjustment command.
[0061] In this embodiment, the coupling control module 10 inputs temperature change information and temperature control auxiliary information to the input terminal of the pressure control module, so that the temperature control module outputs an adjustment command and performs a second temperature adjustment operation based on the adjustment command. It can be understood that in traditional control processes, the temperature control module outputs an adjustment command based on the temperature change information to adjust the temperature. However, in this solution, the temperature control module needs to output an adjustment command for the temperature regulating device 22 based on the temperature change information and the temperature control auxiliary information, so that the temperature regulating device 22 performs temperature adjustment. The temperature control auxiliary information is determined based on the deviation between the target pressure and the actual pressure. That is, the temperature control module outputs an adjustment command that considers both pressure and temperature changes, greatly improving the adaptability and control accuracy of the breath detection device under complex dynamic conditions.
[0062] In this embodiment, the coupling control module actively counteracts the coupling interference of pressure changes on temperature through the first temperature adjustment operation, avoiding the inherent lag problem of traditional feedback control and greatly suppressing the occurrence of excessive temperature fluctuations caused by pressure changes, which is conducive to maintaining temperature stability in the gas sensing chamber. At the same time, through the second pressure adjustment operation, the temperature control module can more quickly control the temperature to recover to a steady state when the breath detection device faces sudden pressure changes, shortening the time to enter the effective measurement window and improving testing efficiency.
[0063] Please refer to Figure 5 , Figure 5This is a flowchart illustrating the fourth embodiment of the breath testing device control method provided in this application. The difference between the fourth embodiment and the first to third embodiments is that the breath testing device control method further includes: Step S401: Apply a first temperature change to the temperature control module and record the first pressure change generated by the pressure control module due to the first temperature change.
[0064] Step S402: Determine the first coupling coefficient based on the first temperature change and the first pressure change.
[0065] Step S403: Apply a second pressure change to the pressure control module and record the second temperature change generated by the temperature control module due to the second pressure change.
[0066] Step S404: Determine the second coupling coefficient based on the second temperature change and the second pressure change.
[0067] In this embodiment, during the initialization or calibration phase of the breath detection device, it is necessary to model the coupling relationship between temperature and pressure. A first temperature change is applied to the temperature control module. Since the temperature change leads to a pressure change, the first pressure change in the pressure control module caused by the first temperature change is recorded. Based on the first temperature change and the first pressure change, a first coupling coefficient is determined. Similarly, a second pressure change is applied to the pressure control module. Since the pressure change leads to a temperature change, the second temperature change in the temperature control module caused by the second pressure change is recorded. Based on the second temperature change and the second pressure change, a second coupling coefficient is determined.
[0068] For example, a first temperature change of ΔT1 is applied to the temperature control module, and a first pressure change of ΔP1 is generated in the pressure control module due to the first temperature change. The first coupling coefficient of temperature to pressure is calculated as K_tp = ΔP1 / ΔT1. A second pressure change of ΔP2 is applied to the pressure control module, and a second temperature change of ΔT2 is generated in the temperature control module due to the second pressure change. The second coupling coefficient of pressure to temperature is calculated as K_pt = ΔT2 / ΔP2.
[0069] In this embodiment, during the initialization or calibration phase of the breath detection device, a first coupling coefficient is determined based on the first temperature change applied to the temperature control module and the first pressure change generated by the pressure control module due to the first temperature change. A second coupling coefficient is determined based on the second pressure change applied to the pressure control module and the second temperature change generated by the temperature control module due to the second pressure change. This establishes the coupling relationship between temperature and pressure, facilitating subsequent feedforward compensation for pressure when the temperature changes and feedforward compensation for temperature when the pressure changes, which helps maintain the stability of temperature and pressure in the gas sensing chamber.
[0070] Please refer to Figure 6 , Figure 6 This is a flowchart illustrating the fifth embodiment of the breath testing device control method provided in this application. The difference between the fifth embodiment and the first to fourth embodiments is that the breath testing device control method further includes: Step S501: Obtain the current operating status of the breath detection device.
[0071] Step S502: Determine the first preset weight and the second preset weight based on the current operating state.
[0072] In this embodiment, the coupling control module 10 obtains the current operating status of the breath detection device and determines the first preset weight and the second preset weight based on the current operating status.
[0073] In one embodiment, the current operating state mainly includes the following states: first coupling coefficient, second coupling coefficient, temperature deviation and pressure deviation, temperature deviation change rate and pressure deviation change rate, ambient temperature and humidity, and equipment usage time.
[0074] Before calculating temperature control auxiliary information and pressure control auxiliary information, the coupling control module 10 of this embodiment needs to determine a first preset weight and a second preset weight based on the current operating state of the exhalation detection device, so as to improve the accuracy of the first preset weight and the second preset weight, thereby helping to improve the accuracy of the exhalation detection device in controlling temperature and pressure.
[0075] refer to Figure 7 , Figure 7 This is a schematic diagram of the structure of the breath test device control device provided in this application. The breath test device control device includes: The acquisition module 101 is used to acquire the temperature change information of the temperature control module and the pressure change information of the pressure control module.
[0076] The pressure adjustment module 102 is used to determine the pressure disturbance amount and pressure control auxiliary information based on the temperature change information, and to adjust the pressure based on the pressure change information, the pressure disturbance amount and the pressure control auxiliary information by the pressure control module.
[0077] The temperature adjustment module 103 is used to determine the temperature disturbance amount and temperature control auxiliary information based on the pressure change information, and to adjust the temperature based on the temperature change information, the temperature disturbance amount and the temperature control auxiliary information by the temperature control module.
[0078] It is understood that the breath detection device control device in this embodiment corresponds to the breath detection device control method in the above embodiment, and the options in the above embodiment are also applicable to this embodiment, so they will not be described again here.
[0079] This application also provides a computer device, exemplary of which includes a processor and a memory, wherein the memory stores a computer program, and the processor executes the computer device to perform the above-described breath detection device control method by running the computer program.
[0080] The processor can be an integrated circuit chip with signal processing capabilities. The processor can be a general-purpose processor, including at least one of a Central Processing Unit (CPU), Graphics Processing Unit (GPU), Network Processor (NP), Digital Signal Processor (DSP), Application-Specific Integrated Circuit (ASIC), Field-Programmable Gate Array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. The general-purpose processor can be a microprocessor or any conventional processor, capable of implementing or executing the methods, steps, and logic block diagrams disclosed in the embodiments of this application.
[0081] The memory can be, but is not limited to, Random Access Memory (RAM), Read Only Memory (ROM), Programmable Read-Only Memory (PROM), Erasable Programmable Read-Only Memory (EPROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), etc. The memory is used to store computer programs, and the processor can execute the computer programs accordingly after receiving execution instructions.
[0082] This application also provides a computer storage medium for storing the computer program used in the aforementioned computer device. The computer storage medium can be a readable storage medium, a non-volatile storage medium, or a volatile storage medium. For example, the computer storage medium may include, but is not limited to, various media capable of storing program code, such as a USB flash drive, a portable hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0083] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can also be implemented in other ways. The apparatus embodiments described above are merely illustrative. For example, the flowcharts and block diagrams in the accompanying drawings show the architecture, functionality, and operation of possible implementations of apparatus, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that, in alternative implementations, the functions marked in the blocks may occur in a different order than those marked in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagram and / or flowchart, and combinations of blocks in the block diagram and / or flowchart, can be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.
[0084] In addition, the functional modules or units in the various embodiments of this application can be integrated together to form an independent part, or each module can exist independently, or two or more modules can be integrated to form an independent part.
[0085] If the aforementioned functions are implemented as software functional modules and sold or used as independent products, they can be stored in a readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a smartphone, personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application.
[0086] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any changes or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application.
Claims
1. A breath detection apparatus control method characterized by comprising: The expiration detection device includes a coupling control module, a temperature control module and a pressure control module, and the method is applied to the coupling control module and includes: Obtain temperature change information of the temperature control module and pressure change information of the pressure control module; Determine a pressure interference quantity and pressure control auxiliary information according to the temperature change information, and perform pressure adjustment on the pressure control module based on the pressure change information, the pressure interference quantity and the pressure control auxiliary information; Determine a temperature interference quantity and temperature control auxiliary information according to the pressure change information, and perform temperature adjustment on the temperature control module based on the temperature change information, the temperature interference quantity and the temperature control auxiliary information.
2. The breath test apparatus control method according to claim 1, characterized by, The step of determining a pressure interference quantity and pressure control auxiliary information according to the temperature change information includes: Calculate a temperature control quantity according to the temperature change information, and determine a pressure interference quantity according to the temperature control quantity and a first coupling coefficient; Determine pressure control auxiliary information according to the temperature change information and a first preset weight.
3. The breath test apparatus control method according to claim 1, wherein The step of performing pressure adjustment on the pressure control module based on the pressure change information, the pressure interference quantity and the pressure control auxiliary information includes: Input the pressure interference quantity to the output end of the pressure control module to make the pressure control module perform a first pressure adjustment operation; Input the pressure change information and the pressure control auxiliary information to the input end of the pressure control module to make the pressure control module output an adjustment instruction and perform a second pressure adjustment operation based on the adjustment instruction.
4. The breath test apparatus control method according to claim 1, wherein The step of determining a temperature interference quantity and temperature control auxiliary information according to the pressure change information includes: Calculate a pressure control quantity according to the pressure change information, and determine a temperature interference quantity according to the pressure control quantity and a second coupling coefficient; Determine temperature control auxiliary information according to the pressure change information and a second preset weight.
5. The breath test apparatus control method according to claim 1, wherein The step of performing temperature adjustment on the temperature control module based on the temperature change information, the temperature interference quantity and the temperature control auxiliary information includes: Input the temperature interference quantity to the output end of the temperature control module to make the temperature control module perform a first temperature adjustment operation; Input the temperature change information and the temperature control auxiliary information to the input end of the temperature control module to make the temperature control module output an adjustment instruction and perform a second temperature adjustment operation based on the adjustment instruction.
6. A breath test apparatus control method according to any one of claims 2 or 4, wherein, The method further includes: Apply a first temperature change quantity to the temperature control module, and record a first pressure change quantity of the pressure control module caused by the first temperature change quantity; Determine a first coupling coefficient according to the first temperature change quantity and the first pressure change quantity; Apply a second pressure change quantity to the pressure control module, and record a second temperature change quantity of the temperature control module caused by the second pressure change quantity; Determine a second coupling coefficient according to the second temperature change quantity and the second pressure change quantity.
7. A breath test apparatus control method according to any one of claims 2 or 4, wherein, The method further includes: Obtain a current running state of the expiration detection device; According to the current operating state, a first preset weight and a second preset weight are determined.
8. A breath test apparatus control device, characterised in that, The exhalation detection device control apparatus includes: An acquisition module configured to acquire temperature change information of a temperature control module and pressure change information of a pressure control module; A pressure adjustment module configured to determine a pressure disturbance and pressure control auxiliary information according to the temperature change information, and to perform pressure adjustment by the pressure control module based on the pressure change information, the pressure disturbance, and the pressure control auxiliary information; A temperature adjustment module configured to determine a temperature disturbance and temperature control auxiliary information according to the pressure change information, and to perform temperature adjustment by the temperature control module based on the temperature change information, the temperature disturbance, and the temperature control auxiliary information.
9. A breath test apparatus characterised in that, The exhalation detection device includes a processor and a memory, the memory stores a computer program, and the processor is configured to execute the computer program to implement the exhalation detection device control method of any one of claims 1-7.
10. A computer-readable storage medium, characterized in that, The computer readable storage medium stores a computer program, and the computer program executes the exhalation detection device control method of any one of claims 1-7 when running on a processor.