电气自动化专业毕业设计(论文)外文翻译.doc

上传人:仙人指路1688 文档编号:3989540 上传时间:2023-03-30 格式:DOC 页数:31 大小:511KB
返回 下载 相关 举报
电气自动化专业毕业设计(论文)外文翻译.doc_第1页
第1页 / 共31页
电气自动化专业毕业设计(论文)外文翻译.doc_第2页
第2页 / 共31页
电气自动化专业毕业设计(论文)外文翻译.doc_第3页
第3页 / 共31页
电气自动化专业毕业设计(论文)外文翻译.doc_第4页
第4页 / 共31页
电气自动化专业毕业设计(论文)外文翻译.doc_第5页
第5页 / 共31页
点击查看更多>>
资源描述

《电气自动化专业毕业设计(论文)外文翻译.doc》由会员分享,可在线阅读,更多相关《电气自动化专业毕业设计(论文)外文翻译.doc(31页珍藏版)》请在三一办公上搜索。

1、英文资料翻译题 目 Computer Control Technology 系 别 中德机电学院 专 业 电气自动化技术 班 级 xxxxxxxx 学生姓名 xxxxxxx 学 号 xxxxxxxxx 指导教师 xxxxxxx 2012年 4 月Computer Control Technology A computer structure and functionThis section introduces the internal architecture of a computer and describes how instructions are stored and interp

2、reted and explains how the instruction execution cycle is broken down into its various components.At the most basic level, a computer simply executes binary-coded results. For a general-purpose programmable computer, four necessary elements are the memory, central processing unit (CPU, or simply pro

3、cessor), an external processor bus, and an input/output system as indicated in Fig.A-1. The memory stores instructions and data.The CPU reads and interprets the instructions, reads the data required by each instruction, executes the action required by the instruction, and stores the results back in

4、memory. One of the actions that is required of the CPU is to read data from or write data to an external device. This is carried out using the input/output system.The external processor bus is a set of electric conductors that carries data, address and control information between the other computer

5、elements.The memoryThe memory of a computer consists of a set of sequentially numbered locations. Each location is a register in which binary information can be stored. The “number” of a location is called its address. The lowest address is 0. The manufacturer defines a word length for the processor

6、 that is an integral number of locations long. In each word the bits can represent either data or instructions. For the Intel 8086/87 and Motorola MC6800 microprocessors, a word is 16 bits long, but each memory location has only 8 bits and thus two 8-bit locations must be accessed to obtain each dat

7、a word.In order to use the contents of memory, the processor must fetch the contents of the right location. To carry out a fetch, the processor places (enables) the binary-coded address of the desired location onto the address lines of the external processor bus. The memory then allows the contents

8、of the addressed memory location to be read by the processor. The process of fetching the contents of a memory location does not alter the contents of that location.Instructions in memory Instructions stored in memory are fetched by the CPU and unless program branches occur, they are executed in the

9、 sequence they appear in memory. An instruction written as a binary pattern is called a machine-language instruction. One way to achieve meaningful patterns is to divide up the bits into fields as indicated in Fig. 3-1A-2, with each field containing a code for a different type of information.Each in

10、struction in our simple computer can be divided up into four fields of 4 bits each. Each instruction can contain operation code (or opcode, each instruction has a unique opcode), operand address, immediate operands, branch address. In a real instruction set there are many more instructions. There is

11、 also a much large number of memory locations in which to store instructions and data. In order to increase the number of memory locations, the address fields and hence the instructions must be longer than 16 bits if we use the same approach. There are a number of ways to increase the addressing ran

12、ge of the microprocessor without increasing the instruction length: variable instruction field, multiword instructions, multiple addressing modes, variable instruction length. We will not discuss them in detail. Data in memory Data is information that is represented in memory as a code. For efficien

13、t use of the memory space and processing time, most computers provide the capability of manipulating data of different lengths and representations in memory. The various different representations recognized by the processor are called its data types. The data types normally used are: bit, binary-cod

