2023年全國碩士研究生考試考研英語一試題真題(含答案詳解+作文范文)_第1頁
已閱讀1頁,還剩14頁未讀, 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡介

1、<p><b>  外文翻譯</b></p><p><b>  頻率合成器設(shè)計(jì)</b></p><p><b>  外文翻譯</b></p><p>  The elevator controller based on Single-chip microcomputer</p>

2、<p>  Abstract: the design is based on single-chip microcomputer to control the use of the appliance, the use of digital tube to display the position and direction of the floor, using two LEDs to replace the motor

3、, to achieve the motor positive inversion by single-chip microcomputer to control the LED on and off, to check the position of the elevator through the timer delay.</p><p>  Keywords: Elevator AT89S51 LED mo

4、tor control floor check</p><p>  1 Introduction</p><p>  With the rapid development of the continuous improvement of living standards and the national economy. Each big city buildings in continu

5、ously to the high-level development. Therefore lift play a decisive role in our life. The elevator is not only the important equipment for the production process, it is a transportation equipment by the people with frequ

6、ent. Therefore, the elevator control technology is also in constant improvement and perfection, commonly used control technology mainly has two</p><p>  2 of the overall design scheme</p><p>  2

7、 of the overall design scheme</p><p>  2.1 design ideas</p><p>  The basic idea of this design is the use of AT89s51 microcontroller as the core, to control the use of its rich interface and per

8、ipheral circuit with I/O. Check the position of the timer delay to control the elevator, using 8 bit LED static display to display the elevator location, and use 74ls245 to drive LED display. The determinant keyboard mat

9、rix as the external to internal selection circuit, because it is the 6 floor, the choice of 4 * 4 matrix keyboard. When the elevator arrived at the des</p><p>  2.2 of the overall design diagram</p>&

10、lt;p>  Fig. 1 overall plans</p><p>  3Analysis of design principles</p><p>  3.1Design keyboard matrix circuit</p><p>  Because the circuits required button more in order to save

11、 the MCU I/O port, the choice of determinant keyboard matrix. This circuit is used in 4 * 4 keyboard matrix. The circuit shown in Figure 2, the P1.0-P1.7 is connected to the P1 ports of the single-chip, single-chip scann

12、ing method used to row and column to distinguish these 16 buttons which key is pressed, and the label read accumulator inside A, and then can be controlled by SCM elevator operation according to each button function. The

13、 f</p><p>  S1: a building to call button, the button press said a building with elevator upstairs to SCM, and the signal into a fixed unit, wait to judge whether the response to this call the elevator to th

14、e floor;</p><p>  S2: two buildings to the call button, the button press said the two floor elevator upstairs to, and the MCU will this signal into a fixed unit, wait to judge whether the response to this ca

15、ll the elevator to the floor;</p><p>  S3 : two buildings down the call button, the button press said the two floor elevator ride down to single chip, and the signal into a fixed unit, wait to judge whether

16、the response to this call the elevator to the floor;</p><p>  S4: on the third floor to the call button, the button press said the third floor has take the elevator upstairs to SCM, and the signal into a fix

17、ed unit, wait to judge whether the response to this call the elevator to the floor;</p><p>  S5: the third floor down the call button, the button press said the third floor has take the elevator downstairs t

18、o SCM, and the signal into a fixed unit, wait to judge whether the response to this call the elevator to the floor;</p><p>  S6: four floor to the call button, the button is pressed four floor elevator upsta

19、irs to, and the MCU will this signal into a fixed unit, wait to judge whether the response to this call the elevator to the floor;</p><p>  S7 : four buildings down the call button, the button is pressed fou

20、r floor elevator ride down to single chip, and the signal into a fixed unit, wait to judge whether the response to this call the elevator to the floor;</p><p>  S8: five floor to the call button, the button

21、press said the four floor elevator upstairs to, and the MCU will this signal into a fixed unit, wait to judge whether the response to this call the elevator to the floor;</p><p>  S9: five floor down the cal

22、l button, the button is pressed five floor elevator ride down to single chip, and the signal into a fixed unit, wait to judge whether the response to this call the elevator to the floor;</p><p>  S10: six fl

23、oor to the call button, the button is pressed the elevator downstairs said people should, and SCM will this signal into a fixed unit, wait to judge whether the response to this call the elevator to the floor;</p>

24、<p>  S11: Elevator internal selection to a floor button, the button is pressed said elevator passengers going to the first floor, SCM according to the signal to control the operation of the lift;</p><p&g

25、t;  S12: Elevator internal selection to the two floor button, the button is pressed said elevator passengers going to the two floor, SCM according to the signal control elevator;</p><p>  S13: the elevator t

