Volume tracing box pressure parameter correction method and system based on temperature detection
By predicting and real-time correcting the pressure changes in the plethysmography box through the GA-BP neural network model, the problem of temperature changes affecting the detection accuracy in the plethysmography method is solved, and faster and more accurate lung function testing is achieved.
Patent Information
- Application Number
- CN202410797718.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-20
- Publication Date
- 2024-09-06
AI Technical Summary
In pulmonary function testing, temperature changes in the plethysmograph box affect the accuracy of pressure measurement. Existing methods cannot effectively eliminate the impact of subsequent temperature changes, resulting in low testing stability, accuracy and efficiency, especially for patients with claustrophobia or Not suitable for patients with anxiety disorders.
The GA-BP neural network model is used to predict the pressure changes in the box by obtaining the temperature inside the plethysmography box, the volume of the object to be detected, and the ambient temperature, and correct the pressure changes in real time through real-time monitoring of the detection points and pressure sensor data to eliminate Temperature effects.
No need for equilibration time can reduce the influence of temperature, improve the accuracy and efficiency of detection, and is suitable for all patients. Especially in special cases, the influence of temperature on measurement results can be better eliminated by increasing the sampling time.
Smart Images

Figure CN118592933A
Abstract
Description
Technical Field
[0001] The invention belongs to the field of medical detection and application, and in particular relates to a method and system for correcting pressure parameters of a plethysmograph box based on temperature detection. Background Art
[0002] Among the lung function testing technologies, volume plethysmography is the gold standard for measuring human airway resistance (Raw) and total lung volume (TGV). The principle of volume plethysmography is based on Boyle's law, that is, in a closed and constant temperature environment, when a certain amount of gas volume decreases or increases, the change in air pressure follows the law that the product of pressure and volume remains constant at any time. In the actual testing process, the patient needs to perform a specified breathing action in a closed box (i.e., a volume plethysmography box). The volume of gas in the box will change with the change of breathing action, resulting in changes in the air pressure in the box (i.e., box pressure). The measurement of airway resistance and total lung volume is based on the monitoring and analysis of such box pressure changes. Ideally, the change in box pressure should be entirely caused by human breathing action. However, when the human body temperature is higher than the ambient temperature, the heating effect of the human body on the gas in the box will cause the temperature of the gas in the box to gradually increase, which in turn makes the measured pressure value higher, thus affecting the accuracy of the test.
[0003] At present, the main solution to this problem is to let the subject wait in the box for more than 1 minute before officially starting the measurement, and open the necessary leak holes to balance the air pressure inside and outside the box. However, this method can only balance the temperature changes in the initial stage, and cannot eliminate the impact of subsequent temperature changes. This method limits the stability, accuracy and efficiency of the equipment. Moreover, the 1-minute waiting time will make some patients with diseases such as claustrophobia or anxiety feel uneasy and unable to cooperate well with subsequent detection actions, resulting in reduced detection accuracy and efficiency. Summary of the invention
[0004] In view of this, the present invention provides a method for correcting pressure parameters of a plethysmograph box based on temperature detection, the method comprising:
[0005] Obtaining the temperature of the detection point in the plethysmography box, the volume of the object to be detected, the temperature of the object to be detected, and the ambient temperature of the plethysmography box during measurement;
[0006] Using the GA-BP neural network model, the pressure change of the first box is predicted according to the temperature of the detection point, the volume of the object to be detected, the temperature of the object to be detected and the ambient temperature of the plethysmography box;
[0007] Obtaining a change in the pressure of the second box after the subject to be detected performs a breathing action;
[0008] The first box pressure change amount and the second box pressure change amount are used to determine the box pressure change amount caused by the breathing action of the subject to be detected.
[0009] The present invention also provides a plethysmograph pressure parameter correction system based on temperature detection, characterized in that it comprises a data acquisition module, a pressure prediction module and a pressure correction module, wherein:
[0010] The data acquisition module is used to obtain model parameter information and the change in the second box pressure after the subject to be detected performs a breathing action, wherein the model parameter information includes the temperature of the detection point in the plethysmography box, the volume of the subject to be detected, the temperature of the subject to be detected, and the ambient temperature of the plethysmography box during measurement;
[0011] The pressure prediction module is used to predict the pressure change of the first box body according to the obtained model parameter information and using the GA-BP neural network model;
[0012] The pressure correction module is used to determine the box pressure change amount caused by the breathing action of the object to be detected by using the predicted first box pressure change amount and the second box pressure change amount.
[0013] Furthermore, the detection point is located on a plane where a vertical symmetry axis of the plethysmography box body is located.
[0014] Furthermore, there are four detection points, all of which are located on the plane where the vertical symmetry axis of the box is located. Detection point 1 is located below the top of the box, at a first distance from the top of the box and at a second distance from the back wall of the box; detection point 2 and detection point 1 are at the same horizontal position and at a third distance from the back wall of the box, and the third distance is greater than the second distance; detection point 3 is located below the top of the box, at a fourth distance from the top of the box and at a fifth distance from the back wall of the box, and the fourth distance is greater than the first distance; detection point 4 and detection point 3 are at the same horizontal position and at a sixth distance from the back wall of the box, and the sixth distance is greater than the fifth distance.
[0015] Furthermore, the position of the detection point can be adjusted according to the size of the plethysmograph box.
[0016] Furthermore, the system also includes a model training module for training the GA-BP neural network model, wherein the training of the GA-BP neural network model specifically includes:
[0017] Construct GA-BP neural network model;
[0018] Acquire training samples, each training sample including the temperature of a detection point, the volume of a sample object, the temperature of the sample object, and the ambient temperature of a plethysmographic box corresponding to the training sample, and each training sample corresponds to a first box pressure change;
[0019] The GA-BP neural network model is trained using the training samples and the first box pressure change corresponding to the training samples.
[0020] Furthermore, using the training samples, training the GA-BP neural network model includes:
[0021] Use GA algorithm to optimize the initial weights and initial thresholds of BP neural network model;
[0022] According to the optimized initial weights and thresholds, the training samples are input into the BP neural network model for prediction to generate prediction results;
[0023] Calculate the error between the predicted result and the first box pressure change amount corresponding to the training sample;
[0024] According to the error, the weight and threshold of the BP neural network are continuously updated until the error meets the preset requirements.
[0025] The beneficial effects of the present invention are:
[0026] In view of the detection requirements of measuring lung function by volume plethysmography, the present invention provides a method for reducing the temperature impact of the subject (i.e., the object to be detected) entering the box without the need for equilibrium time (i.e., the waiting time that the subject needs to wait in the box before the measurement begins). This method is faster and more convenient; it can effectively eliminate the pressure impact caused by the human body entering the volume scanning box. Even if the measurement time needs to be extended under special circumstances, longer training samples can be obtained by increasing the sampling time, so that the GA-BP neural network can predict the pressure changes caused by temperature in the volume scanning box over a longer period of time, thereby better eliminating the impact of human body temperature on the measurement results; secondly, the present invention monitors the temperature of a specific area (i.e., the detection point) in the box in real time, so as to obtain the pressure change under the influence of temperature during the entire measurement process, and subtract the pressure change from the actual data collected by the pressure sensor to obtain a more accurate detection result, thereby eliminating the pressure change caused by the influence of temperature and improving the accuracy of the detection.
[0027] Other advantages, objectives and features of the present invention will be described in the following description to some extent, and to some extent, will be obvious to those skilled in the art based on the following examination and study, or can be taught from the practice of the present invention. The objectives and other advantages of the present invention can be realized and obtained through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] In order to make the purpose, technical solutions and advantages of the present invention more clear, the present invention will be further described in detail below with reference to the accompanying drawings, in which:
[0029] Figure 1 is a flow chart of a method for correcting pressure parameters of a plethysmographic box based on temperature detection;
[0030] Figure 2 is a schematic diagram of the detection points;
[0031] Figure 3 It is the basic logical framework diagram of GA-BP neural network;
[0032] Figure 4 It is a data collection flow chart;
[0033] Figure 5 This is a simulation data result diagram using the COMSOL simulation platform;
[0034] Figure 6 It is the experimental data verification result of simulation using the experimental platform built by the present invention;
[0035] Figure 7 It is a curve of the relationship between pressure and time measured by simulating human breathing;
[0036] Figure 8 This is a diagram showing the prediction and correction effect of the simulated human breathing curve. DETAILED DESCRIPTION
[0037] The preferred embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be understood that the preferred embodiments are only for illustrating the present invention, rather than for limiting the protection scope of the present invention.
[0038] In view of the current technical deficiencies, the present invention proposes a method for correcting the pressure parameters of a plethysmography box based on temperature detection; the temperature of a specific point in the box, the volume and temperature of the human body, and the ambient temperature are collected, and the obtained data are imported into a BP (Back Propagation) neural network model (denoted as a GA-BP neural network model) optimized by a genetic algorithm (GA) for training to obtain a multi-input single-output model, which can measure the real-time temperature during the measurement process and obtain the pressure change caused by the temperature. The box pressure measured by the pressure sensor is subtracted from the pressure change obtained by the model, that is, the pressure change actually caused by the breathing behavior of the object to be detected (for example, a person) is obtained, and the box pressure correction is realized. The following is an explanation in conjunction with the accompanying drawings and specific embodiments.
[0039] Figure 1 This is a flow chart of the method for correcting the pressure parameters of a plethysmographic box based on temperature detection. Figure 1 The method for correcting the pressure parameters of a plethysmographic box based on temperature detection comprises the following steps:
[0040] After the object to be detected enters the plethysmograph box, the temperature of the detection point in the plethysmograph box, the volume of the object to be detected, the temperature of the object to be detected, and the ambient temperature of the plethysmograph box during measurement are obtained;
[0041] Using the GA-BP neural network model, the pressure change of the first box is predicted according to the temperature of the detection point, the volume of the object to be detected, the temperature of the object to be detected and the ambient temperature of the plethysmography box;
[0042] Obtaining a change in the pressure of the second box after the subject to be detected performs a breathing action;
[0043] The first box pressure change amount and the second box pressure change amount are used to determine the box pressure change amount caused by the breathing action of the subject to be detected.
[0044] In some embodiments, the position of the detection point can be adjusted according to the size of the plethysmography box. In some embodiments, the position of the detection point is related to the position of the detected object during the detection, so as to better monitor the temperature change in the box caused by the change of the body temperature of the detected object.
[0045] In some embodiments, when a person sits in a plethysmograph box (referred to as "plethysmograph box") for testing, the human body and the box form a symmetrical structure, and the detection point is located on the plane where the vertical symmetry axis of the plethysmograph box is located, that is, the plane where the central axis of the human body is located.
[0046] The number of detection points may be fixed or variable. For example, a specific number of detection points may be pre-set in the plethysmograph box. If the object to be detected is different, the number and position of the detection points may be adjusted accordingly.
[0047] In some embodiments, there are four detection points, all of which are located on the plane where the vertical symmetry axis of the box is located. When a person sits in the volume tracer box for testing, the top of the human body corresponds to the top of the box, and the back of the human body corresponds to the back wall of the box. Detection point 1 is located below the top of the box, at a first distance from the top of the box and a second distance from the back wall of the box; detection point 2 and detection point 1 are at the same horizontal position and at a third distance from the back wall of the box, and the third distance is greater than the second distance; detection point 3 is located below the top of the box, at a fourth distance from the top of the box and a fifth distance from the back wall of the box, and the fourth distance is greater than the first distance; detection point 4 and detection point 3 are at the same horizontal position and at a sixth distance from the back wall of the box, and the sixth distance is greater than the fifth distance. As an example, from Figure 2From the side view shown, detection point 1 is located below the top of the box, approximately 13% of the height of the box from the top of the box, and approximately 19% of the width of the box from the back wall of the box; detection point 2 and detection point 1 are at the same horizontal position, and approximately 80% of the width of the box from the back wall of the box; detection point 3 is located below the top of the box, approximately 50% of the height of the box from the top of the box, and approximately 50% of the width of the box from the back wall of the box; detection point 4 and detection point 3 are at the same horizontal position, and approximately 80% of the width of the box from the back wall of the box. It should be noted that the distances of the detection points listed above from various parts of the box are only for example and do not represent the limits of the present invention. In actual applications, the positions of the detection points can be adjusted according to the size of the human body and the box, so that the set detection points can better sense the changes in the temperature inside the box. Figure 2 As shown, when the object to be detected is a person, the four detection points can be located on the plane where the central axis of the human body is located, because the temperature change on both sides of the box is approximately proportional to the temperature on the center line. Among them, the air temperature in the upper layer of the box is relatively high and the change on the same plane is more obvious than other layers. Detection point 1 and detection point 2 are set. Detection point 1 can be located at a distance above the human head, and detection point 2 can be located at the same horizontal position as detection point 1; the temperature in the middle of the box is lower than that in the upper layer, and this part of the human body tissue is relatively concentrated and is affected by the temperature of the hands and legs of the person. Detection point 3 and detection point 4 are set. Detection point 3 can be located at a distance above the human wrist, and detection point 4 can be at the same horizontal position as detection point 3, and in the vertical position, detection point 4 can be located at a distance above the human leg. In addition, since there will be a support arm in the actual body scanning box for carrying a respiratory instrument, the presence of the support arm can provide a suitable placement position for the sensors of detection point 3 and detection point 4. At the bottom of the box, that is, the area below the human legs, the temperature changes very little. In fact, the area under the chair is far away from the human body and is located in a dead corner of the space, with basically no temperature rise, so setting a detection point is not considered.
[0048] It should be noted that Figure 2 The positions of the detection points shown are only for illustration and are not intended to limit the present invention. The specific selection of the positions and number of the detection points can be adjusted according to the volume, temperature and / or size of the plethysmograph chamber of the object to be detected.
[0049] The method of the present invention also includes training the GA-BP neural network model, specifically including:
[0050] Construct GA-BP neural network model;
[0051] Acquire training samples, each training sample including the temperature of a detection point, the volume of a sample object, the temperature of the sample object, and the ambient temperature of a plethysmographic box corresponding to the training sample, and each training sample corresponds to a first box pressure change;
[0052] The GA-BP neural network model is trained using the training samples and the first box pressure change corresponding to the training samples.
[0053] Training samples can be obtained through sensors (such as temperature sensors, pressure sensors).
[0054] The GA-BP neural network model used in the present invention includes the GA part and the BP neural network model, and the present invention uses a genetic algorithm (GA) to optimize the BP neural network model. The details are as follows:
[0055] The GA algorithm is used to optimize the initial weights and initial thresholds of the BP neural network model; according to the optimized initial weights and thresholds, the training samples are input into the BP neural network model for prediction to generate prediction results;
[0056] Calculate the error between the predicted result and the first box pressure change amount corresponding to the training sample;
[0057] According to the error, the weight and threshold of the BP neural network are continuously updated until the error meets the preset requirements.
[0058] Figure 3 This is the basic logical framework diagram of the GA-BP neural network.
[0059] Building a BP neural network model includes the following steps:
[0060] S1: Determine the number of input and output nodes of the BP neural network. Determine the number of network layer nodes based on the above analysis and prediction of the influencing factors of the equipment. Figure 4 Taking the four detection points shown as an example, the input of the prediction model (i.e., the GA-BP neural network model) includes the temperature data collected at the four temperature detection points, the human body volume, the human body temperature, and the ambient temperature. The output of the prediction model is the change in box pressure caused by non-respiratory movements. Therefore, the number of neural network input and output nodes is determined to be 7 and 1 respectively.
[0061] S2: Determine the number of hidden layer nodes.
[0062] In some embodiments, the number of hidden layer neuron nodes can be calculated according to some theorems shown below, and the formula is as follows:
[0063] k<n-1
[0064]
[0065] k = log2 n
[0066] Where n is the number of neurons in the input layer, k is the number of neurons in the hidden layer, m is the number of neuron nodes in the output layer, and a is a constant, with a value between (1, 10). In the prediction model, by setting different numbers of network layer nodes, training a preset number of times (for example, 100 times), the number of hidden layer nodes is determined according to the quality of the training indicators. The training indicators mainly include mean absolute error, mean square error, and mean absolute ratio error.
[0067] S3: Initialize the neural network, that is, initialize the weights and thresholds of the BP neural network, including: the weight w from the input layer to the hidden layer ij , the threshold θ of the jth node j ; The weight w from the hidden layer to the output layer jY , threshold θ Y , and set the model learning rate (step size) to η.
[0068] S4: Calculate the forward propagation process of the neural network:
[0069] First, set the activation function of the network. For example, when the Sigmoid function is selected as the activation function, its expression is
[0070]
[0071] The input of the jth node in the hidden layer is net j :
[0072]
[0073] The output a of the jth node in the hidden layer j for
[0074]
[0075] The input of the output layer is net Y :
[0076] net Y =w jY a j +θ Y ,
[0077] The output of the output layer is a Y :
[0078]
[0079] In the above formula, f() is an activation function. According to the characteristics of the model in the present invention, a symmetric tanh function can also be selected, that is,
[0080]
[0081] S5: Back propagation process of calculation error:
[0082] The output of the present invention is only one, P represents the number of sample capacity, and the error calculation formula is:
[0083]
[0084] Among them, y PY represents the output value of the model obtained by P samples, a PY Indicates the true value corresponding to the sample;
[0085] The output layer weight correction formula is:
[0086]
[0087] For input net Y After derivation, the error signal of the final output layer is
[0088]
[0089] The result of adjusting the output layer weights using the gradient descent method is:
[0090] w' jY =w jY +ηδ Y a j +αΔw,
[0091] The hidden layer weight correction formula is:
[0092]
[0093] For output a j Take the derivative and calculate the error signal of the hidden layer by the chain rule:
[0094]
[0095] The result of adjusting the hidden layer weights using the gradient descent method is:
[0096] w' ij =w ij +ηδ j a i +αΔw.
[0097] Through the process described in S4 and S5 above, the BP neural network parameters (ie, weights and thresholds) are continuously adjusted until the final end condition is met, and the training of the BP neural network can be completed.
[0098] In addition, in S3, after initializing the weights and thresholds of the BP neural network, the initial values of the weights and thresholds need to be optimized. The present invention uses a genetic algorithm (GA) to optimize the initial values of the BP neural network. The evolutionary number of the genetic algorithm is 50, the population size is 20, the crossover probability and the mutation probability are 0.75 and 0.15 respectively. The specific steps can be referred to Figure 3 .
[0099] like Figure 3 As shown in the figure, after setting the initial values of the weights and thresholds of the BP neural network, the initial values of the weights and thresholds (including the weights and thresholds from the input layer to the hidden layer and the weights and thresholds from the hidden layer to the output layer) can be encoded, and then the encoded weights and thresholds are connected as the encoding of the individuals in the genetic algorithm; then the training error of the BP neural network is used as the fitness value, and the fitness function is used to evaluate the fitness of each individual. Among them, the fitness function of the individual is
[0100]
[0101] In the above formula, K represents the set coefficient, N represents the total number of samples; i and Respectively represent the network model output value and expected output value of the i-th sample;
[0102] Next, individuals are selected based on their fitness, and individuals with high fitness have a higher probability of being selected. The selection function is
[0103]
[0104] In the formula, F i and P i They represent the fitness and probability of being selected of an individual respectively, and M represents the population size.
[0105] Then, a crossover operation is performed to exchange genes of the selected individuals to generate new individuals, that is, two chromosomes are randomly selected, and then a crossover point (position p) is randomly selected on the two chromosomes. The gene segments before the crossover point remain unchanged, while the gene segments after the crossover point are exchanged. In this way, two new chromosomes are generated, that is, two new individuals.
[0106] Finally, the new individuals are mutated to introduce random changes to increase genetic diversity. After multiple rounds of iterations (i.e., through continuous selection, crossover and mutation operations), the individuals with the highest adaptability, i.e., the optimal initial weights and thresholds of the BP neural network, are finally obtained.
[0107] After determining the optimal initial weights and thresholds of the BP neural network, the BP neural network model can be trained using training samples.
[0108] Each training sample in the training samples includes the temperature of a detection point (for example, the temperature of four detection points), the volume of the sample object, the temperature of the sample object and the ambient temperature of the volume tracing box corresponding to the training sample, and each training sample corresponds to a first box pressure change.
[0109] Use these training samples to train the GA-BP neural network, calculate the error between the neural network output data (i.e., predicted value) and the actual value of the sample, and continuously update the threshold and weight of the neural network until the error meets the set requirements.
[0110] The error formula is as follows
[0111] E l =y p -y r ,
[0112]
[0113] Among them, y p Indicates the predicted value (i.e. the predicted change of the first box pressure) obtained by using the GA-BP neural network model; y r Indicates the actual value corresponding to the sample (ie, the actual change in the first tank pressure corresponding to the sample); E l and They represent actual error and relative error respectively.
[0114] After the GA-BP neural network model is trained, pressure prediction can be performed based on the trained GA-BP neural network model, that is, the pressure change value caused by non-breathing action on the box can be predicted. Then, the predicted pressure change value caused by non-breathing action on the box (i.e., the first box pressure change) is subtracted from the actual measured box pressure change value (i.e., the second box pressure change) to achieve box pressure correction, and the box pressure change caused by breathing action can be obtained.
[0115] The present invention also provides a plethysmograph pressure parameter correction system based on temperature detection, comprising a data acquisition module, a pressure prediction module and a pressure correction module, wherein:
[0116] The data acquisition module is used to obtain model parameter information and the change in the second box pressure after the subject to be detected performs a breathing action, wherein the model parameter information includes the temperature of the detection point in the plethysmography box, the volume of the subject to be detected, the temperature of the subject to be detected, and the ambient temperature of the plethysmography box during measurement;
[0117] The pressure prediction module is used to predict the pressure change of the first box body according to the obtained model parameter information and using the GA-BP neural network model;
[0118] The pressure correction module is used to determine the box pressure change amount caused by the breathing action of the object to be detected by using the predicted first box pressure change amount and the second box pressure change amount.
[0119] The system provided by the present invention also includes a model training module for training the GA-BP neural network model, wherein the training of the GA-BP neural network model specifically includes:
[0120] Construct GA-BP neural network model;
[0121] Acquire training samples, each training sample including the temperature of a detection point, the volume of a sample object, the temperature of the sample object, and the ambient temperature of a plethysmographic box corresponding to the training sample, and each training sample corresponds to a first box pressure change;
[0122] The GA-BP neural network model is trained using the training samples and the first box pressure change corresponding to the training samples.
[0123] The advantages of the present invention are further illustrated by specific simulation experiments below.
[0124] The present invention first built the hardware system required for data acquisition, selected the temperature sensor and pressure sensor, and selected the STM32F103 microprocessor. The experimental box is scaled down according to the box produced by Vyaire. A hot water bottle is used to approximate the heat dissipation process of the human body, and a DC brushless motor is used to control the air cylinder to simulate human breathing behavior. Then a software program is written to compensate for the controllable leakage of the box and perform data acquisition. The data acquisition program flow chart is shown in the figure. Figure 4 shown.
[0125] The data acquisition program is divided into two processes: initialization and task execution. In the initialization process, the clock is configured first, and then each peripheral module is initialized, including UART, multiple IIC interfaces, PWM and related interrupts. After completing all initializations, the program waits for the host computer to send a task execution instruction and switches different functional tasks by changing the flag bit.
[0126] If the flag is set to "Flag = 1", the program will trigger a timer interrupt every 6 milliseconds and read the sensor parameters through IIC communication. At the same time, the total sampling time is set to 2 minutes. When the time is reached, the sampling will automatically stop, and the light and buzzer will sound as a reminder.
[0127] If the flag is set to "Flag = 2", in addition to the process of "Flag = 1", the PWM output duty cycle will be configured so that the stepper motor is maintained at 90 revolutions per minute to simulate the rapid breathing action of the human body. The collected data will be returned to the host computer in real time through UART.
[0128] The present invention also uses COMSOL to conduct simulation experiments. By matching different human body volumes, temperatures and ambient temperatures to collect the temperatures of four temperature measurement points, 850 sets of simulation data are obtained, and 50 sets are randomly selected as validation sets, and the remaining 800 sets are used as training sets. The validation sets are respectively imported into the GA-BP neural network model (also called the prediction model) trained with the training set. Some prediction results are as follows: Figure 5 As shown, Figure 5 (a) shows the prediction result of the validation set; Figure 5 (b) Scatter plot showing the true and predicted values. Figure 5 From the results in Figure 2, we can see that the prediction effect of the validation set is better when using the COMSOL platform.
[0129] The average values of relevant evaluation indicators are calculated for every 10 groups of validation set data, and the results are shown in Table 1 below.
[0130] Table 1. Parameters of relevant evaluation indicators
[0131]
[0132] Among them, R2 stands for the coefficient of determination; MAE stands for mean absolute error; MBE stands for mean bias error; RMSE stands for root mean square error.
[0133] The present invention further collects data on the temperature of four temperature measurement points under different human body volumes, temperatures and ambient temperatures through the constructed experimental platform to obtain several sets of training data sets and one set of validation data sets. The validation set is imported into the GA-BP prediction model trained by the training set, and the prediction effect is as follows Figure 6 As shown, Figure 6 (a) shows the prediction result of the validation set; Figure 5 (b) Scatter plot showing the true and predicted values. Figure 6 From the results in , it can be seen that when the platform constructed by the present invention is used, the prediction effect on the validation set is better.
[0134] It should be noted that in Figure 5 and Figure 6 In the corresponding simulation, human breathing behavior is not considered. The present invention uses a stepper motor to control the air cylinder to simulate the human breathing action, and collects two sets of data: one set of data collection simulating the temperature and pressure of the breathing action; and one set of data collection without breathing action and without the use of a hot water bag. These two sets of data are respectively used as simulated data (MeaD) and expected data (ExpD). Figure 7 shown.
[0135] The trained GA-BP prediction model obtained in the platform built by the present invention is used to predict and correct the box pressure caused by non-respiratory actions under simulated breathing. The results are as follows Figure 8 As shown, Figure 8 (a) is a comparison diagram of the calibration curve and the actual curve, where the red dotted line (i.e., marked with CorD) represents the calibration curve, and the blue solid line (i.e., marked with ExpD) represents the actual curve; Figure 8 (b) is a comparative scatter plot of the calibration curve (ordinate) and the actual curve (abscissa), where the points are concentrated on the grey dotted line, indicating a better calibration effect.
[0136] The prediction effects of the GA-BP network used in the present invention are compared with those of other neural network algorithms, and the specific indicators are shown in Table 2.
[0137] Table 2 Comparison of other neural network prediction evaluation indicators
[0138]
[0139] As can be seen from Table 2, the GA-BP neural network has a better effect on the pressure changes caused by temperature in the plethysmography box.
[0140] Compared with the current method of waiting for temperature equilibrium, the pressure correction method proposed in the present invention is faster and more convenient. It can effectively eliminate the pressure effect caused by the human body entering the body scanning box. Even if the measurement time needs to be extended under special circumstances, longer training samples can be obtained by increasing the sampling time, so that the GA-BP neural network can predict the pressure changes caused by temperature in the body scanning box over a longer period of time, thereby better eliminating the influence of human body temperature on the measurement results.
[0141] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solution of the present invention can be modified or replaced by equivalents without departing from the purpose and scope of the technical solution, which should be included in the scope of the claims of the present invention.
Claims
1. A method for correcting pressure parameters of a plethysmography box based on temperature detection, It is characterized in that include: Obtaining the temperature of the detection point in the plethysmography box, the volume of the object to be detected, the temperature of the object to be detected, and the ambient temperature of the plethysmography box during measurement; Using the GA-BP neural network model, the pressure change of the first box is predicted according to the temperature of the detection point, the volume of the object to be detected, the temperature of the object to be detected and the ambient temperature of the plethysmography box; Obtaining a change in the pressure of the second box after the subject to be detected performs a breathing action; The first box pressure change amount and the second box pressure change amount are used to determine the box pressure change amount caused by the breathing action of the subject to be detected.
2. A method for correcting pressure parameters of a plethysmograph chamber based on temperature detection according to claim 1, It is characterized in that The detection point is located on the plane where the vertical symmetry axis of the plethysmography box is located.
3. A method for correcting pressure parameters of a plethysmograph chamber based on temperature detection according to claim 2, It is characterized in that There are four detection points, all of which are located on the plane where the vertical symmetry axis of the box is located. Detection point 1 is located below the top of the box, at a first distance from the top of the box and at a second distance from the back wall of the box; detection point 2 and detection point 1 are at the same horizontal position and at a third distance from the back wall of the box, and the third distance is greater than the second distance; Detection point 3 is located below the top of the box, at the fourth distance from the top of the box and the fifth distance from the back wall of the box, and the fourth distance is greater than the first distance; detection point 4 and detection point 3 are at the same horizontal position, at the sixth distance from the back wall of the box, and the sixth distance is greater than the fifth distance.
4. A method for correcting pressure parameters of a plethysmograph chamber based on temperature detection according to claim 1, It is characterized in that The position of the detection point can be adjusted according to the size of the plethysmography box.
5. A method for correcting pressure parameters of a plethysmograph chamber based on temperature detection according to claim 1, It is characterized in that The method also includes training the GA-BP neural network model, specifically including: Construct GA-BP neural network model; Acquire training samples, each training sample including the temperature of a detection point, the volume of a sample object, the temperature of the sample object, and the ambient temperature of a plethysmographic box corresponding to the training sample, and each training sample corresponds to a first box pressure change; The GA-BP neural network model is trained using the training samples and the first box pressure change corresponding to the training samples.
6. A method for correcting pressure parameters of a plethysmograph chamber based on temperature detection according to claim 5, It is characterized in that Using training samples, training the GA-BP neural network model includes: Use GA algorithm to optimize the initial weights and initial thresholds of BP neural network model; According to the optimized initial weights and thresholds, the training samples are input into the BP neural network model for prediction to generate prediction results; Calculate the error between the predicted result and the first box pressure change amount corresponding to the training sample; According to the error, the weight and threshold of the BP neural network are continuously updated until the error meets the preset requirements.
7. A plethysmograph pressure parameter correction system based on temperature detection, It is characterized in that It includes a data acquisition module, a pressure prediction module and a pressure correction module, wherein: The data acquisition module is used to obtain model parameter information and the change in the second box pressure after the subject to be detected performs a breathing action, wherein the model parameter information includes the temperature of the detection point in the plethysmography box, the volume of the subject to be detected, the temperature of the subject to be detected, and the ambient temperature of the plethysmography box during measurement; The pressure prediction module is used to predict the pressure change of the first box body according to the obtained model parameter information and using the GA-BP neural network model; The pressure correction module is used to determine the box pressure change amount caused by the breathing action of the object to be detected by using the predicted first box pressure change amount and the second box pressure change amount.
8. A plethysmograph pressure parameter correction system based on temperature detection according to claim 7, It is characterized in that The detection point is located on the plane where the vertical symmetry axis of the plethysmography box is located.
9. A plethysmograph pressure parameter correction system based on temperature detection according to claim 8, It is characterized in that There are four detection points, all of which are located on the plane where the vertical symmetry axis of the box is located. Detection point 1 is located below the top of the box, at a first distance from the top of the box and at a second distance from the back wall of the box; detection point 2 and detection point 1 are at the same horizontal position and at a third distance from the back wall of the box, and the third distance is greater than the second distance; Detection point 3 is located below the top of the box, at the fourth distance from the top of the box and the fifth distance from the back wall of the box, and the fourth distance is greater than the first distance; detection point 4 and detection point 3 are at the same horizontal position, at the sixth distance from the back wall of the box, and the sixth distance is greater than the fifth distance.
10. A plethysmograph pressure parameter correction system based on temperature detection according to claim 9, It is characterized in that The system also includes a model training module for training the GA-BP neural network model, wherein the training of the GA-BP neural network model includes: Construct GA-BP neural network model; Acquire training samples, each training sample including the temperature of a detection point, the volume of a sample object, the temperature of the sample object, and the ambient temperature of a plethysmographic box corresponding to the training sample, and each training sample corresponds to a first box pressure change; The GA-BP neural network model is trained using the training samples and the first box pressure change corresponding to the training samples.
Citation Information
Cited By
Volume tracing box
CN119745366A
