基于FPGA的智能電梯控制系統(tǒng)設(shè)計(jì)
本文關(guān)鍵詞: 電梯控制系統(tǒng) FPGA Verilog 指紋識(shí)別技術(shù) 出處:《成都理工大學(xué)》2014年碩士論文 論文類(lèi)型:學(xué)位論文
【摘要】:課題基于FPGA的智能電梯控制系統(tǒng)設(shè)計(jì),針對(duì)我國(guó)城市化發(fā)展步伐加快,高層建筑及公共場(chǎng)所中對(duì)電梯需求快速增加的現(xiàn)實(shí),對(duì)電梯的核心控制電路部分進(jìn)行了研究。注意到我國(guó)電梯的輸出量年均增漲率一直保持在35%以上,今后很長(zhǎng)的時(shí)間里仍會(huì)是全球電梯設(shè)備的制造核心和最大的電梯使用國(guó)家,年總生產(chǎn)值超過(guò)上千億人民幣,但我國(guó)自主品牌只占30%的市場(chǎng)比例,且大多數(shù)電梯在安全管理及智能化方面存在不足。為改變這種現(xiàn)狀,探索一種低功耗、智能化、高效、舒適安全的電梯系統(tǒng),尤其在保證合法人員正常到達(dá)特定樓層,非相關(guān)人員不能停靠該樓層,實(shí)現(xiàn)不同樓層間物理隔離的目的,現(xiàn)提出了一種采用指紋識(shí)別技術(shù)來(lái)實(shí)現(xiàn)電梯自動(dòng)上下和開(kāi)關(guān)門(mén)的設(shè)計(jì)方案。其特點(diǎn)是使電梯只在指紋對(duì)應(yīng)層停留,外來(lái)人員和非相關(guān)人員不能打開(kāi)其指紋未被設(shè)置樓層的電梯門(mén),從而使位于不同樓層的住戶或公司間不會(huì)形成干擾,給用戶營(yíng)造一種更加私人化的空間,因此具有較好的創(chuàng)新性。 采用UP TO DOWN的模塊化的設(shè)計(jì)方式,針對(duì)目前電梯控制部分的用戶使用銨鈕較多,控制部分時(shí)有故障發(fā)生的問(wèn)題,提出采用開(kāi)發(fā)周期短、設(shè)計(jì)成本低,設(shè)計(jì)靈活,穩(wěn)定性高等優(yōu)點(diǎn)的Altera公司的CycloneⅡ系列的FPGA芯片技術(shù)來(lái)改善電梯控制系統(tǒng)性能的方案。通過(guò)Verilog-HDL硬件描述語(yǔ)言完成系統(tǒng)各功能的設(shè)計(jì),包括電梯控制器模塊、虛擬電梯模塊、信號(hào)輸入模塊、狀態(tài)顯示模塊。 電梯控制系統(tǒng)的主要要求為:(1)實(shí)現(xiàn)作為電梯控制系統(tǒng)的基本功能,響應(yīng)電梯內(nèi)外所有的按鍵請(qǐng)求,包括轎廂內(nèi)的請(qǐng)求指令和外部呼叫箱的召喚指令,所有指令將被自動(dòng)存儲(chǔ)至寄存器內(nèi),并按照運(yùn)行方向優(yōu)先性原則,依次響應(yīng),直至執(zhí)行完成后指令消除;(2)外呼控制開(kāi)關(guān)裝置中,起始層由指紋識(shí)別器來(lái)控制電梯門(mén)開(kāi)關(guān),與原有錄入指紋庫(kù)的指紋信息進(jìn)行指紋匹配,控制電梯直接到達(dá)設(shè)定的樓層,達(dá)到隔離各樓層空間,減少無(wú)關(guān)人員進(jìn)入的目的,中間層外呼系統(tǒng)均有上下行按鈕,頂層只設(shè)下行按鈕;(3)電梯控制系統(tǒng)可根據(jù)指令需求,自行判定運(yùn)行方向,比如同一時(shí)間段內(nèi),同時(shí)存在上下行運(yùn)行信號(hào)時(shí),電梯會(huì)優(yōu)先響應(yīng)相同方向的指令信號(hào),完成后自動(dòng)響應(yīng)反方向的運(yùn)行指令;(4)如果當(dāng)前轎廂指令和外呼指令都不存在時(shí),電梯會(huì)在設(shè)定的時(shí)間內(nèi)自行關(guān)閉電梯門(mén)和轎廂照明系統(tǒng),重新回到等待狀態(tài)。 論文的研究工作主要體現(xiàn)在如下幾個(gè)方面:第一,對(duì)FPGA技術(shù)和指紋識(shí)別技術(shù)進(jìn)行了研究,并以此為基礎(chǔ)進(jìn)行了電梯控制核心部分電梯控制器的設(shè)計(jì),,包括按鍵消抖處理、指紋識(shí)別解析、樓層判斷、運(yùn)行狀態(tài)檢測(cè)、上下行控制、開(kāi)關(guān)門(mén)控制、狀態(tài)顯示、超重報(bào)警、照明裝置等部分;電梯控制器模塊內(nèi)部采用有限狀態(tài)機(jī)方式,通過(guò)狀態(tài)機(jī)的運(yùn)行來(lái)控制實(shí)現(xiàn)電梯控制器的動(dòng)作,其中樓層判斷模塊可將前端輸入信號(hào)與當(dāng)前樓層狀態(tài)進(jìn)行比對(duì),在電梯當(dāng)前運(yùn)行的基礎(chǔ)上,依照運(yùn)行方向優(yōu)先的原則,從待執(zhí)行的請(qǐng)求信號(hào)指令內(nèi)自動(dòng)選擇運(yùn)行方向并執(zhí)行,并將樓層判斷的輸出端信號(hào)作為運(yùn)行狀態(tài)機(jī)輸入端的運(yùn)行指令信號(hào),確保電梯系統(tǒng)的正常運(yùn)行;第二,為實(shí)現(xiàn)電梯控制器在功能上的仿真,設(shè)計(jì)了虛擬電梯模塊,主要虛擬電梯的上下行及開(kāi)關(guān)門(mén)動(dòng)作;虛擬電梯模塊內(nèi)部含有電梯樓層寄存器,用來(lái)模擬電梯當(dāng)前的運(yùn)行狀態(tài),并將輸出信號(hào)反饋給電梯控制器,以驅(qū)動(dòng)電梯控制器的正常運(yùn)行;第三,設(shè)計(jì)采用了按鍵輸入模式和指紋識(shí)別模式,實(shí)現(xiàn)方式均是將外部請(qǐng)求信號(hào)轉(zhuǎn)化為電梯運(yùn)行的內(nèi)部控制指令;設(shè)計(jì)采用Biovo-C2指紋識(shí)別模塊,通過(guò)指紋登錄和指紋匹配過(guò)程來(lái)限制電梯使用者權(quán)限,若指紋庫(kù)中有相關(guān)指紋記錄,發(fā)送設(shè)定好的樓層信息給樓層判斷模塊;如果沒(méi)有相關(guān)指紋存儲(chǔ)信息,就不會(huì)發(fā)送開(kāi)門(mén)指令,從而有效保障樓宇安全;第四,電梯顯示模塊通過(guò)驅(qū)動(dòng)LED進(jìn)行顯示,包括電梯運(yùn)行樓層顯示和電梯開(kāi)關(guān)門(mén)運(yùn)行顯示兩部分;當(dāng)電梯在某樓層時(shí),相應(yīng)樓層的LED會(huì)亮起,體現(xiàn)電梯運(yùn)行狀態(tài);同時(shí)設(shè)置四個(gè)開(kāi)關(guān)門(mén)指示LED,當(dāng)?shù)竭_(dá)指示信號(hào)設(shè)定的樓層后,LED燈順次亮和順次滅,分別代表電梯開(kāi)門(mén)與關(guān)門(mén)狀態(tài);第五,用Verilog硬件描述語(yǔ)言編寫(xiě)了硬件代碼,在集成軟件環(huán)境中經(jīng)過(guò)編譯和調(diào)試后,使用專(zhuān)用下載電纜下載到芯片中,仿真結(jié)果證明系統(tǒng)運(yùn)行安全可靠,實(shí)現(xiàn)了功能要求和設(shè)計(jì)目標(biāo)。
[Abstract]:Design of intelligent elevator control system based on FPGA, for the city to speed up the pace of development of our country, the rapid increase of lift the actual needs of high-rise buildings and public places, to lift the core control circuit is studied. Note that the output of China's average annual growth rate of elevator has remained above 35%, as well as in the future long time will still be the core of global manufacturing equipment and the largest elevator elevator use state, the total annual production value of more than 100 billion yuan, but China's own brands accounted for only 30% of the market share, and most of the elevator safety management and intelligent problems. In order to change the situation, explore a low power consumption, intelligent, efficient, comfortable and safe elevator system, especially in guaranteeing the legitimate normal personnel reaches a certain floor, non related personnel cannot be docked to the floor, to achieve different floor physical isolation purposes Now, this paper puts forward a design scheme to realize the automatic switch door and elevator using fingerprint recognition technology. Its characteristic is to stay in the elevator only fingerprint layer, foreign workers and non related personnel can not open the elevator door fingerprint is not set the floor, which is located in different floors of households or companies don't interfere, give the user to create a more personal space, so it has good innovation.
Using modular design method of UP TO DOWN, aiming at the elevator control part of the user to use more button, a fault occurs the control part, the short development cycle, low design cost, flexible design, high stability of the Altera company Cyclone series FPGA chip technology to improve the elevator control program the performance of the system. Through the Verilog-HDL hardware description language to complete the design of the function of the system, including the elevator controller module, virtual lift module, signal input module, the status display module.
The main requirements of the elevator control system is: (1) as the realization of the basic functions of the elevator control system, elevator and all the keys in response to requests, including carriage request instructions and external call box call instruction, all instructions will be automatically stored in a register, and in accordance with the running direction of the priority principle, in response, until after the completion of instruction elimination; (2) external control switch device, the starting layer consists of fingerprint identification device to control the elevator door switch, fingerprint matching fingerprint information and the original fingerprint database, set up to control the elevator directly to the floor, to isolate the floor space, reduce the irrelevant personnel into the purpose of the middle layer outbound system has up and down button, only the top down button; (3) the elevator control system according to the instruction requirements, determined by the running direction, such as the same time, at the same time there on For the operation signal when the instruction signal will lift priority in response to the same direction, after the completion of operation instructions automatically in response to the opposite direction; (4) if the current instruction and call instruction does not exist, will lift itself off the elevator door and the car lighting system in the set time, back to the waiting state.
The research work of this paper is mainly reflected in the following aspects: first, the FPGA technology and the fingerprint recognition technology is studied, and as a basis for the design of the elevator control core part of elevator controller, including key debounce processing, fingerprint analysis, floor judgment, running state detection, uplink and downlink control, door control, status display, overweight alarm, lighting device etc.; the elevator controller module by finite state machine, to control the realization of elevator controller action runs through the state machine, the floor judging module can be input signal compared with the current state of the floor, the elevator is currently running on the basis of priority, in accordance with the running direction the principle of signal from the request instruction to be executed automatically choose the direction and execution, and the output signal floor as judged by the operation of the state machine. The operation instruction signal input, to ensure the normal operation of the elevator system; second, for the simulation of elevator controller in function, design a virtual lift module, open and closed down the main virtual elevator; internal virtual lift module containing the elevator floor register, used to simulate the running state of the elevator, and the output signal back to the normal operation of the elevator controller, to drive the elevator controller; third, design uses a key input mode and fingerprint recognition mode, implementation is the external request signal into the internal control instruction of elevator; Biovo-C2 was used in the design of the fingerprint identification module, to limit the user login and lift through fingerprint fingerprint matching process. If relevant fingerprint records the fingerprint database, send the information set to the floor floor judging module; if not related to grain storage The information is not sent to open instruction, so as to ensure building safety; fourth, elevator display module for display through the LED driver, including the operation of the elevator floor display and elevator door opening and closing operation display two part; when the elevator in a floor, the floor of the LED will light up, reflect the running state of the elevator; at the same time set four open close LED indicator when reaching the set floor indication signal, LED lamp light and turn out sequentially, representing the elevator opened and closed state; fifth, using Verilog hardware description language of hardware code, compiled and debugged in the integrated software environment, using a dedicated download cable to download to the chip, the simulation results show that the system is safe and reliable, achieve the functional requirements and design goals.
【學(xué)位授予單位】:成都理工大學(xué)
【學(xué)位級(jí)別】:碩士
【學(xué)位授予年份】:2014
【分類(lèi)號(hào)】:TU857
【參考文獻(xiàn)】
相關(guān)期刊論文 前10條
1 孫亞寧;王慶平;曾冬俊;;電梯控制系統(tǒng)組態(tài)設(shè)計(jì)[J];電源技術(shù);2011年02期
2 高迎慧;侯忠霞;楊成林;;基于FPGA的自動(dòng)升降電梯控制器設(shè)計(jì)[J];遼寧工程技術(shù)大學(xué)學(xué)報(bào);2007年02期
3 王晶;王福明;;基于DSP的指紋識(shí)別系統(tǒng)設(shè)計(jì)[J];工業(yè)控制計(jì)算機(jī);2010年03期
4 王東;王海洋;;基于單片機(jī)的自動(dòng)門(mén)控制系統(tǒng)設(shè)計(jì)[J];黑龍江科技信息;2011年32期
5 劉天明;王炳健;鄭佳;張震;;智能電梯控制系統(tǒng)[J];機(jī)電工程;2011年04期
6 陳寧;曾勇;;一種新型自適應(yīng)指紋圖像增強(qiáng)算法[J];計(jì)算機(jī)工程與應(yīng)用;2011年30期
7 李大英;;基于FPGA的電機(jī)測(cè)速電路設(shè)計(jì)與實(shí)現(xiàn)[J];機(jī)械設(shè)計(jì)與制造;2011年12期
8 孫景衛(wèi);;基于PLC和模糊控制的電梯智能控制系統(tǒng)研究[J];制造業(yè)自動(dòng)化;2011年20期
9 蘇新紅;張海燕;;基于FPGA的智能電梯系統(tǒng)的設(shè)計(jì)[J];科技信息;2010年26期
10 王瑩;蘇成利;;指紋圖像增強(qiáng)算法研究[J];科學(xué)技術(shù)與工程;2010年01期
本文編號(hào):1549693
本文鏈接:http://sikaile.net/guanlilunwen/chengjian/1549693.html