logo资料库

单片机温湿度控制论文英文文献(基于_C8051F).pdf

第1页 / 共4页
第2页 / 共4页
第3页 / 共4页
第4页 / 共4页
资料共4页,全文预览结束
2011 International Coriference on Electronics and Optoelectronics (ICEOE 2011) Design of Temperature and Humidity Intelligent Control System Based on C8051F Peng Wang Logistics management Baoding, office of Baoding Hebei, China University 5615134@qq.com especially and humidity production, temperature In industrial the temperature paper from two aspects that in heat control is becoming more Abstract- are common main manipulated parameters, treatment industry, and more important.This hardware and software introduced (SCM) C8051F intelligent temperature system, and described schematic diagram of hardware and software. The design adds the integration concentration communication practical and control system. of carbon dioxide and light intensity detection and necessary function. It is a more humanized and more intelligent temperature and humidity measurement and humidity control single-chip microcomputer Keyword-C8051F; Temperature control; C02 and humidity GSM concentration measurement; sensor; and situation or accident input and display module, keyboard (take fire for example) GSM and alarm module. appear alarm immediately with manager timely in order to solve The whole system based on SCM, including data and testing overrun the system ought to automatic communicate problems. collection module, and treatment of various workshop, data achieved determine and if it is beyond, The system's sent SMS, timely communicate e_l_. _ ...., overall diagram shown as shown in figur � analog parameters will feed into SCM , where the and environmental and the results the AID convertion, whether the collected data beyond the set range about what the control Data collection, the collection and analysis, to managers. can complete scheme then and storage detection in production and amplification GSM I. INTRODUCTION Coom.m icatioo module and environmental Figure 1. System Hardware Diagram become the hot topics that people and temperature and the most difficult Indus­ trial produ­ ctim And in some industrial envir­ OIlll
201 I International Coriference on Electronics and Optoelectronics (lCEOE 201 I) So, this design chose high-precision Control registers. configured Crossbar to appear on the Port I/O pins specified in the The C8051 F020 has an on-chip 12-bit input multiplexer SAR ADC( ADCO) gain and programmable accuracy of 100ksps, Registers. Function temperature the ADC with an INL of ±1 LSB. The ADC With a maximum throughput 12-bit with a 9-channel amplifier. offers true is under full control of the CIP-51 micro controller via its associated One input Channel is Special tied to an internal while the other eight channels Each pair of the eight are available external input channels single-ended inputs integratedwith Detector PGAO, Data Conversion all configurable Function Registers Family includes and SM Bus/I2C. sensor, externally. as either two can be configured The ADC is differential input. and Programmable Window (see block diagram in Figure 2).The AMUXO, are under software control shown in Figure 2.The C8051F020 MCU Modes, and Window Detector track-and-hold two Enhanced Full-Duple UART, SPI Bus, or a single via the Special of indoor environment measurement. to the requirements of HS 110 I are extremely humidity sensor HS 11 01[2]. The main corresponded humidity capacitive characteristics good linear A wide span range (0 � 100% RH); Less affected range from -44°C to + temperature, in the range (0 � 100% 100 °C; Relative RH), the electric capacity changes from 162pF to 200pF, the error is not more than ±2% RH; Short response 5s); Extremely strong stability and high reliability. temperature operating humidity changes output; by the time (about The sensor can be widely used in automatic but to high humidity and sensor use TGS4160[3J Carbon dioxide concentrations This sensor possesses strong stability, by US FIGARO company. of resistance system or long-term produced small volume, long life, good selectivity, also has the characteristic low temperature. ventilation on. The main characteristics range: 0 � 5000ppm;Temperature Humidity range : 5% � 95% RH; Working voltage V ± 0.2 V; Internal voltage: 0 � 3V; Output and carbon dioxide good linear relationship. thermistors: range: -10 °C � + 70 °C; : DC 5.0 lOOK n ± 5% ; Output concentration is Light intensity sensor adopts silicon stable performance, photocell. long life, a wide Silicon response possesses photocell range of spectral and high temperature most promising linear relationship photocell measuring device. bandwidth: Working temperature: 150mW; Sensitivity: 1000mW/cm2 resistant, is the most widely used, the There is a good components. light metering between the output voltage N526[4] with light intensity, range required, The main features so choose JY526 as metering of JY526: range of spectrum which meets of silicon 400 � 1100nm; Peak wavelength : 940nm; (+ 25 °C); Response time: 20ns. -25� +85 °C; Power dissipation: 0.62 mA/mW; Flux: the Ix monitoring of TGS4160: Measurement of co2 gas and so ,good frequency characteristics B SCM Selection ADC with PGA and analog Select C8051F series SCM [5J. This kind of SCM is (PGA), True with Programmable Gain Amplifier ,64k bytes of in-system provided 12-bit 100ksps 8-channel multiplexer memory, 4352(4096+256) Programmable capture/compare boundary of C8051F020 is specified voltage. power consumption. electricity modules, Multiple scan, owns enough on-chip 16-bit Counter/Timer programmable FLASH bytes of on-chip RAM, Array with five On-board JTAG debug and resources . Each MCU for 2.7V-to-3.6V saving and stop mode, low operation The C8051F020 family utilizes Cygnal's proprietary core. The CIP-51 is fully compatible CIP-51 micro controller with the MCS-51TM instruction compilers employs a pipelined instruction architecture put over the standard and can be used to develop software.The assemblers CIP-51 set; standard that greatly increases 8051 architecture. through its The C8051 F020 have 4 ports of the standard 8051 and 4 for a total of 64 general-purpose port I/O. ports, additional The on-chip counter/timers, interrupts,ADC Start of Conversion outputs,and Other digital signals serial buses, HW in the controller can be input,comparator Figure 2. 1 2-Bit ADCO Functional Block Diagram IV. COMMUNICATION MODULE DESIGN Communication module mainly completes the among the MCU,TC351 module and SIM card, connection and the control communication to adjust immediately. control system more human, system, with managers. of temperature and humidity It is convenient and the for managers Compared with simple automatic communication module design makes the intelligent, and higher reliability. into five categories: connector between SIM card, audio interface modems launched These 40 pins can be divided TC351 has 40 feet socket) 1 � 14 feet is for power supply parts: Design select and use GSM to communicate mobile. TC351 is one of GSM by Siemens. and I � 5 for the input Vbatt +, 6 � 10 for power to microcontroller and users' wireless (figure 3) led by a ZIF (zero resistance derivation. power, data input/output, control. power supply voltage GND, 11, 12 for charging voltage connecting resistor. used to detect inserted, this pin is a high level, normal working condition. available part: 15 is IGT (Ignition) and 32 feet are controlling ,it must be given a low level for more than lOOms after TC351 electrified, CCIN pin is . If a SIM card is the system can enter into the circuit), temperature 24 � 29 for a SIM card pin, additive then the module can be started; if the SIM card is inserted with the phone handles. 14 is ACCU-TEMP for (used for external to connect negative 15 and 30, 31 pins , 13 for external output coefficient thermal 30 is RTC backup; 33 � 40 are voice interface, V3-64
2011 International Coriference on Electronics and Optoelectronics (ICEOE 2011) pins. TC351 support GSM07.05 specification 31 is Power down ; 32 is SYNc. 16 � 23 are data input/output communications and the standard and TXDO), 3.3 V, 2 A power interface, indicator follow GSMll.l standards. asynchronous The configuration bit, no parity bit, the default TC351 data interface work in CMOS level (2.65 V). of data interface baud rate 9600bps. is 8 data bits, a stop transceiver, pins SYNC, start pin IGT and SIM card interface working status using serial serial (RXDO Figure 4. C80SlF020 SCM Peripheral circuit diagram B Microcontroller Program Flow Design SI!\l C.ud COJUtector SCM CSO�lF Figure 3. TC3S1 Peripheral Circuit Diagram V. HARDWARE CIRCUIT DESIGN AND MAIN SOFTWARE FLOW DESIGN A Hardware Circuit Design +--�d oPt manual adjustllle /control The core of the whole circuit (figure 4) is C8051F020 with the sensor signal acquisition connect SCM, respectively module (omit), microcontroller-tum- circuit, figure 3 . the keyboard serial and TC35I communication interface and display module (omit), reset and crystal circuit, module, etc. shown in Figure S. Microcontroller Main Program Flowchart then via microcontroller humidity sensor, because Sensor signal acquisition module briefly described output (close as output testing after calculated frequency, , so choose 555 one sampling swings circuit to ideal current value to calculate metal resistance voltage signal, value by MCU, then according resistance ), can get the HS 11 01 is capacitive can not measure directly AD590 itself is current only after connecting (high-precision follows: source), current corresponding processing; capacitance resonance capacitance capacitance type C02 sensor is a kind of electrochemical sensitive components, gas milieu, silicon photocell convert photoelectric when light irradiate electromotance electrode, it can output voltages them to the microcontroller exposed to C02 reaction; JY526 devices directly energy , belong to rectifier It has a large areas of pn junction, , they generatein will create electrochemical Between the Just connect on both ends of pn junction. is a semiconductor light into electrical when this element pn junction and currents analog input port . element. relevant type gas to the humidity; TGS4160 SCM serial port is TTL level, So it should connect level. low baud rate or in small data communication it also can no connect. level change device. while TC351 using CMOS But when in circumstance C Summary Compared with traditional MCS -51 SCM, this design as of GSM communication ADC, in of chosen C8051 F MCU Family built-in speed is is simple a lot, and response the circuit Also in program design is easier. The module make and and of science system, this a result structure greatly get ascend; introduction application flexible technology. design has gain a further of performance Temperature has been improved. sensor choose integrated for using. It is with the development control , and various of the design more widely, convenient Compared with previous developement aspects temperature So, this sensor produced capacitive humidity sensor by America AD company[l]. AD590 developed design chose high-precision HS 11 01 [2]. Carbon dioxide concentrations sensor use TGS4160[3] good linear photocell measuring device.Select provided 12-bit 100ksps 8-channel multiplexer by US FIGARO company. relationship the output voltage between lY526[4] with light intensity, range required, ,64k bytes of in-system with Programmable programmable FLASH Gain Amplifier so choose lY526 as metering SCM [5]. This kind of SCM is There is a of silicon ADC with PGA and analog C8051F series which meets (PGA), True V3-65
2011 International Coriference on Electronics and Optoelectronics (ICEOE 2011) bytes of on-chip RAM , memory, 4352(4096+256) Programmable capture/compare boundary scan, owns enough on-chip resources. COMMUNICATION MODULE DESIGN (6]�(7]. Array with five On-board JTAG debug and 16-bit Counter/Timer modules, REFERENCES [I] Wang Min .The research temperature 2007 and humidity, of measurement carbon dioxide system of and control in Greenhouse . March [2] Zhang Min. Design of multi-point humidity detection system based on SCM. Chinese instruments. 2008. 6 monitoring [3] Peng Hongli. greenhouse Design of intelligent Environment.April 2007 and control system in [4] Du SHangfeng Research of intelligence light sensor Chinese Journal of Scientific InstrumentThe journal. [5] Pan Zhuojin (translator). C8051fD20/l/2/3 micro controller datasheet Revl.1 2002.6. 2003 the 24th, vol 4 . mixed signal ISP FLASH [6] Wu Bo, Liu Xingdong, Wu Min. Development remote alarm controller.Computer 2007,43(8)9 2-94 [7] Peng Yuping, Lin Xirong, of GSM-based general Engineering and Applications, Li Jianrong. Development of GSM-based TC35! remote alarm and control technology device. and implementation. 2008,4 product design of security V3-66
分享到:
收藏