An ultrasonic real-time detection and early warning method for recovering bubbles in a blood pipeline

By employing acoustic propagation compensation correction and multidimensional feature fusion, the problems of microbubble identification and false alarms in ultrasound detection were solved, enabling real-time and accurate early warning of bubbles in blood recovery tubing, thus ensuring the stability and accuracy of the detection.

CN123167340APending Publication Date: 2026-11-27LUOYANG CENT HOSPITAL
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611380485.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-07
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing ultrasound detection methods have difficulty accurately identifying tiny air bubbles in blood recovery tubing and are easily affected by blood flow and noise, leading to false alarms or alarm delays.

Method used

By acquiring ultrasound echo data and blood parameter data, sound propagation compensation and correction are performed, and time-domain transient characteristics and frequency-domain scattering characteristics are integrated. Real bubbles are screened using dynamic evaluation values, and the warning level is determined based on the comprehensive risk index.

Benefits of technology

It improves the accuracy and anti-interference ability of bubble detection, reduces the false alarm rate, and enables real-time and accurate early warning of the risk of bubbles in the blood recovery tubing, thus ensuring patient safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123167340A_ABST
    Figure CN123167340A_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of blood bubble detection, and particularly relates to an ultrasonic real-time detection and early warning method for bubbles in a blood recovery pipeline. The method comprises: obtaining ultrasonic echo data and blood parameter data in the blood recovery pipeline; using the blood parameter data to perform sound propagation compensation correction on the ultrasonic echo data, extracting a candidate target region based on the corrected echo characteristics; fusing the time domain transient characteristics and the frequency domain scattering characteristics of each candidate target region to obtain a fusion characteristic value of each candidate target region; obtaining a dynamic evaluation value of each candidate target region according to the difference between the fusion characteristic values of the same candidate target region in continuous multiple frames, and the difference between the time difference and the theoretical time difference of the candidate target region appearing at different ultrasonic transducers, and then screening real bubbles; and determining an early warning level according to the corrected echo characteristics corresponding to the real bubbles. The present application realizes real-time and accurate early warning of the bubble risk in the blood recovery pipeline.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of blood bubble detection technology, specifically to a method for real-time ultrasonic detection and early warning of bubbles in blood recovery pipelines. Background Technology

[0002] In medical settings such as extracorporeal circulation (e.g., hemodialysis, cardiac surgery, and blood salvage), real-time monitoring and early warning of air bubbles within blood tubing are essential for ensuring patient safety. Due to the significant difference in acoustic impedance between blood and air, ultrasound waves experience significant reflection, refraction, and attenuation when passing through blood containing air bubbles. Based on this physical characteristic, ultrasound technology has long been used for medical air bubble detection. A typical method involves placing an ultrasound transmitter and receiver on opposite sides of the tubing, and analyzing changes in the intensity of the received signal to determine the presence of air bubbles. For example, when there are no air bubbles in the blood, the received ultrasound signal is strong; once an air bubble passes through, the ultrasound waves are scattered, causing a significant decrease in the received signal intensity.

[0003] Ultrasonic detection methods can effectively identify air bubbles in blood vessels in principle. However, for microbubbles with small diameters, traditional methods often fail to reliably capture them because their scattering intensity of ultrasound signals is weak and is close to the background noise generated by red blood cells suspended in the blood, leading to the risk of missing microbubbles. Secondly, blood is a non-Newtonian fluid, and the dynamic changes in its blood cell volume, temperature, and flow velocity will change the ultrasound propagation speed and attenuation coefficient, making it difficult for fixed thresholds or simple adaptive algorithms to accurately distinguish between air bubbles and flow noise. Especially in high-speed blood flow, the rapid passage of air bubbles will cause transient spikes in the received signal, which can easily be confused with pipeline vibration or electromagnetic interference, resulting in false alarms or alarm delays. Summary of the Invention

[0004] To address the issues of false alarms or delayed alarms in existing methods for risk warning of air bubbles in blood recovery tubing, the present invention aims to provide a real-time ultrasonic detection and early warning method for air bubbles in blood recovery tubing. The specific technical solution adopted is as follows: This invention provides a method for real-time ultrasonic detection and early warning of air bubbles in blood tubing, the method comprising the following steps: Acquire ultrasound echo data and blood parameter data from the blood recovery tubing; The ultrasound echo data is corrected by sound propagation compensation using the blood parameter data to obtain corrected echo features; candidate target regions are extracted based on the corrected echo features; the temporal transient features and frequency scattering features of each candidate target region are fused to obtain the fused feature value of each candidate target region; Based on the differences in the fusion feature values ​​of the same candidate target region across multiple consecutive frames, and the differences between the time difference of the candidate target region appearing on different ultrasonic transducers and the theoretical time difference, a dynamic evaluation value for each candidate target region is obtained; real bubbles are then selected based on the dynamic evaluation value. A comprehensive risk index is obtained based on the corrected echo characteristics corresponding to the actual bubbles; the corresponding early warning level is determined based on the comprehensive risk index.

[0005] Preferably, the step of using the blood parameter data to perform acoustic propagation compensation correction on the ultrasound echo data includes: The blood parameter data includes hematocrit, temperature, and flow rate; The sound velocity correction coefficient is determined based on hematocrit, temperature, and flow rate; the sound velocity correction coefficient is then used to correct the echo phase and spectral frequency axis. The amplitude correction coefficient is determined based on hematocrit and flow velocity; the echo amplitude is corrected using the amplitude correction coefficient. The spectral characteristics are corrected using the sound speed correction coefficient and the amplitude correction coefficient.

