CN202602795U - Automatic focusing system orientating to linear array charge coupled device (CCD) - Google Patents

Automatic focusing system orientating to linear array charge coupled device (CCD) Download PDF

Info

Publication number
CN202602795U
CN202602795U CN201220260024.7U CN201220260024U CN202602795U CN 202602795 U CN202602795 U CN 202602795U CN 201220260024 U CN201220260024 U CN 201220260024U CN 202602795 U CN202602795 U CN 202602795U
Authority
CN
China
Prior art keywords
module
computer
output
automatic focusing
image
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.)
Expired - Fee Related
Application number
CN201220260024.7U
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.)
SHENZHEN QIANGHUA TECHNOLOGY DEVELOPMENT Co Ltd
Original Assignee
SHENZHEN QIANGHUA TECHNOLOGY DEVELOPMENT 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 SHENZHEN QIANGHUA TECHNOLOGY DEVELOPMENT Co Ltd filed Critical SHENZHEN QIANGHUA TECHNOLOGY DEVELOPMENT Co Ltd
Priority to CN201220260024.7U priority Critical patent/CN202602795U/en
Application granted granted Critical
Publication of CN202602795U publication Critical patent/CN202602795U/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Focusing (AREA)
  • Automatic Focus Adjustment (AREA)

Abstract

The utility model discloses an automatic focusing system orientating to a linear array charge coupled device (CCD). The system comprises a computer, an image processing module, a CCD imaging module, an optical lighting module, a printed circuit board (PCB) position detection module, a motion control module, an image acquisition module, a servo drive module, an XYZ work module and a pneumatic module. According to the automatic focusing system orientating to the linear array CCD, the image processing module comprises an image quality evaluation unit and a focusing judgment unit, and under the action of the connection of the computer and the image processing module, camera lens shifting (object distance change) is controlled according to data processed by the computer in order to find out an object distance value corresponding to maximum definition. By means of the improvement, the automatic focusing of the lens can be rapidly achieved, the sensitivity of accurate focusing is improved, the measurement speed is high, the measurement accuracy and the automation degree are high, and the labor intensity of staffs is effectively reduced.

Description

