CN107610163A - A kind of punching localization method and device based on CCD scannings - Google Patents

A kind of punching localization method and device based on CCD scannings Download PDF

Info

Publication number
CN107610163A
CN107610163A CN201710667065.5A CN201710667065A CN107610163A CN 107610163 A CN107610163 A CN 107610163A CN 201710667065 A CN201710667065 A CN 201710667065A CN 107610163 A CN107610163 A CN 107610163A
Authority
CN
China
Prior art keywords
deviation
punching
angle
loci
ccd
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
CN201710667065.5A
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.)
Get Xin Automation Equipment Co Ltd Of Shenzhen
Original Assignee
Get Xin Automation Equipment Co Ltd Of Shenzhen
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 Get Xin Automation Equipment Co Ltd Of Shenzhen filed Critical Get Xin Automation Equipment Co Ltd Of Shenzhen
Priority to CN201710667065.5A priority Critical patent/CN107610163A/en
Publication of CN107610163A publication Critical patent/CN107610163A/en
Pending legal-status Critical Current

Links

Landscapes

  • Machine Tool Sensing Apparatuses (AREA)

Abstract

The invention discloses a kind of punching localization method and device based on CCD scannings.Methods described includes:Randomly select a PCB to be punctured exemplarily, choose on the model at 2 points and be used as loci, succeed in school to align point coordinates and punch trail file;Next piece of PCB to be punctured loci is scanned, obtains the centre coordinate of the loci;Calculate the c of loci and the deviation of model loci centre coordinate;Root Ju deviation calculates the new coordinate of each scoring ring, and the scoring ring coordinate value in trail file is punched in amendment.The present invention need to only scan 2 points can be added on compensation so as to realize the high speed of punching and high accuracy by the position angle deviation for accurately calculating different plates of image.So as to ensure target-shooting machine it is automatic, run at high speed it is lower in the case of be accurately positioned.The present invention is widely used in technical field of automation in industry as a kind of punching localization method and device based on CCD scannings.

Description

