微型計(jì)算機(jī)控制系統(tǒng)(單片機(jī)控制系統(tǒng))畢業(yè)論文外文翻譯_第1頁
微型計(jì)算機(jī)控制系統(tǒng)(單片機(jī)控制系統(tǒng))畢業(yè)論文外文翻譯_第2頁
微型計(jì)算機(jī)控制系統(tǒng)(單片機(jī)控制系統(tǒng))畢業(yè)論文外文翻譯_第3頁
微型計(jì)算機(jī)控制系統(tǒng)(單片機(jī)控制系統(tǒng))畢業(yè)論文外文翻譯_第4頁
微型計(jì)算機(jī)控制系統(tǒng)(單片機(jī)控制系統(tǒng))畢業(yè)論文外文翻譯_第5頁
已閱讀5頁,還剩11頁未讀 繼續(xù)免費(fèi)閱讀

下載本文檔

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

文檔簡介

1、英語翻譯 microcontroller reset is to make the cpu and other system features are in a defined initial state, and from this state to work, reset pc = 0000h, the microcontroller from the first - a unit to take command. whether it is connected to the microcontroller when the power is just the beginning, or

2、after power failure or failure to be reset. mcu reset conditions are: the rst pin must be coupled with continued two machine cycles (ie 24 oscillations) is high. clock frequency in this article 12mhz, each machine cycle is 1s, then the only 2s time high above, appears in the rst pin high after the i

3、mplementation of the second machine cycle reset. reset circuit constituted by the capacitor series resistance, combined with the map, the capacitor voltage can not be mutatedin nature, can know when the system is a power, rst will be a foot high, and that the duration of this high by the circuit the

4、 rc values to decide. appropriate combination of rc values can ensure a reliable reset. the circuit in addition to a power-on reset functions, to reset, just press the reset button, then power through resistance, voltage, reset in the reset high end. clock circuit main task is to provide a working f

5、requency. internal microcontroller used to form a high-gain inverting amplifier oscillator, the amplifier input and output are xtal1 and xtal2, xtal1 and xtal2 on the external clock source can constitute a clock circuit. both internal and external clock generation mode. this design uses the internal

6、 clock generation means. circuit connection shown in figure 3.2, both ends of the jumper xtal1 and xtal2 crystal resonator (oscillator frequency 12mhz), and internal self-excited oscillator inverter constituted. the issue of pulse timing control directly into the on-chip components. in addition, the

7、 capacitance of the frequency tuning role, as an external crystal oscillator, capacitor selection 20pf, practical application, and capacitor resonator near as possible to install in the scm to reduce the parasitic capacitance, the oscillator stable and reliable work. ultrasonic transmitting circuit

8、includes ultrasonic generator circuit and the ultrasonic transmitter control circuit of two parts, ultrasound probes (also known as ultrasonic transducer) use csb40t. 40khz is the use of ultrasonic oscillation drive circuit 555 produce ultrasonic probe. 555 constituted by the multivibrator timer (sh

9、own in figure 3.3). power, the power by charging the capacitor and, when time, = 0, is low: when the time, = -, is high. when the lm324 ultrasonic echo signal is detected, it outputs low level signal, this time for lm324 input voltage is less than the threshold voltage, the lm324 to the output level

10、 signal, leading to end of data acquisition pc. on the contrary, the output signal to the pc for the low end of data acquisition. this part of the comparator adjusted properly if there could be some problems, such as the output will be high-frequency output. this is because the comparator is very se

11、nsitive to small changes in the signal causes the output values and the mutual transformation. use of the positive feedback of the comparator hysteresis to reduce sensitivity of the comparator can reduce the interference. because the amplified echo signal amplitude is large, so then by setting the a

12、ppropriate threshold can be effectively stable signal. use of adjustable potentiometer is a more convenient way. needs the input of the comparator reference voltage stability need to add capacitance stability. reasonable adjustment potentiometer, select the comparison reference voltage, allows more

