Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP4585586B2 - Plant data conversion apparatus and plant data conversion method - Google Patents
[go: Go Back, main page]

JP4585586B2 - Plant data conversion apparatus and plant data conversion method - Google Patents

Plant data conversion apparatus and plant data conversion method Download PDF

Info

Publication number
JP4585586B2
JP4585586B2 JP2008205942A JP2008205942A JP4585586B2 JP 4585586 B2 JP4585586 B2 JP 4585586B2 JP 2008205942 A JP2008205942 A JP 2008205942A JP 2008205942 A JP2008205942 A JP 2008205942A JP 4585586 B2 JP4585586 B2 JP 4585586B2
Authority
JP
Japan
Prior art keywords
data
plant data
plant
color image
image data
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.)
Expired - Fee Related
Application number
JP2008205942A
Other languages
Japanese (ja)
Other versions
JP2010044433A (en
Inventor
正明 宮沢
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.)
Toshiba Corp
Toshiba Digital Solutions Corp
Original Assignee
Toshiba Corp
Toshiba Solutions Corp
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 Toshiba Corp, Toshiba Solutions Corp filed Critical Toshiba Corp
Priority to JP2008205942A priority Critical patent/JP4585586B2/en
Publication of JP2010044433A publication Critical patent/JP2010044433A/en
Application granted granted Critical
Publication of JP4585586B2 publication Critical patent/JP4585586B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Testing And Monitoring For Control Systems (AREA)

Description

本発明は、大型プラント等におけるプラントデータを変換して記録するプラントデータ変換装置およびプラントデータ変換方法に関する。   The present invention relates to a plant data conversion apparatus and a plant data conversion method for converting and recording plant data in a large plant or the like.

鉄工所、化学工場、原子力発電所など各種のプラントにおいては、設備機器の状態を多系統に亘って監視するために、設備機器から出力されるプラントデータを収集、保存している(例えば、特許文献1参照)。このプラントデータは、運転支援や制御に用いられるだけでなく、障害発生時のプロセス解析など様々な用途に利用されている。
特開平11−149313号公報 特開2000−217097号公報
In various plants such as ironworks, chemical factories, and nuclear power plants, plant data output from the equipment is collected and stored in order to monitor the state of the equipment across multiple systems (for example, patents) Reference 1). This plant data is used not only for operation support and control but also for various purposes such as process analysis when a failure occurs.
JP 11-149313 A JP 2000-217097 A

しかしながら、上記の技術においては、大型プラント等の制御システムで用いられている大量のプラントデータ(リアルタイムデータ)は、専用アプリケーションを介して記憶装置内に保存されている。すなわち、アプリケーション毎に様々な保存形式を持つため、保存されたデータを利用する場合には、その形式に対応したアプリケーションが必要となるという問題がある。   However, in the above technique, a large amount of plant data (real-time data) used in a control system such as a large plant is stored in a storage device via a dedicated application. That is, since each application has various storage formats, there is a problem that an application corresponding to the format is required when using stored data.

また、このような問題に対応するために、制御データと映像データを共通のデータ形式に変換して伝送する方法(例えば、特許文献2参照)が知られている。この方法を用いることで、リアルタイムに取得される制御データを共通のデータ形式で伝送し、保存することが可能である。しかしながら、制御データの保存と再利用(復元)の双方を効率的に行うことは考慮されていない。   In order to cope with such a problem, a method of transmitting control data and video data after converting them into a common data format (for example, see Patent Document 2) is known. By using this method, control data acquired in real time can be transmitted and stored in a common data format. However, efficient storage and reuse (restoration) of control data is not considered.

そこで、本発明は、上記従来技術の問題に鑑み、リアルタイムで取得されるプラントデータを共通の形式の画像データに変換して映像記録装置に記録すると共に、これを再生することによってプラントデータへの復元が可能なプラントデータ変換装置およびプラントデータ変換方法を提供することを目的とする。   Therefore, in view of the above-mentioned problems of the prior art, the present invention converts plant data acquired in real time into image data of a common format and records it in a video recording device, and reproduces it to plant data by reproducing it. An object of the present invention is to provide a plant data conversion apparatus and a plant data conversion method that can be restored.

本発明に係るプラントデータ変換装置は、プラントの設備機器から出力されるプラントデータを所定の周期で取得するプラントデータ取得部と、前記取得されたプラントデータを所定の規則に基づいて複数のビット列に分割し、前記ビット列を画素毎の色彩情報としたカラー画像データへ変換する画像変換部と、前記変換されたカラー画像データを記録装置へ記録するカラー画像データ記録部と、前記記録されたカラー画像データを読込むカラー画像データ読込部と、前記読込まれたカラー画像データを前記プラントデータへ復元するプラントデータ復元部と、を有することを特徴とする。   A plant data conversion apparatus according to the present invention includes a plant data acquisition unit that acquires plant data output from plant equipment at a predetermined cycle, and the acquired plant data is converted into a plurality of bit strings based on a predetermined rule. An image conversion unit that divides and converts the bit string into color image data that is color information for each pixel, a color image data recording unit that records the converted color image data on a recording device, and the recorded color image A color image data reading unit that reads data, and a plant data restoration unit that restores the read color image data to the plant data.

