CN101482517A - On-line image collection method and apparatus based on asynchronous reset - Google Patents

On-line image collection method and apparatus based on asynchronous reset Download PDF

Info

Publication number
CN101482517A
CN101482517A CNA2009100955929A CN200910095592A CN101482517A CN 101482517 A CN101482517 A CN 101482517A CN A2009100955929 A CNA2009100955929 A CN A2009100955929A CN 200910095592 A CN200910095592 A CN 200910095592A CN 101482517 A CN101482517 A CN 101482517A
Authority
CN
China
Prior art keywords
image acquisition
ccd
image
signal
asynchronous reset
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.)
Granted
Application number
CNA2009100955929A
Other languages
Chinese (zh)
Other versions
CN101482517B (en
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.)
Jiangsu Huaan Scientific Research Devices Co., Ltd.
Original Assignee
Hangzhou Electronic Science and Technology University
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 Hangzhou Electronic Science and Technology University filed Critical Hangzhou Electronic Science and Technology University
Priority to CN2009100955929A priority Critical patent/CN101482517B/en
Publication of CN101482517A publication Critical patent/CN101482517A/en
Application granted granted Critical
Publication of CN101482517B publication Critical patent/CN101482517B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention relates to an on-line image acquisition method and device based on asynchronous reset. The existing method and device has low efficiency, not high precision, and is not suitable for on-line full-check requirement of large-scale parts. The on-line image acquisition method comprises: generating the initial triggering signal, processing the initial triggering signal, delaying the circuit delay, collecting the image, outputting the image data. The on-line image acquisition device comprises: a photoelectric sensor and an image acquisition unit which are set right-above a transferring device according to the motion direction of the transferring device, wherein the image acquisition unit comprises a CCD, an imaging lens and light source. The photoelectric sensor is connected with the delay circuit by a signal processing circuit and the delay circuit is respectively connected with the CCD and a computer and the input terminal of an image acquisition card is connected with the CCD and the output terminal of the image acquisition card is connected with the computer. The on-line image acquisition method and device can on-line acquire the original image with accurate and clear positioning at real time and solve the problems of the parts at motion state that: quick trigger, accurate location, motion fuzzy control and image definition.

Description

