![畢業(yè)論文之溫度控制系統的設計外文翻譯_第1頁](http://file2.renrendoc.com/fileroot_temp3/2021-6/20/c0ee4d1e-4ff0-4f8c-90c6-13b2e0793f47/c0ee4d1e-4ff0-4f8c-90c6-13b2e0793f471.gif)
![畢業(yè)論文之溫度控制系統的設計外文翻譯_第2頁](http://file2.renrendoc.com/fileroot_temp3/2021-6/20/c0ee4d1e-4ff0-4f8c-90c6-13b2e0793f47/c0ee4d1e-4ff0-4f8c-90c6-13b2e0793f472.gif)
![畢業(yè)論文之溫度控制系統的設計外文翻譯_第3頁](http://file2.renrendoc.com/fileroot_temp3/2021-6/20/c0ee4d1e-4ff0-4f8c-90c6-13b2e0793f47/c0ee4d1e-4ff0-4f8c-90c6-13b2e0793f473.gif)
![畢業(yè)論文之溫度控制系統的設計外文翻譯_第4頁](http://file2.renrendoc.com/fileroot_temp3/2021-6/20/c0ee4d1e-4ff0-4f8c-90c6-13b2e0793f47/c0ee4d1e-4ff0-4f8c-90c6-13b2e0793f474.gif)
![畢業(yè)論文之溫度控制系統的設計外文翻譯_第5頁](http://file2.renrendoc.com/fileroot_temp3/2021-6/20/c0ee4d1e-4ff0-4f8c-90c6-13b2e0793f47/c0ee4d1e-4ff0-4f8c-90c6-13b2e0793f475.gif)
版權說明:本文檔由用戶提供并上傳,收益歸屬內容提供方,若內容存在侵權,請進行舉報或認領
文檔簡介
1、 安徽理工大學畢業(yè)設計外文文獻翻譯 design of the temperature control system based on at89c51 abstract the principle and functions of the temperature control system based on micro controller at89c51 are studied, and the temperature measurement unit consists of the 1-wire bus digital temperature sensor ds18b20. the sy
2、stem 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 i
3、s 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 practi
4、ce. keywords: at89c51; micro controller; ds18b20; temperature 1 introduction temperature 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 qual
5、ity, 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 at89c51 and temperature sensor ds18b20, this system controls the condition temperatu
6、re 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 temperat
7、ure 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 th
8、e design is of profound importance. the general design, hardware design and software design of the system are covered.1.1 introductionthe 8-bit at89c51 chmos microcontrollers are designed to handle high-speed calculations and fast input/output operations. mcs 51 microcontrollers are typically used f
9、or high-speed event control systems. commercial applications include modems, motor-control systems, printers, photocopiers, air conditioner control systems, disk drives, and medical instruments. the automotive industry use mcs 51 microcontrollers in engine-control systems, airbags, suspension system
10、s, and antilock braking systems (abs). the at89c51 is especially well suited to applications that benefit from its processing speed and enhanced on-chip peripheral functions set, such as automotive power-train control, vehicle dynamic suspension, antilock braking, and stability control applications.
11、 because of these critical applications, the market requires a reliable cost-effective controller with a low interrupt latency response, ability to service the high number of time and event driven integrated peripherals needed in real time applications, and a cpu with above average processing power
12、in a single package. the financial and legal risk of having devices that operate unpredictably is very high. once in the market, particularly in mission critical applications such as an autopilot or anti-lock braking system, mistakes are financially prohibitive. redesign costs can run as high as a $
13、500k, much more if the fix means 2 back annotating it across a product family that share the same core and/or peripheral design flaw. in addition, field replacements of components is extremely expensive, as the devices are typically sealed in modules with a total value several times that of the comp
14、onent. to mitigate these problems, it is essential that comprehensive testing of the controllers be carried out at both the component level and system level under worst case environmental and voltage conditions. this complete and thorough validation necessitates not only a well-defined process but a
15、lso a proper environment and tools to facilitate and execute the mission successfully. intel chandler platform engineering group provides post silicon system validation (sv) of various micro-controllers and processors. the system validation process can be broken into three major parts. the type of t
16、he device and its application requirements determine which types of testing are performed on the device.1.2 the at89c51 provides the following standard features4kbytes of flash, 128 bytes of ram, 32 i/o lines, two 16-bittimer/counters, a five vector two-level interrupt architecture, a full duple ser
17、-ial port, on-chip oscillator and clock circuitry. in addition, the at89c51 is designed with static logic for operation down to zero frequency and supports two software selectable power saving modes. the idle mode stops the cpu while allowing the ram, timer/counters, serial port and interrupt sys -t
18、em to continue functioning. the power-down mode saves the ram contents but freezes the oscillator disabling all other chip functions until the next hardware reset.1.3pin descriptionvcc supply voltage.gnd ground.port 0:port 0 is an 8-bit open-drain bi-directional i/o port. as an output port, each pin
19、 can sink eight ttl inputs. when 1s are written to port 0 pins, the pins can be used as high impedance inputs. port 0 may also be configured to be the multiplexed low order address/data bus during accesses to external program and data memory. in this mode p0 has internal pull ups. port 0 also receiv
20、es the code bytes during flash programming, and outputs the code bytes during program verification. external pull ups are required during program verification.port 1:port 1 is an 8-bit bi-directional i/o port with internal pull ups. the port 1 output buffers can sink/so -urce four ttl inputs. when 1
21、s are written to port 1 pins they are pulled high by the internal pull ups and can be used as inputs. as inputs, port 1 pins that are externally being pulled low will source current (iil) because of the internal pullups. port 1 also receives the low-order address bytes during flash programming and v
22、erification.port 2:port 2 is an 8-bit bi-directional i/o port with internal pull ups. the port 2 output buffers can sink/source four ttl inputs. when 1s are written to port 2 pins they are pulled high by the internal pull ups and can be used as inputs. as inputs, port 2 pins that are externally bein
23、g pulled low will source current (iil) because of the internal pull ups. port 2 emits the high-order address byte during fetches from external program memory and during accesses to port 2 pins that are externally being pulled low will source current (iil) because of the internal pull ups. port 2 emi
24、ts the high-order address byte during fetches from external program memory and during accesses to external data memory that use 16-bit addresses (movxdptr). in this application, it uses strong internal pull-ups when emitting 1s. during accesses to external data memory that use 8-bit addresses (movx
25、ri), port 2 emits the contents of the p2 special function register. port 2 also receives the high-order address bits and some control signals durin flash programming and verification.port 3:port 3 is an 8-bit bi-directional i/o port with internal pull ups. the port 3 output buffers can sink/sou -rce
26、 four ttl inputs. when 1s are written to port 3 pins they are pulled high by the internal pull ups and can be used as inputs. as inputs, port 3 pins that are externally being pulled low will source current (iil) because of the pull ups.port 3 also serves the functions of various special features of
27、the at89c51 as listed below:rst:reset input. a high on this pin for two machine cycles while the oscillator is running resets the device.ale/prog:address latch enable output pulse for latching the low byte of the address during accesses to external memory. this pin is also the program pulse input (p
28、rog) during flash programming. in normal operation ale is emitted at a constant rate of 1/6 the oscillator frequency, and may be used for external timing or clocking purposes. note, however, that one ale pulse is skipped duri-ng each access to external data memory. if desired, ale operation can be d
29、isabled by setting bit 0 of sfr location 8eh. with the bit set, ale is active only during a movx or movc instruction. otherwise, the pin is weakly pulled high. setting the ale-disable bit has no effect if the microcontroller is in external execution mode.psen:program store enable is the read strobe
30、to external program memory. when theat89c51 is executing code from external program memory, psen is activated twice each machine cycle, except that two psen activations are skipped during each access to external data memory.ea/vpp:external access enable. ea must be strapped to gnd in order to enable
31、 the device to fetch code from external program memory locations starting at 0000h up to ffffh. note, however, that if lock bit 1 is programmed, ea will be internally latched on reset. ea should be strapped to vcc for internal program executions. this pin alsreceives the 12-volt programming enable v
32、oltage (vpp) during flash programming, for parts that require 12-volt vpp.xtal1:input to the inverting oscillator amplifier and input to the internal clock operating circuit. xtal2 :output from the inverting oscillator amplifier. oscillator characteristicsxtal1 and xtal2 are the input and output, re
33、spectively, of an inverting amplifier which can be configured for use as an on-chip oscillator, as shown in figure 1. either a quartz crystal or ceramic resonator may be used. to drive the device from an external clock source, xtal2 should be left unconnected while xtal1 is driven as shown in figure
34、 2.there are no requirements on the duty cycle of the external clock signal, since the input to the internal clocking circuitry is through a divide-by-two flip-flop, but minimum and maximum voltage high and low time specifications must be observed. idle mode in idle mode, the cpu puts itself to slee
35、p while all the on chip peripherals remain active. the mode is invoked by software. the content of the on-chip ram and all the special functions registers remain unchanged during this mode. the idle mode can be terminated by any enabled interrupt or by a hardware reset. it should be noted that when
36、idle is terminated by a hard ware reset, the device normally resumes program execution, from where it left off, up to two machine cycles before the internal reset algorithm takes control. on-chip hardware inhibits access to internal ram in this event, but access to the port pins is not inhibited. to
37、 eliminate the possibility of an unexpected write to a port pin when idle is terminated by reset, the instruction following the one that invokes idle should not be one that writes to a port pin or to external memory. power-down modein the power-down mode, the oscillator is stopped, and the instructi
38、on that invokes power-down is the last instruction executed. the on-chip ram and special function registers retain their values until the power-down mode is terminated. the only exit from power-down is a hardware reset. reset redefines the sfrs but does not change the on-chip ram. the reset should n
39、ot be activated before vcc is restored to its normal operating level and must be held active long enough to allow the oscillator to restart and stabilize. the at89c51 code memory array is programmed byte-by byte in either programming mode. to program any nonblank byte in the on-chip flash memory, th
40、e entire memory must be erased using the chip erase mode.2 programming algorithmbefore programming the at89c51, the address, data and control signals should be set up according to the flash programming mode table and figure 3 and figure 4. to program the at89c51, take the following steps.1. input th
41、e desired memory location on the address lines.2. input the appropriate data byte on the data lines. 3. activate the correct combination of control signals. 4. raise ea/vpp to 12v for the high-voltage programming mode. 5. pulse ale/prog once to program a byte in the flash array or the lock bits. the
42、 byte-write cycle is self-timed and typically takes no more than 1.5 ms. repeat steps 1 through 5, changing the address and data for the entire array or until the end of the object file is reached. data polling: the at89c51 features data polling to indicate the end of a write cycle. during a write c
43、ycle, an attempted read of the last byte written will result in the complement of the written datum on po.7. once the write cycle has been completed, true data are valid on all outputs, and the next cycle may begin. data polling may begin any time after a write cycle has been initiated. 2.1ready/bus
44、y: the progress of byte programming can also be monitored by the rdy/bsy output signal. p3.4 is pulled low after ale goes high during programming to indicate busy. p3.4 is pulled high again when programming is done to indicate ready.program verify: if lock bits lb1 and lb2 have not been programmed,
45、the programmed code data can be read back via the address and data lines for verification. the lock bits cannot be verified directly. verification of the lock bits is achieved by observing that their features are enabled.2.2 chip erase: the entire flash array is erased electrically by using the prop
46、er combination of control signals and by holding ale/prog low for 10 ms. the code array is written with all “1”s. the chip erase operation must be executed before the code memory can be re-programmed.2.3 reading the signature bytes: the signature bytes are read by the same procedure as a normal veri
47、fication of locations 030h, 031h, and 032h, except that p3.6 and p3.7 must be pulled to a logic low. the values returned areas follows.(030h) = 1eh indicates manufactured by atmel(031h) = 51h indicates 89c51(032h) = ffh indicates 12v programming(032h) = 05h indicates 5v programming2.4 programming in
48、terfaceevery code byte in the flash array can be written and the entire array can be erased by using the appropriate combination of control signals. the write operation cycle is self timed and once initiated, will automatically time itself to completion. a microcomputer interface converts informatio
49、n between two forms. outside the microcomputer the information handled by an electronic system exists as a physical signal, but within the program, it is represented numerically. the function of any interface can be broken down into a number of operations which modify the data in some way, so that t
50、he process of conversion between the external and internal forms is carried out in a number of steps. an analog-to-digital converter(adc) is used to convert a continuously variable signal to a corresponding digital form which can take any one of a fixed number of possible binary values. if the outpu
51、t of the transducer does not vary continuously, no adc is necessary. in this case the signal conditioning section must convert the incoming signal to a form which can be connected directly to the next part of the interface, the input/output section of the microcomputer itself. output interfaces take
52、 a similar form, the obvious difference being that here the flow of information is in the opposite direction; it is passed from the program to the outside world. in this case the program may call an output subroutine which supervises the operation of the interface and performs the scaling numbers wh
53、ich may be needed for digital-to-analog converter(dac). this subroutine passes information in turn to an output device which produces a corresponding electrical signal, which could be converted into analog form using a dac. finally the signal is conditioned(usually amplified) to a form suitable for
54、operating an actuator. the signals used within microcomputer circuits are almost always too small to be connected directly to the outside world” and some kind of interface must be used to translate them to a more appropriate form. the design of section of interface circuits is one of the most import
55、ant tasks facing the engineer wishing to apply microcomputers. we have seen that in microcomputers information is represented as discrete patterns of bits; this digital form is most useful when the microcomputer is to be connected to equipment which can only be switched on or off, where each bit mig
56、ht represent the state of a switch or actuator. to solve real-world problems, a microcontroller must have more than just a cpu, a program, and a data memory. in addition, it must contain hardware allowing the cpu to access information from the outside world. once the cpu gathers information and proc
57、esses the data, it must also be able to effect change on some portion of the outside world. these hardware devices, called peripherals, are the cpus window to the outside.the most basic form of peripheral available on microcontrollers is the general purpose i70 port. each of the i/o pins can be used
58、 as either an input or an output. the function of each pin is determined by setting or clearing corresponding bits in a corresponding data direction register during the initialization stage of a program. each output pin may be driven to either a logic one or a logic zero by using cpu instructions to
59、 pin may be viewed (or read.) by the cpu using program instructions. some type of serial unit is included on microcontrollers to allow the cpu to communicate bit-serially with external devices. using a bit serial format instead of bit-parallel format requires fewer i/o pins to perform the communication function, which makes it less expensive, but slower. serial transmissions are performed either synchronously or async
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯系上傳者。文件的所有權益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網頁內容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
- 4. 未經權益所有人同意不得將文件中的內容挪作商業(yè)或盈利用途。
- 5. 人人文庫網僅提供信息存儲空間,僅對用戶上傳內容的表現方式做保護處理,對用戶上傳分享的文檔內容本身不做任何修改或編輯,并不能對任何下載內容負責。
- 6. 下載文件中如有侵權或不適當內容,請與我們聯系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 2025年二手車個體交易策劃合同范本
- 2025年專利權交換協議格式
- 2025年個人信用管理協議書
- 2025年二手汽車交易未過戶合同模板
- 2025年農資研發(fā)與實驗勞動合同
- 2025年體重管理服務協議
- 2025年企業(yè)員工住房公積金貸款合同
- 2025年上海市新能源汽車產業(yè)投資合作協議
- 2025年養(yǎng)殖場租賃協議正式版本
- 2025年云服務器租用合同示范
- 安全生產技術規(guī)范 第25部分:城鎮(zhèn)天然氣經營企業(yè)DB50-T 867.25-2021
- 現代企業(yè)管理 (全套完整課件)
- 走進本土項目化設計-讀《PBL項目化學習設計》有感
- 《網店運營與管理》整本書電子教案全套教學教案
- 教師信息技術能力提升培訓課件希沃的課件
- 高端公寓住宅項目營銷策劃方案(項目定位 發(fā)展建議)
- 執(zhí)業(yè)獸醫(yī)師聘用協議(合同)書
- 第1本書出體旅程journeys out of the body精教版2003版
- [英語考試]同等學力英語新大綱全部詞匯
- 2022年肝動脈化療栓塞術(TACE)
- 形式發(fā)票格式2 INVOICE
評論
0/150
提交評論