14、ed decimal digit (4-bit nibble, BCD), byte (8 bits), word (2 bytes), double word (4 bytes).Some processors provide instructions that manipulate other data types such as single-precision floating-point data types (32bits) and double-precision floating-point data types (64 bits). There is another type

15、 of datacharacter data. It is also usually represented in 8 bits. Each computer terminal key and key combination (such as shift and control functions) on a standard terminal keyboard has a 7-bits code defined by the American Standard Code for Information Interchange (ASCII).Type of memory in the app

16、lications of digital control system, we also concerned with the characteristics of different memory techniques. For primary memory, we need it to be stored information temporarily and to be written and got information from successive or from widely different locations. This type memory is called ran

17、dom-access memory (RAM). In some case we do not want the information in memory to be lost. So we are willing to use special techniques to write into memory. If writing is accomplished only once by physically changing connections, the memory is called a read-only memory (ROM). If the interconnection

18、pattern can be programmed to be set, the memory is called a programmable read-only memory (PROM). If rewriting can be accomplished when it is necessary, we have an erasable programmable read-only memory (EPROM). An electronically erasable PROM is abbreviated EEPROM. The CPUThe CPUs job is to fetch i

19、nstructions from memory and execute these instructions. The structure of the CPU is shown in Fig. 3-1A-3. It has four main components: an arithmetic and logical unit (ALU), a set of registers, an internal processor bus and controller.Fig.3-1A-4 A timing diagram for “operation-code fetch”These and ot

20、her components of the CPU and their participation in the instruction cycle are described in the following sections.Arithmetic and Logical Unit (ALU) The ALU provides a wide arithmetic operations, including add, subtract, multiply, and divide. It can also perform Boolean logic operations such as AND,

21、 OR, and COMPLEMENT on binary data. Other operations, such as word compares, are also available. The majority of computer tasks involve the ALU, but a great amount of data movement is required in order to make use of the ALU instructions.Registers A set of registers inside the CPU in used to store i

22、nformation.Instruction register When an instruction is fetched, it is copied into the instruction register, where it is decoded. Decoding means that the operation code is examined and used to determine the steps of the execution sequence.Programmers model of the CPU The collection of registers that

23、can be examined or modified by a programmer is called the programmers model of the CPU. The only registers that can be manipulated by the instruction set, or are visibly affected by hardware inputs or the results of operations upon data, are the registers represented in the model.Flag register The e

24、xecution sequence is determined not only by the instruction but also by the results of the previous instructions. For example, if an addition is carried out in the ALU, data on the result of the addition (whether the result is positive, negative, or zero, for example) is stored in what is known as a

25、 flag register, status register, or condition register. If the next instruction is a conditional branch instruction, the flag word is tested in that instruction to determine if a branch if a branch is required.Program counter (instruction pointer) The address of the next instruction is located in a

26、register called the program counter. Data registers When an instruction uses the registers to store data, the reference to the register in the instruction is called register addressing. The reasons of making use of the internal registers to store data are that they can make the instructions shorter

27、and make execution faster.Address registers The internal registers can also be used for the storage of address of data in memory data. In such a case, the instruction word contains a register number (i.e. a register address). In the register is contained the address of memory data to be used in the

28、instruction. This form of addressing is called register indirect addressing. The contents of the register are said to point to the data in memory.Internal Processor Bus The internal processor bus moves data between internal register. A bus is a set of closely grouped electric conductors that transfe

29、rs data, address, and control information between functional blocks of the CPU. Data from a source register can be passed to a destination register when both are enabled onto (connected to) the bus.Controller The controller provides the proper sequence of control signals for each instruction in a pr

30、ogram cycle to be fetched from memory. A total program cycle comprises many instruction cycle, each instruction cycle can be divided up into its component machine cycles and each machine cycle comprises a number of clock cycle.Fig. 3-1A-4 A timing diagram for “operation-code fetch”In order to fetch

31、an instruction, for example illustrated in Fig.3-1A-4, the address in the program counter is placed on the address lines of the external bus (AB) at the onset of clock cycle C1. Simultaneously, using a code on the control lines of the bus (CB), the CPU informs all devices attached to the bus that an

