03中英文翻译.doc

基于单片机控制的智能空调系统【说明书论文开题报告外文翻译】

收藏

压缩包内文档预览:
预览图 预览图 预览图 预览图 预览图 预览图 预览图 预览图
编号:10276633    类型:共享资源    大小:21.14MB    格式:ZIP    上传时间:2018-07-09 上传人:小*** IP属地:福建
50
积分
关 键 词:
基于 单片机 控制 节制 智能 空调 系统 说明书 仿单 论文 开题 报告 讲演 呈文 外文 翻译
资源描述:
基于单片机控制的智能空调系统【说明书论文开题报告外文翻译】,基于,单片机,控制,节制,智能,空调,系统,说明书,仿单,论文,开题,报告,讲演,呈文,外文,翻译
内容简介:
0译文题目:Design of the Temperature Control System 温度控制系统的设计 Design of the Temperature Control System ABSTRACT The principle and functions of the temperature control system based on microcontroller AT89S51 are studied, and the temperature measurement unit consists of the 1-Wire bus digital temperature sensor DS18B20. The system can be expected to detect the preset temperature, display time and save monitoring data. An alarm will be given by system if the temperature exceeds the upper and lower limit value of the temperature which can be set discretionarily and then automatic control is achieved, thus the temperature is achieved monitoring intelligently within a certain range. Basing on principle of the system, it is easy to make a variety of other non-linear control systems so long as the software design is reasonably changed. The system has been proved to be accurate, reliable and satisfied through field practice.KEYWORDS: AT89S51; microcontroller; DS18B20; temperatureI. INTRODUCTIONTemperature is a very important parameter in human life. In the modern society, temperature control (TC) is not only used in industrial production, but also widely used in other fields. With the improvement of the life quality, we can find the TC appliance in hotels, factories and home as well. And the trend that TC will better serve the whole society, so it is of great significance to measure and control the temperature.Based on the AT89S51 and temperature sensor DS18B20, this system controls the condition temperature intelligently. The temperature can be set discretionarily within a certain range. The system can show the time on LCD, and save monitoring data; and automatically control the temperature when the condition temperature exceeds the upper and lower limit value. By doing so it is to keep the temperature unchanged. The system is of high anti-jamming, high control precision and flexible design; it also fits the rugged environment. It is mainly used in peoples life to improve the quality of the work and life. It is also versatile, so that it can be convenient to extend the use of the system. So the design is of profound importance. The general design, hardware design and software design of the system are covered. II. SYSTEM GENERAL DESIGN The hardware block diagram of the TC is shown in Fig. 1. The system hardware includes the microcontroller, temperature detection circuit, keyboard control circuit, clock circuit, Display, alarm, drive circuit and external RAM. Based on the AT89S51, the DS18B20 will transfer the temperature signal detected to digital signal. And the signal is sent to the microcontroller for processing. At last the temperature 1value is showed on the LCD 12232F. These steps are used to achieve the temperature detection. Using the keyboard interface chip HD7279 to set the temperature value, using the microcontroller to keep a certain temperature, and using the LCD to show the preset value for controlling the temperature. In addition, the clock chip DS1302 is used to show time and the external RAM 6264 is used to save the monitoring data. An alarm will be given by buzzer in time if the temperature exceeds the upper and lower limit value of the temperature. III. HARDWARE DESIGN A.MicrocontrollerThe AT89S51 is a low-power, high-performance CMOS 8-bit microcontroller with 4K bytes of in-system programmable Flash memory. The device is manufactured using Atmels high-density nonvolatile memory technology and is compatible with the industry-standard 80C51 instruction set and pinout. 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 in-system programmable Flash on a monolithic chip, the Atmel AT89S51 is a powerful microcontroller which provides a highly-flexible and cost-effective solution to many embedded control applications. Minimum system of the microcontroller is shown in Fig. 2. In order to save monitoring data, the 6264 is used as an external RAM. It is a static RAM chip, low-power with 8K bytes memory.B. Temperature Detection Circuit The temperature sensor is the key part in the system. The Dallas DS18B20 is used, which supports the 1-Wire bus interface, and the ON-BOARD Patented is used internally. All the sensor parts and the converting circuit are integrated in integrated circuit like a transistor 1. Its measure range is -55 125 , and the precision between -10 85 is 0.5 2 ,3. The temperature collected by the DS18B20 is transmitted in the 1-Wire bus way, and this highly raises the system anti-jamming and makes it fit in situ temperature measurement of the rugged environment 4. There are two power supply ways for the DS18B20. The first is external power supply: the first pin of the DS18B20 is connected to the ground; the second pin serves as signal wire and the third is connected to the power. The second way is parasite power supply 5. As the parasite power supply will lead to the complexity of the hardware circuit, the difficulty of the software control and the performance degradation of the chip, etc. But the DS18B20(s) can be connected to the I/O port of the microcontroller in the external power supply way and it is more popular. Therefore the external power supply is used and the second pin is connected to the pin P1.3 of the AT89S51. Actually, if there are multipoint to be detected, the DS18B20(s) can be connected to the 1-Wire bus. But when the number is over 8, there is a concern to the driving and the more complex software design as well as the length of the 1-Wire bus. Normally it is no more than 50m. To achieve distant control, the system can be designed in to a wireless one to break the length limit of the 1-Wire bus 6. C. LCD Circuit The LCD 12232F is used, which can be used to show characters, temperature value and time, and supply a friendly display interface. The 12232F is a LCD with 8192 12832 2pixels Chinese character database and 128 168 pixels ASCII character set graphics. It mainly consists of row drive/column drive and 12832 full lattice LCD with the function of displaying graphics as well as 7.52 Chinese characters. It is in a parallel or serial mode to connect to external CPU 7. In order to economize the hardware resource, the 12232F should be connected to the AT89S51 in serial mode with only 4 output ports used. The LCD grayscale can be changed by adjusting the variable resistor connected the pin Vlcd of the LCD. CLK is used to transmit serial communication clock. SID is used to transmit serial data. CS is used to enable control the LCD. L+ is used to control the LCD backlight power. D. Clock Circuit The Dallas DS1302 is used, which is a high performance, low-power and real-time clock chip with RAM. The DS1302 serves in the system with calendar clock and is used to monitor the time. The time data is read and processed by the AT89S51 and then displayed by the LCD. Also the time can be adjusted by the keyboard. The DS1302 crystal oscillator is set at 32768Hz, and the recommended compensation capacitance is 6pF. The oscillator frequency is lower, so it might be possible not to connect the capacitor, and this would not make a big difference to the time precision. The backup power supply can be connected to a 3.6V rechargeable battery.E. Keyboard Control CircuitThe keyboard interface in the system is driven by the HD7279A which has a +5V single power supply and which is connected to the keyboard and display without using any active-device. According to the basic requirements and functions of the system, only 6 buttons are needed. The systems functions are set by the AT89S51 receiving the entered data. In order to save the external resistor, the 16 keyboard is used, and the keyboard codes are defined as: 07H, 0FH, 17H, 1FH, 27H, 2FH. The order can be read out by reading the code instruction. HD7279A is connected to the AT89S51 in serial mode and only 4 ports are need. As shown in Fig. 6, DIG0DIG5 and DP are respectively the column lines and row line ports of the six keys which achieve keyboard monitoring, decoding and key codes identification. F. Alarm Circuit In order to simplify the circuit and convenient debugging, a 5V automatic buzzer is used in the alarm circuit 8. And this make the software programming simplified. As shown in Fig. 7, it is controlled by the PNP transistor 9012 whose base is connected to the pin P2.5 of the AT89S51. When the temperature exceeds the upper and lower limit value, the P2.5 output low level which makes the transistor be on and then an alarm is given by the buzzer.G. Drive Circuit A step motor is used as the drive device to control the temperature. The four-phase and eight-beat pulse distribution mode is used to drive motor and the simple delay program is used to handle the time interval between the pulses to obtain different rotational speed. There are two output states for the step motor. One: when the temperature is over the upper value, the motor rotates reversely (to low the temperature), while when lower than the lower limit value, the motor rotates normally (to raise the temperature); besides not equals the preset value. Two: when the 3temperature is at somewhere between the two ends and equals the preset value, the motor stops. These steps are used to achieve the temperature control. In addition, the motor speed can also be adjusted by relative buttons. As shown in Fig. 8, the code data is input through ports A11A8 (be P2.3P2.0) of the AT89S51 and inverted output by the inverter 74LS04. Finally it is amplified by the power amplifier 2803A to power the motor.IV. SOFTWARE DESIGN According to the general design requirement and hardware circuit principle of the system, as well as the improvement of the program readability, transferability and the convenient debugging, the software design is modularized. The system flow mainly includes the following 8 steps: POST (Power-on self-test), system initiation, temperature detection, alarm handling, temperature control, clock chip DS1302 operation, LCD and keyboard operation. The main program flow is shown in Fig. 9. Give a little analysis to the above 8 tasks, it is easy to find out that the last five tasks require the real time operation. But to the temperature detection it can be achieved with timer0 timing 1 second, that is to say temperature detection occurs per second. The system initiation includes global variable definition, RAM initiation, special function register initiation and peripheral equipment initiation. Global variable definition mainly finishes the interface definition of external interface chip connected to the AT89S51, and special definition of some memory units. RAM initiation mainly refers to RAM processing. 温度控制系统的设计摘要:研究了基于 AT89S 51 单片机温度控制系统的原理和功能,温度测量单元由 单总线数字温度传感器 DS18B 20 构成。该系统可进行温度设定,时间显示和保存 监测数据。如果温度超过任意设置的上限和下限值,系统将报警并可以和自动控制 的实现,从而达到温度监测智能一定范围内。基于系统的原理,很容易使其他各种 非线性控制系统,只要软件设计合理的改变。该系统已被证明是准确的,可靠和满 意通过现场实践。关键词:单片机;温度;温度 I. 导言 温度是在人类生活中非常重要的参数。在现代社会中,温度控制(TC)不4仅用 于工业生产,还广泛应用于其它领域。随着生活质量的提高,我们可以发现在酒店, 工厂和家庭,以及比赛设备。而比赛的趋势将更好地服务于整个社会,因此它具有 十分重要的意义测量和控制温度。 在 AT89S51 单片机和温度传感器 DS18B20 的基础上,系统环境温度智能控 制。温度可设定在一定范围内动任意。该系统可以显示在液晶显示屏的时间,并保 存监测数据,并自动地控制温度,当环境温度超过上限和下限的值。这样做是为了 保持温度不变。该系统具有很高的抗干扰能力,控制精度高,灵活的设计,它也非 常适合这个恶劣的环境。它主要应用于人们的生活,改善工作和生活质量。这也是 通用的,因此它可以方便地扩大使用该系统。因此,设计具有深刻的重要性。一般 的设计,硬件设计和软件系统的设计都包括在内。II. 系统总体设计该系统硬件包括微控制器,温度检测电路,键盘控制电路,时钟电路,显示, 报警,驱动电路和外部 RAM。基于 AT89S51 单片机,DS18B20 的将温度信号传送到数 字信号的检测。和信号发送到微控制器进行处理。最后,温度值显示在液晶 12232F。 这些步骤是用来实现温度检测。使用键盘接口芯片 HD7279在设定温度值,使用微控 制器保持一定的温度,并使用液晶显示的温度控制设定值。此外,时钟芯片 DS1302 用于显示时间和外部 RAM6264 是用来保存监测数据。报警将给予及时蜂鸣器如果温 度超过了上限和下限温度值。III. 硬件设计A. 微控制器 在 AT89S51 单片机是一种低功耗,高性能 CMOS 8 位 4K 的系统内可编程闪存字节 微控制器。该设备是采用 Atmel 的高密度非易失性内存技术,并与业界标准的 80C51 指令集和引脚兼容。片上闪存程序存储器可以编程就可以在系统或由传统的非易失 性存储器编程。通过结合在系统灵活的 8 位 CPU 集成在一个芯片可编程闪存,Atmel 的单片机 AT89S51 是一个功能强大的微控制器提供了一个高度灵活的和具有成本效 益的解决方案很多嵌入式控制应用。为了节省监测数据,6264 是用来作为外部 RAM。 它是一个静态 RAM 芯片,低功耗具有 8K 字节的内存。B. 温度检测电路 5温度传感器是该系统的关键部分。达拉斯 DS18B20 的使用,它支持 1 - Wire 总线接口,板上专利是在内部使用。所有的传感器部分和转换电路集成在一个晶体 管集成电路像 1。其测量范围为-55 9 1125,在-10 9 185精度为0.52, 3。由 DS18B20 的温度采集传输在 1 - Wire 总线的方式,这种高度提高了系统的 抗干扰,使之适合在恶劣的环境现场温度测量4。有两个电源 DS18B20 的供应方 式。首先是外部电源供给:DS18B20 的第一脚连接到地面,第二引脚用作信号线, 三是连接到电源。第二种方式是寄生电源5。由于寄生电源会导致硬件电路,软 件控制的难度和芯片的性能下降等,但DS18B20 的(s)的复杂性,可以连接到 I/ O 端口的单片机在外部电源供电方式,它更受欢迎。因此,外部电源供应使用,而第 二个接脚连接到引脚 P1.3 可单片机 AT89S51。其实,如果多有被检测,DS18B20 的 (S)可以连接到 1 - Wire 总线。但是,当数超过 8,有一个向驾驶和更复杂的软 件设计,以及1 - Wire 总线长度的关注。一般而言,这是不超过 50 米。为了实现 远程控制,该系统可在一个无线之一,旨在打破了 1 - Wire 总线长度的限制6。 C. LCD 显示器电路 液晶显示 12232F 使用,这可以用来显示字符,温度值和时间,并提供一个友好 的显示界面。该 12232F 是一个具有 819212832 像素的汉字数据库和128 个 16 8 像素的 ASCII 字符集图形液晶显示。它主要由行驱动器/列驱动器和 128 32 点阵 的充分显示图形,以及 7.5 2 个汉字功能的液晶显示器。它是在并行或串行方式 连接到外部 CPU7。为了节约硬件资源,12232F 应以串
温馨提示:
1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
2: 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
3.本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
提示  人人文库网所有资源均是用户自行上传分享,仅供网友学习交流,未经上传用户书面授权,请勿作他用。
关于本文
本文标题:基于单片机控制的智能空调系统【说明书论文开题报告外文翻译】
链接地址:https://www.renrendoc.com/p-10276633.html

官方联系方式

2:不支持迅雷下载,请使用浏览器下载   
3:不支持QQ浏览器下载,请用其他浏览器   
4:下载后的文档和图纸-无水印   
5:文档经过压缩,下载后原文更清晰   
关于我们 - 网站声明 - 网站地图 - 资源地图 - 友情链接 - 网站客服 - 联系我们

网站客服QQ:2881952447     

copyright@ 2020-2025  renrendoc.com 人人文库版权所有   联系电话:400-852-1180

备案号:蜀ICP备2022000484号-2       经营许可证: 川B2-20220663       公网安备川公网安备: 51019002004831号

本站为文档C2C交易模式,即用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知人人文库网,我们立即给予删除!