JP2003158780A - Controller - Google Patents

Controller

Info

Publication number
JP2003158780A
JP2003158780A JP2001353962A JP2001353962A JP2003158780A JP 2003158780 A JP2003158780 A JP 2003158780A JP 2001353962 A JP2001353962 A JP 2001353962A JP 2001353962 A JP2001353962 A JP 2001353962A JP 2003158780 A JP2003158780 A JP 2003158780A
Authority
JP
Japan
Prior art keywords
processor
control
communication
memory
interface
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.)
Granted
Application number
JP2001353962A
Other languages
Japanese (ja)
Other versions
JP4117123B2 (en
Inventor
Takashi Umehara
敬 梅原
Koji Masui
晃二 桝井
Wataru Sasaki
亘 笹木
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2001353962A priority Critical patent/JP4117123B2/en
Priority to CNB021425345A priority patent/CN100356747C/en
Priority to KR1020020071917A priority patent/KR100949168B1/en
Publication of JP2003158780A publication Critical patent/JP2003158780A/en
Application granted granted Critical
Publication of JP4117123B2 publication Critical patent/JP4117123B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40006Architecture of a communication node
    • H04L12/40032Details regarding a bus interface enhancer
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/16Handling requests for interconnection or transfer for access to memory bus

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Programmable Controllers (AREA)
  • Control By Computers (AREA)
  • Selective Calling Equipment (AREA)
  • Computer And Data Communications (AREA)
  • Stored Programmes (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a controller capable of the Internet connection while securing real time properties of control. SOLUTION: The controller is provided with a bridge LSI 130 connected to a control processor 120 and to a communication processor 110, a memory 140 connected to the LSI 130, a system bus interface 160 for connecting the controller to an object 400 to be controlled through a system bus 200, and a network interface 150 for connecting the controller to a terminal 20 through the Internet 10.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、発電プラント,交
通制御システム,上下水処理の制御システム等に使用さ
れるコントローラに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a controller used in a power plant, a traffic control system, a water and wastewater treatment control system, and the like.

【0002】[0002]

【従来の技術】近年のインターネット技術の普及に伴
い、プラント監視用の端末をインターネットに接続する
ことによりプラント監視をどこからでも行える利点があ
るため、プラント制御システムにインターネットを接続
してリモート監視を行うことが望まれるようになった。
2. Description of the Related Art With the recent spread of Internet technology, there is an advantage that a plant monitoring terminal can be connected to the Internet for plant monitoring from anywhere. Therefore, the plant control system is connected to the Internet for remote monitoring. Has come to be desired.

【0003】このため、従来の装置では、監視システム
のローカルエリアネットワーク(以下、LANと略す)
上にインターネット接続用のサーバを設けることでイン
ターネット接続を実現していた。しかし、専用のサーバ
を設けることは、システムの価格が高くなることや、L
ANの回線異常が発生した場合はプラント制御状態を監
視できなくなるという欠点があったため、最近では、コ
ントローラの拡張装置として、システムバス上にインタ
ーネットに接続するためのモジュールを搭載したシステ
ムも出現している。
Therefore, in the conventional device, a local area network (hereinafter abbreviated as LAN) of the monitoring system is used.
Internet connection was realized by providing a server for Internet connection above. However, providing a dedicated server increases the system price and increases L
Since the plant control status cannot be monitored when an AN line abnormality occurs, recently, as a controller expansion device, a system equipped with a module for connecting to the Internet on the system bus has appeared. There is.

【0004】又、特開平11−150550号公報に記
載のように、専用的な制御系ネットワークと汎用的な情
報系ネットワークの相互通信を支援するために、制御装
置との間で制御データを送受信するための制御系ネット
ワークに接続される第1の通信コントローラと、計算機
と周辺機器との間を相互に接続するための情報ネットワ
ークに接続される第2の通信コントローラと、第1及び
第2の通信コントローラ間でデータを受け渡しするため
のプロトコル変換をCPUに実行させるプロトコル変換
手段を具備したものがある。又、特開平9−12825
5号公報には、制御用の第1のプロセッサと通信用の第
2のプロセッサを持ち、制御用の第1のプロセッサは、
少なくとも1つの外部のシステムとデータ通信中に収集
された応用プログラムに対して制御パラメータを引き継
ぐ通信タスク期間を調整可能で実行するプログラマブル
論理制御器が開示されている。
Further, as described in Japanese Patent Laid-Open No. 11-150550, control data is transmitted / received to / from a control device in order to support mutual communication between a dedicated control system network and a general-purpose information system network. A first communication controller connected to a control system network for connecting the computer and a second communication controller connected to an information network for connecting the computer and the peripheral device to each other; Some include protocol conversion means for causing a CPU to execute protocol conversion for passing data between communication controllers. Also, JP-A-9-12825
Japanese Patent No. 5 has a first processor for control and a second processor for communication, and the first processor for control is
A programmable logic controller is disclosed that adjustably executes a communication task period that inherits control parameters for an application program collected during data communication with at least one external system.

【0005】[0005]

【発明が解決しようとする課題】上記の従来技術は、シ
ステムバスに接続するため、プラントインターフェイス
の処理とネットワークインターフェイスの処理の両方を
CPUが処理しなければならなく、制御のリアルタイム
性が保証されないという問題があった。
Since the above-mentioned conventional technique is connected to the system bus, the CPU must process both the plant interface processing and the network interface processing, and the real-time control is not guaranteed. There was a problem.

【0006】又、特開平11−150550号公報に記
載の従来の装置では、第1及び第2の通信コントローラ
間でデータを受け渡しするためのプロトコル変換をCP
Uに実行させているため、コントローラでリアルタイム
な制御ができないという問題があった。又、特開平9−
128255号公報に記載のものは、制御用と通信用の
2つのプロセッサを有しているが制御用のプロセッサは
通信タスクを処理するため制御のリアルタイム性が保証
されにくく、インターネット等での処理については配慮
されていないものであった。
Further, in the conventional apparatus described in Japanese Patent Laid-Open No. 11-150550, CP is used for protocol conversion for passing data between the first and second communication controllers.
Since it is executed by U, there is a problem that the controller cannot perform real-time control. In addition, JP-A-9-
The one described in Japanese Patent No. 128255 has two processors, one for control and the other for communication, but the processor for control processes communication tasks, so it is difficult to guarantee real-time control, and processing on the Internet or the like is difficult. Was not considered.

【0007】本発明の第1の目的は、制御のリアルタイ
ム性を確保し、かつインターネット接続を可能としたコ
ントローラを提供することにある。
[0007] A first object of the present invention is to provide a controller that secures real-time controllability and enables Internet connection.

【0008】本発明の第2の目的は、制御のリアルタイ
ム性を確保し、かつシステムのコストアップを抑えたコ
ントローラを提供することにある。
A second object of the present invention is to provide a controller that secures real-time controllability and suppresses system cost increase.

【0009】[0009]

【課題を解決するための手段】上記目的を達成するため
に、本発明のコントローラは、制御用プロセッサと、通
信用プロセッサと、前記制御用プロセッサ及び通信用プ
ロセッサのそれぞれに接続されたブリッジLSIと、該
ブリッジLSIに接続されたメモリ,制御対象とシステ
ムバスを介して接続するためのシステムバスインターフ
ェイス,端末とインターネットを介して接続するための
ネットワークインターフェイスを備えたことを特徴とす
る。
In order to achieve the above object, a controller of the present invention comprises a control processor, a communication processor, and a bridge LSI connected to each of the control processor and the communication processor. , A memory connected to the bridge LSI, a system bus interface for connecting to a control target via a system bus, and a network interface for connecting to a terminal via the Internet.

【0010】又、制御用プロセッサと、通信用プロセッ
サと、前記制御用プロセッサ及び通信用プロセッサのそ
れぞれに接続されたブリッジLSIと、該ブリッジLS
Iと接続されたメモリと、前記制御用プロセッサとブリ
ッジLSIを介して接続され制御用プロセッサが制御対
象を監視,制御するためのシステムバスインターフェイ
スと、前記通信用プロセッサとブリッジLSIを介して
接続され通信用プロセッサが端末とインターネット通信
するためのインターネットインターフェイスを備えたこ
とを特徴とする。
A control processor, a communication processor, a bridge LSI connected to each of the control processor and the communication processor, and the bridge LS.
A memory connected to I, a system bus interface connected to the control processor via a bridge LSI for the control processor to monitor and control a control target, and a memory connected to the communication processor via a bridge LSI. It is characterized in that the communication processor has an internet interface for internet communication with the terminal.

【0011】又、前記通信用プロセッサのソフトウエア
が、ファームウエア,ネットワークインターフェイスド
ライバを含むリアルタイムOS,fttp,ttp等の
インターネットプロトコルを含むミドルソフト,通信タ
スクで構成されているものである。
The software of the communication processor is composed of firmware, a real-time OS including a network interface driver, middle software including an internet protocol such as ftp, tp, and a communication task.

【0012】又、前記制御用プロセッサのソフトウエア
が、ファームウエア,制御対象インターフェイスドライ
バを含むリアルタイムOS,ミドルソフト,制御タスク
で構成されているものである。
The software of the control processor comprises a firmware, a real-time OS including a controlled interface driver, middle software, and a control task.

【0013】[0013]

【発明の実施の形態】以下、本発明の一実施例をプラン
ト制御用のコントローラを例にとり、図1から図5によ
り説明する。図1に示すように、本実施例のコントロー
ラ100(CPUボード100ともいう)には、システ
ムバス200を介してプラントインターフェイス300
が接続されている。コントローラ100のネットワーク
インターフェイス150には、インターネット10を介
してプラント制御の状態を監視するためのプラント監視
用の端末20が接続され、コントローラ100のプラン
トインターフェイス300(制御対象インターフェイス
300ともいう)は制御対象であるプラント400に接
続されている。ここで、インターネット10は、イント
ラネットであってもよい。
BEST MODE FOR CARRYING OUT THE INVENTION One embodiment of the present invention will be described below with reference to FIGS. 1 to 5 by taking a controller for plant control as an example. As shown in FIG. 1, a controller 100 (also referred to as a CPU board 100) of this embodiment has a plant interface 300 via a system bus 200.
Are connected. A plant monitoring terminal 20 for monitoring a plant control state is connected to the network interface 150 of the controller 100 via the Internet 10, and the plant interface 300 (also referred to as a control target interface 300) of the controller 100 is a control target. Is connected to the plant 400. Here, the Internet 10 may be an intranet.

【0014】コントローラ100には、通信用プロセッ
サ110と制御用プロセッサ120の2つのプロセッサ
が設けられ、この2つのプロセッサは、それぞれゲート
アレイにて実現されたブリッジLSI130に接続さ
れ、ブリッジLSI130を介してメモリ140に接続
されている。制御用プロセッサ120は、ブリッジLS
I130を介してシステムバスインターフェイス160
に接続されている。システムバスインターフェイス16
0に接続されたシステムバス200およびプラントイン
ターフェイス300を経由して制御対象であるプラント
400の制御,監視を行い、後述するように、制御状態
はフィードバックされ、メモリ140に記憶される。こ
のデータの送受信は互いにアドレス指定により行われ
る。
The controller 100 is provided with two processors, a communication processor 110 and a control processor 120, which are respectively connected to a bridge LSI 130 realized by a gate array and through the bridge LSI 130. It is connected to the memory 140. The control processor 120 is a bridge LS.
System bus interface 160 via I130
It is connected to the. System bus interface 16
The plant 400 to be controlled is controlled and monitored via the system bus 200 and the plant interface 300 connected to 0, and the control state is fed back and stored in the memory 140 as described later. The transmission and reception of this data are performed by addressing each other.

【0015】一方、通信用プロセッサ110は、ブリッ
ジLSI130を介してネットワークインターフェイス
150に接続されている。ブリッジLSI130は、制
御用プロセッサ120とシステムバスインターフェイス
160,メモリ140の接続切替え、システムバスイン
ターフェイス160とメモリ140との接続切断、通信
用プロセッサ110とネットワークインターフェイス1
50,メモリ140の接続切替え、ネットワークインタ
ーフェイス150とメモリとの接続切断を行う。この接
続切替え、接続切断は、制御用プロセッサ120,通信
用プロセッサ110,端末20等がセットアップとデー
タを有する構成の制御信号をブリッジLSI130に送
信してブリッジLSI130内部の設定を切替えること
により行う。
On the other hand, the communication processor 110 is connected to the network interface 150 via the bridge LSI 130. The bridge LSI 130 switches connection between the control processor 120, the system bus interface 160, and the memory 140, disconnects the connection between the system bus interface 160 and the memory 140, the communication processor 110, and the network interface 1.
50, the connection of the memory 140 is switched, and the connection between the network interface 150 and the memory is disconnected. The connection switching and the connection disconnection are performed by the control processor 120, the communication processor 110, the terminal 20, etc. transmitting a control signal having a configuration having setup and data to the bridge LSI 130 to switch the setting inside the bridge LSI 130.

【0016】このように、制御用プロセッサ120は、
リアルタイムな制御を保証するために、通信処理を行わ
ないようにして、通信用プロセッサ110が通信処理を
行うようになっており、所謂、機能分散のマルチプロセ
ッサとなっている。通信用プロセッサ110は、インタ
ーネット10を介して接続された端末20に、メモリ1
40に記憶されている最新のプラント情報を送信する。
このように、プラント監視用の端末20をインターネッ
ト10へ接続し、ネットワークインターフェイス150
を介して、通信用プロセッサ110とインターネット1
0を接続しているので、コントローラの設置箇所の自由
度が増し、プラント監視・制御を所望の場所から行える
ことができる。
Thus, the control processor 120 is
In order to guarantee real-time control, the communication processor 110 does not perform communication processing but performs communication processing, and is a so-called function-distributed multiprocessor. The communication processor 110 connects the memory 1 to the terminal 20 connected via the Internet 10.
The latest plant information stored in 40 is transmitted.
In this way, the plant monitoring terminal 20 is connected to the Internet 10, and the network interface 150
Via the communication processor 110 and the Internet 1
Since 0 is connected, the degree of freedom of the installation location of the controller is increased, and plant monitoring / control can be performed from a desired location.

【0017】コントローラ100に設けられた通信用プ
ロセッサ110と制御用プロセッサ120の2つのプロ
セッサのソフトウエア構成を図2により説明する。
The software configuration of the two processors of the communication processor 110 and the control processor 120 provided in the controller 100 will be described with reference to FIG.

【0018】通信用プロセッサ110は、ファームウエ
ア111,リアルタイムOS112,ミドルソフト11
4,通信タスク116のソフトウエアを有し、リアルタ
イムOS112にはネットワークインターフェイスドラ
イバ113が、ミドルソフト114には通信タスク11
6処理を専門に行うためのhttp,ftp等のインタ
ーネットプロトコル115が設けられている。
The communication processor 110 includes firmware 111, a real-time OS 112, middle software 11
4. It has the software of the communication task 116. The network interface driver 113 is in the real-time OS 112, and the communication task 11 is in the middle software 114.
An internet protocol 115 such as http, ftp, etc. is provided for specially performing the 6 processes.

【0019】制御用プロセッサ120は、ファームウエ
ア121,リアルタイムOS122,ミドルソフト12
4,制御タスク125のソフトウエアを有し、リアルタ
イムOS122にはプラントインターフェイスドライバ
123(制御対象プラントインターフェイスドライバ1
23ともいう)が設けられている。リアルタイムOS1
12及びリアルタイムOS122間にはプロセッサ間割
り込み101インターフェイスが設けられている。
The control processor 120 includes firmware 121, a real-time OS 122, and middle software 12.
4, the control task 125 software, and the real-time OS 122 has a plant interface driver 123 (control target plant interface driver 1
23) is also provided. Real-time OS 1
An inter-processor interrupt 101 interface is provided between 12 and the real-time OS 122.

【0020】通信用プロセッサ110のファームウエア
111,制御用プロセッサ120のファームウエア12
1は共に、電源投入時の初期化処理,自己診断等を行
う。
The firmware 111 of the communication processor 110 and the firmware 12 of the control processor 120
Both 1 perform initialization processing at power-on, self-diagnosis, and the like.

【0021】このように、通信用プロセッサ110は、
通信タスク116処理を専門に行うためのhttp,f
tp等のインターネットプロトコルが設けられるミドル
ソフト114を介してインターネット10へ接続され、
制御用プロセッサ120は、制御タスク125処理を専
門に行うためのミドルソフト124を介してプラント4
00へ接続されているので、従来は、CPU内部にht
tpを実装すれば、通信と制御をシリアルに処理する必
要があり、通信と制御をシリアルに処理するため、コン
トローラでリアルタイムな制御ができないという問題を
解決できる。
As described above, the communication processor 110 is
Http, f for specialized processing of the communication task 116
connected to the Internet 10 via middle software 114 provided with an Internet protocol such as tp,
The control processor 120 uses the middle software 124 for specialized processing of the control task 125 to control the plant 4
Since it is connected to 00, conventionally,
By implementing tp, it is necessary to process communication and control serially, and since communication and control are processed serially, the problem that the controller cannot perform real-time control can be solved.

【0022】2つのプロセッサは、通常は独立して動作
しているが、監視・制御のため、互いに連絡や同期を取
る必要がある場合は、リアルタイムOS112とリアル
タイムOS122間でプロセッサ間割り込み101が行
われる。なお、このプロセッサ間割り込みの代りに、メ
モリインターフェイスによる連絡を用いても良い。
The two processors normally operate independently, but when it is necessary to communicate or synchronize with each other for monitoring and control, the inter-processor interrupt 101 is executed between the real-time OS 112 and the real-time OS 122. Be seen. Instead of this interprocessor interrupt, communication by a memory interface may be used.

【0023】次に、このように構成されたソフトウエア
の具体的な処理の流れを説明する。図3に制御用プロセ
ッサ120の制御の処理フローを示す。
Next, a specific processing flow of the software thus configured will be described. FIG. 3 shows a control processing flow of the control processor 120.

【0024】制御用プロセッサ120は、S500で、
ファームウエア121による初期化が完了した後、制御
開始の指示により、オペレータ等が予めメモリ140に
ダウンロードした制御プログラムをメモリ140から読
み込み処理を開始する。
The control processor 120, in S500,
After the initialization by the firmware 121 is completed, an operator or the like reads a control program previously downloaded to the memory 140 from the memory 140 according to a control start instruction, and starts processing.

【0025】処理が開始されると、この制御プログラム
に従い、S510で、プラントの状態データを取り込む
ために、システムバス200上のプラントインターフェ
イス300に対して、リード要求を行う。リード要求を
受けたプラントインターフェイス300は、S520
で、プラント制御対象の入力データ、すなわちプラント
の状態データを取り込む。
When the processing is started, a read request is made to the plant interface 300 on the system bus 200 in step S510 according to this control program in order to fetch the plant status data. Upon receiving the read request, the plant interface 300 sets S520.
Then, the input data of the plant control target, that is, the state data of the plant is fetched.

【0026】S530で、取り込んだ状態データをCP
U100へ応答データとして転送する。データを受け取
った制御用プロセッサ120は、S540で、リード値
をメモリ140へ記憶させる(退避するともいう)と共
に、S550で、制御プログラムに従いリードデータを
元に演算処理を行う。S560で、その演算結果を制御
指示としてプラントインターフェイス300へデータラ
イト要求を行う。データライト要求を受けたプラントイ
ンターフェイス300は、S570で、この要求に従い
プラント制御対象へデータを出力して必要な制御を行
う。
In step S530, the status data taken in is CP
Transfer to U100 as response data. Upon receiving the data, the control processor 120 stores (also saves) the read value in the memory 140 in step S540, and in step S550, performs arithmetic processing based on the read data according to the control program. In S560, a data write request is made to the plant interface 300 by using the calculation result as a control instruction. Upon receiving the data write request, the plant interface 300 outputs data to the plant control target according to this request and performs necessary control in S570.

【0027】このように、制御用プロセッサ120は、
S510からS570までの処理を、数ミリ秒から数百
ミリ秒の周期で繰り返すことで制御のリアルタイム性を
保証している。
Thus, the control processor 120 is
By repeating the processing from S510 to S570 at a cycle of several milliseconds to several hundreds of milliseconds, real-time control is guaranteed.

【0028】次に、通信用プロセッサ110の通信の処
理フローについて図4,図5により説明する。図4に、
通信用プロセッサ110の監視の処理フローを示し、図
5に、操作の処理フローの例を示す。
Next, a communication processing flow of the communication processor 110 will be described with reference to FIGS. In Figure 4,
A processing flow of monitoring of the communication processor 110 is shown, and FIG. 5 shows an example of a processing flow of operation.

【0029】図4に示すように、通信用プロセッサ11
0も、制御用プロセッサ120と同様に、ファームウエ
ア111による初期化が完了した後、S600で、通信
プログラムをメモリ140から読み込み、S610で、
端末20からの要求を待つ。
As shown in FIG. 4, the communication processor 11
Similarly to the control processor 120, 0 also reads the communication program from the memory 140 in S600 after the initialization by the firmware 111 is completed, and in S610,
It waits for a request from the terminal 20.

【0030】S620で、端末20からデータ転送要求
を受けると、通信用プロセッサ110は、S630で、デ
ータ転送要求に従いメモリ140に記憶している(退避
しているともいう)プラント状態のデータをリードし、
S640で、ブリッジLSI130,ネットワークイン
ターフェイス150およびインターネット10を介し
て、端末20へデータを転送する。
Upon receiving a data transfer request from the terminal 20 in S620, the communication processor 110 reads the plant state data stored in the memory 140 (also referred to as saving) in accordance with the data transfer request in S630. Then
In step S640, the data is transferred to the terminal 20 via the bridge LSI 130, the network interface 150, and the Internet 10.

【0031】ここで、インターネット10を介した通信
処理は、通信用プロセッサ110で処理されるため、制
御用プロセッサ120の制御プログラム処理を阻害しな
いようにでき、プラントの監視を行うことができる。こ
の結果、制御用プロセッサ120の一定周期の処理が何
らかの理由で阻害された場合、制御のリアルタイム性が
保証されなくなり、プラントの装置破壊や、最悪の場合
停電や断水等の社会的損害を与えるのを防止できる。
Here, since the communication processing via the Internet 10 is processed by the communication processor 110, the control program processing of the control processor 120 can be prevented from being hindered and the plant can be monitored. As a result, if the processing of the control processor 120 for a certain period is hindered for some reason, the real-time control is no longer guaranteed, which may damage the plant equipment or, in the worst case, cause social damage such as power failure or water outage. Can be prevented.

【0032】ここで、通信用プロセッサ110が、S6
30で、メモリリード処理を行う場合、制御用プロセッ
サ120との間でメモリバス競合が発生すると、一定周
期の処理が阻害され、制御のリアルタイム性を損なう恐
れがある。このため、本実施例では、制御用プロセッサ
120と通信用プロセッサ110の両方からのメモリア
クセスに対しては、ブリッジLSI130にてメモリア
クセス時のオーバヘッドを吸収して、メモリバスの転送
性能を向上させている。又、制御用プロセッサ120に
内蔵されているキャッシュメモリに一時記憶させてキャ
ッシュメモリを有効活用するようプログラムを作成して
いる、あるいはメモリバス競合が発生すると、通信用プ
ロセッサからの一度のメモリアクセスの量を制限してい
るので、メモリバス競合が発生した場合でも制御のリア
ルタイム性を保証することができる。
Here, the communication processor 110 executes S6.
When memory read processing is performed at 30, if memory bus contention with the control processor 120 occurs, processing of a fixed period is hindered, and real-time control may be impaired. Therefore, in the present embodiment, for memory access from both the control processor 120 and the communication processor 110, the bridge LSI 130 absorbs the overhead at the time of memory access to improve the transfer performance of the memory bus. ing. In addition, when a program is created so that the cache memory built in the control processor 120 is temporarily stored and the cache memory is effectively used, or when a memory bus conflict occurs, a single memory access from the communication processor is performed. Since the amount is limited, the real-time control can be guaranteed even if a memory bus conflict occurs.

【0033】次に、インターネット経由でプラントの操
作を行う例を図5にて説明する。通信用プロセッサ11
0の初期化およびプログラム読み込みについては、図4
に示す監視の場合と同様に行われる。
Next, an example of operating the plant via the Internet will be described with reference to FIG. Communication processor 11
For initialization of 0 and program loading, refer to FIG.
It is performed in the same manner as in the case of monitoring shown in.

【0034】図4に監視データを見て、監視者(オペレ
ータともいう)がプラント制御パラメータを変更する必
要が生じた場合、S700で、端末20上の操作画面等
にてパラメータ変更の指示を行う。このパラメータ変更
の指示は、S710で、端末20からインターネット1
0経由で対象となるコントローラ100へ送信される。
When the supervisor (also referred to as an operator) needs to change the plant control parameters by looking at the monitoring data in FIG. 4, in S700, an instruction to change the parameters is issued on the operation screen or the like on the terminal 20. . This parameter change instruction is sent from the terminal 20 to the Internet 1 in step S710.
It is transmitted to the target controller 100 via 0.

【0035】通信用プロセッサ110は、S720で、
端末20からのパラメータ変更要求を受信すると、S7
30で、制御用プロセッサ120にプロセッサ間割り込
み信号101を行い、パラメータ変更が必要であること
を連絡する。
The communication processor 110, in S720,
When the parameter change request is received from the terminal 20, S7
At 30, the inter-processor interrupt signal 101 is sent to the control processor 120 to notify that the parameter change is necessary.

【0036】制御用プロセッサ120は、一定周期で制
御プログラム処理を行っているが、この一連の処理が完
了するまでの間は割り込み禁止状態で動作し、一連の処
理の完了後は、S740で、割り込み受付け可能とし
て、このタイミングで、プロセッサ間割り込み信号10
1を受付け、通信用プロセッサ110へパラメータ変更
を許可する応答を行う。
The control processor 120 performs control program processing at a constant cycle, and operates in the interrupt disabled state until the series of processing is completed, and after the series of processing is completed, in S740, As the interrupt can be accepted, the inter-processor interrupt signal 10 is sent at this timing.
1 is accepted, and a response permitting parameter change is sent to the communication processor 110.

【0037】パラメータ変更を許可する応答を受けた通
信用プロセッサ110は、端末20からの要求に従い、
S750で、メモリ140のパラメータ領域のデータを
変更し、再度プロセッサ間割り込み信号101を行い、
制御用プロセッサ120へパラメータ変更が完了したこ
とを応答すると共に、S760で、端末20へパラメー
タ変更が完了したことを応答する。
The communication processor 110, which has received the response permitting the parameter change, follows the request from the terminal 20.
In S750, the data in the parameter area of the memory 140 is changed, and the inter-processor interrupt signal 101 is performed again,
The control processor 120 is notified of the completion of the parameter change, and the terminal 20 is notified of the completion of the parameter change in step S760.

【0038】ここで、パラメータ変更によるメモリ14
0へのアクセスの時間を演算し、メモリ140へのアク
セスの時間が制御用プロセッサ120のリアルタイム処
理に影響を与える恐れがあると判断される場合は、変更
するパラメータの量に制限を設け、制御周期時間から変
更するパラメータの量を設定して制御用プロセッサ12
0へパラメータ変更を行う。この結果、端末から制御パ
ラメータを変更する場合でも制御のリアルタイム性を保
証することができる。
Here, the memory 14 by changing the parameters
When the access time to 0 is calculated and it is determined that the access time to the memory 140 may affect the real-time processing of the control processor 120, the amount of the parameter to be changed is limited and the control is performed. The control processor 12 sets the amount of parameters to be changed from the cycle time.
Change the parameter to 0. As a result, it is possible to guarantee real-time control even when the control parameter is changed from the terminal.

【0039】[0039]

【発明の効果】本発明によれば、コントローラに2つの
CPUモジュールを設け、ブリッジLSIによりメモリ
との間を切替えて制御用プロセッサが通常通信処理を行
なわないようにしているので、制御のリアルタイム性を
保証しつつ、インターネットを介した監視,制御が可能
となる。
According to the present invention, two CPU modules are provided in the controller, and the bridge LSI switches between the memory and the memory so that the control processor does not perform normal communication processing. It is possible to monitor and control via the Internet while ensuring the above.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の一実施例である制御システムの構成図
である。
FIG. 1 is a configuration diagram of a control system that is an embodiment of the present invention.

【図2】本実施例のコントローラの構成図である。FIG. 2 is a configuration diagram of a controller according to the present embodiment.

【図3】制御用プロセッサの制御の処理の流れ図であ
る。
FIG. 3 is a flowchart of control processing of a control processor.

【図4】通信用プロセッサの監視の処理の流れ図であ
る。
FIG. 4 is a flowchart of a process of monitoring a communication processor.

【図5】通信用プロセッサの操作の処理の流れ図であ
る。
FIG. 5 is a flowchart of a process of operating a communication processor.

【符号の説明】[Explanation of symbols]

10…インターネット、20…監視操作端末、100…
コントローラ、101…プロセッサ間割り込み信号、1
10…通信用プロセッサ、111,121…ファームウ
エア、112,122…リアルタイムOS、113…ネ
ットワークインターフェイスドライバ、114,124
…ミドルソフト、115…http,ftp等のインタ
ーネットプロトコル、116…通信タスク、120…制
御用プロセッサ、123…プラントインターフェイスド
ライバ、125…制御タスク、130…ブリッジLS
I、140…メモリ、150…ネットワークインターフ
ェイス、160…システムバスインターフェイス、20
0…システムバス、300…プラントインターフェイ
ス、400…プラント。
10 ... Internet, 20 ... Monitoring operation terminal, 100 ...
Controller, 101 ... Interprocessor interrupt signal, 1
10 ... Communication processor, 111, 121 ... Firmware, 112, 122 ... Real-time OS, 113 ... Network interface driver, 114, 124
... middle software, 115 ... internet protocols such as http, ftp, 116 ... communication task, 120 ... control processor, 123 ... plant interface driver, 125 ... control task, 130 ... bridge LS
I, 140 ... Memory, 150 ... Network interface, 160 ... System bus interface, 20
0 ... System bus, 300 ... Plant interface, 400 ... Plant.

フロントページの続き (72)発明者 桝井 晃二 茨城県日立市大みか町五丁目2番1号 株 式会社日立製作所情報制御システム事業部 内 (72)発明者 笹木 亘 茨城県日立市大みか町五丁目2番1号 株 式会社日立製作所情報制御システム事業部 内 Fターム(参考) 5H215 AA01 AA02 BB20 CC09 CX08 CX09 GG03 HH08 JJ20 KK04 KK06 5K048 BA23 CA08 DA05 DC04 EA11 EB02 EB12 EB13 FC01 HA01 HA02 Continued front page    (72) Inventor Koji Masui             5-2-1 Omika-cho, Hitachi City, Ibaraki Prefecture             Information Control Systems Division, Hitachi, Ltd.             Within (72) Inventor Wataru Sasaki             5-2-1 Omika-cho, Hitachi City, Ibaraki Prefecture             Information Control Systems Division, Hitachi, Ltd.             Within F-term (reference) 5H215 AA01 AA02 BB20 CC09 CX08                       CX09 GG03 HH08 JJ20 KK04                       KK06                 5K048 BA23 CA08 DA05 DC04 EA11                       EB02 EB12 EB13 FC01 HA01                       HA02

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】制御用プロセッサと、通信用プロセッサ
と、前記制御用プロセッサ及び通信用プロセッサのそれ
ぞれに接続されたブリッジLSIと、該ブリッジLSI
に接続されたメモリ、制御対象とシステムバスを介して
接続するためのシステムバスインターフェイス、端末と
インターネットを介して接続するためのネットワークイ
ンターフェイスを備えたことを特徴とするコントロー
ラ。
1. A control processor, a communication processor, a bridge LSI connected to each of the control processor and the communication processor, and the bridge LSI.
A controller comprising a memory connected to the device, a system bus interface for connecting to a controlled object via a system bus, and a network interface for connecting to a terminal via the Internet.
【請求項2】制御用プロセッサと、通信用プロセッサ
と、前記制御用プロセッサ及び通信用プロセッサのそれ
ぞれに接続されたブリッジLSIと、該ブリッジLSI
と接続されたメモリと、前記制御用プロセッサとブリッ
ジLSIを介して接続され制御用プロセッサが制御対象
を監視,制御するためのシステムバスインターフェイス
と、前記通信用プロセッサとブリッジLSIを介して接
続され通信用プロセッサが端末とインターネット通信す
るためのインターネットインターフェイスを備えたこと
を特徴とするコントローラ。
2. A control processor, a communication processor, a bridge LSI connected to each of the control processor and the communication processor, and the bridge LSI.
A memory connected to the control processor, a system bus interface connected to the control processor via a bridge LSI for the control processor to monitor and control an object to be controlled, and a communication connected to the communication processor via the bridge LSI. A controller characterized in that the processor has an internet interface for internet communication with the terminal.
【請求項3】前記通信用プロセッサのソフトウエアが、
ファームウエア,ネットワークインターフェイスドライ
バを含むリアルタイムOS,fttp,ttp等のイン
ターネットプロトコルを含むミドルソフト、通信タスク
で構成されている請求項1又は2に記載のコントロー
ラ。
3. The software of the communication processor comprises:
The controller according to claim 1 or 2, which comprises firmware, a real-time OS including a network interface driver, middle software including an Internet protocol such as ftp, ttp, and a communication task.
【請求項4】前記制御用プロセッサのソフトウエアが、
ファームウエア,制御対象インターフェイスドライバを
含むリアルタイムOS,ミドルソフト,制御タスクで構
成されている請求項1から3のいずれかに記載のコント
ローラ。
4. The software of the control processor is
4. The controller according to claim 1, which comprises firmware, a real-time OS including a controlled interface driver, middle software, and a control task.
【請求項5】前記制御用プロセッサのリアルタイムOS
と通信用プロセッサのリアルタイムOSの間のプロセッ
サ間割り込みインターフェイス、又はメモリインターフ
ェイス、又はメモリインターフェイスを設けた請求項1
から4のいずれかに記載のコントローラ。
5. A real-time OS for the control processor
An inter-processor interrupt interface, a memory interface, or a memory interface between the processor and the real-time OS of the communication processor is provided.
5. The controller according to any one of 4 to 4.
【請求項6】前記制御用プロセッサ及び通信用プロセッ
サの両方からメモリへアクセスのあった時は、ブリッジ
LSIにてメモリへのアクセスのオーバヘッドを吸収す
る請求項1から4に記載のコントローラ。
6. The controller according to claim 1, wherein when the memory is accessed from both the control processor and the communication processor, the bridge LSI absorbs the overhead of accessing the memory.
【請求項7】前記制御用プロセッサがキャッシュメモリ
を内蔵しているものであって、前記制御用プロセッサ及
び通信用プロセッサの両方からメモリへアクセスのあっ
た時は、前記キャッシュメモリに一時記憶させる請求項
1から4のいずれかに記載のコントローラ。
7. The control processor has a built-in cache memory, and when the memory is accessed from both the control processor and the communication processor, the cache memory is temporarily stored. The controller according to any one of Items 1 to 4.
【請求項8】前記制御用プロセッサ及び通信用プロセッ
サの両方からメモリへアクセスのあった時は、前記通信
用プロセッサからの一回のメモリアクセス容量を制限す
る請求項1から4のいずれかに記載のコントローラ。
8. The memory access capacity of the communication processor is limited once when the memory is accessed from both the control processor and the communication processor. Controller.
JP2001353962A 2001-11-20 2001-11-20 controller Expired - Lifetime JP4117123B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2001353962A JP4117123B2 (en) 2001-11-20 2001-11-20 controller
CNB021425345A CN100356747C (en) 2001-11-20 2002-09-20 Controller
KR1020020071917A KR100949168B1 (en) 2001-11-20 2002-11-19 Controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001353962A JP4117123B2 (en) 2001-11-20 2001-11-20 controller

Publications (2)

Publication Number Publication Date
JP2003158780A true JP2003158780A (en) 2003-05-30
JP4117123B2 JP4117123B2 (en) 2008-07-16

Family

ID=19165886

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001353962A Expired - Lifetime JP4117123B2 (en) 2001-11-20 2001-11-20 controller

Country Status (3)

Country Link
JP (1) JP4117123B2 (en)
KR (1) KR100949168B1 (en)
CN (1) CN100356747C (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009509372A (en) * 2005-09-19 2009-03-05 ソニー エリクソン モバイル コミュニケーションズ, エービー Communication terminal having a plurality of processors and method for operating the communication terminal
JP2009164665A (en) * 2007-12-28 2009-07-23 Mitsubishi Electric Corp Communication system and communication adapter

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100377019C (en) * 2003-09-02 2008-03-26 华中科技大学 Push-in type multishaft motion controller
JP2009143459A (en) * 2007-12-17 2009-07-02 Hitachi Ltd On-vehicle electronic system and automobile
JP6442843B2 (en) 2014-03-14 2018-12-26 オムロン株式会社 Control device

Family Cites Families (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0573508A (en) * 1991-09-17 1993-03-26 Matsushita Graphic Commun Syst Inc Multiprocessor system
JPH0685867A (en) * 1992-09-03 1994-03-25 Fujitsu Ltd Remote power-on control system
JPH07219607A (en) * 1994-02-02 1995-08-18 Mitsubishi Heavy Ind Ltd Digital controller
CN1137646A (en) * 1995-06-05 1996-12-11 北京航空航天大学 Node interconnecting adapter
EP0834135B1 (en) * 1995-06-15 2003-01-02 Intel Corporation Architecture for an i/o processor that integrates a pci to pci bridge
BE1009813A3 (en) * 1995-09-29 1997-08-05 Philips Electronics Nv Programmable logic controller.
US5717691A (en) * 1995-10-30 1998-02-10 Nec Usa, Inc. Multimedia network interface for asynchronous transfer mode communication system
US5982362A (en) * 1996-05-30 1999-11-09 Control Technology Corporation Video interface architecture for programmable industrial control systems
JP3327123B2 (en) * 1996-06-04 2002-09-24 トヨタ自動車株式会社 Integrated control system for work robots
KR100196386B1 (en) * 1996-12-04 1999-06-15 김형벽 Main processor module for vessel auto control
JPH10228418A (en) * 1997-02-18 1998-08-25 Canon Inc Memory controller and memory controlling method
KR100481995B1 (en) * 1997-07-29 2005-07-07 삼성중공업 주식회사 Target system
JPH11146466A (en) * 1997-11-11 1999-05-28 Toshiba Corp Plant monitor and control system
US6205152B1 (en) * 1997-12-31 2001-03-20 Samsung Electronics Co., Ltd. Frame relay-to-ATM interface circuit and method of operation
US6272398B1 (en) * 1998-09-21 2001-08-07 Siebolt Hettinga Processor-based process control system with intuitive programming capabilities
JP2001014026A (en) * 1999-06-30 2001-01-19 Matsushita Electric Works Ltd Operation managing device, operation management system, and recording medium on which program of operation managing device is recorded

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009509372A (en) * 2005-09-19 2009-03-05 ソニー エリクソン モバイル コミュニケーションズ, エービー Communication terminal having a plurality of processors and method for operating the communication terminal
JP2009164665A (en) * 2007-12-28 2009-07-23 Mitsubishi Electric Corp Communication system and communication adapter

Also Published As

Publication number Publication date
CN100356747C (en) 2007-12-19
KR20030041804A (en) 2003-05-27
KR100949168B1 (en) 2010-03-23
CN1420661A (en) 2003-05-28
JP4117123B2 (en) 2008-07-16

Similar Documents

Publication Publication Date Title
JP2000222370A (en) Electronic control system
JPH1185219A (en) Programmable controller
JP2003158780A (en) Controller
JPH0973436A (en) Operation mode switching system of multiplied computers
JP3332098B2 (en) Redundant processor unit
JPS60194647A (en) Data transmission system
JPH0736720A (en) Duplex computer equipment
JP3183227B2 (en) Redundant startup method
JP2001005505A (en) Programmable controller
JP3465637B2 (en) Server and control method thereof
JP3267110B2 (en) Microcomputer data transfer device
JPH06161974A (en) Diagnosing method for multi-cpu board
JP2001100812A (en) Distributed processing system
JP2877188B2 (en) Data communication monitoring system
JP3353819B2 (en) Connection mechanism and connection method between intelligent board and console terminal
JPH07200334A (en) Duplicate synchronization operation system
JPH03238546A (en) Input/output control system
JPH03269759A (en) Multiprocessor control system
JPH10145456A (en) Duplexing system for communication system control
JP2000029850A (en) Task controlling method using inter-processor communication of operating system
JP2000298585A (en) System and method for rewriting rom
JPH0834615B2 (en) Line state management control method in switching system
JPH1137601A (en) Start control method for plural engines
JPH0346855B2 (en)
JP2000347885A (en) Duplex process controller

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050830

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050913

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20051028

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20060104

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060303

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20060309

A912 Re-examination (zenchi) completed and case transferred to appeal board

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20060407

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20060427

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080421

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110425

Year of fee payment: 3

R151 Written notification of patent or utility model registration

Ref document number: 4117123

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110425

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120425

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120425

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130425

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130425

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140425

Year of fee payment: 6

EXPY Cancellation because of completion of term