PLC和智能控制简介外文翻译资料

 2023-08-18 18:54:20

Introductions to PLC and Intelligent Control

KaisuhikoOgata

A PLC (i.c. Programmable Logic Controller) is a device that was invented to replace the necessary sequential relay circuits for machine control. The PLC works by looking at its inputs and depending upon their state, turning oii/off its outputs. The user enters a progranL usually via software or programmer, that gives the desired results.

PLCs are used in many 'real world” applications. If there is industry present, chances are good that there is a PLC present. If you arc involved in machining, packaging, 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, lets assume that when a switch turns on wc want to turn a solenoid on for 5 seconds and Ihen 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 would need 10 external timers. 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 counl its inpuls and turn the solenoids on for the specified time.

We will take a look at what is considered to be the 'top 20' PLC instnictions. It can be safely estimated that with a firm understanding of these instructions one can solve more than 80% of the applications in existence.

Thats right, more than 80%! Of course well learn more than just these instructions to help you solve almost ALL your potential PLC applications.

The PLC mainly consists of a CPU, memory areas, and appropriate circuits to receive input/output data, as shown in Fig.L We can actually consider the PLC to be a box full of hundreds or thousands of separate relays, counters, timers and data storage localions. Do these counters, timers, etc. really exist? No, they dont “physically' exist but rather they are simulated and can be considered software counters, timers, etc. Tliese internal relays are simulated through hit locations in registers.

Fig.l The structure of PLC

What does each part do?