A kind of online image-pickup method and device based on asynchronous reset
Technical field
The invention belongs to and relate to the acquisition technology field, relate to a kind of image-pickup method and harvester, particularly a kind of at the parts in the motion, based on the online image-pickup method and the harvester of asynchronous reset pattern.Purpose is to obtain the accurate positioning of motion object, original image clearly, so that subsequent image processing and analysis.
Background technology
Along with the development of China's advanced manufacturing industry, ensure the parts quality, enhance productivity more and more importantly, the detection of parts quality is also had higher requirement.The detection of component surface quality is as one of main contents of quality testing, mainly at present adopts following three kinds of methods.
1, manual observation and measuring method.This is the method that generally adopts at present, observes or detects by measuring appliance by the artificial vision.Have generally that labour intensity is big, efficient is low, be subjected to human factor to influence shortcomings such as big.Because efficient is low, generally take the mode inspected by random samples, be difficult to realize the full inspection of parts.
2, the automatic testing method under the stationary state.This method parts when detecting remain static, and finish automatically but detect.Can reduce the adverse effect that human factor causes, but since when measuring parts need keep stationary state, detection efficiency is difficult to improve.
3, online automatic detection method.Promptly under motion state, realize the automatic detection of component surface quality.The main employing realize based on the online measuring technique of machine vision, has generally that online, automatic, noncontact, speed are very fast, efficient is than advantages such as height, is one of main developing direction of component surface quality detection technology.But ubiquity is when tested parts movement velocity improves at present, problems such as the original image sharpness of gathering is not enough, the positional precision of measurand in image is not high, influence the raising of detection efficiency, be difficult to adapt to the demand of the online full inspection of extensive parts.
Key issue based on the component surface quality online automatic detection method of machine vision is to improve accuracy of detection and detection efficiency.Under motion state, that controlled motion causes is image blurring, reduce positioning error, thereby guarantees the quality of image acquisition, is prerequisite and the key problem in technology that improves accuracy of detection and detection efficiency.
Summary of the invention
Purpose of the present invention is exactly at the deficiencies in the prior art, and a kind of online image-pickup method based on asynchronous reset is provided, and the image collecting device of this method of realization is provided simultaneously.
Online image-pickup method is when the tested parts in the motion arrive desired location among the present invention, position transducer produces initial triggering signal, this signal is through handling, obtain the asynchronous reset signal of an accurate delay, control supports the CCD of asynchronous reset pattern to collect the picture rich in detail of accurate positioning.This method may further comprise the steps: produce initial triggering signal, handle initial triggering signal, delay circuit time-delay, image acquisition, output image data.Particular content is:
Step (1) produces initial triggering signal: tested parts under conveyer drives with speed V uniform motion, 0<V<1000mm/s, when parts when being used for the photoelectric sensor of position probing, initial triggering signal of photoelectric sensor output.
Step (2) is handled initial triggering signal: will carry out level conversion in the initial triggering signal input signal treatment circuit, initial triggering signal is transformed to the external trigger signal of Transistor-Transistor Logic level, to satisfy the requirement of subsequent conditioning circuit.
The time-delay of step (3) delay circuit: the external trigger signal of Transistor-Transistor Logic level obtains asynchronous reset signal by the delay process of delay circuit, asynchronous reset signal is input to the corresponding port of the CCD (charge-coupled image sensor) that supports the asynchronous reset pattern, and triggering CCD carries out image acquisition when making tested parts move to desired location by regulating delay time; The amplitude of asynchronous reset signal and pulse width and CCD are complementary; The requirement of the concrete equipment of set basis of delay time is the prior art of maturation.
Step (4) image acquisition: CCD is set is operated in the asynchronous reset pattern, when asynchronous reset signal is effective, CCD gathers a frame new images, by setting the motion blur degree of time shutter control parts, to guarantee to collect accurate positioning, original image clearly.
Step (5) output image data: after image acquisition was finished, view data outputed in the computing machine by image pick-up card, finished the asynchronous reset image acquisition process that once triggers at random.
The employed image collecting device of this online image-pickup method comprises that the direction of motion according to conveyer is successively set on photoelectric sensor and the image acquisition units directly over the conveyer; Image acquisition units comprises CCD, imaging lens and light source, and imaging lens is vertically over against conveyer, and light source is arranged between imaging lens and the conveyer, and CCD is fixedlyed connected with imaging lens.Photoelectric sensor is connected with delay circuit by signal processing circuit, and delay circuit is connected with computing machine with CCD respectively, and the input end of image pick-up card is connected with CCD, output terminal is connected with computing machine.CCD and image pick-up card be connected and image pick-up card adopts ripe prior art with being connected of computing machine.
Signal processing circuit comprises electrochemical capacitor C, pull-up resistor R1, output resistance R2, divider resistance R3, NPN type triode Q; The collector of NPN type triode Q is connected with+12V direct supply with the end of the end of electrochemical capacitor C, pull-up resistor R1 respectively, the base stage of NPN type triode Q is connected with the other end of pull-up resistor R1 and the positive output end of photoelectric sensor 2 respectively, and the other end of electrochemical capacitor C is connected with the public output of photoelectric sensor 2; The end of output resistance R2 is connected with the emitter of NPN type triode Q, the other end of output resistance R2 is connected with the end of divider resistance R3 and the gate-control signal positive input terminal of delay circuit 5 respectively, and the other end of divider resistance R3 is connected with the public input end of the gate-control signal of delay circuit 5.
Delay circuit 5 adopts matured product, can obtain by purchase.As adopt ADLINK PCI 8554 Timer cards.
Apparatus of the present invention realize the real-time triggering of parts by photoelectric sensor, image collecting device does not contact with parts in the entire image gatherer process, can not produce wearing and tearing, be easy to safeguard, can real-time online collect accurate positioning, original image clearly.
This method adopts the CCD that supports the asynchronous reset pattern, realizes the image acquisition of parts under the motion state, has solved problems such as the rapid triggering of parts under the motion state, accurate location, motion blur control, image definition.Can be widely used in the online automatic detection of surface quality such as apparent size, surface imperfection of parts.
Description of drawings
Fig. 1 is image collecting device structural representation among the present invention;
Fig. 2 is the circuit diagram of signal processing circuit among Fig. 1;
Fig. 3 is an image acquisition sequential synoptic diagram.
Embodiment
Online image collecting device specifically as shown in Figure 1, the direction of arrow among the figure is the direction of motion of conveyer 1.Photoelectric sensor 2 and image acquisition units are successively set on directly over the conveyer 1 according to the direction of motion of conveyer 1; Image acquisition units comprises CCD 6, imaging lens 7 and light source 8, and imaging lens 7 is vertically over against conveyer 1, and light source 8 is arranged between imaging lens 7 and the conveyer 1, and CCD 6 is fixedlyed connected with imaging lens 7.Photoelectric sensor 2 is connected with delay circuit 5 by signal processing circuit 4, and delay circuit 5 is connected with computing machine 11 with CCD 6 respectively, and the input end of image pick-up card 10 is connected with CCD 6, output terminal is connected with computing machine 11.Tested parts 3 are placed on the conveyer 1.
As Fig. 2, signal processing circuit 4 comprises electrochemical capacitor C, pull-up resistor R1, output resistance R2, divider resistance R3, NPN type triode Q; The collector of NPN type triode Q is connected with+12V direct supply with the end of the end of electrochemical capacitor C, pull-up resistor R1 respectively, the base stage of NPN type triode Q is connected with the other end of pull-up resistor R1 and the positive output end of photoelectric sensor 2 respectively, the other end of electrochemical capacitor C is connected with the public output of photoelectric sensor 2, and ground connection; Output resistance R2-hold to be connected with the emitter of NPN type triode Q, the other end of output resistance R2 is connected with the end of divider resistance R3 and the gate-control signal positive input terminal of delay circuit 5 respectively, and the end in addition of divider resistance R3 is connected with the public input end of the gate-control signal of delay circuit 5.
Delay circuit 5 adopts ADLINK PCI 8554 Timer cards, is installed on the PCI slot of computing machine 11, cooperates software to realize delay function.The corresponding port with the asynchronous reset of CCD of the signal output part of delay circuit 5 connects.
As Fig. 3, concrete online image-pickup method is: in the time of when tested parts 3 pass through photoelectric sensor 2 under conveyer 1 drives below, photoelectric sensor 2 produces an initial triggering signal s1.S1 is input in the signal processing circuit 4, makes s1 be transformed into the external trigger signal s2 of Transistor-Transistor Logic level.S2 is input in the delay circuit 5, produces an asynchronous reset signal s3.S3 is input among the CCD 6 that supports the asynchronous reset pattern.CCD 6 and imaging lens 7 vertically are installed on directly over the conveyer 1 in photoelectric sensor 2 the place aheads, with photoelectric sensor 2 be separated by one section fixing apart from d.One cover light source 8 is installed between CCD 6 and imaging lens 7 and conveyer 1, the illumination in imaging viewing field 9 scopes is provided.CCD 6 gathers a frame new images when asynchronous reset signal s3 is effective, output in the computing machine 11 by image pick-up card 10, finishes the asynchronous reset image acquisition process that photoelectric sensor 2 triggers at random.Embodiment is as follows:
(1) produces initial triggering signal s1
The photoelectric sensor 2 that is used for position sensing adopts OMRON E3X-DA11-S optical fiber photoelectric sensor, focusing optical fiber E32-D32 of the supporting installation of optical fiber front end, and the emergent ray of process focusing optical fiber projects on the conveyer, forms a small luminous point.(uniform motion of 0<V<1000mm/s), the edge contact of parts are during to small luminous point, and photoelectric sensor in time produces an initial triggering signal s1 with speed V under conveyer 1 drives when tested parts 3.This optical fiber photoelectric sensor is with fast mode work, and the response time is controlled in 100 microseconds, to guarantee fast response speed.
(2) handle initial triggering signal
Initial triggering signal s1 is input in the signal processing circuit 4, obtains the external trigger signal s2 of a Transistor-Transistor Logic level.
(3) delay circuit time-delay
The mode of operation that ADLINK PCI 8554 Timer cards are set is a hardware trigger gating mode.S2 is as the gate-control signal of 8554 Timer chips in the card, and begins countdown with the delay time T that sets as the counting initial value.When the countdown clock is kept to zero, export the undersuing s3 that width is a clock period, revert to high level then automatically, and remain unchanged, when the rising edge of gate-control signal s2 next time is effective, just start 8554 Timer once more.The internal clocking of ADLINKPCI 8554 is 8MHz, can realize that width is the delay precision of a clock period Δ T.Δ T is 1.25 * 10 -7Second.
If trigger image acquisition when parts 3 move to 9 centers, CCD visual field, this moment, the distance of parts front end and photoelectric sensor trigger position was d, and the movement velocity of establishing telecontrol equipment is V, and according to Fig. 1, then delay time T satisfies:
T=d/V (1)
When the delay time of delay circuit is set at the T that (1) formula determines, triggering image acquisition when parts just move to center, CCD visual field then, and the bearing accuracy of parts is V Δ T.When V<1000mm/s, bearing accuracy V Δ T<0.125 μ m.The image that bearing accuracy is high helps subsequent image processing, helps guaranteeing accuracy of detection.
(4) image acquisition
Asynchronous reset signal s3 is input among the CCD 6 that supports the asynchronous reset pattern, and sets the negative edge of asynchronous reset signal and trigger image acquisition when effective.Then when the negative edge of s3 arrives, trigger CCD and in time gather a frame new images.S4 is the exposure time series of image acquisition, and establishing the time shutter is t, and then the motion blur value of parts is Vt.
If the enlargement ratio of image is β, then the motion blur value x of correspondence image is:
x=V·t·β (2)
If the motion blur value is controlled within the deviation of 1 Pixel Dimensions, promptly, can get less than the pixel dimension s of CCD:
t=x/(V·β)≤s/(V·β) (3)
The t that determines by (3) formula sets the time shutter, and then motion blur can be controlled within the size s, thereby collects original image clearly.But when t reduces, need to guarantee that light source 8 has enough brightness, make gradation of image keep proper level.
(5) output image data
End exposure, view data is ready, and s5 is effective, and view data outputs in the computing machine 11 by the image pick-up card 10 with CCD coupling, finishes the asynchronous reset image acquisition process that photoelectric sensor 2 triggers at random.

