JPH0449401A - Pid control method for process control computer - Google Patents

Pid control method for process control computer

Info

Publication number
JPH0449401A
JPH0449401A JP15873890A JP15873890A JPH0449401A JP H0449401 A JPH0449401 A JP H0449401A JP 15873890 A JP15873890 A JP 15873890A JP 15873890 A JP15873890 A JP 15873890A JP H0449401 A JPH0449401 A JP H0449401A
Authority
JP
Japan
Prior art keywords
pid
analog
control computer
process control
analog input
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP15873890A
Other languages
Japanese (ja)
Inventor
Shingo Suzuki
新悟 鈴木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Meidensha Corp
Meidensha Electric Manufacturing Co Ltd
Original Assignee
Meidensha Corp
Meidensha Electric Manufacturing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Meidensha Corp, Meidensha Electric Manufacturing Co Ltd filed Critical Meidensha Corp
Priority to JP15873890A priority Critical patent/JPH0449401A/en
Publication of JPH0449401A publication Critical patent/JPH0449401A/en
Pending legal-status Critical Current

Links

Landscapes

  • Feedback Control In General (AREA)

Abstract

PURPOSE:To process a function corresponding to an external apparatus to be a DDC by software and to simplify the processing by adding analog input data to an objective value, executing PID control by a process control computer and adding tags to various parameters for the PID control. CONSTITUTION:An analog substrate 3 having an A/D conversion function and an analog output substrate 4 having a D/A conversion function are connected to a bus in the process control computer 1 for controlling a process. When tags are added to various parameters, a process from analog input up to analog output can be uniformly controlled, parameter constants or I/O constants can be set up or changed by a CRT task 5 and analog I/O and PID arithmetic processing can be respectively executed by an I/O processing task 6 and a PID processing task 7. Consequently, the structure of this system can be simplified and inexpensively obtained and the setting of the parameters can be simplified by interactively inputting them from a CRT.

Description

【発明の詳細な説明】 人、 産業上の利用分野 本発明は、プロセス制御コンピュータにおけるPID制
御方法に関する。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a PID control method in a process control computer.

B、 発明の概要 プロセス管理をするコンピュータ、及びこの下位にあっ
てプロセス計装に関するDDC(ダイレクトディジタル
コントロール)からなる構成を廃し、プロセス制御コン
ピュータのバスに接続されるアナログ入出力板によるア
ナログ入出力データと目標値とでPID制御を行ない、
同時にPID制御の各パラメータにTAGを付すことに
より、従来のDDC外部機器を無くし、パラメータの設
定を簡略化しtこ。
B. Summary of the invention The configuration consisting of a computer for process management and a DDC (direct digital control) related to process instrumentation that is subordinate to this has been abolished, and analog input/output is implemented using an analog input/output board connected to the bus of the process control computer. Perform PID control using data and target values,
At the same time, by attaching a TAG to each parameter of PID control, the conventional DDC external equipment is eliminated and parameter settings are simplified.

C1従来の技術とその課題 一般に、プロセス制御システムは、プロセス管理のため
のコンピュータとその下位にあってプロセス計装につい
ての分散制御やDDCからなる。
C1 Prior Art and Its Problems In general, a process control system consists of a computer for process management and a distributed control and DDC for process instrumentation below the computer.

第6図は、このプロセス制御コンピュータ1とDDC2
との組合せの一例を示しており、このうち、プロセス制
御コンピュータ1は、下位のDDC2の動作仕様を決定
し複雑な演算や多量の情報を取扱う。DDC2は複数の
制御系を時分割により処理し操作量を決定するもので、
ここでは、プロセス制御コンピュータ1にバスLA40
00にてつながれてバスLA4000との接続用に備え
られ主に信号変換機能を有するHICと、000機能を
持っコンl−ローラユニットでマルチドロップシてリモ
ー) Ilo (RI O)に接続されてAI(アナロ
グ人力)AO(アナログ出力)の受授を行なうHDCと
、及びマルチドロップされたRIOとからなる。
Figure 6 shows the process control computer 1 and DDC 2.
The process control computer 1 determines the operational specifications of the lower DDC 2 and handles complex calculations and large amounts of information. DDC2 processes multiple control systems in a time-sharing manner and determines the amount of operation.
Here, process control computer 1 is connected to bus LA40.
The HIC is connected to the bus LA4000 and is connected to the bus LA4000 and mainly has a signal conversion function. (analog human power) It consists of an HDC that receives and receives AO (analog output), and a multi-dropped RIO.