Automatic focusing system towards line array CCD
Technical field
The utility model relates to the Automatic Measurement Technique field, relates in particular to a kind of automatic focusing system towards line array CCD.
Background technology
At present, in the optical detection field, use extensively towards the automatic focusing system of line array CCD, still; Domestic optical technology is ripe not enough; Loss is high, detection efficiency is low, and that these all are the CCD cameras that use when taking photograph is relevant, and existing optical instrument carries out manual focusing; Its adjustment process is long, focusing accuracy is easy to receive the influence of subjective factor, thereby has influenced the defect recognition of pcb board, precision, measuring speed and the automaticity of optical detection.The problems referred to above are perplexing the sound development of optical detection industry, therefore, improve the development level of China's optical detection industry, dwindle the gap with international most advanced level, and the automaticity that improves focusing system has become extremely urgent problem.
The utility model content
To the weak point that exists in the above-mentioned technology, the utility model provides a kind of automatic focusing system towards line array CCD that automatic focusing, measuring speed are fast, certainty of measurement is high, automaticity is high and hand labor intensity is low that can the Rapid Realization camera lens.
For realizing above-mentioned purpose; The utility model provides a kind of automatic focusing system towards line array CCD, comprises computer, image processing module, CCD image-forming module, optical illumination module, PCB position detecting module, motion-control module, image capture module, servo-driven module, XYZ operational module and Pneumatic module; Said computer is provided with two inputs and three outputs; First output of said computer is connected with the first input end of said computer with said image processing module through said optical illumination module, said CCD image-forming module in order; Second input of said computer is connected with said Pneumatic module; Second output of said computer is connected with said motion-control module; The 3rd output of said computer is connected with said Pneumatic module; Said servo-driven module is provided with two outputs and an input, and first output of said servo-driven module is connected with the input of said servo-driven module with said motion-control module through said XYZ operational module, said PCB position detecting module in order, and second output of said servo-driven module is connected with said image capture module.
Wherein, focusing system also comprises and also is provided with two inputs and two outputs in human-computer interaction interface module, display module and input module, the said calculating; The 3rd input of said computer all is connected with said human-computer interaction interface module with the 5th output, and the four-input terminal of said computer is connected with said input module, and the 4th output of said computer is connected with said display module.
Wherein, said image processing module comprises image quality evaluation unit and focusing judging unit.
The beneficial effect of the utility model is: compared with prior art; The automatic focusing system that the utility model provides towards line array CCD; Comprise computer, image processing module, CCD image-forming module, optical illumination module, PCB position detecting module, motion-control module, image capture module, servo-driven module, XYZ operational module and Pneumatic module; First output of computer is connected with the first input end of computer with image processing module through optical illumination module, CCD image-forming module in order; Second input of computer is connected with Pneumatic module; Second output of computer is connected with motion-control module; The 3rd output of computer is connected with Pneumatic module; First output of servo-driven module is connected with the input of servo-driven module with motion-control module through XYZ operational module, PCB position detecting module in order, and second output of servo-driven module is connected with image capture module, and image processing module also comprises image quality evaluation unit and focusing judging unit; The data that image processing module is collected are handled by computer, control camera lens according to the deal with data of computer and move the object distance value that (object distance variation) found out the utmost sharpness correspondence; Through improving, automatic focusing that can the Rapid Realization camera lens, improved fine-focused sensitivity, measuring speed is fast, certainty of measurement is high, automaticity is high and has effectively alleviated personnel's labour intensity.
Description of drawings
Fig. 1 is the structure chart towards the automatic focusing system of line array CCD of the utility model;
Fig. 2 is the workflow diagram towards the image processing module of the automatic focusing system of line array CCD of the utility model;
Fig. 3 progressively approaches the mountain style schematic diagram for the utility model towards the automatic focusing system of line array CCD.
The main element symbol description is following:
1, optical illumination module computer 2, CCD image-forming module
3, image processing module 4, computer
5, XYZ operational module 6, motion-control module
7, image capture module 8, PCB position detecting module
9, servo-driven module 10, Pneumatic module
11, human-computer interaction interface module 12, input module
13, the first input end of display module 41, computer
42, second input 43 of computer, first output of computer
44, second output 45 of computer, the 3rd output of computer
46, the 3rd input 47 of computer, the four-input terminal of computer
48, the 4th output 49 of computer, the 5th output of computer
91, first output 92 of servo-driven module, second output of servo-driven module
93, the input of servo-driven module
Embodiment
In order more clearly to explain the utility model, the utility model is done to describe further below in conjunction with accompanying drawing.
See also Fig. 1, the automatic focusing system towards line array CCD that the utility model provides comprises computer 4, image processing module 3, CCD image-forming module 2, optical illumination module 1, PCB position detecting module 8, motion-control module 6, image capture module 7, servo-driven module 9, XYZ operational module 5 and Pneumatic module 10; Computer is provided with two inputs and three outputs; First output 43 of computer is connected with the first input end 41 of computer with image processing module 3 through optical illumination module 1, CCD image-forming module 3 in order; Second input 42 of computer is connected with Pneumatic module 10; Second output 44 of computer is connected with motion-control module 6; The 3rd output 45 of computer is connected with Pneumatic module 10; Servo-driven module is provided with two outputs and an input, and first output 91 of servo-driven module is connected with the input 93 of servo-driven module with motion-control module 6 through XYZ operational module 5, PCB position detecting module 8 in order, and second output 92 of servo-driven module is connected with image capture module 7.Computer 4 drives the carrying out of focusing process through controlled motion control module 6 and servo-driven module 9; When the focusing beginning; Pcb board is on XZY operational module 5, and the position of 8 pairs of pcb boards of PCB position detecting module is detected, and the CCD camera is clapped imaging to the light source that optical illumination module 1 collects; Image processing module 3 is handled it, and the work of image processing module 3, optical illumination module 1, motion-control module 6 and Pneumatic module 10 is by computer 1 control.
Situation compared to prior art; The automatic focusing system that the utility model provides towards line array CCD; Comprise computer, image processing module, CCD image-forming module, optical illumination module, PCB position detecting module, motion-control module, image capture module, servo-driven module, XYZ operational module and Pneumatic module; Image processing module also comprises image quality evaluation unit and focusing judging unit; The data that image processing module is collected are handled by computer, control camera lens according to the deal with data of computer and move the object distance value that (object distance variation) found out the utmost sharpness correspondence; Through improving, automatic focusing that can the Rapid Realization camera lens, improved fine-focused sensitivity, measuring speed is fast, certainty of measurement is high, automaticity is high and has effectively alleviated personnel's labour intensity.
Wherein, focusing system also comprises and also is provided with two inputs and two outputs in human-computer interaction interface module 11, display module 13 and input module 12, the calculating; The 3rd input 46 of computer all is connected with human-computer interaction interface module 11 with the 5th output 49, and the four-input terminal 47 of computer is connected with input module 12, and the 4th output 48 of computer is connected with display module 13.
Wherein, image processing module 3 comprises image quality evaluation unit (figure does not show) and focusing judging unit (figure does not show).
The evaluation function that image quality evaluation unit (figure does not show) utilizes neighbours territory gray scale difference absolute value sum is as the definition comprehensive evaluation value that calculates the view picture scan image, and the formula of evaluation function is:
F(i)=∑ (x,y){|f i(x,y)-f i(x,y-1)|+|f i(x,y)-f i(x-1,y)+|f i(x,y)-f i(x+1,y)+|f i(x,y)-f i(x,y+1)} i=(0,1,…,m)
When image was assembled, F (i) got maximum.Neighbours territory gray scale difference point-score is a kind of differential method in fact; Promptly image is carried out the gradient conversion; Just utilized the edge of image enhancement process; Make the indicatrix of focal length evaluation function more precipitous, promptly the evaluation function value of focusedimage and out-of-focus image is clearly more demarcated, has improved fine-focused sensitivity.Adopt neighbours territory gray scale difference point-score can realize quick, real-time and effective measurement requirement to the AOI system;
Focusing judging unit (figure does not show) utilizes and progressively approaches mountain style automatic focusing principle, is used for finding out the corresponding object distance value of utmost sharpness according to the definition comprehensive evaluation value.
Please further consult Fig. 2, during the focusing beginning, to the data that collect in the computer, image quality evaluation unit (figure does not show) utilizes the evaluation function of neighbours territory gray scale difference absolute value sum
F (i)=∑ (x, y)| f i(x, y)-f i(x, y-1) |+| f i(x, y)-f i(x-1, y)+| f i(x, y)-f i(x+1, y)+| f i(x, y)-f i(x, y+1) } i=(0,1 ..., m) calculate the definition values a of scan image, compare with the maximum of F (i), do not reach utmost sharpness; Get into the fine setting state, motion-control module 6 is finely tuned with servo-driven module 9 driven in common focus adjusting mechanisms, utilizes evaluation function to handle for the information that collects in the computer again; Obtain definition b, definition a, b and maximum F (i) are compared, see and whether need focus again; If obtained the best sharpness value; Just finish the focusing process, if do not reach the best sharpness value, with definition a and b contrast; Confirm the direction of focusing, until reaching the best sharpness value.
Please further consult Fig. 3; Be to utilize progressively to approach mountain style realization automatic focusing process: the definition values curve of corresponding image is shown in the solid line among Fig. 3; X coordinate representation pcb board position; The pairing definition values of y coordinate representation relevant position image, the P point is corresponding to the best sharpness value of focal position video image on the curve.The purpose of focusing makes PCB position detecting module 8 seek and rest on best sharpness value P point place automatically exactly.In the control procedure of automatic focusing, introduce the thought of variable step, and with the focusing process be divided into three state: a, big step-length is focused fast; B, the gradually long focusing of small step; C, fine motion scanning.
At first control system gets into the big step-length process of focusing fast, supposes that this moment, pcb board was positioned at a M place, at first definite direction of search; When withdrawing from the AOI system, focusing system all can return initial point automatically, therefore at every turn; Before opening AOI system automatic focusing, all can advance to the N direction, till crossing maximum P arrival P1 from M at every turn; Be that the path is M-N-P-P1, value of maximum articulation P ' in this process is temporary, get into the long focusing process of gradually small step.Begin by P1, to mountain top P motion, " temporary till P2, with value of maximum articulation P in this search procedure.So repeatedly, every search once, step pitch is corresponding to be reduced; And two value of maximum articulation that obtained in adjacent twice search are compared; When reduced value during less than certain thresholding, the expression focus adjusting mechanism has been positioned at the very position of points of proximity P, gets into the fine motion scanning mode.
The advantage of the utility model is:
1, in the image quality evaluation unit with the neighbours territory gray scale difference absolute value sum of image as evaluation function; Be used to calculate the definition comprehensive evaluation value of view picture scan image; Can find out effectively whether image focuses on, make that the evaluation of estimate of focusedimage and out-of-focus image is clearly more demarcated, improve fine-focused sensitivity; Realize quick, real-time and effective measurement requirement, effectively realize the automatic focusing of camera lens;
2, utilize the improved mountain style automatic focusing principle of progressively approaching at the focusing judging unit; Move (object distance variation) according to the definition comprehensive evaluation value control camera lens that calculates and find out the corresponding object distance value of utmost sharpness; This process is accurately quick again, makes focus adjusting mechanism can cross automatic searching and rest on the best sharpness value;
3, combine to improve, the automatic focusing that focusing system can the Rapid Realization camera lens, improved fine-focused sensitivity, measuring speed is fast, certainty of measurement is high, automaticity is high and has effectively alleviated personnel's labour intensity.
More than the disclosed several specific embodiments that are merely the utility model, but the utility model is not limited thereto, any those skilled in the art can think variation all should fall into the protection range of the utility model.

