2023年全國碩士研究生考試考研英語一試題真題(含答案詳解+作文范文)_第1頁
已閱讀1頁,還剩16頁未讀, 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡介

1、<p><b>  英文原文</b></p><p>  Journal of Software Engineering and Applications, 2011, 4, 172-180</p><p>  doi:10.4236/jsea.2011.43019 Published Online March 2011 (http://www.SciRP.

2、org/journal/jsea)</p><p>  Development of Equivalent Virtual Instruments to PLC Functions and Networks</p><p>  Mohammad A. K. Alia, Tariq M. Younes, Mohammad Abu Zalata</p><p>  Me

3、chatroncis Engineering Department, Faculty of Engineering Technology, Al-Balqa Applied University, Amman, Jordan.</p><p>  Email: makalalia2000@yahoo.com, tariqmog@hotmail.com, abuzalata@yahoo.com</p>

4、<p>  Received February 20th, 2011; revised March 5th, 2011; accepted March 10th, 2011.</p><p><b>  ABSTRACT</b></p><p>  This research is a continuation to our work which was

5、published in [1]. Eight different timing VIs are designed and tested. These include ON-Delay, OFF-Delay, Single Shot, Retriggerable Monostable, and Accumulative software-based timers. Using hardware programmable counter/

6、timer chip (DAQ-STC-24bit) and PCI MIO-16E-1 DAQ board, another two precise timers are designed. At the end of the paper, for illustration purposes, an electro-pneumatic drive system was developed and controlled utilizin

7、g desi</p><p>  Keywords: PLC, Virtual PLC, LabVIEW, Programmable Timers</p><p>  1. Introduction</p><p>  In our work “Design of a virtual PLC using LabVIEW” we have shown how it i

8、s possible to create LabVIEW VIs which represent PLC functions and networks. We compared between PC-based and PLC-based control systems, and came to the fact that both systems are continuously developing in the same dire

9、ction in order to obtain better programmability, connectivity and communication interfacing. At the time being the PC-based DCSs are suited for industrial applications. They are robust and they easily work </p>&l

10、t;p>  2. ON-Delay Timer</p><p>  1) ON-Delay Timer-1</p><p>  Figure 1 shows the front panel and the block diagram components of a software-based ON-Delay Timer. The loop iteration is indicat

11、ed in seconds. Because the loop iteration starts from zero, the increment function is added in order to start it at one. Since the wait icon has 100 ms delay between every two iterations a factor of 10 is multiplied by t

12、imer preassigned value, in order to measure the time delay in seconds. After the application of enable signal it takes some delay time interval for the</p><p>  2) ON-Delay Timer-2</p><p>  The

13、components of the VI are shown in the block diagram, Figure 2. Initially the input signal is not enabled and the false case is activated. The output of select icon will be zero, which is lower than the timer preset value

14、, and as a result of that the output of the timer is OFF. When the input signal is enabled the true case is executed and the select icon will output the value that comes form the output of the case structure. The initial

15、 value of the iteration local variable is zero, then it </p><p><b>  (a)</b></p><p><b> ?。╞)</b></p><p><b>  (c)</b></p><p>  Figure

16、 1. On-delay timer-1, (a) The Block Diagram; (b) The Front Panel; (c) Subicon</p><p>  3. OFF-Delay Time</p><p>  1) OFF-Delay Timer-1</p><p>  The front panel and block diagram are

17、 shown in Figure3. The while loop and other VI components are located inside the false case of the case structure. The true case has a local variable of the timer output, which is wired to the selector terminal. The enab

18、le input signal is connected to the selector terminal of the false case.</p><p>  2) OFF-Delay Timer-2</p><p>  The block diagram is given in Figure 4. When the input is enabled the true case is

19、 activated and the select icon will be selected to zero. In this case the output of the comparison function is false and the timer output is true. When the input signal is disabled the false case executes, and the select

20、 icon is selected to the value that comes from the output of the case structure. When the off-delay time interval elapses the output of the comparison function is true and the timer output is false.</p><p>&