32、 “opcode” fetch machine cycle is being executed by the CPU. The memory allows the memory address to select the memory location containing the instruction. At C2 the controller places a “read” command onto the control bus which allows the memory data to be placed onto the data bus. The controller the

33、n gates the data into the instruction register and removes the read command from the control bus in C3. At C4, the controller removes the address from the address bus and begins to decode the operation-code portion of the instruction to see what steps are required for execution. The decoding operati

34、on may take several more clock cycle at the end of which the “opcode fetch” machine cycle. External attention requests It is often necessary to stop the normal instruction processing sequence. One type of external attention request is the reset request. In the case of an unrecoverable error, a compu

35、ter system may be required to reset itself. This would have the effect of initializing all important registers in the system and staring instruction execution from a standard memory location-usually location 0.An input that is more commonly activated during the normal course of events is the interru

36、pt request. An interrupt request signal from an external device can cause the CPU to immediately execute a service subroutine which carries out the necessary actions. After completing the service subroutine, the processor will continue the task from which it was originally interrupted.The third type

37、 of input is the bus request, or direct memory access (DMA) request. It is possible to have a terminal interface that stores up all the characters in a line of text until it receives a “carriage return.” Then the interface requests the use of the system bus, at which time the complete line of data i

38、s transferred to memory to memory as fast as possible. In this way the processor simply becomes inactive until the transfer is completed.BusesThe bus is the most important communication system in a computer system. Under control of the CPU, a data source device and a data destination device are “ena

39、bled” onto (equivalent to being connected to) the bus wires for a short transmission.External processor bus The internal processor described in Sec. is connected to the external processor bus by a set of bus buffers located on the microprocessor integrated circuit.System bus The microcomputer board

40、can communicate with other boards by connecting its bus to an external system bus through a connector.Computer Input and OutputA set of registers external to the CPU is associated with what is known as the input/output (I/O) system. The I/O system is connected to the external processor bus using con

41、trol, address, and data buses through an I/O registers in an interface. There are basically two ways that are used to address I/O register.In the first method, called I/O-mapped input/output, the operation code itself has special I/O instructions that address a numbered register in the interface cal

42、led an I/O port.The second method of addressing I/O registers gives the I/O ports addresses that lie within the memory address range of the CPU. This is called memory-mapped I/O. Of course there must not be any memory locations at the same address as I/O locations.One of the benefits of the memory-m

43、apped approach is that the full range of memory addressing modes is available to the addressing of I/O registers.Fundamentals of Computer and NetworkOrganization of Computer System A computer is a fast and accurate symbol manipulating system that is organized to accept, store, and process data and p

44、roduce output results under the direction of a stored program of instructions. This section explains why a computer is a system and how a computer system is organized. Key elements in a computer system include input, processing, and output devices. Lets examine each component of the system in more d

45、etail.Input Devices Computer systems use many devices for input purpose. Some INPUT DEVICES allow direct human/machine communication, while some first require data to be recorded on an input medium such as a magnetizable material. Devices that read data magnetically recorded on specially coated plas

46、tic tapes or flexible or floppy plastic disks are popular. The keyboard of a workstation connected directly to (or ONLINE to) a computer is an example of a direct input device. Additional direct input devices include the mouse, input pen, touch screen, and microphone. Regardless of the type of devic

47、e used, all are components for interpretation and communication between people and computer systems. Central Processing Unit The heart of any computer system is the central processing unit (CPU). There are three main sections found in the CPU of a typical personal computer system: the primary storag

48、e section, the arithmetic-logic section, and the control section. But these three sections arent unique to personal computers. They are found in CPUs of all sizes. Output Device Like input units, output device are instruments of interpretation and communication between humans and computer system of

49、all size. These device take output results from the CPU in machine-coded form and convert them into a form that can be used (a) by people (e.g. a printed and /or displayed report) or (b) as machine input in another processing cycle.In personal computer systems, display screen and desktop printers are popular output device

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

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


备案号:宁ICP备20000045号-2

经营许可证:宁B2-20210002

宁公网安备 64010402000987号