自动化专业-外文文献-英文文献-外文翻译-plc方面

上传人:油条 文档编号:117069052 上传时间:2019-11-18 格式:DOC 页数:11 大小:61KB
返回 下载 相关 举报
自动化专业-外文文献-英文文献-外文翻译-plc方面_第1页
第1页 / 共11页
自动化专业-外文文献-英文文献-外文翻译-plc方面_第2页
第2页 / 共11页
自动化专业-外文文献-英文文献-外文翻译-plc方面_第3页
第3页 / 共11页
自动化专业-外文文献-英文文献-外文翻译-plc方面_第4页
第4页 / 共11页
自动化专业-外文文献-英文文献-外文翻译-plc方面_第5页
第5页 / 共11页
点击查看更多>>
资源描述

《自动化专业-外文文献-英文文献-外文翻译-plc方面》由会员分享,可在线阅读,更多相关《自动化专业-外文文献-英文文献-外文翻译-plc方面(11页珍藏版)》请在金锄头文库上搜索。

1、1、 外文原文(复印件) A: Fundamentals of Single-chip Microcomputer The single-chip microcomputer is the culmination of both the development of the digital computer and the integrated circuit arguably the tow most significant inventions of the 20th century 1. These tow types of architecture are found in singl

2、e-chip microcomputer. Some employ the split program/data memory of the Harvard architecture, shown in Fig.3-5A-1, others follow the philosophy, widely adapted for general-purpose computers and microprocessors, of making no logical distinction between program and data memory as in the Princeton archi

3、tecture, shown in Fig.3-5A-2. In general terms a single-chip microcomputer is characterized by the incorporation of all the units of a computer into a single device, as shown in Fig3-5A-3.ProgrammemoryInput&Outputunit CPUDatamemory Fig.3-5A-1 A Harvard typeInput&Outputunit CPUmemory Fig.3-5A-2. A co

4、nventional Princeton computerTimer/Counter SystemclockExternalTimingcomponentsSerial I/O ROM Reset Prarallel I/O RAM Interrupts CPU Power Fig3-5A-3. Principal features of a microcomputerRandom access memory (RAM).RAM is for the storage of working variables and data used during program execution. The

5、 size of this memory varies with device type but it has the same characteristic width (4,8,16 bits etc.) as the processor ,Special function registers, such as stack pointer or timer register are often logically incorporated into the RAM area. It is also common in Harard type microcomputers to treat

6、the RAM area as a collection of register; it is unnecessary to make distinction between RAM and processor register as is done in the case of a microprocessor system since RAM and registers are not usually physically separated in a microcomputer .Central processing unit (CPU).The CPU is much like tha

7、t of any microprocessor. Many applications of microcomputers and microcontrollers involve the handling of binary-coded decimal (BCD) data (for numerical displays, for example) ,hence it is common to find that the CPU is well adapted to handling this type of data .It is also common to find good facil

8、ities for testing, setting and resetting individual bits of memory or I/O since many controller applications involve the turning on and off of single output lines or the reading the single line. These lines are readily interfaced to two-state devices such as switches, thermostats, solid-state relays

9、, valves, motor, etc.Parallel input/output. Parallel input and output schemes vary somewhat in different microcomputer; in most a mechanism is provided to at least allow some flexibility of choosing which pins are outputs and which are inputs. This may apply to all or some of the ports. Some I/O lin

10、es are suitable for direct interfacing to, for example, fluorescent displays, or can provide sufficient current to make interfacing other components straightforward. Some devices allow an I/O port to be configured as a system bus to allow off-chip memory and I/O expansion. This facility is potential

11、ly useful as a product range develops, since successive enhancements may become too big for on-chip memory and it is undesirable not to build on the existing software base.Serial input/output .Serial communication with terminal devices is common means of providing a link using a small number of line

12、s. This sort of communication can also be exploited for interfacing special function chips or linking several microcomputers together .Both the common asynchronous synchronous communication schemes require protocols that provide framing (start and stop) information .This can be implemented as a hard

13、ware facility or U(S)ART(Universal(synchronous) asynchronous receiver/transmitter) relieving the processor (and the applications programmer) of this low-level, time-consuming, detail. t is merely necessary to selected a baud-rate and possibly other options (number of stop bits, parity, etc.) and loa

14、d (or read from) the serial transmitter (or receiver) buffer. Serialization of the data in the appropriate format is then handled by the hardware circuit.Timing/counter facilities. Many application of single-chip microcomputers require accurate evaluation of elapsed real time .This can be determined

15、 by careful assessment of the execution time of each branch in a program but this rapidly becomes inefficient for all but simplest programs .The preferred approach is to use timer circuit that can independently count precise time increments and generate an interrupt after a preset time has elapsed .This type of timer is usually arranged to be reloadable with the required count .The timer then decrements this value producing an interrupt or setting a flag when the counter reaches zero. Better timers then have the abil

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 中学教育 > 其它中学文档

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号