JPH04165720A - Data processing unit - Google Patents

Data processing unit

Info

Publication number
JPH04165720A
JPH04165720A JP29131090A JP29131090A JPH04165720A JP H04165720 A JPH04165720 A JP H04165720A JP 29131090 A JP29131090 A JP 29131090A JP 29131090 A JP29131090 A JP 29131090A JP H04165720 A JPH04165720 A JP H04165720A
Authority
JP
Japan
Prior art keywords
data
process data
value
length encoding
plant
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
JP29131090A
Other languages
Japanese (ja)
Inventor
Daisuke Yasuda
大輔 安田
Teruyoshi Nakamura
中村 輝義
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 JP29131090A priority Critical patent/JPH04165720A/en
Publication of JPH04165720A publication Critical patent/JPH04165720A/en
Pending legal-status Critical Current

Links

Landscapes

  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

PURPOSE:To decode all process data by providing a display means which compresses a bit width of a process data sampled from a process, storing and decoding it and displaying the result to the processing unit. CONSTITUTION:The processing unit is provided with an electronic computer provided with a compression means 9 compressing a bit width of a process data, a storage device 4 storing a compressed process data, a decoding means 11 reading and decoding the compressed process data from the storage device 4, and display means 13,5 displaying engineering information represented by the decoded process data. Thus, it is possible to store all data for each sampling from a process in a plant for a long period and the operating state of the process in the past is grasped in an excellent way.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、プロセス管理の技術に関し、特に、プラント
におけるプロセスデータ記録の技術に関するものである
DETAILED DESCRIPTION OF THE INVENTION [Industrial Field of Application] The present invention relates to a process management technique, and particularly to a process data recording technique in a plant.

[従来の技術] たとえば、プラントにおけるプロセス管理においては、
プロセスデータをサンプリングし記録しておくことが一
般に行われている。
[Conventional technology] For example, in process management in a plant,
It is common practice to sample and record process data.

しかし、記憶容量には制限があるため、長期にわたるプ
ロセスデータを記録する場合には、効率良く記憶容量を
用いる必要がある。
However, since storage capacity is limited, it is necessary to use storage capacity efficiently when recording process data over a long period of time.

このような、プロセスデータを効率良く記録する第1の
従来技術としては、特開昭62−254278号公報に
記載の技術が知られている。
As a first conventional technique for efficiently recording such process data, a technique described in Japanese Patent Laid-Open No. 62-254278 is known.

この技術は、プロセスデータを逐次処理し、以下のよう
にプロセスデータを記録している。
This technology processes process data sequentially and records the process data as follows.

すなわち、最新の第1の期間は、サンプリング毎にプロ
セスデータを記憶する。
That is, in the latest first period, process data is stored for each sampling.

そして、それより過去に濶った第2の期間は、第1の期
間と同一の時間幅の区間で区切り、その区間毎にその区
間内に含まれる複数のサンプリング毎のプロセスデータ
から最大値、最小値、平均値などの代表値を抽出して記
憶する。
Then, the second period, which occurred in the past, is divided into sections with the same time width as the first period, and for each section, the maximum value is calculated from the process data for each of the plurality of samplings included in that section. Extract and store representative values such as minimum value and average value.

また、さらに過去に濶った第3の期間は、第2の期間と
同一の時間幅の区間で区切り、その区間毎にその区間内
に含まれる複数の前記代表値から最大値、最小値、平均
値などの代表値を抽出して記憶する。
Furthermore, the third period extending further in the past is divided into sections with the same time width as the second period, and for each section, the maximum value, minimum value, Extract and store representative values such as average values.

同様にして順次過去に清ってプロセスデータの代表値を
記憶している。
Similarly, representative values of process data are sequentially stored in the past.

また、プロセスデータ記録の第2の従来技術としては、
特開昭62−17879号公報に記載の技術が知られて
いる。
In addition, as a second conventional technique for recording process data,
A technique described in Japanese Unexamined Patent Publication No. 17879/1987 is known.

この技術は、プロセスデータを以下の様に記憶している
This technology stores process data as follows.

すなわち、共通的項目データ用記憶装置と個別データ用
記憶装置の2種類の記憶装置を具備したデータ記憶装置
において、入力データを共通的項目データとそれ以外の
データに分難し、共通的項目データが前回のサンプリン
グ時のデータと不一致な場合、そのデータをサンプルポ
イントデータと対にして共通部データ用記憶装置へ記憶
し、それ以外のデータは全てサンプルポイントデータと
対にして個別データ用記憶装置へ記憶している。
That is, in a data storage device equipped with two types of storage devices, a storage device for common item data and a storage device for individual data, input data is divided into common item data and other data, and the common item data is If the data does not match the data from the previous sampling, that data is paired with the sample point data and stored in the common data storage device, and all other data is paired with the sample point data and stored in the individual data storage device. I remember.

[発明が解決しようとする課題] 前記、第1の従来技術によれば、過去に濶るほど時間当
りに記憶するサンプリングデータを少なくすることによ
り、データ量を削減しているため、動作状態を監視・解
析する場合、過去に泗るほど時間当りの復元データが少
くなくなり、プロセスの動作状態の時間的な変化を正し
く把握することができないという問題があった。
[Problems to be Solved by the Invention] According to the first conventional technique, the amount of data is reduced by reducing the amount of sampling data stored per unit of time as the amount of data increases in the past. When monitoring and analyzing, there is a problem in that the more data is collected in the past, the less data is restored per hour, making it impossible to accurately grasp temporal changes in the operating state of a process.

