基于单片机的智能路灯控制系统外文文献

基于单片机的智能路灯控制系统外文文献
基于单片机的智能路灯控制系统外文文献

基于单片机的智能路灯控制系统-外文文献

————————————————————————————————作者:————————————————————————————————日期:

毕业设计(论文)外文资料翻译

系别光电信息系

专业测控技术与仪器

班级 B090102

姓名马丽娜

学号 36

外文出处 Spriger Link

附件 1. 原文; 2. 译文

2013年3月

Based on single chip microcomputer intelligent street light

control system

【abstract 】 A street light automatic control system design, combined with the control, electric lamp switch control function; And street lamp fault detection and fault street lamp according to the function of the number. Use on STC 89C51 as the core Control unit; Using DS1302 clock chip to control the point open to turn off the lights when street lamps; By a photosensor complete collection of ambient light and street light fault detection, so as to realize the number of optically controlled open to turn off the lights and fault street lamp display. This system Can through the RS - 232 communication port with the street light control room of the upper machine communication.

【key words】STC 89C51; Clock chip DS1302; photosensor

Introduction

For the most part at present domestic cities and regions of the street lamp Lighting adopts electric control, time control and single point of electrons Control, maintenance management and manual inspections and the masses The traditional way, because of the lack of scientific and effective monitoring Means, large area lighting during the day, night not large area Light phenomenon occurs frequently, often can't find and in a timely manner Processing, not only caused power resources, human resources Cost, improve the operating costs of the system and to citizens Life bring inconvenience.

Intelligent road lighting system can according to different area Domain of different functional requirements, at different times and different every day Natural light or under different traffic flow conditions, the press According to a specific setting, realize dynamic wisdom of road lighting Can management, namely the TPO management (TIME/PLACE, TIME Location/OCCASION occasions). Intelligent road lighting Control system, through the comprehensive consideration and analysis and road Ming is closely related to the intensity of illumination time, road, environment and hand it in Scene control methods of factors such as flow rate, in the

microcomputer According to the preset control strategy, the road lighting into action Street lamp intelligent management and control in different conditions normally In different states implement diversified road lighting scene, To improve the quality of lighting at the same time get the best section Can effect.

1. The system hardware design

Control circuit mainly to light, temperature signal acquisition, data computing and analysis, and control of street lamp driver circuit according to the results of the operation. Circuit must have MD conversion function, adopt STCl2C5608AD single chip microcomputer as control unit, the single-chip computer as a single clock cycle enhanced 8051 kernel microcontroller, it contains 8 KB FLASH program memory, eight road lO MD conversion interface, can meet the need of data acquisition. Light intensity, temperature sensor using photosensitive resistance and thermal resistance,

respectively.

Figure 1

Figure 2

Photosensitive resistor Rx and resistance R2 bleeder circuit, light intensity changes, microcontroller P1.7 pin input voltage changes, and P1.7 pin can be set up for MD conversion interface, set a threshold voltage for light intensity can distinguish between day and night. Thermal resistor Rx and R3 bleeder circuit, the temperature changes, P1.5 pin voltage change, the figure 1 watch NA L/D conversion control circuit green quality can calculate the actual environment temperature and time control to modify parameters. S1 for four dial the code switch, can be used to think.

1.1 hardware design

System hardware modules include: control module, mining Use 89 c51 to realize on STC; Sensor module, Using photosensitive resistance on the surrounding environment light Sample, using photosensitive diode on-off to street lamp equipment Obstacle detection; The clock module, using DS1302 clock chip Slice; Display module, which is made up of four LED digital tube, use To display the fault street lamp number; Sound and light alarm module, Implementation of malfunctioning of the street lamp light hint; Communication moduleBlocks, used to transmit commands from PC.

1.2 module function

On STC 89 c51 based on DS1302 clock chip Provide the clock signal, according to the following time implementation control Turn off the lights.

(1) : winter time 18:00 lights at night, The next morning at 7:30 to turn off the lights.

(2) age season time: the evening number is turn on the light, The next morning at 6:30 to turn off the lights.

(3) in the summer time: 20:00 lights at night, The next morning at 5:30 to turn off the lights.

Dynamically changes of this period of time, changes in the operation A machine to complete, through the communication module will hold instructions written to STC 89 c51 chip, then changed the point open to turn off the lights During work time.

Photosensitive resistance, by appropriate wavelength of light , the current will along with the increase of light intensity, thus Realize the photoelectric conversion. To die by ADC0832 device Hold number converted to provide single-chip, STC 89

c51 according to The default program realize the electric lamp switch function.

(1) automatic metering, during the day (or light) When lights go out, night (dark or light) street lights automatically Light up.

(2) the sensitivity is adjustable, can adjust according to need Any work under the light.

(3) to prevent the instant bright light interference, the AD hoc Delay off function (to strong light, the light switch When 30 seconds to shut down automatically).

Photosensitive diode is to use silicon PN knot when the light is produced A photoelectric device, light current work in reverse bias Because of the pressure. During the day light or lamp light photosensitive 2 directly Diode reverse resistance decreases, and diode conduction; Light is very Hours photosensitive diode reverse resistance increases, the diode The check. Using photosensitive diode, detection of street lamp is night Normal work. When the photosensitive diode as shows that street lamp Equipment failure or theft, acousto-optic quote on STC 89 c51 started Alarm device, at the same time in four LED digital tube display the corresponding The street number.

