CN106341956A - Fixed camera calibration method - Google Patents

Fixed camera calibration method Download PDF

Info

Publication number
CN106341956A
CN106341956A CN201610873046.3A CN201610873046A CN106341956A CN 106341956 A CN106341956 A CN 106341956A CN 201610873046 A CN201610873046 A CN 201610873046A CN 106341956 A CN106341956 A CN 106341956A
Authority
CN
China
Prior art keywords
fixed camera
placement head
coordinate system
head
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.)
Granted
Application number
CN201610873046.3A
Other languages
Chinese (zh)
Other versions
CN106341956B (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.)
Harbin Institute of Technology
Original Assignee
Harbin Institute of Technology
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 Harbin Institute of Technology filed Critical Harbin Institute of Technology
Priority to CN201610873046.3A priority Critical patent/CN106341956B/en
Publication of CN106341956A publication Critical patent/CN106341956A/en
Application granted granted Critical
Publication of CN106341956B publication Critical patent/CN106341956B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05KPRINTED CIRCUITS; CASINGS OR CONSTRUCTIONAL DETAILS OF ELECTRIC APPARATUS; MANUFACTURE OF ASSEMBLAGES OF ELECTRICAL COMPONENTS
    • H05K3/00Apparatus or processes for manufacturing printed circuits
    • H05K3/30Assembling printed circuits with electric components, e.g. with resistor
    • H05K3/303Surface mounted components, e.g. affixing before soldering, aligning means, spacing means
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05KPRINTED CIRCUITS; CASINGS OR CONSTRUCTIONAL DETAILS OF ELECTRIC APPARATUS; MANUFACTURE OF ASSEMBLAGES OF ELECTRICAL COMPONENTS
    • H05K13/00Apparatus or processes specially adapted for manufacturing or adjusting assemblages of electric components
    • H05K13/08Monitoring manufacture of assemblages
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05KPRINTED CIRCUITS; CASINGS OR CONSTRUCTIONAL DETAILS OF ELECTRIC APPARATUS; MANUFACTURE OF ASSEMBLAGES OF ELECTRICAL COMPONENTS
    • H05K2203/00Indexing scheme relating to apparatus or processes for manufacturing printed circuits covered by H05K3/00
    • H05K2203/16Inspection; Monitoring; Aligning
    • H05K2203/166Alignment or registration; Control of registration

