

版權說明:本文檔由用戶提供并上傳,收益歸屬內容提供方,若內容存在侵權,請進行舉報或認領
文檔簡介
1、<p> Microcomputer Systems</p><p> Electronic systems are used for handing information in the most general sense; this information may be telephone conversation, instrument read or a company’s account
2、s, but in each case the same main type of operation are involved: the processing, storage and transmission of information. in conventional electronic design these operations are combined at the function level; for exampl
3、e a counter, whether electronic or mechanical, stores the current and increments it by one as required. A system su</p><p> Present day microprocessor based systems depart from this conventional approach by
4、 separating the three functions of processing, storage, and transmission into different section of the system. This partitioning into three main functions was devised by Von Neumann during the 1940s, and was not conceive
5、d 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 </p><p>
6、 In a microprocessor 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
7、means of special input/output(I/O) circuits. It would be impossible to identify a particular piece of hardware which performed the counting in a microprocessor based clock because the time would be stored in the memory a
8、nd incremented at regular intervals but the microprocessor. H</p><p> The figure1.1 illustrates how these three sections within a microcomputer are connected in terms of the communication of information wit
9、hin the machine. The system is controlled by the microprocessor which supervises the transfer of information between itself and the memory and input/output sections. The external connections relate to the rest (that is,
10、the non-computer part) of the engineering system.</p><p> 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 rea
11、d back from the memory in any sequence desired, and not necessarily the same order in which it was written, hence the expression ‘random’ access memory. Another type of ROM (Read Only Memory) is used to hold fixed patter
12、ns of information which cannot be affected by the microprocessor; these patterns are not lost when power is removed and are normally</p><p> The microprocessor processes data under the control of the progra
13、m, 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 co
14、ntrolling 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</
15、p><p> The 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 w
16、hile 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 mode
17、s of operation, while some actually contain special-purpose microprocessors to</p><p> 1 First model</p><p> 1.1 SCM the single chip microcomputer (Single Chip Microcomputer) stage</p>
18、<p> Mainly seeking the best of the best single form of embedded systems architecture. "Innovation model" success, laying the SCM and general computer completely different path of development. In the open
19、 road of independent development of embedded systems, Intel Corporation contributed.</p><p> 1.2 MCU the micro-controller (Micro Controller Unit) stage</p><p> The main direction of technology
20、 development: expanding to meet the embedded applications, the target system requirements for the various peripheral circuits and interface circuits, highlight the object of intelligent control.It involves the areas asso
21、ciated with the object system, therefore, the development of MCU's responsibility inevitably falls on electrical, electronics manufacturers. From this point of view, Intel faded MCU development has its objective fact
22、ors. In the development of MCU, </p><p> Embedded system microcontroller is an independent development path, the MCU important factor in the development stage, is seeking applications to maximize the soluti
23、on on the chip; Therefore, the development of dedicated single chip SOC trend of the natural form. As the microelectronics, IC design, EDA tools development, application system based on MCU SOC design have greater develo
24、pment. Therefore, the understanding of the microcontroller chip microcomputer can be, extended to the single-chip m</p><p> 3 MCU applications</p><p> SCM now permeate all areas of our lives,
25、which is almost difficult to find traces of the field without SCM. Missile navigation equipment, aircraft, all types of instrument control, computer network communications and data transmission, industrial automation, re
26、al-time process control and data processing, extensive use of various smart IC card, civilian luxury car security system, video recorder, camera, fully automatic washing machine control, and program-controlled toys, elec
27、tronic pet, etc., w</p><p> SCM is widely used in instruments and meters, household appliances, medical equipment, aerospace, specialized equipment, intelligent management and process control fields, roughl
28、y divided into the following several areas:</p><p> 3.1 In the application of Intelligent Instruments</p><p> SCM has a small size, low power consumption, controlling function, expansion flexi
29、bility, the advantages of miniaturization and ease of use, widely used instrument, combining different types of sensors can be realized Zhuru voltage, power, frequency, humidity, temperature, flow, speed, thickness, angl
30、e, length, hardness, elemental, physical pressure measurement. SCM makes use of digital instruments, intelligence, miniaturization, and functionality than electronic or digital circuits more powerfu</p><p>
31、 3.2 In the industrial control application</p><p> With the MCU can constitute a variety of control systems, data acquisition system. Such as factory assembly line of intelligent control</p><p>
32、; 3.3 In Household Appliances</p><p> can be said that the appliances are basically using SCM, praise from the electric rice, washing machines, refrigerators, air conditioners, color TV, and other audio vi
33、deo equipment, to the electronic weighing equipment, varied, and omnipresent. 3.4 In the field of computer networks and communications applications </p><p> MCU general with modern communication interface,
34、 can be easy with the computer data communication, networking and communications in computer applications between devices had excellent material conditions, are basically all communication equipment to achieve a controll
35、ed by MCU from mobile phone, telephone, mini-program-controlled switchboards, building automated communications call system, train radio communication, to the daily work can be seen everywhere in the mobile phones, trunk
36、ed mobile ra</p><p> 3.5 Microcomputer in the field of medical device applications</p><p> SCM in the use of medical devices is also quite extensive, such as medical respirator, the various an
37、alyzers, monitors, ultrasound diagnostic equipment and hospital beds, etc. call system. 3.6 In a variety of major appliances in the modular applications </p><p> Designed to achieve some special single spe
38、cific function to be modular in a variety of circuit applications, without requiring the use of personnel to understand its internal structure. If music integrated single chip, seemingly simple function, miniature electr
39、onic chip in the net (the principle is different from the tape machine), you need a computer similar to the principle of the complex. Such as: music signal to digital form stored in memory (like ROM), read by the microco
40、ntroller, analog </p><p> SCM in automotive electronics is widely used, such as a vehicle engine controller, CAN bus-based Intelligent Electronic Control Engine, GPS navigation system, abs anti-lock braking
41、 system, brake system, etc.. </p><p> In addition, the MCU in business, finance, research, education, national defense, aerospace and other fields has a very wide range of applications.</p><p>
42、 Are 8-bit microcontroller early or 4 bits. One of the most successful is the INTEL 8031, for a simple, reliable and good performance was a lot of praise. Then developed in 8031 out of MCS51 MCU Systems. SCM systems bas
43、ed on this system until now is still widely used. With the increased requirements of industrial control field, began a 16-bit microcontroller, but not ideal because the cost has not been very widely used. After 90 years
44、with the great development of consumer electronics, microcontr</p><p> SCM is more suitable than the specific processor used in embedded systems, so it was up to the application. In fact the number of SCM i
45、s the world's largest computer. Modern human life used in almost every piece of electronic and mechanical products will be integrated single chip. Phone, telephone, calculator, home appliances, electronic toys, handh
46、eld computers and computer accessories such as a mouse with a 1-2 in both the Department of SCM. Personal computer will have a large number of SCM in</p><p> Single chip, also known as single-chip microcont
47、roller, it is not complete a certain logic chips, but to a computer system integrated into a chip. Equivalent to a micro-computer, and computer than just the lack of a microcontroller I / O devices. General talk: a chip
48、becomes a computer. Its small size, light weight, cheap, for the study, application and development of facilities provided. At the same time, learning to use the MCU is to understand the principle and structure of the co
49、mputer the b</p><p><b> 單片機系統(tǒng)</b></p><p> 廣義地說,單片機系統(tǒng)是用于處理信息的,這種信息可以是電話交談,儀器讀數(shù)或企業(yè)的帳戶等,但是各種情況下都涉及相同的主要操作步驟例如:信息處理、存儲和傳遞等。在常規(guī)的電子設計中,這些操作都是以功能平臺的方式組合起來的。例如計數(shù)器,無論是電子類還是機械類,都要存儲當前值,并按要求將
50、該值增1。而諸如采用計數(shù)器原理制作的電子鐘之類的任一系統(tǒng)要使其存儲和處理能力遍布整個系統(tǒng),因為其每個計數(shù)器都能存儲和處理一些數(shù)字。</p><p> 而當前微處理化系統(tǒng)與上述的常規(guī)方法有所不同,它將處理,存儲和傳輸三個功能分離形成不同的系統(tǒng)單元。這種形成三個主要單元的分離方法是由馮-諾依曼在20世紀40年代設想出來的,且是針對微計算機的設想。從此幾乎所有的計算機都是用這種結構設計的,盡管包含寬廣的物理形式,從根
51、本上來說他們均是具有相同的基本設計的。</p><p> 在單片機系統(tǒng)中,處理是由單片機本身完成的。存儲是利用存儲器電路,而進入和出自系統(tǒng)的信息傳輸則是利用特定的輸入/輸出(I/O)電路。要在一個以單片機為原理的時鐘中找出執(zhí)行計數(shù)功能的一個特殊硬件是不可能的,因為時間存儲在存儲器中,而在固定的時間間隔下由單片機控制增值。但是,規(guī)定系統(tǒng)運轉過程的軟件包含實現(xiàn)計數(shù)器功能的單元。由于系統(tǒng)幾乎完全由軟件所定義,所以對單
52、片機的結構和其輔助電路這種看起來非常抽象東西的處理方法上的好處使其在應用時非常靈活。這種設計過程主要是軟件工程,而且在生產軟件時,就會遇到產生常規(guī)工程時相似的構造和維護問題。</p><p> 單片機常使用RAM(隨機存取存儲器)為儲存系統(tǒng),在RAM中數(shù)據(jù)可被寫入,并且在需要時可被再次讀出。這種被儲存數(shù)據(jù)能以任意所希望的次序從存儲器中讀出,不必按寫入時的相同次序,所以有“隨機”存取存儲器之稱。另一類型ROM(
53、只讀存儲器)儲存器則用來保持不受單片機器影響的固定的信息標本;這些標本在電源切斷后不會丟失,并通常作為用來保存規(guī)定單片機器系統(tǒng)的運轉過程的程序。ROM可像RAM一樣被讀取,但與RAM不一樣的是不能用來存儲可變的信息。有些ROM在制造時就將其數(shù)據(jù)標本放入,而另外的則可通過特殊的設備由用戶編程,所以稱為可編程ROM。被廣泛使用的可編程ROM可利用特殊紫外線燈擦除,并被稱為EPROM,即可擦除可編程只讀存儲器的縮寫。另有新類型的器件不必用紫外
54、線燈而用電擦除,所以稱為電可擦除可編程只讀存儲器即為EEPROM。</p><p> 單片機器在程序控制下處理數(shù)據(jù),并控制流向和來自存儲器或輸入/輸出裝置的信息流。有些輸入/輸出裝置是通用型的,而另外一些則是用特殊設計來控制如磁盤驅動器的特殊硬件等,或控制傳給其他計算機的信息傳輸。大多數(shù)類型的I/O裝置在某種程度下可編程,允許不同形式的操作,而有些包含特殊用途單片機器的I/O裝置則不用主單片機器的直接干預,就可
55、實施非常復雜的操作。</p><p> 假如應用中不需要太多的程序和數(shù)據(jù)存儲量,單片機器、存儲器和輸入/輸出可全被包含在同一集成電路中。這通常是低成本應用的情況,例如用于微波爐和自動洗衣機的控制器。當商品被大量地生產時,這種單一芯片的使用就可節(jié)省相當大的成本。當技術進一步發(fā)展,更強的處理器和更大的數(shù)量的存儲器被包含形成單片微型計算機,結果使最終產品的裝配成本得以節(jié)省。但是在可預見的未來,當需要大量的存儲器或輸入
56、/輸出設備時,還是有必要繼續(xù)將許多集成電路相互聯(lián)結起來,形成單片機的。</p><p><b> 1 起初模型</b></p><p> 1.1 SCM即單片微型計算機(Single Chip Microcomputer)階段</p><p> 主要是尋求最佳的單片機形態(tài)嵌入式系統(tǒng)的最佳體系結構?!皠?chuàng)新模式”獲得成功,奠定了SCM與通用計
57、算機完全不同的發(fā)展道路。在開創(chuàng)嵌入式系統(tǒng)獨立發(fā)展道路上,Intel公司功不可沒。 </p><p> 1.2MCU即微型控制器(Micro Controller Unit)階段</p><p> 主要的技術發(fā)展方向是:在不斷擴展?jié)M足嵌入式應用時,使用對象系統(tǒng)要求的各種外圍電路與接口電路,突顯其智能化控制能力。它所涉及的領域都與對象系統(tǒng)相關,因此,發(fā)展MCU的重任不可避免地落在電氣、電子
58、技術廠家。從這一角度來看,Intel逐漸淡出MCU的發(fā)展也有其客觀因素。在發(fā)展MCU方面,最著名的廠家當數(shù)Philips公司。 </p><p> Philips公司以其在嵌入式應用方面的巨大優(yōu)勢,將MCS-51從單片微型計算機迅速發(fā)展到微型控制器。因此,當我們回顧嵌入式系統(tǒng)發(fā)展道路時,不要忘記Intel和Philips的歷史功績。 </p><p><b> 2 嵌入式系統(tǒng)
59、</b></p><p> 單片機是嵌入式系統(tǒng)的獨立發(fā)展之路,向MCU階段發(fā)展的重要因素,就是尋求應用系統(tǒng)在芯片上的最大化的問題的解決;因此,專用單片機的發(fā)展自然形成了SOC化趨勢。隨著微電子技術、IC設計、EDA工具的發(fā)展,基于SOC的單片機應用系統(tǒng)設計會有較大的發(fā)展。因此,對單片機的理解可以從單片微型計算機、單片微控制器延伸到單片應用系統(tǒng)。 </p><p> 3 單片
60、機的應用領域</p><p> 目前單片機滲透到我們生活的各個領域,幾乎很難找到哪個領域沒有單片機的蹤跡。導彈的導航裝置,飛機上各種儀表的控制,計算機的網絡通訊與數(shù)據(jù)傳輸,工業(yè)自動化過程的實時控制和數(shù)據(jù)處理,廣泛使用的各種智能IC卡,民用豪華轎車的安全保障系統(tǒng),錄像機、攝像機、全自動洗衣機的控制,以及程控玩具、電子寵物等等,這些都離不開單片機。更不用說自動控制領域的機器人、智能儀表、醫(yī)療器械了。因此,單片機的學
61、習、開發(fā)與應用將造就一批計算機應用與智能化控制的科學家、工程師。 </p><p> 單片機廣泛應用于儀器儀表、家用電器、醫(yī)用設備、航空航天、專用設備的智能化管理及過程控制等領域,大致可分如下幾個范疇: </p><p> 3.1 在智能儀器儀表上的應用 </p><p> 單片機具有體積小、功耗低、控制功能強、擴展靈活、微型化和使用方便等優(yōu)點,廣泛應用于儀器
62、儀表中,結合不同類型的傳感器,可實現(xiàn)諸如電壓、功率、頻率、濕度、溫度、流量、速度、厚度、角度、長度、硬度、元素、壓力等物理量的測量。采用單片機控制使得儀器儀表數(shù)字化、智能化、微型化,且功能比起采用電子或數(shù)字電路更加強大。例如精密的測量設備(功率計,示波器,各種分析儀)。 </p><p> 3.2 在工業(yè)控制中的應用 </p><p> 用單片機可以構成形式多樣的控制系統(tǒng)、數(shù)據(jù)采集系統(tǒng)
63、。例如工廠流水線的智能化管 </p><p> 3.3 在家用電器中的應用 </p><p> 可以這樣說,現(xiàn)在的家用電器基本上都采用了單片機控制,從電飯褒、洗衣機、電冰箱、空調機、彩電、其他如音響視頻器材、再到電子秤量設備,五花八門,無所不在。 </p><p> 3.4 在計算機網絡和通信領域中的應用 </p><p> 現(xiàn)代的
64、單片機普遍具備通信接口,可以很方便地與計算機進行數(shù)據(jù)通信,為在計算機網絡和通信設備間的應用提供了極好的物質條件,現(xiàn)在的通信設備基本上都實現(xiàn)了單片機智能控制,從手機,電話機、小型程控交換機、樓宇自動通信呼叫系統(tǒng)、列車無線通信、再到日常工作中隨處可見的移動電話,集群移動通信,無線電對講機等。 </p><p> 3.5 單片機在醫(yī)用設備領域中的應用 </p><p> 單片機在醫(yī)用設備中的
65、用途亦相當廣泛,例如醫(yī)用呼吸機,各種分析儀,監(jiān)護儀,超聲診斷設備及病床呼叫系統(tǒng)等等。 </p><p> 3.6在各種大型電器中的模塊化應用 </p><p> 某些專用單片機設計用于實現(xiàn)特定功能,從而在各種電路中進行模塊化應用,而不要求使用人員了解其內部結構。如音樂集成單片機,看似簡單的功能,微縮在電子芯片中(有別于磁帶的原理),就需要復雜的類似于計算機的原理。如:音樂信號以數(shù)字的形
66、式存于存儲器中(類似于ROM),由微控制器讀出,轉化為模擬音樂電信號(類似于聲卡)。 </p><p> 在大型電路中,這種模塊化應用極大地縮小了體積,簡化了電路,降低了損壞、錯誤率,也方便于更換。 </p><p> 3.7 單片機在汽車設備領域中的應用 </p><p> 單片機在汽車電子中的應用非常廣泛,例如汽車中的發(fā)動機控制器,基于CAN總線的汽車發(fā)動
67、機智能電子控制器,GPS導航系統(tǒng),abs防抱死系統(tǒng),制動系統(tǒng)等等。 </p><p> 此外,單片機在工商,金融,科研、教育,國防航空航天等領域都有著十分廣泛的用途。 </p><p> 早期的單片機都是8位或4位的。其中最成功的是INTEL的8031,因為簡單可靠并且性能不錯而獲得了很大的好評。此后在8031上發(fā)展出了MCS51系列單片機系統(tǒng)?;谶@一系統(tǒng)的單片機系統(tǒng)直到現(xiàn)在還在廣泛
68、使用。隨著工業(yè)控制領域要求的提高,開始出現(xiàn)了16位單片機,但因為性價比不理想并未得到很廣泛的應用。90年代后隨著電子產品消費大發(fā)展,單片機技術得到了巨大提高。隨著INTEL i960系列特別是后來的ARM系列的廣泛應用,32位單片機迅速取代16位單片機的高端地位,并且進入主流市場。而傳統(tǒng)的8位單片機的性能也得到了飛速提高,處理能力比起80年代提高了數(shù)百倍。目前,高端的32位單片機主頻已經超過300MHz,性能直追90年代中期的專用處理器
69、,而普通的型號出廠價格跌落至1美元,最高端[1]的型號也只有10美元。當代單片機系統(tǒng)已經不再是只在裸機環(huán)境下開發(fā)和使用,大量專用的嵌入式操作系統(tǒng)被廣泛應用在全系列的單片機上。而在作為掌上電腦和手機核心處理的高端單片機甚至可以直接使用專用的Windows和Linux操作系統(tǒng)。</p><p> 單片機比專用處理器更適合應用于嵌入式系統(tǒng),因此它得到了最多的應用。事實上單片機是世界上數(shù)量最多的計算機。現(xiàn)代人類生活中所
70、用的幾乎每件電子和機械產品中都會集成有單片機。手機、電話、計算器、家用電器、電子玩具、掌上電腦以及鼠標等電腦配件中都配有1-2部單片機。而個人電腦中也會有為數(shù)不少的單片機在工作。汽車上一般配備40多部單片機,復雜的工業(yè)控制系統(tǒng)上甚至可能有數(shù)百臺單片機在同時工作!單片機的數(shù)量不僅遠超過PC機和其他計算的總和,甚至比人類的數(shù)量還要多。</p><p> 單片機又稱單片微型控制器,它不是完成某一個邏輯功能的芯片,而是
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網頁內容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
- 4. 未經權益所有人同意不得將文件中的內容挪作商業(yè)或盈利用途。
- 5. 眾賞文庫僅提供信息存儲空間,僅對用戶上傳內容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內容本身不做任何修改或編輯,并不能對任何下載內容負責。
- 6. 下載文件中如有侵權或不適當內容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
評論
0/150
提交評論