• 沒有找到結果。

以分散式控制系統為基礎之智慧型元件網路

N/A
N/A
Protected

Academic year: 2021

Share "以分散式控制系統為基礎之智慧型元件網路"

Copied!
6
0
0

加載中.... (立即查看全文)

全文

(1)

(2)  

(3)  Smart Device Networks for Distributed Control Systems NSC 88-2212-E-009-035  87 8

(4) 1  88 7

(5) 31  (whc@cc.nctu.edu.tw)  !"#  ()  

(6)     !"#$%&'()

(7) *+,-./0123456789:; <=>?@ABCDEFG0H IJKLMN9OPQ&'() 5RST 6UVWXYZ[\ ]^&'()_`abTc;H_` a&'defa ghijkl"& '()mno2_`G0HIpqrs !tu vuw\5R67xy z{fa!8|}*|~[1€y 8‚ƒ[_`a&';Hde„ † [‡nghij ˆa‰Š &'()h‹ŒacWXŽ kG   _`a&'1&'()1   Abstract. analyze the reliability and performance concerning both effects of static and dynamic evaluations. The proposed framework for designing smart field devices fulfills the demands of generality, expandability and convenience of application. Utilizing the constituted development environment for embedded systems, this project prototypes smart device subsystems while implementing software and firmware resources. Some preliminary testing has been taken, and further experiments will proceed. Keywords: Smart Device, Device Networks, Distributed Control System 

(8)    ‘’"“”•–; H!8o2x—˜xy ™š› œ–KžŸ ¡8¢f£ˆ ¤¥¦§mGB¨¥¦ §m I/O ©A1ª« &'£ ¬p2„.8&'­d.®¯Ÿ   °±¯¡²³´µ¦1¶· ¸ =>¹ºoB¥:‰»G"¼/½ ¾¿À˜®ÁÂÃÄÅ¥ÆÇÈ /0É;H1ÊË =>ÌÍ [1]G BÎ()

(9) ¥ÏÐÑh‹ qD!ÒÓ6 PLC ÔÕ›Ö ×ØGÙÚÎ()

(10) ÛÜÝÞ

(11) (Bus Technologies)ßK¿ÀO+ xÐàÆ()d.Ÿ ¯¡ ŽQÐáYy§mde•âã[ !“äåæGç¨ Fieldbus

(12) £¬èâéd. ®¯oêëì,íÛ&'(Device. Industries had already broadly applied concept and technologies of distributed systems. With regard to manufacturing and control, device networks technology based on distributed control system has advantages of low-cost wiring, high-speed data passing, and convenient configuring and maintenance. It’s a trend to utilize this technology. The main idea of this project is to bring certain intelligence into device networks by means of analyzing the reliability and performance of message passing as well as constructing a design framework for smart field devices. This project addresses an extended model to 1.

(13) ÜÝÞÀJ%¤gh*ÇÈòy ¢K –ÛLM<ÎÜÝÞ¢K Ž –NOP/ÔQÀJ(de facto Standard)[7]G"éRSH)4TUn. V0H)ÂÃWˆLMXYZ< |ÀJ"JKLM[*G\]! C0H)LM/,c¥“²ñ^_ `a·çb†[G Kc<|ÀJDïLM[*ß dÂÃefúÜÝÞ

(14) çgg ¯¡1Ž45hi9:oÖK BŽj'DT¥klmýLh/ 0n,+o”LMomnŽ

(15) p+CDh‹½q[8]GDeviceNet r<degg CAN ÜÝÞr<¤Ü ÝÞ4st+ u v£Áwo+ xB ODVA 12ybr<=>8h ‹z{¤O*Ó<[_`Q gh|o+¹}GB0H)Z<! DeviceNet r<"JK%LM[*G. Level)         (Distributed Control Systems)y‰ ‘[3]G˜¨ïÜÝÞÔð ©STñ&'¥BŸ ”òyó «;ô²B*õ|Ûö<òy%&'Û ó«sÙ÷ÜÝÞ() Y! øù"&'()(Device Networks)[4]G&'  Fieldbus Û&'()öúû . üŽ† ýþ ‰ ˜žG  W&'()Ôð©& '¥*ôö<ªÛvòyo y K

(16) uÛKžç& '[5]Ùù_`a&'Ôe/( )"_`a&'()(Smart Device Networks)G_`a&'()¤s+ £5R¤ÝvYyB«. Ú&'YyB&' ü4 !"+x—ý#3ÐSTÙÚ 5R²rsy¹$çOs[ YZ¡ B%&m!ÒÓÖK'([6]G 0H)¿OQ_`a&'( )¤!"ST£Os5R(Real-Time Events)*(WXLMLM+,«¤;H*+ST_`a& 'Os5Ry_`abT./G² &'012ST_`a&' &'() ­5R38ST_`a5R¨4õ &BLMJKÖA%|G"éŠ5 T6 LMYX[|_`a DeviceNet 47-щ8qDG² +_`a&'()ST5Ry x —!8Os[Ž*(-9:‰Š !;W|\ ]^G   . CAN 

(17) DeviceNet

(18)  DeviceNet r<Bde CAN ÜÝÞ r<%¤² CAN r<B!~P" €    5 r < (Communication Protocol)çJK" 3 de[9]Y. v  À J ‚ ƒ (International Standard Organization or ISO)Ô<ggð ©(Open System Interconnection or OSI)À J 7 „ef(Reference Model)ŽQ [10]G CAN r<‰/(Physical Layer). ISO/OSI  7 „ef¨‰/Ž ï12RA­‰ Bit 4 6U !8‰/6U4< G†Cö[ DeviceNet ()+e(ۇˆTopology) Y!‰ŠÐŸ Gç¨()‰/+e *+‹üŽŒŽ.|‹;"5 ÜÝސ|‹;"‘TÜÝÞY pw&'Ô‘TGrs DeviceNet ()¤RA§mے“”è¦() ‘TwÔ!ÏVs­Y!à ^•,LM–Xۗ%˜™v8 yî.¤(Up-Time)šXG CAN r<›'(Object Layer)86.  _`a&'()h‹B<=>? DÜÝÞ

(19) /@ABG“CQ_ `a&'()LMÂÃDŽ Fieldbus ÜÝÞ

(20) gEWXG ÜÝގ

(21) h‹B FG ¥rž

(22) XHI 2.

(23) _`a&'()bTç×y îØÐz{()5R6Uxy  uGz{wY!Btu(Static)Ûvu (Dynamic)Ù8ç+¥röA8 sVGe&'()¤5R67Os [@d[ì,&'5RŠoñÚ (Blocked)@d[2&'5R²_` ^xyG!,¢)C ()desdXz{ç¨&' 5R67Os[!8†/xycÕ! ;H ֆ5R„Û²¼^O s[KžC"tuی.(Offline)z{ wG ef|&'()¤RAÃ!ÜI[ wh©5RGC&'5R m ()¤ 67sÁY!Û„ÛD»¼ç¨ Tm »¼5Rh©ÜIs­Jm BÝRA(N ·)Jô5RÞïÔs­•£Yy• vCm B5R()ß/¤67s ­Wm "C5RôÞ^Y!©qM( )ß/Ô?&s­[12]GB

(24) RAàh ©&'5R mM¿RA©ábâs ­ Rm Y»¼" Rm = J m + Wm + C m G ¤¨ Jm Cm ÖK[¥2Wm B_` &'5R m 6UOs[JK“ãäY !»¼" W m + J j + τ bit  W m = Bm + ∑  C j G Tj ∀j ⊂ hp ( m )   ç¨ Bm B?&@d[å&'5R m , &'5Rb/ gE6©5RÔÄ•æ s­O@d[å&'5R m ,&'5 R¨æ¡•æ&'5R k()ß/¤ 67s­ Ck²&'5R j Bç|* ì2@d[(Higher Priority)&'5R m 5Rτbit Bè 1 bit ()ß/¤67 s­GÙé¨ê°q‘ WmëêB Ý&'5R m ?&s­ì@d[ì 2&'5RíîÔÄÅ6Us­² ÙYïð ñDžiG ¤¾5R67sÁ\Hòq| &'5R

(25) RA(N·)gEJô^¿R A © á b â  s ­  • ó  ¯ (Worst Case)GB()5R6Uxytuz. U(Transfer Layer)pwé ISO/OSI  7 „ef¨()(Network Layer)84 œ+(Data Link Layer)Ô+òy8 !5K(Framing Format)1ž¶¸  o1œ+bT8< Ÿhw ?G ý CAN r<ë|÷¡|1‰¢£[4 ¤ ¥ ¦ § V  (Bitwise Arbitration Scheme)B! Bit "õ¨²rsh© ª «; |<o+ 1 h©|y/ò© q4 ¥o+Ö©4 ²¬­6©3— ®¯h˜G‰¤CAN r<ö< st12šXIntel1Motorola1Philips 8 Siemens °+pwG DeviceNet r<[11]‰B CAN r< ¤±de|(Application Layer) ŽQ ISO/OSI „ef² 7 ( )G¨< é|÷›'fa (Object Model)!„ RAëG| R A  ³ ´ ¤ B µ ” › ' (Objects)  ¶ ›'pw()&'¨ö< · ¸ Û õ &  ¹ º » ¼ (Abstract Representation)GÙ÷›'fapwéST ›'½O&'¨ö<·¸¾¿[4 (Attributes or Data)À<w 8¯ÁY !w‚ЄÂëG²| DeviceNet () Y!ÃÄM” 64 RA¨ÅÛ MAC IDs(Media Access Control Identifiers)  DeviceNet ÜÝÞ¤5R67V B+ ð©Æ 4 ²~()% ¨G"éÇÈÜÝÞ¨€Éʔ5R² ” Ëâ_`^()ÌÍëx— Y!ƒ˜|ÎËÅ|V (Producer-Consumer Mechanism)Ïh•2 x—GÙ÷5R67B!uЕ  (Change-of-State Method)wb/Y! •Ñs­Nb/²ýyî!|Q” w675RҔö<Û¥ö<& 'G  Q&'()bT¯²Ó!,Y !PQÔ+&'5R;|†/z{ ÔÕ¥ržÖ†5Ru deç¤%-y¼^ •ûx—8[yG 3.

(26) _`ÂÃôdz{ ;H PQÚ@d ¥Ê2äþÖK &'5RG. {Y!ôdHòè5R•ó(6U) ¯õ¦Bö çOs[ž! ,¥yֆ()„Û(!®83¡)Û |&'5R„Û(!h©ÜI)!¼^ ¤KžG ]²Û&'() ‰Ù8¨Yyڌ“¥ö< s­h˜ž¶&'5R67&'( )*+÷3ýYZž¶¸VDh‘ Ùڞ¶5R67²³´ž¶ ø (Error Recovery)ÂÃÖÎ6©Ù&'5 RBùéÇÈ()Ù8s­Gä YyB&'()¤ÚRAÔ6©&' 5Rú*+‰ÜI[ö[o¥À Is­WX5R6©cYyQÜI [&'5R67/›Ö_`²”   Os[žG“C½¾5R6 7sÁ\ÂÃK±-¤ûü•Û efWÉGž¶ øh˜Ã Ô ij²m!{ìýþij¨h ˜V—2ýà6©5Ræ¡æ 7]G²‰ÜI[&'5Rh©Ô/ _`à ‰„Ë „Û; <m!z{Y!;"*|°6© ÜI&'5RûnÜI[5R67 sÁ\%¨G ž¶ ø ‰ÜI[&'5Rt u()xyz{¨” ØÐm!H òQ†/Os[_`Yyþ £+ÂK.¤(Online)WXvu z{Gvuz{|÷wBPQ†/ 5R67xy{ÖA&' ( ) 5 R 1 [  9 ž (Fault-Tolerating) y GÙBÝÔ+&'5Rù()s­ å—!,,Û=$|<¯¡%N @d ì,&'5RúyîsV %N6©qDGÙ÷†/[{c¥¹ 5ö<&'5ROs[ÂÃpw |÷vuz{wOú&'5R. G :

(27) ú&'5Rh©_ `a()bT./Y!Y9s­ XYNKžchiC&'5RÇÈ ž¶h˜]²Ù÷wYyÑI NQç&'5R67ö[/¥ˆ.   ¤Ae_`a&' ()“é()¤67÷÷5RK©ñ _`abT%ȨRAÛ ñ  & ' (Controlling or/and Controlled Devices)¥Ky ()çRA& 'üŽ34 oKy“ÙÚ4 ² 8qûïý8s/"_`a& 'GQ_`a&'de“é}*| ~[ ã[Ke€y8 ‚ƒ[ ÙÚöA牻de;H !l 1 Ô¼Ã+JK·O& ' õ & (Device Unit) 1 5 R ¨ 4 õ & (Message Broker Unit)8ÜÝÞ4õ& (Bus Interfacing Unit)G Device Unit. Original Device Functions of Sensors or Actuators. Message Broker Unit. Smart Message-Processing. Bus Interfacing Unit. CAN Interface or DeviceNet Interface CAN Bus. Figure 1. Smart device architecture for device networks..  &'õ&*+ŒD|~ª1v&' Û;ôòyÈ›TÛN· Ùò+,"Ywh55R¨ 4õ&©áÙÚ59ö<ST³ : ÜÝÞ4õ&©q&'()i 1 |<¢K&'5RGŽÐ ÜÝÞ4õ&D&'()¤h& '5R9õ¦"0RA&'Ž%³ -ÒÔi%4 ©M5R¨4õ&r äÐ5R¨4õ&!ö<wSTÙ Ú4  +,5&'õ &Bçvòy-5Uq"Ž ï›TÛ©n;ôN·8W|S TGÙdeO5R¨4õ& ;H“"ÔQ_`ú»‘ç¨! 4.

(28) ¨4õ&¨ÜÝÞ5f‚($/)C 5f‚yî„ ÜÝÞ4õ&ÜÝÞ r<8st9:Ã1ÛÒ² & '()üŽ34 G±|!,C_` a&'K23òyÛ£¬Ð•çò yKo5R¨4õ&¨5RS Tf‚($/)OYG_`a&';Hã [1€y8[C_`a&'d e45éG. "STÜÝÞ5R8ªÛv5: ¯ÛB!"‰X05R85¨ 43G Sensor and/or Actuator Device-Side. Signal Conditioning. Signal Receiving. Command Sending. Device Interfacing. 

(29)   "éŠ5½¾T6 ;Hde²ý LMŽgh®*|ûïh‹i Bus-Chip Communicating Interfacing jKÑAeqDG“C0HI;Ëé| ‰Š1ˆ¢f DeviceNet ()() CAN Interfacing or Bus-Side ¤ð++Û* NA DeviceNet r<5 DeviceNet Interfacing òy&'c!* PCI 4 DeviceNet Figure 2. Block diagram of data flow for smart devices.  678(Scanner Card) 9‘:Žð Q5R¨4õ&ÔJ€5R3 È7+|Y!;w‚Ðð©¤()É;< VèK ¼l 2 ¨c!"³G RA„Û RS-232 f‚G²"éDô_ 5R¨4õ&Z&'0ƒª5© `a&'HIL<0H);Ëé| áf‚8v#h©f‚ &'Ž© =‡nghijç¨+* CAN Ü ²‰¤ÃÄé‰/4 $/v ÝÞf‚ 8051 Û Siemens >«õs ¯(Device Drivers)üŽ%„GÙ&' t>‘:#?c„ @Agh‘)?8 4(Device Interfacing)·BÔQ&' ¯h‹./G Ž(Device Dependent) &'¥  r²oG5R¨4õ&5RSTf  ‚BÃÄ5R4 Ò1õ¦   ST?&X_`òyf‚'“C 

(30)  *+(2ã[ _`yG²·    ÛÜÝÞ5·B&'Ž !"#$%&'()

(31) ÔëÜÝÞr<+|Ôë *+,-./0123456789:; ÜÝÞr<8st¥r5R¨4 <=>?@ABCDEFG0H õ&KoÙ5f‚OYG IJKLMN9OPQ&'() )Ù_`a&'deÛ 5RST 6UVWXYZ[\ ñ&' ÜÝÞ()*+8xBgD ]^&'()_`abTc;H_` B!,Kë&'Û;ôð©¤&' a&'defa ghijkl"& ()K< ,&'õ&(-/)5© '()mno2_`G A]³¹5R¨4õ&(-/8$/) _`a&'()‰»Y!" ¨&'4ª5©áf‚8v |B()¤&'5R67 S #h©f‚($/)„ < ,5©A T|B_`a&';H ghGQ ²yST &'õ&%­53OY ½|½9LMBpq|•ó¯ .ƒÙ8Gä!,Kð©¤*|ÜÝÞ z{faPQ*@I[&'5 r<&'()o/0CÜÝÞr RG0HI€ÙfaÈef‰@ <ÜÝÞ4õ&(-/)]³¹5R I[h˜&'5RÞ¶ ø5R Message Broker. Message and Control Processing. Smart-Enabling Functions. 5.

(32)   

(33) . 8À;O"‰@I[h©5RGC€ faB!ÔQtuی.wz{ 5R67xycýyîPQú& '5RWX\BY!DdI¢ )&'()¤RA„Û;<G]²‰ @I[h˜&'5R¥yJØÐ{ äÂ<o˜ýCij  ¯¥r²•âtuz{wB¥D G“CvuÛ.¤z{ö[K±m nCfa¨Bƒ5R1[9žy †/[z{8

(34) ú&'5Rh ©&'()bT./Y!*+_`ÐS T()¤5R67G ²+C_`a&'()bT./ ‰80H);ˇngh ij EFé·¯GHç¨ Ãé CAN r<48 DeviceNet ›' ?!85R67sÁ\³´¯Á ¿½yî9‘:09678DÙ 8G Q_`a&';H gh0HI pq|}*|~[1€y8‚ƒ [‰»de-_`a&'e/" í[õ&O&'õ&15R¨ 4õ&8ÜÝÞ4õ&GÙ‰»d eÛñ&' ÜÝÞ()*+ 8xBgD¨­ :5R¨4õ&Dð ©K„ < ,54”6B o ñ&'ÛBKЕð© ÜÝÞ() r<y†¹ö< f‚Û$/1w‚м/G ²Ùde‰8räB0H); ˇnghij¤‰»„ * CAN ÜÝÞf‚ 8051 >«õst >‘:#?!8@Agh‘)?b/ CAN r<8· DeviceNet r<›'%5 R¨4¯c‚ ²/ CAN 4. Iè DeviceNet 4G•³Ù ghJð+¤0HI;ˈ a‰Š DeviceNet/CAN ()WXk „ rBghJ()bT./Ky îŠÙ8³´oLnk-$´ ÐWXcý£‰Š()¢f! Š5ÔpqT6de \G. . ü¿ LMN9 Œ HIŽ¯¡ ¼/ÀI¿À ®¯ LM/,N

(35) OP LM/, OP Böû N

(36) IQh» Böû ST Uƒ JKh‘Ûç Ì+OP.  z{ 100% ( ŒHI ÔpLMN9) 80% (kíM ·+,¥b†) &'()#$L M ;H‰8 ·/,*BO% ‰[ B (->INUR) B(·/,- >INSTUƒ) vtu}*5R 67xy\8_ `a&';Hde.   . [1]. R. T. McLaughlin, “Control Networks: the Impact on Industry,” Sensor Review, Vol. 17, No. 3, 1997, pp. 192-193. [2] P. L. Schellekens, “A Vision for Intelligent Instrumentation in Process Control,” Control Engineering, October 1996, pp. 89-94. [3] C. Polsonetti, “Device Networks Come in All Flavors,” Control Engineering, September 1995, pp. 125-130. [4] S. F. Frosser and E. D. D. Schmidt, “Smart Sensors for Industrial Applications,” Sensor Review, Vol. 17, No. 3, 1997, pp. 217-222. [5] G. Paula, “Building a Better Fieldbus,” Mechanical Engineering, June 1997, pp. 90-92. [6] A. McFarlane, “Fieldbus Review,” Sensor Review, Vol. 17, No. 3, 1997, pp. 204-210. [7] D. P. Lane, “Sensor Gateway to Fieldbuses,” Sensor Review, Vol. 17, No. 3, 1997, pp. 211-216. [8] Robert Bosch GmbH, CAN Specification 2.0, September 1991. [9] M. Schwartz, Telecommunication Networks: Protocols, Modeling and Analysis, Addison-Wesley, 1987. [10] Open DeviceNet Vendor Association, DeviceNet Specification 2.0, February 1997. [11] K. W. Tindell, H. Hansson, and A. J. Wellings, “Analysing Real-Time Communications: Controller Area Network (CAN),” Proceedings: Real-Time Systems Symposium, IEEE Computer Society, 1994, pp. 259-263. 6.

(37)

參考文獻

相關文件

Understanding and inferring information, ideas, feelings and opinions in a range of texts with some degree of complexity, using and integrating a small range of reading

Therefore, this paper bases on the sangha of Kai Yuan Monastery to have a look at the exchange of Buddhist sangha between Taiwan and Fukien since 19th century as well as the

CAST: Using neural networks to improve trading systems based on technical analysis by means of the RSI financial indicator. Performance of technical analysis in growth and small

CAST: Using neural networks to improve trading systems based on technical analysis by means of the RSI financial indicator. Performance of technical analysis in growth and small

To convert a string containing floating-point digits to its floating-point value, use the static parseDouble method of the Double class..

Then, the time series of aiming procedure is partitioned into two portions, and the first portion is designated for the main aiming trajectory as well as the second potion is

The aim of this study is to investigate students in learning in inequalities with one unknown, as well as to collect corresponding strategies and errors in problem solving..

This research project tries to examine the issues of domestic green hotel service design, integrating QFD and VAHP, as well as to construct green criteria and their