また、前記第2の従来技術によれば、計測データ自体の
記憶の効率化を達成することはできず。
Further, according to the second conventional technique, it is not possible to improve the efficiency of storing the measurement data itself.

また圧縮の対象である共通的データに関してみても効果
が出るのは年月日時分位までのオーダーである為、記憶
容量の効率的使用は充分ではなかった。
Furthermore, when looking at common data that is the target of compression, it is only effective on the order of the year, month, day, hour, and minute, so the efficient use of storage capacity is not sufficient.

そこで、本発明は、プロセスデータの全てを復元でき、
かつ、記憶容量を充分に効率的に使用することのできる
データ処理装置を提供することを目的とする。
Therefore, the present invention can restore all process data,
Another object of the present invention is to provide a data processing device that can use storage capacity sufficiently and efficiently.

[課題を解決するための手段] 前記目的達成のために本発明は、プロセスからサンプリ
ングしたプロセスデータのビット幅を圧縮する圧縮手段
を備えた電子計算機と、電子計算機がビット幅を圧縮し
たプロセスデータを記憶する記憶装置と、記憶装置より
圧縮されたプロセスデータを読比し復元する復元手段と
、復元したプロセスデータの示す工学値情報を表示する
表示手段とを有することを特徴とするデータ処理装置を
提供する。
[Means for Solving the Problems] To achieve the above object, the present invention provides an electronic computer equipped with a compression means for compressing the bit width of process data sampled from a process, and a computer that compresses the bit width of process data sampled from a process. A data processing device characterized by having a storage device for storing, a restoring means for comparing and restoring process data compressed from the storage device, and a display means for displaying engineering value information indicated by the restored process data. I will provide a.

なお、このデータ処理装置において、前記圧縮手段は、
順次、プロセスデータより前プロセスデータに対する差
分値を算出する算出手段と、非等長符号化する可変長符
号化手段とより構成するようにしても良い。
Note that in this data processing device, the compression means:
It may be configured to include a calculation means that sequentially calculates a difference value with respect to the previous process data from the process data, and a variable length encoding means that performs non-equal length encoding.

また、この場合、前記圧縮手段に、前記可変長符号化手
段と併せて、算出手段が算出したプロセスデータの差分
値をランレングス符号化するランレングス符号化手段を
備え、前記可変長符号化手段にランレングス符号化の対
象とならなかったデータを非等長符号化の対象とする機
能を備えるのが望ましい。
In this case, the compression means includes run-length encoding means for run-length encoding the difference value of the process data calculated by the calculation means in addition to the variable-length encoding means, and the variable-length encoding means It is desirable to have a function for subjecting data that has not been subjected to run-length encoding to being subjected to non-uniform length encoding.

また、本データ処理装置において、前記電子計算機に、
サンプリングしたプロセスデータより求めるべき工学値
を算出するのに必要な、サンプリング時のプロセスの環
境より定まる補正情報を、データの内に含むように、圧
縮手段が圧縮するプロセスデータを正規化する正規化手
段を備えるようにしても良い。
Further, in the present data processing device, the electronic computer includes:
Normalization that normalizes the process data compressed by the compression means so that the data includes correction information determined by the process environment at the time of sampling, which is necessary to calculate the engineering value to be obtained from the sampled process data. A means may also be provided.

また本発明は、前記目的達成のために、プラントよりプ
ロセスデータをサンプリングして入力し、プラントへ制
御情報を出力するプロセス入出力装置と、プロセス入出
力装置がサンプリングしたプロセスデータを処理する前
記データ処理装置と、プロセス入出力装置よりのプロセ
スデータを用いて、プラントの制御内容を決定し、プロ
セス入出力装置を介してプラントをM御するプラント制
御装置と、を有することを特徴とするプラント管理制御
システムを提供する。
In order to achieve the above object, the present invention also provides a process input/output device that samples and inputs process data from a plant and outputs control information to the plant, and a process input/output device that processes the sampled process data. Plant management characterized by having a processing device and a plant control device that determines control details of the plant using process data from the process input/output device and controls the plant via the process input/output device. Provide control system.

[作 用] 本発明に係るデータ処理装置によれば、電子計算機が圧
縮手段により、プロセスからサンプリングしたプロセス
データのビット幅を圧縮し、記憶装置はビット幅を圧縮
したプロセスデータを記憶する。
[Function] According to the data processing device according to the present invention, the computer compresses the bit width of the process data sampled from the process using the compression means, and the storage device stores the process data with the bit width compressed.

また、前記圧縮手段において、前記算出手段と可変長符
号化手段を備え、差分値を非等長符号化するようにすれ
ば高い圧縮率を得ることができる。
Furthermore, if the compression means includes the calculation means and variable-length encoding means, and the difference value is encoded with non-equal length encoding, a high compression ratio can be obtained.

また、この場合、さらに、ランレングス符号化手段を備
え、ランレングス符号化を併用すれば、より高い圧縮率
を得ることができる。
Further, in this case, if a run-length encoding means is further provided and run-length encoding is used in combination, a higher compression ratio can be obtained.

ま赳、本データ処理装置において、前記電子計算機に正
規化手段を備え、サンプリングしたプロセスデータより
求めるべき工学値を算出するのに必要な、サンプリング
時のプロセスの環境より定まる補正情報を、データの内
に含むように、圧縮手段が圧縮するプロセスデータを正
規化すれば。
In addition, in this data processing device, the electronic computer is equipped with a normalization means, and correction information determined by the process environment at the time of sampling, which is necessary for calculating the engineering value to be obtained from the sampled process data, is applied to the data. If the compression means compresses the process data to include within.