21、lt;b>  (a)</b></p><p><b>  (b)</b></p><p>  Figure 4. OFF delay timer 4, (a) True case; (b) False case</p><p>  4. Single-Shot Timer</p><p>  The b

22、lock diagram and front panel are shown in Figure 5. The Boolean indicator prevents the timer output to turn ON again after the elapse of the preset value of one-shot timer. During the false case the output is OFF, and du

23、ring the comparison time the timer output enabled high. At the end of comparison the timer output is low again.</p><p>  5. Retriggerable Monostable Timer VI</p><p>  Figure 6 shows the block di

24、agram and the front panel of this timer. When the enable input switches ON, the timer output immediately turns ON and the timer starts timing. As soon as the preset time value has elapsed, the timer output switches OFF,

25、even if the enable input is still ON. Every OFF to ON transition of the enable input resets the timer, i.e. the elapsed time is set to pre-set value and timer output is switched ON. Figure 7 shows a three mode delay time

26、r. ON delay, OFF delay and Retrig</p><p>  6. Accumulative Timer–VI</p><p>  The timer block diagram and front panel are shown in Figure 8. The output of the add function and the timer preset va

27、lue are connected to the equal comparison function. The output equal comparison function is connected to one terminal of the OR gate. The other input of the OR gate function is connected to the inverted input signal. The

28、 output of OR function is connected to conditional terminal of the while loop.</p><p><b>  (a)</b></p><p><b>  (b)</b></p><p><b>  (c)</b></p&

29、gt;<p>  Figure 3. OFF-delay timer, (a) The block diagram; (b) The front panel; (c) Subicon.</p><p>  The conditional terminal is connected to one terminal of the AND gate. The other input of the AND

30、gate is connected to local variable of the input signal. The output of the AND gate is the timer output. The while loop and above mentioned components are inside the true case of the case structure. When the input signal

31、 is not enabled the false case is activated, then the local variable of accumulative indicator has a zero value and that value will be stored in the current time indicator. The true </p><p>  7. Conclusions&

32、lt;/p><p>  Using LabVIEW environment, seven different timing virtual instruments have been designed and tested. Applying the same approach it is possible to design a complete set of PLC functions in order to r

33、ealize able PC-based virtual PLC. In this case the virtual PLC will gain the advantages of PC-Based control.</p><p>  REFERENCES</p><p>  M. K. Abuzalata, M. A. Alia, et al., “Designing Virtual

34、PLC Using LabVIEW”, Applied Sciences Engineering and Technology, Maxwell Science Publication, UK, Vol.2, No. 3, 2010, p. 288.</p><p>  “Function and VI Reference Manual,” National Instruments,1998 Edition, A

35、ustin, USA.</p><p>  K. L. A. Shley, “Analog Electronics with LabVIEW,” Prentice Hall PTR, 2003.</p><p>  T. Mohioddin and M. Nawroki, “LabVIEW Advance Programming Techniques,” Second Edition, C

36、RC Press, Boca Raton, 2006.</p><p>  J. Essick, “Hands-on Introduction to LabVIEW for Scientists and Engineers,” Oxford University Press, USA,2008.</p><p>  J. Y. Beyon, “Hands-on Exercise Manua

37、l for LabVIEW Programming, Data Acquisition and Analysis,” Prentice Hall PTR, USA, 2003.</p><p>  B. E. Paton, “Sensors, Transducers and LabVIEW,” Prentice Hall International (UK) Limited, London, 1993.</

38、p><p><b>  中文譯文</b></p><p>  軟件工程與應(yīng)用,學(xué)報(bào)2011,4,172 - 180 </p><p>  開發(fā)與PLC功能和網(wǎng)絡(luò)等效的虛擬儀器</p><p>  Mohammad A. K. Alia, Tariq M. Younes, Mohammad Abu Zalata</p&g

39、t;<p>  Received February 20th, 2011; revised March 5th, 2011; accepted March 10th, 2011.</p><p><b>  摘要</b></p><p>  本研究是對(duì)我們工作的一個(gè)延續(xù),發(fā)表在[1]。設(shè)計(jì)和測(cè)試了八個(gè)不同的時(shí)間VIs。這包括延遲打開、延遲斷開、單發(fā)射擊、