Claims (3)

1. automatic focusing system towards line array CCD; It is characterized in that, comprise computer, image processing module, CCD image-forming module, optical illumination module, PCB position detecting module, motion-control module, image capture module, servo-driven module, XYZ operational module and Pneumatic module; Said computer is provided with two inputs and three outputs; First output of said computer is connected with the first input end of said computer with said image processing module through said optical illumination module, said CCD image-forming module in order; Second input of said computer is connected with said Pneumatic module; Second output of said computer is connected with said motion-control module; The 3rd output of said computer is connected with said Pneumatic module; Said servo-driven module is provided with two outputs and an input, and first output of said servo-driven module is connected with the input of said servo-driven module with said motion-control module through said XYZ operational module, said PCB position detecting module in order, and second output of said servo-driven module is connected with said image capture module.
2. the automatic focusing system towards line array CCD according to claim 1 is characterized in that, focusing system also comprises and also is provided with two inputs and two outputs in human-computer interaction interface module, display module and input module, the said calculating; The 3rd input of said computer all is connected with said human-computer interaction interface module with the 5th output, and the four-input terminal of said computer is connected with said input module, and the 4th output of said computer is connected with said display module.
3. the automatic focusing system towards line array CCD according to claim 1 is characterized in that, said image processing module comprises image quality evaluation unit and focusing judging unit.
CN201220260024.7U 2012-06-04 2012-06-04 Automatic focusing system orientating to linear array charge coupled device (CCD) Expired - Fee Related CN202602795U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201220260024.7U CN202602795U (en) 2012-06-04 2012-06-04 Automatic focusing system orientating to linear array charge coupled device (CCD)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201220260024.7U CN202602795U (en) 2012-06-04 2012-06-04 Automatic focusing system orientating to linear array charge coupled device (CCD)

