CN101758028A - Autorotation correcting method for chip angle based on machine vision - Google Patents

Autorotation correcting method for chip angle based on machine vision Download PDF

Info

Publication number
CN101758028A
CN101758028A CN 201010019540 CN201010019540A CN101758028A CN 101758028 A CN101758028 A CN 101758028A CN 201010019540 CN201010019540 CN 201010019540 CN 201010019540 A CN201010019540 A CN 201010019540A CN 101758028 A CN101758028 A CN 101758028A
Authority
CN
China
Prior art keywords
chip
film
theta
sin
cos
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
CN 201010019540
Other languages
Chinese (zh)
Other versions
CN101758028B (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.)
DG-HUST MANUFACTURING ENGINEERING INSTITUTE
Dongguan Huake Manufacturing Engineering Research Institute Co.,Ltd.
Dongguan Huake precision silicon electrical equipment Co.,Ltd.
Original Assignee
DONGGUAN XUNKE INFORMATION TECHNOLOGY Co Ltd
DG-HUST MANUFACTURING ENGINEERING INSTITUTE
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 DONGGUAN XUNKE INFORMATION TECHNOLOGY Co Ltd, DG-HUST MANUFACTURING ENGINEERING INSTITUTE filed Critical DONGGUAN XUNKE INFORMATION TECHNOLOGY Co Ltd
Priority to CN 201010019540 priority Critical patent/CN101758028B/en
Publication of CN101758028A publication Critical patent/CN101758028A/en
Application granted granted Critical
Publication of CN101758028B publication Critical patent/CN101758028B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Analysis (AREA)
  • Image Processing (AREA)
  • Control Of Position Or Direction (AREA)

Abstract

The invention relates to an autorotation correcting method for chip angle based on machine vision, which comprises the following steps: acquiring the original position coordinates Xi and Yi and the deflection angle theta i of a chip i on a chip film; acquiring the rotating center position coordinates Ox and Oy of the chip film; back calculating the theory position coordinates X'i and Y'i after theory rotation of the chip i; selecting a chip m on the chip film and assuming m as 1; actually rotating the chip film for a deflection angle theta m of the chip m; acquiring deviations lambda mx and lambda my between the actual position coordinates after actual rotation of the chip and the theory position coordinates X'm and Y'm after theory rotation of the chip; judging whether the deviations lambda mx and lambda my are larger than a threshold; if the deviations lambda mx and lambda my are larger than the threshold, correcting the rotating center position coordinates O'x and O'y, back calculating the theory position coordinates X''m and Y''m after theory rotation of the chip after correction again, and moving to correct the chip position; if the deviations lambda mx and lambda my are not larger than the threshold, moving to correct the chip position according to the theory position coordinates X'm and Y'm after theory rotation of the chip; and carrying out angle correction of the next chip. The invention can combine the machine vision to accurately correct the chip, and the correcting result has high accuracy, thereby further improving the sorting velocity of the chips.

Description