ハードウェアは以上の如くであるが、PID制御に当っ
ては、プロセス制御コンピュータにて設定された目標値
とアナログ入力とをサンプル周期ごとに取り込みPID
処理を行なってアナログ出力を得ており、PID処理に
必要なパラメータやモード切換えはプロセス制御コンピ
ュータで設定されダウンロードされるものである。
The hardware is as described above, but in PID control, the target value and analog input set by the process control computer are taken in every sample period and the PID control is performed.
Processing is performed to obtain an analog output, and the parameters and mode switching required for PID processing are set and downloaded from the process control computer.

この場合、HDCを主に複数の制御系を好適に処理する
DDC2である下位の部分は、HDCをはじめHIC等
外部機器が多く必要となる。しかも、このDDC2は高
価なものであり、000機能をソフトウェアにて処理で
きれば安価で簡単な構造となり都合が良い。
In this case, the lower part, which is the DDC 2 that processes mainly the HDC and suitably processes a plurality of control systems, requires many external devices such as the HDC and the HIC. Moreover, this DDC2 is expensive, and if the 000 functions can be processed by software, it will be inexpensive and have a simple structure, which is convenient.

そこで、本発明は上述の問題に鑑みDDCである外部機
器に相当する機能をソフトウェアにて処理するようにし
たプロセス制御コンピュータにおけるPID制御方法を
提供する。
In view of the above-mentioned problems, the present invention provides a PID control method for a process control computer in which functions corresponding to an external device such as a DDC are processed by software.

D、 課題を解法するための手段 本発明は、プロセス制御コンピュータのバスに接続され
たアナログ入出力基板を介して外部機器との間でアナロ
グ入出力データの受授を行ない、目標値に上記アナログ
入力データを加えて上記プロセス制御コンピュータにて
PID制御を行ない、同時に乙のPTD制御の各種パラ
メータにはTAGを付したことを特徴とする。
D. Means for solving the problem The present invention exchanges analog input/output data with an external device via an analog input/output board connected to a bus of a process control computer, and adjusts the analog input/output data to a target value. The process control computer performs PID control by adding input data, and at the same time, TAGs are attached to various parameters of PTD control.

E、  作    用 各種パラメータにTAGを付することによりアナログ入
力からアナログ出力までを一元的に管理することができ
、この上でCRTタスクにてパラメータ定数や入出力定
数の設定や変更、入出力処理タスクにてアナログ入出力
、PID処理タスクにてPID演算処理をそれぞれ行な
うことができ、プロセス制御コンピュータのソフトウェ
アにてPID処理が可能となる。
E. Function By attaching TAG to various parameters, it is possible to centrally manage everything from analog input to analog output, and on top of this, the CRT task can set and change parameter constants and input/output constants, and perform input/output processing. The task can perform analog input/output, and the PID processing task can perform PID calculation processing, and the software of the process control computer can perform PID processing.

実施例 ここで、第1図ないし第5図を参照して本発明方法の実
施例を説明する。第1図は本実施例方法のためのハード
ウェアの一例で、プロセスを管理するプロセス制御コン
ピュータ1のバス上には、A/D変換機能を有するアナ
ログ入力基板3とD/A変換機能を有するアナログ出力
基板4とが実装されている。そして、アナログ入力基板
3には外部機器であるセンサ(第4図参照)が接続され
、またアナログ出力基板4には外部機器である制御対象
(第4図参照)が接続されている。
Embodiment An embodiment of the method of the invention will now be described with reference to FIGS. 1 to 5. FIG. 1 shows an example of the hardware for the method of this embodiment. On the bus of a process control computer 1 that manages the process, there is an analog input board 3 having an A/D conversion function and an analog input board 3 having a D/A conversion function. An analog output board 4 is mounted. A sensor (see FIG. 4), which is an external device, is connected to the analog input board 3, and a controlled object (see FIG. 4), which is an external device, is connected to the analog output board 4.

ここにおいて、PID#御はプロセス制御コンピュータ
1内にて処理させることになる。
Here, PID# control is processed within the process control computer 1.

