MACHINE VISION BASED AUTOMATIC NEEDLE CANNULA INSPECTION SYSTEM AND METHOD OF USE
20210133950 ยท 2021-05-06
Assignee
Inventors
Cpc classification
A61M5/322
HUMAN NECESSITIES
A61M5/3234
HUMAN NECESSITIES
G01N21/952
PHYSICS
A61M3/027
HUMAN NECESSITIES
International classification
G01N21/952
PHYSICS
Abstract
A machine vision based automatic needle cannula inspection system includes an inspection and control unit, image capture devices, light sources, a unit that makes the needle cannula and the image capture device(s) rotate relative to each other, and a rejected part removal unit. By means of rotating the needle cannula and image capture devices relatively, a plurality of images captured along the circumferential direction of the needle cannula are directly saved to a computer, the images are then screened, processed and analyzed to fulfill the automatic inspection of multiple quality and technical parameters of the needle cannula without the need to position the bevel area of cannula tip to a specific direction. Inspection parameters and accuracy can be set at any time, the system can automatically record classification and statistics of passed and rejected needle cannulae for query, and the rejected cannulae are removed automatically at next position. All the functions are completed at one work station, and needle cannula tips on both sides can be inspected simultaneously, if needed. Thereby the inspection efficiency and reliability are greatly improved, resulting in extremely extensive application prospects and huge economic values.
Claims
1. A machine vision based automatic needle cannula inspection system comprising: a control unit configured to perform synchronized control and information processing; a needle cannula retainer for retaining at least one needle cannula, the needle cannula retainer rotating the needle cannula about an axis extending from a first end of the needle cannula to a second end of the needle cannula; an image capture device configured to capture images of the needle cannula at a plurality of positions about the circumference of the needle cannula.
2. The inspection system of claim 1, wherein the needle cannula retainer comprises a wheel having notches along a circumference of the wheel, each notch retaining a needle cannula.
3. The inspection system of claim 2, wherein the needle cannula retainer further comprises a belt tangent to the wheel and contacting the needle cannula to cause rotation of the needle cannula.
4. The inspection system of claim 3, wherein the belt is disposed below a top of a tooth retaining the needle cannula and contacts the needle cannula.
5. The inspection system of claim 1, wherein the control unit is configured to: select an image from the plurality of images with a largest bright area; perform continuous area extraction, contour extraction, curve fitting and ellipse fitting to obtain ideal inner contour, outer contour and burrs; disqualify the needle cannula when a dimension of the burr dimension exceeds a preset threshold; and perform linear fitting of the upper portion of the bright area's outer contour, the two straight lines form an intersection above the needle tip, if the distance between the said intersection and the uppermost point of the bright area exceeds the preset threshold, the needle cannula is disqualified.
6. The inspection system of claim 1, wherein the control unit is configured to: analyze images of the plurality of images captured on one bevel area of said needle cannula; identify an image with a largest bright area; count forward or backward a predetermined number of images to obtain a second image, the second image being approximately 90 degrees to the image with the largest bright area; perform linear fitting of left and right vertical lines; determine the needle has a curved tip when the distance between a top point of the longest vertical line and horizontally the leftmost pixel or rightmost pixel exceeds a preset threshold; and reject the needle cannula.
7. The inspection system of claim 1, further comprising a light source directed at the needle cannula.
8. The inspection system of claim 1, wherein the control unit is configured to detect burrs and a curved tip of the needle cannula form the plurality of images.
9. A machine vision based automatic needle cannula inspection method comprising: rotating a needle cannula about an axis extending from a first end of the needle cannula to a second end of the needle cannula capturing, with an image capture device, a plurality of images of the needle cannula along a plurality of positions about a circumference of the needle cannula; and inspecting the needle cannula for defects through analyzing, by a control unit, the captured images.
10. The needle cannula inspection method according to claim 9, further comprising: adjusting the image capture device and light sources based on a dimension of the needle cannula and at least one of distance, aperture and exposure time to capture the plurality of images; setting, by the control unit, a threshold for each inspection parameter; and rejecting, by the control unit, the needle cannula when a threshold for at least one inspection parameter is not met.
11. The needle cannula inspection method according to claim 9, wherein multithreading techniques and double image capture devices are used to simultaneously inspect bevel areas at each end of the needle cannula.
12. The needle cannula inspection method according to claim 9, further comprising: rotating the needle cannula on a cannula wheel having teeth or a linear stepper belt step having teeth; and rotating the cannula wheel one tooth at a time, or the linear stepper belt step one tooth at a time.
13. The needle cannula inspection method according to claim 9, further comprising processing, by the control unit, the plurality of images with graying, filtering, binarization and rough edge extraction.
14. The needle cannula inspection method according to claim 9, further comprising rotating the needle cannula with a cannula wheel having teeth or a linear stepper belt step having teeth and removing the needle cannula with compressed air.
15. The needle cannula inspection method according to claim 9, wherein the plurality of images captured on one bevel area of the needle cannula are processed to inspect at least one of the following parameters: burrs on bevels and needle tip sharpness; inward or outward curved needle tips; accuracy of several bevel angles of needle cannula tip area; and length of needle cannula.
16. The needle cannula inspection method according to claim 9, further comprising: choosing, by the control unit, an image from the plurality of images with a largest bright area; performing continuous area extraction, contour extraction, curve fitting and ellipse fitting to obtain ideal inner contour, outer contour and burrs; disqualifying the needle cannula when a dimension of the burr dimension exceeds a preset threshold; performing linear fitting of the upper portion of the bright area's outer contour, the two straight lines form an intersection above the needle tip, if the distance between the said intersection and the uppermost point of the bright area exceeds the preset threshold, the needle cannula is disqualified.
17. The needle cannula inspection method according to claim 9, wherein inspecting the needle cannula for defects through analyzing comprises: analyzing images of the plurality of images captured on one bevel area of said needle cannula comprises the following steps: identifying an image with a largest bright area; counting forward or backward a predetermined number of images to obtain a second image, the second image being approximately 90 degrees to the image with the largest bright area; performing linear fitting of left and right vertical lines; determining the needle has a curved tip when the distance between a top point of the longest vertical line and horizontally the leftmost pixel or rightmost pixel exceeds a preset threshold; and rejecting the needle cannula.
Description
DRAWINGS
[0073] Constituting a part of this application, the accompanying drawings are included to provide a further understanding of the invention, exemplary embodiments of the present invention and the descriptions thereof are used to explain the present invention, and do not constitute improper limitation to the present invention. In the drawings:
[0074]
[0075]
[0076]
[0077]
[0078]
[0079]
[0080]
[0081]
[0082] Components in the drawings are labeled as follows: 1-25, side view of 25 images of a needle cannula tip area at equal intervals and a full revolution or circle; 26, burrs at needle cannula tip area; 27, curved needle cannula tips; 28, needle cannula; 29, cannula wheel; 30, tooth grooves; 31, the rotating belt system; 32, camera A; 33, camera B; 34, light source A; 35, light source B; 36, light source C; 37, light sourced D; 38, rejected part removal device using compressed air; 39, tooth groove A; 40, tooth groove B, 41, cylinder; 42, rotating belt; 43, inner contour of needle cannula tip area; 44, outer contour of the needle cannula tip area; 45, burrs; 46, the intersection point of fitting straight lines; 47, uppermost point of needle cannula tip area; 48, right fitting straight line of cannula; 49, left fitting straight line of cannula; 50, curved needle cannula tip; 51, fitting straight line of slope A; 52, fitting straight line of slope B; 53, enlarged view of the needle cannula tip A; 54, enlarged view of the needle cannula tip B
[0083] The present invention will be described below with reference to a preferred embodiment in conjunction with the drawings.
A PREFERRED EMBODIMENT
[0084] It should be noted that, under the condition of no conflict, embodiments of the present invention and the features of the embodiments can be combined with each other. The present invention will be described below with reference to the drawings and the detailed description in conjunction with the embodiments.
[0085] As shown in
[0086] As shown in
[0087] When a number of images captured on one bevel area of said needle cannula are processed to inspect at least one of the following quality and/or technical parameters: [0088] (1) Burrs on bevels and needle tip sharpness; [0089] (2) Inward or outward curved needle tips; [0090] (3) Accuracy of several bevel angles of needle cannula tip area; [0091] (4) Length of needle cannula.
[0092] The present invention a machine vision based automatic needle cannula inspection method according to a preferred embodiment, comprises the following steps: [0093] (1) Select and adjust said image capture device(s), lenses and light sources based on the dimension of said needle cannula and set parameters such as distance, aperture and exposure time to capture clear images; [0094] (2) Set the accuracy and threshold for each inspection parameter; [0095] (3) Connect the computer with camera A 32 and camera B 33, motors of cannula wheel 29 and rejected part removal unit 38 respectively with synchronized control setting; [0096] (4) Cannula wheel 29 step rotates forward, one tooth at a time, each tooth groove 30 of cannula wheel 29 is automatically placed with one needle cannula, cannula wheel 29 pauses when the bottom of tooth groove 30 is at the upmost position, the rotating belt system 31 above the cannula wheel 29 automatically presses onto the needle cannula 28 in the tooth grove 30 and drive the needle cannula 28 to rotate, a signal sent from the computer starts camera A 32 and camera B 33, under illumination of light source A 34, light source B 35, light source C 36, light source D 37. a number of images are captured at equal intervals while camera A 32 and camera B 33 rotate relatively with needle cannula 28 at a constant speed for a whole circle, the images are saved to the computer and processed with machine vision techniques; [0097] (5) Conventional graying, filtering, binarization and rough edge extraction are processed on saved images. [0098] (6) As shown in
[0103] Besides, images captured along the circumferential direction of a needle cannula for a whole circle can be used to build a three-dimensional model, with which quality and technical parameters can be inspected.
[0104] The descriptions above are only preferable embodiments of the present invention, and are not intended to limit the present invention. To one skilled in the field, the present invention may have various changes and variations. Within the spirit and principle of the present invention, all modifications, equivalent replacements, improvements, etc. are intended to be included within the scope of the present invention.