[0006] Preferably, the step of extracting candidate target regions based on the corrected echo features includes: Calculate the echo amplitude deviation based on the corrected echo amplitude and the preset reference value; Target points are selected by comparing the magnitude of the echo amplitude deviation with a preset deviation threshold. If a segment of consecutive target points contains two sub-intervals, and the first sub-interval is an interval where the echo amplitude deviation shows an upward trend, and the second sub-interval is an interval where the echo amplitude deviation shows a downward trend, then the segment of consecutive target points is taken as a candidate target region.

[0007] Preferably, the step of filtering target points by comparing the magnitude of the echo amplitude deviation with a preset deviation threshold includes: selecting points whose echo amplitude deviation is greater than the preset deviation threshold as target points.

[0008] Preferably, the fusion of the temporal transient features and frequency scattering features of each candidate target region to obtain the fused feature value of each candidate target region includes: The normalized results of the peak point correction amplitude, rise time, fall time and pulse width of the region to be analyzed are weighted and summed to obtain the time domain characteristic value of the region to be analyzed. The normalized results of the center frequency offset, preset decibel bandwidth, and spectral energy ratio of the region to be analyzed are weighted and summed to obtain the frequency domain characteristic value of the region to be analyzed. The time-domain feature values ​​and the frequency-domain feature values ​​are weighted and summed according to preset weights to obtain the fused feature values ​​of the region to be analyzed. The region to be analyzed can be any candidate target region.

[0009] Preferably, if the fusion feature value is less than the preset fusion feature threshold, the corresponding candidate target region is determined to be a non-real bubble.

[0010] Preferably, the step of obtaining a dynamic evaluation value for each candidate target region based on the differences in the fused feature values ​​of the same candidate target region across multiple consecutive frames, and the differences between the time difference and the theoretical time difference in the appearance of the candidate target region on different ultrasonic transducers, includes: For the region to be analyzed: The difference in fused feature values ​​of the region to be analyzed between consecutive adjacent frames is used as the motion confidence score. By combining the motion confidence level and the difference between the time difference of the region under analysis at adjacent transducers and the theoretical time difference, a dynamic evaluation value is obtained; The theoretical time difference is determined based on the current blood flow rate and the distance between adjacent transducers.

[0011] Preferably, the step of filtering real bubbles based on the dynamic evaluation value includes: when the dynamic evaluation value is greater than a preset evaluation threshold, determining the corresponding candidate target area as a real bubble.

[0012] Preferably, obtaining the comprehensive risk index based on the corrected echo characteristics corresponding to the actual bubble includes: The scattering intensity is calculated based on the echo amplitude of the peak point after correction for each real bubble and the baseline echo amplitude when there are no bubbles; the equivalent diameter of each real bubble is determined based on the Rayleigh scattering relation and the scattering intensity. The comprehensive risk index is obtained by summing the ratios of the equivalent diameters of all real bubbles detected within a preset sliding time window to a preset dangerous diameter threshold.

[0013] Preferably, determining the corresponding early warning level based on the comprehensive risk index includes: When the comprehensive risk index is less than the first risk threshold, it is determined to be at a safe level; When the comprehensive risk index is greater than or equal to the first risk threshold and less than the second risk threshold, it is determined to be at the first risk level; When the comprehensive risk index is greater than or equal to the second risk threshold, it is determined to be at the second risk level and an early warning is issued; The first risk threshold is less than the second risk threshold.

[0014] The present invention has at least the following beneficial effects: This invention acquires ultrasonic echo data and blood parameter data, and uses the blood parameters to perform acoustic propagation compensation correction on the ultrasonic echo, effectively eliminating the influence of changes in blood conditions on ultrasonic propagation. This ensures that the corrected echo features accurately reflect the acoustic properties of the bubble itself, avoiding signal drift and misjudgment caused by changes in the blood medium, and improving the stability and environmental adaptability of the detection. Based on the corrected echo features, candidate target regions are extracted, and the temporal transient features and frequency scattering features of the candidate target regions are fused. The temporal features reflect the instantaneous amplitude changes caused by the bubble's passage, and the frequency features reflect the scattering and modulation characteristics of the ultrasonic spectrum by the bubble. Through multi-dimensional feature fusion, real bubbles and non-bubble interference sources can be effectively distinguished in the feature space, overcoming the shortcomings of single threshold judgment which is easily affected by noise, and improving the accuracy and anti-interference capability of bubble detection. Furthermore, based on the difference in fused feature values ​​of the same candidate target region in multiple consecutive frames... An anomalies and the differences between the time difference of candidate target areas appearing on different ultrasound transducers and the theoretical time difference were analyzed to construct a dynamic evaluation value. This dynamic evaluation value utilizes both the temporal evolution consistency of bubbles moving with blood flow and the temporal matching of bubbles appearing on transducers at different spatial locations. It can effectively eliminate false targets such as tube wall deposits and fixed contaminants that are static or non-uniformly moving, thereby accurately screening out real moving bubbles and reducing the false alarm rate. A comprehensive risk index is obtained based on the corrected echo characteristics corresponding to the screened real bubbles, and the warning level is determined based on this comprehensive risk index. This comprehensive risk index comprehensively reflects the overall risk level of real bubbles, avoiding the one-sidedness and lag caused by risk judgment based on a single bubble feature. It realizes real-time and accurate early warning of bubble risk in blood recovery tubing, providing a reliable and timely decision-making basis for clinical intervention and effectively ensuring patient safety. Attached Figure Description