A kind of punching localization method and device based on CCD scannings
Technical field
The present invention relates to technical field of automation in industry, more particularly to a kind of punching localization method based on CCD scannings and Device.
Background technology
During the manufacturing of traditional PCB single sided boards, the stitch hole of the plug-in element of single sided board, mould is required for Gone out by punch press, plate needs tuck hole to be accurately positioned in a mold;The precision of positioning hole will be controlled in 0.02mm;It is existing Pcb board production firm complete this technique using manual practice shooting to realize.With the development of science and technology and China production The raising of manufacture level, the framing technology fully automatic high-speed target-shooting machine based on CCD gradually replace artificial target-shooting machine.
What current full-automatic target-shooting machine was practiced shooting will will scan to each hole, and locating speed is too slow.In addition when pcb board When the situation that green oil covers hole position occurs in printing process in hole position, with regard to None- identified, product is set to be changed into defective products, pcb board is beaten The positioning in hole is not accurate enough.
The content of the invention
In order to solve the above-mentioned technical problem, it is fast it is an object of the invention to provide a kind of locating speed and be accurately based on CCD The punching positioning image method and device of scanning.
The technical solution adopted in the present invention is:A kind of punching localization method based on CCD scannings, it includes following step Suddenly:Step 1:Randomly select a PCB to be punctured exemplarily, choose on the model at 2 points and be used as loci, succeed in school contraposition Point coordinates and punching trail file;Step 2:Next piece of PCB to be punctured loci is scanned, the center for obtaining the loci is sat Mark;Step 3:Calculate the centre coordinate of loci and the deviation of model loci centre coordinate;Step 4 piece Ju deviation calculates Go out the new coordinate of each scoring ring, the scoring ring coordinate value in trail file is punched in amendment.
Further, described 2 points as loci respectively positioned at two of PCB it is diagonal on.
Further, the step 2 specifically includes:The diagonal of PCB to be punctured is scanned by CCD, passes through the side of images match Formula finds loci and calculates the centre coordinate of loci.
Further, step 3 specifically includes:According to the deviation of the centre coordinate of loci and model loci centre coordinate Value, calculate the deviation, X-direction deviation and Y-direction deviation of the angle of pcb board and model to be punctured.
Further, the step 4 specifically includes:According to the deviation of pcb board to be punctured and the angle of model, X side To deviation and Y-direction deviation, the new coordinate of the scoring ring on pcb board to be punctured is calculated, is corrected in target practice trail file Scoring ring coordinate value.
Further, the formula of the new coordinate of the last scoring ring of pcb board to be punctured is:X1=cos (angle) * x-sin (angle)*y;Y1=cos (angle) * y+sin (angle) * x;Wherein x, y expression thing body phase rotate angle for the point of rotation Angle before coordinate, x1, y1 represent object rotation angle after relative to the point of rotation coordinate.
A kind of punching positioner based on CCD scannings, it includes:Control unit and three axle tool hands, the three axles tool hand On be provided with CCD modules and drill bit, it is characterised in that described control unit includes:Study module, for learn align point coordinates And punching trail file;Computing module, for calculating the centre coordinate of loci and the deviation of model loci centre coordinate; Correcting module, the new coordinate for calculating for root Ju deviation each scoring ring, the scoring ring coordinate value in amendment punching trail file; The CCD modules, for scanning loci.
Further, the computing module includes:Angle calculation mould described in angle calculation module and X, Y-direction computing module Block, angle for calculating pcb board and model to be punctured deviation deviation;The X, Y-direction computing module, For calculate the X of pcb board and model to be punctured, Y-direction deviation.
A kind of punching positioner based on CCD scannings, it includes:Control unit and three axle tool hands, the three axles tool hand On be provided with CCD modules and drill bit, it is characterised in that described control unit includes:Memory, for depositing program;Processor, For performing described program, the step of to realize the above method.
The beneficial effects of the invention are as follows:
1st, using the spot scan location technologies of CCD two, two scoring rings need to only be scanned, it is not necessary to scan each scoring ring, reduce Sweep time, production capacity can reach 4000 holes/hour, be 2 times of manual target-shooting machine.
2nd, scoring ring coordinate can generate trail file preservation on pcb board in this project.Under it is secondary in use, need to only recall original File.The precision of target practice can be improved for target practice deviation caused by mechanical structure by finely tuning scoring ring coordinate.
3rd, it sometimes appear that green oil, which covers scoring ring, causes CCD scannings less than formation defective products in circuit printing process.This Invention only need to scan two scoring rings, greatly reduce defective products rate.
4th, by two-point locating technology, CCD only need to be moved, is not required to manually move pcb board.Upper and lower plates can be realized, practiced shooting Flow is full-automatic.
5th, by applying the spot scan location technologies of CCD two, it enormously simplify mechanical structure.
Brief description of the drawings
The embodiment of the present invention is described further below in conjunction with the accompanying drawings:
Fig. 1 is the step flow chart of the punching positioning image method based on CCD scannings in the present invention
Embodiment
It should be noted that in the case where not conflicting, the feature in embodiment and embodiment in the application can phase Mutually combination.
As shown in figure 1, a kind of punching localization method based on CCD scannings, it comprises the following steps:
Step 1:Randomly select a PCB to be punctured exemplarily, choose on the model at 2 points and be used as loci, learn Point coordinates and punching trail file are aligned well;
Step 2:Next piece of PCB to be punctured loci is scanned, obtains the centre coordinate of the loci;
Step 3:Calculate the c of loci and the deviation of model loci centre coordinate;
Step 4 piece Ju deviation calculates the new coordinate of each scoring ring, and the scoring ring coordinate value in trail file is punched in amendment.
First take on diagonal align point template as standard on PCB models at 2 points, and learn other its that to be beaten on this block The one punching trail file of Coordinate generation for the scoring ring that it is punched, this file editable and preservation are changed.Next piece of PCB to be punctured Plate CCD need to only scan two dot center's coordinates on diagonal.According to 2 points of centre coordinate in this two dot center coordinate and template Mathematic interpolation goes out the X of the pcb board and standard specimen plate, the position deviation of Y-direction and angular deviation.According to X, the position deviation of Y-direction And the coordinate of drilling point in the trail file of calibration standard is removed in angular deviation, so as to generate the punching track of this block pcb board.Beat Hole mechanical arm is directly punched according to newly-generated punching track, and the coordinate without scanning all drilling points by CCD again is gone Punching, so can save the time, improve operational effectiveness.And there is green oil in printing process in the hole position for overcoming pcb board When covering the situation of hole position, manual target-shooting machine is with regard to None- identified, the problem of making product be changed into defective products.
Operator can be preserved with the file of pcb board model name according to the model of product.Next time generates same model During pcb board, the just automatic life of original punching track need to be only recalled, punches trajectory coordinates without repetitive learning, so operation letter It is single convenient and swift.When check find drilling point centre coordinate there is deviation, can be by changing the punching in Grid Track file The coordinate can of central point eliminates punching deviation, substantially increases the drilling precision of system.
In this embodiment, the diagonal of PCB to be punctured is scanned by CCD, loci is found by way of images match And calculate the centre coordinate of loci.The image of template matches refer to by certain matching algorithm two width or multiple image it Between identify same place, by the phase relation of the window of formed objects in comparison object area and the field of search in being matched such as two dimensional image Number, takes the window center point in the field of search corresponding to coefficient correlation maximum as same place.Its essence is in primitive similitude Under the conditions of, with the optimal search problem of matching criterior.The image of template matches can calculate picture centre coordinate.According to treating Deviation, X-direction deviation and Y-direction deviation, calculate the new coordinate of the scoring ring on pcb board to be punctured, amendment is beaten Scoring ring coordinate value in target trail file.
The calculation formula for wherein punching the angle of pcb board and model is angle=fabs (dMarkAngle)-fabs (dStdAngle), dMarkAngle is the central point plane coordinates angle value of two angle steel joints of model, and dStdAngle is to treat Two angle steel joint central point plane coordinates angle values of pcb board are punched, Angle is the angle of pcb board to be punctured and model Deviation.
The formula of the new coordinate of the last scoring ring of pcb board to be punctured is:X1=cos (angle) * x-sin (angle) * y;Y1=cos (angle) * y+sin (angle) * x;Wherein x, y expression thing body phase for the point of rotation rotate angle angle it Preceding coordinate, x1, y1 represent object rotation angle after relative to the point of rotation coordinate.
A kind of punching positioner based on CCD scannings, it includes:Control unit and three axle tool hands, the three axles tool hand On be provided with CCD modules and drill bit, it is characterised in that described control unit includes:Study module, for learn align point coordinates And punching trail file;Computing module, for calculating the centre coordinate of loci and the deviation of model loci centre coordinate; Correcting module, the new coordinate for calculating for root Ju deviation each scoring ring, the scoring ring coordinate value in amendment punching trail file; The CCD modules, for scanning loci.
Further, the computing module includes:Angle calculation module described in angle calculation module and XY directions calculation modules, Deviation for the deviation of the angle that calculates pcb board and model to be punctured;The XY directions calculation modules, it is used for Calculate the deviation in the XY directions of pcb board and model to be punctured.
A kind of punching positioner based on CCD scannings, it includes:Control unit and three axle tool hands, the three axles tool hand On be provided with CCD modules and drill bit, it is characterised in that described control unit includes:Memory, for depositing program;Processor, For performing described program, the step of to realize the above method.
Above is the preferable implementation to the present invention is illustrated, but the invention is not limited to the implementation Example, those skilled in the art can also make a variety of equivalent variations on the premise of without prejudice to spirit of the invention or replace Change, these equivalent deformations or replacement are all contained in the application claim limited range.

