í
Ʒ
Ѷ
оíصʹ˵
־߼ϵͳ
оíΪ
оע
оíҪﵽʲôҪܶп
ϵ
ϵˣŹ
ֻ15853976893
E-maillamaoding168@163.com
ַׯׯֵ´⻨԰

ǰλ : í > Ŷ̬ > >
Ҿ𨲨S
 
(ϿƼѧϢѧԺĴ621010)
 
ժҪ߼豸ڹڻǿհ׵״ûӾǶʽԼԴһ ߾߼ϵͳϵͳǶʽ΢S3C2440Ϊģ÷ǽӴʽCMOSͼ񴫸OV3640í Ϣвɼȡíʵʱ߸ٸ߾ȵļ⣬⾫ȴﵽ0.01mm,ٶΪÿ1800ϣ ﴶԶһҵ⡣
 
ؼʣíǶʽ;߼⣻OV3640
 
Design of Pulling Rivets Precision Multi — parameter Online Testing System
 
Peng Zhangjun, Liao Xiaobo, Luo Liang, Li Zhongli
 
(College of Information Engineering, Southwest University of Science and Technology, Mianyang 621010, China)
 
Abstract As online testing equipment for the pulling rivets is blank, using machine vision technology, embedded technologyand light source technology to design high—precision multi—parameters online testing system which is used to puling rivet testing System based on embedded microprocessor S3C2440, with non—contact measurementusing CMOS image sensor OV3640 to collect features of the pulling rivets and extract informationcomplete pulling rivet production line of high number of high—precision real-time detection, accuracy of detection is 0. 01mm* rate of detection more than 1800 per minute, solve the problems pulling rivets on-line automatic testing in the industry.
 
Key words pulling rivets ARM online testing OV364Q
0
 
Ŀǰִ켼IJߣҵƷ㲿 ʵʱ߼⼼װҲԵҪíǽṹ ¹յĹؼíͳߴŸ ϸҪ󡣴ͳ˹ģ ûӾǽӴܲíͳߴҵ ǿϣ[1]ûӾǽӴֱ ʵʱ߼⼼װǿհסƵĻ ӾķǽӴʽíʵʱ߼ϵͳܹܺõؽ ⡣
 
1ϵͳ빤ԭ
 
íҪҪí10β м⣬ÿӲ40ϵí[2]Ҳÿ íвҪ1.5sɲһҪӦ ĴͨҪ󡣱IJȡͿƷ ƷܴﵽٵҪ㾫Ҫ ϵͳͼͼ1ʾϵͳϵͳƹͨ ߣ3ӾͬźŷִлԼ ˻ȡ
 
ϵͳĹԭϵͳƹִͨл íλãíӾλʱ ͬźŷͬźţϵͳ⵽ź ʱ3ӾͬɼϢӾ
ոڣ2010-06 - 17;޻ڣ2010-07 -25
 
ĿĴʡصйĿ2009Z01 —004)
 
߼飺¾1986 _)УĴüɽˣѧ˶ʿ˴ ǶʽԶϵͳȷо
ͼ1ϵͳͼ
յͬɼźźɼǰíͼϢ ͼϢдͷóǰíĸϢ Ϣͨ{߽ӿڴ͵ϵͳƹ ռв󣬸Ԥ趨ĸϸ׼ ͨƻԶɶíɸѡͳƳ ϸϸʵȼݣԲϸƷⱨ ÿíеϢ浽SD棬Ա ѰвϢʱӡ
 
2 ϵͳӲ
 
2.1ϵͳӲ
 
ѡǶʽ΢S3C2440ΪĺĴ S3C2440A΢һSamsung뵼幫˾Ƴ ܡ͹ġ߼ɶȲйҵ¶ȷΧܵ΢ [3]ڲSDڣUSB, LCD ӿڣ߹Ƶʿɴﵽ533MHZ[4]ʹ ƾ͹࣬Сͬʱȫ·ԭͼͼ
ͼ2ϵͳ·ԭͼ
2
 
3
 
4
 
5
 
6
 
7
 
8
 
9
 
10 11 12
 
13
 
14
 
15
 
16
 
17
 
18
 
19
 
20
Y Y Y Y 12 3 4
 
00> i
 
IG A jG A jG A-G A 11223344i
WAIT2X1
 
GPE12
 
WAIT5X2
 
GPE13
 
VAIT9X3
•ATA2
1 I o
 
D | 4
74HC125
ϵͳƹУٴͨһ 㣬ӾɼͼԲֱӴ ȺϵͳƹԱ˿ͼЧ߲ͨ ٴͨţӾҲѡõ S3C2440Ҵ벻ԶֱӲTTLƽͣ Թ㲥ķʽֱӷͣÿ ͨжϵַǷΪĴ ͶֱÿĴڽڽ ʱҪֱ𵥶ÿݣÿ ʱҪӰ죬Ӳ·ʵҪһ ߻ʵ֣·ԭͼͼ3ʾ3Ĵ ݷͶ˷ֱӵ74HC125·˶ˣ3ͨ Ӧ˽һݽնˣ˶˵ѡ ͨźŽӵS3C24403K)ϣҪ һ·ʱͨӦIOѡͨӦͨͨ 
TXDi
Ƶߵ200MHzͬʱϲüĴʹ S3C2440Ĵڵߵ115200 * 8bps,ʵ Ӿĸٴͨšϵͳijɱ ͬʱϵͳơ
 