補正情報を別途記憶する必要がなく、記憶装置の記憶容
量を効率よく使用できる。
There is no need to separately store correction information, and the storage capacity of the storage device can be used efficiently.

また本発明に係るプラント管理制御システムによれば、
°プロセス入出力装置サンプリングしたプロセスデータ
を、前記データ処理装置はプラント管理のために圧縮し
て記憶し、一方、プラント制御装置は、このプロセスデ
ータを用いて、プラントの制御内容を決定し、プロセス
入出力装置を介してプラントを制御する。
Further, according to the plant management control system according to the present invention,
°Process input/output device The data processing device compresses and stores the sampled process data for plant management, while the plant control device uses this process data to determine the content of plant control and process data. Control the plant via input/output devices.

したがって、長期間にわたりプラントにおける。Therefore, in the plant for a long time.

プロセスのサンプリング毎の全てのデータを保存可能で
あり、過去におけるプロセスの動作状態を良好に把握す
ることができる。
It is possible to save all the data for each sampling of the process, and it is possible to clearly understand the operating state of the process in the past.

[実施例] 以下1本発明に係るデータ処理装置の一実施例をプラン
ト管理制御装置への適用を例にとり説明する。
[Embodiment] An embodiment of the data processing device according to the present invention will be described below, taking as an example the application to a plant management control device.

第1図は1本実施例に係るデータ処理装置の構成を示す
FIG. 1 shows the configuration of a data processing device according to one embodiment.

図中、1は管理対象のプロセス、2はプロセス入出力装
置、3は電子計算機、4はプロセスデータベース10を
記憶する記憶装置、5はCRT表示装置である。
In the figure, 1 is a process to be managed, 2 is a process input/output device, 3 is a computer, 4 is a storage device that stores the process database 10, and 5 is a CRT display device.

また、電子計算機3は、プロセスデータ入カフ、A/D
 (アナログ/ディジタル)変換値正規化8、データ圧
縮9、データ復元11.工学値変換12゜プロセスデー
タ表示13を有し、また、必要に応じて演算14を備え
る。
In addition, the electronic computer 3 includes a process data input cuff, an A/D
(Analog/digital) Converted value normalization 8, data compression 9, data restoration 11. It has an engineering value conversion 12° process data display 13, and a calculation 14 as required.

また、プロセス入出力装置2は、A/D変換器6を備え
ている。
Further, the process input/output device 2 includes an A/D converter 6.

15はプロセス入出力装置2を介してプラントのプロセ
スの進行等を制御するプラント制御装置である。
15 is a plant control device that controls the progress of plant processes through the process input/output device 2;

以下、本実施例に係るデータ処理装置の動作について説
明する。
The operation of the data processing apparatus according to this embodiment will be described below.

まず、記憶装置4のプロセスデータベース10を作成す
る動作について説明する。
First, the operation of creating the process database 10 of the storage device 4 will be explained.

プロセス1の圧力、温度などのプロセスデータは、プロ
セス入出力装置2のA/D変換器6を通して、生のA/
D変換値として、電子計算機3内のプロセスデータ入カ
フに入力される。
Process data such as pressure and temperature of the process 1 are sent to the raw A/D converter 6 of the process input/output device 2.
The D-converted value is input to the process data input cuff in the computer 3.

プロセスデータ入カフは、たとえば、第2図のフローチ
ャートに示すタイプに応じて、生のA/D変換値を工学
値yに変換して、第3図に示すように工学値の時系列デ
ータとして、A/D変換値正規化8へ入力する。
The process data input cuff, for example, converts raw A/D conversion values into engineering values y according to the type shown in the flowchart in Figure 2, and converts them into engineering value time series data as shown in Figure 3. , input to A/D conversion value normalization 8.

ここで、第2図に用いた符号の内容を示す。Here, the contents of the symbols used in FIG. 2 are shown.

