ࡱ > P d \ a c e g i k _ R Ƭ bjbj o b b . T T d q q q ! q h A " w, t / f f f f f f f $ i l 2 g 1 " " " 1 1 g g sE sE sE 1 ^ 8 f sE 1 f sE sE 1X Y Co A z Y f g 0 h 3Y l C l , Y Y l Z 1 1 sE 1 1 1 1 1 g g D 1 1 1 h 1 1 1 1 l 1 1 1 1 1 1 1 1 1 T / : WND S P + F P G A vCQhVN qcWv^Ƌ+Rel HcO9)YlY*m T]N'Yf[ 5ulNꁨRS]zf[b [_ T 2 3 0 0 0 9 Xd:N[s5ug NgrCQhVN qcWv^v|QhKmN N>kWND S P + F P G A vWv^Ƌ+R|~0D S P bb8h_{lNRF P G A \O:NpencYtUSCQ[bcSv;0|~vNޏNSpencS0(WlxNs^S NL]eQNWNCQhVNb__MQvWv^Ƌ+R{l0HQ[YtvVP)R(u9eۏvC a n n y {lcSCQhVNvP }~v^Ǒ(uߍ*{lSdjVpTr^pbv^[CQhVNۏLS(W|cSv N(uZ e r n i k e w{leg|nx[MOCQhVNNP }~0(WdkW@x NcSCQhVNn^v g\Ycwb_egOckv^_0Rk*NCQhVNvb__PWh gT9hncb__vOPyݍyeg[bk*NCQhVNWv^vƋ+R0[~ghf勂Wv^Ƌ+R|~veHhƋ+R~g|^ؚhKm^_n[e'`BlwQ g͑v[E]zaIN0 sQ.͋ qcWv^D S P + F P G A gg9eۏC a n n y {lZ e r n i k e wb__MQ5ugCQhVN I d e n t i f i c a t i o n M e t h o d o f W e l d i n g P e r p e n d i c u l a r i t y f or Components Based on DSP+FPGA CHEN Rong-bao, FEI Tian-ze, JIANG Hong-hui (School of Electrical Engineering and Automation Hefei University of Technology Hefei, China 230009) Abstract: In order to accurately detect the welding perpendicularity of column components on circuit board, a perpendicularity identification system based on DSP+FPGA was developed, in which DSP is responsible for core algorithms and FPGA functions as a unit of data preprocessing for the purpose interface logics, system interconnection and data channel. An algorithm of verticality recognition based on centroid registration of components is embedded in the hardware platform. This method, first obtains element's pixel edge of pre-treated pictures using improved Canny algorithm, then rejects noise point and interference edge through edge track method and numbers the elements at last. The element's sub-pixel edge is obtained at the edge subject to crude extraction with the aid of Zernike moment algorithm. On the basis of this, the minimum circumscribed rectangle of the element's contour is obtained to correct the edge and get the areal coordinate. so as to inspect and measure perpendicularity of each element according to displacement of the centroid. The experimental results show that the design scheme of the verticality recognition results recognition system with high accuracy, fast detection speed and meet the real-time requirement, it has important practical engineering significance. Key words: welding perpendicularity D S P + F P G S f r a m e w o r k I m p r o v e d C a n n y a l g o r i t h m Z e r n i k e m o m e n t c e n t r o i d r e g i s t r a t i o n , c o m p o n e n t s o n c i r c u i t b o a r d 0 _ @w ]N4 . 0 i_vcQ]NNT(ϑvhKmTO]~ۏeQhQbcGSveNvQ-NR]NNSTyhwQb_MOlQ]vhKmTؚ^ꁨRSeTȏۏ0 O~O`N](uvsQNhVKmϑWv^vel NNb,gؚ0hKm^ba0HesNOv^NhKm|^_N_SP6R[ 1 ] 0 O~hKmb/g]~elnsN6R N[NT|^vSU\ Bl0 O~OVN:gh_05uR_0lR_SIQf[_I{ϑhVwQ[NTۏLKmϑvel NNHesNO؏O_eQN:NvKmϑ]v^N N)RN'Y[ϑpencvǑƖ[ 2 , 3 ] 0WN:ghVƉɉvKmϑ|~wQ g^c'`0ꁨRSz^ؚ0up;m'`}YI{zQvhKmOp0FOvMRWNVPvWv^hKm'Y/fNUS*NirT:N[a NhKm[ 4 ] 0[ qcCQhVN[^'YvP C B gYV1 @b:y O~O`VPhKmWv^vel N/fǑƖVPVN/fhKmHesNOv^NNn|^vBl0[ňNvňMbRN&T%N͑OVP C B g qcCQhVNvWv^0 V1 P C B g qcCQhVNV (W]NNT-N[ňN g@w'Yϑv^(uY}lfvOiNvM5uv/fN[ňNvb__0@w}lfNT~vؚ^ꁨRSTOo`SRv [U[ňNvhQꁨRSňMAmz0VPYt|~Ǒ(uYYthVggvL]eQ_|~Nn[[e'`Blؚv:WT[ 5 ] 0,ge[ BlNg^WND S P + F P G A !j_vlxNs^SL]eQWv^Ƌ+R{l0|~Rep(WN|~ NNY|nxvKmϑQP C B g qcCQhVNvWv^hQ qcjkevCQhVNv^ND S P + F P G A vlxNON|~v[e'`0 1 9eۏvC a n n y - Z e r n i k e wCQhVNhKm{l ,geǑ(u HQ|T| vhKm`(WRg O~vC a n n y {lv N N)R(u9eۏvC a n n y {lRek[MOCQhVNMOn_0RP }~|^v[MO~gSdjVpSr^pbT(uZ e r n i k e wNP }hKm{P[[|[MOvۏL|nx[MO0(WhKmMR[VPs^nnlT)R(uO t s u