[0015] To more clearly illustrate the technical solutions and advantages in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0016] Figure 1 A flowchart illustrating a real-time ultrasonic detection and early warning method for recovering air bubbles in a blood tubing, provided by an embodiment of the present invention; Figure 2 The waveform diagram shows the echo amplitude of the three channels; Figure 3 A graph showing the sound speed correction factor; Figure 4 This is a comparison chart of the echo amplitude before and after correction; Figure 5 This is a graph showing the results of blood parameter data collection; Figure 6 The timing matching results for the three transducers are shown in the diagram. Figure 7 A data distribution map that integrates feature values ​​and dynamic evaluation values; Figure 8 This is a diagram showing the proportion of real bubbles; Figure 9 This is a diagram showing the equivalent diameter distribution of bubbles; Figure 10 This is a data distribution diagram of scattering intensity versus equivalent diameter. Detailed Implementation

[0017] The following describes in detail, with reference to the accompanying drawings, a specific scheme for a real-time ultrasonic detection and early warning method for recovering air bubbles in a blood pipeline provided by the present invention.

[0018] An example of a method for real-time ultrasonic detection and early warning of air bubbles in blood tubing: This embodiment proposes a method for real-time ultrasonic detection and early warning of air bubbles in blood tubing, such as... Figure 1 As shown, the ultrasonic real-time detection and early warning method for air bubbles in a blood recovery pipeline according to this embodiment includes the following steps: Step S1: Obtain ultrasound echo data and blood parameter data from the blood recovery tubing.

[0019] In the process of real-time ultrasonic detection and early warning of air bubbles in the blood recovery pipeline, three sets of 20MHz integrated ultrasonic transducers for transmitting and receiving are first arranged equidistantly along the blood recovery pipeline. The three sets of transducers are equidistant along the pipeline axis and staggered by 120° in the circumferential direction to cover the entire cross-section of the pipeline and avoid missing edge air bubbles. The sampling trigger condition is that continuous sampling begins when the echo amplitude deviates from the baseline value by 5%. The sampling window is 20ms before and after the air bubble passes through. The acquired data is ultrasonic echo data, which includes echo amplitude, phase, time-domain waveform, and spectral characteristics. The sampling frequency is 20MHz. The echo amplitude waveform of the three channels (three sets of ultrasonic transducers) is shown below. Figure 2 As shown. Then, blood parameter data is directly read from the built-in sensors of the existing blood recovery equipment. The blood parameter data includes blood flow rate, hematocrit, and blood temperature within the tubing. The sampling frequency for the blood parameter data is 10Hz. For example... Figure 5 As shown in the figure, this graph illustrates the results of blood parameter data collection.

[0020] Because there is a difference in the sampling frequency between ultrasound echo data and blood parameter data, the echo data and operating parameters at the same time need to be aligned according to the timestamp, with an alignment accuracy of 1ms, to ensure that the echo characteristics correspond one-to-one with the corresponding operating parameters and avoid feature correction errors caused by timing disorder.

[0021] It should be noted that the data mentioned below are all timestamp-aligned ultrasound echo data.

[0022] Thus, ultrasound echo data and blood parameter data from the blood recovery tubing were collected using the methods described above.

[0023] Step S2: Use the blood parameter data to perform acoustic propagation compensation correction on the ultrasound echo data to obtain the corrected echo features; extract candidate target regions based on the corrected echo features; fuse the temporal transient features and frequency scattering features of each candidate target region to obtain the fused feature value of each candidate target region.

[0024] Considering that the propagation speed and attenuation coefficient of ultrasound in blood are mainly affected by three parameters: hematocrit, temperature, and flow velocity, and that blood is not a fixed acoustic medium, changes in hematocrit alter acoustic impedance, temperature changes affect propagation speed, and blood flow generates Doppler frequency shift. Higher hematocrit results in stronger scattering of ultrasound by red blood cells and greater attenuation of echo amplitude; higher temperature leads to faster ultrasound propagation; and blood flow velocity causes Doppler frequency shift, resulting in echo phase and spectral shift. Bubbles of the same size will produce different amplitude and phase responses under different hematocrit, temperature, and flow velocity conditions. Therefore, this embodiment does not directly identify bubbles. Instead, it first establishes an acoustic propagation compensation model using synchronized blood condition parameters, converting the original ultrasound signal into standardized acoustic features after eliminating the influence of the operating conditions, providing a stable input for subsequent bubble identification.

[0025] Specifically, the sound velocity correction coefficient is determined based on the current hematocrit, current blood temperature, and current blood flow rate; the sound velocity correction coefficient can be expressed as: in, This is the sound speed correction factor. The current hematocrit, To calibrate the reference specific volume, The current blood temperature To calibrate the reference temperature, The current blood flow rate, Indicates the calibration reference flow rate. The weighting coefficient representing hematocrit. The weighting coefficient representing temperature. The weighting coefficient represents the flow velocity.

[0026] The weighting coefficients for hematocrit, temperature, and flow rate respectively characterize the relative sensitivity of sound velocity to changes in hematocrit, temperature, and flow rate. Their values ​​can be obtained through offline calibration experiments. In this embodiment, the weighting coefficient for hematocrit is 0.2, the weighting coefficient for temperature is 0.5, and the weighting coefficient for flow rate is 0.3.

