基于DS18B20的啤酒发酵温度测控系统毕业设计外文资料翻译.doc

上传人:laozhun 文档编号:4141399 上传时间:2023-04-07 格式:DOC 页数:12 大小:403KB
返回 下载 相关 举报
基于DS18B20的啤酒发酵温度测控系统毕业设计外文资料翻译.doc_第1页
第1页 / 共12页
基于DS18B20的啤酒发酵温度测控系统毕业设计外文资料翻译.doc_第2页
第2页 / 共12页
基于DS18B20的啤酒发酵温度测控系统毕业设计外文资料翻译.doc_第3页
第3页 / 共12页
基于DS18B20的啤酒发酵温度测控系统毕业设计外文资料翻译.doc_第4页
第4页 / 共12页
基于DS18B20的啤酒发酵温度测控系统毕业设计外文资料翻译.doc_第5页
第5页 / 共12页
点击查看更多>>
资源描述

《基于DS18B20的啤酒发酵温度测控系统毕业设计外文资料翻译.doc》由会员分享,可在线阅读,更多相关《基于DS18B20的啤酒发酵温度测控系统毕业设计外文资料翻译.doc(12页珍藏版)》请在三一办公上搜索。

1、毕业设计外文资料翻译题 目 基于DS18B20的啤酒发酵 温度测控系统 学 院 自动化与电气工程学院 专 业 自动化 班 级 自动化xxxx班 学 生 xxxxxxxxx 学 号 20100321166 指导教师 xxxxx 二一四年三月三十一日Advanced Materials Research Vols. 108-111 (2010) pp 898-902 (2010) Trans Tech Publications, Switzerlanddoi:10.4028/Temperature Detecting System of Beer FermentationBased on DS18

2、B20Fen-Ping Zhou, Hong-Tao Ma, Bing-Dong Sui,and Jia-Mo SunCollege of Information Science & Engineering, Hebei University of Science and TechnologyHebei, Shijiazhuang 050054, Chinazhoufenping,mahongtaosuibd,sunjiamoKeywords: DS18B20, Temperature Detecting, Beer Fermentation, Bus-driving, Fault Detec

3、ting Abstract. This Paper introduces a temperature detection system in beer fermentation. A temperature monitoring system with characteristics of bus topology structure is composed of industrial computer, temperature detector, bus converter, transmission bus and especially 1-wire digital temperature

4、 sensor DS18B20. Four-core cable is used to form a tree-like or star-like network, in which 54 digital temperature sensors existing on 18 fermentation tanks can be connected.The quantity of junction wires between temperature sensor and computer will be reduced greatly.Temperature detector provides p

5、ower supply for bus converter and DS18B20 through Four-core cable. Because bus converter has used hardware fault detecting technology, the fault temperature sensor can automatically detach from the main bus and will not affect normal working of other sensor in network. So to solve the problem of a c

6、ertain sensor or branchs damage causing the paralysis of entire bus. The length of detecting temperature bus can reach more than 500 meters. These all make system maintenance and expansion easy. The experiments show that this system is characterized by high intelligence, high-precision, capability o

7、f making temperature test on multi-points and compensating function. The method has a good applicable value to the temperature test.Introduction The change of fermentation temperature has a greater impact on the quality of beer in the process of beer production. Many fermentation tanks are used to f

8、erment beer in a brewery. A few sensors are installed in each fermentation tank to measure the temperature of liquid. The temperature monitoring system is characterized by greater number of temperature measurement points, the temperature measurement points are relatively concentrated.The traditional

9、 temperature detection system is composeof sensor, transmitter, A/D converter and so on. When there exist many detected points, the more transmitter and junction wires are needed, which not only makes the cost increase, and also brings us many inconvenience. DALLAS Corp of United States first produc