本発明に係るプラントデータ変換方法は、プラントの設備機器から出力されるプラントデータを所定の周期で取得するプラントデータ取得ステップと、前記取得されたプラントデータを所定の規則に基づいて複数のビット列に分割し、前記ビット列を画素毎の色彩情報とするカラー画像データへ変換する画像変換ステップと、前記変換されたカラー画像データを記録装置へ記録するカラー画像データ記録ステップと、前記記録されたカラー画像データを読込むカラー画像データ読込ステップと、前記読込まれたカラー画像データを前記プラントデータへ復元するプラントデータ復元ステップと、を有することを特徴とする。   The plant data conversion method according to the present invention includes a plant data acquisition step of acquiring plant data output from plant equipment at a predetermined cycle, and the acquired plant data is converted into a plurality of bit strings based on a predetermined rule. An image conversion step of dividing and converting the bit string into color image data that is color information for each pixel, a color image data recording step of recording the converted color image data on a recording device, and the recorded color image Color image data reading step for reading data, and plant data restoring step for restoring the read color image data to the plant data.

本発明によれば、リアルタイムで取得されるプラントデータを共通の形式の画像データに変換して映像記録装置に記録すると共に、これを再生することによってプラントデータへの復元が可能なプラントデータ変換装置およびプラントデータ変換方法が提供される。   According to the present invention, plant data conversion apparatus capable of converting plant data acquired in real time into image data of a common format and recording it in a video recording apparatus, and restoring the plant data by reproducing the data. A plant data conversion method is also provided.

以下、本発明の実施形態について図面を用いて説明する。図1は、本発明の一実施形態に係るプラントデータ変換装置1の全体構成例を示す図である。プラントデータ変換装置1は、ネットワーク(図示省略する)を介してプラントシステム2および映像記録装置3に接続されたコンピュータである。プラントシステム2は、各種の設備機器から構成されたプラントである。映像記録装置3は、DVD装置やHDDレコーダなどの各種の記録装置である。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a diagram illustrating an overall configuration example of a plant data conversion apparatus 1 according to an embodiment of the present invention. The plant data conversion device 1 is a computer connected to the plant system 2 and the video recording device 3 via a network (not shown). The plant system 2 is a plant composed of various equipment. The video recording device 3 is various recording devices such as a DVD device and an HDD recorder.

また、プラントデータ変換装置1は、制御部11、プラントデータ取得部12、画像変換部13、カラー画像データ記録部14、カラー画像データ読込部15、プラントデータ復元部16、およびインターフェース部17を備えている。   The plant data conversion apparatus 1 includes a control unit 11, a plant data acquisition unit 12, an image conversion unit 13, a color image data recording unit 14, a color image data reading unit 15, a plant data restoration unit 16, and an interface unit 17. ing.

制御部11は、プラントデータ変換装置1の各部の動作を制御する中央処理装置である。プラントデータ取得部12は、ネットワーク接続されたプラントシステム2の設備機器からプラントデータを取得するプログラムである。ここで、プラントデータとは、設備機器のセンサ(図示省略する)によって取得され、プラントの制御に必要とされる各種のデータであり、速度、モータ回転数、電流値、電圧値、温度などが挙げられる。   The control unit 11 is a central processing unit that controls the operation of each unit of the plant data conversion apparatus 1. The plant data acquisition unit 12 is a program that acquires plant data from the equipment of the plant system 2 connected to the network. Here, plant data is various data that is acquired by a sensor (not shown) of equipment and is required for plant control, and includes speed, motor speed, current value, voltage value, temperature, and the like. Can be mentioned.

画像変換部13は、プラントデータ取得部12で取得されたプラントデータを所定の規則に基づいて複数のビット列に分割し、各ビット列を画素の色彩情報とした画像データ(以下、「カラー画像データ」という。)へ変換するプログラムである。プラントデータの画像変換方法の詳細については後述する。   The image conversion unit 13 divides the plant data acquired by the plant data acquisition unit 12 into a plurality of bit strings based on a predetermined rule, and sets each bit string as pixel color information (hereinafter, “color image data”). It is a program to convert to. Details of the image conversion method of plant data will be described later.

カラー画像データ記録部14は、画像変換部13で変換されたカラー画像データの画像信号をネットワーク接続された映像記録装置3に出力し、記録媒体への記録処理を行わせるプログラムである。例えば、リアルタイム性の要求される鉄鋼プラント向け計算機システムにおいて50msec周期で約10KBのデータ収集が行われるならば、1秒間当たり20個のカラー画像データが生成され、映像記録装置3内の記録媒体(磁気ディスクや光学ディスク)に記録される。   The color image data recording unit 14 is a program that outputs an image signal of the color image data converted by the image conversion unit 13 to the video recording device 3 connected to the network, and performs a recording process on a recording medium. For example, in a computer system for a steel plant that requires real-time performance, if data collection of about 10 KB is performed at a cycle of 50 msec, 20 color image data are generated per second, and a recording medium ( Recorded on a magnetic disk or optical disk).

カラー画像データ読込部15は、映像記録装置3内の記録媒体から記録されているカラー画像データを読込むプログラムである。   The color image data reading unit 15 is a program for reading color image data recorded from a recording medium in the video recording apparatus 3.

