JP6169436B2 - Dual system verification device - Google Patents

Dual system verification device Download PDF

Info

Publication number
JP6169436B2
JP6169436B2 JP2013167163A JP2013167163A JP6169436B2 JP 6169436 B2 JP6169436 B2 JP 6169436B2 JP 2013167163 A JP2013167163 A JP 2013167163A JP 2013167163 A JP2013167163 A JP 2013167163A JP 6169436 B2 JP6169436 B2 JP 6169436B2
Authority
JP
Japan
Prior art keywords
value
circuit
count
verification
output
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.)
Active
Application number
JP2013167163A
Other languages
Japanese (ja)
Other versions
JP2015036820A (en
JP2015036820A5 (en
Inventor
修吾 増田
修吾 増田
昌秀 高橋
昌秀 高橋
英孝 高村
英孝 高村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nippon Signal Co Ltd
Original Assignee
Nippon Signal Co 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 Nippon Signal Co Ltd filed Critical Nippon Signal Co Ltd
Priority to JP2013167163A priority Critical patent/JP6169436B2/en
Publication of JP2015036820A publication Critical patent/JP2015036820A/en
Publication of JP2015036820A5 publication Critical patent/JP2015036820A5/ja
Application granted granted Critical
Publication of JP6169436B2 publication Critical patent/JP6169436B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Hardware Redundancy (AREA)

Description

本発明は2重系照合装置に係り、特に、CPUなどの処理回路を用いることなく、簡易な回路でフェールセーフ性を確保することを可能とした2重系照合装置に関する。   The present invention relates to a dual system verification apparatus, and more particularly to a dual system verification apparatus that can ensure fail-safety with a simple circuit without using a processing circuit such as a CPU.

従来から、例えば、鉄道信号保安装置や産業ロボットのように高い安全性と高い信頼性の要求される制御システムにおいて、2重系の演算装置が多く用いられている。   Conventionally, for example, in a control system that requires high safety and high reliability, such as a railway signal security device and an industrial robot, a double-system arithmetic device is often used.

このような2重系照合装置として、従来、例えば、A系演算処理回路と、B系演算処理回路と、照合回路と、リセット回路とを備え、A系演算処理回路とB系演算処理回路との間でデータの受け渡しを行い、系間でのデータの一致・不一致を判断するとともに、データ照合の結果が系間で一致しているか否かを判断し、データ照合の結果が不一致となった回数が閾値に達するまでは、データ照合の結果が異なることを示す信号の照合回路への出力を停止した上で、A系演算処理回路およびB系演算処理回路をリセットし、前記回数が閾値に達すると、データ照合の結果が異なることを示す信号を照合回路へ出力させるとともにリセットを停止し、照合回路の出力をハイレベルまたはローレベルに維持させることで、安全リレーを落下させようにした技術が開示されている(例えば、特許文献1を参照。)。   As such a dual system verification device, conventionally, for example, an A system arithmetic processing circuit, a B system arithmetic processing circuit, a verification circuit, and a reset circuit are provided, and an A system arithmetic processing circuit and a B system arithmetic processing circuit are provided. Data is exchanged between the systems, and it is judged whether the data matches or does not match between the systems, and whether the data matching results match between the systems, and the data matching results do not match Until the number of times reaches the threshold value, output of the signal indicating that the result of the data matching is different to the verification circuit is stopped, and then the A-system arithmetic processing circuit and the B-system arithmetic processing circuit are reset. When it reaches, let's output a signal indicating that the result of data verification is different to the verification circuit, stop reset, and maintain the output of the verification circuit at high level or low level to drop the safety relay Techniques have been disclosed (e.g., see Patent Document 1.).

特開2012−038026号公報JP 2012-038026 A

しかしながら、前記従来の技術においては、2つの演算処理回路から独立した照合回路が必要であり、しかも、2つの演算処理回路はクロック同期を行うようにしているので、回路が複雑化するとともに、大規模なものとなり、CPUなどの演算回路を用いて処理を行う必要があるという問題を有している。   However, the conventional technique requires a collation circuit independent of the two arithmetic processing circuits, and the two arithmetic processing circuits perform clock synchronization, so that the circuit becomes complicated and large. There is a problem that it is necessary to perform processing using an arithmetic circuit such as a CPU.

また、近年、国際規格IEC62425に基づくSLI4レベルの安全性を達成することが望まれており、このようにSLI4レベルの安全性を達成するためには、各演算処理回路のクロックの独立性を確保する必要があり、従来の技術においては、CPUなど使用する部品点数が多く、クロックの独立化が極めて困難であるという問題を有している。そのため、CPUなどの処理回路を用いることなく、簡易な回路でフェールセーフ性を確保することができる2重系照合装置が望まれていた。   In recent years, it has been desired to achieve SLI4 level safety based on the international standard IEC62425. In order to achieve SLI4 level safety in this way, the clock of each arithmetic processing circuit is ensured independence. Therefore, the conventional technique has a problem that the number of components such as a CPU is large and it is extremely difficult to make the clock independent. Therefore, there has been a demand for a dual collation apparatus that can ensure fail-safety with a simple circuit without using a processing circuit such as a CPU.

本発明は前記した点に鑑みてなされたものであり、CPUなどの処理回路を用いることなく、簡易な回路でフェールセーフ性を確保することのできる2重系照合装置を提供することを目的とするものである。   The present invention has been made in view of the above points, and an object of the present invention is to provide a dual system verification device that can ensure fail-safety with a simple circuit without using a processing circuit such as a CPU. To do.

本発明は前記目的を達成するために、請求項1の発明に係る2重系照合装置は、所定の入力信号に基づいてカウントしたカウント値が目標値に達したら、前記カウント値を予め設定された互いに異なる任意設定値にそれぞれ置き換える第1及び第2の出力カウンタと、
前記第1及び第2の出力カウンタカウント値の比較を行い、不一致が検出されたら、各カウント値を対応する任意設定値とそれぞれ照合し、カウント値と任意設定値とが一致した場合にカウント動作が正常と判断する照合回路と、
を備えることを特徴とする。
In order to achieve the above object, according to the present invention, the dual system verification device according to the first aspect of the present invention sets the count value in advance when the count value counted based on a predetermined input signal reaches a target value. First and second output counters that are respectively replaced with different arbitrary set values;
The count values of the first and second output counters are compared, and if a mismatch is detected, each count value is collated with the corresponding arbitrary set value, and the count value and the arbitrary set value are counted. A verification circuit that determines that the operation is normal;
It is characterized by providing.

請求項2に係る発明は、請求項1において、前記第1及び第2の出力カウンタをそれぞれ備えた第1照合装置及び第2照合装置を備え、
前記第1及び第2の出力カウンタは、前記入力信号とこの入力信号が検出器を介して入力される信号に基づいてカウントを行い、
前記第1照合装置及び前記第2照合装置は、前記入力信号と前記検出器を介して入力される信号との位相差を検出して前記第1及び第2の出力カウンタに送る位相比較回路をそれぞれ備えていることを特徴とする。
An invention according to a second aspect includes the first collation device and the second collation device each including the first and second output counters according to the first aspect,
The first and second output counters perform counting based on the input signal and a signal to which the input signal is input via a detector,
The first verification unit and the second verification device, a phase comparator circuit for detecting a phase difference and sends the first and second output counter with signal input via the input signal and the detector It is characterized by having each.

請求項3に係る発明は、請求項2において、前記第1照合装置及び前記第2照合装置は、前記位相比較回路から送られる位相差を入力して、この位相差に対応する周波数信号に変換して前記第1及び第2の出力カウンタに送る変換回路をさらに備えていることを特徴とする。 According to a third aspect of the present invention, in the second aspect, the first verification device and the second verification device receive the phase difference sent from the phase comparison circuit and convert it into a frequency signal corresponding to the phase difference. And a conversion circuit for sending to the first and second output counters.

請求項4に係る発明は、請求項1から請求項3のいずれか一項において、前記任意設定値は、前記第1及び第2の出力カウンタによる通常のカウントでは、発生し得ない値であることを特徴とする。
請求項5に係る発明は、請求項1から請求項4のいずれか一項において、前記照合回路は、前記第1及び第2の出力カウンタによるカウント値の差が予め設定された許容値を超えたら、前記任意設定値と照合することを特徴とする。
According to a fourth aspect of the present invention, in any one of the first to third aspects, the arbitrary set value is a value that cannot be generated in a normal count by the first and second output counters. It is characterized by that.
According to a fifth aspect of the present invention, in the verification circuit according to any one of the first to fourth aspects, the difference between the count values of the first and second output counters exceeds a preset allowable value. Then, it is collated with the arbitrary set value.

請求項1に係る発明によれば、第1及び第2の出力カウンタにより、カウント値が目標値に達したら、カウント値を予め設定された互いに異なる任意設定値にそれぞれ置き換える。また、照合回路は、第1及び第2の出力カウンタカウント値の比較を行い、不一致が検出されたら、各カウント値を対応する任意設定値とそれぞれ照合し、カウント値と任意設定値とが一致した場合にカウント動作が正常と判断するようにしている。以上により、CPUなどの処理回路を用いることなく、簡易な回路でフェールセーフ性を確保することができる。

According to the first aspect of the present invention, when the count value reaches the target value by the first and second output counters, the count value is replaced with a preset arbitrary set value. The collation circuit compares the count values of the first and second output counters. When a mismatch is detected, each count value is collated with the corresponding arbitrary set value, and the count value and the arbitrary set value are obtained. If they match, the count operation is determined to be normal. As described above, fail-safety can be secured with a simple circuit without using a processing circuit such as a CPU.

請求項2に係る発明によれば、第1及び第2の出力カウンタをそれぞれ備えた第1照合装置及び第2照合装置に、入力信号と検出器を介して入力される信号との位相差を検出して第1及び第2の出力カウンタに送る位相比較回路をそれぞれ設けるようにしているので、位相比較回路により、信号と検出器を介して入力される信号との位相差を検出して第1及び第2の出力カウンタに送ることができる。 According to the second aspect of the present invention, the phase difference between the input signal and the signal input via the detector is inputted to the first collation device and the second collation device each having the first and second output counters. Since a phase comparison circuit for detecting and sending to the first and second output counters is provided, the phase comparison circuit detects the phase difference between the signal and the signal input via the detector . Can be sent to the first and second output counters.

請求項3に係る発明によれば、第1照合装置及び第2照合装置に、位相比較回路から送られる位相差を入力して、この位相差に対応する周波数信号に変換して第1及び第2の出力カウンタに送る変換回路をさらに設けるようにしているので、変換回路により、位相差に対応する周波数信号に変換して第1及び第2の出力カウンタに送ることができ、第1及び第2の出力カウンタにより、ウントを行うことができる。 According to the third aspect of the present invention, the phase difference sent from the phase comparison circuit is input to the first collation device and the second collation device, and the first and second collation devices are converted into frequency signals corresponding to the phase difference . Since a conversion circuit for sending to the second output counter is further provided, the conversion circuit can convert the frequency signal corresponding to the phase difference and send it to the first and second output counters . the second output counter, it is possible to perform counting.

請求項4に係る発明によれば、任意設定値を、第1及び第2の出力カウンタによる通常のカウントでは、発生し得ない値としているので、任意設定値を用いることにより、第1及び第2の出力カウンタのカウンタ値の照合を適正に行うことができる。 According to the fourth aspect of the present invention, the arbitrary set value is a value that cannot be generated in the normal counts by the first and second output counters . The counter values of the two output counters can be properly verified.

本発明に係る2重系照合装置の実施形態を示す概略構成図である。It is a schematic block diagram which shows embodiment of the double type | system | group collation apparatus which concerns on this invention. 本発明に係る2重系照合装置の実施形態における位相調整回路、位相比較回路、位相/周波数変換テーブルによる動作を示すフローチャートである。It is a flowchart which shows the operation | movement by the phase adjustment circuit, phase comparison circuit, and phase / frequency conversion table in embodiment of the double type | system | group collation apparatus which concerns on this invention. 本発明に係る2重系照合装置の実施形態における出力カウンタによる動作を示すフローチャートである。It is a flowchart which shows the operation | movement by the output counter in embodiment of the double type | system | group collation apparatus which concerns on this invention. 本発明に係る2重系照合装置の実施形態における照合回路による動作を示すフローチャートである。It is a flowchart which shows the operation | movement by the collation circuit in embodiment of the double system collation apparatus which concerns on this invention.

以下、本発明の実施形態について図面を参照して説明する。   Embodiments of the present invention will be described below with reference to the drawings.

図1は、本発明に係る2重系照合装置の実施形態を示す概略構成図であり、図1において、本実施形態の2重系照合装置は、信号の位相を周波数に変換するための第1照合装置1と、第2照合装置2とから構成されている。これら第1照合装置1と、第2照合装置2とは、同一の構成であるから、以下、第1照合装置1について説明する。   FIG. 1 is a schematic configuration diagram showing an embodiment of a dual system verification device according to the present invention. In FIG. 1, the dual system verification device of this embodiment is a first system for converting the phase of a signal into a frequency. 1 collation device 1 and 2nd collation device 2 are comprised. Since the first verification device 1 and the second verification device 2 have the same configuration, the first verification device 1 will be described below.

第1照合装置1は、位相調整回路3と、位相比較回路4と、変換回路としての位相/周波数変換テーブル5と、出力カウンタ6と、照合回路7と、出力生成回路8とをそれぞれ有している。   The first verification device 1 includes a phase adjustment circuit 3, a phase comparison circuit 4, a phase / frequency conversion table 5 as a conversion circuit, an output counter 6, a verification circuit 7, and an output generation circuit 8. ing.

位相調整回路3には、図示しない送信部から送られる信号f1(TX)が入力されるように構成されており、位相調整回路3は、所定のシフト設定値に基づいて、信号f1(TX)の位相の時間的なずれを調整するように構成されている。   The phase adjustment circuit 3 is configured to receive a signal f1 (TX) sent from a transmission unit (not shown). The phase adjustment circuit 3 receives the signal f1 (TX) based on a predetermined shift setting value. It is configured to adjust the time lag of the phase.

位相比較回路4には、送信部から、信号f1が図示しない検出器などを介して送られる信号f1(RX)が入力されるように構成されており、位相比較回路4は、カウンタなどにより構成されている。位相比較回路4は、位相調整回路3から信号f1(TX)が送られた場合に、位相差カウントを開始するものであり、この位相差カウントは、第1照合装置1の動作クロックの立ち上がりタイミングで、カウントするように構成されている。そして、位相比較回路4は、f1(RX)が入力された場合に、信号f1(TX)の位相差カウントを停止し、信号f1(TX)と、信号f1RXとの位相差をカウントするように構成されている。すなわち、信号f1(TX)と、信号f1(RX)との位相差を、動作クロックのパルス数によりカウントするようにしたものである。   The phase comparison circuit 4 is configured to receive a signal f1 (RX) from which a signal f1 is sent from a transmission unit via a detector (not shown). The phase comparison circuit 4 is configured by a counter or the like. Has been. The phase comparison circuit 4 starts the phase difference count when the signal f1 (TX) is sent from the phase adjustment circuit 3, and this phase difference count is the rising timing of the operation clock of the first verification device 1. And is configured to count. Then, when f1 (RX) is input, the phase comparison circuit 4 stops counting the phase difference of the signal f1 (TX) and counts the phase difference between the signal f1 (TX) and the signal f1RX. It is configured. That is, the phase difference between the signal f1 (TX) and the signal f1 (RX) is counted by the number of pulses of the operation clock.

位相/周波数変換テーブル5には、位相差に対して変換する周波数があらかじめ設定されており、位相比較回路4により、信号f1(TX)と、信号f1(RX)との位相差がカウントされた場合には、位相/周波数変換テーブル5により、位相差のカウント値を周波数に変換するとともに、出力目標値に置き換えて、出力カウンタ6に出力するように構成されている。そして、目標値が出力された場合には、位相比較回路4は、位相差のカウンタをリセットし、次の信号が入力されるまで待機するように構成されている。   In the phase / frequency conversion table 5, the frequency to be converted with respect to the phase difference is set in advance, and the phase comparison circuit 4 counts the phase difference between the signal f1 (TX) and the signal f1 (RX). In such a case, the phase / frequency conversion table 5 converts the count value of the phase difference into a frequency, replaces it with an output target value, and outputs it to the output counter 6. When the target value is output, the phase comparison circuit 4 is configured to reset the phase difference counter and wait until the next signal is input.

出力カウンタ6は、出力目標値が入力された場合には、目標値をセットするとともに、カウントを開始するように構成されている。そして、出力カウンタ6は、カウント値が目標値に達したら、カウンタのカウンタ値を任意設定値に置き換えるように構成されており、同時に、他系に任意設定値に置き換える指示を送るように構成されている。ここで、任意設定値は、あらかじめ定めた値であり、第1照合装置1と第2照合装置2とで異なる値に設定されるとともに、通常のカウントでは発生し得ない値となっている。   The output counter 6 is configured to set a target value and start counting when an output target value is input. The output counter 6 is configured to replace the counter value of the counter with an arbitrarily set value when the count value reaches the target value, and at the same time, configured to send an instruction to replace the counter value with the arbitrarily set value to another system. ing. Here, the arbitrarily set value is a predetermined value, and is set to a different value between the first verification device 1 and the second verification device 2, and is a value that cannot be generated by a normal count.

また、第2照合装置2の出力カウンタ6は、第2照合装置2のカウント値が、第1照合装置1のカウント値より先に、目標値に達した場合には、第1照合装置1に対して任意設定値に置き換えるように指示を送るように構成されており、第1照合装置1の出力カウンタ6は、任意設定値の置き換え指示を受けた場合には、カウント値が目標値に達していなくても、カウント値を任意設定値に置き換えるように構成されている。ただし、この場合に、出力カウンタ6は、カウント値が目標値と所定の誤差範囲である場合には、カウント値を任意設定値に置き換えるが、カウント値と目標値とが誤差範囲を超えて一致していない場合は、異常であるとしてカウントを停止するように構成されている。   In addition, the output counter 6 of the second collation device 2 sets the first collation device 1 when the count value of the second collation device 2 reaches the target value before the count value of the first collation device 1. The output counter 6 of the first verification device 1 is configured to send an instruction to replace it with an arbitrary set value. When the output counter 6 of the first collating device 1 receives an instruction to replace the arbitrary set value, the count value reaches the target value. Even if not, it is configured to replace the count value with an arbitrarily set value. However, in this case, the output counter 6 replaces the count value with an arbitrarily set value when the count value is within the predetermined error range with the target value. If not, the count is stopped as abnormal.

また、照合回路7は、第1照合装置1と第2照合装置2とのカウント値を常に比較し、その差があらかじめ決めてある許容値を超えていないか判断するように構成されている。ここで、第1照合装置1と第2照合装置2とは、完全に同期しているものではないことから、第1照合装置1と第2照合装置2のカウント値は、完全に一致するとは限らないので、数カウント程度の許容範囲を設定し、この許容範囲にある場合には、第1照合装置1と第2照合装置2とは一致しているものとして取り扱うように構成されている。   The collation circuit 7 is configured to always compare the count values of the first collation device 1 and the second collation device 2 and determine whether or not the difference exceeds a predetermined allowable value. Here, since the first verification device 1 and the second verification device 2 are not completely synchronized, the count values of the first verification device 1 and the second verification device 2 are completely identical. Since it is not limited, an allowable range of about several counts is set, and when it is within this allowable range, the first verification device 1 and the second verification device 2 are handled as being coincident.

そして、照合回路7は、第1照合装置1と第2照合装置2のカウント値が一致している場合には、カウントを続けるように構成されている。照合回路7は、第1照合装置1と第2照合装置2のカウント値が許容差を超えて不一致となった場合には、カウント値を任意設定値と照合し、カウント値が任意設定値と一致する場合には、出力生成回路8に出力を反転させる指示を送るように構成されている。一方、カウント値が任意設定値と一致しない場合には、正常ではないと判断して、カウント動作を停止するように構成されている。このカウント値と任意設定値との照合は、正常動作の確認も兼ねている。そして、照合回路7は、カウント値が任意設定値と一致する場合には、カウントをリセットして、位相/周波数変換テーブル5から出力目標値が入力されるまで、待機するように構成されている。   And the collation circuit 7 is comprised so that a count may be continued when the count value of the 1st collation apparatus 1 and the 2nd collation apparatus 2 corresponds. When the count values of the first verification device 1 and the second verification device 2 exceed the tolerance and do not match, the verification circuit 7 compares the count value with the arbitrarily set value, and the count value becomes the arbitrarily set value. If they match, an instruction to invert the output is sent to the output generation circuit 8. On the other hand, when the count value does not match the arbitrarily set value, it is determined that the count value is not normal, and the count operation is stopped. The collation between the count value and the arbitrarily set value also serves as confirmation of normal operation. When the count value matches the arbitrarily set value, the matching circuit 7 is configured to reset the count and wait until the output target value is input from the phase / frequency conversion table 5. .

出力生成回路8は、照合回路7から、出力を反転させる指示が送られた場合に、出力を反転させて目的の周波数パルスを生成して出力するように構成されている。なお、カウント値が任意設定値と一致せず、カウント動作を停止して場合には、照合回路7から出力の反転指示が送られないので、目的の周波数パルスは、出力されない。   The output generation circuit 8 is configured to generate and output a target frequency pulse by inverting the output when an instruction to invert the output is sent from the collation circuit 7. When the count value does not match the arbitrarily set value and the count operation is stopped, the inversion instruction for the output is not sent from the collating circuit 7, so that the target frequency pulse is not output.

なお、本実施形態においては、第1照合装置1および第2照合装置2は、信号f1が入力される回路の他、信号f2が入力される同様の回路を備えており、信号f2についても、位相を周波数に変換することができるように構成されている。この場合に、本実施形態においては、第1照合装置1および第2照合装置2の出力は、1系統で足りることから、出力生成回路8は、第1照合装置1にのみ設けるように構成されている。   In the present embodiment, the first verification device 1 and the second verification device 2 include a similar circuit to which the signal f2 is input in addition to the circuit to which the signal f1 is input. The phase can be converted into a frequency. In this case, in this embodiment, the output of the first collation device 1 and the second collation device 2 suffices with one system, and therefore the output generation circuit 8 is configured to be provided only in the first collation device 1. ing.

次に、本実施形態の動作について説明する。   Next, the operation of this embodiment will be described.

まず、位相調整回路3、位相比較回路4および位相/周波数変換テーブル5による動作について、図2に示すフローチャートを参照して説明する。   First, operations by the phase adjustment circuit 3, the phase comparison circuit 4, and the phase / frequency conversion table 5 will be described with reference to the flowchart shown in FIG.

位相調整回路3に、送信部から信号f1(TX)が入力されると(ST1)、位相調整回路3により、所定のシフト設定値に基づいて、信号f1(TX)の位相の時間的なずれを調整する(ST2)。   When the signal f1 (TX) is input from the transmission unit to the phase adjustment circuit 3 (ST1), the phase adjustment circuit 3 causes the phase shift of the phase of the signal f1 (TX) based on a predetermined shift setting value. Is adjusted (ST2).

そして、位相比較回路4に位相調整回路3から信号f1(TX)が送られた場合に、位相差カウントを開始し(ST3)、位相比較回路4に、f1(RX)が入力された場合に(ST4:YES)、信号f1(TX)の位相差カウントを停止し(ST5)、信号f1(TX)と、信号f1(RX)との位相差をカウントする(ST6)。   When the signal f1 (TX) is sent from the phase adjustment circuit 3 to the phase comparison circuit 4, the phase difference count is started (ST3), and when f1 (RX) is input to the phase comparison circuit 4. (ST4: YES), the phase difference counting of the signal f1 (TX) is stopped (ST5), and the phase difference between the signal f1 (TX) and the signal f1 (RX) is counted (ST6).

その後、位相/周波数変換テーブル5により、信号f1(TX)と、信号f1(RX)との位相差のカウント値を周波数に変換するとともに、出力目標値に置き換えて、出力カウンタ6に出力する(ST7)。そして、目標値が出力された場合には、位相比較回路4により、位相差のカウンタをリセットし(ST8)、次の信号が入力されるまで待機する。   Thereafter, the phase / frequency conversion table 5 converts the count value of the phase difference between the signal f1 (TX) and the signal f1 (RX) into a frequency, replaces it with the output target value, and outputs it to the output counter 6 ( ST7). When the target value is output, the phase comparison circuit 4 resets the phase difference counter (ST8), and waits until the next signal is input.

次に、出力カウンタ6による動作について、図3に示すフローチャートを参照して説明する。なお、この出力カウンタ6の動作については、主として第1照合装置1の動作について説明する。   Next, the operation of the output counter 6 will be described with reference to the flowchart shown in FIG. The operation of the output counter 6 will be described mainly with respect to the operation of the first verification device 1.

本実施形態においては、出力カウンタ6に、目標値が入力された場合には、目標値をセットし(ST10)、カウントを開始する(ST11)。そして、第2照合装置2から任意設定値に置き換える指示が送られていない場合(ST12:NO)、カウント値が目標値に達したら(ST13:YES)、カウンタのカウント値を任意設定値に置き換える(ST14)。そして、第2照合装置2に対して任意設定値を置き換える指示を送る(ST15)。   In the present embodiment, when a target value is input to the output counter 6, the target value is set (ST10) and counting is started (ST11). And when the instruction | indication which replaces with an arbitrary setting value is not sent from the 2nd collation apparatus 2 (ST12: NO), if a count value reaches target value (ST13: YES), the count value of a counter will be replaced with an arbitrary setting value. (ST14). Then, an instruction to replace the arbitrarily set value is sent to the second verification device 2 (ST15).

一方、他の照合装置から任意設定値に置き換える指示が送られた場合には(ST12:YES)、カウント値が誤差範囲である場合には(ST16:YES)、カウンタのカウンタ値を任意設定値に置き換え(ST14)、カウント値と目標値とが誤差範囲を超えて一致していない場合は(ST16:NO)、異常であるとしてカウントを停止する(ST17)。   On the other hand, when an instruction to replace with an arbitrary set value is sent from another verification device (ST12: YES), when the count value is within an error range (ST16: YES), the counter value of the counter is set to an arbitrary set value. (ST14), and if the count value and the target value do not coincide with each other beyond the error range (ST16: NO), the count is stopped as being abnormal (ST17).

次に、照合回路7による動作について、図4に示すフローチャートを参照して説明する。   Next, the operation of the verification circuit 7 will be described with reference to the flowchart shown in FIG.

本実施形態においては、照合回路7により、第1照合装置1と第2照合装置2とのカウント値を常に照合し(ST20)、その差があらかじめ決めてある許容値を超えていないか判断する。そして、第1照合装置1と第2照合装置2のカウント値が許容値を超えておらず一致していると判断する場合には(ST21:YES)、カウントを続け、第1照合装置1と第2照合装置2のカウント値が許容差を超えて不一致となった場合には(ST21:NO)、カウント値を任意設定値と照合し(ST22)、カウント値が任意設定値と一致する場合には(ST23:YES)、出力生成回路8に出力を反転させる指示を送る(ST24)。そして、カウント値が任意設定値と一致する場合には、出力カウントをリセットして(ST25)、位相/周波数変換テーブル5から出力目標値が入力されるまで、待機する。   In this embodiment, the collation circuit 7 always collates the count values of the first collation device 1 and the second collation device 2 (ST20), and determines whether or not the difference exceeds a predetermined allowable value. . And when it is judged that the count value of the 1st collation apparatus 1 and the 2nd collation apparatus 2 has not exceeded the allowable value and is in agreement (ST21: YES), the count is continued and the first collation apparatus 1 When the count value of the second verification device 2 exceeds the tolerance and does not match (ST21: NO), the count value is checked against the arbitrarily set value (ST22), and the count value matches the arbitrarily set value (ST23: YES), an instruction to invert the output is sent to the output generation circuit 8 (ST24). If the count value matches the arbitrarily set value, the output count is reset (ST25), and the process waits until the output target value is input from the phase / frequency conversion table 5.

一方、カウント値が任意設定値と一致しない場合には(ST23:NO)、正常ではないと判断して、カウント動作を停止する(ST26)。   On the other hand, if the count value does not match the arbitrarily set value (ST23: NO), it is determined that the count value is not normal, and the count operation is stopped (ST26).

以上述べたように、本実施形態においては、出力カウンタ6により、所定の目標値までカウントを行うとともに、このカウント値が目標値に達したら、カウント値を任意設定値に置き換え、照合回路7により、第1照合装置1および第2照合装置2によるカウント値の比較を行い、その差があらかじめ設定された許容値を超えて不一致が検出されたら、前記任意設定値と照合し、両者が一致した場合に正常と判断するようにしているので、CPUなどの処理回路を用いることなく、また、独立した照合回路7が不要となり、簡易な回路でフェールセーフ性を確保することができる。   As described above, in this embodiment, the output counter 6 counts up to a predetermined target value, and when this count value reaches the target value, the count value is replaced with an arbitrarily set value, and the collating circuit 7 The count values of the first verification device 1 and the second verification device 2 are compared, and when the difference exceeds a preset allowable value and a mismatch is detected, the result is compared with the arbitrarily set value and the two match. In this case, since it is determined that the operation is normal, an independent verification circuit 7 is not required without using a processing circuit such as a CPU, and fail-safety can be ensured with a simple circuit.

また、一方の出力カウンタ6により、カウント値が目標値に達したら、カウンタのカウント値を任意設定値に置き換えるとともに、他方の出力カウンタ6に任意設定値に置き換える指示を送るようにしているので、他方の出力カウンタ6により、カウント値が目標値に達したとして、処理することができ、第1照合装置1と第2照合装置2の出力カウンタ6の同期をとることができる。   Also, when the count value reaches the target value by one output counter 6, the counter value is replaced with an arbitrarily set value, and an instruction to replace the other set value with an arbitrarily set value is sent to the other output counter 6. The other output counter 6 can process the count value when it reaches the target value, and can synchronize the output counter 6 of the first verification device 1 and the second verification device 2.

さらに、任意設定値を、通常のカウントでは発生し得ない値にしているので、任意設定値を用いることにより、第1照合装置1と第2照合装置2の出力カウンタ6のカウンタ値の照合を適正に行うことができる。   Furthermore, since the arbitrary set value is set to a value that cannot be generated by a normal count, the counter value of the output counter 6 of the first verification device 1 and the second verification device 2 is verified by using the arbitrary set value. It can be done properly.

なお、本発明は前記実施形態に限定されるものではなく、本発明の趣旨に基づいて種々の変形が可能である。   In addition, this invention is not limited to the said embodiment, A various deformation | transformation is possible based on the meaning of this invention.

1 第1照合装置
2 第2照合装置
3 位相調整回路
4 位相比較回路
5 位相/周波数変換テーブル
6 出力カウンタ
7 照合回路
8 出力生成回路
DESCRIPTION OF SYMBOLS 1 1st collation apparatus 2 2nd collation apparatus 3 Phase adjustment circuit 4 Phase comparison circuit 5 Phase / frequency conversion table 6 Output counter 7 Collation circuit 8 Output generation circuit

Claims (5)

所定の入力信号に基づいてカウントしたカウント値が目標値に達したら、前記カウント値を予め設定された互いに異なる任意設定値にそれぞれ置き換える第1及び第2の出力カウンタと、
前記第1及び第2の出力カウンタカウント値の比較を行い、不一致が検出されたら、各カウント値を対応する任意設定値とそれぞれ照合し、カウント値と任意設定値とが一致した場合にカウント動作が正常と判断する照合回路と、
を備えることを特徴とする2重系照合装置。
First and second output counters that replace the count value with a preset arbitrary set value when the count value counted based on a predetermined input signal reaches a target value;
The count values of the first and second output counters are compared, and if a mismatch is detected, each count value is collated with the corresponding arbitrary set value, and the count value and the arbitrary set value are counted. A verification circuit that determines that the operation is normal;
A double system verification apparatus comprising:
前記第1及び第2の出力カウンタをそれぞれ備えた第1照合装置及び第2照合装置を備え、
前記第1及び第2の出力カウンタは、前記入力信号とこの入力信号が検出器を介して入力される信号に基づいてカウントを行い、
前記第1照合装置及び前記第2照合装置は、前記入力信号と前記検出器を介して入力される信号との位相差を検出して前記第1及び第2の出力カウンタに送る位相比較回路をそれぞれ備えていることを特徴とする請求項1に記載の2重系照合装置。
A first collation device and a second collation device each comprising the first and second output counters;
The first and second output counters perform counting based on the input signal and a signal to which the input signal is input via a detector,
The first verification device and the second verification device each include a phase comparison circuit that detects a phase difference between the input signal and a signal input through the detector and sends the phase difference to the first and second output counters. The dual system verification device according to claim 1, wherein each of the dual system verification devices is provided.
前記第1照合装置及び前記第2照合装置は、前記位相比較回路から送られる位相差を入力して、この位相差に対応する周波数信号に変換して前記第1及び第2の出力カウンタに送る変換回路をさらに備えていることを特徴とする請求項2に記載の2重系照合装置。   The first collation device and the second collation device receive the phase difference sent from the phase comparison circuit, convert it into a frequency signal corresponding to this phase difference, and send it to the first and second output counters. The dual system verification apparatus according to claim 2, further comprising a conversion circuit. 前記任意設定値は、前記第1及び第2の出力カウンタによる通常のカウントでは、発生し得ない値であることを特徴とする請求項1から請求項3のいずれか一項に記載の2重系照合装置。   4. The double according to claim 1, wherein the arbitrary set value is a value that cannot be generated in a normal count by the first and second output counters. 5. System verification device. 前記照合回路は、前記第1及び第2の出力カウンタによるカウント値の差が予め設定された許容値を超えたら、前記任意設定値と照合することを特徴とする請求項1から請求項4のいずれか一項に記載の2重系照合装置。   5. The verification circuit according to claim 1, wherein when the difference between the count values of the first and second output counters exceeds a preset allowable value, the verification circuit performs verification with the arbitrary set value. The double system verification device according to any one of the above.
JP2013167163A 2013-08-09 2013-08-09 Dual system verification device Active JP6169436B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013167163A JP6169436B2 (en) 2013-08-09 2013-08-09 Dual system verification device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013167163A JP6169436B2 (en) 2013-08-09 2013-08-09 Dual system verification device

Publications (3)

Publication Number Publication Date
JP2015036820A JP2015036820A (en) 2015-02-23
JP2015036820A5 JP2015036820A5 (en) 2016-11-10
JP6169436B2 true JP6169436B2 (en) 2017-07-26

Family

ID=52687309

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013167163A Active JP6169436B2 (en) 2013-08-09 2013-08-09 Dual system verification device

Country Status (1)

Country Link
JP (1) JP6169436B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106874096A (en) * 2017-02-27 2017-06-20 北京珠穆朗玛移动通信有限公司 Application management method and mobile terminal based on dual system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0767081B2 (en) * 1988-10-31 1995-07-19 山武ハネウエル株式会社 Pulse counting circuit diagnosis method
JPH04361330A (en) * 1991-06-07 1992-12-14 Nippon Steel Corp Diagnostic device for counter
JP5905697B2 (en) * 2011-10-06 2016-04-20 株式会社日立製作所 Fail-safe device

Also Published As

Publication number Publication date
JP2015036820A (en) 2015-02-23

Similar Documents

Publication Publication Date Title
US9003271B2 (en) Error detecting device and method of a dual controller system
JP3897046B2 (en) Information processing apparatus and information processing method
US7996714B2 (en) Systems and methods for redundancy management in fault tolerant computing
US9182783B2 (en) Synchronization apparatus and field device
US11016463B2 (en) Control and data-transfer system, gateway module, I/O module, and method for process control
US9956973B2 (en) System, method, and apparatus for generating vital messages on an on-board system of a vehicle
US20080313426A1 (en) Information Processing Apparatus and Information Processing Method
US11354261B2 (en) Process control system
JP6169436B2 (en) Dual system verification device
KR101203872B1 (en) Error detection apparatus and method for dual microcontroller system
KR101242398B1 (en) Error detection apparatus and method for dual microcontroller system
EP3719593B1 (en) Equipment unit state controlling method and device, and equipment unit
JP4825699B2 (en) Fail-safe CPU operation monitoring device
JP4752552B2 (en) Data processing apparatus and synchronization method thereof
US10877919B2 (en) Method to synchronize integrated circuits fulfilling functional safety requirements
KR101242407B1 (en) Error detection apparatus and method for dual microcontroller system
JP2006178730A (en) Safe signal i/f device and duplicated signal input processing method thereof
US20090106461A1 (en) Information Processing Apparatus and Information Processing Method
US20190171535A1 (en) Data Transmission Between Computation Units Having Safe Signaling Technology
JP6274436B2 (en) Redundant control system
KR101242396B1 (en) Error detection apparatus and method for dual microcontroller system
JP2009086939A (en) Bus comparison type multiplex system processor
JP2023131386A (en) Semiconductor device
KR101273278B1 (en) Error detection apparatus and method for dual microcontroller system
JP2008109325A (en) Communication system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160729

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160921

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170428

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170502

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170612

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: 20170627

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170628

R150 Certificate of patent or registration of utility model

Ref document number: 6169436

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150