13、accurate and stable measurement.附錄外文翻譯譯文微型計(jì)算機(jī)控制系統(tǒng)(單片機(jī)控制系統(tǒng)) 廣義地說,微型計(jì)算機(jī)控制系統(tǒng)(單片機(jī)控制系統(tǒng))是用于處理信息的,這種被用于處理的信息可以是電話交談,也可以是儀器的讀數(shù)或者是一個(gè)企業(yè)的帳戶,但是各種情況下都涉及到相同的主要操作:信息的處理、信息的存儲(chǔ)和信息的傳遞。在常規(guī)的電子設(shè)計(jì)中,這些操作都是以功能平臺(tái)方式組合起來的,例如計(jì)數(shù)器,無論是電子計(jì)數(shù)器還是機(jī)械計(jì)數(shù)器,都要存儲(chǔ)當(dāng)前的數(shù)值,并且按要求將該數(shù)值增加1。一個(gè)系統(tǒng)例如采用計(jì)數(shù)器的電子鐘之類的任一系統(tǒng)要使其存儲(chǔ)和處理能力遍布整個(gè)系統(tǒng),因?yàn)槊總€(gè)計(jì)數(shù)器都能存儲(chǔ)和處理一些數(shù)字。 現(xiàn)

14、如今,以微處理器為基礎(chǔ)的系統(tǒng)從常規(guī)的處理方法中分離了出來,它將信息的處理,信息的存儲(chǔ)和信息的傳輸三個(gè)功能分離形成不同的系統(tǒng)單元。這種主要將系統(tǒng)分成三個(gè)主要單元的分離方法是馮-諾依曼在20世紀(jì)40年代所設(shè)想出來的,并且是針對微計(jì)算機(jī)的設(shè)想。從此以后基本上所有制成的計(jì)算機(jī)都是用這種結(jié)構(gòu)設(shè)計(jì)的,盡管他們包含著寬廣的物理形式與物理結(jié)構(gòu),但從根本上來說他們均是具有相同基本設(shè)計(jì)的計(jì)算機(jī)。 在以微處理器為基礎(chǔ)的系統(tǒng)中,處理是由以微處理器為基礎(chǔ)的系統(tǒng)自身完成的。存儲(chǔ)是利用存儲(chǔ)器電路,而從系統(tǒng)中輸入和輸出的信息傳輸則是利用特定的輸入/輸出(i/o)電路。要在一個(gè)以微處理器為基礎(chǔ)的時(shí)鐘中找出執(zhí)行具有計(jì)數(shù)功能的一個(gè)

15、特殊的硬件組成部分是不可能的,因?yàn)闀r(shí)間存儲(chǔ)在存儲(chǔ)器中,而在固定的時(shí)間間隔下由微處理器控制增值。但是,規(guī)定系統(tǒng)運(yùn)轉(zhuǎn)過程的軟件卻規(guī)定了包含實(shí)現(xiàn)計(jì)數(shù)器計(jì)數(shù)功能的單元部分。由于系統(tǒng)幾乎完全由軟件所定義,所以對微處理器結(jié)構(gòu)和其輔助電路這種看起來非常抽象的處理方法使其在應(yīng)用時(shí)非常靈活。這種設(shè)計(jì)過程主要是軟件工程,而且在生產(chǎn)軟件時(shí),就會(huì)遇到產(chǎn)生于常規(guī)工程中相似的構(gòu)造和維護(hù)問題。 圖1.1 微型計(jì)算機(jī)的三個(gè)組成部分 圖1.1顯示出了微型計(jì)算機(jī)中這三個(gè)單元在一個(gè)微處理器控制系統(tǒng)中是如何按照機(jī)器中的信息通信方式而聯(lián)接起來的。該系統(tǒng)由微處理器控制,微處理器能夠?qū)ζ渥陨淼拇鎯?chǔ)器和輸入/輸出單元的信息傳輸進(jìn)行管理。外部