[0027] The calibration reference hematocrit can be 40%, which is the average hematocrit of normal adult blood cells; the calibration reference temperature can be 37℃, which is the normal human body temperature; and the calibration reference flow rate can be 300ml / min, which is the typical constant pump speed of blood recovery equipment.

[0028] , and The relative deviations of current blood cell volume, current blood temperature, and current blood flow rate were quantified. By reducing the complexity of blood conditions and decoupling them into three independent dimensions—volume, temperature, and flow rate—precise dynamic tracking of the acoustic properties of non-Newtonian fluids was achieved.

[0029] The sound speed correction factor was determined using the above method, and its curve is shown below. Figure 3 As shown, the echo phase is corrected using a sound speed correction factor. The corrected echo phase can be expressed as: in, Indicates the corrected echo phase. The original acquired echo phase, The current blood flow rate, The time difference between echo transmission and reception. The ultrasonic emission frequency, As the reference speed of sound, This is the sound speed correction factor.

[0030] The reference sound speed is the sound speed in a normal blood environment, which is 1570 m / s in this embodiment.

[0031] Specifically, if the sound velocity correction factor is 0, then the corrected echo phase is directly set to be equal to the original acquired echo phase.

[0032] Since bubble detection relies primarily on changes in ultrasound echo intensity, and red blood cells in blood produce stronger scattering as their hematocrit increases, the echo amplitude decreases in the bubble-free state. Directly using an amplitude threshold would mistakenly identify high-hematocrit blood as containing bubbles. Therefore, the following step involves determining an amplitude correction coefficient based on hematocrit and flow velocity. This coefficient is then used to restore the actual echo amplitude under current conditions to the equivalent amplitude under standard blood conditions, thus preserving only the abnormal attenuation characteristics caused by bubbles.

[0033] As a specific implementation method, the amplitude correction coefficient can be determined in the following way: based on the current specific volume and flow rate, the reference echo amplitude when there are no bubbles under the current specific volume and flow rate is obtained by querying the specific volume-flow rate-amplitude mapping table established offline; the ratio of the reference echo amplitude when there are no bubbles under the calibration environment to the reference echo amplitude is used as the amplitude correction coefficient, wherein the reference echo amplitude when there are no bubbles under the calibration environment is calibrated before the equipment leaves the factory.

[0034] The echo amplitude and spectral characteristics are corrected using an amplitude correction coefficient. Specifically, for the echo amplitude, the product of the amplitude correction coefficient and the original echo amplitude is used as the corrected echo amplitude. For the spectral characteristics, the frequency axis of the original spectrum is multiplied by the sound velocity correction coefficient, and the amplitude of the original spectrum is multiplied by the amplitude correction coefficient to obtain the corrected spectrum. The corrected spectrum eliminates the effects of Doppler frequency shift caused by flow velocity and amplitude attenuation caused by specific capacitance. Figure 4 As shown in the figure, this figure illustrates the comparison results before and after echo amplitude correction.

[0035] Ultrasonic anomalies caused by bubbles not only manifest as transient amplitude changes but also lead to a redistribution of spectral energy. Single time-domain features are easily affected by red blood cell aggregation and mechanical vibration. Existing technologies only use time-domain amplitude thresholds for judgment, which cannot distinguish between interference signals such as bubbles, red blood cell aggregation, and tubing vibration. Therefore, this embodiment fuses time-domain features reflecting the transient rate of bubble change with frequency-domain features reflecting the scattering properties of bubbles, enabling a clear distinction between bubble signals and non-bubble interference in the feature space.

[0036] Specifically, the absolute value of the difference between the corrected echo amplitude and the preset reference value is calculated, and this absolute value is recorded as the echo amplitude deviation value. The larger the echo amplitude deviation value, the more the corrected echo amplitude deviates from the reference value. The preset reference value is the steady-state expectation of the bubble-free background echo amplitude under the current operating conditions after excluding random noise, and its value can be 95% of the current bubble-free baseline echo amplitude. Points with echo amplitude deviation values ​​greater than a preset deviation threshold are taken as target points. The preset deviation threshold is used to exclude false positive triggers, and its value can be 5% of the current bubble-free baseline echo amplitude.

[0037] If a segment of consecutive target points contains two sub-intervals, and the first sub-interval is an interval where the echo amplitude deviation shows an upward trend, and the second sub-interval is an interval where the echo amplitude deviation shows a downward trend, then the segment of consecutive target points is taken as a candidate target region. The corrected echo amplitude deviation of the candidate target region shows a transient waveform that first rises and then falls in time.

[0038] The specific method for obtaining the intervals where the echo amplitude deviation shows an upward trend and the intervals where the echo amplitude deviation shows a downward trend is as follows: Extract the echo amplitude deviation values ​​corresponding to all target points within the interval formed by continuous target points to construct a deviation value sequence; use the least squares method to perform curve fitting on the data values ​​in the deviation value sequence to obtain the corresponding fitted curve, and obtain the maximum point in the fitted curve, which is the peak point; the part of the sequence from the starting point to the peak point in the interval formed by continuous target points is taken as the interval where the echo amplitude deviation shows an upward trend; the part of the sequence from the peak point to the end point of the interval is divided into the interval where the echo amplitude deviation shows a downward trend.

[0039] The above methods can be used to filter out multiple candidate target regions. In the following embodiment, we will use one candidate target region as an example for explanation. Other candidate target regions can be processed using the methods provided in this embodiment.

