PLC毕业设计相关英文文献翻译
- 格式:doc
- 大小:94.50 KB
- 文档页数:6
毕业设计论文外文文献翻译基于PLC双电源开关设计外文翻译中英文对照英文题目 Based on PLC dual power switch design 中文题目基于PLC双电源开关设计系 (院) 自动化系专业电气自动化技术滨州学院专科毕业设计(外文翻译)Intelligent double power1 Intelligent dual power supply switching technologyIn this paper, the double load - dual power automatic switching of PLC control, PLC control program to replace relay logic control circuits, it has the three-phase power supply phase detection and protection switching function, power returned to normal after the automatic reverse switch, when a fault and restore normal respectively sends out two difference clear alarm and prompt sound. Double load - dual power automatic switching control of PLC, the open-phase protection mainly adopts the technical proposal that : setting the three-phase open-phase detection signal circuit, the three-phase open-phase detection signal circuit directly from the main circuit of three-phase power supply, namely the intermediate relay KA1-KA3 and KA4-KA6, respectively connected to power supply main loop U1 and U2 A, B and C single phase circuit, KA1-KA3 and KA4-KA6 normally open contacts respectively as PLCinput signal, namely as the preparation of PLC U1 and U2 three-phase open-phase detection logic control program input conditions. With short phase protection double load - dual power automatic switching control, not only has the open-phase protection, but also has a short circuit and overload protection, under-voltage protection function; automatic phase lack detection, three-phase current display, a road power supply circuit can automatically switch to another power source to load power supply, light and sound alarm; in the power supply return to normal after automatic reverse switch; in the event of a failure and return to normal when respectively sends out two difference obvious alarm and prompt sound effects. It overcomes the shortcomings of low double power supply switching control system without phase protection, can automatically reverse switch, as well as fault and return to normal when using asingle audio prompts defects. The control system has perfect function, reliable performance, simple circuit structure, low manufacturing cost etc...2 Intelligent dual power supplies switching main circuit controlWith short phase protection double load - dual power automatic switching control circuit. It includes a main circuit and three-phase short signal detecting sampling circuit. The main circuit of the input power supply power supply U1 and U2, its output has two2滨州学院专科毕业设计(外文翻译)loads W1 and W2. Power main circuit of AC contactor U1 through KM1 main contacts and a load of W1 connected; power supply U2 main circuit through the AC contactor KM2 main contacts and a load of W2 connected; under the control of a control circuit, a power failure occurs, the AC contactor lost the first electrically disconnected, so that the load of detachment faults power supply circuit, the AC contactor KM3 main contact closing conduction contact loop, will be connected to the fault loop load switch automatically to another normal power supply continues to supply. Power supply U1 and U2 main circuit input end of the automatic switch in QF1 and QF2 is the primary role of overload protection and short-circuit protection; two phase power supply main loop in each phase are current meter to indicate the phase current status, with the control circuit of phase lack detection. The three-phase open-phase detection signal sampling circuit, the phase detection signal directly from the main circuit of three-phase power supply, namely the intermediate relay KA1 ~ KA3KA4 ~ KA6 are respectively connected to the power supply main loop U1 and U2 A, B phase and C phase of the single-phase circuit, KA1 ~ KA3 and KA4 ~ KA6 normally open contact as U1 and U2 three-phase open-phase detection switch sampling signal, to the PLC input terminal. Considering the PLC relay output point load capacity, through the contactor KM01 ~ KM03 to drive high current contactor KM1 ~ KM3.For three-phase power U1 A, B phase and C phase lack detection, the use of an intermediate relay KA1, KA2 and KA3, respectively connected topower the U1 main circuit A, B phase and C phase and zero line N constitute a single-phase circuit, the formation of A1, B1 and C1 phase detection circuit. The normally open contact of KA1 ~ KA3 as U1 three-phase.Phase lack detection switch sampling signal, to the PLC input terminal, used in the preparation of PLC U1 three-phase open-phase detection logic control program input conditions; similarly, the three-phase power supply U2 A, B phase and C phase lack detection, but also the use of an intermediate relay KA4, KA5 and KA6, respectively connected to power the U2 main circuit A2, B2 phase and C2 phase and zero line N constitute a single-phase circuit, the formation of A2, B2 and C2 three-phase open-phase detection circuit. KA4 ~ KA6 normally open contacts respectively as U2 three-phase open-phase detection switch sampling signal, to the PLC input terminal, used in the3滨州学院专科毕业设计(外文翻译)preparation of PLC U2 three-phase open-phase detection logic control program input conditions.3 With PLC intelligent dual power controlThe three-phase open-phase detection signal sampling circuit, as U1 and U2 three-phase open-phase detection switch sampling signals of KA1-KA3 and KA4-KA6, the normally open contacts respectively for the input of the PLC X0-X2, X3-X5. In the PLC ladder diagram program, auxiliary relay R1 as the three-phase power supply of U1 three-phase open-phasedetection, which is normally open input conditions for X0, X1 and X2" and" logic; similarly, internal intermediate relay R2 as the three-phase power supply of U2 three-phase open-phase detection, it’s on conditions for the normally open input X3, X4 and X5" and" logic.In automatic switching control process, PLC ladder diagram procedure of auxiliary relay R1 and R2 respectively controlled AC contactor KM1 ( Y0 ) and KM2 ( Y1 ) coil and electric state, directly reflects two three-phase power supply U1 and U2 respectively the total phase condition, namely, either U1 or U2 three-phase power supply phase, KM1 ( Y0 ) or KM2 ( Y1 ) will immediately loses electricity, the normally closed contact of the alternating current contactor closed KM3 ( Y2 ) control coil gets electricity to attract, through the KM3 main contacts closed conduction contact loop, will be connected to the fault circuit load W1 or W2 automatically switches to a normal power supply U2 or U1 to power supply, so as to realize open-phase protection automatic switching. In automatic switching control process, auxiliary relay R1 and R2 main function is: when troubleshooting, three-phase power U1 orU2 recover the normal power supply, R1 (or R2) have electricity, the normally closed contact action, R3 reset, cut KM3 (Y2), then KM1 (Y0) or KM1 (Y1) complex have electricity, thereby automatically reverse switching back to the power supply to load W1 U1, U2 W2 power supply to load the normal power supply state.The control circuit adopts electric whistle (or buzzer) as an alarm sound (at) the same time with the red signal (at the same time with thered signal lamp), and returned to normal when the bell HA as prompt sound. Can produce two distinct alarms and prompt sound effects.4滨州学院专科毕业设计(外文翻译)智能双电源1 智能双电源切换的技术方案本文所述的双负载—双电源自动切换的PLC控制,用PLC控制程序取代继电器逻辑控制电路,其具有对三相供电电源的缺相检测及保护切换功能,在电源恢复正常后能自动进行反切换,当发生故障和恢复正常时能分别发出两种区别明显的报警和提双负载—双电源自动切换的PLC控制,其缺相保护主要采取的技术方案是:示音响。
毕业设计(论文)外文资料翻译学院:机械电子工程学院专业:机械设计制造及其自动化姓名:孙明明学号: 070501504外文出处: The advantages of PLC control,filed under PLC Articles附件: 1.外文资料翻译译文;2.外文原文。
(用外文写)附件1:外文资料翻译译文PLC的控制优势任何控制系统从概念到进入工厂工作都要经历四个阶段。
PLC系统在每一个阶段都有优势。
第一阶段是设计,对工厂的需要进行研究和制定控制策略,传统的运行平台的设计和制造必须在设计进行前完成。
PLC系统仅仅需要的是一个模糊的关于机器的可能大小的想法和I/O数量的要求(多少输入和输出接口)。
在这个阶段输入和输出芯片十分便宜,所以可以内置一个很健全的备用容量,它允许用来补充遗漏项目和为未来的扩充做准备。
其次是设计。
传统的方案是,每一项工作都是“一次成型”这不可避免的造成了工程拖延和增加成本。
一个的PLC系统使用最简单的标准件螺栓连接在一起。
在这样的连接下开始编写 PLC程序(或者至少是写入详细的程序规范)。
下一阶段是安装,安装是一种繁琐和昂贵的工作,例如安装传感器、执行器、限制开关系统和主机的连接。
分布式PLC系统使用串行链路式的预编译,测试界面可以简化安装它带来了巨大的成本优势。
PLC的程序多数在这个阶段完成。
最后是调试,而这正是PLC真正的优势被发掘的部分。
没有任何设备在第一次就正常工作。
人性就是这样,总会有一些疏漏。
与传统的系统变动情况的耗时和昂贵相比,PLC的设计师提供了系的内置备用内存容量、备用I/O和一些备用多芯电缆线,多数的变动能迅速和相对便宜的完成。
另外一个好处是,所有的变化PLC都有记录,程序的调试和修改不会因为没有被记录而遗失,这是一个经常发生在常规系统中的问题。
还有一个额外的第五阶段,维护,一旦启动工作,并移交生产就产生了维护的问题。
所有设备都有缺点,大多数设备在错误的模式中度过了它们的大部分的时间。
毕业设计中英文翻译院系专业班级姓名学号指导教师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 ControllerONE:PLC overviewProgrammable controller is the first in the late 1960s in the United States, then called PLC programmable logic controller (Programmable Logic Controller) is used to replace relays. For the implementation of the logical judgment, 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) judgment functions also have data processing, PID conditioning and data communications functions. International Electro technical 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. TWO:History of PLCProgrammable 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 PLC 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 indicatingIf houses were built like software projects, a single woodpecker could d estroy civilization.”Particularly, practical problems in PLC programming are to eliminate software bugs and to reduce the maintenance costs of old ladderlogic 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 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 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. A further problem, impelling the need for a systematic design methodology, is the increasing software complexity in large-scale projects.The 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 the automation 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. Three:now of PLCFrom the structure is divided into fixed PLC and Module PLC, the two kinds of PLC including CPU board, I/O board, display panel, memory block, power, these elements into a do not remove overall. Module type PLC including CPU module, I/O modules, memory, thepower modules, bottom or a frame, these modules can be according to certain rules combination configuration.In the user view, a detailed analysis of the CPU's internal unnecessary, but working mechanism of every part of the circuit. The CPU control works, by it reads CPU instruction, interprets the instruction and executes instructions. But the pace of work by shock signal control.Unit work under the controller command used in a digital or logic operations.In computing and storage register of computation result, it is also among the controller command and work. CPU speed and memory capacity is the important parameters fot PLC . its determines the PLC speed of work, IO PLC number and software capacity, so limits to control size.Central Processing Unit (CPU) is the brain of a PLC controller. CPU itself is usually one of the microcontrollers. Aforetime these were 8-bit microcontrollers such as 8051, and now these are 16-and 32-bit microcontrollers. Unspoken rule is that you’ll find mostly Hitachi and Fujicu microcontrollers in PLC controllers by Japanese makers, Siemens in European controllers, and Motorola microcontrollers in American ones. CPU also takes care of communication, interconnectedness among other parts of PLC controllers, program execution, memory operation, overseeing input and setting up of an output.System memory (today mostly implemented in FLASH technology) is used by a PLC for a process control system. Aside form. this operating system it also contains a user program translated foram ladder diagram to a binary form. FLASH memory contents can be changed only in case where user program is being changed. PLC controllers were used earlier instead of PLASH memory and have had EPROM memory instead of FLASH memory which had to be erased with UV lamp and programmed on programmers. With the use of FLASH technology this process was greatly shortened. Reprogramming a program memory is done through a serial cable in a program for application development.User memory is divided into blocks having special functions. Some parts of a memory are used for storing input and output status. The real status of an input is stored either as “1”or as “0”in a specific memory bit/each input or output has one corresponding bit in memory. Other parts of memory are used to store variable contents for variables used in used program. For example, time value, or counter value would be stored in this part of the memory.PLC controller can be reprogrammed through a computer (usual way), but also through manual programmers (consoles). This practically means that each PLC controller can programmed through a computer if you have the software needed for programming. Today’s transmission computers are ideal for reprogramming a PLC controller in factory itself. This is of great importance to industry. Once the system is corrected, it is also important to read the right program into a PLC again. It is also good to check from time to time whether program in a PLC has not changed. This helps to avoid hazardous situations in factory rooms (some automakers have established communication networks which regularly check programs in PLC controllers to ensure execution only of good programs).Almost every program for programming a PLC controller possesses various useful options such as: forced switching on and off of the system input/outputs (I/O lines), program follow up in real time as well as documenting a diagram. This documenting is necessary to understand and define failures and malfunctions. Programmer can add remarks, names of input or output devices, and comments that can be useful when finding errors, or with system maintenance. Adding comments and remarks enables any technician (and not just a person who developed the system) to understand a ladder diagram right away. Comments and remarks can even quote precisely part numbers if replacements would be needed. This would speed up a repair of any problems that come up due to bad parts. The old way was such that a person who developed a system had protection on the program, so nobody aside from this person could understand how it was done. Correctly documented ladder diagram allows any technician to understand thoroughly how system functions.Electrical supply is used in bringing electrical energy to central processing unit. Most PLC controllers work either at 24 VDC or 220V AC. On some PLC controllers you’ll find electrical supply as a separatemodule. Those are usually bigger PLC controllers, while small and medium series already contain the supply module. User has to determine how much current to take from I/O module to ensure that electrical supply provides appropriate amount of current. Different types of modules use different amounts of electrical current.This electrical supply is usually not used to start external input or output. User has to provide separate supplies in starting PLC controller inputs because then you can ensure so called “pure” supply for the PLC controller. With pure supply we mean supply where industrial environment can not affect it damagingly. Some of the smaller PLC controllers supply their inputs with voltage from a small supply source already incorporated into a PLC.Four:PLC design criteriaA 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 aspects.In 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 inreal-time, therefore, giving a significant competitive edge in industrial practice.Studies 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 PLC 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 advancing the 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.The 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.Today, 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.From 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.可编程控制器一、PLC概述可编程控制器是60年代末在美国首先出现的,当时叫可编程逻辑控制器PLC(Programmable Logic Controller),目的是用来取代继电器。
外文翻译:The monolithic In order to prevent without authorization the visit or the copy monolithic integrated circuit machine in the procedure, the majority of monolithic integrated circuits all has the encryption to lock the localization or the encryption byte, by protects the internal procedure. If in programming time encrypts locks the localization to enable (locking), is unable with the ordinary programming directly reading in the monolithic integrated circuit the procedure, this is the so-called copy protection or says the fixed function. In fact, such protective measures are very frail, is very easily explained. The monolithic integrated circuit aggressor with the aid of the special purpose equipment or the self-made equipment, using the monolithic integrated circuit chip design in loophole or the software flaw, through the many kinds of technical method, may withdraw the essential information from the chip, gains in the monolithic integrated circuit the procedure. Therefore, has the newest technology extremely as electronic products project engineer which the essential understanding current monolithic integrated circuit attacks, achieves knows oneself and the other side, knows fairly well, can effectively prevent oneself spends the product which the massive moneys and the time laboriously designs the matter occurrence which is counterfeited by a others night between.monolithic integrated circuits attacks technology:At present, attacks the monolithic integrated circuit mainly to have four kind of technologies, respectively is:This technical usual use processor correspondence connection and in the use agreement, the encryption algorithm or these algorithm security loophole carries on the attack. The software attack obtains the success a case in point is to early A T M E L A the T 89 C series monolithic integrated circuit attack. The aggressor has used in this series monolithic integrated circuit cleaning operation succession design loophole, uses from arranges the procedure to lock the localization after the cleaning encryption, stops the next step of cleaning internal program memory data the operation, thus makes to add the dense monolithic integrated circuit not to turn the encryption monolithic integrated circuit, then use programming read-out internal procedure.This technology usually monitors the processor by the high time resolution when the normal operation all power sources and the connection connection simulation characteristic, and through monitors its electromagnetic radiation characteristic to implement the attack. Because the monolithic integrated circuit is an active electronic device, when it carries out the different instruction, the corresponding mains input consumption also correspondingly changes. Like this analyzes and examines these changes through the use special electronic surveying instrument and mathematics statistical method, then gains in the monolithic integrated circuit the specific essential information.the mistake has the technology This technical use exceptionally working condition causes the processor to make a mistake, then provides the extra visit to carry on the attack. Uses the most widespread mistake to have the attack method including the voltage impact and the clock impact. The low voltage and the high voltage attack may usefor to forbid the protection circuit work or to fortected the information. The power source and the clock transient state jump may affect the single scroll instruction in certain processors the decoding and the ece the processor to carry out the misoperation. Perhaps the clock transient state jump can reposition the protection circuit but not to be able to destroy is proxecution.This technology is the direct exposed chip interior segment, then the observation, holds controls, disturbs the monolithic integrated circuit by to achieve the attack goal.In order to facilitate in order to, the people divide into above four kind of attacks technology two kinds, a kind is the invasion attack (physical attack), this kind of attack needs to destroy the seal, then with the aid of the semiconductor test facility, the microscope and the micro locator, several hours even several week time can complete on the special laboratory flower. All micro probes technology all belongs to the invasion attack. Moreover three methods belong to the non- invasion attack, the monolithic integrated circuit which attacks cannot by the physical damage. In certain situation non- invasion attacks is specially dangerous, this is because the non- invasion attack needs the equipment usually to be possible the self-restraint and the promotion, therefore is extremely inexpensive.The majority of non- invasions attack needs the aggressor to have the good processor knowledge and the software knowledge. Is opposite with it, the invasion probe attack then does not need too many initial knowledge,moreover usually may use the one whole set similar technology to cope with the width scope the product. Therefore, the attack often starts to the monolithic integrated circuit from the invasion reverse engineering, the accumulation experience is helpful to the development more inexpensive and the fast non- invasion attack technology.Last step will be seeks the protection melt silk the position and protects the melt silk to expose under the ultraviolet ray. With enlargement factor at least 100 time of microscopes, inputs the foot from the programming voltage the segment to track generally, seeks the protection melt silk.This technical use exceptionally working condition causes the processor to make a mistake, then provides the extra visit to carry on the attack. Uses the most widespread mistake to have the attack method including the voltage impact and the clock impact. The low voltage and the high voltage attack may use for to forbid the protection circuit work or to force the processor to carry out the misoperation. Perhaps the clock transient state jump can reposition the protection circuit but not to be able to destroy is protected the information. The power source and the clock transient state jump may affect the single scroll instruction in certain processors the decoding and the execution.(4) probe technologyThis technology is the direct exposed chip interior segment, then the observation, holds controls, disturbs the monolithic integrated circuit by to achieve the attack goal.In order to facilitate in order to, the people divide into above four kindof attacks technology two kinds, a kind is the invasion attack (physical attack), this kind of attack needs to destroy the seal, then with the aid of the semiconductor test facility, the microscope and the micro locator, several hours even several week time can complete on the special laboratory flower. All micro probes technology all belongs to the invasion attack. Moreover three methods belong to the non- invasion attack, the monolithic integrated circuit which attacks cannot by the physical damage. In certain situation non- invasion attacks is specially dangerous, this is because the non- invasion attack needs the equipment usually to be possible the self-restraint and the promotion, therefore is extremely inexpensive.The majority of non- invasions attack needs the aggressor to have the good processor knowledge and the software knowledge. Is opposite with it, the invasion probe attack then does not need too many initial knowledge,moreover usually may use the one whole set similar technology to cope with the width scope the product. Therefore, the attack often starts to the monolithic integrated circuit from the invasion reverse engineering, the accumulation experience is helpful to the development more inexpensive and the fast non- invasion attack technology.3 invasions attacks general process:The invasion attack first step uncovers the chip seal. Some two methods may achieve this goal: The first kind is dissolves the chip seal completely, the exposed metal segment. The second kind is only moves above the silicon nucleus plastic seal. The first method needs the chip to tests on the jig, with the aid of Taiwan to operate. The second method except needs to have the aggressor certain knowledge and Wants outside skill, but also needs individual wisdom and the patience, but operates relatively quite is convenient.Above the chip plastic may use the knife to open, around the chip epoxy resin may use the aqua fortis perish. The hot aqua fortis can dissolve the chip seal but not to be able to affect the chip and the segment. This process carries on generally under the extremely dry condition, because the water existence possibly can corrode already the aluminum wire connection which exposes.Then first uses the acetone in the supersonic pond to clean this chip by except the remaining nitric acid, then cleans with the clear water by and is dry except the salinity. Not the supersonic pond, jumps over generally this step. In this kind of situation, the chip surface can a little dirty, but not too affects the ultraviolet ray to the chip operation effect.Last step will be seeks the protection melt silk the position and protects the melt silk to expose under the ultraviolet ray. With enlargement factor at least 100 time of microscopes, inputs the foot from the programming voltage the segment to track generally, seeks the protection melt silk.If does not have the microscope, then uses the chip different partially exposes to the ultraviolet ray under and the observed result way carries on the simple search. When operation applies not the opaque slip of paper cover chipby to protect the program memory not by the ultraviolet ray cleaning. Will protect the melt silk to expose in the ultraviolet ray next 5 ~ 10 minutes can broken the protection position protective function, afterwards, will use the simple programming to be possible the direct readout program memory content.Regarding used the protective layer to protect E E P R O the M unit the monolithic integrated circuit to say that, the use ultraviolet ray repositioned the protection circuit is not feasible. Regarding this kind of type monolithic integrated circuit, uses the micro probe technology reading the memory content generally. Opens after the chip seal, puts in the chip under the microscope to be able very easy finding中文翻译单片机为了防止未经授权访问或拷贝单片机的机内程序,大部分单片机都带有加密锁定位或者加密字节,以保护片内程序。
可编程控制器本科毕业论文中英文翻译材料关于PLC外文翻译中文翻译可编程控制器技术可编程序控制器(Programmable Logic Controller,习惯上简称为PLC)是以微处理器为核心的通用工业自动化装置。
是20世纪60年代末在继电器控制系统的基础上开发出来的,它将传统的继电器控制技术与计算机技术和通信技术融为一体,具有结构简单、性能优越、可靠性高、灵活通用、易于编程、使用方便等优点。
具体来说,PLC的特点表现为以下几个方面:?硬件的可靠性高。
PLC专业在工业环境的恶劣条件下应用而设计。
一个设计良好的PLC能置于有很强电噪声、电磁干扰、机械振动、极端温度和湿度很大的环境中。
在硬件设计方面,首先是选用优质器件,再就是采用合理的系统结构,加固、简化安装,使它易于抗振冲击,对印刷电路板的设计、加工和焊接都采取了极为严格的工艺措施,而在电路、结构及工艺上采取了一些独特的方式。
由于PLC 本身具有很高的可靠性,所以在发生故障的部位大多集中在输入/输出的部位以及如传感器件、限位开关、光电开关、电磁阀、电机等外围装置上。
?编程简单,使用方便。
用微机实现自动控制,常使用汇编语言编程,难于掌握,要求使用者具有一定水平的计算机硬件和软件知识。
PLC采用面向控制过程、面向问题的编程方式,与目前微机控制常用的汇编语言相比,虽然在PLC内部增加了解释程序,增加了程序的执行时间,但对大多数的机电控制设备来说,这种损耗是微不足道的。
?接线简单,通用性好。
在电信号匹配的情况下,PLC的接线只需将输入信号的设备(按钮、开关等)与PLC输入端子连接,将接受输出信号执行控制任务的执行元件(接触器、电磁阀)与PLC输出端子连接。
接线简单、工作量少,省去了传统的继电器控制系统的接线和拆线的麻烦。
PLC的编程逻辑提供了能随要求而改变的逻辑关系,这样生产线的自动化过程就能随意改变。
这种性能使PLC具有很高的经济效益。
用于连接现场设备的硬件接口实际上已经设计成为PLC的组成部分,模块化的自诊断接口电路能指出故障,并易于排除故障与替换故障部件,这样的软硬件设计就使现场电气人员与技术人员易于使用。
翻译对应文章Programmable Logic Controllers可编程序逻辑控制器1.1动力1968年,Richard E. Morley创造出了新一代工业控制装置可编程逻辑控制器(PLC),现在,PLC已经被广泛应用于工业领域,包括机械制造也、运输系统、化学过程设备、等许多其他领域。
初期可编程控制器只是用一种类似于语言的软件逻辑于代替继电器硬件逻辑,并且使开发时间由6个月缩短到6天。
虽然计算机控制技术已经产生,但是PLC控制因为它的高性能、成本低、并且对恶劣的环境有很强的适应能力而在工业控制的广泛应用中保持优势。
而且,尽管硬件的价格在逐渐下跌,据估计,根据Frost和Sullivan对PLC市场的调查研究表明,每年销售硬件的价格要比销售PLC的价格(一千五百万)至少多出八十亿美元。
PLC的创造者Richard E. Morley十分肯定的认为目前PLC市场是一个价值五十亿的工业虽然PLC广泛应用于工业控制中,PLC控制系统的程序依然和语法有关。
和软件过程一样,PLC的软件设计也以同样的方式会遇到软件错误或危机。
Morley在演讲中着重强调了这个方面。
如果房子建造的像软件过程一样,那么仅仅一只啄木鸟就可以摧毁文明。
特别的,PLC程序要解决的实际问题是消除软件错误和减少老式梯形逻辑语言的花费。
尽管PLC的硬件成本在继续下降,但是在工业控制上减少梯形逻辑的扫描时间仍然是一个问题,以至于可以用到低耗时的PLC。
一般来说,和其他领域相比生产PLC的周期要短很多。
例如,在实践中,VISI设计是一种有效的计算机辅助设计。
PLC不需要使用目前的以软件设计为基础软件工程方法论,因为PLC程序要求对软件和硬件搜都要考虑到。
因此,软件设计越来越成为花费动力。
在许多的工业设计工程中,超过的人力分配给了控制系统设计和安装,并且他们要对。
PLC程序测试和排除错误,再者,PLC控制系统不适合设计对适应性和重构有越来越多要求的生产系统。
PLCs --Past, Present and FutureEveryone knows there's only one constant in the technology world, and that's change. This is especially evident in the evolution of Programmable Logic Controllers (PLC) and their varied applications. From their introduction more than 30 years ago, PLCs have become the cornerstone of hundreds of thousands of control systems in a wide range of industries.At heart, the PLC is an industrialized computer programmed with highly specialized languages, and it continues to benefit from technological advances in the computer and information technology worlds. The most prominent of which is miniaturization and communications.The Shrinking PLCWhen the PLC was first introduced, its size was a major improvement - relative to the hundreds of hard-wired relays and timers it replaced. A typical unit housing a CPU and I/O was roughly the size of a 19 television set. Through the 1980s and early 1990s, modular PLCs continued to shrink in footprint while increasing in capabilities and performance (see Diagram 1 for typical modular PLC configuration).In recent years, smaller PLCs have been introduced in the nano and micro classes that offer features previously found only in larger PLCs. This has made specifying a larger PLC just for additional features or performance, and not increased I/O count, unnecessary, as even those in the nano class are capable of Ethernet communication, motion control, on-board PID with autotune, remote connectivity and more.PLCs are also now well-equipped to replace stand-alone process controllers in many applications, due to their ability to perform functions of motion control, data acquisition, RTU (remote telemetry unit) and even some integrated HMI (human machine interface) functions. Previously, these functions often required their own purpose-built controllers and software, plus a separate PLC for the discrete control and interlocking.The Great CommunicatorPossibly the most significant change in recent years lies in the communications arena. In the 1970s Modicon introduction of Modbus communications protocol allowed PLCs to communicate over standard cabling. This translates to an ability to place PLCs in closer proximity to real world devices and communicate back to other system controls in a main panel.In the past 30 years we have seen literally hundreds of proprietary and standard protocols developed, each with their own unique advantages.Today's PLCs have to bedata compilers and information gateways. They have to interface with bar code scanners and printers, as well as temperature and analog sensors. They need multiple protocol support to be able to connect with other devices in the process. And furthermore, they need all these capabilities while remaining cost-effective and simple to program.Another primary development that has literally revolutionized the way PLCs are programmed, communicate with each other and interface with PCs for HMI, SCADA or DCS applications, came from the computing world.Use of Ethernet communications on the plant floor has doubled in the past five years. While serial communications remain popular and reliable, Ethernet is fast becoming the communications media of choice with advantages that simply can't be ignored, such as: * Network speed. * Ease of use when it comes to the setup and wiring. * Availability of off-the-shelf networking components. * Built-in communications setups.Integrated Motion ControlAnother responsibility the PLC has been tasked with is motion control. From simple open-loop to multi-axis applications, the trend has been to integrate this feature into PLC hardware and software.There are many applications that require accurate control at a fast pace, but not exact precision at blazing speeds. These are applications where the stand-alone PLC works well. Many nano and micro PLCs are available with high-speed counting capabilities and high-frequency pulse outputs built into the controller, making them a viable solution for open-loop control.The one caveat is that the controller does not know the position of the output device during the control sequence. On the other hand, its main advantage is cost. Even simple motion control had previously required an expensive option module, and at times was restricted to more sophisticated control platforms in order to meet system requirements.More sophisticated motion applications require higher-precision positioning hardware and software, and many PLCs offer high-speed option modules that interface with servo drives. Most drives today can accept traditional commands from host (PLC or PC) controls, or provide their own internal motion control. The trend here is to integrate the motion control configuration into the logic controller programming software package.Programming LanguagesA facet of the PLC that reflects both the past and the future is programming language. The IEC 61131-3 standard deals with programming languages and defines two graphical and two textual PLC programming language standards: * Ladder logic (graphical). * Function block diagram (graphical). * Structured text(textual).Instruction list (textual).This standard also defines graphical and textual sequential function chart elements to organize programs for sequential and parallel control processing. Based on the standard, many manufacturers offer at least two of these languages as options for programming their PLCs. Ironically, approximately 96 percent of PLC users recently still use ladder diagrams to construct their PLC code. It seems that ladder logic continues to be a top choice given it's performed so well for so long.Hardware PlatformsThe modern PLC has incorporated many types of Commercial off the Shelf (COTS) technology in its CPU. This latest technology gives the PLC a faster, more powerful processor with more memory at less cost. These advances have also allowed the PLC to expand its portfolio and take on new tasks like communications, data manipulation and high-speed motion without giving up the rugged and reliable performance expected from industrial control equipment.New technology has also created a category of controllers called Programmable Automation Controllers, or PACs. PACs differ from traditional PLCs in that they typically utilize open, modular architectures for both hardware and software, using de facto standards for network interfaces, languages and protocols. They could be viewed as a PC in an industrial PLC-like package.The FutureA 2005 PLC Product Focus Study from Reed Research Group pointed out factors increasingly important to users, machine builders and those making the purchasing decisions. The top picks for features of importance were.* The ability to network, and do so easily. Ethernet communications is leading the charge in this realm. Not only are new protocols surfacing, but many of the industry de facto standard serial protocols that have been used for many years are being ported to Ethernet platforms. These include Modbus (ModbusTCP), DeviceNet (Ethernet/IP) and Profibus (Profinet). Ethernet communication modules for PLCs are readily available with high-speed performance and flexible protocols. Also, many PLC CPUs are now available with Ethernet ports on board, saving I/O slot space. PLCs will continue to develop more sophisticated connectivity to report information to other PLCs, system control systems, data acquisition (SCADA) systems and enterprise resource planning (ERP) systems. Additionally, wireless communications will continue to gain popularity.* The ability to network PLC I/O connections with a PC. The same trends that have benefited PLC networking have migrated to the I/O level. Many PLC manufacturers are supporting the most accepted fieldbus networks, allowing PLC I/O to be distributed over large physical distances, or located where it was previously considered nearly impossible. This has opened the door for personal computers to interface with standard PLC I/O subsystems by using interface cards, typically supplied by the PLC manufacturer or a third party developer. Now these challenging locations can be monitored with today a PC. Where industrial-grade control engines are not required, the user can take advantage of more advanced software packages and hardware flexibility at a lower cost.* The ability to use universal programming software for multipletargets/platforms. In the past it was expected that an intelligent controller would be complex to program. That is no longer the case. Users are no longer just trained programmers, such as design engineers or systems integrators, but end-users who expect easier-to-use software in more familiar formats. The Windows-based look and feel that users are familiar with on their personal computers have become the most accepted graphical user interface. What began as simple relay logic emulation for programming PLCs has evolved into languages that use higher level function blocks that are much more intuitive to configure. PLC manufacturers are also beginning to integrate the programming of diverse functions that allow you to learn only one package in configuring logic, HMI, motion control and other specialized capabilities. Possibly the ultimate wish of the end-user would be for a software package that could seamlessly program many manufacturers PLCs and sub-systems. After all, Microsoft Windows operating system and applications work similarly whether installed on a Dell, HP or IBM computer, which makes it easier for the user.Overall, PLC users are satisfied with the products currently available, while keeping their eye on new trends and implementing them where the benefits are obvious. Typically, new installations take advantage of advancing technologies, helping them become more accepted in the industrial world.PLC的过去、现在与未来众所周知,科技世界里只有一个永恒真理,那就是变化。
PLC technique discussion and future developmentT.J.byersElectronic Test Equipment-principles and ApplicationsPrinceton University .AmericaAlong with the development of the ages, the technique that is nowadays is also gradually perfect, the competition plays more strong; the operation that list depends the artificial has already can't satisfied with the current manufacturing industry foreground, also can't guarantee the request of the higher quantity and high new the image of the technique business enterprise.The people see in produce practice, automate brought the tremendous convenience and the product quantities for people up of assurance, also eased the personnel's labor strength, reduce the establishment on the personnel. The target control of the hard realization in many complicated production lines, whole and excellent turn, the best decision etc, well-trained operation work, technical personnel or expert, governor but can judge and operate easily, can acquire the satisfied result. The research target of the artificial intelligence makes use of the calculator exactly to carry out, imitate these intelligences behavior, moderating the work through person's brain and calculators, with the mode that person's machine combine, for resolve the very complicated problem to look for the best path.We come in sight of the control that links after the electric appliances in various situation, that is already the that time generation past, now of after use in the mold a perhaps simple equipments of grass-roots control that the electric appliances can do for the low level only; And the PLC emergence also became the epoch-making topic, adding the vivid software control through a very and stable hardware, making the automation head for the new high tide.The PLC biggest characteristics lie in: The electrical engineering teacher already no longer electric hardware up too many calculations 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 equipmentsdirect 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 dates, the ROM 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.The PLC anti- interference is very and excellent, our root need not concern its service life and the work situation bad, these all problems have already no longer become the topic that we fail, but stay to our is a concern to come to internal resources of make use of the PLC to strengthen the control ability of the equipments for us, make our equipments more gentle.PLC language is not we imagine of edit collected materials the language or language of Cs to carry on weaving the distance, but the trapezoid diagram that the adoption is original after the electric appliances to control, make the electrical engineering teacher while weaving to write the procedure very easy comprehended the PLC language, and a lot of non- electricity professional also very quickly know and go deep into to the PLC.Is PLC one of the advantage above and only, this is also one part that the people comprehend more and easily, in a lot of equipments, the people have already no longer hoped to see too many control buttons, they damage not only and easily and produce the artificial error easiest, small is not a main error perhaps you can still accept; But lead even is a fatal error greatly is what we can't is tolerant of. New technique always for bringing more safe and convenient operation for us, make we a lot of problems for face on sweep but light, do you understand the HMI? Says the HMI here you basically not clear what it is, also have no interest understanding, change one inside text explains it into the touch to hold orman-machine interface you knew, it combines with the PLC to our larger space.HMI the control not only is reduced the control press button, increase the vivid of the control, more main of it is can sequence of, and at can the change data input to output the feedback with data, control in the temperature curve of imitate but also can keep the manifestation of view to come out. And can write the function help procedure through a plait to provide the help of various what lies in one's power, the one who make operate reduces the otiose error. Currently the HMI factory is also more and more, the function is also more and more strong, the price is also more and more low, and the noodles of the usage are wide more and more. The HMI foreground can say that think to be good.At a lot of situations, the list is a smooth movement that can't guarantee the equipments by the control of the single machine, but pass the information exchanges of the equipments and equipments to attain the result that we want. For example fore pack and the examination of the empress work preface, we will arrive wrapping information feedback to examine the place, and examine the information of the place to also want the feedback to packing. Pass the information share thus to make both the chain connect, becoming a total body, the match of your that thus make is more close, at each other attain to reflect the result that mutually flick.The PLC correspondence has already come more body now its value, at the PLC and correspondence between Places, can pass the communication of the information and the share of the data’s to guarantee that of the equipments moderates mutually, the result that arrive already to repair with each other. Data conversion the adoption RS232 between PLC connect to come to the transmission data, but the RS232 pick up a people and can guarantee 10 meters only of deliver the distance, if in the distance of 1000 meters we can pass the RS485 to carry on the correspondence, the longer distance can pass the MODEL only to carry on deliver.The PLC data transmission is just to be called a form to it in a piece of and continuous address that the data of the inner part delivers the other party, we, the PLC of the other party passes to read data in the watch to carry on the operation. If the data that data in the watch is a to establish generally, that is just the general data transmission, for example today of oil price rise, I want to deliver the price of the oil price to lose the oil ally on board, that is the share of the data; But take data in the watch for an instruction procedure that controls the PLC, that had the difficulty very much, for example you have to control one pedestal robot to pressthe action work that you imagine, you will draw up for it the form that a procedure combine with the data sends out to pass by.The form that information transport contain single work, the half a work and the difference of a workers .The meaning of the single work also is to say both, a can send out only, but a can receive only, for example a spy he can receive the designation of the superior only, but can't give the superior reply; A work of half is also 2 and can send out similar to accept the data, but can't send out and accept at the same time, for example when you make a phone call is to can't answer the phone, the other party also; But whole pair works is both can send out and accept the data, and can send out and accept at the same time. Be like the Internet is a typical example.The process that information transport also has synchronous and different step cent: The data line and the clock lines are synchronous when synchronous meaning lie in sending out the data, is also the data signal and the clock signals to be carry on by the CPU to send out at the same time, this needs to all want the specialized clock signal each other to carry on the transmission and connect to send, and is constrained, the characteristics of this kind of method lies in its speed very quick, but correspond work time of take up the CPU and also want to be long oppositely, at the same time the technique difficulty also very big. Its request lies in canting have an error margins in a dates deliver, otherwise the whole piece according to compare the occurrence mistake, this on the hardware is a bigger difficulty. Applied more and more extensive in some appropriative equipments, be like the appropriative medical treatment equipments, the numerical signal equipments...etc., in compare the one data deliver, its result is very good.And the different step is an application the most extensive, this receive benefit in it of technique difficulty is opposite and want to be small, at the same time not need to prepare the specialized clock signal, its characteristics to lie in, its data is partition, the long-lost send out and accept, be the CPU is too busy of time can grind to a stop sex to work, also reduced the difficulty on the hardware, the data throw to lose at the same time opposite want to be little, we can pass the examination of the data to observe whether the data that we send out has the mistake or not, be like strange accidentally the method, tired addition and eight efficacies method etc, can use to helps whether the data that we examine to send out have or not themistake occurrence, pass the feedback to carry on the discriminator.A line of transmission of the information contains a string of and combines the cent of: The usual PLC is 8 machines, certainly also having 16 machines. We can be at the time of sending out the data a send out to the other party, also can be 88 send out the data to the other party, and 8 differentiations are also the as that we say to send out the data and combine sends out the data. A speed is more and slowly, but as long as 2 or three lines can solve problem, and can use the telephone line to carry on the long range control. But combine the ocular transmission speed is very quick of, it is a string of ocular of 25600%, occupy the advantage in the short distance, the in view of the fact TTL electricity is even, being limited by the scope of one meter generally, it combine unwell used for the data transmission of the long pull, thus the cost is too expensive.Under a lot of circumstances we are total to like to adopt the string to combine the conversion chip to carry on deliver, under this kind of circumstance not need us to carry on to deposited the machine to establish too and complicatedly, but carry on the data exchanges through the data transmission instruction directly, but is not a very viable way in the correspondence, because the PLC of the other party must has been wait for your data exportation at the time of sending out the data, it can't do other works.When you are reading the book, you hear someone knock on door, you stop to start up of affair, open the door and combine to continue with the one who knock on door a dialogue, the telephone of this time rang, you signal hint to connect a telephone, after connecting the telephone through, return overdo come together knock on door to have a conversation, after dialogue complete, you continue again to see your book, this kind of circumstance we are called the interruption to it, it has the authority, also having sex of have the initiative, the PLC had such function .Its characteristics lie in us and may meet the urgently abrupt affairs in the operation process of the equipments, we want to stop to start immediately up of work, the whereabouts manages the more important affair, this kind of circumstance is we usually meet of, PLC while carry out urgent mission, total will keep the current appearance first, for example the address of the procedure, CPU of tired add the machine data etc., be like to stick down which the book that we see is when we open the door the page or simply make a mark, because we treat and would still need to continue immediately after book of see the behind.The CPU always does the affair that should do according to our will, but your mistake of give it an affair, it also would be same to do, this we must notice.The interruption is not only a, sometimes existing jointly with the hour several inside break, break off to have the preferred Class, they will carry out the interruption of the higher Class according to person's request. This kind of breaks off the medium interruption to also became to break off the set. The Class that certainly breaks off is relevant according to various resources of CPU with internal PLC; also following a heap of capacity size of also relevant fasten.The contents that break off has a lot of kinds, for example the exterior break off, correspondence in of send out and accept the interruption and settle and the clock that count break off, still have the WDT to reset the interruption etc., they enriched the CPU to respond to the category while handle various business. Speak thus perhaps you can't comprehend the internal structure and operation orders of the interruption completely also, we do a very small example to explain.Each equipment always will not forget a button, it also is at we meet the urgent circumstance use of that is nasty to stop the button. When we meet the Human body trouble and surprised circumstances we as long as press it, the machine stops all operations immediately, and wait for processing the over surprised empress recover the operation again. Nasty stop the internal I/ O of the internal CPU of the button conjunction PLC to connect up, be to press button an exterior to trigger signal for CPU, the CPU carries on to the I/ O to examine again, being to confirm to have the exterior to trigger the signal, CPU protection the spot breaks off procedure counts the machine turn the homologous exterior I/ O automatically in the procedure to go to also, be exterior interruption procedure processing complete, the procedure counts the machine to return the main procedure to continue to work. Have 1:00 can what to explain is we generally would nasty stop the button of exterior break off to rise to the tallest Class, thus guarantee the safety.When we are work a work piece, giving the PLC a signal, counting PLC inner part the machine add 1 to compute us for a day of workload, a count the machine and can solve problem in brief, certainly they also can keep the data under the condition of dropping the electricity, urging the data not to throw to lose, this is also what we hope earnestly.The PLC still has the function that the high class counts the machine, being us while accept some dates of high speed, the high speed that here say is the data of the in all aspects tiny second class, for example the bar code scanner is scanning the data continuously, calculating high-speed signal of the data processor DSP etc., we will adopt the high class to count the machine to help we carry on count. It at the PLC carries out the procedure once discover that the high class counts the machine to should of interruption, will let go of the work on the hand immediately. The trapezoid diagram procedure that passes by to weave the distance again explains the high class for us to carry out procedure to count machine would automatic performance to should of work, thus rise the Class that the high class counts the machine to high one Class.You heard too many this phrases perhaps:" crash", the meaning that is mostly is a workload of CPU to lead greatly, the internal resources shortage etc. the circumstance can't result in procedure circulate. The PLC also has the similar circumstance, there is a watchdog WDT in the inner part of PLC, we can establish time that a procedure of WDT circulate, being to appear the procedure to jump to turn the mistake in the procedure movement process or the procedure is busy, movement time of the procedure exceeds WDT constitution time, the CPU turn but the WDT reset the appearance. The procedure restarts the movement, but will not carry on the breakage to the interruption.The PLC development has already entered for network ages of correspondence from the mode of the one, and together other works control the net plank and I/ O card planks to carry on the share easily. A state software can pass all se hardwires link, more animation picture of keep the view to carries on the control, and cans pass the Internet to carry on the control in the foreign land, the blast-off that is like the absolute being boat No.5 is to adopt this kind of way to make airship go up the sky.The development of the higher layer needs our continuous effort to obtain. The PLC emergence has already affected a few persons fully, we also obtained more knowledge and precepts from the top one experience of the generation, coming to the continuous development PLC technique, push it toward higher wave tide.可编程控制器技术讨论与未来发展T.J.拜尔斯(电子测试设备原理及应用普林斯顿大学)随着时代的发展,当今的技术也日趋完善、竞争愈演愈烈;单靠人工的操作已不能满足于目前的制造业前景,也无法保证更高质量的要求和高新技术企业的形象。
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是一种专门为在工业环境下应用而设计的数字运算操作的电子装置。
翻译对应文章Introduction to digital temperature sensor DS1820数字温度传感器DS1820的介绍特性:·独特的单线接口,只需1 个接口引脚即可通信;·多点(multidrop)能力使分布式温度检测应用得以简化;·不需要外部元件;·可用数据线供电;·不需备份电源;·测量范围从-55至+125℃,增量值为0.5℃。
等效的华氏温度范围是-67 F 至257 F,增量值为0.9 F;·以9位数字值方式读出温度;·在1秒(典型值)内把温度变换为数字;·用户可定义的,非易失性的温度告警设置;·告警搜索命令识别和寻址温度在编定的极限之外的器件(温度告警情况);·应用范围包括恒温控制,工业系统,消费类产品,温度计或任何热敏系统。
详细说明DS1820有三个主要的数据部件:1)64位激光lasered ROM;2)温度灵敏元件,和3)非易失性温度告警触发器TH和TL。
器件从单线的通信线取得其电源,在信号线为高电平的时间周期内,把能量贮存在内部的电容器中,在单信号线为低电平的时间期内断开此电源,直到信号线变为高电平重新接上寄生(电容)电源为止。
作为另一种可供选择的方法,DS1820也可以用外部5V电源供电。
与DS1820 的通信经过一个单线接口。
在单线接口情况下,在ROM 操作未定建立之前不能使用存贮器和控制操作。
主机必须首先提供五种ROM操作命令之一;1)Read ROM(读ROM);2)Match ROM(符合ROM);3)Search ROM(搜索ROM);4)Skip ROM(跳过ROM);5)Alarm Search(告警搜索);这些命令对每一器件的64位激光ROM 部分进行操作,如果在单线上有许多器件,那么可以挑选出一个特定的器件,并给总线上的主机指示存在多少器件及其类型。
在成功地执行了ROM 操作序列之后,可使用存贮器和控制操作,然后主机可以提供六种存贮器和控制操作命令之一。
一个控制操作命令指示DS1820 完成温度测量。
该测量的结果将放入DS1820 的高速暂存(便笺式)存贮器(Scratchpad memory),通过发出读暂存存储器内容的存储器操作命令可以读出此结果。
每一温度告警触发器TH和TL构成一个字节的EEPROM。
如果不对DS1820 施加告警搜索命令,这些寄存器可用作通用用户存储器使用存储器,操作命令可以写TH 和TL 对这些寄存器的读访问。
所有数据均以最低有效位在前的方式被读写。
寄生电源方框图(图1)示出寄生电源电路。
当I/O或VDD 引脚为高电平时,这个电路便“取”得电源。
只要符合指定的定时和电压要求,I/O将提供足够的功率(标题为“单总线系统”一节)。
寄生电源的优点是双重的:1)利用此引脚,远程温度检测无需本地电源;2)缺少正常电源条件下也可以读ROM;为了使DS1820能完成准确的温度变换,当温度变换发生时,I/O 线上必须提供足够的功率。
因为DS1820 的工作电流高达1mA ,5K 的上拉电阻将使I/O 线没有足够的驱动能力。
如果几个SD1820 在同一条I/O 线上而且同时变换,那么这一问题将变得特别尖锐。
有两种方法确保DS1820 在其有效变换期内得到足够的电源电流。
第一种方法是发生温度变换时,在I/O 线上提供一强的上拉。
如图2所示,通过使用一个MOSFET 把I/O 线直接拉到电源可达到这一点。
当使用寄生电源方式时VDD 引脚必须连接到地。
向DS1820 供电的另外一种方法是通过使用连接到VDD 引脚的外部电源,如图3 所示这种方法的优点是在I/O 线上不要求强的上拉。
总线上主机不需向上连接便在温度变换期间使线保持高电平。
这就允许在变换时间内其它数据在单线上传送。
此外,在单线总线上可以放置任何数目的DS1820 ,而且如果它们都使用外部电源,那么通过发出跳过(Skip) ROM 命令和接着发出变换(Convert) T 命令,可以同时完成温度变换。
注意只要外部电源处于工作状态,GND(地引)脚不可悬空。
在总线上主机不知道总线上DS1820 是寄生电源供电还是外部VDD 供电的情况下,在DS1820 内采取了措施来通知采用的供电方案。
总线上主机通过发出跳过(Skip)ROM 的操作约定,然后发出读电源命令,可以决定是否有需要强上拉的DS1820 在总线上。
在此命令发出后,主机接着发出读时间片。
如果是寄生供电,DS1820 将在单线总线上送回“0”;如果由VDD 引脚供电,它将送回1。
如果主机接收到一个“0”,它知道它必须在温度变换期间在I/O 线上供一个强的上拉。
有关此命令约定的详细说明见存贮器命令功能一节。
运用——测量温度SDS1820 通过使用在板(on-board)温度测量专利技术来测量温度。
温度测量电路的方框图见图4 所示。
DS1820 通过门开通期间内低温度系数振荡器经历的时钟周期个数计数来测量温度,如果在门开通期结束前计数器达到零,那么温度寄存器—它也被予置到-55℃的数值—将增量,指示温度高于-55℃。
同时,计数器用钭率累加器电路所决定的值进行予置。
为了对遵循抛物线规律的振荡器温度特性进行补偿,这种电路是必需的。
时钟再次使计数器计值至它达到零。
如果门开通时间仍未结束,那么此过程再次重复。
钭率累加器用于补偿振荡器温度特性的非线性,以产生高分辩率的温度测量。
通过改变温度每升高一度,计数器必须经历的计数个数来实行补偿。
因此,为了获得所需的分辩率,计数器的数值以及在给定温度处每一摄氏度的计数个数(钭率累加器的值)二者都必须知道。
此计算在DS1820 内部完成以提供0.5℃的分辩率。
温度读数以16位、符号扩展的二进制补码读数形式提供表1 说明输出数据对测量温度的关系。
数据在单线接口上串行发送。
DS1820 可以以0.5℃的增量值,在0.5℃至+125℃的范围内测量温度。
对于应用华氏温度的场合必须使用查找表或变换系数。
注意在DS1820 中温度是以1/2 LSB 最低有效位形式表示时产生以下9 位格式:最高有效(符号)位被复制到存储器内两字节的温度寄存器中较高MSB 的所有位,这种“符号扩展”产生了如表1 所示的16 位温度读数。
以下的过程可以获得较高的分辩率。
首先,读温度,并从读得的值截去0.5℃位(最低有效位)。
这个值便是TEMP_READ。
然后可以读留在计数器内的值。
此值是门开通期停止之后计数剩余(COUNT_REMAIN)。
所需的最后一个数值是在该温度处每一摄氏度的计数个数(COUNT_PER_C)。
于是,用户可以使用下式计算实际温度:硬件接法根据定义,单线总线只有一根线:这一点是重要的,即线上的第一个器件能在适当的时间驱动该总线。
为了做到这一点,第一个连接到单线总线上的器件必须具有漏极开路或三态输出。
DS1820 的单线接口(I/O 引脚是漏极开路的,其内部等效电路如图9 所示)多站multidrop 总线由单线总线和多个与之相连的从属器件组成。
单线总线要求近似等于5k的上拉电阻。
单线总线的空闲状态是高电平。
不管任何原因,如果执行需要被挂起,那么,若要重新恢复执行,总线必须保持在空闲状态。
如果不满足这一点且总线保持在低电平时间大于480us,那么总线上所有器件均被复位。
存在脉冲(presence pulse)使总线主机知道DS1820 在总线上并已准备好工作。
详情见“单线信号”一节。
处理顺序经过单线接口访问DS1820 的协议(protocol)如下:·初始化·ROM 操作命令·存贮器操作命令·处理/数据初始化单线总线上的所有处理均从初始化序列开始。
初始化序列包括总线主机发出一复位脉冲,接着由从属器件送出存在脉冲。
2.8.2.2 ROM 操作命令一旦总线主机检测到从属器件的存在,它便可以发出器件ROM 操作命令之一。
所有ROM 操作命令均为8 位长,这些命令列表如下(参见图6 的流程图)。
·Read ROM(读ROM) [33h]此命令允许总线主机读DS1820 的8 位产品系列编码,唯一的48 位序列号,以及8 位的CRC。
此命令只能在总线上仅有一个DS1820 的情况下可以使用。
如果总线上存在多于一个的从属器件,那么当所有从片企图同时发送时将发生数据冲突的现象(漏极开路会产生“线与”的结果)。
·Match ROM(“符合”ROM) [55h]“符合”ROM 命令。
后继以64 位的ROM 数据序列,允许总线主机对多点总线上特定的DS1820寻址。
只有与64 位ROM 序列严格相符的DS1820 才能对后继的存贮器操作命令作出响应。
所有与64位ROM 序列不符的从片将等待复位脉冲。
此命令在总线上有单个或多个器件的情况下均可使用·(“跳过”ROM ) [CCh]在单点总线系统中,此命令通过允许总线主机不提供64 位ROM 编码而访问存储器操作来节省时间。
如果在总线上存在多于一个的从属器件而且在Skip ROM 命令之后发出读命令,那么由于多个从片同时发送数据,会在总线上发生数据冲突(漏极开路下拉会产生“线与”的效果)。
·( 搜索ROM) [F0h]当系统开始工作时,总线主机可能不知道单线总线上的器件个数或者不知道其64 位ROM 编码。
搜索ROM 命令允许总线主机使用一种“消去”(elimination)处理来识别总线上所有从片的64 位 ROM 编码。