




版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
1、畢業(yè)設(shè)計(jì)(論文)中英文翻譯原文系 別: 機(jī)電工程系 專 業(yè): 機(jī)械設(shè)計(jì)制造及其自動(dòng)化 學(xué)生姓名: 學(xué) 號(hào): based on scm multi-functional temperature testing system design1 prefacewith the development of society and the technological progress, people pay more and more attention to the importance of temperature detection and display. temperature detecti
2、on and status display technology and equipment has been widely applied in industries, products on the market emerge in endlessly. temperature testing and also gradually adopt the automatic control technology to realize the monitor. this topic is a temperature testing and status of the monitoring sys
3、tem.2 system solutionsthis system uses the monolithic integrated circuit at89s52 as this system. the whole system, the hardware circuit including power supply circuit, sensor, the temperature display circuit circuit, upper alarm circuit such as shown in figure 1. figure in the alarming circuit can b
4、e measured in upper temperature range, screaming voice alarm. the basic principle for the temperature control dsl8b20: when the temperature signal acquisition to after temperature signal sent to handle, at89s52 temperature to lcd screen, scm according to initialize the upper temperature setting, nam
5、ely, if the judgement of temperature than the highest temperature cooling fan is started, if the temperature is less than the lowest temperature setting on alarm device. temperature controller diagram3 the system hardware design(1)at89s52 scm are introducedat89s52 devices is a low power consumption,
6、 high cmos8 bit micro-controller, 8k programmable flash memory. use atmel company high-density nonvolatile storage technology, and industrial 80c51 product instruction and pin fully compatible. the flash memory chips allows programs in system programming, also suitable for conventional programming.
7、in a single chip, have clever 8 bits cpu and programmable flash in the system, for many embedded control at89s52 application system provides a highly flexible, efficient solutions 5. at89s52 has the following functions: the standard 256 bytes, 8k byte flash ram, 32 i/o port, the watchdog timer, 2 da
8、ta, three pointer 16 timer/counter, a 6 vector level 2 interrupt structure, full-duplex serial, timely clock circuit within crystals. in addition, 0hz at89s52 can drop to the static logic operation, support two software can choose power saving mode. idle mode, the cpu to stop working, and allows the
9、 ram, timer/counters, serial, continue to work. protection mode, ram by mcu, oscillator is frozen, all the work to stop until the next interruption or hardware reset.(2)the sensor ds18b20in the traditional analog signal distance temperature measuring system, need good solve lead error compensation,
10、multi-point measurement error and amplifying circuit switching technologies such as zero drift error problem, can achieve high measuring accuracy. another general monitoring site of the electromagnetic environment is very bad, all kinds of jamming signal is stronger, the simulated temperature signal
11、 interference and vulnerable to produce measurement error and measuring precision 5. therefore, in temperature measuring system, the strong anti-jamming capability of the new digital temperature sensor is the most effective to solve these problems, compared with other temperature sensor dsl820 has t
12、he following features:(1) the unique singleline interface way. dsl820 in connection with the microprocessor only need one interface to implement line dsl820 microprocessors and two-way communication. (2) more function simplifies distributed temperature detection application. (3) dsl820 in use withou
13、t any peripheral devices. (4) power, voltage range data available from 3.0 v to 5.5 v. (5) can measure temperature range from - 55 degrees c + + to 125, incremental value 0. 5 c, fahrenheit temperature range from - 67 to + 257, incremental value 0.9. (6) support multi-point network function. multipl
14、e ds1820 can pick on the same bus and, more temperature measurement. (7) 9 temperature resolution. measuring results in nine serial transmission way the digital quantity. (8) user can set temperature alarm threshold. (9) have super temperature search function. dsl8b20 principle of workthe internal s
15、tructure of ds18b20 dsl8b20 temperature measurement principle diagram shown in figure 3.2. low temperature coefficient graph oscillation frequency vibration product temperature is used to produce with fixed frequency, pulse signal to counter l. high temperature coefficient crystals temperature-depen
16、dent its oscillation frequency change significantly. the signal generated as the counter 2 input pulses. counter 1, 2 and temperature registers are counter in - 55 degrees preset corresponding a base value. counter l to low temperature coefficient of the pulse signal generated crystals, when the cou
17、nter for subtraction counting the preset value reduced to 1, when the temperature counter o value will add l, counter the preset value will be l man again, to counter the l start low temperature coefficient of crystal oscillator pulse signal, so cycle count until the counter 2, stop counting to o ac
18、cumulative temperature, temperature of the register for the register is measured values. figure 3.2 accumulative used for the slope compensation and fixed temperature measurement, the output of the process of nonlinear correction is less than the preset value counter l. at89s52 interface mode and ds
19、18b20chip ds18b20 and the connection has two kinds: namely parasitic power and external power supply mode.parasitic power way: in the parasitic power supply mode, the signal from the single chip ds18b20 in line drawing energy during the high level in the dq energy stored in the internal capacitance,
20、 low level in signal in the energy consumed during the capacitance on working until high-level coming again to parasitic power (battery). parasitic power mode has three advantages: 1) distance measuring temperature, without the local power supply. 2) no conventional power in the condition reads the
21、rom. 3) circuit, with only one more concise root i/o realize temperature measurement. want to make precise temperature conversion chip ds18b20, i/o line must ensure that the temperature conversion period, due to provide enough energy conversion in temperature during each ds18b20, when the current 1m
22、a to work a few temperature sensor in the same root hanging on the i/o multi-point temperature measurement, only by 4.7 k and resistance will not be able to provide enough energy, which cannot be switchover temperature or errors.the external power source supply way: in the external power supply mode
23、s, ds18b20 work power by vdd pin, i/o access line does not need strong pull up, there is no shortage of electricity power, can ensure accuracy and conversion in the bus theory can be articulated multiple sensor ds18b20, multipoint temperature measuring system.this system uses the external power sour
24、ce. connection method is one foot grounding and ds18b20 2 feet (dq) and at89s52 foot an i/o port, 3 feet line up + 5v. a89s52 in the i/o port and + 5v connection between a 4.7 k pull-up resistors, to ensure the normal operation of the data collection. if you want to test system, composed multi-point
25、 temperature in the same root chip i/o port in the same line, and the method of connecting the parallel more pieces of ds18b20 chip.(3)lcd1602 lcd1602 lcd module can and monolithic integrated circuit at89s52 directly interface.(4)buzzer driver circuitdue to the working current buzzer is compared com
26、monly big, so i/o microcontroller is not directly driven by amplifying circuit, so it is generally used to drive, to enlarge current transistor. when the temperature is below six degrees celsius, alarm.(5)fan circuitwhen the temperature is higher than 80 c, start fan circuit. because the job is grea
27、t, so use current amplifier circuit to drive, to enlarge current transistor. when the temperature is above 80 c, give a command, p2.6 single-chip microcontroller foot output level, triode conduction, fans, electric circuit, which began to turn it down.4 the design of the software systemthis system u
28、ses at89s52 devices as the core, with dsl8b20 after the collected data, and the temperature inside the data storage at89s52 deposit, lcd display, and compared with the prior value, and then the output signal by mcu control circuit and alarm circuit fan. multi-functional temperature testing system so
29、ftware mainly include: function declarations, time delay function and ds18b20 initialization function, read the temperature, temperature ds18b20 data into a liquid crystal display characters such programs.5 summarywith the continuous development of industry of temperature measurement, the higher req
30、uirement, and more and more wide measuring range, so are the requirements for temperature detection technology more and more is also high.dsl8b20 introduced new digital temperature sensor and at89s52 scm, lcd1602 lcd module for constructing the temperature testing system. the hardware circuit and ma
31、in program and system design of each module subroutines. this system uses the dallas is the digital temperature sensor ds18b20, plus a/d can output the digital quantity, the temperature signal directly convert serial digital signal processing for microcomputer. accordingly. this system has the hardw
32、are circuit structure is simple, high precision, and shows the result conversion clear stability, low cost and significant advantages. in temperature measurement, such as grain of intelligent building, central air conditioning of the occasion to temperature testing has good application prospects.the
33、 scm and vision21 principle of mcusingle-chip is an integrated on a single chip a complete computer system. even though most of his features in a small chip, but it has a need to complete the majority of computer components: cpu, memory, internal and external bus system, most will have the core. at
34、the same time, such as integrated communication interfaces, timers, real-time clock and other peripheral equipment. and now the most powerful single-chip microcomputer system can even voice, image, networking, input and output complex system integration on a single chip. also known as single-chip mc
35、u (microcontroller), because it was first used in the field of industrial control. only by the single-chip cpu chip developed from the dedicated processor. the design concept is the first by a large number of peripherals and cpu in a single chip, the computer system so that smaller, more easily inte
36、grated into the complex and demanding on the volume control devices. intel the z80 is one of the first design in accordance with the idea of the processor, from then on, the mcu and the development of a dedicated processor parted ways. early single-chip 8-bit or all of the four. one of the most succ
37、essful is intels 8031, because the performance of a simple and reliable access to a lot of good praise. since then in 8031 to develop a single-chip microcomputer system mcs51 series. based on single-chip microcomputer system of the system is still widely used until now. as the field of industrial co
38、ntrol requirements increase in the beginning of a 16-bit single-chip, but not ideal because the price has not been very widely used. after the 90s with the big consumer electronics product development, single-chip technology is a huge improvement. intel i960 series with subsequent arm in particular,
39、 a broad range of applications, quickly replaced by 32-bit single-chip 16-bit single-chip high-end status, and enter the mainstream market. traditional 8-bit single-chip performance has been the rapid increase in processing power compared to the 80s to raise a few hundred times. at present, the high
40、-end 32-bit single-chip frequency over 300mhz, the performance of the mid-90s close on the heels of a special processor, while the ordinary price of the model dropped to one u.s. dollars, the most high-end models, only 10 u.s. dollars. contemporary single-chip microcomputer system is no longer only
41、the bare-metal environment in the development and use of a large number of dedicated embedded operating system is widely used in the full range of single-chip microcomputer. in pdas and cell phones as the core processing of high-end single-chip or even a dedicated direct access to windows and linux
42、operating systems. more than a dedicated single-chip processor suitable for embedded systems, so it was up to the application. in fact the number of single-chip is the worlds largest computer. modern human life used in almost every piece of electronic and mechanical products will have a single-chip
43、integration. phone, telephone, calculator, home appliances, electronic toys, handheld computers and computer accessories such as a mouse in the department are equipped with 1-2 single chip. and personal computers also have a large number of single-chip microcomputer in the workplace. vehicles equipp
44、ed with more than 40 department of the general single-chip, complex industrial control systems and even single-chip may have hundreds of work at the same time! scm is not only far exceeds the number of pc and other integrated computing, even more than the number of human beings.hardwave introduction
45、the 8051 family of micro controllers is based on an architecture which is highly optimized for embedded control systems. it is used in a wide variety of applications from military equipment to automobiles to the keyboard on your pc. second only to the motorola 68hc11 in eight bit processors sales, t
46、he 8051 family of microcontrollers is available in a wide array of variations from manufacturers such as intel, philips, and siemens. these manufacturers have added numerous features and peripherals to the 8051 such as i2c interfaces, analog to digital converters, watchdog timers, and pulse width mo
47、dulated outputs. variations of the 8051 with clock speeds up to 40mhz and voltage requirements down to 1.5 volts are available. this wide range of parts based on one core makes the 8051 family an excellent choice as the base architecture for a companys entire line of products since it can perform ma
48、ny functions and developers will only have to learn this one platform. the basic architecture consists of the following features: an eight bit alu 32 descrete i/o pins (4 groups of 8) which can be individually accessed two 16 bit timer/counters full duplex uart 6 interrupt sources with 2 priority le
49、vels 128 bytes of on board ram separate 64k byte address spaces for data and code memoryone 8051 processor cycle consists of twelve oscillator periods. each of the twelve oscillator periods is used for a special function by the 8051 core such as op code fetches and samples of the interrupt daisy cha
50、in for pending interrupts. the time required for any 8051 instruction can be computed by dividing the clock frequency by 12, inverting that result and multiplying it by the number of processor cycles required by the instruction in question. therefore, if you have a system which is using an 11.059mhz
51、 clock, you can compute the number of instructions per second by dividing this value by 12. this gives an instruction frequency of 921583 instructions per second. inverting this will provide the amount of time taken by each instruction cycle (1.085 microseconds).2 etting started with vision2the keil
52、 software 8051 development tools listed below are programs you use to compile your c code, assemble your assembly source files, link and locate object modules and libraries, create hex files, and debug your target program.vision2 for windows is an integrated development environment that combines pro
53、ject management, source code editing, and program debugging in one single, powerful environment.the c51 ansi optimizing c cross compiler creates relocatable object modules from your c source code.the a51 macro assembler creates relocatable object modules from your 8051 assembly source code.the bl51
54、linker/locator combines relocatable object modules created by the c51 compiler and the a51 assembler into absolute object modules.the lib51 library manager combines object modules into libraries that may be used by the linker.the oh51 object-hex converter creates intel hex files from absolute object
55、 modules.the rtx-51 real-time operating system simplifies the design of complex, time-critical software projects.software development cyclewhen you use the keil software tools, the project development cycle is roughly the same as it is for any other software development project. 1. create a project,
56、 select the target chip from the device database, and configure the tool settings.2. create source files in c or assembly.3. build your application with the project manager.4. correct errors in source files.5. test the linked application.vision2 idethe vision2 ide combines project management, a rich
57、-featured editor with interactive error correction, option setup, make facility, and on-line help. use vision2 to create your source files and organize them into a project that defines your target application. vision2 automatically compiles, assembles, and links your embedded application and provide
58、s a single focal point for your development efforts.lib51 library managerthe lib51 library manager allows you to create object library from the object files created by the compiler and assembler. libraries are specially formatted, ordered program collections of object modules that may be used by the linker at a later time. when the linker processes a library, only those object modules in the library that are necessary to create the program are used.bl51 linker/locatorthe bl51 linker creates an absolute object module using the object modules extracted from libraries and those c
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 道路鋼筋施工方案
- 森林培育技術(shù)發(fā)展應(yīng)用趨勢(shì)及管理措施的實(shí)踐分析
- 江蘇省泰州市興化市2024-2025學(xué)年九年級(jí)上學(xué)期期末化學(xué)試題(原卷版+解析版)
- 強(qiáng)化對(duì)突發(fā)公共衛(wèi)生事件的應(yīng)急響應(yīng)能力的策略及實(shí)施路徑
- 低空經(jīng)濟(jì)公司財(cái)務(wù)管理方案
- “三新”背景下高中歷史常規(guī)課備課策略探究
- 深入實(shí)施新型城鎮(zhèn)化戰(zhàn)略行動(dòng)的策略及實(shí)施路徑
- 宜春儲(chǔ)水罐施工方案
- 2025年歌舞廳娛樂服務(wù)合作協(xié)議書
- 國(guó)家開放大學(xué)漢語(yǔ)言文學(xué)本科《古代小說戲曲專題》期末紙質(zhì)考試第一大題選擇題庫(kù)2025春期版
- 私人會(huì)所餐飲規(guī)章制度 餐飲會(huì)所管理規(guī)章制度(模板8篇)
- 供應(yīng)商信息表(中英文)
- 殯儀服務(wù)員(初級(jí))理論考試復(fù)習(xí)題庫(kù)大全(含答案)
- 中外室內(nèi)設(shè)計(jì)史全套教學(xué)課件
- 油浸式變壓器狀態(tài)監(jiān)測(cè)裝置
- 02章 電催化過程
- 中建辦公、生活區(qū)臨時(shí)設(shè)施施工方案
- (完整版)ExcelVBA編程實(shí)例(150例)
- 小學(xué)軟筆書法教案
- 施工及質(zhì)量自檢記錄表
- 地下室頂板支撐回頂方案
評(píng)論
0/150
提交評(píng)論