Claims (2)

1, a kind of online image-pickup method based on asynchronous reset is characterized in that this method may further comprise the steps: produces initial triggering signal, handles initial triggering signal, delay circuit time-delay, image acquisition, output image data, specifically:
Step (1) produces initial triggering signal: tested parts under conveyer drives with speed V uniform motion, when parts when being used for the photoelectric sensor of position probing, initial triggering signal of photoelectric sensor output, 0<V<1000mm/s;
Step (2) is handled initial triggering signal: will carry out level conversion in the initial triggering signal input signal treatment circuit, initial triggering signal is transformed to the external trigger signal of Transistor-Transistor Logic level;
The time-delay of step (3) delay circuit: the external trigger signal of Transistor-Transistor Logic level obtains asynchronous reset signal by the delay process of delay circuit, asynchronous reset signal is input to the corresponding port of the CCD that supports the asynchronous reset pattern, and triggering CCD carries out image acquisition when making tested parts move to desired location by regulating delay time; The amplitude of asynchronous reset signal and pulse width and CCD are complementary;
Step (4) image acquisition: CCD is set is operated in the asynchronous reset pattern, when asynchronous reset signal is effective, CCD gathers a frame new images, by setting the motion blur degree of time shutter control parts, guarantees to collect accurate positioning, original image clearly;
Step (5) output image data: after image acquisition was finished, view data outputed in the computing machine by image pick-up card, finished the asynchronous reset image acquisition process that once triggers at random.
2, based on the online image collecting device of asynchronous reset, comprise that direction of motion according to conveyer is successively set on photoelectric sensor and the image acquisition units directly over the conveyer, it is characterized in that: image acquisition units comprises CCD, imaging lens and light source, imaging lens is vertically over against conveyer, light source is arranged between imaging lens and the conveyer, and CCD is fixedlyed connected with imaging lens; Photoelectric sensor is connected with delay circuit by signal processing circuit, and delay circuit is connected with computing machine with CCD respectively, and the input end of image pick-up card is connected with CCD, output terminal is connected with computing machine;
Described signal processing circuit comprises electrochemical capacitor C, pull-up resistor R1, output resistance R2, divider resistance R3, NPN type triode Q; The collector of NPN type triode Q is connected with+12V direct supply with the end of the end of electrochemical capacitor C, pull-up resistor R1 respectively, the base stage of NPN type triode Q is connected with the other end of pull-up resistor R1 and the positive output end of photoelectric sensor 2 respectively, and the other end of electrochemical capacitor C is connected with the public output of photoelectric sensor 2; The end of output resistance R2 is connected with the emitter of NPN type triode Q, the other end of output resistance R2 is connected with the end of divider resistance R3 and the gate-control signal positive input terminal of delay circuit 5 respectively, and the other end of divider resistance R3 is connected with the public input end of the gate-control signal of delay circuit 5.
CN2009100955929A 2009-01-22 2009-01-22 On-line image collection method and apparatus based on asynchronous reset Expired - Fee Related CN101482517B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009100955929A CN101482517B (en) 2009-01-22 2009-01-22 On-line image collection method and apparatus based on asynchronous reset

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009100955929A CN101482517B (en) 2009-01-22 2009-01-22 On-line image collection method and apparatus based on asynchronous reset