16、的連接部分與工程系統(tǒng)中的其余部分(即非計(jì)算機(jī)部分)有關(guān)。 盡管圖中顯示的只有一個(gè)存儲(chǔ)單元,但是在實(shí)際中卻有ram和rom兩種不同的存儲(chǔ)器被使用。在每一種情況下,由于概念上的計(jì)算機(jī)存儲(chǔ)器更像一個(gè)公文柜,上述的“存儲(chǔ)器”一詞是非常不恰當(dāng)?shù)?;信息被存放在一系列已?shù)字標(biāo)記過的的 “箱子”中,而且可以按照問題由“箱子”的序列號(hào)進(jìn)行相關(guān)信息的參考定位。 微計(jì)算機(jī)控制系統(tǒng)經(jīng)常使用ram(隨機(jī)存取存儲(chǔ)器),在ram中,數(shù)據(jù)可以被寫入,并且在需要的時(shí)候,可以被再次讀出。這種數(shù)據(jù)能以任意一種所希望的次序從存儲(chǔ)器中讀出,而不必按照寫入時(shí)的相同次序讀出,所以有“隨機(jī)”存取存儲(chǔ)器。另一類型rom(只讀存儲(chǔ)器)是用來保持

17、信息的,它們是不受微處理器影響的固定的信息標(biāo)本;這些信息在電源切斷后不會(huì)丟失,并通常用來保存規(guī)定微處理器化系統(tǒng)運(yùn)轉(zhuǎn)過程的程序。rom可像ram一樣被讀取,但與ram不一樣的是不能用來存儲(chǔ)可變的信息。有些rom在制造時(shí)將其數(shù)據(jù)標(biāo)本放入,而另外的則可通過特殊的設(shè)備由用戶編程,所以稱為可編程rom。被廣泛使用的可編程rom可利用特殊紫外線燈察除,并被成為e prom,即可察除可編程只讀存儲(chǔ)器的縮寫。另有新類型的期器件不必用紫外線燈而用電察除,所以稱為電可察除可編程只讀存儲(chǔ)器eeprom。 微處理器在程序控制下處理數(shù)據(jù),并控制流向和來自存儲(chǔ)器和輸入/輸出裝置的信息流。有些輸入/輸出裝置是通用型的,而另

18、外一些則是設(shè)計(jì)來控制如磁盤驅(qū)動(dòng)器的特殊硬件,或控制傳給其他計(jì)算機(jī)的信息傳輸。大多數(shù)類型的i/o裝置在某種程度下可編程,允許不同形式的操作,而有些則包含特殊用途微處理器的i/o裝置不用主微處理器的直接干預(yù),就可實(shí)施非常復(fù)雜的操作。 假如應(yīng)用中不需要太多的程序和數(shù)據(jù)存儲(chǔ)量,微處理器、存儲(chǔ)器和輸入/輸出可全被包含在同一集成電路中。這通常是低成本應(yīng)用情況,例如用于微波爐和自動(dòng)洗衣機(jī)的控制器。當(dāng)商品被大量地生產(chǎn)時(shí),這種單一芯片的使用就可節(jié)省相當(dāng)大的成本。當(dāng)技術(shù)進(jìn)一步發(fā)展,更強(qiáng)更強(qiáng)的處理器和更大更大數(shù)量的存儲(chǔ)器被包含形成單片微型計(jì)算機(jī),結(jié)果使最終產(chǎn)品的裝配成本得以節(jié)省。但是在可預(yù)見的未來,當(dāng)需要大量的存儲(chǔ)

19、器或輸入/輸出時(shí),還是有必要繼續(xù)將許多集成電路相互聯(lián)結(jié)起來,形成微計(jì)算機(jī)。 微計(jì)算機(jī)的另一主要工程應(yīng)用是在過程控制中。這是,由于裝置是按特定的應(yīng)用情況由微機(jī)編程實(shí)現(xiàn)的,對用戶來說微計(jì)算機(jī)的存在通常就更加明顯。在過程控制應(yīng)用中,由于這種設(shè)備以較少的數(shù)量生產(chǎn),將整個(gè)系統(tǒng)安裝在單個(gè)芯片上所獲取的利益常比不上所涉及的高設(shè)計(jì)成本。而且,過程控制器通常更為復(fù)雜,所以要將他們做成單獨(dú)的集成電路就更為困難。可采用兩種處理,將控制器做成一種通用的微計(jì)算機(jī),正像較強(qiáng)版本的業(yè)余計(jì)算機(jī)那樣;或者做成“包裹”式系統(tǒng), 按照像電磁繼電器那樣的較老式的技術(shù)進(jìn)行設(shè)計(jì),來取代控制器。對前一種情況,系統(tǒng)可以用常規(guī)的編程語言來編程