プラントデータ復元部16は、カラー画像データ読込部15で読込まれたカラー画像データをプラントデータへ復元するプログラムである。尚、処理の流れは、画像変換部13の変換処理とほぼ同じであるが、データの書込みと読込みのエリアが逆となる。プラントデータの復元方法の詳細については後述する。   The plant data restoration unit 16 is a program for restoring the color image data read by the color image data reading unit 15 to plant data. The process flow is almost the same as the conversion process of the image conversion unit 13, but the data writing and reading areas are reversed. Details of the restoration method of plant data will be described later.

インターフェース部17は、利用者がキーボードやマウスなどの入力装置(図示省略する)によって入力した情報(例えば指定日時、録画時の解像度、設備機器名、再生指示情報など)を取得すると共に、液晶ディスプレイなどの表示装置(図示省略する)や所望のデータ処理装置(図示省略する)へ各種情報(例えば、復元されたプラントデータなど)を出力するプログラムである。   The interface unit 17 obtains information (for example, designated date and time, resolution at the time of recording, equipment name, reproduction instruction information, etc.) input by the user through an input device (not shown) such as a keyboard or a mouse, and a liquid crystal display Is a program that outputs various types of information (for example, restored plant data) to a display device (not shown) or a desired data processing device (not shown).

以下、本実施形態に係るプラントデータ変換装置1の動作を図面に基づいて詳細に説明する。   Hereinafter, operation | movement of the plant data converter 1 which concerns on this embodiment is demonstrated in detail based on drawing.

図2は、プラントデータ変換装置1における画像変換処理およびデータ復元処理を具体的に説明する図である。   FIG. 2 is a diagram for specifically explaining the image conversion process and the data restoration process in the plant data conversion apparatus 1.