[0040] Specifically, any candidate target region is designated as the region to be analyzed. First, the amplitude (after correction), rise time, fall time, and pulse width of the peak points in the region to be analyzed are normalized. Normalization can be performed using the maximum-minimum normalization method. When using this method, the minimum rise time and fall time are set to 0, and the maximum value is set to half the sampling window width of 20ms; the minimum pulse width is set to 0, and the maximum value is set to the total sampling window width of 40ms. The minimum and maximum values ​​of the peak point amplitude are the baseline echo amplitude under the current working condition without bubbles and the total reflection echo amplitude of the ultrasonic transducer under the calibration environment, respectively. In particular, when performing normalization, if the data is less than the corresponding minimum value, the normalization result is directly set to 0; if the data is greater than the corresponding maximum value, the normalization result is directly set to 1.

[0041] Then, the normalized results of the amplitude, rise time, fall time, and pulse width at the peak points of the region to be analyzed are weighted and summed. This sum is used as the time-domain feature value of the region to be analyzed. Here, the rise time is the duration of the first sub-interval, the fall time is the duration of the second sub-interval, and the pulse width is the time interval between the time of the last target point in a segment of consecutive target points corresponding to the region to be analyzed and the time of the first target point in that segment. When weighting and summing the normalized results of amplitude, rise time, fall time, and pulse width, the weights for each of these normalized results are 0.25.

[0042] The corrected echo signal of the region to be analyzed is subjected to Fourier transform to obtain the spectrum; the frequency corresponding to the maximum amplitude in the spectrum is extracted as the center frequency of the region to be analyzed; the center frequency offset is obtained by subtracting the ultrasonic transmission frequency from the center frequency of the region to be analyzed and taking the absolute value. The sum of squares of the amplitudes of all frequency points in the spectrum of the region to be analyzed is calculated as the total spectral energy; the frequency range covered by the region to be analyzed within a preset decibel bandwidth is obtained, and the sum of squares of the amplitudes of all frequency points within this frequency range is calculated as the effective frequency band energy; the effective frequency band energy is divided by the total spectral energy to obtain the spectral energy ratio of the region to be analyzed. The preset decibel bandwidth can be 6 dB.

[0043] Similarly, the center frequency offset, preset decibel bandwidth, and spectral energy ratio of the region to be analyzed are normalized. Normalization can be performed using the maximum-minimum value normalization method. When using this method, the minimum value of the center frequency offset is 0, and the maximum value is half of the transmission frequency, i.e., 10MHz; the minimum value of the spectral energy ratio is 0, and the maximum value is 1; the minimum value of the preset decibel bandwidth is 0, and the maximum value is 10MHz. Specifically, when performing normalization, if the data is less than the corresponding minimum value, the normalization result is directly set to 0; if the data is greater than the corresponding maximum value, the normalization result is directly set to 1. The normalized results of the center frequency offset, the preset decibel bandwidth, and the normalized result of the spectral energy proportion of the region to be analyzed are weighted and summed. This summation is used as the frequency domain feature value of the region to be analyzed. When performing the weighted summation of these three normalized results, the weights corresponding to each result are: .

[0044] Furthermore, the time-domain feature values ​​and frequency-domain feature values ​​of the region to be analyzed are weighted and summed according to preset weights to obtain the fused feature values ​​of the region to be analyzed.

[0045] As a specific implementation method, a specific formula for calculating the fusion feature value is given. The fusion feature value of the region to be analyzed can be expressed as: in, This represents the fusion feature value of the region to be analyzed. The weights represent the time-domain feature values. The weights represent the eigenvalues ​​in the frequency domain. This represents the time-domain characteristic value of the region to be analyzed. This represents the frequency domain characteristic value of the region to be analyzed.

[0046] In this embodiment, the weight of the time domain feature value is 0.4, and the weight of the frequency domain feature value is 0.6.

[0047] Using the above method, a fusion feature value can be obtained for each candidate target region. The smaller the fusion feature value, the less likely the corresponding region is to be a real bubble. Therefore, if the fusion feature value is less than the preset fusion feature threshold, the corresponding candidate target region is determined to be a non-real bubble. If the fusion feature value is greater than or equal to the preset fusion feature threshold, the corresponding candidate target region is determined to be a suspected real bubble. For suspected real bubbles, subsequent steps S3 and S4 need to be executed; for non-real bubbles, subsequent steps S3 and S4 do not need to be executed. The preset fusion feature threshold is the boundary of the classification hyperplane between the real bubble and the flow noise in the time-frequency multidimensional feature space. This value can be obtained statistically from historical bubble sample sets, for example, it can be 0.5.

[0048] Step S3: Based on the differences in the fusion feature values ​​of the same candidate target region across multiple consecutive frames, and the differences between the time difference and the theoretical time difference of the candidate target region appearing on different ultrasonic transducers, a dynamic evaluation value for each candidate target region is obtained; real bubbles are then selected based on the dynamic evaluation value.

[0049] Some interference sources (such as air bubbles adhering to the pipe wall or contaminants) have similar acoustic responses to air bubbles, but their spatial positions do not change with blood flow, while real air bubbles continuously change with blood movement. Therefore, the changes in fusion features are analyzed using continuous multi-frame data to obtain dynamic evaluation values ​​for candidate target regions. If the target position is fixed, its fusion features remain almost unchanged between frames, with the difference value close to zero; if the target moves with blood flow, its echo features will fluctuate significantly with changes in spatial position, resulting in a larger difference value. In this embodiment, a frame refers to a complete sliding sampling data window (e.g., 40ms data) that includes the passage of an air bubble before and after it.

[0050] The following explanation will still use the region to be analyzed as an example. Other candidate target regions can be processed using the method provided in this embodiment.

