Blood measuring method, device, equipment and medium
By using mobile motors and laser emission units to detect serum volume in the test tubes in blood measurement, the problem of insufficient contactless measurement efficiency and accuracy in the prior art is solved, and efficient and accurate serum volume measurement is achieved, reducing the risk of contamination.
Patent Information
- Application Number
- CN202411786773.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-06
- Publication Date
- 2025-02-25
AI Technical Summary
The prior art is difficult to efficiently and accurately measure serum volume in test tubes without contact during blood measurement, and there is a risk of contamination.
By moving the test tube vertically with a preset mobile motor and recording the number of received pulses; emitting laser beams to the test tubes using the first and second preset laser emitting units to detect changes in the beam intensity; combining the signal processor to analyze the number of pulses and the beam intensity to determine the serum volume.
It realizes efficient and accurate measurement of serum volume in the test tube in a contactless manner, reducing the risk of contamination and improving the user experience.
Smart Images

Figure CN119509644A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of optical detection technology, and in particular to a blood measurement method, device, equipment and medium. Background Art
[0002] With the rapid development of laser technology, especially in the medical field, the existing solutions have met the needs of the market and users to a certain extent, but there are still many shortcomings. For example, in the case where the label is completely attached to the test tube, the existing technology often faces the problem of multiple detection; in addition, in the process of determining the serum volume of the liquid to be tested in the test tube after centrifuge treatment, the current method for determining the serum volume is to calculate the serum in the test tube using capacitive pressure. However, when using capacitive pressure to detect the serum volume in the test tube, it is necessary to contact the liquid to be tested in the container, which increases the risk of contamination of the liquid to be tested in the test tube, thereby affecting the subsequent test results.
[0003] As can be seen from the above, how to improve the efficiency of measuring the volume of serum in a test tube in a contactless manner during the blood measurement process is a problem that needs to be solved urgently. Summary of the invention
[0004] In view of this, the purpose of the present invention is to provide a blood measurement method, device, equipment and medium, which can improve the efficiency and accuracy of volume measurement of serum in a test tube in a contactless manner, thereby improving the user experience. The specific scheme is as follows:
[0005] In a first aspect, the present application provides a blood measurement method, comprising:
[0006] Using a preset moving motor to vertically move the test tube containing the liquid to be tested from top to bottom, and recording the number of pulses received when the preset moving motor vertically moves the test tube;
[0007] A first preset laser emitting unit is used to vertically emit a first laser beam to the test tube that is moving vertically, so that a first preset optical receiver continuously detects and records a plurality of first beam intensities corresponding to the first laser beam after passing through the liquid to be tested; the liquid to be tested is blood processed based on a preset centrifuge; the first preset laser emitting unit and the first preset optical receiver are located at two ends of the tube body of the test tube on the same horizontal line;
[0008] A second laser beam is vertically emitted to the test tube that is moving vertically by using a second preset laser emitting unit, so that a second preset optical receiver continuously detects and records a plurality of second beam intensities corresponding to the second laser beam after passing through the liquid to be tested in the test tube; the second preset laser emitting unit and the second preset optical receiver are respectively located directly above the first preset laser emitting unit and directly above the first preset optical receiver; a lower limit of a beam intensity range corresponding to the second laser beam is greater than an upper limit of a beam intensity range corresponding to the first laser beam;
[0009] After the preset moving motor completes moving the test tube, a preset signal processor is used to analyze a number of the first light beam intensities, a number of the second light beam intensities, and the corresponding numbers of pulses, so as to determine the serum volume in the test tube based on the obtained first liquid level analysis results and the second liquid level analysis results.
[0010] Optionally, before using the first preset laser emitting unit to vertically emit the first laser beam to the test tube that is moving vertically, the method further includes:
[0011] Using a first preset optical collimation unit to align the first preset laser emitting unit and the test tube, and determining whether a first collimation result is greater than a preset angle threshold;
[0012] If the first collimation result is greater than a preset angle threshold, continue to perform the operation of aligning the first preset laser emitting unit and the test tube using the first preset optical collimation unit until the first collimation result is no greater than a preset angle threshold;
[0013] Accordingly, before the second laser beam is vertically emitted to the test tube that is moving vertically by the second preset laser emission unit, the method further includes:
[0014] Using a second preset optical collimation unit to align the second preset laser emitting unit and the test tube, and determining whether the second collimation result is greater than a preset angle threshold;
[0015] If the second collimation result is greater than the preset angle threshold, continue to perform the operation of aligning the second preset laser emitting unit and the test tube using the second preset optical collimation unit until the second collimation result is no greater than the preset angle threshold;
[0016] Wherein, the first preset laser emitting unit is connected to the first preset optical collimation unit via a mechanical structure, and the second laser emitting unit is connected to the second preset optical collimation unit via a mechanical structure.
[0017] Optionally, after the first preset laser emitting unit is used to vertically emit a first laser beam to the test tube that is moving vertically, so that the first preset optical receiver continuously detects and records a plurality of first beam intensities corresponding to the first laser beam after passing through the liquid to be tested in the test tube, the method further includes:
[0018] The preset signal processor is used to analyze several first light beam intensities and corresponding pulse numbers to obtain the test tube bottom position information, and the blood cell volume in the liquid to be tested is determined based on the pulse number corresponding to the first liquid level analysis result and the pulse number corresponding to the test tube bottom position information.
[0019] Optionally, the using a preset signal processor to analyze a plurality of first light beam intensities, a plurality of second light beam intensities, and the corresponding pulse numbers, so as to determine the volume of serum in the test tube based on the obtained first liquid level analysis result and the second liquid level analysis result, comprises:
[0020] A preset signal processor is used to analyze a plurality of first light beam intensities, a plurality of second light beam intensities, and the number of pulses respectively corresponding thereto, so as to obtain a first liquid level analysis result and a second liquid level analysis result; the first liquid level analysis result is an analysis chart consisting of a plurality of first light beam intensities and the number of pulses respectively corresponding thereto; the second liquid level analysis result is an analysis chart consisting of a plurality of second light beam intensities and the number of pulses respectively corresponding thereto;
[0021] Determine a first pulse number corresponding to a first liquid level based on the first liquid level analysis result, and determine a second pulse number corresponding to a second liquid level based on the second liquid level analysis result;
[0022] The volume of serum in the test tube is determined based on the first number of pulses and the second number of pulses.
[0023] Optionally, determining the first pulse quantity corresponding to the first liquid level based on the first liquid level analysis result includes:
[0024] Extracting a first target number of continuous numerical points from the rising edge of the first liquid level analysis result using a preset sliding window algorithm, wherein the numerical points include the first light beam intensity and the corresponding number of pulses;
[0025] Determine the corresponding slope based on the beam intensities and pulse numbers corresponding to the first target number of numerical points, determine a first target numerical point with the largest slope from the plurality of numerical points, and determine the pulse number corresponding to the first target numerical point as the first pulse number;
[0026] The rising edge represents that the first laser beam is passing through the serum in the liquid to be detected.
[0027] Optionally, after determining the first pulse quantity corresponding to the first liquid level based on the first liquid level analysis result, and determining the second pulse quantity corresponding to the second liquid level based on the second liquid level analysis result, the method further includes:
[0028] Determine whether there is gel in the liquid to be tested based on the first pulse number and the second pulse number; if there is no gel in the liquid to be tested, determine whether the pulse number corresponding to the tail end of the first falling edge in the second liquid level analysis result is greater than a preset threshold;
[0029] If the number of pulses corresponding to the tail end of the first falling edge in the second liquid level analysis result is not greater than the preset threshold, extracting a second target number of continuous numerical points from the first falling edge in the second liquid level analysis result by using a preset sliding window algorithm;
[0030] Determine the corresponding slope based on the beam intensities and pulse numbers corresponding to the second target number of numerical points, determine the second target numerical point corresponding to the slope with the largest absolute value from the plurality of numerical points, and determine the pulse number corresponding to the second target numerical point as the second pulse number;
[0031] If the number of pulses corresponding to the tail end of the first falling edge in the second liquid level analysis result is greater than a preset threshold, extracting a second target number of continuous numerical points from the second falling edge in the second liquid level analysis result using a preset sliding window algorithm;
[0032] Determine the corresponding slope based on the beam intensities and pulse numbers corresponding to the second target number of numerical points, determine a third target numerical point corresponding to the slope with the largest absolute value from the plurality of numerical points, and determine the pulse number corresponding to the third target numerical point as the second pulse number;
[0033] The first falling edge represents that the second laser beam is passing through the serum in the liquid to be detected; and the second falling edge represents that the second laser beam is passing through the label on the test tube.
[0034] Optionally, after determining the first pulse quantity corresponding to the first liquid level based on the first liquid level analysis result, and determining the second pulse quantity corresponding to the second liquid level based on the second liquid level analysis result, the method further includes:
[0035] Based on the first pulse number and the second pulse number, determining whether there is gel in the liquid to be tested; if there is gel in the liquid to be tested, extracting a second target number of continuous numerical points from the second falling edge in the second liquid level analysis result by using a preset sliding window algorithm;
[0036] Determine the corresponding slope based on the beam intensity and the pulse quantity corresponding to the second target number of numerical points, determine a fourth target numerical point corresponding to the slope with the largest absolute value from the plurality of numerical points, and update the first pulse quantity to the pulse quantity corresponding to the fourth target numerical point;
[0037] Determine whether the number of pulses corresponding to the tail end of the first falling edge in the second liquid level analysis result is greater than the preset threshold value, and if not, extract a second target number of continuous numerical points from the first falling edge in the second liquid level analysis result by using a preset sliding window algorithm;
[0038] Determine the corresponding slope based on the beam intensities and pulse numbers corresponding to the second target number of numerical points, determine a fifth target numerical point corresponding to the slope with the largest absolute value from the plurality of numerical points, and determine the pulse number corresponding to the fifth target numerical point as the second pulse number;
[0039] If the number of pulses corresponding to the tail end of the first falling edge in the second liquid level analysis result is greater than a preset threshold, extracting a second target number of continuous numerical points from the second falling edge in the second liquid level analysis result using a preset sliding window algorithm;
[0040] Based on the beam intensity and pulse number corresponding to the second target number of numerical points, the corresponding slope is determined, and the sixth target numerical point corresponding to the slope with the largest absolute value is determined from several numerical points, and the pulse number corresponding to the sixth target numerical point is determined as the second pulse number.
[0041] In a second aspect, the present application provides a blood measuring device, comprising:
[0042] A pulse number determination module, used to use a preset moving motor to vertically move the test tube containing the liquid to be tested from top to bottom, and record the number of pulses received when the preset moving motor vertically moves the test tube;
[0043] A first beam intensity determination module is used to use a first preset laser emitting unit to vertically emit a first laser beam to the test tube that is moving vertically, so that a first preset optical receiver continuously detects and records a plurality of first beam intensities corresponding to the first laser beam after passing through the liquid to be tested; the liquid to be tested is blood processed based on a preset centrifuge; the first preset laser emitting unit and the first preset optical receiver are located at two ends of the tube body of the test tube on the same horizontal line;
[0044] a second beam intensity determination module, configured to use a second preset laser emitting unit to vertically emit a second laser beam to the test tube that is moving vertically, so that a second preset optical receiver continuously detects and records a plurality of second beam intensities corresponding to the second laser beam after passing through the liquid to be tested in the test tube; the second preset laser emitting unit and the second preset optical receiver are respectively located directly above the first preset laser emitting unit and directly above the first preset optical receiver; a lower limit of a beam intensity range corresponding to the second laser beam is greater than an upper limit of a beam intensity range corresponding to the first laser beam;
[0045] The serum volume determination module is used to analyze a plurality of first light beam intensities, a plurality of second light beam intensities and the corresponding pulse numbers using a preset signal processor after the preset moving motor completes moving the test tube, so as to determine the serum volume in the test tube based on the obtained first liquid level analysis result and the second liquid level analysis result.
[0046] In a third aspect, the present application provides an electronic device, including:
[0047] Memory, used to store computer programs;
[0048] The processor is used to execute the computer program to implement the aforementioned blood measurement method.
[0049] In a fourth aspect, the present application provides a computer-readable storage medium for storing a computer program, wherein the computer program implements the aforementioned blood measurement method when executed by a processor.
[0050] As can be seen from the above, before the blood measurement is performed, the present application needs to use a preset moving motor to vertically move the test tube containing the liquid to be tested in a top-to-bottom order, and record the number of pulses received when the preset moving motor vertically moves the test tube; use a first preset laser emitting unit to vertically emit a first laser beam to the test tube that is moving vertically, so that a first preset optical receiver continuously detects and records a number of first beam intensities corresponding to the first laser beam after passing through the liquid to be tested; the liquid to be tested is blood processed based on a preset centrifuge; the first preset laser emitting unit and the first preset optical receiver are located at both ends of the tube body of the test tube on the same horizontal line; use a second preset laser emitting unit to vertically emit a second laser to the test tube that is moving vertically The second preset optical receiver continuously detects and records several second beam intensities corresponding to the second laser beam after passing through the liquid to be tested in the test tube; the second preset laser emitting unit and the second preset optical receiver are respectively located directly above the first preset laser emitting unit and directly above the first preset optical receiver; the lower limit of the beam intensity range corresponding to the second laser beam is greater than the upper limit of the beam intensity range corresponding to the first laser beam; after the preset moving motor has completed moving the test tube, the preset signal processor is used to analyze several first beam intensities, several second beam intensities and the corresponding pulse numbers, so as to determine the serum volume in the test tube based on the obtained first liquid level analysis result and the second liquid level analysis result. It can be seen that the present application records the first pulse number and the second pulse number corresponding to the first liquid level and the second liquid level, respectively, and determines the volume of serum in the liquid to be tested in the test tube based on the first pulse number and the second pulse number. In this way, the efficiency and accuracy of volume measurement of serum in the test tube can be improved in a contactless manner, thereby improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.
[0052] Figure 1 A flow chart of a blood measurement method disclosed in this application;
[0053] Figure 2 This is a schematic diagram of the overall structure of a laser serum volume detection disclosed in this application;
[0054] Figure 3A schematic diagram of a process for determining the volume of serum in a test tube using a preset laser beam disclosed in the present application;
[0055] Figure 4 A schematic diagram of a process for determining a first pulse quantity corresponding to a first liquid level using a first preset laser beam disclosed in the present application;
[0056] Figure 5 This is a schematic diagram of the first liquid level analysis result disclosed in this application;
[0057] Figure 6 This is a schematic diagram of the second liquid level analysis result disclosed in this application;
[0058] Figure 7 A schematic diagram of a process for determining a second pulse quantity corresponding to a second liquid level using a second preset laser beam disclosed in the present application;
[0059] Figure 8 This is a structural flow chart of a blood measuring device disclosed in this application;
[0060] Fig. 9 This is a structural diagram of an electronic device disclosed in this application. DETAILED DESCRIPTION
[0061] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0062] With the rapid development of laser technology in the medical field, although the existing solutions have met the needs of the market and users to a certain extent, there are still many shortcomings. For example, in the case where the label is completely attached to the test tube, the existing technology often faces the problem of multiple detections; in addition, in the process of determining the serum volume of the liquid to be tested in the test tube after centrifuge treatment, the serum volume determination method currently used is to calculate the serum in the test tube using capacitance pressure. However, when using capacitance pressure to detect the serum volume in the test tube, it is necessary to contact the liquid to be tested in the container, which increases the risk of contamination of the liquid to be tested in the test tube, thereby affecting subsequent test results. To this end, the present application provides a blood measurement method, which can record the first pulse number and the second pulse number corresponding to the first liquid level and the second liquid level respectively, and determine the volume of serum in the liquid to be tested in the test tube based on the first pulse number and the second pulse number, thereby improving the efficiency and accuracy of volume measurement of serum in the test tube.
[0063] See also Figure 1 As shown, the embodiment of the present invention discloses a blood measurement method, comprising:
[0064] Step S11, using a preset moving motor to vertically move the test tube containing the liquid to be tested from top to bottom, and recording the number of pulses received when the preset moving motor vertically moves the test tube.
[0065] In this embodiment, the principle of determining the volume of serum in the liquid to be detected in the test tube in the embodiment of the present application is as follows: the serum, blood cells, air and gel in the test tube absorb different amounts of light of the same wavelength, resulting in different light beam intensities received by the optical receiver, and then judging the volume of serum in the test tube based on the change in the intensity of the light beam received by the optical receiver. It is worth mentioning that the laser beam can pass through the label on the surface of the test tube, so that the above-mentioned method of detecting the volume of serum does not require physical contact with the substance to be tested in the container, and the label covered on the surface of the test tube has no effect on the detection result of the serum volume. That is, the embodiment of the present application provides a non-contact serum volume detection method, which can penetrate the test tube when there is a label on the surface of the test tube by the laser beam, and stably detect the volume of serum in the liquid to be detected by the change in the intensity of the light beam received by the optical receiver.
[0066] Step S12, using a first preset laser emitting unit to vertically emit a first laser beam toward the test tube that is moving vertically, so that a first preset optical receiver continuously detects and records a plurality of first beam intensities corresponding to the first laser beam after passing through the liquid to be tested; the liquid to be tested is blood processed based on a preset centrifuge; the first preset laser emitting unit and the first preset optical receiver are located at two ends of the tube body on the same horizontal line of the test tube.
[0067] It is worth mentioning that the laser serum liquid volume detection system of the present invention includes: a first preset laser emitting unit, a second preset laser emitting unit, a first preset optical collimation unit, a second preset optical collimation unit, a first preset optical receiver, a second preset optical receiver and a preset moving motor. Among them, the wavelengths corresponding to the laser beams emitted by the first preset laser emitting unit and the second preset laser emitting unit are different, and the lower limit of the wavelength range of the second laser beam emitted by the second preset laser emitting unit is greater than the upper limit of the wavelength range of the first laser beam emitted by the first preset laser emitting unit, and the second laser beam can distinguish the serum and gel in the test tube, while the first laser beam cannot distinguish the serum and gel in the test tube. In a specific embodiment, the emission wavelength range of the first laser beam is 970nm-990nm, and the emission wavelength range of the second laser beam is 1530nm-1550nm.
[0068] It is worth mentioning that the first optical collimation unit is used to spatially collimate the first preset laser emitting unit, and the first laser beam emitted by the first preset laser emitting unit after collimation should be within a 90-degree range relative to the vertical direction of the test tube, and the upper and lower angle deviations are 5 degrees, so that the first laser beam can pass through the test tube at a specific angle in space, thereby improving the accuracy of the intensity of the beam received by the first preset optical receiver. Correspondingly, the second optical collimation unit is used to spatially collimate the second preset laser emitting unit, and the second laser beam emitted by the second preset laser emitting unit after collimation should be within a 90-degree range relative to the vertical direction of the test tube, and the upper and lower angle deviations are 5 degrees, thereby allowing the second laser beam to pass through the test tube at a specific angle in space, thereby improving the accuracy of the intensity of the beam received by the second preset optical receiver.
[0069] Specifically, before using the first preset laser emitting unit to vertically emit the first laser beam toward the test tube that is moving vertically, the method may further include: using the first preset optical collimation unit to align the first preset laser emitting unit and the test tube, and determining whether the first collimation result is greater than a preset angle threshold; if the first collimation result is greater than the preset angle threshold, continuing to perform the operation of aligning the first preset laser emitting unit and the test tube using the first preset optical collimation unit until the first collimation result is not greater than the preset angle threshold; correspondingly, using the second preset laser emitting unit to vertically emit the first laser beam toward the test tube that is moving vertically. Before the second laser beam, it also includes: using a second preset optical collimation unit to align the second preset laser emitting unit and the test tube, and judging whether the second collimation result is greater than a preset angle threshold; if the second collimation result is greater than the preset angle threshold, continuing to perform the operation of aligning the second preset laser emitting unit and the test tube using the second preset optical collimation unit until the second collimation result is not greater than the preset angle threshold; wherein, the first preset laser emitting unit is connected to the first preset optical collimation unit through a mechanical structure, and the second laser emitting unit is connected to the second preset optical collimation unit through a mechanical structure.
[0070] In addition, the first preset optical receiver is used to detect the beam intensity of the first laser beam after passing through the test tube, and the second preset optical receiver is used to detect the beam intensity of the second laser beam after passing through the test tube. Furthermore, the preset moving motor includes a set of grippers and motion mechanisms for vertically and smoothly moving the test tube. It is worth mentioning that the first preset laser emitting unit and the first optical collimation unit, and the second preset laser emitting unit and the second optical collimation unit are connected through a mechanical structure. In addition, the preset signal processor and the first preset optical receiver and the second preset optical receiver can also communicate data, so that the preset signal processor can analyze based on the beam intensities output by the first preset optical receiver and the second preset optical receiver respectively to obtain corresponding liquid level analysis results.
[0071] It can be understood that the diodes used by the first preset laser emitting unit and the second preset laser emitting unit are both infrared laser diodes, and the power of the emitting end of the infrared laser diode is about 100mw, the first preset optical receiver and the second preset optical receiver both use photodiodes, and the intensity of the light beams received by the first preset optical receiver and the second preset optical receiver will be amplified when passing through the circuit board to enhance the accuracy of the analysis of the intensity of each light beam received by the first preset optical receiver and the second preset optical receiver.
[0072] In a specific embodiment, the overall structure diagram of the laser serum volume detection is as follows: Figure 2 As shown: wherein, light source 1a is the first preset laser emitting unit, light source 1b is the second preset laser emitting unit, collimation 2a is the first optical collimation unit, collimation 2b is the second optical collimation unit, the test tube clamping moving unit is the preset moving motor, the receiving end 3a is the first preset optical receiver, the receiving end 3b is the second preset optical receiver, the system signal processing is the preset signal processor, Y represents the second liquid level, X represents the first liquid level, and M represents the bottom position of the test tube.
[0073] In this embodiment, when the preset moving motor grabs the test tube for vertical movement, the first preset laser emitting unit can detect the bottom of the test tube, and when the mobile gripper control unit 4 grabs the test tube container for vertical movement from top to bottom, the position information M corresponding to the bottom of the test tube is detected by the first preset laser beam. Subsequently, the first preset laser beam continues to maintain the emission power during the process of the test tube continuing to move vertically downward, and the beam intensity of the first preset laser beam received by the first preset optical receiver 3a is detected by the preset signal processor to obtain the position information X corresponding to the first liquid surface, wherein the position information X corresponding to the first liquid surface includes the number of pulses corresponding to the preset moving motor when the position information X corresponding to the first liquid surface is detected. Specifically, after using the first preset laser emitting unit to vertically emit the first laser beam to the test tube that is moving vertically so that the first preset optical receiver continuously detects and records a plurality of first beam intensities corresponding to the first laser beam after passing through the liquid to be tested in the test tube, it may also include: using the preset signal processor to analyze the plurality of first beam intensities and the corresponding number of pulses to obtain the test tube bottom position information, and determining the blood cell volume in the liquid to be tested based on the number of pulses corresponding to the first liquid level analysis result and the number of pulses corresponding to the test tube bottom position information.
[0074] Step S13, using a second preset laser emitting unit to vertically emit a second laser beam toward the test tube that is moving vertically, so that a second preset optical receiver continuously detects and records a plurality of second beam intensities corresponding to the second laser beam after passing through the liquid to be tested in the test tube; the second preset laser emitting unit and the second preset optical receiver are located directly above the first preset laser emitting unit and directly above the first preset optical receiver, respectively; a lower limit of a beam intensity range corresponding to the second laser beam is greater than an upper limit of a beam intensity range corresponding to the first laser beam.
[0075] In this embodiment, the second preset laser emitting unit continues to maintain the emission power of the second laser beam during the process of the test tube continuing to move vertically downward, and detects the beam intensity of the second preset laser beam received by the second preset optical receiver 3b through the preset signal processor to obtain the position information Y corresponding to the second liquid surface, wherein the position information Y corresponding to the second liquid surface includes the number of pulses corresponding to the preset moving motor when the position information Y corresponding to the second liquid surface is detected. Subsequently, the system records the first number of pulses corresponding to the first liquid surface and the second number of pulses corresponding to the second liquid surface, and calculates the serum volume in the test tube based on the first number of pulses and the second number of pulses, such as Figure 3 shown.
[0076] It is worth mentioning that in the process of calculating the volume of serum in the test tube based on the first pulse number and the second pulse number, the embodiment of the present application uses the number of pulses received by the preset stepper motor for calculation. Among them, the distance traveled by the preset stepper motor when receiving a pulse signal, that is, the height is fixed.
[0077] In a specific embodiment, when the preset stepper motor receives a pulse signal, the height it travels is 0.5 mm. When the preset signal processor determines the bottom position of the test tube based on the intensity of the light beam received by the first optical receiver and the corresponding number of pulses, the number of pulses received by the preset moving motor is 50 pulses; when the preset signal processor determines the first liquid level based on the intensity of the light beam received by the first optical receiver and the corresponding number of pulses, the number of pulses received by the preset moving motor is 70 pulses, then the distance from the first liquid level to the bottom of the test tube is 20 pulses received by the stepper motor, that is, 20*0.5=10mm; when the preset signal processor determines the second liquid level based on the intensity of the light beam received by the second optical receiver and the corresponding number of pulses, the number of pulses received by the stepper motor is 100 pulses, then the distance between the first liquid level and the second liquid level is 100-70=30 pulses, and the height is 30*0.5=15mm. In this way, the volume of serum between the first liquid level and the second liquid level is the product of the bottom area of the test tube and the height of the liquid level in the test tube. The outer diameter of the test tube is 13mm, the inner diameter is 10.5mm, and the radius of the test tube is r=10.5 / 2=5.25mm. The formula for determining the volume in the test tube is: V=s*h=π*r²*h=π*r²*15=247.275mm 3 .
[0078] Step S14: After the preset moving motor completes moving the test tube, a preset signal processor is used to analyze a number of the first light beam intensities, a number of the second light beam intensities, and the corresponding numbers of pulses, so as to determine the serum volume in the test tube based on the first liquid level analysis result and the second liquid level analysis result.
[0079] In this embodiment, after the preset moving motor has finished moving the test tube, a preset signal processor is required to analyze the first light beam intensities, the second light beam intensities, and the corresponding pulse numbers, so as to determine the serum volume in the test tube based on the obtained first liquid level analysis result and the second liquid level analysis result. Specifically, the use of the preset signal processor to analyze the first light beam intensities, the second light beam intensities, and the corresponding pulse numbers, so as to determine the serum volume in the test tube based on the obtained first liquid level analysis result and the second liquid level analysis result, may include: using the preset signal processor to analyze the first light beam intensities, the second light beam intensities, and the corresponding pulse numbers, so as to obtain the first liquid level analysis result and the second liquid level analysis result; the first liquid level analysis result is an analysis chart composed of the first light beam intensities and the pulse numbers corresponding to the first light beam intensities; the second liquid level analysis result is an analysis chart composed of the second light beam intensities and the pulse numbers corresponding to the second light beam intensities; determining the first pulse number corresponding to the first liquid level based on the first liquid level analysis result, and determining the second pulse number corresponding to the second liquid level based on the second liquid level analysis result; determining the serum volume in the test tube based on the first pulse number and the second pulse number.
[0080] It is worth mentioning that the above steps are the basic ideas for calculating the volume of serum in the test tube, and the specific process of how to identify the first liquid level and the second liquid level is as follows:
[0081] First, in the process of determining the first pulse quantity, Figure 4 As shown, the numerical point with the largest slope is obtained from the first rising edge in the first liquid level analysis result, and the pulse number Y1 corresponding to the above numerical point is used as the first pulse number.
[0082] Secondly, the whole process uses two wavelengths of light to detect the test tube. In a specific implementation, the wavelength of the first laser beam is 980nm, and the wavelength of the second laser beam is 1550nm. After the two laser beams irradiate the test tube, the preset signal processor analyzes the beam intensity and the corresponding pulse to obtain the analysis result as follows: Figure 5 and Figure 6 As shown, Figure 5 is the analysis result corresponding to the wavelength of the first laser beam being 980 nm, Figure 6 This is the analysis result corresponding to the wavelength of the second laser beam being 1550 nm.
[0083] It is understandable that Figure 5 Available, Figure 5There are two rising edges and two falling edges in the graph, wherein the first falling edge indicates that the first laser beam begins to pass through the blood cells in the test tube, the first rising edge indicates that the first laser beam begins to pass through the serum in the test tube, the second falling edge indicates that the first laser beam begins to pass through the label on the test tube, and the second rising edge indicates that the first laser beam begins to pass through the air in the test tube. Subsequently, using the sliding window method, 20 numerical points are continuously extracted from the first rising edge, and the slopes of the extracted numerical points are calculated respectively, and the maximum value of each slope is found, and the corresponding liquid level is determined as the first liquid level, and the corresponding pulse number is determined as the first pulse number. Specifically, determining the first pulse number corresponding to the first liquid level based on the first liquid level analysis result may include: extracting a first target number of continuous numerical points from the rising edge of the first liquid level analysis result using a preset sliding window algorithm, the numerical points including the first light beam intensity and the corresponding pulse number; determining the corresponding slope based on the light beam intensity and the pulse number corresponding to the first target number of numerical points, and determining the first target numerical point with the largest slope from a number of numerical points, and determining the pulse number corresponding to the first target numerical point as the first pulse number; wherein the rising edge represents that the first laser beam is passing through the serum in the liquid to be detected.
[0084] Depend on Figure 6 Available, Figure 6 There is a falling edge and a rising edge in the test tube, wherein the falling edge indicates that the second laser beam begins to pass through the serum in the test tube, and the rising edge indicates that the second laser beam begins to pass through the air in the test tube. It is worth mentioning that when measuring the volume of the liquid to be tested in the test tube, it is necessary to determine whether there is gel in the liquid to be tested; if there is gel in the liquid to be tested, the second preset laser beam is required to determine the first liquid level and the second liquid level. Specifically, after determining the first pulse number corresponding to the first liquid level based on the first liquid level analysis result, and determining the second pulse number corresponding to the second liquid level based on the second liquid level analysis result, it can also include: judging whether there is gel in the liquid to be tested based on the first pulse number and the second pulse number; if there is no gel in the liquid to be tested, judging whether the pulse number corresponding to the tail end of the first falling edge in the second liquid level analysis result is greater than a preset threshold; if the pulse number corresponding to the tail end of the first falling edge in the second liquid level analysis result is not greater than the preset threshold, extracting a second target number of continuous numerical points from the first falling edge in the second liquid level analysis result using a preset sliding window algorithm; determining the corresponding slope based on the beam intensity and pulse number corresponding to the second target number of numerical points, and determining the second target numerical point corresponding to the slope with the largest absolute value from a number of numerical points, and determining the pulse number corresponding to the second target numerical point as the second pulse number.
[0085] It can be understood that if the number of pulses corresponding to the tail end of the first falling edge in the second liquid level analysis result is greater than a preset threshold, a second target number of continuous numerical points are extracted from the second falling edge in the second liquid level analysis result using a preset sliding window algorithm; the corresponding slope is determined based on the beam intensity and the number of pulses corresponding to the second target number of numerical points, and the third target numerical point corresponding to the slope with the largest absolute value is determined from a number of numerical points, and the number of pulses corresponding to the third target numerical point is determined as the second pulse number; wherein the first falling edge represents that the second laser beam is passing through the serum in the liquid to be detected; and the second falling edge represents that the second laser beam is passing through the label on the test tube.
[0086] Correspondingly, if there is no gel in the liquid to be tested, the first preset laser beam is used to determine the first liquid level, and the second preset laser beam is used to determine the second liquid level. Specifically, after determining the first pulse number corresponding to the first liquid level based on the first liquid level analysis result, and determining the second pulse number corresponding to the second liquid level based on the second liquid level analysis result, it can also include: judging whether there is gel in the liquid to be tested based on the first pulse number and the second pulse number; if there is gel in the liquid to be tested, extracting a second target number of continuous numerical points from the second falling edge in the second liquid level analysis result using a preset sliding window algorithm; determining the corresponding slope based on the beam intensity and pulse number corresponding to the second target number of numerical points, and determining the fourth target numerical point corresponding to the slope with the largest absolute value from a number of numerical points, and updating the first pulse number to the pulse number corresponding to the fourth target numerical point.
[0087] It can be understood that the embodiment of the present application needs to determine whether the number of pulses corresponding to the tail end of the first falling edge in the second liquid level analysis result is greater than the preset threshold value. If not, a preset sliding window algorithm is used to extract a second target number of continuous numerical points from the first falling edge in the second liquid level analysis result; the corresponding slope is determined based on the beam intensity and the number of pulses corresponding to the second target number of numerical points, and the fifth target numerical point corresponding to the slope with the largest absolute value is determined from a number of numerical points, and the number of pulses corresponding to the fifth target numerical point is determined as the second number of pulses; if the number of pulses corresponding to the tail end of the first falling edge in the second liquid level analysis result is greater than the preset threshold value, a preset sliding window algorithm is used to extract a second target number of continuous numerical points from the second falling edge in the second liquid level analysis result; the corresponding slope is determined based on the beam intensity and the number of pulses corresponding to the second target number of numerical points, and the sixth target numerical point corresponding to the slope with the largest absolute value is determined from a number of numerical points, and the number of pulses corresponding to the sixth target numerical point is determined as the second number of pulses.
[0088] As can be seen from the above, before performing blood measurement in the embodiment of the present application, it is necessary to use a preset moving motor to vertically move the test tube containing the liquid to be tested in a sequence from top to bottom, and record the number of pulses received when the preset moving motor vertically moves the test tube; use a first preset laser emitting unit to vertically emit a first laser beam to the test tube that is moving vertically, so that a first preset optical receiver continuously detects and records a number of first beam intensities corresponding to the first laser beam after passing through the liquid to be tested; the liquid to be tested is blood processed based on a preset centrifuge; the first preset laser emitting unit and the first preset optical receiver are located at both ends of the tube body on the same horizontal line of the test tube; use a second preset laser emitting unit to vertically emit a second laser beam to the test tube that is moving vertically light beam, so that the second preset optical receiver continuously detects and records several second beam intensities corresponding to the second laser beam after passing through the liquid to be tested in the test tube; the second preset laser emitting unit and the second preset optical receiver are respectively located directly above the first preset laser emitting unit and directly above the first preset optical receiver; the lower limit of the beam intensity range corresponding to the second laser beam is greater than the upper limit of the beam intensity range corresponding to the first laser beam; after the preset moving motor has completed moving the test tube, the preset signal processor is used to analyze several first beam intensities, several second beam intensities and the corresponding pulse numbers, so as to determine the serum volume in the test tube based on the obtained first liquid level analysis result and the second liquid level analysis result. It can be seen that the present application records the first pulse number and the second pulse number corresponding to the first liquid level and the second liquid level, respectively, and determines the volume of serum in the liquid to be tested in the test tube based on the first pulse number and the second pulse number. In this way, the efficiency and accuracy of volume measurement of serum in the test tube can be improved in a contactless manner.
[0089] For further information, see Figure 7 As shown, the embodiment of the present invention discloses a blood measurement method, comprising:
[0090] In this embodiment, the sliding window method is used to continuously take values of the numerical points in the first falling edge of the second liquid level analysis result, and the slopes corresponding to the numerical points are calculated respectively, and the maximum value X2 of the absolute value of the slope is found, so as to find the corresponding second pulse number Y2 according to the maximum slope X2. After obtaining the maximum slope X2 and finding the corresponding pulse number Y2, it is necessary to determine whether there is gel in the test tube based on the first pulse number Y1 and the second pulse number Y2, where the determination formula is as follows:
[0091] Judgment value = (Y2-Y1)*0.0075-25;
[0092] It is worth mentioning that if the judgment value is greater than the preset first threshold value 2.25, there is gel in the liquid to be tested, and the sliding window algorithm is used to extract continuous numerical points in the first falling edge of the second liquid level analysis result, and the absolute value of the slope of each extracted numerical point is calculated, and the maximum value of the absolute value of the slope X3 is obtained. Then, the corresponding pulse number Y3 is found according to the maximum slope X3, and Y3 is used as the calculation starting point of the serum, that is, Y3 is used as the first pulse number corresponding to the first liquid level.
[0093] Subsequently, determine whether the tail value of the first falling edge in the second liquid level analysis result is greater than 25000. If the tail value of the first falling edge is greater than 25000, calculate the maximum value of the absolute value of the slope in the second falling edge, find the corresponding pulse number Y4, and determine the pulse number Y4 as the second pulse number, and determine the liquid level of the serum based on Y3 and Y4. It is worth mentioning that after calculating the liquid level of the serum, the embodiment of the present application needs to compensate the height by Xmm, where X is the height of the serum exceeding the label on the test tube. It is worth mentioning that if the tail value of the first falling edge is not greater than 25000, calculate the slope of each numerical point in the first falling edge in the second liquid level analysis result, and obtain the maximum value of the absolute value of the slope, and then determine the pulse number Y4 corresponding to the maximum value of the absolute value of the slope as the second pulse number, and determine the height of the serum based on Y3 and Y4, where the formula for determining the height of the serum is as follows:
[0094] Height of serum = (Y4-Y3)*0.0075-25;
[0095] It can be understood that if the judgment value is not greater than the preset first threshold value 2.25, there is no gel in the liquid to be tested, and the first pulse value corresponding to the first liquid level is Y1. Subsequently, the absolute value of the slope corresponding to each numerical point in the first falling edge of the second liquid level analysis result is calculated, and the pulse number Y4 corresponding to the numerical point with the maximum absolute value of the slope is obtained, and then the pulse number Y4 is determined as the second pulse number. Subsequently, the serum height is determined based on the first pulse number Y1 and the second pulse number Y4, and then the serum volume in the test tube is determined based on the serum height.
[0096] It is worth mentioning that the embodiment of the present application needs to determine whether the tail value of the first falling edge in the second liquid level analysis result is greater than 25000. If the tail value of the first falling edge is greater than 25000, the maximum value of the second falling edge is calculated and the corresponding pulse Y2 is found, and the height of the serum is determined based on Y2 and Y1, and the serum height is compensated by Xmm. Subsequently, the serum volume in the test tube is calculated using the compensated serum height. If the tail value of the first falling edge is not greater than 25000, the slope of each numerical point in the slope of the first falling edge is calculated, and the number of pulses Y4 corresponding to the slope with the largest absolute value is determined as the second number of pulses. Finally, the serum height is determined based on Y4 and Y1, and then the serum volume in the test tube is determined based on the serum height.
[0097] As can be seen from the above, before performing blood measurement in the embodiment of the present application, it is necessary to use a preset moving motor to vertically move the test tube containing the liquid to be tested in a top-to-bottom order, and record the number of pulses received when the preset moving motor vertically moves the test tube; then determine whether there is gel in the test tube, that is, if there is gel in the test tube, use a second preset laser emitting unit to vertically emit a second laser beam to the test tube that is moving vertically, so that the second preset optical receiver continuously detects and records several second beam intensities corresponding to the second laser beam after passing through the liquid to be tested in the test tube, and uses a preset signal processor to analyze the several second beam intensities, so as to determine the first pulse number and the second pulse number based on the analysis result, and determine the volume of serum based on the first pulse number and the second pulse number. If there is no gel in the test tube, a first preset laser emitting unit is used to vertically emit a first laser beam to the test tube that is moving vertically, so that a first preset optical receiver continuously detects and records a number of first beam intensities corresponding to the first laser beam after passing through the liquid to be tested; a second preset laser emitting unit is used to vertically emit a second laser beam to the test tube that is moving vertically, so that a second preset optical receiver continuously detects and records a number of second beam intensities corresponding to the second laser beam after passing through the liquid to be tested in the test tube; the lower limit of the beam intensity range corresponding to the second laser beam is greater than the upper limit of the beam intensity range corresponding to the first laser beam; after the preset moving motor moves the test tube, a preset signal processor is used to analyze a number of the first beam intensities, a number of the second beam intensities, and the corresponding pulse numbers, so as to determine the first pulse number and the second pulse number based on the first liquid level analysis result and the second liquid level analysis result, respectively, and determine the volume of the serum based on the first pulse number and the second pulse number. In this way, the efficiency and accuracy of volume measurement of the serum in the test tube can be improved in a contactless manner, thereby improving the user experience.
[0098] Accordingly, see Figure 8As shown, the present application also provides a blood measuring device, comprising:
[0099] The pulse number determination module 11 is used to use a preset moving motor to vertically move the test tube containing the liquid to be tested from top to bottom, and record the number of pulses received when the preset moving motor vertically moves the test tube;
[0100] A first beam intensity determination module 12 is used to use a first preset laser emitting unit to vertically emit a first laser beam to the test tube that is moving vertically, so that a first preset optical receiver continuously detects and records a plurality of first beam intensities corresponding to the first laser beam after passing through the liquid to be tested; the liquid to be tested is blood processed based on a preset centrifuge; the first preset laser emitting unit and the first preset optical receiver are located at two ends of the tube body of the test tube on the same horizontal line;
[0101] The second beam intensity determination module 13 is used to use the second preset laser emitting unit to vertically emit the second laser beam to the test tube that is moving vertically, so that the second preset optical receiver continuously detects and records a plurality of second beam intensities corresponding to the second laser beam after passing through the liquid to be tested in the test tube; the second preset laser emitting unit and the second preset optical receiver are respectively located directly above the first preset laser emitting unit and directly above the first preset optical receiver; the lower limit of the beam intensity range corresponding to the second laser beam is greater than the upper limit of the beam intensity range corresponding to the first laser beam;
[0102] The serum volume determination module 14 is used to analyze a plurality of first light beam intensities, a plurality of second light beam intensities and the corresponding pulse numbers using a preset signal processor after the preset moving motor completes moving the test tube, so as to determine the serum volume in the test tube based on the obtained first liquid level analysis result and the second liquid level analysis result.
[0103] As can be seen from the above, before performing blood measurement in the embodiment of the present application, it is necessary to use a preset moving motor to vertically move the test tube containing the liquid to be tested in a sequence from top to bottom, and record the number of pulses received when the preset moving motor vertically moves the test tube; use a first preset laser emitting unit to vertically emit a first laser beam to the test tube that is moving vertically, so that a first preset optical receiver continuously detects and records a number of first beam intensities corresponding to the first laser beam after passing through the liquid to be tested; the liquid to be tested is blood processed based on a preset centrifuge; the first preset laser emitting unit and the first preset optical receiver are located at both ends of the tube body on the same horizontal line of the test tube; use a second preset laser emitting unit to vertically emit a second laser beam to the test tube that is moving vertically light beam, so that the second preset optical receiver continuously detects and records several second beam intensities corresponding to the second laser beam after passing through the liquid to be tested in the test tube; the second preset laser emitting unit and the second preset optical receiver are respectively located directly above the first preset laser emitting unit and directly above the first preset optical receiver; the lower limit of the beam intensity range corresponding to the second laser beam is greater than the upper limit of the beam intensity range corresponding to the first laser beam; after the preset moving motor has completed moving the test tube, the preset signal processor is used to analyze several first beam intensities, several second beam intensities and the corresponding pulse numbers, so as to determine the serum volume in the test tube based on the obtained first liquid level analysis result and the second liquid level analysis result. It can be seen that the present application records the first pulse number and the second pulse number corresponding to the first liquid level and the second liquid level, respectively, and determines the volume of serum in the liquid to be tested in the test tube based on the first pulse number and the second pulse number. In this way, the efficiency of volume measurement of serum in the test tube can be improved in a contactless manner, thereby improving the user experience.
[0104] In some specific embodiments, the blood measuring device may further include:
[0105] a first alignment result judging unit, configured to align the first preset laser emitting unit and the test tube using a first preset optical alignment unit, and to judge whether a first alignment result is greater than a preset angle threshold;
[0106] a first test tube alignment unit, configured to continue to align the first preset laser emitting unit and the test tube using the first preset optical alignment unit if the first alignment result is greater than a preset angle threshold, until the first alignment result is not greater than a preset angle threshold;
[0107] Accordingly, in some specific embodiments, the blood measuring device may further include:
[0108] A second alignment result unit, used to align the second preset laser emitting unit and the test tube using a second preset optical alignment unit, and determine whether the second alignment result is greater than a preset angle threshold;
[0109] A second test tube alignment unit is used for continuing to align the second preset laser emitting unit and the test tube using the second preset optical alignment unit if the second alignment result is greater than a preset angle threshold, until the second alignment result is not greater than the preset angle threshold; wherein the first preset laser emitting unit is connected to the first preset optical alignment unit via a mechanical structure, and the second laser emitting unit is connected to the second preset optical alignment unit via a mechanical structure.
[0110] In some specific embodiments, the blood measuring device may further include:
[0111] The blood cell volume determination unit is used to analyze the first light beam intensities and the corresponding pulse numbers using the preset signal processor to obtain the test tube bottom position information, and determine the blood cell volume in the liquid to be tested based on the pulse number corresponding to the first liquid level analysis result and the pulse number corresponding to the test tube bottom position information.
[0112] In some specific embodiments, the serum volume determination module 14 may specifically include:
[0113] a liquid level analysis result determination unit, configured to analyze a plurality of first light beam intensities, a plurality of second light beam intensities, and the number of pulses respectively corresponding thereto by using a preset signal processor, so as to obtain a first liquid level analysis result and a second liquid level analysis result; the first liquid level analysis result is an analysis chart consisting of a plurality of first light beam intensities and the number of pulses respectively corresponding thereto; the second liquid level analysis result is an analysis chart consisting of a plurality of second light beam intensities and the number of pulses respectively corresponding thereto;
[0114] a first pulse number determination unit, configured to determine a first pulse number corresponding to a first liquid level based on the first liquid level analysis result, and to determine a second pulse number corresponding to a second liquid level based on the second liquid level analysis result;
[0115] The serum volume determination unit is used to determine the serum volume in the test tube based on the first pulse number and the second pulse number.
[0116] In some specific embodiments, the serum volume determination module 14 may specifically include:
[0117] A first numerical point extraction unit, configured to extract a first target number of continuous numerical points from the rising edge of the first liquid level analysis result using a preset sliding window algorithm, wherein the numerical points include the first light beam intensity and the corresponding number of pulses;
[0118] A second pulse quantity determination unit is used to determine the corresponding slope based on the beam intensity and pulse quantity corresponding to the first target number of numerical points, and determine the first target numerical point with the largest slope from a number of numerical points, and determine the pulse quantity corresponding to the first target numerical point as the first pulse quantity; wherein the rising edge represents that the first laser beam is passing through the serum in the liquid to be detected.
[0119] In some specific embodiments, the blood measuring device may further include:
[0120] a gel determination unit, configured to determine whether there is gel in the liquid to be tested based on the first pulse number and the second pulse number; if there is no gel in the liquid to be tested, determine whether the number of pulses corresponding to the tail end of the first falling edge in the second liquid level analysis result is greater than a preset threshold;
[0121] a second numerical point extraction unit, configured to extract a second target number of continuous numerical points from the first falling edge in the second liquid level analysis result by using a preset sliding window algorithm if the number of pulses corresponding to the tail end of the first falling edge in the second liquid level analysis result is not greater than the preset threshold;
[0122] A third pulse number determination unit is used to determine the corresponding slope based on the beam intensities and pulse numbers respectively corresponding to the second target number of numerical points, and determine the second target numerical point corresponding to the slope with the largest absolute value from the plurality of numerical points, and determine the pulse number corresponding to the second target numerical point as the second pulse number;
[0123] a third numerical point extraction unit, configured to extract a second target number of continuous numerical points from a second falling edge in the second liquid level analysis result by using a preset sliding window algorithm if the number of pulses corresponding to the tail end of the first falling edge in the second liquid level analysis result is greater than a preset threshold;
[0124] a fourth pulse quantity determination unit, for determining a corresponding slope based on the beam intensity and pulse quantity respectively corresponding to the second target number of numerical points, and determining a third target numerical point corresponding to the slope having the largest absolute value from a plurality of numerical points, and determining the pulse quantity corresponding to the third target numerical point as the second pulse quantity; wherein the first falling edge represents that the second laser beam is passing through the serum in the liquid to be detected; and the second falling edge represents that the second laser beam is passing through the label on the test tube.
[0125] In some specific embodiments, the blood measuring device may further include:
[0126] a fourth numerical point extraction unit, configured to determine whether there is gel in the liquid to be tested based on the first pulse number and the second pulse number; if there is gel in the liquid to be tested, extracting a second target number of continuous numerical points from the second falling edge of the second liquid level analysis result by using a preset sliding window algorithm;
[0127] a fifth pulse number determination unit, configured to determine a corresponding slope based on the beam intensities and pulse numbers respectively corresponding to the second target number of numerical points, determine a fourth target numerical point corresponding to a slope having a maximum absolute value from a plurality of numerical points, and update the first pulse number to the pulse number corresponding to the fourth target numerical point;
[0128] a fifth numerical point extraction unit, configured to determine whether the number of pulses corresponding to the tail end of the first falling edge in the second liquid level analysis result is greater than the preset threshold value, and if not, to extract a second target number of continuous numerical points from the first falling edge in the second liquid level analysis result by using a preset sliding window algorithm;
[0129] a sixth pulse number determination unit, configured to determine a corresponding slope based on the beam intensities and pulse numbers respectively corresponding to the second target number of numerical points, and determine a fifth target numerical point corresponding to a slope having a maximum absolute value from a plurality of numerical points, and determine the pulse number corresponding to the fifth target numerical point as the second pulse number;
[0130] a sixth numerical point extraction unit, configured to extract a second target number of continuous numerical points from a second falling edge in the second liquid level analysis result by using a preset sliding window algorithm if the number of pulses corresponding to the tail end of the first falling edge in the second liquid level analysis result is greater than a preset threshold;
[0131] The seventh pulse quantity determination unit is used to determine the corresponding slope based on the beam intensity and pulse quantity corresponding to the second target number of numerical points, and determine the sixth target numerical point corresponding to the slope with the largest absolute value from a number of numerical points, and determine the pulse quantity corresponding to the sixth target numerical point as the second pulse quantity.
[0132] Furthermore, the present application also discloses an electronic device. Fig. 91 is a structural diagram of an electronic device 20 according to an exemplary embodiment, and the content in the figure cannot be regarded as any limitation on the scope of use of this application. The electronic device 20 may specifically include: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input / output interface 25, and a communication bus 26. The memory 22 is used to store a computer program, which is loaded and executed by the processor 21 to implement the relevant steps in the blood measurement method disclosed in any of the aforementioned embodiments. In addition, the electronic device 20 in this embodiment may specifically be an electronic computer.
[0133] In this embodiment, the power supply 23 is used to provide working voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and the external device, and the communication protocol it follows is any communication protocol that can be applied to the technical solution of the present application, and is not specifically limited here; the input and output interface 25 is used to obtain external input data or output data to the outside world, and its specific interface type can be selected according to specific application needs and is not specifically limited here.
[0134] In addition, the memory 22, as a carrier for storing resources, can be a read-only memory, a random access memory, a disk or an optical disk, etc. The resources stored thereon can include an operating system 221, a computer program 222, etc., and the storage method can be temporary storage or permanent storage.
[0135] The operating system 221 is used to manage and control the hardware devices and computer program 222 on the electronic device 20, and can be Windows Server, Netware, Unix, Linux, etc. In addition to the computer program that can be used to complete the blood measurement method performed by the electronic device 20 disclosed in any of the aforementioned embodiments, the computer program 222 can further include computer programs that can be used to complete other specific tasks.
[0136] Furthermore, the present application also discloses a computer-readable storage medium for storing a computer program; wherein the computer program, when executed by a processor, implements the blood measurement method disclosed above. The specific steps of the method can refer to the corresponding contents disclosed in the above embodiments, and will not be repeated here.
[0137] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.
[0138] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0139] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
[0140] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0141] The technical solution provided by the present application is introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea. At the same time, for general technicians in this field, according to the idea of the present application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A blood measurement method, characterized in that: include: Using a preset moving motor to vertically move the test tube containing the liquid to be tested from top to bottom, and recording the number of pulses received when the preset moving motor vertically moves the test tube; Using a first preset laser emitting unit to vertically emit a first laser beam to the test tube that is moving vertically, so that a first preset optical receiver continuously detects and records a plurality of first beam intensities corresponding to the first laser beam after passing through the liquid to be tested; The liquid to be tested is blood processed by a preset centrifuge; The first preset laser emitting unit and the first preset optical receiver are located at two ends of the tube body on the same horizontal line of the test tube; Using a second preset laser emitting unit to vertically emit a second laser beam toward the test tube that is moving vertically, so that a second preset optical receiver continuously detects and records a plurality of second beam intensities corresponding to the second laser beam after passing through the liquid to be tested in the test tube; The second preset laser emitting unit and the second preset optical receiver are respectively located directly above the first preset laser emitting unit and directly above the first preset optical receiver; the lower limit of the beam intensity range corresponding to the second laser beam is greater than the upper limit of the beam intensity range corresponding to the first laser beam; After the preset moving motor completes moving the test tube, a preset signal processor is used to analyze a number of the first light beam intensities, a number of the second light beam intensities, and the corresponding numbers of pulses, so as to determine the serum volume in the test tube based on the obtained first liquid level analysis results and the second liquid level analysis results.
2. The blood measurement method according to claim 1, characterized in that: Before using the first preset laser emitting unit to vertically emit the first laser beam to the test tube that is moving vertically, the method further includes: Using a first preset optical collimation unit to align the first preset laser emitting unit and the test tube, and determining whether a first collimation result is greater than a preset angle threshold; If the first collimation result is greater than a preset angle threshold, continue to perform the operation of aligning the first preset laser emitting unit and the test tube using the first preset optical collimation unit until the first collimation result is no greater than a preset angle threshold; Accordingly, before the second laser beam is vertically emitted to the test tube that is moving vertically by the second preset laser emission unit, the method further includes: Using a second preset optical collimation unit to align the second preset laser emitting unit and the test tube, and determining whether the second collimation result is greater than a preset angle threshold; If the second collimation result is greater than the preset angle threshold, continue to perform the operation of aligning the second preset laser emitting unit and the test tube using the second preset optical collimation unit until the second collimation result is no greater than the preset angle threshold; Wherein, the first preset laser emitting unit is connected to the first preset optical collimation unit via a mechanical structure, and the second laser emitting unit is connected to the second preset optical collimation unit via a mechanical structure.
3. The blood measurement method according to claim 1, characterized in that: After the first preset laser emitting unit is used to vertically emit the first laser beam to the test tube that is moving vertically, so that the first preset optical receiver continuously detects and records a plurality of first beam intensities corresponding to the first laser beam after passing through the liquid to be tested in the test tube, the method further includes: The preset signal processor is used to analyze several first light beam intensities and corresponding pulse numbers to obtain the test tube bottom position information, and the blood cell volume in the liquid to be tested is determined based on the pulse number corresponding to the first liquid level analysis result and the pulse number corresponding to the test tube bottom position information.
4. The blood measurement method according to any one of claims 1 to 3, characterized in that: The method of analyzing the first light beam intensities, the second light beam intensities and the corresponding pulse numbers by using a preset signal processor to determine the serum volume in the test tube based on the obtained first liquid level analysis result and the second liquid level analysis result includes: A preset signal processor is used to analyze a plurality of first light beam intensities, a plurality of second light beam intensities, and the number of pulses respectively corresponding thereto, so as to obtain a first liquid level analysis result and a second liquid level analysis result; the first liquid level analysis result is an analysis chart consisting of a plurality of first light beam intensities and the number of pulses respectively corresponding thereto; the second liquid level analysis result is an analysis chart consisting of a plurality of second light beam intensities and the number of pulses respectively corresponding thereto; Determine a first pulse number corresponding to a first liquid level based on the first liquid level analysis result, and determine a second pulse number corresponding to a second liquid level based on the second liquid level analysis result; The volume of serum in the test tube is determined based on the first number of pulses and the second number of pulses.
5. The blood measurement method according to claim 4, characterized in that: The determining the first pulse quantity corresponding to the first liquid level based on the first liquid level analysis result includes: Extracting a first target number of continuous numerical points from the rising edge of the first liquid level analysis result using a preset sliding window algorithm, wherein the numerical points include the first light beam intensity and the corresponding number of pulses; Determine the corresponding slope based on the beam intensities and pulse numbers corresponding to the first target number of numerical points, determine a first target numerical point with the largest slope from the plurality of numerical points, and determine the pulse number corresponding to the first target numerical point as the first pulse number; The rising edge represents that the first laser beam is passing through the serum in the liquid to be detected.
6. The blood measurement method according to claim 5, characterized in that: After determining the first pulse quantity corresponding to the first liquid level based on the first liquid level analysis result, and determining the second pulse quantity corresponding to the second liquid level based on the second liquid level analysis result, the method further includes: Determine whether there is gel in the liquid to be tested based on the first pulse number and the second pulse number; if there is no gel in the liquid to be tested, determine whether the pulse number corresponding to the tail end of the first falling edge in the second liquid level analysis result is greater than a preset threshold; If the number of pulses corresponding to the tail end of the first falling edge in the second liquid level analysis result is not greater than the preset threshold, extracting a second target number of continuous numerical points from the first falling edge in the second liquid level analysis result by using a preset sliding window algorithm; Determine the corresponding slope based on the beam intensities and pulse numbers corresponding to the second target number of numerical points, determine the second target numerical point corresponding to the slope with the largest absolute value from the plurality of numerical points, and determine the pulse number corresponding to the second target numerical point as the second pulse number; If the number of pulses corresponding to the tail end of the first falling edge in the second liquid level analysis result is greater than a preset threshold, extracting a second target number of continuous numerical points from the second falling edge in the second liquid level analysis result using a preset sliding window algorithm; Determine the corresponding slope based on the beam intensities and pulse numbers corresponding to the second target number of numerical points, determine a third target numerical point corresponding to the slope with the largest absolute value from the plurality of numerical points, and determine the pulse number corresponding to the third target numerical point as the second pulse number; The first falling edge represents that the second laser beam is passing through the serum in the liquid to be detected; and the second falling edge represents that the second laser beam is passing through the label on the test tube.
7. The blood measurement method according to claim 6, characterized in that: After determining the first pulse quantity corresponding to the first liquid level based on the first liquid level analysis result, and determining the second pulse quantity corresponding to the second liquid level based on the second liquid level analysis result, the method further includes: Based on the first pulse number and the second pulse number, determining whether there is gel in the liquid to be tested; if there is gel in the liquid to be tested, extracting a second target number of continuous numerical points from the second falling edge in the second liquid level analysis result by using a preset sliding window algorithm; Determine the corresponding slope based on the beam intensity and the pulse quantity corresponding to the second target number of numerical points, determine a fourth target numerical point corresponding to the slope with the largest absolute value from the plurality of numerical points, and update the first pulse quantity to the pulse quantity corresponding to the fourth target numerical point; Determine whether the number of pulses corresponding to the tail end of the first falling edge in the second liquid level analysis result is greater than the preset threshold value, and if not, extract a second target number of continuous numerical points from the first falling edge in the second liquid level analysis result by using a preset sliding window algorithm; Determine the corresponding slope based on the beam intensities and pulse numbers corresponding to the second target number of numerical points, determine a fifth target numerical point corresponding to the slope with the largest absolute value from the plurality of numerical points, and determine the pulse number corresponding to the fifth target numerical point as the second pulse number; If the number of pulses corresponding to the tail end of the first falling edge in the second liquid level analysis result is greater than a preset threshold, extracting a second target number of continuous numerical points from the second falling edge in the second liquid level analysis result using a preset sliding window algorithm; Based on the beam intensity and pulse number corresponding to the second target number of numerical points, the corresponding slope is determined, and the sixth target numerical point corresponding to the slope with the largest absolute value is determined from several numerical points, and the pulse number corresponding to the sixth target numerical point is determined as the second pulse number.
8. A blood measuring device, characterized in that: include: A pulse number determination module, used to use a preset moving motor to vertically move the test tube containing the liquid to be tested from top to bottom, and record the number of pulses received when the preset moving motor vertically moves the test tube; A first beam intensity determination module, configured to use a first preset laser emitting unit to vertically emit a first laser beam to the test tube that is moving vertically, so that a first preset optical receiver continuously detects and records a plurality of first beam intensities corresponding to the first laser beam after passing through the liquid to be tested; The liquid to be tested is blood processed by a preset centrifuge; the first preset laser emitting unit and the first preset optical receiver are located at two ends of the tube body on the same horizontal line of the test tube; A second beam intensity determination module, configured to use a second preset laser emitting unit to vertically emit a second laser beam to the test tube that is moving vertically, so that a second preset optical receiver continuously detects and records a plurality of second beam intensities corresponding to the second laser beam after passing through the liquid to be tested in the test tube; The second preset laser emitting unit and the second preset optical receiver are respectively located directly above the first preset laser emitting unit and directly above the first preset optical receiver; the lower limit of the beam intensity range corresponding to the second laser beam is greater than the upper limit of the beam intensity range corresponding to the first laser beam; The serum volume determination module is used to analyze a plurality of first light beam intensities, a plurality of second light beam intensities and the corresponding pulse numbers using a preset signal processor after the preset moving motor completes moving the test tube, so as to determine the serum volume in the test tube based on the obtained first liquid level analysis result and the second liquid level analysis result.
9. An electronic device, characterized in that: include: Memory, used to store computer programs; A processor, configured to execute the computer program to implement the steps of the blood measurement method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: Used to store a computer program, wherein when the computer program is executed by a processor, the steps of the blood measuring method according to any one of claims 1 to 7 are implemented.