20、,正如以后要介紹的語言那樣;而另一種情況,可采用特殊用途的語言,例如那種使控制器功能按照繼電器相互連接的方法進(jìn)行描述。兩種情況下,序均能存于ram,這讓程序能按應(yīng)用情況變化時(shí)進(jìn)行相應(yīng)的變化,但是這使得總系統(tǒng)易受掉電影響而工作不正常,除非使用電池保證供電連續(xù)性。另一種選擇是將程序在rom中,這樣他們就變成電子“硬件”的一部分并常被稱為“固件”。 盡管大規(guī)模集成電路的應(yīng)用使小型和微型計(jì)算機(jī)的差別變得“模糊”,更復(fù)雜的過程控制器需要小型計(jì)算機(jī)實(shí)現(xiàn)他們的過程。各種類型的產(chǎn)品和過程控制器代表了當(dāng)今微計(jì)算機(jī)應(yīng)用的廣泛性,而具體的結(jié)構(gòu)取決于對“產(chǎn)品”一詞的解釋。實(shí)際上,計(jì)算機(jī)的所有工程和科學(xué)上的應(yīng)用都能指定

21、來進(jìn)行這些種類的某一或某些工作。而在本設(shè)計(jì)中壓力和壓力變送器當(dāng)某一力加到某一面積上,就形成壓力,假如這力是1牛頓均勻地加在1平方米的面積上,這壓力被定義為1帕斯卡。壓力是一種普遍的工藝狀態(tài),它也是這個(gè)星球上的一個(gè)生活條件:我們生活在向上延伸許多英里的大氣海洋的底部??諝馕镔|(zhì)是有重量的,而且這種下壓的重量形成大氣壓。水,是生活的必需品,也是在壓力之下提供給我們中的大多數(shù)人。在典型的過程工廠中,壓力影響沸點(diǎn)溫度、凝固點(diǎn)溫度、過程效率、消耗和其他重要因數(shù)。壓力的測量和控制,或者壓力的不足真空,在典型的過程控制中是極為重要的。 工廠中的工作儀器通常包括壓力計(jì)、精密紀(jì)錄儀、以及氣動(dòng)和電動(dòng)的壓力變送器。壓

22、力變送器實(shí)現(xiàn)壓力測量并產(chǎn)生正比于所傳感壓力的氣動(dòng)或電信號(hào)輸出。在過程工廠中,將控制儀表遠(yuǎn)遠(yuǎn)放在過程的附近是不現(xiàn)實(shí)的,并且大多數(shù)測量是不容易從遠(yuǎn)處傳來的。壓力測量是一個(gè)例外,但是,如果要離測量點(diǎn)幾百英尺外指示或記錄某種危險(xiǎn)化學(xué)品的高壓,就會(huì)有來自這個(gè)壓力所載的化學(xué)品所引發(fā)的危險(xiǎn)。為了消除這一問題,開發(fā)了一種信號(hào)傳輸系統(tǒng)。這種系統(tǒng)常??墒菤鈩?dòng)或者電動(dòng)的。使用這種系統(tǒng),就可以在某一地點(diǎn)安裝大多數(shù)的指示、記錄和控制儀器。這也是最少數(shù)量的操作者有效的運(yùn)行工廠成為現(xiàn)實(shí)。 當(dāng)使用氣動(dòng)傳送系統(tǒng)時(shí),測量信號(hào)就由變送器將比例為0%100%的測量值轉(zhuǎn)換為氣動(dòng)信號(hào)。變送器安裝在靠近過程中的測量點(diǎn)上。變送器輸出對氣動(dòng)變