先ず、図2の左側の処理について説明する。ここでは、画像変換部13がプラントデータを8ビット単位に分割し、これらを画像データの各画素にRGB値として配置することが示されている。24bpp(1ピクセル当たり24ビット)でエンコードされたRGB明度は、赤・緑・青の輝度を示す三つの8ビット符号無し整数(0から255)で表せるので、24ビットのプラントデータは256(約1600万)通りの色彩のいずれかに変換される。そして、ある時刻におけるプラントデータの全ビット列を、一画面の構成画素の色彩情報として配置することで、一回の変換処理が完了となる。 First, the processing on the left side of FIG. 2 will be described. Here, it is shown that the image conversion unit 13 divides plant data into 8-bit units and arranges them as RGB values in each pixel of the image data. RGB brightness encoded at 24 bpp (24 bits per pixel) can be represented by three 8-bit unsigned integers (0 to 255) indicating red, green and blue intensities, so the 24-bit plant data is 256 3 ( Converted to one of about 16 million colors. Then, by arranging all the bit strings of the plant data at a certain time as the color information of the constituent pixels of one screen, one conversion process is completed.

上記の場合、一画素当たり3バイトのデータが格納されるので、解像度(横×縦)が1280×1024の場合には、約3.75MBのデータを画像化することが可能である。そして、本処理を所定の周期で繰り返すことにより、リアルタイムで更新されるプラントデータが色彩情報を有するカラー画像データとして逐次出力され、時系列に対応付けされた状態で映像記録装置3に録画される。   In the above case, since 3 bytes of data are stored per pixel, when the resolution (horizontal × vertical) is 1280 × 1024, about 3.75 MB of data can be imaged. Then, by repeating this processing at a predetermined cycle, plant data updated in real time is sequentially output as color image data having color information, and recorded in the video recording apparatus 3 in a state of being associated with time series. .

次に、図2の右側の処理について説明する。ここでは、映像記録装置3に録画されているカラー画像データ(映像)を再生し、プラントデータ復元部16に入力することで、カラー画像データの各画素が持つRGB値を取り出し、プラントデータとして再構築することが示されている。本処理を定周期に繰り返すことにより、プラントデータが再現される。   Next, the processing on the right side of FIG. 2 will be described. Here, the color image data (video) recorded in the video recording device 3 is reproduced and input to the plant data restoration unit 16 to extract the RGB value of each pixel of the color image data and re-create it as plant data. Has been shown to build. By repeating this process at regular intervals, plant data is reproduced.

図3は、プラントデータ変換装置1における画像変換処理の具体例を示すフローチャートであり、図2の左側の処理に該当する。   FIG. 3 is a flowchart showing a specific example of the image conversion process in the plant data conversion apparatus 1, and corresponds to the process on the left side of FIG.

S301において、プラントデータ取得部12は、ネットワーク接続されたプラントシステム2の設備機器から出力されるプラントデータを所定の周期で取得する。   In S301, the plant data acquisition unit 12 acquires plant data output from the equipment of the plant system 2 connected to the network at a predetermined cycle.

S302において、画像変換部13は、プラントデータ取得部12からプラントデータを取得すると共に、所定の規則に基づいて複数のビット列に分割し、各ビット列を各画素の色彩情報としたカラー画像データへ変換する。   In S302, the image conversion unit 13 acquires plant data from the plant data acquisition unit 12, and divides the data into a plurality of bit strings based on a predetermined rule, and converts each bit string into color image data using color information of each pixel. To do.

S303において、カラー画像データ記録部14は、カラー画像データの画像信号をネットワーク接続された映像記録装置3に出力し、内部の記録媒体に記録させて処理を終了する。   In step S303, the color image data recording unit 14 outputs the image signal of the color image data to the video recording device 3 connected to the network, records the image signal on the internal recording medium, and ends the process.

図4は、プラントデータ変換装置1におけるデータ復元処理の具体例を示すフローチャートであり、図2の右側の処理に該当する。   FIG. 4 is a flowchart showing a specific example of the data restoration process in the plant data conversion apparatus 1, and corresponds to the process on the right side of FIG.

S401において、カラー画像データ読込部15は、インターフェース部17を介して取得される情報に基づき、利用者からの再生指示情報の入力の有無を判定する。ここで、再生指示情報が有りと判定された場合には、S402へ進む。これに対し、再生指示情報が無いと判定された場合には、入力されるまで待機状態が維持される。   In step S <b> 401, the color image data reading unit 15 determines the presence / absence of input of reproduction instruction information from the user based on information acquired via the interface unit 17. If it is determined that there is reproduction instruction information, the process proceeds to S402. On the other hand, if it is determined that there is no reproduction instruction information, the standby state is maintained until it is input.

S402において、カラー画像データ読込部15は、再生指示情報に含まれる指定日時などをキーとして映像記録装置3へ記録画像の再生指示を行うと共に、映像記録装置3から送信される画像信号をカラー画像データに変換しながら読込む。   In step S402, the color image data reading unit 15 instructs the video recording device 3 to play back the recorded image using the specified date and time included in the playback instruction information as a key, and outputs the image signal transmitted from the video recording device 3 as a color image. Read while converting to data.

S403において、プラントデータ復元部16は、読込まれたカラー画像データからプラントデータを復元する。   In S403, the plant data restoration unit 16 restores plant data from the read color image data.

S404において、プラントデータ復元部16は、復元されたプラントデータを所定の出力先へ出力し、処理を終了する。出力先の具体例としては、障害発生原因の解析装置(図示省略する)などが挙げられる。   In S404, the plant data restoration unit 16 outputs the restored plant data to a predetermined output destination, and ends the process. As a specific example of the output destination, there is a failure cause analysis device (not shown).

図5は、画像変換部13における処理の具体例を示すフローチャートである。   FIG. 5 is a flowchart illustrating a specific example of processing in the image conversion unit 13.

S501においては、プラントデータ取得部12からプラントデータを取得する。   In S <b> 501, plant data is acquired from the plant data acquisition unit 12.

S502においては、画素の最大行数を表す変数ROWmaxおよび最大列数を表す変数COLmaxを初期化すると共に、プラントデータの格納先となるメモリ領域の先頭アドレスを設定する。ここでは、最大行数(ROWmax)および最大列数(COLmax)には予め指定された解像度に応じた値を設定するものとする。例えば、解像度(横×縦)が1280×1024の場合には、最大行数(ROWmax)には1024、最大列数(COLmax)には1280を設定する。 In step S502, a variable ROW max indicating the maximum number of rows of pixels and a variable COL max indicating the maximum number of columns are initialized, and the start address of the memory area that stores the plant data is set. Here, it is assumed that the maximum number of rows (ROW max ) and the maximum number of columns (COL max ) are set to values according to the resolution designated in advance. For example, when the resolution (horizontal × vertical) is 1280 × 1024, 1024 is set for the maximum number of rows (ROW max ) and 1280 is set for the maximum number of columns (COL max ).

S503においては、画素の行数を表す変数ROWに1、列数を表す変数COLに1、RGB(赤緑青)の色彩区分を表す変数Colorに0を設定して初期化する。尚、色彩区分(Color)は、0が赤、1が緑、2が青を表すものとする。   In step S503, the variable ROW representing the number of rows of pixels is set to 1, the variable COL representing the number of columns is set to 1, and the variable Color representing the color classification of RGB (red, green and blue) is set to 0 for initialization. In the color classification (Color), 0 represents red, 1 represents green, and 2 represents blue.

S504においては、プラントデータ中の抽出対象となるビット列のアドレスを計算する。ここでは、下記の計算式に基づいて指定アドレスを算出する。   In S504, the address of the bit string to be extracted from the plant data is calculated. Here, the designated address is calculated based on the following calculation formula.

[指定アドレス]=[先頭アドレス]+((ROW−1)×1280+COL−1)×3+Color
S505においては、色彩区分(Color)の値を判定する。ここで、色彩区分(Color)の値が0と判定された場合はS506、1と判定された場合はS507、2と判定された場合にはS508へ進む。
[Specified Address] = [Start Address] + ((ROW-1) × 1280 + COL-1) × 3 + Color
In S505, the value of the color classification (Color) is determined. Here, if the value of the color classification (Color) is determined to be 0, S506 is determined, and if it is determined to be S507, the process proceeds to S508.

S506においては、S504で計算された指定アドレスのビット列(8ビット分)を行列(ROW,COL)で指定される画素の赤色の明度情報としてメモリ領域へセットする。   In S506, the bit string (eight bits) of the designated address calculated in S504 is set in the memory area as the red brightness information of the pixel designated by the matrix (ROW, COL).

S507においては、S506と同様に、指定アドレスのビット列を行列(ROW,COL)で指定される画素の緑色の明度情報としてメモリ領域へセットする。   In S507, similarly to S506, the bit string of the designated address is set in the memory area as the green brightness information of the pixel designated by the matrix (ROW, COL).

S508においては、S506と同様に、指定アドレスのビット列を行列(ROW,COL)で指定される画素の青色の明度情報としてメモリ領域へセットする。   In S508, as in S506, the bit string of the designated address is set in the memory area as the blue brightness information of the pixel designated by the matrix (ROW, COL).

S509においては、色彩区分(Color)を1加算する。   In S509, 1 is added to the color classification (Color).

S510においては、色彩区分(Color)が2以下か否かを判定する。ここで、色彩区分(Color)が2以下と判定された場合には、S504へ戻る。これに対し、色彩区分(Color)が2を超えると判定された場合は、S511へ進む。   In S510, it is determined whether the color classification (Color) is 2 or less. If it is determined that the color classification (Color) is 2 or less, the process returns to S504. On the other hand, if it is determined that the color classification (Color) exceeds 2, the process proceeds to S511.

S511においては、色彩区分(Color)に0を代入して初期化すると共に、列数(COL)を1加算する。   In S511, 0 is assigned to the color classification (Color) for initialization, and the number of columns (COL) is incremented by one.

S512においては、列数(COL)が最大列数(COLmax)以下か否かを判定する。ここで、列数(COL)が最大列数(COLmax)以下と判定された場合には、S504へ戻る。これに対し、列数(COL)が最大列数(COLmax)を超えると判定された場合は、S513へ進む。 In S512, it is determined whether or not the number of columns (COL) is equal to or less than the maximum number of columns (COL max ). If it is determined that the number of columns (COL) is equal to or less than the maximum number of columns (COL max ), the process returns to S504. On the other hand, if it is determined that the number of columns (COL) exceeds the maximum number of columns (COL max ), the process proceeds to S513.

S513においては、列数(COL)に1を代入して初期化すると共に、行数(ROW)を1加算する。   In S513, 1 is substituted into the number of columns (COL) for initialization, and 1 is added to the number of rows (ROW).

S514においては、行数(ROW)が最大行数(ROWmax)以下か否かを判定する。ここで、行数(ROW)が最大行数(ROWmax)以下と判定された場合には、S504へ戻る。これに対し、行数(ROW)が最大行数(ROWmax)を超えると判定された場合は、処理を終了する。 In S514, it is determined whether or not the number of rows (ROW) is equal to or less than the maximum number of rows (ROW max ). If it is determined that the number of rows (ROW) is equal to or less than the maximum number of rows (ROW max ), the process returns to S504. On the other hand, if it is determined that the number of rows (ROW) exceeds the maximum number of rows (ROW max ), the process is terminated.

図6は、プラントデータ復元部16における処理の具体例を示すフローチャートであり、図4の右側の処理に該当する。   FIG. 6 is a flowchart showing a specific example of processing in the plant data restoration unit 16 and corresponds to the processing on the right side of FIG.

S601においては、カラー画像データ読込部15で読込まれたカラー画像データを取得する。   In S601, the color image data read by the color image data reading unit 15 is acquired.

S602においては、画素の最大行数を表す変数ROWmaxおよび最大列数を表す変数COLmaxを初期化すると共に、プラントデータの格納先となるメモリ領域の先頭アドレスを設定する。ここでは、最大行数(ROWmax)および最大列数(COLmax)には予め指定された解像度に応じた値を設定するものとする。例えば、解像度(横×縦)が1280×1024の場合には、最大行数(ROWmax)には1024、最大列数(COLmax)には1280を設定する。 In step S602, a variable ROW max indicating the maximum number of rows of pixels and a variable COL max indicating the maximum number of columns are initialized, and the start address of the memory area that stores the plant data is set. Here, it is assumed that the maximum number of rows (ROW max ) and the maximum number of columns (COL max ) are set to values according to the resolution designated in advance. For example, when the resolution (horizontal × vertical) is 1280 × 1024, 1024 is set for the maximum number of rows (ROW max ) and 1280 is set for the maximum number of columns (COL max ).

S603においては、画素の行数を表す変数ROWに1、列数を表す変数COLに1、RGB(赤緑青)の色彩区分を表す変数Colorに0を設定して初期化する。尚、色彩区分(Color)は、0が赤、1が緑、2が青を表すものとする。   In step S603, the variable ROW representing the number of rows of pixels is set to 1, the variable COL representing the number of columns is set to 1, and the variable Color representing the color classification of RGB (red green blue) is set to 0 for initialization. In the color classification (Color), 0 represents red, 1 represents green, and 2 represents blue.

S604においては、復元後のプラントデータの格納先となるメモリ領域のアドレスを計算する。ここでは、下記の計算式に基づいて指定アドレスを算出する。   In S604, the address of the memory area that is the storage destination of the restored plant data is calculated. Here, the designated address is calculated based on the following calculation formula.

[指定アドレス]=[先頭アドレス]+((ROW−1)×1280+COL−1)×3+Color
S605においては、色彩区分(Color)の値を判定する。ここで、色彩区分(Color)の値が0と判定された場合はS606、1と判定された場合はS607、2と判定された場合はS608へ進む。
[Specified Address] = [Start Address] + ((ROW-1) × 1280 + COL-1) × 3 + Color
In S605, the value of the color classification (Color) is determined. Here, if the value of the color classification (Color) is determined to be 0, S606 is determined to be 1, and if it is determined to be S607, the process proceeds to S608.

S606においては、カラー画像データを解析すると共に、行列(ROW,COL)で指定される画素の赤色の明度情報に係るビット列(8ビット)をS604で計算された指定アドレスにセットする。   In S606, the color image data is analyzed, and the bit string (8 bits) related to the red brightness information of the pixel designated by the matrix (ROW, COL) is set to the designated address calculated in S604.

S607においては、S606と同様に、行列(ROW,COL)で指定される画素の緑色の明度情報に係るビット列(8ビット)を指定アドレスにセットする。   In S607, as in S606, a bit string (8 bits) related to the green brightness information of the pixel specified by the matrix (ROW, COL) is set to the specified address.

S608においては、S606と同様に、行列(ROW,COL)で指定される画素の青色の明度情報に係るビット列(8ビット)を指定アドレスにセットする。   In S608, as in S606, a bit string (8 bits) relating to the blue brightness information of the pixel specified by the matrix (ROW, COL) is set to the specified address.

S609においては、色彩区分(Color)を1加算する。   In S609, 1 is added to the color classification (Color).

S610においては、色彩区分(Color)が2以下か否かを判定する。ここで、色彩区分(Color)が2以下と判定された場合には、S604へ戻る。これに対し、色彩区分(Color)が2を超えると判定された場合は、S611へ進む。   In S610, it is determined whether or not the color classification (Color) is 2 or less. If it is determined that the color classification (Color) is 2 or less, the process returns to S604. On the other hand, if it is determined that the color classification (Color) exceeds 2, the process proceeds to S611.

S611においては、色彩区分(Color)に0を代入して初期化すると共に、列数(COL)を1加算する。   In step S611, initialization is performed by assigning 0 to the color classification (Color), and 1 is added to the number of columns (COL).

S612においては、列数(COL)が最大列数(COLmax)以下か否かを判定する。ここで、列数(COL)が最大列数(COLmax)以下と判定された場合には、S604へ戻る。これに対し、列数(COL)が最大列数(COLmax)を超えると判定された場合は、S613へ進む。 In S612, it is determined whether or not the number of columns (COL) is equal to or less than the maximum number of columns (COL max ). If it is determined that the number of columns (COL) is equal to or less than the maximum number of columns (COL max ), the process returns to S604. On the other hand, if it is determined that the number of columns (COL) exceeds the maximum number of columns (COL max ), the process proceeds to S613.

S613においては、列数(COL)に1を代入して初期化すると共に、行数(ROW)を1加算する。   In S613, the column number (COL) is initialized by substituting 1 and the row number (ROW) is incremented by 1.

S614においては、行数(ROW)が最大行数(ROWmax)以下か否かを判定する。ここで、行数(ROW)が最大行数(ROWmax)以下と判定された場合には、S604へ戻る。これに対し、行数(ROW)が最大行数(ROWmax)を超えると判定された場合は、処理を終了する。 In S614, it is determined whether or not the number of rows (ROW) is equal to or less than the maximum number of rows (ROW max ). If it is determined that the number of rows (ROW) is equal to or less than the maximum number of rows (ROW max ), the process returns to S604. On the other hand, when it is determined that the number of rows (ROW) exceeds the maximum number of rows (ROW max ), the process is terminated.

上記のようにプラントデータ変換装置1を構成することにより、以下のような効果が得られる。   By configuring the plant data conversion apparatus 1 as described above, the following effects can be obtained.

(1)プラントデータを共通の画像形式で保存できる。 (1) Plant data can be saved in a common image format.

例えば、市販の映像記録装置3が対応している画像形式でプラントデータを保存することが可能となる。また、画像データの保存には、様々な圧縮技術が考案・実装されているので、保存の際のデータ量を大幅に削減することができる。更に、市販の映像記録装置3における記録周期は、プラント制御に使われる制御周期と比べて十分に高速であり、データの一貫性を保つことも可能である。   For example, plant data can be stored in an image format supported by a commercially available video recording apparatus 3. Also, since various compression techniques have been devised and implemented for storing image data, the amount of data at the time of storage can be greatly reduced. Furthermore, the recording cycle in the commercially available video recording apparatus 3 is sufficiently faster than the control cycle used for plant control, and it is possible to maintain data consistency.

(2)保存したデータの再利用を容易に行える。 (2) The stored data can be easily reused.

例えば、出荷後の制御システムで障害が発生した場合、映像記録装置3に録画されている障害発生時のカラー画像データの再生指示を行うことでプラントデータを復元し、再現テストを実施することが可能となる。また、障害発生時のプラントデータを入力データとして用いることで、障害に対して頑強なシステムを構築できる。   For example, when a failure occurs in the control system after shipment, the plant data is restored by instructing the reproduction of the color image data recorded in the video recording device 3 at the time of the failure, and the reproduction test is performed. It becomes possible. Further, by using the plant data at the time of the failure as input data, a system that is robust against the failure can be constructed.

(3)開発環境でのパララン試験を効率的に行える。 (3) The parallax test can be performed efficiently in the development environment.

既に稼動中のプラント制御システムを更新する場合には、開発環境で開発・試験を行った後、現地にてプラントデータを両方のシステムに入力し、同じ動作をすることを確認する試験(パララン試験)を行うのが一般的である。しかし、本発明を適用すれば、現地にてプラントデータを録画し、開発環境にて再生すれば良いため、現地での作業時間を大幅に削減可能となる。   When updating a plant control system that is already in operation, after performing development and testing in the development environment, the plant data is input to both systems on-site to confirm that the same operation is performed (Parallan test). ) Is generally performed. However, if the present invention is applied, it is only necessary to record the plant data at the site and reproduce it in the development environment, so that the work time at the site can be greatly reduced.