第2図は、この処理のソフトウェアを示している。第2
図において、CRTタスク5は手動操作時CRT画面に
より目標値の設定を行なうもので、RASICで記述さ
れ、キーボードやマウスを使用してPID処理における
各種パラメータ定数、アナログ入出力定数、手動・自動
モード切換の設定・変更を行なうものである。なお、自
動操作は後述のPID処理タスクがセットする。
FIG. 2 shows the software for this process. Second
In the figure, CRT task 5 is for setting target values on the CRT screen during manual operation, which is written in RASIC and using the keyboard and mouse to set various parameter constants for PID processing, analog input/output constants, manual / automatic mode This is used to set and change switching. Note that the automatic operation is set by a PID processing task, which will be described later.

入出力処理タスク6は、アナログ入力基板3からの入力
やアナログ出力基板4からの出力を行うもので、RAS
 I Cで記述されセンサからの測定計測値が入力され
、また刷部対象への出力操作量が出力される。
The input/output processing task 6 performs input from the analog input board 3 and output from the analog output board 4.
The measured value written in IC is inputted from the sensor, and the output operation amount to the printing unit object is outputted.

また、PID処理タスク7ば、プログラムによるPID
演算を行なう本システムの主要部分で、BASICとP
L/Mによる言語で記述され測定入力値と各種設定値か
ら演算結果である操作出力値を得るものである。
In addition, PID processing task 7
The main parts of this system that perform calculations are BASIC and P
It is written in L/M language and obtains a manipulated output value, which is a calculation result, from measured input values and various setting values.

第3図、第4図は、上述のPID制御フローとその概略
ブロック図であり、CRTタスクによる目標値の設定、
入力処理タスクによる計測値測定、PID処理タスクに
よるPID演算、出力処理タスクによる操作量出力を示
している。
3 and 4 are the above-mentioned PID control flow and its schematic block diagram, and show the setting of the target value by the CRT task,
It shows measurement value measurement by the input processing task, PID calculation by the PID processing task, and operation amount output by the output processing task.

PID処理を行なうに当っては、アナログ入力値やアナ
ログ出力値、PID設定値等各種のパラメータが必要と
なる。この場合、パラメータをTAGにより識別して取
扱い入力データと出力データとをつなげて、一元的に管
理を行なっている。すなわち、TAGを付けない場合、
アナログ入力とアナログ出力とをソフト的に固定させ対
応させなければならず、アナログ入出力のチャンネル付
は変えなどについてはその都度ソフトの変更が必要とな
るが、TAGを付すことによってデータの識別ができC
RTからの設定変更のみで処理できる。
When performing PID processing, various parameters such as analog input values, analog output values, and PID setting values are required. In this case, parameters are identified by TAG and handled input data and output data are connected to perform unified management. In other words, if no TAG is attached,
Analog input and analog output must be fixed and corresponded to each other in software, and changing the channel assignment of analog input and output requires software changes each time, but by attaching a TAG, data can be identified. Can be done C
It can be processed only by changing the settings from RT.

また、指定するTAGにおいては、他のPID制御のT
AGを指定することて、第5図の如くカスケード接続が
可能となる。すなわち、PID制御部のシリーズ接続を
CRTからの入力方式により簡単に付加できる。
In addition, in the specified TAG, other PID control TAG
By specifying AG, cascade connection is possible as shown in FIG. That is, the series connection of the PID control section can be easily added using the input method from the CRT.

