JPH0334718B2 - - Google Patents
Info
- Publication number
- JPH0334718B2 JPH0334718B2 JP59002042A JP204284A JPH0334718B2 JP H0334718 B2 JPH0334718 B2 JP H0334718B2 JP 59002042 A JP59002042 A JP 59002042A JP 204284 A JP204284 A JP 204284A JP H0334718 B2 JPH0334718 B2 JP H0334718B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- state
- state change
- detection interval
- data collection
- 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
Links
- 238000001514 detection method Methods 0.000 claims description 35
- 238000013480 data collection Methods 0.000 claims description 19
- 230000005540 biological transmission Effects 0.000 claims description 7
- 238000010586 diagram Methods 0.000 description 5
- 238000000034 method Methods 0.000 description 5
- 230000000694 effects Effects 0.000 description 3
- 238000006243 chemical reaction Methods 0.000 description 2
- 238000005070 sampling Methods 0.000 description 2
- 230000002411 adverse Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Small-Scale Networks (AREA)
- Selective Calling Equipment (AREA)
Description
【発明の詳細な説明】
〔発明の技術分野〕
本発明は、データ収集処理装置、特に複数のデ
ータを一括して収集し、時系列的に遂次伝送する
データ収集部と、前記データを伝送路を介し受信
し、データの状態、又はその状態変化を検出する
データ処理部とにより構成されるデータ収集処理
装置に関するものである。[Detailed Description of the Invention] [Technical Field of the Invention] The present invention relates to a data collection processing device, particularly a data collection unit that collects a plurality of data at once and sequentially transmits the data in chronological order, and a data collection unit that transmits the data. The present invention relates to a data collection and processing device that includes a data processing unit that receives data via a network and detects the state of data or a change in the state of the data.
一般にデータ収集処理装置は、データ収集部に
て収集された複数のデータを、状態を表わす所定
の形態に変換し、データ処理部において状態及び
状態変化の有無を検出しているが、この検出手段
としては、現時点のデータの状態と現時点より以
前のデータの状態とを比較する方法とがとられて
いる。状態変化が発生したと判定する基準として
は、現時点より一定時間以前にデータの状態変化
が発生し、その後現時点まで状態変化が発生しな
いこと、即ち一定時間以前に起きた状態変化後の
状態が現時点まで継続していることである。上記
の一定時間を以下状態変化検出間隔と呼ぶが、こ
の間隔を設けることにより、データへの雑音の重
畳等の外乱による状態変化の不要検出を防ぐこと
が可能となつている。代表例を第1図に示す。第
1図aはデータ処理部へ送られてきたデータの状
態を示す。ここでは、状態は「1」、又は「0」
の形態をとつている。前述の状態変化検出間隔を
Tjとすると、この状態変化はデータ処理部にて、
第1図bのように検出されていることになる。こ
こでTj以内の範囲で状態変化が2回連続してい
る場合には、状態変化は検出されない。
Generally, a data collection processing device converts a plurality of pieces of data collected by a data collection unit into a predetermined form representing a state, and the data processing unit detects the state and the presence or absence of a change in state. The method used is to compare the current data state with the previous data state. The criteria for determining that a state change has occurred is that a data state change occurred a certain amount of time before the current point, and no state change has occurred since then until the current point in time.In other words, the state after the state change that occurred before the certain amount of time is the current state. This has continued until now. The above-mentioned fixed time period will hereinafter be referred to as a state change detection interval, and by providing this interval, it is possible to prevent unnecessary detection of state changes due to disturbances such as superimposition of noise on data. A typical example is shown in Figure 1. FIG. 1a shows the state of data sent to the data processing section. Here, the state is "1" or "0"
It takes the form of The state change detection interval mentioned above is
Assuming that T j , this state change is handled by the data processing section,
It is detected as shown in FIG. 1b. Here, if there are two consecutive state changes within the range of T j , no state change is detected.
上記の如く、従来の検出間隔は、収集されたデ
ータ全てに対し同一であり固定されていた。しか
し、収集されるデータの数及び種類が多数である
場合には、狭い検出間隔で状態変化をとらえたい
という要求のあるデータと、これとは逆に悪環境
(雑音等)中にあつて、その影響を除去するため
に、広い検出間隔で状態変化をとらえたいデータ
とが混在している場合がある。このような場合に
は、各々のデータに対して全て同一検出間隔を用
いることは適当でない。また同一データに対して
も、使用時の要求に対応して検出間隔を変化させ
る必要が生ずる場合もあり、同様にして固定した
検出間隔を用いることは適当でない場合もある。
As mentioned above, conventional detection intervals are the same and fixed for all collected data. However, when the number and types of data to be collected are large, there is a need to capture state changes at narrow detection intervals, and on the other hand, when the data is in a bad environment (noise, etc.), In order to eliminate this influence, there may be cases where data is mixed with data in which state changes should be detected at wide detection intervals. In such a case, it is not appropriate to use the same detection interval for each data. Further, even for the same data, there may be cases where it is necessary to change the detection interval in response to the requirements during use, and similarly it may not be appropriate to use a fixed detection interval.
〔発明の目的〕
本発明は上記問題点を解決することを目的とし
てなされたものであり、複数の収集データに対し
て外部より各々適当な検出間隔を整定し得るデー
タ収集処理装置を提供することを目的としてい
る。[Object of the Invention] The present invention has been made to solve the above-mentioned problems, and it is an object of the present invention to provide a data collection processing device that can externally set appropriate detection intervals for a plurality of pieces of collected data. It is an object.
本発明では、データ収集部により収集される複
数のデータ各々に対し、データ処理部に設けた状
態変化検出間隔整定手段によつて設定された適当
な状態変化検出間隔を割り当てることにより、常
に収集データの状態及び使用時の要求に適応した
状態変化検出間隔を得ようとするものである。
In the present invention, by assigning an appropriate state change detection interval set by the state change detection interval setting means provided in the data processing unit to each of the plurality of data collected by the data collection unit, the collected data is always The objective is to obtain a state change detection interval that is adapted to the state of the system and the requirements during use.
以下図面を参照して実施例を説明する。第2図
は本発明によるデータ収集処理装置の一実施例構
成図である。第2図のデータ収集処理装置は、デ
ータ収集部1とテータ処理部2及びそれらを結ぶ
伝送路3から構成される。データ収集部1では、
収集された複数のデータA,B,C,Dが変換回
路11に入力され、所定のスライスレベルより入
力が大の時「1」レベル、小の時「0」レベルの
デイジタル信号として出力される。このようにし
て得られた信号は、編集回路12に入力され、所
定の伝送形態に編集された後、送信回路13より
伝送路3を介してデータ処理部2へ伝送される。
データ処理部2はデータ受信回路と整定装置及び
マイクロコンピユータとその周辺装置とから構成
されている。ここで受信回路21はデータ収集部
より「1」レベル、「0」レベルが伝送されてき
た時、各各「1」レベル、「0」レベルを出力し、
これらのデータの状態を表わすデイジタル信号
は、一定周期でサンプリングされ、DMA22を
介してRAM23の所定のメモリー領域に常時書
き込まれている。ROM25に記憶されたプログ
ラムにより、RAM23に書込まれた収集データ
A〜Dの状態及び状態変化の検出が行なわれ、そ
の結果は出力ポート24を介して外部に出力され
ている。
Examples will be described below with reference to the drawings. FIG. 2 is a configuration diagram of an embodiment of the data collection processing device according to the present invention. The data collection processing device shown in FIG. 2 is composed of a data collection section 1, a data processing section 2, and a transmission path 3 connecting them. In the data collection section 1,
A plurality of collected data A, B, C, and D are input to the conversion circuit 11, and when the input is greater than a predetermined slice level, it is output as a digital signal of "1" level, and when it is smaller, it is "0" level. . The signal obtained in this manner is input to the editing circuit 12, edited into a predetermined transmission form, and then transmitted from the transmission circuit 13 to the data processing section 2 via the transmission line 3.
The data processing section 2 is composed of a data receiving circuit, a settling device, a microcomputer, and its peripheral devices. Here, when the receiving circuit 21 receives the "1" level and "0" level from the data collection section, it outputs each "1" level and "0" level,
Digital signals representing the state of these data are sampled at regular intervals and are constantly written into a predetermined memory area of the RAM 23 via the DMA 22. A program stored in the ROM 25 detects the states and changes in the collected data A to D written in the RAM 23, and the results are outputted to the outside via the output port 24.
次に、本発明の特徴である状態変化検出間隔の
整定は、整定装置28により行なわれる。ここ
で、データA,B,C,Dに対し、各々検出間隔
TA,TB,TC,TDが与えられる。これらの値は書
換可能なメモリーであるEAROM27の所定の
領域に書込まれ、状態変化検出プログラムの実行
に伴い読出されることになる。なお、受信回路2
1より出力された収集データの情報は、一定周期
TSでDMA22を介してROM23の所定領域に
書込まれているが、この領域には常時、現時点の
データからNサンプル前までのデータN個が存在
する。この様子を第3図に示す。ここでDA0〜
DA-Nは「0」、又は「1」と値をとり、DA0は現
時点の収集データAの状態を示し、DA-NはNサ
ンプル前の収集データAの状態を示している。ま
たDA−TA/TSは、現時点より整定された検出間隔
TA以前のデータの状態を示している。データB
〜Dについても同様な形態で書込みが行なわれ、
これらのデータは常時書換えられる。即ち、現時
点より1サンプリング後には、DA0はその時点の
DA-1に相当することになる。当然TA〜Dは、0
<TA〜D/TS<Nの関係が成り立つように整定さ
れる必要がある。 Next, the setting of the state change detection interval, which is a feature of the present invention, is performed by the setting device 28. Here, for data A, B, C, and D, each detection interval is
T A , T B , T C , and T D are given. These values are written in a predetermined area of the EAROM 27, which is a rewritable memory, and are read out as the state change detection program is executed. In addition, the receiving circuit 2
Information on the collected data output from 1 is displayed at a fixed period.
The data is written to a predetermined area of the ROM 23 via the DMA 22 at T S , and N pieces of data from the current data to N samples before are always present in this area. This situation is shown in FIG. Here DA 0 ~
DA -N takes a value of "0" or "1", DA 0 indicates the current state of collected data A, and DA -N indicates the state of collected data A N samples ago. Furthermore, DA- TA /T S indicates the state of data before the detection interval T A that has been established from the present time. Data B
~D is also written in a similar format,
These data are constantly rewritten. That is, after one sampling from the current point, DA 0 will be the current value.
This corresponds to DA -1 . Naturally, T A to D are 0
It is necessary to set the relationship such that < TA to D /T S <N holds true.
次に、ROM25に書込まれた状態及び状態変
化検出プログラムのフローチヤートを第4図に示
す。但し、このフローチヤートは、1周期内の処
理を表わしている。P1〜P11はフローチヤートの
各ステツプを示す。 Next, a flowchart of the state and state change detection program written in the ROM 25 is shown in FIG. However, this flowchart represents processing within one cycle. P1 to P11 indicate each step of the flowchart.
まず、整定装置28により整定され、
EAROM27に書込まれた状態変化検出間隔TA
〜TDをP1で読み込み、P2において現時点よりTA
以前(TA/TSサンプル前)に状態変化が生じた
か、否かを検出する。本実施例は−TA時点のデ
ータDA−TA/TSと、1サンプリング後の時点のデ
ータDA−TA/TS+1とを比較して検出している。 First, it is settled by the settling device 28,
State change detection interval T A written in EAROM27
~Read T D at P 1 , and at P 2 from the current T A
It is detected whether a state change occurred previously (before the T A /T S sample). In this embodiment, detection is performed by comparing data DA- TA /T S at time -TA and data DA- TA /T S +1 at a time after one sampling.
両サンプル時のデータが「0」→「1」、あるい
は「1」→「0」と変化した場合は、状態変化検
出有とされ、P3で更に次のサンプル時点におけ
る状変の有無が判定される。P2で両データが等
しいと判定された場合は、P8へ移つて状態変化
無と判定され、更にP9へ移つて現時点のデータ
Aの状態はDA−TA/TSとされる。即ち、現時点と
−TA+TSとの間で状態変化が生じても、現時点
においては状態変化有とは判定しない。この様子
を第5図aに示す。次にP3において、比較され
た両サンプル時のデータが等しくない場合はP8
へ移つて状態変化無と判定する。この様子を第5
図bに示す。以下P4,P5も同様の論理で判定が
行なわれる。即ち、−TA間において状態変化が例
え生じても、状変後の状態が状態変化検出間隔
TAの間、継続しない場合には、−TA間において
発生する状変は無視される。外乱により収集デー
タが影響を受け易い場合は、状態変化検出間隔
TAが大きいほど不要判定を防ぐことが可能では
あるが、逆に状態変化検出間隔TAが大きすぎる
と、データの状態変化を把えることが不可能とな
る。P5において、両データ(DA0,DA-1)が等
しくなつた場合には、P6にて状態変化有と判定
され、P7へ移つて現時点のデータの状態はDA0
とされる。この様子を第5図cに示す。P10では
以上の処理結果を出力ポートに出力する。P11で
は前記したP2〜P10と同様な処理を夫々データB
〜Dについても施す。If the data at both samples changes from "0" to "1" or from "1" to "0", it is determined that a state change has been detected, and the presence or absence of a state change at the next sample time is further determined in P3 . be done. If it is determined at P2 that both data are equal, the process moves to P8 , where it is judged that there is no change in state, and then the process moves to P9 , where the current state of data A is set to DA- TA / TS . That is, even if a state change occurs between the current time and -TA + T S , it is not determined that the state has changed at this time. This situation is shown in FIG. 5a. Next, in P 3 , if the data for both compared samples are not equal, P 8
It is determined that there is no change in status. This situation can be seen in Chapter 5.
Shown in Figure b. Below, P 4 and P 5 are also determined using the same logic. In other words, even if a state change occurs between -T A , the state after the state change is within the state change detection interval.
If it does not continue during T A , the state change that occurs between -T A is ignored. If the collected data is easily affected by disturbances, change the state change detection interval.
The larger T A is, the more it is possible to prevent unnecessary determinations, but conversely, if the state change detection interval T A is too large, it becomes impossible to grasp the state change of data. If both data (DA 0 , DA -1 ) become equal in P 5 , it is determined that a state change has occurred in P 6 , and the process moves to P 7 , where the current data state is DA 0.
It is said that This situation is shown in FIG. 5c. P 10 outputs the above processing results to the output port. In P 11 , the same processing as in P 2 to P 10 described above is performed on each data B.
~D is also applied.
要するに、収集するデータが全て同様な環境下
にある場合には、検出間隔TA〜TDは、同一固定
のもので不具合はないが、複数のデータが各々異
なつた環境にあり、雑音等の外乱によるデータの
影響が各々異なる場合、あるいは、各々のデータ
が異なつた性質を持つている場合には、各データ
に対し、第4図のP1で示したように検出間隔の
整定が必要となる。例として、第6図において、
aのデータAは、雑音等の外乱の多い環境下で得
られたデータ、bのデータBは外乱の影響が少な
いが、データの性質上煩雑に状態変化が起こり易
く、また、その変化を把らえたいという要求のあ
るデータ、cのデータCはbのデータBと同環境
であるがデータの状態変化を頻繁に把える要求の
ないデータとする。この場合、データA,B,C
の全ての検出間隔が従来のように、図中TAの検
出間隔に固定されていると、bの場合では状態変
化の検出が不可能となり、逆にTBに固定すると、
a,cでは不要な検出をすることとなる。これに
対し、各各のデータの条件より判断して、図中の
TA,TB,TCを各々のデータA,B,Cに割り付
けることにより、不要検出がない最適な状態での
検出が行なわれることになる。 In short, if all the data to be collected is in the same environment, the detection intervals T A to T D are the same and fixed and there is no problem, but if the multiple data are in different environments, noise etc. If each data is affected by disturbance differently, or if each data has different properties, it is necessary to set the detection interval for each data as shown in P 1 in Figure 4. Become. As an example, in Figure 6,
Data A in a is data obtained in an environment with many disturbances such as noise, and data B in b is less affected by disturbances, but due to the nature of the data, state changes tend to occur in a complicated manner, and it is difficult to understand the changes. Data C in c, which is data for which there is a request to be monitored, is in the same environment as data B in b, but there is no need to frequently monitor changes in the data state. In this case, data A, B, C
If all the detection intervals of are fixed to the detection interval of T A in the figure as in the past, it will be impossible to detect the state change in case b, and conversely if it is fixed to T B ,
In a and c, unnecessary detection will be performed. On the other hand, judging from the conditions of each data,
By assigning T A , T B , and T C to each data A, B, and C, detection is performed in an optimal state without unnecessary detection.
上記実施例では、個々の収集データに対し、個
個に検出間隔を整定したが、同環境下にある複数
のデータ等の同一検出間隔の整定が要求されるデ
ータ群に対しては、整定時にそれらデータ群の各
各に対して整定をするという形態をとる方法もあ
る。この場合の効果は、当然上記実施例と同じで
ある。 In the above example, the detection interval was set individually for each collected data, but when setting the detection interval for a data group such as multiple data in the same environment that requires setting the same detection interval. There is also a method that takes the form of setting each of these data groups. The effect in this case is naturally the same as in the above embodiment.
以上の説明から明らかなように、データ処理部
に各々のデータに対して適当な状態変化検出間隔
を与えるための整定手段を設けることにより、種
種の性質を持つデータ、あるいは悪環境下にある
データの状態変化を、各々のデータに対し最適な
状態で検出することが可能となる。
As is clear from the above explanation, by providing the data processing section with a setting means for giving an appropriate state change detection interval to each data, data with various characteristics or data under adverse environments can be processed. It becomes possible to detect changes in the state of each data in the optimal state.
第1図は従来の状態変化検出の説明図、第2図
は本発明によるデータ収集処理装置の一実施例構
成図、第3図は収集データの記憶状態を示す図、
第4図は動作説明のためのフローチヤート、第5
図、第6図はその作用効果を説明するための図で
ある。
1……データ収集部、2……データ処理部、3
……伝送路、11……変換回路、12……編集回
路、13……送信回路、21……受信回路、22
……DMA、23……RAM、24……出力ポー
ト、25……ROM、26……CPU、27……
EAROM、28……整定装置。
FIG. 1 is an explanatory diagram of conventional state change detection, FIG. 2 is a configuration diagram of an embodiment of a data collection processing device according to the present invention, and FIG. 3 is a diagram showing a storage state of collected data.
Figure 4 is a flowchart for explaining the operation, Figure 5
FIG. 6 is a diagram for explaining the operation and effect thereof. 1...Data collection section, 2...Data processing section, 3
... Transmission line, 11 ... Conversion circuit, 12 ... Editing circuit, 13 ... Transmission circuit, 21 ... Receiving circuit, 22
...DMA, 23...RAM, 24...Output port, 25...ROM, 26...CPU, 27...
EAROM, 28...Settling device.
Claims (1)
るデータ収集部と、前記伝送されてきたデータを
伝送路を介して受信し、前記データの状態または
状態変化を検出するデータ処理部とからなるデー
タ収集処理装置において、データ処理部に状態変
化検出間隔を任意に整定し得る整定手段をそな
え、データ収集部により収集される各データに対
して所定の状態変化検出間隔を割り当てることを
特徴とするデータ収集処理装置。1 Consists of a data collection unit that collects multiple pieces of data at once and transmits it sequentially, and a data processing unit that receives the transmitted data via a transmission path and detects the state or state change of the data. The data collection processing device is characterized in that the data processing section is provided with a setting means capable of arbitrarily setting a state change detection interval, and a predetermined state change detection interval is assigned to each data collected by the data collection section. Data collection processing equipment.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP59002042A JPS60146549A (en) | 1984-01-11 | 1984-01-11 | Data collection processor |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP59002042A JPS60146549A (en) | 1984-01-11 | 1984-01-11 | Data collection processor |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS60146549A JPS60146549A (en) | 1985-08-02 |
| JPH0334718B2 true JPH0334718B2 (en) | 1991-05-23 |
Family
ID=11518266
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP59002042A Granted JPS60146549A (en) | 1984-01-11 | 1984-01-11 | Data collection processor |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS60146549A (en) |
-
1984
- 1984-01-11 JP JP59002042A patent/JPS60146549A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS60146549A (en) | 1985-08-02 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPS6211154Y2 (en) | ||
| JPH0334718B2 (en) | ||
| JP2616484B2 (en) | Token ring transmission system | |
| JP3009020B2 (en) | Security terminal | |
| JPS6339069A (en) | Periodical interruption informing method for digital input/output controller | |
| JP3235402B2 (en) | Digital protection relay | |
| JP3348422B2 (en) | Measurement data collection device | |
| US6172979B1 (en) | CDV-reducing algorithm circuit self-monitoring system | |
| JPS59127131A (en) | Bus monitoring method | |
| JPH07227033A (en) | Digital relay and its monitoring method | |
| JPS58143938A (en) | Monitor for machine tool | |
| JP3408330B2 (en) | Signal judgment method | |
| JPH0964829A (en) | Monitoring device | |
| JPS58129859A (en) | Transmitting method of process signal | |
| JP2923979B2 (en) | Frequency detection circuit | |
| JP2676087B2 (en) | Particle size distribution processor | |
| JP2804406B2 (en) | Pulse measuring device | |
| JP3290221B2 (en) | Distributed hierarchical data processing system | |
| JPH01306901A (en) | Abnormality detector | |
| JPH0438423A (en) | Method for detecting rate of change | |
| JPS60156114A (en) | Plant data recording device | |
| JPS61260151A (en) | Signal processing device for continuous gas analyzer | |
| JPH1022986A (en) | Serial input and output port | |
| JPS63306723A (en) | Supervisory signal transfer circuit | |
| JPS6267601A (en) | Multiplex control device |