■=電圧値 G: A/D変換器ゲイン(定数) g : A/D変換器ゲイン補正係数 X:生のA/D変換値(12ビツトの固定小数点形式) %式% : a、b:各計測点毎の変換係数(定数)W:流量変換補
正係数 f:サーモカップルタイプ毎の電圧−温度変換関数(折
線近似する) Yo:サーモカップル冷接点補正電圧 yi:工学値の時系列データ(32ビツトの浮動小数点
形式) 工学値としては、たとえば、リニア変換タイプとしては
通常の電圧、電流値等があり、流量変換タイプとしては
差圧流量計よりの電圧値を生のA/D変換値として求め
る流量(rrr/s)等がある。
■ = Voltage value G: A/D converter gain (constant) g: A/D converter gain correction coefficient X: Raw A/D conversion value (12-bit fixed-point format) % formula %: a, b: Conversion coefficient (constant) for each measurement point W: Flow rate conversion correction coefficient f: Voltage-temperature conversion function for each thermocouple type (approximate to a broken line) Yo: Thermocouple cold junction correction voltage yi: Time series data of engineering values ( (32-bit floating point format) Engineering values include, for example, linear conversion types such as normal voltage and current values, and flow rate conversion types that convert voltage values from differential pressure flowmeters into raw A/D conversion values. There is a flow rate (rrr/s), etc., which is determined as

また、指数変換タイプとしてはSRMレベル値を生のA
/D変換値として求まるC/S等があり、サーモカップ
ルタイプとして熱電対の起電力を生のA/D変換値とし
て求める温度(”C)等がある。
In addition, as an exponential conversion type, the SRM level value can be converted to raw A
There is C/S, which is obtained as a /D conversion value, and temperature ("C), which is obtained as a raw A/D conversion value from the electromotive force of a thermocouple, as a thermocouple type.

プロセスデータ入カフより、工学値の時系列データyi
を受は取ったA/D変換値正規化8は、第4図のフロー
チャートに示すように工学値をA/D変換値正規化値X
に変換して、第5図のようなA/D変換値正規化値の時
系列データXiとして、データ圧縮9へ入力する。なお
、負数は2の補数にて表現する。
From the process data input cuff, engineering value time series data yi
The received A/D conversion value normalization 8 transforms the engineering value into the A/D conversion value normalization value X as shown in the flowchart of FIG.
The converted data is converted into A/D conversion value normalized value time series data Xi as shown in FIG. 5, and inputted to the data compression unit 9. Note that negative numbers are expressed as two's complement numbers.

正規化は、データベース10のデータを利用する際に、
工学値変換12でサンプリング毎に変る補正項g、x0
.w、v、をそれぞれ1.0,1゜voと定数として扱
えるようにするため、事前に記憶データであるA/D変
換値正規化値X内に取り込んでおくものである。
Normalization is performed when using data in the database 10.
Correction term g, x0 that changes every sampling in engineering value conversion 12
.. In order to be able to handle w and v as constants of 1.0 and 1°vo, respectively, they are incorporated in advance into the A/D conversion value normalized value X, which is stored data.

補正項は、工学値を算出するのに必要な、サンプリング
時のプロセスの環境より変化する補正情報であり、たと
えば、工学値が流量であり生のA/D変換値が差圧を示
す場合は、サンプリング時(測定時)の温度や圧力等に
より定まる流量補正がある6 また、工学値が温度であり、生のA/D変換値が熱電対
の起電力である場合は熱接点と冷接点の温度差より定ま
る冷接点補正がある。
The correction term is correction information that changes depending on the process environment at the time of sampling, which is necessary to calculate the engineering value. For example, if the engineering value is the flow rate and the raw A/D conversion value indicates the differential pressure, , there is a flow rate correction determined by the temperature, pressure, etc. at the time of sampling (measurement) 6 Also, if the engineering value is temperature and the raw A/D conversion value is the electromotive force of the thermocouple, the hot junction and cold junction There is a cold junction correction determined by the temperature difference.

ここで、第4図に用いた符号の意味を示す。Here, the meanings of the symbols used in FIG. 4 are shown.

F:サーモカップルタイプ毎の温度−電圧変換関数(折
線近似する) vo:サーモカップル冷接点補正電圧標準値(定数) x:A/D変換値正規化値 xi:A/D変換値正規化値の時系列データ(12ビツ
トの固定小数点形式) Δxi:A/D変換値正規化値の前回値からの差分の時
系列データ(8ビツト、5ビ ツト、2ビツトの固定小数点形式) また、第5図の括弧内にA/D変換値正規化値の時系列
データXiの例を示す。
F: Temperature-voltage conversion function for each thermocouple type (approximate to a broken line) vo: Thermocouple cold junction correction voltage standard value (constant) x: A/D conversion value normalized value xi: A/D conversion value normalization value (12-bit fixed-point format) Δxi: Time-series data of the difference from the previous value of the A/D conversion value normalized value (8-bit, 5-bit, 2-bit fixed-point format) An example of time series data Xi of A/D conversion value normalized values is shown in parentheses in the figure.

A/D変換値正規化8より、A/D変換値正規化値の時
系列データXiを受は取ったデータ圧縮器9は、第7図
のフローチャートに示すようにA/D変換値正規化値の
時系列データを、圧縮して。
The data compressor 9 receives the time series data Xi of the A/D converted value normalized values from the A/D converted value normalization 8, and performs the A/D converted value normalization as shown in the flowchart of FIG. Compress the value time series data.

記憶装置4のプロセスデータベース10に記憶する。It is stored in the process database 10 of the storage device 4.

第6図に、第5図のA/D変換値正規化値の時系列デー
タXiを圧縮した例を示す。
FIG. 6 shows an example in which the time series data Xi of the A/D conversion value normalized values shown in FIG. 5 is compressed.

以下、この圧縮処理(第7図)を説明する。This compression process (FIG. 7) will be explained below.

第7図において、まず、ブロック717にて、最初のA
/D変換値正規化値は、そのまま12ビツト幅の整数値
に、その12ビツト幅を示すフラグOoを付加して記憶
する。
In FIG. 7, first, in block 717, the first A
The /D conversion value normalized value is stored as a 12-bit wide integer value with a flag Oo indicating the 12-bit width added thereto.

そして、2番目以降のA/D変換値正規化値は、ブロッ
ク702により前回値との差分Δxiを計算しブロック
711.712.713によりその差分Δxiを表すこ
とができる2ビツト幅、5ビット幅、8ビツト幅のうち
のいずれかのビット幅を判定し、ブロック714.71
5.716により、それぞれその整数値に、そのビット
幅を示すフラグ、11.10.01を付加して記憶する
The second and subsequent A/D conversion value normalized values are 2-bit width and 5-bit width that can calculate the difference Δxi from the previous value in block 702 and represent the difference Δxi in blocks 711, 712, and 713. , 8-bit width, and block 714.71
5.716, a flag 11.10.01 indicating the bit width is added to each integer value and stored.

また、もし、2番目以降のA/D変換値正規化値が、8
ビツト幅より大きくなる時は、ブロック717により最
初と同様にする。ビット幅を2ビツト幅、5ビツト幅、
8ビツト幅に限ったのは、前記フラグのビット数を2ビ
ツトに抑えるためである。
Also, if the second and subsequent A/D conversion value normalized values are 8
If it becomes larger than the bit width, block 717 is used to perform the same operation as the first time. Change the bit width to 2 bits, 5 bits,
The reason why the width is limited to 8 bits is to keep the number of bits of the flag to 2 bits.

また、ブロック703により差分Δxi=oと判定した
時は、その連続発生回数Qをブロック6でカウントし、
ブロック704,707でその回数を判定し、1〜2回
ならば、ブロック5により2ビツト幅として前記ブロッ
ク714と同様に記憶する。さらに圧縮しても記憶容量
を小さくする効果がないからである。
Further, when it is determined in block 703 that the difference Δxi=o, the number of consecutive occurrences Q is counted in block 6,
Blocks 704 and 707 determine the number of times, and if it is 1 or 2 times, block 5 stores it as a 2-bit width in the same manner as block 714. This is because even further compression has no effect on reducing storage capacity.

差分Δxi=oの連続発生回数Ωが3〜15回ならば、
ブロック8により2ビツト幅フラグ11にさらに連続発
生回数Ωと、それを示すフラグ10(ブロック714で
はブロック711によりΔxi=−2を含まないためΔ
xiとして10を使用しないので重複使用とはならない
、なおΔx i = 2は5ビツトで00101と、−
3は11101と表現する。すなわち、負数はMSBが
1と正数はMSBがOとなるように表現し正負を区別す
る。)を付加して記憶する。Qは4ビツト幅で表わすも
のとする。
If the number of consecutive occurrences Ω of the difference Δxi=o is 3 to 15, then
Block 8 further sets the 2-bit width flag 11 to the number of consecutive occurrences Ω, and a flag 10 indicating it (in block 714, block 711 adds Δxi=-2 because it does not include
Since 10 is not used as xi, there is no duplicate use. Note that Δx i = 2 is 5 bits and is 00101, -
3 is expressed as 11101. That is, negative numbers are expressed so that the MSB is 1, and positive numbers are expressed so that the MSB is O to distinguish between positive and negative. ) is added and stored. Let Q be expressed with a width of 4 bits.

次にプロセス状態を監視するために、記憶装置4のプロ
セスデータベース10より、指定期間分のデータを読出
し、CRT表示装置5へ表示する動作を説明する。
Next, the operation of reading data for a specified period from the process database 10 of the storage device 4 and displaying it on the CRT display device 5 in order to monitor the process state will be explained.

データ復元11は、第8図のフローチャートに示すよう
に記憶装置4上のプロセスデータベース10に、前記第
6図のように圧縮されて記憶されているデータを読出し
、第5図に示すようにA/D変換値正規化値の時系列デ
ータに復元し、工学値変換12へ入力する。
The data restoration 11 reads the data compressed and stored as shown in FIG. 6 into the process database 10 on the storage device 4 as shown in the flowchart of FIG. The /D converted value is restored to time series data of normalized values and input to the engineering value conversion 12.

以下、この復元処理(第8図)を説明する。This restoration process (FIG. 8) will be explained below.

第8図において、ブロック803,804でデータのビ
ット幅を示すフラグを判定する。
In FIG. 8, a flag indicating the bit width of data is determined in blocks 803 and 804.

そして、その判定に応じて、ブロック805では12ビ
ツト幅を読出し、そのままデータとして復元する。ブロ
ック806.807では、それぞれ8ビツト幅、5ビツ
ト幅のデータを読出す。
Then, in accordance with the determination, block 805 reads out the 12-bit width and restores it as data. Blocks 806 and 807 read data of 8 bit width and 5 bit width, respectively.

フラグが11のデータについては、ブロック808で、
2ビツト幅か同一データ連続発生かを判定し、2ビツト
幅のものである場合は、ブロック809で2ビツト幅の
データを読出す。
For data whose flag is 11, at block 808,
It is determined whether the data is 2-bit wide or the same data is continuously generated. If the data is 2-bit wide, the 2-bit wide data is read out in block 809.

同一データ連続発生の場合は、ブロック810.811
.812.813で同一データ連続発生回数Q回分の同
一データを復元する。
If the same data occurs continuously, block 810.811
.. 812 and 813, the same data is restored for the number of consecutive occurrences of the same data Q times.

また、ブロック814で8ビツト幅、5ビツト幅、2ビ
ツト幅のデータは前回値よりの差分のため前回値を加算
し、今回値を復元する。
Further, in block 814, since the data of 8 bit width, 5 bit width, and 2 bit width is a difference from the previous value, the previous value is added to restore the current value.

データ復元11より、復元されたA/D変換値正規化値
の時系列データを受は取った工学値変換12は、第9図
のフローチャートに示すように、A/D変換値正規化値
を工学値に変換して、第3図に示したような工学値の時
系列データとして、プロセスデータ表示13へ入力する
The engineering value conversion 12 receives the time-series data of the restored A/D conversion value normalized values from the data restoration 11, and converts the A/D conversion value normalized values as shown in the flowchart of FIG. The data is converted into engineering values and input to the process data display 13 as engineering value time series data as shown in FIG.

なお、必要に応じて、工学値の時系列データを演算14
で、加工処理を施こしてプロセスデータ表示13へ入力
するようにしても良い。。
In addition, if necessary, the time series data of engineering values can be calculated14.
Then, processing may be performed and input to the process data display 13. .

プロセスデータ表示13は、工学値の時系列データをC
RT表示装W5ヘトレンドグラフ等で表示する。
The process data display 13 displays time series data of engineering values in C.
It is displayed on the RT display W5 using a trend graph, etc.

なお、以上の実施例において、プロセスデータ入カフか
らA/D変換値正規化8へのデータの受は渡しは工学値
であるが、これを直接生のA/D変換値とするようにし
ても良い。
In addition, in the above embodiment, the data received and passed from the process data input cuff to the A/D conversion value normalization 8 is an engineering value, but this is directly converted into a raw A/D conversion value. Also good.

この場合、A/D変換値正規化8は、第10図のフロー
チャートに示すように、生のA/D変換値を直接A/D
変換値正規化値に変換するようにする。
In this case, the A/D conversion value normalization 8 directly converts the raw A/D conversion value into an A/D conversion value, as shown in the flowchart of FIG.
Conversion value Convert to normalized value.

また1本実施例においては、記憶データの差分をとり、
ランレングスとビット詰めにより、データを圧縮する例
について説明したが、この他にHuffman符号を用
いたり、ランレングスに対し、さらにwyle符号や、
GO10IIlb符号用いたりするようにしても良い。
In addition, in this embodiment, the difference between the stored data is taken,
An example of compressing data using run length and bit stuffing has been explained, but in addition to this, Huffman codes can be used, Wyle codes, etc.
It is also possible to use GO10IIlb code.

以上、本実施例によ九ば、プロセスデータを記憶装置に
記憶する場合、プロセスデータは異常状態が急速に変化
している期間以外は大幅に変化しないので、前回値との
差分のビット幅が小さくなり、第6図に示したように充
分圧縮して記憶でき。
As described above, according to this embodiment, when process data is stored in a storage device, the process data does not change significantly except during periods when abnormal conditions are rapidly changing, so the bit width of the difference from the previous value is It becomes smaller and can be sufficiently compressed and stored as shown in FIG.

る。たとえば、本実施例において第3図から第6図に圧
縮すると約1/6の容量に、あるいは第5図から第3図
に圧縮すると約1/3の容量に圧縮されている。
Ru. For example, in this embodiment, when compressing from FIG. 3 to FIG. 6, the capacity is reduced to about 1/6, or when compressed from FIG. 5 to FIG. 3, the capacity is reduced to about 1/3.

したがい、過去に遡っても、サンプリング毎のプロセス
データを全て記憶し、復元するため、プロセスの動作状
態の時間的なわずかな変化でも正しく把握できる。
Therefore, even if you go back in time, all the process data for each sampling is stored and restored, so even slight temporal changes in the operating state of the process can be accurately grasped.

[発明の効果] 以上のように1本発明によれば、プロセスデータの全て
を復元でき、かつ、記憶容量を充分に効率的に使用する
ことのできるデータ処理装置を提供することができる。
[Effects of the Invention] As described above, according to the present invention, it is possible to provide a data processing device that can restore all process data and can use storage capacity sufficiently efficiently.

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

第1図は本発明の位置実施例に係るデータ処理装置の構
成を示すブロック図、第2図は生のA/D変換値を工学
値に変換する手順を示すフローチャート、第3図は工学
値の時系列データを示す説明図、第4図は工学値をA/
D変換値正規化値に変換する手順を示すフローチャート
、第5図はA/D変換値正規化値の時系列データを示す
説明図、第6図は圧縮されたデータを示す説明図、第7
図はA/D変換値正規化値を圧縮する手順を示すフロー
チャート、第8図は圧縮データを復元する手順を示すフ
ローチャート、第9図はA/D変換値正規化値を工学値
に変換する手順を示すフローチャート、第10図は生の
A/D変換値をA/D変換値正規化値に直接変換する手
順を示すフローチャートである。 第1図における符号 1・・・プロセス、2・・・プロセス入出力装置、3・
・・電子計算機、4・・・記憶装置、5・・・CRT表
示装置、6・・・A/D変換器、7・・・プロセスデー
タ入力、8・・・A/D変換値正規化、9・・・データ
圧縮、10・・・プロセスデータベース、11・・・デ
ータ復元、12・・工学値変換、13・・・プロセスデ
ータ表示、14・・・演算。 第2図における符号 21・・・A/D変換値を電圧値に変換、22・・・電
圧値を工学値に変換、23・・・プロセスデータの計測
器のタイプ判定、24・・・リニア変換タイプの処理、
25・・・流量変換タイプの処理、26・・・指数変換
タイプの処理、27・・・サーモカップルタイプの処理
。 第4図における符号 41・・・工学値を電圧値に変換、42・・・電圧値を
A/D変換値正規化値に変換、43・・・プロセスデー
タの計測器のタイプ判定、44・・・リニア変換タイプ
の処理、45・・・流量変換タイプの処理、46・・・
指数変換タイプの処理、47・・・サーモカップルタイ
プの処理。 第7@における符号 701・・・時系列データ番号、終りフラグの初期化、
702・・・時系列データ差分計算処理、703・・・
差分値判定処理、704・・・差分=Oの連続発生回数
、705・・・2ビット幅による格納処理、706・・
・連続発生回数カウントアツプ、707・・・連続発生
回数判定処理、708・・・フラグおよび連続発生回数
記憶、709・・・終りフラグ判定処理、710・・・
連続発生回数判定処理、711〜713・・・差分ビッ
ト幅判定処理、714〜717・・・ビット幅別データ
格納処理、718・・・連続発生回数初期化処理、71
9・・・時系列データ番号カウントアツプおよび終了判
定処理、720・・・終りフラグオン。 第8図における符号 801:データ番号初期化処理、802・・・データベ
ース読出しビット位置初期化処理、803・・・データ
ベース読出し処理、804,808・・・ビット輻フー
ラグ判定処理、805−12ビット幅データ復元処理、
806・・・8ビット幅データ読出し処理、807・・
・5ビット幅データ読出し処理、809・・・2ビット
幅データ読出し処理、810〜813・・・同一データ
復元処理、814・・・今回復元処理、815・・・デ
ータ番号カウントアツプ。 816・・・データベース読出しビット位置進め処理、
817・・・終了判定処理。 第9図における符号 91・・・A/D変換値正規化値を電圧値に変換、92
・・・電圧値を工学値に変換、93・・・プロセスデー
タの計測器のタイプ判定、94・・・リニア変換タイプ
の処理、95・・・流量変換タイプの処理、96・・・
指数変換タイプの処理、97・・・サーモカップルタイ
プの処理。 第10図における符号 101・・・A/D変換値を電圧値に変換、102・・
・電圧値をA/D変換値正規化値に変換、103・・・
プロセスデータの計測器のタイプ判定、104・・・リ
ニア変換タイプの処理、105・・・流量変換タイプの
処理、106・・・指数変換タイプの処理。 107・・・サーモカップルタイプの処理。 出原人 株式会社 日 立 製 作所 代理人 弁理士  富 1)和子 第2図 第3図 □ ピント番号 第4図 第5図 □ピント番号          差分第6図 □ ビット番号 第9図 第10図
FIG. 1 is a block diagram showing the configuration of a data processing device according to an embodiment of the present invention, FIG. 2 is a flowchart showing the procedure for converting raw A/D converted values into engineering values, and FIG. 3 is an engineering value. An explanatory diagram showing the time series data of , Figure 4 shows the engineering value as A/
A flowchart showing the procedure for converting into a D-converted value normalized value, FIG. 5 is an explanatory diagram showing time-series data of A/D-converted value normalized values, FIG.
The figure is a flowchart showing the procedure for compressing the normalized A/D conversion value, Figure 8 is a flowchart showing the procedure for restoring the compressed data, and Figure 9 is the flowchart for converting the normalized A/D conversion value into an engineering value. Flowchart showing the procedure. FIG. 10 is a flowchart showing the procedure for directly converting a raw A/D conversion value into a normalized A/D conversion value. Reference numeral 1 in FIG. 1: process, 2: process input/output device, 3:
...Electronic computer, 4...Storage device, 5...CRT display device, 6...A/D converter, 7...Process data input, 8...A/D conversion value normalization, 9... Data compression, 10... Process database, 11... Data restoration, 12... Engineering value conversion, 13... Process data display, 14... Calculation. Reference numeral 21 in FIG. 2 converts A/D conversion values into voltage values, 22... converts voltage values into engineering values, 23... determines the type of measuring instrument for process data, 24... linear Handling conversion types,
25...Flow rate conversion type processing, 26...Exponent conversion type processing, 27...Thermocouple type processing. Reference numeral 41 in FIG. 4 converts engineering values into voltage values, 42... converts voltage values into A/D conversion value normalized values, 43... determines the type of measuring instrument for process data, 44. ...Linear conversion type processing, 45...Flow rate conversion type processing, 46...
Exponential conversion type processing, 47...Thermocouple type processing. Code 701 in the 7th @... Initialization of time series data number, end flag,
702...Time series data difference calculation process, 703...
Difference value determination processing, 704...Number of consecutive occurrences of difference=O, 705...Storage processing using 2-bit width, 706...
- Count up the number of consecutive occurrences, 707...Continuous occurrence number determination processing, 708...Flag and number of consecutive occurrences storage, 709...End flag determination processing, 710...
Continuous occurrence count determination processing, 711-713... Differential bit width determination process, 714-717... Data storage processing by bit width, 718... Consecutive occurrence count initialization process, 71
9... Time series data number count up and end determination processing, 720... End flag on. 801 in FIG. 8: data number initialization processing, 802... database read bit position initialization processing, 803... database read processing, 804, 808... bit congestion fulag determination processing, 805-12 bit width data recovery process,
806... 8-bit width data read processing, 807...
- 5-bit width data read processing, 809... 2-bit width data read processing, 810 to 813... Same data restoration processing, 814... Current restoration processing, 815... Data number count up. 816...Database read bit position advance processing,
817... End determination processing. Reference numeral 91 in FIG. 9...Converts A/D conversion value normalized value to voltage value, 92
...Converting voltage value to engineering value, 93... Determining the type of measuring device of process data, 94... Processing of linear conversion type, 95... Processing of flow rate conversion type, 96...
Exponential conversion type processing, 97...Thermocouple type processing. Reference numeral 101 in FIG. 10 converts an A/D conversion value into a voltage value, 102...
・Convert voltage value to A/D conversion value normalized value, 103...
Judging the type of measuring device of process data, 104... Linear conversion type processing, 105... Flow rate conversion type processing, 106... Exponential conversion type processing. 107...Thermocouple type processing. Mr. Hitachi, Ltd. Representative Patent Attorney Tomi 1) Kazuko Figure 2 Figure 3 □ Focus number Figure 4 Figure 5 □ Focus number Difference Figure 6 □ Bit number Figure 9 Figure 10

