CN102494608A - Method for automatically detecting qualification of micromotor through machine vision system - Google Patents

Method for automatically detecting qualification of micromotor through machine vision system Download PDF

Info

Publication number
CN102494608A
CN102494608A CN2011103590990A CN201110359099A CN102494608A CN 102494608 A CN102494608 A CN 102494608A CN 2011103590990 A CN2011103590990 A CN 2011103590990A CN 201110359099 A CN201110359099 A CN 201110359099A CN 102494608 A CN102494608 A CN 102494608A
Authority
CN
China
Prior art keywords
micro motor
image
qualification
micromotor
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
Application number
CN2011103590990A
Other languages
Chinese (zh)
Inventor
董仲伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuxi Zhongwang Siwei Technology Co Ltd
Original Assignee
Wuxi Zhongwang Siwei Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Wuxi Zhongwang Siwei Technology Co Ltd filed Critical Wuxi Zhongwang Siwei Technology Co Ltd
Priority to CN2011103590990A priority Critical patent/CN102494608A/en
Publication of CN102494608A publication Critical patent/CN102494608A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention provides a method for automatically detecting the qualification of a micromotor through a machine vision system. The method is realized through adopting the following steps: adjusting the size of the aperture and the exposure time of a shooting camera according to the size of a to-be-detected micromotor; setting the qualification of the micromotor as a detecting parameter and setting the detecting precision of the detecting parameter as per the requirement of a user; starting up the camera through an external triggering and control signal to real time shoot images on the two end surfaces of the micromotor in on-line operation, and transferring the shot images to a computer for detection; adopting the image algorithm, extracting two straight lines on the two end surfaces of the micromotor, and superposing the images to calculate the degree of the included angle between the two straight lines through the computer; and judging that whether the product is qualified or not through the calculated degree of the included angle, and rejecting the waste product from an assigned discharge opening through the external triggering and control signal. The method provided by the invention can precisely and quickly detect the qualification of the micromotor, and can effectively guarantee the qualification rate of the products.

Description