10、ed 1-wire digital temperature sensor DS1820, and then an enhanced product DS18B20 is released. The DS18B20 is a kind of digital temperature sensor of high integration, which consists of 64-bit laser ROM, temperature sensor, 1-wire interface, scratchpad RAM, temperature alarm triggers TH and TL, 8-bi

11、t CRC generator, control logic and parasitic power 1. The measuring temperatures of DS18B20 is range from -55C to +125C, which precision is 0.5C and resolution is programmable from 9 to 12 bits. It adopts 3-pin (GND, DQ, VDD), TO-92 package. Each DS18B20 has the unique 64-bit laser ROM address code

12、1. A lot of DS18B20 can be connected to the same bus to detect the temperature without any external components. This feature is very well suitable for multi-point distributed temperature detection, and is convenient to constitute bus-type temperature detection system.The Composition of the System Th

13、e composition of temperature monitoring system of Beer fermentation is shown in Figure 1. Industrial Computer is responsible for the work of displaying temperature data, generating the curve of temperature change, and temperature chart printing and so on. Temperature detector can be connected to ind

14、ustrial computers through the RS-232 interface. It controls the working condition of all the temperature sensors through transmission bus, and collects temperature data of 18 fermentation tanks in accordance with industrial computer commands. Temperature Detector is connected to 3 bus converter thro

15、ugh the transmission bus, each bus converter can be connected to 6 fermentation tanks; there are 3 temperature sensors (DS18B20) in each fermentation tank. The temperature monitoring system contains 54 temperature measurement points in 18 fermentation tanks. Transmission bus adopts the four-core cab

16、les;Temperature detector provides power supply for bus converter and DS18B20 through transmission bus. There is a bus driver in temperature detector; it can drive more than 500 meters transmission bus. If you need increase the number of temperature measurement points, more bus converters can be conn

17、ected to transmission bus in order to achieve linking of more DS18B20s. The number of the DS18B20 can be connected up to more than 300 at most.The Design of Temperature Detector The composition of the temperature detector is shown in Figure 2, AT89C51 microcontroller is the core of the temperature d

18、etector to control the work of the various circuits. Control program is stored in the MCUs internal program memory. Data memory saves the temperature data of each detection point. 64-bit code memory saves laser ROM code of each temperature sensor (DS18B20). MCUs serial signals are converted to RS-23

19、2C standard through RS-232 interface to realize the connection of industrial computer and the temperature detector. Bus driver extends the driving capability of MCUs I/O port to drive the transmission bus, in order to obtain further transmission distance. Watchdog and reset circuit can provide power

20、-on reset for the microcontroller, they can also provide reset signal when program has been confused by accidentally interfering. Display is used to show the current number of fermentation tanks and temperature value of 3 sensors in fermentation tanks. The keyboard is used to control the temperature

21、 detector starting and stopping, but also enter the testing cycle and other control parameter.Temperature detector can work independently, and display the number of fermentation tank and temperature value of 3 detected points in this tank, the range of temperature shown is -19.9C 99.9C. The number o

22、f tank shown can automatically change in cycle. Time shown can be set arbitrarily during 199 seconds. Temperature detector is also able to accept orders of industrial computer, it transmits the temperature value to the industrial computer, and then the industrial computer completes data processing.

23、The Design of Bus Driver and Bus Converter Theoretically, lots of DS18B20s can be connected to one bus in parallel. However, the operating time slot of DS18B20 is fixed, and the width of many control impulses is so narrow that it is only few microseconds. In fact, we can seldom meet the need of the

24、operating time slot of DS18B20 because of the limit of driving ability and distributing parameters. Especially the increase of distributing capacitance of the over-long bus will make the distortion of waveform unavoidable, so the read/write error occurs. The recommended length of the bus by the DALL

25、AS Corporation is only 100 meters, and 20 DS18B20s can be connected to it at same time, hence, the application is limited 2,4. In order to solve this problem, we have designed transmission bus and its driver. The composition of bus driver and bus converter is shown in Figure 3. Transmission bus incl

