Pose adjustment method of single-cell micro-fluidic chip, terminal and computer storage medium
Through image recognition and circuit recognition technology, the single-cell microfluidic chip is automatically adjusted to the target position and horizontal state, solving the problems of low leveling accuracy and low efficiency in the existing technology, and achieving efficient and convenient microfluidic control Chip leveling.
Patent Information
- Application Number
- CN202310582568.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-22
- Publication Date
- 2024-11-26
AI Technical Summary
The leveling process of existing single-cell microfluidic chips is low in accuracy and low in efficiency. It is mainly due to manual adjustment methods that make it difficult for the microfluidic chip unit to be accurately adjusted to the target position and horizontal state, and it is easy to cause machine vibration or human operation errors. This results in offsets and requires frequent releveling.
The image recognition method is used to obtain the spatial coordinates and nozzle position of the microfluidic chip unit, calculate the mobile chip to the target position through the coordinate difference, and use the circuit identification results to construct side deviation and pitch leveling parameters, and automatically adjust the chip to the horizontal state to ensure that Leveling is performed after the recognition accuracy meets the conditions.
It realizes automated posture adjustment of single-cell microfluidic chips, improves the accuracy and efficiency of leveling, and reduces labor costs and time consumption.
Smart Images

Figure CN119023541A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the field of leveling of a single-cell microfluidic chip, and in particular to a posture adjustment method, a terminal and a computer storage medium of a single-cell microfluidic chip. Background Art
[0002] When performing algorithmic sorting on cells, it is usually necessary to first identify the various nozzles of the microfluidic chip unit; to achieve automated sorting, an image recognition method is used to automatically identify the nozzles; during the identification process, in order to ensure the recognition effect, the microfluidic chip unit is usually required to be adjusted to the target position, and it is usually required to be adjusted to a horizontal position, so that the collected images are all images presented in the actual state of each nozzle, rather than in a deformed state, so that the recognition algorithm can be better matched.
[0003] However, the current leveling algorithm for chips with small areas is relatively lacking, and the chip is usually adjusted to a horizontal position by manually adjusting the rotating axis. However, this manual leveling method has a poor adjustment effect, that is, the adjustment accuracy is low, including the inability to accurately adjust to the target position or to an accurate horizontal state. In addition, during the manual adjustment process, the microfluidic chip unit may be offset due to machine vibration or improper human operation, so the microfluidic chip unit often needs to be re-leveled, resulting in inefficient leveling process.
[0004] Therefore, how to efficiently, conveniently and automatically achieve the leveling process of the microfluidic chip unit has become a technical problem that needs to be solved urgently in this field. Summary of the invention
[0005] In view of the shortcomings of the prior art described above, the purpose of the present invention is to provide a position adjustment method, terminal and computer storage medium for a single-cell microfluidic chip, which can solve the problems of low adjustment accuracy and low adjustment efficiency in the existing single-cell microfluidic chip leveling process.
[0006] To achieve the above-mentioned purpose and other related purposes, the first aspect of the present invention provides a method for adjusting the posture of a single-cell microfluidic chip, which is applicable to a single-cell sorting system and is used to adjust the posture of a microfluidic chip unit; the posture adjustment includes several posture adjustment sub-processes; when executing a single posture adjustment sub-process, the method includes: collecting a first image of the microfluidic chip unit at a current collection height, and obtaining the spatial coordinates of the first image; using a first image recognition method to identify the nozzle in the first image, and obtaining the image position of the nozzle in the first image; based on the image position of the nozzle and the spatial coordinates of the first image, obtaining the spatial coordinates of the microfluidic chip unit; based on The spatial coordinates of the microfluidic chip unit and the preset target coordinates are used to determine the coordinate difference between the spatial coordinates and the target coordinates; based on the coordinate difference, the microfluidic chip unit is moved to the target position corresponding to the target coordinates; a second image of the microfluidic chip unit is collected, and a circuit recognition result of the second image is obtained using a second image recognition algorithm; whether the circuit recognition result meets a preset recognition accuracy condition, if so, the microfluidic chip unit is leveled based on the circuit recognition result; if not, the current collection height is adjusted, and the above steps are re-executed based on the new collection height until the circuit recognition result meets the recognition accuracy condition.
[0007] In one embodiment of the present invention, the method for acquiring the spatial coordinates of the microfluidic chip unit includes: determining the chip registration point of the microfluidic chip unit; acquiring the relative position between the nozzle and the chip registration point; and acquiring the spatial coordinates of the microfluidic chip unit based on the image position of the nozzle, the relative position between the nozzle and the chip registration point, and the spatial coordinates of the first image.
[0008] In one embodiment of the present invention, the method for acquiring the spatial coordinates of the chip registration point includes: for a single nozzle, acquiring the relative distance between the current nozzle and the chip registration point; acquiring the image position of the chip registration point under the current nozzle according to the image position of the current nozzle and the relative distance between the current nozzle and the chip registration point; performing this step for each nozzle to obtain the image position of the chip registration point under each nozzle; and averaging the image positions of each chip registration point to obtain the image position of the chip registration point in the first image.
[0009] In one embodiment of the present invention, the spatial coordinates of the chip registration point are obtained by randomly selecting two parallel rows / columns of nozzles from the identified nozzles as target nozzles; obtaining the relative position between each target nozzle and the chip registration point, and obtaining the image position of each target nozzle in the first picture; obtaining the image position of the chip registration point under the target nozzle based on the image position of each target nozzle and the relative position between the image position of the target nozzle and the chip registration point; averaging the image positions of each chip registration point to obtain the image position of the chip registration point in the first image.
[0010] In one embodiment of the present invention, the chip alignment point is the chip center point of the microfluidic chip unit.
[0011] In one embodiment of the present invention, a method for obtaining the circuit recognition result of the second image includes: using a gradient algorithm to extract each circuit sub-segment in the second image, and obtaining the recognition accuracy corresponding to each circuit sub-segment; and extracting the highest recognition accuracy among the recognition accuracies as the circuit recognition result corresponding to the second image.
[0012] In one embodiment of the present invention, the implementation method of the leveling processing includes: based on each of the circuit identification results, respectively extracting the left circuit identification result, the right circuit identification result, the front circuit identification result and the rear circuit identification result of the microfluidic chip unit; based on the left circuit identification result and the right circuit identification result, constructing the lateral leveling parameters of the microfluidic chip unit; and based on the front circuit identification result and the rear circuit identification result, constructing the pitch leveling parameters of the microfluidic chip unit; based on the lateral leveling parameters and the pitch leveling parameters, horizontally adjusting the microfluidic chip unit; wherein the left circuit identification result, the right circuit identification result, the front circuit identification result and the rear circuit identification result correspond to the maximum circuit identification results in the left area, the right area, the front area and the rear area of the microfluidic core, respectively.
[0013] In one embodiment of the present invention, the method for obtaining the side-bias leveling parameter includes: constructing the side-bias leveling parameter based on the left circuit identification result and the right circuit identification result as follows:
[0014] K X =Z1 / Z2;
[0015] In the formula, K Xis the lateral leveling parameter; Z1 is the left circuit identification result; Z2 is the right circuit identification result; the method for obtaining the pitch leveling parameter includes: based on the front circuit identification result and the rear circuit identification result, constructing the pitch leveling parameter as:
[0016] K y =Z3 / Z4;
[0017] In the formula, K y is the pitch leveling parameter; Z3 is the front side circuit identification result; Z3 is the rear side circuit identification result.
[0018] In one embodiment of the present invention, the implementation method of horizontally adjusting the microfluidic chip unit based on the lateral leveling parameter and the pitch leveling parameter includes: according to the lateral leveling parameter, by finding the mapping relationship between the lateral leveling parameter and the lateral leveling angle, obtaining the corresponding lateral leveling angle, so as to adjust the microfluidic chip unit based on the lateral leveling angle; and, according to the pitch leveling parameter, by finding the mapping relationship between the pitch leveling parameter and the pitch leveling angle, obtaining the corresponding pitch leveling angle, so as to adjust the microfluidic chip unit based on the pitch leveling angle.
[0019] The present invention further provides a terminal in a second aspect, comprising: a processor and a memory; the memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory to execute any of the posture adjustment methods of the single-cell microfluidic chip as described above.
[0020] The present invention further provides a computer storage medium in a third aspect, wherein the computer storage medium stores a computer program, and when the computer program is executed by a processor, the posture adjustment method of the single-cell microfluidic chip as described above is implemented.
[0021] As described above, the posture adjustment method, terminal and computer storage medium of the single-cell microfluidic chip provided by the present invention obtain the coordinate difference vector between the current spatial coordinates and the target coordinates of the microfluidic chip unit by acquiring and identifying the nozzle on the microfluidic chip unit and the spatial coordinates based on the first image, so as to realize coordinate alignment based on the coordinate difference vector; and obtain the corresponding leveling angle based on the recognition result by identifying the second image of the microfluidic chip unit and obtaining the circuit recognition result of the second image, so as to realize automatic leveling of the microfluidic chip unit, which not only improves the accuracy of the leveling of the microfluidic chip unit, but also effectively improves the efficiency and automation level of the leveling of the microfluidic chip unit. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1Shown is a schematic structural diagram of a sorting system according to an embodiment of the present invention;
[0023] Figure 2 Shown is a schematic structural diagram of the microfluidic chip unit in one embodiment of the present invention;
[0024] Figure 3 Shown is a schematic diagram of the structure of the SCP4000 single cell sorting instrument described in the present invention in a front view;
[0025] Figure 4 The schematic diagram of the structure of the SCP4000 single cell sorting instrument described in the present invention from the left perspective
[0026] Figure 5 It is a schematic flow chart showing the posture adjustment method of the single-cell microfluidic chip in an embodiment of the present invention when executing a single posture adjustment sub-process;
[0027] Figure 6 Shown is a schematic diagram of the structure of the terminal according to an embodiment of the present invention;
[0028] Component number description
[0029] 100 Sorting System
[0030] 101 Microfluidic Chip Unit
[0031] 1011 Chip nozzle area
[0032] 1012 Chip Circuit Area
[0033] 101A Single Cell Microfluidics Fixture
[0034] 102A each drive motor
[0035] 103A Light Source Lens Camera
[0036] 102 Drivers
[0037] 103 Optical acquisition unit
[0038] 104 Control Unit
[0039] 40 Terminal
[0040] 41 Memory
[0041] 42 Processors DETAILED DESCRIPTION
[0042] The following describes the embodiments of the present invention by specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that the following embodiments and features in the embodiments can be combined with each other without conflict.
[0043] It should be noted that the illustrations provided in the following embodiments are only for schematically illustrating the basic concept of the present invention.
[0044] Example 1
[0045] In order to solve the technical problems existing in the prior art, the present invention provides in a first aspect a method for adjusting the posture of a single-cell microfluidic chip, which is suitable for a single-cell sorting system (hereinafter referred to as the "sorting system"). The distribution information of a single-cell microfluidic chip unit (hereinafter referred to as the "microfluidic chip unit") in the sorting system is obtained by an image recognition method, and the posture of the microfluidic chip unit is adjusted based on the distribution information so that the microfluidic chip unit is placed horizontally at the target position, thereby improving the accuracy of single-cell recognition, and further improving the accuracy and sorting efficiency of single-cell sorting.
[0046] See also Figure 1 , which is a schematic diagram of the structure of the sorting system in one embodiment; Figure 1 As shown, the sorting system 100 includes the microfluidic chip unit 101, a first driving unit 102, a second driving unit 103, an optical collection unit 104 and a control unit 105 (not shown); wherein the microfluidic chip unit 101 includes chip nozzle components (not shown) and chip circuits (not shown); the chip nozzle components are used to eject and clamp single cells; the chip circuits are respectively connected to the chip nozzle components and the control unit 105, and are used to control each of the nozzle components to eject or clamp single cells according to the chip control signal output by the control unit 105.
[0047] The first driving unit 102 is connected to the control unit 105 and the microfluidic chip unit 101, and is used to control the movement and rotation of the microfluidic chip unit 101 according to the first driving control signal output by the control unit 105;
[0048] The second driving unit 103 is connected to the control unit 105 and the optical collection unit 104 , and is used to control the movement of the optical collection unit 104 according to a second driving control signal output by the control unit 105 .
[0049] Furthermore, the control unit 105 is connected to the optical acquisition unit 104 and is used to output an acquisition control signal to the optical acquisition unit to control the optical acquisition unit to acquire an image of the bottom of the microfluidic chip unit and obtain the spatial coordinates of the optical acquisition unit in a preset coordinate system.
[0050] The bottom of the microfluidic chip unit is the end of the microfluidic chip unit facing the optical collection unit. Figure 2 , which is a schematic diagram of the bottom of the microfluidic chip unit in a specific embodiment; Figure 2 As shown, the bottom of the microfluidic chip unit includes a chip spray hole area 1011 and a chip circuit area 1012; the spray holes of the chip spray hole member are distributed in the chip spray hole area 1011; and the chip circuit is distributed in the chip circuit area 1012.
[0051] The preset coordinate system is a coordinate space preset in the sorting system. In a specific embodiment, the sorting system uses an SCP4000 single cell sorting instrument; see Figure 3 and Figure 4 , Figure 3 The figure shows a schematic diagram of the structure of the SCP4000 single cell sorting instrument in a front view. Figure 4 FIG. 4 is a schematic diagram of the structure of the SCP4000 single cell sorting instrument from a left perspective; Figure 3 Figure 4 The microfluidic chip unit 101 includes a single cell microfluidic fixture 101A, the first driving unit 102 includes a first driving motor 102A, the second driving unit 103 includes a second driving motor 103A, and the optical collection unit 104 includes a light source lens camera 104A. Then the preset coordinate system of the sorting system is as follows: Figure 3 and Figure 4 As shown, it includes: X-axis, Y-axis, Z-axis, ROLL plane and PITCH plane.
[0052] Among them, Figure 3 As shown, the X-axis is the left-right moving direction of the sorting system at a normal viewing angle;
[0053] The Y axis is the forward and backward movement direction of the sorting system at a normal viewing angle;
[0054] The Z axis is the vertical moving direction of the sorting system at a normal viewing angle;
[0055] like Figure 4 As shown, the ROLL plane is a plane composed of the X-axis and the Z-axis in the front viewing angle of the sorting system; the PITCH plane is a plane composed of the Y-axis and the Z-axis in the left viewing angle of the sorting system.
[0056] It should be noted that, in other specific embodiments, the control unit is only used to collect images of the bottom of the microfluidic chip unit, and the sorting system further includes a positioning unit for acquiring spatial information of the optical collection unit.
[0057] In this embodiment, the posture adjustment is to adjust the spatial position and posture of the microfluidic chip unit; the posture adjustment process includes several posture adjustment sub-processes, and the steps performed in each posture adjustment sub-process are the same.
[0058] See also Figure 5 , showing a flow chart of the posture adjustment method of the single-cell microfluidic chip provided in an embodiment of the present invention, in the execution of a single posture adjustment sub-process; Figure 5 As shown, the method includes:
[0059] S100, collecting a first image of the microfluidic chip unit at a current collection height, and obtaining spatial coordinates of the first image; using a first image recognition method, identifying a nozzle in the first image, and obtaining an image position of the nozzle in the first image;
[0060] The acquisition height is the vertical distance between the optical acquisition unit and the bottom of the microfluidic chip unit; and the first image is an image of the bottom of the microfluidic chip unit acquired by the optical acquisition unit.
[0061] Specifically, in response to a posture adjustment instruction, the optical acquisition unit is moved to the bottom of the microfluidic chip unit; the optical acquisition unit is used to acquire an overall or partial image of the bottom of the microfluidic chip unit as a first image; at the same time, the coordinate information of the optical acquisition unit in the preset coordinate system when acquiring the first image is extracted; based on the coordinate information of the optical acquisition unit and the current acquisition height, the coordinate information of the first image in the preset coordinate system is acquired.
[0062] After obtaining the first image, a nozzle identification algorithm is used to identify the nozzles contained in the first image; based on the distribution position of each nozzle in the first image, the image position of each nozzle in the first image is extracted; wherein the image position of the nozzle is the coordinate of each nozzle relative to the origin of the first image; illustratively, the upper left corner of the first image is used as the origin of the first image.
[0063] In a specific embodiment, the nozzle identification algorithm uses a pre-trained image recognition model.
[0064] S200, acquiring the spatial coordinates of the microfluidic chip unit based on the image position of the nozzle and the spatial coordinates of the first image;
[0065] Specifically, after obtaining the image position of the nozzle in the first image, the spatial coordinates of the bottom of the microfluidic chip unit in the preset coordinate system are obtained according to the position of the nozzle in the bottom of the microfluidic chip unit, the image position of the nozzle in the first image, and the spatial coordinates of the first image.
[0066] In another embodiment, the implementation of S200 further includes:
[0067] Determine the chip registration point of the microfluidic chip unit, and obtain the relative position between the nozzle and the chip registration point; based on the image position of the nozzle, the relative position between the nozzle and the chip registration point and the spatial coordinates of the first image, obtain the spatial coordinates of the microfluidic chip unit;
[0068] Wherein, the chip registration point is a target point used for coordinate registration of the microfluidic chip unit.
[0069] Specifically, after determining the chip registration point, for a single nozzle, perform:
[0070] Respectively obtaining the relative distance between the current nozzle and the chip registration point on the X axis and the relative distance on the Y axis;
[0071] According to the image position of the nozzle, the relative distance of the X axis and the relative distance of the Y axis, the image position of the chip registration point under the current nozzle in the first image is obtained; that is, based on the image position of the current nozzle, the current image position of the chip registration point is determined.
[0072] This step is performed for each of the nozzles to obtain the image position of the chip registration point under each nozzle, that is, the image position of the chip registration point determined based on the image position of the first nozzle, the image position of the chip registration point determined based on the image position of the second nozzle, and so on, until the image position of the chip registration point determined based on the image position of the nth nozzle; wherein n is the number of nozzles in the first image; the image position of each of the chip registration points is averaged, and the average is used as the image position of the chip registration point relative to the first image.
[0073] In another embodiment, the method for acquiring the image position of the chip registration point relative to the first image includes:
[0074] Randomly select two parallel rows / columns of nozzle holes from among the identified nozzle holes as target nozzle holes;
[0075] For a single target orifice, execute:
[0076] The relative position between the target nozzle and the chip registration point is obtained, and the image position of the target nozzle in the first picture is obtained; based on the image position of the target nozzle and the relative position between the target nozzle and the chip registration point, the image position of the chip registration point under the target nozzle is obtained.
[0077] This step is performed for each target nozzle hole to obtain the image position of the chip registration point under each target nozzle hole; the image position of each chip registration point is averaged, and the average is used as the image position of the chip registration point relative to the first image.
[0078] After obtaining the image position of the chip registration point relative to the first image, the image position of the chip registration point is converted into spatial coordinates in the preset coordinate system according to the spatial coordinates of the first image, and the spatial coordinates are used as the spatial coordinates of the microfluidic chip unit.
[0079] S300, based on the spatial coordinates of the microfluidic chip unit and the preset target coordinates, determining the coordinate difference between the spatial coordinates and the target coordinates; based on the coordinate difference, moving the microfluidic chip unit to move the microfluidic chip unit to a target position corresponding to the target coordinates;
[0080] The target coordinates are pre-set positions of the chip registration points in the preset coordinate system.
[0081] Specifically, after obtaining the current spatial coordinates of the microfluidic chip unit; subtract the target coordinates of the microfluidic chip unit from the current spatial coordinates to obtain a coordinate difference vector between the two in the preset coordinate system; and according to the coordinate difference vector, move the microfluidic chip unit in the preset coordinate system.
[0082] S400, collecting a second image corresponding to the chip circuit area in the microfluidic chip unit; using a second image recognition algorithm to obtain a circuit recognition result corresponding to the second image; detecting whether each of the circuit recognition results meets a preset recognition accuracy condition, if so, performing leveling processing on the microfluidic chip unit based on the circuit recognition result; if not, adjusting the current collection height, and re-executing the above steps based on the new collection height until the circuit recognition result meets the recognition accuracy condition.
[0083] The second recognition algorithm may be the same as or different from the first recognition algorithm.
[0084] Optionally, the second recognition algorithm is a gradient algorithm.
[0085] Specifically, after the microfluidic chip unit is moved to the target position corresponding to the target coordinates, the optical acquisition unit is used to acquire an image corresponding to a single chip circuit area at the bottom of the microfluidic chip unit as a single second image of the microfluidic chip unit; based on this method, the image corresponding to each chip circuit area is acquired to obtain each second image.
[0086] For a single second image, a gradient algorithm is used to extract each circuit sub-segment in the second image, and the recognition accuracy corresponding to each circuit sub-segment is obtained; the highest recognition accuracy is extracted from each recognition accuracy as the circuit recognition result corresponding to the second image; this step is performed on each second image to obtain the circuit recognition result corresponding to each second image.
[0087] In this embodiment, the recognition accuracy condition includes that the highest recognition accuracy in the second image is greater than a threshold value, then it is detected whether the highest recognition accuracy in each of the second images is greater than the threshold value, if so, it is determined that the circuit recognition result meets the recognition accuracy condition, if not, it is determined that the circuit recognition result does not meet the recognition accuracy condition. It should be noted that in other embodiments, the recognition accuracy condition may also be other conditions for determining the recognition accuracy.
[0088] When the circuit recognition result does not meet the recognition accuracy condition, the current acquisition height is adjusted, and the next posture adjustment sub-process is performed based on the adjusted new acquisition height, that is, the above steps S100 to S400 are re-executed based on the new acquisition height to improve the recognition accuracy of each circuit sub-segment in the second image, so that the circuit recognition result corresponding to the second image meets the recognition accuracy condition.
[0089] When the circuit recognition result satisfies the recognition accuracy condition, the microfluidic chip unit is leveled based on the circuit recognition result.
[0090] In a specific embodiment, the implementation of the leveling process includes:
[0091] Based on each of the circuit identification results, the left circuit identification result Z1, the right circuit identification result Z2, the front circuit identification result Z3 and the rear circuit identification result Z4 of the microfluidic chip unit are extracted respectively; based on the left circuit identification result Z1 and the right circuit identification result Z2, the lateral leveling parameters of the microfluidic chip unit are constructed; and, based on the front circuit identification result and the rear circuit identification result, the pitch leveling parameters of the microfluidic chip unit are constructed; based on the lateral leveling parameters and the pitch leveling parameters, the microfluidic chip unit is horizontally adjusted.
[0092] Among them, the left circuit identification result Z1 is the maximum circuit identification result in the left area of the microfluidic core; specifically, each of the second images located in the left area of the microfluidic chip unit is determined, the circuit identification results corresponding to each of the second images in the left area of the microfluidic core are extracted, and the maximum value of each circuit identification result is extracted, and the maximum value is used as the left circuit identification result of the microfluidic chip unit.
[0093] Similarly, the right side circuit identification result Z2 is the maximum circuit identification result in the right side area of the microfluidic chip unit, the front side circuit identification result Z3 is the maximum circuit identification result in the front side area of the microfluidic chip unit, and the rear side circuit identification result Z4 is the maximum circuit identification result in the rear side area of the microfluidic chip unit; the method for obtaining the circuit identification results on each side is the same as the method for obtaining the circuit identification results on the left side mentioned above, only the regional position is different, and it will not be repeated here.
[0094] It should be noted that the left side and the right side are two areas divided based on the central axis of the bottom of the microfluidic chip unit along the X-axis direction, and the front side and the back side are two areas divided based on the central axis of the bottom of the microfluidic chip unit along the Y-axis direction.
[0095] In this embodiment, the lateral leveling parameter is an adjustment parameter for adjusting the lateral angle of the microfluidic chip unit; the lateral angle is the tilt angle of the microfluidic chip unit in the ROLL plane; more specifically, the tilt angle in the ROLL plane is the horizontal deflection angle of the microfluidic chip unit in the ROLL plane, that is, the left and right deflection angle of the microfluidic chip unit around the Y axis at the front viewing angle of the sorting system. The pitch leveling parameter is an adjustment parameter for adjusting the pitch angle of the microfluidic chip unit; the pitch angle is the tilt angle of the microfluidic chip unit in the PITCH plane; more specifically, the tilt angle in the PITCH plane is the horizontal deflection angle of the microfluidic chip unit in the PITCH plane, that is, the front and rear pitch angle of the microfluidic chip unit around the X axis at the left viewing angle of the sorting system.
[0096] In a specific implementation, the method for constructing the side deviation leveling parameters includes:
[0097] Based on the left circuit recognition result Z1 and the right circuit recognition result Z2, the side deviation leveling parameter K is constructed. X for:
[0098] K X =Z1 / Z2;
[0099] According to the side deviation leveling parameter K X , by finding the sideways leveling parameter K X The mapping relationship between the lateral leveling parameter K and the lateral leveling angle is preset to obtain the corresponding lateral leveling angle, so as to adjust the microfluidic chip unit horizontally in the ROLL plane based on the lateral leveling angle. X After that, the side leveling angle is constructed as:
[0100] step X =K X *N X
[0101] Among them, N X It is the angle adjustment value in the mapping relationship table between the side deviation leveling parameter and the side deviation leveling angle.
[0102] Similarly, the Y leveling parameter is constructed in the following manner:
[0103] Based on the front circuit identification result Z3 and the rear circuit identification result Z4, a pitch leveling parameter K is constructed. y for:
[0104] K y =Z3 / Z4;
[0105] According to the pitch leveling parameter K y , by finding the pitch leveling parameter K y The mapping relationship between the pitch adjustment parameter K and the pitch adjustment angle is preset to obtain the corresponding pitch adjustment angle, so as to adjust the microfluidic chip unit in the PITCH plane based on the pitch adjustment angle. y Finally, the pitch leveling angle is constructed as:
[0106] step y =K y *N y
[0107] Among them, N y It is the angle adjustment value in the mapping relationship table between the pitch leveling parameter and the pitch leveling angle.
[0108] In another specific embodiment, the implementation of the leveling process includes:
[0109] For a single second image, obtain a circuit recognition result corresponding to the second image; obtain a microfluidic chip unit leveling angle corresponding to the current second image according to a mapping relationship between the circuit recognition result and the deflection angle; perform the above steps for each second image to obtain a microfluidic chip unit leveling angle corresponding to each second image; average the leveling angles of each microfluidic chip unit to obtain a final microfluidic chip unit leveling angle, and perform leveling processing on the microfluidic chip unit based on the final microfluidic chip unit leveling angle.
[0110] Among them, the mapping relationship includes a first sub-mapping relationship between the circuit identification result and the ROLL plane deflection angle, and a second sub-mapping relationship between the circuit identification result and the PITCH plane deflection angle; the leveling angle of the microfluidic chip unit includes a first sub-leveling angle on the ROLL plane and a second sub-leveling angle on the PITCH plane.
[0111] In other embodiments, in executing the step S400, after the microfluidic chip unit is leveled, the following steps are further performed:
[0112] Reacquire the spatial position of the chip registration point in the preset coordinate system, extract the distance difference between the spatial position and the spatial position of the chip registration point before the leveling process; detect whether the distance difference is greater than a distance threshold, and if so, move the microfluidic chip unit based on the distance difference so that the distance difference satisfies not greater than the distance threshold.
[0113] Example 2
[0114] In order to solve the technical problems existing in the prior art, the present invention further provides a terminal; please refer to Figure 6 , which is a schematic diagram of the structure of the terminal in one embodiment.
[0115] like Figure 6 As shown, the terminal 40 includes: a memory 41 and a processor 42.
[0116] The memory 41 is used to store computer programs. The processor 42 runs the computer programs to execute the posture adjustment method of the single-cell microfluidic chip as described above.
[0117] Optionally, the number of the memories 41 may be one or more, and the number of the processors 42 may be one or more.
[0118] Optionally, the processor 42 may load one or more instructions corresponding to the process of the application into the memory 41 according to the steps in the posture adjustment method of the single-cell microfluidic chip as described above, and the processor 42 may run the application stored in the first memory 41, thereby implementing the steps in the posture adjustment method of the single-cell microfluidic chip as described above; or the processor 42 may load one or more instructions corresponding to the process of the application into the memory 41 according to the steps in the posture adjustment method of the single-cell microfluidic chip as described above, and the processor 42 may run the application stored in the first memory 41, thereby implementing the steps in the posture adjustment method of the single-cell microfluidic chip as described above.
[0119] Optionally, the memory 41 includes but is not limited to high-speed random access memory and non-volatile memory. For example, one or more disk storage devices, flash memory devices or other non-volatile solid-state storage devices; the processor 42 may include but is not limited to a central processing unit (CPU), a network processor (NP), etc.; it may also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.
[0120] Optionally, the processor 42 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.
[0121] Example 3
[0122] In order to solve the technical problems existing in the prior art, the present invention further provides a computer-readable storage medium on which a computer program is stored. When the program is called by a processor, the posture adjustment method of the single-cell microfluidic chip as described above is implemented.
[0123] Among them, the computer-readable storage medium can be a tangible device that can hold and store instructions used by the instruction execution device. The computer-readable storage medium can be, for example, (but not limited to) an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the above. More specific examples of computer-readable storage media (a non-exhaustive list) include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, and a mechanical encoding device.
[0124] The computer-readable program described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. A network adapter card or a network interface in each computing / processing device receives computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in each computing / processing device.
[0125] The computer program instructions used to perform the operations of the present application may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, integrated circuit configuration data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages such as Smalltalk, C++, etc., and procedural programming languages such as "C" language or similar programming languages.
[0126] The computer-readable program instructions may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In some embodiments, by utilizing the state information of the computer-readable program instructions to personalize an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), the electronic circuit may execute the computer-readable program instructions, thereby implementing various aspects of the present application.
[0127] In summary, the posture adjustment method, terminal and computer storage medium of the single-cell microfluidic chip provided by the present invention obtain the coordinate difference vector between the current spatial coordinates and the target coordinates of the microfluidic chip unit by acquiring and identifying the nozzle on the microfluidic chip unit and the spatial coordinates based on the first image, so as to realize coordinate alignment based on the coordinate difference vector; and obtain the corresponding leveling angle based on the recognition result by identifying the circuit on the chip, so as to realize automatic leveling of the microfluidic chip unit; therefore, the posture adjustment method of the single-cell microfluidic chip provided by the present invention can effectively reduce the time and labor cost of leveling, and effectively improve the efficiency and convenience of leveling.
[0128] Therefore, the posture adjustment method, terminal and computer storage medium of the single-cell microfluidic chip provided by the present invention not only improve the efficiency and accuracy of leveling, but also have lower leveling cost and higher applicability; the present invention effectively overcomes the various shortcomings of the prior art and has high industrial utilization value.
[0129] The above embodiments are merely illustrative of the principles and effects of the present invention, and are not intended to limit the present invention. Anyone familiar with the art may modify or alter the above embodiments without departing from the spirit and scope of the present invention. Therefore, all equivalent modifications or alterations made by a person of ordinary skill in the art without departing from the spirit and technical concept disclosed by the present invention shall still be covered by the claims of the present invention.
Claims
1. A method for adjusting the position of a single-cell microfluidic chip, characterized in that: Applicable to a single cell sorting system, used for adjusting the posture of a microfluidic chip unit; the posture adjustment includes several posture adjustment subprocesses; when executing a single posture adjustment subprocess, the method includes: Collecting a first image of the microfluidic chip unit at a current collection height, and obtaining the spatial coordinates of the first image; using a first image recognition method, identifying the nozzle in the first image, and obtaining the image position of the nozzle in the first image; Based on the image position of the nozzle and the spatial coordinates of the first image, acquiring the spatial coordinates of the microfluidic chip unit; Based on the spatial coordinates of the microfluidic chip unit and the preset target coordinates, determining the coordinate difference between the spatial coordinates and the target coordinates; based on the coordinate difference, moving the microfluidic chip unit to move the microfluidic chip unit to a target position corresponding to the target coordinates; A second image of the microfluidic chip unit is collected, and a circuit recognition result of the second image is obtained by using a second image recognition algorithm; whether the circuit recognition result meets a preset recognition accuracy condition is detected, and if so, the microfluidic chip unit is leveled based on the circuit recognition result; if not, the current collection height is adjusted, and the above steps are re-executed based on the new collection height until the circuit recognition result meets the recognition accuracy condition.
2. The method for adjusting the position and posture of a single-cell microfluidic chip according to claim 1, characterized in that: The method for acquiring the spatial coordinates of the microfluidic chip unit includes: Determining a chip registration point of the microfluidic chip unit; Acquiring the relative position between the nozzle and the chip registration point; Based on the image position of the nozzle, the relative position between the nozzle and the chip registration point, and the spatial coordinates of the first image, the spatial coordinates of the microfluidic chip unit are acquired.
3. The method for adjusting the position and posture of a single-cell microfluidic chip according to claim 2, characterized in that: The method for acquiring the spatial coordinates of the chip registration point includes: For a single nozzle, obtaining a relative distance between the current nozzle and the chip registration point; According to the image position of the current nozzle and the relative distance between the current nozzle and the chip registration point, the image position of the chip registration point under the current nozzle is acquired; This step is performed for each of the nozzles to obtain the image position of the chip registration point under each nozzle; The image positions of the chip registration points are averaged to obtain the image positions of the chip registration points in the first image.
4. The method for adjusting the position and posture of a single-cell microfluidic chip according to claim 1, characterized in that: The method for acquiring the spatial coordinates of the chip registration point includes: Randomly select two parallel rows / columns of nozzles from among the identified nozzle holes as target nozzle holes; Acquire the relative position between each of the target nozzles and the chip registration point, and acquire the image position of each of the target nozzles in the first picture; Based on the image position of each of the target nozzles and the relative position between the image position of the target nozzle and the chip registration point, acquiring the image position of the chip registration point under the target nozzle; The image positions of the chip registration points are averaged to obtain the image positions of the chip registration points in the first image.
5. The method for adjusting the position and posture of a single-cell microfluidic chip according to claim 2 or 3, characterized in that: The chip registration point adopts the chip center point of the microfluidic chip unit.
6. The method for adjusting the position and posture of a single-cell microfluidic chip according to claim 1, characterized in that: The method for obtaining the circuit recognition result of the second image includes: The circuit sub-segments in the second image are extracted using a gradient algorithm, and the recognition accuracy corresponding to each circuit sub-segment is obtained; the highest recognition accuracy is extracted from each recognition accuracy as the circuit recognition result corresponding to the second image.
7. The method for adjusting the position and posture of a single-cell microfluidic chip according to claim 1, characterized in that: The implementation method of the leveling process includes: Based on each of the circuit identification results, respectively extract the left circuit identification result, the right circuit identification result, the front circuit identification result and the back circuit identification result of the microfluidic chip unit; Based on the left circuit identification result and the right circuit identification result, construct the lateral leveling parameters of the microfluidic chip unit; and based on the front circuit identification result and the rear circuit identification result, construct the pitch leveling parameters of the microfluidic chip unit; Based on the yaw leveling parameter and the pitch leveling parameter, the microfluidic chip unit is horizontally adjusted; Among them, the left circuit identification result, the right circuit identification result, the front circuit identification result and the back circuit identification result correspond to the maximum circuit identification results in the left area, the right area, the front area and the back area of the microfluidic core respectively.
8. The method for adjusting the position and posture of a single-cell microfluidic chip according to claim 7, characterized in that: The method for obtaining the side deviation leveling parameters includes: Based on the left circuit identification result and the right circuit identification result, the side deviation leveling parameter is constructed as: K X =Z1 / Z2; In the formula, K X is the side deviation leveling parameter; Z1 is the left circuit identification result; Z2 is the right circuit identification result; The method for obtaining the pitch leveling parameters includes: Based on the front side circuit identification result and the rear side circuit identification result, the pitch leveling parameter is constructed as: K y =Z3 / Z4; In the formula, K y is the pitch leveling parameter; Z3 is the front side circuit identification result; Z3 is the rear side circuit identification result.
9. The method for adjusting the position and posture of a single-cell microfluidic chip according to claim 7, characterized in that: The implementation method of horizontally adjusting the microfluidic chip unit based on the yaw leveling parameter and the pitch leveling parameter includes: According to the lateral leveling parameter, by finding a mapping relationship between the lateral leveling parameter and the lateral leveling angle, a corresponding lateral leveling angle is obtained, so as to adjust the microfluidic chip unit based on the lateral leveling angle; and, According to the pitch leveling parameter, by finding a mapping relationship between the pitch leveling parameter and the pitch leveling angle, a corresponding pitch leveling angle is acquired, so as to adjust the microfluidic chip unit based on the pitch leveling angle.
10. A terminal, characterized in that: include: Processor and memory; The memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory to perform the posture adjustment method of the single-cell microfluidic chip as described in any one of claims 1 to 9.
11. A computer storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the posture adjustment method of the single-cell microfluidic chip according to any one of claims 1 to 9 is implemented.