40、可在觸發(fā)的單穩(wěn)態(tài)、累計(jì)計(jì)時(shí)器軟件。使用硬件可編程計(jì)數(shù)器/定時(shí)器芯片設(shè)計(jì)(DAQ-STC-24bit)和PCI MIO-16E-1 DAQ板兩個(gè)精確的計(jì)時(shí)器。在本文的結(jié)尾,開發(fā)一個(gè)電動(dòng)氣動(dòng)驅(qū)動(dòng)系統(tǒng)和利用對(duì)延遲計(jì)時(shí)器控制設(shè)計(jì)VI功能,來解釋。實(shí)驗(yàn)結(jié)果顯示基于plc程序控制和基于plc虛擬兩者之間的結(jié)果是一致的。</p><p>  關(guān)鍵詞:可編程控制器,PLC虛擬,虛擬儀器,可編程定時(shí)器</p><

41、;p><b>  介紹</b></p><p>  我們的工作“使用虛擬儀器設(shè)計(jì)虛擬PLC”,我們已經(jīng)表明我們可以創(chuàng)建代表的PLC功能和網(wǎng)絡(luò)的虛擬儀器?!∥覀儽容^基于PC和基于PLC的控制系統(tǒng),來得到兩個(gè)系統(tǒng)不斷在同一方向發(fā)展以取得更好的可編程性、連通性和連通接口。同時(shí)基于PC的DCSs是適合工業(yè)應(yīng)用的。他們是健大的和他們輕松地工作在一個(gè)開放的架構(gòu)模式,雖然PLC是配備特定的MMI軟件

42、和偽標(biāo)準(zhǔn)變換軟件。我們表明,為了提高的可編程性PACs,我們幾乎把計(jì)算機(jī)的眾多優(yōu)點(diǎn)的PLC作為多任務(wù),無限的記憶,高速和可能創(chuàng)造出無限數(shù)量的可編程對(duì)象如計(jì)數(shù)器、計(jì)時(shí)器、移位寄存器和其他。因?yàn)橹暗墓ぷ饕?guī)模有限,我們不能覆蓋其他重要的工作,使用和模擬PLC功能。本文我們開發(fā)不同類型的使用虛擬儀器軟件[2]和NI DAQ板硬件的可編程定時(shí)器。虛擬儀器的基本功能,提供時(shí)間在毫秒級(jí)的“等待”和“等待多個(gè)“VIs。兩者都是基于相同的底層機(jī)制。大多

43、數(shù)應(yīng)用程序工作的舒適,可用虛擬儀器測(cè)量,解決毫秒,更多的操作與第二分辨率[3 - 4]。一些應(yīng)用程序的需求和響應(yīng)時(shí)間毫秒級(jí)的決議,這是有問題的,主要是由于操作系統(tǒng),而不是一個(gè)虛擬儀器限制[5]。一些應(yīng)用程序的需求和響應(yīng)時(shí)間毫</p><p><b>  2、 接通延時(shí)時(shí)間</b></p><p><b>  1)、接通延時(shí)-1</b></p

44、><p>  圖1顯示了前面板和程序框圖的組件軟件在延遲計(jì)時(shí)器。循環(huán)迭代顯示秒。由于循環(huán)迭代開始從零,增加功能被添加以啟動(dòng)它在一個(gè)。因?yàn)榈却龍D標(biāo)有100毫秒的延遲每兩個(gè)迭代之間的10倍乘以定時(shí)器預(yù)先指定的值,為了測(cè)量時(shí)間延遲在秒。應(yīng)用程序的啟動(dòng)信號(hào)后,它需要一些延遲時(shí)間間隔相等的功能有一個(gè)真正的狀態(tài)輸出。如果輸入信號(hào)是禁用的,定時(shí)器輸出立即改變低狀態(tài)。</p><p><b>  2