Claims (10)

1. a kind of punching localization method based on CCD scannings, it is characterised in that it comprises the following steps:
Step 1:Randomly select a PCB to be punctured exemplarily, choose on the model at 2 points and be used as loci, succeed in school pair Site coordinate and punching trail file;
Step 2:Next piece of PCB to be punctured loci is scanned, obtains the centre coordinate of the loci;
Step 3:Calculate the centre coordinate of loci and the deviation of model loci centre coordinate;
Step 4 piece Ju deviation calculates the new coordinate of each scoring ring, and the scoring ring coordinate value in trail file is punched in amendment.
2. the punching according to claim 1 based on CCD scannings positions image method, it is characterised in that:The conduct pair 2 points of site respectively positioned at two of PCB it is diagonal on.
3. the punching according to claim 2 based on CCD scannings positions image method, it is characterised in that:The step 2 has Body includes:
The diagonal of PCB to be punctured is scanned by CCD, loci is found by way of images match and is calculated in loci Heart coordinate.
4. the punching according to claim 1 based on CCD scannings positions image method, it is characterised in that:Step 3 is specifically wrapped Include:According to the deviation of the centre coordinate of loci and model loci centre coordinate, pcb board and model to be punctured are calculated Deviation, X-direction deviation and the Y-direction deviation of angle.
5. the punching scanned based on CCD stated according to claim 4 positions image method, it is characterised in that:Described calculate is treated The formula of deviation of the angle of punching pcb board and model is:Angle=fabs (dMarkAngle)-fabs (dStdAngle), dMarkAngle is the central point plane coordinates angle value of two angle steel joints of model, and dStdAngle is to treat Two angle steel joint central point plane coordinates angle values of pcb board are punched, Angle is the angle of pcb board to be punctured and model Deviation.
6. the punching scanned based on CCD stated according to claim 5 positions image method, it is characterised in that:The PCB to be punctured The formula of the new coordinate of the last scoring ring of plate is:
X1=cos (angle) * x-sin (angle) * y;
Y1=cos (angle) * y+sin (angle) * x;Wherein x, y represent the scoring ring coordinate of sample punching, and x1, y1 are expressed as treating The scoring ring coordinate of pcb board punching is punched, angle is the deviation of the angle of pcb board to be punctured and model.
7. the punching according to claim 6 based on CCD scannings positions image method, it is characterised in that:The step 4 has Body includes:According to the deviation of pcb board to be punctured and the angle of model, X-direction deviation and Y-direction deviation, meter The new coordinate of the scoring ring on pcb board to be punctured is calculated, corrects the scoring ring coordinate value in target practice trail file.
8. a kind of punching positioner based on CCD scannings, it includes:Control unit and three axle tool hands, the three axles tool is on hand It is provided with CCD modules and drill bit, it is characterised in that described control unit includes:
Study module, point coordinates and punching trail file are aligned for study;
Computing module, for calculating the centre coordinate of loci and the deviation of model loci centre coordinate;
Correcting module, the new coordinate for calculating for root Ju deviation each scoring ring, the scoring ring in amendment punching trail file are sat Scale value;
The CCD modules, for scanning loci.
9. the punching according to claim 1 based on CCD scannings positions image device, it is characterised in that:The calculating mould Block includes:Angle calculation module and X, Y-direction computing module
The angle calculation module, angle for calculating pcb board and model to be punctured deviation deviation;
The X, Y-direction computing module, the X for calculating pcb board and model to be punctured, the deviation of Y-direction.
10. a kind of punching positioner based on CCD scannings, it includes:Control unit and three axle tool hands, the three axles tool is on hand It is provided with CCD modules and drill bit, it is characterised in that described control unit includes:
Memory, for depositing program;
Processor, for performing described program, the step of to realize any one of claim 1 to 6 methods described.
CN201710667065.5A 2017-08-07 2017-08-07 A kind of punching localization method and device based on CCD scannings Pending CN107610163A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710667065.5A CN107610163A (en) 2017-08-07 2017-08-07 A kind of punching localization method and device based on CCD scannings

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710667065.5A CN107610163A (en) 2017-08-07 2017-08-07 A kind of punching localization method and device based on CCD scannings