A kind of autorotation correcting method for chip angle based on machine vision
Technical field
The present invention relates to led chip sorting technology field, particularly relate to a kind of autorotation correcting method for chip angle based on machine vision.
Background technology
Common, in the led chip assorting room since the chip film before the die grading when expanding sheet on the film cohesive force and chip chamber bonding force etc. can cause segment chip to produce deflection angle, this deflection angle is the angle with respect to the lathe conventional coordinates.Yet require after the led chip sorting chip according to type, on chip film, only allow low-angle deviation so that the encapsulation of led chip with the form proper alignment of square sheet.Deflection angle occurs as fruit chip, then need to realize aiming at, and carry out the position compensation of chip, so that carry out chip pickup by the angle rotation correction.Therefore, in the led chip assorting room, carry out the chip angle rotation correction, make that chip can proper alignment be a difficult problem in the led chip sorting process on chip film.
Therefore, needing badly provides a kind of and can make chip proofread and correct exactly in conjunction with machine vision, further improves the autorotation correcting method for chip angle based on machine vision of the separation velocity of chip.
Summary of the invention
Based on the deficiencies in the prior art, the problem that the present invention need solve is: providing a kind of can make chip proofread and correct exactly in conjunction with machine vision, further improves the autorotation correcting method for chip angle based on machine vision of the separation velocity of chip.
For addressing the above problem, the invention provides a kind of autorotation correcting method for chip angle based on machine vision, it may further comprise the steps:
A, driving image identification system are discerned chip film, obtain the home position coordinate X of chip i on the described chip film i, Y iAnd deflection angle θ i, wherein, i=1,2,3...n, n are total number of chip on the described chip film;
B, obtain the position coordinates O of the pivot of described chip film x, O y
C, with the home position coordinate X of chip i on the described chip film i, Y i, deflection angle θ iAnd the position coordinates O of the pivot of described chip film x, O y, the theoretical postrotational theoretical position coordinate X ' of the described chip i of inverse i, Y ' i
D, choose the chip m on the described chip film, establish m=1;
Wherein, chip m is the wherein chips in all chips on the described chip film;
E, with the deflection angle θ of described chip film with chip m mCarry out actual rotation;
F, driving image identification system are discerned chip m, obtain the theoretical postrotational theoretical position coordinate X ' of the actual postrotational actual position coordinate of this chip and this chip m, Y ' mBetween deviation λ m x, λ m y
Deviation λ in G, the described step F of judgement m x, λ m yWhether greater than a certain threshold value, if, then according to described deviation λ m x, λ m yPosition coordinates O to the pivot of the chip film obtained among the described step B x, O yRevise, again according to the position coordinates O ' of revised pivot x, O ' y, the theoretical postrotational theoretical position coordinate X of revised this chip of inverse again " m, Y " m, and according to the theoretical postrotational theoretical position coordinate X of revised this chip " m, Y " mMove and carry out this chip position correction; Otherwise, according to the theoretical postrotational theoretical position coordinate X ' of this chip m, T ' mMove and carry out this chip position correction;
H, judge whether m equals n, if then finish the angle correct of all chips on this chip film; Otherwise, m=m+1, and with described chip film with deflection angle θ mM-1Carry out actual rotation, directly return step F.
Wherein, above-mentioned steps B specifically comprises:
B1, a wherein chips of demarcating on the described chip film are certain chip;
B2, the described chip film of driving are rotated different angles, write down the position coordinates of described certain chip when at every turn rotating respectively, and described position coordinates is stored to sample set, and wherein, described sample set is with respect to coordinate on the circle of the pivot of described chip film;
B3, according to the sample set among the described step B2, utilize least square method to calculate the match equation of a circle of described chip film, thereby obtain the position coordinates O of the pivot of described chip film x, O y
Wherein, above-mentioned steps C specifically comprises:
Judge the deflection angle θ of described chip i i
If θ iFor just, further judge the position coordinates O of described chip i with respect to the pivot of described chip film x, O yThe quadrant at place;
If at first quartile, establish θ k = arctan ( Y i - O y X i - O x ) + θ i ,
Then work as θ kIn the time of≤90 °, X ' i=O x+ R i* cos (θ k), Y i'=O y+ R i* sin (θ k);
Work as θ kIn the time of>90 °, X ' i=O x-R i* sin (θ k-90 °), Y i'=O y+ R i* cos (θ k-90 °);
If at second quadrant, establish θ k = arctan ( Y i - O y X i - O x ) - θ i ,
Then work as θ kIn the time of 〉=0 °, X ' i=O x-R i* cos (θ k), Y i'=O y+ R i* sin (θ k);
Work as θ kIn the time of<0 °, X ' i=O x-R i(0 °-θ of * cos k), Y i'=O y-R i(0 °-θ of * sin k);
If at third quadrant, establish θ k = arctan ( Y i - O y X i - O x ) + θ i ,
Then work as θ kIn the time of≤90 °, X ' i=O x-R i* cos (θ k), Y i'=O y-R i* sin (θ k);
Work as θ kIn the time of>90 °, X ' i=O x+ R i* sin (θ k-90 °), Y i'=O y-R i* cos (θ k-90 °);
If at four-quadrant, establish θ k = arctan ( Y i - O y X i - O x ) - θ i ,
Then work as θ kIn the time of 〉=0 °, X ' i=O x+ R i* cos (θ k), Y i'=O y-R i* sin (θ k);
Work as θ kIn the time of<0 °, X ' i=O x+ R i(0 °-θ of * cos k), Y i'=O y+ R i(0 °-θ of * sin k);
If θ iFor negative, further judge the position coordinates O of described chip i with respect to the pivot of described chip film x, O yThe quadrant at place;
If at first quartile, establish θ k = arctan ( Y i - O y X i - O x ) - θ i ,
Then work as θ kIn the time of 〉=0 °, X ' i=O x+ R i* cos (θ k), Y i'=O y+ R i* sin (θ k);
Work as θ kIn the time of<0 °, X ' i=O x+ R i* cos (0-θ k), Y i'=O y-R i(0 °-θ of * sin k);
If at second quadrant, establish θ k = arctan ( Y i - O y X i - O x ) + θ i ,
Then work as θ kIn the time of≤90 °, X ' i=O x-R i* cos (θ k), Y i'=O y+ R i* sin (θ k);
Work as θ kIn the time of>90 °, X ' i=O x+ R i* sin (θ k-90 °), Y i'=O y+ R i* cos (θ k-90 °);
If at third quadrant, establish θ k = arctan ( Y i - O y X i - O x ) - θ i ,
Then work as θ kIn the time of 〉=0 °, X ' i=O x-R i* cos (θ k), Y i'=O y-R i* sin (θ k)
Work as θ kIn the time of<0 °, X ' i=O x-R i(0 °-θ of * cos k), Y i'=O y+ R i(0 °-θ of * sin k);
If at four-quadrant, establish θ k = arctan ( Y i - O y X i - O x ) + θ i ,
Then work as θ kIn the time of 〉=0 °, X ' i=O x+ R i* cos (θ k), Y i'=O y-R i* sin (θ k);
Work as θ kIn the time of<0 °, X ' i=O x-R i* cos (θ k-90 °), Y i'=O y-R i* sin (θ k-90 °);
If θ iWhen being 0 °, the theoretical postrotational theoretical position coordinate X ' of described chip i i, Y ' iHome position coordinate X for this chip i, Y i
Continue step D;
Wherein, R iBe the pivot O of described chip i to described chip film x, O yDistance, described chip i is to the pivot O of described chip film x, O yDistance R i by following formula
R i = ( X i - O x ) 2 + ( Y i - O y ) 2 Calculate.
Wherein, among the above-mentioned steps G according to described deviation λ m x, λ m yPosition coordinates O to the pivot of the chip film obtained among the described step B x, O yThe step of revising is specially:
The home position coordinate of I01, the described chip m of setting is X m, Y m, the theoretical postrotational theoretical position coordinate of described chip m is X ' m, Y ' m;
I02, according to described deviation λ m x, λ m yWith the theoretical postrotational theoretical position coordinate X ' of chip m m, Y ' m, indicating the actual postrotational actual position coordinate of described chip m is X ' mm x, Y ' mm y
I03, utilize the position coordinates O of following formula to the pivot of described chip film x, O yRevise, the position coordinates of establishing the pivot of revised described chip film is O ' x, O ' y:
Figure G2010100195406D00051
Figure G2010100195406D00052
Wherein, R ' mBe the pivot O ' of m chips to revised described chip film x, O ' yDistance, described m chips is to the pivot O ' of revised described chip film x, O ' yDistance R ' mBy following formula
R m ′ = ( X m - X m ′ + λ m x ) 2 + ( Y m - Y m ′ + λ m y ) 2 2 × sin ( θ m / 2 ) Calculate.
Among the present invention, obtain the home position coordinate X of chip i on the chip film i, Y iAnd deflection angle θ i, wherein, i=1,2,3...n, n are total number of chip on the described chip film; Obtain the position coordinates O of the pivot of chip film x, O yThe theoretical postrotational theoretical position coordinate X ' of inverse chip i i, Y i'; Choose the chip m on the chip film, establish m=1; With the deflection angle θ of chip film with chip m mCarry out actual rotation; Drive image identification system chip m is discerned, obtain the theoretical postrotational theoretical position coordinate X ' of the actual postrotational actual position coordinate of this chip and this chip m, Y ' mBetween deviation λ m x, λ m yJudge deviation λ m x, λ m yWhether greater than a certain threshold value, if, then according to deviation λ m x, λ m yPosition coordinates O to the pivot of chip film x, O yRevise, again according to the position coordinates O ' of revised pivot x, O ' y, the theoretical postrotational theoretical position coordinate X of revised this chip of inverse again " m, Y " m, and according to the theoretical postrotational theoretical position coordinate X of revised this chip " m, Y " mMove and carry out this chip position correction; Otherwise, according to the theoretical postrotational theoretical position coordinate X ' of this chip m, Y ' mMove and carry out this chip position correction; Judge whether m equals n, if then finish the angle correct of all chips on this chip film; Otherwise, m=m+1, and with chip film with deflection angle θ mM-1Carry out actual rotation, directly return step F.
The present invention is based on the pivot of the position match chip film of Machine Vision Recognition chip, and by the theoretical postrotational theoretical position coordinate of the pivot coordinate inverse chip of match, based on basic turntable, it is auxiliary to need not external device, calculate and the image processing according to algorithm, finish the automatic rotation correction of angle of chip, be convenient to next step pick-up process of chip; In addition, the present invention also utilizes the deviation between actual postrotational actual position coordinate of chip and the theoretical postrotational theoretical position coordinate of this chip, the pivot of chip film is revised, thereby improved the accuracy that chip angle is proofreaied and correct.Compared with prior art, the present invention can make chip proofread and correct exactly in conjunction with machine vision, and the accuracy of proofreading and correct the result is higher, thereby further improves the separation velocity of chip.
Description of drawings
The invention will be further described to utilize accompanying drawing, but the embodiment in the accompanying drawing does not constitute any limitation of the invention.
Fig. 1 is the method flow diagram of a kind of autorotation correcting method for chip angle based on machine vision of the present invention.
The specific embodiment
With the following Examples the present invention is further described:
The embodiment of a kind of autorotation correcting method for chip angle based on machine vision of the present invention may further comprise the steps as shown in Figure 1:
Step 101. drives image identification system chip film is discerned, and obtains the home position coordinate X of chip i on the described chip film i, Y iAnd deflection angle θ i, wherein, i is the wherein chips on the described chip film, i=1, and 2,3...n, n are total number of chip on the described chip film.That obtain in this step is the home position coordinate X of all chips on the described chip film i, Y iAnd deflection angle θ iThis chip i on chip film position coordinates and fix with respect to the deflection angle of lathe conventional coordinates.
Step 102. is obtained the position coordinates O of the pivot of described chip film x, O yChip i on the chip film is with respect to the deflection angle θ of lathe coordinate system iFix, but since during the whole rotation of chip film around the position of pivot in lathe coordinate system be to measure, so the position that need utilize image recognition and binding data fitting method to ask for the pivot of this chip film.
Step 103. is with the home position coordinate X of chip i on the described chip film i, Y i, deflection angle θ iAnd the position coordinates O of the pivot of described chip film x, O y, the theoretical postrotational theoretical position coordinate X ' of the described chip i of inverse i, Y i'.This step 103 is specially: by judging the deflection angle θ of chip i iAnd the deflection angle θ of chip i iPosition coordinates O with respect to the pivot of described chip film x, O yThe quadrant at place, the computing formula that utilization is scheduled to is to the theoretical postrotational theoretical position coordinate X ' of described chip i i, Y i' carry out inverse.The theoretical postrotational theoretical position coordinate X ' of this chip i i, Y i' be the coordinate data that calculates in advance of the automatic rotation correction of chip angle system but not the actual coordinate value of actual rotation.
Step 104. is chosen the chip m on the described chip film, establishes m=1; Wherein, chip m is the wherein chips in all chips on the described chip film.
Step 105. is with the deflection angle θ of described chip film with chip m mCarry out actual rotation.The deflection angle θ of chip m mBe the deflection angle θ of the chip i in the step 101 iIn, the angle during i=m.The rotation of chip film is to be rotated by the rotating shaft that drives in the automatic rotation correction of the chip angle system.
Step 106. drives image identification system chip m is discerned, and obtains the theoretical postrotational theoretical position coordinate X ' of the actual postrotational actual position coordinate of this chip and this chip m, Y ' mBetween deviation λ m x, λ MyThe theoretical postrotational theoretical position coordinate X ' of this chip m, Y ' mBe the theoretical postrotational theoretical position coordinate X ' of the i of chip described in the step 103 i, Y i' in, the expression when i=m.
Step 107. is judged the deviation λ in the described step 106 m x, λ m yWhether greater than a certain threshold value, if, then according to described deviation λ m x, λ m yPosition coordinates O to the pivot of the chip film obtained in the described step 102 x, O yRevise, again according to the position coordinates O ' of revised pivot x, O ' y, the theoretical postrotational theoretical position coordinate X of revised this chip of inverse again " m, Y " m, and according to the theoretical postrotational theoretical position coordinate X of revised this chip " m, Y " mMove and carry out this chip position correction; Otherwise, according to the theoretical postrotational theoretical position coordinate X ' of this chip m, Y ' mMove and carry out this chip position correction.Carry out to carry out picking up of chip after chip position is proofreaied and correct.
Step 108. judges whether m equals n, if then finish the angle correct of all chips on this chip film; Otherwise, m=m+1, and with described chip film with deflection angle θ mM-1Carry out actual rotation, directly return step 106.
In addition, because the deflection angle value of the chip that image recognition obtains all is based on the absolute coordinate of lathe coordinate system, so the angle that the required reality of chip film is rotated during the angle correct that the current absolute anglec of rotation of chip film of record can be by current next chips of angle calculation.As: when the angle of first chips is 5 °, the angle of second crystal grain is 10 °, but because the position of the initial scanning of chip all is the absolute position with respect to lathe coordinate system.After first chips carried out angle correct, the formula of the second chips rotation correction stood good, calculated second chips counter ask the theoretical position coordinate after, the rotating shaft of chip film only need continue to rotate the 5 ° of angle corrects that can finish chip.
In the present embodiment, above-mentioned steps 102 specifically comprises:
B1, a wherein chips of demarcating on the described chip film are certain chip.
B2, the described chip film of driving are rotated different angles, write down the position coordinates of described certain chip when at every turn rotating respectively, and described position coordinates is stored to sample set, and wherein, described sample set is with respect to coordinate on the circle of the pivot of described chip film.
B3, according to the sample set among the described step B2, utilize least square method to calculate the match equation of a circle of described chip film, thereby obtain the position coordinates O of the pivot of described chip film x, O yThe method that this pivot of asking for chip film adopts image vision identification to combine with motion is rotated the method in the extraction of different rotary angle position and the approximate center of circle of match to same chip.Utilize the position coordinates O of the pivot of the chip film that said method tries to achieve x, O yAfter, the parameter of this coordinate as the automatic rotation correction of chip angle system can be stored.
The position coordinates that needs match chip film pivot, the coordinate on the circle that at first will to obtain one group of position coordinates with the chip film pivot be the center of circle.Method proposes to utilize the method for chip image identification that same chip is carried out the position record, whenever position of record, chip film rotation fixed angle, simultaneously in conjunction with motion control real-time ensuring chip in identified region.Obtain one group with respect to coordinate on the circle of chip pivot, utilize these group data to carry out the least square fitting circular curve at last: concrete computational process is as follows:
Suppose sample set (X i, Y i), (1,2,3.....30) totally 30 points are d to the distance in the center of circle to i ∈ i:
d i 2 = ( X i - O x ) 2 + ( Y i - O y ) 2
Point set to distance of center circle from the difference of two squares with radius of circle is:
δ i = d i 2 - R 2 = ( X i - O x ) 2 + ( Y i - O y ) 2 - R 2 = X i 2 + Y i 2 + aX i + b Y i + c , Then object function Q (a, b, c) for point set to distance of center circle from the quadratic sum of the difference of two squares of radius of circle:
Q ( a , b , c ) = Σ δ i 2 = Σ ( X i 2 + Y i 2 + aX i + bY i + c ) 2
With object function Q (c) minimum is a target, asks parameter a for a, b, b, c make object function Q (a, b, value minimum c), thus try to achieve the match equation of a circle of chip film, thereby obtain central coordinate of circle.
In the present embodiment, above-mentioned steps 103 specifically comprises:
Judge the deflection angle θ of described chip i i
If θ iBe timing, need be rotated counterclockwise; Further judge the position coordinates O of described chip i with respect to the pivot of described chip film x, O yThe quadrant at place;
If at first quartile, establish θ k = arctan ( Y i - O y X i - O x ) + θ i ,
Then work as θ kIn the time of≤90 °, X ' i=O x+ R i* cos (θ k), Y i'=O y+ R i* sin (θ k);
Work as θ kIn the time of>90 °, X ' i=O x-R i* sin (θ k-90 °), Y i'=O y+ R i* cos (θ k-90 °);
If at second quadrant, establish θ k = arctan ( Y i - O y X i - O x ) - θ i ,
Then work as θ kIn the time of 〉=0 °, X ' i=O x-R i* cos (θ k), Y i'=O y+ R i* sin (θ k);
Work as θ kIn the time of<0 °, X ' i=O x-R i(0 °-θ of * cos k), Y i'=O y-R i(0 °-θ of * sin k);
If at third quadrant, establish θ k = arctan ( Y i - O y X i - O x ) + θ i ,
Then work as θ kIn the time of≤90 °, X ' i=O x-R i* cos (θ k), Y i'=O y-R i* sin (θ k);
Work as θ kIn the time of>90 °, X ' i=Ox+R i* sin (θ k-90 °), Y i'=O y-R i* cos (θ k-90 °);
If at four-quadrant, establish θ k = arctan ( Y i - O y X i - O x ) - θ i ,
Then work as θ kIn the time of 〉=0 °, X ' i=O x+ R i* cos (θ k), Y i'=O y-R i* sin (θ k);
Work as θ kIn the time of<0 °, X ' i=O x+ R i(0 °-θ of * cos k), Y i'=O y+ R i(0 °-θ of * sin k);
If θ iFor negative, need turn clockwise; Further judge the position coordinates O of described chip i with respect to the pivot of described chip film x, O yThe quadrant at place;
If at first quartile, establish θ k = arctan ( Y i - O y X i - O x ) - θ i ,
Then work as θ kIn the time of 〉=0 °, X ' i=O x+ R i* cos (θ k), Y i'=O y+ R i* sin (θ k);
Work as θ kIn the time of<0 °, X ' i=O x+ R i(0 °-θ of * cos k), Y i'=O y-R i(0 °-θ of * sin k);
If at second quadrant, establish θ k = arctan ( Y i - O y X i - O x ) + θ i ,
Then work as θ kIn the time of≤90 °, X ' i=O x-R i* cos (θ k), Y i'=O y+ R i* sin (θ k);
Work as θ kIn the time of>90 °, X ' i=O x+ R i* sin (θ k-90 °), Y i'=O y+ R i* cos (θ k-90 °);
If at third quadrant, establish θ k = arctan ( Y i - O y X i - O x ) - θ i ,
Then work as θ kIn the time of 〉=0 °, X ' i=O x-R i* cos (θ k), Y i'=O y-R i* sin (θ k)
Work as θ kIn the time of<0 °, X ' i=O x-R i(0 °-θ of * cos k), Y i'=O y+ R i(0 °-θ of * sin k);
If at four-quadrant, establish θ k = arctan ( Y i - O y X i - O x ) + θ i ,
Then work as θ kIn the time of 〉=0 °, X ' i=O x+ R i* cos (θ k), Y i'=O y-R i* sin (θ k);
Work as θ kIn the time of<0 °, X ' i=O x-R i* cos (θ k-90 °), Y i'=O y-R i* sin (θ k-90 °);
If θ iWhen being 0 °, the theoretical postrotational theoretical position coordinate X ' of described chip i i, Y i' be the home position coordinate X of this chip i, Y i
Continue step 104;
Wherein, R iBe the pivot O of described chip i to described chip film x, O yDistance, described chip i is to the pivot O of described chip film x, O yDistance R iBy following formula
R i = ( X i - O x ) 2 + ( Y i - O y ) 2 Calculate.
In the present embodiment, because in the identification of image identification system to chip, and can there be identification error and error of fitting in the The Fitting Calculation of the pivot of chip film, but also include rounding error when calculating etc., feasible pivot with the chip film that numerical computation method was obtained is an approximation, proposes thus pivot is revised.So in the above-mentioned steps 107 according to described deviation λ x, λ yPosition coordinates O to the pivot of the chip film obtained in the described step 102 x, O yThe step of revising is specially:
The home position coordinate of I01, the described chip m of setting is X m, Y m, the theoretical postrotational theoretical position coordinate of described chip m is X ' m, Y ' m
I02, according to described deviation λ m x, λ m yWith the theoretical postrotational theoretical position coordinate X ' of chip m m, Y ' m, indicating the actual postrotational actual position coordinate of described chip m is X ' mm x, Y ' mm y
I03, utilize the position coordinates O of following formula to the pivot of described chip film x, O yRevise, the position coordinates of establishing the pivot of revised described chip film is O ' x, O ' y:
Figure G2010100195406D00121
Figure G2010100195406D00122
Wherein, R ' mBe the pivot O ' of m chips to revised described chip film x, O ' yDistance, described m chips is to the pivot O ' of revised described chip film x, O ' yDistance R ' m by following formula
R m ′ = ( X m - X m ′ + λ m x ) 2 + ( Y m - Y m ′ + λ m y ) 2 2 × sin ( θ m / 2 ) Calculate.Utilize said method to try to achieve the position coordinates O ' of the pivot of revised chip film x, O ' yAfter, the parameter of this coordinate as the automatic rotation correction of chip angle system can be stored.
In the present embodiment, in the step 107 again according to the position coordinates O ' of revised pivot x, O ' y, the theoretical postrotational theoretical position coordinate X of revised this chip of inverse again " i, Y " iStep and step 103 in the principle of inverse process identical, with the home position coordinate X of this chip on the described chip film m, Y m, deflection angle θ mAnd the position coordinates O of described revised pivot x', O y', the theoretical postrotational theoretical position coordinate X of the revised chip m of inverse " m, Y " mThis step is specially: by judging the deflection angle θ of chip m mAnd the deflection angle θ of chip m mWith respect to the position coordinates Ox ' of the pivot of described revised chip film, O yThe quadrant at ' place, the computing formula that utilization is scheduled to is to the theoretical postrotational theoretical position coordinate X of described revised chip m " m, Y " mCarry out inverse.Concrete steps are as follows:
Judge the deflection angle θ of described chip m m
If θ mFor just, further judge the position coordinates O ' of described chip m with respect to described revised pivot x, O ' yThe quadrant at place;
If at first quartile, establish θ k = arctan ( Y m - O y ′ X m - O x ′ ) + θ m ,
Then work as θ kIn the time of≤90 °, X " m=O x'+R i* cos (θ k), Y " m=O y'+R i* sin (θ k);
Work as θ kIn the time of>90 °, X " m=O x'-R i* sin (θ k-90 °), Y " m=O y'+R i* cos (θ k-90 °);
If at second quadrant, establish θ k = arctan ( Y m - O y ′ X m - O x ′ ) - θ m ,
Then work as θ kIn the time of 〉=0 °, X " m=O x'-R i* cos (θ k), Y " m=O y'+R i* sin (θ k);
Work as θ kIn the time of<0 °, X " m=O x'-R i(0 °-θ of * cos k), Y " m=O y'-R i(0 °-θ of * sin k);
If at third quadrant, establish θ k = arctan ( Y m - O y ′ X m - O x ′ ) + θ m ,
Then work as θ kIn the time of≤90 °, X " m=O x'-R i* cos (θ k), Y " m=O y'-R i* sin (θ k);
Work as θ kIn the time of>90 °, X " m=O x'+R m' * sin (θ K-90 °), Y " m=O y'-R m' * cos (θ k-90 °);
If at four-quadrant, establish θ k = arctan ( Y m - O y ′ X m - O x ′ ) - θ m ,
Then work as θ kIn the time of 〉=0 °, X " m=O x'+R m' * cos (θ k), Y " m=O y'-R m' * sin (θ k);
Work as θ kIn the time of<0 °, X " m=O x'+R m(0 °-θ of ' * cos k), Y " m=O y'+R m(0 °-θ of ' * sin k);
If θ mFor negative, further judge the position coordinates O ' of described chip m with respect to described revised pivot x, O ' yThe quadrant at place;
If at first quartile, establish θ k = arctan ( Y m - O y ′ X m - O x ′ ) - θ m ,
Then work as θ kIn the time of 〉=0 °, X " m=O x'+R m' * cos (θ k), Y " m=O y'+R m' * sin (θ k);
Work as θ kIn the time of<0 °, X " m=O x'+R m(0 °-θ of ' * cos k), Y " m=O y'-R m(0 °-θ of ' * sin k);
If at second quadrant, establish θ k = arctan ( Y m - O y ′ X m - O x ′ ) + θ m ,
Then work as θ kIn the time of≤90 °, X " m=O x'-R m' * cos (θ k), Y " m=O y'+R m' * sin (θ k);
Work as θ kIn the time of>90 °, X " m=O x'+R m' * sin (θ k-90 °), Y " m=O y'+R m' * cos (θ k-90 °);
If at third quadrant, establish θ k = arctan ( Y m - O y ′ X m - O x ′ ) - θ m ,
Then work as θ kIn the time of 〉=0 °, X " m=O x'-R m' * cos (θ k), Y " m=O y'-R m' * sin (θ k)
Work as θ kIn the time of<0 °, X " m=O x'-R m(0 °-θ of ' * cos k), Y " m=O y'+R m' * sin (0-θ k);
If at four-quadrant, establish θ k = arctan ( Y m - O y ′ X m - O x ′ ) + θ m ,
Then work as θ kIn the time of 〉=0 °, X " m=O x'+R m' * cos (θ k), Y " m=O y'-R m' * sin (θ k);
Work as θ kIn the time of<0 °, X " m=O x'-R m' * cos (θ k-90 °), Y " m=O y'-R m' * sin (θ k-90 °);
If θ kWhen being 0 °, the theoretical postrotational theoretical position coordinate X of described chip m " m, Y " mHome position coordinate X for this chip m, Y m
Wherein, R m' be that described chip m is to described revised pivot O ' x, O ' yDistance, described chip m is to described revised pivot O ' x, O ' yDistance R m' by following formula
R m ′ = ( X m - O x ′ ) 2 + ( Y m - O y ′ ) 2 Calculate.
Should be noted that at last; above embodiment is only in order to illustrate technical scheme of the present invention; but not limiting the scope of the invention; although the present invention has been done to explain with reference to preferred embodiment; those of ordinary skill in the art is to be understood that; can make amendment or be equal to replacement technical scheme of the present invention, and not break away from the essence and the scope of technical solution of the present invention.

