基于LabVIEW的全自動洗衣機測試上位機軟件設(shè)計與實現(xiàn)
發(fā)布時間:2018-03-31 21:55
本文選題:LabVIEW 切入點:Buffer 出處:《電子科技大學(xué)》2014年碩士論文
【摘要】:洗衣機在人類如今的日常生活中扮演了不可或缺的角色,市場對于洗衣機的需求量始終十分的大,這就對洗衣機生產(chǎn)廠家提出了高要求:既要大量生產(chǎn)以滿足市場需求,提高市場占有率,又要努力研發(fā)更加先進和人性化的新機型。在這個過程中,節(jié)省時間和成本是非常重要的一環(huán),因為家庭日用品的定價始終應(yīng)該在合理的范圍內(nèi),這樣使得自動化檢測成為了洗衣機生產(chǎn)廠家逐漸重視起來的一個方向。本文介紹的就是一款基于LabVIEW平臺開發(fā)出來的全自動洗衣機上位機測試軟件,就是利用圖形化編程語言開發(fā)的一款可以進行批量化自動檢測并且?guī)в幸欢〝?shù)據(jù)分析功能的軟件。首先,利用PLC實現(xiàn)全自動洗衣機作為下位機的所有功能,然后,要使得上位機測試軟件與下位機程序之間實現(xiàn)通訊,并最終達到自動檢測重要參數(shù)的目的。這款軟件利用了同步技術(shù),共用時鐘和觸發(fā)信號的辦法,實現(xiàn)了多個采集設(shè)備的同步采集和顯示;利用TCP/IP的技術(shù),解決了多設(shè)備同時與上位機進行通訊的需要;經(jīng)過簡單的數(shù)據(jù)處理后,軟件還可以實時地顯示采集到的數(shù)據(jù)并將它們迅速存入到一個Excel文件中去。利用數(shù)據(jù)庫對Excel文件可以輕松導(dǎo)入的原理,論文還介紹了如何用數(shù)據(jù)庫軟件設(shè)計一個適合存儲所需數(shù)據(jù)并進行相關(guān)分析的數(shù)據(jù)庫。數(shù)據(jù)庫存儲數(shù)據(jù)的優(yōu)點是,可以按照不同的需要設(shè)計很多表單用于存儲原始數(shù)據(jù),但是,可以在不需要占用幾倍資源的前提下,另外設(shè)計多個表單,用以存儲形式不一樣,但是源數(shù)據(jù)不改變的數(shù)據(jù)。為了操作的方便,本設(shè)計還增加了一個數(shù)據(jù)回放系統(tǒng),用以配合數(shù)據(jù)采集系統(tǒng)的使用。這個數(shù)據(jù)回放系統(tǒng)是利用了LabVIEW與數(shù)據(jù)庫的通訊技術(shù),直接使用LabVIEW的界面對數(shù)據(jù)庫中的文件進行操作,實現(xiàn)了數(shù)據(jù)再現(xiàn)的功能。在這個回放系統(tǒng)中,還增加了導(dǎo)出和打印的小功能,使得用戶對于數(shù)據(jù)處理的各種需求都能得到很好的滿足。在經(jīng)過大量的理論論證和實驗,這款軟件也暴露出了一些不完善的地方,比如在數(shù)據(jù)處理上的一些不精確和更改設(shè)備時操作并不方便等。但是這款軟件已經(jīng)在生產(chǎn)實踐中得以運用起來,希望通過以后對它不斷的完善,這款軟件的功能可以會越來越強大。
[Abstract]:Washing machines play an indispensable role in the daily life of human beings. The demand for washing machines is always very large in the market, which puts forward high requirements for washing machine manufacturers: to meet the needs of the market, it is necessary to produce a large quantity of washing machines.Increase market share, but also strive to develop more advanced and humanized new models.In this process, it is very important to save time and cost, because the price of household daily necessities should always be within a reasonable range, which makes automatic testing become a direction that washing machine manufacturers pay more and more attention to.This paper introduces a test software for automatic washing machine based on LabVIEW platform. It is a software which can carry out batch testing and data analysis by using graphical programming language.First, we use PLC to realize all the functions of the automatic washing machine as the lower computer. Then, the communication between the test software of the upper computer and the program of the lower computer is realized, and the purpose of automatically detecting the important parameters is finally achieved.The software uses synchronization technology, sharing clock and trigger signal, realizes synchronous acquisition and display of multiple acquisition devices, solves the need of communication between multiple devices and host computer simultaneously by using TCP/IP technology.After simple data processing, the software can display the collected data in real time and store them into a Excel file quickly.The principle that Excel files can be easily imported from database is introduced in this paper. The paper also introduces how to design a database which is suitable for storing needed data and analyzing related data with database software.The advantage of database storage data is that many forms can be designed to store raw data according to different needs, but you can also design multiple forms to store data in different forms without requiring a few times more resources.But the source data does not change the data.In order to operate conveniently, this design also adds a data playback system to cooperate with the use of data acquisition system.This data playback system uses the communication technology between LabVIEW and database, and directly uses the interface of LabVIEW to operate the files in the database, and realizes the function of data reproduction.In this playback system, the functions of exporting and printing are added, so that the user's requirements for data processing can be well met.After a lot of theoretical argumentation and experiments, the software also exposed some imperfections, such as some inaccuracy in data processing and inconvenient operation when changing the equipment.But the software has been used in production practice, hoping to improve it in the future, the function of the software will become more and more powerful.
【學(xué)位授予單位】:電子科技大學(xué)
【學(xué)位級別】:碩士
【學(xué)位授予年份】:2014
【分類號】:TM925.33;TP311.52
【參考文獻】
相關(guān)期刊論文 前1條
1 晏良俊;張志良;;虛擬儀器技術(shù)LabVIEW中的報表輸出[J];機械制造與自動化;2007年06期
,本文編號:1692618
本文鏈接:http://sikaile.net/kejilunwen/dianlilw/1692618.html
最近更新
教材專著