2.The system software design

The software design of this system is divided into seven parts, mainly Including the LED digital tube display program design; Light to check the Test program design; Equipment fault detection program design; when Clock driver chip design; Open to turn off the lights program design; Communication program design; Audible and visual alarm program design, etc.

Software includes: main program, system initialization, anti-fuzzy functions,

A/D conversion subroutine, communication processing subroutine, keyboard processing subroutine, warp/weft clock computing functions, dial the code switch handle child, switch input processing function, the switch quantity output treatment function, display function. MCU software programming to CodeVisionAVR C compiler as a development platform, USES C written in a high-level language.

3.TAG

USES the wireless transceiver module and single-chip integration design, can reduce the hardware cost of the system, convenient installation, easy maintenance. Adopt type a 15 STR micropower wireless digital module, high efficiency forward error correction channel coding technology, improves the data the abrupt interference and random interference resistance ability. Using high-speed microcontroller W7E58, improve the measurement precision of the liquid level, simplified the hardware structure of the system. The system not only for level measurement is a kind of safe and effective solutions, can be applied to other material level measurement under the bad environment.

Street lamp lighting system is indispensable to the road traffic Facilities, design a kind of intelligent street light control system, right Increase induced by road, improve the driving safety at night And comfort, effectively prevent criminal activity, beautify the environment, Save power resources, has a certain practical significance and can be Development value.

References

[1], truth, science and technology. 8051 series single chip microcomputer C program design manual [M]. Completely People post and telecommunications press, 2006.

[2] realistic technology. Microcontroller peripheral devices and applications [M]. Typical people Posts and telecommunications press, 2006, 2.

[3] BianChunYuan, wang zhiqiang. MCS - 51 single chip microcomputer application development practical subroutine [M]. People's posts and telecommunications press, 2005, 9.

[4] Shen Gongwei. Based on single chip microcomputer intelligent syste design and implementation [M]. Electronic Industrial press, 2005. m

[5] Wan Guangyi, nine sun Ann, Cai Jianping. SOC SCM experiment, practice and should be With design - based on C8051F series [M]. Beijing university of

aeronautics and astronautics Publisher, 2006.

[6] Xu Aijun Peng Xiuhua. Keil Cx51 V7.0 microcontroller programming in a high-level language and Mu Vision2 application practice [M]. Beijing: electronic industry press, 2004.

[7] blockbuster, special expensive, were yu. Intelligent street light control system design and application research. The modern electronic technology, 2010. (1) : 207-207.

[8] kang hua guang, Chen Taiqin. Analog part electronic technology foundation [M]. Beijing: higher education press, 2001.

基于单片机的智能路灯控制系统

【摘要】设计了一个路灯自动控制系统,具有时控、光控相结合的路灯开关控制功能;以及路灯故障检测并显示故障路灯编号的功能。采用STC 89C51单片机作为核心控制部件;利用时钟芯片DS1302对路灯进行时控开关灯控制;由光敏器件完成环境光照度的采集与路灯故障检测,从而实现光控开关灯与故障路灯的编号显示。本系统可以通过RS-232标准通信端口与路灯控制室的上位机进行通信。

【关键词】STC 89C51单片机;时钟芯片DS1302;光敏器件

引言

目前国内绝大部分的城市和地区路灯照明控制采用光控、时间控制及单点电子控制,维修管理采用人工巡查及群众反映等传统方式,由于缺乏科学有效的监控管理手段,白天大面积亮灯,夜间大面积不亮灯现象经常发生,往往不能及时发现和处理,不但造成电力资源、人力资源的浪费,提高了系统的运行成本,又给市民的生活带来不便。

智能化道路照明系统能够根据不同区域的不同功能需求,在每天不同时段、不同自然光照度或者不同交通流量情况下,按照特定的设置,实现对道路照明的动态智能化管理,即TPO管理(TIME时间/PLACE地点/OCCASION场合)。智能化道路照明控制系统,通过综合考虑和分析与道路照明密切相关的时间、路段、环境照度和交通流量等因素的场景控制方法,在微机中按照预设的控制策略,对道路照明进行动态智能化管理,控制路灯在不同情况下工作在不同状态实现多样化的道路照明场景,从而在提高照明质量的同时获得最佳的节能效果。

1.系统硬件设计

控制电路主要完成对光线、温度信号的采集,数据的运算和分析,以及根据运算结果控制路灯驱动电路。电路需具有MD转换功能,采用STCl2C5608AD单片机作为控制单元,该单片机为单时钟周期增强型8051内核的单片机,片内含

8KB的FLASH程序存储器,有8路lO位MD转换接口,可满足数据采集的需要。光强度、温度传感器分别采用光敏电阻和热敏电阻。如图一所示:

图一

图二

光敏电阻Rx与电阻R2组成分压电路,光强变化时,单片机P1.7引脚输入电压变化,P1.7引脚可设置为MD转换接口,为光强设置一个临界电压即可区分白天和黑夜。热敏电阻Rx与R3组成分压电路,温度变化时,P1.5引脚电压变化,经图1控制电路绿色质量观察L NA/D转换可计算实际环境温度,以修改时间控制参数。s1为4位拨码开关,可用于认为设定参数,以增加控制器的灵活性。

1.1 硬件设计