Publications (1)

Publication Number Publication Date
CN202602795U true CN202602795U (en) 2012-12-12

Family

ID=47320302

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201220260024.7U Expired - Fee Related CN202602795U (en) 2012-06-04 2012-06-04 Automatic focusing system orientating to linear array charge coupled device (CCD)

Country Status (1)

Country Link
CN (1) CN202602795U (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106791353A (en) * 2015-12-16 2017-05-31 深圳市汇顶科技股份有限公司 The methods, devices and systems of auto-focusing
CN107995412A (en) * 2017-10-31 2018-05-04 武汉精测电子技术股份有限公司 A kind of Fiber optic image acquisition device and its application process
CN111358425A (en) * 2020-03-17 2020-07-03 苏州微清医疗器械有限公司 Automatic focusing method and fundus camera

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106791353A (en) * 2015-12-16 2017-05-31 深圳市汇顶科技股份有限公司 The methods, devices and systems of auto-focusing
WO2017101292A1 (en) * 2015-12-16 2017-06-22 深圳市汇顶科技股份有限公司 Autofocusing method, device and system
CN106791353B (en) * 2015-12-16 2019-06-14 深圳市汇顶科技股份有限公司 The methods, devices and systems of auto-focusing
CN107995412A (en) * 2017-10-31 2018-05-04 武汉精测电子技术股份有限公司 A kind of Fiber optic image acquisition device and its application process
CN111358425A (en) * 2020-03-17 2020-07-03 苏州微清医疗器械有限公司 Automatic focusing method and fundus camera

Similar Documents

Publication Publication Date Title
CN111650210B (en) Burr detection method and detection system for high-speed high-precision lithium ion battery pole piece
US9906737B2 (en) Co-aperture multi-FOV image-spectrum cooperative detection system and method
CN108956645A (en) A kind of the optical mirror slip defect detecting device and method of more vision systems
CN103674977B (en) Optical elements of large caliber element surface damage detection device and corresponding detection method
CN103674839A (en) Visual sample positioning operating system and method based on light spot detection
CN104181685A (en) Automatic digital slide focusing device and method based on microscope
CN102697176A (en) Cigarette quality on-line detection device and detection method based on machine vision
CN104655643A (en) Quality detection system for surface welding process of electronic devices
CN103308524A (en) PCB automatic optical inspection system
CN202602795U (en) Automatic focusing system orientating to linear array charge coupled device (CCD)
CN202649127U (en) Automatic optical detection system
CN105181713A (en) Detection device used for optical fiber image inverter surface defects
CN110873718A (en) Steel plate surface defect detection system and method based on machine vision
CN102854195A (en) Method for detecting defect coordinates on color filter
CN106524955A (en) Plane equal thickness interference digital display measurement device and method of measuring optical flat flatness
CN103454283A (en) Line detection system and method
CN115330859A (en) Automatic focusing and automatic centering method and system based on machine vision
CN102944693A (en) System and method based on area array fast field synchronization charge coupled device (CCD) image sensor and used for measuring speed
CN103091827B (en) High definition identifies that comparison microscopes and vestige identify comparison method automatically automatically
CN103529544A (en) Nano membrane thickness measuring instrument capable of automatically positioning and focusing
CN203479711U (en) Crankshaft surface detection device
CN103084927A (en) Online measurement system and online measurement method thereof
CN202274996U (en) Performance test system for tank stabilizer
CN109318235A (en) A kind of quick focusing method of Visual Servoing System
CN105651699A (en) Dynamic focus following method based on area-array camera

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20121212

Termination date: 20200604

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