23、送器是輸出壓力通過管道傳給記錄或控制儀表。氣動(dòng)變送器的標(biāo)準(zhǔn)輸出范圍是20100kpa,這信號(hào)幾乎在全球使用。 當(dāng)使用電子壓力變送器時(shí),壓力就被轉(zhuǎn)換成電流或電壓形式的電信號(hào)。其標(biāo)準(zhǔn)范圍對電流來說是420ma dc,對電壓信號(hào)來說是15v dc。當(dāng)今,另一種電信號(hào)形式變的越來越常用,就是數(shù)字或離散信號(hào)?;谟?jì)算機(jī)或微處理器的儀器或控制系統(tǒng)的應(yīng)用正推動(dòng)這類信號(hào)的應(yīng)用不斷增加。有時(shí),分析獲取描述傳感器/變送器特性的參數(shù)是很重要的。當(dāng)量程已知,去獲取增益就非常簡單。假定電子壓力傳感器的量程為0600kpa,增益定義為輸出變化除以輸入變化。這里,輸出的電信號(hào)(420ma dc),而輸入的過程壓力(0600

24、kpa),這樣增益就為: 此外我們在本設(shè)計(jì)中還必須對溫度進(jìn)行測量,溫度測量在工業(yè)控制中是很重要的,因?yàn)樗鳛橄到y(tǒng)或產(chǎn)品狀態(tài)的直接指標(biāo),或者作為如反應(yīng)率、能量流、渦輪機(jī)效率和潤滑質(zhì)量等間接指標(biāo)?,F(xiàn)行的溫度分度已使用了約200年,最初的儀器是基于氣體和液體的熱膨脹?,F(xiàn)在盡管有許多其他類型的儀器在使用,這些填充式系統(tǒng)仍常用于直接的溫度測量。有代表性的溫度傳感器包括:填充式熱系統(tǒng)、玻璃液體溫度計(jì)、熱電偶、電阻溫度探測器、熱敏電阻、雙金屬器件、光學(xué)和輻射高溫計(jì)和熱敏涂料。 電氣系統(tǒng)的優(yōu)點(diǎn)包括高的精度和靈敏度,能實(shí)現(xiàn)開關(guān)切換或掃描多個(gè)測量點(diǎn),可在測量元件和控制器之間長距離傳輸,出現(xiàn)事故時(shí)可調(diào)換元件,快速響

25、應(yīng),以及具有測量高溫的能力。其中熱電偶和電阻溫度探測器則被最廣泛的使用。說明 該at89c51是一種低功耗,高性能cmos 8位4k的閃存可編程和可擦除只讀存儲(chǔ)器(perom)字節(jié)的微型計(jì)算機(jī)。該設(shè)備是采用atmel的高密度非易失性內(nèi)存技術(shù),并與行業(yè)標(biāo)準(zhǔn)的mcs - 51指令集和引腳兼容。片上閃存程序存儲(chǔ)器可以編程就可以在系統(tǒng)或由傳統(tǒng)的非易失性存儲(chǔ)器編程。通過將集成在一個(gè)芯片上通用的8位閃存的cpu,atmel的at89c51是一個(gè)強(qiáng)大的微型計(jì)算機(jī)提供了一個(gè)高度靈活和成本有效的解決方案為許多嵌入式控制應(yīng)用。 功能特點(diǎn) at89s51內(nèi)提供了以下標(biāo)準(zhǔn)特性:4k字節(jié)閃存,128字節(jié)ram,32個(gè)i

26、 / o線,兩個(gè)16位定時(shí)器/計(jì)數(shù)器,一個(gè)五向量兩級(jí)中斷結(jié)構(gòu),一個(gè)全雙工串行口,片上振蕩器和時(shí)鐘電路。此外,at89c51是靜態(tài)邏輯設(shè)計(jì)與操作頻率下降到零,并支持兩種軟件可選的節(jié)電模式??臻e模式時(shí)cpu停止工作,而ram,定時(shí)/計(jì)數(shù)器,串行口和中斷系統(tǒng)繼續(xù)工作。掉電模式保存ram的內(nèi)容,但凍結(jié)振蕩器關(guān)閉,直到下一個(gè)硬件復(fù)位芯片其它功能。 引腳說明 vcc:電源電壓。 接地:接地。p0口:p0口為一個(gè)8位漏級(jí)開路雙向i/o口,每腳可吸收8ttl門電流。當(dāng)p0口的管腳第一次寫1時(shí),被定義為高阻輸入。p0能夠用于外部程序數(shù)據(jù)存儲(chǔ)器,它可以被定義為數(shù)據(jù)/地址的第八位。在fiash編程時(shí),p0 口作為原

