Automatic blood sample mixing method and device based on machine vision
Through machine vision combined with intelligently adjusted blood sample automatic mixing device, the problem of poor mixing effect caused by relying on artificial experience in the prior art is solved, and automated and intelligent sample mixing is realized, ensuring the qualification and universality of mixing.
Patent Information
- Application Number
- CN202510416453.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-03
- Publication Date
- 2025-07-04
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In the prior art, artificial mixing or equipment mixing of blood samples mainly depends on personnel experience, resulting in poor sample mixing effect and labor-consuming.
Using a machine vision-based automatic mixing device for blood samples, the combination of clamping components, rotation components, vision detection module, uniformity detection module and data analysis module is used to intelligently adjust the working mode of the rotating components and vertical shaking units, and automatically adjust the number and frequency of shaking according to the blood height and uniformity.
It realizes independent adjustment of different liquid level heights and uniformity, eliminates artificial lack of experience, ensures the qualification and universality of sample mixing, and improves the intelligence and mixing effect of the equipment.
Smart Images

Figure CN120253399A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of blood detection, and particularly to an automatic blood sample mixing method and device based on machine vision. Background Art
[0002] At present, nurses need to collect a large number of blood specimens in clinical work. For some blood specimen items, sufficient shaking is required to prevent coagulation or hemolysis. Nurses shake the specimens manually, which is labor-consuming. In addition, there are also cases where the specimens are unqualified due to incorrect shaking methods.
[0003] Chinese Patent Publication No.: CN113181811A discloses an automatic blood sample mixing device, which includes a rotary motion mechanism. The rotary motion mechanism includes a base and a rotary power source arranged on the base. The rotary motion mechanism further includes a rotary seat, the bottom of the rotary seat is connected to the rotary power source, a guiding groove is arranged inside the rotary seat, at least one side of the guiding groove is an inclined surface for forming a caliber that is wider at the top and narrower at the bottom to obliquely place the lower part of the test tube, and a test tube holder for limiting the upper part of the test tube is arranged on one side of the rotary seat.
[0004] Currently, for manual or equipment mixing of blood samples, most are based on the observation of personnel experience, resulting in poor sample mixing effects. Summary of the Invention
[0005] Therefore, the present invention provides an automatic blood sample mixing method and device based on machine vision to overcome the problem that in the prior art, for manual or equipment mixing of current blood samples, most are based on the observation of personnel experience, resulting in poor sample mixing effects.
[0006] To achieve the above object, an automatic blood sample mixing device based on machine vision includes:
[0007] A clamping assembly for clamping the blood collection tube to be shaken;
[0008] A rotating assembly connected to the clamping assembly, capable of controlling the clamping assembly to rotate at a predetermined angle and number of times;
[0009] A support frame, which is a support structure for the clamping assembly and the rotating assembly;
[0010] A visual detection module for detecting the blood height and blood collection tube color inside the blood collection tube;
[0011] A uniformity detection module for detecting the blood uniformity inside the blood collection tube;
[0012] A vertical shaking unit arranged below the support frame, capable of driving the support frame to shake up and down;
[0013] A console for fixing the vertical shaking unit, on which there is a control panel for selecting the working mode of the blood sample automatic mixing device and a display screen for displaying the working mode and working status;
[0014] A data analysis module is arranged inside the console and is respectively connected to the rotating assembly, the vision detection module, the vertical shaking unit, the uniformity detection module, the control panel, and the display screen; under the condition of the intelligent working mode, the data analysis module determines the working modes of the vertical shaking unit and the support frame according to the detected blood height and blood uniformity, including determining the number of shakes and the shaking frequency of the vertical shaking unit, and re-determining the compensation parameters for the determined number of shakes according to the blood uniformity after the shaking is completed.
[0015] The automatic blood sample mixing device based on machine vision further includes
[0016] A console for fixing the vertical shaking unit, on which there is a control panel for selecting the working mode of the blood sample automatic mixing device and a display screen for displaying the working mode and working status; the data analysis module is arranged inside the console.
[0017] The working modes include an input working mode and an intelligent working mode, and the control panel is provided with an active setting area and an intelligent setting area;
[0018] Through the active setting area, the number of rotations of the rotating assembly and the number of shakes can be manually input to enter the input working mode;
[0019] Through the intelligent setting area, the intelligent working mode can be selected to enter.
[0020] Further, when the intelligent working mode is selected, the vision detection module detects the color of the blood collection tube to determine the initial number of shakes;
[0021] The vision detection module detects the liquid level height of the blood in the blood collection tube, and the uniformity detection module detects the blood uniformity in the blood collection tube, and respectively transmits the collected results to the data analysis module. The data analysis module analyzes the liquid level height and the blood uniformity, and determines the working modes of the rotating assembly and the vertical shaking unit according to the analysis results.
[0022] Further, the data analysis module determines that the working modes of the rotating assembly and the vertical shaking unit are the basic working modes according to the collected liquid level height and blood uniformity, or adjusts the working modes of the rotating assembly and the vertical shaking unit through the collected liquid level height, or adjusts the working modes of the rotating assembly and the vertical shaking unit through the collected blood uniformity, or adjusts the working modes of the rotating assembly and the vertical shaking unit by combining the collected liquid level height and the collected blood uniformity.
[0023] Further, a standard liquid level height and a preset uniformity are set in the data analysis module. If the collected liquid level height is less than or equal to the standard liquid level height, and the collected blood uniformity is greater than or equal to the preset uniformity, it is determined that the working modes of the rotating assembly and the vertical shaking unit are the basic working modes.
[0024] Further, the data analysis module adjusts the working modes of the rotating assembly and the vertical shaking unit, including
[0025] determining the number of shakes through the collected liquid level height, or determining the number of shakes through the collected blood uniformity, or determining the number of shakes by combining the collected liquid level height and the collected blood uniformity;
[0026] determining the shaking frequency through the number of shakes, or adopting a working mode of multiple shakes.
[0027] Further, the working mode of multiple shakes divides the working mode into a first-stage working mode and a second-stage working mode. Among them, the first-stage working mode drives the support frame to shake according to half of the adjusted number of shakes and the initial set frequency. After completing the first-stage working mode, it enters the second-stage working mode. The second-stage working mode is that the uniformity detection module re-collects the blood uniformity and recalculates the number of shakes until the number of shakes is less than or equal to the maximum shaking comparison number, or the collected blood uniformity is greater than the mixed qualified uniformity evaluation value, where
[0028] if half of the adjusted number of shakes is not an integer, it is rounded down.
[0029] Further, a maximum shaking comparison number and a maximum shaking value corresponding to the basic frequency are set in the data analysis module;
[0030] If the number of shakes is greater than the maximum shaking comparison number, the data analysis module determines to adopt the working mode of multiple shakes;
[0031] If the number of shakes is less than or equal to the maximum shake comparison number and greater than the maximum shake value corresponding to the fundamental frequency, the data analysis module adjusts the shake frequency of the vertical shake unit.
[0032] Further, after the data analysis module completes the shaking according to the set number of shakes and shake frequency, the uniformity detection module re-collects the blood uniformity and compares it with the mixed qualified uniformity evaluation value.
[0033] If the collected blood uniformity is greater than or equal to the mixed qualified uniformity evaluation value, it is determined that the blood sample is mixed qualified.
[0034] If the collected blood uniformity is less than the mixed qualified uniformity evaluation value, it is determined that the blood sample is not mixed qualified. The data analysis module controls the rotation component and the vertical shake unit to shake the blood collection tube again according to the detection result, and re-determines the value of the compensation parameter during the calibration process.
[0035] The present invention also provides an automatic blood sample mixing method based on machine vision, which is implemented based on the above-mentioned automatic blood sample mixing device based on machine vision, including,
[0036] Determine the initial number of shakes according to the detected color of the blood collection tube;
[0037] Verify the initial number of shakes according to the detected blood height and blood uniformity, and re-determine the number of shakes;
[0038] Determine the shake frequency according to the number of shakes, or adopt a working mode of multiple shakes;
[0039] Complete the shaking according to the determined number of shakes and shake frequency;
[0040] The uniformity detection module re-collects the blood uniformity and compares it with the mixed qualified uniformity evaluation value;
[0041] Re-determine the value of the compensation parameter during the calibration process.
[0042] Compared with the prior art, the beneficial effects of the present invention are as follows: for different liquid levels and uniformities, the working modes of the rotation component and the vertical shake unit are autonomously determined, intelligently monitored and adjusted, eliminating the deficiencies of manual experience shaking, and ensuring the qualification of sample mixing. Through two working modes of manual setting and intelligent control, the shaking requirements of different blood collection tubes are met, and the universality of blood collection tube shaking is increased.
[0043] Further, when the collected liquid level is greater than the standard liquid level, it indicates that there is more blood sample in the blood collection tube at this time. To ensure the uniform mixing of the sample, the number of shakes is increased, eliminating the deficiencies of manual experience shaking and ensuring the qualification of sample mixing.
[0044] Further, when the uniformity of the collected blood is less than the preset uniformity, it indicates that there is a certain precipitation stratification in the blood sample in the blood collection tube. At the same time, the artificial naked-eye observation of the precipitation stratification of the blood sample is inaccurate. The uniformity detection module can detect the uniformity reasonably through the instrument and analyze it through the data analysis module to increase the number of shaking times, avoiding the deficiency of artificial experience shaking. At the same time, the artificial naked-eye observation of the precipitation stratification of the blood sample is inaccurate, ensuring the qualification of sample mixing.
[0045] Further, for the situation where the number of shaking times is affected by two items of data, after shaking to a certain number of times, the uniformity will increase. Therefore, the influence ratio of each influencing data is adjusted downward to ensure that it can be shaken evenly while reducing the number of shaking times. At the same time, because the uniformity of the sample is an important parameter for evaluating the qualification of mixing, the verification ratio of uniformity to the number of shaking times is greater than the ratio of the liquid level height to the number of shaking times, increasing the intelligence of the equipment, avoiding the deficiency of artificial experience shaking, and ensuring the qualification of sample mixing.
[0046] Further, for the case where the number of shaking times is extremely large, due to the large number of shaking times, there may be a certain deviation in the calculated result, and for the larger calculated number of shaking times, the number of times to be monitored should also increase. Therefore, a working mode of multiple shaking is adopted to obtain multiple data on the sample situation in the sampling tube to ensure the qualification of sample mixing; for the case where the number of shaking times is large, it indicates that a greater shaking force is required for qualified mixing. At this time, the shaking frequency is adjusted to ensure the qualification of sample mixing; for the case where the number of shaking times is small, it is shaken at a predetermined frequency to reduce the adjustment during the shaking process and maintain the stability of the equipment. Different methods are adopted for different numbers of shaking times, increasing the intelligence of the equipment, avoiding the deficiency of artificial experience shaking, and ensuring the qualification of sample mixing.
[0047] Further, for the case where the number of shaking times is extremely large, after shaking a certain number of times, the blood uniformity is re-detected, and the number of shaking times is continuously adjusted according to the detection result, or it is determined that the shaking is qualified, and multiple data on the sample situation in the sampling tube are obtained, increasing the intelligence of the equipment, avoiding the deficiency of artificial experience shaking, and ensuring the qualification of sample mixing.
[0048] Further, for the case where the number of shaking times is large, it indicates that a greater shaking force is required for qualified mixing. The shaking frequency is regulated by the determined number of shaking times. By increasing the value of the shaking frequency, the shaking becomes more intense, ensuring the mixing of the sample, increasing the intelligence of the equipment, avoiding the deficiency of artificial experience shaking, and ensuring the qualification of sample mixing.
[0049] Further, after completing the shaking according to the predetermined number of shaking times and shaking frequency, the uniformity of the sample is detected, the qualification of the shaking result is determined, and the data of the compensation parameters are re-adjusted for unqualified situations. Through feedback, the accuracy of the device's self-adjustment is continuously improved, the intelligence of the device is increased, and the qualification of sample mixing is ensured. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] Figure 1 is a schematic structural diagram of an automatic blood sample mixing device based on machine vision in the embodiment;
[0051] Figure 2 is a flowchart for determining the number of shaking times in the embodiment;
[0052] Figure 3 is a flowchart for determining the shaking frequency in the embodiment;
[0053] Figure 4 is a flowchart of an automatic blood sample mixing method based on machine vision in the embodiment. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0054] In order to make the objectives and advantages of the present invention clearer, the present invention will be further described below in conjunction with embodiments; it should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0055] The preferred embodiments of the present invention will be described below with reference to the accompanying drawings. Those skilled in the art should understand that these embodiments are only used to explain the technical principles of the present invention and do not limit the protection scope of the present invention.
[0056] It should be noted that in the description of the present invention, the terms indicating directions or positional relationships such as "upper", "lower", "left", "right", "inner", "outer", etc. are based on the directions or positional relationships shown in the drawings. This is only for convenience of description and does not indicate or imply that the device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of the present invention.
[0057] In addition, it should be noted that in the description of the present invention, unless otherwise clearly defined and limited, the terms "installation", "connection", and "connection" should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be directly connected or indirectly connected through an intermediate medium, and it can be the communication inside two elements. For those skilled in the art, the specific meanings of the above terms in the present invention can be understood according to specific situations.
[0058] Please refer to Figures 1 - 4 as shown Figure 1Schematic diagram of the structure of the automatic blood sample mixing device based on machine vision in the embodiment; Figure 2 Flowchart for determining the number of shaking times in the embodiment; Figure 3 Flowchart for determining the shaking frequency in the embodiment; Figure 4 Flowchart of the automatic blood sample mixing method based on machine vision in the embodiment.
[0059] The present invention provides an automatic blood sample mixing device based on machine vision, including,
[0060] A clamping assembly 1 for clamping the blood collection tube 8 to be shaken;
[0061] A rotating assembly 2, which is connected to the clamping assembly 1 and can control the clamping assembly 1 to rotate at a predetermined angle and number of times;
[0062] A support frame 3, which is a support structure for the clamping assembly 1 and the rotating assembly 2;
[0063] A visual detection module 4 for detecting the blood height and blood tube color in the blood collection tube 8;
[0064] A uniformity detection module 5 for detecting the blood uniformity in the blood collection tube 8;
[0065] A vertical shaking unit 6, which is arranged below the support frame 3 and can drive the support frame 3 to shake up and down;
[0066] A console 7 for fixing the vertical shaking unit 6, and a control panel 71 for selecting the working mode of the automatic blood sample mixing device and a display screen 72 for displaying the working mode and working status are arranged thereon;
[0067] A data analysis module, which is arranged inside the console 7 and is respectively connected to the rotating assembly 2, the visual detection module 4, the vertical shaking unit 6, the uniformity detection module 5, the control panel 71, and the display screen 72; under the condition of the intelligent working mode, the data analysis module determines the working modes of the vertical shaking unit 6 and the support frame 3 according to the detected blood height and blood uniformity, including determining the number of shaking times and the shaking frequency of the vertical shaking unit 6, and re-determining the compensation parameters for determining the number of shaking times according to the blood uniformity after the shaking is completed.
[0068] Specifically, the working mode includes an input working mode and an intelligent working mode, and an active setting area 711 and an intelligent setting area 712 are arranged on the control panel 71;
[0069] Through the active setting area 711, the rotation times of the rotating component 2 and the shaking times of the vertical shaking unit 6 can be manually input to enter the input working mode;
[0070] Through the intelligent setting area 712, the intelligent working mode can be selected to enter.
[0071] By means of two working modes of manual setting and intelligent control, the shaking requirements of different blood collection tubes are met, and the universality of blood collection tube shaking is increased.
[0072] At the input working mode, there are four gear buttons of 3 times, 4 times, 6 times, and 8 times for selecting the shaking times.
[0073] For the shaking times, it is set that the rotating component drives the blood collection tube to rotate 180°, the vertical shaking unit shakes up and down once, and the rotating component drives the blood collection tube to rotate 180° to the initial position as one shake.
[0074] In this embodiment, the basic working modes corresponding to different color blood collection tubes are set.
[0075] Specifically, when the intelligent working mode is selected, the visual detection module detects the blood vessel color in the blood collection tube and preliminarily determines the shaking times of the rotating component according to the color;
[0076] The visual detection module detects the liquid level height of the blood in the blood collection tube, the uniformity detection module detects the blood uniformity in the blood collection tube, and respectively transmits the collected results to the data analysis module. The data analysis module analyzes the liquid level height and the blood uniformity, and adjusts the rotation times of the rotating component according to the analysis results, or determines the working mode of the vertical shaking unit.
[0077] For different liquid level heights and uniformities, the working modes of the rotating component and the vertical shaking unit are autonomously determined, intelligently monitored and adjusted, eliminating the deficiencies of manual experience shaking and ensuring the qualification of sample mixing.
[0078] Specifically, if the collected liquid level height is less than or equal to the standard liquid level height, and the collected blood uniformity is greater than or equal to the preset uniformity, it is determined that the working modes of the rotating component and the vertical shaking unit are the basic working modes.
[0079] If the collected liquid level height is greater than the standard liquid level height, or the collected blood uniformity is less than the preset uniformity, then the working modes of the rotating component and the vertical shaking unit are re-determined according to the collected liquid level height value and the collected blood uniformity.
[0080] Specifically, in the basic working mode, the rotating component shakes the support frame according to a determined initial number of shakes H, and during the shaking process, the vertical shaking unit shakes the support frame at an initial set frequency P. In this embodiment, the initial number of shakes H is set to 8 times, and the initial set frequency P is 1.5 times per second.
[0081] If the collected liquid level height is greater than the standard liquid level height, and the collected blood uniformity is greater than or equal to the preset uniformity, then the working mode of the rotating component is regulated by the excess liquid level value;
[0082] It is set that the standard liquid level height is G0, and the collected liquid level height is G1;
[0083] It is set that the adjusted number of shakes is H1, H1 = H + (G1 - G0) × g1, where g1 is the compensation parameter of the liquid level height for the number of shakes, and H1 is rounded up.
[0084] In this embodiment, G0 = 50mm, g1 = 0.3mm / time.
[0085] When the collected liquid level height is greater than the standard liquid level height, it indicates that there is more blood sample in the blood collection tube at this time. To ensure the uniform mixing of the sample, the number of shakes is increased, which avoids the deficiency of manual experience shaking and ensures the qualification of sample mixing.
[0086] Specifically, if the collected liquid level height is less than or equal to the standard liquid level height, and the collected blood uniformity is less than the preset uniformity, then the working mode of the rotating component is regulated by the insufficient uniformity;
[0087] It is set that the preset uniformity is X0, and the collected blood uniformity is X1;
[0088] It is set that the adjusted number of shakes is H2, H2 = H + (X0 - X1) × Y1, where Y1 is the compensation parameter of the uniformity for the number of shakes, and H2 is rounded up.
[0089] In this embodiment, X0 = 0.7, Y1 = 30 times.
[0090] When the collected blood uniformity is less than the preset uniformity, it indicates that there is a certain precipitation and stratification of the blood sample in the blood collection tube at this time. At the same time, for the precipitation and stratification of the blood sample, the manual naked-eye observation is inaccurate. The uniformity detection module can reasonably obtain the uniformity through instrument detection and analyze it through the data analysis module to increase the number of shakes, which avoids the deficiency of manual experience shaking. At the same time, for the precipitation and stratification of the blood sample, the manual naked-eye observation is inaccurate, ensuring the qualification of sample mixing.
[0091] Specifically, if the collected liquid level height is greater than the standard liquid level height, and the collected blood uniformity is less than the preset uniformity, the working mode of the vertical shaking unit is regulated by combining the collected liquid level height and the collected blood uniformity;
[0092] Set the adjusted shaking times as H3, H3 = H + (X0 - X1) × Y2 + (G1 - G0) × g2, where g2 is the second compensation parameter of the liquid level height for the shaking times, Y2 is the second compensation parameter of the uniformity for the shaking times, and H3 is rounded up.
[0093] The value of Y2 is less than Y1, and the value of g2 is less than g1. In this embodiment, Y2 = 0.9Y1 and g2 = 0.7g1.
[0094] For the case where the shaking times are affected by two items of data, after shaking a certain number of times, the uniformity will increase. Therefore, the influence ratio of each influencing data is decreased. While ensuring that it can be shaken evenly, the shaking times are reduced. At the same time, because the uniformity of the sample is an important parameter for evaluating the mixing qualification, the verification ratio of the uniformity for the shaking times is greater than the ratio of the liquid level height for the shaking times, increasing the intelligence of the device, avoiding the deficiencies of manual experience shaking, and ensuring the qualification of sample mixing.
[0095] Specifically, the data analysis module verifies the determined shaking times Hq, and determines the rotation component or the working mode of the vertical shaking unit according to the verification result;
[0096] The data analysis module is provided with a maximum shaking comparison times Hx and a maximum shaking value Hz corresponding to the base frequency;
[0097] Specifically, if the shaking times are greater than the maximum shaking comparison times, the data analysis module determines to adopt the working mode of multiple shakes;
[0098] If the shaking times are less than or equal to the maximum shaking comparison times and greater than the maximum shaking value corresponding to the base frequency, the data analysis module adjusts the shaking frequency of the vertical shaking unit;
[0099] If the shaking times are less than or equal to the maximum shaking value corresponding to the base frequency, the support frame is shaken according to the determined shaking times and the initial set frequency.
[0100] In this embodiment, the maximum shaking comparison times Hx = 15 times, and the maximum shaking value Hz corresponding to the base frequency = 12 times.
[0101] For those with extremely large number of shakes, due to the large number of shakes, there may be certain deviations in the calculation results. Moreover, for a relatively large number of calculated shakes, the number of times to be monitored should also increase. Therefore, a working mode of multiple shakes is adopted to obtain data on the sample situation in the sampling tube multiple times to ensure the qualification of sample mixing. For those with a relatively large number of shakes, it indicates that a relatively large shaking force is required for qualified mixing. At this time, by adjusting the shaking frequency, the qualification of sample mixing is ensured. For those with a relatively small number of shakes, shaking is carried out at a predetermined frequency to reduce the adjustment during the shaking process and maintain the stability of the equipment. Different methods are adopted for different numbers of shakes, increasing the intelligence of the equipment, avoiding the deficiencies of manual experience shaking, and ensuring the qualification of sample mixing.
[0102] Specifically, the working mode of multiple shakes is to divide the working mode into a first-stage working mode and a second-stage working mode. Among them, the first-stage working mode is to drive the support frame to shake according to half (rounded down) of the adjusted number of shakes and the initial set frequency. After completing the first-stage working mode, it enters the second-stage working mode. The second-stage working mode is that the uniformity detection module re-collects the blood uniformity and recalculates the number of shakes until the number of shakes is less than or equal to the maximum shake comparison number, or the collected blood uniformity is greater than the qualified mixing uniformity evaluation value Xz.
[0103] In this embodiment, the qualified mixing uniformity evaluation value Xz = 0.95.
[0104] For those with an extremely large number of shakes, after shaking a certain number of times, the blood uniformity is re-detected, and the number of shakes is continuously adjusted according to the detection results, or it is determined that the shaking is qualified. Data on the sample situation in the sampling tube is obtained multiple times, increasing the intelligence of the equipment, avoiding the deficiencies of manual experience shaking, and ensuring the qualification of sample mixing.
[0105] Specifically, when the number of shakes is less than or equal to the maximum shake comparison number and greater than the maximum shake value corresponding to the base frequency, the data analysis module compares the determined number of shakes Hq with the maximum shake value Hz corresponding to the base frequency. Hq = H3, H1 or H2.
[0106] If Hq ≤ Hz, the vertical shaking unit drives the support frame to shake at the initial set frequency P.
[0107] If Hq > Hz, the vertical shaking unit adjusts the initial set frequency P according to the determined number of shakes, and sets the adjusted frequency as P1.
[0108] Set P1 = P + (Hq - Hz) × p0, where p0 is the calibration coefficient of the number of shakes to the shaking frequency. In this embodiment, p0 = 0.2 times. -1 .
[0109] For those with a large number of shaking times, it indicates that a greater shaking force is required for qualified mixing. By regulating the shaking frequency based on the determined number of shaking times, and increasing the value of the shaking frequency, the shaking becomes more intense, ensuring the mixing of the sample, enhancing the intelligence of the device, avoiding the deficiencies of manual experience shaking, and ensuring the qualification of sample mixing.
[0110] Specifically, after the shaking is completed according to the set number of shaking times and shaking frequency, the uniformity detection module re-collects the blood uniformity Xm and compares it with the qualified mixing uniformity evaluation value Xz.
[0111] If the collected blood uniformity Xm is greater than or equal to the qualified mixing uniformity evaluation value Xz, it is determined that the blood sample is mixed qualified;
[0112] If the collected blood uniformity Xm is less than the qualified mixing uniformity evaluation value Xz, it is determined that the blood sample is not mixed qualified. The data analysis module, according to the detection result, re-controls the rotation assembly and the vertical shaking unit to shake the blood collection tube, and re-determines the value of the compensation parameter during the calibration process.
[0113] After the shaking is completed according to the predetermined number of shaking times and shaking frequency, the uniformity of the sample is detected, the qualification of the shaking result is determined, and the data of the compensation parameter for the unqualified situation is re-adjusted. Through feedback, the accuracy of the device's self-adjustment is continuously improved, the intelligence of the device is enhanced, and the qualification of sample mixing is ensured.
[0114] Specifically, if after the shaking is completed according to the set number of shaking times and shaking frequency, and the collected blood uniformity is less than the qualified mixing uniformity evaluation value, the data analysis module re-determines the value of the compensation parameter of the uniformity for the number of shaking times, or the value of the compensation parameter of the liquid level height for the number of shaking times.
[0115] If only the liquid level height is used to adjust the number of shaking times and it is unqualified after shaking, the data analysis module determines the value of the compensation parameter g1 of the liquid level height for the number of shaking times, and the adjusted value is g1'.
[0116] g1' = g1 + (Xz - Xm) × a, where a is the calibration value of the uniformity difference for the liquid level height compensation parameter. In this embodiment, a = 3, and there is a set maximum value for the value of the compensation parameter of the liquid level height for the number of shaking times, and the set maximum value is 0.5.
[0117] If only the uniformity is used to adjust the number of shaking times and it is unqualified after shaking, the data analysis module determines the value of the compensation parameter Y1 of the uniformity for the number of shaking times, and the adjusted value is Y1'.
[0118] Y1’ = Y1 + (Xz - Xm) × b, where b is the calibration value of the uniformity compensation parameter for the uniformity difference. In this embodiment, b = 200, and a maximum value of the compensation parameter of the uniformity for the number of shakes is set, and the set numerical maximum value is 45.
[0119] Specifically, if the number of shakes is adjusted by combining the liquid level height and the uniformity, it is set that Y2 = 0.95Y1 and g2 = 0.85g1.
[0120] The present invention also provides an automatic blood sample mixing method based on machine vision, which is implemented based on the above-mentioned automatic blood sample mixing device based on machine vision, and includes
[0121] Determine the initial number of shakes according to the detected color of the blood collection tube;
[0122] Verify the initial number of shakes according to the detected blood height and blood uniformity, and re-determine the number of shakes;
[0123] Determine the shaking frequency according to the number of shakes, or adopt a working mode of multiple shakes;
[0124] Complete the shaking according to the determined number of shakes and shaking frequency;
[0125] The uniformity detection module re-collects the blood uniformity and compares it with the mixing qualified uniformity evaluation value;
[0126] Re-determine the value of the compensation parameter during the verification process.
[0127] So far, the technical solution of the present invention has been described in conjunction with the preferred embodiments shown in the drawings. However, it is easy for those skilled in the art to understand that the protection scope of the present invention is obviously not limited to these specific embodiments. Without departing from the principle of the present invention, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will fall within the protection scope of the present invention.
[0128] The above are only the preferred embodiments of the present invention and are not used to limit the present invention; for those skilled in the art, the present invention can have various changes and modifications. Any modification, equivalent substitution, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. An automatic blood sample mixing device based on machine vision, characterized in that, including a clamping assembly for clamping a blood collection tube to be shaken a rotating assembly connected to the clamping assembly and capable of controlling the clamping assembly to rotate at a predetermined angle and number of times a support frame serving as a support structure for the clamping assembly and the rotating assembly a visual detection module for detecting the blood height and blood collection tube color inside the blood collection tube a uniformity detection module for detecting the blood uniformity inside the blood collection tube a vertical shaking unit provided below the support frame and capable of driving the support frame to shake up and down a console for fixing the vertical shaking unit, and provided thereon with a control panel for selecting the working mode of the blood sample automatic mixing device and a display screen for displaying the working mode and working status a data analysis module provided inside the console and respectively connected to the rotating assembly, the visual detection module, the vertical shaking unit, the uniformity detection module, the control panel, and the display screen; under the condition of the intelligent working mode, the data analysis module determines the working modes of the vertical shaking unit and the support frame according to the detected blood height and blood uniformity, including determining the number of shaking times and the shaking frequency of the vertical shaking unit, and re-determining the compensation parameter for the determined number of shaking times according to the blood uniformity after completion of shaking 2. The automatic blood sample mixing device based on machine vision according to claim 1, wherein further including a console for fixing the vertical shaking unit, and provided thereon with a control panel for selecting the working mode of the blood sample automatic mixing device and a display screen for displaying the working mode and working status; the data analysis module is provided inside the console the working mode includes an input working mode and an intelligent working mode, and the control panel is provided with an active setting area and an intelligent setting area through the active setting area, the number of rotations of the rotating assembly and the number of shaking times can be manually input to enter the input working mode through the intelligent setting area, the intelligent working mode can be selected to enter 3. The automatic blood sample mixing device based on machine vision according to claim 1, wherein, the visual detection module detects the color of the blood collection tube when the intelligent working mode is selected to determine the initial number of shaking times the visual detection module detects the liquid level height of the blood inside the blood collection tube, the uniformity detection module detects the blood uniformity inside the blood collection tube, and respectively transmits the acquisition results to the data analysis module. The data analysis module analyzes the liquid level height and blood uniformity, and determines the working modes of the rotating assembly and the vertical shaking unit according to the analysis results 4. The automatic blood sample mixing device based on machine vision according to claim 3, characterized in that, the data analysis module determines that the working modes of the rotating assembly and the vertical shaking unit are the basic working modes according to the acquired liquid level height and blood uniformity, or regulates the working modes of the rotating assembly and the vertical shaking unit through the acquired liquid level height, or regulates the working modes of the rotating assembly and the vertical shaking unit through the acquired blood uniformity, or regulates the working modes of the rotating assembly and the vertical shaking unit through the combination of the acquired liquid level height and the acquired blood uniformity 5. The automatic blood sample mixing device based on machine vision according to claim 4, wherein The data analysis module is provided with a standard liquid level height and a preset uniformity. If the collected liquid level height is less than or equal to the standard liquid level height, and the collected blood uniformity is greater than or equal to the preset uniformity, the working mode of the rotating component and the vertical shaking unit is determined to be the basic working mode.
6. The automatic blood sample mixing device based on machine vision according to claim 4, characterized in that, The data analysis module regulates the working modes of the rotating assembly and the vertical shaking unit, including: The number of shaking times is determined by the height of the collected liquid level, or the uniformity of the collected blood, or the number of shaking times is determined by the height of the collected liquid level and the uniformity of the collected blood; The shaking frequency is determined by the number of shaking times, or a multiple shaking working mode is adopted.
7. The blood sample automatic mixing device based on machine vision according to claim 6, characterized in that: The multiple shaking working mode is to divide the working mode into a first stage working mode and a second stage working mode, wherein the first stage working mode is to drive the support frame to shake according to half of the adjusted shaking times and the initial set frequency, and after completing the first stage working mode, enter the second stage working mode, and the second stage working mode is that the uniformity detection module re-collects the blood uniformity and recalculates the shaking times until the shaking times are less than or equal to the maximum shaking comparison times, or the collected blood uniformity is greater than the mixed qualified uniformity evaluation value, wherein, If half of the adjusted shaking number is not an integer, it is rounded down.
8. The automatic blood sample mixing device based on machine vision according to claim 6, characterized in that, The data analysis module is provided with the maximum shaking comparison times and the maximum shaking value corresponding to the basic frequency; If the shaking times are greater than the maximum shaking comparison times, the data analysis module determines to adopt a multiple shaking working mode; If the shaking times are less than or equal to the maximum shaking comparison times and are greater than the maximum shaking value corresponding to the basic frequency, the data analysis module adjusts the shaking frequency of the vertical shaking unit.
9. The automatic blood sample mixing device based on machine vision according to claim 1, wherein After the data analysis module completes the shaking according to the set shaking times and shaking frequency, the uniformity detection module re-collects the blood uniformity and compares it with the mixed qualified uniformity evaluation value; If the uniformity of the collected blood is greater than or equal to the qualified mixing uniformity evaluation value, the blood sample is judged to be qualified for mixing; If the uniformity of the collected blood is less than the qualified mixing uniformity evaluation value, the blood sample is judged to be mixed unqualified. The data analysis module re-controls the rotating component and the vertical shaking unit to shake the blood collection tube according to the detection results, and re-determines the value of the compensation parameter during the verification process.
10. An automatic blood sample mixing method based on machine vision, which is implemented based on the automatic blood sample mixing device based on machine vision according to any one of claims 1-9, characterized in that, include, Determine the initial shaking times according to the color of the blood collection tube tested; The initial shaking times are verified according to the detected blood height and blood uniformity, and the shaking times are re-determined; Determine the shaking frequency according to the number of shaking times, or adopt a working mode of multiple shaking; Complete shaking according to the determined shaking times and shaking frequency; The uniformity detection module re-collects the uniformity of the blood and compares it with the mixed qualified uniformity evaluation value; Re-determine the values of the compensation parameters during the calibration process.
Citation Information
Patent Citations
Automatic blood sample mixing device and mixing method
CN113181811A