基于ARM的嵌入式記錄儀表的設(shè)計與實現(xiàn)
發(fā)布時間:2018-05-01 00:09
本文選題:記錄儀 + 嵌入式 ; 參考:《哈爾濱理工大學(xué)》2015年碩士論文
【摘要】:記錄儀表是檢測和記錄工業(yè)生產(chǎn)過程數(shù)據(jù)的工具,對于現(xiàn)代自動化工業(yè)系統(tǒng)來說是不可或缺的記錄儀表。傳統(tǒng)的無紙記錄儀受到處理器運行速度和Flash容量的限制,導(dǎo)致對數(shù)據(jù)的處理和查詢速度較慢,而且無法存儲大容量的采集數(shù)據(jù)等問題。 本文首先確定了記錄儀整體結(jié)構(gòu)的設(shè)計方案。然后設(shè)計了以ARM為處理核心的記錄儀主機的硬件電路,在linux操作系統(tǒng)下,編寫了采集、存儲、界面的應(yīng)用程序。設(shè)計了以STM32處理核心的記錄儀功能子板,,包括萬能輸入板卡、電壓電流板卡、報警板卡。最后,通過PCB制版和機械殼體設(shè)計實現(xiàn)了記錄儀的樣機,并對設(shè)計的記錄儀進行了測試,測試結(jié)果表明本課題所研究的記錄儀表運行穩(wěn)定、符合本文預(yù)期的設(shè)計要求。 本文設(shè)計的記錄儀具有靈活的配置界面、密碼安全管理、便于維護和升級的應(yīng)用程序框架等優(yōu)點。采用基于單一文件的sqlite數(shù)據(jù)庫來保存采集數(shù)據(jù),通過sql語句實現(xiàn)對歷史數(shù)據(jù)的快速高效的查詢工作。采用具有高速和高可靠性的CAN總線串行通訊方式來實現(xiàn)主機與功能子板之間的數(shù)據(jù)交互。系統(tǒng)在硬件電路上,采用功能子板的插卡式結(jié)構(gòu)來提高記錄儀采集各種類型傳感器數(shù)據(jù)的適應(yīng)能力。主機與子板的通訊協(xié)議允許記錄儀擴展需要的子板板卡類型。人機交互界面采用曲線、數(shù)據(jù)、表格、棒圖的形式來顯示功能子板采集的實時數(shù)據(jù)。
[Abstract]:Recording instrument is a tool to detect and record the data of industrial production process. It is an indispensable instrument for modern automatic industrial system. The traditional paperless recorder is limited by the speed of the processor and the capacity of Flash, which leads to the slow processing and querying speed of data and the inability to store large capacity of collected data. This paper first determines the overall structure of the recorder design. Then the hardware circuit of the main computer of the recorder which takes ARM as the processing core is designed. Under the linux operating system, the application program of acquisition, storage and interface is written. The function subboard of STM32 processing core recorder is designed, including universal input card, voltage and current board and alarm board. Finally, the prototype of the recorder is realized by PCB plate-making and mechanical shell design. The test results show that the recording instrument studied in this paper runs stably and meets the expected design requirements. The recorder designed in this paper has the advantages of flexible configuration interface, password security management, easy maintenance and upgrade of the application framework. The sqlite database based on a single file is used to save the collected data, and the fast and efficient query to the historical data is realized by the sql statement. The CAN bus serial communication mode with high speed and high reliability is adopted to realize the data exchange between the host computer and the functional subboard. In the hardware circuit, the system adopts the card structure of the functional subboard to improve the adaptability of the recorder to collect the data of various kinds of sensors. The host-subboard communication protocol allows the recorder to expand the type of sub-board card required. The interface uses curves, data, tables and bar diagrams to display real-time data collected by functional subboards.
【學(xué)位授予單位】:哈爾濱理工大學(xué)
【學(xué)位級別】:碩士
【學(xué)位授予年份】:2015
【分類號】:TP216;TP368.12
【參考文獻】
相關(guān)期刊論文 前7條
1 李震,柯旭貴,汪云祥;虛擬儀器的發(fā)展歷史、研究現(xiàn)狀與展望[J];安徽工程科技學(xué)院學(xué)報(自然科學(xué)版);2003年04期
2 周駱斌,馮冬芹,褚健;工業(yè)自動化儀表的發(fā)展趨勢[J];電工技術(shù)雜志;2004年03期
3 方正;無紙記錄儀的關(guān)鍵技術(shù)及發(fā)展趨勢[J];化工自動化及儀表;1999年02期
4 馮軍;王耀南;劉宏立;;Linux系統(tǒng)下CAN總線通信的設(shè)計及實現(xiàn)[J];微計算機信息;2008年32期
5 劉潤發(fā);魏世民;;嵌入式Linux下CAN總線驅(qū)動程序研究及應(yīng)用[J];儀表技術(shù);2007年03期
6 凌志浩;;嵌入式系統(tǒng)及其對儀器儀表技術(shù)的支持[J];自動化儀表;2007年03期
7 劉清華;;一種基于嵌入式系統(tǒng)的數(shù)字電子記錄儀的設(shè)計[J];無線互聯(lián)科技;2013年04期
本文編號:1826841
本文鏈接:http://www.sikaile.net/kejilunwen/jisuanjikexuelunwen/1826841.html
最近更新
教材專著