Method, system, electronic device and storage medium for calibrating anesthetic gas concentration
By constructing and calibrating an anesthetic gas concentration model, the offset problem of gas concentration measuring instruments was solved, high-precision and stable gas concentration measurement was achieved, adapting to different gas types and simplifying the operating process.
Patent Information
- Application Number
- CN202410255442.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-06
- Publication Date
- 2025-09-26
- Estimated Expiration
- 2044-03-06
AI Technical Summary
Existing anesthetic gas concentration measuring instruments have output concentration offsets due to the mutual influence of gas concentrations and environmental changes, making them difficult to calibrate accurately.
By constructing a curve model of the first standard gas and calibrating it using the concentration and absorbance values of the second standard gas, the concentration value of the gas to be measured is obtained. The user is allowed to input gas type data to match the target curve model. Taking into account differences in gas characteristics and environmental interference, the relationship between absorbance and concentration is fitted using the least squares method.
It improves the accuracy and stability of anesthetic gas concentration measurement, simplifies the calibration process, reduces measurement errors, adapts to the concentration measurement of different types of gases, and improves user-friendliness and the reliability of the calibration platform.
Smart Images

Figure CN118130403B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of concentration calibration, and in particular to a method, system, electronic device and storage medium for calibrating anesthetic gas concentration. Background Art
[0002] With the progress of society and the development of science and technology, rapid and accurate detection of gas concentration has become an indispensable key technology in environmental monitoring, safe production, industrial processes and medical fields.
[0003] Currently, due to the mutual influence of the concentrations of different types of gases, changes in the internal environment (such as structure and component aging or replacement), and changes in the external environment (such as temperature and altitude), the output concentration of anesthetic gas concentration measuring instruments may be offset.
[0004] Therefore, a method for calibrating anesthetic gas concentration is needed. Summary of the Invention
[0005] The present application provides a method, system, electronic device and storage medium for calibrating anesthetic gas concentration, which have the effect of calibrating other gases and instruments through a first curve model of one gas.
[0006] In a first aspect of the present application, a method for calibrating anesthetic gas concentration is provided, which is applied to an anesthetic gas concentration calibration platform. The method comprises:
[0007] Determine a reference gas set, and construct a first curve model of a first standard gas based on a relationship between absorbance and concentration of the first standard gas, where the first standard gas is one of the gases in the reference gas set;
[0008] Obtaining a first concentration value and a first absorbance value of a second standard gas, where the first concentration value is a known value, calculating a second concentration value of the second standard gas based on the first absorbance value and the first curve model, calculating a first deviation coefficient of the second standard gas based on the first concentration value and the second concentration value, and calibrating the first curve model based on the first deviation coefficient to obtain a second curve model corresponding to the second standard gas, where the second standard gas is any gas in the reference gas set other than the first standard gas;
[0009] Acquire a second absorbance value of the gas to be measured, obtain type data of the gas to be measured input by a user, match a target curve model according to the type data, and determine a concentration value of the gas to be measured according to the second absorbance value and the target curve model.
[0010] By adopting the above technical solution, a first curve model is constructed and calibrated using the first concentration value and the first absorbance value of the second standard gas to obtain a second curve model. The characteristic differences between different gases are taken into account, so that the calibration results are more accurate and the accuracy of anesthetic gas concentration measurement is improved. By matching the target curve model to determine the concentration value of the gas to be measured, the calibration platform can adapt to the concentration measurement of different types of gases. This flexibility and versatility make this method more practical in actual applications. By calculating the first deviation coefficient and calibrating the first curve model, the measurement error caused by factors such as equipment error and environmental interference can be reduced, thereby improving the stability and reliability of the calibration platform. The user is allowed to input the type data of the gas to be measured, so that the appropriate curve model can be selected for calculation according to different gas types. This user-friendly design makes the calibration process more convenient and efficient.
[0011] Optionally, constructing a first curve model of the first standard gas according to the relationship between the absorbance and concentration of the first standard gas includes:
[0012] Obtain multiple relationship groups of the first standard gas, establish a rectangular coordinate system with the absorbance value of the first standard gas as the horizontal coordinate and the concentration value of the first standard gas as the vertical coordinate, and fit the multiple relationship groups through the least squares method to obtain the first curve model, where the relationship group is a corresponding relationship group between the absorbance value and the concentration value.
[0013] By adopting the above technical solution, multiple relationship groups (i.e., corresponding relationship groups between absorbance values and concentration values) for the first standard gas are obtained and fitted using the least squares method. This allows a more accurate mathematical model to be constructed to describe the relationship between the absorbance and concentration of the first standard gas. The curve obtained by the least squares fitting method is generally smoother, avoiding curve fluctuations caused by data noise or outliers. This is crucial for subsequent gas concentration calibration because it ensures the continuity and stability of the calibration curve across different concentration ranges. Through the least squares fitting method, a clear mathematical expression can be obtained to describe the relationship between absorbance and concentration, which greatly simplifies the subsequent calculation process. During the calibration process, simply substitute the absorbance value of the gas to be measured into this mathematical expression to quickly calculate the corresponding concentration value.
[0014] Optionally, the acquiring a first concentration value and a first absorbance value of the second standard gas, and calculating the second concentration value of the second standard gas according to the first absorbance value and the first curve model includes:
[0015] Controlling the anesthetic gas concentration calibration platform so that a first sealed box enters the optical path to obtain a first standard absorbance value, and controlling the anesthetic gas concentration calibration platform so that a second sealed box enters the optical path to obtain the first absorbance value, wherein the first sealed box contains air and the second sealed box contains the second standard gas;
[0016] A first actual absorbance value of the second standard gas is calculated according to the first absorbance value and the first standard absorbance value, and a second concentration value corresponding to the first actual absorbance value in the first curve model is calculated.
[0017] By employing the above technical solution, the anesthetic gas concentration calibration platform is controlled so that the first sealed box (containing air) and the second sealed box (containing the second standard gas) sequentially enter the optical path. The first standard absorbance value and the first absorbance value of the second standard gas are obtained, respectively. This measurement method ensures the accuracy of the absorbance values, providing a reliable data foundation for subsequent concentration calculations. The first actual absorbance value of the second standard gas can be calculated based on the first and first standard absorbance values. The corresponding second concentration value can be directly obtained based on the first curve model and the first actual absorbance value. This method is fast and direct, reducing complexity and errors in the calculation process. By automating the control of the anesthetic gas concentration calibration platform, the sealed boxes can be automatically introduced into the optical path for measurement, significantly improving calibration efficiency. This automated control not only reduces the complexity of manual operations but also reduces the possibility of human error.
[0018] Optionally, the acquiring a first concentration value and a first absorbance value of the second standard gas, and calculating the second concentration value of the second standard gas according to the first absorbance value and the first curve model includes:
[0019] controlling the anesthetic gas concentration calibration platform so that a first sealed box enters an optical path to obtain a first standard absorbance value, controlling the anesthetic gas concentration calibration platform so that no sealed box is in the optical path to obtain a second standard absorbance value, and controlling the anesthetic gas concentration calibration platform so that a second sealed box enters the optical path to obtain the first absorbance value, wherein the first sealed box contains air and the second sealed box contains the second standard gas;
[0020] Calculate a first difference between the first standard absorbance value and the second standard absorbance value, and calculate a second difference between the first absorbance value and the second standard absorbance value. Calculate a first actual absorbance value of the second standard gas based on the first difference and the second difference, and calculate a second concentration value corresponding to the first actual absorbance value in the first curve model.
[0021] By adopting the above technical solution and introducing a second standard absorbance value (i.e., the absorbance value when there is no sealed box in the optical path), the performance of the optical path itself and any potential background interference can be more accurately reflected. The influence of the optical path's own absorbance can be eliminated, thereby obtaining a more accurate actual absorbance value of the second standard gas. By calculating the first difference and the second difference, the first actual absorbance value of the second standard gas can be more accurately determined. This method not only considers the absorbance of the second standard gas itself but also the performance variations of the optical path itself, thereby improving the accuracy of the calibration curve. Since the performance of the optical path can be affected by environmental conditions (such as temperature and humidity), the introduction of a second standard absorbance value allows calibration and adaptation to changes in these conditions. This helps ensure that the calibration platform can provide accurate concentration measurements under different conditions.
[0022] Optionally, obtaining a second absorbance value of the gas to be measured, obtaining type data of the gas to be measured input by a user, matching a target curve model according to the type data, and determining a concentration value of the gas to be measured according to the second absorbance value and the target curve model includes:
[0023] irradiating a sample pool including the gas to be measured through an optical path of the anesthetic gas concentration calibration platform to obtain a second absorbance value of the gas to be measured;
[0024] Determining a target category according to the category data, and matching a corresponding target curve model according to the target category;
[0025] Calculate the concentration value corresponding to the second absorbance value in the target curve model.
[0026] By adopting the above technical solution and using the optical path of the anesthetic gas concentration calibration platform to illuminate the gas sample pool to be tested, the second absorbance value of the gas to be tested can be accurately obtained. This value directly reflects the light absorption of the gas to be tested at a specific wavelength and is an important basis for determining the gas concentration. The calibration platform allows the user to input the type data of the gas to be tested, which means that the calibration platform can adapt to a variety of different gas types. By matching the target type, the corresponding target curve model can be selected to ensure the accuracy of the concentration calculation. The user only needs to enter the type data of the gas to be tested, and the calibration platform can automatically match the corresponding curve model and calculate the concentration value. This automated processing method simplifies the operation process, reduces the user's operating difficulty, and improves work efficiency.
[0027] Optionally, the method further includes:
[0028] When the filter of the anesthetic gas concentration calibration platform is replaced, the third concentration value and the third absorbance value of the first standard gas are obtained, the third concentration value is a known value, the fourth concentration value of the first standard gas is calculated according to the third absorbance value and the first curve model, the second deviation coefficient of the first standard gas is calculated according to the third concentration value and the fourth concentration value, and the first curve model is calibrated according to the second deviation coefficient to obtain the third curve model corresponding to the first standard gas.
[0029] By adopting the above technical solution, when the filter of the anesthetic gas concentration calibration platform is replaced, the transmittance of the filter to light may change, which will affect the measurement of the absorbance value. Therefore, by re-obtaining the third concentration value and the third absorbance value of the first standard gas and calculating the fourth concentration value accordingly, the error that may be introduced after the filter is replaced can be discovered in time. The second deviation coefficient calculated based on the third concentration value and the fourth concentration value can reflect the change in the optical path performance after the filter is replaced. By calibrating the first curve model based on this deviation coefficient, a third curve model that is more suitable for the new filter can be obtained. In this way, the calibration platform can maintain accuracy under the new filter conditions. By timely updating the calibration curve model, the continuity of the calibration process is ensured, and calibration interruptions or errors caused by filter replacement are avoided.
[0030] Optionally, obtaining a third concentration value and a third absorbance value of the first standard gas includes:
[0031] Controlling the anesthetic gas concentration calibration platform so that a first sealed box enters the optical path to obtain a third standard absorbance value, and controlling the anesthetic gas concentration calibration platform so that a third sealed box enters the optical path to obtain a third absorbance value, wherein the first sealed box contains air and the third sealed box contains the first standard gas;
[0032] A third actual absorbance value of the first standard gas is calculated based on the third absorbance value and the third standard absorbance value, and a fourth concentration value of the first standard gas is calculated based on the third actual absorbance value and the first curve model.
[0033] By employing the above technical solution, the anesthetic gas concentration calibration platform is controlled so that the first sealed box (containing air) and the third sealed box (containing the first standard gas) sequentially enter the optical path, acquiring the third standard absorbance value and the third absorbance value, respectively. This measurement method ensures the accuracy of the absorbance values and provides a reliable data basis for calculating the third actual absorbance value of the first standard gas. Using the first sealed box (containing air) as a reference eliminates the influence of the optical path itself and environmental factors (such as light source fluctuations and temperature changes) on the absorbance value. This allows the third absorbance value to more accurately reflect the absorbance characteristics of the first standard gas, thereby improving the accuracy of concentration measurements. By automating the control of the anesthetic gas concentration calibration platform, the sealed boxes are automatically introduced into the optical path for measurement, streamlining the operation process and reducing the complexity and potential errors of manual operation.
[0034] In a second aspect of the present application, a system for calibrating anesthetic gas concentration is provided, characterized in that it includes a curve module, a calibration module, and an execution module, wherein:
[0035] a curve module configured to determine a reference gas set and construct a first curve model of a first standard gas according to a relationship between absorbance and concentration of the first standard gas, wherein the first standard gas is a gas in the reference gas set;
[0036] a calibration module configured to obtain a first concentration value and a first absorbance value of a second standard gas, where the first concentration value is a known value, calculate a second concentration value of the second standard gas based on the first absorbance value and the first curve model, calculate a first deviation coefficient of the second standard gas based on the first concentration value and the second concentration value, and calibrate the first curve model based on the first deviation coefficient to obtain a second curve model corresponding to the second standard gas, where the second standard gas is any gas in the reference gas set other than the first standard gas;
[0037] The execution module is configured to obtain a second absorbance value of the gas to be measured, obtain type data of the gas to be measured input by a user, match a target curve model according to the type data, and determine a concentration value of the gas to be measured according to the second absorbance value and the target curve model.
[0038] In the third aspect of the present application, an electronic device is provided, including a processor, a memory, a user interface and a network interface, the memory is used to store instructions, the user interface and the network interface are both used to communicate with other devices, and the processor is used to execute the instructions stored in the memory so that the electronic device performs any of the methods described above.
[0039] In a fourth aspect of the present application, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores instructions. When the instructions are executed, any one of the methods described above is executed.
[0040] In summary, one or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages:
[0041] 1. Through precise absorbance measurement and curve model construction, the gas concentration value can be measured and calculated more accurately;
[0042] 2. Calibrate the first curve model of the first standard gas using the first concentration value and the first absorbance value of the second standard gas to obtain a second curve model. This takes into account the characteristic differences between different gases, making the calibration result more accurate and improving the accuracy of anesthetic gas concentration measurement;
[0043] 3. Allow users to input the type of gas to be measured, so that they can select the appropriate curve model for calculation according to different gas types, thereby improving the accuracy of measurement. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] Figure 1 1 is a flow chart of a method for calibrating anesthetic gas concentration disclosed in an embodiment of the present application;
[0045] Figure 2 Schematic diagram of the structure of the anesthetic gas concentration calibration platform disclosed in the embodiment of the present application;
[0046] Figure 3 is a structural schematic diagram of an anesthetic gas concentration calibration platform disclosed in another embodiment of the present application;
[0047] Figure 4 Schematic diagram of the hardware of the anesthetic gas concentration calibration platform disclosed in the embodiment of the present application;
[0048] Figure 5 Schematic diagram of the software of the anesthetic gas concentration calibration platform disclosed in the embodiment of the present application;
[0049] Figure 6 is a schematic diagram of the absorbance of the first curve model of the first standard gas disclosed in the embodiment of the present application;
[0050] Figure 7 1 is a schematic diagram comparing the second curve model and the actual curve model of the second standard gas disclosed in the embodiment of the present application;
[0051] Figure 8 This is a comparison diagram of the third curve model and the actual curve model of the first standard gas after replacing the filter of the anesthetic gas concentration calibration platform disclosed in the embodiment of the present application;
[0052] Figure 9 1 is a schematic diagram of a module of a system for calibrating anesthetic gas concentration disclosed in an embodiment of the present application;
[0053] Figure 10 This is a structural diagram of an electronic device disclosed in an embodiment of the present application.
[0054] Description of the accompanying drawings: 901, curve module; 902, calibration module; 903, execution module; 1001, processor; 1002, communication bus; 1003, user interface; 1004, network interface; 1005, memory. DETAILED DESCRIPTION
[0055] In order to enable those skilled in the art to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below in conjunction with the drawings in the embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this application, not all of the embodiments.
[0056] In the description of the embodiments of this application, words such as "for example" or "for instance" are used to indicate examples, illustrations, or explanations. Any embodiment or design described as "for example" or "for instance" in the embodiments of this application should not be construed as being preferred or advantageous over other embodiments or designs. Rather, the use of words such as "for example" or "for instance" is intended to present the relevant concepts in a concrete manner.
[0057] In the description of the embodiments of the present application, the term "multiple" means two or more. For example, multiple systems refer to two or more systems, and multiple screen terminals refer to two or more screen terminals. In addition, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the indicated technical features. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized.
[0058] This embodiment discloses a method for calibrating anesthetic gas concentration, which is applied to an anesthetic gas concentration calibration platform. Figure 1 Schematic diagram of the flow of the method for calibrating the concentration of anesthetic gas disclosed in the embodiment of the present application, such as Figure 1 As shown, the method includes the following steps:
[0059] S110, determining a reference gas set, and constructing a first curve model of a first standard gas based on a relationship between absorbance and concentration of the first standard gas, where the first standard gas is a gas in the reference gas set;
[0060] Anesthetic gases include sevoflurane, isoflurane, nitrous oxide (also known as laughing gas), ether, and propylene glycol amine. A reference gas set can be determined based on the gas to be calibrated. In this embodiment, the reference gas set can be defined as five types: sevoflurane, isoflurane, nitrous oxide, ether, and propylene glycol amine. The first standard gas can be any one of the reference gases. For example, in this embodiment, the first standard gas can be sevoflurane. A first curve model for sevoflurane is constructed based on the relationship between its absorbance and concentration.
[0061] Figure 2 Schematic diagram of the structure of the anesthetic gas concentration calibration platform disclosed in the embodiment of the present application. Figure 2 As shown, the anesthetic gas concentration calibration platform includes an adjustable light source 201, a stepper motor 202, a calibration device 203, an airtight box 204, a standard Class A gas-tight box 205, a standard Class B gas-tight box 206, a standard Class C gas-tight box 207, a standard Class D gas-tight box 208, a standard Class E gas-tight box 209, a first optical filter 210, a sample cell 211, a second optical filter 212, a detector 213, a main control module 214, and a display module 215. The main control module 214 is used to control the output of the adjustable light source 1 and sample control signals in real time. The display module 215 is used to input commands, communicate with the main control module 214 in real time, and display measured concentrations. The calibration device 203 has multiple built-in channels (channels 204-209), each of which can accommodate different types of sealed standard gas cartridges (generally, other alternative media can also be used to achieve equivalent optical absorption). First filter 210 and second filter 212 are typically narrowband filters, but grayscale filters can also be used. Using this medium is equivalent to the absorption of standard concentration anesthetic gas. Adjustable light source 201 can utilize a modulated MEMS light source. The MEMS light source transmits modulated light perpendicularly through the sample cell. The detector detects the signal, which undergoes amplification and filtering circuits, followed by AD (digital-to-analog) conversion and transmission to the main control chip. Software then performs algorithmic processing to obtain the desired signal for digital signal processing and analysis, and the signal is calibrated and output.
[0062] Of course, in other embodiments of the present application, the same gas can be stored in the gas sealing boxes 205, 206, 207, 208 and 209, and only the gas concentrations need to be kept different. In this way, the original curve model of the gas can be constructed by obtaining the absorbance values corresponding to different gas concentrations.
[0063] Figure 3 is a structural diagram of an anesthetic gas concentration calibration platform disclosed in another embodiment of the present application. Figure 3 The anesthetic gas concentration calibration platform in Figure 2The biggest difference between the anesthetic gas concentration calibration platform is that Figure 2 The multiple built-in channels in the optical system move in a straight line, and the channels can be controlled to move forward or backward by the stepper motor 202 so that different channels enter the optical path. Figure 3 The multiple built-in channels in the optical system move in one plane, and the channel rotation can be controlled by the stepper motor 302 so that different channels enter the optical path.
[0064] Figure 4 This is a hardware schematic diagram of the anesthetic gas concentration calibration platform disclosed in the embodiment of the present application, such as Figure 4 As shown, the anesthetic gas concentration calibration platform includes a main control module, a light source driver module, a signal acquisition module, and a power supply module. In the main control module, the STM32F103RET6 chip is programmed to drive the light source driver module to modulate the light source, drive the air pump and solenoid valve to complete the gas circuit, and then drive the MAX1168 to sample signals from each node. The main control chip also communicates with the human-computer interface unit through protocol, using communication data to modify and execute parameters of each control component and transmit the sampled signals from each node back for display. When the light source driver module receives the 10Hz square wave signal output by the main control board, it transmits it to the LT1933 modulation port. The LT1933 then outputs a 10Hz voltage to drive the infrared light source. Simultaneously, the power detector monitors the current and voltage output of the DC-DC converter and feeds the power voltage value back to the DC-DC reference terminal. The DC-DC converter then adjusts the output power value based on the feedback power voltage value, thus achieving constant power drive. To increase detection accuracy and improve the signal-to-noise ratio, the MEMS infrared light source's drive signal undergoes standard square wave modulation. The light source driver module also requires controllable adjustment of this square wave modulation. By changing the control word value from the main control unit, the frequency and duty cycle of the output square wave can be varied. The pyroelectric infrared detector converts the received light intensity into a 10Hz AC voltage signal. This AC voltage signal is amplified and filtered by the analog circuit before being transmitted to the ADC sampling port. The power module provides power to the digital and analog systems, providing power voltage to power modules such as the air pump solenoid valve, and constant power to the infrared light source. The power module's primary function is to power the system and provide a standard power supply for the light source driver module and detector acquisition module.
[0065] The power module primarily consists of four subcircuits: 1) The main control unit's digital-analog voltage regulator circuit. To ensure stable system operation and reduce the impact of noise on precision circuits, the main control unit's digital-analog voltage regulator uses a wide-range linear voltage regulator to provide stable 5V and 3.3V operating voltages. 2) The power supply circuit for power units such as the air pump and solenoid valve. This circuit provides a stable power load voltage for these components. 3) The detector's multi-power rail voltage regulator circuit generates a multi-level regulated voltage reference. 4) The infrared light source driver module power supply circuit provides a 12V power load voltage to the infrared driver module, converting it into a constant electrical power to drive the MEMS infrared light source.
[0066] Figure 5 is a software schematic diagram of the anesthetic gas concentration calibration platform disclosed in the embodiment of the present application, such as Figure 5 As shown, the software of the anesthetic gas concentration calibration platform includes an application layer, a business logic layer, an application interface layer, a functional module layer, and a hardware driver layer. The application layer is the overall operating framework of the program, organizing the call of business logic. It can use an embedded operating system to implement various tasks, such as sampling, signal processing tasks, communication tasks, display tasks, and timing tasks. The business logic layer: Detailed subtask logic operation is carried out in each task. The application interface layer: Provides a public API (application programming interface) for application interfaces to be called by the upper layer. These interfaces can also be opened by the functional modules of the lower layer, and the application interface layer is responsible for aggregation. The functional module layer: It can encapsulate different functional modules, such as the algorithm library, display library, motor drive library, and communication module library, and provide an interface to the application interface layer upward and call the driver interface downward. The hardware driver layer: Consists of various driver modules and provides a unified interface to the upper layer.
[0067] Optionally, constructing a first curve model of the first standard gas according to the relationship between the absorbance and concentration of the first standard gas includes:
[0068] Obtain multiple relationship groups of the first standard gas, establish a rectangular coordinate system with the absorbance value of the first standard gas as the horizontal coordinate and the concentration value of the first standard gas as the vertical coordinate, and fit the multiple relationship groups through the least squares method to obtain the first curve model, where the relationship group is a corresponding relationship group between the absorbance value and the concentration value.
[0069] For example, sampling different concentration points of standard Class A gas (also known as the first standard gas) yields the results a0, a1, a2…an, and simultaneously records the output values b0, b1, b2…bn of the corresponding detectors, where a0 is Class A gas at 0% concentration. According to the Lambert-Beer law, the absorbance values c1, c2, c3…cn are obtained, and c1=-log 10 (b1 / b0), c2=-log 10(b2 / b0), this process is automated by the microcontroller. Standard Class A gas and the corresponding concentration points are input on the display screen. The concentration values (a0, a1, a2…an) and absorbance values (c1, c2, c3…cn) will be saved in two arrays of the microcontroller.
[0070] A rectangular coordinate system is established with absorbance values (c1, c2, c3...cn) as the horizontal coordinate and standard Class A gas concentration values (a1, a2...an) as the vertical coordinate. The corresponding relationship group between the absorbance value and the concentration value can be, for example, a1-c1. This corresponding relationship group can correspond to a point in the rectangular coordinate system. The least squares algorithm is used to fit these multiple points in the microcontroller to establish a first curve model. The correlation coefficient R of the first curve model is 2 The accuracy can be set according to the actual instrument requirements. The actual data are shown in the following table:
[0071]
[0072] Figure 6 is a schematic diagram of the absorbance of the first curve model of the first standard gas disclosed in the embodiment of the present application, such as Figure 6 As shown, the first curve model A1=5.1483X 3 +12.768X 2 +6.7088X+0.0383, R 2 =0.9999.
[0073] The least squares method is a mathematical optimization technique that finds the best functional match for the data by minimizing the sum of squared errors. Therefore, using the least squares method to fit multiple relationship groups can produce a more accurate first curve model that better matches the actual data distribution. In actual measurements, due to various factors, there may be a certain amount of error between the absorbance and concentration values. Fitting using the least squares method can reduce the impact of these random errors on the curve model, making the model more robust and reliable. By constructing the first curve model, the functional relationship between the absorbance and concentration values of the first standard gas can be clarified, providing a basis for subsequent concentration calculations. This helps to simplify the calculation process and improve computational efficiency.
[0074] S120: Obtain a first concentration value and a first absorbance value of a second standard gas, where the first concentration value is a known value; calculate a second concentration value of the second standard gas based on the first absorbance value and the first curve model; calculate a first deviation coefficient of the second standard gas based on the first concentration value and the second concentration value; and calibrate the first curve model based on the first deviation coefficient to obtain a second curve model corresponding to the second standard gas, where the second standard gas is any gas in the reference gas set other than the first standard gas.
[0075] The second standard gas is any one of the gases in the reference gas set except the first standard gas. In an embodiment of the present application, isoflurane, nitrous oxide, ether, and propylene glycol amine can all be used as the second standard gas. The first deviation coefficient corresponding to each second standard gas is calculated separately, and the second curve model corresponding to the second standard gas is obtained according to the first deviation coefficient. Specifically, when setting the sealed box corresponding to isoflurane, nitrous oxide, ether, and propylene glycol amine, the corresponding concentration value has been indicated. This concentration value can be used as the first concentration value. The absorbance value obtained by placing the second standard gas into the light path is the first absorbance value. The first absorbance value is substituted into the first curve model for calculation to obtain the second concentration value. The first deviation coefficient of the second standard gas can be calculated according to the difference between the first concentration value and the second concentration value. Then, the first curve model is calibrated according to the first deviation coefficient to obtain the second curve model corresponding to the second standard gas. In other embodiments of the present application, the same second standard gas can be stored in the gas sealing boxes 205, 206, 207, 208 and 209, and only the gas concentrations need to be kept different. In this way, an accurate second curve model can be obtained after multiple calculations.
[0076] Optionally, the acquiring a first concentration value and a first absorbance value of the second standard gas, and calculating the second concentration value of the second standard gas according to the first absorbance value and the first curve model includes:
[0077] Controlling the anesthetic gas concentration calibration platform so that a first sealed box enters the optical path to obtain a first standard absorbance value, and controlling the anesthetic gas concentration calibration platform so that a second sealed box enters the optical path to obtain the first absorbance value, wherein the first sealed box contains air and the second sealed box contains the second standard gas;
[0078] A first actual absorbance value of the second standard gas is calculated according to the first absorbance value and the first standard absorbance value, and a second concentration value corresponding to the first actual absorbance value in the first curve model is calculated.
[0079] See also Figure 2The microcontroller can control the stepper motor 202 to drive the calibration device 203 to rotate, so that the first sealed box (for example, 204) that has been packaged in the calibration device 203 enters the optical path to obtain a first standard absorbance value, where the first sealed box only includes air. The microcontroller then controls the stepper motor 202 to drive the calibration device 203 to rotate, so that the second sealed box (for example, 206) that has been packaged in the calibration device 203 enters the optical path to obtain the first absorbance value, where the second sealed box includes a second standard gas. The first actual absorbance value of the second standard gas can be calculated based on the first absorbance value and the first standard absorbance value, and then the second concentration value corresponding to the first actual absorbance value is calculated based on the first curve model.
[0080] Optionally, the acquiring a first concentration value and a first absorbance value of the second standard gas, and calculating the second concentration value of the second standard gas according to the first absorbance value and the first curve model includes:
[0081] controlling the anesthetic gas concentration calibration platform so that a first sealed box enters an optical path to obtain a first standard absorbance value, controlling the anesthetic gas concentration calibration platform so that no sealed box is in the optical path to obtain a second standard absorbance value, and controlling the anesthetic gas concentration calibration platform so that a second sealed box enters the optical path to obtain the first absorbance value, wherein the first sealed box contains air and the second sealed box contains the second standard gas;
[0082] Calculate a first difference between the first standard absorbance value and the second standard absorbance value, and calculate a second difference between the first absorbance value and the second standard absorbance value. Calculate a first actual absorbance value of the second standard gas based on the first difference and the second difference, and calculate a second concentration value corresponding to the first actual absorbance value in the first curve model.
[0083] See also Figure 2The microcontroller can control the stepper motor 202 to rotate the calibration device 203 so that no sealed box exists in the optical path. At this time, a second standard absorbance value is obtained. The microcontroller then controls the stepper motor 202 to rotate the calibration device 203 so that a first sealed box (e.g., 204) that has been sealed in the calibration device 203 enters the optical path to obtain a first standard absorbance value, where the first sealed box only contains air. Finally, the microcontroller controls the stepper motor 202 to rotate the calibration device 203 so that a second sealed box (e.g., 206) that has been sealed in the calibration device 203 enters the optical path to obtain a first absorbance value, where the second sealed box contains a second standard gas. A first difference between the first standard absorbance value and the second standard absorbance value is calculated, and a second difference between the first absorbance value and the second standard absorbance value is calculated. A first actual absorbance value of the second standard gas is calculated based on the first difference and the second difference, and a second concentration value corresponding to the first actual absorbance value is calculated based on the first curve model.
[0084] Specifically, the first concentration value bn of the standard Class B gas (also known as the second standard gas) is 7.84648%. Using the first curve model, the gas concentration x1 is 3.9257%. bx changes with the absorbance value. bx is the current concentration value corresponding to different absorbance values. According to the Lambert-Beer law, the absorbance curve passes through the origin, that is, point 0, on the coordinate axis. Based on point 0 and the measured concentration point bn, the correlation deviation coefficient z1 between the second standard gas and the first standard gas can be deduced, z1=(bn-x1)*(bx / x1). That is, z1=(7.84648-3.9257)*((5.1483*x 3 +12.768*x 2 +6.7088*x+0.0383) / 3.9257).
[0085] B1=bx+(bn-x1)*(bx / x1), that is, B1=(5.1483*x 3 +12.768*x 2 +6.7088*x+0.0383)+(7.84648-3.9257)*((5.1483*x 3 +12.768*x 2 +6.7088*x+0.0383) / 3.9257). At this time, the calibration of the second curve model B1 of the second standard gas is completed. The curve model of the second type of gas is B2 after actual measurement. Compare B1 and B2. Figure 7 The calibration results are shown in the following table:
[0086]
[0087] As can be seen from the table above, the absolute error of the calibration results is within 0.0463% and the relative error is within 0.0126%. Repeating the above process can automatically calibrate multiple gas curves.
[0088] S130 , obtaining a second absorbance value of the gas to be measured, obtaining type data of the gas to be measured input by a user, matching a target curve model according to the type data, and determining a concentration value of the gas to be measured according to the second absorbance value and the target curve model.
[0089] For example, the curve model of isoflurane is D1. If the gas to be measured is isoflurane, the type data of the gas to be measured input by the user can be matched to D1, and then the concentration value of the gas to be measured is calculated according to the second absorbance value of the gas to be measured.
[0090] Optionally, obtaining a second absorbance value of the gas to be measured, obtaining type data of the gas to be measured input by a user, matching a target curve model according to the type data, and determining a concentration value of the gas to be measured according to the second absorbance value and the target curve model includes:
[0091] irradiating a sample pool including the gas to be measured through an optical path of the anesthetic gas concentration calibration platform to obtain a second absorbance value of the gas to be measured;
[0092] Determining a target category according to the category data, and matching a corresponding target curve model according to the target category;
[0093] Calculate the concentration value corresponding to the second absorbance value in the target curve model.
[0094] See also Figure 2 The microcontroller can control stepper motor 202 to rotate calibration device 203, removing the sealed cartridge from the optical path. The light source then directly illuminates the sample cell, acquiring the second absorbance value of the gas to be measured. Alternatively, the microcontroller can control stepper motor 202 to rotate calibration device 203, allowing the encapsulated first sealed cartridge (e.g., 204) within calibration device 203 to enter the optical path. The light source then illuminates the sample cell and the first sealed cartridge, acquiring the second absorbance value of the gas to be measured. The target species is determined based on the species data, and a corresponding target curve model is matched to the target species. The species data may include the species name. The concentration value is then calculated based on the matched target curve model and the second absorbance value.
[0095] Optionally, the method further includes:
[0096] When the filter of the anesthetic gas concentration calibration platform is replaced, the third concentration value and the third absorbance value of the first standard gas are obtained, the third concentration value is a known value, the fourth concentration value of the first standard gas is calculated according to the third absorbance value and the first curve model, the second deviation coefficient of the first standard gas is calculated according to the third concentration value and the fourth concentration value, and the first curve model is calibrated according to the second deviation coefficient to obtain the third curve model corresponding to the first standard gas.
[0097] This embodiment of the present application uses filter replacement as an example to illustrate how to apply the original curve model to a new instrument for calibration. When replacing the filter on the anesthetic gas concentration calibration platform, the curve model needs to be recalibrated. The calibration process is similar to the calibration of the second standard gas relative to the first standard gas. Specifically, the third concentration value an of the standard Class A gas (also known as the first standard gas) is 3.9257%. Using the first curve model, the gas concentration x2 is 4.2385%. ax varies with the absorbance value, and ax is the current concentration value corresponding to different absorbance values. According to the Lambert-Beer law, the absorbance curve passes through the origin, or 0, on the coordinate axis. Based on 0 and the measured concentration point an, the correlation deviation coefficient z2 between the first standard gas after the filter replacement and the first standard gas before the filter replacement can be derived: z2 = (an-x2) * (ax / x2). That is, z2 = (3.9257-4.2385) * (5.1483*x2). 3 +12.768*x 2 +6.7088*x+0.0383) / 4.2385). A2=ax+z2, that is, A2=(5.1483*x 3 +12.768*x 2 +6.7088*x+0.0383)+(3.9257-4.2385)*((5.1483*x 3 +12.768*x 2 +6.7088*x+0.0383) / 4.2385).
[0098] After replacing the filter, the standard curve of Class A gas is A2. The curve of Class A gas actually measured is A3. The comparison between A2 and A3 is as follows: Figure 8 As shown, Figure 8 The instrument V2 in the figure indicates the instrument after filter replacement or other new instrument. The calibration results are shown in the following table:
[0099]
[0100] As shown in the table above, the absolute error of the calibration results is within 0.0284%, and the relative error is within 0.0112%. Similarly, the standard curves of different instruments can be automatically calibrated to solve the curve applicability problem between instruments.
[0101] Optionally, obtaining a third concentration value and a third absorbance value of the first standard gas includes:
[0102] Controlling the anesthetic gas concentration calibration platform so that a first sealed box enters the optical path to obtain a third standard absorbance value, and controlling the anesthetic gas concentration calibration platform so that a third sealed box enters the optical path to obtain a third absorbance value, wherein the first sealed box contains air and the third sealed box contains the first standard gas;
[0103] A third actual absorbance value of the first standard gas is calculated based on the third absorbance value and the third standard absorbance value, and a fourth concentration value of the first standard gas is calculated based on the third actual absorbance value and the first curve model.
[0104] See also Figure 2 The microcontroller can control the stepper motor 202 to drive the calibration device 203 to rotate, so that the first sealed box (for example, 204) that has been packaged in the calibration device 203 enters the optical path to obtain a third standard absorbance value. The first sealed box only includes air. The microcontroller then controls the stepper motor 202 to drive the calibration device 203 to rotate, so that the third sealed box (for example, 205) that has been packaged in the calibration device 203 enters the optical path to obtain the first absorbance value. The third sealed box includes the first standard gas. The third actual absorbance value of the first standard gas can be calculated based on the first absorbance value and the first standard absorbance value.
[0105] This embodiment also discloses a system for calibrating the concentration of anesthetic gas. Figure 9 Schematic diagram of the module of the system for calibrating the concentration of anesthetic gas disclosed in the embodiment of the present application, such as Figure 9 As shown, the system includes a curve module 901, a calibration module 902 and an execution module 903, wherein:
[0106] A curve module 901 is configured to determine a reference gas set and construct a first curve model of a first standard gas based on a relationship between absorbance and concentration of the first standard gas, where the first standard gas is one of the reference gas sets;
[0107] a calibration module 902 configured to obtain a first concentration value and a first absorbance value of a second standard gas, where the first concentration value is a known value, calculate a second concentration value of the second standard gas based on the first absorbance value and the first curve model, calculate a first deviation coefficient of the second standard gas based on the first concentration value and the second concentration value, and calibrate the first curve model based on the first deviation coefficient to obtain a second curve model corresponding to the second standard gas, where the second standard gas is any gas in the reference gas set other than the first standard gas;
[0108] The execution module 903 is configured to obtain a second absorbance value of the gas to be measured, obtain the type data of the gas to be measured input by the user, match the target curve model according to the type data, and determine the concentration value of the gas to be measured according to the second absorbance value and the target curve model.
[0109] Optionally, the curve module 901 is configured to:
[0110] Obtain multiple relationship groups of the first standard gas, establish a rectangular coordinate system with the absorbance value of the first standard gas as the horizontal coordinate and the concentration value of the first standard gas as the vertical coordinate, and fit the multiple relationship groups through the least squares method to obtain the first curve model, where the relationship group is a corresponding relationship group between the absorbance value and the concentration value.
[0111] Optionally, the calibration module 902 is configured to:
[0112] Controlling the anesthetic gas concentration calibration platform so that a first sealed box enters the optical path to obtain a first standard absorbance value, and controlling the anesthetic gas concentration calibration platform so that a second sealed box enters the optical path to obtain the first absorbance value, wherein the first sealed box contains air and the second sealed box contains the second standard gas;
[0113] A first actual absorbance value of the second standard gas is calculated according to the first absorbance value and the first standard absorbance value, and a second concentration value corresponding to the first actual absorbance value in the first curve model is calculated.
[0114] Optionally, the calibration module 902 is configured to:
[0115] controlling the anesthetic gas concentration calibration platform so that a first sealed box enters an optical path to obtain a first standard absorbance value, controlling the anesthetic gas concentration calibration platform so that no sealed box is in the optical path to obtain a second standard absorbance value, and controlling the anesthetic gas concentration calibration platform so that a second sealed box enters the optical path to obtain the first absorbance value, wherein the first sealed box contains air and the second sealed box contains the second standard gas;
[0116] Calculate a first difference between the first standard absorbance value and the second standard absorbance value, and calculate a second difference between the first absorbance value and the second standard absorbance value. Calculate a first actual absorbance value of the second standard gas based on the first difference and the second difference, and calculate a second concentration value corresponding to the first actual absorbance value in the first curve model.
[0117] Optionally, the calibration module 902 is configured to:
[0118] irradiating a sample pool including the gas to be measured through an optical path of the anesthetic gas concentration calibration platform to obtain a second absorbance value of the gas to be measured;
[0119] Determining a target category according to the category data, and matching a corresponding target curve model according to the target category;
[0120] Calculate the concentration value corresponding to the second absorbance value in the target curve model.
[0121] Optionally, the system further includes a detection module, wherein the detection module is configured to:
[0122] When the filter of the anesthetic gas concentration calibration platform is replaced, the third concentration value and the third absorbance value of the first standard gas are obtained, the third concentration value is a known value, the fourth concentration value of the first standard gas is calculated according to the third absorbance value and the first curve model, the second deviation coefficient of the first standard gas is calculated according to the third concentration value and the fourth concentration value, and the first curve model is calibrated according to the second deviation coefficient to obtain the third curve model corresponding to the first standard gas.
[0123] Optionally, the detection module is configured to:
[0124] Controlling the anesthetic gas concentration calibration platform so that a first sealed box enters the optical path to obtain a third standard absorbance value, and controlling the anesthetic gas concentration calibration platform so that a third sealed box enters the optical path to obtain a third absorbance value, wherein the first sealed box contains air and the third sealed box contains the first standard gas;
[0125] A third actual absorbance value of the first standard gas is calculated based on the third absorbance value and the third standard absorbance value, and a fourth concentration value of the first standard gas is calculated based on the third actual absorbance value and the first curve model.
[0126] It should be noted that the above embodiments provide devices that implement their functions using only the division of the above functional modules as examples. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the device and method embodiments provided in the above embodiments are based on the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.
[0127] This embodiment also discloses an electronic device, referring to Figure 10 The electronic device may include: at least one processor 1001 , at least one communication bus 1002 , a user interface 1003 , a network interface 1004 , and at least one memory 1005 .
[0128] The communication bus 1002 is used to implement the connection and communication between these components.
[0129] The user interface 1003 may include a display screen (Display) and a camera (Camera). Optionally, the user interface 1003 may also include a standard wired interface and a wireless interface.
[0130] The network interface 1004 may optionally include a standard wired interface or a wireless interface (such as a WI-FI interface).
[0131] The processor 1001 may include one or more processing cores. The processor 1001 utilizes various interfaces and circuits to connect various components within the server. It executes instructions, programs, code sets, or instruction sets stored in the memory 1005, and accesses data stored in the memory 1005 to perform various server functions and process data. Optionally, the processor 1001 may be implemented using at least one of the following hardware forms: a digital signal processing (DSP), a field-programmable gate array (FPGA), or a programmable logic array (PLA). The processor 1001 may integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), and a modem. The CPU primarily processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing content displayed on the display screen; and the modem handles wireless communications. It is understood that the modem may also be implemented as a separate chip, rather than integrated into the processor 1001.
[0132] Memory 1005 may include random access memory (RAM) or read-only memory (ROM). Optionally, memory 1005 may include non-transitory computer-readable storage medium. Memory 1005 may be used to store instructions, programs, code, code sets, or instruction sets. Memory 1005 may include a program storage area and a data storage area. The program storage area may store instructions for implementing an operating system, instructions for at least one function (such as touch control, sound playback, image playback, etc.), and instructions for implementing the aforementioned method embodiments. The data storage area may store data related to the aforementioned method embodiments. Memory 1005 may also optionally be at least one storage device located remotely from the processor 1001. As shown in the figure, memory 1005, as a computer storage medium, may include an operating system, a network communication module, a user interface module, and an application for the anesthetic gas concentration calibration method.
[0133] exist Figure 10In the electronic device shown, the user interface 1003 is mainly used to provide an input interface for the user and obtain data input by the user; and the processor 1001 can be used to call the application program of the method for anesthetic gas concentration calibration stored in the memory 1005. When executed by one or more processors 1001, the electronic device executes one or more methods as described in the above embodiments.
[0134] It should be noted that for the aforementioned method embodiments, for simplicity of description, they are all expressed as a series of action combinations, but those skilled in the art should be aware that this application is not limited by the order of the actions described, because according to this application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required for this application.
[0135] In the above embodiments, the description of each embodiment has its own focus. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0136] In the several embodiments provided in this application, it should be understood that the disclosed devices can be implemented in other ways. For example, the device embodiments described above are merely schematic, such as the division of units, which is only a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some service interface, and the indirect coupling or communication connection of devices or units can be electrical or other forms.
[0137] Units described as separate components may or may not be physically separate, and components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.
[0138] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.
[0139] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable memory 1005. Based on this understanding, the technical solution of this application, or the portion that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a memory 1005 and includes several instructions for causing a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the various embodiments of the method of this application. The aforementioned memory 1005 includes various media capable of storing program code, such as a USB flash drive, a mobile hard drive, a magnetic disk, or an optical disk.
[0140] The above is only an exemplary embodiment of the present disclosure and cannot be used to limit the scope of the present disclosure. That is, any equivalent changes and modifications made according to the teachings of the present disclosure are still within the scope of the present disclosure. After considering the disclosure of the specification and the truth of practice, those skilled in the art will easily think of other embodiments of the present disclosure. This application is intended to cover any variation, use or adaptive change of the present disclosure, which follows the general principles of the present disclosure and includes common knowledge or customary technical means in the art that are not recorded in the present disclosure. The description and examples are to be regarded as exemplary only, and the scope and spirit of the present disclosure are defined by the claims.
Claims
1. A method for calibrating anesthetic gas concentration, characterized in that: Applied to an anesthetic gas concentration calibration platform, the method comprises: Determine a reference gas set, and construct a first curve model of a first standard gas based on a relationship between absorbance and concentration of the first standard gas, where the first standard gas is one of the gases in the reference gas set; Obtaining a first concentration value and a first absorbance value of a second standard gas, where the first concentration value is a known value, calculating a second concentration value of the second standard gas based on the first absorbance value and the first curve model, calculating a first deviation coefficient of the second standard gas based on the first concentration value and the second concentration value, and calibrating the first curve model based on the first deviation coefficient to obtain a second curve model corresponding to the second standard gas, where the second standard gas is any gas in the reference gas set other than the first standard gas; Acquire a second absorbance value of the gas to be measured, obtain type data of the gas to be measured input by a user, match a target curve model according to the type data, and determine a concentration value of the gas to be measured according to the second absorbance value and the target curve model.
2. The method for calibrating anesthetic gas concentration according to claim 1, wherein: The step of constructing a first curve model of the first standard gas according to the relationship between the absorbance and concentration of the first standard gas includes: Obtain multiple relationship groups of the first standard gas, establish a rectangular coordinate system with the absorbance value of the first standard gas as the horizontal coordinate and the concentration value of the first standard gas as the vertical coordinate, and fit the multiple relationship groups through the least squares method to obtain the first curve model, where the relationship group is a corresponding relationship group between the absorbance value and the concentration value.
3. The method for calibrating anesthetic gas concentration according to claim 1, wherein: The acquiring a first concentration value and a first absorbance value of the second standard gas, and calculating a second concentration value of the second standard gas according to the first absorbance value and the first curve model includes: Controlling the anesthetic gas concentration calibration platform so that a first sealed box enters the optical path to obtain a first standard absorbance value, and controlling the anesthetic gas concentration calibration platform so that a second sealed box enters the optical path to obtain the first absorbance value, wherein the first sealed box contains air and the second sealed box contains the second standard gas; A first actual absorbance value of the second standard gas is calculated according to the first absorbance value and the first standard absorbance value, and a second concentration value corresponding to the first actual absorbance value in the first curve model is calculated.
4. The method for calibrating anesthetic gas concentration according to claim 1, wherein: The acquiring a first concentration value and a first absorbance value of the second standard gas, and calculating a second concentration value of the second standard gas according to the first absorbance value and the first curve model includes: controlling the anesthetic gas concentration calibration platform so that a first sealed box enters an optical path to obtain a first standard absorbance value, controlling the anesthetic gas concentration calibration platform so that no sealed box is in the optical path to obtain a second standard absorbance value, and controlling the anesthetic gas concentration calibration platform so that a second sealed box enters the optical path to obtain the first absorbance value, wherein the first sealed box contains air and the second sealed box contains the second standard gas; Calculate a first difference between the first standard absorbance value and the second standard absorbance value, and calculate a second difference between the first absorbance value and the second standard absorbance value. Calculate a first actual absorbance value of the second standard gas based on the first difference and the second difference, and calculate a second concentration value corresponding to the first actual absorbance value in the first curve model.
5. The method for calibrating anesthetic gas concentration according to claim 1, wherein: The obtaining of a second absorbance value of the gas to be measured, obtaining type data of the gas to be measured input by a user, matching a target curve model according to the type data, and determining a concentration value of the gas to be measured according to the second absorbance value and the target curve model includes: irradiating a sample pool including the gas to be measured through an optical path of the anesthetic gas concentration calibration platform to obtain a second absorbance value of the gas to be measured; Determining a target category according to the category data, and matching a corresponding target curve model according to the target category; Calculate the concentration value corresponding to the second absorbance value in the target curve model.
6. The method for calibrating anesthetic gas concentration according to claim 1, wherein: The method also includes: When the filter of the anesthetic gas concentration calibration platform is replaced, the third concentration value and the third absorbance value of the first standard gas are obtained, the third concentration value is a known value, the fourth concentration value of the first standard gas is calculated according to the third absorbance value and the first curve model, the second deviation coefficient of the first standard gas is calculated according to the third concentration value and the fourth concentration value, and the first curve model is calibrated according to the second deviation coefficient to obtain the third curve model corresponding to the first standard gas.
7. The method for calibrating anesthetic gas concentration according to claim 6, wherein: The obtaining of the third concentration value and the third absorbance value of the first standard gas includes: Controlling the anesthetic gas concentration calibration platform so that a first sealed box enters the optical path to obtain a third standard absorbance value, and controlling the anesthetic gas concentration calibration platform so that a third sealed box enters the optical path to obtain a third absorbance value, wherein the first sealed box contains air and the third sealed box contains the first standard gas; A third actual absorbance value of the first standard gas is calculated based on the third absorbance value and the third standard absorbance value, and a fourth concentration value of the first standard gas is calculated based on the third actual absorbance value and the first curve model.
8. A system for calibrating anesthetic gas concentration, characterized in that: It includes curve module, calibration module and execution module, among which: a curve module configured to determine a reference gas set and construct a first curve model of a first standard gas according to a relationship between absorbance and concentration of the first standard gas, wherein the first standard gas is a gas in the reference gas set; a calibration module configured to obtain a first concentration value and a first absorbance value of a second standard gas, where the first concentration value is a known value, calculate a second concentration value of the second standard gas based on the first absorbance value and the first curve model, calculate a first deviation coefficient of the second standard gas based on the first concentration value and the second concentration value, and calibrate the first curve model based on the first deviation coefficient to obtain a second curve model corresponding to the second standard gas, where the second standard gas is any gas in the reference gas set other than the first standard gas; The execution module is configured to obtain a second absorbance value of the gas to be measured, obtain type data of the gas to be measured input by a user, match a target curve model according to the type data, and determine a concentration value of the gas to be measured according to the second absorbance value and the target curve model.
9. An electronic device, characterized in that: The electronic device comprises a processor, a memory, a user interface and a network interface, wherein the memory is used to store instructions, the user interface and the network interface are both used to communicate with other devices, and the processor is used to execute the instructions stored in the memory so that the electronic device executes the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores instructions, and when the instructions are executed, the method according to any one of claims 1 to 7 is executed.
Citation Information
Patent Citations
Device for recognizing zone classification of anesthetic gas type and method thereof
CN101042339A
Gas concentration detection method and device, terminal equipment and storage medium
CN115792136A