27、碼輸入口,當(dāng)fiash進(jìn)行校驗(yàn)時(shí),p0輸出原碼,此時(shí)p0外部必須被拉高。 p1口: p1口是一個(gè)內(nèi)部提供上拉電阻的8位雙向i/o口,p1口緩沖器能接收輸出4ttl門電流。p1口管腳寫入1后,被內(nèi)部上拉為高,可用作輸入,p1口被外部下拉為低電平時(shí),將輸出電流,這是由于內(nèi)部上拉的緣故。在flash編程和校驗(yàn)時(shí),p1口作為第八位地址接收。 p2口:p2口為一個(gè)內(nèi)部上拉電阻的8位雙向i/o口,p2口緩沖器可接收,輸出4個(gè)ttl門電流,當(dāng)p2口被寫“1”時(shí),其管腳被內(nèi)部上拉電阻拉高,且作為輸入。并因此作為輸入時(shí),p2口的管腳被外部拉低,將輸出電流。這是由于內(nèi)部上拉的緣故。p2口當(dāng)用于外部程序存儲(chǔ)器或16

28、位地址外部數(shù)據(jù)存儲(chǔ)器進(jìn)行存取時(shí),p2口輸出地址的高八位。在給出地址“1”時(shí),它利用內(nèi)部上拉優(yōu)勢,當(dāng)對外部八位地址數(shù)據(jù)存儲(chǔ)器進(jìn)行讀寫時(shí),p2口輸出其特殊功能寄存器的內(nèi)容。p2口在flash編程和校驗(yàn)時(shí)接收高八位地址信號(hào)和控制信號(hào)。p3口: p3口管腳是8個(gè)帶內(nèi)部上拉電阻的雙向i/o口,可接收輸出4個(gè)ttl門電流。當(dāng)p3口寫入“1”后,它們被內(nèi)部上拉為高電平,并用作輸入。作為輸入,由于外部下拉為低電平,p3口將輸出電流(ill)這是由于上拉的緣故。rst 復(fù)位輸入。此管腳上出現(xiàn)兩個(gè)機(jī)器周期的高電平,而振蕩器運(yùn)行將使器件復(fù)位。 進(jìn)修/編 地址鎖存使能鎖存在訪問外部存儲(chǔ)器地址的低字節(jié)輸出脈沖。該引腳也

29、是在flash編程脈沖輸入programming.in正常運(yùn)行的ale(編)是在1 / 6振蕩器頻率恒定的速率發(fā)射,并可能對外部定時(shí)或時(shí)鐘的用途。請注意,但是,一個(gè)ale脈沖被跳過在每次訪問外部數(shù)據(jù)存儲(chǔ)器。 如果需要時(shí),ale操作可以通過設(shè)置位sfr的位置8eh 0。隨著位設(shè)置,ale為活躍,只有在執(zhí)行movx或movc指令。否則,腳弱拉高。設(shè)置的ale -禁用位微控制器沒有影響,如果在外部執(zhí)行模式。 ale/prog:當(dāng)訪問外部存儲(chǔ)器時(shí),地址鎖存允許的輸出電平用于鎖存地址的地位字節(jié)。在flash編程期間,此引腳用于輸入編程脈沖。在平時(shí),ale端以不變的頻率周期輸出正脈沖信號(hào),此頻率為振蕩器頻

30、率的1/6。因此它可用作對外部輸出的脈沖或用于定時(shí)目的。然而要注意的是:每當(dāng)用作外部數(shù)據(jù)存儲(chǔ)器時(shí),將跳過一個(gè)ale脈沖。如想禁止ale的輸出可在sfr8eh地址上置0。此時(shí),ale只有在執(zhí)行movx,movc指令是ale才起作用。另外,該引腳被略微拉高。如果微處理器在外部執(zhí)行狀態(tài)ale禁止,置位無效。 psen:外部程序存儲(chǔ)器的選通信號(hào)。在由外部程序存儲(chǔ)器取指期間,每個(gè)機(jī)器周期兩次/psen有效。但在訪問外部數(shù)據(jù)存儲(chǔ)器時(shí),這兩次有效的/psen信號(hào)將不出現(xiàn)。 ea/vpp:當(dāng)/ea保持低電平時(shí),則在此期間外部程序存儲(chǔ)器(0000h-ffffh),不管是否有內(nèi)部程序存儲(chǔ)器。注意加密方式1時(shí),/e

