




版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡介
1、 華 中 科 技 大 學(xué) 課 程 設(shè) 計(jì) 報(bào) 告 數(shù)字電路與邏輯設(shè)計(jì) 課程設(shè)計(jì)報(bào)告 題目:電梯控制器的設(shè)計(jì)與實(shí)現(xiàn) 專 業(yè): 班 級(jí): 學(xué) 號(hào): 姓 名: 電 話: 郵 件: 分 組: 完成日期: 指導(dǎo)教師: 團(tuán)隊(duì)成員: 姓名 班級(jí) 學(xué)號(hào) 貢獻(xiàn)百分比 實(shí)驗(yàn)部分完成情況 (亮點(diǎn)、完成、 基本完成、未完成、時(shí)間) 總分: 實(shí)驗(yàn)部分70% + 報(bào)告30%) 檢查老師簽名: 目 錄 1 課程設(shè)計(jì)概述 . 1.1 課設(shè)目的 . 1.2 課設(shè)要求 . 1.3 課設(shè)任務(wù) . 1.4 實(shí)驗(yàn)環(huán)境 . 2 基本方案設(shè)計(jì) . 2.1 設(shè)計(jì)需求 . 2.2 總體結(jié)構(gòu)設(shè)計(jì) . 2.2.1 電梯狀態(tài)判斷模塊 . 2.2.2
2、 電梯上下樓控制模塊 . 2.2.3 電梯開關(guān)門模塊 . 2.2.4 電梯升降模塊 . 2.2.5 電梯指示燈模塊 . 2.2.6 電梯數(shù)碼管顯示模塊 . 2.3 詳細(xì)設(shè)計(jì) . 2.3.1 電梯狀態(tài)判斷模塊 . 2.3.2 電梯上下樓控制模塊 . 2.3.3 電梯開關(guān)門模塊 . 2.3.4 電梯升降模塊 . 2.3.5 電梯指示燈模塊 . 2.3.6 電梯數(shù)碼管顯示模塊 . 2.3.7 實(shí)驗(yàn)過程與調(diào)試 . 2.3.8 真結(jié)果 . 2.3.9 主要故障與調(diào)試 . 1 課程設(shè)計(jì)概述 1.1 課設(shè)目的 通過硬件描述語言 VHDL 的編程,深入了解并掌握可編程芯片 PLD 的設(shè)計(jì)技術(shù),加強(qiáng)學(xué)生對(duì)數(shù)字邏
3、輯課程所學(xué)知識(shí)綜合利用的能力。培養(yǎng)學(xué)生創(chuàng)造性思維能力和獨(dú)立解決實(shí)際問題的能力。 1.2 課設(shè)要求 (1) 能夠全面地應(yīng)用課程中所學(xué)的基本理論和基本方法,完成從設(shè)計(jì)邏輯電路到設(shè)計(jì)簡單數(shù)字系統(tǒng)的過渡。 (2) 能力獨(dú)立思考、獨(dú)立查閱資料,獨(dú)立設(shè)計(jì)規(guī)定的系統(tǒng)。 (3) 能夠獨(dú)立地完成實(shí)施過程,包括安裝、布線、測試和排除故障。 1.3 課設(shè)任務(wù) (1) 制定出詳細(xì)設(shè)計(jì)方案; (2) 通過 Verilog HDL 完成規(guī)定的設(shè)計(jì)任務(wù),然后進(jìn)行編譯和仿真,保證設(shè)計(jì)的正確性; (3) 生成容絲圖文件,下載到 Basys2 開發(fā)板,通過實(shí)際線路進(jìn)行驗(yàn)證; (4) 對(duì)復(fù)雜系統(tǒng)的設(shè)計(jì)采取模塊化、層次化的設(shè)計(jì)方法;
4、 (5) 撰寫設(shè)計(jì)報(bào)告,并對(duì)存在的問題進(jìn)行分析、提出改進(jìn)意見。 1.4 實(shí)驗(yàn)環(huán)境 (1) Basys2 開發(fā)板(芯片為 XC3S100E,封裝為 CP132)1 套; (2) Xilinx_ISE 設(shè)計(jì)仿真軟件 1 套; (3) 計(jì)算機(jī) 1 臺(tái)。 2 基本方案設(shè)計(jì) 2.1 設(shè)計(jì)需求 隨著科學(xué)技術(shù)的發(fā)展以及城市化建設(shè),越來越多的高樓林立在城市之間,對(duì)于電梯的需求也愈發(fā)強(qiáng)烈。因此,一部安全可靠的電梯逐漸成為人們熱議的話題,而我們要設(shè)計(jì)的電梯控制系統(tǒng),能實(shí)現(xiàn)各種用戶需求,并且安全可靠,足以適應(yīng)當(dāng)前社會(huì)發(fā)展的要求。 2.2 總體結(jié)構(gòu)設(shè)計(jì) 本電梯控制器系統(tǒng)包含:1) 電梯狀態(tài)判斷模塊2) 電梯上下樓控制
5、模塊3) 電梯開關(guān)門模塊4) 電梯升降模塊5) 電梯指示燈模塊6) 電梯數(shù)碼管顯示模塊共六個(gè)模塊。 電梯分為以下四個(gè)狀態(tài): 1) 關(guān)門等待狀態(tài) i. 此時(shí),電梯門關(guān)閉且停在某一樓,等待用戶請(qǐng)求。 2) 電梯上行狀態(tài) i. 電梯此刻處于向上運(yùn)行狀態(tài)。 3) 電梯下行狀態(tài) i. 電梯此刻處于向下運(yùn)行狀態(tài)。 4) 開門狀態(tài) i. 此時(shí),電梯門打開,同時(shí)進(jìn)行關(guān)門倒計(jì)時(shí)。 2.2.1 電梯狀態(tài)判斷模塊 該模塊用于獲取電梯此刻的狀態(tài),并根據(jù)用戶請(qǐng)求進(jìn)行相應(yīng)狀態(tài)轉(zhuǎn)變。 輸入:openButton電梯開門按鍵 powerButton電梯電源按鍵 targetFloor用戶請(qǐng)求的目標(biāo)樓層輸出:liftState
6、電梯狀態(tài) 2.2.2 電梯上下樓控制模塊 該模塊用于獲取用戶請(qǐng)求,判斷電梯是否到達(dá)目標(biāo)樓層以及進(jìn)行計(jì)時(shí)器設(shè)置。輸入:powerButton電梯電源鍵 resetButton電梯重置按鍵 infloorButton1電梯內(nèi)部 1 樓按鍵 infloorButton3電梯內(nèi)部 3 樓按鍵 infloorButton6電梯內(nèi)部 6 樓按鍵 infloorButton8電梯內(nèi)部 8 樓按鍵 outfloorButton1電梯外部 1 樓按鍵 outfloorButton3電梯外部 3 樓按鍵 outfloorButton6電梯外部 6 樓按鍵 outfloorButton8電梯外部 8 樓按鍵 lif
7、tState電梯狀態(tài)輸出:targetFloor目標(biāo)樓層 clkFloor電梯樓層間運(yùn)行速率 clkLight電梯運(yùn)行燈 runTime電梯運(yùn)行時(shí)間 2.2.3 電梯開關(guān)門模塊 該模塊用于處理用戶開關(guān)門請(qǐng)求并進(jìn)行關(guān)門倒計(jì)時(shí) 輸入: powerButton電梯電源按鍵 openButton電梯開門按鍵 closeButton電梯關(guān)門按鍵 liftState電梯狀態(tài) 輸出:doorTime關(guān)門時(shí)間 doorState電梯門狀態(tài) doorLight電梯門燈 2.2.4 電梯升降模塊 該模塊進(jìn)行電梯上升、下降處理 輸入:liftState電梯狀態(tài) 輸出:currentFloor當(dāng)前樓層 2.2.5 電
8、梯指示燈模塊 該模塊用于電梯運(yùn)行時(shí),控制上行燈、下行燈亮與滅 輸入:liftState電梯狀態(tài) 輸出:upLight電梯上行燈 ownLight電梯下行燈 runState電梯運(yùn)行狀態(tài) 2.2.6 電梯數(shù)碼管顯示模塊 該模塊用于顯示電梯運(yùn)行時(shí)間、關(guān)門時(shí)間、當(dāng)前樓層 輸入:currentFloor當(dāng)前樓層 runTime運(yùn)行時(shí)間 doorTime關(guān)門時(shí)間 輸出:eightDecode八段數(shù)碼顯示管 sevenF、sevenJ、sevenM、sevenK數(shù)碼掃描管顯示2.2.7 總控制模塊 電 梯 升 降 模 塊電梯狀態(tài)判斷模塊結(jié) 合 個(gè) 子 模 塊 ,共 同 實(shí) 現(xiàn) 電 梯 功 能總 控 制 模
9、 塊電 梯 指 示 燈 模 塊電 梯 上 下 樓 模 塊數(shù) 碼 管 顯 示 模 塊電 梯 開 關(guān) 門 模 塊2.3 詳細(xì)設(shè)計(jì) 頂層模塊將各個(gè)子模塊有機(jī)結(jié)合起來,以實(shí)現(xiàn)各個(gè)功能 2.3.1 電梯狀態(tài)判斷模塊 本模塊用于處理電梯各種運(yùn)行狀態(tài)并進(jìn)行設(shè)置 模塊開始 電源鍵開關(guān) 開 關(guān) 電梯置于關(guān)門狀態(tài) 開門鍵 開 電梯處于關(guān)門狀態(tài) 是 電梯置于開門狀態(tài) 關(guān) 電梯處于上升狀態(tài) 否 否 當(dāng)前樓層與目標(biāo)樓層是否相等 是 電梯置于關(guān)門狀態(tài) 電梯運(yùn)行 2.3.2 電梯上下樓判斷模塊 本模塊用于處理用戶樓層請(qǐng)求、以及判斷是否到達(dá)目標(biāo)樓層 模塊開始 電源鍵是否打開 是 否 電梯目標(biāo)樓層請(qǐng)求清空 電梯計(jì)時(shí)器清零 電梯
10、重置按下 樓層請(qǐng)求只為1樓 其他樓層請(qǐng)求清零 未按 根據(jù)用戶具體樓層按鍵,設(shè)置相應(yīng)樓層請(qǐng)求 電梯達(dá)到指定樓層后,對(duì)應(yīng)樓層請(qǐng)求清空 2.3.3 電梯開關(guān)門模塊 本模塊用于電梯靜止時(shí)運(yùn)行狀態(tài) 否 是 否 是 是 否 是 模塊開始 電源鍵是否打開強(qiáng)制開關(guān)打開并且電梯運(yùn)行狀態(tài)為開門或靜止 開門指示燈亮,開門狀態(tài)為開,開始5秒倒計(jì)時(shí) 電梯運(yùn)動(dòng)狀態(tài)為打開強(qiáng)制關(guān)門鍵 開門指示燈滅,倒計(jì)時(shí)直接置為0 開門指示燈亮, 倒計(jì)時(shí)5秒 開門指示燈滅,狀態(tài)為關(guān)門狀態(tài)。關(guān)門計(jì)時(shí)為0 2.3.4 電梯升降模塊 否 是 電梯狀態(tài)為上升 當(dāng)前樓層+1 電梯狀態(tài)為下降 模塊開始 當(dāng)前樓層-1 2.3.5 電梯指示燈模塊 本模塊用
11、于指示電梯上下運(yùn)行狀態(tài) 電梯下行狀態(tài) 否 模塊開始 電梯上行狀態(tài) 否 是 是 上行指示燈滅,下行指示燈亮 上行指示燈亮,下行指示燈滅 上、下下 指 示 燈 均 滅 2.3.6 電梯數(shù)碼管顯示模塊 否 是 掃描分頻 顯示當(dāng)前樓層 電梯狀態(tài)為上升或者下降 顯示樓層間9秒倒計(jì)時(shí) 電梯狀態(tài)為開門 顯示5秒開門倒計(jì)時(shí) 模塊開始 2.4 實(shí)驗(yàn)過程與調(diào)試 2.4.1 模塊內(nèi)部圖 1、主模塊 輸入: clk:時(shí)鐘端 powerButton:電源開關(guān) resetButton:重置開關(guān)openButton:強(qiáng)制開門 closeButton:強(qiáng)制關(guān)門 infloorButton1:一樓內(nèi)部開關(guān) infloorBut
12、ton3:三樓內(nèi)部開關(guān) infloorButton6:六樓內(nèi)部開關(guān) infloorButton8:八樓內(nèi)部開關(guān) outfloorButton1:一樓外部開關(guān) outfloorButton3:三樓外部開關(guān) outfloorButton6:六樓外部開關(guān) outfloorButton8:八樓外部開關(guān) 輸出: eightDecode:七段顯示譯碼器 flashLight:電梯運(yùn)行閃爍燈 doorLight:開門顯示燈 upLight:上升指示燈 floorLight1:一樓指示燈 floorLight3:三樓指示燈 floorLight6:六樓指示燈 floorLight8:八樓指示燈 sevenF,
13、sevenJ,sevenM,sevenK:數(shù)碼管掃描指示 2.4.2 仿真結(jié)果 1、電梯狀態(tài)判斷模塊仿真文件如下: module test; / Inputs reg clk; reg powerButton; reg resetButton; reg openButton; reg closeButton; reg infloorButton1; reg infloorButton3; reg infloorButton6; reg infloorButton8; reg outfloorButton1; reg outfloorButton3; reg outfloorButton6; r
14、eg outfloorButton8; / Outputs wire 7:0 eightDecode; wire flashLight; wire doorLight; wire upLight; wire downLight; wire floorLight1; wire floorLight3; wire floorLight6; wire floorLight8; wire sevenF; wire sevenJ; wire sevenM; wire sevenK; always begin #5; clk = clk; end always begin #5; infloorButto
15、n1 = infloorButton1; end always begin #10; outfloorButton3 = outfloorButton3; end always begin #15; outfloorButton6 = outfloorButton6; end always begin #20; infloorButton8 = infloorButton8; end initial begin / Initialize Inputs clk = 0; powerButton = 1; resetButton = 0; openButton = 0; closeButton =
16、 0; infloorButton1 = 0; infloorButton3 = 0; infloorButton6 = 0; infloorButton8 = 0; outfloorButton1 = 0; outfloorButton3 = 0; outfloorButton6 = 0; outfloorButton8 = 0; end endmodule 仿真結(jié)果: 2、電梯上下樓判斷模塊仿真文件如下: module test; / Inputs reg clk; reg powerButton; reg resetButton; reg openButton; reg closeBut
17、ton; reg infloorButton1; reg infloorButton3; reg infloorButton6; reg infloorButton8; reg outfloorButton1; reg outfloorButton3; reg outfloorButton6; reg outfloorButton8; / Outputs wire 7:0 eightDecode; wire flashLight; wire doorLight; wire upLight; wire downLight; wire floorLight1; wire floorLight3;
18、wire floorLight6; wire floorLight8; wire sevenF; wire sevenJ; wire sevenM; wire sevenK; always begin #5; clk = clk; end always begin #5; infloorButton1 = infloorButton1; end always begin #15; outfloorButton3 = outfloorButton3; end always begin #25; outfloorButton6 = outfloorButton6; end always begin
19、 #35; infloorButton8 = infloorButton8; end initial begin / Initialize Inputs clk = 0; powerButton = 1; resetButton = 0; openButton = 0; closeButton = 0; infloorButton1 = 0; infloorButton3 = 0; infloorButton6 = 0; infloorButton8 = 0; outfloorButton1 = 0; outfloorButton3 = 0; outfloorButton6 = 0; outf
20、loorButton8 = 0; end endmodule 仿真結(jié)果: 3、電梯開關(guān)門模塊仿真文件如下: module test; / Inputs reg clk; reg powerButton; reg resetButton; reg openButton; reg closeButton; reg infloorButton1; reg infloorButton3; reg infloorButton6; reg infloorButton8; reg outfloorButton1; reg outfloorButton3; reg outfloorButton6; reg o
21、utfloorButton8; / Outputs wire 7:0 eightDecode; wire flashLight; wire doorLight; wire upLight; wire downLight; wire floorLight1; wire floorLight3; wire floorLight6; wire floorLight8; wire sevenF; wire sevenJ; wire sevenM; wire sevenK; always begin #5; clk = clk; end always begin #8; openButton = ope
22、nButton; end always #7 closeButton=closeButton; always #50 infloorButton8=infloorButton8; initial begin / Initialize Inputs clk = 0; powerButton = 1; resetButton = 0; openButton = 0; closeButton = 0; infloorButton1 = 0; infloorButton3 = 0; infloorButton6 = 0; infloorButton8 = 0; outfloorButton1 = 0;
23、 outfloorButton3 = 0; outfloorButton6 = 0; outfloorButton8 = 0; / Wait 100 ns for global reset to finish / Add stimulus here end endmodule 仿真結(jié)果: 4、電梯升降模塊仿真文件如下: module test; / Inputs reg clk; reg powerButton; reg resetButton; reg openButton; reg closeButton; reg infloorButton1; reg infloorButton3; r
24、eg infloorButton6; reg infloorButton8; reg outfloorButton1; reg outfloorButton3; reg outfloorButton6; reg outfloorButton8; / Outputs wire 7:0 eightDecode; wire flashLight; wire doorLight; wire upLight; wire downLight; wire floorLight1; wire floorLight3; wire floorLight6; wire floorLight8; wire seven
25、F; wire sevenJ; wire sevenM; wire sevenK; always begin #5; clk = clk; end always #10 infloorButton8=infloorButton8; always #100 infloorButton3=infloorButton3; initial begin / Initialize Inputs clk = 0; powerButton = 1; resetButton = 0; openButton = 0; closeButton = 0; infloorButton1 = 0; infloorButt
26、on3 = 0; infloorButton6 = 0; infloorButton8 = 0; outfloorButton1 = 0; outfloorButton3 = 0; outfloorButton6 = 0; outfloorButton8 = 0; / Wait 100 ns for global reset to finish / Add stimulus here end endmodule 仿真結(jié)果: 5、電梯指示燈模塊仿真文件如下: module test; / Inputs reg clk; reg powerButton; reg resetButton; reg
27、openButton; reg closeButton; reg infloorButton1; reg infloorButton3; reg infloorButton6; reg infloorButton8; reg outfloorButton1; reg outfloorButton3; reg outfloorButton6; reg outfloorButton8; / Outputs wire 7:0 eightDecode; wire flashLight; wire doorLight; wire upLight; wire downLight; wire floorLi
28、ght1; wire floorLight3; wire floorLight6; wire floorLight8; wire sevenF; wire sevenJ; wire sevenM; wire sevenK; always begin #5; clk = clk; end always begin #20; infloorButton3 = infloorButton3; end always begin #40; infloorButton6 = infloorButton6; end always begin #80; outfloorButton8 = outfloorBu
29、tton8; end initial begin / Initialize Inputs clk = 0; powerButton = 1; resetButton = 0; openButton = 0; closeButton = 0; infloorButton1 = 0; infloorButton3 = 0; infloorButton6 = 0; infloorButton8 = 0; outfloorButton1 = 0; outfloorButton3 = 0; outfloorButton6 = 0; outfloorButton8 = 0; / Wait 100 ns f
30、or global reset to finish / Add stimulus here end endmodule 仿真結(jié)果: 6、電梯數(shù)碼管顯示模塊仿真文件如下: module test; / Inputs reg clk; reg powerButton; reg resetButton; reg openButton; reg closeButton; reg infloorButton1; reg infloorButton3; reg infloorButton6; reg infloorButton8; reg outfloorButton1; reg outfloorButt
31、on3; reg outfloorButton6; reg outfloorButton8; / Outputs wire 7:0 eightDecode; wire flashLight; wire doorLight; wire upLight; wire downLight; wire floorLight1; wire floorLight3; wire floorLight6; wire floorLight8; wire sevenF; wire sevenJ; wire sevenM; wire sevenK; always begin #5; clk = clk; end al
32、ways #10 infloorButton6=infloorButton6; initial begin / Initialize Inputs clk = 0; powerButton = 1; resetButton = 0; openButton = 0; closeButton = 0; infloorButton1 = 0; infloorButton3 = 0; infloorButton6 = 0; infloorButton8 = 0; outfloorButton1 = 0; outfloorButton3 = 0; outfloorButton6 = 0; outfloo
33、rButton8 = 0; / Wait 100 ns for global reset to finish / Add stimulus here end endmodule 仿真結(jié)果: 2.4.3 主要故障與調(diào)試 (1)故障 1 問題描述:3、6兩層電梯外按鍵未設(shè)置上下行按鍵,導(dǎo)致電梯不能完成如(電梯1樓,3樓下,6樓上)這樣的問題解決辦法:增 加 3樓上 下,6樓上 下 按 鍵,以 同 向 較 近 優(yōu) 先,反 向 較 遠(yuǎn) 優(yōu) 先2.5 功能測試 2.5.1 電梯初始狀態(tài)功能測試 圖 2.5.1 電梯初始狀態(tài)模塊測試 功能測試:打開電源,顯示當(dāng)前樓層為一樓。打開強(qiáng)制開門開關(guān),開門燈亮,倒計(jì)
34、時(shí) 5 秒 2.5.2 電梯上升模塊功能測試 圖 2.5.2 電梯上升模塊測試 功能測試:如圖,打開電源,按下 6 樓按鈕,6 樓指示燈亮,上行指示燈亮,當(dāng)前樓層為 4 樓,每層樓之間進(jìn)行 9 秒倒計(jì)時(shí),此時(shí)倒計(jì)時(shí)進(jìn)行至 7 秒。每層樓之間運(yùn)行指示燈閃爍 9 下。 3.3 仿真與測試 3 總結(jié)與心得 4.1 課設(shè)總結(jié) 為了實(shí)現(xiàn)電梯控制器系統(tǒng)的功能要求,作了如下幾點(diǎn)工作: 1. 前期對(duì)頂層模塊和子模塊做了劃分,確定了頂層模塊對(duì)子模塊的控制 2. 每當(dāng)完成一個(gè)子模塊時(shí),便進(jìn)行仿真測試,查找錯(cuò)漏的地方 3. 后期上開發(fā)板調(diào)試時(shí),仔細(xì)斟酌各模塊設(shè)計(jì)是否合理,并根據(jù)實(shí)際情況進(jìn)行修改 4.2 課設(shè)心得 本
35、次課程設(shè)計(jì),加強(qiáng)了對(duì)上學(xué)期所學(xué) 知 識(shí) 的 理 解,意 識(shí) 到 理 論 對(duì) 實(shí) 踐 的 重 要 性,也 培 養(yǎng) 了 和 同 學(xué) 的 交 流 協(xié) 作 能 力。而 設(shè) 計(jì) 中 所 存 在 的 缺 陷 ,讓 自 己 意 識(shí) 到 自 己 分 析 設(shè) 計(jì) 的 不 足。同 時(shí),對(duì)verilog語 言 的 學(xué) 習(xí) 和 運(yùn) 用,也 讓 自 己 意 識(shí) 到 在 編 程 能 力 仍 需 要 提 高 。附 錄(源程序) .v 文件 module main(input wire clk, / 時(shí)鐘信號(hào)input wire powerButton, / 電源開關(guān) input wire resetButton, /重置開
36、關(guān) input wire openButton, / 強(qiáng)制開門 input wire closeButton, / 強(qiáng)制關(guān)門 input wire infloorButton1, / 一樓內(nèi)部開關(guān) input wire infloorButton3, / 三樓內(nèi)部開關(guān) input wire infloorButton6, / 六樓內(nèi)部開關(guān) input wire infloorButton8, / 八樓內(nèi)部開關(guān) input wire outfloorButton1, / 一樓外部開關(guān)input wire outfloorButton3, / 三樓外部開關(guān)input wire outfloorBu
37、tton6, / 六樓外部開關(guān)input wire outfloorButton8, / 八樓外部開關(guān) output reg7:0 eightDecode, / 七段顯示譯碼器 output wire flashLight, / 電梯運(yùn)行閃爍燈 output wire doorLight, / 開門顯示燈output reg upLight, / 上升指示燈output reg downLight, / 下降指示燈 output wire floorLight1, / 一樓指示燈 output wire floorLight3, / 三樓指示燈 output wire floorLight6,
38、 / 六樓指示燈 output wire floorLight8, / 八樓指示燈 output reg sevenF, output reg sevenJ, output reg sevenM, output reg sevenK ); reg3:0 currentFloor; / 電梯當(dāng)前樓層 reg3:0 targetFloor; / 目標(biāo)樓層,1 代表當(dāng)前樓層有請(qǐng)求 reg1:0 liftState; / 電梯運(yùn)行狀態(tài) 0.關(guān)門等待狀態(tài) 1.上升狀態(tài) 2. 下降狀態(tài) 3.開門狀態(tài) reg mark; / 用于周期滯后 wire doorState; / 電梯門開關(guān)狀態(tài),0 為關(guān)門,1 為開門 reg runState; / 電梯最近運(yùn)動(dòng)狀態(tài),1 為上升,0 為下降 reg2:0 doorTime; reg clkFloor; / 電梯上下樓層速率reg clkLight; / 電梯運(yùn)行時(shí)指示燈閃爍頻率 reg scan; reg3:0 runTime; /電梯運(yùn)行時(shí)間顯示 integer q,qLight,qScan,qRun; reg28:0 cTime; / 電梯關(guān)門計(jì)時(shí)器 initial /
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 修建性設(shè)計(jì)合同范本
- 10萬噸煤礦合同范本
- 單位只交社保合同范本
- 公司銷售代理合同范本
- 出售機(jī)械板車合同范本
- 醫(yī)藥培訓(xùn)銷售合同范本
- 個(gè)人精裝房租賃合同范例
- 保潔大掃除合同范本
- 買汽車有沒有三包合同范本
- 加工基地 合同范本
- 《水稻育秧技術(shù)新》課件
- 2024-2025年第一學(xué)期初中德育工作總結(jié)
- 圍手術(shù)期手術(shù)患者護(hù)理要點(diǎn)
- 2025年大連長興開發(fā)建設(shè)限公司工作人員公開招聘高頻重點(diǎn)提升(共500題)附帶答案詳解
- 貨物學(xué) 課件1.3貨物的計(jì)量
- 《鈉離子電池用電解液編制說明》
- 全球醫(yī)療旅游經(jīng)濟(jì)的現(xiàn)狀與未來趨勢
- 2024年度儲(chǔ)能電站在建項(xiàng)目收購合作協(xié)議范本3篇
- 新建冷卻塔布水器項(xiàng)目立項(xiàng)申請(qǐng)報(bào)告
- 廣東省梅州市梅縣區(qū)2023-2024學(xué)年八年級(jí)上學(xué)期期末數(shù)學(xué)試題
- 2025屆江蘇省南通市海門市海門中學(xué)高三最后一模數(shù)學(xué)試題含解析
評(píng)論
0/150
提交評(píng)論