JP2011120059A - Clock abnormality detection system - Google Patents
Clock abnormality detection system Download PDFInfo
- Publication number
- JP2011120059A JP2011120059A JP2009276394A JP2009276394A JP2011120059A JP 2011120059 A JP2011120059 A JP 2011120059A JP 2009276394 A JP2009276394 A JP 2009276394A JP 2009276394 A JP2009276394 A JP 2009276394A JP 2011120059 A JP2011120059 A JP 2011120059A
- Authority
- JP
- Japan
- Prior art keywords
- clock
- serial communication
- abnormality detection
- bit
- detection system
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 230000005856 abnormality Effects 0.000 title claims abstract description 83
- 238000001514 detection method Methods 0.000 title claims abstract description 49
- 238000004891 communication Methods 0.000 claims abstract description 85
- 230000002159 abnormal effect Effects 0.000 claims abstract description 33
- 238000011156 evaluation Methods 0.000 claims description 5
- 230000005540 biological transmission Effects 0.000 claims description 3
- 230000007257 malfunction Effects 0.000 abstract description 2
- 238000000034 method Methods 0.000 description 35
- 238000012795 verification Methods 0.000 description 9
- 238000010586 diagram Methods 0.000 description 7
- 230000003287 optical effect Effects 0.000 description 6
- 238000012545 processing Methods 0.000 description 5
- 238000003745 diagnosis Methods 0.000 description 4
- 238000000926 separation method Methods 0.000 description 3
- 230000001360 synchronised effect Effects 0.000 description 3
- 238000007796 conventional method Methods 0.000 description 2
- 238000007619 statistical method Methods 0.000 description 2
- 238000012937 correction Methods 0.000 description 1
- 125000004122 cyclic group Chemical group 0.000 description 1
- 238000007418 data mining Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000009432 framing Methods 0.000 description 1
- 230000000737 periodic effect Effects 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L7/00—Arrangements for synchronising receiver with transmitter
- H04L7/04—Speed or phase control by synchronisation signals
- H04L7/041—Speed or phase control by synchronisation signals using special codes as synchronising signal
- H04L7/042—Detectors therefor, e.g. correlators, state machines
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L7/00—Arrangements for synchronising receiver with transmitter
- H04L7/0079—Receiver details
- H04L7/0083—Receiver details taking measures against momentary loss of synchronisation, e.g. inhibiting the synchronisation, using idle words or using redundant clocks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L7/00—Arrangements for synchronising receiver with transmitter
- H04L7/04—Speed or phase control by synchronisation signals
- H04L7/041—Speed or phase control by synchronisation signals using special codes as synchronising signal
- H04L7/044—Speed or phase control by synchronisation signals using special codes as synchronising signal using a single bit, e.g. start stop bit
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Synchronisation In Digital Transmission Systems (AREA)
Abstract
【課題】シリアル通信を用いてクロックの異常動作を検知することで、クロックの異常動作によるシステムの誤作動を防止するクロック異常検知システムを提供する。
【解決手段】クロック異常検知システムの受信機2は、送信機1から送信されたシリアル通信(調歩同期)で受信した信号を周期的に読み込み、各ビットの区切りの直後に読み込んだビット値がその次の区切りの直前に読み込んだビット値と異なる場合、クロック異常検知装置23はクロック異常と判定して警報を出力する。
【選択図】図1The present invention provides a clock abnormality detection system that prevents malfunction of a system due to an abnormal operation of a clock by detecting an abnormal operation of the clock using serial communication.
A receiver 2 of a clock abnormality detection system periodically reads a signal received from serial communication (start-stop synchronization) transmitted from a transmitter 1, and the bit value read immediately after each bit break is If it is different from the bit value read immediately before the next break, the clock abnormality detection device 23 determines that the clock is abnormal and outputs an alarm.
[Selection] Figure 1
Description
本発明は、外部装置からシリアル通信を受け入れて、その通信を元にクロックの異常動作を検知するクロック異常検知システムに関する。 The present invention relates to a clock abnormality detection system that accepts serial communication from an external device and detects an abnormal operation of a clock based on the communication.
クロックとは、コンピュータやデジタル回路が動作する際、複数の電子回路の同期を取るために使用される周期的な信号である。クロックが異常動作した場合、電子回路の同期が取れず、予期せぬ誤動作を引き起こす可能性がある。そのため、クロック動作が正常であるか診断するためのクロック異常検知システムが必要となる。 A clock is a periodic signal used to synchronize a plurality of electronic circuits when a computer or a digital circuit operates. If the clock operates abnormally, the electronic circuit may not be synchronized and may cause an unexpected malfunction. Therefore, a clock abnormality detection system for diagnosing whether the clock operation is normal is necessary.
例えば、光ディスクの記録再生装置における従来の異常検知システムでは、光ディスクで用いられるウォブル信号の周波数とクロック周波数を比較することで、クロック異常を検知する。ウォブル信号とは、光ディスクに設けられた所定の振幅および周期をもった微小な溝からの反射光の強度変化による信号を指す。ウォブル信号の周波数は光ディスクからデータを読み取るための搬送波として用いられる。 For example, in a conventional abnormality detection system in an optical disk recording / reproducing apparatus, a clock abnormality is detected by comparing the frequency of a wobble signal used in an optical disk with a clock frequency. A wobble signal refers to a signal resulting from a change in the intensity of reflected light from a minute groove having a predetermined amplitude and period provided on an optical disc. The frequency of the wobble signal is used as a carrier wave for reading data from the optical disk.
従来手法では、光ディスクから検出したウォブル信号の周期をクロック信号によりカウントした値と、ウォブル信号が正常に得られた場合の周期をカウントした値とを比較する。両者に差がある場合、ウォブル信号の周波数異常、もしくはクロック動作異常と判断される。 In the conventional method, the value obtained by counting the period of the wobble signal detected from the optical disk by the clock signal is compared with the value obtained by counting the period when the wobble signal is normally obtained. If there is a difference between the two, it is determined that the wobble signal frequency is abnormal or the clock operation is abnormal.
また、例えば、特許文献1には、シリアル入力回路において、通信完了時間と正常時の通信完了時間がずれていればクロック異常と判断する技術が開示され、特許文献2には、受信信号の周期をクロック信号でカウントし、そのカウント値が正常状態でのカウント数とずれていればクロック異常と判断し、カウント数が極端に小さい場合は、受信信号がノイズによる影響とみなし、クロック異常としない技術が開示されている。
Further, for example, Patent Document 1 discloses a technique for determining a clock abnormality if a communication completion time is different from a normal communication completion time in a serial input circuit, and
また、特許文献3には、外部クロックの周期が1周期経過するまでの間に、AD変換器の変換したデジタルデータを複数個取得し、その取得した複数のデジタルデータが1つでも異なる場合に、AD変換器の故障(クロック線の断線によるAD変換器の故障)と判断する技術が開示されている。 Further, Patent Document 3 discloses a case where a plurality of digital data converted by an AD converter are acquired until one external clock period elapses, and even if the acquired digital data is different from one another. A technique for determining that the AD converter has failed (failure of the AD converter due to disconnection of the clock line) is disclosed.
上述のシステムは光ディスクの記録再生装置であるためウォブル信号を用いることができるが、一般の環境ではウォブル信号のように所定の振幅および周期をもった信号は得られないという問題点があった。 Since the above-described system is an optical disk recording / reproducing apparatus, a wobble signal can be used. However, in a general environment, there is a problem that a signal having a predetermined amplitude and period cannot be obtained like a wobble signal.
また、上述のシステムはウォブル信号の代わりにシリアル通信を用いることもできるが、振幅や周期が所定のものであるため、送信機は診断のためにテスト用の信号を送信する必要がある。また従来手法では、信号に通信ノイズが重畳すると受信信号の周期を誤ってカウントしてしまい、クロック動作の異常と誤判断するという問題点があった。 The above-described system can also use serial communication instead of the wobble signal. However, since the amplitude and cycle are predetermined, the transmitter needs to transmit a test signal for diagnosis. Further, the conventional method has a problem that when communication noise is superimposed on a signal, the period of the received signal is erroneously counted, and it is erroneously determined that the clock operation is abnormal.
本発明は上記の問題に鑑み、所定の振幅および周期をもった信号が得られない環境においても、外部装置からシリアル通信を受け入れることによりクロック異常を検知するシステムであり、通信にノイズが重畳した場合でもノイズによる影響とクロック異常動作の影響を判定するクロック異常検知システムを提供することを目的とする。 In view of the above problems, the present invention is a system that detects a clock abnormality by accepting serial communication from an external device even in an environment where a signal having a predetermined amplitude and period cannot be obtained, and noise is superimposed on the communication. Even in such a case, an object of the present invention is to provide a clock abnormality detection system that determines the influence of noise and the influence of clock abnormal operation.
なお、クロック異常とは、正常時の所定クロック動作速度よりも高速もしくは低速に動作する状態を指す。 The clock abnormality refers to a state where the clock operates at a speed higher or lower than a predetermined clock operating speed at normal time.
上記目的を達成するため、本発明の第一の特徴は、クロック発生装置と、シリアル通信受信装置と、受信したシリアル通信の周期とクロックの周期を比較することでクロック異常を検知するクロック異常検知装置とを有するクロック異常検知システムであることを要旨とする。 In order to achieve the above object, a first feature of the present invention is a clock abnormality detection that detects a clock abnormality by comparing a clock generation device, a serial communication reception device, and a received serial communication cycle with a clock cycle. The gist of the present invention is a clock abnormality detection system having a device.
また、上記クロック異常検知装置は、検知した異常の発生傾向を解析することにより、通信ノイズによる影響とクロック異常を識別するノイズ識別機能を有することを特徴とする。 Further, the clock abnormality detection device has a noise identification function for identifying the influence of communication noise and clock abnormality by analyzing the tendency of occurrence of the detected abnormality.
本発明によれば、所定の振幅および周期をもった信号が得られない環境においても、外部装置からシリアル通信を受け入れることによりクロック異常を検知できる。またシリアル通信にノイズが重畳した場合でも、ノイズによる影響とクロック異常動作の影響を識別できる。 According to the present invention, a clock abnormality can be detected by accepting serial communication from an external device even in an environment where a signal having a predetermined amplitude and period cannot be obtained. Even when noise is superimposed on serial communication, the influence of noise and the influence of abnormal clock operation can be identified.
以下、本発明の実施の形態について、図面を参照して説明する。ただし、図面は模式的なものであることに留意すべきである。 Embodiments of the present invention will be described below with reference to the drawings. However, it should be noted that the drawings are schematic.
図1に本実施例の構成を示す。本実施例では、シリアル通信を送信する送信機1と、送信機1からネットワーク3を介して送られてきたシリアル通信を受信してクロック異常を検知する受信機2が利用される。送信機1は、クロック発生装置11、シリアル通信送信装置12により構成される。また受信機2は、クロック発生装置21、シリアル通信装置12から送られてきたシリアル通信を受信するためのシリアル通信受信装置22、シリアル通信の受信データを元にクロック異常を検知するクロック異常検知装置23により構成される。
FIG. 1 shows the configuration of this embodiment. In the present embodiment, a transmitter 1 that transmits serial communication and a
図6を用いて調歩同期によるシリアル通信について説明する。データを送受信する場合、無情報の時には送信機1はストップビットを連続送信する。情報送信の前には、スタートビットを1ビット送信し、その後にデータを7〜8ビット、パリティビットを1ビット送信し、最後にストップビットを1〜2ビット送信する。 The serial communication based on start-stop synchronization will be described with reference to FIG. When transmitting / receiving data, the transmitter 1 continuously transmits stop bits when there is no information. Before the information transmission, 1 bit of the start bit is transmitted, then 7 to 8 bits of data and 1 bit of the parity bit are transmitted, and finally 1 to 2 bits of the stop bit are transmitted.
スタートビットの値は0、ストップビットは1と規定されている。送信機1は各ビットを一定周期おきに送信する。このとき、送信する周期は送信機1のクロック発生装置11を用いて測定する。受信機2側も同様にクロック発生装置21を用い、受信した信号を所定周期おきに読み取り、ビット列として信号を受信する。
The start bit value is defined as 0, and the stop bit is defined as 1. The transmitter 1 transmits each bit at regular intervals. At this time, the transmission cycle is measured using the
以下では、調歩同期を用いたシリアル通信を行う場合のクロック異常検知システムについて記述するが、クロック同期型シリアル通信でも同様に実施できる。クロック同期型シリアル通信の場合、データ信号と別に一定周期で0と1を繰り返すクロック信号が送付される。そのため、このクロック信号を受信信号として用いることで、下記記載のシステムと同様のクロック異常検知システムが構成される。 In the following, a clock abnormality detection system in the case of performing serial communication using start-stop synchronization will be described, but it can be similarly implemented in clock synchronous serial communication. In the case of clock synchronous serial communication, a clock signal that repeats 0 and 1 at a constant cycle is sent separately from the data signal. Therefore, a clock abnormality detection system similar to the system described below is configured by using this clock signal as a reception signal.
次に、図6を用いてクロックの異常検知動作について説明する。検知処理手順のフローチャート図を図3に示す。以下、受信データ1ビット当たりの周期を基本周期と呼ぶ。基本周期中は受信信号が一定であり、周期ごとにビット値の区切り目がある。受信信号は送信機により作成されるため、区切り位置は送信機1のクロック発生装置11により決定され、受信信号を読み込むタイミングは受信機2のクロック発生装置21により決定される。
Next, the clock abnormality detection operation will be described with reference to FIG. A flowchart of the detection processing procedure is shown in FIG. Hereinafter, the cycle per bit of received data is referred to as a basic cycle. The received signal is constant during the basic period, and there is a break between bit values for each period. Since the received signal is created by the transmitter, the break position is determined by the
該シリアル通信受信装置22は送信機のシリアル通信送信装置12から送信されるシリアル通信を受信する(S300)。
The
該受信機2は受信信号の立下りを検知したら、そのときの時間をスタートビットの開始時間と認識し、自身のクロック発生装置21により発生したクロックに基づき、基本周期ごとに送信される各ビットの区切り目の前後の受信信号を読み込み、そのビット値を記録する(S301)。
When the
該シリアル通信受信装置22はストップビットを読み込んだら読み込みを停止し、読み込んだビット値をクロック異常検知装置23へ送る。ストップビットが0の場合はフレーミングエラーとなるが、その場合でも読み込んだビット値をクロック異常検知装置23へ送る。該クロック異常検知装置23は、区切り位置の直後のビット値をチェックする(S302)。
The serial
1基本周期後の区切り位置の直前のビット値が一致した場合はクロック異常なしと判断し、所定時間経過後、再度診断を実施する。ビット値が不一致となる場合はクロック異常と判断し(S303)、警報を出力する。 When the bit values immediately before the delimiter position after one basic cycle coincide with each other, it is determined that there is no clock abnormality, and the diagnosis is performed again after a predetermined time has elapsed. If the bit values do not match, it is determined that the clock is abnormal (S303), and an alarm is output.
あるビットの区切り位置から次の区切り位置の間は本来ビット値が変化することはないため、区切り位置前後のビット値が一致している場合は異常と判断されない。しかしビット値が区切り位置前後で変化しているということは、送信機側と受信機側のクロックがずれて動作したことで、受信機側のクロックパルス発生装置21により求められる区切り位置が実際の受信信号の区切り位置からずれたと推定される。よってビット値の一致検証をすることによりクロック異常を検出できる。
Since the bit value originally does not change from one bit break position to the next, the bit value before and after the break position is not determined to be abnormal. However, the fact that the bit value changes before and after the delimiter position means that the delimiter position obtained by the
受信信号を読み込むタイミングは、クロック利用するシステムが許容するクロックずれの許容範囲に応じて決定しても良い。読込タイミングをシステムのクロック誤差許容範囲に応じて決定した場合の読込タイミングを図10に示す。 The timing for reading the received signal may be determined according to an allowable range of clock deviation allowed by the system using the clock. FIG. 10 shows the read timing when the read timing is determined in accordance with the system clock error allowable range.
図10において、基本周期をT秒とし、クロックの許容誤差範囲を±Eパーセントとした場合、この許容誤差範囲内となる最短周期をS秒、最長周期をL秒とおく。このとき、S=T×(1−E/100)、L=T×(1+E/100)となる。 In FIG. 10, when the basic period is T seconds and the allowable error range of the clock is ± E percent, the shortest period within the allowable error range is S seconds and the longest period is L seconds. At this time, S = T × (1−E / 100) and L = T × (1 + E / 100).
クロック異常検知処理を行う場合、スタートビットを検出してからS秒待機し、その後L−S秒間受信信号を読み込む。読込の間に受信信号にビットの区切り目が検出された場合、その検出した時間からS秒間待機し、その後L−S秒間受信信号を読み込んで区切り目の検出を試みる。 When performing the clock abnormality detection process, after waiting for S seconds after detecting the start bit, the reception signal is read for LS seconds. If a bit break is detected in the received signal during reading, the process waits for S seconds from the detected time, and then reads the received signal for L-S seconds to try to detect the break.
ビット値の区切り目は、受信信号を読み込み始めてから初めてビット値が変化した場所とする。同一ビット値が続き、ビットの区切り目が検出されない場合は、最後に受信信号の読み込みを開始した時間からS秒後に受信信号の読み込みを開始し、最後に受信信号の読み込みを終了した時間からL秒後まで読み込んで区切り目の検出を試みる。以降、ストップビットを読み込むまで同様の処理を行う。 The bit value break is defined as the place where the bit value changes for the first time after the reception signal is read. If the same bit value continues and no bit break is detected, reading of the received signal is started after S seconds from the time when reading of the received signal was last started, and L from the time when reading of the received signal was finished last. Reads up to seconds later and tries to detect breaks. Thereafter, the same processing is performed until the stop bit is read.
該クロック異常検知装置23は、ビット値の不一致が発生する傾向を元にクロック異常を判断しても良い。ビット値の不一致は、クロック動作に異常が発生した場合だけでなく、通信ノイズが発生した箇所でも見られる。
The clock
ただし、ビット値不一致が発生する箇所はその要因によって異なる。通信ノイズが要因の場合はノイズが発生した箇所でのみビット値が不一致となるのに対し、クロック異常の場合は区切り位置のずれが累積するためビット値不一致が複数箇所で発生する。 However, the location where the bit value mismatch occurs depends on the factor. When communication noise is the cause, the bit values are mismatched only at the location where the noise is generated, whereas when the clock is abnormal, the deviation of the delimiter positions is accumulated, so that bit value mismatch occurs at a plurality of locations.
よって、ビット値不一致が発生した箇所の傾向を元に通信ノイズとクロック異常を識別した上で、警報を出力しても良い。この処理を加えた処理手順のフローチャート図を図4に示す。 Therefore, an alarm may be output after identifying communication noise and clock abnormality based on the tendency of the bit value mismatch. FIG. 4 shows a flowchart of the processing procedure to which this processing is added.
該シリアル通信受信装置22は送信機のシリアル通信送信装置12から送信されるシリアル通信を受信する(S400)。受信した信号の最初に含まれるスタートビットを読み込んだら、自身のクロック発生装置21により発生したクロックに基づき、基本周期ごとに送信される各ビットの区切り目の前後の受信信号を読み込み、そのビット値を記録する(S401)。
The
該シリアル通信受信装置22はストップビットを読み込んだら読み込みを停止し、読み込んだビット値をクロック異常検知装置23へ送る。該クロック異常検知装置23は、区切り位置の直後のビット値をチェックし、1基本周期後の区切り位置の直前のビット値と不一致となる箇所を記録する(S402)。
The serial
ビット値が全て一致した場合はクロック異常なしと判断し、所定時間経過後に再度診断を実施する(S403)。 If all the bit values match, it is determined that there is no clock abnormality, and the diagnosis is performed again after a predetermined time (S403).
不一致となる箇所が検出された場合、該受信信号が送られた際の通信路の状況(ビット誤り率など)を元に不一致が発生した要因を特定する(S404)。 If a location that does not match is detected, the cause of the mismatch is identified based on the state of the communication channel (bit error rate, etc.) when the received signal is sent (S404).
通信ノイズと推定される場合にはクロック異常なしと判断し、所定時間経過後に再度診断を実施する。それ以外の場合はクロック異常と判断し、警報を出力する(S405)。 When communication noise is estimated, it is determined that there is no clock abnormality, and diagnosis is performed again after a predetermined time. Otherwise, it is determined that the clock is abnormal, and an alarm is output (S405).
クロックに異常が発生し、正常時より高速動作した場合の不一致発生例を図7、低速動作した場合の例を図8、通信ノイズによる不一致発生の例を図9にそれぞれ示す。 FIG. 7 shows an example of the occurrence of mismatch when the clock is abnormal and operates at a higher speed than normal, FIG. 8 shows an example of the operation at low speed, and FIG. 9 shows an example of the occurrence of mismatch due to communication noise.
通信ノイズがビット不一致の要因となる場合と比較して、クロック異常の場合はビット値が不一致となる箇所が複数回発生する確率が明らかに高くなるため、ベイズ推定やデータマイニングなどの統計学的手法を用いることで不一致発生要因の高精度な特定が可能となる。 Compared to the case where communication noise causes bit mismatch, the probability of multiple occurrences of bit mismatch in the case of clock anomalies is clearly higher, so statistical analysis such as Bayesian estimation and data mining By using this method, it is possible to specify the cause of the mismatch with high accuracy.
該クロック異常検知装置23は、通信ノイズを識別するため、受信データに付加されたパリティビットのチェックやECC(Error Correcting Code)、CRC(Cyclic Redundancy
Check)などの通信エラー検知手法により、受信データに通信エラーが含まれていないか確認しても良い。
The clock
A communication error detection method such as “Check” may be used to check whether the received data includes a communication error.
該クロック異常検知装置23は、エラー訂正の結果を元にビット誤りを含まない受信データのみをクロック異常検知に用いても良い。
The clock
また複数の送信機や通信場所、通信時間帯など通信環境に応じてビット誤り率を測定し、ビット誤り率に応じて異常検知の実施要否や警報出力の要否を判断しても良い。例えばビット誤り率が高い(通信ノイズが多い)環境ではクロック異常検知の検知精度が低いと判断し、その時点での受信データを異常検知に用いないよう選別しても良い。 Further, the bit error rate may be measured according to a communication environment such as a plurality of transmitters, communication locations, communication time zones, and the like, and whether or not abnormality detection is necessary or whether alarm output is necessary may be determined according to the bit error rate. For example, in an environment with a high bit error rate (a lot of communication noise), it may be determined that the detection accuracy of clock abnormality detection is low, and the received data at that time may be selected not to be used for abnormality detection.
該クロック異常検知装置23は、上記の通信エラーを確認する処理において所定回数以上の通信エラーが検知された場合、クロック異常と判断しても良い。すなわち、上記記載の手法では各ビット区切りの前後2箇所以上を読み込むが、各ビットを所定のタイミングで1度ずつ読み込んで受信信号に通信エラーが含まれていないか確認し、クロック異常を判断しても良い。
The clock
また、上記記載の手法と同様、受信信号を読み込むタイミングはクロックを利用するシステムが許容するクロックずれの許容範囲に応じて決定しても良い。このとき、通信エラーの原因を識別するため、通信エラーが発生したビットの箇所に関する情報を用いても良い。 Similarly to the method described above, the timing for reading the received signal may be determined according to the allowable range of clock deviation allowed by the system using the clock. At this time, in order to identify the cause of the communication error, information regarding the bit location where the communication error has occurred may be used.
通信エラーが発生する原因は通信ノイズとクロック異常の2つがありうるが、その原因が通信ノイズである場合、受信したビット列のうちどのビットに対しても等しくエラーが発生しうる。 There are two possible causes of communication errors: communication noise and clock anomalies. If the cause is communication noise, errors can occur equally for any bit in the received bit string.
一方、クロック異常が原因の場合、受信信号と受信側の該クロック発生装置21の同期は累積的にずれるため、最初に受信するスタートビットでエラーが発生する確率は最も低く、後方のビットほど高くなる。そのため、エラーが発生したビットの箇所を元に、統計学的手法を用いることで通信エラー発生要因の高精度な特定が可能となる。
On the other hand, when the clock error is the cause, the synchronization between the received signal and the
実施例2では、複数の送信機からのシリアル通信による受信信号を元に、多数決によるビット不一致要因の特定、クロック異常発生元の特定を行っても良い。独立なクロック発生装置を利用している複数の送信機から信号を受信し、そのずれを検証して多数決により異常なクロックの特定が可能となる。この場合の装置構成を図2に示す。 In the second embodiment, it is possible to specify a bit mismatch cause and a clock abnormality occurrence source by majority vote based on received signals by serial communication from a plurality of transmitters. Signals are received from a plurality of transmitters using independent clock generators, and the deviation is verified, and an abnormal clock can be identified by majority vote. The apparatus configuration in this case is shown in FIG.
例えば、受信機が送信機1aおよび送信機1bから信号を受信してクロックのずれを検証した結果、送信機1aの信号からはクロック異常が検出されないが1bの信号からは異常が検出された場合を考える。この場合、送信機1aと受信機のクロックは同一速度であり、送信機1bのみ異なる速度と判断されるため、多数決により送信機1bのクロック異常と判断できる。
For example, when the receiver receives signals from the transmitter 1a and the
また、送信機1a、1bの両方の信号からクロック異常が検出された場合、受信機のクロック異常と判断できる。受信機2は複数の送信機1a、1b、・・・からのシリアル通信を受信したら、それぞれの通信を用いてクロック異常検知装置23によりクロック異常検知を行う。その結果を元に、異常クロック特定装置24は多数決により異常が発生したクロックを特定する。
Further, when a clock abnormality is detected from both signals of the
また、上記システムでは各クロック発生装置の故障発生率が同一と想定しているが、クロックごとに故障発生率が異なる場合、そのクロックの故障発生率を元に異常が発生したクロックを特定しても良い。 In the above system, it is assumed that the failure rate of each clock generator is the same. However, if the failure rate is different for each clock, the clock where the abnormality occurred is identified based on the failure rate of that clock. Also good.
例えば、送信機1のクロック発生装置11の故障発生確率が受信機2と比較して非常に小さいとする。この場合、受信機2が送信機1からの通信を用いてクロック異常が検知された場合、受信機2は自身のクロック発生装置21が故障した確率が高いと判断できる。
For example, it is assumed that the failure occurrence probability of the
複数の送信機を用いて多数決を行う場合も、この故障発生率を元に評価を重みづけして異常クロックを特定しても良い。故障発生率を元に評価を重みづけした場合のクロック異常検知のフローチャート図を図5に示す。 Even when majority voting is performed using a plurality of transmitters, an abnormal clock may be specified by weighting evaluation based on the failure occurrence rate. FIG. 5 shows a flowchart of clock abnormality detection when the evaluation is weighted based on the failure occurrence rate.
クロック異常を検出するまでの手順(S500〜S505)は実施例1と同一である。異常が検出された場合、各クロックの故障発生率を元に評価の重みづけを行い(S506)、異常が発生したクロックの特定を行う(S507)。 The procedure (S500 to S505) until the clock abnormality is detected is the same as that in the first embodiment. When an abnormality is detected, the evaluation is weighted based on the failure occurrence rate of each clock (S506), and the clock in which the abnormality has occurred is specified (S507).
クロックが特定されない場合、引き続き単一もしくは複数の送信機から送られるシリアル通信を受信し、クロック異常検知を行う。異常クロックが特定された場合、警報を出力する。この場合、警報には異常が発生しているクロックの情報を含んでも良い。 If the clock is not specified, serial communication sent from a single transmitter or a plurality of transmitters is continuously received to detect a clock abnormality. When an abnormal clock is specified, an alarm is output. In this case, the alarm may include information on a clock in which an abnormality has occurred.
異常クロック特定装置24により異常動作するクロックを特定する際に用いられる故障発生率を算出するため、過去のクロック異常検知による警報発生回数や頻度を履歴として記録しても良い。履歴は、各受信機が個別に記録しても良いし、各受信機が出力した全ての警報を集中管理しても良い。またクロック発生装置の故障発生率は、その装置を製造したメーカが保証する値を指標として用いても良い。
In order to calculate the failure occurrence rate used when specifying the abnormally operating clock by the abnormal
列車制御システムや自動車制御、エレベータ制御など安全性が重要となる制御システムにおいて、システム内部で用いられるクロックの動作異常を高精度に検知することにより、異常が発生した場合でもシステムを安全に停止、もしくは復旧することが出来る。 In control systems where safety is important, such as train control systems, car controls, and elevator controls, it is possible to safely stop the system even if an abnormality occurs, by detecting the abnormal operation of the clock used inside the system with high accuracy. Or it can be restored.
1 送信機
2 受信機
3 ネットワーク
11 クロック発生装置
12 シリアル通信送信装置
21 クロック発生装置
22 シリアル通信受信装置
23 クロック異常検知装置
24 異常クロック特定装置
S300 シリアル通信受信手順
S301 受信信号読込手順
S302 ビット値一致検証手順
S303 ビット値不一致検証手順
S400 シリアル通信受信手順
S401 受信信号読込手順
S402 ビット値一致検証手順
S403 ビット値不一致検証手順
S404 ビット値不一致発生要因特定手順
S405 クロック異常有無検証手順
S500 シリアル通信受信手順
S501 受信信号読込手順
S502 ビット値一致検証手順
S503 ビット値不一致検証手順
S504 ビット値不一致発生要因特定手順
S505 クロック異常有無検証手順
S506 故障発生率に基づいた評価の重みづけ手順
S507 異常クロック特定可否検証手順
DESCRIPTION OF SYMBOLS 1
Claims (6)
該送信機は、他受信機とシリアル通信を行うためのシリアル通信送信装置とシリアル通信による送信信号を作成するためのクロックを発生するクロック発生装置とを有し、
該受信機は、該シリアル通信を受信するためのシリアル通信受信装置と、該シリアル通信を読み込むタイミングを決定するためのクロックを発生するクロック発生装置と、該シリアル通信受信装置が受信した受信信号における各ビットの基本周期の区切り前後の信号を読み込み、各ビットの基本周期の区切りの直後に読み込んだビット値がその次の基本周期の区切りの直前に読み込んだビット値と不一致となる場合、クロック異常と判定して警報を出力するクロック異常検知装置とを有することを特徴とするクロック異常検知システム。 In a clock abnormality detection system composed of one or more transmitters that transmit serial communication, a receiver that receives serial communication, and a network,
The transmitter has a serial communication transmitter for serial communication with other receivers and a clock generator for generating a clock for generating a transmission signal by serial communication,
The receiver includes: a serial communication receiver for receiving the serial communication; a clock generator for generating a clock for determining the timing for reading the serial communication; and a received signal received by the serial communication receiver If a signal is read before and after the basic period break of each bit, and the bit value read immediately after the break of the basic period of each bit does not match the bit value read immediately before the break of the next basic period, a clock error And a clock abnormality detection device that outputs a warning upon determination.
該クロック異常検知装置は、基本周期の区切り前後でビット値が不一致となった場合に、その不一致が発生した傾向や通信環境の特性を元に不一致が発生した要因を特定し、通信ノイズが要因であると推定される場合はクロックが正常と判断して警報を出力しない機能を有することを特徴とするクロック異常検知システム。 The clock abnormality detection system according to claim 1,
The clock anomaly detection device identifies the cause of the mismatch based on the tendency of the mismatch and the characteristics of the communication environment when the bit values do not match before and after the division of the basic period, and the communication noise causes When it is estimated that the clock is abnormal, the clock abnormality detection system has a function of judging that the clock is normal and not outputting an alarm.
該シリアル通信受信装置は、該クロック発生装置を利用する外部システムが許容するクロックの誤差範囲を元に受信信号を読み込むタイミングを決定する機能を有することを特徴とするクロック異常検知システム。 In the clock abnormality detection system according to claim 1 or 2,
The serial communication receiver has a function of determining a timing for reading a received signal based on an error range of a clock allowed by an external system using the clock generator.
複数の送信機から受信したシリアル通信を元に異常が発生したクロックを多数決により特定する異常クロック特定装置を有することを特徴とするクロック異常検知システム。 The clock abnormality detection system according to any one of claims 1 to 3,
What is claimed is: 1. A clock abnormality detection system comprising: an abnormal clock identifying device that identifies a clock in which an abnormality has occurred based on serial communication received from a plurality of transmitters by majority.
該異常クロック特定装置は、各クロックの故障発生率を元に各クロックの評価を重みづけして異常が発生したクロックを特定する機能を有することを特徴とするクロック異常検知システム。 The clock abnormality detection system according to any one of claims 1 to 4,
The abnormal clock identification device has a function of identifying a clock in which an abnormality has occurred by weighting the evaluation of each clock based on the failure occurrence rate of each clock.
該シリアル通信受信装置が受信した受信信号に含まれるビット値を読み込み、該ビット値では通信異常となる場合、クロック異常ではないと判定して警報を出力しないクロック異常検知装置を有することを特徴とするクロック異常検知システム。 The clock abnormality detection system according to any one of claims 1 to 5,
It has a clock abnormality detection device that reads a bit value included in a reception signal received by the serial communication reception device, and determines that the clock is not abnormal when the communication value is abnormal, and does not output an alarm. Clock anomaly detection system.
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009276394A JP5161196B2 (en) | 2009-12-04 | 2009-12-04 | Clock error detection system |
PCT/JP2010/071156 WO2011068080A1 (en) | 2009-12-04 | 2010-11-26 | Clock signal error detection system |
GB1208385.3A GB2508788B (en) | 2009-12-04 | 2010-11-26 | Clock signal error detection system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009276394A JP5161196B2 (en) | 2009-12-04 | 2009-12-04 | Clock error detection system |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2011120059A true JP2011120059A (en) | 2011-06-16 |
JP5161196B2 JP5161196B2 (en) | 2013-03-13 |
Family
ID=44114927
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2009276394A Expired - Fee Related JP5161196B2 (en) | 2009-12-04 | 2009-12-04 | Clock error detection system |
Country Status (3)
Country | Link |
---|---|
JP (1) | JP5161196B2 (en) |
GB (1) | GB2508788B (en) |
WO (1) | WO2011068080A1 (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE102013219277A1 (en) | 2013-09-25 | 2015-03-26 | Dr. Johannes Heidenhain Gmbh | Position measuring device and method for checking a working clock signal |
DE102014225867A1 (en) | 2014-12-15 | 2016-06-16 | Dr. Johannes Heidenhain Gmbh | Device and method for checking a working clock signal of a position-measuring device |
DE102017218767A1 (en) * | 2017-10-20 | 2019-04-25 | Dr. Johannes Heidenhain Gmbh | Multi-turn rotary encoder and method for operating a multi-turn rotary encoder |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH07221800A (en) * | 1994-02-02 | 1995-08-18 | Nec Corp | Data identification regeneration circuit |
JP2004507963A (en) * | 2000-08-30 | 2004-03-11 | シリコン イメージ インク | Data recovery using data eye tracking |
JP2004254324A (en) * | 2003-02-20 | 2004-09-09 | Samsung Electronics Co Ltd | Data recovery device and its recovery method |
JP2007142748A (en) * | 2005-11-17 | 2007-06-07 | Thine Electronics Inc | Clock data recovery device |
-
2009
- 2009-12-04 JP JP2009276394A patent/JP5161196B2/en not_active Expired - Fee Related
-
2010
- 2010-11-26 WO PCT/JP2010/071156 patent/WO2011068080A1/en active Application Filing
- 2010-11-26 GB GB1208385.3A patent/GB2508788B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH07221800A (en) * | 1994-02-02 | 1995-08-18 | Nec Corp | Data identification regeneration circuit |
JP2004507963A (en) * | 2000-08-30 | 2004-03-11 | シリコン イメージ インク | Data recovery using data eye tracking |
JP2004254324A (en) * | 2003-02-20 | 2004-09-09 | Samsung Electronics Co Ltd | Data recovery device and its recovery method |
JP2007142748A (en) * | 2005-11-17 | 2007-06-07 | Thine Electronics Inc | Clock data recovery device |
Also Published As
Publication number | Publication date |
---|---|
WO2011068080A1 (en) | 2011-06-09 |
GB2508788A (en) | 2014-06-18 |
GB201208385D0 (en) | 2012-06-27 |
GB2508788B (en) | 2015-10-14 |
JP5161196B2 (en) | 2013-03-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5727018A (en) | Process for obtaining a signal indicating a synchronization error between a pseudo-random signal sequence from a transmitter and a reference pseudo-random signal sequence from a receiver | |
US8755285B2 (en) | Method, system and apparatus for diagnosing physical downlink failure | |
US10578465B2 (en) | Sensor bus system and unit with internal event verification | |
KR101526874B1 (en) | Bi-directional watchdog apparatus and the controlling method thereof | |
JP5161196B2 (en) | Clock error detection system | |
US5528635A (en) | Synchronization detecting circuit | |
CN114095837B (en) | A system to avoid channel switching in I2S audio interface | |
JP4954249B2 (en) | Electronic terminal device and electronic interlocking device | |
US20020114409A1 (en) | Serial data communication apparatus and detection method for communication error | |
JP6492885B2 (en) | Diagnostic equipment | |
JP4962497B2 (en) | Clock monitoring circuit, information processing apparatus, and clock monitoring method | |
KR100856400B1 (en) | Synchronous Code Recovery Circuit and Its Method | |
JP5000554B2 (en) | Train detector | |
US20240088939A1 (en) | Communication device and communication method | |
EP1698105A1 (en) | Communication fault containment via indirect detection | |
US20240267267A1 (en) | Signal transmission and reception system, reception device, and reception method | |
JP3037299B1 (en) | Wireless output normality checking device and wireless output normality checking method | |
CN117686941A (en) | Communication device and communication method | |
JPH06169300A (en) | Fault detection system | |
JP2591455B2 (en) | Communication device | |
JPS5945304B2 (en) | Line failure detection method in two-wire communication equipment | |
US20040101078A1 (en) | Synchronization control method for electronic device | |
KR20000009092U (en) | Circuit inspection device in data transmission system | |
JPH04267631A (en) | Parity bit addition system | |
JPS5937748A (en) | Receiver for optical transmission |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20111128 |
|
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: 20121211 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20121213 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5161196 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20151221 Year of fee payment: 3 |
|
LAPS | Cancellation because of no payment of annual fees |