NI Vision Builder for Automated Inspection is to the automatic testing method of micro motor qualification
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 to, utilize NI Vision Builder for Automated Inspection that the qualification of micro motor is carried out on-line detection method in the micro motor production scene.
Background technology
The back side of micro motor is provided with two installation feet, and the front offers three through holes.The both sides of installation foot are provided with 4 mark positions altogether, need therein one to mark with several the corresponding mark position of last through hole clockwise during production, and the positional fault as if mark then can exert an influence to follow-up assembling.
Therefore, on-the-spot at the micro motor workshop of line production, need carry out online detection to the qualification of micro motor mark position.In the prior art; Online detection to micro motor mark position qualification relies on manual work to detect; Produce the machine side at micro motor and establish range estimation and the judgment processing that about 80 people carry out the micro motor mark position, product is divided into certified products (like the correct position of mark) and unacceptable product (like the positional fault of mark) according to testing result.Unacceptable product is directly as goods rejection.
The shortcoming that manual detection exists mainly contains: the on-the-spot dust of workshop is many, noise is big, and workman's testing environment is abominable; 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; It is the detection of band precision that the micro motor qualification detects, and human eye is difficult to judge that accurately error is big that the chance of makeing mistakes is a lot, can't guarantee to detect quality; The speed of professional's observation of micro motor qualification is up to 0.5/s, and production efficiency is had very big restriction.
The content of invention
Online detection dependence manual work to the micro motor qualification detects to prior art, 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 detection speed is low, the present invention provides the automatic testing method of a kind of NI Vision Builder for Automated Inspection to the micro motor qualification, and it can reduce 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 of micro motor qualification:
(1) with the micro motor crosswise fixed on frock bar anchor clamps, make frock bar anchor clamps on-line operation, with taking the frock bar anchor clamps both sides of camera fixing at on-line operation; According to the size of micro motor to be detected, aperture size, the time shutter of camera taken in adjustment, so that obtain photographic images clearly;
(2) whether correspondence is made as the detection parameter with the image at micro motor two ends, and according to customer requirements the accuracy of detection and the acceptability limit of said detection parameter is set;
(3) 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 micro motor two ends in real time by external trigger and control signal, and the image of taking is transferred to computing machine confession detection;
(4) computing machine is handled through image algorithm, extracts the image at micro motor two ends;
(5) computing machine calculates and comparison the image at said micro motor two ends; Line between the mark of micro motor one end image and rotating shaft; And between last clockwise several the through hole of micro motor other end image and rotating shaft line; With two width of cloth picture registrations at micro motor two ends, calculate the angle number of degrees between above-mentioned two line segments;
(6) judge that through the angle number of degrees value that calculates this product belongs to certified products, or waste product, rejects waste product through external trigger and control signal from the discharging opening of appointment.
Its further technical scheme is: to said (6) step, specifically carry out the judgement and the go-on-go of qualification by following step:
(7) whether judge angle number of degrees value at acceptability limit ∈ 17 ± 1 degree, as then turned to for (8) step at acceptability limit, if then do not turn to for (9) step at above-mentioned acceptability limit;
(8) sort as certified products;
(9) directly as goods rejection.
And its further technical scheme is: to said (6) 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 micro motor qualification is carried out online detection, replaces 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 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 detection angles precision of NI Vision Builder for Automated Inspection is up to 0.1 degree, and precision can per 0.01 degree be that a gradient is adjusted, and is set to several accuracy classes such as 0.1,0.2,0.3,0.4,0.5 degree, thereby improves product percent of pass greatly and detect quality.
Description of drawings
Fig. 1 is the image at the micro motor back side.
Fig. 2 is the positive image of micro motor.
Fig. 3 is the image that two line segments that extracted overlap.
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 are both ends of the surface shooting and the real images after treatment from micro motor.
In Fig. 1, Fig. 2, blank parts is a micro motor both ends of the surface image through the transparent space after the denoising software processes all around, shown in lines be the contour images of micro motor both ends of the surface after handling.
Basler ACA640-100GM type industrial camera is fixed on micro motor detects both sides with belt transmission system; Camera is about 20mm apart from the distance of micro motor side; Use is executed and is born 50 times of amplification zooms change times camera lenses; Focal length transfers to 16mm, and aperture is transferred to maximal value, and the time shutter is adjusted to 0.41ms.Accuracy of detection is set to 0.1 degree, angle number of degrees value ∈ 5 ± 1 degree of two straight lines that extract at the two ends of the micro motor of setting certified products.Adopt special-purpose White LED bowl light source, shine from the same side of camera (positive light), and use and semiclosedly block the influence that the metal framework shields extraneous veiling glare,, embody the obvious characteristic of micro motor both ends of the surface so that obtain visual pattern more stablely.The LED bowl light source of this project uses the machine vision special light source (also can use the LED bowl 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.On frock bar anchor clamps, adopt the belt transmission system on the production line to carry out the conveying of micro motor the micro motor accumbency, guarantee that micro motor by certain direction and speed, stably gets into pick-up unit.
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 two end faces of the micro motor of on-line operation; And, be stored in the computing machine the image of two end faces of the micro motor 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 two end faces of micro motor.The algorithm that is adopted in the above-mentioned image processing process is conventional algorithm of the prior art.
Computing machine calculates and comparison the image at said micro motor two ends.On the one hand, line between the mark of the micro motor back side image of Fig. 1 and central rotating shaft obtains line segment a; On the other hand, line between last clockwise several through hole among three adjacent through holes of the micro motor direct picture of Fig. 2 and central rotating shaft obtains line segment b.Then Fig. 1 and Fig. 2 are overlapped, obtain Fig. 3, omit the remainder in the coincidence pattern, only keep line segment a line segment b, the number of degrees of included angle A between the calculated line a straight line b.
As the number of degrees that calculate angle A among Fig. 3 are 17.0 degree, within acceptability limit 5 ± 1 degree, show that mark position is correct, and then this product is certified products.Computing machine writes down, classifies, adds up warehouse-in to such certified products; As the number of degrees that calculate angle A among Fig. 3 are 163.0 degree, outside acceptability limit 5 ± 1 degree, show mark position mistake (being that error flag has arrived on corresponding that position in the tram and the center of circle), and 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 of micro motor qualification:
(1) with the micro motor crosswise fixed on frock bar anchor clamps, make frock bar anchor clamps on-line operation, with taking the frock bar anchor clamps both sides of camera fixing at on-line operation; According to the size of micro motor to be detected, aperture size, the time shutter of camera taken in adjustment, so that obtain photographic images clearly;
(2) whether correspondence is made as the detection parameter with the image at micro motor two ends, and according to customer requirements the accuracy of detection and the acceptability limit of said detection parameter is set;
(3) 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 micro motor two ends in real time by external trigger and control signal, and the image of taking is transferred to computing machine confession detection;
(4) computing machine is handled through image algorithm, extracts the image at micro motor two ends;
(5) computing machine calculates and comparison the image at said micro motor two ends; Line between the mark of micro motor one end image and rotating shaft; And between last clockwise several the through hole of micro motor other end image and rotating shaft line; With two width of cloth picture registrations at micro motor two ends, calculate the angle number of degrees between above-mentioned two line segments;
(6) judge that through the angle number of degrees value that calculates this product belongs to certified products, or waste product, rejects waste product through external trigger and control signal from the discharging opening of appointment.
2. according to the automatic testing method of the said NI Vision Builder for Automated Inspection of claim 1, it is characterized in that said (6) step is specifically carried out the judgement and the go-on-go of qualification by following step to the micro motor qualification:
(7) whether judge angle number of degrees value at acceptability limit ∈ 17 ± 1 degree, as then turned to for (8) step at acceptability limit, if then do not turn to for (9) step at above-mentioned acceptability limit;
(8) sort as certified products;
(9) directly as goods rejection.
3. according to the automatic testing method of the said NI Vision Builder for Automated Inspection of claim 1, it is characterized in that to said (6) step when detecting product and be waste product, computing machine will carry out picture cues through man-machine interface, and start warning device to the micro motor qualification.
CN2011103590990A 2011-11-14 2011-11-14 Method for automatically detecting qualification of micromotor through machine vision system Pending CN102494608A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011103590990A CN102494608A (en) 2011-11-14 2011-11-14 Method for automatically detecting qualification of micromotor through machine vision system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011103590990A CN102494608A (en) 2011-11-14 2011-11-14 Method for automatically detecting qualification of micromotor through machine vision system

Publications (1)

Publication Number Publication Date
CN102494608A true CN102494608A (en) 2012-06-13

Family

ID=46186452

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011103590990A Pending CN102494608A (en) 2011-11-14 2011-11-14 Method for automatically detecting qualification of micromotor through machine vision system

Country Status (1)

Country Link
CN (1) CN102494608A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106937080A (en) * 2015-12-30 2017-07-07 希姆通信息技术(上海)有限公司 Visible detection method and control device that a kind of mobile terminal is tightened up a screw
CN110446027A (en) * 2019-08-08 2019-11-12 深圳市圆周率软件科技有限责任公司 A method of the test picture pick-up device time for exposure

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1831687A (en) * 2005-03-07 2006-09-13 山形卡西欧株式会社 Component mount method and component mount apparatus using the same
CN101806586A (en) * 2010-04-21 2010-08-18 上海交通大学 Method and device for measuring section contour of sealing strip of vehicle based on image matching

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1831687A (en) * 2005-03-07 2006-09-13 山形卡西欧株式会社 Component mount method and component mount apparatus using the same
CN101806586A (en) * 2010-04-21 2010-08-18 上海交通大学 Method and device for measuring section contour of sealing strip of vehicle based on image matching

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李勇等: "基于机器视觉的零件表面瑕疵自动分拣系统设计", 《自动化与仪器仪表》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106937080A (en) * 2015-12-30 2017-07-07 希姆通信息技术(上海)有限公司 Visible detection method and control device that a kind of mobile terminal is tightened up a screw
CN110446027A (en) * 2019-08-08 2019-11-12 深圳市圆周率软件科技有限责任公司 A method of the test picture pick-up device time for exposure
CN110446027B (en) * 2019-08-08 2021-11-12 深圳市圆周率软件科技有限责任公司 Method for testing exposure time of camera equipment

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
CN101509766B (en) On-line detecting method for spring end plane angle by machine vision system
CN102494773A (en) Automatic detection method of machine vision system on snap-fastener chromatic aberration
CN102303018B (en) Method for automatically detecting burrs of injector steel needles by using machine vision system
CN101566582B (en) Medicine bottle label information online detection system in powder injection production based on mechanical vision
CN204330609U (en) Six axis robot AOI detection system
CN101696943B (en) On-line detection method of machine vision system to medical surgical knife flaws
CN102305595A (en) Method for automatically detecting spring pitch by using mechanical vision system
CN101696877A (en) On-line detection method of machine vision system to spring verticality
CN101726265A (en) Online detection method of parallelism of spring by machine vision system
CN104165653A (en) Device for collecting end face image and chamfer image of bearing roller and collecting method thereof
CN106353336A (en) Lens coating automatic detection system
CN102305597A (en) Method for automatically detecting abnormal shape of injector part by using mechanical vision system
CN102305797A (en) Method for automatically detecting foreign matter of medical product package by using machine vision system
CN102305592A (en) Method for automatically detecting back-stitching of steel needle of injector by using mechanical vision system
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
CN102360424A (en) Glare prevention method based on shadow image cutting algorithm
CN102507602A (en) Method for automatically detecting rupture of infusion bottle mouth by using machine vision system
CN102495072A (en) Automatic detection method for flaw of transfusion catheter through machine vision system
CN102303019B (en) Method for automatically detecting scales of injector needle cylinders by using machine vision system
CN102494608A (en) Method for automatically detecting qualification of micromotor through machine vision system
CN102495074A (en) Automatic detecting method of machine vision system for detecting flaws of infusion bag

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20120613