Publications (1)

Publication Number Publication Date
CN107610163A true CN107610163A (en) 2018-01-19

Family

ID=61064823

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710667065.5A Pending CN107610163A (en) 2017-08-07 2017-08-07 A kind of punching localization method and device based on CCD scannings

Country Status (1)

Country Link
CN (1) CN107610163A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108876850A (en) * 2018-06-29 2018-11-23 闽江学院 A kind of pcb board punching localization method
CN109500886A (en) * 2018-11-16 2019-03-22 山东科技大学 A kind of industrial design modelling cardboard perforating system for teaching
CN109596971A (en) * 2018-11-28 2019-04-09 大族激光科技产业集团股份有限公司 The alignment method of flying probe tester
CN109926724A (en) * 2019-03-21 2019-06-25 大族激光科技产业集团股份有限公司 Double CCD positioning marking methods, double CCD positioning marking system and storage medium
CN110538809A (en) * 2019-08-09 2019-12-06 柏承科技(昆山)股份有限公司 X-Ray collapsible drill target piling operation method
CN112440329A (en) * 2020-11-04 2021-03-05 东莞王氏港建机械有限公司 Multilayer board punching method and punching machine with double-sided circuit based on layer deviation detection
CN113522884A (en) * 2021-06-28 2021-10-22 合肥国轩高科动力能源有限公司 Method and device for automatically correcting cleaning track of pole
CN113618816A (en) * 2020-05-08 2021-11-09 宝翔精密有限公司 Automatic target position alignment method for X-ray target shooting machine circuit board and feeding device thereof
CN116859920A (en) * 2023-07-03 2023-10-10 广州明珞装备股份有限公司 Precision compensation method and device, electronic equipment and punching system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102186310A (en) * 2011-05-05 2011-09-14 深圳创维数字技术股份有限公司 Locating method and device
CN102974964A (en) * 2012-10-23 2013-03-20 廖怀宝 Method for fixing printed circuit board (PCB) with mark point location function
CN203843919U (en) * 2014-04-04 2014-09-24 深圳市得鑫自动化设备有限公司 Automatic punching machine for printed circuit boards
CN105345194A (en) * 2015-11-18 2016-02-24 杭州电子科技大学 PCB welding spot locating method base on machine vision

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102186310A (en) * 2011-05-05 2011-09-14 深圳创维数字技术股份有限公司 Locating method and device
CN102974964A (en) * 2012-10-23 2013-03-20 廖怀宝 Method for fixing printed circuit board (PCB) with mark point location function
CN203843919U (en) * 2014-04-04 2014-09-24 深圳市得鑫自动化设备有限公司 Automatic punching machine for printed circuit boards
CN105345194A (en) * 2015-11-18 2016-02-24 杭州电子科技大学 PCB welding spot locating method base on machine vision

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108876850A (en) * 2018-06-29 2018-11-23 闽江学院 A kind of pcb board punching localization method
CN109500886A (en) * 2018-11-16 2019-03-22 山东科技大学 A kind of industrial design modelling cardboard perforating system for teaching
CN109596971A (en) * 2018-11-28 2019-04-09 大族激光科技产业集团股份有限公司 The alignment method of flying probe tester
CN109596971B (en) * 2018-11-28 2020-12-18 深圳市大族数控科技有限公司 Alignment method of flying probe tester
CN109926724A (en) * 2019-03-21 2019-06-25 大族激光科技产业集团股份有限公司 Double CCD positioning marking methods, double CCD positioning marking system and storage medium
CN109926724B (en) * 2019-03-21 2021-05-25 大族激光科技产业集团股份有限公司 double-CCD positioning marking method, double-CCD positioning marking system and storage medium
CN110538809A (en) * 2019-08-09 2019-12-06 柏承科技(昆山)股份有限公司 X-Ray collapsible drill target piling operation method
CN110538809B (en) * 2019-08-09 2021-10-12 柏承科技(昆山)股份有限公司 X-Ray collapsible drill target piling operation method
CN113618816A (en) * 2020-05-08 2021-11-09 宝翔精密有限公司 Automatic target position alignment method for X-ray target shooting machine circuit board and feeding device thereof
CN113618816B (en) * 2020-05-08 2023-02-28 宝翔精密有限公司 Automatic target position alignment method for X-ray target shooting machine circuit board and feeding device thereof
CN112440329A (en) * 2020-11-04 2021-03-05 东莞王氏港建机械有限公司 Multilayer board punching method and punching machine with double-sided circuit based on layer deviation detection
CN113522884A (en) * 2021-06-28 2021-10-22 合肥国轩高科动力能源有限公司 Method and device for automatically correcting cleaning track of pole
CN116859920A (en) * 2023-07-03 2023-10-10 广州明珞装备股份有限公司 Precision compensation method and device, electronic equipment and punching system
CN116859920B (en) * 2023-07-03 2024-03-26 广州明珞装备股份有限公司 Precision compensation method and device, electronic equipment and punching system