系统硬件模块包含:控制模块,采用STC 89C51单片机实现;传感器模块,采用光敏电阻实现对周围环境光照度的采样,采用光敏二极管通断进行路灯设备

故障的检测;时钟模块,采用DS1302时钟芯片;显示模块,由4个LED数码管组成,用来显示故障路灯的编号;声光报警模块,块,用于传输来自上位机的指令。

1.2 模块功能

STC 89C51单片机根据时钟芯片DS1302提供时钟信号,按照下列时段实现时控开关灯空。

(1)冬季时间:傍晚18:00开灯,次日早晨7:30关灯。

(2)春秋季时间:傍晚19:00开灯,次日早晨6:30关灯。

(3)夏季时间:傍晚20:00开灯,次日早晨5:30关灯。

这个时段可动态修改,修改操作在上位机完成,通过通信模块将指令写入STC89C51芯片内,随即就改变了时控开关灯的工作时段。

光敏电阻,受到适当波长的光线照射时,电流就会随光强的增加而变大,从而实现光电转换。通过ADC0832器件进行模数转换后提供给单片机,STC 89C51按照预设的方案实现如下光控路灯开关功能。

(1)自动测光,白天(或光线强时),夜晚(或光线暗时)路灯自动点亮。

(2)感光度可调,可根据需要调节在任意光线下工作。

(3)为防止瞬间强光的干扰,特设延时关闭功能(光线达到强光时,开关延时30秒左右才自动关闭)。

光敏二极管是利用硅PN结受光照后产生光电流的一种光电器件,工作于反向偏压。白天受光照或路灯直接照射时光敏二极管反向电阻减小,二极管导通;光照很小时光敏二极管反向电阻增大,二极管截止。采用光敏二极管,检测夜晚路灯是否正常工作。当光敏二极管截止时表明路灯设备故障或被盗,STC 89C51启动声光报警装置,同时在4位LED数码管上显示相应的路灯编号。

2.软件设计

本系统的软件设计分为七部分,主要包括LED数码管显示程序设计;光照度检测程序设计;设备故障检测程序设计;时钟芯片驱动程序设计;开关灯程序设计;通信程序设计;声光报警程序设计等。

软件程序包括:主程序、系统初始化子函数、A/D转换子程序、通讯处理子函数、键盘处理子函数、经纬时钟计算处理子函数、拨码开关处理子函数、开关量输入处理子函数、开关量输出处理子函数、显示处理子函数。单片机的软件编程以CodeVisionAVR C编译器作为开发平台,采用C高级语言编写。

3.结束语

采用无线收发模块与单片机的集成设计,可降低系统的硬件成本,安装方便,易于维护。采用STR一15型微功率无线数传模块、高效前向纠错信道编码技术,

提高了数据抗突发干扰和随机干扰的能力。采用高速单片机W7E58,提高了液位的测量精度,简化了系统的硬件结构。该系统不仅对液位测量是一种安全、有效的解决方案,也可以应用于其它恶劣环境下的物位测量。

路灯系统是道路交通不可缺少的照明设施,设计一种智能化路灯控制系统,对提高道路的诱导性,提高夜间行车的安全感和舒适感,有效防止犯罪活动,美化环境,节省电力资源,具有一定的现实意义和可开发价值。

参考文献

[1]求是科技.8051系列单片机C程序设计完全手册[M].人民邮电出版

社,2006.

[2]求是科技.单片机典型外围器件及应用实例[M].人民邮电出版社,2006,2.

[3]边春远,王志强.MCS-51单片机应用开发实用子程序[M].人民邮电出版社,2005,9.

[4]沈红卫.基于单片机的智能系统设计与实现[M].电子工业出版社,2005.

[5]万光毅,孙九安,蔡建平.SOC单片机实验、实践与应用设计——基于

C8051F系列[M].北京航空航天大学出版社,2006.

[6]徐爱钧,彭秀华.Keil Cx51 V7.0单片机高级语言编程与μVision2应用实践[M].北京:电子工业出版社,2004.

[7]赞一鸣,王祟贵,刘进宇.智能路灯控制系统设计与应用研究们.现代电子技术,2010.(1):207-210.

[8]慷华光,陈太钦.电子技术基础模拟部分[M].北京:高等教育出版社,2001.

4 指导教师意见(对课题的深度、广度及工作量的意见)

指导教师:年月日5 所在系审查意见:

系主管领导:年月日

单片机_英文参考文献