Claims (4)

1. the autorotation correcting method for chip angle based on machine vision is characterized in that, may further comprise the steps:
A, driving image identification system are discerned chip film, obtain the home position coordinate X of chip i on the described chip film i, Y iAnd deflection angle θ i, wherein, i=1,2,3...n, n are total number of chip on the described chip film;
B, obtain the position coordinates O of the pivot of described chip film x, O y
C, with the home position coordinate X of chip i on the described chip film i, Y i, deflection angle θ iAnd the position coordinates O of the pivot of described chip film x, O y, the theoretical postrotational theoretical position coordinate X ' of the described chip i of inverse i, Y ' i
D, choose the chip m on the described chip film, establish m=1;
Wherein, chip m is the wherein chips in all chips on the described chip film;
E, with the deflection angle θ of described chip film with chip m mCarry out actual rotation;
F, driving image identification system are discerned chip m, obtain the theoretical postrotational theoretical position coordinate X ' of the actual postrotational actual position coordinate of this chip and this chip m, Y ' mBetween deviation λ m x, λ m y
Deviation λ in G, the described step F of judgement m x, λ m yWhether greater than a certain threshold value, if, then according to described deviation λ m x, λ m yPosition coordinates O to the pivot of the chip film obtained among the described step B x, O yRevise, again according to the position coordinates O ' of revised pivot x, O ' y, the theoretical postrotational theoretical position coordinate X of revised this chip of inverse again " m, Y " m, and according to the theoretical postrotational theoretical position coordinate X of revised this chip " m, Y " mMove and carry out this chip position correction; Otherwise, according to the theoretical postrotational theoretical position coordinate X ' of this chip m, Y ' mMove and carry out this chip position correction;
H, judge whether m equals n, if then finish the angle correct of all chips on this chip film; Otherwise, m=m+1, and with described chip film with deflection angle θ mM-1Carry out actual rotation, directly return step F.
2. the autorotation correcting method for chip angle based on machine vision according to claim 1 is characterized in that, described step B specifically comprises:
B1, a wherein chips of demarcating on the described chip film are certain chip;
B2, the described chip film of driving are rotated different angles, write down the position coordinates of described certain chip when at every turn rotating respectively, and described position coordinates is stored to sample set, and wherein, described sample set is with respect to coordinate on the circle of the pivot of described chip film;
B3, according to the sample set among the described step B2, utilize least square method to calculate the match equation of a circle of described chip film, thereby obtain the position coordinates O of the pivot of described chip film x, O y
3. the autorotation correcting method for chip angle based on machine vision according to claim 2 is characterized in that, described step C specifically comprises:
Judge the deflection angle θ of described chip i i
If θ iFor just, further judge the position coordinates O of described chip i with respect to the pivot of described chip film x, O yThe quadrant at place;
If at first quartile, establish θ k = arctan ( Y i - O y X i - O x ) + θ i ,
Then work as θ kIn the time of≤90 °, X ' i=O x+ R i* cos (θ k), Y ' i=O y+ R i* sin (θ k);
Work as θ kIn the time of>90 °, X ' i=O x-R i* sin (θ k-90 °), Y ' i=O y+ R i* cos (θ k-90 °);
If at second quadrant, establish θ k = arctan ( Y i - O y X i - O x ) - θ i ,
Then work as θ kIn the time of 〉=0 °, X ' i=O x-R i* cos (θ k), Y ' i=O y+ R i* sin (θ k);
Work as θ kIn the time of<0 °, X ' i=O x-R i(0 °-θ of * cos k), Y ' i=O y-R i* sin (0 '-θ k);
If at third quadrant, establish θ k = arctan ( Y i - O y X i - O x ) + θ i ,
Then work as θ kIn the time of≤90 °, X ' i=O x-R i* cos (θ k), Y ' i=O y-R i* sin (θ k);
Work as θ kIn the time of>90 °, X ' i=O x+ R i* sin (θ k-90 °), Y ' i=O y-R i* cos (θ k-90 °);
If at four-quadrant, establish θ k = arctan ( Y i - O y X i - O x ) - θ i ,
Then work as θ kIn the time of 〉=0 °, X ' i=O x+ R i* cos (θ k), Y ' i=O y-R i* sin (θ k);
Work as θ kIn the time of<0 °, X ' i=O x+ R i(0 °-θ of * cos k), Y ' i=O y+ R i(0 °-θ of * sin k);
If θ iFor negative, further judge the position coordinates O of described chip i with respect to the pivot of described chip film x, O yThe quadrant at place;
If at first quartile, establish θ k = arctan ( Y i - O y X i - O x ) - θ i ,
Then work as θ kIn the time of 〉=0 °, X ' i=O x+ R i* cos (θ k), Y ' i=O y+ R i* sin (θ k);
Work as θ kIn the time of<0 °, X ' i=O x+ R i(0 °-θ of * cos k), Y ' i=O y-R i(0 °-θ of * sin k);
If at second quadrant, establish θ k = arctan ( Y i - O y X i - O x ) + θ i ,
Then work as θ kIn the time of≤90 °, X ' i=O x-R i* cos (θ k), Y ' i=O y+ R i* sin (θ k);
Work as θ kIn the time of>90 °, X ' i=O x+ R i* sin (θ k-90 °), Y ' i=O y+ R i* cos (θ k-90 °);
If at third quadrant, establish θ k = arctan ( Y i - O y X i - O x ) - θ i ,
Then work as θ kIn the time of 〉=0 °, X ' i=O x-R i* cos (θ k), Y ' i=O y-R i* sin (θ k)
Work as θ kIn the time of<0 °, X ' i=O x-R i(0 °-θ of * cos k), Y ' i=O y+ R i(0 °-θ of * sin k);
If at four-quadrant, establish θ k = arctan ( Y i - O y X i - O x ) + θ i ,
Then work as θ kIn the time of 〉=0 °, X ' i=O x+ R i* cos (θ k), Y ' i=O y-R i* sin (θ k);
Work as θ kIn the time of<0 °, X ' i=O x-R i* cos (θ k-90 °), Y ' i=O y-R i* sin (θ k-90 °);
If θ iWhen being 0 °, the theoretical postrotational theoretical position coordinate X ' of described chip i i, Y ' iHome position coordinate X for this chip i, Y i
Continue step D;
Wherein, R iBe the pivot O of described chip i to described chip film x, O yDistance, described chip i is to the pivot O of described chip film x, O yDistance R iBy following formula
R i = ( X i - O x ) 2 + ( Y i - O y ) 2 Calculate.
4. the autorotation correcting method for chip angle based on machine vision according to claim 3 is characterized in that, among the described step G according to described deviation λ m x, λ m yPosition coordinates O to the pivot of the chip film obtained among the described step B x, O yThe step of revising is specially:
The home position coordinate of I01, the described chip m of setting is X m, Y m, the theoretical postrotational theoretical position coordinate of described chip m is X ' m, Y ' m
I02, according to described deviation λ m x, λ m yWith the theoretical postrotational theoretical position coordinate X ' of chip m m, Y ' m, indicating the actual postrotational actual position coordinate of described chip m is X ' mm x, Y ' mm y
I03, utilize the position coordinates O of following formula to the pivot of described chip film x, O yRevise, the position coordinates of establishing the pivot of revised described chip film is O ' x, O ' y:
Figure F2010100195406C00042
Figure F2010100195406C00043
Wherein, R ' mBe the pivot O ' of m chips to revised described chip film x, O ' yDistance, described m chips is to the pivot O ' of revised described chip film x, O ' yDistance R ' mBy following formula
R m ′ = ( X m - X m ′ + λ m x ) 2 + ( Y m - Y m ′ + λ m y ) 2 2 × sin ( θ m / 2 ) Calculate.
CN 201010019540 2010-01-21 2010-01-21 Autorotation correcting method for chip angle based on machine vision Expired - Fee Related CN101758028B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010019540 CN101758028B (en) 2010-01-21 2010-01-21 Autorotation correcting method for chip angle based on machine vision

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010019540 CN101758028B (en) 2010-01-21 2010-01-21 Autorotation correcting method for chip angle based on machine vision

Publications (2)

Publication Number Publication Date
CN101758028A true CN101758028A (en) 2010-06-30
CN101758028B CN101758028B (en) 2013-04-17

Family

ID=42489502

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010019540 Expired - Fee Related CN101758028B (en) 2010-01-21 2010-01-21 Autorotation correcting method for chip angle based on machine vision

Country Status (1)

Country Link
CN (1) CN101758028B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104338685A (en) * 2013-07-31 2015-02-11 昕芙旎雅有限公司 A feeder
CN104580909A (en) * 2015-01-09 2015-04-29 上海小蚁科技有限公司 Image acquisition method and device
CN105991912A (en) * 2015-02-02 2016-10-05 宁波舜宇光电信息有限公司 Method for identifying feature objects in automatic heart-regulating process in camera module group

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104338685A (en) * 2013-07-31 2015-02-11 昕芙旎雅有限公司 A feeder
CN104338685B (en) * 2013-07-31 2019-06-21 昕芙旎雅有限公司 Feed appliance
CN104580909A (en) * 2015-01-09 2015-04-29 上海小蚁科技有限公司 Image acquisition method and device
CN105991912A (en) * 2015-02-02 2016-10-05 宁波舜宇光电信息有限公司 Method for identifying feature objects in automatic heart-regulating process in camera module group
CN110519508A (en) * 2015-02-02 2019-11-29 宁波舜宇光电信息有限公司 A method of identification feature object during camera module automatic aligning

Also Published As

Publication number Publication date
CN101758028B (en) 2013-04-17

Similar Documents

Publication Publication Date Title
CN108805934B (en) External parameter calibration method and device for vehicle-mounted camera
US11254006B2 (en) Robot device
EP3733355A1 (en) Robot motion optimization system and method
CN110703749B (en) Method and device for controlling vehicle movement
CN109883444B (en) Attitude angle coupling error compensation method and device and electronic equipment
CN105619411B (en) A kind of six-shaft industrial robot palletizing method
CN109443392A (en) Navigation error determines method and device, navigation control method, device and equipment
CN112597819B (en) AGV positioning method and device, storage medium and AGV
CN103886107A (en) Robot locating and map building system based on ceiling image information
CN106233330A (en) For in the method and control equipment identifying that in the three-dimensional video-frequency system of vehicle relative yaw angle changes
CN101758028B (en) Autorotation correcting method for chip angle based on machine vision
CN108154209B (en) Two-dimensional code generation and identification method and device for mobile robot positioning
CN101777610B (en) Method for fast tuning angle of LED chip
CN114581368B (en) Bar welding method and device based on binocular vision
US20210008730A1 (en) Pose determining method for mobile robot and apparatus and mobile robot thereof
CN111060126A (en) Positioning method and device and vehicle
CN111085902A (en) Workpiece polishing system for visual online detection and correction
CN112621753B (en) Robot positioning method, electronic device, and storage medium
US20150051724A1 (en) Computing device and simulation method for generating a double contour of an object
CN111798517A (en) Method and device for determining travel track, readable medium and electronic equipment
US20230007960A1 (en) Method and system for object identification
US11620846B2 (en) Data processing method for multi-sensor fusion, positioning apparatus and virtual reality device
CN114526740A (en) Monocular automatic driving navigation method, system and device based on natural object
CN108735644A (en) A kind of method of silicon chip orientation and position compensation
CN116902559B (en) Visual positioning correction method for conveying sheet-like object

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
ASS Succession or assignment of patent right

Free format text: FORMER OWNER: DG-HUST MANUFACTURING ENGINEERING INSTITUTE CO., LTD.

Owner name: GUANGDONG ZHICHENG HUAKE PHOTOELECTRIC EQUIPMENT C

Free format text: FORMER OWNER: DONGGUAN HUAKE PRECISION SIDEA EQUIPMENT CO., LTD.

Effective date: 20110321

Owner name: DG-HUST MANUFACTURING ENGINEERING INSTITUTE CO., L

Free format text: FORMER OWNER: DONGGUAN INSTITUTE OF MANUFACTURING ENGINEERING;HUAZHONG UNIVERSITY OF SCIENCE AND TECHNOLOGY

Effective date: 20110321

Owner name: DONGGUAN HUAKE PRECISION SIDEA EQUIPMENT CO., LTD.

Free format text: FORMER OWNER: DG-HUST MANUFACTURING ENGINEERING INSTITUTE CO., LTD.

Effective date: 20110321

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

Free format text: CORRECT: ADDRESS; FROM: 523808 DG-HUST MANUFACTURING ENGINEERING RESEARCH INSTITUTE, NO. 1, KEJI ROAD 9, SONGSHANHU TECHNOLOGY INDUSTRIAL PARK, DONGGUAN CITY, GUANGDONG PROVINCE TO: 523808 NO. 1, KEJI ROAD 9, SONGSHANHU TECHNOLOGY INDUSTRIAL PARK, DONGGUAN CITY, GUANGDONG PROVINCE

Free format text: CORRECT: ADDRESS; FROM: 523808 ROOM 318, R + D BUILDING, NO. 1, KEJI ROAD 9, SONGSHANHU TECHNOLOGY INDUSTRIAL PARK, DONGGUAN CITY, GUANGDONG PROVINCE TO: 523808 ROOM 310, R + D BUILDING, NO. 1, KEJI ROAD 9, SONGSHANHU TECHNOLOGY INDUSTRIAL PARK, DONGGUAN CITY, GUANGDONG PROVINCE

Free format text: CORRECT: ADDRESS; FROM: 523808 NO. 1, KEJI ROAD 9, SONGSHANHU TECHNOLOGY INDUSTRIAL PARK, DONGGUAN CITY, GUANGDONG PROVINCE TO: 523808 ROOM 318, R + D BUILDING, NO. 1, KEJI ROAD 9, SONGSHANHU TECHNOLOGY INDUSTRIAL PARK, DONGGUAN CITY, GUANGDONG PROVINCE

TA01 Transfer of patent application right

Effective date of registration: 20110321

Address after: 523808, room 1, R & D building, Songshan Road, nine, science and Technology Industrial Park, Songshan, Dongguan, Guangdong 310, China

Applicant after: GUANGDONG ZHICHENG HUAKE PHOTOELECTRIC EQUIPMENT Co.,Ltd.

Address before: 523808, room 1, R & D building, Songshan Road, nine, science and Technology Industrial Park, Songshan, Dongguan, Guangdong 318, China

Applicant before: Dongguan Huake precision silicon electrical equipment Co.,Ltd.

Effective date of registration: 20110321

Address after: 523808, room 1, R & D building, Songshan Road, nine, science and Technology Industrial Park, Songshan, Dongguan, Guangdong 318, China

Applicant after: Dongguan Huake precision silicon electrical equipment Co.,Ltd.

Address before: Science and technology Songshan Lake Science and Technology Industrial Park in Guangdong province Dongguan City nine road 523808 No. 1

Applicant before: Dongguan Huake Manufacturing Engineering Research Institute Co.,Ltd.

Effective date of registration: 20110321

Address after: Science and technology Songshan Lake Science and Technology Industrial Park in Guangdong province Dongguan City nine road 523808 No. 1

Applicant after: Dongguan Huake Manufacturing Engineering Research Institute Co.,Ltd.

Address before: 523808 science and Technology Industrial Park, Songshan nine, science and technology road, Guangdong, Dongguan, 1, Dongguan Institute of manufacturing engineering, Huazhong University of Science and Technology

Applicant before: DG-HUST Manufacturing Engineering Institute

Co-applicant before: Dongguan Huake Manufacturing Engineering Research Institute Co.,Ltd.

C14 Grant of patent or utility model
GR01 Patent grant
ASS Succession or assignment of patent right

Owner name: DONGGUAN INSTITUTE OF MANUFACTURING ENGINEERING;HU

Free format text: FORMER OWNER: DONGGUAN HUAKE PRECISION SIDEA EQUIPMENT CO., LTD.

Effective date: 20141229

Owner name: DG-HUST MANUFACTURING ENGINEERING INSTITUTE CO., L

Effective date: 20141229

Owner name: DONGGUAN HUAKE PRECISION SIDEA EQUIPMENT CO., LTD.

Free format text: FORMER OWNER: GUANGDONG ZHICHENG HUAKE PHOTOELECTRIC EQUIPMENT CO., LTD.

Effective date: 20141229

C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20141229

Address after: Science and technology Songshan Lake Science and Technology Industrial Park in Guangdong province Dongguan City nine road 523808 No. 1

Patentee after: DG-HUST MANUFACTURING ENGINEERING INSTITUTE

Patentee after: Dongguan Huake Manufacturing Engineering Research Institute Co.,Ltd.

Address before: 523808, room 1, R & D building, Songshan Road, nine, science and Technology Industrial Park, Songshan, Dongguan, Guangdong 318, China

Patentee before: Dongguan Huake precision silicon electrical equipment Co.,Ltd.

Effective date of registration: 20141229

Address after: 523808, room 1, R & D building, Songshan Road, nine, science and Technology Industrial Park, Songshan, Dongguan, Guangdong 318, China

Patentee after: Dongguan Huake precision silicon electrical equipment Co.,Ltd.

Address before: 523808, room 1, R & D building, Songshan Road, nine, science and Technology Industrial Park, Songshan, Dongguan, Guangdong 310, China

Patentee before: GUANGDONG ZHICHENG HUAKE PHOTOELECTRIC EQUIPMENT Co.,Ltd.

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

Granted publication date: 20130417

Termination date: 20170121

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