Claims (1)

【特許請求の範囲】 1、プロセスからサンプリングしたプロセスデータのビ
ット幅を圧縮する圧縮手段を備えた電子計算機と、電子
計算機がビット幅を圧縮したプロセスデータを記憶する
記憶装置と、記憶装置より圧縮されたプロセスデータを
読出し復元する復元手段と、復元したプロセスデータの
示す工学値情報を表示する表示手段とを有することを特
徴とするデータ処理装置。 2、請求項1記載のデータ処理装置であって、前記圧縮
手段は、順次、プロセスデータより前プロセスデータに
対する差分値を算出する算出手段と、非等長符号化する
可変長符号化手段とよりなることを特徴とするデータ処
理装置。 3、請求項2記載のデータ処理装置であって、前記圧縮
手段に、前記可変長符号化手段と併せて、算出手段が算
出したプロセスデータの差分値をランレングス符号化す
るランレングス符号化手段を備え、前記可変長符号化手
段はランレングス符号化の対象とならなかったデータを
非等長符号化の対象とする機能を備えることを特徴とす
るデータ処理装置。 4、請求項1、2または3記載のデータ処理装置であっ
て、 前記電子計算機に、サンプリングしたプロセスデータよ
り求めるべき工学値を算出するのに必要な、サンプリン
グ時のプロセスの環境より定まる補正情報を、データの
内に含むように、圧縮手段が圧縮するプロセスデータを
正規化する正規化手段を備えたことを特徴とするデータ
処理装置。 5、プラントよりプロセスデータをサンプリングして入
力し、プラントへ制御情報を出力するプロセス入出力装
置と、プロセス入出力装置がサンプリングしたプロセス
データを処理する請求項1、2、3、または4記載のデ
ータ処理装置と、プロセス入出力装置よりのプロセスデ
ータを用いて、プラントの制御内容を決定し、プロセス
入出力装置を介してプラントを制御するプラント制御装
置と、を有することを特徴とするプラント管理制御シス
テム。
[Scope of Claims] 1. An electronic computer equipped with a compression means for compressing the bit width of process data sampled from a process, a storage device for storing process data whose bit width has been compressed by the computer, and a method for compressing data from the storage device. 1. A data processing device comprising: a restoring means for reading and restoring the restored process data; and a display means for displaying engineering value information indicated by the restored process data. 2. The data processing device according to claim 1, wherein the compression means comprises a calculation means for sequentially calculating a difference value from the process data with respect to the previous process data, and a variable length encoding means for performing non-equal length encoding. A data processing device characterized by: 3. The data processing apparatus according to claim 2, wherein the compression means includes run-length encoding means for run-length encoding the difference value of the process data calculated by the calculation means, in combination with the variable-length encoding means. A data processing device, characterized in that the variable length encoding means has a function of subjecting data that has not been subjected to run-length encoding to non-equal length encoding. 4. The data processing device according to claim 1, 2 or 3, wherein the electronic computer is provided with correction information determined from the process environment at the time of sampling, which is necessary for calculating the engineering value to be obtained from the sampled process data. What is claimed is: 1. A data processing device comprising normalizing means for normalizing process data compressed by the compressing means so that the data includes: 5. A process input/output device that samples and inputs process data from a plant and outputs control information to the plant, and a process input/output device that processes the sampled process data. Plant management characterized by having a data processing device and a plant control device that uses process data from the process input/output device to determine control details of the plant and controls the plant via the process input/output device. control system.
JP29131090A 1990-10-29 1990-10-29 Data processing unit Pending JPH04165720A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29131090A JPH04165720A (en) 1990-10-29 1990-10-29 Data processing unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29131090A JPH04165720A (en) 1990-10-29 1990-10-29 Data processing unit

