毕业设计(论文)电热箱单片机温控系统毕业设计.doc
无锡职业技术学院系别(部、分院) 电子信息技术系 班 级 电子工艺30901 姓 名 学 号 课 题 名 称 电热箱单片机温控系统 指 导 教 师 职 称 讲师 指 导 教 师 职 称 工程师 2012 年 4 月 12 日英文Single chip micro computer referred to as SCM, is a typical embedded microcontroller ( Microcontroller Unit ), common English letter abbreviation of MCU MCU, it was originally used in the field of industrial control. Due to the microcomputer in the field of industrial control applications, to make more the personage inside course of study, students, hobbyists, product development staff master microcontroller this technology, then MCU development board, the more famous example of electronic DZR-01A MCU development board. Chip by chip CPU only dedicated processor and development. The earliest design concept is the large number of peripherals and CPU integrated on a chip, allowing the computer system to a smaller, easier to integrate into the complex and the volume requires strict control of the equipment. INTEL Z80 is the earliest according to this thought design of the processor, from then on, the development of SCM and special processor part company each going his own way.Early SCM are 8 or 4 bit. One of the most successful INTEL 8031, because simple reliable and good performance achieved great acclaim. Thereafter in 8031 on the development of the MCS51 series single chip system. Based on this system of single chip microcomputer system is still widely used. As the field of industrial control requirements increase, began a 16 bit single chip microcomputer, but because the price is not ideal did not have a very wide range of applications. After 90 years with the consumer electronic product development, SCM technology has a huge increase. Along with the INTEL i960 series especially later ARM series of widely used, 32 bit single chip microcomputer rapidly replaced the 16 bit MCU high position, and into the mainstream market. While the traditional 8 bit SCM performance has also been enhanced rapidly, handling capacity compared to 80 in increased hundreds of times. At present, the high-end 32 bit single chip microcomputer frequency is more than 300MHz, performance was 90 time metaphase dedicated processor, and common models of the ex-factory price fell to $1, the most high-end models only $10. The single chip microcomputer system has not only the bare metal environment development and use, large number of special embedded operating system is widely used in the whole series mcu. While as a palmtop computer and mobile phone core processing chip microcomputer and can be used directly for the Windows and Linux operating system.Single chip processor is more suitable than the special application in embedded system, so it got the most applications. The fact that SCM is the world's largest number of computer. Modern human life used in almost every piece of electronic and mechanical products will have a single-chip integration. Mobile phone, telephone, computer, household appliances, electronic toys, handheld computers and computer accessories such as a mouse in all with 1-2 single chip microcomputer. While the PC is also a large number of single chip microcomputer in the work. The car is equipped with more than 40 of the general single chip microcomputer, the complex industrial control system and even there may be hundreds of single chip microcomputer in the work at the same time! Single chip not only the number of far more than PC machine and the other computes the sum, even more than human.Also known as single-chip microcontroller, it is not the completion of a logic function of the chip, but a computer system integrated into a chip. The equivalent of a micro computer, and the computer, single-chip only lack of I / O equipment. Summary: a chip is a computer. It has the advantages of small volume, light weight, low price, for the study, application and development of facilities provided. At the same time, learn to use single-chip computer principle and structure is the best choice.MCU internal use and computer functions like modules, such as CPU, memory, hard disk and a parallel bus, and the same storage device, is it different for these components performance relative to both our home computer a lot weaker, but the price is low, generally not more than 10 yuan use it to do some control of electrical appliances category is not very complicated work ok. We now use automatic drum washing machine, exhaust hood, VCD and so on the home appliance inside can see its shadow! It is mainly used as the control part. The core components.It is an on-line real-time control computer, online is the scene control, need to have strong anti-interference ability, low cost, and this is also the off-line computer ( such as a household PC ) the main difference.Single chip microcomputerBy single-chip program running, and can modify. Through different procedures to achieve different functions, especially the special unique features, this is the need to charge other devices can do a great effort, some are vigorously is difficult to do. A function is not very complicated with the United States the development of the 50's or 60's 74 series, the CD4000 series to get these pure hardware, the circuit must be a big PCB board! But if we use the United States in 70 successful series of single-chip market, the result will be a world of difference! Just because the adoption of single-chip preparation process you can achieve high intelligence, high efficiency, and high reliability!Because of the cost of single-chip is sensitive, so the dominant software or the low-level assembly language, it is the addition of binary machine code above the low-level language, since it is so low why do they use? Many senior language has reached the level of visual programming and why not? The reason is very simple, no home computer chip that CPU did not like hard disks, USB mass storage device. An advanced visual language prepared by the small procedures inside even if only one button, will reach several tens of K size! For domestic PC hard disk is nothing, but for the single is not acceptable. Single chip microcomputer in the hardware resources utilization must be very tall, so the assembly while the original is still in use. In the same way, if the giant computer operating system and application software to run on the PC PC home, home is unbearable.Can say, twentieth Century across three" electric" era, namely the electrical age, electronic era and has now entered the computer age. However, this kind of computer, usually refers to a personal computer, or PC machine. It consists of the host, keyboard, display. There is a class of computer, most people are not very familiar with. This kind of computer is to give a variety of mechanical intelligent chip ( also known as micro controller ). As the name implies, this computer systems use only the minimum of an integrated circuit, to make a simple calculation and control. Because of its small size, are usually charged with possession of machine in the" belly". It is in the whole device, like the human mind plays a role, it is wrong, the entire device. Now, this chip has a very wide field of use, such as smart meters, real-time industrial control, communications equipment, navigation systems, and household appliances. Once a variety of products with the use of the single-chip, will be able to play so that the effectiveness of product upgrading, product names often adjective before the word -" intelligent", such as intelligent washing machine. Now some factory technical personnel or other amateur electronics developers out of certain products, not the circuit is too complex, that is functional and easy to be too simple imitation. Investigate its reason, may be stuck in the product does not use the single chip computer or other programmable logic device.Working processSCM automatically complete the mission entrusted to it in the process, also is the process of executing a program that SCM, an execution of the instruction process, the so-called instruction is to perform a variety of operations with the chip in the form of a command to write it down, it is in the design gives it the instruction system of the decision, an instruction corresponding a basic operation; single chip computer can perform all instructions, is the MCU command system, different kinds of SCM, the command system is also different. In order to make the computer can automatically accomplish a specific task, must put the problem to be solved as a series of instructions ( these instructions must be selected the MCU to the recognition and execution of instruction ), this series of sets of instructions became program, program pre-stored in has the function of storing parts - memory. Memory consists of many storage unit ( minimal storage unit ), like a big building has many rooms, instruction stored in the unit, unit instruction fetch and execution as large buildings in each of the rooms were assigned to only one room, each storage unit must also be assigned to the unique address, the address is known as the address storage unit, such as long as knowing the address storage unit, can be found on the storage unit, which stores instruction can be removed, and then be executed.Programs are executed sequentially, so the program of instruction is a sequence of stored, SCM in the execution of a program to put these instructions a remove and execution, there must be a member can track the instruction location, this part is the program counter ( PC contained in CPU ), at the beginning of the program is executed, to the PC assigned to program the first instruction location, and then get a command to be executed, the PC content will automatically increase, increase the volume of the instruction length is determined, may be 1, 2 or 3, to point to the next instruction address, assurance instructions order of execution.The application of SCMSingle chip microcomputer is composed of the hardware system and software system. Hardware system which is composed of microcomputer system entity and device, usually by the operator, controller, memory, input interface circuit and input devices, output interface circuit and an output device. The arithmetic unit and the controller is generally done in an integrated chip, referred to as the central processing unit ( Central Processing Unit ), referred to as CPU, is the core part of microcomputer. CPU with a stored program and data memory, input / output ( Input / Output, I / O ) interface circuit and an external device is composed of single-chip hardware system. The software system is a computer system used by various procedures said, through which people on the microcomputer control system with microcomputer for the exchange of information, the computer in accordance with the intention to achieve the predetermined task. The software system and hardware system together form a complete single-chip micro computer system, the two complement each other, are indispensable.Currently microcontroller penetrated into every aspect of our lives, it's almost impossible to find which areas no traces of single-chip microcomputer. The missile navigation device, various instruments on the aircraft control, computer network communication and data transmission, industrial automation of the real-time control and data processing, widely used in all kinds of intelligent IC card, civil limousine security systems, video recorders, cameras, full automatic washing machine control program, as well as toys, electronic pets and so on, these are inseparable from the single chip microcomputer. Not to mention the field of automatic control of robot, intelligent instrument, medical equipment and all kinds of intelligent machinery. Therefore, the single-chip learning, development and application of computer application will create and intelligent control of the scientist, engineer.Single chip computer are widely used in instrumentation, household appliances, medical equipment, aerospace, and special equipment intelligent management and process control and other fields, can be divided into the following categories:1 in the intelligent instrument applicationSCM has the advantages of small volume, low power consumption, strong control function, flexible expansion, miniaturized and is easy to use, widely used in instrumentation, combines different types of sensors, can be used as voltage, power, frequency, humidity, temperature, flow, speed, thickness, angle, length, hardness, element, pressure the physical quantity measurement. Using single chip microcomputer control makes the instrument digital, intelligent, miniaturized, and the function is compared with a more powerful electronic or digital circuit. For example, precision measurement equipment ( power meter, oscilloscope, various analyzer ).2 Application in industry controlMCU can form various forms of control system, data acquisition system. For example the factory assembly line intelligent pipe, intelligent elevator control, all kinds of alarm systems, and computer networking. Two level control system.3 application in household applianceIt can be said, now the home appliance basically adopts single-chip microcomputer control, from rice cookers, washing machine, freezer, color television, air conditioner, other audio and video equipment, and then to the electronic weighing equipment, all kinds of, omnipresent.4 in the field of computer networks and communication applicationModern microcontroller in general have a communication interface, can be conveniently and computer data communications, computer networks and communication equipment in the application provides excellent material conditions, now the communication equipment basically has realized intelligent control, from the mobile phone, telephone, program-controlled switches, small building automation communication call system, train wireless communication, and then to the daily work can be seen in the mobile phone, trunking mobile communication, radio etc.5 single chip microcomputer in the field of medical equipment applicationSingle chip microcomputer in medical equipment in use is quite extensive, such as medical ventilator, various analyzer, monitor, ultrasonic diagnostic equipment and Sickbed Calling system.6 in a variety of large-scale electrical module in applicationSome special MCU design used to achieve a specific function, resulting in all kinds of circuit of modular applications, without requiring the use of personnel to understand its internal structure. As a music integrated chip, seemingly simple function, the microfilm in pure electronic chip (as distinct from the tape machine principle ), requires complex similar to the principle of computer. Such as: music signal in digital form stored in memory ( similar to ROM ), the microcontroller read