45、)接通延時(shí)-2</b></p><p>  VI的組件顯示在框圖2。最初輸入信號(hào)不啟用和虛假的情況下被激活。選擇圖標(biāo)的輸出是0,即低于預(yù)設(shè)值,定時(shí)器的結(jié)果是輸出的計(jì)時(shí)器是關(guān)閉的。當(dāng)輸入信號(hào)是使真正的案件執(zhí)行,選擇圖標(biāo)將輸出值,來自輸出案例的結(jié)構(gòu)。迭代初始值的局部變量是零,那么它將增加所造成的延遲后等待圖標(biāo),然后由定時(shí)器預(yù)設(shè)值相比。當(dāng)比較函數(shù)的輸出是正確的,輸出的定時(shí)器就高。當(dāng)允許輸入信號(hào)就低,輸出的計(jì)

46、時(shí)器同時(shí)就低。在這個(gè)VI,檢查案例的結(jié)構(gòu)是連續(xù)在一個(gè)掃描速率等于一毫秒,接受許多應(yīng)用程序。</p><p><b> ?。╝)</b></p><p><b>  (b)</b></p><p><b> ?。?)</b></p><p>  在延遲定時(shí)器,(a)框圖;(b)面

47、板(c)功能</p><p><b>  3、關(guān)閉延時(shí)</b></p><p><b>  1)關(guān)閉延時(shí)-1</b></p><p>  前面板和方塊圖是圖3所示。當(dāng)循環(huán)和其他VI組件的位置在錯(cuò)誤的情況下的情況下結(jié)構(gòu)。真實(shí)的案例有一個(gè)局部變量定時(shí)器的輸出,這是連接到選擇器終端。允許輸入的信號(hào)連接到選擇器終端的虛假情況。&l

48、t;/p><p><b>  2)關(guān)閉延時(shí)-2</b></p><p>  給出了框圖如圖4。當(dāng)輸入是啟用的情況下被激活的真實(shí)和選擇圖標(biāo)將被選定為零。在這種情況下,輸出的比較函數(shù)是假和定時(shí)器輸出是正確的。當(dāng)輸入信號(hào)是禁用的虛假案件執(zhí)行,選擇圖標(biāo)被選中的值來自輸出案例的結(jié)構(gòu)。當(dāng)關(guān)閉延遲時(shí)間間隔過后比較函數(shù)的輸出是真的和定時(shí)器輸出是假的。</p><p&g

49、t;<b> ?。╝)</b></p><p><b>  (b)</b></p><p><b>  (a)真(b)假</b></p><p><b>  4、單發(fā)定時(shí)器</b></p><p>  和前面板的框圖如圖5所示。布爾指示器防止定時(shí)器輸出后再

50、打開的推移預(yù)設(shè)值一次性計(jì)時(shí)器。在錯(cuò)誤的情況下,輸出是關(guān)閉的,在比較時(shí)間定時(shí)器輸出使高。最后比較計(jì)時(shí)器再次低輸出。</p><p>  5、可再觸發(fā)的單穩(wěn)態(tài)定時(shí)器VI</p><p>  圖6顯示了框圖和前面板的計(jì)時(shí)器。當(dāng)允許輸入開關(guān),定時(shí)器輸出立即打開,計(jì)時(shí)器開始計(jì)時(shí)。一旦預(yù)定時(shí)間價(jià)值已經(jīng)運(yùn)行,定時(shí)器輸出開關(guān)關(guān)閉,即使允許輸入仍在。每一個(gè)去在過渡的允許輸入重置計(jì)時(shí)器,即運(yùn)行時(shí)間設(shè)置為預(yù)設(shè)值

51、,定時(shí)器輸出接通。圖7顯示了一個(gè)三模延遲計(jì)時(shí)器。在延遲,延遲斷開和可再觸發(fā)的單穩(wěn)態(tài)計(jì)時(shí)器是建立在一個(gè)框圖,程序員可以選擇所需的定時(shí)器模式。</p><p><b>  6、累計(jì)計(jì)時(shí)器vi</b></p><p>  計(jì)時(shí)器框圖和前面板如圖8所示。添加函數(shù)的輸出和計(jì)時(shí)器預(yù)設(shè)值是連接到平等的比較函數(shù)。輸出相等的比較函數(shù)連接到一個(gè)終端的或門。的另一個(gè)輸入或門函數(shù)連接到反向輸

