本課題研究的是工業(yè)生產(chǎn)線綜合信息電子看板系統(tǒng)的設(shè)計(jì)。我們要解決的問題是如何對(duì)工業(yè)生產(chǎn)線上的各個(gè)工位的信息進(jìn)行獲取并在當(dāng)前工位顯示當(dāng)前信息,對(duì)產(chǎn)品產(chǎn)量和生產(chǎn)效率進(jìn)行跟蹤,記錄并進(jìn)行統(tǒng)計(jì),將統(tǒng)計(jì)數(shù)據(jù)傳輸?shù)絇C機(jī)上進(jìn)行綜合信息處理。該課題涉及到數(shù)據(jù)庫(kù)的編程,單片機(jī)的應(yīng)用,串口通信,液晶顯示等模塊。
本系統(tǒng)的設(shè)計(jì)大致可分為兩個(gè)部分。第一部分主要是系統(tǒng)的硬件設(shè)計(jì),第二部分是系統(tǒng)的軟件設(shè)計(jì)。
軟件設(shè)計(jì)主要是指上位機(jī)的設(shè)計(jì)。本系統(tǒng)以PC機(jī)作為上位機(jī),利用Visual C++ 6.0版本來開發(fā)串行通信軟件,編寫上位機(jī)軟件及數(shù)據(jù)庫(kù)對(duì)信息進(jìn)行綜合處理,實(shí)現(xiàn)PC機(jī)與MCU之間,掃描槍與MCU之間的通信功能。
硬件設(shè)計(jì)是指下位機(jī)的設(shè)計(jì),也就是單片機(jī)的設(shè)計(jì),本文中使用的單片機(jī)型號(hào)為MPS430F169。單片機(jī)主要負(fù)責(zé)實(shí)現(xiàn)三個(gè)功能:掃描槍從各個(gè)工位獲取來的信息需傳遞到單片機(jī)內(nèi)實(shí)現(xiàn)數(shù)據(jù)的處理;單片機(jī)需將處理后的數(shù)據(jù)信息送往該工位的LCD顯示器顯示,使LCD顯示器能準(zhǔn)確實(shí)時(shí)的顯示當(dāng)前工位的信息;各個(gè)單片機(jī)能將處理后的信息傳至主機(jī),實(shí)現(xiàn)與主機(jī)的通信。根據(jù)以上三個(gè)功能,我們對(duì)系統(tǒng)的硬件進(jìn)行設(shè)計(jì)。
最后,我們要對(duì)系統(tǒng)進(jìn)行調(diào)試運(yùn)行,以實(shí)現(xiàn)系統(tǒng)預(yù)期要達(dá)到的目標(biāo)。使用該電子看板系統(tǒng)設(shè)計(jì)后,使每個(gè)產(chǎn)品的生產(chǎn)耗時(shí)都被記錄下來并與預(yù)設(shè)的標(biāo)準(zhǔn)時(shí)間做比較。從而可以更好地安排工作的時(shí)間段,合理的設(shè)定每天的工作量以提高生產(chǎn)效率。
關(guān)鍵詞 電子看板;MCU;VC++6.0;串口通信
Abstract
The research of the subject is the design of e-Kanban system which are used for the line of the industrial production of integrated information. The question we need to address of is how to access the industrial production line of each station's information and display the current yield-information in the current position and do the productivity tracking, recording. Transmit the statistical data to the PC to do the information processing. The issue relates to database programming, microcontroller applications, serial communication and LCD modules.
The system design can be divided into two parts. The first part is the hardware design, the second part of the system's software design.
Software design mainly refers to the PC design. In this system, we use Visual C + + 6.0 version to develop the serial communication software and the PC software. At the same time we do the Comprehensive processing of information to realize the communication between PC machine and MCU, the communication between the scanner and MCU.
Hardware design is the design of next-bit machine, that is, the design of MCU. The microcontroller used in this model MPS430F169. the MCU is responsible to achieve three functions: scanning guns from all station access to the information .This information is required to deliver to the MCU to realize the processing of data; Each MCU must send the processed data to the LCD display to display; the MCU can handle all the information then transmit it to the pc to achieve communication with the pc. Based on the above three functions, we design the system hardware.
Finally, we have to debug the system, so that we can achieve the expected objective. After using the electronic Kanban system, we can record the consuming time easily and make a comparison with the standard time. So every day you can better organize work time, set a reasonable amount of work to improve productivity.
Key words E-Kanban system; MCU; VC + +6.0; Serial communication