【正文】
基于 LabVIEW 的材料測試系統(tǒng)設(shè)計(jì) —— 載荷測量 1 基于 LabVIEW 的材料測試系統(tǒng)設(shè)計(jì) —— 載荷測量 摘要 LabVIEW是 NI公司開發(fā)的圖形化編程開發(fā)平臺 ,具備強(qiáng)大的實(shí)時(shí)數(shù)據(jù)處理功能與顯示功能 .但是由于 LabVIEW的數(shù)據(jù)采集卡價(jià)格非常昂貴,所以本設(shè)計(jì)以 LabVIEW為軟件設(shè)計(jì)的核心, 以模 /數(shù)轉(zhuǎn)換器 ADC0809和 單片機(jī) AT89C51為 硬件設(shè)計(jì)的 核心 來設(shè)計(jì)這個(gè)材料測試測量系統(tǒng)的。整個(gè)測試測量 系統(tǒng) 由四個(gè)部分組成 : 信號 采集, 信號放大調(diào)理, 數(shù)據(jù) 轉(zhuǎn)換、傳送,計(jì)算機(jī)上 LabVIEW軟件接收和顯示 。 在設(shè)計(jì)中先是用載荷傳感器 LRK來采集拉力大小的信號,并由電橋輸 出,通過儀表放大器放大微弱的電橋模擬輸出的電壓信號,將調(diào)理過的信號送入 ADC0809進(jìn)行模擬量和數(shù)字量的轉(zhuǎn)換,再利用 MCS51單片機(jī)的 TXD串行口發(fā)送數(shù)據(jù),最后進(jìn)行電平轉(zhuǎn)換后,由計(jì)算機(jī)上的 LabVIEW接收,并實(shí)時(shí)的顯示載荷的大小和載荷波形曲線。在設(shè)計(jì)中是 利用 LabVIEW提供的串行通信功能將單片機(jī)系統(tǒng)與 PC 機(jī)結(jié)合 ,既充分利用了 LabVIEW的強(qiáng)大功能 ,又降低了系統(tǒng)開發(fā)成本 ,擴(kuò)展了 LabVIEW的應(yīng)用。 本設(shè)計(jì)主要是在實(shí)驗(yàn)室不斷地調(diào)試過程中得出需要的合理數(shù)據(jù), 由于軟件控制方便,操作簡單,不占用空間,經(jīng)過 一系列的測試與實(shí)驗(yàn),證明了該測試系統(tǒng)具有智能化、可靠性高、實(shí)時(shí)性強(qiáng)等優(yōu)點(diǎn),可以勝任材料測試系統(tǒng) — 載荷測量的測試。 關(guān)鍵字:數(shù)據(jù)采集, ADC0809,單片機(jī),串口通信, LabVIEW 福州大學(xué)本 科生畢業(yè)設(shè)計(jì)(論文) 2 The designing of materials testing system based on the LabVIEW—— Load measurement Abstract LabVIEW is the NI pany’s graphic programming language that is able to fulfill ability on handling realtime data and showing. But the LabVIEW data collect card’s price is very expensive, the system which is base on the software nucleus of LabVIEW designing and the hardware nucleus of ADC0809 and AT89C51 to be design for material test. The whole material test system poses four parts: collect signal, blow up and condition signal, transform and transmit signal, incept and display on the pute of LabVIEW. First, in the designing, use loading sensor LRK to collect the signal of the pull force, export by bridge, get across the instrument amplifier blows up the delicacy voltage signal, put the conditional signal into the ADC0809 to convert, then send the data from the SCM’s serial interface to PC, take over by the LabVIEW on the pute, and display realtimely the magnitude of the loads and the curve of the wave. While the designing, it uses the serial munication’s functions of the LabVIEW to bine the PC and SCM system. On the one hand, it makes full use of the formidable functions of the LabVIEW, in the other hand, it depresses the price of system of exploitation, enlarge the applications of the LabVIEW. This design mainly gains the reasonable data go through the constantly testing in the lab. As the software is convenient for controlling, easy for conducting, take a little up space, and go through a serial of the debug and experiments, it proves that the testing system with the advantages of the intelligent, high reliability and realtime, is able to petent for the measure of the material’s testing system—— load measuring. Key Words: Data collection, ADC0809, SCM, serial munication, LabVIEW 基于 LabVIEW 的材料測試系統(tǒng)設(shè)計(jì) —— 載荷測量 3 目 錄 摘要 ................................................................................................................................................... I Abstract ...........................................................................................................................................II 第 1 章 緒論 .................................................................................................................................... 1 引 言 .......................................................................................................................................... 1 研究的背景和意義 ................................................................................................................ 1 本設(shè)計(jì)所做的工作 ................................................................................................................ 2 難點(diǎn)與重點(diǎn) .......................................................................................................................... 3 第 2 章 硬件設(shè)計(jì) ............................................................................................................................... 4 信號采集 .............................................................................................................................. 4 放大器及其調(diào)理電路 ............................................................................................................ 4 A/D 轉(zhuǎn)換及其接口方法 ....................................................................................................... 6 A/D 轉(zhuǎn)換器的選取 ..................................................................................................... 6 ADC0809內(nèi)部功能與引腳介紹 .................................................................................. 7 ADC0809的時(shí)序邏輯 .............................................................................................. 10 ADC0809與單片機(jī)的接口和工作 .............................................................................11 串行口通信 ........................................................................................................................ 12 MAX232簡介 ......................................................................................................... 12 RS232 接口標(biāo)準(zhǔn) ..................................................................................................... 13 RS232 串行接口標(biāo)準(zhǔn) .............................................................................................. 14 RS232 的電氣特性 ................................................................................................. 14 第 3 章 虛擬儀器的概述 .................................................................................................................. 15 虛擬儀器的概念 ................................................................................................................. 15 虛擬儀器的特點(diǎn)及優(yōu)勢 ....................................................................................................... 15 虛擬儀器和傳統(tǒng)儀器的比較 ................................................................................................ 16 虛擬儀器 測試系統(tǒng)的組成 ................................................................................................... 17 第 4 章 軟件設(shè)計(jì) .......................................................................