Publications (1)

Publication Number Publication Date
JPH04165720A true JPH04165720A (en) 1992-06-11

Family

ID=17767246

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29131090A Pending JPH04165720A (en) 1990-10-29 1990-10-29 Data processing unit

Country Status (1)

Country Link
JP (1) JPH04165720A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012506665A (en) * 2008-10-27 2012-03-15 マイクロ モーション インコーポレイテッド Method and apparatus for compressing and decompressing data records

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012506665A (en) * 2008-10-27 2012-03-15 マイクロ モーション インコーポレイテッド Method and apparatus for compressing and decompressing data records

Similar Documents

Publication Publication Date Title
Andrews et al. Adaptive data compression
DK176874B1 (en) Adaptive coding method
JPS62168285A (en) Data logger
JP2012506665A (en) Method and apparatus for compressing and decompressing data records
CN114520659A (en) Method for lossless compression and decoding of data by combining rANS and LZ4 encoding
CN117373600B (en) Medical detection vehicle data optimal storage method
JP5079110B2 (en) System for storing and transferring compressed integer data
Husøy et al. Computationally efficient sub-band coding of ECG signals
JPH04165720A (en) Data processing unit
WO2024093188A1 (en) Signal detection method, signal processing method and signal processing model
CN113078908B (en) Simple encoding and decoding method suitable for time sequence database
WO2016189747A1 (en) Analysis device, analysis method, and analysis program
CN116546111B (en) Intelligent ring health management method and system based on Internet of things technology
CN116256025B (en) Aeration data monitoring system of ultra-filtration water device
Mogahed et al. A comparison of data compression methods for solving problems of temperature monitoring
US8638243B2 (en) Data compression device, data compression method, and medium
CN114726380B (en) Monitoring data lossless compression method, device, equipment and readable storage medium
US20230334022A1 (en) System and method for processing and storage of a time-series data stream
Giorgi Lightweight Lossless Compression for $ N $-Dimensional Data in Multi-Sensor Systems
US6405155B2 (en) Data logging
JP3339668B2 (en) Time series data compression / decompression method and apparatus
Wang et al. A novel lossless ecg compression algorithm for active implants
JPH0480620A (en) Monitoring device
EP4280465A1 (en) Data recording apparatus, data recording method, and data recording program
Merdjanovska et al. Data Compression for Wireless ECG Devices.