2.2ӾӲ
 
ͨ޷íʵʱ߼Ҫ רí߼Ӿ
 
ӾΪصCMOSͼ񴫸+ ARM9Լѡõͼ񴫸ΪOV ˾300صCMOSOV3640дСΪ 2048 * 1536YUV422RGB565ȶָʽͨ ڲĴعʱ䡢ƽ⡢Ͷȡ 桢٤УȲ[5]ֱܹ֤ 0.01mmҪӾĴѡ ARM920T ں˵ S3C2440 S3C2440 camera ӿڣֱӿͲɼCMOSͼ񴫸OV3640 ͼݣI2CӿڣԷͼ񴫸 üĴ[6]S3C2440ƵԴﵽ533M кǿݴʵͼ㷨õ íIJS3C2440OV3440Ľӿڵ·ͼ4ʾ S3C2440IICӿOV3640SCCBӿ OV3640OV3640Ҫ3. 3V1. 8VԴֱӴ S3C2440оƬȡ2. 8VԴΪģԴ3. 3V һܼõ2.8VԴOV3640ߺͿ ߷ֱS3C2440
 
һĴڴΪ115200bpsϵͳʱҪͼ ԱУͨڴ̫˱ ijS3C2440ڲʱӵģص㣬
2.3Ӿíλò
 
Ϊ˱֤ͺíIJ⾫ٶȣö ȺIJʽɶӾϵļ Ⱥ뱻íλò֡λʾͼͼ5
 
ʾ
 
ͼ5еíﵽλãһӿɵڻ
 
ͼ5Ӿíλòʾͼ
 
(5)֧ţͬźŷ4)ӾȺϵͳ ͬźšӾ1)ͣ2)ǰװڴ֧ŵĵ λ̨ϣݼíͺŲͬλ̨ʹ Ӿ1)ͣ2)ƶӾ1) Լⲻͬͺí߶Ⱥí²ֱ Ӿ2)Լⲻͬͺíͼ1ʾ вֱ߶ȺͽǣӾ3) װڵб̨ϣݼíͺŲͬб ̨ʹӾ3)ܹ۲⵽ͬͺŵíñֱ ñȣݸ²ȡӾ3)Ӿ 1)ͣ2)ĽҪСӾ3)Ұ 㣬ڹۿͬͺíȫ
 
3ϵͳ
 
ϵͳϵͳƹӾ ѡõͬĴ ͬġ
 
3.1ϵͳƹ
 
ϵͳƹҪijУLCD SDļϵͳֲִлĿƳ 򡢴ӡ򣬸ͨͬźż ͳԼжԤ
 
ͼͼ6ʾϵͳȽϵ ͳʼȻжǷ״̬״̬í ļ⣬״̬ϵͳУ
 
3.2ܿ
 