ここで、PID演算式の一例をあげる EV =PV −3V 旧     CI)        圓MV −ΣΔM
V ココテ、Evnは今回ノ偏差、EV、−4は1周期前の
偏差、  SVは目標値、  PVnは今回の測定値、
PV、、は1周期前の測定値、pv、−2は2周期前の
測定値、ΔMVは出力変化量、3″’MV、は今回の操
作量、  KPは比例定数、9”lTsはサンプリング
周期、  Tは比例定数、Toは微分定数であり、(*
)はTAGが付加されるパラメータを示している。
Here, we will give an example of the PID calculation formula EV = PV -3V old CI) MV -ΣΔM
V Kokote, Evn is the current deviation, EV, -4 is the deviation from one cycle before, SV is the target value, PVn is the current measured value,
PV, , is the measured value one cycle ago, pv, -2 is the measured value two cycles ago, ΔMV is the output change amount, 3'''MV is the current manipulated variable, KP is the proportional constant, 9''lTs is the sampling period, T is the proportional constant, To is the differential constant, (*
) indicates a parameter to which a TAG is added.

G9発明の詳細 な説明したように本発明によれば、外部接続機器を無く
してCPUバスに接続される基板としてPID制御の各
種パラメータにTAGを付したことにより、構造が簡単
で安価となり、またパラメータの設定がCRTからの入
力で行なえ対話形式の入力ができて簡潔化する。
As described in detail of the G9 invention, according to the present invention, the structure is simple and inexpensive by attaching TAG to various parameters of PID control as a board connected to the CPU bus without any external connection equipment. Parameter settings can be made by inputting from a CRT, allowing for interactive input, which simplifies the setting.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図ないし第5図は本発明方法実施例の説明のための
もので、第1図はハードウェアの構成図、第2図はソフ
トウェアの構成図、第3図はPID制御のフローチャー
ト、第4図はPID制御のブロック図、第5図はカスケ
ード接続のブロック図、第6図は従来のDDCを外部接
続したPID制紳0ハードウェアの構成図である。 図 中、 1はプロセス制御コンピュータ、 3はアナログ入力基板、 4はアナログ出力基板、 5はCRTタスク、 6は入出力処理タスク、 7はPID処理タスクである。
1 to 5 are for explaining an embodiment of the method of the present invention. FIG. 1 is a hardware configuration diagram, FIG. 2 is a software configuration diagram, FIG. 3 is a flowchart of PID control, and FIG. FIG. 4 is a block diagram of PID control, FIG. 5 is a block diagram of cascade connection, and FIG. 6 is a configuration diagram of PID control hardware in which a conventional DDC is externally connected. In the figure, 1 is a process control computer, 3 is an analog input board, 4 is an analog output board, 5 is a CRT task, 6 is an input/output processing task, and 7 is a PID processing task.

Claims (1)

【特許請求の範囲】[Claims] プロセス制御コンピュータのバスに接続されたアナログ
入出力基板を介して外部機器との間でアナログ入出力デ
ータの受授を行ない、目標値に上記アナログ入力データ
を加えて上記プロセス制御コンピュータにてPID制御
を行ない、同時にこのPID制御の各種パラメータには
TAGを付したことを特徴とするプロセス制御コンピュ
ータにおけるPID制御方法。
Analog input/output data is exchanged with external equipment via an analog input/output board connected to the bus of the process control computer, and the above analog input data is added to the target value to perform PID control in the process control computer. A PID control method in a process control computer, characterized in that various parameters of this PID control are assigned TAGs.
JP15873890A 1990-06-19 1990-06-19 Pid control method for process control computer Pending JPH0449401A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15873890A JPH0449401A (en) 1990-06-19 1990-06-19 Pid control method for process control computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15873890A JPH0449401A (en) 1990-06-19 1990-06-19 Pid control method for process control computer

Publications (1)

Publication Number Publication Date
JPH0449401A true JPH0449401A (en) 1992-02-18

Family

ID=15678257

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15873890A Pending JPH0449401A (en) 1990-06-19 1990-06-19 Pid control method for process control computer

Country Status (1)

Country Link
JP (1) JPH0449401A (en)

Similar Documents

Publication Publication Date Title
EP0242131A3 (en) Graphical system for modelling a process and associated method
JPH0449401A (en) Pid control method for process control computer
JP3412667B2 (en) Scheduling method of fieldbus system
Lapeto et al. Synthesis of Control Systems with delay by the embedding theory on the basis of approximation of delay
Jun et al. A computer-aided design tool for robustness analysis and control-relevant identification of Horizon Predictive Control with application to a binary distillation column
JP2752230B2 (en) 2-DOF control device
JPH07118399B2 (en) Adjusting parameter display setting device for charged particle beam accelerator
JPS61275905A (en) Controller for controlling multi-input multi-output system
Moon Parameter identification of processes with nonlinear actuators
JPH01217522A (en) Arithmetic processor
Pimenta et al. Real-time dynamic simulation of non-linear MIMO systems
Linkens et al. Fast, self-organizing control for industrial processes
Sandoz An application of computer-aided control system design
JPH0916208A (en) Programmable controller for fuzzy control
JPH04155401A (en) Fuzzy controller
JPH05224713A (en) Display method for programmable controller
Ohyama et al. Exercise in Control Technique Using Simple Handmade Equipments
JP2660603B2 (en) Control program parameter setting method
SU1005091A1 (en) Device for function reproduction
JPH0217455A (en) Storage waveform output display method
Ung Sample optimization hybrid program
JPS60149076A (en) Plant simulator
Bikfalvi et al. Classic controller design
JPH01217537A (en) Simulation system
JP2002023837A (en) Plant control and monitoring equipment