Publications (2)

Publication Number Publication Date
CN101482517A true CN101482517A (en) 2009-07-15
CN101482517B CN101482517B (en) 2010-10-20

Family

ID=40879725

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009100955929A Expired - Fee Related CN101482517B (en) 2009-01-22 2009-01-22 On-line image collection method and apparatus based on asynchronous reset

Country Status (1)

Country Link
CN (1) CN101482517B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102937596A (en) * 2012-10-23 2013-02-20 鞍钢股份有限公司 Strip steel surface image on-line frequency-conversion collection method
CN104469118A (en) * 2014-12-26 2015-03-25 大族激光科技产业集团股份有限公司 Vision enhancement system of camera array
CN105794192A (en) * 2013-11-06 2016-07-20 统雷有限公司 Method for correcting images acquired via asynchronously triggered acquisition
CN107219230A (en) * 2017-05-31 2017-09-29 惠州市纬讯科技有限公司 A kind of inductance appearance images acquisition method
CN108181284A (en) * 2018-01-19 2018-06-19 杭州安誉科技有限公司 A kind of data acquisition device of real-time fluorescence quantitative PCR instrument
CN112729106A (en) * 2020-12-15 2021-04-30 鹏城实验室 Intelligent weld joint real-time detection method and system based on pulse welding

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102937596A (en) * 2012-10-23 2013-02-20 鞍钢股份有限公司 Strip steel surface image on-line frequency-conversion collection method
CN102937596B (en) * 2012-10-23 2015-12-09 鞍钢股份有限公司 The online frequency-conversion collection method of a kind of band steel surface image
CN105794192A (en) * 2013-11-06 2016-07-20 统雷有限公司 Method for correcting images acquired via asynchronously triggered acquisition
CN105794192B (en) * 2013-11-06 2019-03-08 统雷有限公司 The corrected method of image for being arrived to asynchronous triggering collection
CN104469118A (en) * 2014-12-26 2015-03-25 大族激光科技产业集团股份有限公司 Vision enhancement system of camera array
CN107219230A (en) * 2017-05-31 2017-09-29 惠州市纬讯科技有限公司 A kind of inductance appearance images acquisition method
CN108181284A (en) * 2018-01-19 2018-06-19 杭州安誉科技有限公司 A kind of data acquisition device of real-time fluorescence quantitative PCR instrument
CN112729106A (en) * 2020-12-15 2021-04-30 鹏城实验室 Intelligent weld joint real-time detection method and system based on pulse welding