ܿ޲ϵͳƣ {Чʵݲɼ봫͡ʵ ܣ
 
(1)ݹ⻷ʵúOV3640üĴ Աɼͼݡ
 
(2)ͬźţɼOV3640ͼ ϢͨS3C2440cameraӿڣͨDMAͼ ݿٴ͵ڴ棬Ա㷨
 
(3)ͨ㷨ڴͼݣóÿ íĶӦͨ{ͨģ鴫͵ƹ
 
ͼͼ7ʾ
 
ͼ㷨ĺģí 㷨ͼݵõΪ˴ﵽʵʱ߼⣬û вøӵͼ㷨õķʽ1 ǣȽ 궨íľ벻䣬ӳʹ OV36402048ضӦʵʵߴ2mmÿ ضӦߴԼ0. 009mm,ֶӳ ɼһͼƬȻͼƬжֵíλ
ͼ7ͼ
͹Դм䣬ͼֵíӦͼΪڵ㣬 Ķͼİ׵㣬ͳƳֵͼÿеڵ ͵õíֱͳƳС׵ڵ ȥ׵ѯͳơԤ⡢ϱԼӡȹܣ
 
ṹͼ4ʾ
ʾ :ӡ1 1
A  …*—
[ —:…1 —— һ
حح һ__1 ݱ 
1حح 1 1 
1 iͳ 1
1ح -^ 1  1  ʷѯ
 
ӿ
ݿ
'J I
 
ͼ4ṹ
 
 
Ϊ625ƽijϲ5X5ļڵ㣬 ԸˮĶ̬ˮλмͷ⾮㴹ֱ ݺ᷽ϣ඼Ϊ5ˮλ¼Ϊ1С ʱܹﵽlcmijһʱ̲ɼݼ1
 
1ˮλ
  2 3 4 5
A -20. 43 һ 23. 54 һ25. 67 -24. 45 -22. 33
B -21. 46 -39. 89 — 34. 10 — 32. 31 -25. 65
C —22. 83 һ34.28 -45. 11 — 39. 90 -28. 24
D -21. 59 -32. 32 -38. 53 -38. 65 -24. 12
E —22. 62 һ25.13 -26. 71 — 24.49 -22. 58
 
1תΪֱͼͼ5ʾ֣ C3ˮλԵΧжϸõ ڵΣաԶʷݽз۲ һʱڸõˮλ̬仯ͨˮλ ʱģͣԤδһʱڵˮλ仯ƣԱ ƵˮĎԷȡҪIJȴʩ¹
ͼ5ˮλֱͼ
5
 
ϵͳļڵ̫ܹ磬Ⱦʹ þпк͵ֹʽĵ͹Ƕʽ
LPC2148ͬʱϲöʱķݲ ʹ䣬󽵵ϵͳĺĵ紫䷽ѡ ǷΧGPRS·ʡȥ˸ӵ罨ãʵ ˶ֲʽֵؼ⡣ʵϵͳȶ ɿͨΧʱ⣬ֱܹ˽ˮˮλ ˮԴֲһֵڼ緢 ֲȡҪIJȴʩ¹ʷ ԴԽˮλ߶ʱģͣԵ ԤƣΪʽṹṩ֧֡
 
οף
 
[1]ϼŽۣ».ڻŻBPĵ ģD].йҵѧѧ200837 (3) 396 - 401.
 
[2]ƾܣģӱ.ߴľˮλ ϵͳ[J].΢ϵͳ200827 (12) 73 -75.
 
[3]ƽ죬̽񣬵.ARM̫ٿϵͳ [J].ƣ2009(6) 1102 - 1105.
 
[4]Ž.MSP430Ƭĸ߾ѹ [J].DZ봫2010(1) 32 - 35.
 
[5] Samjani S. Anticipatory approach at the MSR level in GPRS architecture, Personal Wireless Communication [A]. 2005ICPWC
 
20052005 IEEE International Conference [C]. 2005188 -191.
 
[6ƽ飬һ.¶ȴˮˮλе Ӧ[J].Ӳѧ200822 (5) 112-116.
(Ͻӵ262ҳ
 
5
 
í߾߼ϵͳí Ҫʵʱ߼⹤ĶֲԶƵҵ ⡣ϵͳڹҵֳܹʵֶ׼{ٵʵ ʱ߲ԶɶíɸѡͳƳ ϸϸʵȼݡ⾫Ϊ0.01mm ٶΪÿ1800ϡ˵ĹЧʣ ͶǿȣҲ󽵵ɱí ָ꣬ҵ
 
οף
 
[1]ɭŹ.íеӦ[J]. 2006’ (12) 45 -48.
 
[2]Գ.ͼƼеӦ[J]. ִе200702): 23 -26.
 
[3] Samsung Electronics. S3C2440 users manual [Z]. Republic of Korea, 2004.
 
[4]ܣƣź.ARMFPGALEDʾ ϵͳ[J].ƣ200917 (12) 2429 -2431.
 
[5] OmniVision. OV3640 S3C2440 users manual [Z]. 2006.
 
[6]ΰ.S3C2440Զͼ߼ϵͳ[J].΢ Ϣ2006, (4 -2) 90-92.
ӣhttp://www.lamaoding.cn/zuixinxinwen_130.html

ȵ

123