52、入信號(hào)?;蚝瘮?shù)的輸出終端連接到有條件的while循環(huán)。</p><p><b> ?。╝)</b></p><p><b> ?。╞)</b></p><p><b>  (c)</b></p><p>  (a)框圖;(b)前面板;(c)功能</p><p

53、>  有條件的終端連接到一個(gè)終端的和門。其他輸入的與門連接到本地變量的輸入信號(hào)。與門的輸出是定時(shí)器輸出。while循環(huán)和上述組件是在真實(shí)情況下案例的結(jié)構(gòu)。當(dāng)輸入信號(hào)是不啟用虛假情況下被激活,那么局部變量的累積指標(biāo)有一個(gè)零值,這個(gè)值將被存儲(chǔ)在當(dāng)前時(shí)間指示器。真實(shí)的情況下將啟動(dòng)時(shí)的輸入信號(hào)是啟用的。如果輸入信號(hào)是殘疾人平等比較函數(shù)之前是正確的,錯(cuò)誤的情況下被激活和本地變量的循環(huán)迭代有價(jià)值的循環(huán)停止,這個(gè)值將被存儲(chǔ)在當(dāng)前時(shí)間指示器。如果

54、輸入信號(hào)被再次激活,真正的情況下被激活和前面的操作再次重復(fù),循環(huán)迭代添加到之前的值,這是存儲(chǔ)在當(dāng)前的定時(shí)器起訴者,那么它就是與計(jì)時(shí)器預(yù)設(shè)值。流程的建立及顯示輸入信號(hào)持續(xù)進(jìn)行直到輸出相等的比較函數(shù),結(jié)果變成真正的定時(shí)器輸出打開。硬件可編程計(jì)數(shù)器/定時(shí)器芯片(DAQSTC-24鉆頭)和硬件時(shí)基信號(hào)來源位于PCI-MIO-16E-1板是利用。該計(jì)劃是建立采用先進(jìn)subVIs因?yàn)樗麄兏`活的比容易VIs或中間vi。一個(gè)密切相關(guān)的問題是使用兩個(gè)硬

55、件計(jì)數(shù)器測(cè)量的采樣時(shí)間間隔。在這種情況下信號(hào)的興趣喂養(yǎng)計(jì)數(shù)器源終端和終端的另一個(gè)計(jì)數(shù)器。源終端的第二個(gè)計(jì)數(shù)器是美聯(lián)儲(chǔ)通過定期時(shí)鐘信號(hào)</p><p><b>  7、結(jié)論</b></p><p>  使用虛擬儀器環(huán)境,七種不同的定時(shí)虛擬儀器設(shè)計(jì)和測(cè)試。運(yùn)用同樣的方法可以設(shè)計(jì)一套完整的PLC功能以實(shí)現(xiàn)能夠基于pc的虛擬PLC。在這種情況下,虛擬PLC將獲得的優(yōu)勢(shì),基于p

56、c的控制。</p><p><b>  參考文獻(xiàn)</b></p><p>  M. K. Abuzalata, M. A. Alia, et al., “Designing Virtual PLC Using LabVIEW”, Applied Sciences Engineering and Technology, Maxwell Science Publicati

57、on, UK, Vol.2, No. 3, 2010, p. 288.</p><p>  “Function and VI Reference Manual,” National Instruments,1998 Edition, Austin, USA.</p><p>  K. L. A. Shley, “Analog Electronics with LabVIEW,” Prent

58、ice Hall PTR, 2003.</p><p>  T. Mohioddin and M. Nawroki, “LabVIEW Advance Programming Techniques,” Second Edition, CRC Press, Boca Raton, 2006.</p><p>  J. Essick, “Hands-on Introduction to Lab

59、VIEW for Scientists and Engineers,” Oxford University Press, USA,2008.</p><p>  J. Y. Beyon, “Hands-on Exercise Manual for LabVIEW Programming, Data Acquisition and Analysis,” Prentice Hall PTR, USA, 2003.&l

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 眾賞文庫僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。

評(píng)論

0/150

提交評(píng)論