尚、本発明は上記実施形態そのままに限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で構成要素を変形して具体化できる。また、上記実施形態に開示されている複数の構成要素の適宜な組み合わせにより、種々の発明を形成できる。例えば、実施形態に示される全構成要素から幾つかの構成要素を削除してもよい。   Note that the present invention is not limited to the above-described embodiment as it is, and can be embodied by modifying the constituent elements without departing from the scope of the invention in the implementation stage. In addition, various inventions can be formed by appropriately combining a plurality of constituent elements disclosed in the embodiment. For example, some components may be deleted from all the components shown in the embodiment.

具体的には、上記実施形態においては、プラントデータを画像データのRGB値として配置したが、RGBカラーモデル以外の形式によって画像化しても良い。例えば、CMYK(Cyan-Magenta-Yellow-blacK)カラーモデルも利用可能である。各画像形式の一画素当たりの色彩情報に要するビット数を単位としてプラントデータを複数に分割することで、上記と同様に画像化でき、プラントデータのデータ量などを考慮して任意に設計変更可能である。   Specifically, in the above embodiment, the plant data is arranged as the RGB values of the image data, but may be imaged in a format other than the RGB color model. For example, a CMYK (Cyan-Magenta-Yellow-blacK) color model can also be used. By dividing the plant data into multiple units in units of the number of bits required for color information per pixel for each image format, it can be imaged in the same way as above, and the design can be arbitrarily changed in consideration of the amount of plant data. It is.

