应用于电气系统的可编程序控制器中英文翻译、电气自动化外文文献翻译、机电一体化外文翻译
- 格式:doc
- 大小:261.50 KB
- 文档页数:16
英语原文:Programmable logic con trollerA programmable logic controller (PLC) or simply programmable controller is a digital computer used for automatio n of in dustrial processes, such as con trol of machi nery on factory assembly lin es. Un like gen eral-purpose computers, the PLC is desig ned for multiple in puts and output arrangements,extended temperature ranges, immunity to electrical noise, and resista nee to vibratio n and impact. Programs to con trol mach ine operati on are typically stored in battery-backed or non-volatile memory・ A PLC is an example of a real time system since output results must be produced in resp onse to in put con diti ons with in a boun ded time, otherwise uninten ded operatio n will result..FeaturesThe main differe nee from other computers is that PLC are armored for severe con diti on (dust, moisture, heat, cold, etc) and have the facility for extensive input/output (I/O) arrangements.These connect the PLC to sensors and actuators. PLC read limit switches, analog process variables (such as temperature and pressure),a nd the positions of complex positi oning systems・ Some eve n use mach ine visio n. On the actuator side, PLC operate electric motors, pn eumatic or hydraulic cyli nders, magn etic relays or sole no ids, or an alog outputs. The in put/output arran geme nts may be built into a simple PLC, or the PLC may have external I/O modules attached to a computer network that plugs into the PLC・PLC were inven ted as replaceme nts for automated systems that would use hun dreds or thousands of relays, cam timers, and drum sequencers. Often, a single PLC can be programmed to replace thousa nds of relays. Programmable con trailers were in itially adopted by the automotive manu facturi ng in dustry, where software revisio n replaced the re-wiri ng of hard-wired con trol pan els whe n producti on models cha nged.Many of the earliest PLC expressedall decision making logic in simple ladder logic whichappeared similar to electrical schematic diagrams. The electricia ns were quite able to trace out circuit problems with schematic diagrams using ladder logic. This program no tati on was chose n to reduce training dema nds for the existi ng tech nicians. Other early PLC used a form of in structi on list program ming, based on a stack-based logic solver.The functionality of the PLC has evolved over the years to include sequential relay con trol, moti on con trol, process con trol, distributed con trol systems and n etwork ing. The data han dli ng, storage, process ing power and com muni cati on capabilities of some moder n PLC are approximately equivale nt to desktop computers. PLC-like program ming comb ined with remote I/O hardware, allow a general-purpose desktop computer to overlap some PLC in certa in applicati ons.PLC compared with other con trol systemsPLC are well-adapted to a range of automati on tasks. These are typically in dustrial processes in manu facturi ng where the cost of develop ing and maintaining the automati on system is high relative to the total cost of the automation, and where changes to the system would be expected duri ng its operatio nal life. PLC contain in put and output devices compatible with in dustrial pilot devices and con trols; little electrical desig n is required, and the desig n problem cen ters on express ing the desired seque nee of operati ons in ladder logic no tati on. PLC applicati ons are typically highly customized systems so the cost of a packaged PLC is low compared to the cost of a specific custom-built controller design. On the other hand, in the case of mass-produced goods, customized con trol systems are econo mic due to the lower cost of the comp onen ts, which can be optimally chose n in stead of a ”ge neric" solution, and where the non・recurring engineering charges are spread over thousands of places.For high volume or very simple fixed automati on tasks, differe nt tech niq ues are used. For example, a con sumer dishwasher would be con trolled by an electromecha ni cal cam timer costing only a few dollars in production quantities.A microcontroller-based design would be appropriate where hundreds or thousandsof units willbe produced and so the development cost (design of power supplies and input/outputhardware) can be spread over many sales, and where the end-user would not n eed to alter the con trol. Automotive applicati ons are an example; millio ns of un its are built each year, and very few en d-users alter the program ming of these con trailers. However, some specialty vehicles such as tran sit busses econo mically use PLC in stead of custom-desig ned con trols, because the volumes are low and the developme nt cost would be unecono mic.Very complex process control, such as used in the chemical industry, may require algorithms and performs nee beyond the capability of eve n high-performa nee PLC. Very high - speed or precisi on con trols may also require customized solutio ns; for example, aircraft flight con trols.PLC may in elude logic for sin gle-variable feedback an alog con trol loop, a "proporti on al, in tegral, derivative" or ”PID con troller." A PID loop could be used to con trol the temperature of a manu facturi ng process, for example. Historically PLC were usually con figured with only a few analog control loops; where processesrequired hundreds or thousands of loops, a distributed con trol system (DCS) would in stead be used. However, as PLC have become more powerful, the boundary between DCS and PLC applications has become less clear-cut.Digital and an alog sig nalsDigital or discrete signals behave as binary switches, yielding simply an On or Off sig nal (1 or 0, True or False, respectively). Push butt on s, limit switches, and photoelectric sen sors are examples of devices providi ng a discrete sig nal. Discrete sig nals are sent using either voltage or current, where a specific range is designated asOn and another asOff. For example, a PLC might use 24 V DC I/O, with values above 22 V DC represe ntingOn, values below 2VDC represe nti ng Off, and in termediate values un defi ned. In itially, PLC had only discrete I/O.Analog signals are like volume controls, with a range of values between zero and full・ scale. These are typically in terpreted as in teger values (co un ts) by the PLC, with various ranges of accuracy depending on the device and the number of bits available to store the data. As PLC typicallyuse 16-bit sig ned binary processors, the in teger values are limited betwee n - 32,768 and +32,767. Pressure, temperature, flow, and weight are often represented by analog signals. Analog signals can use voltage or current with a magnitude proportional to the value of the process sig nal. For example, an an alog 4-20 m or 0 ・ 10 V in put would be conv erted into an in teger value of 0-32767.Curre nt in puts are less sen sitive to electrical no ise (i.e.from welders or electric motor starts) tha n voltage in puts.System scaleA small PLC will have a fixed nu mber of conn ecti ons built in for in puts and outputs. Typically, expa nsions are available if the base model does not have eno ugh I/O.Modular PLC have a chassis (also called a rack) into which is placed modules with differe nt functions. The processor and selecti on of I/O modules is custom for the particular application. Several racks can be administered by a single processor, and may have thousands of in puts and outputs・ A special high speed serial I/O link is used so that racks can be distributed away from the processor, reduc ing the wiri ng costs for large pla nts.PLC used in larger I/O systems may have peer-to-peer (P2P) com muni cati on betwee n processors. This allows separate parts of a complex process to have in dividual con trol while allowi ng the subsystems to co-ord in ate over the com muni cati on link. These com muni cati on links are also ofte n used for HMI (Huma Machi ne In terface) devices such as keypads or PC-type workstati ons. Some of today's PLC can com muni cate over a wide range of media in cludi ng RS-485, Coaxial, and eve n Ether net for I/O con trol at n etwork speeds up to 100m・Programmi ngEarly PLC, up to the mid・ 1980s, were programmed using proprietary programming pan els or special-purpose program ming term in als, which ofte n had dedicated fun cti on keys represe nting the various logical eleme nts of PLC programs. Programs were stored on cassette tape cartridges.Facilities for printing and documentation were very minimal due to lack of memory capacity. More rece ntly, PLC programs are typically writte n in a special applicati on on a pers onal computer, the n dow nl oaded by a direct-c onnection cable or over a n etwork to the PLC.The very oldest PLC used non-v olatile mag netic core memory but now the program is stored in the PLC either in battery-backed-up RAM or some other non-volatile flash memory.Early PLC were desig ned to replace relay logic systems. These PLC were programmed in "ladder logic**, which stron gly resembles a schematic diagram of relay logic. Moder n PLC can be programmed in a variety of ways, from ladder logic to more traditional programming languages such as BASIC and C. Another method is State Logic, a Very High Level Program ming Lan guage desig ned to program PLC based on State Tran siti on Diagrams.Recently, the International standard IEC 61131-3 has become popular. IEC 61131-3 currently defines five programming languages for programmable control systems: FBD (Function block diagram), LD (Ladder diagram), ST (Structured text, similar to the Pascal programming language), IL (Instruction list, similar to assembly Ianguage) and SFC (Seque ntial fun cti on chart). These tech niq ues emphasize logical orga ni zatio n of operati ons.While the fun dame ntal con cepts of PLC program ming are com mon to all manu facturers, differences in I/O addressing, memory organization and instruction sets mean that PLC programs are never perfectly interchangeable between different makers. Even within the same product line of a single manufacturer, different models may not be directly compatible.User in terfacePLC may n eed to in teract with people for the purpose of con figurati on, alarm report ing or everyday con trol. A Huma n-Mach ine In terface (HMI) is employed for this purpose. HMI' are also referred to as MMT (Ma n Mach ine In terface) and GUI (Graphical User In terface).A simple system may use butt ons and lights to in teract with the user. Text displays are available as well as graphical touch scree ns. Most moder n PLC can com muni cate over a n etwork to some other system, such as a computer running a SCADA (Supervisory Con trol And Data Acquisiti on) system or web browser.Com mun icatio nsPLC usually have built in com muni cati ons ports usually 9・Pi n RS232, and opti on ally for RS485 and Ether net. DF1 is usually in eluded as one of the com muni cati ons protocols. Other com muni cati ons protocols that may be used are listed in the List of automati on protocols.HistoryThe PLC was inven ted in resp onse to the n eeds of the America n automotive in dustry. Before the PLC, con trol, seque ncing, and safety in terlock logic for manu facturi ng automobiles was accomplished using relays, timers and dedicated closed-loop con trailers. The process for updati ng such facilities for the yearly model cha nge-over was very time consuming and expe nsive, as the relay systems n eeded to be rewired by skilled electricia ns. In 1968 GM Hydra (the automatic transmission division of General Motors) issued a request for proposal for an electro nic replaceme nt for hard-wired relay systems.The wi nning proposal came from Bedford Associates of Bedford, Massachusetts. The first PLC, desig nated the 084 because it was Bedford Associates' eighty-fourth project, was the result・Bedford Associates started a new compa ny dedicated to develop ing, manu facturi ng, selli ng, and servic ing this new product: Mod, which stood for One of the people whoworked on that project was Dick Morley, who is considered to be the "father" of the PLC. The brand was sold in 1977 to Gould Electr oni cs, and later acquired by Germa n Compa ny AEG and then by French Schn eider Electric, the curre nt owner.One of the very first 084 models built is now on display at headquarters in North Andover, Massachusetts .It was presented to by GM, when the unit was retired after nearly twenty years of unin terrupted service.The automotive industry is still one of the largest users of PLC, and still numbers some of its controller models such that they end with eighty-four. PLC are used in many different in dustries and machi nes such as packag ing and semic on ductor mach in es. Well known PLC brands are Toshiba, Sieme ns, Alle Bradley, ABB, Mitsubishi, Omro n, and Gen eral Electri・附录B英语翻译:可编程序控制器可编程逻辑控制器(PLC或干脆可编程序控制器是一个数字化的计算机用于自动化的工业生产过程,如控制机械的工厂装配生产线。
毕业设计(论文)外文文献翻译文献、资料中文题目:PLC文献、资料英文题目:文献、资料来源:文献、资料发表(出版)日期:院(部):专业:班级:姓名:学号:指导教师:翻译日期: 2017.02.14PLC1 .About Programmable Logic Controllers (PLCs)PLCs (programmable logic controllers) are the control hubs for a wide variety of automated systems and processes. They contain multiple inputs and outputs that use transistors and other circuitry to simulate switches and relays to control equipment. They are programmable via software interfaced via standard computer interfaces and proprietary languages and network options.Programmable logic controllers I/O channel specifications include total number of points, number of inputs and outputs, ability to expand, and maximum number of channels. Number of points is the sum of the inputs and the outputs. PLCs may be specified by any possible combination of these values. Expandable units may be stacked or linked together to increase total control capacity. Maximum number of channels refers to the maximum total number of input and output channels in an expanded system. PLC system specifications to consider include scan time, number of instructions, data memory, and program memory. Scan time is the time required by the PLC to check the states of its inputs and outputs. Instructions are standard operations (such as math functions) available to PLC software. Data memory is the capacity for data storage. Program memory is the capacity for control software.Available inputs for programmable logic controllers include DC, AC, analog, thermocouple, RTD, frequency or pulse, transistor, and interrupt inputs. Outputs for PLCs include DC, AC, relay, analog, frequency or pulse, Programming options for PLCs include front panel, hand held, and computer.Programmable logic controllers use a variety of software programming languages for control. These include IEC 61131-3, sequential function chart (SFC), function block diagram (FBD), ladder diagram (LD), structured text (ST), instruction list (IL), relay ladder logic (RLL), flow chart, C, and Basic. The IEC 61131-3 programming environment provides support for five languages specified by the global standard: Sequential Function Chart, Function Block Diagram, Ladder Diagram, Structured Text, and Instruction List. This allows for multi-vendor compatibility and multi-languageprogramming. SFC is a graphical language that provides coordination of program sequences, supporting alternative sequence selections and parallel sequences. FBD uses a broad function library to build complex procedures in a graphical format. Standard math and logic functions may be coordinated with customizable communication and interface functions. LD is a graphic language for discrete control and interlocking logic. It is completely compatible with FBD for discrete function control. ST is a text language used for complex mathematical procedures and calculations less well suited to graphical languages. IL is a low-level language similar to assembly code. It is used in relatively simple logic instructions. Relay Ladder Logic (RLL), or ladder diagrams, is the primary programming language for programmable logic controllers (PLCs). Ladder logic programming is a graphical representation of the program designed to look like relay logic. Flow Chart is a graphical language that describes sequential operations in a controller sequence or application. It is used to build modular, reusable function libraries. C is a high level programming language suited to handle the most complex computation, sequential, and data logging tasks. It is typically developed and debugged on a PC. BASIC is a high level language used to handle mathematical, sequential, data capturing and interface functions.Programmable logic controllers can also be specified with a number of computer interface options, network specifications and features. PLC power options, mounting options and environmental operating conditions are all also important to consider.2. PLC hardwarePLC hardware mainly has the central processing unit (CPU), memory, input unit, output unit, the communication interface, expansion interface power components. Among them, the CPU is the core, input unit of PLC with output unit is connected site input/output devices to the CPU, interface circuit between the communication interface used with programmer, connecting peripherals such as the PC.2.1 The central processing unit (CPU)The same sort of microcomputer is same, the CPU is the core of PLC. PLC deployed by the CPU in different and different, with models used into three categories: general microprocessor (such as 8086, Z80, 80286, etc.), single chip microprocessor (such as 8031, etc) and a piece 8096 microprocessors (such as AMD29W, etc.). Small PLC is used mostly eight general microprocessor and single chip microprocessor; Medium PLC is used mostly 16 general microprocessor or single chip microprocessor; Large PLC mostly by using high-speed a piece microprocessors.2.2 memoryMemory basically has two kinds: one kind is read/write operation of random access memory RAM, another kind is read only memory (ROM, PROM, an EPROM and EEPROM. In PLC, memory is mainly used for storage system programming, the user program and job data.System programming is written by PLC manufacturer, and PLC hardware related, complete system diagnosis, command interpretation, function subroutine calling, management, logic operations, communications and various parameters, and other functions, provide PLC operation platform. System programming related to the performance, but also in PLC PLC in use process fluctuant, so is not directly by manufacturer in read-only memory ROM, curing PROM or an EPROM, users can't access and modification.The user program with PLC control object is determined by users, according to the object of production process control requirements and prepare application. In orderto facilitate read, check and modification, the user program generally exist in CMOS static RAM, use of lithium battery as backup power, to ensure off when power is not lost information. In order to prevent interference in the destruction of RAM, when the user program after operating normally, not program, but will need to change its curable in read-only memory an EPROM. Now there are many PLC directly used as a user EEPROM memory.2.3 Input/output unitInput/output unit usually also say I/O unit or an I/O modules, PLC and industrial production site is the connection between the components. PLC via input interface can detect various controlled object data to these data to be controlled object as PLC to control the basis; Meanwhile PLC and through the output interface will deal with the results gave controlled object, in order to realize the control purpose.Due to external input device, and output equipment required the signal level is varied, and internal CPU processing of PLC information is only standard level, so I/O interface to realize the conversion. The I/O interface generally have photoelectric isolation and filter function, in order to improve the PLC anti-jamming ability. In addition, I/O interface usually a state instructions, working condition, intuitive, and easy to maintain. PLC offers a variety of operation level and drive ability of I/O interface, there are various functions of I/O interface for customers to choose. The I/O interface is the main type of: the digital quantity (the switch quantity) input, the digital quantity (the switch quantity) output, analogue inputs, analog output, etc.2.4 Communication interfacePLC with various communication interface, the communication interface with communications processor commonly. PLC through these communication interface can and monitors, printers, and other PLC, computers and other devices communicate. PLC and printer connections, but will process information, system parameters, such as output print; And monitor connection, but will control process image display; Connect with other PLC, can form a multiple machine system or network, realize the more massive joined control. And computer connections, can form a multistage distributed controlsystem, the realization control and management combined. Remote I/O system must also equipped with corresponding communication interface module.2.5. Intelligence interface moduleIntelligent interface module is an independent computer system, it has its own CPU, system program, storage and PLC system bus connected interface. It as a module, PLC system by bus and PLC is linked together, exchange data, and the coordinated management in PLC under work independently. PLC intelligent interface module is a lot of motion, such as: high-speed counting module, closed-loop control module, motion control module, interrupt control module, etc.2.6. Programming deviceProgramming device's role is to edit, commissioning, input user program, and also can be online monitoring PLC internal state and parameters, and PLC man-machine dialogue. It is the development, application and maintenance PLC indispensable tools. Programming device can be special programmer, also can be equipped with a special programming packages general computer system. Special programmer is by PLC specializes in this factory, some manufacturers use PLC, and it mainly consists of product keyboard, a display and external storage etc. Parts. Pick up socket Special programming implement have simple programmer and intelligent programmer two kinds.Simple type programmer can only online programming, and cannot directly enter and edit ladder-diagram program, should be ladder-diagram program into instruction table program can input. Simple programmer small volume, price cheap, it can directly interpolated in PLC programming socket, or use special cables and PLC is linked together, to facilitate the programming and debugging. Some simple programming device used to with storage box, store the user program, such as mitsubishi FX - 20P - E simple programming device.2.7. PowerPLC is equipped with switch power, for internal circuit use. Compared with ordinary power, PLC power good stability, strong anti-jamming capability. The powersupply provided for grid stability requirement is not high, average allowed in the power supply voltage rating the range of the plus or minus 15%. Many PLC also provide outward, used in dc 24V external sensor power supply.2. 8.Other external equipmentIn addition to the above mentioned components and equipment outside, PLC and many external devices, such as an EPROM writing implement, external storage,man/machine interface device etc. An EPROM writing implement user program can be used to cure to an EPROM memory of a PLC external equipment. In order to make the debugging good user program with an EPROM not easily lost, often written within the RAM save to an EPROM PLC.3. INTRODUCTIONFor simple programming the relay model of the PLC is sufficient. As more complex functions are used the more complex VonNeuman model of the PLC must be used. A VonNeuman computer processes one instruction at a time. Most computers operate this way, although they appear to be doing many things at once. Input is obtained from the keyboard and mouse, output is sent to the screen, and the disk and memory are used for both input and output for storage. (Note: the directions of these arrows are very important to engineers, always pay attention to indicate where information is flowing.)In this figure the data enters the left side through the inputs. (Note: most engineering diagrams have inputs on the left and outputs on the right.) It travels through buffering circuits before it enters the CPU. The CPU outputs data through other circuits. Memory and disks are used for storage of data that is not destined for output. If we look at a personal computer as a controller, it is controlling the user by outputting stimuli on the screen, and inputting responses from the mouse and the keyboard.4. OPERATION SEQUENCEAll PLCs have four basic stages of operations that are repeated many times per second. Initially when turned on the first time it will check it’s own hardware and software for faults. If there are no problems it will copy all the input and copy their values into memory, this is called the input scan. Using only the memory copy of the inputs the ladder logic program will be solved once, this is called the logic scan. While solving the ladder logic the output values are only changed in temporary memory. When the ladder scan is done the outputs will be updated using the temporary values in memory, this is called the output scan. The PLC now restarts the process by starting a self check for faults. This process typically repeats 10 to 100 times per second as is shown in Figure 3.SELF TEST - Checks to see if all cards error free, reset watch-dog timer, etc. (A watchdog timer will cause an error, and shut down the PLC if not reset withina short period of time - this would indicate that the ladder logic is not beingscanned normally).INPUT SCAN - Reads input values from the chips in the input cards, and copies their values to memory. This makes the PLC operation faster, and avoids caseswhere an input changes from the start to the end of the program (e.g., anemergency stop). There are special PLC functions that read the inputs directly,and avoid the input tables.LOGIC SOLVE/SCAN - Based on the input table in memory, the program is executed 1 step at a time, and outputs are updated. This is the focus of the latersections.OUTPUT SCAN - The output table is copied from memory to the output chips.These chips then drive the output devices.The input and output scans often confuse the beginner, but they are important.The input scan takes a snapshot of the inputs, and solves the logic. This prevents potential problems that might occur if an input that is used in multiple places in the ladder logic program changed while half way through a ladder scan. Thus changing the behaviors of half of the ladder logic program. This problem could have severe effects on complex programs that are developed later in the book. One side effect of the input scan is that if a change in input is too short in duration, it might fall between input scans and be missed.When the PLC is initially turned on the normal outputs will be turned off. This does not affect the values of the inputs.4.1 The Input and Output ScansWhen the inputs to the PLC are scanned the physical input values are copied into memory. When the outputs to a PLC are scanned they are copied from memory to the physical outputs. When the ladder logic is scanned it uses the values in memory, not the actual input or output values. The primary reason for doing this is so that if a program uses an input value in multiple places, a change in the input value will not invalidate the logic. Also, if output bits were changed as each bit was changed, instead of all at once at the end of the scan the PLC would operate much slower.4.2 The Logic ScanLadder logic programs are after relay logic. In relay logic each element in the ladder will switch as quickly as possible. But in a program elements can only be examines one at a time in a fixed sequence. Consider the ladder logic in Figure 4, the ladder logic will be interpreted left-to-right, top-to-bottom. In the figure the ladder logic scan begins at the top rung. At the end of the rung it interprets the top output first, then the output branched below it. On the second rung it solves branches, before moving along the ladder logic rung.Ladder Logic Execution SequenceThe logic scan sequence become important when solving ladder logic programs which use outputs as inputs. It also becomes important when considering output usage. Consider Figure 5, the first line of ladder logic will examine input A and set output X to have the same value. The second line will examine input B and set the output X to have the opposite value. So the value of X was only equal to A until the second line of ladder logic was scanned. Recall that during the logic scan the outputs are only changed in memory, the actual outputs are only updated when the ladder logic scan is complete. Therefore the output scan would update the real outputs based upon the second line of ladder logic, and the first line of ladder logic would be ineffective.A Duplicated Output ErrorPLC1.PLC介绍PLCS(可编程逻辑控制器)是用于各种自动控制系统和过程的可控网络集线器。
毕业设计中英文翻译院系专业班级姓名学号指导教师20**年 4 月Programmable Logic Controllers (PLC)1、MotivationProgrammable Logic Controllers (PLC), a computing device invented by Richard E. Morley in 1968, have been widely used in industry including manufacturing systems, transportation systems, chemical process facilities, and many others. At that time, the PLC replaced the hardwired logic with soft-wired logic or so-called relay ladder logic (RLL), a programming language visually resembling the hardwired logic, and reduced thereby the configuration time from 6 months down to 6 days [Moody and Morley, 1999].Although PC based control has started to come into place, PLC based control will remain the technique to which the majority of industrial applications will adhere due to its higher performance, lower price, and superior reliability in harsh environments. Moreover, according to a study on the PLC market of Frost and Sullivan [1995], an increase of the annual sales volume to 15 million PLCs per year with the hardware value of more than 8 billion US dollars has been predicted, though the prices of computing hardware is steadily dropping. The inventor of the PLC, Richard E Morley, fairly considers the PLC market as a 5-billion industry at the present time.Though PLCs are widely used in industrial practice, the programming of PLC based control systems is still very much relying on trial-and-error. Alike software engineering, PLC software design is facing the software dilemma or crisis in a similar way. Morley himself emphasized this aspect most forcefully by indicating [Moody and Morley, 1999, p. 110]:`If houses were built like software projects, a single woodpecker could destroy civilization.”Particularly, practical problems in PLC programming are to eliminate software bugs and to reduce the maintenance costs of old ladder logic programs. Though the hardware costs of PLCs are dropping continuously, reducing the scan time of the ladder logic is still an issue in industry so that low-cost PLCs can be used.In general, the productivity in generating PLC is far behind compared to other domains, for instance, VLSI design, where efficient computer aided design tools are in practice. Existent software engineering methodologies are not necessarily applicable to the PLC basedsoftware design because PLC-programming requires a simultaneous consideration of hardware and software. The software design becomes, thereby, more and more the major cost driver. In many industrial design projects, more than SO0/a of the manpower allocated for the control system design and installation is scheduled for testing and debugging PLC programs [Rockwell, 1999].In addition, current PLC based control systems are not properly designed to support the growing demand for flexibility and reconfigurability of manufacturing systems. A further problem, impelling the need for a systematic design methodology, is the increasing software complexity in large-scale projects.PLCs (programmable logic controllers) are the control hubs for a wide variety of automated systems and processes. They contain multiple inputs and outputs that use transistors and other circuitry to simulate switches and relays to control equipment. They are programmable via software interfaced via standard computer interfaces and proprietary languages and network options.Programmable logic controllers I/O channel specifications include total number of points, number of inputs and outputs, ability to expand, and maximum number of channels. Number of points is the sum of the inputs and the outputs. PLCs may be specified by any possible combination of these values. Expandable units may be stacked or linked together to increase total control capacity. Maximum number of channels refers to the maximum total number of input and output channels in an expanded system. PLC system specifications to consider include scan time, number of instructions, data memory, and program memory. Scan time is the time required by the PLC to check the states of its inputs and outputs. Instructions are standard operations (such as math functions) available to PLC software. Data memory is the capacity for data storage. Program memory is the capacity for control software.Available inputs for programmable logic controllers include DC, AC, analog, thermocouple, RTD, frequency or pulse, transistor, and interrupt inputs. Outputs for PLCs include DC, AC, relay, analog, frequency or pulse, transistor, and triac. Programming options for PLCs include front panel, hand held, and computer.Programmable logic controllers use a variety of software programming languages for control. These include IEC 61131-3, sequential function chart (SFC), function block diagram (FBD), ladder diagram (LD), structured text (ST), instruction list (IL), relay ladder logic (RLL), flow chart, C, and Basic. The IEC 61131-3 programming environment provides support for five languages specified by the global standard: Sequential Function Chart,Function Block Diagram, Ladder Diagram, Structured Text, and Instruction List. This allows for multi-vendor compatibility and multi-language programming. SFC is a graphical language that provides coordination of program sequences, supporting alternative sequence selections and parallel sequences. FBD uses a broad function library to build complex procedures in a graphical format. Standard math and logic functions may be coordinated with customizable communication and interface functions. LD is a graphic language for discrete control and interlocking logic. It is completely compatible with FBD for discrete function control. ST is a text language used for complex mathematical procedures and calculations less well suited to graphical languages. IL is a low-level language similar to assembly code. It is used in relatively simple logic instructions. Relay Ladder Logic (RLL), or ladder diagrams, is the primary programming language for programmable logic controllers (PLCs). Ladder logic programming is a graphical representation of the program designed to look like relay logic. Flow Chart is a graphical language that describes sequential operations in a controller sequence or application. It is used to build modular, reusable function libraries. C is a high level programming language suited to handle the most complex computation, sequential, and data logging tasks. It is typically developed and debugged on a PC. BASIC is a high level language used to handle mathematical, sequential, data capturing and interface functions.Programmable logic controllers can also be specified with a number of computer interface options, network specifications and features. PLC power options, mounting options and environmental operating conditions are all also important to consider.2、ResumeA PLC (programmable Logic Controller) is a device that was invented to replace the necessary sequential relay circuits for control.The PLC works by looking at its input and depending upon their state, turning on/off its outputs. The user enters a program, usually via software or programmer, which gives the desired results.PLC is used in many "real world" applications. If there is industry present, chance are good that there is a PLC present. If you are involved in machining, packing, material handling, automated assembly or countless other industries, you are probably already using them. If you are not, you are wasting money and time. Almost any application that needs some type of electrical control has a need for a PLC.For example, let's assume that when a switch turns on we want to turn a solenoid on for 5second and then turn it off regardless of how long the switch is on for. We can do this with a simple external timer. But what if the process included 10 switches and solenoids? We should need 10 external times. What if the process also needed to count how many times the switch individually turned on? We need a lot of external counters.As you can see the bigger the process the more of a need we have for a PLC. We can simply program the PLC to count its input and turn the solenoids on for the specified time.We will take a look at what is considered to be the "top 20" PLC instructions. It can be safely estimated that with a firm understanding of these instructions one can solve more than 80% of the applications in existence.Of course we will learn more than just these instruction to help you solve almost ALL potential PLC applications.The PLC mainly consists of a CPU, memory areas, and appropriate circuits to receive input/output data. We can actually consider the PLC to be a box full of hundreds or thousands of separate relay, counters, times and data storage locations,Do these counters,timers, etc. really exist? No,they don't "physically" exist but rather they simulated and be considered software counters, timers, etc. . These internal relays are simulated through bit locations in registers.What does each part do? Let me tell you.Input RelaysThese are connected to the outside world.They physically exsit and receive signals from switches,sensors,ect..Typically they are not relays but rather they are transistors.Internal Utility RelaysThese do not receive signals from the outside world nor do they physically exist.they are simulated relays and are what enables a PLC to eliminate external relays.There are also some special relays that are dedicated to performing only one task.Some are always on while some are always off.Some are on only once during power-on and are typically used for initializing data that was stored.CountersThese again do not physically exist. They are simulated counters and they can be programmed to count pulses.Typically these counters can count up,down or both up anddown.Since they are simulated,they are limited in their counting speed.Some manufacturers also include high-speed counters that are hardware based.We think of these as physically existing.Most times these counters can count up,down or up and down.TimersThese also do not physically exist.They come in many varieties and increments.The most common type is an on-delay type.Others include off-delays and both retentive and non-retentive types.Increments vary from 1ms through 1s.Output RelaysThere are connected to the outside world.They physically exist and send on/off signals to solenoids,lights,etc..They can be transistors,relays,or triacs depending upon the model chosen Data StorageTypically there are registers assigned to simply store data.They are usually used as temporary storage for math or data manipulation.They can also typically be used to store data when power is removed form the PLC.Upon power-up they will still have the same contents as before power was moved.Very convenient and necessary!A PLC works by continually scanning a program.We can think of this scan cycle as consisting of 3 important steps.There are typically more than 3 but we can focus on the important parts and not worry about the others,Typically the others are checking the system and updating the current internal counter and timer values,Step 1 is to check input status,First the PLC takes a look at each input to determine if it is on off.In other words,is the sensor connected to the first input on?How about the third...It records this data into its memory to be used during the next step.Step 2 is to execute program.Next the PLC executes your program one instruction at a time.Maybe your program said that if the first input was on then it should turn on the first output.Since it already knows which inputs are on/off from the previous step,it will be able to decide whether the first output should be turned on based on the state of the first input.It will store the execution results for use later during the next step.Step 3 is to update output status.Finally the PLC updates the status the outputs.It updates the outputs based on which inputs were on during the first step and the results executing your program during the second step.Based on the example in step 2 it would now turn on the firstoutput because the first input was on and your program said to turn on the first output when this condition is true.After the third step the PLC goes back to step one repeats the steps continuously.One scan time is defined as the time it takes to execute the 3 steps continuously.One scan time is defined as the time it takes to execute the 3 steps listed above.Thus a practical system is controlled to perform specified operations as desired.3、PLC StatusThe lack of keyboard, and other input-output devices is very noticeable on a PLC. On the front of the PLC there are normally limited status lights. Common lights indicate;power on - this will be on whenever the PLC has powerprogram running - this will often indicate if a program is running, or if no program is runningfault - this will indicate when the PLC has experienced a major hardware or software problemThese lights are normally used for debugging. Limited buttons will also be provided for PLC hardware. The most common will be a run/program switch that will be switched to program when maintenance is being conducted, and back to run when in production. This switch normally requires a key to keep unauthorized personnel from altering the PLC program or stopping execution. A PLC will almost never have an on-off switch or reset button on the front. This needs to be designed into the remainder of the system.The status of the PLC can be detected by ladder logic also. It is common for programs to check to see if they are being executed for the first time, as shown in Figure 1. The ’first scan’ input will be true on the very first time the ladder logic is scanned, but false on every other scan. In this case the address for ’first scan’ in a PLC-5 is ’S2:1/14’. With the logic in the example the first scan will seal on ’light’, until ’clear’ is turned on. So the light will turn on after the PLC has been turned on, but it will turn off and stay off after ’clear’ is turned on. The ’first scan’ bit is also referred to at the ’first pass’ bit.Figure 1 An program that checks for the first scan of the PLC4、Memory TypesThere are a few basic types of computer memory that are in use today.RAM (Random Access Memory) - this memory is fast, but it will lose its contents when power is lost, this is known as volatile memory. Every PLC uses this memory for the central CPU when running the PLC.ROM (Read Only Memory) - this memory is permanent and cannot be erased. It is often used for storing the operating system for the PLC.EPROM (Erasable Programmable Read Only Memory) - this is memory that can be programmed to behave like ROM, but it can be erased with ultraviolet light and reprogrammed.EEPROM (Electronically Erasable Programmable Read Only Memory) – This memory can store programs like ROM. It can be programmed and erased using a voltage, so it is becoming more popular than EPROMs.All PLCs use RAM for the CPU and ROM to store the basic operating system for the PLC. When the power is on the contents of the RAM will be kept, but the issue is what happens when power to the memory is lost. Originally PLC vendors used RAM with a battery so that the memory contents would not be lost if the power was lost. This method is still in use, but is losing favor. EPROMs have also been a popular choice for programming PLCs. The EPROM is programmed out of the PLC, and then placed in the PLC. When the PLC is turned on the ladder logic program on the EPROM is loaded into the PLC and run. This method can be very reliable, but the erasing and programming technique can be time consuming. EEPROM memories are a permanent part of the PLC, and programs can be stored in them like EPROM. Memory costs continue to drop, and newer types (such as flash memory) are becoming available, and these changes will continue to impact PLCs.5、Objective and Significance of the ThesisThe objective of this thesis is to develop a systematic software design methodology for PLC operated automation systems. The design methodology involves high-level description based on state transition models that treat automation control systems as discrete event systems, a stepwise design process, and set of design rules providing guidance and measurements to achieve a successful design. The tangible outcome of this research is to find a way to reduce the uncertainty in managing the control software development process, that is, reducing programming and debugging time and their variation, increasing flexibility of theautomation systems, and enabling software reusability through modularity. The goal is to overcome shortcomings of current programming strategies that are based on the experience of the individual software developer.A systematic approach to designing PLC software can overcome deficiencies in the traditional way of programming manufacturing control systems, and can have wide ramifications in several industrial applications. Automation control systems are modeled by formal languages or, equivalently, by state machines. Formal representations provide a high-level description of the behavior of the system to be controlled. State machines can be analytically evaluated as to whether or not they meet the desired goals. Secondly, a state machine description provides a structured representation to convey the logical requirements and constraints such as detailed safety rules. Thirdly, well-defined control systems design outcomes are conducive to automatic code generation- An ability to produce control software executable on commercial distinct logic controllers can reduce programming lead-time and labor cost. In particular, the thesis is relevant with respect to the following aspect Customer-Driven ManufacturingIn modern manufacturing, systems are characterized by product and process innovation, become customer-driven and thus have to respond quickly to changing system requirements.A major challenge is therefore to provide enabling technologies that can economically reconfigure automation control systems in response to changing needs and new opportunities. Design and operational knowledge can be reused in real-time, therefore, giving a significant competitive edge in industrial practice.Higher Degree of Design Automation and Software QualityStudies have shown that programming methodologies in automation systems have not been able to match rapid increase in use of computing resources. For instance, the programming of PLCs still relies on a conventional programming style with ladder logic diagrams. As a result, the delays and resources in programming are a major stumbling stone for the progress of manufacturing industry. Testing and debugging may consume over 50% of the manpower allocated for the PLC program design. Standards [IEC 60848, 1999; IEC-61131-3, 1993; IEC 61499, 1998; ISO 15745-1, 1999] have been formed to fix and disseminate state-of-the-art design methods, but they normally cannot participate in advancingthe knowledge of efficient program and system design.A systematic approach will increase the level of design automation through reusing existing software components, and will provide methods to make large-scale system design manageable. Likewise, it will improve software quality and reliability and will be relevant to systems high security standards, especially those having hazardous impact on the environment such as airport control, and public railroads.System ComplexityThe software industry is regarded as a performance destructor and complexity generator. Steadily shrinking hardware prices spoils the need for software performance in terms of code optimization and efficiency. The result is that massive and less efficient software code on one hand outpaces the gains in hardware performance on the other hand. Secondly, software proliferates into complexity of unmanageable dimensions; software redesign and maintenance-essential in modern automation systems-becomes nearly impossible. Particularly, PLC programs have evolved from a couple lines of code 25 years ago to thousands of lines of code with a similar number of 1/O points. Increased safety, for instance new policies on fire protection, and the flexibility of modern automation systems add complexity to the program design process. Consequently, the life-cycle cost of software is a permanently growing fraction of the total cost. 80-90% of these costs are going into software maintenance, debugging, adaptation and expansion to meet changing needs [Simmons et al., 1998].Design Theory DevelopmentToday, the primary focus of most design research is based on mechanical or electrical products. One of the by-products of this proposed research is to enhance our fundamental understanding of design theory and methodology by extending it to the field of engineering systems design. A system design theory for large-scale and complex system is not yet fully developed. Particularly, the question of how to simplify a complicated or complex design task has not been tackled in a scientific way. Furthermore, building a bridge between design theory and the latest epistemological outcomes of formal representations in computer sciences and operations research, such as discrete event system modeling, can advance future development in engineering design.Application in Logical Hardware DesignFrom a logical perspective, PLC software design is similar to the hardware design of integrated circuits. Modern VLSI designs are extremely complex with several million parts and a product development time of 3 years [Whitney, 1996]. The design process is normally separated into a component design and a system design stage. At component design stage, single functions are designed and verified. At system design stage, components are aggregated and the whole system behavior and functionality is tested through simulation. In general, a complete verification is impossible. Hence, a systematic approach as exemplified for the PLC program design may impact the logical hardware design.可编程控制器1、前言可编程序的逻辑控制器(PLC),是由Richard E.Morley 于1968年发明的,如今已经被广泛的应用于生产、运输、化学等工业中。
英文资料/中文翻译Programmable Logic ControllerProgrammable controller is the first in the late 1960s in the United States, then called Plc programmable logic controller (ProgrammableLogicController) is used to replace relays. For the implementation of the logical judgement, timing, sequence number, and other control functions. The concept is presented PLC General Motors Corporation. Plc and the basic design is the computer functional improvements, flexible, generic and other advantages and relay control system simple and easy to operate, such as the advantages of cheap prices combined controller hardware is standard and overall. According to the practical application of target software in order to control the content of the user procedures memory controller, the controller and connecting the accused convenient target.In the mid-1970s, the Plc has been widely used as a central processing unit microprocessor, import export module and the external circuits are used, large-scale integrated circuits even when the Plc is no longer the only logical (IC) judgement functions also have data processing, PID conditioning and data communications functions. International Electrotechnical Commission (IEC) standards promulgated programmable controller for programmable controller draft made the following definition : programmable controller is a digital electronic computers operating system, specifically for applications in the industrial design environment. It used programmable memory, used to implement logic in their internal storage operations, sequence control, timing, counting and arithmetic operations, such as operating instructions, and through digital and analog input and output, the control of various types of machinery or production processes. Programmable controller and related peripherals, and industrial control systems easily linked to form a whole, to expand its functional design. Programmable controller for the user, is a non-contact equipment, the procedures can be changed to change production processes. The programmable controller has become a powerful tool for factory automation, widely popular replication. Programmable controller is user-oriented industries dedicated control computer, with many distinctive features.First, high reliability, anti-interference capability;Second,programming visual, simple;Third, adaptability good;Fourth ,functional improvements, strong functional interface.A programmable logic controller (PLC) or simply programmable controller is a digital computer used for automation of industrial processes, such as control of machinery on factory assembly lines. Unlike general-purpose computers, the PLC is designed for multiple inputs and output arrangements, extended temperature ranges, immunity to electrical noise, and resistance to vibration and impact. Programs to control machine operation are typically stored in battery-backed or non-volatile memory. A PLC is an example of a real time system since output results must be produced in response to input conditions within a bounded time, otherwise unintended operation will result..The main difference from other computers is that PLC are armored for severe condition (dust, moisture, heat, cold, etc) and have the facility for extensive input/output (I/O) arrangements. These connect the PLC to sensors and actuators. PLC read limit switches, analog process variables (such as temperature and pressure), and the positions of complex positioning systems. Some even use machine vision. On the actuator side, PLC operate electric motors, pneumatic or hydraulic cylinders, magnetic relays or solenoids, or analog outputs. The input/output arrangements may be built into a simple PLC, or the PLC may have external I/O modules attached to a computer network that plugs into the PLC.PLC were invented as replacements for automated systems that would use hundreds or thousands of relays, cam timers, and drum sequencers. Often, a single PLC can be programmed to replace thousands of relays. Programmable controllers were initially adopted by the automotive manufacturing industry, where software revision replaced the re-wiring of hard-wired control panels when production models changed.Many of the earliest PLC expressed all decision making logic in simple ladder logic which appeared similar to electrical schematic diagrams. The electricians were quite able to trace out circuit problems with schematic diagrams using ladder logic. This program notation was chosen to reduce training demands for the existing technicians. Other early PLC used a form of instruction list programming, based on a stack-based logic solver.Although PC based control has started to come into place, PLC based control will remain the technique to which the majority of industrial applications will adhere due to its higher performance, lower price, and superior reliability in harsh environments. Moreover, according to a study on the PLC market of Frost and Sullivan, an increase of the annual sales volume to 15 million PLCs per year with the hardware value of more than 8 billion US dollars has been predicted, though the prices of computing hardware is steadily dropping. The inventor of the PLC, Richard E Morley, fairly considers the PLC market as a 5-billion industry at the present time.Though PLC are widely used in industrial practice, the programming of PLC based control systems is still very much relying on trial-and-error. Alike software engineering, PLC software design is facing the software dilemma or crisis in a similar way. Morley himself emphasized this aspect most forcefully by indicating:If houses were built like software projects, a single woodpecker could destroy civilization.”The PLC biggest characteristics lie in: The electrical engineering teacher already no longer electric hardware up too many calculationses of cost, as long as order the importation that the button switch or the importation of the sensors order to link the PLC up can solve problem, pass to output to order the conjunction contact machine or control the start equipments of the big power after the electric appliances, but the exportation equipments direct conjunction of the small power can.PLC internal containment have the CPU of the CPU, and take to have an I/ O for expand of exterior to connect a people's address and saving machine three big pieces to constitute, CPU core is from an or many is tired to add the machine to constitute, mathematics that they have the logic operation ability, and can read the procedure save the contents of the machine to drive the homologous saving machine and I/ Os to connect after pass the calculation; The I/ O add inner part is tired the input and output system of the machine and exterior link, and deposit the related data into the procedure saving machine or data saving machine; The saving machine can deposit the data that the I/ O input in the saving machine, and in work adjusting to become tired to add the machine and I/ Os to connect, saving machine separately saving machine RAM of the procedure saving machine ROM and datas, the ROM can can do deposit of the data permanence in the saving machine, but RAM only for the CPU computes the temporary calculation usage of hour of buffer space.Particularly, practical problems in PLC programming are to eliminate software bugs and to reduce the maintenance costs of old ladder logic programs. Though the hardware costs of PLC are dropping continuously, reducing the scan time of the ladder logic is still an issue in industry so that low-cost PLC can be used.In general, the productivity in generating PLC is far behind compared to other domains, for instance, VLSI design, where efficient computer aided design tools are in practice. Existent software engineering methodologies are not necessarily applicable to the PLC based software design because PLC-programming requires a simultaneousconsideration of hardware and software. The software design becomes, thereby, more and more the major cost driver. In many industrial design projects, more than 50% of the manpower allocated for the control system design and installation is scheduled for testing and debugging PLC programs.In addition, current PLC based control systems are not properly designed to support the growing demand for flexibility and reconfigurability of manufacturing systems.The functionality of the PLC has evolved over the years to include sequential relay control, motion control, process control, distributed control systems and networking. The data handling, storage, processing power and communication capabilities of some modern PLC are approximately equivalent to desktop computers. PLC-like programming combined with remote I/O hardware, allow a general-purpose desktop computer to overlap some PLC in certain applications.The PLC biggest characteristics lie in: The electrical engineering teacher already no longer electric hardware up too many calculationses of cost, as long as order the importation that the button switch or the importation of the sensors order to link the PLC up can solve problem, pass to output to order the conjunction contact machine or control the start equipments of the big power after the electric appliances, but the exportation equipments direct conjunction of the small power can.PLC internal containment have the CPU of the CPU, and take to have an I/ O for expand of exterior to connect a people's address and saving machine three big pieces to constitute, CPU core is from an or many is tired to add the machine to constitute, mathematics that they have the logic operation ability, and can read the procedure save the contents of the machine to drive the homologous saving machine and I/ Os to connect after pass the calculation; The I/ O add inner part is tired the input and output system of the machine and exterior link, and deposit the related data into the procedure saving machine or data saving machine; The saving machine can deposit the data that the I/ O input in the saving machine, and in work adjusting to become tired to add the machine and I/ Os to connect, saving machine separately saving machine RAM of the procedure saving machine ROM and datas, the ROM can can do deposit of the data permanence in the saving machine, but RAM only for the CPU computes the temporary calculation usage of hour of buffer space.PLC compared with other control systemsPLC are well-adapted to a range of automation tasks. These are typically industrial processes in manufacturing where the cost of developing and maintaining the automationsystem is high relative to the total cost of the automation, and where changes to the system would be expected during its operational life. PLC contain input and output devices compatible with industrial pilot devices and controls; little electrical design is required, and the design problem centers on expressing the desired sequence of operations in ladder logic notation. PLC applications are typically highly customized systems so the cost of a packaged PLC is low compared to the cost of a specific custom-built controller design. On the other hand, in the case of mass-produced goods, customized control systems are economic due to the lower cost of the components, which can be optimally chosen instead of a "generic" solution, and where the non-recurring engineering charges are spread over thousands of places.For high volume or very simple fixed automation tasks, different techniques are used. For example, a consumer dishwasher would be controlled by an electromechanical cam timer costing only a few dollars in production quantities.A microcontroller-based design would be appropriate where hundreds or thousands of units will be produced and so the development cost (design of power supplies and input/output hardware) can be spread over many sales, and where the end-user would not need to alter the control. Automotive applications are an example; millions of units are built each year, and very few end-users alter the programming of these controllers. However, some specialty vehicles such as transit busses economically use PLC instead of custom-designed controls, because the volumes are low and the development cost would be uneconomic.Very complex process control, such as used in the chemical industry, may require algorithms and performance beyond the capability of even high-performance PLC. Very high-speed or precision controls may also require customized solutions; for example, aircraft flight controls.PLC may include logic for single-variable feedback analog control loop, a "proportional, integral, derivative" or "PID controller." A PID loop could be used to control the temperature of a manufacturing process, for example,historically PLC were usually configured with only a few analog control loops; where processes required hundreds or thousands of loops, a distributed control system (DCS) would instead be used. However, as PLC have become more powerful, the boundary between DCS and PLC applications has become less clear-cut.Digital and analog signalsDigital or discrete signals behave as binary switches, yielding simply an On or Off signal (1 or 0, True or False, respectively). Push buttons, limit switches, and photoelectric sensors are examples of devices providing a discrete signal. Discrete signals are sent using either voltage or current, where a specific range is designated as On and another as Off. For example, a PLC might use 24 V DC I/O, with values above 22 V DC representing On, values below 2VDC representing Off, and intermediate values undefined. Initially, PLC had only discrete I/O.Analog signals are like volume controls, with a range of values between zero and full-scale. These are typically interpreted as integer values (counts) by the PLC, with various ranges of accuracy depending on the device and the number of bits available to store the data. As PLC typically use 16-bit signed binary processors, the integer values are limited between -32,768 and +32,767. Pressure, temperature, flow, and weight are often represented by analog signals. Analog signals can use voltage or current with a magnitude proportional to the value of the process signal. For example, an analog 4-20 m or 0 - 10 V input would be converted into an integer value of 0-32767.Current inputs are less sensitive to electrical noise (i.e. from welders or electric motor starts) than voltage inputs.System scaleA small PLC will have a fixed number of connections built in for inputs and outputs. Typically, expansions are available if the base model does not have enough I/O.Modular PLC have a chassis (also called a rack) into which is placed modules with different functions. The processor and selection of I/O modules is custom for the particular application. Several racks can be administered by a single processor, and may have thousands of inputs and outputs. A special high speed serial I/O link is used so that racks can be distributed away from the processor, reducing the wiring costs for Large plants PLC used in larger I/O systems may have peer-to-peer (P2P) communication between processors. This allows separate parts of a complex process to have individual control while allowing the subsystems to co-ordinate over the communication link. These communication links are also often used for HMI (Human-Machine Interface) devices such as keypads or PC-type workstations. Some of today's PLC can communicate over a wide range of media including RS-485, Coaxial, and even Ethernet for I/O control at network speeds up to 100m.ProgrammingEarly PLC, up to the mid-1980s, were programmed using proprietary programming panels or special-purpose programming terminals, which often had dedicated function keys representing the various logical elements of PLC programs. Programs were stored on cassette tape cartridges. Facilities for printing and documentation were very minimal due to lack of memory capacity. More recently, PLC programs are typically written in a special application on a personal computer, then downloaded by a direct-connection cable or over a network to the PLC. The very oldest PLC used non-volatile magnetic core memory but now the program is stored in the PLC either in battery-backed-up RAM or some other non-volatile flash memory.Early PLC were designed to replace relay logic systems. These PLC were programmed in "ladder logic", which strongly resembles a schematic diagram of relay logic. Modern PLC can be programmed in a variety of ways, from ladder logic to more traditional programming languages such as BASIC and C. Another method is State Logic, a Very High Level Programming Language designed to program PLC based on State Transition Diagrams.Recently, the International standard IEC 61131-3 has become popular. IEC 61131-3 currently defines five programming languages for programmable control systems: FBD (Function block diagram), LD (Ladder diagram), ST (Structured text, similar to the Pascal programming language), IL (Instruction list, similar to assembly language) and SFC (Sequential function chart). These techniques emphasize logical organization of operations.While the fundamental concepts of PLC programming are common to all manufacturers, differences in I/O addressing, memory organization and instruction sets mean that PLC programs are never perfectly interchangeable between different makers. Even within the same product line of a single manufacturer, different models may not be directly compatible.User interfacePLC may need to interact with people for the purpose of configuration, alarm reporting or everyday control. A Human-Machine Interface (HMI) is employed for this purpose. HMI' are also referred to as MMI' (Man Machine Interface) and GUI (Graphical User Interface).A simple system may use buttons and lights to interact with the user. Text displays are available as well as graphical touch screens. Most modern PLC can communicate over a network to some other system, such as a computer running a SCADA (Supervisory Control And Data Acquisition) system or web browser.CommunicationsPLC usually have built in communications ports usually 9-Pin RS232, and optionally for RS485 and Ethernet. DF1 is usually included as one of the communications protocols. Other communications protocols that may be used are listed in the List of automation protocols.HistoryThe PLC was invented in response to the needs of the American automotive industry. Before the PLC, control, sequencing, and safety interlock logic for manufacturing automobiles was accomplished using relays, timers and dedicated closed-loop controllers. The process for updating such facilities for the yearly model change-over was very time consuming and expensive, as the relay systems needed to be rewired by skilled electricians. In 1968 GM Hydra (the automatic transmission division of General Motors) issued a request for proposal for an electronic replacement for hard-wired relay systems.The winning proposal came from Bedford Associates of Bedford, Massachusetts. The first PLC, designated the 084 because it was Bedford Associates' eighty-fourth project, was the result. Bedford Associates started a new company dedicated to developing, manufacturing, selling, and servicing this new product: Mod, which stood for One of the people who worked on that project was Dick Morley, who is considered to be the "father" of the PLC. The brand was sold in 1977 to Gould Electronics, and later acquired by German Company AEG and then by French Schneider Electric, the current owner.One of the very first 084 models built is now on display at headquarters in North Andover, Massachusetts. It was presented to by GM, when the unit was retired after nearly twenty years of uninterrupted service.The automotive industry is still one of the largest users of PLC, and still numbers some of its controller models such that they end with eighty-four. PLC are used in many different industries and machines such as packaging and semiconductor machines.Well known PLC brands are Toshiba, Siemens, Allen-Bradley, ABB, Mitsubishi, Omron, and General Electri.可编程序控制器可编程控制器是60年代末在美国首先出现的,当时叫可编程逻辑控制器PLC (Programmable Logic Controller),目的是用来取代继电器。
可编程控制器本科毕业论文中英文翻译材料关于PLC外文翻译中文翻译可编程控制器技术可编程序控制器(Programmable Logic Controller,习惯上简称为PLC)是以微处理器为核心的通用工业自动化装置。
是20世纪60年代末在继电器控制系统的基础上开发出来的,它将传统的继电器控制技术与计算机技术和通信技术融为一体,具有结构简单、性能优越、可靠性高、灵活通用、易于编程、使用方便等优点。
具体来说,PLC的特点表现为以下几个方面:?硬件的可靠性高。
PLC专业在工业环境的恶劣条件下应用而设计。
一个设计良好的PLC能置于有很强电噪声、电磁干扰、机械振动、极端温度和湿度很大的环境中。
在硬件设计方面,首先是选用优质器件,再就是采用合理的系统结构,加固、简化安装,使它易于抗振冲击,对印刷电路板的设计、加工和焊接都采取了极为严格的工艺措施,而在电路、结构及工艺上采取了一些独特的方式。
由于PLC 本身具有很高的可靠性,所以在发生故障的部位大多集中在输入/输出的部位以及如传感器件、限位开关、光电开关、电磁阀、电机等外围装置上。
?编程简单,使用方便。
用微机实现自动控制,常使用汇编语言编程,难于掌握,要求使用者具有一定水平的计算机硬件和软件知识。
PLC采用面向控制过程、面向问题的编程方式,与目前微机控制常用的汇编语言相比,虽然在PLC内部增加了解释程序,增加了程序的执行时间,但对大多数的机电控制设备来说,这种损耗是微不足道的。
?接线简单,通用性好。
在电信号匹配的情况下,PLC的接线只需将输入信号的设备(按钮、开关等)与PLC输入端子连接,将接受输出信号执行控制任务的执行元件(接触器、电磁阀)与PLC输出端子连接。
接线简单、工作量少,省去了传统的继电器控制系统的接线和拆线的麻烦。
PLC的编程逻辑提供了能随要求而改变的逻辑关系,这样生产线的自动化过程就能随意改变。
这种性能使PLC具有很高的经济效益。
用于连接现场设备的硬件接口实际上已经设计成为PLC的组成部分,模块化的自诊断接口电路能指出故障,并易于排除故障与替换故障部件,这样的软硬件设计就使现场电气人员与技术人员易于使用。
Programmable Logic ControllerA programmable logic controller (PLC) or programmable controller is a digital computer used for automation of electromechanical processes, such as control of machinery on factory assembly lines, amusement rides, or lighting fixtures. PLCs are used in many industries and machines. Unlike general-purpose computers, the PLC is designed for multiple inputs and output arrangements, extended temperature ranges, immunity to electrical noise, and resistance to vibration and impact. Programs to control machine operation are typically stored in battery-backed or non-volatile memory. A PLC is an example of a real time system since output results must be produced in response to input conditions within a bounded time, otherwise unintended operation will result.1.HistoryThe PLC was invented in response to the needs of the American automotive manufacturing industry. Programmable logic controllers were initially adopted by the automotive industry where software revision replaced the re-wiring of hard-wired control panels when production models changed.Before the PLC, control, sequencing, and safety interlock logic for manufacturing automobiles was accomplished using hundreds or thousands of relays, cam timers, and drum sequencers and dedicated closed-loop controllers. The process for updating such facilities for the yearly model change-over was very time consuming and expensive, as electricians needed to individually rewire each and every relay.In 1968 GM Hydramatic (the automatic transmission division of General Motors) issued a request for proposal for an electronic replacement for hard-wired relay systems. The winning proposal came from Bedford Associates of Bedford, Massachusetts. The first PLC, designated the 084 because it was Bedford Associates' eighty-fourth project, was the result. Bedford Associates started a new company dedicated to developing, manufacturing, selling, and servicing this new product: Modicon, which stood for MOdular DIgital CONtroller. One of the people who worked on that project was Dick Morley, who is considered to be the "father" of thePLC. The Modicon brand was sold in 1977 to Gould Electronics, and later acquired by German Company AEG and then by French Schneider Electric, the current owner.One of the very first 084 models built is now on display at Modicon's headquarters in North Andover, Massachusetts. It was presented to Modicon by GM, when the unit was retired after nearly twenty years of uninterrupted service. Modicon used the 84 moniker at the end of its product range until the 984 made its appearance.The automotive industry is still one of the largest users of PLCs.2.DevelopmentEarly PLCs were designed to replace relay logic systems. These PLCs were programmed in "ladder logic", which strongly resembles a schematic diagram of relay logic. This program notation was chosen to reduce training demands for the existing technicians. Other early PLCs used a form of instruction list programming, based on a stack-based logic solver.Modern PLCs can be programmed in a variety of ways, from ladder logic to more traditional programming languages such as BASIC and C. Another method is State Logic, a very high-level programming language designed to program PLCs based on state transition diagrams.Many early PLCs did not have accompanying programming terminals that were capable of graphical representation of the logic, and so the logic was instead represented as a series of logic expressions in some version of Boolean format, similar to Boolean algebra. As programming terminals evolved, it became more common for ladder logic to be used, for the aforementioned reasons. Newer formats such as State Logic and Function Block (which is similar to the way logic is depicted when using digital integrated logic circuits) exist, but they are still not as popular as ladder logic.A primary reason for this is that PLCs solve the logic in a predictable and repeating sequence, and ladder logic allows the programmer (the person writing the logic) to see any issues with the timing of the logic sequence more easily than would be possible in other formats.3.ProgrammingEarly PLCs, up to the mid-1980s, were programmed using proprietary programming panels or special-purpose programming terminals, which often had dedicated function keys representing the various logical elements of PLC programs.Programs were stored on cassette tape cartridges. Facilities for printing and documentation were very minimal due to lack of memory capacity. The very oldest PLCs used non-volatile magnetic core memory.More recently, PLCs are usually programmed using special application software written for use on desktop computers, and connecting between the desktop computer and the PLC such as via Ethernet or RS-232 cabling. Such software allows entry and editing of the ladder style logic, and then may provide additional functionality to assist debugging and troubleshooting the software, for example by highlights portions of the logic to show current status during operation or via simulation. Finally, the software may allow uploading and downloading of the program between the computer and the PLC, for backup and restoration purposes. Alternately, specific devices known as programming boards are used to hard wire the logic into the controller by the use of a removable chip, such as an EEPROM, where the program is transferred to the programming board from the workstation via serial or other bus logic.4.FunctionalityThe functionality of the PLC has evolved over the years to include sequential relay control, motion control, process control, distributed control systems and networking. The data handling, storage, processing power and communication capabilities of some modern PLCs are approximately equivalent to desktop computers. PLC-like programming combined with remote I/O hardware, allow a general-purpose desktop computer to overlap some PLCs in certain applications. Regarding the practicality of these desktop computer based logic controllers, it is important to note that they have not been generally accepted in heavy industry because the desktop computers run on less stable operating systems than do PLCs, and because the desktop computer hardware is typically not designed to the same levels of tolerance to temperature, humidity, vibration, and longevity as the processors used in PLCs. In addition to the hardware limitations of desktop based logic, operating systems such as Windows do not lend themselves to deterministic logic execution, with the result that the logic may not always respond to changes in logic state or input status with the extreme consistency in timing as is expected from PLCs. Still, such desktop logic applications find use in less critical situations, such as laboratory automation and use in small facilities where the application is less demanding and critical, because they are generally much less expensive than PLCs.In more recent years, small products called PLRs (programmable logic relays), and also by similar names, have become more common and accepted. These are verymuch like PLCs, and are used in light industry where only a few points of I/O (i.e. a few signals coming in from the real world and a few going out) are involved, and low cost is desired. These small devices are typically made in a common physical size and shape by several manufacturers, and branded by the makers of larger PLCs to fill out their low end product range. Popular names include PICO Controller, NANO PLC, and other names implying very small controllers. Most of these have between 8 and 12 digital inputs, 4 and 8 digital outputs, and up to 2 analog inputs. Size is usually about 4" wide, 3" high, and 3" deep. Most such devices include a tiny postage stamp sized LCD screen for viewing simplified ladder logic (only a very small portion of the program being visible at a given time) and status of I/O points, and typically these screens are accompanied by a 4-way rocker push-button plus four more separate push-buttons, similar to the key buttons on a VCR remote control, and used to navigate and edit the logic. Most have a small plug for connecting via RS-232 to a personal computer so that programmers can use simple Windows applications for programming instead of being forced to use the tiny LCD and push-button set for this purpose. Unlike regular PLCs that are usually modular and greatly expandable, the PLRs are usually not modular or expandable, but their price can be two orders of magnitude less than a PLC and they still offer robust design and deterministic execution of the logic.5.FeaturesThe main difference from other computers is that PLCs are armored for severe conditions (such as dust, moisture, heat, cold) and have the facility for extensive input/output (I/O) arrangements. These connect the PLC to sensors and actuators. PLCs read limit switches, analog process variables (such as temperature and pressure), and the positions of complex positioning systems. Some use machine vision. On the actuator side, PLCs operate electric motors, pneumatic or hydraulic cylinders, magnetic relays, solenoids, or analog outputs. The input/output arrangements may be built into a simple PLC, or the PLC may have external I/O modules attached to a computer network that plugs into the PLC.6.System styleA small PLC will have a fixed number of connections built in for inputs and outputs. Typically, expansions are available if the base model has insufficient I/O.Modular PLCs have a chassis (also called a rack) into which are placed modules with different functions. The processor and selection of I/O modules is customised for the particular application. Several racks can be administered by a single processor, and may have thousands of inputs and outputs. A special high speed serial I/O link is used so that racks can be distributed away from the processor, reducing the wiring costs for large plants.7.PLC compared with other control systemsPLCs are well-adapted to a range of automation tasks. These are typically industrial processes in manufacturing where the cost of developing and maintaining the automation system is high relative to the total cost of the automation, and where changes to the system would be expected during its operational life. PLCs contain input and output devices compatible with industrial pilot devices and controls; little electrical design is required, and the design problem centers on expressing the desired sequence of operations. PLC applications are typically highly customized systems so the cost of a packaged PLC is low compared to the cost of a specific custom-built controller design. On the other hand, in the case of mass-produced goods, customized control systems are economic due to the lower cost of the components, which can be optimally chosen instead of a "generic" solution, and where the non-recurring engineering charges are spread over thousands or millions of units.For high volume or very simple fixed automation tasks, different techniques are used. For example, a consumer dishwasher would be controlled by an electromechanical cam timer costing only a few dollars in production quantities.A microcontroller-based design would be appropriate where hundreds or thousands of units will be produced and so the development cost (design of power supplies, input/output hardware and necessary testing and certification) can be spread over many sales, and where the end-user would not need to alter the control. Automotive applications are an example; millions of units are built each year, and very few end-users alter the programming of these controllers. However, some specialty vehicles such as transit busses economically use PLCs instead of custom-designed controls, because the volumes are low and the development cost would be uneconomic.Very complex process control, such as used in the chemical industry, may require algorithms and performance beyond the capability of even high-performance PLCs. Very high-speed or precision controls may also require customized solutions; for example, aircraft flight controls.Programmable controllers are widely used in motion control, positioning control and torque control. Some manufacturers produce motion control units to be integrated with PLC so that G-code (involving a CNC machine) can be used to instruct machine movements.PLCs may include logic for single-variable feedback analog control loop, a "proportional, integral, derivative" or "PID controller." A PID loop could be used to control the temperature of a manufacturing process, for example. Historically PLCs were usually configured with only a few analog control loops; where processes required hundreds or thousands of loops, a distributed control system (DCS) would instead be used. As PLCs have become more powerful, the boundary between DCS and PLC applications has become less distinct.PLCs have similar functionality as Remote Terminal Units. An RTU, however, usually does not support control algorithms or control loops. As hardware rapidly becomes more powerful and cheaper, RTUs, PLCs and DCSs are increasingly beginning to overlap in responsibilities, and many vendors sell RTUs with PLC-like features and vice versa. The industry has standardized on the IEC 61131-3 functional block language for creating programs to run on RTUs and PLCs, although nearly all vendors also offer proprietary alternatives and associated development environments.可编程控制器可编程逻辑控制器(PLC)或可编程控制器是一种数字化的计算机,机电流程自动化应用,如机械控制的工厂流水线,机动游戏,或照明装置。
Application of PLCPLC is one kind specially for the digital operation operation electronic installation which applies under the industry environment designs. It uses may the coding memory, uses for in its internal memory operation and so on actuating logic operation, sequence operation, time, counting and arithmetic operation instructions, and can through digital or the simulation-like input and the output, controls each type the machinery or the production process. PLC and the related auxiliary equipment should according to form a whole easy with the industrial control system, easy to expand its function the principle to design.”In the 1970s the last stage, the programmable controller entered the practical application development phase, the computer technology has introduced in comprehensively the programmable controller, causes its function to have the leap. The higher operating speed, the subminiature volume, the more reliable industry antijamming design, the simulation quantity operation, the PID function and the extremely high performance-to-price ratio has established it in the modern industry status. In the early-1980s, the programmable controller has obtained the widespread application in the advanced industrial nation. This time programmable controller develops the characteristic is large-scale, the high velocity, the high performance, the product seriation. This stage's another characteristic is in the world produces the programmable controller's country to increase day by day, the output rises day by day. This symbolizes that the programmable controller marched into the mature stage.The 20th century last stage, the programmable controller's development characteristic was even more adapts in the modern industry need. From the control scale, this time has developed the large-scale machinery and subminiature machine; From the control, was born various special function unit, used in the pressure, the temperature, the rotational speed, the displacement and so on all kinds of control situation; From product necessary ability, has produced each kind of man-machine contact surface unit, the correspondence unit, caused to apply the programmable controller's industrial control equipment necessary to be easier. At present, the programmable controller in domain and so on machine manufacture, petroleum chemical industry, metallurgy steel and iron, automobile, light industry applications obtained the considerable development.Our country programmable controller's introduction, applies, the development, the production to follow the reform and open policy to start. At first has used the programmable controller massively in the introduction equipment. Then expanded the PLC application unceasingly in each kind of enterprise's production equipment and the product. At present, our country have been possible to produce the middle and small scale programmable controller. East Shanghai the room electricity Limited company produces the CF series, Hangzhou engine bed electrical equipment factory production's DKK and D series, Dalian Aggregate machine-tool Research institute produces S series, the Suzhou Electronic accounting machine Factory production's YZ series and so on many kinds of products have had certain scale and have obtained the application in the manufactured products. In addition, the non-flowers of tin light company, Chinese-foreign joint ventures and so on Shanghai Township Island Company are also our country quite famous PLC Manufacturers. May anticipate that along with our country modernization process's thorough, PLC will have the broader application world in our country.Uses the manual operation in view of the YNL draw die machine electric control system, the existence operation is complex, the operation requests high, needs specially shortcomings and so on operators, has designed PLC the control system. Has given the electrical machinery main return route, the PLC periphery wiring diagram; Has established the systems operation trapezoidal chart and the instruction list; And to this system key element shaping. After the improvement control system has realized the entire system board process automation, not only raised the production efficiency, but also has saved the labor force, reduced the production cost, may obtain a greater economic efficiency.PLC的应用PLC是一种专门为在工业环境下应用而设计的数字运算操作的电子装置。
中英文对照外文翻译文献(文档含英文原文和中文翻译)By integration of machinery developmentThe modern science and technology unceasing development, impelled different discipline intersecting enormously with the seepage, has caused the project domain technological revolution and the transformation, in mechanical engineering domain, because the microelectronic technology and the computer technology rapid development and forms to the mechanical industry seepage the integration of machinery, caused the mechanical industry the technical structure, the product organization, the function and the constitution, the production method and the management system has had the huge change, caused the industrial production to enter into “the integration of machinery” by “the machinery electrification” for the characteristic development phase.First, the integration of machinery outlineIntegration of machinery is refers in the organization new owner function, the power function, in the information processing functio n and the control function introduces the electronic technology, u nifies the system the mechanism and the computerization design and the software which constitutes always to call.Integration of machinery is refers in the organization new owner function, the power function, in the information processing functio n and the control function introduces the electronic technology, u nifies the system the mechanism and the computerization design and the software which constitutes always to call.The integration of machinery development also has become one to h ave until now own system new discipline, not only develops along with the science and technology, but also entrusts with the new content, but its basic characteristic may summarize is: The inte gration of machinery is embarks from the system viewpoint, synthes is community technologies and so on utilization mechanical technolo gy, microelectronic technology, automatic control technology, compute r technology, information technology, sensing observation and contro l technology, electric power electronic technology, connection techn ology, information conversion technology as well as software progra mming technology, according to the system function goal and the o ptimized organization goal, reasonable disposition and the layout v arious functions unit, in multi-purpose, high grade, redundant reli able, in the low energy consumption significance realize the speci fic function value, and causes the overall system optimization the systems engineering technology, from this produces function system , then becomes an integration of machinery systematic or the inte gration of machinery product.Therefore, “the integration of machinery”covering “the technolog y”and “the product”two aspects, only are, the integration of machinery technology is based on the above community technology organic fusion one kind of comprehensive technology, but is not m echanical technical, the microelectronic technology as well as othe r new technical simple combination, pieces together, this is the integration of machinery and the machinery adds the machinery elec trification which the electricity forms in the concept basic diffe rence, the mechanical engineering technology has the merely technic al to develop the machinery electrification, still was the traditi onal machinery, its main function still was replaces with the enl argement physical strength, after but developed the integration of machinery, micro electron installment eliminated may substitute fo r certain mechanical parts original Outside function, but also can entrust with many new functions, like the automatic detection, t he automatic reduction information, demonstrate the record, the aut omatic control and the control automatic diagnosis and the protect ion automatically and so on, not only namely the integration of machinery product is human's hand and body extending, human's sens e organ and the brains look, has the intellectualized characteristic is the integration of machinery and the machinery electrificati on distinguishes in the function essence.Second, the integration of machinery development conditionIntegration of machinery development may divide into 3 stages roug hly, 20th century 60's before for the first stage, this stage is called the initial stage, in this time, the people determination not on own initiative uses the electronic technology the prelimi nary achievement to consummate the mechanical product the performan ce, specially in Second World War period, the war has stimulated the mechanical product and the electronic technology union, these mechanical and electrical union military technology, postwar trans fers civilly, to the postwar economical restoration positive functi on, has developed and the development at that time generally spea king also is at the spontaneous condition, because at that time the electronic technology development not yet achieved certainly Le vel. Mechanical technical and electronic technology union also not impossible widespread and thorough development, already developed the product was also unable to promote massively.The 20th century 70~80 ages for the second stage, may be called the vigorous development stage, this time, the computer technology, the control technology, the communication development, has laid the technology base for the integration of machinery development, large-scale, ultra large scale integrated circuit and microcomputer swift and violent development, has provided the full material base for the integration of machinery development, this time characteristic is:①A mechatronics word first generally is accepted in Japan, probably obtains the quite widespread acknowledgment to 1980s last stages in the worldwide scale;②The integration of machinery technology and the product obtained the enormous development;③The various countries start to the integration of machinery technology and the product give the very big attention and the support. 1990s later periods, started the integration of machinery technology the new stage which makes great strides forward to the intelle ctualized direction, the integration of machinery enters the thorou gh development time, on the one hand, optics, the communication a nd so on entered the integration of machinery, processes the tech nology also zhan to appear tiny in the integration of machinery the foot, appeared the light integration of machinery and the micro integration of machinery and so on the new branch; On the ot her hand to the integration of machinery system modelling design, the analysis and the integrated method, the integration of machi nery discipline system and the trend of development has all condu cted the thorough research, simultaneously, because domains and soon artificial intelligence technology, neural network technology a nd optical fiber technology obtain the huge progress, opened the development vast world for the integration of machinery technology,these research, will urge the integration of machinery further t o establish the integrity the foundation and forms the integrity gradually the scientific system.Third, the integration of machinery trend of developmentIntegration of machinery is the collection machinery, the electron, optics, the control, the computer, the information and so on th e multi-disciplinary overlapping syntheses, its development and the progress rely on and promote the correlation technology developme nt and the progress, therefore, the integration of machinery main development direction is as follows:3.1IntellectualizedIntellectualization is a 21st century integration of machinery tech nological development important development direction, the artificial intelligence obtains day by day in the integration of machinery constructor's research takes, the robot and the numerical control engine bed intellectualization is the important application, here said “the intellectualization”is to the machine behavior descr iption, is in the control theory foundation, the absorption artifi cial intelligence, the operations research, the computer science, t he fuzzy mathematics, the psychology, the physiology and the chaos dynamics and so on the new thought, the new method, simulate t he human intelligence, enable it to have abilities and so on j udgment inference, logical thinking, independent decision-making, obt ains the higher control goal in order to, indeed, enable the int egration of machinery product to have With the human identical in telligence, is not impossible, also is nonessential, but, the high performance, the high speed microprocessor enable the integration of machinery product to have .preliminary intelligent or human's partial intelligences, then is completely possible and essential.3.2 ModularModulations are one item important and the arduous project, becaus e the integration of machinery product type and the manufacturer are many, but the development and the development have standard m echanical connection, electrical connection, power connection, the e nvironment connection integration of machinery product unit are an item extremely complex also are the extremely important matters, like the development collection deceleration, the intelligent velo city modulation, the electrical machinery in a body power unit, h ave function and so on vision, imagery processing, recognition and range finder control units, as well as each kind can complete the model operation the mechanism, like this, may use the standar d unit to develop the new product rapidly, simultaneously also ma y expand the scale of production, this need formulation Each standard, in order to various parts, the unit match and the connecti on, as a result of the conflicts of interest, very will be diff icult to formulate international or the domestic this aspect stand ard in the near future, but might through set up some big enter prises to8 form gradually, obviously, the advantage which from the el ectrical product standardization, the seriation will bring may af firm, regardless of will be to produces the standard integration of machinery unit the enterprise to produce the integration of ma chinery product the enterprise, the formalization will give the in tegration of machinery enterprise to bring the happy future3.3 Network1990s, the computer technology and so on the prominent achievement was the networking, networking starting with the rapid developmen t for the science and technology, the industrial production, polit ical, the military, the education magnanimous act person daily l ife has all brought the huge transformation, each kind of network the global economy, the production linked up into a single stre tch, enterprise's competition will also globalize, once the integra tion of machinery new product developed, so long as its function were original, the quality was reliable, very quick could the b est-selling whole world, as a result of the network popularization , was on the rise based on network each kind of long-distance c ontrol and the surveillance technology, but long-distance control t erminal device itself will be the integration of machinery product , the field busWas the domestic electric appliances network has9 become the situation with the local area network technolog y, connected using the family network each kind of domestic elect ric appliances take the computer as the central computer integrati on electrical appliances system, caused the people at home to sha re the inconvenience and the joy which each kind of high-tech br ought, therefore, the integration of machinery product faced the n etwork direction to develop without doubt.3.4 MicrominiaturizedMicrominiaturization emerge in the end of 1980s, refers is the in tegration of machinery to the miniature machine and the microscopi c domain development tendency, overseas name it micro electron mec hanical system (MEMS), makes a general reference the geometry size not to surpass 1cm3 the integration of machinery product, and t o micron, the nanometer level development, the micro integration o f machinery product volume small, consumes energy few, the movemen t is nimble, in aspects and so on biological medical service, mi litary, information has the incomparable superiority, the micro int egration of machinery development bottleneck lies in the micro mechanical technology, the micro integration of machinery product proc essing uses the fine processing technology, namely ultra precise t echnology, it including photoetching technology and etching technolo gy two kinds.3.5 GreenIndustries lived developed for the people have brought the huge c hange, on the one hand, the material was rich, the life was com fortable; On the other hand, the resources reduce, the ecological environment receives the serious pollution, therefore, the people appealed the protection environment resources, the return nature, the green product concept arises at the historic moment under t his kind of call, the green is the time tendency, the green pro duct in its design, the manufacture, the use and in the destruct ion life process, conforms to the specific environmental protection and the human health request, harmless or the harm are extremel y few to the ecological environment, the resources use factor is extremely high, the design green integration of machinery product , has the broad development future, the integration of machinery product green mainly is refers, when use does not pollute the ec ological environment, after the abandonment can recycle the use. 3.6 systematizationsOne of systematized performance characteristics is the system archi tecture further uses open style and the patternizing main line st ructure. the system may the nimble configuration, carries on tailo rs and the combination willfully, simultaneously seeks realizes the multi-subsystem coordination control and the synthesis management, second performance is the correspondence function big enhancement, generally besides RS232, but also will have RS485, the DCS pers onification, the future integration of machinery even more pays gr eat attention to the product and human's relations, the integratio n of machinery personification will have two meanings, one will b e, the integration of machinery product finally user will be a h uman, how will entrust with the integration of machinery product person's intelligence, the emotion, the human nature appears more and more importantly, specially the opposite partyWith the robot, its high-level boundary is the man-machine integration, another imi tates the biological mechanism, develops each kind of mechanical a nd electrical body flower product, in fact, many integration of m achinery products all are developed animal's inspiration.Fourth, the model integration of machinery productIntegration of machinery product subsystem (complete machine) and t he foundation Yuan, the part two big kinds, the typical integrati on of machinery system includes: The numerical control engine bed, the robot, the automobile computerization product,12 the intellectualized instrument measuring appliance, the elec tronic publishing printing system, the CAD/CAM system and so on, the typical integration of machinery Yuan, the part includes: Elec tric power electronic device and equipment, programmable controller, fuzzy controller, miniature electrical machinery, sensor, special-p urpose integrated circuit, servo and so on, these model integratio n of machinery product technical present situation, trend of devel opment, market prospect analysis omitting.Fifth, our country develops the situation and the duty integration of machinery work which “The integration of machinery” faces mainly includes two levels: One, with the microelectronic technology transformation tradition industry, its goal is the energy conservation, the nodal wood, enhances the work efficiency, improves the product quality, enhances the traditional industry technology advancement one step; Two, development automation, digitization, intellectualized mechanical and electrical products, promotion product renewal.(1) our country “the integration of machinery†the work fac es situation1. Our country is big with the microelectronic technology transfor mation tradition industry work load and is broad, has difficulty2. Our country with the integration of machinery technology accele ration product renewal, enhances the market share the call to be high, has the pressure.3.Our country is low with the integration of machinery product su bstitution technology content and the added value, consumes energy, the water consumption, consumes the material to be high, the po llution, harasses the people product the responsibility to be heav y, has the significance, in our country industrial system, the en ergy consumption, the water consumption wealthy and powerful family , also accounts for the quite great proportion to the environment al pollution serious enterprise, in recent years our country's ind ustry structure, product mix although several passes through the adjustment, but because many kinds of reasons, the result contin uously insufficiently is obvious, inside this no doubt has the hi gher authority to lead the department the policy comes out of ma ny doors question, “therefore has the enterprise “to hate to le ave one's native land”clings to tenaciously industry”the quest ion, but undeniable also has cannot optimize the ideal industry, optimal pleasing product The question, on the good answer already suspended at these enterprise's front, this was the development integration of machinery, developed with the production related int egration of14 machinery product, the integration of machinery product fu nction strong, the performance good, the quality high, the cost was low, also had the flexibility, might according to when the ma rket requirement and the user reflection the product mix and the production process made the essential adjustment, the reform, but did not need to change the equipment, this was the solution me chanical and electrical products multi-varieties, the few volume pr oduction important outlet, simultaneously, might pour into the fres h blood for the traditional mechanical industry, brought the new vigor, extricated the machinery production from the arduous physica l labor, realization Enlightened production.Moreover, looked from the market demand angle, because our country develops, the development integration of machinery product history is not long, the disparity is big, many product varieties, quan tity, the scale, the quality all cannot meet the need, the impor t volume all quite is big every year, therefore must develop urg ently.(2) Our country “the integration of machinery†work duty Our country may summarize in the integration of machinery aspect duty is two speeches: A speech widely thoroughly uses the integra tion of machinery technological transformations tradition industry; Another speech is develops the integration of15 machinery product on a grand scale, the promotion mechani cal and electrical products renewal, the total goal is the promot ion mechanical and electrical body industry formation, makes the c ontribution for our country industrial structure and the product m ix adjustment.In brief, the integration of machinery technology not only is pro motes the traditional mechanical and electrical industry fresh bloo d and the source power, also is opens our country mechanical and electrical profession product mix, the industrial structure adjust s the front door the key.Sixth, our country develops “the integration of machinery†c ountermeasure(1) Enhancement overall plan arrangement, coordinated development pl anAt present, our country is engaged in the unit which “the integ ration of machinery”the research develops and produces to be ve ry many, each one all has a set of own development strategy, va rious units' plan as a result of respective standpoint, the objec tive point limit, only is considered unavoidably the local interes t, various16 department responsible for the work's related plan and pl an, also some unification consideration insufficiency, the overall plan arrangement insufficient question, simultaneously lacks the com prehensive survey overall situation to have the authority development plan and the strategic plan, therefore, suggested various depar tment responsible for the work charges the unit concerned in to conduct the thorough investigation and study, in the scientific an alysis foundation, formulates manages the overall situation “the i ntegration of machinery”the research, the development, the produc tive plan and the plan Avoids developing duplicates, produces hasa collision!(2) Strengthened profession management, display “associationâ€functionAt present, our country “integration of machinery”hot, but acco rding to the present profession division method and the management system, “the policy comes out of many doors”is difficult duo , therefore, our country has the necessity to be clear about one “the integration of machinery”the profession to manage the or ganization, according to the present country political reform and the economic restructuring spirit, as well as the integration of machinery profession characteristic, we suggested, strengthens Beijin g Integration of machinery Association as soon as possible the co nstruction, entrusts with its profession management function, “the association”must further expand the leadership organization - -council representative the stratification plane and the coverage, must strengthen the office, secretariat's construction; Must throu gh its astute capable administrative body, the economic entity, the organization17 “the profession”the development plan, strategic plan dr awing up; The instruction profession stationing layout adjustment, carries on develops the breach choice, pays special attention to the priority project the experiment site and the related project loses one's temper, the tender work ......Seventh, the conclusionIn summary, the integration of machinery appearance is not isolate d, it is many science and technology development crystallization, is the social productive forces develops the certain stage inevita bly request Certainly, also has with the integration of machinery related technology very many, and along with the science and te chnology development, the tendency which each kind of technology w ill fuse mutually more and more is obvious, the integration of m achinery technology broad prospects for development more and more will be also bright.论机电一体化的发展现代科学技术的不断发展,极大地推动了不同学科的交叉与渗透,导致了工程领域的技术革命与改造,在机械工程领域,由于微电子技术和计算机技术的迅速发展及其向机械工业的渗透所形成的机电一体化,使机械工业的技术结构、产品机构、功能与构成、生产方式及管理体系发生了巨大变化,使工业生产由“机械电气化”迈入了“机电一体化”为特征的发展阶段。
可编程逻辑控制器外文文献资料可编程逻辑控制器(外文文献资料) Programmable Logic Controllers S. Brian MorrissAutomated Manufacturing Systems: Actuators, Controls, Sensors, and Robotics S.布莱恩。
莫利斯自动化制造系统:执行器,控制器,传感器和机器人1.Development of PLCThere was quite a long delay before digital computer control of manufacturing processes became widely implemented. Lack of standardization was the problem. NC equipment showed up as the firstreal application of digital control. The suppliers of NC equipment built totally enclosed systems, evolving away from analog control towarddigital control. With little need for interconnection of the NC equipment to other computer controlled devices, the suppliers did not have to worry about lack of standards in communication. Early NC equipment read punched tape programs as they ran. Even the paper tape punchers were supplied by the NC equipment supplier. Meanwhile, large computer manufacturers, such as IBM and DEC, concentrated on interconnecting their own proprietary equipment to their own proprietary office peripherals. (Interconnection capability was poor even there.) Three advances eventually opened the door for automated manufacturing by allowing easier interfacing of controllers, sensors and actuators. Oneadvance was the development of the programmable controller, the called a “PC,” now called a“PLC” (programmable logic controller). PLCs contain digital computers. It was a major step from sequencing automation with rotating cams or with series of electrical relay switches, to using microprocessor-based PLC sequencers. With microprocessors, the sequencers could be programmed to follow different sequences under different conditions.The physical structure of a PLC, as shown in figure 1.8, is as important a feature as its computerized innards. The central component, called the CPU, contains the digital computer and plugs into a bus or a rack. Other PLC modules can be plugged into the same bus. Optionalinterface modules are available for just about any type of sensor or actuator. The PLC user buys only the modules needed, and thus avoids having to worry about compatibility between sensors, actuators and the PLC. Most PLCs offer communication modules now, so that the PLC can exchange data with at least other PLCs of the same make. Figure 1.9 shows a PLC as it might be connected for a position-control application: reading digital input sensors, controlling AC motors, and exchanging information with the operator.Another advance which made automation possible was the development of the robot. A variation on NC equipment, the robot in figure 1.10 is a self-enclosed system of actuators, sensors and controller. Compatibility of robot components is the robot manufacturer?s problem. A robot includes built-in programs allowing t he user to “teach” positionsto the arm, and to play-backmoves. Robot programming languages are similar to other computer programming languages, like BASIC. Even the early robots allowed connection of certain types of external sensors and actuators, so complete work cells could be built around, and controlled by, the robot. Modern robots usually include communication ports, so that robots can exchange information with other computerized equipment with similar communication ports.The third advance was the introduction, by IBM, of the personal computer (PC). (IBM?s use of thename “PC” forced the suppliers of programmable controllers to start calling their …PC?s byanother name, hence the “PLC.”) IBM?s PC included a feature then called open architecture. What this meant was that inside the computer box was a computer on a single “mother” circuit-boardand several slots on this “motherboard.” Each slot is a standard connector into a standard bus (set of conductors controlled by the computer). This architecture was called “open” because IBM made information available so that other manufacturers could design circuit boards that could be plugged into the bus. IBM also provided information on the operation of the motherboard so that others could write IBM PC programs to use the new circuit boards. IBM undertook to avoid changesto the motherboard that would obsolete the important bus and motherboard standards. Boards could be designed and software written to interfacethe IBM PC to sensors, actuators, NC equipment, PLCs, robots, or othercomputers, without IBM having to do the design or programming. Coupled with IBM?s perceived dependability, this “open architecture” provided the standard that was missing. Mow computerization of the factory floor could proceed. Standards for what form the signals should take for communication between computers are still largely missing. The PLC, robot, and computer manufacturers have each developed their own standards, but one supplier?s equipment can?t communicate very easily with another?s. Most suppliers do, at least, built their standards around a very basic set of standards which dates back several decades to the days of teletype machines: the RS 232 standard. Because of the acceptance of RS 232, a determined user can usually write controller programs which exchange simple messages with each other. The International Standards Organization (ISO) is working to develop a common communication standard, known as the OSI (Open Systems Interconnectivity) model. Several commercial computer networks are already available, many using the agreed-on part of the OSI model. Manufacturer?s Automation Protocol (MAP) and Technical and Office Protocol (TOP) are the best-known of these.2.IntroducedAt the other end of the digital controller scale, many programmable logic controllers (PLCs), now offer built-in PID control at a low cost.I/O modules for these PLCs accept analog sensory inputs and output analog voltage or current to drive analog actuators. Coupled with apersonal computer for online program entry, these PLCs offer the user the ability to select controller types (on/off, PE, PI, PID), adjust controller characteristics (gains), monitor the results, and even to select control configurations in software (feedback or feedforward, constraint control, direct synthesis, etc.). One drawback to PLC servocontrol is speed. PLCs complete a program cycle in (typically) 20 milliseconds. This means that changes in the feedback may not be responded to for as long as 40 milliseconds (two program cycles). For many high and even moderate speed control applications, this is unacceptable. Some improvement is possible with PLCs that allow immediate data input and output during program execution. Several PLC suppliers offer servocontrol modules with quicker response characteristics, but which operate under the control of the PLC?s main computer.3.OverviewEven the simplest PLC comes complete with interface hardware, programming software, and a wide array of easily-connected expansion modules available from the PLC manufacturer. Figure 7.3 shows that fewer user-selected components are required after PLC selection for the same application as that shown in figure 7.2. Here, the user needs onlyselect and add appropriate sensors and actuators, and write the program. PLCs are usually programmed using a languageknown as ladder logic, which was developed to be easily understood by industrial technicians familiar with relay circuit design. The language (rather strange in appearance at first sight) is easily learned by people who have never programmed before, even if they are not familiar with relay circuits.In the early 1980s it looked like PCs would easily replace PLCs on the plant floor. PLCs were handicapped by the limitations of early ladder logic. Communication between proprietary PLCs and other controllers was difficult. Early PCs needed only a few standard interface cards and user-friendly programming software packages to take over. The interface cards and software never materialized. Meanwhile, PLC suppliers expanded their offerings to allow networking of PLCs, improved the programming languages, and offered programming software so that PLC programs could be written at standard PCs. With the wide range of off-the-shelf interface modules available for PLCs, it became common to use a PLC as the main controller in a workcell. Mainstream computer manufacturers have had a belated awakening and are now offering what they identify as “cell controllers.” Cell controllers are primarily intended to handle inter-controllercommunications, to act as data storage devices, and to provide operators with a central control panel from which whole manufacturing systems can be controlled. Suppliers of PLCs are also well-positioned to capture the cell controller market, sometimes with equipment developed incooperation with the mainstream computer manufacturers.4.PC VersusA programmable logic controller is a computer but operates somewhatdifferently than a personal computer. The biggest difference between aPLC and a PC is that the PLC contains its operating system programs and application program in ROM memory. The user does not have to supply these programs on floppy or hard disk. In fact, the user can upgrade these programs only if the manufacturer makes new ROM chips available. A PLC “wakes up” when power is supplied as follows:1.Like a PC, it retrieves a reset vector address from ROM, and then starts to run the program that begins in ROM at that address. The first instructions in this first program have the PLC do a self-check. From here, the process is different from that of a PC. The PLC does not haveto load an operating system program, as it is already in ROM. The operating system does not have to load an application program, as it too is already in ROM. Infact, it w ould be difficult to differentiate between a PLC?s “BIOS,” “operating system,” and “application” programming.2.After the self-check, a PLC checks to see if there is an EEPROM module plugged into the CPU. If so, it reads the contents of the EEPROM into ROM. The EEPROM may contain a user program and/or data. Even if an EEPROM is not present, a user program may already be present in battery- backed RAM.3.Some PLCs then run a user-written initialization program, even ifthe switch on the CPU is in the STOP position.4.When the CPU is switched into RUN mode, most PLCs perform some form ofinitialization procedure. Some search for and run special user-written programs can include initialization statements that are performed if that bit is set.5.While in RUN mode, the PLC repeatedly executes a scan sequence that is much different from the way a PC would run a user program. The scan sequence, as shown in figure 7.24,includes three steps, which are typically repeated (depending on the CPU and the program length) every 5 to 50 milliseconds. The steps are: (a) Input data from input modules into memory. Current sensor values are read, and the data is put into RAM memory, often at memory addresses that correspond to where the input module is plugged into the rack it shares with the CPU. This section of ROM is called the input image table. (b) Run the user program. A PLC program consists of a series of conditional statements. Most of these statements cause changes in the PLC?s outputs dependent on the data in the input image table. A typical ladder logic instruction might look like this: which means: “if the switch connected at input module #4, terminal #3, is closed, actuate the solenoid valve attached at output module #6, terminal #2.“ As the user program runs, it changesdata in the part of RAM known as the output image table. PLC programming languages do not include “WAITFOR” types of statements, and most do not allow looping backward in theprogram, so the whole program can be executed in milliseconds. (c) Output data from the output image table memory to the output modules.This step, executed after every complete execution of the user program, changes the actuator states.6.When the PLC switch changes from RUN to STOP, the PLC stops repeating the scan sequence, outputs zeroes to all output modules, and clears all “non-retentive” memory locations.PLC programming languages include commands that allow the user to change data bits and data words in RAM, and commands that perform counting and timing functions. Some addresses for data words and counter and timer values are designated as “retentive,” and are not cleared by changing the RUN/STOP switch. They are maintained in battery-backed RAM when power is removed from the PLC. Another difference between a PLC and a PC is that I/O devices for PLCs, called I/O modules, plug into a rack alongside the CPU module or into the side of the CPU, and are available only from the PLC manufacturer, screw terminals are provided to connect sensors, actuators, or communication wiring. While typically much more expensive than the equivalent interface card for a PC, they are often cheaper in the long term because the user does not have to learn a new set of interface protocols for each module. There are I/O modules for every type of sensor and actuator. Most I/O modules can be connected to more than one of the same type of sensor or actuator. I/O modules are available to handle communications between PLCs, other computers, andLANs. It is a good idea to check what types of I/O modules are available before selecting a make and model of PLC。
中英文对照外文翻译(文档含英文原文和中文翻译)译文:可编程逻辑控制器可编程逻辑控制器或者简易可编程控制器是一种数字化的计算机,它应用于工业自动化的生产过程中,比如工厂装配生产线中机械的控制。
不同于普通用途的计算机,可编程逻辑控制器是专为安排多输入和多输出而设计的,它拓展了工作的温度范围,可抑制电气噪声,抗振动和干扰。
程序控制机器操作指令通常存储在各用电池或非易失性存储器中。
PLC要求实时系统的输出结果在一个时间范围内必须对输入条件做出响应,否则会导致意想不到的结果。
特征PLC的控制面板(灰色元素的中心),它的每个单位都是由单独的元素组成的,由左向右分别是:电源供应器,控制器,继电器单元的输入输出。
PLC和其他计算机的主要区别是它适用于各种恶劣环境条什下(如灰尘,潮温,高温,低温等),并配各了适合于各种输入/输出端口的设各。
这些设各将PLC连接到相应的传感器和信号发生器上。
PLC可以定义各种开关量,模拟量(如温度和压力等)用来配置各种复杂系统的各种变量,一些PLC甚至还需要使用机器视觉。
在信号发生器方面.PLC可以控制的设各有电动机,气压缸或液压缸,电磁继电器或螺线管继电器,以及一些模拟输出设各。
通过输入/输出模块的配置。
可以构建一个简单的PLC系统。
这个PLC系统可以通过外部I/0模块连接到一个计算机网络上。
PLC的出现妨改变了过去使用成千上百的继电器,凸轮定时器,鼓音序器来构建一个自动化系统的时代。
通常,一个简单可编程控制器通过编程,以取代成千上万的继电器。
可编程控制器最初应用于汽车制造业中,软件修改取代了硬连线控制面板的重新布线,这标志着生产模式发生了彻底的改变。
许多早期的PLC设计表明,在简单的梯形逻辑的决策中,己经出现了类似梯形图的电气原理图。
电工们通过使用梯形逻辑能够很方便的查找出电路示意图的问题。
这项计划符号的选择使使用可以降低培训其现有的技术人员的要求。
而其他早期的PLC则使用一种基于堆栈的逻辑解决方法——指令表编程的方式。
外文原文:Programmable designed for electro-pneumatic systems controller AbstractThis project deals with the study of electro-pneumatic systems and The programmable controller that provides an effective and easy way to Control the sequence of the pneumatic actuators movement and the states of pneumatic system. The project of a specific controller for pneumatic applications join the study of automation design and the control processing of pneumatic systems with the electronic design based on microcontrollers to implement the resources of the controller.1.IntroductionThe automation systems that use electro-pneumatic technology are formed mainly by three kinds of elements: actuators or motors,sensors or buttons and control elements like valves. Nowadays,mostof the control elements used to execute the logic of the system were substituted by the Programmable Logic Controller(PLC). Sensors and switches are plugged as inputs and the direct cntrol valves for the actuators are plugged as outputs. An internal program executes all the logic necessary to the sequence of the movements,simulates other components like counter,timer and control the status of the system.With the use of the PLC,the project wins agility,because it is possible to create and simulate the aystem as many times as nended .therefore,time can be saved,risk of mistakes reduced and complexity can be increased using the same elements.A conventional PLC,this is possible to find on the market from many companies,offers many resources to control not only pneumatic systems,but all kinds of system that uses electrical comonents .the PLC can be very versatile and robust be applied in many kinds of application in the industry or even security system and automation of buildings.Because of those characteristics,in some applications the PLC offers to much resources that are not even used to control the system,electro-pneumatic system is one of this kind of application.The use of PLC,especially for small Size systems,can be very expensive for the automation project.An alterative in this case is to create a specific controller that can offer the exactly size and resources that the project nends.this can be made using micrcontrollers as the base of this controller.The controller,based on microcontroller,can be very specific and adapted to onlyOne kind of machine or it can work as a generic controller that can be programmed.As a usual PLC and work with logic that can be changed. All the characteristics depend on what is needed and how much experience the designer has with developing an electronic circuit and firmware for microcontroller.But the main advantage of design the controller with the microcontroller is that the designer has the total knowledge of his controller,which makes it possible to control the size of the controller,change the complexity and the application of it.It means that the project gets more independence from other companies,but at the same time the responsibility of the control of the system stays at the designer hands.2.Electro-pneumatic systemOn automation system one can find three basic components mentioned before,plus A logic circuit that controls the system. An adequate technique is needed to project the logic circuit and integrate all the necessary components to execute the sequence of movements properly.For asimple direct sequence of movement an intuitive method can be used[1,5],but for indirect or more complex sequences the intuition can generate a very complicated circuit and signal mistakes.It is necessary to use another method that can save time of the project,make a clean circuit, can eliminate occasional signal overlapping and redundant circuits.The presented method is called step-by-step or lgorithmic,it is valid for pneumatic and electro-pneumatic systems and it was used as a base in this work. The method consists of designing the systems based on standard circuits made for each change on the state of the actuators,these changes are called steps.The first part is to design those kinds of standard circuits for each step,the next taskis to link the standard circuits and the last part is to connect the control elements that receive signals from sensors, switches and the previous movements,and give the air or electricity to the supply lines of each step.In Figs.(1) and (2) the standard circuits are drawn for pneumatic and electro-pneumatic system.It is possible to see the relations with the previous and the next steps.3.the method applied inside the controllerThe result of the method presented before is a sequence of movements of the actuator that is well defined by stepas .It means that each change on the position of the actuators is a new state of the system and the transition between states is calld step.The standard circuit described before helps the designer to define the states of the systems and to define the condition to each change between the states. In the end of the design,the system is defined by a sequence that never chances and states that have the inputs and the outputs well defined.The inputs are the condition for the transition and the outputs are the result of the transition.All the configuration of those steps stays inside of the microcontroller and is executed the same way it was designed. The sequence of strings are programmed inside the controller with 5 bytes;each string has the configuration of one step of the process There are two bytes for the inputs,one byte for the outputs and two more for the other configurations and auxiliary functions of the step.After programming,this sequence of strings is saved inside of a non-volatil Memory of the microcontroller,so they can be read and executed.The controller task is not to work in the same way as a conventional PLC,but the purpose of it is to be an example of a versatile controller that is design for an specific area.A conventional PLC process the control of the system using a cycle where it makes an image of the inputs,execute all the conditions defined by the configuration programmed inside,and then update the state of the outputs. This controller works in a different way,where it read the configuration of the step,wait the condition of inputs to be satisfied,then update the state or the outputs and after that jump to the next step and start the process again.It can generate some limitations,as the fact that this controller cannot execute, inside the program,movements that must be repeated for sometime,but this problem can be solved with some external logic components.Another limitation is that the controller cannot be applied on systems that have no sequence.These limitations are a characteristic of the system that must be analyzed for each application.4.Characteristics of the controllerThe controller is based on the MICROCHIP microcontroller PICF877[6,7]with 40 pins,and it has all the resources neened for this project.it has enough pins for all the comonents,serial communication implemented in circuit,EEPROM memory to save all the configuration of the system and tne sequence of steps.For the execution of the main program,it offers comlete resources as timers and interruptions.The list of resources of the controller was created to explore all the capacity of the microcontroller to make it as complete as possible.during the step,the program chooses how to use the resources reading the configuration string of the step.this string has two bytes for digital inputs,one used as a mask and the other one used as a value expeced.one byte is used to configure the output or time-out.the EEPROM memory inside is 256 bytes length that is enough to save the string of the steps,with this characteristic it is possoble to save between 48 steps(table1).The controller(FIG.3)has also a display and some buttons that are used with an interactive menu to program the sequence of steps and other configurations.4.1. Interaction componentsFor the real application the conteoller must have some elements to interact with the final user and to offer a complete monitoring of the system resources that are available to the designer while creating the logic control of the pneumatic system(Fig.3).●Intercative mode of work;function available on the main program for didacticpurposes,the use gives the signal to execute the step.●LCD display,which shows the status of the system,values of inputs,outputs,timer andstatistics of the sequence execution.●Beep to give important alerts,stop ,start and emergency.●Led to show power on and others to show the state of iputs and outputs.4.2. securityTo make the final application works property ,a correct configuration to execute the steps in the right way is needed,but more then that it must offer solutions in case of bad functioning or problems in the execution of the sequence.The controller offers the possibility to configure two internalvirtual circuits that work in parallel to the principal.These two circuits can be used as emergency or reset buttons and can return the system to a certain state at any time.There are two inputs that work with interruption to get an immediate access to these functions.It is possible to configure the position,the buttonsand the value of time-out of the system.4.3. User interfaceThe sequence of strings can be programmed using the interface elements os the controller.A computer interface can be used to generate the user program easily.With a good documentation the final user can use the interface to configure the strings of bytes that define the steps of the sequence.But it is possible to create a program with visual resources that works as a translator to the user, it changes his work to the values that the controller understands.To implement the communication between the computer interface and the controller a simple protocol with check sum and number of bytes is the minimum requirementas to guarantee the integrity of the data.4.4.FirmwareThe main loop works by reading the strings of the steps from the EEPROM memory that has all the information about the steps.In each step,the status of the system is saved on the memory and it is shown on the display too.Depending of the user configuration,it can use the interruption to work with the emergency circuit or time-out to keep the system safety .In Fig.4,a block diagram of micro controller main program is presented.5.Example of electro-pneumatic systemThe system is not a representation of a specific machine,but it is made with some common novements and components found in a real one.The system is composed of four actuators.The actuators A,B and C are double acting and D-single acting.Actuator A advances and stays in specified position till the end of the cycle,it could work fixing an object to the next action for example(Fig.5),it is the first step.When a reaches the end position,actuator C starts his work together with B,making as many cycles as possible during the advancing of B.It depends on how fast actuator B is advancing;the speed is regulated by a flowing control valve.It was the second step.B and C are examples of actuators working together,while B pushes an object slowly,C repeats ins work for some timeWhen B reaches the final position,C stops immediately its cycle and comes back to the initial position.The actuator D is a single acting one with spring return and works together with the back of C,it is the third step.D works making very fast forward and backward movement,just one time.Its backward movement is the fourth step.D could be atool to make a hole on the object.When Dreaches the initial position,A and B return too,it is the fifth step.Fig.6 show the first part of the designing process where all the movements of each step should be defined[2]. (A+)means that the actuator A moves to the advanced position and (A?) to the initial position. The movements that happen at the same time are joinedtogether in the same step. Th system has five steps.These two representations of the system.(Figs.5 and 6)together are enough to describe correctly all the sequence. With them is possible to design the whole control circuit with the necessary logic components.But till this time,it is not a complete system,because it is missing some auxiliary elements that are not included in this draws because they work in parallel with the main sequence.These auxiliary elements give more function to the circuit and are very important to the final application,the most important of them is the parallel circuit linked with all the others steps.That circuit should be able to stop the sequence at any time and change the state of the actuators to a specific position.This kind of circuit can be used as a reset or emergency buttons.The next figs.7 and 8 show the result of using the method without the controller.Theese pictures are the electric diagram of the control circuit of the example,including sensors,buttons and the coils of the electrical valves.The auxiliary elements are included,like the automatic/manual switcher that permit acontinuous work and two start buttons that make the qperator of a machine use their two hands to start the process,reducing the ridk of accidents.6.Changing the example to a user programIn the previous chapter ,the electro-pneumatic circuits were presented,used to begin the study of the requires to control a system that work with steps and must offer all the functional elements to be used in a real application .but,as explained above,using a PLC or this specific conteoller ,the control becomes easier and the complexity can be increase also.With the time diagram,the step sequence and the elements of the system described in Table 2 and Figs.5 and 6 it is possible to the new programming allows that the configuration of the steps be separated,like described by the method .The sequence is defined by itself and the steps are described only by the inputs and outputs for each step.Table 5 shows how the user program is saved inside the controller, this is the program that describes the control of the exanple shown before.The sequence can be defined by 25 bytes these bytes can be divded in five strings with 5 bytes each that define each step of the sequence (Figs.9 and 10)7.conclusionThe controller developed for this work (Fig .11)shows that it is possible to create a very useful programmable controller based on microcontroller. External memories that the miscrocontroller offers inside Outside the microcotroller , there ara only components to implement the outputs , inputs , analoginputs , display for the interface and the serial communication.Using only the internal memory , it is possbel to control a pneumatic system that has a sequence with 48 stsps if all the resources for all steps ara used , but it is possble to reach sixty steps in the case of a simpler system . The programming of the controller dose not use PLC languages , but a configuration that is simple and intuitive , With electro-pneumatic system , the programming follows the same technique that was used before to design the system , but here the designer workes directly with the states or steps of the system.With a very simple machine language the designer can define all the configuration of the step using four or five bytes.It depends only on his experience to use all the resources of the controller.The controller task is not to work in the same way as a commercial PLC but the purpose of it is to be an example of a versatile controller that is designed for a specific area.Because of that ,it is not possible to say which one works better ;the system made with microcontroller is an alternative that works in a simple way.应用于电气系统的可编程序控制器摘要此项目主要是研究电气系统以及简单有效的控制气流发动机的程序和气流系统的状态。