Puncture sampling system and method based on image recognition
Through the puncture punching sampling system based on image recognition and the rotating slicing module driven by the magnetic actuator, it is possible to efficiently cut micron-level samples and sample holes on soft materials, solving the existing technology problems in soft materials. The difficulty of cutting tiny slices and holes improves sampling efficiency and accuracy.
Patent Information
- Application Number
- CN201910631445.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-07-12
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2039-07-12
AI Technical Summary
The existing technology makes it difficult to achieve high-precision automated puncture and punch sampling in mechanical processing and testing of biological samples and preparations. In particular, it is difficult to cut tiny slices and holes in soft materials.
A puncture and punch sampling system based on image recognition is used, combined with automatic image acquisition and sampling algorithms, the optimal sampling trajectory is generated through the trajectory planning module, and the magnetic actuator is used to drive the rotating slicing module for automated puncture sampling to achieve sample-to-sample identification. separation.
It achieves the efficient cutting of micron-level samples and holes on soft materials, improves sampling efficiency and accuracy, and solves the problem that existing technology is difficult to cut tiny slices and holes under low pressure.
Smart Images

Figure CN112215047B
Abstract
Description
Technical Field
[0001] The present invention relates to a technology in the field of mechanical processing and biological sample and preparation detection, in particular to a puncture and perforation sampling system and method based on image recognition. Background Art
[0002] There are many intelligent actuators that use piezoelectric ceramics, piezoelectric films, electrostrictive, magnetostrictive, shape memory alloys, servo and electrorheological fluids as power units. The emergence of these actuators provides the necessary conditions for achieving high-precision active vibration control. Summary of the invention
[0003] In view of the above-mentioned deficiencies in the prior art, the present invention proposes a puncture and perforation sampling system and method based on image recognition, which combines automatic image acquisition and sampling algorithms to automatically identify high-quality samples and automatically provide the optimal clipping path based on digital information. The whole process is automated through a specially designed puncture and perforation sampling execution device combined with a robot or a multi-dimensional motion platform.
[0004] The present invention is achieved through the following technical solutions:
[0005] The present invention relates to a puncture and perforation sampling system based on image recognition, comprising: a trajectory planning module for identifying the sample morphology or the spot morphology, distribution and position on the sample and generating a puncture sampling trajectory, and a rotary slicing module for collecting samples according to the trajectory, wherein: the rotary slicing module moves to a preset position according to the puncture sampling trajectory and then punctures and forms a hole, and after the puncture point trajectory is formed on the sample, a shear force is applied to separate the sample from the sample.
[0006] The trajectory planning module includes: an image acquisition unit, a profile construction unit, a validity judgment unit and a path generation unit, wherein: the two image acquisition units are respectively arranged on the upper and lower sides of the sample and each acquires a sample image containing spots and a light transmission image and outputs them to the profile construction unit; the profile construction unit outputs them to the validity judgment unit after coordinate conversion and profile reconstruction; the validity judgment unit compares the updated sample profile with the standard profile to judge the eligibility of the spots, and outputs the sample profile of the qualified spots to the path generation unit; the path generation unit superimposes the sample profile of the qualified spots on the sample profile of the qualified spots according to the preset parameters of the rotation slicing module and generates a puncture sampling trajectory.
[0007] The present invention relates to an image recognition puncture sampling method for the above system, comprising the following steps:
[0008] Step 1) According to the puncture sampling trajectory, the two-dimensional moving mechanism manipulates the driving mechanism to move the operating end above the sample;
[0009] Step 2) the coil is energized to generate an electromagnetic field to generate a repulsive force acting on the magnetic actuator to move downward and drive the guide column, the operating end and the puncture needle to move downward synchronously until the puncture needle pierces the sheet to be collected; the coil is reset by applying an anti-phase electrical signal to the reverse direction or disconnecting the power and the tension spring provides a tension force;
[0010] Step 3) After completing one puncture, the stepper motor performs one step or the two-dimensional moving mechanism drives the driving mechanism to the next sample point on the determined spot profile, and repeats the above action process until the puncture of all sample points on the determined spot profile is completed to form a spot profile.
[0011] Preferably, by applying a current with a larger amplitude to the coil to increase the movement amplitude of the magnetic actuator, the elastic body on the operating end can be first blocked and compressed by the cut-off portion of the collecting sheet, and then the elastic force is increased to break through the edge of the cut-off portion of the collecting sheet and the material is instantly released to the spotted contour surface of the sheet to be collected, causing the material on the sheet to be collected with the perforated cut-out contour to be squeezed out or bounced into the storage tube.
[0012] The present invention realizes the puncture action, the squeeze and clamping of the disposable working part or the suction adsorption of the operating end, or the falling and disengagement action of the operating end when the bottom end cover is hit in the reverse direction through the action of a magnetic actuator. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] Figure 1 This is a schematic diagram of the trajectory planning module of the present invention;
[0014] Figure 2 It is a schematic diagram of the rotation slice module;
[0015] Figure 3 and Figure 4 Schematic diagram of the slicing process of the embodiment;
[0016] Figure 5 Schematic diagram of operating terminals with different structures;
[0017] Figure 6 Schematic diagram of puncture needles with different structures;
[0018] Figure 7 It is a schematic diagram of the puncture tube;
[0019] Figure 8 Replace the schematic diagram for the operating end;
[0020] Fig. 9 It is a schematic diagram of the working example;
[0021] Fig.10 Generating a schematic diagram for an embodiment path;
[0022] In the figure: fixed component 1, spline 2, plaque 3, conveyor belt 4, camera 5, fixed platform 6, light source 7, dark box 8, connector 9, stepper motor 10, drive rod 11, coil 12, double coils 12a, 12b, shell 13, permanent magnet 14, magnetic actuator 15, structure 15a, embedded bias magnet 15b, guide column 16, operating end 17, storage tube 18, sheet to be collected 19, fixed block 20, puncture needle 21, elastic body 22, tension spring 23, permanent magnet 24, top block 25, bottom end cover 26. DETAILED DESCRIPTION
[0023] In this embodiment, the trajectory planning module identifies spots and generates a puncture sampling trajectory, and then the rotation slicing module collects samples according to the trajectory.
[0024] like Figure 1 As shown, a spline 2 with spots 3 is set on a conveyor belt 4, and an image is acquired by a camera 5 as an image acquisition unit set in a dark box 8. Image acquisition units are provided on both sides of the spline 2 to respectively acquire a sample image containing spots and a light-transmitting image.
[0025] like Figure 2 and Figure 3 As shown, the rotary slicing module includes: a two-dimensional moving mechanism and a driving mechanism and an operating end connected thereto.
[0026] The driving mechanism includes a shell 13 with a coil 12 on the outside, a magnetic actuator 15 and a guide column 16 arranged in the shell, wherein: one end of the guide column 16 is connected to the operating end 17. When current is applied to the coil 12 and a magnetic field is generated, the magnetic actuator 15 realizes axial movement based on the magnetic field force to drive the operating end to rotate and move axially.
[0027] A permanent magnet 14 is further provided in the housing for limiting the movement range of the magnetic actuator 15 .
[0028] The rotation and axial motion are achieved by setting:
[0029] ① a motor 10, the output shaft of which is sleeved with the magnetic actuator to drive the magnetic actuator to rotate radially in the housing, and / or
[0030] ② Non-uniformly magnetized magnetic actuator 15, for example Fig. 9The structure 15a shown and the bias magnet 15b embedded therein, the magnetic axis of the magnetic actuator 15 does not coincide with the geometric axis, for example, there is an angle θ and 0<θ<90°. When the coil generates an axial magnetic field H, the non-uniformly magnetized magnetic actuator 15 will be subjected to both the axial force F and the circumferential force Fw, thereby driving the guide column and the operating end to rotate and move axially at the same time, forming an integrated translational motion effect. This action process can realize the formation of a cutting force that moves up and down at the same time during perforation, which helps to improve the efficiency of plaque sample sampling.
[0031] The coil 12 may also be implemented in the form of split double coils 12a and 12b.
[0032] A tension spring 23 is preferably provided between the magnetic actuator 15 and the permanent magnet.
[0033] like Figure 5 As shown, the operating end 17 is preferably movably connected to the guide column 16, and the operating end 17 includes: a fixing block 20 and a puncture needle 21 and an elastic body 22 arranged at the bottom thereof.
[0034] The movable connection is realized by the clamping of the fixing block 20 and the guide column 16 .
[0035] In some cases, the guide column 16 can also be realized by a magnetic body 24, and a movable connection is achieved by the mutual attraction between the magnetic body 24 and the magnetic actuator 15; a bottom end cover 26 made of permanent magnetic material is provided at the bottom end of the bobbin corresponding to the coil, and the magnetic pole direction of the bottom end cover 26 is arranged opposite to the magnetic actuator, and the lower limit position of the middle magnetic actuator is limited by the reverse magnetic repulsion and collision is avoided.
[0036] The elastic body 22 can also be replaced by the top block 25, so as to have the functional effect of non-elastic direct extrusion. However, the elastic body 22 has elastic potential energy accumulated during the extrusion process. When the elastic force increases to the shear force of the slice cutting, the elastic potential energy of 22 is suddenly released, causing the cut sample slices to be further bounced into the storage tube 17, and the effect of entering the bottom of the storage tube is promoted.
[0037] like Figure 6 As shown, the puncture needle 21 is a needle-shaped structure, a wedge-shaped structure, a sawtooth structure, or a wedge-shaped structure with sawtooth on one or both sides, which can respectively achieve the effect of small pressure and high pressure, the effect of first penetrating and then expanding the hole, increase the area of a single perforation, reduce the overall slicing time, and improve the efficiency; the sawtooth structure can further have the effect of sawing off the fiber-related materials after penetration, which is conducive to the convenient realization of the function of taking materials from thin materials.
[0038] like Figure 7As shown, the puncture needle 21 can be further replaced by a puncture tube with a semi-open structure or a cylindrical structure. At this time, the position can be determined according to the central positioning point. The cylindrical or arc-shaped cutter can rotate simultaneously, and the blade can also be equipped with small serrations, so as to achieve a high-pressure and strong rotary cutting sampling effect. The circular spot sample can be directly cut off while being driven to rotate by the stepper motor 10.
[0039] When the rotary cutting action is Fig. 9 When the permanent magnet is embedded in the magnetic actuator 15 formed by the magnetic actuator structure, the rotary cutting action can also work independently without relying on the motor.
[0040] like Figure 8 As shown, the end of the shell 13 is provided with a bottom cover 26 for limiting the operating end 17. The operating end 17 can be separated from the guide column 16 by retracting the guide column 16, and the operating end 17 with different forms of puncture needles or puncture tubes can be further replaced.
[0041] like Fig. 9 As shown, this embodiment relates to a puncture sampling method of the above device, which specifically includes the following steps:
[0042] Step 1) According to the puncture sampling trajectory, the two-dimensional moving mechanism manipulates the driving mechanism to move the operating end above the sample;
[0043] Step 2) The double coils 12a and 12b are energized to generate an electromagnetic field, which generates a repulsive force on the magnetic actuator 15 to move downward and drives the operating end 17 to move downward synchronously. When the electromagnetic repulsive force is large enough, the puncture needle 21 pierces the sheet to be collected 19; due to the large pressure of the needle tip and the small effective area, the force acting on the sheet to be collected 19 during the puncture process is small, so that the sheet to be collected 19 can be pierced under the condition of providing reverse support force; then, the double coils are reset by loading an anti-phase electrical signal or disconnecting the power through the tension of the tension spring, that is, the operating end 17 is lifted upward until the puncture needle 21 is pulled out from the sheet to be collected 19; and then, when the puncture needle 21 is a serrated needle at this time, the connecting material or fiber of the sheet to be collected 19 can be partially cut off after the tip of the puncture needle 21 is inserted or pulled out, thereby increasing the cutting area during one insertion process and improving the hole cutting efficiency;
[0044] Step 3) After completing one puncture, the stepper motor 10 performs one step or the two-dimensional moving mechanism drives the driving mechanism to the next sample point on the determined spot profile, and repeats the above action process until the puncture of all sample points on the determined spot profile is completed to form a spot profile.
[0045] Preferably, when the perforated piece 19 to be collected often has connections (fiber connections), the cut piece cannot fall out by its own weight. By applying a larger current to the double coils 12a and 12b to increase the movement amplitude of the magnetic actuator 15, the elastic force of the elastomer 22 on the operating end 17 is instantly released to the spotted contour surface of the piece 19 to be collected, causing the material on the perforated and cut-out piece 19 to be collected to be squeezed out or bounced to the storage tube 18.
[0046] In some cases, the elastic body 22 can be replaced by a top block 25 to directly conduct electromagnetic force to tear apart and squeeze out the associated part of the cut piece.
[0047] Preferably, after the excision piece is removed, a new disposable operating end 17 is replaced to avoid cross infection of sample components; Figure 8 As shown, the two-dimensional moving mechanism is first instructed to drive the working part / operating end 17 to the work station for storing the operating end 17; the guide column 16 and the operating end 17 are elastically extruded or magnetically attracted. At this time, by adding a reverse lifting electromagnetic force, the guide column 16 rigidly connected to the magnetic actuator 15 drives the operating end 17 to move upward until it collides with the bottom end cover 26. When the collision force is greater than the elastic extrusion connection or magnetic attraction between the guide column 16 and the operating end 17, the operating end 17 falls off to its storage box.
[0048] like Fig.10 As shown, the puncture sampling trajectory is implemented in the following ways, but not limited to:
[0049] a) at least one reference point is set on each of the front and back sides of the sample, and a sample image and a light transmission image containing the spots to be tested are respectively obtained by two image acquisition units, and the distance vectors from all points on the sample image to the reference point and the chromaticity values from all points on the light transmission image to the reference point are respectively calculated, so as to construct feature retrieval data in which the distance vectors and the chromaticity values correspond one to one.
[0050] b) Compare the feature retrieval data of the spot to be tested with the feature retrieval data of the standard spot to generate a digital image of the geometric position center coordinates, profile, uniformity and other requirements of the imaging spot of the composite benchmark sample, including:
[0051] b.1) Divide the given standard / expected or mathematically generated graph into m line segments;
[0052] b.2) Discretize each segmented line segment into n points;
[0053] b.3) Taking the designated point of each line segment, such as the leftmost endpoint, as the starting point, compare the coordinates of the discrete points of the line segment and the coordinates of the spot sampling points when the following criteria are met: (x a -x d ) 2 +(y a–y d ) 2 ≤C, where: x a and a Respectively represent the coordinates of the spot sampling point, x d and d They represent the coordinates of discrete points of the segmented line of the graphics generated by standard or expectation or by mathematical model calculation, and C is the set maximum allowable deviation value. Then the spot sampling point values are extracted and placed in the set S;
[0054] b.4) Loop through steps b.2 and b.3) until the right endpoint of the line segment;
[0055] b.5) Loop through steps b.1 to b.4) until all points in the graph are traversed, forming a G The set S of all spot sampling point position coordinate data in the coordinate system that conforms to the relationship in step b.3.
[0056] c) Compare the profile digital image with the standard spot point-by-point data, and construct a series polynomial model to make a validity judgment.
[0057] The standard spot refers to: the shape and chromaticity value of the ideal spot preset in the reference point coordinate system and the coordinates of the characteristic points of the geometric configuration of the ideal spot. The characteristic points are but not limited to the geometric center, diagonal intersection, highest and lowest points, chromaticity median point or brightness median point.
[0058] The data comparison refers to comparing the grayscale value / transmittance of the profile digital image with the standard target transmittance grayscale image / transmittance image.
[0059] The validity judgment means: according to the series polynomial model, the difference between the profile digital image and the standard target configuration diagram is obtained. When the difference is less than the threshold, the pattern to be tested is valid. The difference can be obtained by but not limited to the least mean square root and least squares algorithm.
[0060] d) The geometric position center coordinates and the outline digital image of the effective pattern obtained in step c) are used to generate movement instructions of the rotary slicing module and puncture instructions of the operating end, respectively, and the puncture sampling trajectory is obtained after merging.
[0061] After specific actual experiments, when the puncture needle diameter is set to 0.05mm, the stepper motor rotates one circle for 180 steps, the puncture needle up and down displacement amplitude is 1mm, the frequency is 10Hz, and the stepper motor steps 10 steps per second, the system can produce circular slices with a radius of less than 2.3mm on a sample strip with a thickness of 0.5mm within 20 seconds.
[0062] And according to the diameter of the puncture needle, the amplitude of the puncture displacement, and the frequency adjustment, smaller / larger samples can be produced in a shorter / longer time range. Ideally, the slice size can reach the micron level. Currently, there is no technology that can achieve the effect of applying a small pressure on the soft strip to cut out tiny slices and holes.
[0063] The above-mentioned specific implementation can be partially adjusted in different ways by those skilled in the art without departing from the principle and purpose of the present invention. The protection scope of the present invention shall be based on the claims and shall not be limited by the above-mentioned specific implementation. Each implementation scheme within its scope shall be subject to the constraints of the present invention.
Claims
1. A puncture sampling system based on image recognition, characterized in that: include: A trajectory planning module for identifying the sample morphology or the spot morphology, distribution and position on the sample and generating a puncture sampling trajectory, and a rotary slicing module for collecting samples according to the trajectory, wherein: the rotary slicing module moves to a preset position according to the puncture sampling trajectory and then punctures and forms a hole, and after the puncture point trajectory is formed on the sample, a shear force is applied to separate the sample from the sample; The trajectory planning module includes: an image acquisition unit, a profile construction unit, a validity judgment unit and a path generation unit, wherein: image acquisition units are provided on both sides of the spline and respectively acquire sample images and light transmission images containing spots and output them to the profile construction unit; the profile construction unit outputs them to the validity judgment unit after coordinate conversion and profile reconstruction; the validity judgment unit compares the updated sample profile with the standard profile to judge the eligibility of the spots, and outputs the sample profile of the qualified spots to the path generation unit; the path generation unit superimposes the sample profile of the qualified spots on the sample profile of the qualified spots according to the preset parameters of the rotation slice module and generates a puncture sampling trajectory; The puncture sampling trajectory is achieved in the following manner: a) at least one reference point is set on each of the front and back sides of the sample, and a sample image and a light transmission image containing the spots to be tested are respectively acquired by two image acquisition units, and the distance vectors from all points on the sample image to the reference point and the chromaticity values from all points on the light transmission image to the reference point are respectively calculated, so as to construct feature retrieval data in which the distance vectors and the chromaticity values correspond one to one; b) Compare the feature retrieval data of the spot to be tested with the feature retrieval data of the standard spot to generate a digital image that meets the geometric position center coordinates, profile, and uniformity requirements of the imaging spot of the reference sample, specifically including: b.1) Divide the given standard / expected or mathematically generated graph into m line segments; b.2) Discretize each segmented line segment into n points; b.3) Taking the leftmost endpoint of each line segment as the starting point, compare the coordinates of the discrete points of the line segment and the coordinates of the spot sampling points when the following criteria are met: (x a -x d ) 2 +(y a –y d ) 2 ≤C, where: x a and a Respectively represent the coordinates of the spot sampling point, x d and d They represent the coordinates of discrete points of the segmented line of the graphics generated by standard or expectation or by mathematical model calculation, and C is the set maximum allowable deviation value. Then the spot sampling point values are extracted and placed in the set S; b.4) Loop through steps b.2 and b.3) until the right endpoint of the line segment; b.5) Loop through steps b.1 to b.4) until all points in the graph are traversed, forming a G A set S of all the spot sampling point position coordinate data in the coordinate system that meets the relationship in step b.3; c) Compare the profile digital image with the standard spot point-by-point data, and construct a series polynomial model to make a validity judgment.
2. The puncture and perforation sampling system based on image recognition according to claim 1 is characterized in that: The rotary slicing module comprises: a two-dimensional moving mechanism and a driving mechanism and an operating end connected thereto; The driving mechanism includes a shell with a coil on the outside, a magnetic actuator and a guide column arranged in the shell, wherein: one end of the guide column is connected to the operating end, and when current is applied to the coil and a magnetic field is generated, the magnetic actuator realizes axial movement based on the magnetic field force to drive the operating end to rotate and move axially.
3. The puncture and perforation sampling system based on image recognition according to claim 2 is characterized in that: A permanent magnet for limiting the moving range of the magnetic actuator is arranged in the shell.
4. The puncture and perforation sampling system based on image recognition according to claim 2 or 3, characterized in that: When the guide column is made of magnetic material, the movable connection is achieved by the mutual attraction between the magnetic body and the magnetic actuator; the bottom end of the bobbin corresponding to the coil is provided with a bottom end cover made of permanent magnetic material, and the magnetic pole direction of the bottom end cover is arranged opposite to the magnetic actuator.
5. The puncture sampling system based on image recognition according to claim 2 is characterized in that: The rotation and axial motion are achieved by setting: ① a motor, the output shaft of which is sleeved with the magnetic actuator to drive the magnetic actuator to rotate radially in the housing, and / or ② A non-uniformly magnetized magnetic actuator composed of a structure and an embedded bias magnet. The magnetic axis of the magnetic actuator does not coincide with the geometric axis. When the coil generates an axial magnetic field, the non-uniformly magnetized magnetic actuator will be subjected to axial and circumferential forces at the same time, thereby driving the guide column and the operating end to rotate and move axially at the same time.
6. The puncture and perforation sampling system based on image recognition according to claim 2 is characterized in that: A tension spring is arranged between the magnetic actuating body and the shell.
7. The puncture and perforation sampling system based on image recognition according to claim 2 is characterized in that: The operating end is movably connected to the guide column, and the operating end comprises a fixed block and a puncture mechanism and an ejection component arranged at the bottom of the fixed block.
8. The puncture sampling system based on image recognition according to claim 7 is characterized in that: The movable connection is realized by clamping the fixing block and the guide column.
9. The puncture sampling system based on image recognition according to claim 7 is characterized in that: The ejection component is an elastic body or a rigid ejection block, and the cut sample slices are further ejected into the storage tube through the inelastic direct extrusion of the rigid ejection block or the elastic potential energy accumulation of the elastic body.
10. The puncture sampling system based on image recognition according to claim 7, characterized in that: The puncture mechanism is a puncture needle with a needle-shaped structure, a wedge-shaped structure, a sawtooth-shaped structure, a wedge-shaped structure with sawtooth on one or both sides, or a puncture tube with a semi-open structure or a cylindrical structure.
11. A puncture sampling method based on the system according to any one of claims 1 to 10, comprising the following steps: Step 1) According to the puncture sampling trajectory, the two-dimensional moving mechanism manipulates the driving mechanism to move the operating end to above the sample; Step 2) energizing the coil to generate an electromagnetic field to generate a repulsive force to act on the magnetic actuator to move downward and drive the guide column, the operating end and the puncture mechanism to move downward synchronously until the puncture mechanism punctures the sheet to be collected; resetting is achieved by applying an anti-phase electrical signal to the coil or disconnecting the power and providing a tension force through a tension spring; Step 3) After completing one puncture, the stepper motor performs one step or the two-dimensional moving mechanism drives the driving mechanism to the next sample point on the determined spot profile, and repeats the above action process until the puncture of all sample points on the determined spot profile is completed to form a spot profile.
12. The method according to claim 11, characterized in that: By applying a current with a larger amplitude to the coil to increase the movement amplitude of the magnetic actuator, the elastic body on the operating end can be first blocked and pressed by the cut-off portion of the collecting strip, and then the elastic force is increased to break through the cut-off portion of the edge of the collecting strip and the material is instantly released to the spotted contour surface of the piece to be collected, causing the material on the piece to be collected with the perforated cut-out contour to be squeezed out or bounced into the storage tube.