[0051] Specifically, for the region to be analyzed: the method in step S2 is used to obtain the fusion feature values ​​of the region to be analyzed in two consecutive frames (the current frame and the frame before the current frame), and the difference in the fusion feature values ​​of the region to be analyzed between consecutive adjacent frames is used as the motion confidence. The method for obtaining the difference in the fusion feature values ​​of the region to be analyzed between consecutive adjacent frames is as follows: calculate the absolute value of the difference between the fusion feature values ​​of the region to be analyzed in two consecutive adjacent frames (i.e., frame t and frame t-1, where frame t represents the current frame and frame t-1 represents the frame before the current frame), and use this absolute value as the difference in the fusion feature values ​​of the region to be analyzed between consecutive adjacent frames. Based on the internal cross-sectional area of ​​the blood recovery tubing, the volumetric velocity of the current blood flow rate is converted into the linear velocity of the blood flow within the tubing, and the ratio of the distance between adjacent transducers to the linear velocity of the blood flow within the tubing is used as the theoretical time difference. Specifically, if the linear velocity of the blood flow within the tubing is 0, it is determined to be in a stopped state, the theoretical time difference is not calculated, and the current bubble detection is terminated. Timing alignment is performed on the three transducers, such as... Figure 6 As shown in the figure, the timing matching results of the three transducers are illustrated. By combining the motion confidence and the difference between the time difference of the region under analysis at adjacent transducers and the theoretical time difference, the dynamic evaluation value of the region under analysis is obtained.

[0052] As a specific implementation method, a detailed formula for calculating the dynamic evaluation value is given. The dynamic evaluation value of the region to be analyzed can be expressed as: in, This represents the dynamic evaluation value of the region to be analyzed. This represents the motion confidence level of the region to be analyzed. This represents the time difference between the location of the region to be analyzed at the first ultrasonic transducer and the location of the second ultrasonic transducer. This represents the time difference between the location of the region to be analyzed at the second and third ultrasonic transducers. Indicates the theoretical time difference. This represents an exponential function with the natural constant as its base. Indicates the symbol for taking the absolute value; This represents the difference between the time difference observed in the region under analysis at the first and second ultrasonic transducers and the theoretical time difference. This represents the difference between the time difference at which the region under analysis appears at the second and third ultrasonic transducers and the theoretical time difference.

[0053] The time difference between the region to be analyzed appearing at the first and second ultrasonic transducers is: the difference between the time the region to be analyzed appears at the second ultrasonic transducer and the time the region to be analyzed appears at the first ultrasonic transducer; the time difference between the region to be analyzed appearing at the second and third ultrasonic transducers is: the difference between the time the region to be analyzed appears at the third ultrasonic transducer and the time the region to be analyzed appears at the second ultrasonic transducer.

[0054] Motion confidence characterizes the similarity of the fused feature values ​​of the same candidate target region when it flows through adjacent transducers. The greater the motion confidence of the region to be analyzed, and the smaller the difference between the time difference of the region to be analyzed at two adjacent ultrasonic transducers and the theoretical time difference, the greater the dynamic evaluation value of the region to be analyzed.

[0055] The dynamic evaluation value of the region to be analyzed was determined using the above method. When the dynamic evaluation value of the region to be analyzed is greater than the preset evaluation threshold, the region to be analyzed is determined to be a real bubble; when the dynamic evaluation value of the region to be analyzed is less than or equal to the preset evaluation threshold, the region to be analyzed is determined to be a non-real bubble, and in this case, the region to be analyzed belongs to dynamic interference and is removed. The data distribution results of fusing feature values ​​and dynamic evaluation values ​​are as follows: Figure 7 As shown in the figure. The preset evaluation threshold can be 0.6.

[0056] Using the above method, each candidate target region is evaluated separately, and multiple real bubbles are selected from all candidate target regions, such as... Figure 8 As shown in the figure, this graph illustrates the percentage of real bubbles that were filtered out.

[0057] Step S4: Obtain the comprehensive risk index based on the corrected echo characteristics corresponding to the real bubble; determine the corresponding early warning level based on the comprehensive risk index.

[0058] In this embodiment, multiple real air bubbles were screened out in step S3. Next, a qualitative analysis of the real air bubbles will be performed. Air bubbles of different sizes and numbers pose different orders of magnitude differences in the risk of embolism to patients. An air bubble risk assessment model will be constructed based on the analysis results of the real air bubbles to determine the risk level.

[0059] There is a clear physical relationship between bubble diameter and ultrasonic echo amplitude. In the Rayleigh scattering region (where the bubble diameter is much smaller than the ultrasonic wave length), the backscattering intensity of the bubble is proportional to the sixth power of the bubble radius; as the bubble diameter increases to be comparable to the wavelength, the scattering characteristics gradually transition to specular reflection.

[0060] Based on the above characteristics, the scattering intensity is calculated by comparing the echo amplitude of the peak point after correction of each real bubble with the baseline echo amplitude when there are no bubbles; based on the Rayleigh scattering relation, the equivalent diameter of each real bubble is determined by combining the scattering intensity.

[0061] For the r-th real bubble, the formulas for calculating its scattering intensity and equivalent diameter are as follows: in, This represents the scattering intensity of the r-th real bubble. This represents the echo amplitude at the peak point of the r-th real bubble after correction. This indicates the baseline echo amplitude under the current operating condition when there are no air bubbles. This represents the reference echo amplitude value under calibration conditions when there are no air bubbles. Let represent the equivalent diameter of the r-th real bubble. Indicates the reference diameter of the calibration bubble. This indicates the scattering intensity of the calibration bubble under the same operating conditions. This is used to characterize the relationship between scattering intensity and the sixth power of the diameter under Rayleigh scattering conditions.