Structure and function of the MCS-51 series Structure and function of the MCS-51 series one-chip computer MCS-51 is a name of a piece of one-chip computer series which Intel Company produces. This company introduced 8 top-grade one-chip computers of MCS-51 series in 1980 after introducing 8 one-chip computers of MCS-48 series in 1976. It belong to a lot of kinds this line of one-chip computer the chips have,such as 8051, 8031, 8751, 80C51BH, 80C31BH,etc., their basic composition, basic performance and instruction system are all the same. 8051 daily representatives- 51 serial one-chip computers . An one-chip computer system is made up of several following parts: ( 1) One microprocessor of 8 (CPU). ( 2) At slice data memory RAM (128B/256B),it use not depositting not can reading /data that write, such as result not middle of operation, final result and data wanted to show, etc. ( 3) Procedure memory ROM/EPROM (4KB/8KB ), is used to preserve the procedure , some initial data and form in slice. But does not take ROM/EPROM within some one-chip computers, such as 8031 , 8032, 80C ,etc.. ( 4) Four 8 run side by side I/O interface P0 four P3, each mouth can use as introduction , may use as exporting too. ( 5) Two timer / counter, each timer / counter may set up and count in the way, used to count to the external incident, can set up into a timing way too, and can according to count or result of timing realize the control of the computer. ( 6) Five cut off cutting off the control system of the source . ( 7) One all duplexing serial I/O mouth of UART (universal asynchronous receiver/transmitter (UART) ), is it realize one-chip computer or one-chip computer and serial communication of computer to use for. ( 8) Stretch oscillator and clock produce circuit, quartz crystal finely tune electric capacity need outer. Allow oscillation frequency as 12 megahertas now at most. Every the above-mentioned part was joined through the inside data bus .Among them, CPU is a core of the one-chip computer, it is the control of the computer and command centre, made up of such parts as arithmetic unit and controller , etc.. The arithmetic unit can carry on 8 persons of arithmetic operation and unit ALU of logic operation while including one, the 1 storing device temporarilies of 8, storing device 2 temporarily, 8's accumulation

单片机-英文参考文献1

Structure and fun cti on of the MCS-51 series Structure and function of the MCS-51 series one-chip computer MCS-51is a nameof a piece of one-chip computer series which In tel Compa ny produces. This compa ny in troduced 8 top-grade on e-chip computers of MCS-51 series in 1980 after in troduc ing 8 on e-chip computers of MCS-48 series in 1976. It belong to a lot of kinds this line of one-chip computer the chips have,such as 8051, 8031,8751, 80C51BH, 80C31BH,etc., their basic compositi on, basic performa nee and in structi on system are all the same. 8051 daily representatives- 51 serial on e-chip computers . An one-chip computer system is made up of several followi ng parts: ( 1) One microprocessor of 8 (CPU). ( 2) At slice data memory RAM (128B/256B),it use not depositti ng not can read ing /data that write, such as result not middle of operati on, final result and data wan ted to show, etc. ( 3) Procedure memoryROM/EPRC(4KB/8KB ), is used to preserve the procedure , some in itial data and form in slice. But does not take ROM/EPROM within some on e-chip computers, such as 8031 , 8032, 80C ,etc.. ( 4) Four 8 run side by side I/O in terface P0 four P3, each mouth can use as introduction , may use as export ing too. ( 5) Two timer / coun ter, each timer / coun ter may set up and count in the way, used to count to the exter nal in cide nt, can set up into a timi ng way too, and can accord ing to count or result of timing realize the control of the computer. (6) Five cut off cutting off the control system of the source .

51单片机外文文献

The Introduction of AT89C51 Description The AT89C51 is a low-power, high-performance CMOS 8-bit microcomputer with 4K bytes of Flash programmable and erasable read only memory (PEROM). The device is manufactured using Atmel’s high-density nonvolatile memory technology and is compatible with the industry-standard MCS-51 instruction set. The on-chip Flash allows the program memory to be reprogrammed in-system or by a conventional nonvolatile memory programmer. By combining a versatile 8-bit CPU with Flash on a monolithic chip, the Atmel AT89C51 is a powerful microcomputer which provides a highly-flexible and cost-effective solution to many embedded control applications. Function characteristic The AT89C51 provides the following standard features: 4K bytes of Flash, 128 bytes of RAM, 32 I/O lines, two 16-bit timer/counters, one 5 vector two-level interrupt architecture, a full duplex serial port, one-chip oscillator and clock circuitry. In addition, the AT89C51 is designed with static logic for operation down to zero frequency and supports two software selectable power saving modes. The Idle Mode stops the CPU while allowing the RAM, timer/counters, serial port and interrupt system to continue functioning. The Power-down Mode saves the RAM contents but freezes the oscillator disabling all other chip functions until the next hardware reset. Pin Description VCC:Supply voltage. GND:Ground.

单片机_文献综述

XX大学 本科毕业设计(论文)文献综述 课题名称: 学院(系): 年级专业: 学生姓名: 指导教师: 完成日期:

一、课题国内外现状 当今社会,应用单片机的产品已经渗透到我们生活的各个领域,几乎很难找到哪个领域没有单片机的足迹。现在,这种单片机的使用领域已十分广泛,如智能仪表、实时工控、通讯设备、导航系统、家用电器等,这些都离不开单片机。因此,单片机的学习、开发与应用将造就一批计算机应用与智能化控制的工程师和科学家。科技越发达,智能化的东西就越多。学习单片机是社会发展的必然需求,也是大学期间的必修课。 在国内单片机学习呈上升趋势,但是很多人学习时没有头绪,不知道从何下手。面对种类繁多的各类开发板,仿真器,让初学者无所事从,不但多花钱还多走不少弯路,学生学习单片机没有大的资金投入,能够做到少花钱多办事才是最好的。 Intel8051系列是我们在大学课堂中学习的。因此本课题围绕8051系列单片机设计,从电路图绘制,PCB板设计,硬件焊接,程序设计,在线仿真到各项功能实现,目的在于让学生将课堂上学来的理论知识与实践相结合,提高对单片机的认识,学习专业软件的操作,熟悉制作过程,掌握一门技能,加强专业知识的掌握。也增加学生的实践经历,为学生就业提供一个可选方向,拓展就业渠道。 二、研究主要成果 在目前的国内外市场中,主要单片机学习教学电路中,仿真器与开发板是分开的,且仿真器造价高,使用中仿真头易损坏。开发板种类多,不系统,应用中两者接合投资太高,学校投入太大。因仿真器与学习板是分开的,学生学习东西也少,板子做完后,学生只能留有学习板,想在课余再学习,终究因没有仿真器而受限止,实用性小,不能达到预期目的。 三、发展趋势 现在可以说单片机是百花齐放,百家争鸣的时期,世界上各大芯片制造公司都推出了自己的单片机,从8位、16位到32位,数不胜数,应有尽有,有与主流C51系列兼容的,也有不兼容的,但它们各具特色,互成互补,为单片机的应用提供广阔的天地。 微型单片化现在常规的单片机普遍都是将中央处理器(CPU)、随机存取数据存储(RAM)、只读程序存储器(ROM)、并行和串行通信接口,中断系统、定时电路、时钟电路集成在一块单一的芯片上,增强型的单片机集成了如A/D转换器、PMW(脉宽调制电路)、WDT(看门狗)、有些单片机将LCD(液晶)驱动电路都集成在单一的芯片上,这样单片机包含的单元电路就更多,功能就越强大。甚至单片