INPUT RELAYS- (contacts) These arc connected to the outside world. They physically exist and receive signals from switches, sensors, etc.. Typically (hey are not relays but rather they are transistors.

INTERNAL UTILITY REL/kYS- (contacts) These 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 arc also some special relays that are dedicated to performing only one task. Some arc always on while sonic are always off. Some are on only once during power-on and are typically used for initializing data that was stored.

COUNTERS-Thcsc again do not physically exist. They arc simulated counters and they can be programmed to count pulses. Typically these counters can count up, down or both up and down. Since they are simulated, they are limited in their counting speed. Some manufacturers also include high-speed counters that are hardware based. We can think of these as physically existing. Most times these counters can count up, down or up and down.

TIMERS-These also do not physically exist. They come in many varieties and increments.

The most common type is an on-delay type. Others include off-delay and both retentive and non-reten(ive types. Increments vary from Ims through Is.

OUTPUT RELAYS-(coils) These 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 ST()RA(;E-Typically there arc 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 from (he PLC. Upon power-up they will still have the same contents as before power was removed. Very conveniem and necessary1!

A PLC works by continually scanning a program. We can think of this scan cycle as consisting of 3 important steps, as shown in Fig.2. There arc typically more than 3 but we can focus on the importani parts and not worry about the others. Typically the others are checking lhe system and updating the current internal counter and timer values.

Fig.2 The work process of PLC

Slep 1 -CHECK INPUT STATUS-First the PLC takes a look at each input to determine if it is on or off. In other words, is the sensor connected to the first input on? How about the second input? How about the third... It records this data into its memory to be used during the next step.

Step 2 EXECUTE PROGRAM-Next the PLC executes your prognmi one instruction al a lime. 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 he able to decide whether the first output should be turned on based on the state of lhe first input, pi It will store (he execuiion results for use later during the next step.

Step 3-UPDATE OUTPUT STATUS-Finally the PLC updates the status of the outputs. It updates the outputs based on which inputs were on during the first step and the results of executing your program during the second step. Based on (he example in step 2 it would now turn on the first output 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 and repeals lhe steps continuously. One sc

剩余内容已隐藏,支付完成后下载完整资料


PLC和智能控制简介

尾形克彦

PLC(即可编程逻辑控制器)是机械控制中为替代必要的继电器时序电路而发明的一种 设备。PLC工作时通过查询输入端并根据其状态打开或关闭输出。用户通常用软件或编程 器输入程序,从而获得期望的结果。

很多实际成用都采用PLC。工业生产中应用PLC的可能性很高。如果你正在进行机械 制造、产品包装、材料处理、自动化装配及无数其他工业生产,你可能经用到了PLC。 如果没仃用到,那就是在浪费金钱和时间。儿乎所有需要电气控制的地方都需要PLCo

例如,假定在开关闭合时我们需要一个线圈接通5秒,然后不管开美接通多长时间都 将线圈断开。我们可以通过一个简单的外部定时器来实现。但是假如该过程冇十个开关和 线圈呢?我们就需要十个外部定时器。如果这个过程需要分别记录每个开关开启的次数 呢?我们又需要很多外部计数器。

由此可见,系统越大,我们就越需要PLC。我们可以简单地用PLC编程来对输入信号 进行计数,并在规定的时间接通线圈。

我们号察一下哪些是PLC中最常用的20条指令。保守地估计一下,如果真正地掌握了 这些指令,就能解决80%以上现存的应用问题。

是的,80%以上!当然,我们要学习的指令比这些更多,以帰助你解决儿乎所冇潜在 的PLC应用问题。

输入继电器

计数器

输出继电器

内部通用继电器

计时器

数据存储器

PLC主要由中央处理器(CPU)、存储器和输入、输出电路构成,如图1所示。我们可以 将PLC看成是一个装满了成百上干个独立的继电器、计数器、定时器以及数据存储器的盒 子。这些计数器、定时器等是不是真的存在呢?不,它们都是模拟的,物理上并不存在, 但可以

将它们看成是软计数器、软定时溶等。这些内部继电器是用寄存器中的位单.元模拟 出来的。

图1 PLC的结构

各个部分是如何工作的呢?

输入继电器(触点)这些继电器连接外部电路。它们是实际存在的,并接收来自开关、 传感器等的信号,通常是晶体管而非继电器。

内部通用继电器(触点)它们不从外部设备接收信号,也非物理上存在的。它们是模拟 的继电器,用以消除PLC的外部继电器。此外还有一些特殊继电器,专门执行一项任务。 其中一些是常开的,一些是常闭的。有一些仗在电源上电时导通一次,通常用来初始化存 储的数据。

计数器它们也非物理上存在的,而是模拟的计数器,可通过编程来对脉冲进行计数。 通常它们可bull;进行加计数、减计数或同时进行加减计数。因为它们是用软件模拟的,计数速 度就冇限。一些制造商提供r基于硬件的高速计数器。这样的计数器可以认为是物理上存 在的。这些计数器多数情况下可以进行加计数、减计数或同时进行加减计数。

定时器它们也非物理上存在的,分为多种类型和定时单位。最常用的一种类型是延 时导通型。其他类型还有延时断开型、记忆和非记忆型。定时单位的范围是1H1S到1S。

输出继电器(线圈)该部分连接到外围电路。它们是物理上存在的,并给线圈、灯等发 送开关信号。输出继电器町以是品体管、继电器或町控硅,取决于选择的型号。

数据存储器它们通常是用来存储数据的寄存器,一般作为运算或数据处理的暂存器。 在PLC断电时通常还可用来存储数据。再次接通电源后,其内容与断电前相同,非常方便 且必要。

PLC是通过连续扫描一个程序来I:作的。我们可以认为扫描周期是由3个]没阶段祖成 的,如图2所示。当然有多于三个阶段的情况,但我们可关注重要的环节,忽略其他环节。 其他阶段通常iF.在检査系统及更新内部计数器和定时器的当前值。

图2PLC的工作过程

第一步——检查输入状态一一首先PLC检查每一个输入是否接通。换句活说就是,与 第一个输入端连接的传感器接通了吗?第二个输入呢?第三个输入呢?・・・PLC将这些数据 记录到存储器中,以便在下一阶段使用。

第二步——执行程序——然后PLC一次一条指令地执行程序。你的程序可能要求第一 个输入接通时,就接通第一个输出。因为在上一步已经知道输入端的开关状态,根据上一 歩中第-个输入端的状态,就可以确定是否应接通第-个输出。PLC将执行结果存储起来, 以供下一步使用。

第三步——更新输出状态——最后PLC更新输出状态。PLC根据第一步中接通的输入 和第二步中程序执行的结果更新输出状态。由于第-个输入接通了,程序要求在该条件满 足时就接通第一个输出,根据第二步的情况,PLC就接通第一个输出。

PLC在执行完第三步后就返回到第一步,并反复循环。一次扫描时间定义为执行上面 的三步所花的时间。因此,一个实际的系统应根据要求去执行特定的操作。

智能与智能系统能用许多方式和从许多方面来描述。通常包含智能系统的特征,这些 也是控制领域所关心的特征。

下面,首先讨论智能系统的几种定义和某些基木特性。接着陈述一下具有共同特性的 智能系统的 个简洁的工程定义。更详细地,我们从智能系统的 个非常bull;般的定义开始, 讨论智能程度,解释控制在智能系统中的作用,并概括出几种定义。然后讨论智能系统中 的自适应和自学习、自K性和必要的高效计算结构,来处理智能系统的复杂性。最后归结 出智能(控制)系统的基本特征。

我们从智能系统的一般特征开始:

一个智能系统应具备在不可预测的环境卜适当「作的能力,在这个环境中一个适当的 反应能够增加成功的可能性,从而达到系统最终的目的。

为r能让人造智能系统适当的工作,它应能模拟生物的功能和基本的人的智能。一个 智能系统能从多个方面来描述。智能程度能从智能的各个方面测得。智能至少要其仃感受 环境、进而做出决定来进行控制的能丿人智能化程度比较高的智能系统具有识别目标和书 件、描述世界模型中的知识、思考并计划未来的能力。在智能化程度更高级的形式中,智 能具有感知和理解、理智地做出选择、在各种各样的环境下成功地运行以便能在受杂的、 不利的环境卜生存和发展的能力。通过计算能力的发展和在复杂多变的环境中怎样感知、 决定并做出响应的知识的积累,我们可以观察到智能也在更新与发展。

智能系统的以上特征是非常普遍的。据卜.所述,很多系统都町以被认为是智能的。事 实上,根据这种定义,恒温器尽管只是低水平的智能,但是也可以被认为是智能系统。然

而,习惯上当一个系统具有高水平的智能时,我们才称它为智能系统。

智能系统存在许多相关的定义,卜面我们提到了几种。它们提供可选择但相关的智能 系统的特性,这种智能系统着重强调系统的高程度智能。

下面的定义强调这样一个事实,处理信息的系统集中在人造系统和智能机器上:

A.机器智能是分析、组织和转换数据成知识的过程,在这里,知识被定义为结构化 的信息,这种信息被用来消除无知或相对于智能机器来说某些特殊任务的不确定性。这种 定义导致r增加精度而相对减少智能的原则,这种原则表示:应用机器智能到数据库能生 成一系列的知识,通过分析形式进行过程建模。

其次,智能系统具冇自动分配任务和在内部自主地控制执行机构的特性:

B.许多白适应或自学习控制系统被认为是作为一种控制法则来满足明确的控制11 标。这种行为代表着系统试图组织或排列自己动态行为的知识,来满足控制目标。这些如 识的组织是组成智能的bull;个重要特征。如果系统能够自主地实现这种组织,那么智能就成 为系统的一种性能,而非系统设计者的。这意味着能内部实现自组织原则的自组织控制器 是智能控制系统。

下面给出智能系统的过程特性:

C.智能是系统的一利特性,当集中注意、联合搜索和概括等过程被应用在输入信息, 从而产生输出时,这种特性就会出现。你可以很容易的推断出:一旦以上过程被定义,具 冇智能结构的结果规则生成并作为新的结果。只冇一种标准结构将导致在恒温器中同冇的 -bull;个不成熟的智能或导致成为一个可变结构的变化模型的控制器。

智能和控制的概念紧密相关,井目.术语“智能控制”冇着独特的、可区别的意思。一 个智能系统必须定义和利用丨1标。控制被要求用来驱动系统达到这些H标并定义这些目 标。因此,任何智能系统都是控制系统。相反地,智能必须在条件变化的情况卜bull;提供合适 的系统运行过程,也必须在控制系统中具仃高度的自主行为。因为控制是任何智能系统的 bull;个重要部分,因此在丄程文献中“智能控制系统”有时被用来代替“智能系统”或“智 能机器'o “智能控制系统”强调智能系统中的控制方面。

下面,介绍一下智能(控制)系统的另外bull;些特性。根据观察,一个控制系统包括数据 结构或对象(设备模型和控制目标)和处理单元或方法(控制规则):

D.由于组件、控制H标、加工模型和控制法则并没有完全被定义,没被定义的原因 或是因为在设计时不了解,或是因为它们在不可预测地变化着。所以设计-个智能控制系 统以便能自动获得高标准目标。

在具有不同智能化程度的系统中呈现出儿种基本特性。你町以认为它们是智能系统的 特征或是衡量智能程度的方面。卜而我们讨论在智能控制系统中三种非常基本的特性。

自适应与自学习在智能系统中适应变化多端的条件的能力是必需的。尽管自适应不 -定要具备自学习能力,但-个系统要适应不可预测的各种变化,学习是最必要的bull;因此 学习能力是高智能系统的一种重要特性。

自主性和智能在设置和获取目标过程中自主性是智能控制系统的一个重要特性。当 一个系统在一个没有外界干预的不确定的环境中能正常运行时,它就被认为是一个高自主 性系统。不同系统的门主性程度是不bull;样的,自适应控制系统被认为比安装了控制器的控 制系统具仃更高自主能力,因为它比一个固定的反馈控制器更能处理不可预测的问题。尽 管对低自上性来说,无智能(或“低”智能)是必然的,但是对髙自主性来说,系统的智能 (或“高”智能度)是很必要的。

结构和层次为了应对复杂情况,bull;个智能系统必须具备bull;个合适的功能结构来进行 冇效的分析和控制决策的仙计。这种结构是“稀少的”井目.它应该提供一种机制来建立提 取标准(决议)或者至少提供某种形式的部分规则来减少复杂性。一种研究智能机器的炳方 法能加强这种有效的计算結构。能够适应的层次(或许是大致的、局部的或是组合的层次), 口J以作为bull;种主要的工其来处理复杂性。这里的“层次”术语是指功能性层次,或者是指 时空的范围和决议,而旦它并不意味着是一种层次硬件。这里面的某些结构可能是硬件的。 为了应付多变的环境,白学习能力是必要的,I大1此这种结构应能适应重要的、不可预料的 变化。

鉴「以上所述,具冇咒他任何系统都存在的基本特性的智能系统(高智能控制系统或 机器)的一个工作特征是:

bull;个智能系统必须对重要的、不可预料的变化具有很高的适应性,而fin学习也是必 要的。/应对变化因素时它必须呈现出高度门主性。它必须能够处理非常复杂的问题,而 且这将导致某些稀少的、例如层次这样的功能机构。

国籍:美国

附录B 外文原文

Introductions to PLC and Intelligent Control

KaisuhikoOgata

A PLC (i.c. Programmable Logic Controller) is a device that was invented to replace the necessary sequential relay circuits for machine control. The PLC works by looking at its inputs and depending upon their state, turning oii/off its outputs. The user enters a progranL usually via software or programmer

剩余内容已隐藏,支付完成后下载完整资料


资料编号:[605732],资料为PDF文档或Word文档,PDF文档可免费转换为Word

原文和译文剩余内容已隐藏,您需要先支付 30元 才能查看原文和译文全部内容!立即支付

以上是毕业论文外文翻译,课题毕业论文、任务书、文献综述、开题报告、程序设计、图纸设计等资料可联系客服协助查找。