[0062] The reference diameter of the calibration bubble is determined using a standard bubble of known diameter during factory calibration. In this embodiment, mm. The baseline echo amplitude under the current operating condition without air bubbles is obtained by averaging the values ​​of the sampling windows before and after each 20ms interval. This value is used to characterize the standard acoustic background value excluding the influence of blood media.

[0063] Specifically, when That is, when the denominator of the formula for calculating scattering intensity is 0, directly use... Divide by the reference echo amplitude under calibrated conditions when there are no bubbles. The resulting ratio is used as the scattering intensity of the actual bubble.

[0064] Using the above method, the equivalent diameter of each real bubble can be obtained. Figure 9 The equivalent diameter distribution of the bubbles is shown. Figure 10 The data distribution of scattering intensity versus equivalent diameter is shown; the harm caused to the human body varies significantly depending on the diameter of the bubble: micron-sized bubbles may be filtered by the pulmonary circulation, while millimeter-sized bubbles may directly cause embolism.

[0065] Furthermore, during continuous monitoring, real bubbles detected within a preset sliding time window are acquired. The ratio of the equivalent diameter of each real bubble to a preset danger diameter threshold is calculated. A ratio greater than 1 indicates that the bubble poses a significant embolic risk. The ratios of these real bubble equivalent diameters to the preset danger diameter threshold are summed, and the sum is used as a comprehensive risk index. The preset danger diameter threshold is generally set as the critical physical diameter of a bubble that can cause capillary or microartery embolism in clinical medicine, for example, 1 mm. The preset sliding time window can be the most recent 60 seconds.

[0066] After obtaining the comprehensive risk index, the warning level is determined by comparing the comprehensive risk index with the risk threshold. Specifically, a first risk threshold and a second risk threshold are first set. These two thresholds are used to classify different levels of risk to patients based on the bubble load. The first risk threshold corresponds to occasional microbubbles, and the second risk threshold corresponds to continuous or large-volume bubble groups. The first risk threshold can be 1.5, and the second risk threshold can be 3.5. When the comprehensive risk index is less than the first risk threshold, it indicates that the bubble load is low and the impact on the patient is small, falling within the safe range. In this case, it is judged as a safe level, and no warning is issued. When the comprehensive risk index is greater than or equal to the first risk threshold and less than the second risk threshold, it indicates that there are a small number of bubbles, and the equivalent diameter of the bubbles is slightly larger, which is considered low risk. In this case, it is judged as the first risk level. When the comprehensive risk index is greater than or equal to the second risk threshold, it indicates that a large number of bubbles are generated, and the equivalent diameter of the bubbles is large, which will cause serious harm to the patient. In this case, it is considered high risk, and it is judged as the second risk level, and a warning is issued.

[0067] Thus, by using the method provided in this embodiment, real-time ultrasonic detection and accurate early warning of air bubbles in the blood recovery pipeline have been achieved.

[0068] This embodiment acquires ultrasonic echo data and blood parameter data, and uses the blood parameters to perform acoustic propagation compensation correction on the ultrasonic echo, effectively eliminating the influence of changes in blood conditions on ultrasonic propagation. This ensures that the corrected echo features can truly reflect the acoustic properties of the bubble itself, avoiding signal drift and misjudgment caused by changes in the blood medium, and improving the stability and environmental adaptability of the detection. Based on the corrected echo features, candidate target regions are extracted, and the temporal transient features and frequency scattering features of the candidate target regions are fused. The temporal features reflect the instantaneous amplitude changes caused by the bubble passing through, and the frequency features reflect the scattering modulation characteristics of the bubble on the ultrasonic spectrum. Through multi-dimensional feature fusion, real bubbles and non-bubble interference sources can be effectively distinguished in the feature space, overcoming the defect of single threshold judgment being susceptible to noise, and improving the accuracy and anti-interference capability of bubble detection. Furthermore, based on the feature values ​​of the same candidate target region fused in multiple consecutive frames... By analyzing the differences in the time difference between the candidate target area appearing on different ultrasound transducers and the theoretical time difference, a dynamic evaluation value was constructed. This dynamic evaluation value utilizes both the temporal evolution consistency of bubbles moving with blood flow and the temporal matching of bubbles appearing on transducers at different spatial locations. It can effectively eliminate false targets such as tube wall deposits and fixed contaminants that are static or non-uniformly moving, thereby accurately screening out real moving bubbles and reducing the false alarm rate. A comprehensive risk index is obtained based on the corrected echo characteristics corresponding to the screened real bubbles, and the warning level is determined based on this comprehensive risk index. This comprehensive risk index comprehensively reflects the overall risk level of real bubbles, avoiding the one-sidedness and lag caused by risk judgment based on a single bubble feature. It realizes real-time and accurate early warning of bubble risk in blood recovery tubing, providing a reliable and timely decision-making basis for clinical intervention and effectively ensuring patient safety.

Claims