Landscapes

  • Engineering & Computer Science (AREA)
  • Manufacturing & Machinery (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Operations Research (AREA)
  • Supply And Installment Of Electrical Components (AREA)
  • Length Measuring Devices By Optical Means (AREA)

Abstract

The invention discloses a fixed camera correction method, belongs to the machine vision localization detection field and is applied to the high-accuracy correction process of a surface mounting machine. The main objective of the invention is to solve the problem that the location, scale and rotation angle of the fixed camera of an existing surface mounting machine cannot be accurately measured in an equipment coordinate system when the fixed camera of the surface mounting machine is mechanically installed. According to the method of the invention, the positional relationship of a surface mounting head in a fixed camera is determined according to a calibration suction nozzle; a conversion relation between two coordinate systems is calculated and derived; the scale of the fixed camera is calculated through the position coordinates of a center; and the rotation angle of the fixed camera in an equipment coordinate system is calculated according to the position coordinates of the surface mounting head and the value coordinates of the surface mounting head. The coordinates, the rotation angle and the scale of the fixed camera are corrected, so that deviation in a detection process caused by manual installation can be offset, the calibration point detection and positioning accuracy of the surface mounting machine can be improved, and the surface mounting effect of the surface mounting machine can be improved. The fixed camera correction method of the invention is suitable for the machine vision precision correction field.

Description

A kind of fixed camera bearing calibration
Technical field
The present invention relates to a kind of fixed camera bearing calibration, belong to machine vision detection and localization technical field.
Technical background
In smt chip mounter, fixed camera is fixedly mounted on immovable fixed frame.Produced carrying out paster Cheng Shi, first has to accurately obtain the position of fixed camera, scale and the isoparametric value of the anglec of rotation, so that subsequently can be accurate Really find the relevant informations such as the zero point of system, the origin system of benchmark camera.Fixed camera position, scale and anglec of rotation etc. The accurate measurement of parameter determines that can the coordinate system of whole picking machine system accurately build, and affects SMD chip and produces in attachment During positioning accuracy.The fixed camera of existing chip mounter is when armstrong's patent is installed it is impossible to avoid manually installed bringing Deviation, error is larger.
Content of the invention
In order to overcome the fixed camera of existing chip mounter when armstrong's patent is installed it is impossible to avoid manually installed bring inclined Difference, the larger technical deficiency of error, the invention provides a kind of school of the fixed camera based on machine learning detection and localization technology Correction method, comprising:
Step one: initialization chip mounter camera setting, the movable length a of setting fixed camera timing placement head, unit For mm, No. 1 placement head, after anc nozzle head groove is drawn and demarcated nozzle head, moves to directly over the fixed camera visual field, correction Object is to demarcate nozzle head;
Step 2: this moment No. 1 position in device coordinate system for the placement head is set to initial position, first by No. 1 placement head X-axis negative direction along device coordinate system moves a/2 length, recalls image detecting program, obtains demarcation nozzle head center and exists Position coordinateses in fixed camera, are designated as d1 (x1,y1);Then No. 1 placement head is moved back to initial position, then by No. 1 placement head edge The x-axis positive direction device coordinate system moves a/2 length, calls image detecting program, obtains demarcation nozzle head center and is fixing Magazine position coordinateses, are designated as d2 (x2, y2);No. 1 placement head is moved back to initial position, then by No. 1 placement head along equipment The y-axis negative direction of coordinate system moves a/2 length, calls image detecting program, obtains demarcating nozzle head center in fixed camera Position coordinateses, be designated as d3 (x3, y3);Then No. 1 placement head is moved back to initial position, then No. 1 placement head is sat along equipment The y-axis positive direction of mark system moves a/2 length, calls image detecting program, obtains demarcating nozzle head center in fixed camera Position coordinateses, are designated as d4 (x4,y4), the unit of described position coordinateses is mm;
Step 3: No. 1 placement head is moved back to the initial position defined in step 2, No. 1 placement head is rotated respectively to institute State 0 °, 90 °, 180 ° and 270 ° of positions in device coordinate system, call image detecting program, according to described 4 angles of rotation, Obtain demarcating position coordinateses in fixed camera for the nozzle head centre dot, be designated as (x respectively0,y0)、(x90,y90)、(x180, y180) and (x270,y270), unit is pixel;And record now No. 1 placement head position coordinateses in device coordinate system (xEquipment,yEquipment), unit is mm, and described No. 1 placement head is the initial point of placement head coordinate system;
Step 4: 360 ° of positions that No. 1 placement head is rotated to described device coordinate system, that is, first defined in step 2 Beginning position, repeat step two, obtain 4 groups of position coordinateses d '1(x′1,y′1)、d′2(x′2,y′2)、d′3(x′3,y′3)、d′4(x′4, y′4), unit is pixel;
Step 5: 8 shift position coordinates of the placement head being obtained according to step 2 and step 4, it is calculated 4 anglecs of rotation Degree θ1、θ2、θ′1With θ '2, the anglec of rotation under device coordinate system for the final fixed camera coordinate system is Detailed process is:
Step May Day: calculate 1,2 points and 3,4 points of groups are in line the angle in image coordinate system:
θ 1 = tan - 1 y 1 - y 2 x 2 - x 1 θ 2 = tan - 1 x 3 - x 4 y 3 - y 4
Step 5 two: the angle in device coordinate system that calculating 1 ', 2 ' is put and 3 ', 4 ' point groups are in line:
θ 1 ′ = tan - 1 y 1 ′ - y 2 ′ x 2 ′ - x 1 ′ θ 2 ′ = tan - 1 x 3 ′ - x 4 ′ y 3 ′ - y 4 ′
Step 5 three: θ1, θ2, θ '1, θ '2Should be roughly equal, the calculating anglec of rotation in device coordinate system for the fixed camera:
Step 6: 8 shift position coordinates according to obtaining No. 1 placement head in step 2 and step 4 calculate fixation The width of pixel on camera x and y direction, i.e. fixed camera scale in the x and y direction, it is designated as w respectivelyFixed camera xAnd wFixed camera y, single Position is mm/pix;
Step 7: in step 3, after 4 angles of rotation, demarcate position in fixed camera for the nozzle head centre dot Coordinate, is designated as (x respectively0,y0)、(x90,y90)、(x180,y180) and (x270,y270), demarcation nozzle head is calculated according to this 4 class value Mean place coordinate in fixed camera coordinate system for the center
Step 8: by position coordinateses (x in device coordinate system for No. 1 placement head of record in step 3Equipment,yEquipment), step Rapid five and the parameter that obtains of step 6 and step 7 and coordinate figure bring equation below into:
It is calculated the photocentre of the fixed camera coordinate (x in device coordinate systemFixed camera,yFixed camera).
The solution have the advantages that, by correcting coordinate, the anglec of rotation and the scale of fixed camera, compensate manually installed The deviation brought to detection process, improves chip mounter to precision during fixed point detection positioning, improves the attachment effect of chip mounter.
Brief description:
Fig. 1 is the flow chart of the present invention;
Fig. 2 is the lower surface schematic diagram demarcating nozzle head;
Fig. 3 is the relative position relation in fixed camera coordinate system and device coordinate system;
When Fig. 4 is that No. 1 placement head does not install demarcation nozzle head, whether No. 1 flight camera calibration has the figure photographing during suction nozzle Picture;
Fig. 5 is that after No. 1 placement head installs demarcation nozzle head, whether No. 1 flight camera calibration has the image photographing during suction nozzle;
Fig. 6 is to demarcate nozzle head to move to directly over the fixed camera visual field, the picture that fixed camera photographed;
Fig. 7 is to demarcate nozzle head in device coordinate system, with respect to initial position along after the mobile a/2 length of x-axis negative direction Demarcate image in the fixed camera visual field for the nozzle head center;
Fig. 8 is to demarcate nozzle head in device coordinate system, with respect to initial position along after the mobile a/2 length of x-axis positive direction Demarcate image in the fixed camera visual field for the nozzle head center;
Fig. 9 is to demarcate nozzle head in device coordinate system, with respect to initial position along after the mobile a/2 length of y-axis negative direction Demarcate image in the fixed camera visual field for the nozzle head center;
Figure 10 is to demarcate nozzle head in device coordinate system, with respect to initial position along after the mobile a/2 length of y-axis positive direction Demarcate image in the fixed camera visual field for the nozzle head center;
Figure 11 is to demarcate the image that nozzle head rotates to during 0 ° of position in the fixed camera visual field, is also in Part II Initial position;
Figure 12 is to demarcate the image that nozzle head rotates to during 90 ° of positions in the fixed camera visual field;
Figure 13 is to demarcate the image that nozzle head rotates to during 180 ° of positions in the fixed camera visual field;
Figure 14 is to demarcate the image that nozzle head rotates to during 270 ° of positions in the fixed camera visual field;
Figure 15 is to demarcate nozzle head in device coordinate system, with respect to initial position along after the mobile a/2 length of x-axis negative direction Demarcate image in the fixed camera visual field for the nozzle head center;
Figure 16 is to demarcate nozzle head in device coordinate system, with respect to initial position along after the mobile a/2 length of x-axis positive direction Demarcate image in the fixed camera visual field for the nozzle head center;
Figure 17 is to demarcate nozzle head in device coordinate system, with respect to initial position along after the mobile a/2 length of y-axis negative direction Demarcate image in the fixed camera visual field for the nozzle head center;
Figure 18 is to demarcate nozzle head in device coordinate system, with respect to initial position along after the mobile a/2 length of y-axis positive direction Demarcate image in the fixed camera visual field for the nozzle head center;
Figure 19 is the Comparative result of coordinate before and after fixed camera correction and the anglec of rotation.
Specific embodiment
Specific embodiment one:
A kind of bearing calibration of fixed camera of present embodiment, is realized by following steps:
Step one: initialization chip mounter camera setting, the movable length a of setting fixed camera timing placement head, unit For mm, No. 1 placement head, after anc nozzle head groove is drawn and demarcated nozzle head, moves to directly over the fixed camera visual field, correction Object is to demarcate nozzle head;What anc represented is nozzle head groove.
Step 2: this moment No. 1 position in device coordinate system for the placement head is set to initial position, first by No. 1 placement head X-axis negative direction along device coordinate system moves a/2 length, recalls image detecting program, obtains demarcation nozzle head center and exists Position coordinateses in fixed camera, are designated as d1 (x1,y1);Then No. 1 placement head is moved back to initial position, then by No. 1 placement head edge The x-axis positive direction device coordinate system moves a/2 length, calls image detecting program, obtains demarcation nozzle head center and is fixing Magazine position coordinateses, are designated as d2 (x2, y2);No. 1 placement head is moved back to initial position, then by No. 1 placement head along equipment The y-axis negative direction of coordinate system moves a/2 length, calls image detecting program, obtains demarcating nozzle head center in fixed camera Position coordinateses, be designated as d3 (x3, y3);Then No. 1 placement head is moved back to initial position, then No. 1 placement head is sat along equipment The y-axis positive direction of mark system moves a/2 length, calls image detecting program, obtains demarcating nozzle head center in fixed camera Position coordinateses, are designated as d4 (x4,y4), the unit of described position coordinateses is mm.
Image detecting program of the present invention is to adopt machine learning algorithm, and for being known by the image of input Do not go out the program of the corresponding position coordinateses in nozzle head center of wherein appearance, because this kind of image detecting program is in prior art Conventional means, the training set for example consisting of picture adds parameter attribute to be trained, obtains a grader, this classification The input of device is picture, and output is position coordinateses.Because this is the conventional meanses in machine learning field, therefore the present invention is not to this figure As detection program is described extensively.
" calling image detecting program " of the present invention is it should be appreciated that by captured by the fixed camera under current state To image input to image detecting program, draw the position coordinateses being identified under current state." current state " refers mainly to Be current location.
Step 3: No. 1 placement head is moved back to the initial position defined in step 2, No. 1 placement head is rotated respectively to institute State 0 °, 90 °, 180 ° and 270 ° of positions in device coordinate system, call image detecting program, according to described 4 angles of rotation, Obtain demarcating position coordinateses in fixed camera for the nozzle head centre dot, be designated as (x respectively0,y0)、(x90,y90)、(x180, y180) and (x270,y270), unit is pixel;And record now No. 1 placement head position coordinateses in device coordinate system (xEquipment,yEquipment), unit is mm, and described No. 1 placement head is the initial point of placement head coordinate system;Heretofore described rotation is inverse Hour hands rotate.
Step 4: 360 ° of positions that No. 1 placement head is rotated to described device coordinate system, that is, first defined in step 2 Beginning position, repeat step two, obtain 4 groups of position coordinateses d '1(x′1,y′1)、d′2(x′2,y′2)、d′3(x′3,y′3)、d′4(x′4, y′4), unit is pixel;
Step 5: 8 shift position coordinates of the placement head being obtained according to step 2 and step 4, it is calculated 4 anglecs of rotation Degree θ1、θ2、θ′1With θ '2, the anglec of rotation under device coordinate system for the final fixed camera coordinate system is Detailed process is:
Step May Day: calculate d1、d2Point and d3、d4Point group is in line the angle in image coordinate system:
θ 1 = t a n - 1 y 1 - y 2 x 2 - x 1 θ 2 = tan - 1 x 3 - x 4 y 3 - y 4
Step 5 two: calculate d '1、d′2Point and d '3、d′4Point group is in line the angle in device coordinate system:
θ 1 ′ = tan - 1 y 1 ′ - y 2 ′ x 2 ′ - x 1 ′ θ 2 ′ = tan - 1 x 3 ′ - x 4 ′ y 3 ′ - y 4 ′
Step 5 three: θ1, θ2, θ '1, θ '2Should be roughly equal, the calculating anglec of rotation in device coordinate system for the fixed camera:
Step 6: 8 shift position coordinates according to obtaining No. 1 placement head in step 2 and step 4 calculate fixation The width of pixel on camera x and y direction, i.e. fixed camera scale in the x and y direction, it is designated as w respectivelyFixed camera xAnd wFixed camera y, single Position is mm/pix;
Step 7: in step 3, after 4 angles of rotation, demarcate position in fixed camera for the nozzle head centre dot Coordinate, is designated as (x respectively0,y0)、(x90,y90)、(x180,y180) and (x270,y270), demarcation nozzle head is calculated according to this 4 class value Mean place coordinate in fixed camera coordinate system for the center
Step 8: by position coordinateses (x in device coordinate system for No. 1 placement head of record in step 3Equipment,yEquipment), step Rapid five and the parameter that obtains of step 6 and step 7 and coordinate figure bring equation below into:
It is calculated the photocentre of the fixed camera coordinate (x in device coordinate systemFixed camera,yFixed camera).
Specific embodiment two:
From unlike specific embodiment one, step one particularly as follows:
Step is one by one: clicks on the functional keyss for paster fixed camera, fixing phase is read in the prompting according to graphic interface The movable length a of machine;
Step one two: all suction nozzles are placed in the prompting according to graphical interfaces;
Step one three: control hardware to obtain demarcation nozzle head from nozzle head lay down location, according to the graphical interfaces of chip mounter Prompting moves to No. 1 placement head directly over fixed camera central visual field position;
Step one four: control No. 1 placement head to move to above fixed camera center.
Present embodiment can be in concrete operations:
1) click on<the 5. fixed camera 1>button in chip mounter, point out to place suction nozzle.From " movable length " combo box Read the movable length of fixed camera in " fixed camera " control, be set to a (a > 0), unit mm.
2) click on next button, place all suction nozzles.No. 1 placement head of prompting is drawn from anc and is demarcated suction nozzle.
3) hardware is controlled to obtain calibration tool from anc, software interface display waits " acquisition calibration tool ", controls image Part shows the image of flight camera 1.Mobile No. 1 placement head of prompting is to directly over fixed camera central visual field position.
4) No. 1 placement head is controlled to move to above fixed camera center, image display window shows fixed camera Image, software interface display waits moving process.
Other structures and parameter are identical with specific embodiment one.
Specific embodiment three:
From unlike specific embodiment one or two, step 2 particularly as follows:
Step 2 one: No. 1 placement head is moved along the x-axis-a/2, if now No. 1 placement head is relatively fixed the seat of camera photocentre It is designated as d (x, y)=(- a/2,0), unit mm;
Step 2 two: the image that now fixed camera is photographed inputs to image detecting program, obtains demarcating nozzle head Position d in fixed camera for the centre dot1(x1,y1), unit is pixel;
Step 2 three: No. 1 placement head is moved along the x-axis a, the coordinate that now No. 1 placement head is relatively fixed camera photocentre is (a/2,0), the image that now fixed camera is photographed inputs to image detecting program, obtains position in fixed camera for the center of circle Put d2(x2,y2), unit pixel;
Step 2 four: No. 1 placement head is moved along the x-axis-a/2, and moves-a/2 along y-axis, now No. 1 placement head is relative The coordinate of fixed camera photocentre is that (0, a/2), the image that now fixed camera is photographed inputs to image detecting program, obtains Position in fixed camera for the center of circle, is designated as d3(x3,y3), unit pixel;
Step 2 five: No. 1 placement head is moved a along y-axis, the coordinate that now No. 1 placement head is relatively fixed camera photocentre is (0, a/2), repeat step two or two, obtain position in fixed camera for the center of circle, be designated as d4(x4,y4), unit pixel.
Other structures and parameter are identical with specific embodiment one or two.
Specific embodiment four:
From unlike one of specific embodiment one to three, the step 3 of present embodiment particularly as follows:
Step 3 one: No. 1 placement head is moved back to the initial position defined in step 2, now fixed camera is photographed Image inputs to image detecting program, obtains demarcating position in fixed camera for the nozzle head center, is designated as d0(x0,y0), unit Pixel;
Step 3 two: No. 1 placement head is rotated the figure photographing to fixed camera when 90 °, 180 ° and 270 ° of positions respectively As inputting to image detecting program, obtain demarcating correspondence position in fixed camera for the nozzle head center, be designated as (x90,y90)、 (x180,y180)、(x270,y270), unit is pixel, and records position coordinateses in device coordinate system for No. 1 placement head for (xEquipment, yEquipment), unit is mm.
One of other structures and parameter and specific embodiment one to three are identical.
Specific embodiment five:
From unlike one of specific embodiment one to four, the step 4 of present embodiment particularly as follows:
Step 4 one: No. 1 placement head is rotated to 360 ° of positions, i.e. initial position defined in step 2;
Step 4 two: No. 1 placement head is moved a/2 along x negative sense axle, if now No. 1 placement head is relatively fixed camera photocentre Coordinate be d ' (x ', y ')=(- a/2,0), unit be mm;
Step 4 three: the image that now fixed camera is photographed inputs to image detecting program, obtains demarcating nozzle head Position d ' in fixed camera for the centre dot1(x′1,y′1), unit is pixel;
Step 4 four: by No. 1 placement head along the positive mobile a of x-axis, now No. 1 placement head is relatively fixed the seat of camera photocentre It is designated as (a/2,0), the image that now fixed camera is photographed inputs to image detecting program, obtain the center of circle in fixed camera Position, be designated as d '2(x′2,y′2), unit pixel;
Step 4 five: No. 1 placement head is moved a/2 along x-axis negative sense, and moves a/2, now No. 1 paster along y-axis negative sense The coordinate that head is relatively fixed camera photocentre be d ' (x ', y ')=(0, a/2), image that now fixed camera is photographed input to Image detecting program, obtains position in fixed camera for the center of circle, is designated as d '3(x′3,y′3), unit pixel;
Step 4 six: along the positive mobile a of y-axis, the coordinate that now No. 1 placement head is relatively fixed camera photocentre is d ' to placement head (x ', y ')=(0, a/2), the image that now fixed camera is photographed inputs to image detecting program, obtains the center of circle and is fixing Magazine position, is designated as d '4(x′4,y′4), unit pixel.
Now, four positions are as shown in Figure 3.Wherein, position 1 ', 2 ' is parallel with y-axis, and position 3 ', 4 ' is parallel with x-axis. If coordinate in image coordinate system for the datum mark is (x ' on each positioni,y′i), i=1,2,3,4.
One of other structures and parameter and specific embodiment one to four are identical.
Specific embodiment six:
From unlike one of specific embodiment one to five, the step 6 of present embodiment particularly as follows:
Step 2 is brought into following public affairs with 8 different shift position coordinates of No. 1 placement head of acquisition in step 4 Calculated in formula.
Step 6 one: on fixed camera x direction, the width of pixel is:
Step 6 two: on fixed camera y direction, the width of pixel is:
One of other structures and parameter and specific embodiment one to six are identical.
One of other structures and parameter and specific embodiment one to five are identical.
Specific embodiment seven:
From unlike one of specific embodiment one to six, the step 7 of present embodiment particularly as follows:
4 groups of position of rotation coordinate (x in fixed camera for the placement head center will be demarcated in step 30,y0)、(x90,y90)、 (x180,y180) and (x270,y270) be brought in formula to carry out being calculated and demarcate placement head center in fixed camera coordinate system Mean place coordinateSpecific formula for calculation is as follows:
x &overbar; = &sigma; i = 0 , 90 , 180 , 270 x i / 4
y &overbar; = &sigma; i = 0 , 90 , 180 , 270 y i / 4
One of other structures and parameter and specific embodiment one to six are identical.
Specific embodiment eight:
From unlike one of specific embodiment one to seven, the step 8 of present embodiment particularly as follows:
By position coordinateses (x in device coordinate system for No. 1 placement head of record in step 3Equipment,yEquipment), step 5 and step Rapid six and step 7 in the rotation angle value that calculates, scale value and coordinate figure substitute into equation below:
It is calculated the photocentre of the fixed camera coordinate (x in device coordinate systemFixed camera,yFixed camera).
One of other structures and parameter and specific embodiment one to seven are identical.
Specific embodiment nine:
From unlike one of specific embodiment one to eight, the moving long of fixed camera timing placement head in step one Degree a is 5mm.

Claims (9)

1. a kind of fixed camera bearing calibration is it is characterised in that realize according to the following steps:
Step one: initialization chip mounter camera setting, the movable length a of setting fixed camera timing placement head, unit is mm, No. 1 placement head, after anc nozzle head groove is drawn and demarcated nozzle head, moves to directly over the fixed camera visual field, described demarcation is inhaled Mouth is the object of correction;
Step 2: this moment No. 1 position in device coordinate system for the placement head is set to initial position, first by No. 1 placement head along The x-axis negative direction of device coordinate system moves a/2 length, recalls image detecting program, obtains demarcation nozzle head center and is fixing Magazine position coordinateses, are designated as d1 (x1,y1);Then No. 1 placement head is moved back to initial position, then by No. 1 placement head along setting The x-axis positive direction of standby coordinate system moves a/2 length, calls image detecting program, obtains demarcating nozzle head center in fixed camera In position coordinateses, be designated as d2 (x2, y2);No. 1 placement head is moved back to initial position, then by No. 1 placement head along device coordinate The y-axis negative direction of system moves a/2 length, calls image detecting program, obtains demarcating position in fixed camera for the nozzle head center Put coordinate, be designated as d3 (x3, y3);Then No. 1 placement head is moved back to initial position, then by No. 1 placement head along device coordinate system Y-axis positive direction move a/2 length, call image detecting program, obtain demarcate position in fixed camera for the nozzle head center Coordinate, is designated as d4 (x4,y4), the unit of described position coordinateses is mm;
Step 3: No. 1 placement head is moved back to the initial position defined in step 2, No. 1 placement head is rotated respectively and sets to described 0 °, 90 °, 180 ° and 270 ° of positions in standby coordinate system, call image detecting program, according to described 4 angles of rotation, obtain Demarcate position coordinateses in fixed camera for the nozzle head centre dot, be designated as (x respectively0,y0)、(x90,y90)、(x180,y180) and (x270,y270), unit is pixel;And record now No. 1 placement head position coordinateses (x in device coordinate systemEquipment, yEquipment), unit is mm, and described No. 1 placement head is the initial point of placement head coordinate system;
Step 4: 360 ° of positions that No. 1 placement head is rotated to described device coordinate system, i.e. initial bit defined in step 2 Put, repeat step two, obtain 4 groups of position coordinateses d '1(x′1,y′1)、d′2(x′2,y′2)、d′3(x′3,y′3)、d′4(x′4,y′4), Unit is pixel;
Step 5: 8 shift position coordinates of the placement head being obtained according to step 2 and step 4, it is calculated 4 anglecs of rotation θ1、θ2、θ′1With θ '2, the anglec of rotation under device coordinate system for the final fixed camera coordinate system is Detailed process is:
Step May Day: calculate d1、d2Point and d3、d4Point group is in line the angle in image coordinate system:
&theta; 1 = tan - 1 y 1 - y 2 x 2 - x 1 &theta; 2 = tan - 1 x 3 - x 4 y 3 - y 4
Step 5 two: calculate d '1、d′2Point and d '3、d′4Point group is in line the angle in device coordinate system:
&theta; 1 &prime; = tan - 1 y 1 &prime; - y 2 &prime; x 2 &prime; - x 1 &prime; &theta; 2 &prime; = tan - 1 x 3 &prime; - x 4 &prime; y 3 &prime; - y 4 &prime;
Step 5 three: θ1, θ2, θ '1, θ '2Should be roughly equal, the calculating anglec of rotation in device coordinate system for the fixed camera:
Step 6: 8 shift position coordinates according to obtaining No. 1 placement head in step 2 and step 4 calculate fixed camera The width of pixel on x and y direction, i.e. fixed camera scale in the x and y direction, it is designated as w respectivelyFixed camera xAnd wFixed camera y, unit is mm/pix;
Step 7: in step 3, after 4 angles of rotation, demarcate position coordinateses in fixed camera for the nozzle head centre dot, It is designated as (x respectively0,y0)、(x90,y90)、(x180,y180) and (x270,y270), demarcation nozzle head center is calculated according to this 4 class value Mean place coordinate in fixed camera coordinate system
Step 8: by position coordinateses (x in device coordinate system for No. 1 placement head of record in step 3Equipment,yEquipment), step 5 The parameter obtaining with step 6 and step 7 and coordinate figure bring equation below into:
It is calculated the photocentre of the fixed camera coordinate (x in device coordinate systemFixed camera,yFixed camera).
2. fixed camera bearing calibration according to claim 1 it is characterised in that step one particularly as follows:
Step is one by one: clicks on the functional keyss for paster fixed camera, fixed camera is read in the prompting according to graphic interface Movable length a;
Step one two: all suction nozzles are placed in the prompting according to graphical interfaces;
Step one three: control hardware to obtain demarcation nozzle head from nozzle head lay down location, according to the graphical interfaces prompting of chip mounter No. 1 placement head is moved to directly over fixed camera central visual field position;
Step one four: control No. 1 placement head to move to above fixed camera center.
3. fixed camera bearing calibration according to claim 1 it is characterised in that step 2 particularly as follows:
Step 2 one: No. 1 placement head is moved along the x-axis-a/2, if the coordinate that now No. 1 placement head is relatively fixed camera photocentre is D (x, y)=(- a/2,0), unit mm;
Step 2 two: the image that now fixed camera is photographed inputs to image detecting program, obtains demarcating nozzle head center Position d in fixed camera for the round dot1(x1,y1), unit is pixel;
Step 2 three: No. 1 placement head is moved along the x-axis a, the coordinate that now No. 1 placement head is relatively fixed camera photocentre be (a/2, 0) image, now fixed camera being photographed inputs to image detecting program, obtains position d in fixed camera for the center of circle2 (x2,y2), unit is pixel;
Step 2 four: No. 1 placement head is moved along the x-axis-a/2, and moves-a/2 along y-axis, now No. 1 placement head is relatively fixed The coordinate of camera photocentre is that (0, a/2), the image that now fixed camera is photographed inputs to image detecting program, obtains the center of circle Position in fixed camera, is designated as d3(x3,y3), unit is pixel;
Step 2 five: No. 1 placement head is moved a along y-axis, the coordinate that now No. 1 placement head is relatively fixed camera photocentre is (0, a/ 2), repeat step two or two, obtain position in fixed camera for the center of circle, are designated as d4(x4,y4), unit is pixel.
4. fixed camera bearing calibration according to claim 1 it is characterised in that step 3 particularly as follows:
Step 3 one: No. 1 placement head is moved back to the initial position defined in step 2, the image that now fixed camera is photographed Input to image detecting program, obtain demarcating position in fixed camera for the nozzle head center, be designated as d0(x0,y0), unit is picture Element;
Step 3 two: No. 1 placement head is rotated respectively to fixed camera when 90 °, 180 ° and 270 ° of positions the image photographing defeated Enter to image detecting program, obtain demarcating correspondence position in fixed camera for the nozzle head center, be designated as (x90,y90)、(x180, y180)、(x270,y270), unit is pixel, and records position coordinateses in device coordinate system for No. 1 placement head for (xEquipment,yEquipment), Unit is mm.
5. fixed camera bearing calibration according to claim 1 it is characterised in that step 4 particularly as follows:
Step 4 one: No. 1 placement head is rotated to 360 ° of positions, i.e. initial position defined in step 2;
Step 4 two: No. 1 placement head is moved a/2 along x negative sense axle, if now No. 1 placement head is relatively fixed the seat of camera photocentre It is designated as d ' (x ', y ')=(- a/2,0), unit is mm;
Step 4 three: the image that now fixed camera is photographed inputs to image detecting program, obtains demarcating nozzle head center Position d ' in fixed camera for the round dot1(x′1,y′1), unit is pixel;
Step 4 four: by No. 1 placement head along the positive mobile a of x-axis, the coordinate that now No. 1 placement head is relatively fixed camera photocentre is (a/2,0), the image that now fixed camera is photographed inputs to image detecting program, obtains position in fixed camera for the center of circle Put, be designated as d '2(x′2,y′2), unit is pixel;
Step 4 five: No. 1 placement head is moved a/2 along x-axis negative sense, and moves a/2, now No. 1 placement head phase along y-axis negative sense Coordinate to fixed camera photocentre is that d ' (x ', y ')=(0, a/2), the image that now fixed camera is photographed inputs to image Detection program, obtains position in fixed camera for the center of circle, is designated as d '3(x′3,y′3), unit is pixel;
Step 4 six: placement head along the positive mobile a of y-axis, coordinate that now No. 1 placement head is relatively fixed camera photocentre be d ' (x ', Y ')=(0, a/2), the image that now fixed camera is photographed inputs to image detecting program, obtains the center of circle in fixed camera In position, be designated as d '4(x′4,y′4), unit is pixel.
6. fixed camera bearing calibration according to claim 1 it is characterised in that step 6 particularly as follows:
Step 2 is brought in formula below with 8 different shift position coordinates of No. 1 placement head of acquisition in step 4 Calculated;
Step 6 one: on fixed camera x direction, the width of pixel is:
Step 6 two: on fixed camera y direction, the width of pixel is:
7. fixed camera bearing calibration according to claim 1 it is characterised in that step 7 particularly as follows:
4 groups of position of rotation coordinate (x in fixed camera for the placement head center will be demarcated in step 30,y0)、(x90,y90)、 (x180,y180) and (x270,y270) be brought in formula to carry out being calculated and demarcate placement head center in fixed camera coordinate system Mean place coordinateSpecific formula for calculation is as follows:
x &overbar; = &sigma; i = 0 , 90 , 180 , 270 x i / 4
y &overbar; = &sigma; i = 0 , 90 , 180 , 270 y i / 4.
8. fixed camera bearing calibration according to claim 1 it is characterised in that step 8 particularly as follows:
By position coordinateses (x in device coordinate system for No. 1 placement head of record in step 3Equipment,yEquipment), step 5 and step 6 And rotation angle value, scale value and the coordinate figure substitution equation below calculating in step 7:
It is calculated the photocentre of the fixed camera coordinate (x in device coordinate systemFixed camera,yFixed camera).
9. fixed camera bearing calibration according to claim 1 is it is characterised in that described fixed camera timing placement head Movable length a be 5mm.
CN201610873046.3A 2016-09-30 2016-09-30 A kind of fixed camera bearing calibration Active CN106341956B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610873046.3A CN106341956B (en) 2016-09-30 2016-09-30 A kind of fixed camera bearing calibration

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610873046.3A CN106341956B (en) 2016-09-30 2016-09-30 A kind of fixed camera bearing calibration

Publications (2)

Publication Number Publication Date
CN106341956A true CN106341956A (en) 2017-01-18
CN106341956B CN106341956B (en) 2019-04-30

Family

ID=57839764

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610873046.3A Active CN106341956B (en) 2016-09-30 2016-09-30 A kind of fixed camera bearing calibration

Country Status (1)

Country Link
CN (1) CN106341956B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018209633A1 (en) * 2017-05-18 2018-11-22 深圳配天智能技术研究院有限公司 Automatic correction method and device based on and vibration displacement of vision system, and vision system
CN109862244A (en) * 2019-02-14 2019-06-07 浙江中控太阳能技术有限公司 A kind of thermal shield and camera calibration device of correcting camera
CN110996644A (en) * 2019-11-14 2020-04-10 深圳市旗众智能科技有限公司 Height adjusting method for multiple suction rods of chip mounter
CN112697112A (en) * 2020-12-29 2021-04-23 东南大学 Method and device for measuring horizontal plane inclination angle of camera
CN112862903A (en) * 2021-03-03 2021-05-28 深圳市旗众智能科技有限公司 Offset calibration method for chip mounter camera and suction rod

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH081591A (en) * 1994-06-15 1996-01-09 Japan Steel Works Ltd:The Board hole drilling method and board hole drilling machine
CN1422113A (en) * 2001-11-28 2003-06-04 华为技术有限公司 Surface mount machine correcting instrument
US20030192178A1 (en) * 2000-06-21 2003-10-16 Wataru Hidese Component mounter and mounting method
CN101107899A (en) * 2005-03-10 2008-01-16 松下电器产业株式会社 Method of mounting component and component mounter
CN102073191A (en) * 2009-11-06 2011-05-25 三星泰科威株式会社 Shake correction module, camera module comprising the same, and method of manufacturing the camera module

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH081591A (en) * 1994-06-15 1996-01-09 Japan Steel Works Ltd:The Board hole drilling method and board hole drilling machine
US20030192178A1 (en) * 2000-06-21 2003-10-16 Wataru Hidese Component mounter and mounting method
CN1422113A (en) * 2001-11-28 2003-06-04 华为技术有限公司 Surface mount machine correcting instrument
CN101107899A (en) * 2005-03-10 2008-01-16 松下电器产业株式会社 Method of mounting component and component mounter
CN102073191A (en) * 2009-11-06 2011-05-25 三星泰科威株式会社 Shake correction module, camera module comprising the same, and method of manufacturing the camera module

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018209633A1 (en) * 2017-05-18 2018-11-22 深圳配天智能技术研究院有限公司 Automatic correction method and device based on and vibration displacement of vision system, and vision system
CN109862244A (en) * 2019-02-14 2019-06-07 浙江中控太阳能技术有限公司 A kind of thermal shield and camera calibration device of correcting camera
CN110996644A (en) * 2019-11-14 2020-04-10 深圳市旗众智能科技有限公司 Height adjusting method for multiple suction rods of chip mounter
CN112697112A (en) * 2020-12-29 2021-04-23 东南大学 Method and device for measuring horizontal plane inclination angle of camera
CN112862903A (en) * 2021-03-03 2021-05-28 深圳市旗众智能科技有限公司 Offset calibration method for chip mounter camera and suction rod
CN112862903B (en) * 2021-03-03 2022-10-18 深圳市旗众智能科技有限公司 Offset calibration method between chip mounter camera and suction rod

Also Published As

Publication number Publication date
CN106341956B (en) 2019-04-30

Similar Documents

Publication Publication Date Title
CN106341956A (en) Fixed camera calibration method
US8452568B2 (en) Method for calibrating cameras installed on vehicle
CN105974940B (en) Method for tracking target suitable for aircraft
CN104260112B (en) A kind of Robot Hand-eye localization method
CN109685858A (en) A kind of monocular cam online calibration method
WO2017135081A1 (en) Vehicle-mounted camera calibration system
CN109465832A (en) High-precision vision and the tight fusion and positioning method of IMU and system
CN107255476A (en) A kind of indoor orientation method and device based on inertial data and visual signature
CN105216437B (en) Alignment light source image deviation adjustment self-calibration method
CN106774431A (en) One kind mapping unmanned plane route planning method and device
CN108489454A (en) Depth distance measurement method, device, computer readable storage medium and electronic equipment
CN103578109A (en) Method and device for monitoring camera distance measurement
WO2004113836A1 (en) Picked-up image display method
US20170048816A1 (en) Method and apparatus for robust localization in outdoor environments
CN110022444A (en) The panorama photographic method of unmanned flight&#39;s machine and the unmanned flight&#39;s machine for using it
CN110388919B (en) Three-dimensional model positioning method based on feature map and inertial measurement in augmented reality
CN103279956A (en) Method for detecting positional accuracy of components of chip mounter
CN109765936A (en) The positioning and control method of mobile terminal, device and unmanned plane
CN114136315B (en) Monocular vision-based auxiliary inertial integrated navigation method and system
CN106352871A (en) Indoor visual positioning system and method based on artificial ceiling beacon
CN106376230A (en) Correction method for offset quantity of surface-mounted head
CN107784633B (en) Unmanned aerial vehicle aerial image calibration method suitable for plane measurement
CN109374015A (en) A kind of Magnetic Sensor on-line calibration method
CN111750896B (en) Holder calibration method and device, electronic equipment and storage medium
CN109732601A (en) A kind of automatic Calibration robot pose method and apparatus vertical with camera optical axis

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant