1、原 文题目:DESIGN OF TRAFFIC LIGHT BASED ON MCUBecause of the rapid development of our economy resulting in the car number of large and mediumsized cities surged and the urban traffic, is facing serious test, leading to the traffic problem increasingly serious, its basically are behaved as follows: traff
2、ic accident frequency, to the human life safety enormous threat, Traffic congestion, resulting in serious travel time increases, energy consumption increase; Air pollution and noise pollution degree of deepening, etc. Daily traffic jams become people commonplace and had to endure。 In this context, i
3、n combination with the actual situation of urban road traffic, develop truly suitable for our own characteristics of intelligent signal control system has become the main task。PrefaceIn practical application at home and abroad, according to the actual traffic signal control application inspection, p
4、lanar independent intersection signal control basic using set cycle, much time set cycle, half induction, whole sensor etc in several ways。 The former two control mode is completely based on planar intersection always traffic flow data of statistical investigation, due to traffic flow the existence
5、of variable sex and randomicity, the two methods have traffic efficiency is low, the scheme, the defects of aging and half inductive and all the inductive the two methods are in the former two ways based on increased vehicle detector and according to the information provided to adjust cycle is long
6、and green letter of vehicle, it than random arrived adaptability bigger, can make vehicles in the parking cord before as few parking, achieve traffic flowing effectIn modern industrial production,current,voltage,temperature, pressure, and flow rate, velocity, and switch quantity are common mainly co
7、ntrolled parameter。 For example: in metallurgical industry, chemical production, power engineering, the papermaking industry, machinery and food processing and so on many domains, people need to transport the orderly control. By single chip microcomputer to control of traffic, not only has the conve
8、nient control, configuration simple and flexible wait for an advantage, but also can greatly improve the technical index by control quantity, thus greatly improve product quality and quantity. Therefore, the monolithic integrated circuit to the traffic light control problem is an industrial producti
9、on we often encounter problems.In the course of industrial production, there are many industries have lots of traffic equipment, in the current system, most of the traffic control signal is accomplished by relays, but relays response time is long, sensitivity low, long-term after use, fault opportun
10、ity increases greatly, and adopts singlechip microcomputer control, the accuracy of far greater than relays, short response time, software reliability, not because working time reduced its performance sake, compared with, this solution has the high feasibility.About AT89C511.function characteristics
11、 description:AT89C51 is a low power consumption, high performance CMOS8 bit micro-controller, has the 8K in system programmable Flash memory. Use high-density Atmel company the beltpassword nonvolatile storage technology and manufacturing, and industrial 80S51 product instructions and pin fully comp
12、atible。 Chip Flash allow program memory in system programmable, also suitable for conventional programmer. In a single chip, have dexterous 8 bits CPU and in system programmable Flash, make AT89C51 for many embedded control application system provides the high flexible, super efficient solution。 AT8
13、9C51 has the following standard function: 8k bytes Flash, 256 bytes RAM, 32bit I/O mouth line, the watchdog timer, two data pointer, three 16 timer/counter, a 6 vector level 2 interrupt structure, fullduplex serial port, piece inside crystals timely clock circuit。 In addition, AT89C51 can drop to 0H
14、z static logic operation, support two software can choose power saving mode。 Idle mode, the CPU to stop working, allowing the RAM, timer/counter, serial ports, interruption continue to work。 Power lost protection mode, RAM content being saved, has been frozen, microcontroller all work stop, until th
15、e next interruption or hardware reset so far. As shown in figure 1 for the AT89C51 pins allotment.Figure 1 the AT89C51 pins allotment2。interrupt introductionAT89C51 has six interrupt sources: two external interruption, (and), three timer interrupt (timer 0, 1, 2) and a serial interrupts。 Each interr
16、upt source can be passed buy bits or remove IE the relevant special register interrupt allow control bit respectively make effective or invalid interrupt source。 IE also includes an interrupt allow total control bit EA, it can be a ban all interrupts。 IE。 Six is not available。 For AT89C51, IE。 5 bits are also not be used。 User software should not give these bits write 1. They AT89 series for new product reserved
copyright@ 2008-2022 冰豆网网站版权所有
经营许可证编号:鄂ICP备2022015515号-1