Urine sample testing equipment and testing methods
By introducing control devices into the urine sample detection equipment, detecting and adjusting the movement direction of the counting pool, the return difference problem during the microscope focusing process is solved, the photo clarity and detection speed are improved, and it is suitable for focusing motion in all directions, realizing Optimize the urine sample detection process.
Patent Information
- Application Number
- CN202010053766.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-01-17
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2040-03-06
AI Technical Summary
In urine sample detection equipment, there is a backhaul difference in the microscope during the focus process, resulting in unclear photos. Existing methods such as using gap-extinguishing nuts to increase costs and affect movement speed, and cannot solve the problem of backhaul difference in vertical direction.
By introducing a control device into the urine sample detection device, the movement direction of the counting pool is detected, and when a reverse motion is detected, the counting pool is first driven to move in the second direction to a predetermined distance beyond the target position, and then move in the first direction. Go to the target position to eliminate the return difference.
Eliminates the backhaul difference in the microscope focus process, improves the clarity of the photo, optimizes the detection process, avoids cost increase, and is suitable for focus motion in all directions.
Smart Images

Figure CN113138190B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of urine sample detection, and more specifically, to a urine sample detection device and a detection method. Background Art
[0002] When testing a urine sample, the microscope of the urine sample testing equipment (for example, a urine formed component analyzer) takes a picture of the urine sample in the counting pool. The counting pool is driven to move in the X, Y, and Z directions through a motor, an optical coupler, and a related control program to move the counting pool to a previously focused or set target position, so that a clear picture can be taken.
[0003] However, there is a return error (empty return) in the movement of the counting pool, which is manifested as the final direction of the counting pool moving to a certain position in a certain dimension (X, Y or Z direction) is different, and the actual arrival position after moving to the position is also different. The deviation is the return error. The return error is caused by different thread pitches, elastic structure, friction, and gaps between mechanical parts. It will affect the tracking and positioning accuracy in the horizontal direction and the clarity of cell photos in the vertical direction. The current method to reduce the impact of the return error on the horizontal direction is to use an anti-backlash nut, and there is no measure for the vertical direction.
[0004] Although the use of anti-backlash nuts can basically eliminate the return difference, it has the following disadvantages:
[0005] 1) Increase material costs and assembly time;
[0006] 2) The anti-backlash nut will increase the transmission load, slowing down the movement of the counting cell and affecting the test speed;
[0007] 3) Increase mechanical wear, which greatly reduces the life of the transmission structure;
[0008] 4) This structure cannot be applied in the vertical direction.
[0009] Therefore, the art needs a new type of urine sample detection device and detection method to solve the above problems. Summary of the invention
[0010] The present invention is proposed to solve the above problems. According to one aspect of the present invention, a urine sample detection device is provided, the urine sample detection device includes a counting pool, an image acquisition device, a driving device and a control device, wherein: the counting pool is used to carry the urine sample to be tested; the image acquisition device includes a camera unit, the camera unit is used to shoot the urine sample in the field of view to obtain multiple images of the urine sample; the driving device is connected to the counting pool, and is used to drive the counting pool to move to focus on the urine sample; the control device is coupled to the driving device, and is used to detect the movement direction of the counting pool and control the movement mode of the counting pool, wherein when it is detected that the counting pool moves toward the target position along a second direction opposite to the preset first direction, the control device controls the driving device, first drives the counting pool to move along the second direction to a predetermined distance beyond the target position, and then drives the counting pool to move along the first direction to the target position for focusing.
[0011] According to another aspect of the present invention, a urine sample detection device is provided, which includes: a setting module for pre-setting a first direction of movement of a counting pool of the urine sample detection device; and a control module for detecting the movement direction of the counting pool and controlling the movement mode of the counting pool, wherein when it is detected that the counting pool moves toward a target position along a second direction opposite to the first direction, the counting pool is first controlled to move along the second direction to a position exceeding a predetermined distance from the target position, and then the counting pool is controlled to move along the first direction to the target position.
[0012] According to another aspect of the present invention, a urine sample detection method is provided, which is applied to a urine sample detection device, wherein the urine sample detection device includes an image acquisition device, and the urine sample detection method includes: driving the counting pool to move to focus on the urine sample, and detecting the movement direction of the counting pool, wherein when it is detected that the counting pool moves toward a target position along a second direction opposite to a preset first direction, first driving the counting pool to move along the second direction to a position exceeding a predetermined distance from the target position, and then driving the counting pool to move along the first direction to the target position for focusing; controlling the camera unit of the image acquisition device to take a picture of the urine sample in the counting pool after focusing, so as to obtain multiple images of the urine sample.
[0013] According to another aspect of the present invention, a computer-readable storage medium is provided, comprising computer-executable instructions, wherein when the computer-executable instructions are executed by a processor, the method described above can be executed.
[0014] According to the urine sample detection device and the urine sample detection method of the embodiments of the present invention, the return error of the microscope focusing process during urine sample detection is eliminated, the clarity of the captured photos is improved, and only the urine sample detection process is optimized, which will not cause an increase in cost. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] The above and other purposes, features and advantages of the present invention will become more apparent by describing the embodiments of the present invention in more detail in conjunction with the accompanying drawings. The accompanying drawings are used to provide a further understanding of the embodiments of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings, the same reference numerals generally represent the same components or steps.
[0016] Figure 1 A schematic structural diagram of a urine sample testing device according to an embodiment of the present invention is shown.
[0017] Figure 2 A schematic diagram showing an exemplary route for driving the counting cell to move to eliminate the backhaul difference according to an embodiment of the present invention.
[0018] Figure 3 A schematic structural block diagram of a urine sample detection device according to an embodiment of the present invention is shown.
[0019] Figure 4 An exemplary flow chart of a urine sample testing method according to an embodiment of the present invention is shown.
[0020] Figure 5 A schematic top view of a counting cell in a urine sample testing device according to an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0021] In order to make the purpose, technical scheme and advantages of the present invention more obvious, the exemplary embodiments according to the present invention will be described in detail with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments of the present invention, and it should be understood that the present invention is not limited to the exemplary embodiments described herein. Based on the embodiments of the present invention described in the present invention, all other embodiments obtained by those skilled in the art without creative work should fall within the protection scope of the present invention.
[0022] As described above, due to the return path difference, the microscope of the urine sample testing equipment may not be accurately focused, resulting in unclear photos.
[0023] In order to eliminate the return difference, the present invention provides a urine sample detection device and a urine sample detection method, wherein the urine sample detection device may include a counting pool, an image acquisition device, a driving device and a control device, wherein: the counting pool is used to carry the urine sample to be tested; the image acquisition device includes a camera unit, and the camera unit is used to shoot the urine sample in the field of view to obtain multiple images of the urine sample; the driving device is connected to the counting pool, and is used to drive the counting pool to move so as to focus on the urine sample; the control device is coupled to the driving device, and is used to detect the movement direction of the counting pool and control the movement mode of the counting pool, wherein: when it is detected that the counting pool moves toward a target position along a second direction opposite to a preset first direction, the control device controls the driving device, first drives the counting pool to move along the second direction to a predetermined distance exceeding the target position, and then drives the counting pool to move along the first direction to the target position for focusing.
[0024] The urine sample detection device and the urine sample detection method of the present invention eliminate the return error in the focusing process of the microscope during urine sample detection, improve the clarity of the photographed photos, and only optimize the urine sample detection process without causing an increase in cost.
[0025] The urine sample detection device and the urine sample detection method according to the present invention are described in detail below in conjunction with specific embodiments.
[0026] Embodiment 1
[0027] This embodiment provides a urine sample detection device. Figure 1 As shown, Figure 1 A schematic structural diagram of a urine sample testing device 100 according to an embodiment of the present invention is shown.
[0028] Reference Figure 1 According to the present embodiment, the urine sample detection device 100 may include a counting pool 10, an image acquisition device 20, a driving device 30 and a control device 40. It should be understood that the urine sample detection device 100 may also include well-known components, such as a transmission track, a sample injection mechanism, a sampler, etc., which are not limited by the present invention. Among them, the urine sample detection device 100 can be any urine sample detection device known in the art, such as a urine formed component analyzer, a urine sediment analyzer, etc., which are not limited by the present invention. The following description is taken as an example of a urine formed component analyzer.
[0029] The counting pool 10 is used to carry the urine sample to be tested, and the urine sample may contain various formed elements, such as red blood cells, white blood cells, white blood cell clusters, bacteria, epithelial cells, crystals, casts, mucus threads, sperm, etc., and may also contain various impurities. In addition, the counting pool 10 is also used to provide a field of view for shooting.
[0030] The image acquisition device 20 is used to magnify, focus and take photos of the urine sample in the shooting field of view to obtain multiple images. Specifically, the image acquisition device 20 may include a microscope 22 and a camera unit 24.
[0031] The microscope 22 may include a stage 222 for carrying the counting pool 10, and an objective lens 224 for magnifying and photographing the object to be measured in the field of view. During use, the stage 222 and / or the objective lens 224 may be driven by the driving device 30 to move to the target position, thereby completing the focusing operation. Specifically, the driving device 30 may include a driving circuit and a stepping motor.
[0032] It should be understood that the microscope 22 may also include any other components known to those skilled in the art, such as an eyepiece, a light source lamp, a base, etc., and the present invention is not limited thereto.
[0033] In actual operation, in order to facilitate disassembly and maintenance, the objective lens 224 is usually kept stationary, and the driving device 30 drives the stage 222 to move, and the stage 222 drives the counting pool 10 to move, so as to complete the focusing. Throughout this article, the driving device 30 drives the stage 222 to move as an example, and in order to unnecessarily obscure the present invention, the connection method and the driving process are simplified as follows: the driving device 30 is connected to the counting pool 10, and is used to drive the counting pool 10 to move, so as to focus on the urine sample.
[0034] The camera unit 24 is installed above the objective lens 224 of the microscope 22, and is used to photograph the magnified urine sample in the field of view to obtain multiple images of the urine sample. The camera unit 24 may include any camera unit known in the art, such as various CCD cameras, CMOS cameras, etc., which are not limited in the present invention.
[0035] The control device 40 is coupled to the driving device 30, and is used to detect the movement direction of the counting pool 10 and control the movement mode of the counting pool 10. The movement mode of the counting pool 10 may include the movement direction, movement distance, delayed movement time, etc. of the counting pool 10, which is not limited by the present invention. Specifically, the control device 40 transmits the control information to the driving device 30, and the driving device 30 drives the counting pool 10 to move according to the control information to focus on the urine sample to be tested.
[0036] Specifically, when it is detected that the counting pool 10 moves toward the target position along a second direction opposite to the preset first direction, the control device 40 controls the driving device 30 to first drive the counting pool 10 to move along the second direction to a position exceeding a predetermined distance from the target position, and then drive the counting pool 10 to move along the first direction to the target position for focusing. Exemplarily, the target position may be a focal plane position.
[0037] refer to Figure 2 , Figure 2 FIG. 1 is a schematic diagram showing an exemplary route for driving the counting pool to move to eliminate the return difference according to an embodiment of the present invention. Figure 2 As shown, the preset upward movement direction is the positive direction. If the starting point of the counting pool is at position O and it is to move to the target position P, the movement direction of the counting pool is opposite to the positive direction. At this time, the counting pool can be driven to move in the downward direction to a predetermined distance X beyond the target position P, and then the counting pool can be driven to move in the upward direction to the target position P. The predetermined distance X can also be called the distance to eliminate the back-stroke difference.
[0038] When it is detected that the counting pool 10 moves toward the target position along the preset first direction, the control device 40 can control the driving device 30 to drive the counting pool 10 to move directly to the target position for focusing.
[0039] Still refer to Figure 2 If the starting point of the counting pool is at position S and it is to move to the target position P, the movement direction of the counting pool is in the positive direction. At this time, the counting pool can be driven to move directly from position S to the target position P.
[0040] In actual use, the movement of the counting pool 10 can include three dimensions, namely the X direction, the Y direction and the Z direction, wherein the X direction can be the left-right direction, the Y direction can be the front-back direction, and the Z direction can be the up-down direction, i.e. the focusing direction. Among them, the movement of the counting pool 10 in the X and Y directions mainly ensures the accuracy of cell tracking and positioning, and the movement in the Z direction ensures the clarity of cell photography. The control device 40 of the embodiment of the present invention can control the movement of the counting pool 10 in any one or more directions of the X direction, the Y direction and the Z direction.
[0041] In practical applications, since the return difference in the Z direction is about 0 to 7 microns, and the depth of field of the objective lens is also about several microns (for example, the depth of field of a 40x objective lens is only 1.3 microns), the movement in the Z direction has a greater impact on the clarity of the photographed photo, and the return difference will cause the photographed photo to be unclear, and the clarity directly affects the segmentation and recognition of cells and the user experience, so it is of great significance to eliminate the return difference in the Z direction movement. The following is an example of the control device 40 controlling the movement of the counting pool 10 in the Z direction for accurate focusing.
[0042] Exemplarily, the first direction may be preset as a direction in which the counting pool 10 moves toward or away from the objective lens of the image acquisition device 20 , that is, may be preset as along the +Z direction or the −Z direction.
[0043] In practical applications, since the counting pool can move in the X, Y and Z directions simultaneously when it is in motion, and the action of eliminating the return difference in the Z direction will affect the detection speed of the whole machine, and thus affect the performance index of the whole urine detection device, making the urine detection device not meet the production requirements, it should be ensured that the movement time in the Z direction after adding the return difference action will not exceed the movement time in the X and Y directions, so as to avoid the action of eliminating the return difference affecting the detection speed of the whole machine. Exemplarily, the predetermined distance can be pre-set based on the return difference of the movement of the counting pool 10, and will not affect the detection speed of the urine sample detection device.
[0044] Through experiments, it is found that when the distance to eliminate the return difference is greater than 40 microns, the time of movement in the Z direction will exceed the movement time in the X and Y directions, which will affect the movement speed of the whole machine. The return difference of the counting pool 10 in the Z direction is approximately 0 to 7 microns, and the distance to eliminate the return difference should be greater than the return difference. Therefore, illustratively, the predetermined distance (i.e., the distance to eliminate the return difference) can be 7 to 40 microns. Preferably, a predetermined distance as large as possible should be selected to ensure that the return difference is completely eliminated, so the predetermined distance can be about 37 microns. It should be understood that in actual applications, the above-mentioned distances are usually expressed in terms of the number of steps of the stepper motor movement. For example, the return difference is about 50 steps, and the predetermined distance can be about 150 steps.
[0045] In practical applications, due to inertia, the control device 40 controls the driving device 30 to first drive the counting pool 10 to move in the second direction to a predetermined distance beyond the target position, and then after a delay time interval, the control device 40 controls the driving device 30 to drive the counting pool 10 to move in the first direction to the target position for focusing. The delay time interval can be set based on experience, such as 0-200 milliseconds, and the present invention is not limited to this.
[0046] According to the urine sample testing device of this embodiment, the return error of the microscope focusing process during urine sample testing is eliminated, the clarity of the photographed photos is improved, and the testing speed of the testing device is not affected. In addition, only the urine sample testing process is optimized, which does not increase the cost.
[0047] Embodiment 2
[0048] This embodiment provides a urine sample detection device. Figure 3 , Figure 3 FIG. 2 shows a schematic structural block diagram of a urine sample detection device 200 according to an embodiment of the present invention. Figure 3As shown, the urine sample detection device 200 can be any urine sample detection device known in the art, such as a urine formed component analyzer, a urine sediment analyzer, etc., and the present invention is not limited to this. Specifically, the urine sample detection device may include a setting module 210 and a control module 230, etc. Among them:
[0049] The setting module 210 can be used to pre-set a first direction of movement of the counting pool of the urine sample detection device. The counting pool is used to carry the urine sample to be tested, and the urine sample can contain various formed elements, such as red blood cells, white blood cells, white blood cell clusters, bacteria, epithelial cells, crystals, casts, mucus threads, sperm, etc., and can also contain various impurities. In addition, the counting pool is also used to provide a field of view for shooting.
[0050] Exemplarily, the first direction may be preset as the direction in which the counting cell moves toward or away from the objective lens of the image acquisition device, that is, may be preset as along the +Z direction or the -Z direction.
[0051] It should be understood that during use, the counting pool can be driven to move for focusing, the object lens of the urine sample detection device 200 can be driven to move for focusing, and the counting pool and the object lens can also be driven to move for focusing at the same time, and the present invention does not limit this. However, in actual operation, in order to facilitate disassembly and maintenance, the object lens is usually kept stationary, and the counting pool is driven to move, so as to complete the focusing. Therefore, the present embodiment is described by taking driving the counting pool to move for focusing as an example.
[0052] The control module 230 is used to detect the movement direction of the counting pool and control the movement mode of the counting pool. The movement mode of the counting pool may include the movement direction, movement distance, delayed movement time, etc. of the counting pool, which is not limited in the present invention.
[0053] Specifically, when it is detected that the counting pool moves toward the target position in a second direction opposite to the first direction, the counting pool is first controlled to move in the second direction to a predetermined distance beyond the target position, and then the counting pool is controlled to move in the first direction to the target position. The predetermined distance may also be referred to as a return path difference elimination distance.
[0054] Exemplarily, the predetermined distance can be pre-set based on the return distance difference of the counting pool movement, and will not affect the detection speed of the urine sample detection device.
[0055] Exemplarily, the predetermined distance (i.e., the distance to eliminate the return difference) may be 7 to 40 microns. Preferably, the predetermined distance should be as large as possible to ensure that the return difference is completely eliminated, so the predetermined distance may be about 37 microns. It should be understood that in practical applications, the above-mentioned distances are usually expressed in terms of the number of steps of the stepper motor. For example, if the return difference is about 50 steps, the predetermined distance may be about 150 steps.
[0056] In practical applications, due to inertia, after the control module controls the counting pool to move in the second direction to a predetermined distance beyond the target position, after a delay time interval, the counting pool is controlled to move in the first direction to the target position for focusing. The delay time interval can be set based on experience, such as 0-200 milliseconds, etc., and the present invention is not limited to this.
[0057] According to the urine sample testing device of this embodiment, the return error of the microscope focusing process during urine sample testing is eliminated, the clarity of the photographed photos is improved, and the testing speed of the testing device is not affected. In addition, only the urine sample testing process is optimized, which does not increase the cost.
[0058] Embodiment 3
[0059] This embodiment provides a urine sample detection method, which is applied to a urine sample detection device. The urine sample detection device can be any urine sample detection device known in the art, such as a urine formed component analyzer, a urine sediment analyzer, etc., and the present invention is not limited to this. The urine sample detection device can include an image acquisition device for magnifying and photographing the urine sample in the shooting field of view to obtain multiple images.
[0060] refer to Figure 4 , Figure 4 An exemplary flow chart of a urine sample detection method 400 according to an embodiment of the present invention is shown. Specifically, the urine sample detection method 400 may include:
[0061] Step S410: driving the counting pool to move to focus on the urine sample, and detecting the movement direction of the counting pool.
[0062] The counting pool is used to carry the urine sample to be tested. The urine sample may contain various formed elements, such as red blood cells, white blood cells, white blood cell clusters, bacteria, epithelial cells, crystals, casts, mucus threads, sperm, etc., and may also contain various impurities. In addition, the counting pool is also used to provide a field of view for shooting. Since the formed elements in the urine sample will be stratified, a certain formed element in the urine sample can be focused and photographed to obtain a clear image of it.
[0063] It should be understood that during use, the counting pool can be driven to move to the target position for focusing, the objective lens of the image analysis device can be driven to move for focusing, and the counting pool and the objective lens can be driven to move for focusing at the same time, and the present invention does not limit this. However, in actual operation, in order to facilitate disassembly and maintenance, the objective lens is usually kept stationary, and the counting pool is driven to move, so as to complete the focusing. Therefore, this embodiment is described by taking driving the counting pool to move for focusing as an example.
[0064] Specifically, when it is detected that the counting pool moves toward the target position along a second direction opposite to the preset first direction, the counting pool is first driven to move along the second direction to a position exceeding a predetermined distance from the target position, and then the counting pool is driven to move along the first direction to the target position for focusing. Exemplarily, the target position may be a focal plane position. The predetermined distance may also be referred to as a distance to eliminate the return error.
[0065] Exemplarily, the first direction may be preset as the direction in which the counting cell moves toward or away from the objective lens of the image acquisition device, that is, may be preset as along the +Z direction or the -Z direction.
[0066] Exemplarily, the predetermined distance (i.e., the distance to eliminate the return difference) can be pre-set based on the return difference of the counting pool movement, and will not affect the detection speed of the urine sample detection device. Exemplarily, the predetermined distance can be 7 to 40 microns. Preferably, a predetermined distance as large as possible should be selected to ensure that the return difference is completely eliminated, so the predetermined distance can be about 37 microns. It should be understood that in practical applications, the above-mentioned distances are usually expressed in terms of the number of steps of the stepper motor movement. For example, the return difference is about 50 steps, and the predetermined distance can be about 150 steps.
[0067] When it is detected that the counting pool moves toward the target position along the preset first direction, the counting pool can be driven to move directly to the target position for focusing.
[0068] In practical applications, due to inertia, the counting pool can be driven to move in the second direction to a predetermined distance beyond the target position, and then after a delay time interval, the counting pool can be driven to move in the first direction to the target position for focusing. The delay time interval can be set based on experience, such as 0-200 milliseconds, etc., and the present invention is not limited to this.
[0069] Step S420: controlling the camera unit of the image acquisition device to take pictures of the focused urine sample in the counting pool to obtain multiple images of the urine sample.
[0070] For example, any camera unit known in the art, such as various CCD cameras, CMOS cameras, etc., can be used to take pictures of urine samples. For example, the acquired images can be used to analyze various formed components in the urine sample, and can also be processed in a series to obtain clear images of various formed components.
[0071] According to the urine sample detection method of this embodiment, the return error of the microscope focusing process during urine sample detection is eliminated, the clarity of the captured photos is improved, and only the urine sample detection process is optimized, which will not cause an increase in cost.
[0072] Two exemplary application examples of the urine sample detection method of this embodiment are specifically introduced below.
[0073] First, the urine sample detection method can be used for the focal length compensation process when switching between high-power and low-power objective lenses during urine sample detection.
[0074] When the microscope is switched from a low-power lens to a high-power lens, the objective lens has a parameter, the parfocal distance, which refers to the distance from the focal plane to the rear section of the objective lens when the objective lenses of different magnifications are used for imaging. The ideal situation for the parfocal distance is that when the objective lens of a certain magnification is successfully focused, it is also focused when switching to an objective lens of a different magnification, and there is no need to adjust the focal length. However, this is impossible in actual operation. For example, it is often the case that after switching from a low-power lens to a high-power lens, the sample under the low-power lens cannot be found or a clear image cannot be obtained. This is related to the focal depth of the objective lens. In order to obtain a clear image, when the high-power lens and the low-power lens are switched to each other, the focal length needs to be readjusted along the positive or negative direction of the Z axis. At this time, the method of this embodiment can be used to eliminate the influence of the return difference.
[0075] Second, the urine sample detection method can be used for a focus compensation process when moving from one shooting area to another shooting area during the urine sample detection process.
[0076] When using a urine sediment analyzer to detect formed elements in urine, first obtain a urine sample, input the urine sample into a counting pool on the microscope stage through a urine providing device, and when the inner cavity of the counting pool is filled with the urine sample to be tested, close the injection valve of the urine providing device, the urine sample to be tested is stationary, and the formed elements such as cells are precipitated onto the glass slide under the counting pool by gravity, and are evenly distributed in the counting pool, so that the formed elements such as cells have a consistent focal plane relative to the microscope objective.
[0077] At present, automatic focusing is usually used to focus on the shooting area where the urine sample in the counting pool is located. Specifically, refer to Figure 5, respectively etch the marking patterns on the cavity or surface of the counting pool, generally setting the first marking pattern 101 on the first side of the cavity or surface of the counting pool, and setting the second marking pattern 102 on the second side. Preferably, the ideal shooting area 103 is 0.2-0.6 cm away from the first marking pattern 101, 0.2-0.6 cm away from the second marking pattern 102, and 0.2-0.6 cm away from the upper and lower boundaries of the counting pool plane. At this time, the ideal shooting area 103 obtained can avoid uneven illumination, shadow phenomena and interference of marking patterns in the boundary area, and at the same time ensure that the area of the shootable area is large enough. The shape of the marking pattern etched on the cavity or surface of the counting pool can be a "#" pattern, or it can be other graphics, symbols, text or a combination thereof. Before taking a picture of the shooting area, take a picture of the marking pattern according to the default focal length, and calculate the focal length change according to the image clarity value and the clarity calibration curve. Since the distance between the marking pattern and the urine sample to be tested is constant, the actual focal length can be indirectly calculated, and then take a picture based on the actual focal length. After that, the image clarity is evaluated to achieve automatic focusing of the microscope.
[0078] The shooting area is composed of several (for example, 160) adjacent continuous minimum shooting areas of exactly the same size. When shooting with a low-power lens and then using a high-power lens, several (for example, 10) areas in these minimum shooting areas will be selected for shooting. Since the surface of the counting pool is uneven, the Z axis has compensation, and the Z axis compensation of each small shooting area is different, when moving from one small shooting area to another, it is necessary to fine-tune the focus along the Z axis direction, which may be adjusted along the positive direction of the Z axis or along the negative direction of the Z axis. At this time, the method of this embodiment can be used to eliminate the influence of the return difference.
[0079] Similarly, when using a low-power lens to shoot, when the shooting field of view needs to be moved from one position in the shooting area to another, since the surface of the counting pool is uneven, the Z-axis has compensation, and the Z-axis compensation at each position in the shooting area is different, it is also necessary to re-fine-tune the focus along the Z-axis direction, and it may also be possible to adjust along the positive direction of the Z-axis, or along the negative direction of the Z-axis. At this time, the method of this embodiment can also be used to eliminate the influence of the return difference.
[0080] It should be understood that the method of the present invention can also be applied to other situations in the urine sample detection process where the return difference needs to be eliminated, such as the movement process of a syringe, a sample injector, etc., and the present invention is not limited to this.
[0081] According to the urine sample detection method of this embodiment, the return error of the microscope focusing process during urine sample detection is eliminated, the clarity of the photographed photos is improved, and the detection speed of the detection equipment is not affected. In addition, only the urine sample detection process is optimized, which does not cause an increase in cost.
[0082] Embodiment 4
[0083] The present embodiment provides a computer-readable medium having a computer program stored thereon, and the computer program executes the method described in the above embodiment when it is running. Any tangible, non-temporary computer-readable medium can be used, including magnetic storage devices (hard disks, floppy disks, etc.), optical storage devices (CD-ROMs, DVDs, Blu-ray discs, etc.), flash memory and / or the like. These computer program instructions can be loaded onto a general-purpose computer, a special-purpose computer, or other programmable data processing device to form a machine, so that these instructions executed on a computer or other programmable data processing device can generate a device that implements a specified function. These computer program instructions can also be stored in a computer-readable memory, which can instruct a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory can form a manufactured product, including an implementation device that implements a specified function. The computer program instructions can also be loaded onto a computer or other programmable data processing device, so that a series of operating steps are performed on the computer or other programmable device to generate a computer-implemented process, so that the instructions executed on the computer or other programmable device can provide steps for implementing the specified function.
[0084] Technical effects of the present invention:
[0085] The solution of the present invention eliminates the return error in the focusing process of the microscope during urine sample detection, improves the clarity of the photographed photos, does not affect the detection speed of the detection equipment, and only optimizes the urine sample detection process. All instruments on sale can achieve performance improvement through the method of the present invention without causing an increase in cost.
[0086] Although example embodiments have been described herein with reference to the accompanying drawings, it should be understood that the above example embodiments are merely exemplary and are not intended to limit the scope of the present invention thereto. Various changes and modifications may be made therein by one of ordinary skill in the art without departing from the scope and spirit of the present invention. All such changes and modifications are intended to be included within the scope of the present invention as required by the appended claims.
[0087] In the description provided herein, a large number of specific details are described. However, it is understood that embodiments of the present invention can be practiced without these specific details. In some instances, well-known methods, structures and techniques are not shown in detail so as not to obscure the understanding of this description.
[0088] Similarly, it should be understood that in order to streamline the present invention and help understand one or more of the various inventive aspects, in the description of the exemplary embodiments of the present invention, the various features of the present invention are sometimes grouped together into a single embodiment, figure, or description thereof. However, the method of the present invention should not be interpreted as reflecting the following intention: the claimed invention requires more features than the features explicitly stated in each claim. More specifically, as reflected in the corresponding claims, the inventive point is that the corresponding technical problem can be solved with less than all the features of a single disclosed embodiment. Therefore, the claims following the specific embodiment are hereby expressly incorporated into the specific embodiment, wherein each claim itself serves as a separate embodiment of the present invention.
[0089] It will be understood by those skilled in the art that, except for mutually exclusive features, all features disclosed in this specification (including the accompanying claims, abstracts and drawings) and all processes or units of any method or device disclosed in this specification may be combined in any combination. Unless otherwise expressly stated, each feature disclosed in this specification (including the accompanying claims, abstracts and drawings) may be replaced by an alternative feature that provides the same, equivalent or similar purpose.
[0090] In addition, those skilled in the art will appreciate that, although some embodiments described herein include certain features included in other embodiments but not other features, the combination of features of different embodiments is meant to be within the scope of the present invention and form different embodiments. For example, in the claims, any one of the claimed embodiments may be used in any combination.
[0091] It should be noted that the above embodiments illustrate the present invention rather than limit it, and that those skilled in the art may devise alternative embodiments without departing from the scope of the appended claims. In the claims, any reference symbol between brackets shall not be construed as a limitation on the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "one" or "an" preceding an element does not exclude the presence of a plurality of such elements. The present invention may be implemented by means of hardware comprising a number of different elements and by means of a suitably programmed computer. In a unit claim enumerating a number of devices, several of these devices may be embodied by the same hardware item. The use of the words first, second, and third, etc., does not indicate any order. These words may be interpreted as names.
[0092] The above is only a specific embodiment of the present invention or an explanation of a specific embodiment. The protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. The protection scope of the present invention shall be based on the protection scope of the claims.
Claims
1. A urine sample testing device, characterized in that: The urine sample detection device includes a counting pool, an image acquisition device, a driving device and a control device, wherein: The counting pool is used to carry the urine sample to be tested; The image acquisition device comprises a camera unit, and the camera unit is used to photograph the urine sample in the field of view to obtain multiple images of the urine sample; The driving device is connected to the counting cell and is used to drive the counting cell to move so as to focus on the urine sample; The control device is coupled to the driving device, and is used to detect the movement direction of the counting pool and control the movement mode of the counting pool, wherein: When it is detected that the counting pool moves toward the target position along a preset first direction, the control device controls the driving device to drive the counting pool to move directly to the target position for focusing; When it is detected that the counting pool moves toward the target position along a second direction opposite to the preset first direction, the control device controls the driving device to first drive the counting pool to move along the second direction to a predetermined distance exceeding the target position, and then drive the counting pool to move along the first direction to the target position for focusing, wherein the predetermined distance is pre-set based on the return difference of the counting pool movement, and the predetermined distance is greater than the return difference of the counting pool movement.
2. The urine sample testing device according to claim 1, characterized in that: The first direction is the direction in which the counting cell moves toward the objective lens of the image acquisition device or away from the objective lens.
3. The urine sample testing device according to claim 1, characterized in that: The control device controls the driving device to first drive the counting pool to move along the second direction to a predetermined distance beyond the target position, and then after a delay time interval, the control device controls the driving device again to drive the counting pool to move along the first direction to the target position for focusing.
4. The urine sample testing device according to any one of claims 1 to 3, characterized in that: The target position is a focal plane position.
5. A urine sample testing device, characterized in that: The urine sample detection device comprises: A setting module, used for presetting a first direction of movement of the counting pool of the urine sample detection device; and A control module is used to detect the movement direction of the counting pool and control the movement mode of the counting pool, wherein: When it is detected that the counting pool moves toward the target position along the first direction, the counting pool is controlled to move directly to the target position for focusing; When it is detected that the counting pool moves toward the target position along a second direction opposite to the first direction, the counting pool is first controlled to move along the second direction to a predetermined distance exceeding the target position, and then the counting pool is controlled to move along the first direction to the target position, wherein the predetermined distance is pre-set based on the return difference of the counting pool movement, and the predetermined distance is greater than the return difference of the counting pool movement.
6. A urine sample detection method, applied to a urine sample detection device, wherein the urine sample detection device comprises an image acquisition device, characterized in that: The urine sample detection method comprises: The counting pool is driven to move so as to focus on the urine sample, and the moving direction of the counting pool is detected, wherein: When it is detected that the counting pool moves toward a target position along a preset first direction, the counting pool is driven to move directly to the target position for focusing; When it is detected that the counting pool moves toward the target position along a second direction opposite to the preset first direction, the counting pool is first driven to move along the second direction to a position exceeding a predetermined distance from the target position, and then the counting pool is driven to move along the first direction to the target position for focusing, wherein the predetermined distance is pre-set based on the return difference of the movement of the counting pool, and the predetermined distance is greater than the return difference of the movement of the counting pool; The camera unit of the image acquisition device is controlled to take pictures of the focused urine sample in the counting pool to obtain multiple images of the urine sample.
7. The urine sample detection method according to claim 6, characterized in that: The first direction is the direction in which the counting cell moves toward the objective lens of the image acquisition device or away from the objective lens.
8. The urine sample detection method according to claim 6, characterized in that: The urine sample detection method further includes: first driving the counting pool to move along the second direction to a position exceeding a predetermined distance from the target position, and then driving the counting pool to move along the first direction to the target position for focusing after a delay time interval.
9. The urine sample detection method according to any one of claims 6 to 8, characterized in that: The target position is a focal plane position.
10. The urine sample detection method according to any one of claims 6 to 8, characterized in that: The urine sample detection method is used in a focal length compensation process when high-power and low-power objective lenses are switched during urine sample detection.
11. The urine sample detection method according to any one of claims 6 to 8, characterized in that: The urine sample detection method is used in a focus compensation process when moving from one shooting area to another shooting area during the urine sample detection process.
12. A computer-readable storage medium having computer-executable instructions stored thereon, characterized in that: When the computer executable instructions are executed by a processor, the processor performs operations including: Presetting a first direction of movement of a counting pool of a urine sample detection device, and detecting the movement direction of the counting pool; When it is detected that the counting pool moves toward a target position along the first direction, driving the counting pool to move directly to the target position for focusing; When it is detected that the counting pool moves toward the target position along a second direction opposite to the first direction, the counting pool is first driven to move along the second direction to a predetermined distance exceeding the target position, and then the counting pool is driven to move along the first direction to the target position for focusing, wherein the predetermined distance is pre-set based on the return difference of the counting pool movement, and the predetermined distance is greater than the return difference of the counting pool movement.
Citation Information
Patent Citations
Microscopic imaging detector and automatic focusing method thereof
CN103776831A
Automatic focusing and locating method
CN103945126A
Precise loading system, precise loading method, and biochemistry analyzer
CN104111342A
Focusing method of simple electric lens
CN105245781A
Optical spectroscopic measurement system
CN107003233A