26、udes two signal lines TXD and RXD. Bus driver adopts 74HC367-type logical circuit to expand the driving ability of TXD port in AT89C51, thus it completes to drive TXD line of transmission bus. The length of bus can be reached 500 meters. Multiple bus converters can be connected to a transmission bus

27、 to form “tree” or “star” network. Bus converter connects the transmission bus and the temperature sensor DS18B20 and completes the signal conversion between them. DS18B20 return signal is transmitted to the terminal RXD of the bus through the driver. The driver in bus converter also uses 74HC367-ty

28、pe logic circuit.The driver we mention here is different with the address switch of DALLAS corporation MicroLANs network 3. The drivers on the bus are all connected to each other. When the skipping ROM command is sent to DS18B20s, all DS18B20s existing on the bus can receive it. This feature allows

29、us to start temperature conversion of all the DS18B20s existing on the same bus. The temperature detector can acquire the temperature of the different serial number detecting-point by sending different address. This will greatly reduce the temperature detection cycle, thereby increasing the temperat

30、ure detection speed.The Technology of Hardware Fault Detecting When one power line or data line of any DS18B20 in the system is short to the ground, it will cause the whole bus stop working. To avoid this problem, we have designed hardware fault detecting and processing circuits for the system. On t

31、he one hand, it limits the short circuit current under 10mA; on the other hand disconnects the failure branch from the transmission bus. The composition of hardware fault detecting and processing circuit see Figure 3. Fault detecting circuit tests the logic level of 1-wire interface, when the logic

32、level is high, its output signal is “1”and driver of converter is shutdown; when the logic level is low, its output signal is “0” and driver of converter is open. If logic level is low and its duration is more than 10ms, according to these phenomena, we can judge hardware failure occurring, temporal

33、ity, the output signal is “1”, and the driver of converter will be a permanent shutdown. Thus, only failure DS18B20 is disconnected from transmission bus, the other DS18B20s can work normally.Although a bus converter can be connected to 30 DS18B20s, when short-circuit fault occurs in one of DS18B20s

34、, the other 29 DS18B20s will stop working. If each DS18B20 can work independently and it has no effect to others when there is short-circuit fault occurring in one of them, it is necessary for each DS18B20 equipped with a bus converter. One transmission bus can connect more than 300 converters. The

35、Design of Management Software Software of the temperature monitoring system is developed under VISUAL BASIC 6.0, it is responsible for the work of acquiring real-time temperature, sensor temperature compensating,displaying multi-point temperature value, showing temperature variation curve, the tempe

36、rature value statements and the temperature variation curve printing. Module of acquiring real-time temperature is realized through Serial communication between the industrial Computer and temperature detector. Serial communication adopts RS-232C standard, the baud rate of data transfer is the 9600

37、bit/s, the data format is 8 data bits, 1 parity bit, and 1 stop bit. Industrial computer collects temperature value of 54 test points in 18 fermentation tanks once every 1 minute, then temperature data is saved in the computer hard disk in the format of a text file, in order to generate the temperat

38、ure statements and curves of temperature change.Module of sensor temperature compensating is used to calibrate error of the sensor. It is 0.5C accuracy from -10C to +85C in DS18B20 1. In order to improve the measurement accuracy, we have set up temperature compensation for each one temperature measu

39、rement point in the management software. The range of temperature compensation is 5C, the resolution is 0.01C. Temperature compensation data requires to be inputted manually.Module of displaying multi-point temperature value is used to display the current temperature of the 54 test points in the 18

40、fermentation tanks; the display interface is shown in Figure 4. You can find the number of fermentation tanks and temperature value of the three test points in fermentation tanks from monitor. Three test points are ranked by the upper, middle and lower. The interface contains quick button of tempera

41、ture curve, by clicking on the mouse, you can switch to the display interface of temperature change curve. It also displays the communications status and the number of the fermentation tank in which the temperature data is being sampled.Conclusion With the use of digital temperature sensor DS18B20,