单片机外文文献翻译

外文文献一单片机简介 单片机是一种集成在电路芯片,是采用超大规模集成电路技术把具有数据处理能力的中央处理器CPU随机存储器RAM、只读存储器ROM、多种I/O口和中断系统、定时器/计时器等功能(可能还包括显示驱动电路、脉宽调制电路、模拟多路转换器、A/D转换器等电路)集成到一块硅片上构成的一个小而完善的计算机系统。单片机也被称为微控制器(Microcontroller),是因为它最早被用在工业控制领域。单片机由芯片内仅有CPU的专用处理器发展而来。最早的设计理念是通过将大量外围设备和CPU集成在一个芯片中,使计算机系统更小,更容易集成进复杂的而对体积要求严格的控制设备当中。INTEL的Z80是最早按照这种思想设计出的处理器,从此以后,单片机和专用处理器的发展便分道扬镳。 二、单片机的发展趋势 现在可以说单片机是百花齐放,百家争鸣的时期,世界上各大芯片制造公司都推出了自己的单片机,从8位、16位到32位,数不胜数,应有尽有,有与主流C51系列兼容的,也有不兼容的,但它们各具特色,互成互补,为单片机的应用提供广阔的天地。 纵观单片机的发展过程,可以预示单片机的发展趋势,大致有: 1.低功耗CMOS MCS-51系列的8031推出时的功耗达630mW,而现在的单片机普遍都在100mW左右,随着对单片机功耗要求越来越低,现在的各个单片机制造商基本都采用了CMOS(互补金属氧化物半导体工艺)。象80C51就采用了HMOS(即高密度金属氧化物半导体工艺)和CHMOS(互补高密度金属氧化物半导体工艺)。CMOS虽然功耗较低,但由于其物理特征决定其工作速度不够高,而CHMOS则具备了高速和低功耗的特点,这些特征,更适合于在要求低功耗象电池供电的应用场合。所以这种工艺将是今后一段时期单片机发展的主要途径。 2.微型单片化 现在常规的单片机普遍都是将中央处理器(CPU)、随机存取数据存储(RAM)、只读程序存储器(ROM)、并行和串行通信接口,中断系统、定时电路、时钟电路集成在一块单一的芯片上,增强型的单片机集成了如A/D转换器、PMW(脉宽调制电路)、WDT(看门狗)、有些单片机将LCD(液晶)驱动电路都集成在单一的芯片上,这样 单片机包含的单元电路就更多,功能就越强大。甚至单片机厂商还可以根据用户的要求量身定做,制造出具有. 自己特色的单片机芯片。此外,现在的产品普遍要求体积小、重量轻,这就要求单片机除了功能强和功耗低外,还要求其体积要小。现在的许多单片机都具有多种封装形式,其中SMD(表面封装)越来越受欢迎,使得由单片机构成的系统正朝微型化方向发展。 3.主流与多品种共存 现在虽然单片机的品种繁多,各具特色,但仍以80C51为核心的单片机占主流,兼容其结构和指令系统的有PHILIPS公司的产品,ATMEL公司的产品和中国台湾

51单片机毕设参考文献

