分布式温度传感器[中文4137字] 【中英文WORD】
分布式温度传感器[中文4137字] 【中英文WORD】,中文4137字,中英文WORD,分布式温度传感器[中文4137字],【中英文WORD】,分布式,温度传感器,中文,4137,中英文,WORD
外文文献资料
Distributed Temperature Sensor
1.Sensor introduction
1.1 Temperature sensor background
In the human living environment, temperature playing an extremely important role。No matter where you live, engaged in any work, ever-present dealt with temperature under. Since the 18th century, industry since the industrial revolution to whether can master send exhibition has the absolute temperature touch. In metallurgy, steel, petrochemical, cement, glass, medicine industry and so on, can say almost eighty percent of industrial departments have to consider the factors with temperature. Temperature for industrial so important, thus promoting the development of the temperature sensor.
1.2 Temperature sensor development
Major general through three sensor development phase: analog integrated temperature sensor. The sensor is taken with silicon semiconductor integrated workmanship, therefore also called silicon sensor or monolithic integrated temperature sensor. Such sensing instruments have single function (only measuring temperature), temperature measurement error is smaller, price low, fast response, the transmission distance, small volume, micro-consumption electronic etc, suitable for long distance measurement temperature, temperature control, do not need to undertake nonlinear calibration, peripheral circuit is simple. It is currently the most common application at home and abroad, an integrated sensor。Typical products have AD590 AD592, TMP17, LM135, etc.jAnalog integrated temperature controller. Analog integrated temperature controller mainly include temperature control switch, programmable temperature controller, a typical product have LM56, AD22105 and MAX6509. Some increase strength type integrated temperature controller (for example TC652/653) also contains the A/D converter and cure good sequence, this process with the intelligent temperature sensor some similarities. But it is not its system, work by micro processing device control, this is the main difference between. Intelligent temperature sensor. intelligent temperature sensor (also called digital temperature degrees sensor) is in the mid 1990s launch. It is microelectronics technology, computer technology and the dynamic testing technology (ATE) crystallization. Intelligent temperature sensor internal contain temperature sensor, A/D converter, signal processor, memory (or registers) and interface circuit. Some products still take multiplexer, central control system device (CPU), random access memory (RAM) and read only memory (ROM). Intelligent temperature sensor is characteristic of temperature data and relevant can output the temperature control of the quantity, adaptation various micro controller (MCU);
1.3 Single point and more temperature sensor
The development trend of the temperature sensor. In the 21st century, the temperature sensor is headed in high precision, multi-function, bus, standardization, high reliability and safety, development of virtual sensor and network sensor, research monolithic temperature measuring system and other high-tech direction develop rapidly. Sensors in the application temperature controlling system. Current market exists mainly single point and more two temperature measurement. For single point temperature foundment instrument, mainly adopts the traditional analog integrated temperature sensor, which heat resistance, thermocouple sensors measuring accuracy, high measurement range, and got the general application. This product is temperature measuring range ℃ ~ 200 mostly between 800 ℃, resolution 12th, and least distinguishable temperature in 0.001 ~ 0.01 between. Cabin LED display module, shows ranging from 4 to 16. Some instruments also has memory function, can store several hundred to a few thousand sets of data. This instrument can be very good meet a single user single-point measurement needs. More temperature measurement, relative and single point measurement precision has certain gap, although realized the multi-channel temperature measurement and control, but the price is expensive. In view of the present market situation, proposed this topic can satisfy requirements, scalable and cost-effective single-chip multi-channel temperature measuring system. Through the first temperature sensor DS18B20 acquisition, and then through the C51 SCM processing and displayed on the digital tube, can be collected indoor or a greenhouse around in different locations of the temperature, with four digital tube to display. The first digital pipe display acquisition is which way, which channel. Three digital pipe display after the acquisition channel by temperature, accurate to 0.1 degrees.
2. The system realized and related technologies
2.1.The system is realized
By the whole control system for core AT89C51, using four ways of temperature sensor DS18B20 in production site for distribution area of four different temperature measurement result with the chip checking, collation store and display, and through the button control, temperature will process after the LED digital display to come out, and the software assurance system anti-interference capacity。four DS1820 connected to MCU respectively, this scheme four IO mouth occupy MCU four IO though, but the microcontroller IO mouth under the condition of mouth not shortage by this scheme greatly simplify programming difficulty, shorten the design cycle, also can guarantee the stability of the system. A multipoint connection as shown“1-1”
DS1820
DS1820
DS1820
DS1820
AT89C51
MCU
P1.0
P1.1
P1.2
P1.3
P3.4
Display element
Button control unit
1-1 multipoint connection
2.2 .AT89C51 Chip introduction
AT89C51 is a 4K bytes FLASH Memory (Erasable Programmable and FPEROM - FLASH for the campaigns with) low voltage, high-performance CMOS eight microprocessors, commonly known as the microcontroller. AT89C2051 is a 2K bytes with flash memory can be erased programmable read-only memory , SCM can erase read-only memory can be repeated erased 1000 times. This device adopts ATMEL high-density non-volatile memory manufacturing technology manufacturing, and industrial standard MCS - 51 instruction set and output tube compatible. Due to the multifunctional 8 bits CPU and will be flashing on single chip combination of memory, ATMEL AT89C51 is a kind of high efficient micro controller, AT89C2051 is a streamlined version. AT89C 51microcontroller as many embedded control system .Arrange appearance and pin as shown in figure "1-2" shown
1-2 AT89C51 pins figure
Major features:
· and MCS - 51 compatible
· 4K bytes programmable FLASH memory
· life: 1000 write/wipe cycle
· data retention time: 10 years
· the static job: 0Hz - 24MHz
· level 3 program memory lock
· 128 x 8 bits internal RAM
· 32 programmable I/O lines
· two 16 timer
· 5 interrupt source
· programmable serial channels
· low power consumption of idle and power lost mode
· piece inside oscillator and clock circuit
Tube feet explains:
VCC: power supply voltage.
GND: grounded.
P0 Mouth: P0 mouth a eight leak level two-way I/O mouth open, every foot can absorb 8TTL gate current. When the pipe mouth P0 feet first write 1, defined as high resistance input. P0 can be used for external program data storage, it can be defined as the eighth data/address. In FIASH programming, P0 mouth as the source-code input port, when FIASH check, the source-code P0 output, when P0 external must be pulled.
P1 mouth: mouth is an internal P1 provide pull-up resistors 8-bit two-way I/O mouth, P1 mouth buffer can receive 4TTL gate current output. P1 mouth tube feet, was then write 1 for high, pull up inside can be used as input, P1 mouth be external pull down for low electricity at ordinary times, will output current, this is due to internal pull up sake. In FLASH programming and calibration, P1 mouth as eighth address to receive.
P2 mouth: for an internal P2 mouth on the 8-bit pull-up resistors two-way I/O port, P2 mouth to receive, the output buffer 4 TTL gate current, when P2 mouth is written "1", its tube feet are internal pull-up resistors, and push as input. And so as the input, P2 mouth feet are external down tube, will output current. This is due to internal pull up sake. P2 mouth when used external program memory or 16 address external data memory access, P2 mouth high output address eight. In a given address "1", it using internal and external 8 address advantage, when for reading and writing data memory, P2 when the special function registers mouth output of content. P2 mouth in FLASH programming and the calibration eight address when receiving high signal and control signals.
P3 mouth: P3 mouth pipe is 8 feet with internal pull-up resistors two-way I/O port, may receive four TTL gate current out put. When P3 mouth writing "1", they are internal and high level, and used as input. As input, due to external drop-down for low level, P3 mouth will output current (ILL) this is due to pull up's sake.
RST: reset input. When oscillator reset device to keep RST feet high level two machine cycle time.
ALE/PROG: when access external storage, address latch allows the output level of the position for latch address byte. During the FLASH programming, this pin for input programming pulse. In peacetime, the ALE with a constant frequency cycle output is the pulse signal, the frequencies of the 1/6 oscillator frequency. So it can be used against external output pulse or used for timing purpose. However it is: whenever used for external data storage, will skip a ALE pulse. If you want to ban the ALE output can be in SFR8EH address for 0. At this time, only by performing the ALE MOVX, MOVC instruction is ALE to take effect. In addition, the pins were slightly up. If microprocessor in external execution ALE, buy a ban is invalid.
/ PSEN: external program memory choice of communication number. By external program memory in during the instruction fetch, each machine cycle twice /PSEN effective. But on a visit to external data storage, the two effective/PSEN signals will not appear.
/ EA/VPP: when/EA keep low levels in this period, the external program memory (0000H - FFFFH), whether have internal program memory. Note encryption method 1, / EA will RESET for internal focus; When/EA end keep high electricity at ordinary times, internal program memory here. During the FLASH programming, this pin is also used VPP 12V programming power (on).
XTAL1: the inverting oscillator amplifier input and input to the internal clock operating circuit.
XTAL2: from reverse oscillator output.
2.3.DS18B20 Chip introduction
DALLAS latest digital temperature sensor DS18B20 profile new "1-wire devices" smaller, wider and voltage applied to the DALLAS semiconductor company more economic DS1820 digital temperature sensor is the world the first piece of support "1-wire bus" interface temperature sensor. 1-wire bus unique and economic characteristics, the user can easily form sensor network for measuring system, the construction of a new concept introduction. DS18B20 "1-wire bus" with DS1820 digital temperature sensor DS18B20 also support "as 1-wire bus" interface, measuring temperature range for - 55 ° C ~ + 125 ° C, in - 10 ~ + 85 ° C range, precision ° C for + 0.5. Scene in "1-wire bus temperature directly the digital mode," can greatly improve the system of anti-jamming.
Suitable for the scene in the bad environment temperature measurement, such as: environment control, equipment or process control, temperature measurement of consumer electronics, etc. And the previous generation product is different, the new product support 3V ~ 5.5 V voltage range, make the system design more flexibly and conveniently. But a new generation of products cheaper, smaller. DS18B20 can program sets 9 ~ 12 resolution, precision ° C for + 0.5. Optional smaller encapsulation way, more wide voltage range. Resolution setting, and users set alarm temperature EEPROM, stored in power lost and still save. DS18B20 performance is the best product of new generation! Performance to price also is very good!
DS18B20 New performance:
(1) data available supply, voltage range: 3.0 ~ 5.5 V;
(2) temperature measuring range: - 55 ℃ ~ + 125 in - 10 ~ + 85 ℃ to + 0.5 ℃ when precision;
(3) programmable resolution for the 9 ~ 12, the corresponding can distinguish respectively ℃, the temperature of 0.5 ℃ and 0.125 ℃, by 0.25 0.0625 ℃;
(4) 12 resolution in most 750ms temperature into digital within;
(5) negative pressure characteristics: power at the polarity, thermometers won't because when heating and burned, but can't work normally.
DS18B20 Appearance and internal structure:
DS18B20 internal structure consists mainly of four parts: 64-bit photolithography ROM, temperature sensors, nonvolatile temperature alarm triggers TH TL, configuration and registers. DS18B20 tube feet arrangement is “1-3”, internal structure is“1-4”
1-3 DS18B20 tube feet arrangement
(1) DQ for digital signal input/output terminal;
(2) GND for power;
(3) VDD for external power supplies input (in parasitic power connection mode grounding).
1-4 internal structure
3. Debug simulation
3.1.Protues
Proteus is Labeenter electronics company research UK EDA software. Proteus is not only the analog and digital circuit, d/a hybrid circuit design and simulation platform, but also is currently the world's most advanced, the most complete various types of micro controller system design and simulation platform. It really realized complete on computer schematic design, from circuit analysis and simulation and single-chip microcomputer and grade debugging and simulation, code system test and functional verification of the PCB formation to complete the design and development process of electronic. Proteus product series also contains a revolutionary VSM technology based on micro control, can the design with all peripheral electronic device simulation together. First start Proteus and Proteus components from the library selection need drawing diagram and set component, the corresponding element parameter values
3.2. Keilc
Keil Vision 2 is about the 8051 series MCU Keil company of development tools can be used to compile C source code, assemblers source program, connection and relocation target files and libraries, gen built: documents, debugging purposes procedure, etc, it is a kind of integration of document management compile environment. It integrates document editing processing, compile connection, project management, window, tools cited and software copy true debugging and other functions, is pretty powerful development tool. In keil inside compile, the procedures required commissioning
3.3. alignment
(1) detection TCP/IP.
(2) duplicate the Proteus installation directory vdm51. Who folder keilc/C51 / DLL to bin directory.
(3) modify the installation directory Keil tools. TDRV4 = BIN, add the DLL. VDM51. \
(4) in the schematic drawing Proteus, in "Debug menu, select" Use Remote Debug hand ".
(5) in open in a project Keil, right-click Target1, choose for - Target 'Target 1'. In the open dialog box select "De - bug TAB, select and use VSM Proteus Emulator simulation (figure 6 shows), click" Ok "complete Debug Settings. 6 graph 6 such Keil Proteus and is connected, the simulation results can be in Proteus or Keil. This circuit system USES "1-wire bus" digital sensor DS18B20 to realize the collection of temperature, using seven segment digital tube data shows. Will program and simulation diagram realization circuit connected, simulation
第 15 页
中文翻译稿
分布式温度传感器
1传感器简介
1.1温度传感器的背景
在人类生活环境中,温度扮演着一个极其重要的角色。无论你住在哪里,从事什么工作,都会与温度打交道。自18世纪工业时代以来,工业革命对能否控制,发送显示温度有着绝对的联系。在冶金、锻钢、石化、水泥、医学等产业中,可以这样说几乎80%的工业部门不得不考虑温度的因素。温度对工业来说如此重要,因此也推动了温度传感器的发展。
1.2温度传感器的发展
传感器主要大体经过了三个发展阶段:模拟集成温度传感器。该传感器是采用硅半导体集成工艺制成,因此亦称硅传感器或单片集成温度传感器。此种传感器具有功能单一(仅测量温度)、 测温误差小、 价格低、 响应速度快、 传输距离远、 体积小、功耗低,适合远距离测温、控温,不需要进行非线性校准,外围电路 简单。它是目前在国内外应用最为普遍的一种集成传感器,典型产品有 AD590、 AD592、TMP17、LM135 等;模拟集成温度控制器。模拟集成温度控制器主要包括温度控制开关、可编程温度控制器,典型产品有 LM56、AD22105 和 MAX6509。某些增强型集成温度控制器(例如 TC652/653)中还包含了 A/D 转换器以及固化好的程序,这些工艺与智能温度传感器有某些相似之处。但它自成系统,工作时并不受微处理器的控制,这是智能温度传感器和非智能之间的主要区别;智能温度传感器(亦称数字温度传感器)是20世纪90年代中期问世的。它是微电子技术、计算机技术和自动测试技术(ATE)的结晶。智能温度传感器内部都包含温度传感器、A/D 转换器、 信号处理器、存储器(或寄存器)和接口电路。有的产品还带多路选择器、中央控制器(CPU)、随机存取存储器(RAM)和只读存储器(ROM)。智能温度传感器的特点 是能输出温度数据及相关的温度控制量,适配各种微控制器(MCU)。
1.3单点与多点温度传感器
温度传感器的发展趋势:进21世纪后,温度传感器正朝着高精度、多功能、总线标准化、高可靠性及安全性、开发虚拟传感器和网络传感器、研制单片测温系统等高科技的方向迅速发展。传感器在温度测控系统中的应用:目前市场主要存在单点和多点两种温度测量仪表。对于单点温测仪表,主要采用传统的模拟集成温度传感器,其中又以热电阻、热电偶等传感器的测量精度 高,测量范围大,而得到了普遍的应用。此种产品测温范围大都在-200℃~800℃ 之间,分辨率 12 位,最小分辨温度在 0.001~0.01 之间。自带 LED液晶显示模块,显示 4 位到 16 位不等。有的仪表还具有存储功能,可存储几百到几千组数据。该类仪表可很好的满足单个用户单点测量的需要。多点温度测量仪表,相对与单点的测量精度有一定的差距,虽然实现了多路温度的测控,但价格昂贵。 针对目前市场的现状,本课题提出了一种可满足要求、可扩展的并且性价比高的单片机多路测温系统。通过温度传感器 DS18B20 采集,然后通过 C51 单片机处理并在数码管上显示,可以采集室内或温室中四处不同位置的温度,用四个数码管来显示。第一个数码管显示所采集的是哪一路,哪个通道。后三个数码管显示所采集通道的温度值,精确到0.1度。
2 系统的实现及相关技术
2.1.系统的实现
整个控制系统采用AT89C51芯片,采用多线连接,就是四个DS1820分别连接到单片机的四个IO口,采集到的温度结果通过串口通信,然后芯片将采集到的数据处理,在外部显示器显示出来,并且能够实现外部键盘的控制。温度在LED液晶显示屏显示出来后,通过软件编程确保系统有一定的抗干扰能力。这种方案虽然占用单片机的四个IO口,但在单片机IO口不紧缺的情况下采用这种方案大大的简化了编程难度,缩短了设计周期,同时也能保证系统的稳定。多线连接方案的框图如“图1-1”所示
DS1820
DS1820
DS1820
DS1820
AT89C51单片机
P1.0
P1.1
P1.2
P1.3
P3.4
显示单元
按键控制单元
图1-1 DS1820多线连接方案
2.2.AT89C51单片机简介
AT89C51是一种带4K字节FLASH存储器(FPEROM—Flash Programmable and Erasable Read Only Memory)的低电压、高性能CMOS 8位微处理器,俗称单片机。AT89C2051是一种带2K字节闪存可编程可擦除只读存储器的单片机。单片机的可擦除只读存储器可以反复擦除1000次。该器件采用ATMEL高密度非易失存储器制造技术制造,与工业标准的MCS-51指令集和输出管脚相兼容。由于将多功能8位CPU和闪存存储器组合在单个芯片中,ATMEL的AT89C51是一种高效微控制器,AT89C2051是它的一种精简版本。AT89C51单片机为很多嵌入式控制系统提供了一种灵活性高且价廉的方案。外形及引脚排列如图“图1-2”所示
图1-2 AT89C51引脚图
主要特性:
·与MCS-51 兼容
·4K字节可编程FLASH存储器
·寿命:1000写/擦循环
·数据保留时间:10年
·全静态工作:0Hz-24MHz
·三级程序存储器锁定
·128×8位内部RAM
·32可编程I/O线
·两个16位定时器/计数器
·5个中断源
·可编程串行通道
·低功耗的闲置和掉电模式
·片内振荡器和时钟电路
管脚说明:
VCC:供电电压。
GND:接地。
P0口:P0口为一个8位漏极开路双向I/O口,每脚可吸收8TTL门电流。当P0口的管脚先要写入高电平,被定义为高阻输入。P0能够用于外部程序数据存储器,它可以被定义为低八位数据或地址总线。在FIASH编程时,P0 口作为原码输入口,当FIASH进行校验时,P0输出原码,此时P0外部必须被拉高。
P1口:P1口是一个内部提供上拉电阻的8位双向I/O口,P1口缓冲器能接收输出4TTL门电流。P1口管脚写入高电平后,被内部上拉为高,可用作输入,P1口被外部下拉为低电平时,将输出电流,这是由于内部上拉的缘故。在FLASH编程和校验时,P1口作为高八位地址接收。
P2口:P2口为一个内部上拉电阻的8位双向I/O口,P2口缓冲器可接收,输出4个TTL门电流,当P2口被写入高电平时,其管脚被内部上拉电阻拉高,且作为输入。并因此作为输入时,P2口的管脚被外部拉低,将输出电流。这是由于内部上拉的缘故。P2口当用于外部程序存储器或16位地址外部数据存储器进行存取时,P2口输出地址的高八位。在给出地址“1”时,它利用内部上拉优势,当对外部八位地址数据存储器进行读写时,P2口输出其特殊功能寄存器的内容。P2口在FLASH编程和校验时接收高八位地址信号和控制信号。
P3口:P3口管脚是8个带内部上拉电阻的双向I/O口,可接收输出4个TTL门电流。当P3口写入高电平后,它们被内部上拉为高电平,并用作输入。作为输入,由于外部下拉为低电平,P3口将输出电流(ILL)这是由于上拉的缘故。
RST:复位输入。当振荡器复位器件时,要保持RST脚两个机器周期的高电平时间。
ALE/PROG:当访问外部存储器时,地址锁存允许的输出电平用于锁存地址的地位字节。在FLASH编程期间,此引脚用于输入编程脉冲。在平时,ALE端以不变的频率周期输出正脉冲信号,此频率为振荡器频率的1/6。因此它可用作对外部输出的脉冲或用于定时目的。然而要注意的是:每当用作外部数据存储器时,将跳过一个ALE脉冲。如想禁止ALE的输出可在SFR8EH地址上置0。此时, ALE只有在执行MOVX,MOVC指令是ALE才起作用。另外,该引脚被略微拉高。如果微处理器在外部执行状态ALE禁止,置位无效。
/PSEN:外部程序存储器的选通信号。在由外部程序存储器取指期间,每个机器周期两次/PSEN有效。但在访问外部数据存储器时,这两次有效的/PSEN信号将不出现。
/EA/VPP:当/EA保持低电平时,则在此期间外部程序存储器(0000H-FFFFH),不管是否有内部程序存储器。注意加密方式1时,/EA将内部锁定为RESET;当/EA端保持高电平时,此间内部程序存储器。在FLASH编程期间,此引脚也用于施加12V编程电源(VPP)。
XTAL1:反向振荡放大器的输入及内部时钟工作电路的输入。
XTAL2:来自反向振荡器的输出。
2.3.DS1820简介
DALLAS最新单线数字温度传感器DS18B20简介新的"一线器件"体积更小、适用电压更宽、更经济 Dallas 半导体公司的数字化温度传感器DS1820是世界上第一片支持 "一线总线"接口的温度传感器。一线总线独特而且经济的特点,使用户可轻松地组建传感器网络,为测量系统的构建引入全新概念。DS18B20 "一线总线"数字化温度传感器 同DS1820一样,DS18B20也 支持"一线总线"接口,测量温度范围为 -55°C~+125°C,在-10~+85°C范围内,精度为±0.5°C。现场温度直接以"一线总线"的数字方式传输,大大提高了系统的抗干扰性。
适合于恶劣环境的现场温度测量,如:环境控制、设备或过程控制、测温类消费电子产品等。与前一代产品不同,新的产品支持3V~5.5V的电压范围,使系统 设计更灵活、方便。而且新一代产品更便宜,体积更小。DS18B20可以程序设定9~12位的分辨率,精度为±0.5°C。可选更小的封装方式,更宽的电压适用范围。分辨率设定,及用户设定的报警温度存储在 EEPROM中,掉电后依然保存。DS18B20的性能是新一代产品中最好的!性能价格比也非常出色!
DS1820的新性能:
(1) 可用数据线供电,电压范围:3.0~5.5V;
(2) 测温范围:-55~+125℃,在-10~+85℃时精度为±0.5℃;
(3) 可编程的分辨率为9~12位,对应的可分辨温度分别为0.5℃、0.25℃、0.125℃和0.0625℃;
(4) 12位分辨率时最多在750ms内把温度值转换为数字;
(5) 负压特性:电源极性接反时,温度计不会因发热而烧毁,但不能正常工作。
DS1820的外形
DS18B20内部结构主要由四部分组成:64位光刻ROM、温度传感器、非挥发的温度报警触发器TH和TL、配置寄存器。DS18B20的管脚排列如“图1-3”所示。内部结构如“图1-4”所示
图1-3 DS18B20外形图
(1)
收藏