51單片機及其應用:1.1.1 電子計算機的問世及其經典結構1946年2月15日,第一臺電子數(shù)字計算機問世,這標志著計算機時代的到來。(CALCULATOR)ENIAC(“埃尼阿克”)◆ENIAC是電子管計算機,時鐘頻率僅有100 KHz,但能在1秒鐘的時間內完成5000次加法運算。◆與現(xiàn)代的計算機相比,有許多不足,但它的問世開創(chuàng)了計算機科學技術的新紀元,對人類的生產和生活方式產生了巨大的影響 。 匈牙利籍數(shù)學家馮·諾依曼在方案的設計上做出了重要的貢獻。1946年6月,他又提出了“程序存儲”和“二進制運算”的思想,進一步構建了計算機由運算器、控制器、存儲器、輸入設備和輸出設備組成這一計算機的經典結構。(EDVAC-ELECTRONIC DISCRETE VARIABLE AUTOMATIC COMPUTER)二、微型計算機的應用形態(tài) 從應用形態(tài)上,微機可以分成三種:
標簽: 51單片機
上傳時間: 2013-12-20
上傳用戶:d815185728
本文依據(jù)集成電路設計方法學,探討了一種基于標準Intel 8086 微處理器的單芯片計算機平臺的架構。研究了其與SDRAM,8255 并行接口等外圍IP 的集成,并在對AMBA協(xié)議和8086 CPU分析的基礎上,采用遵從AMBA傳輸協(xié)議的系統(tǒng)總線代替?zhèn)鹘y(tǒng)的8086 CPU三總線結構,搭建了基于8086 IP 軟核的單芯片計算機系統(tǒng),并實現(xiàn)了FPGA 功能演示。關鍵詞:微處理器; SoC;單芯片計算機;AMBA 協(xié)議 Design of 8086 CPU Based Computer-on-a-chip System(School of Electrical Engineering and Automation, Heifei University of Technology, Hefei, 230009,China)Abstract: According to the IC design methodology, this paper discusses the design of one kind of Computer-on-a-chip system architecture, which is based on the standard Intel8086 microprocessor,investigates how to integrate the 8086 CPU and peripheral IP such as, SDRAM controller, 8255 PPI etc. Based on the analysis of the standard Intel8086 microprocessor and AMBA Specification,the Computer-on-a-chip system based on 8086 CPU which uses AMBA bus instead of traditional three-bus structure of 8086 CPU is constructed, and the FPGA hardware emulation is fulfilled.Key words: Microprocessor; SoC; Computer-on-a-chip; AMBA Specification
標簽: 8086 CPU 單芯片 計算機系統(tǒng)
上傳時間: 2013-12-27
上傳用戶:kernor
基于PIC單片機的低功耗讀卡器硬件設計:本文提出了一個完整的基于串口的智能讀卡器子系統(tǒng)設計方案并將其實現(xiàn)。讀卡器的設計突出了小型化的要求,全部器件使用貼片封裝。為了減小讀卡器的體積,設計中還使用了串口竊電的技術,使用串口信號線直接給讀卡器供電。為此,讀卡器使用了省電的設計,采用了省電的集成電路,并大膽簡化了許多傳統(tǒng)的設計電路。關鍵字: 讀卡器, 單片機, 串口竊電 Abstract: This paper aims to put forward a complete design of Smart IC card reader based onSerial Port and propose the way of realizing it for the purpose of Network Security. SMD isadopted to make Smart IC reader smaller in this design. To reduce the volume of Smart ICreader, Serial Port powered technology is employed to get power from the signal line of Serial Port. For this reason, low-power consumption components are adopted in the design and some traditional designs are simplified to reduce the power consumption.Keywords: Card Reader; Single-chip Computer; Serial Port Powered IC 卡系統(tǒng)保存了加密算法所需要的工作密鑰,供加密算法對網絡上傳輸?shù)臄?shù)據(jù)加密使用,是整個系統(tǒng)網絡安全的核心。在IC 卡子系統(tǒng)中,讀卡器是一個重要的部分。它起著管理IC卡、在IC 卡和PC或網絡計算機間傳遞數(shù)據(jù)的重要作用。本文以一片PIC單片機為核心完成了基于RS232 串口的讀卡器的硬件設計。
上傳時間: 2014-04-14
上傳用戶:wanghui2438
一種實用的微機自動配料秤系統(tǒng):介紹一種由單片機構成的配料秤。敘述了秤的傳感器、變送器、信號的變換、硬件原理、軟件流程以及和DCS 系統(tǒng)構成的單回路調節(jié)系統(tǒng),此系統(tǒng)可廣泛地應用于各行業(yè)的配料控制中。關鍵詞:配料秤 單片機 單回路調節(jié)系統(tǒng) DCS 系統(tǒng) Abstract :A proportioning weigher based on single chip computer is introduced. Sensors , transmitters , signal converting , principle of hardware ,software flowchart of proportioning weigher and single loop control system composed with DCS system are emphasized ,this system can be used in proportioning control of various trades extensively.Key Words :Proportioning Weigher ,Single Chip Computer ,Single Loop Control System ,Distributed Control System
上傳時間: 2013-10-12
上傳用戶:zwei41
Abstract: This application note explains the hardware of different types of 1-Wire® interfaces and software examples adapted to this hardware with a focus on serial ports. Depending on the types of iButtons required for a project and the type of computer to be used, the most economical interface is easily found. The hardware examples shown are basically two different types: 5V general interface and 12V RS-232 interface. Within the 5V group a common printed circuit board could be used for all circuits described. The variations can be achieved by different populations of components. The same principal is used for the 12V RS-232 interface. The population determines if it is a Read all or a Read/Write all type of interface. There are other possible circuit implementations to create a 1-Wire interface. The circuits described in this application note cover many different configurations. For a custom application, one of the described options can be adapted to meet individual needs.
標簽: iButtons Reading Writing and
上傳時間: 2013-10-29
上傳用戶:long14578
I2C interface, is a very powerful tool for system designers. Theintegrated protocols allow systems to be completely software defined.Software development time of different products can be reduced byassembling a library of reusable software modules. In addition, themultimaster capability allows rapid testing and alignment ofend-products via external connections to an assembly-line computer.The mask programmable 87LPC76X and its EPROM version, the87LPC76X, can operate as a master or a slave device on the I2Csmall area network. In addition to the efficient interface to thededicated function ICs in the I2C family, the on-board interfacefacilities I/O and RAM expansion, access to EEPROM andprocessor-to-processor communications.
標簽: microcontro Using 76X LPC
上傳時間: 2013-12-30
上傳用戶:Artemis
計算機部件要具有通用性,適應不同系統(tǒng)與不同用戶的需求,設計必須模塊化。計算機部件產品(模塊)供應出現(xiàn)多元化。模塊之間的聯(lián)接關系要標準化,使模塊具有通用性。模塊設計必須基于一種大多數(shù)廠商認可的模塊聯(lián)接關系,即一種總線標準。總線的標準總線是一類信號線的集合是模塊間傳輸信息的公共通道,通過它,計算機各部件間可進行各種數(shù)據(jù)和命令的傳送。為使不同供應商的產品間能夠互換,給用戶更多的選擇,總線的技術規(guī)范要標準化。總線的標準制定要經周密考慮,要有嚴格的規(guī)定。總線標準(技術規(guī)范)包括以下幾部分:機械結構規(guī)范:模塊尺寸、總線插頭、總線接插件以及按裝尺寸均有統(tǒng)一規(guī)定。功能規(guī)范:總線每條信號線(引腳的名稱)、功能以及工作過程要有統(tǒng)一規(guī)定。電氣規(guī)范:總線每條信號線的有效電平、動態(tài)轉換時間、負載能力等。總線的發(fā)展情況S-100總線:產生于1975年,第一個標準化總線,為微計算機技術發(fā)展起到了推動作用。IBM-PC個人計算機采用總線結構(Industry Standard Architecture, ISA)并成為工業(yè)化的標準。先后出現(xiàn)8位ISA總線、16位ISA總線以及后來兼容廠商推出的EISA(Extended ISA)32位ISA總線。為了適應微處理器性能的提高及I/O模塊更高吞吐率的要求,出現(xiàn)了VL-Bus(VESA Local Bus)和PCI(Peripheral Component Interconnect,PCI)總線。適合小型化要求的PCMCIA(Personal Computer Memory Card International Association)總線,用于筆記本計算機的功能擴展。總線的指標計算機主機性能迅速提高,各功能模塊性能也要相應提高,這對總線性能提出更高的要求。總線主要技術指標有幾方面:總線寬度:一次操作可以傳輸?shù)臄?shù)據(jù)位數(shù),如S100為8位,ISA為16位,EISA為32位,PCI-2可達64位。總線寬度不會超過微處理器外部數(shù)據(jù)總線的寬度。總數(shù)工作頻率:總線信號中有一個CLK時鐘,CLK越高每秒鐘傳輸?shù)臄?shù)據(jù)量越大。ISA、EISA為8MHz,PCI為33.3MHz, PCI-2可達達66.6MHz。單個數(shù)據(jù)傳輸周期:不同的傳輸方式,每個數(shù)據(jù)傳輸所用CLK周期數(shù)不同。ISA要2個,PCI用1個CLK周期。這決定總線最高數(shù)據(jù)傳輸率。5. 總線的分類與層次系統(tǒng)總線:是微處理器芯片對外引線信號的延伸或映射,是微處理器與片外存儲器及I/0接口傳輸信息的通路。系統(tǒng)總線信號按功能可分為三類:地址總線(Where):指出數(shù)據(jù)的來源與去向。地址總線的位數(shù)決定了存儲空間的大小。系統(tǒng)總線:數(shù)據(jù)總線(What)提供模塊間傳輸數(shù)據(jù)的路徑,數(shù)據(jù)總線的位數(shù)決定微處理器結構的復雜度及總體性能。控制總線(When):提供系統(tǒng)操作所必需的控制信號,對操作過程進行控制與定時。擴充總線:亦稱設備總線,用于系統(tǒng)I/O擴充。與系統(tǒng)總線工作頻率不同,經接口電路對系統(tǒng)總統(tǒng)信號緩沖、變換、隔離,進行不同層次的操作(ISA、EISA、MCA)局部總線:擴充總線不能滿足高性能設備(圖形、視頻、網絡)接口的要求,在系統(tǒng)總線與擴充總線之間插入一層總線。由于它經橋接器與系統(tǒng)總線直接相連,因此稱之為局部總線(PCI)。
上傳時間: 2013-11-09
上傳用戶:nshark
基于單片機的汽車多功能報警系統(tǒng)設計The Design of Automobile Multi-function AlarmingBased on Single Chip Computer劉法治趙明富寧睡達(河 南 科 技 學 院 ,新 鄉(xiāng) 453 00 3)摘要介紹了一種基于單片機控制的汽車多功能報警系統(tǒng),它能對汽車的潤滑系統(tǒng)油壓、制動系統(tǒng)氣壓、冷卻系統(tǒng)溫度、輪胎欠壓及防盜進行自動檢測,并在發(fā)現(xiàn)異常情況時,發(fā)出聲光報警。闡述了該報警系統(tǒng)的硬件組成及軟件設計方法。關鍵詞單片機傳感器數(shù)模轉換報警Abstract Am ulti-fimctiona utomobilea larnungs ystemb asedo ns inglec hipc omputerco ntorlis in torducedin th isp aper.Th eo ilpr essuero flu bricatesystem, air pressure of braking system, temperature of cooling system, under pressure of tyre and guard against theft, detected automaticaly場thesystem. Audio and visual alarms wil be provided under abnormal conditions廠The hardware composition and software design of the system, described.Keywords Singlec hipc omputer Sensor Digital-t-oanaloguec onversion Alarmin 汽車多功能報苦器硬件系統(tǒng)設計根據(jù) 系 統(tǒng) 實際需要和產品性價比,選用ATMEL公司新生產的采用CMOs工藝的低功耗、高性能8位單片機AT89S52作為系統(tǒng)的控制器。AT89S52的片內有8k Bytes LSP Flash閃爍存儲器,可進行100(〕次寫、擦除操作;256Bytes內部數(shù)據(jù)存儲器(RAM);3 2 根可編程輸N輸出線;2個可編程全雙工串行通道;看門狗(WTD)電路等。系統(tǒng)由傳感器、單片機、模數(shù)轉換器、無線信號發(fā)射電路、指示燈驅動電路、聲光報警驅動電KD一9563,發(fā)出三聲二閃光。并觸發(fā)一個高電平,驅動無線信號發(fā)射電路。
上傳時間: 2013-11-09
上傳用戶:gxmm
一種基于ST62單片機的稱重顯示控制器A Weighing Display Controller Based on ST62 Single Chip Computer祛 FA(上海時博飛奧控制系統(tǒng)有限公司,上海201100)摘要在介紹了基于ST62單片機的基礎上,詳細描述了稱重顯控制器的硬件設計和軟件設計思路。該控制器結構簡單、操作方便、抗擾能力強等優(yōu)點;具有較好的推廣應用價值。關鍵詞稱重顯示控制儀ST62單片機硬件設計軟件設計Abstract Ont heb asiso fin torductiono fST 62s inglec hipc omputer,th ed esignc oncrptof h ardwarea nds oftwarefo rw eighingd isplayc ontorleris d escrbed.The controler features simple structure, ease operation, powerful capability of anti-interference, etc.,it is wealth to be promoted into practicalapplicationsKeywords We妙噸display0 引言ST62s inglec hip Hardwared esign Softwaer design備 份 振 蕩器,振蕩器保護電路,上電復位及低壓檢測復稱 重 顯 示控制器是一種具有數(shù)字顯示、開關量輸出、定值控制和通信功能的以微機為操作核心的稱重控制裝置。它是電子衡器的重要基礎部件,直接影響電子衡器及電子稱重系統(tǒng)的功能和性能。與合適的傳感器及承重傳力復位系統(tǒng)組合可組成配料秤、料斗秤、定值秤、平臺秤、汽車秤等,廣泛應用于電力、化工、建筑、冶金、交通運輸、食品、軍工等部門,是進行自動稱重配料控制和生產過程自動化必不可少的重要檢測、控制裝置。隨著 稱 重 計量自動化水平的提高,對稱重顯示控制器的要求也越來越高。為實現(xiàn)低漂移、高穩(wěn)定,本控制器采用低漂移、高增益放大器AD620和高分辨率的A/D轉換器CS5550。為提高穩(wěn)定性和可靠性,采用集成度高的、抗干擾能力強的ST62單片機。
上傳時間: 2013-10-29
上傳用戶:釣鰲牧馬
單片機系統(tǒng)“PC”失控的軟件措施Software Measure of GettingO uto fC ontrolfo r“PC"in S ingleC hipC omputerS ystem謐 加 春 王 曉 基 雷 小 華(江 西 理 工 大 學機 電 工 程 學 院 ,贛 州 34 10 00)摘要單片機系統(tǒng)在實際工業(yè)現(xiàn)場中可能遇到各種干擾和自身的隨機性故障。現(xiàn)場惡劣的環(huán)境有可能使計算機系統(tǒng)發(fā)生異常,計算機程序指針“PC”失控就是常見的故障之一,如果發(fā)生“PC”失控,將導致CPI工作混亂,釀成嚴重的事故。研究了“PC”失控的原因,并指出軟件抗干擾的幾種方法,有效保證單片機系統(tǒng)的正常工作。關鍵詞單片機“PC”失控抗干擾Abstract Inp racticalin dustrialfi elds,th ereis v ariousin terferencea fectingo perationo fsi nglec hipc omputersy stemsa ndt hec omputersy stems。fac噸random faults飾themselves. It is very common that the severe environment makes the computer systems abnormal. The program counter "PC"gettingo utof co ntorlis on eo fth ec ommonfa ults.If th isoc curs,C PUw ouldb eru nningo utof or deran din torducesse riousan cient.T hec ausesof " PC"geting out of control, studied in this paper and some countermeasures of anti-interference師software are given to ensure single chip computer systemworking properly.Keywords Single。飾computer Porgramc ounter"P C" Anti-interfeernc 在設 計 和 開發(fā)單片機系統(tǒng)時,一般難以周全地預計單片機系統(tǒng)在實際工業(yè)現(xiàn)場中可能遇到的各種干擾和自身的隨機性故障。因此,除了采取防止和抑制干擾的各項措施外,還應該借助于軟件措施克服某些干擾,系統(tǒng)還應具備迅速自行恢復的能力。本文介紹的應對單片機系統(tǒng)PC失控的軟件措施,設計靈活,節(jié)省硬件資源,能保證測控系統(tǒng)長期可靠地運行。MC S- 5 1單片機以其優(yōu)良的性能價格比大量應用于工業(yè)現(xiàn)場測試和控制領域。但是,現(xiàn)場惡劣的環(huán)境有可能使計算機系統(tǒng)發(fā)生異常,計算機程序指針PC失控就是常見的故障之一,一旦發(fā)生PC“走飛”,計算機系統(tǒng)就會出現(xiàn)工作混亂,釀成嚴重的事故。為 了 在 CP 失控時盡量減少由此帶來的不利影響,并盡快使系統(tǒng)恢復正常,需要采取一定的軟件措施和硬件措施。常見的硬件措施有“看門狗”電路。軟件措施設置的前提條件是:①在干擾作用下,微機系統(tǒng)硬件部分不會受到任何損壞,或者損壞部分設置有監(jiān)測狀態(tài)可供查詢;②程序區(qū)不會受到干擾侵害。單片機系統(tǒng)的程序和表格以及重要的參數(shù)均設置在ROM區(qū),不會因干擾的侵人而改變;③ RAM區(qū)中的重要數(shù)據(jù)不會被破壞,或者雖然被破壞,但是可以重新建立。
標簽: 單片機系統(tǒng) 軟件
上傳時間: 2013-11-02
上傳用戶:bhqrd30