CN102507602A - Method for automatically detecting rupture of infusion bottle mouth by using machine vision system - Google Patents
Method for automatically detecting rupture of infusion bottle mouth by using machine vision system Download PDFInfo
- Publication number
- CN102507602A CN102507602A CN201110359076XA CN201110359076A CN102507602A CN 102507602 A CN102507602 A CN 102507602A CN 201110359076X A CN201110359076X A CN 201110359076XA CN 201110359076 A CN201110359076 A CN 201110359076A CN 102507602 A CN102507602 A CN 102507602A
- Authority
- CN
- China
- Prior art keywords
- infusion bottle
- image
- bottleneck
- bottle bottleneck
- computing machine
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Abstract
The invention provides a method for automatically detecting rupture of an infusion bottle mouth by using a machine vision system. The method comprises the steps of: pre-taking an image of a bottle mouth of a standard product as a bottle mouth standard image and storing the image in a computer; setting a differential proportion of the pre-taken image to the bottle mouth standard image as a detection parameter; setting detection precisions and qualification ranges of different detection parameters according to user requirements; starting up a camera according to an outer triggering and controlling signal to take images of the bottle mouth of the infusion bottle which is under on-line operation in real time; transmitting the taken images to the computer for detection; processing by the computer through an image algorithm; extracting images of the bottle mouth of the infusion bottle and calculating the difference; judging whether the product is a qualified product or a waste product through the calculated difference; and removing the waste product from an appointed discharge port through the outer triggering and controlling signal. The method for automatically detecting rupture of the infusion bottle mouth by using the machine vision system, disclosed by the invention, has high precision and high speed for detecting rupture of the bottle mouth of the infusion bottle and can be used for efficiently guaranteeing the qualified rate of products.
Description
Technical field
The present invention relates to utilize NI Vision Builder for Automated Inspection to carry out the technical field of online detection, relate in particular in the infusion bottle production scene method of utilizing NI Vision Builder for Automated Inspection whether the infusion bottle bottleneck is broken and detect automatically.
Background technology
In the infusion bottle production scene of line production, need whether break to the bottleneck of infusion bottle and carry out online detection.In the prior art; Online detection to the infusion bottle bottleneck relies on manual work to detect; Establish about 80 people on infusion bottle production machine side and carry out detection and the processing that the infusion bottle bottleneck breaks, product is divided into certified products (like bottleneck proportion of deformation<10% and not distortion) and unacceptable product (like bottleneck proportion of deformation >=10%) according to testing result.Unacceptable product is directly as goods rejection.
The shortcoming that manual detection exists mainly contains: the on-the-spot ventilation of workshop is poor, and workman's testing environment is abominable, and labour intensity is big; The normal eye promptly can dim eyesight, eye discomfort such as expand about uninterrupted observation moving object 30min, and testing staff's non-stop run for a long time can't guarantee the product export qualification rate; The infusion bottle bottleneck breaks, and to detect be to be with very high-precision test, and human eye can't judge accurately that error is big, and the chance of makeing mistakes is a lot, can't guarantee to detect quality; The professional detects the speed that the infusion bottle bottleneck breaks and is up to 0.5/s, and throughput rate is had very big restriction.
The content of invention
The online detection of the infusion bottle bottleneck being broken to prior art relies on manual work to detect, and the workman is easy to generate visual fatigue, and labour intensity is big; Can't guarantee product percent of pass and detect quality; Problems such as monitoring velocity is low, the automatic testing method that the present invention provides a kind of NI Vision Builder for Automated Inspection that the infusion bottle bottleneck is broken, it reduces workman's detection labour intensity greatly; Accuracy of detection is high, speed is fast, the qualification rate of the product that can effectively guarantee to dispatch from the factory.
Technical scheme of the present invention is following:
A kind of NI Vision Builder for Automated Inspection may further comprise the steps the automatic testing method that the infusion bottle bottleneck breaks:
(1) infusion bottle is fixed on the frock bar anchor clamps, makes frock bar anchor clamps on-line operation, taking camera fixing above the frock bar anchor clamps of on-line operation; According to the size of infusion bottle bottleneck to be detected and infusion bottle bottleneck towards, select the focal length of camera lens, shooting angle, shooting distance, aperture size, the time shutter of camera taken in adjustment, so that obtain photographic images clearly;
(2) start said industrial camera, take the bottleneck image of a standardized product in advance, and the image of taking is transferred to computing machine; Computing machine is handled through image algorithm; Extract the image of infusion bottle bottleneck, this infusion bottle bottleneck image that obtains as the bottleneck standard picture, is stored in the computing machine;
(3) will be made as the detection parameter with the difference ratio of bottleneck standard picture;
(4) computing machine is obtained camera and synchronous triggering and the control signal of production process, starts the image that said camera is taken on-line operation infusion bottle bottleneck in real time by external trigger and control signal, and the image of taking is transferred to computing machine confession detection;
(5) computing machine is handled through image algorithm, extracts the image of infusion bottle bottleneck;
(6) computing machine calculates the difference ratio of said infusion bottle bottleneck image and bottleneck standard picture; This difference ratio is the ratio that the area discrepancy of said infusion bottle bottleneck image and bottleneck standard picture accounts for bottleneck standard picture area, and this ratio value promptly is the difference ratio that the infusion bottle bottleneck breaks;
(7) judge that through the difference ratio that calculates this product belongs to certified products or waste product, waste product is rejected from the discharging opening of appointment through external trigger and control signal.
Its further technical scheme is: to said (7) step, specifically carry out the judgement and the go-on-go of scale by following step:
(8) whether judge bottleneck difference ratio at acceptability limit<10%, as then turned to for (9) step at acceptability limit, if item turned to for (10) step more than or equal to acceptability limit >=10%;
(9) sort as certified products;
(10) directly as goods rejection.
And its further technical scheme is: to said (7) step, when detecting product and be waste product, computing machine will carry out picture cues through man-machine interface, and start warning device.
Useful technique effect of the present invention is:
The present invention adopts NI Vision Builder for Automated Inspection that the infusion bottle bottleneck is broken to carry out automatic on-line and detect, replace manual detection, and the user can carry out the adjusting of accuracy of detection automatically.Have the record, classification, statistics, storage, the query function that product are detected certified products, this two series products of waste product.And in image, point out the unacceptable product situation through friendly man-machine interface, and give sound, light alarm, reduce workman's detection labour intensity greatly.
Manual detection speed is generally 0.5/s, and the NI Vision Builder for Automated Inspection detection speed can reach 3 ~ 4/s, and the product detection speed of NI Vision Builder for Automated Inspection is artificial 6 ~ 8 times, has greatly improved production efficiency.
Manual detection can't uninterruptedly be carried out product quality in 24 hours and detect owing to environment and physiological reason, adopted NI Vision Builder for Automated Inspection to detect and then made it become possibility.The production time of equipment can prolong to greatest extent, has improved usage ratio of equipment.
The artificial detection because poor, the vision fatiguability that ventilates is difficult to the Continuous Tracking product quality.Detecting accuracy leans on artificial being difficult to guarantee that improper defect rate generally about 8 ~ 10%, has caused the significant wastage of the resources of production and production cost; The accuracy of detection of NI Vision Builder for Automated Inspection is higher, thereby improves product percent of pass greatly and detect quality.
Description of drawings
Fig. 1 is normal infusion bottle bottleneck image.
There is not the infusion bottle bottleneck image that obviously breaks in Fig. 2.
There is the infusion bottle bottleneck image that obviously breaks in Fig. 3.
Fig. 4 is a process sequence diagram of the present invention.
Embodiment
Further specify below in conjunction with the accompanying drawing specific embodiments of the invention.
Fig. 1, Fig. 2, Fig. 3 take from infusion bottle bottleneck top and real image after treatment.
In Fig. 1, Fig. 2, photographic images shown in Figure 3, blank parts is the transparent space of infusion bottle bottleneck image after through the denoising software processes all around, shown in the solid line bar be the contour images of infusion bottle bottleneck after handling.In Fig. 2, Fig. 3, shown in dashed bars be the bottleneck standard picture that is used to compare.
Embodiment 1, to the detection of qualified infusion bottle bottleneck:
Infusion bottle bottleneck image as shown in Figure 2, its right side existence is broken.
Basler ACA640-100GM type industrial camera is fixed on the top of infusion bottle bottleneck, and camera is about 100mm apart from the distance of infusion bottle bottleneck upper surface, uses to execute and bears zoom lens, and focal length transfers to 8mm, and aperture is transferred to maximal value, and the time shutter is adjusted to 0.41ms.Set the normal scale disappearance of certified products ratio and be 10% to the maximum.Adopt special-purpose White LED annular light source, and use and semiclosedly block the influence that the metal framework shields extraneous veiling glare,, embody the obvious characteristic of infusion bottle bottleneck so that obtain visual pattern more stablely.The LED annular light source of this project uses the machine vision special light source (also can use the LED annular light source of other companies) of CCS company, so that can photograph distinct image more stablely, and is shown in the screen of computing machine.Adopt the frock bar anchor clamps on the production line that the bottom surface of infusion bottle is fixed, make each infusion bottle bottleneck unified up.Carry out the conveying of infusion bottle through belt transmission system, guarantee that infusion bottle by certain direction and speed, stably gets into pick-up unit.
Start said industrial camera; Take the bottleneck image of a standardized product in advance; And the image of taking transferred to computing machine, computing machine is handled through image algorithm, extracts the image of infusion bottle bottleneck; This infusion bottle bottleneck image that obtains as bottleneck standard picture (like Fig. 1), is stored in the computing machine.
Computing machine is according to the different control system of institute of different production firm production equipment; Obtain synchronous triggering of camera and production process and control signal; Start said industrial camera and take the image of the infusion bottle bottleneck of on-line operation, and, be stored in the computing machine the infusion bottle bottleneck image that obtains.
Computing machine carries out Flame Image Process to captured image through edge extracting, smoothing denoising, binary conversion treatment, Fourier Tranform scheduling algorithm, makes image more clear, more meets the truth of infusion bottle bottleneck.The algorithm that is adopted in the above-mentioned image processing process is conventional algorithm of the prior art.
Computing machine calculates the difference ratio that the infusion bottle bottleneck breaks.This difference ratio is the area discrepancy of said infusion bottle bottleneck image and bottleneck standard picture, accounts for the ratio of bottleneck standard picture area, and this ratio value promptly is the difference ratio that the infusion bottle bottleneck breaks.
As the difference ratio that detects this product is 8% (situation among Fig. 2); Then this product is certified products; Computing machine writes down, classifies, adds up warehouse-in to such certified products.
Embodiment 2, the detection of the infusion bottle bottleneck that existence is broken:
Infusion bottle bottleneck image as shown in Figure 3, its right side existence is broken.
Basler ACA640-100GM type industrial camera is fixed on the top of infusion bottle bottleneck, and camera is about 100mm apart from the distance of infusion bottle bottleneck upper surface, uses to execute and bears zoom lens, and focal length transfers to 8mm, and aperture is transferred to maximal value, and the time shutter is adjusted to 0.41ms.Set the normal scale disappearance of certified products ratio and be 10% to the maximum.Adopt special-purpose White LED annular light source, and use and semiclosedly block the influence that the metal framework shields extraneous veiling glare,, embody the obvious characteristic of infusion bottle bottleneck so that obtain visual pattern more stablely.The LED annular light source of this project uses the machine vision special light source (also can use the LED annular light source of other companies) of CCS company, so that can photograph distinct image more stablely, and is shown in the screen of computing machine.Adopt the frock bar anchor clamps on the production line that the bottom surface of infusion bottle is fixed, make each infusion bottle bottleneck unified up.Carry out the conveying of infusion bottle through belt transmission system, guarantee that infusion bottle by certain direction and speed, stably gets into pick-up unit.
Start said industrial camera; Take the bottleneck image of a standardized product in advance; And the image of taking transferred to computing machine, computing machine is handled through image algorithm, extracts the image of infusion bottle bottleneck; This infusion bottle bottleneck image that obtains as bottleneck standard picture (like Fig. 1), is stored in the computing machine.
Computing machine is according to the different control system of institute of different production firm production equipment; Obtain synchronous triggering of camera and production process and control signal; Start said industrial camera and take the image of the infusion bottle bottleneck of on-line operation, and, be stored in the computing machine the infusion bottle bottleneck image that obtains.
Computing machine carries out Flame Image Process to captured image through edge extracting, smoothing denoising, binary conversion treatment, Fourier Tranform scheduling algorithm, makes image more clear, more meets the truth of infusion bottle bottleneck.The algorithm that is adopted in the above-mentioned image processing process is conventional algorithm of the prior art.
Computing machine calculates the difference ratio that the infusion bottle bottleneck breaks.This difference ratio is the area discrepancy of said infusion bottle bottleneck image and bottleneck standard picture, accounts for the ratio of bottleneck standard picture area, and this ratio value promptly is the difference ratio that the infusion bottle bottleneck breaks.
As the difference ratio that detects this product is 11% (situation among Fig. 3); Then this product is a unacceptable product.Computing machine is pointed out the unacceptable product situation through friendly man-machine interface in image, and gives sound, light alarm, and such unacceptable product is write down, classifies, adds up warehouse-in.
More than the control system (hardware and software) of the image capture device (camera, radiation source, power supply, image pick-up card etc.) that uses among all embodiment and storage device (hard disk, CD, floppy disk etc.), image processing equipment (hardware of image processor and software), image display (hardware and software), warning device and each part mentioned above all adopt prior art to design and produce or directly adopt relevant commercially available prod.
Above-described processing step of the present invention is shown in Fig. 4.
It should be noted that above-described at last only is preferred implementation of the present invention, the invention is not restricted to above embodiment.Be appreciated that other improvement and variation that those skilled in the art directly derive or associate under the prerequisite that does not break away from spirit of the present invention and design, all should think to be included within protection scope of the present invention.
Claims (3)
1. a NI Vision Builder for Automated Inspection is characterized in that may further comprise the steps to the automatic testing method that the infusion bottle bottleneck breaks:
(1) infusion bottle is fixed on the frock bar anchor clamps, makes frock bar anchor clamps on-line operation, taking camera fixing above the frock bar anchor clamps of on-line operation; According to the size of infusion bottle bottleneck to be detected and infusion bottle bottleneck towards, select the focal length of camera lens, shooting angle, shooting distance, aperture size, the time shutter of camera taken in adjustment, so that obtain photographic images clearly;
(2) start said industrial camera, take the bottleneck image of a standardized product in advance, and the image of taking is transferred to computing machine; Computing machine is handled through image algorithm; Extract the image of infusion bottle bottleneck, this infusion bottle bottleneck image that obtains as the bottleneck standard picture, is stored in the computing machine;
(3) will be made as the detection parameter with the difference ratio of bottleneck standard picture;
(4) computing machine is obtained camera and synchronous triggering and the control signal of production process, starts the image that said camera is taken on-line operation infusion bottle bottleneck in real time by external trigger and control signal, and the image of taking is transferred to computing machine confession detection;
(5) computing machine is handled through image algorithm, extracts the image of infusion bottle bottleneck;
(6) computing machine calculates the difference ratio of said infusion bottle bottleneck image and bottleneck standard picture; This difference ratio is the ratio that the area discrepancy of said infusion bottle bottleneck image and bottleneck standard picture accounts for bottleneck standard picture area, and this ratio value promptly is the difference ratio that the infusion bottle bottleneck breaks;
(7) judge that through the difference ratio that calculates this product belongs to certified products or waste product, waste product is rejected from the discharging opening of appointment through external trigger and control signal.
According to the said NI Vision Builder for Automated Inspection of claim 1 to the automatic testing method that the infusion bottle bottleneck breaks, it is characterized in that said (7) step is specifically carried out the judgement and the go-on-go of scale by following step:
(8) whether judge bottleneck difference ratio at acceptability limit<10%, as then turned to for (9) step at acceptability limit, if item turned to for (10) step more than or equal to acceptability limit >=10%;
(9) sort as certified products;
(10) directly as goods rejection.
According to the said NI Vision Builder for Automated Inspection of claim 1 to the automatic testing method that the infusion bottle bottleneck breaks, it is characterized in that when detecting product and be waste product, computing machine will carry out picture cues through man-machine interface to said (7) step, and start warning device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110359076XA CN102507602A (en) | 2011-11-14 | 2011-11-14 | Method for automatically detecting rupture of infusion bottle mouth by using machine vision system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110359076XA CN102507602A (en) | 2011-11-14 | 2011-11-14 | Method for automatically detecting rupture of infusion bottle mouth by using machine vision system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102507602A true CN102507602A (en) | 2012-06-20 |
Family
ID=46219709
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110359076XA Pending CN102507602A (en) | 2011-11-14 | 2011-11-14 | Method for automatically detecting rupture of infusion bottle mouth by using machine vision system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102507602A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103257144A (en) * | 2013-05-15 | 2013-08-21 | 华南理工大学 | Plastic bottleneck excess material detecting method and device based on machine vision |
CN104034638A (en) * | 2014-06-26 | 2014-09-10 | 芜湖哈特机器人产业技术研究院有限公司 | Diamond wire particle online quality inspection method based on machine vision |
CN112881289A (en) * | 2021-01-20 | 2021-06-01 | 成都泓睿科技有限责任公司 | Device and method for detecting breakage of bottle opening of infusion bottle |
CN113327670A (en) * | 2021-08-03 | 2021-08-31 | 北京力耘柯创医学研究院 | Multifunctional control system based on data identification |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0823629A2 (en) * | 1996-08-05 | 1998-02-11 | Chep Pooling Systems BV | Process for the automatic recognition and categorization of defects in pallets or similar elements, and corresponding system |
WO2005080949A1 (en) * | 2004-02-20 | 2005-09-01 | Dralle Aps | A system for grading of industrial wood |
CN101105459A (en) * | 2007-05-15 | 2008-01-16 | 广州市万世德包装机械有限公司 | Empty bottle mouth defect inspection method and device |
CN101349550A (en) * | 2008-08-26 | 2009-01-21 | 浙江大学 | On-line rubber bolt appearance quality inspection machine |
CN101762589A (en) * | 2009-12-17 | 2010-06-30 | 绍兴文理学院 | On-line monitoring method of machine vision on stationery combined set flaw and equipment thereof |
-
2011
- 2011-11-14 CN CN201110359076XA patent/CN102507602A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0823629A2 (en) * | 1996-08-05 | 1998-02-11 | Chep Pooling Systems BV | Process for the automatic recognition and categorization of defects in pallets or similar elements, and corresponding system |
WO2005080949A1 (en) * | 2004-02-20 | 2005-09-01 | Dralle Aps | A system for grading of industrial wood |
CN101105459A (en) * | 2007-05-15 | 2008-01-16 | 广州市万世德包装机械有限公司 | Empty bottle mouth defect inspection method and device |
CN101349550A (en) * | 2008-08-26 | 2009-01-21 | 浙江大学 | On-line rubber bolt appearance quality inspection machine |
CN101762589A (en) * | 2009-12-17 | 2010-06-30 | 绍兴文理学院 | On-line monitoring method of machine vision on stationery combined set flaw and equipment thereof |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103257144A (en) * | 2013-05-15 | 2013-08-21 | 华南理工大学 | Plastic bottleneck excess material detecting method and device based on machine vision |
CN104034638A (en) * | 2014-06-26 | 2014-09-10 | 芜湖哈特机器人产业技术研究院有限公司 | Diamond wire particle online quality inspection method based on machine vision |
CN112881289A (en) * | 2021-01-20 | 2021-06-01 | 成都泓睿科技有限责任公司 | Device and method for detecting breakage of bottle opening of infusion bottle |
CN113327670A (en) * | 2021-08-03 | 2021-08-31 | 北京力耘柯创医学研究院 | Multifunctional control system based on data identification |
CN113327670B (en) * | 2021-08-03 | 2021-10-12 | 北京力耘柯创医学研究院 | Multifunctional control system based on data identification |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102303017B (en) | Method for automatically detecting bending of injector steel needles by using machine vision system | |
CN101696945B (en) | On-line detection method of machine vision system to photovoltaic glass flaws | |
CN102494773A (en) | Automatic detection method of machine vision system on snap-fastener chromatic aberration | |
CN101509766B (en) | On-line detecting method for spring end plane angle by machine vision system | |
CN102218406B (en) | Intelligent detection device of defects of mobile phone outer shell based on machine vision | |
CN102303018B (en) | Method for automatically detecting burrs of injector steel needles by using machine vision system | |
CN104441526B (en) | Mould in-service monitoring protection system and method based on appearance profile coupling | |
CN101696943B (en) | On-line detection method of machine vision system to medical surgical knife flaws | |
CN101696877A (en) | On-line detection method of machine vision system to spring verticality | |
CN208313802U (en) | A kind of chip pin defect detecting system based on machine vision | |
CN101726265A (en) | Online detection method of parallelism of spring by machine vision system | |
CN101566582A (en) | Medicine bottle label information online detection system in powder injection production based on mechanical vision | |
CN102305597A (en) | Method for automatically detecting abnormal shape of injector part by using mechanical vision system | |
CN106353336A (en) | Lens coating automatic detection system | |
CN102305592A (en) | Method for automatically detecting back-stitching of steel needle of injector by using mechanical vision system | |
CN102507602A (en) | Method for automatically detecting rupture of infusion bottle mouth by using machine vision system | |
CN102305797A (en) | Method for automatically detecting foreign matter of medical product package by using machine vision system | |
CN104132945A (en) | On-line surface quality visual inspection device for bar based on optical fiber conduction | |
CN101762589A (en) | On-line monitoring method of machine vision on stationery combined set flaw and equipment thereof | |
CN102305950A (en) | Method for automatically detecting missed accessory during automatic assembly of injector by using machine visual system | |
CN102305603B (en) | Method for automatically detecting inclination of steel needle of injector by machine vision system | |
CN102495077A (en) | Automatic detecting method of machine vision system for detecting flaws of infusion bottle | |
CN102495072A (en) | Automatic detection method for flaw of transfusion catheter through machine vision system | |
CN202351182U (en) | Online high-speed detection system for defects on surface of tinplate | |
CN102303019B (en) | Method for automatically detecting scales of injector needle cylinders by using machine vision system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20120620 |