本発明の一実施形態に係るプラントデータ変換装置1の全体構成例を示すブロック図。The block diagram which shows the example of whole structure of the plant data converter 1 which concerns on one Embodiment of this invention. 本発明の一実施形態に係るプラントデータ変換装置1における画像変換処理およびデータ復元処理を具体的に説明する図。The figure which demonstrates concretely the image conversion process and data restoration process in the plant data converter 1 which concerns on one Embodiment of this invention. 本発明の一実施形態に係るプラントデータ変換装置1における画像変換処理の具体例を示すフローチャート。The flowchart which shows the specific example of the image conversion process in the plant data converter 1 which concerns on one Embodiment of this invention. 本発明の一実施形態に係るプラントデータ変換装置1におけるデータ復元処理の具体例を示すフローチャート。The flowchart which shows the specific example of the data restoration process in the plant data conversion apparatus 1 which concerns on one Embodiment of this invention. 画像変換部13における処理の具体例を示すフローチャート。10 is a flowchart showing a specific example of processing in the image conversion unit 13. プラントデータ復元部16における処理の具体例を示すフローチャート。The flowchart which shows the specific example of the process in the plant data decompression | restoration part 16. FIG.

符号の説明Explanation of symbols

1…プラントデータ変換装置、
2…プラントシステム、
3…映像記録装置、
11…制御部、
12…プラントデータ取得部、
13…画像変換部、
14…カラー画像データ記録部、
15…カラー画像データ読込部、
16…プラントデータ復元部、
17…インターフェース部。
1 ... Plant data conversion device,
2 ... Plant system,
3 ... Video recording device,
11 ... control unit,
12 ... Plant data acquisition unit,
13: Image conversion unit,
14: Color image data recording unit,
15 ... Color image data reading section,
16 ... Plant data restoration part,
17: Interface section.

