基于虛擬儀器概念的多功能無(wú)紙記錄儀的設(shè)計(jì)開發(fā)
2 多功能無(wú)紙記錄儀的技術(shù)要求和系統(tǒng)功能
記錄儀是工業(yè)生產(chǎn)自動(dòng)化系統(tǒng)中十分常見的二次儀表




基于虛擬儀器的多功能無(wú)紙記錄儀在技術(shù)上不僅要具備傳統(tǒng)式儀表所應(yīng)具有的電氣性能和環(huán)境適應(yīng)能力,而且還應(yīng)具備如下的通用技術(shù)指標(biāo)和系統(tǒng)功能:
(1)信號(hào)采樣:設(shè)置模擬輸入通道1~16路,采樣周期可選0.25秒/0.5秒/1秒




(2)設(shè)置功能:系統(tǒng)應(yīng)具有強(qiáng)大的設(shè)置功能,可對(duì)儀表的通道名稱、量程、報(bào)警上下限、信號(hào)類型、單位、記錄周期、流量累計(jì)、流量溫度壓力補(bǔ)償參數(shù)等進(jìn)行設(shè)置


(3)存儲(chǔ)功能:配置硬盤,使存儲(chǔ)歷史數(shù)據(jù)量達(dá)GB級(jí)


(4)顯示功能:全中文人機(jī)界面,顯示信息豐富直觀,操作簡(jiǎn)單


(5)連鎖與報(bào)警功能:配置24點(diǎn)開關(guān)量輸出通道,根據(jù)采樣信號(hào),提供簡(jiǎn)單的連鎖和狀態(tài)控制信號(hào);并可任意設(shè)置各通道上限、上上限、下限、下下限報(bào)警,在各顯示畫面上實(shí)時(shí)顯示報(bào)警值,同時(shí)實(shí)現(xiàn)報(bào)警輸出

(6)數(shù)據(jù)管理功能:①顯示各通道記錄信號(hào)平均值、瞬時(shí)峰值、谷值等;②顯示流量累積的班平均值、日平均值、月平均值;③顯示流量累積的班累積值、日累積值、月累積值、年累積值;④提供常用數(shù)理統(tǒng)計(jì)工具,方便調(diào)用分析

(7)打印功能:可連接通用打印機(jī),隨時(shí)打印任意時(shí)刻歷史數(shù)據(jù),打印單通道和多通道趨勢(shì)曲線、報(bào)警信息、流量累積值等

(8)流量溫壓補(bǔ)償功能:包括對(duì)蒸汽、天然氣、液體等各類流體的溫壓補(bǔ)償


(9)通訊功能:可選擇使用RS-232C、RS-485通道接口與計(jì)算機(jī)聯(lián)網(wǎng),進(jìn)行遠(yuǎn)距離通訊,可多臺(tái)儀表組網(wǎng)實(shí)現(xiàn)集中管理

(10)主要技術(shù)參數(shù):
·顯示精度:工程量實(shí)時(shí)顯示精度為±0.3%FS(滿量程),曲線棒狀圖顯示及追憶精度為±0.5%FS;
·存儲(chǔ)時(shí)間:僅受硬盤容量限制,一般16路模擬信號(hào)值可保存三年以上;
·通訊接口:提供RS-232C/RS-485兩個(gè)串行通訊接口

以上技術(shù)指標(biāo)和系統(tǒng)功能定義是多功能無(wú)紙記錄儀軟、硬件配置與設(shè)計(jì)的基本依據(jù)

3 多功能無(wú)紙記錄儀的硬件平臺(tái)與軟件開發(fā)
3.1硬件方案
目前無(wú)紙記錄儀的硬件平臺(tái)的架構(gòu)大致分為兩類:第一類采用通用型單片機(jī)(MCS51系列、MCS96系列、MCS196系列等)或?qū)S醚谀る娐?,并輔以外圍I/O通道、存儲(chǔ)電路等,具有成本低廉的特點(diǎn),但開發(fā)周期長(zhǎng)、存儲(chǔ)容量小、軟件通用性差;第二類是采用ALL-IN-ONE結(jié)構(gòu)模板,構(gòu)成嵌入式PC機(jī)系統(tǒng),具有結(jié)構(gòu)緊湊、功能強(qiáng)大、可靠性高、兼容性好、應(yīng)用靈活方便、支持自開發(fā)、開發(fā)周期短等特點(diǎn)


PC/104總線的嵌入式工控模板是針對(duì)工業(yè)應(yīng)用環(huán)境的惡劣條件而設(shè)計(jì)的,與PC機(jī)完全兼容,硬件接口均符合PC機(jī)標(biāo)準(zhǔn)可直接駁接硬盤、軟驅(qū)、顯示器、鍵盤、鼠標(biāo)等外部設(shè)備,共享PC機(jī)的設(shè)備驅(qū)動(dòng)程序和其它基于PC的成熟軟件

本機(jī)采用了PC/104家族中的PCM-3335模板,其配置為386SX-40CPU、板載4MRAM、一個(gè)ATA硬盤接口、一個(gè)1.44MB軟驅(qū)接口、一個(gè)VGA接口、一個(gè)平板顯示器接口、一個(gè)打印機(jī)并口和RS-232串口

評(píng)論