1. A method for real-time ultrasonic detection and early warning of air bubbles in blood tubing, characterized in that, The method includes the following steps: Acquire ultrasound echo data and blood parameter data from the blood recovery tubing; The ultrasound echo data is corrected by sound propagation compensation using the blood parameter data to obtain corrected echo features; candidate target regions are extracted based on the corrected echo features; the temporal transient features and frequency scattering features of each candidate target region are fused to obtain the fused feature value of each candidate target region; Based on the differences in the fusion feature values ​​of the same candidate target region across multiple consecutive frames, and the differences between the time difference of the candidate target region appearing on different ultrasonic transducers and the theoretical time difference, a dynamic evaluation value for each candidate target region is obtained; real bubbles are then selected based on the dynamic evaluation value. A comprehensive risk index is obtained based on the corrected echo characteristics corresponding to the actual bubbles; the corresponding early warning level is determined based on the comprehensive risk index.

2. The method for real-time ultrasonic detection and early warning of air bubbles in a blood recovery pipeline according to claim 1, characterized in that, The step of using the blood parameter data to perform acoustic propagation compensation correction on the ultrasound echo data includes: The blood parameter data includes hematocrit, temperature, and flow rate; The sound velocity correction coefficient is determined based on hematocrit, temperature, and flow rate; the sound velocity correction coefficient is then used to correct the echo phase and spectral frequency axis. The amplitude correction coefficient is determined based on hematocrit and flow velocity; the echo amplitude is corrected using the amplitude correction coefficient. The spectral characteristics are corrected using the sound speed correction coefficient and the amplitude correction coefficient.

3. The method for real-time ultrasonic detection and early warning of air bubbles in a blood recovery pipeline according to claim 2, characterized in that, The step of extracting candidate target regions based on the corrected echo features includes: Calculate the echo amplitude deviation based on the corrected echo amplitude and the preset reference value; Target points are selected by comparing the magnitude of the echo amplitude deviation with a preset deviation threshold. If a segment of consecutive target points contains two sub-intervals, and the first sub-interval is an interval where the echo amplitude deviation shows an upward trend, and the second sub-interval is an interval where the echo amplitude deviation shows a downward trend, then the segment of consecutive target points is taken as a candidate target region.

4. The method for real-time ultrasonic detection and early warning of air bubbles in a blood recovery pipeline according to claim 3, characterized in that, The step of filtering target points by comparing the magnitude of the echo amplitude deviation with a preset deviation threshold includes: selecting points whose echo amplitude deviation is greater than the preset deviation threshold as target points.

5. The method for real-time ultrasonic detection and early warning of air bubbles in a blood recovery pipeline according to claim 3, characterized in that, The fusion of the temporal transient features and frequency scattering features of each candidate target region yields a fused feature value for each candidate target region, including: The normalized results of the peak point correction amplitude, rise time, fall time and pulse width of the region to be analyzed are weighted and summed to obtain the time domain characteristic value of the region to be analyzed. The normalized results of the center frequency offset, preset decibel bandwidth, and spectral energy ratio of the region to be analyzed are weighted and summed to obtain the frequency domain characteristic value of the region to be analyzed. The time-domain feature values ​​and the frequency-domain feature values ​​are weighted and summed according to preset weights to obtain the fused feature values ​​of the region to be analyzed. The region to be analyzed can be any candidate target region.

6. The method for real-time ultrasonic detection and early warning of air bubbles in a blood recovery pipeline according to claim 1, characterized in that, If the fusion feature value is less than the preset fusion feature threshold, the corresponding candidate target region is determined to be a non-real bubble.

7. The method for real-time ultrasonic detection and early warning of air bubbles in a blood recovery pipeline according to claim 4, characterized in that, The dynamic evaluation value of each candidate target region is obtained based on the differences in the fused feature values ​​of the same candidate target region across multiple consecutive frames, and the differences between the time difference of the candidate target region appearing on different ultrasonic transducers and the theoretical time difference. This includes: For the region to be analyzed: The difference in fused feature values ​​of the region to be analyzed between consecutive adjacent frames is used as the motion confidence score. By combining the motion confidence level and the difference between the time difference of the region under analysis at adjacent transducers and the theoretical time difference, a dynamic evaluation value is obtained; The theoretical time difference is determined based on the current blood flow rate and the distance between adjacent transducers.

8. The method for real-time ultrasonic detection and early warning of air bubbles in a blood recovery pipeline according to claim 1, characterized in that, The step of filtering real bubbles based on the dynamic evaluation value includes: when the dynamic evaluation value is greater than a preset evaluation threshold, determining the corresponding candidate target area as a real bubble.

9. The method for real-time ultrasonic detection and early warning of air bubbles in a blood recovery pipeline according to claim 2, characterized in that, The process of obtaining the comprehensive risk index based on the corrected echo characteristics corresponding to the actual bubble includes: The scattering intensity is calculated based on the echo amplitude of the peak point after correction for each real bubble and the baseline echo amplitude when there are no bubbles; the equivalent diameter of each real bubble is determined based on the Rayleigh scattering relation and the scattering intensity. The comprehensive risk index is obtained by summing the ratios of the equivalent diameters of all real bubbles detected within a preset sliding time window to a preset dangerous diameter threshold.

10. The method for real-time ultrasonic detection and early warning of air bubbles in a blood recovery pipeline according to claim 1, characterized in that, The determination of the corresponding early warning level based on the comprehensive risk index includes: When the comprehensive risk index is less than the first risk threshold, it is determined to be at a safe level; When the comprehensive risk index is greater than or equal to the first risk threshold and less than the second risk threshold, it is determined to be at the first risk level; When the comprehensive risk index is greater than or equal to the second risk threshold, it is determined to be at the second risk level and an early warning is issued; The first risk threshold is less than the second risk threshold.