Also Published As

Publication number Publication date
CN101482517B (en) 2010-10-20

Similar Documents

Publication Publication Date Title
CN101482517B (en) On-line image collection method and apparatus based on asynchronous reset
CN108956645A (en) A kind of the optical mirror slip defect detecting device and method of more vision systems
CN203695443U (en) Screening and measuring device for precise hardware
CN103785622B (en) Based on the part method for sorting of the part sorting equipment of machine vision
CN102374996B (en) Multicast detection device and method for full-depth tooth side face defects of bevel gear
CN102288607A (en) Woven fabric count detector based on digital microscope
CN113000413B (en) System, method and terminal for detecting surface defects of synchronizer gear sleeve based on machine vision
CN106841224A (en) A kind of yarn image spacing triggering collection system
CN201094003Y (en) Special device of tile detection based on machine vision
CN107957245A (en) Engine link dimension measuring device and its measuring method based on machine vision
CN202649127U (en) Automatic optical detection system
CN109557098A (en) Metal surface detection system based on machine vision
CN207832129U (en) Engine link dimension measuring device based on machine vision
CN201335683Y (en) On-line image acquisition device
CN103091332B (en) Detection method and detection system of U-shaped powder pipe based on machine vision
CN203786044U (en) Food variety detection system based on machine vision
CN109158332A (en) A kind of fruit automation hierarchy system
CN202002893U (en) Circuit board detector based on multi-angle linear charge coupled devices (CCDs)
CN211717758U (en) Anti-interference screen appearance optical detection device
CN205843776U (en) Embedded water meter evaluator
CN207472789U (en) A kind of rotary plane multiple spot vision detection system
CN102928437A (en) Surface quality recording system for metal coiled straps
CN208607161U (en) A kind of device of novel testing product defect
CN209061643U (en) A kind of fruit automation hierarchy system
CN102661902B (en) Portable device for measuring heat resistance of thermoplastic material as well as method for measuring heat resistance of thermoplastic material

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
ASS Succession or assignment of patent right

Owner name: JIANGSU HUAAN SCIENTIFIC RESEARCH DEVICES CO., LTD

Free format text: FORMER OWNER: HANGZHOU ELECTRONIC SCIENCE AND TECHNOLOGY UNIV

Effective date: 20131021

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 310018 HANGZHOU, ZHEJIANG PROVINCE TO: 226600 NANTONG, JIANGSU PROVINCE

TR01 Transfer of patent right

Effective date of registration: 20131021

Address after: 226600, No. 8 Xin Gang Road, Haian Development Zone, Haian County, Jiangsu, Nantong

Patentee after: Jiangsu Huaan Scientific Research Devices Co., Ltd.

Address before: Hangzhou City, Zhejiang province 310018 Jianggan District Xiasha Higher Education Park No. 2 street

Patentee before: Hangzhou Electronic Science and Technology Univ

CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20101020

Termination date: 20170122

CF01 Termination of patent right due to non-payment of annual fee