Claims (5)

プラントの設備機器から出力されるプラントデータを所定の周期で取得するプラントデータ取得部と、
前記取得されたプラントデータを所定の規則に基づいて複数のビット列に分割し、前記ビット列を画素毎の色彩情報としたカラー画像データへ変換する画像変換部と、
前記変換されたカラー画像データを記録装置へ記録するカラー画像データ記録部と、
前記記録されたカラー画像データを読込むカラー画像データ読込部と、
前記読込まれたカラー画像データを前記プラントデータへ復元するプラントデータ復元部と、
を有することを特徴とするプラントデータ変換装置。
A plant data acquisition unit for acquiring plant data output from plant equipment at a predetermined cycle;
An image conversion unit that divides the acquired plant data into a plurality of bit strings based on a predetermined rule, and converts the bit strings into color image data that is color information for each pixel;
A color image data recording unit for recording the converted color image data in a recording device;
A color image data reading unit for reading the recorded color image data;
A plant data restoration unit for restoring the read color image data to the plant data;
A plant data converter characterized by comprising:
前記画像変換部は、予め定められた画像形式の一画素当たりの色彩情報に要するビット数を単位として前記プラントデータを複数に分割し、前記カラー画像データへの変換を行うことを特徴とする請求項1記載のプラントデータ変換装置。   The image conversion unit divides the plant data into a plurality of units in units of the number of bits required for color information per pixel in a predetermined image format, and performs conversion to the color image data. Item 1. The plant data conversion device according to Item 1. 前記色彩情報がRGBであることを特徴とする請求項1または請求項2記載のプラントデータ変換装置。 The plant data conversion apparatus according to claim 1, wherein the color information is RGB. プラントの設備機器から出力されるプラントデータを所定の周期で取得するプラントデータ取得ステップと、
前記取得されたプラントデータを所定の規則に基づいて複数のビット列に分割し、前記ビット列を画素毎の色彩情報とするカラー画像データへ変換する画像変換ステップと、
前記変換されたカラー画像データを記録装置へ記録するカラー画像データ記録ステップと、
前記記録されたカラー画像データを読込むカラー画像データ読込ステップと、
前記読込まれたカラー画像データを前記プラントデータへ復元するプラントデータ復元ステップと、
を有することを特徴とするプラントデータ変換方法。
A plant data acquisition step for acquiring plant data output from the plant equipment at a predetermined cycle;
An image conversion step of dividing the acquired plant data into a plurality of bit strings based on a predetermined rule, and converting the bit strings into color image data as color information for each pixel;
A color image data recording step for recording the converted color image data in a recording device;
A color image data reading step for reading the recorded color image data;
A plant data restoration step of restoring the read color image data to the plant data;
A plant data conversion method comprising:
前記画像変換ステップにおいては、予め定められた画像形式の一画素当たりの色彩情報に要するビット数を単位として前記プラントデータを複数に分割し、前記カラー画像データへの変換を行うことを特徴とする請求項4記載のプラントデータ変換方法。   In the image conversion step, the plant data is divided into a plurality of units in units of the number of bits required for color information per pixel in a predetermined image format, and the conversion to the color image data is performed. The plant data conversion method according to claim 4.
JP2008205942A 2008-08-08 2008-08-08 Plant data conversion apparatus and plant data conversion method Expired - Fee Related JP4585586B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008205942A JP4585586B2 (en) 2008-08-08 2008-08-08 Plant data conversion apparatus and plant data conversion method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008205942A JP4585586B2 (en) 2008-08-08 2008-08-08 Plant data conversion apparatus and plant data conversion method