26、o the third floor internal selection button, the button is pressed said elevator passengers to go to the third floor, SCM according to the signal control elevator;</p><p>  S14: Elevator internal selection t

27、o the four floor button, the button is pressed said elevator passengers going to the four floor, SCM according to the signal control elevator;</p><p>  S15: Elevator internal selection to the five floor butt

28、on, the button is pressed said elevator passengers going to the five floor, SCM according to the signal control elevator;</p><p>  S16: Elevator internal selection to the six floor button, the button is pres

29、sed said elevator passengers going to the six floor, SCM according to the signal control elevator;</p><p>  The keyboard circuit as shown in figure 2:</p><p>  Fig. 2 overall plans</p>&l

30、t;p>  3.2 the smallest single-chip system design</p><p>  If the circuit group reset circuit and clock circuit two parts, wherein the reset circuit using a combination key manual reset and automatic power

31、-on reset, the circuit in Figure 3 ( left) shows: 9 feet for the MCU reset. The clock circuit as shown in Figure 3 ( right) shows: crystal oscillator is used in 12MHZ, XATL2 and XATL1 were 18 and 19 feet of scm.</p>

32、;<p>  Fig. 3 overall plans</p><p>  3.3 display circuit design</p><p>  This circuit uses a 8 digital tube display, from 74ls245 to drive 8 digital tube display elevator to arrive the nu

33、mber of floors and the operational status of the elevator, wherein the digital tube of 6 feet ( DP ) bright said elevator at this point in the uplink, if not bright said elevator in the downlink. P2.0-P2.7 microcontrolle

34、r P2 port as the output port and the output active-low. The circuit shown in figure 4: </p><p>  Fig. 4 overall plans</p><p>  3.4 motor positive inversion of control</p><p>  In th

35、is design in order to facilitate the motor positive and negative use two light tube to represent, as shown in Figure 5 : the use of SCM P0 port output port to drive the luminous tube, as is the P0 to add resistance, in w

36、hich L1 light indicates the motor forward, L2 lights, L3 light indicates that the motor reverse motor stop, while the elevator door. L3 out that the elevator door, elevator running L1 and L2 must have a bright, to expres

37、s elevator uplink and downlink</p><p>  Fig. 5 overall plans</p><p>  3.5 system software design</p><p>  Because the design of the keyboard matrix to replace the outgoing select bu

38、tton, which is the direction of the elevator call button and choose according to these keys to decide, so the chip to scan the keyboard constantly to get the call state. In order to control the operation of the lift. The

39、 keyboard matrix scanning is an important part of the software design of the system, in addition to the storage key information of each layer to keyboard scan, and then compare and elevator operation, to d</p><

40、;p>  The initialization procedure so that the digital display " 1 " indicates that the elevator in a building, and the L3 light that elevator door etc.</p><p>  Others entered the elevator;</

41、p><p>  The main program mainly includes:</p><p>  The judge passengers into the elevator selection which floor, to control the elevator operation according to the judgement of the situation;</p

42、><p>  The elevator to scan the keyboard constantly in the process of operation, thus to judge each floor has no call request,;</p><p>  The call request elevator response only in the running proce

43、ss of the same direction;</p><p>  Real-time display of elevator location and running state ( uplink / downlink );</p><p>  The door has a delay to ensure passengers out of / into the elevator;&

44、lt;/p><p>  Software flow diagram is shown in figure 6:</p><p>  Fig.6 overall plans</p><p>  4 Summary and the experience</p><p>  Through the comprehensive training base

45、d on MCU, let I learned the previous knowledge with comprehensive application. This for me, is not only a practice, more is to test the knowledge of their previous. I found that I need to know, and learn a lot of knowled

46、ge. Let my own shortcomings were found from this practice, application software on a variety of learning at the same time, let me have a deeper understanding of knowledge. Found, only theoretical knowledge is not enough,

47、 there is a considera</p><p><b>  Reference</b></p><p>  [1] Shi Lei Cheung Kwok Keung Altium Designer 8 Chinese circuit design, Tsinghua University press, 2009</p><p> 

48、 [2] Li Zhaoqing. Single-chip microcomputer principle and Interface Technology ( Third Edition ). Beihang University press, 2005</p><p>  [3] Zhang Daming. Single chip microcomputer control technology and it

49、s application [ M ] . Beijing: Mechanical Industry Press, 2006</p><p>  基于單片機(jī)控制的電梯控制器</p><p>  摘 要:本設(shè)計(jì)基于單片機(jī)來控制電器中各部分的使用,采用數(shù)碼管來實(shí)時(shí)顯示樓層的位置及方向,利用兩個(gè)發(fā)光二極管來代替電機(jī),通過單片機(jī)控制發(fā)光管的亮和滅來實(shí)現(xiàn)電機(jī)的正反轉(zhuǎn),通過定時(shí)器延時(shí)來校驗(yàn)電梯的位置

50、。</p><p>  關(guān)鍵詞:電梯 AT89S51 LED顯示 電機(jī)正反轉(zhuǎn)控制 樓層校驗(yàn) </p><p><b>  1 引言</b></p><p>  隨著人們生活水平的不斷提高和國名經(jīng)濟(jì)的迅速發(fā)展。各大城市建筑物在不斷向高層化發(fā)展。因此電梯在我們的生活中起著舉足輕重的作用。電梯已不僅是一種生產(chǎn)環(huán)節(jié)中的重要設(shè)備,更是一種人們頻繁

51、乘用的交通運(yùn)輸設(shè)備。因此電梯控制技術(shù)也在不斷的進(jìn)步和完善,常用的控制技術(shù)主要的有兩種技術(shù):基于PLC控制和基于單片機(jī)控制兩大技術(shù)。用PLC控制的電梯性能可靠、穩(wěn)定,但是造價(jià)太高?;趩纹瑱C(jī)控制的電梯可以大大的降低成本而且運(yùn)行也較可靠,所以現(xiàn)在電梯控制中大多數(shù)采用單片機(jī)控制。</p><p><b>  2 總體設(shè)計(jì)方案</b></p><p><b>  2

52、.1 設(shè)計(jì)思路</b></p><p>  本次設(shè)計(jì)的基本思想是采用AT89s51單片機(jī)作為核心,利用其豐富的I/O接口與外圍電路配合進(jìn)行控制。采用定時(shí)器延時(shí)來控制電梯的位置校驗(yàn),采用8位LED靜態(tài)顯示來實(shí)時(shí)顯示電梯所在樓層,并用74ls245來驅(qū)動(dòng)LED顯示。采用行列式鍵盤矩陣作為外呼內(nèi)選電路,由于是6層樓,故選用4×4矩陣鍵盤。當(dāng)電梯到達(dá)目的樓層時(shí)電機(jī)停止,此時(shí)即可進(jìn)、出乘客,乘客進(jìn)入電

53、梯之后可選擇去哪一層,然后電梯根據(jù)乘客的選擇判斷去哪一層,繼續(xù)運(yùn)行。通過單片機(jī)控制電梯在上升過程中只響應(yīng)上升呼叫,下降過程中只響應(yīng)下降呼叫。電梯的正常運(yùn)行通過單片機(jī)的控制來實(shí)現(xiàn)。</p><p>  2.2 總體設(shè)計(jì)框圖</p><p><b>  如圖1所示</b></p><p>  圖 1 總體方案圖 </p><p&

54、gt;<b>  3 設(shè)計(jì)原理分析</b></p><p>  3.1鍵盤矩陣電路的設(shè)計(jì)</p><p>  由于本電路所需按鍵較多為了節(jié)省單片機(jī)的I/O口,故選用行列式鍵盤矩陣。本電路采用的是4×4鍵盤矩陣。電路如圖2 所示,P1.0-P1.7是接單片機(jī)的P1 端口,單片機(jī)采用行和列掃描法來判別這16個(gè)按鍵中哪個(gè)鍵按下,并將其標(biāo)號讀入累加器A 里面,然后可

55、根據(jù)每個(gè)按鍵的功能來通過單片機(jī)控制電梯的運(yùn)行。下面將每個(gè)按鍵的功能說明一下:</p><p>  S1: 一樓向上呼叫按鍵,此鍵按下表示一樓有人要乘坐電梯上樓,并且單片機(jī)將此信號存入固定單元,等到電梯運(yùn)行到此樓層時(shí)判斷是否該響應(yīng)此呼叫;</p><p>  S2: 二樓向上呼叫按鍵,此鍵按下表示二樓有人要乘坐電梯上樓,并且單片機(jī)將此信號存入固定單元,等到電梯運(yùn)行到此樓層時(shí)判斷是否該響應(yīng)此呼

56、叫;</p><p>  S3:二樓向下呼叫按鍵,此鍵按下表示二樓有人要乘坐電梯下樓,并且單片機(jī)將此信號存入固定單元,等到電梯運(yùn)行到此樓層時(shí)判斷是否該響應(yīng)此呼叫;</p><p>  S4: 三樓向上呼叫按鍵,此鍵按下表示三樓有人要乘坐電梯上樓,并且單片機(jī)將此信號存入固定單元,等到電梯運(yùn)行到此樓層時(shí)判斷是否該響應(yīng)此呼叫;</p><p>  S5:三樓向下呼叫按鍵,

57、此鍵按下表示三樓有人要乘坐電梯下樓,并且單片機(jī)將此信號存入固定單元,等到電梯運(yùn)行到此樓層時(shí)判斷是否該響應(yīng)此呼叫;</p><p>  S6:四樓向上呼叫按鍵,此按鍵按下表示四樓有人要乘坐電梯上樓,并且單片機(jī)將此信號存入固定單元,等到電梯運(yùn)行到此樓層時(shí)判斷是否該響應(yīng)此呼叫;</p><p>  S7:四樓向下呼叫按鍵,此按鍵按下表示四樓有人要乘坐電梯下樓,并且單片機(jī)將此信號存入固定單元,等到

58、電梯運(yùn)行到此樓層時(shí)判斷是否該響應(yīng)此呼叫;</p><p>  S8:五樓向上呼叫按鍵,此鍵按下表示四樓有人要乘坐電梯上樓,并且單片機(jī)將此信號存入固定單元,等到電梯運(yùn)行到此樓層時(shí)判斷是否該響應(yīng)此呼叫;</p><p>  S9: 五樓向下呼叫按鍵,此按鍵按下表示五樓有人要乘坐電梯下樓,并且單片機(jī)將此信號存入固定單元,等到電梯運(yùn)行到此樓層時(shí)判斷是否該響應(yīng)此呼叫;</p><

59、p>  S10:六樓向上呼叫按鍵,此按鍵按下表示有人要乘坐電梯下樓,并且單片機(jī)將此信號存入固定單元,等到電梯運(yùn)行到此樓層時(shí)判斷是否該響應(yīng)此呼叫;</p><p>  S11:電梯內(nèi)部選擇去一樓按鍵,此按鍵按下表示電梯里的乘客要去一樓,單片機(jī)根據(jù)此信號控制電梯的運(yùn)行;</p><p>  S12:電梯內(nèi)部選擇去二樓按鍵,此按鍵按下表示電梯里的乘客要去二樓,單片機(jī)根據(jù)此信號控制電梯運(yùn)行;

60、</p><p>  S13:電梯內(nèi)部選擇去三樓按鍵,此按鍵按下表示電梯里的乘客要去三樓,單片機(jī)根據(jù)此信號控制電梯運(yùn)行;</p><p>  S14:電梯內(nèi)部選擇去四樓按鍵,此按鍵按下表示電梯里的乘客要去四樓,單片機(jī)根據(jù)此信號控制電梯運(yùn)行;</p><p>  S15:電梯內(nèi)部選擇去五樓按鍵,此按鍵按下表示電梯里的乘客要去五樓,單片機(jī)根據(jù)此信號控制電梯運(yùn)行;<

61、/p><p>  S16:電梯內(nèi)部選擇去六樓按鍵,此按鍵按下表示電梯里的乘客要去六樓,單片機(jī)根據(jù)此信號控制電梯運(yùn)行;</p><p>  鍵盤電路如圖2 所示:</p><p><b>  圖 2</b></p><p>  3.2單片機(jī)最小系統(tǒng)設(shè)計(jì)</p><p>  此電路組要是復(fù)位電路和時(shí)鐘電路

62、兩部分,其中復(fù)位電路采用按鍵手動(dòng)復(fù)位和上電自動(dòng)復(fù)位組合,電路如圖3(左)所示:其中9 腳為單片機(jī)的復(fù)位端。時(shí)鐘電路如圖3(右)所示:晶振采用的是12MHZ的,XATL2和XATL1分別為單片機(jī)的18和19腳。</p><p><b>  圖 3</b></p><p><b>  3.3顯示電路設(shè)計(jì)</b></p><p>

63、;  本電路采用一個(gè)8為數(shù)碼管顯示,由74ls245來驅(qū)動(dòng)8位數(shù)碼管顯示電梯所到達(dá)的樓層數(shù)和電梯的運(yùn)行狀況,其中數(shù)碼管中的6腳(dp)亮?xí)r表示電梯此時(shí)在上行,若不亮表示電梯是在下行。P2.0-P2.7為單片機(jī)的P2口作為輸出口用且輸出低電平有效。電路如圖4 所示:</p><p><b>  圖 4</b></p><p>  在本次設(shè)計(jì)中為了方便電機(jī)正反轉(zhuǎn)用兩個(gè)放光

64、管來表示,如圖5所示:用單片機(jī)的P0口做輸出口來驅(qū)動(dòng)發(fā)光管,由于是P0口要加上拉電阻,其中L1亮表示電機(jī)正轉(zhuǎn)、L2亮表示電機(jī)反轉(zhuǎn)、L3亮表示電機(jī)停轉(zhuǎn),同時(shí)電梯開門。L3滅表示電梯關(guān)門,電梯運(yùn)行時(shí)L1和L2必須有一個(gè)亮,來表示電梯的上行和下行。</p><p><b>  圖 5</b></p><p><b>  3.5系統(tǒng)軟件設(shè)計(jì)</b><

65、;/p><p>  本設(shè)計(jì)由于采用鍵盤矩陣來代替外呼內(nèi)選按鈕,而電梯的運(yùn)行方向是根據(jù)這些呼叫按鍵和選擇按鍵來決定的,所以單片機(jī)要不斷的掃描鍵盤來獲取各層呼叫狀態(tài)。從而來控制電梯的運(yùn)行。故鍵盤矩陣掃描是本系統(tǒng)軟件設(shè)計(jì)的重要一部分,另外要把鍵盤掃描到的各層的按鍵信息存儲(chǔ)起來,然后和電梯的運(yùn)行狀態(tài)比較,判斷是否響應(yīng)各層呼叫(電梯只響應(yīng)同方向呼叫),最后就是樓層顯示部分了,此次設(shè)計(jì)是通過延時(shí)電路來實(shí)時(shí)顯示電梯所在的位置的。整

66、個(gè)軟件設(shè)計(jì)包括一下幾部分:</p><p> ?、懦跏蓟绦蚴箶?shù)碼管顯示“1”表示電梯處在一樓,并且使L3燈亮表示電梯開門等</p><p><b>  待人進(jìn)入電梯;</b></p><p><b> ?、浦鞒绦蛑饕ǎ?lt;/b></p><p>  ①判斷乘客進(jìn)入電梯后選擇去哪一層,根據(jù)判斷情況

67、來控制電梯運(yùn)行;</p><p> ?、陔娞菰谶\(yùn)行過程中要不斷的掃描鍵盤,從而來判斷各樓層有無呼叫請求,;</p><p> ?、垭娞菰谶\(yùn)行過程中只響應(yīng)同方向的呼叫請求;</p><p> ?、軐?shí)時(shí)顯示電梯所在位置及運(yùn)行狀態(tài)(上行/下行);</p><p>  ⑤開關(guān)門有一定的延時(shí)來保證乘客走出/進(jìn)入電梯;</p><p&

68、gt;  軟件流程圖如圖6 所示:</p><p><b>  圖 6</b></p><p><b>  4 總結(jié)與體會(huì)</b></p><p>  通過這次基于單片機(jī)的綜合實(shí)習(xí),讓我對以前所學(xué)的知識(shí)有了綜合的應(yīng)用。這次對我來說,不僅僅是一次實(shí)習(xí),更是對自己以前所學(xué)知識(shí)的檢驗(yàn)。我發(fā)現(xiàn)我需要了解,和學(xué)習(xí)的知識(shí)很多。也讓我從

69、這次實(shí)習(xí)當(dāng)中發(fā)現(xiàn)了自己的不足,同時(shí)對各種學(xué)習(xí)軟件的應(yīng)用,讓我對所學(xué)知識(shí)有了更深層次的了解。發(fā)現(xiàn)了,僅僅有理論知識(shí)是不夠的,理論與應(yīng)用之間存在著相當(dāng)大的差距。也讓我們體會(huì)到了什么叫眼高手低,紙上談兵。通過這次實(shí)習(xí),也讓我學(xué)到了很多課本當(dāng)中學(xué)不到的東西。這次實(shí)習(xí)對我們的意義是非常的重大,讓我們從新認(rèn)識(shí)到自己所處的位置。在實(shí)習(xí)當(dāng)中,也發(fā)揚(yáng)了我們的團(tuán)隊(duì)精神,與合作能力。在老師的熱情輔導(dǎo)之下,相信我們又上了一個(gè)新的臺(tái)階。</p>&

70、lt;p><b>  參考文獻(xiàn)</b></p><p>  [1] 石磊 張國強(qiáng). Altium Designer 8.0 中文電路設(shè)計(jì)·清華大學(xué)出版社,2009</p><p>  [2] 李朝清.單片機(jī)原理及接口技術(shù)(第三版).北京航空航天大學(xué)出版社,2005</p><p>  [3] 張大明.單片機(jī)微機(jī)控制應(yīng)用技術(shù)【M】

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 眾賞文庫僅提供信息存儲(chǔ)空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論