Similar Documents

Publication Publication Date Title
CN107610163A (en) A kind of punching localization method and device based on CCD scannings
CN106493042A (en) Dispensing method and dispenser system
CN107808401A (en) The hand and eye calibrating method of the one camera of mechanical arm tail end
CN105619411B (en) A kind of six-shaft industrial robot palletizing method
CN107671896A (en) Fast vision localization method and system based on SCARA robots
CN106363304A (en) Multi-camera correcting and positioning method and glass laser cutting device
CN102601684B (en) Indirect measurement method based tool parameter calibration method for high-precision drilling robot
CN110293559A (en) A kind of installation method of automatic identification positioning alignment
CN106406531B (en) Method for manufacturing VR virtual printed circuit board factory
CN108942918A (en) A kind of solid locating method based on line-structured light
CN111590588A (en) Non-contact tool coordinate system calibration method for welding robot
CN114535738B (en) Model and numerical control drilling file-based teaching programming method for automatic soldering machine
CN107053177A (en) The improved hand and eye calibrating algorithm based on screening and least square method
CN108256170A (en) It is a kind of that the modeling optimization method and system for inserting technique are pasted based on pcb board
CN103646377B (en) Coordinate conversion method and device
CN115752295A (en) Automatic hand-eye calibration method for line laser profilometer
CN104819690B (en) A kind of double camera machine vision localization method of element pasted on surface
CN110861076A (en) Hand eye calibration device of mechanical arm
CN109840522B (en) Large-rod end face marking scheme and character image correction method
CN109784331B (en) Bar end face marking scheme based on mark points and character image correction method
CN115824258A (en) Time stamp correction method based on correction plate
CN113160326B (en) Hand-eye calibration method and device based on reconstruction coordinate system
CN206573893U (en) Production machine table for automatic concept and automatic processing
CN113894793B (en) Method for acquiring relative pose relationship between part and vision sensor
CN111243013B (en) Visual printer deviation correcting pose prediction method based on integrated multi-target regression chain

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20180119

RJ01 Rejection of invention patent application after publication