chip giant
来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/05 20:34:29
chip giant
chip giant
chip giant
觉得是否满意?
单片微型计算机简称单片机,是典型的嵌入式微控制器(Microcontroller Unit),常用英文字母的缩写MCU表示单片机,它最早是被用在工业控制领域.单片机由芯片内仅有CPU的专用处理器发展而来.最早的设计理念是通过将大量外围设备和CPU集成在一个芯片中,使计算机系统更小,更容易集成进复杂的而对体积要求严格的控制设备当中.INTEL的Z80是最早按照这种思想设计出的处理器,从此以后,单片机和专用处理器的发展便分道扬镳.
早期的单片机都是8位或4位的.其中最成功的是INTEL的8031,因为简单可靠而性能不错获得了很大的好评.此后在8031上发展出了MCS51系列单片机系统.基于这一系统的单片机系统直到现在还在广泛使用.随着工业控制领域要求的提高,开始出现了16位单片机,但因为性价比不理想并未得到很广泛的应用.90年代后随着消费电子产品大发展,单片机技术得到了巨大提高.随着INTEL i960系列特别是后来的ARM系列的广泛应用,32位单片机迅速取代16位单片机的高端地位,并且进入主流市场.而传统的8位单片机的性能也得到了飞速提高,处理能力比起80年代提高了数百倍.目前,高端的32位单片机主频已经超过300MHz,性能直追90年代中期的专用处理器,而普通的型号出厂价格跌落至1美元,最高端[1]的型号也只有10美元.当代单片机系统已经不再只在裸机环境下开发和使用,大量专用的嵌入式操作系统被广泛应用在全系列的单片机上.而在作为掌上电脑和手机核心处理的高端单片机甚至可以直接使用专用的Windows和Linux操作系统.
单片机比专用处理器更适合应用于嵌入式系统,因此它得到了最多的应用.事实上单片机是世界上数量最多的计算机.现代人类生活中所用的几乎每件电子和机械产品中都会集成有单片机.手机、电话、计算器、家用电器、电子玩具、掌上电脑以及鼠标等电脑配件中都配有1-2部单片机.而个人电脑中也会有为数不少的单片机在工作.汽车上一般配备40多部单片机,复杂的工业控制系统上甚至可能有数百台单片机在同时工作!单片机的数量不仅远超过PC机和其他计算的总和,甚至比人类的数量还要多.
单片机又称单片微控制器,它不是完成某一个逻辑功能的芯片,而是把一个计算机系统集成到一个芯片上.相当于一个微型的计算机,和计算机相比,单片机只缺少了I/O设备.概括的讲:一块芯片就成了一台计算机.它的体积小、质量轻、价格便宜、为学习、应用和开发提供了便利条件.同时,学习使用单片机是了解计算机原理与结构的最佳选择.
单片机内部也用和电脑功能类似的模块,比如CPU,内存,并行总线,还有和硬盘作用相同的存储器件,不同的是它的这些部件性能都相对我们的家用电脑弱很多,不过价钱也是低的,一般不超过10元即可.用它来做一些控制电器一类不是很复杂的工作足矣了.我们现在用的全自动滚筒洗衣机、排烟罩、VCD等等的家电里面都可以看到它的身影!.它主要是作为控制部分的核心部件.
它是一种在线式实时控制计算机,在线式就是现场控制,需要的是有较强的抗干扰能力,较低的成本,这也是和离线式计算机的(比如家用PC)的主要区别.
单片机芯片
单片机是靠程序运行的,并且可以修改.通过不同的程序实现不同的功能,尤其是特殊的独特的一些功能,这是别的器件需要费很大力气才能做到的,有些则是花大力气也很难做到的.一个不是很复杂的功能要是用美国50年代开发的74系列,或者60年代的CD4000系列这些纯硬件来搞定的话,电路一定是一块大PCB板!但是如果要是用美国70年代成功投放市场的系列单片机,结果就会有天壤之别!只因为单片机的通过你编写的程序可以实现高智能,高效率,以及高可靠性!
由于单片机对成本是敏感的,所以目前占统治地位的软件还是最低级汇编语言,它是除了二进制机器码以上最低级的语言了,既然这么低级为什么还要用呢?很多高级的语言已经达到了可视化编程的水平为什么不用呢?原因很简单,就是单片机没有家用计算机那样的CPU,也没有像硬盘那样的海量存储设备.一个可视化高级语言编写的小程序里面即使只有一个按钮,也会达到几十K的尺寸!对于家用PC的硬盘来讲没什么,可是对于单片机来讲是不能接受的. 单片机在硬件资源方面的利用率必须很高才行,所以汇编虽然原始却还是在大量使用.一样的道理,如果把巨型计算机上的操作系统和应用软件拿到家用PC上来运行,家用PC的也是承受不了的.
可以说,二十世纪跨越了三个“电”的时代,即电气时代、电子时代和现已进入的电脑时代.不过,这种电脑,通常是指个人计算机,简称PC机.它由主机、键盘、显示器等组成.还有一类计算机,大多数人却不怎么熟悉.这种计算机就是把智能赋予各种机械的单片机(亦称微控制器).顾名思义,这种计算机的最小系统只用了一片集成电路,即可进行简单运算和控制.因为它体积小,通常都藏在被控机械的“肚子”里.它在整个装置中,起着有如人类头脑的作用,它出了毛病,整个装置就瘫痪了.现在,这种单片机的使用领域已十分广泛,如智能仪表、实时工控、通讯设备、导航系统、家用电器等.各种产品一旦用上了单片机,就能起到使产品升级换代的功效,常在产品名称前冠以形容词——“智能型”,如智能型洗衣机等.现在有些工厂的技术人员或其它业余电子开发者搞出来的某些产品,不是电路太复杂,就是功能太简单且极易被仿制.究其原因,可能就卡在产品未使用单片机或其它可编程逻辑器件上The single chip computer abbreviation Microcontroller is typical of embedded Microcontroller controller (Microcontroller Unit), common English letters is the abbreviation of MCU said Microcontroller, it was first used in industrial control field. SCM by chip inside only CPU dedicated processor. The earliest design concept is through the huge amounts of peripheral and CPU integration in a chip, make the computer system smaller, more easy to integrate into the complex and to volume demanding control equipment of. Intel-based Z80 is the earliest designed according to this kind of thought the processor, henceforth, SCM and dedicated processor development parted.
Early microcontroller is 8 bits or 4 digit. One of the most successful intel-based 8031 is simple, reliable performance, because good got a lot of praise. Then in the microcomputer 8031 developed MCS51 series microcontroller systems. Based on this system of SCM system have until now in widespread use. With the improvement of industrial control area requirement, begin to emerge 16-bit single chip, but because the price is not ideal did not get very widely. After the 1990s with consumer electronic products development, microcontroller technology has been a tremendous increase. As the INTEL i960 series especially later ARM series widely, 32-bit SCM rapidly replacing 16-bit single chip of high-end status, and into the mainstream market. While the traditional 8 bit micro-controller performance also obtained the rapid increase, processing power than 1980s raised hundreds times. At present, high-end 32-bit SCM frequency has exceeded 300MHz, performance straight after the middle of 90's of dedicated processor, whereas normal type ex-factory price dropped to $1, the highest-profile [1] type was only ten dollars. Contemporary SCM system no longer only in LuoJi environment, development and use of special embedded operating system is widely used in the whole range of single-chip microcomputer. While in as a handheld computers and mobile phones key processing of high-end microcontroller even can directly use the special Windows and Linux operating system.
Single-chip processor more than dedicated suitable for use with embedded system, so it has gained the most applications. In fact microcontroller is the world largest number of the computer. Modern human life that are used in almost every pieces of electronic and mechanical products will be integrated have microcontroller. Mobile, telephone, calculator, home appliances, electronic toys, PDA and mouse and so on computer accessories are equipped with 1-2 department microcontroller. The PCS in also will affect many microcomputer in the work. Cars equipped with more than 40 department general single-chip microcomputer, complex industrial control system even there may be hundreds microcomputer in working at the same time! The number of MCU is not only far more than PCS and other calculation combined, and even more than the number of human beings.
SCM is also called monolithic micro controller, it is not complete a logic function chips, but it is a computer system integration to a chip. The computer equivalent of a micro computer, and compared, microcontroller lack only the I/O devices. General speaking: a chip became a computer. Its compact size, light quality, cheap, for learning, application and development provides the convenience. Meanwhile, "learning to use a single chip computer is knowledge of computer principle and structure of the best choice.
SCM internal also use and computer functions similar module, such as CPU, memory, parallel bus and hard disk storage device functions are the same, the difference is its relative performance all these parts of our home computer weak, but the price is much lower, usually less than 10 yuan can... Use it to do some control electric appliance category is not very complicated work is sufficient. We use now roller washing machine, smoke exhaust hood, VCD and so on the home appliance inside can see the figure! ... It was mainly used as a core part of the control part.
It is a kind of on-line real-time control computer, on-line is site control, need is strong anti-jamming ability, low cost, this also is and off-line computer (such as household PC) the main difference.
Single-chip microcomputer chip
A single chip computer is by program running, and can be modified. Through the different program realization of different function, especially the unique some special function, this is another device needs to spend effort can do that, while some others are great effort also hard to do. One is not very complicated function if use in the United States during the 1950s development of 74 series, or from the 1960s CD4000 series these pure hardware to fix words, circuit must be a large piece of PCB board! But if if use American 1970s success on the market series microcontroller, and the results will be difference! Just because of single chip through your programming can achieve high intelligence, high efficiency and high reliability.
Due to cost is sensitive microcontroller, so, at present, the dominant software or lowest assembly language, it is besides the binary machine code above the lowest language, since so low-level why use? Many senior language has reached the level of visual programming is why not? The reason is very simple, that is no home computer microcontroller as the CPU, also did not like hard disk that mass storage device. A visual small programs written in high-level languages inside has even a button, also can achieve dozens of K size! For household PC hard disk speaking nothing, but the SCM speaking is unacceptable. Microcomputer in hardware resources utilization must high to just go, so assembly although original but still in use large. The same way, if the giant computer operating system and application software got home PC came running, household PC is also cannot bear.
Can say, the twentieth century across the three "electricity" age, namely the age of electricity, electronic era and now has entered the computer era. However, this kind of computer, usually refers to the personal computer, the abbreviation PCS. It consists of host, keyboard, display etc. And those computer, most people do not so familiar with. This computer is intelligence gives all kinds of mechanical SCM (also called micro controllerAs the name suggests, the computer is minimal systems only took a piece of integrated circuits, simple operation and control can be carried out. Because of its small size, usually hidden in the accused of mechanical "stomach". It in the whole device, plays the role of like the human mind, it went wrong, the whole device broke down. Now, this SCM use field has been widely, such as intelligent instruments, real-time control, communication equipment, navigation system, household electric appliances, etc. Various products once using single-chip microcomputer, can have the effect that product upgrading, often in product specialty bariatric adjectives -- "intelligent", such as intelligent washing machines etc. Now some factories technicians or other leisure electronic developers out some of the products, not the circuits are too complex, is functional too simple and the easy be imitators. Investigate its reason, may be stuck in product without using SCM or other programmable logic devices.