基于单片机的大棚温湿度控制系统设计 发布: 2011-9-1 | 作者: —— | 来源:caiminghao| 查看: 530次| 用户关注: 摘要:针对研究蔬菜大棚智能温湿度控制,设计了一种基于计算机自动控制的智能蔬菜大棚温湿度控制系统。详细阐述了该系统的温湿度采集、温湿度显示、控制系统等系统软硬件的设计思想,以DS18B20和HM1500LF作为温湿度传感器,以AT89S52单片机为系统核心,最后利用DELPHI软件进行系统仿真。该研究设计的蔬菜大棚智能温湿度控制系统人机界面良好,操作简单方便,自动化程度高,造价低廉,具有良好的应用前景和推广价值。关键词:温度采 摘要:针对研究蔬菜大棚智能温湿度控制,设计了一种基于计算机自动控制的智能蔬菜大棚温湿度控制系统。详细阐述了该系统的温湿度采集、温湿度显示、控制系统等系统软硬件的设计思想,以DS18B20和HM1500LF作为温湿度传感器,以AT89S52单片机为系统核心,最后利用DELPHI软件进行系统仿真。该研究设计的蔬菜大棚智能温湿度控制系统人机界面良好,操作简单方便,自动化程度高,造价低廉,具有良好的应用前景和推广价值。 关键词:温度采集;湿度采集;LCD显示;单片机 0 引言 植物的生长都是在一定的环境中进行的,在生长过程中受到环境中各种因素的影响,其中影响最大的是温度和湿度。若昼夜的温度和湿度变化很大,其对植物生长极为不利。因此必须对温度和湿度进行监测和控制,使其适合植物的生长,以提高其产量和质量。 本系统就是针对大棚内温度、湿度,研究单片机控制的温室大棚自动控制,综合考虑系统的精度、效率以及经济性要求多方面因素之后,设计一种基于计算机自动控制的大棚温湿度控制系统。 本系统实现的蔬菜大棚温湿度控制系统的目标功能如下: (1)系统能对大棚环境温湿度进行采集和显示(现场观温、湿度,软件记录)。 (2)能通过上位机端远程设定蔬菜的生长期适宜温湿度。由主控机统一设置系统时间和温度湿度修正值。 (3)当大棚的环境温湿度参数超过设定的上下限值时控制相应的系统启动。 (4)可实时显示当前温度、时间、报警阈值等信息,并可查询各时间段的温湿度情况,并加以控制。 1 系统各组成模块

单片机外文文献翻译资料

沈阳工程学院毕业设计(论文) 外文文献 一单片机简介 单片机是一种集成在电路芯片,是采用超大规模集成电路技术把具有数据处理能力的中央处理器CPU随机存储器RAM、只读存储器ROM、多种I/O口和中断系统、定时器/计时器等功能(可能还包括显示驱动电路、脉宽调制电路、模拟多路转换器、A/D转换器等电路)集成到一块硅片上构成的一个小而完善的计算机系统。 单片机也被称为微控制器(Microcontroller),是因为它最早被用在工业控制领域。单片机由芯片内仅有CPU的专用处理器发展而来。最早的设计理念是通过将大量外围设备和CPU集成在一个芯片中,使计算机系统更小,更容易集成进复杂的而对体积要求严格的控制设备当中。INTEL的Z80是最早按照这种思想设计出的处理器,从此以后,单片机和专用处理器的发展便分道扬镳。 二、单片机的发展趋势 现在可以说单片机是百花齐放,百家争鸣的时期,世界上各大芯片制造公司都推出了自己的单片机,从8位、16位到32位,数不胜数,应有尽有,有与主流C51系列兼容的,也有不兼容的,但它们各具特色,互成互补,为单片机的应用提供广阔的天地。 纵观单片机的发展过程,可以预示单片机的发展趋势,大致有: 1.低功耗CMOS MCS-51系列的8031推出时的功耗达630mW,而现在的单片机普遍都在100mW左右,随着对单片机功耗要求越来越低,现在的各个单片机制造商基本都采用了CMOS(互补金属氧化物半导体工艺)。象80C51就采用了HMOS(即高密度金属氧化物半导体工艺)和CHMOS(互补高密度金属氧化物半导体工艺)。CMOS虽然功耗较低,但由于其物理特征决定其工作速度不够高,而CHMOS则具备了高速和低功耗的特点,这些特征,更适合于在要求低功耗象电池供电的应用场合。所以这种工艺将是今后一段时期单片机发展的主要途径。 2.微型单片化 现在常规的单片机普遍都是将中央处理器(CPU)、随机存取数据存储(RAM)、只读程序存储器(ROM)、并行和串行通信接口,中断系统、定时电路、时钟电路集成在一块单一的芯片上,增强型的单片机集成了如A/D转换器、PMW(脉宽调制电路)、WDT(看门狗)、有些单片机将LCD(液晶)驱动电路都集成在单一的芯片上,这样单片机包含的单元电路就更多,功能就越强大。甚至单片机厂商还可以根据用户的要求量身定做,制造出具有自己特色的单片机芯片。此外,现在的产品普遍要求体积小、重量轻,这就要求单片机除了功能强和功耗低外,还要求其体积要小。现在的许多单片机都具有多种封装形式,其中SMD(表面封装)越来越受欢迎,使得由单片机构成的系统正朝微型化方向发

(完整word版)单片机外文文献翻译