31、a將內(nèi)部鎖定為reset;當(dāng)/ea端保持高電平時(shí),此間內(nèi)部程序存儲(chǔ)器。在flash編程期間,此引腳也用于施加12v編程電源(vpp)。 xtal1:反向振蕩放大器的輸入及內(nèi)部時(shí)鐘工作電路的輸入。xtal2:來自反向振蕩器的輸出。 振蕩器特性:xtal1和xtal2分別為反向放大器的輸入和輸出。該反向放大器可以配置為片內(nèi)振蕩器。石晶振蕩和陶瓷振蕩均可采用。如采用外部時(shí)鐘源驅(qū)動(dòng)器件,xtal2應(yīng)不接。有余輸入至內(nèi)部時(shí)鐘信號(hào)要通過一個(gè)二分頻觸發(fā)器,因此對外部時(shí)鐘信號(hào)的脈寬無任何要求,但必須保證脈沖的高低電平要求的寬度。microcomputer systems electronic systems

32、are used for handing information in the most general sense; this information may be telephone conversation, instrument read or a companys accounts, but in each case the same main type of operation are involved: the processing, storage and transmission of information. in conventional electronic desig

33、n these operations are combined at the function level; for example a counter, whether electronic or mechanical, stores the current and increments it by one as required. a system such as an electronic clock which employs counters has its storage and processing capabilities spread throughout the syste

34、m because each counter is able to store and process numbers. present day microprocessor based systems depart from this conventional approach by separating the three functions of processing, storage, and transmission into different section of the system. this partitioning into three main functions wa

35、s devised by von neumann during the 1940s, and was not conceived especially for microcomputers. almost every computer ever made has been designed with this structure, and despite the enormous range in their physical forms, they have all been of essentially the same basic design. in a microprocessor

36、based system the processing will be performed in the microprocessor itself. the storage will be by means of memory circuits and the communication of information into and out of the system will be by means of special input/output(i/o) circuits. it would be impossible to identify a particular piece of

37、 hardware which performed the counting in a microprocessor based clock because the time would be stored in the memory and incremented at regular intervals but the microprocessor. however, the software which defined the systems behavior would contain sections that performed as counters. the apparentl

38、y rather abstract approach to the architecture of the microprocessor and its associated circuits allows it to be very flexible in use, since the system is defined almost entirely software. the design process is largely one of software engineering, and the similar problems of construction and mainten

39、ance which occur in conventional engineering are encountered when producing software. the figure1.1 illustrates how these three sections within a microcomputer are connected in terms of the communication of information within the machine. the system is controlled by the microprocessor which supervis

40、es the transfer of information between itself and the memory and input/output sections. the external connections relate to the rest (that is, the non-computer part) of the engineering system. fig.1.1 three sections of a typical microcomputer although only one storage section has been shown in the di

41、agram, in practice two distinct types of memory ram and rom are used. in each case, the word memory is rather inappropriate since a computers memory is more like a filing cabinet in concept; information is stored in a set of numbered boxes and it is referenced by the serial number of the box in ques

42、tion. microcomputers use ram (random access memory) into which data can be written and from which data can be read again when needed. this data can be read back from the memory in any sequence desired, and not necessarily the same order in which it was written, hence the expression random access mem

43、ory. another type of rom (read only memory) is used to hold fixed patterns of information which cannot be affected by the microprocessor; these patterns are not lost when power is removed and are normally used to hold the program which defines the behavior of a microprocessor based system. roms can

44、be read like rams, but unlike rams they cannot be used to store variable information. some roms have their data patterns put in during manufacture, while others are programmable by the user by means of special equipment and are called programmable roms. the widely used programmable roms are erasable

45、 by means of special ultraviolet lamps and are referred to as eproms, short for erasable programmable read only memories. other new types of device can be erased electrically without the need for ultraviolet light, which are called electrically erasable programmable read only memories, eeproms. the

46、microprocessor processes data under the control of the program, controlling the flow of information to and from memory and input/output devices. some input/output devices are general-purpose types while others are designed for controlling special hardware such as disc drives or controlling information transmission to other computers. most types of i/o devices are programmable to some extent, allowing different modes of operation, while some actually contain special-purpose microprocessors to permit qu

溫馨提示

  • 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. 人人文庫網(wǎng)僅提供信息存儲(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

提交評論