42、a tree-like or star-like network topology is achieved, which simplifies the hardware design of the temperature monitoring system and reduces the cost of system. Hardware fault detection technology and its continuous improvement make the reliability of temperature detection system greatly improved. B

43、us driver and bus converters adopt 74HC series logic circuits, with very low static power consumption. The temperature monitoring system has been running for more than four years. The practice shows that the system is simple in connecting wire,convenient in maintenance, and is also low cost, high de

44、pendability and good effect. It has excellent application prospect. References 1 Dallas Semiconductor, DS18B20 Programmable Resolution 1-Wire Digital Thermometer. (2003) 2 Dallas Semiconductor, MicroLAN - In the Long Run, Application Note 108. (2001) 3 Dallas Semiconductor, Complex MicroLANs, Applic

45、ation Note 106. (2001) 4 Dallas Semiconductor, Guidelines for Reliable 1-Wire Networks, Application Note 148. (2002) Advanced Materials Research Vols. 108-111 (2010) pp 898-902 (2010) Trans Tech Publications, Switzerlanddoi:10.4028/基于DS18B20的啤酒发酵温度测控系统周芬萍 马鸿涛 隋秉栋 孙佳莫 河北工业大学信息科学与工程学院 中国,河北,石家庄050054

46、zhoufenping mahongtao suibd sunjiamo摘 要:本文介绍了一种在啤酒发酵时使用的温度检测系统。温度监控系统拓扑总线结构的特点是由工业计算机、温度检测器、总线转换器、传输总线、1-Wire数字温度传感器DS18B20组成。四芯电缆是用来形成一个树形或星形网络,其中,存在于18发酵罐的54个数字温度传感器可以连接。温度传感器和计算机之间的连接导线的数量将大大减少。温度检测器提供电源通过四芯电缆为总线转换器和DS18B20。因为总线转换器采用了硬件故障检测技术,故障温度传感器可以从主总线自动分离,不会影响其他传感器的正常工作网络。因此解决了某个传感器或分支的损伤引起的

47、整个总线瘫痪的问题。检测温度总线长度可达到500米以上。这些都使系统维护和扩展方便。实验表明,该系统的特点是高智能、高精度、多路温度检测的能力、补偿功能。该方法具有良好的应用价值对于温度检测。关键词:DS18B20,温度检测,啤酒发酵,总线驱动,故障检测介绍 在啤酒生产过程中温度的变化对啤酒的质量有较大的影响。在酿酒厂啤酒发酵时会用许多发酵罐,可以在每个发酵罐安装几个传感器来测量液体的温度。温度监控系统的特征在于拥有大量的温度测量点,但测温点比较集中。传统的温度检测系统由传感器、变送器、A / D转换器等等组成。当存在着许多检测点,需要更多的发射器和结线,这不仅使成本增加,同时也给我们带来了许多不便。美国DALLAS股份有限公司首次生产1-Wire数字温度传感器DS1820 ,然后升级版产品DS18B20出产。该DS18B20是一种高集成度,它由64位的光刻ROM 、温度传感器、1-Wire接口、暂存RAM 、温度报警触发器TH和TL 、 8位CRC生成器、控制逻辑和寄生功率 1 组成。DS18B20的温度测量范围从-55C至+125C ,其中精度为 0.5 ,分辨率为可编程的9至12位。它采用3引脚(GND ,DQ ,VDD ),TO-92封装。每DS18B20具有独特的64位激光ROM地址码 1 。很多DS18B20可以连接到同一总线上检测温度,无需

展开阅读全文
相关资源
猜你喜欢
相关搜索
资源标签

当前位置:首页 > 办公文档 > 其他范文


备案号:宁ICP备20000045号-2

经营许可证:宁B2-20210002

宁公网安备 64010402000987号