DEVICE AND METHOD FOR RAPID DETECTION OF BLOOD VISCOSITY BASED ON ULTRASONIC GUIDED WAVE OF MICRO-FINE METAL TUBE

20230404410 ยท 2023-12-21

    Inventors

    Cpc classification

    International classification

    Abstract

    A device and a method for rapid detection of blood viscosity based on an ultrasonic guided wave of a micro-fine metal tube are provided. The device comprises a blood sampling unit and a blood sampling electrical circuit that are electrically connected with each other and a device shell; the sample feeding tube and the sample discharging tube are respectively arranged at two sides of the device shell, the inlet of the sampling tube is communicated with the outside of the device shell, the outlet of the sampling tube is communicated with the inlet of the blood micro-flow pump through the micro-fine metal tube, the outlet of the blood micro-flow pump is communicated with the inlet of the sample discharging tube, and the outlet of the sample discharging tube is communicated with the outside of the device shell; the magnetostrictive component is arranged outside the micro-fine metal tube.

    Claims

    1. A device for rapid detection of blood viscosity in micro-fine metal tube based on torsional guided wave, comprising a device shell, a blood sampling unit and a blood sampling electrical circuit, wherein the blood sampling unit and the blood sampling electrical circuit are arranged on the device shell and are electrically connected to each other; the blood sampling unit comprises an external blood sampling module, a sample transportation pipeline, a micro-fine metal tube (5) and a blood micro-flow pump (7), the sample transportation pipeline comprises a sample feeding tube (4) and a sample discharging tube (6), the sample feeding tube (4) and the sample discharging tube (6) are respectively arranged on two sides of a device shell, an inlet of the sample feeding tube (4) is communicated with the outside of the device shell and is used for being connected with the external blood sampling module, an outlet of the sample feeding tube (4) is communicated with an inlet of the blood micro-flow pump (7) through the micro-fine metal tube (5), an outlet of the blood micro-flow pump (7) is communicated with an inlet of the sample discharging tube (6), and an outlet of the sample discharging tube (6) is communicated with the outside of the device shell; a magnetostrictive component is arranged outside the micro-fine metal tube (5), the magnetostrictive component comprises a permanent magnet (17), a coil (18) and a magnetostrictive powder coating (19), the magnetostrictive powder coating (19) is coated on an outer surface of the micro-fine metal tube (5), the coil (18) is wound outside the magnetostrictive powder coating (19), and the permanent magnets (17) are symmetrically arranged on two sides outside the coil (18).

    2. The device for rapid detection of blood viscosity in micro-fine metal based on torsional guided wave according to claim 1, wherein the external blood sampling module comprises a sampling needle (2) and a blood sampling bag (3), the blood sampling bag (3) is connected with the sample feeding tube (4), and the blood sampling bag (3) is configured for sampling blood in veins of a human body through the sampling needle (2).

    3. The device for rapid detection of blood viscosity in micro-fine metal tube based on torsional guided wave according to claim 1, wherein the blood micro-flow pump (7) and the coil (18) are connected to a blood sampling electrical circuit, and the blood sampling electrical circuit comprises a main control unit (8), a guided wave excitation unit (11), a pulse generation module (12), a power amplification module (13), an echo receiving unit (14), a pre-amplification module (15) and a data acquisition module (16); the main control unit (8) is connected with the display module (9), the main control unit (8) is connected with the blood micro-flow pump (7) through a micro-flow pump control module (10), the main control unit (8) is connected with two ends of the coil (18) through the guided wave excitation unit (11), the pulse generation module (12) and the power amplification module (13) in sequence, and the two ends of the coil (18) are connected with the main control unit (8) through the data acquisition module (16), the pre-amplification module (15) and the echo receiving unit (14) in sequence.

    4. The device for rapid detection of blood viscosity in micro-fine metal tube based on torsional guided wave according to claim 3, wherein the main control unit (8) arranges an original excitation pulse digital signal and then sends the digital signal to the guided wave excitation unit (11), the digital signal is converted into an analog signal by the pulse generation module (12), the analog signal is amplified by the power of the power amplification module (13) and then applied to a guided wave transducer formed by a coil (18) and a permanent magnet (17), and the guided wave signal is coupled to the micro-fine metal tube (5) by the guided wave transducer; when the guided wave transducer receives the echo of the guided wave, the received echo signal is sent to the main control unit (8) for data processing after passing the data acquisition module (16) and then being subjected to pre-amplification by the pre-amplification module (15) in sequence, and the result is displayed on the display module (9) after the viscosity is predicted by a detection method.

    5. A method for detecting blood viscosity based on machine learning configured for the device of claim 1, wherein: 1) calculating by a semi-analytic finite element method to obtain a dispersion characteristic curve of guided wave modal of the liquid-filled micro-fine metal tube (5) according to structural geometric parameters and material mechanics characteristic parameters of the micro-fine metal tube (5), and selecting guided wave excitation frequency according to the dispersion characteristic curve of guided wave modal; 2) taking water at 36 C. as a solvent, using a thickening agent as a solute, preparing liquids with different concentrations to obtain liquids with different viscosities, and measuring the viscosities of the prepared liquids by using a commercial standard viscometer to obtain actual viscosities; 3) filling liquid with different viscosities into the micro-fine metal tube (5), obtaining time of flight TOF and amplitude AMP of guided wave in the micro-fine metal tube (5) by acquiring and then processing echo signals under the guided wave excitation of T (0, 1) of guided wave excitation frequency, and then calculating absolute time of flight TOF and amplitude attenuation ratio w according to the time of flight TOF and amplitude AMP of guided wave; 4) establishing a linear regression model among the absolute time of flight TOF, the amplitude attenuation ratio w and the viscosity, predicting two input variables of the absolute time of flight TOF and the amplitude attenuation ratio w by the linear regression model to obtain a predicted viscosity, establishing a loss function measurement according to a difference value between the predicted viscosity and the actual viscosity, and optimizing the model by using a gradient descent optimization method; 5) adding the blood sample into a micro-fine metal tube (5) under a condition of to be detected, repeating steps 3) and 4) to obtain the absolute time of flight TOF and the amplitude attenuation ratio w, input the absolute time of flight TOF and the amplitude attenuation ratio w into a linear regression model for processing and output an obtained viscosity, and optimize the model by using a gradient descent optimization method.

    6. The method for detecting blood viscosity based on machine learning according to claim 5, wherein: in step 1), the guided wave modal is a T (0, 1) modal guided wave.

    7. The method for detecting blood viscosity based on machine learning according to claim 5, wherein: according to the dispersion characteristic curve of the micro-fine metal tube in the step 1), when the viscosity of filled liquid in the micro-fine metal tube (5) is increased, the dispersion curve displaces to the right, which indicates that with the same frequency, a propagation speed of a guided wave in an inner wall of the micro-fine metal tube (5) is higher when the viscosity of filled liquid is larger, and the time of flight TOF of the guided wave is shorter.

    8. The method for detecting blood viscosity based on machine learning according to claim 5, wherein: the thickening agent in the step 2) is hydroxyethyl cellulose (HEC) powder.

    9. The method for detecting blood viscosity based on machine learning according to claim 5, wherein: in the step 4), the linear regression model specifically is:
    =k.sub.1*TOF+k.sub.2*w wherein k1 and k2 are a first model coefficient and a second model coefficient, and represents viscosity; the loss function uses the mean square error as the function return value, and is calculated as: J = 1 2 .Math. i = 1 m ( h ( x i ) - y i ) 2 wherein J represents the mean square error between the predicted viscosity and the actual viscosity, h(x.sup.i) is the predicted viscosity obtained by processing the absolute time of flight TOF and the amplitude attenuation ratio w through the linear regression model, y.sup.i is the actual viscosity of the solution prepared by using a standard viscometer, i represents the ith part of HEC powder solution, and m represents the total parts of the HEC powder solution.

    10. A method for detecting blood viscosity based on machine learning configured for the device of claim 2, wherein: 1) calculating by a semi-analytic finite element method to obtain a dispersion characteristic curve of guided wave modal of the liquid-filled micro-fine metal tube (5) according to structural geometric parameters and material mechanics characteristic parameters of the micro-fine metal tube (5), and selecting guided wave excitation frequency according to the dispersion characteristic curve of guided wave modal; 2) taking water at 36 C. as a solvent, using a thickening agent as a solute, preparing liquids with different concentrations to obtain liquids with different viscosities, and measuring the viscosities of the prepared liquids by using a commercial standard viscometer to obtain actual viscosities; 3) filling liquid with different viscosities into the micro-fine metal tube (5), obtaining time of flight TOF and amplitude AMP of guided wave in the micro-fine metal tube (5) by acquiring and then processing echo signals under the guided wave excitation of T (0, 1) of guided wave excitation frequency, and then calculating absolute time of flight TOF and amplitude attenuation ratio w according to the time of flight TOF and amplitude AMP of guided wave; 4) establishing a linear regression model among the absolute time of flight TOF, the amplitude attenuation ratio w and the viscosity, predicting two input variables of the absolute time of flight TOF and the amplitude attenuation ratio w by the linear regression model to obtain a predicted viscosity, establishing a loss function measurement according to a difference value between the predicted viscosity and the actual viscosity, and optimizing the model by using a gradient descent optimization method; 5) adding the blood sample into a micro-fine metal tube (5) under a condition of to be detected, repeating steps 3) and 4) to obtain the absolute time of flight TOF and the amplitude attenuation ratio w, input the absolute time of flight TOF and the amplitude attenuation ratio w into a linear regression model for processing and output an obtained viscosity, and optimize the model by using a gradient descent optimization method.

    11. The method for detecting blood viscosity based on machine learning according to claim 10, wherein: in step 1), the guided wave modal is a T (0, 1) modal guided wave.

    12. The method for detecting blood viscosity based on machine learning according to claim 10, wherein: according to the dispersion characteristic curve of the micro-fine metal tube in the step 1), when the viscosity of filled liquid in the micro-fine metal tube (5) is increased, the dispersion curve displaces to the right, which indicates that with the same frequency, a propagation speed of a guided wave in an inner wall of the micro-fine metal tube (5) is higher when the viscosity of filled liquid is larger, and the time of flight TOF of the guided wave is shorter.

    13. The method for detecting blood viscosity based on machine learning according to claim 10, wherein: the thickening agent in the step 2) is hydroxyethyl cellulose (HEC) powder.

    14. The method for detecting blood viscosity based on machine learning according to claim 10, wherein: in the step 4), the linear regression model specifically is:
    =k.sub.1*TOF+k.sub.2*w wherein k1 and k2 are a first model coefficient and a second model coefficient, and represents viscosity; the loss function uses the mean square error as the function return value, and is calculated as: J = 1 2 .Math. i = 1 m ( h ( x i ) - y i ) 2 wherein J represents the mean square error between the predicted viscosity and the actual viscosity, h(x.sup.i) is the predicted viscosity obtained by processing the absolute time of flight TOF and the amplitude attenuation ratio w through the linear regression model, y.sup.i is the actual viscosity of the solution prepared by using a standard viscometer, i represents the ith part of HEC powder solution, and m represents the total parts of the HEC powder solution.

    15. A method for detecting blood viscosity based on machine learning configured for the device of claim 3, wherein: 1) calculating by a semi-analytic finite element method to obtain a dispersion characteristic curve of guided wave modal of the liquid-filled micro-fine metal tube (5) according to structural geometric parameters and material mechanics characteristic parameters of the micro-fine metal tube (5), and selecting guided wave excitation frequency according to the dispersion characteristic curve of guided wave modal; 2) taking water at 36 C. as a solvent, using a thickening agent as a solute, preparing liquids with different concentrations to obtain liquids with different viscosities, and measuring the viscosities of the prepared liquids by using a commercial standard viscometer to obtain actual viscosities; 3) filling liquid with different viscosities into the micro-fine metal tube (5), obtaining time of flight TOF and amplitude AMP of guided wave in the micro-fine metal tube (5) by acquiring and then processing echo signals under the guided wave excitation of T (0, 1) of guided wave excitation frequency, and then calculating absolute time of flight TOF and amplitude attenuation ratio w according to the time of flight TOF and amplitude AMP of guided wave; 4) establishing a linear regression model among the absolute time of flight TOF, the amplitude attenuation ratio w and the viscosity, predicting two input variables of the absolute time of flight TOF and the amplitude attenuation ratio w by the linear regression model to obtain a predicted viscosity, establishing a loss function measurement according to a difference value between the predicted viscosity and the actual viscosity, and optimizing the model by using a gradient descent optimization method; 5) adding the blood sample into a micro-fine metal tube (5) under a condition of to be detected, repeating steps 3) and 4) to obtain the absolute time of flight TOF and the amplitude attenuation ratio w, input the absolute time of flight TOF and the amplitude attenuation ratio w into a linear regression model for processing and output an obtained viscosity, and optimize the model by using a gradient descent optimization method.

    16. The method for detecting blood viscosity based on machine learning according to claim 15, wherein: in step 1), the guided wave modal is a T (0, 1) modal guided wave.

    17. The method for detecting blood viscosity based on machine learning according to claim 15, wherein: according to the dispersion characteristic curve of the micro-fine metal tube in the step 1), when the viscosity of filled liquid in the micro-fine metal tube (5) is increased, the dispersion curve displaces to the right, which indicates that with the same frequency, a propagation speed of a guided wave in an inner wall of the micro-fine metal tube (5) is higher when the viscosity of filled liquid is larger, and the time of flight TOF of the guided wave is shorter.

    18. The method for detecting blood viscosity based on machine learning according to claim 15, wherein: the thickening agent in the step 2) is hydroxyethyl cellulose (HEC) powder.

    19. The method for detecting blood viscosity based on machine learning according to claim 15, wherein: in the step 4), the linear regression model specifically is:
    =k.sub.1*TOF+k.sub.2*w wherein k1 and k2 are a first model coefficient and a second model coefficient, and represents viscosity; the loss function uses the mean square error as the function return value, and is calculated as: J = 1 2 .Math. i = 1 m ( h ( x i ) - y i ) 2 wherein J represents the mean square error between the predicted viscosity and the actual viscosity, h(x.sup.i) is the predicted viscosity obtained by processing the absolute time of flight TOF and the amplitude attenuation ratio w through the linear regression model, y.sup.i is the actual viscosity of the solution prepared by using a standard viscometer, i represents the ith part of HEC powder solution, and m represents the total parts of the HEC powder solution.

    20. A method for detecting blood viscosity based on machine learning configured for the device of claim 4, wherein: 1) calculating by a semi-analytic finite element method to obtain a dispersion characteristic curve of guided wave modal of the liquid-filled micro-fine metal tube (5) according to structural geometric parameters and material mechanics characteristic parameters of the micro-fine metal tube (5), and selecting guided wave excitation frequency according to the dispersion characteristic curve of guided wave modal; 2) taking water at 36 C. as a solvent, using a thickening agent as a solute, preparing liquids with different concentrations to obtain liquids with different viscosities, and measuring the viscosities of the prepared liquids by using a commercial standard viscometer to obtain actual viscosities; 3) filling liquid with different viscosities into the micro-fine metal tube (5), obtaining time of flight TOF and amplitude AMP of guided wave in the micro-fine metal tube (5) by acquiring and then processing echo signals under the guided wave excitation of T (0, 1) of guided wave excitation frequency, and then calculating absolute time of flight TOF and amplitude attenuation ratio w according to the time of flight TOF and amplitude AMP of guided wave; 4) establishing a linear regression model among the absolute time of flight TOF, the amplitude attenuation ratio w and the viscosity, predicting two input variables of the absolute time of flight TOF and the amplitude attenuation ratio w by the linear regression model to obtain a predicted viscosity, establishing a loss function measurement according to a difference value between the predicted viscosity and the actual viscosity, and optimizing the model by using a gradient descent optimization method; 5) adding the blood sample into a micro-fine metal tube (5) under a condition of to be detected, repeating steps 3) and 4) to obtain the absolute time of flight TOF and the amplitude attenuation ratio w, input the absolute time of flight TOF and the amplitude attenuation ratio w into a linear regression model for processing and output an obtained viscosity, and optimize the model by using a gradient descent optimization method.

    Description

    BRIEF DESCRIPTION OF THE DRAWINGS

    [0039] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without creative efforts.

    [0040] FIG. 1 is a view of the composition structure of a blood viscosity measuring device;

    [0041] FIG. 2 is a flow chart of the operation of the blood viscosity measuring device;

    [0042] FIG. 3 is a schematic diagram of a method for rapidly measuring blood viscosity;

    [0043] FIG. 3a is a diagram showing the variation of dispersion curve of the liquid-filled metal tubes with different viscosities;

    [0044] FIG. 3b is a diagram showing the variation of the echo velocity of liquid-filled metal tubes with different viscosities;

    [0045] FIG. 3c is a diagram showing the variation of the echo amplitudes of the liquid-filled metal tubes with different viscosities;

    [0046] FIG. 4 is a graph showing the relationship of torsional guided wave echo TOF, W versus viscosity;

    [0047] FIG. 5a is a training effect diagram of a viscosity prediction model;

    [0048] FIG. 5b is a diagram showing the results of model parameter calculation.

    [0049] In the figures: 1shell, 2sampling needle; 3blood sampling bag; 4sample feeding tube; 5micro-fine metal tube; 6sample discharging tube; 7micro-pump; 8main control unit; 9display module; 10micro-flow pump control module; 11guided wave excitation unit; 12pulse generating module; 13power amplification module; 14echo receiving unit; 15pre-amplification module; 16data acquisition module; 17permanent magnet; 18coil; 19magnetostrictive powder coating.

    DETAILED DESCRIPTION OF THE EMBODIMENTS

    [0050] The technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the drawings in the embodiments of the present disclosure, and it is obvious that the described embodiments are only a part of the embodiments of the present disclosure, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present disclosure, belong to the protection scope of the present disclosure.

    [0051] As shown in FIG. 1, the device includes a device shell, and a blood sampling unit and a blood sampling circuit mounted to the device shell, the blood sampling unit and the blood sampling electrical circuit being electrically connected to each other;

    [0052] the blood sampling unit comprises an external blood sampling module, a sample transportation pipeline, a micro-fine metal tube 5 and a blood micro-flow pump 7, the external blood sampling module is connected with a disposable blood sampling needle or a collected blood sample, and the blood micro-flow pump 7 is configured for controlling blood to be sucked and sending the blood into the micro-fine metal tube 5 for detection; after the detection is completed, the blood sample in the micro-fine metal tube 5 is sent out through the sample transportation pipeline and washed three times by distilled water.

    [0053] The sample transportation pipeline comprises a sample feeding tube 4 and a sample discharging tube 6, the sample feeding tube 4 and the sample discharging tube 6 are respectively arranged at two sides of the device shell, the inlet of the sample feeding tube 4 is communicated with the outside of the device shell and is used for connecting an external blood sampling module, the outlet of the sample feeding tube 4 is communicated with the inlet of a blood micro-flow pump 7 through a micro-fine metal tube 5, a rubber hose, the outlet of the blood micro-flow pump 7 is communicated with the inlet of the sample discharging tube 6, and the outlet of the sample discharging tube 6 is communicated with the outside of the device shell; a sample transportation pipeline and a micro-fine metal tube 5 are fixed in the device shell. The diameter range of the micro-fine metal tube 5 is 0.1 mm-2 mm, and the length is 5 mm-50 mm.

    [0054] The sample transportation pipeline is a rubber hose, is connected with the inlet of the device shell and the two sides of the blood micro-flow pump 7, and can be replaced.

    [0055] A magnetostrictive component is arranged outside the micro-fine metal tube 5, the magnetostrictive component comprises a permanent magnet 17, a coil 18 and a magnetostrictive powder coating 19, the magnetostrictive powder coating 19 is coated on the outer surface of the micro-fine metal tube 5, the coil 18 is wound outside the magnetostrictive powder coating 19, and the permanent magnets 17 are symmetrically arranged on two sides outside the coil 18.

    [0056] One side of the circumference of the micro-fine metal tube 5 is plated with a layer of magnetostrictive powder to form a magnetostrictive powder coating 19, and the circumference is wrapped with a magnetostrictive torsional waveguide transducer which consists of a magnet and a coil, wherein two magnets are used as permanent magnets 17 to provide a permanent magnetic field, and a pulse echo mode is utilized to carry out guided wave excitation and reception.

    [0057] The diameter range of the micro-fine metal tube 5 is 0.1 mm-2 mm, the length is 5 mm-50 mm, a ferromagnetic tube (such as a carbon steel tube and a stainless steel tube) or a non-ferromagnetic tube (such as an aluminum tube and a copper tube) is used, a magnetostrictive powder coating is sprayed on the non-ferromagnetic tube to transmit T (0, 1) guided waves, the ferromagnetic tube can transmit T (0, 1) modal guided waves, and the guided waves are more favorably transmitted in the micro-fine metal tube after the magnetostrictive powder coating is sprayed.

    [0058] The magnetostrictive powder coating material is FeCo, FeGa, NiMnGa or Terfelnol-D and the like, and the magnetostrictive powder spraying process adopts an ultrasonic cold spraying or hot spraying process.

    [0059] The external blood sampling module comprises a sampling needle 2 and a blood sampling bag 3, the blood sampling bag 3 is connected with a sample feeding tube 4, and the blood sampling bag 3 is used for sampling blood in veins of a human body through the sampling needle 2. The collection modes include blood collection by direct venous blood taking needle and blood collection by blood samples of blood collection bags.

    [0060] The external blood sampling module can directly carry out detection on the blood sampling and feeding device for vein of human body when being connected with the disposable blood sampling needle, and can carry out blood sampling firstly and then feed the blood into the device when being connected with a blood sample.

    [0061] The blood micro-flow pump 7 and the coil 18 are connected to a blood sampling electrical circuit, and the blood sampling electrical circuit comprises a main control unit 8, a guided wave excitation unit 11, a pulse generation module 12, a power amplification module 13, an echo receiving unit 14, a pre-amplification module 15 and a data acquisition module 16; the main control unit 8 is connected with the display module 9, the main control unit 8 is connected with the blood micro-flow pump 7 through the micro-flow pump control module 10, the main control unit 8 is connected with two ends of the coil 18 through the guided wave excitation unit 11, the pulse generation module 12 and the power amplification module 13 in sequence, furthermore, two ends of the coil 18 are connected with the main control unit 8 through the data acquisition module 16, the pre-amplification module 15 and the echo receiving unit 14 in sequence. The guided wave excitation unit is mainly composed of a guided wave excitation unit 11, a pulse generation module 12 and a power amplification module 13, and the guided wave receiving unit is mainly composed of a data acquisition module 16, a pre-amplification module 15 and an echo receiving unit 14.

    [0062] The main control unit 8 arranges an original excitation pulse digital signal and then sends the signal to the guided wave excitation unit 11, the signal is converted into an analog signal by the pulse generation module 12, the analog signal is amplified by the power of the power amplification module 13 and then applied to a guided wave transducer formed by a coil 18 and a permanent magnet 17, and the guided wave signal is coupled to the micro-fine metal tube 5 by the guided wave transducer; when the guided wave transducer receives the echo of the guided wave, the received echo signal is sent to the main control unit 8 after passing the data acquisition module 16 and then being pre-amplified by the pre-amplification module 15 in sequence for data processing, and the result is displayed on the display module 9 after the viscosity is predicted by a detection method.

    [0063] When a blood sample is filled in the micro-fine metal tube 5, the guided wave excitation unit receives a main control excitation signal and drives the transducer to generate ultrasonic guided waves, and in the pulse echo mode, the ultrasonic guided waves are excited to the metal tube through the guided wave excitation unit, then emitted at the edge of the metal tube, captured by the transducer in the process of back propagation, and sent to the guided wave receiving unit. In experimental exploration, the received guided wave has different propagation speed and amplitude when the blood viscosity is different.

    [0064] The pulse echo mode is suitable for spraying magnetic powder and installing a guided wave transducer at one position of the metal tube, and the device can also be used for installing the guided wave transducer by spraying the magnetic powder at two positions of two sides and receiving the magnetic powder in a single-transmitting and single-receiving mode.

    [0065] The device of the present disclosure can also realize dynamic detection of blood viscosity, and can draw a thrombelastogram by continuously collecting the change of the blood viscosity along with time and collecting the data of 50 groups of normal people to draw the thrombelastogram for comparison so as to determine human body thrombi, blood coagulation and the like through other corresponding indexes by plating kaolin clay on the wall of the micro-fine metal tube.

    [0066] FIG. 3 shows a schematic diagram of the detection of blood viscosity, and the data of the diagram is from 3 sets of experiments simulating the change of blood viscosity, and the experimental conditions are as follows: [0067] 1. A stainless steel tube with a diameter of 0.6 mm and a length of 10 cm is sprayed with iron-cobalt magnetostrictive powder coating at a distance of 1 cm from one end. [0068] 2. The length of the liquid column was 10 cm, the temperature was 36 C., the density of the liquid column was 1.05 g/cm.sup.3, and the viscosity of the liquid column is 0.1 mPa.Math.s, 0.5 mPa.Math.s, and 1 mPa.Math.s, respectively. [0069] 3. The guided wave excitation frequency was 240 khz.

    [0070] In the above experimental conditions, only the viscosity of the liquid column changes, and it can be seen from the dispersion curve that when the viscosity of blood increases, the dispersion curve tends to move to the right, that is, with the same excitation frequency, the modal guided wave velocity will be different, and along with the increase of the viscosity of blood, the guided wave velocity slightly decreases and the amplitude will be attenuated to a certain extent. According to the above experimental phenomena, the specific implementation method is determined as follows: [0071] in the specific implementation method, 36 C. water is used as a solvent, a thickening agent is used as a solute, 10 groups of liquids with different viscosities ranging from 0.1 mPa.Math.s to 1 mPa.Math.s are arranged by matching with a commercial standard viscometer, the echo speeds and amplitudes of blood samples with different viscosities are measured by using the detection device, as shown in FIGS. 3b and 3c, the 10 groups of data are converted and then sent to an established linear regression model, the model is trained to analyze the relationship of the viscosity and the guided wave attenuation as well as the guided wave speed change, and the specific implementation method is shown in the embodiment.

    [0072] The embodiment of the present disclosure are as follows: [0073] (1) Taking a liquid-filled micro-fine aluminum tube with an inner diameter of 400 um, an outer diameter of 600 um, a density of 2800 kg/m.sup.3, an elastic modulus of 7.3e10N/m.sup.2 and a Poisson ratio of 0.33 for example, dispersion curves of the tube filled with liquids with different viscosities are drawn (FIG. 3a) to find an optimal excitation frequency point around 240 khz; [0074] (2) Taking 36 C. water as a solvent, adding a proper amount of salt to simulate venous blood to enable the density of the venous blood to reach (1.05 g/cm.sup.3), preparing ten parts of solution of hydroxyethyl cellulose (HEC) powder with the viscosity of 0.1 mPa.Math.s to 1 mPa.Math.s and one part of saline solution without hydroxyethyl cellulose (HEC) powder, respectively feeding the ten parts of solution and one part of saline solution into the aluminum tube, carrying out guided wave excitation, receiving and recording the velocity v and the amplitude a of guided wave received by saline, and the velocity v0-v9, a0-a9 of each solution for receiving the guided wave. [0075] (3) For simplification of the regression model and elimination of the constant term, some processing is performed on the guided wave echo data, the first step: the guided wave velocity v is converted into a time of flight TOF.sub.100:


    TOF.sub.100=200l/v

    [0076] where TOF.sub.100 refers to the time of flight of guided wave (the time when the micro-fine metal tube moves back and forth 100 times), and l is the length of the micro-fine metal tube.

    [0077] The second step: taking the absolute value of the difference between the time TOF.sub.i of the guided wave echoes with different liquid filling viscosities 100 times and the guided wave echo TOF.sub.100 of the water-filled pipeline as the absolute time of flight by using the following formula:


    TOF=|TOF.sub.iTOF.sub.100|.

    [0078] The third step: converting the guided wave amplitude into an attenuation ratio by using the following formula:


    w=1AMP.sub.i/AMP

    [0079] wherein, AMP.sub.i represents amplitude of the guided wave echo at the i-th filling viscosity, and AMP represents the amplitude of the guided wave echo of the water filled pipeline.

    [0080] Through the above processing, when TOF and w are 0, the viscosity is 0 equal to the viscosity of water, i.e., the linear regression equation constant term is eliminated. The resulting data are shown in FIG. 4. [0081] (4) The first step is as follows: establishing a linear regression model:


    =k.sub.1*TOF+k.sub.2*w;

    [0082] The second step: establishing a loss function by taking the mean square error as a reference:

    [00002] J = 1 2 m .Math. i = 1 m ( h ( x i ) - y i ) 2 ;

    [0083] The third step: setting iteration round number and learning rate, solving the model by using a gradient descent method, which is a method combining self-adaptive gradient descent and momentum gradient descent, and as can be seen from FIG. 5a, after 300 rounds of training, the MSN (mean square error) of the model descends and then ascends, at the moment, overfitting occurs to the model, when the training round number is 212 rounds, the MSN descends to the lowest point 4*10.sup.5, and finally solving parameters: k1=7.15, k2=8.81 and draw the MSN variation graph in FIG. 5b over the parameter point range, it can be seen that the parameters solved by the model do make the MSN reach a minimum value.

    [0084] The fourth step: substituting the solved parameters into the original model and data, and comparing the predicted data with the real data, as shown in FIG. 5a, wherein the obtained errors are all in the range of 1%.

    [0085] The part of device usage: [0086] (1) The above method is converted into a code to be burnt into a main control unit of the device. [0087] (2) The main control unit controls the blood micro-flow pump to send blood into the micro-fine metal tube by driving the micro-flow pump control module, when a blood sample is filled in the metal tube, the guided wave excitation unit receives a main control excitation signal and drives the transducer to generate ultrasonic guided waves, and the guided wave receiving unit sends the received signals into the main control unit for echo signal processing after filtering and amplifying the received signals. [0088] (3) After calculating the parameters of TOF and w of the echo, feeding the parameters into a trained model, and further obtaining the blood viscosity and displaying the blood viscosity on a display module. [0089] (4) And then the main control unit controls the blood micro-flow pump to extract distilled water again to clean the inner tube of the device, and the primary blood viscosity detection is completed.

    [0090] Therefore, the disclosure realizes the rapid and accurate measurement of the blood viscosity by utilizing the influence of the blood viscosity on the transmission characteristic of the ultrasonic guided wave and combining a detection method based on machine learning and taking a portable blood sampling device as a support, and the measurement error of the measurement method is within 1 percent by comparing with a commercial viscometer. The method realizes the rapid and accurate measurement of the blood viscosity of the human body, provides a new method for the dynamic change of perioperative blood viscosity parameters, namely the analysis of the thrombus elasticity and the requirement of minimally invasive rapid measurement of the blood viscosity in the daily health monitoring of the human body, and has remarkable technical effects.

    [0091] The principle and the embodiment of the present disclosure are explained by applying specific examples, and the above description of the embodiments is only used to help understanding the method and the core idea of the present disclosure; meanwhile, for a person skilled in the art, according to the idea of the present disclosure, the specific embodiments and the application range may be changed. In conclusion, the contents of this specification should not be construed as limiting the present disclosure.