Publications (2)

Publication Number Publication Date
JP2010044433A JP2010044433A (en) 2010-02-25
JP4585586B2 true JP4585586B2 (en) 2010-11-24

Family

ID=42015791

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008205942A Expired - Fee Related JP4585586B2 (en) 2008-08-08 2008-08-08 Plant data conversion apparatus and plant data conversion method

Country Status (1)

Country Link
JP (1) JP4585586B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3044647B2 (en) * 1994-11-16 2000-05-22 株式会社山武 Measurement value display method and measurement value display device
JPH11327634A (en) * 1998-05-15 1999-11-26 Omron Corp Equipment logging device

Also Published As

Publication number Publication date
JP2010044433A (en) 2010-02-25

Similar Documents

Publication Publication Date Title
CN102833457B (en) Image processing equipment and image processing method
JP3551181B2 (en) Recording device and recording method
JP2019114322A (en) Reproducing device and reproducing method
JP2001203971A (en) Image data processing device
JP4585586B2 (en) Plant data conversion apparatus and plant data conversion method
US7248775B2 (en) Image recording apparatus
JP5395621B2 (en) Image generation method and image reproduction method
JP4122456B2 (en) Image data compression method
JPH11327634A (en) Equipment logging device
JP5627320B2 (en) Movie storage device and movie storage system
JP4334940B2 (en) Data file compression method
JP4529874B2 (en) Recording / reproducing apparatus, recording / reproducing method, recording apparatus, recording method, reproducing apparatus, reproducing method, and program
JP3153602B2 (en) Image filing method and apparatus
KR101652095B1 (en) Realtime remote monitoring and playing system using digital video recoder, and method thereof
JP2008294910A (en) Video playback device
KR100596866B1 (en) Disc recorder with network connection
JP4464344B2 (en) Recording device
JP3342717B2 (en) Image filing method and apparatus
JP5093395B2 (en) Decoding device and decoding method
JP2007267349A (en) Divided image processing system, solid-state imaging device and reproducing device used therefor, and program
JP3311674B2 (en) Still image program editing method and apparatus
JPH08123949A (en) Method and device for filing picture, method and device for reproducing picture
JP2006019804A (en) Video editing apparatus
JPH10191219A (en) Nonlinear editing apparatus and editing method
KR20060017387A (en) Video display method of security system

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100519

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100525

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100609

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20100810

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100903

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20130910

Year of fee payment: 3

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees