




已閱讀5頁,還剩5頁未讀, 繼續(xù)免費閱讀
版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領(lǐng)
文檔簡介
1 中文 1963 字 Labview-based virtual function Signal Generator V Marozas, R Jurkonis 1 Introduction Since 1986, the U.S. NI (National Instrument) companies to the concept of virtual instrumentation, along with computer technology and measurement technology, virtual instrument technology has also been developed rapidly. Virtual instrument means: use of the existing PC, with a specially designed instrument hardware and proprietary software, the formation of the basic functions of both the ordinary instrument, there are usually no special equipment features of the new instrument. Compared with the traditional instruments of its features are: better measurement accuracy and repeatability; measurement speed; system set up time is short; instrument function defined by the user; scalability; technical updates and quick. Virtual instrument software as the core, the software company Youyi U.S. NI Labview virtual instrument software development platform most commonly used. Labview is a graphical programming language, mainly used to develop data acquisition, instrument control and data processing and analysis software, and powerful. Currently, the development of software in the international test, measurement and control industry, popular, measurement and control areas in the country has also been widely used. Function Generator is a scientific research and engineering design in a widely used general-purpose equipment. The following function signal generator with a virtual design and development of specific description is based on graphical programming language Labview virtual instrument programming and implementation of technology. 2 2 virtual function signal generator structure and composition 2.1 Virtual Function Generator front panel This virtual function signal generator mainly consists of a PCI bus, multi-function data acquisition card and appropriate software. Them installed on a PC running Windows95/98/2000/NT the machine, shall constitute a powerful function of signal generator. The design of the virtual function signal generator reference signal generator SG 1645 power functions, front panel shown in Figure 1. Figure 1 virtual function signal generator front panel The function generators front panel function of the following components: instrument control button, the output frequency control window (including the frequency of display units), frequency fold into control, waveform selection, frequency tuning button, dc bias, square wave accounts for Air ratio adjustment, the output waveform amplitude control buttons. Frequency tuning range: 0.1 1 Hz; DC bias: -10 10V; square wave duty cycle: 0 to 100%; output waveform range: 0 10V. Also increased the number of modification of voltage-controlled components such as panel input count input, synchronous output, voltage output. Modification of the use of these components is intended to increase the aesthetics of the instrument, and as far as possible with real instruments consistent user interface 2.2 Virtual Function Signal Generator hardware structure This virtual function signal generator hardware input and output data acquisition card and a certain 3 configuration requirements of the PC, the data input and output depend on input data acquisition card, the definition of output achieved. This design uses the PCI-1200 data acquisition card is a good cost-effective products, with the D / A conversion functions, can generate the digital signals into analog signals and digital-analog converter and high precision, but also has filtering capabilities, which Smooth the output waveform. It supports the unipolar and bipolar analog signal input, the signal input ranges of -5 +5 V and 0 10V. Provide 16 single-ended / 8 differential analog input channels, 2 independent of the DA output channels, 24-line TTL digital I / O, 3 16-bit timer counters and other features. Some of the hardware interface for data input or output channel settings. Some of the hardware interface block diagram shown in Figure 2: Figure 2 4 3 Virtual Function Signal Generator Design and Implementation Some use professional LabVIEW6i software virtual instrument graphical development tools. Virtual function signal generator output waveform mainly in software production and the output signal frequency display. Changes in the frequency of the output waveform is a concrete realization of data acquisition waveform data written to the buffer among the buffers by setting the update frequency (to change the internal clock frequency) to achieve the output data frequency. The process is mainly in the use of Labview data acquisition sub-module of the AO START function modules. Function from the implementation point of view, this design features a virtual function signal generator structure includes two modules: Module waveform generator (FG module) and frequency change control unit (DISPLAY) module. Waveform generator module and call FGEN module. FGEN module for the digital waveform generator module. Digital waveform generator module 3.1 Waveform generated virtual function signal generator module is the core of the software. The module can be realized using sine, square, sawtooth, triangle and other waveforms. Sine wave generation principle is by calling the sin (x) function to implement. In this design, the design of each component sine wave cycle from 1000, using similar language in the For loop C as x assignment, so that the implementation of a For loop, you can generate a cycle of sine wave generating the data needed, and then use While Circulation, make the program repeatedly executed, can be continuously output sine wave. Square wave, sawtooth, triangle and sine wave generation theory produce similar principles are achieved through the mathematical sequence of numbers representative of the waveform. Compared with the analog signal, generated using the software method of digital waveform sequence although there are some errors, but the election cycle as long as a sufficient number of points, you can make errors to a minimum, the least impact on the results. Waveform generated by the software one of the biggest advantage is greatly reduced the cost of the instrument and the instrument of small intelligent. Waveform generator modules front panel shown in Figure 3, waveform generation module block diagram shown in Figure 3 Change of 3.2 unit of frequency control module 5 When the output frequency dynamic range is large, with a single spin button control, due to a small rotation angle, you will have a greater change in the frequency, to the frequency of accurate Shezhi brought greater Kunnan, and frequency by using a knob Times by combining the output frequency can greatly improve the control accuracy. In order to improve control accuracy of the output frequency, which in this design, by using the unit of frequency change control module, the output control accuracy can be achieved 0.001Hz. The modules front panel shown in, the module block diagram shown in Figure 4 . Figure 4 6 4 Total Results: As a Labview graphical programming software development and testing system is a powerful, convenient and efficient programming tools. Similarity between the good, open, exclusive, making the test development cycle is short, low cost and high quality. Labview-based virtual machine interaction with the function signal generator is good, easy to operate and so on, to a wide range of applications and in scientific research, production and other fields. 1 Pan H Z, et al. LabVIEW-based virtual Function Signal GeneratorJ . Control Enginerring Practice, 2. Evans P D, Brown D. Simulation of brushless DC drivesc IEE Proceedings B, Electric Power Applications, 137(5) : 299-308 3. Ren Spe, Alan K. Wallace and Joel Davis. Modeling of brushless dc drive systems with pulse-width modulated excitationJ, Mathematical and Computer Modelling, Volume 11, 1988, Pages 1166-1171. 4. Jawad Faiz, M. R. Azizian and M. Aboulghasemian-Azami. Simulation and analysis of brushless DC motor drives using hysteresis, ramp comparison and predictive current control techniquesJ, Simulation Practice and Theory, Volume 3, Issue 6, 15 January 1996, Pages 347-363. 5. J. Figueroa, C. Brocart, J. Cros and P. Viarouge. Simplified simulation methods for polyphase brushless DC motorsJ. Mathematics and Computers in Simulation, Volume 63, Issues 3-5, 17 November 2003, Pages 209-224. 6. J. Shao, D. Nolan, and T. Hopkins. A Novel Direct Back EMF Detection for Sensodess Brushless DC (BLDC) Motor DrivesC. Applied Power Electronic Conference (APEC 2002), 2002: 33-38. 7. Doo-Hee Jung and In-Joong Ha. Low Cost Sensorless Control of Brushless DC Motors Using a Frequency Independent Phase Shifter J IEEE Transactions on power electronic, 2000, 15: 744-752. 8. Kuang-Yao Cheng and Ying -Yu Tzou. Design of a Sensorless Commutation IC for BLDC Motors J IEEE Transactions On power electronic, 2003, 18: 1365-1375. 7 基于 Labview 的虛擬函數(shù)信號發(fā)生器的設計 V Marozas, R Jurkonis 1前 言 自從 1986 年美國 NI(National Instrument)公司提出虛擬儀器的概念以來 ,隨著計算機技術(shù)和測量技術(shù)的發(fā)展 ,虛擬儀器技術(shù)也得到很快的發(fā)展。虛擬儀器是指 :利用現(xiàn)有的 PC 機,加上特殊設計的儀器硬件和專用軟件 ,形成既有普通儀器的基本功能 ,又有一般儀器所沒有的特殊功能的新型儀器。與傳統(tǒng)的儀器相比其特點主要有 :具有更好的測量精度和可重復性 ;測量速度快 ;系統(tǒng)組建時間短 ;由用戶定義儀器功能 ;可擴展性強 ;技術(shù)更新快等。虛擬儀器以軟件為核心 ,其軟件又以美國 NI 公司的 Labview 虛擬儀器軟件開發(fā)平臺最為常用。 Labview 是一種圖形化的編程語言 ,主要用來開發(fā)數(shù)據(jù)采集,儀器控制及數(shù)據(jù)處理分析等軟件 ,功能強大。目前 ,該開發(fā)軟件在國際測試、測控行業(yè)比較流行 ,在國內(nèi)的測控領(lǐng)域也得到廣泛應用。函數(shù)信號發(fā)生器是在科學研究和工程設計中廣泛應用的一種通用儀器。下面結(jié)合一個虛擬函數(shù)信號發(fā)生器設計開發(fā)具體介紹基于圖形化編程語言 Labview 的虛擬儀器編程方法與實現(xiàn)技術(shù)。 8 2虛擬函數(shù)信號發(fā)生器的結(jié)構(gòu)與組成 2.1 虛擬函數(shù)信號發(fā)生器的前面板 本虛擬函數(shù)信號發(fā)生器主要由一塊 PCI 總線的多功能數(shù)據(jù)采集卡和相應的軟件組成。將它們安裝在一臺運行 Windows95/98/2000/NT 的 PC 機上,即構(gòu)成一臺功能強大的函數(shù)信號發(fā)生器。本虛擬函數(shù)信號發(fā)生器的設計參考了 SG 1645 功率函數(shù)信號發(fā)生器,前面板如圖 1 所示。 本函數(shù)信號發(fā)生器的前面板主要由以下幾個部分構(gòu)成:儀器控制按鈕,輸出頻率控制窗口(包括頻率顯示單位),頻率倍成控制,波形選擇,頻率微調(diào)按鈕,直流偏置,方波占空比調(diào)節(jié),輸出波形幅度控制按鈕。頻率微調(diào)范圍: 0.1 1 Hz;直流偏置: -10 10V;方波占空比: 0 100%;輸出波形幅度: 0 10V。此外還增加了許多修飾性的元件如面板上的壓控輸入、記數(shù)輸入、同步輸出、電壓輸出等。使用這些修飾性的元件的目的是為了增加儀器的美觀性,并盡量與真實儀器的使用界面相一致 2.2 虛擬函數(shù)信號發(fā)生器的硬件構(gòu)成 本虛擬函數(shù)信號發(fā)生器的輸入輸出的硬件部分為一數(shù)據(jù)采集卡和具有一定配置要求的 PC 機,數(shù)據(jù)的輸入輸出靠對數(shù)據(jù)采集卡輸出輸入口的定義來實現(xiàn)。本設計采用的 PCI-1200 數(shù)據(jù)采集卡是一塊性價比較好的產(chǎn)品,具備數(shù) /模轉(zhuǎn)換的功能,能將產(chǎn)生的數(shù)字信號轉(zhuǎn)換成模擬信號且數(shù)模 轉(zhuǎn)換精度高,而且還具備濾波功能,從而使輸出波形光滑。它支持單極和雙極性模擬信號輸入,信號輸入范圍分別為 -5 +5V 和 0 10V。提供 16 路單端 /8 路差動模擬輸入通道、 2 路獨立的 DA 輸出通道、 24 線的 TTL 型數(shù)字 I/O、 3 個 16
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責。
- 6. 下載文件中如有侵權(quán)或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 全國人教版初中信息技術(shù)八年級下冊第一單元第1課《啟動幾何畫板》教學設計
- 《旋轉(zhuǎn)的特征》(教學設計)-2023-2024學年六年級下冊數(shù)學北師大版
- 4《平平安安回家來》(教學設計)2024-2025學年統(tǒng)編版(2024)道德與法治一年級上冊
- 9 燃燒 教學設計 -2023-2024學年科學五年級下冊青島版
- Module 10 Unit 3 教學設計 海南省??谑?2024-2025學年外研版九年級英語上冊
- 14我要的是葫蘆教學設計-2024-2025學年二年級上冊語文統(tǒng)編版
- 《百合與朱瑾》(教學設計)-2023-2024學年二年級上冊科學粵教粵科版
- Unit 5 The colourful world單元整體教學設計(教學設計)-2024-2025學年人教PEP版(2024)英語三年級上冊
- 《長沙過賈誼宅》(教學設計)-2024-2025學年九年級語文上冊素質(zhì)教育精講課堂(統(tǒng)編版)
- 全國江西科學技術(shù)版小學信息技術(shù)三年級下冊第一單元第3課《初識人工智能》教學設計
- 中國居民營養(yǎng)與健康狀況調(diào)查報告
- 人體成分分析適應癥禁忌癥
- 2024年廣東廣州黃埔區(qū)長嶺街道森林消防護林員招聘筆試沖刺題(帶答案解析)
- 巴巴爸爸搬大樹
- 2024年云南呈貢區(qū)城市投資集團有限公司招聘筆試參考題庫含答案解析
- 第2課中華文化的世界意義教學設計-高中歷史選擇性必修3文化交流與傳播
- 2024年蘇州健雄職業(yè)技術(shù)學院高職單招(英語/數(shù)學/語文)筆試歷年參考題庫含答案解析
- 新生兒圍生期感染課件
- 《大數(shù)據(jù)技術(shù)在財務中的應用》 課件 項目1-3 Python概述
- 2024-2025常州新課結(jié)束考試化學試卷與答案
- 危重患者的病情觀察課件
評論
0/150
提交評論