中文资料原文 单片机 单片机也被称为微控制器(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设备。概括的讲:一块芯片就成了一台计算机。它的体积小、质量轻、价格便宜、为学习、应用和开发提供了便利条件。同时,学习使用单片机是了解计算机原理与结构的最佳选择。

基于单片机数字电压表电路设计外文文献原稿和译文

外文文献原稿和译文 原稿 Front side Copyright of this circuit belongs to smart kit electronics. In this page we will use this circuit to discuss for improvements and we will introduce some changes based on original schematic General Description This is an easy to build, but nevertheless very accurate and useful digital voltmeter. It has been designed as a panel meter and can be used in DC power supplies or anywhere else it is necessary to have an accurate indication of the voltage present. The circuit employs the ADC (Analogue to Digital Converter) I.C. CL7107 made by INTERSIL. This IC incorporates in a 40 pin case all the circuitry necessary to convert an analogue signal to digital and can drive a series of four seven segment LED displays directly. The circuits built into the IC are an analogue to digital converter, a comparator, a clock, a decoder and a seven segment LED display driver. The circuit as it is described here can display any DC voltage in the range of 0-1999 Volts. Technical Specifications - Characteristics Supply Voltage: ............. +/- 5 V (Symmetrical) Power requirements: ..... 200 mA (maximum) Measuring range: .......... +/- 0-1,999 VDC in four ranges Accuracy: ....................... 0.1 % FEATURES Small size Easy construction

AT89C51单片机英文文献附带翻译

AT89C51的概况 一 AT89C51应用 单片机广泛应用于商业:诸如调制解调器,电动机控制系统,空调控制系统,汽车发动机和其他一些领域。这些单片机的高速处理速度和增强型外围设备集合使得它们适合于这种高速事件应用场合。然而,这些关键应用领域也要求这些单片机高度可靠。健壮的测试环境和用于验证这些无论在元部件层次还是系统级别的单片机的合适的工具环境保证了高可靠性和低市场风险。Intel 平台工程部门开发了一种面向对象的用于验证它的AT89C51 汽车单片机多线性测试环境。这种环境的目标不仅是为AT89C51 汽车单片机提供一种健壮测试环境,而且开发一种能够容易扩展并重复用来验证其他几种将来的单片机。开发的这种环境连接了AT89C51。本文讨论了这种测试环境的设计和原理,它的和各种硬件、软件环境部件的交互性,以及如何使用AT89C51。 1.1 介绍 8 位AT89C51 CHMOS 工艺单片机被设计用于处理高速计算和快速输入/输出。MCS51 单片机典型的应用是高速事件控制系统。商业应用包括调制解调器,电动机控制系统,打印机,影印机,空调控制系统,磁盘驱动器和医疗设备。汽车工业把MCS51 单片机用于发动机控制系统,悬挂系统和反锁制动系统。AT89C51 尤其很好适用于得益于它的处理速度和增强型片上外围功能集,诸如:汽车动力控制,车辆动态悬挂,反锁制动和稳定性控制应用。由于这些决定性应用,市场需要一种可靠的具有低干扰潜伏响应的费用-效能控制器,服务大量时间和事件驱动的在实时应用需要的集成外围的能力,具有在单一程序包中高出平均处理功率的中央处理器。拥有操作不可预测的设备的经济和法律风险是很高的。一旦进入市场,尤其任务决定性应用诸如自动驾驶仪或反锁制动系统,错误将是财力上所禁止的。重新设计的费用可以高达500K 美元,如果产品族享有同样内核或外围设计缺陷的话,费用会更高。另外,部件的替代品领域是极其昂贵的,因为设备要用来把模块典型地焊接成一个总体的价值比各个部件高几倍。为了缓和这些问题,在最坏的环境和电压条件下对这些单片机进行无论在部件级别还是系统级别上的综合测试是必需的。Intel Chandler 平台工程组提供了各种单片机和处理器的系统验证。这种系统的验证处理可以被分解为三个主要部分。系统的类型和应用需求决定了能够在设备上执行的测试类型。 1.2 AT89C51提供以下标准功能:

单片机的外文文献及中文翻译

SCM is an integrated circuit chip, is the use of large scale integrated circuit technology to a data processing capability of CPU CPU random access memory RAM, read-only memory ROM, a variety of I / O port and interrupt system, timers / timer functions (which may also include display driver circuitry, pulse width modulation circuit, analog multiplexer, A / D converter circuit) integrated into a silicon constitute a small and complete computer systems. SCM is also known as micro-controller (Microcontroller), because it is the first to be used in industrial control. Only a single chip by the CPU chip developed from a dedicated processor. The first design is by a large number of peripherals and CPU on a chip in the computer system, smaller, more easily integrated into a complex and demanding on the volume control device which. The Z80 INTEL is the first designed in accordance with this idea processor, then on the development of microcontroller and dedicated processors will be parting ways. 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 based 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 with the great development of consumer electronics, microcontroller technology has been a huge increase. With INTEL i960 series, especially the later series of widely used ARM, 32-bit microcontroller quickly replace high-end 16-bit MCU status and enter the mainstream market. The traditional 8-bit microcontroller performance have been the rapid increase capacity increase compared to 80 the number of times. Currently, high-end 32-bit microcontroller clocked over 300MHz, the performance catching the mid-90s dedicated processor, while the average model prices fall to one U.S. dollar, the most high-end [1] model only 10 dollars. Modern SCM systems are no longer only in the development and use of bare metal environment, a large number of proprietary embedded operating system is widely used in the full range of SCM. The handheld computers and cell phones as the core processing of high-end microcontroller can even use a dedicated Windows and Linux operating systems. 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 is 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, handheld 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 the work. General car with more than 40 microcontroller, a complex industrial control systems may even hundreds of single chip at the same time work! SCM is not only far exceeds the number of PC and other computing the sum, or even more than the number of human beings. Single chip, also known as single-chip microcontroller, it is not complete a certain logic chips, but to a computer system integrated into a chip. Equivalent to a

单片机文献中英对照

广东工业大学 本科毕业设计(论文) 外文参考文献译文及原文 系部 专业自动化 年级 2006级 班级名称 学号 学生姓名 指导教师 2009年6月 目录 外文文献译文 (1) 1.单片机定义 (1) 2.单片机介绍 (2)

3.单片机历史 (3) 4.单片机的应用领域 (4) 5.at89c52单片机介绍 (6) 外文文献原文 (8) 1. The definition of a single-chip (8) 2. single-chip introduced (9) 3. single-chip history (11) 4. single-chip applications (12) 5.at89c52 chip explains (14)

外文文献译文 1.单片机定义 单片机是指一个集成在一块芯片上的完整计算机系统。尽管他的大部分功能集成在一块小芯片上,但是它具有一个完整计算机所需要的大部分部件:CPU、内存、内部和外部总线系统,目前大部分还会具有外存。同时集成诸如通讯接口、定时器,实时时钟等外围设备。而现在最强大的单片机系统甚至可以将声音、图像、网络、复杂的输入输出系统集成在一块芯片上。 单片机也被称为微控制器(Microcontroller),是因为它最早被用在工业控制领域。单片机由芯片内仅有CPU的专用处理器发展而来。最早的设计理念是通过将大量外围设备和CPU集成在一个芯片中,使计算机系统更小,更容易集成进复杂的而对体积要求严格的控制设备当中。INTEL的Z80是最早按照这种思想设计出的处理器,从此以后,单片机和专用处理器的发展便分道扬镳。 早期的单片机都是8位或4位的。其中最成功的是INTEL的8031,因为简单可靠而性能不错获得了很大的好评。此后在8031上发展出了MCS51系列单片机系统。基于这一系统的单片机系统直到现在还在广泛使用。随着工业控制领域要求的提高,开始出现了16位单片机,但因为性价比不理想并未得到很广泛的应用。90年代后随着消费电子产品大发展,单片机技术得到了巨大的提高。随着INTEL i960系列特别是后来的ARM系列的广泛应用,32位单片机迅速取代16位单片机的高端地位,并且进入主流市场。而传统的8位单片机的性能也得到了飞速提高,处理能力比起80年代提高了数百倍。目前,高端的32位单片机主频已经超过300MHz,性能直追90年代中期的专用处理器,而普通的型号出厂价格跌落至1美元,最高端的型号也只有10美元。当代单片机系统已经不再只在裸机环境下开发和使用,大量专用的嵌入式操作系统被广泛应用在全系列的单片机上。而在作为掌上电脑和手机核心处理的高端单片机甚至可以直接使用专用的Windows和Linux操作系统。 单片机比专用处理器更适合应用于嵌入式系统,因此它得到了最多的应用。

单片机外文文献翻译

外文文献 一单片机简介 单片机是一种集成在电路芯片,是采用超大规模集成电路技术把具有数据处理能力的中央处理器CPU随机存储器RAM、只读存储器ROM、多种I/O口和中断系统、定时器/计时器等功能(可能还包括显示驱动电路、脉宽调制电路、模拟多路转换器、A/D转换器等电路)集成到一块硅片上构成的一个小而完善的计算机系统。 单片机也被称为微控制器(Microcontroller),是因为它最早被用在工业控制领域。单片机由芯片内仅有CPU的专用处理器发展而来。最早的设计理念是通过将大量外围设备和CPU集成在一个芯片中,使计算机系统更小,更容易集成进复杂的而对体积要求严格的控制设备当中。INTEL的Z80是最早按照这种思想设计出的处理器,从此以后,单片机和专用处理器的发展便分道扬镳。 二、单片机的发展趋势 现在可以说单片机是百花齐放,百家争鸣的时期,世界上各大芯片制造公司都推出了自己的单片机,从8位、16位到32位,数不胜数,应有尽有,有与主流C51系列兼容的,也有不兼容的,但它们各具特色,互成互补,为单片机的应用提供广阔的天地。 纵观单片机的发展过程,可以预示单片机的发展趋势,大致有: 1.低功耗CMOS MCS-51系列的8031推出时的功耗达630mW,而现在的单片机普遍都在100mW左右,随着对单片机功耗要求越来越低,现在的各个单片机制造商基本都采用了CMOS(互补金属氧化物半导体工艺)。象80C51就采用了HMOS(即高密度金属氧化物半导体工艺)和CHMOS(互补高密度金属氧化物半导体工艺)。CMOS虽然功耗较低,但由于其物理特征决定其工作速度不够高,而CHMOS则具备了高速和低功耗的特点,这些特征,更适合于在要求低功耗象电池供电的应用场合。所以这种工艺将是今后一段时期单片机发展的主要途径。 2.微型单片化 现在常规的单片机普遍都是将中央处理器(CPU)、随机存取数据存储(RAM)、只读程序存储器(ROM)、并行和串行通信接口,中断系统、定时电路、时钟电路集成在一块单一的芯片上,增强型的单片机集成了如A/D转换器、PMW(脉宽调制电路)、WDT(看门狗)、有些单片机将LCD(液晶)驱动电路都集成在单一的芯片上,这样单片机包含的单元电路就更多,功能就越强大。甚至单片机厂商还可以根据用户的要求量身定做,制造出具有自己特色的单片机芯片。此外,现在的产品普遍要求体积小、重量轻,这就要求单片机除了功能强和功耗低外,还要求其体积要小。现在的许多单片机都具有多种封装形式,其中SMD(表面封装)越来越受欢迎,使得由单片机构成的系统正朝微型化方向发

相关文档
最新文档