JP2007067801A - Switching control system and control unit applied thereto - Google Patents
Switching control system and control unit applied thereto Download PDFInfo
- Publication number
- JP2007067801A JP2007067801A JP2005250932A JP2005250932A JP2007067801A JP 2007067801 A JP2007067801 A JP 2007067801A JP 2005250932 A JP2005250932 A JP 2005250932A JP 2005250932 A JP2005250932 A JP 2005250932A JP 2007067801 A JP2007067801 A JP 2007067801A
- Authority
- JP
- Japan
- Prior art keywords
- signal
- control
- output
- failure detection
- serial
- 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
Images
Landscapes
- Selective Calling Equipment (AREA)
Abstract
Description
本発明は、シリアル通信線を介して制御対象装置に着脱可能に接続された1対の制御ユニットを用いて、いずれか一方の制御ユニットで制御対象装置を制御する切替制御システム及びこれに適用される制御ユニットに関する。 The present invention is applied to a switching control system in which a control target device is controlled by one of the control units using a pair of control units detachably connected to the control target device via a serial communication line. Related to the control unit.
従来から、放送設備における音声出力の制御などにおいては、1対の制御ユニットを用いて音声出力装置を制御する切替制御システムが採用されている。このように、1対の制御ユニットを用いて制御対象装置を制御する切替制御システムでは、いずれか一方の制御ユニットから制御対象装置に制御信号を出力することにより、制御対象装置の動作を制御する。1対の制御ユニットのうち一方の制御ユニットで制御対象装置の制御を行い、制御中にその制御ユニットが故障するなどして制御対象装置の制御を行うことができなくなった場合に、他方の制御ユニットで制御対象装置を制御するように切り替えることにより、引き続き制御対象装置の制御を行うことができる(例えば、特許文献1)。 2. Description of the Related Art Conventionally, a switching control system for controlling an audio output device using a pair of control units has been adopted in audio output control in broadcasting facilities. In this way, in the switching control system that controls the control target device using a pair of control units, the operation of the control target device is controlled by outputting a control signal from either one of the control units to the control target device. . When one control unit of a pair of control units controls a control target device and the control unit cannot be controlled due to a failure of the control unit during control, the other control unit By switching so that the control target device is controlled by the unit, the control target device can be continuously controlled (for example, Patent Document 1).
図7は、従来の切替制御システムの一構成例を示したブロック図である。この例では、制御ユニットとして1対の中央処理ユニット101が備えられ、これらの中央処理ユニット101が切替ユニット102を介して1又は2以上の制御対象装置103に接続されている。切替ユニット102は、パラレル通信線104を介して制御対象装置103に接続されている。
FIG. 7 is a block diagram showing a configuration example of a conventional switching control system. In this example, a pair of
各中央処理ユニット101は、CPU(Central Processing Unit)を備え、このCPUの制御により、制御信号及び故障検出信号を出力する。制御信号は、制御対象装置103を制御するための信号である。故障検出信号は、その中央処理ユニット101に故障が検出された場合に出力される信号であり、いわゆるWDT(Watch Dog Timer)からの出力信号により構成することができる(例えば、特許文献2及び3)。WDTは、中央処理ユニット101内で周期的に生成されるWD(Watch Dog)パルスを監視しており、WDパルスが一定時間出力されない場合に故障検出信号を出力する。
Each
切替ユニット102は、切替スイッチ105及び切替論理回路106を備えている。切替スイッチ105には、各中央処理ユニット101から制御信号が入力され、切替論理回路106には、各中央処理ユニット101から故障検出信号が入力される。切替論理回路106は、いずれかの中央処理ユニット101から故障検出信号が出力された場合に、切替スイッチ105に切替信号を入力する。切替スイッチ105は、切替論理回路106から入力された切替信号に基づいて、故障検出信号を出力した中央処理ユニット101から制御対象装置103への制御信号の出力を停止させ、他方の中央処理ユニット101から制御対象装置103に制御信号が出力されるように切り替えられる。
しかしながら、上記のような従来の切替制御システムでは、制御信号を出力するためのソフトウェアに内在するバグや静電気の影響等により、故障検出信号は出力されていないのに制御信号が正常に出力されないといった事態が生じうる。このような状況では、制御信号が正常に出力されていないにもかかわらず、故障検出信号が切替論理回路106に入力されないため、切替スイッチ105は切り替えられず、正常でない制御信号が制御対象装置103に入力されることとなる。
However, in the conventional switching control system as described above, the failure detection signal is not output but the control signal is not normally output due to the bugs inherent in the software for outputting the control signal or the influence of static electricity. Things can happen. In such a situation, since the failure detection signal is not input to the
本発明は、上記の事情に鑑みてなされたものであり、制御ユニットの故障検出を確実に行うことができる切替制御システム及びこれに適用される制御ユニットを提供することを目的とする。また、簡便な構成で制御ユニットの故障検出を行うことができる切替制御システム及びこれに適用される制御ユニットを提供することを目的とする。 The present invention has been made in view of the above circumstances, and an object thereof is to provide a switching control system capable of reliably detecting a failure of a control unit and a control unit applied thereto. It is another object of the present invention to provide a switching control system capable of detecting a failure of a control unit with a simple configuration and a control unit applied thereto.
第1の本発明による切替制御システムは、共通のシリアル通信線を介して、制御対象装置に1対の制御ユニットが着脱可能に接続され、いずれか一方の制御ユニットが制御対象装置を制御する切替制御システムにおいて、上記制御ユニットが、上記制御対象装置を制御するためのシリアル制御信号を生成するとともに、監視用信号を周期的に生成するマイクロプロセッサと、上記シリアル制御信号及び上記監視用信号に基づいて故障検出信号を生成する故障検出回路と、他方の制御ユニットからの故障検出信号に基づいて、上記シリアル制御信号を上記シリアル通信線へ出力する制御信号出力回路とを備えて構成される。 In the switching control system according to the first aspect of the present invention, a pair of control units is detachably connected to a control target device via a common serial communication line, and one of the control units controls the control target device. In the control system, the control unit generates a serial control signal for controlling the device to be controlled, and periodically generates a monitoring signal, based on the serial control signal and the monitoring signal. A failure detection circuit that generates a failure detection signal, and a control signal output circuit that outputs the serial control signal to the serial communication line based on the failure detection signal from the other control unit.
このような構成によれば、制御ユニットの故障を当該制御ユニットのマイクロプロセッサが生成するシリアル制御信号及び監視用信号に基づいて検出することができる。すなわち、マイクロプロセッサによって周期的に生成される監視用信号に加えて、シリアル通信線を介して制御対象装置へ出力されるシリアル制御信号を用いて制御ユニットの故障検出を行うことができる。したがって、シリアル制御信号が正常に出力されていないにもかかわらず、監視用信号では故障検出を行うことができない場合であっても、故障検出信号を生成することができ、制御ユニットの故障検出を確実に行うことができる。 According to such a configuration, the failure of the control unit can be detected based on the serial control signal and the monitoring signal generated by the microprocessor of the control unit. In other words, in addition to the monitoring signal periodically generated by the microprocessor, the failure of the control unit can be detected using the serial control signal output to the control target device via the serial communication line. Therefore, even if the serial control signal is not normally output, even if the failure cannot be detected with the monitoring signal, the failure detection signal can be generated and the control unit can detect the failure. It can be done reliably.
また、1対の制御ユニットが共通のシリアル通信線を介して制御対象装置に接続され、各制御ユニットからのシリアル制御信号の出力制御が、他方の制御ユニットからの故障検出信号に基づいて行われる。このように、共通のシリアル通信線を使用することにより、複雑な通信線を設ける必要がなく、簡便な構成で制御ユニットの故障検出を行うことができる。 In addition, a pair of control units are connected to the controlled device via a common serial communication line, and output control of serial control signals from each control unit is performed based on a failure detection signal from the other control unit. . In this way, by using a common serial communication line, it is not necessary to provide a complicated communication line, and the failure of the control unit can be detected with a simple configuration.
一方の制御ユニットが制御中に故障した場合には、他方の制御ユニットで制御対象装置を制御する状態に切り替わるので、制御対象装置を動作させた状態のまま故障した制御ユニットを取り外して交換することができる。また、従来のように切替ユニットを別途設ける必要がないので、システムを簡略化することができる。 If one control unit fails during control, the control unit switches to a state in which the other control unit controls the control target device. Therefore, the failed control unit must be removed and replaced while the control target device is operating. Can do. Further, since there is no need to provide a separate switching unit as in the prior art, the system can be simplified.
第2の本発明による切替制御システムは、上記構成に加えて、他方の制御ユニットからの上記故障検出信号に基づいて、上記シリアル制御信号を上記故障検出回路へ入力する故障検出制御回路を備えて構成される。 In addition to the above configuration, the switching control system according to the second aspect of the present invention includes a failure detection control circuit that inputs the serial control signal to the failure detection circuit based on the failure detection signal from the other control unit. Composed.
このような構成によれば、他方の制御ユニットからの故障検出信号に基づいて、一方の制御ユニットにおいてシリアル制御信号を故障検出回路へ入力することにより、その故障検出回路からの故障検出信号の出力を制御することができる。 According to such a configuration, based on the failure detection signal from the other control unit, the serial control signal is input to the failure detection circuit in one control unit, so that the failure detection signal is output from the failure detection circuit. Can be controlled.
例えば、他方の制御ユニットにおいて故障検出信号が出力され、その故障検出信号に基づいて一方の制御ユニットにおいてシリアル制御信号が出力されている状態で、その一方の制御ユニットからの故障検出信号の出力を停止させることにより、他方の制御ユニットからシリアル制御信号が出力されない状態にすることができる。したがって、1対の制御ユニットの両方から制御対象装置へシリアル制御信号が出力されるのを防止できる。 For example, in the state where a failure detection signal is output in the other control unit and a serial control signal is output in one control unit based on the failure detection signal, output of the failure detection signal from the one control unit is performed. By stopping it, the serial control signal can not be output from the other control unit. Therefore, it is possible to prevent serial control signals from being output from both of the pair of control units to the control target device.
第3の本発明による切替制御システムは、共通のシリアル通信線を介して、制御対象装置に1対の制御ユニットが着脱可能に接続され、いずれか一方の制御ユニットが制御対象装置を制御する切替制御システムにおいて、上記制御ユニットが、上記制御対象装置を制御するためのシリアル制御信号を生成するとともに、監視用信号を周期的に生成するマイクロプロセッサと、ともに他方の制御ユニットから入力されるシリアル制御信号及び監視用信号に基づいて故障検出信号を生成する故障検出回路と、上記故障検出信号に基づいて、上記シリアル制御信号を上記シリアル通信線へ出力する制御信号出力回路とを備えて構成される。 A switching control system according to a third aspect of the present invention is a switching in which a pair of control units are detachably connected to a control target device via a common serial communication line, and one of the control units controls the control target device. In the control system, the control unit generates a serial control signal for controlling the device to be controlled, and a microprocessor that periodically generates a monitoring signal and serial control input from the other control unit A failure detection circuit that generates a failure detection signal based on the signal and the monitoring signal; and a control signal output circuit that outputs the serial control signal to the serial communication line based on the failure detection signal. .
このような構成によれば、制御ユニットの故障を他方の制御ユニットのマイクロプロセッサが生成するシリアル制御信号及び監視用信号に基づいて検出することができる。すなわち、マイクロプロセッサによって周期的に生成される監視用信号に加えて、シリアル通信線を介して制御対象装置へ出力されるシリアル制御信号を用いて制御ユニットの故障検出を行うことができる。したがって、シリアル制御信号が正常に出力されていないにもかかわらず、監視用信号では故障検出を行うことができない場合であっても、故障検出信号を生成することができ、制御ユニットの故障検出を確実に行うことができる。 According to such a configuration, the failure of the control unit can be detected based on the serial control signal and the monitoring signal generated by the microprocessor of the other control unit. In other words, in addition to the monitoring signal periodically generated by the microprocessor, the failure of the control unit can be detected using the serial control signal output to the control target device via the serial communication line. Therefore, even if the serial control signal is not normally output, even if the failure cannot be detected with the monitoring signal, the failure detection signal can be generated and the control unit can detect the failure. It can be done reliably.
また、1対の制御ユニットが共通のシリアル通信線を介して制御対象装置に接続され、各制御ユニットからのシリアル制御信号の出力制御が、当該制御ユニットからの故障検出信号に基づいて行われる。このように、共通のシリアル通信線を使用することにより、複雑な通信線を設ける必要がなく、簡便な構成で制御ユニットの故障検出を行うことができる。 In addition, a pair of control units are connected to the control target device via a common serial communication line, and output control of serial control signals from each control unit is performed based on a failure detection signal from the control unit. In this way, by using a common serial communication line, it is not necessary to provide a complicated communication line, and the failure of the control unit can be detected with a simple configuration.
また、一方の制御ユニットに故障が生じて、シリアル制御信号又は監視用信号の出力に異常が生じた場合でも、故障検出回路が他方の制御ユニットに備えられているので、故障検出回路にも故障が生じることにより故障検出信号が出力されないといった事態を防止できる。したがって、一方の制御ユニットに故障が生じた場合に、他方の制御ユニットにおいて確実に故障検出信号を出力し、その故障検出信号に基づいてシリアル制御信号を出力することができるので、制御対象装置へ確実にシリアル制御信号を出力することができる。 Even if a failure occurs in one control unit and an abnormality occurs in the output of the serial control signal or monitoring signal, the failure detection circuit is provided in the other control unit. It is possible to prevent a situation in which a failure detection signal is not output due to the occurrence of. Therefore, when a failure occurs in one control unit, a failure detection signal can be reliably output in the other control unit, and a serial control signal can be output based on the failure detection signal. A serial control signal can be output reliably.
一方の制御ユニットが制御中に故障した場合には、他方の制御ユニットで制御対象装置を制御する状態に切り替わるので、制御対象装置を動作させた状態のまま故障した制御ユニットを取り外して交換することができる。また、従来のように切替ユニットを別途設ける必要がないので、システムを簡略化することができる。 If one control unit fails during control, the control unit switches to a state in which the other control unit controls the control target device. Therefore, the failed control unit must be removed and replaced while the control target device is operating. Can do. Further, since there is no need to provide a separate switching unit as in the prior art, the system can be simplified.
第4の本発明による切替制御システムは、上記構成に加えて、上記故障検出信号に基づいて、上記シリアル制御信号を他方の制御ユニットの上記故障検出回路へ入力する故障検出制御回路を備えて構成される。 A switching control system according to a fourth aspect of the present invention includes a failure detection control circuit that inputs the serial control signal to the failure detection circuit of the other control unit based on the failure detection signal in addition to the above configuration. Is done.
このような構成によれば、故障検出回路で生成された故障検出信号に基づいて、シリアル制御信号を他方の制御ユニットの故障検出回路へ入力することにより、他方の制御ユニットにおける故障検出回路からの故障検出信号の出力を制御することができる。 According to such a configuration, the serial control signal is input to the failure detection circuit of the other control unit based on the failure detection signal generated by the failure detection circuit, so that the failure detection circuit in the other control unit The output of the failure detection signal can be controlled.
例えば、一方の制御ユニットにおいて故障検出信号が出力され、その故障検出信号に基づいて一方の制御ユニットにおいてシリアル制御信号が出力されている状態で、他方の制御ユニットからの故障検出信号の出力を停止させることにより、その他方の制御ユニットからシリアル制御信号が出力されない状態にすることができる。したがって、1対の制御ユニットの両方から制御対象装置へシリアル制御信号が出力されるのを防止できる。 For example, output of a failure detection signal from the other control unit is stopped while a failure detection signal is output from one control unit and a serial control signal is output from one control unit based on the failure detection signal. As a result, the serial control signal is not output from the other control unit. Therefore, it is possible to prevent serial control signals from being output from both of the pair of control units to the control target device.
第5の本発明による切替制御システムにおいて、上記故障検出回路は、シリアル制御信号及び監視用信号のいずれかが検出されない場合に、故障検出信号を生成する。 In the switching control system according to the fifth aspect of the present invention, the failure detection circuit generates a failure detection signal when either the serial control signal or the monitoring signal is not detected.
このような構成によれば、シリアル制御信号及び監視用信号のいずれかが検出されない場合に故障検出信号が生成され、その故障検出信号に基づいてシリアル制御信号がシリアル通信線へ出力される。シリアル制御信号及び監視用信号は、ソフトウェアのフェーズの異なる場所から出力することができるので、それらのいずれかが検出されない場合に故障検出信号を出力することにより、故障をより確実に検出することができる。 According to such a configuration, a failure detection signal is generated when either the serial control signal or the monitoring signal is not detected, and the serial control signal is output to the serial communication line based on the failure detection signal. Since the serial control signal and the monitoring signal can be output from different locations in the software phase, if any of them is not detected, it is possible to detect the failure more reliably by outputting the failure detection signal. it can.
第6の本発明による制御ユニットは、シリアル通信線を介して制御対象装置に着脱可能に接続され、対となる他方の制御ユニットとの間で択一的に制御対象装置を制御する制御ユニットにおいて、上記制御対象装置を制御するためのシリアル制御信号を生成するとともに、監視用信号を周期的に生成するマイクロプロセッサと、上記シリアル制御信号及び上記監視用信号に基づいて故障検出信号を生成する故障検出回路と、他方の制御ユニットからの故障検出信号に基づいて、上記シリアル制御信号を上記シリアル通信線へ出力する制御信号出力回路とを備えて構成される。 A control unit according to a sixth aspect of the present invention is a control unit that is detachably connected to a control target device via a serial communication line, and controls the control target device alternatively with the other control unit in a pair. A microprocessor that generates a serial control signal for controlling the device to be controlled and periodically generates a monitoring signal, and a failure that generates a failure detection signal based on the serial control signal and the monitoring signal A detection circuit and a control signal output circuit that outputs the serial control signal to the serial communication line based on a failure detection signal from the other control unit are configured.
このような構成によれば、制御ユニットの故障を当該制御ユニットのマイクロプロセッサが生成するシリアル制御信号及び監視用信号に基づいて検出することができる。すなわち、マイクロプロセッサによって周期的に生成される監視用信号に加えて、シリアル通信線を介して制御対象装置へ出力されるシリアル制御信号を用いて制御ユニットの故障検出を行うことができる。したがって、シリアル制御信号が正常に出力されていないにもかかわらず、監視用信号では故障検出を行うことができない場合であっても、故障検出信号を生成することができ、制御ユニットの故障検出を確実に行うことができる。 According to such a configuration, the failure of the control unit can be detected based on the serial control signal and the monitoring signal generated by the microprocessor of the control unit. In other words, in addition to the monitoring signal periodically generated by the microprocessor, the failure of the control unit can be detected using the serial control signal output to the control target device via the serial communication line. Therefore, even if the serial control signal is not normally output, even if the failure cannot be detected with the monitoring signal, the failure detection signal can be generated and the control unit can detect the failure. It can be done reliably.
また、1対の制御ユニットが共通のシリアル通信線を介して制御対象装置に接続され、各制御ユニットからのシリアル制御信号の出力制御が、他方の制御ユニットからの故障検出信号に基づいて行われる。このように、共通のシリアル通信線を使用することにより、複雑な通信線を設ける必要がなく、簡便な構成で制御ユニットの故障検出を行うことができる。 In addition, a pair of control units are connected to the controlled device via a common serial communication line, and output control of serial control signals from each control unit is performed based on a failure detection signal from the other control unit. . In this way, by using a common serial communication line, it is not necessary to provide a complicated communication line, and the failure of the control unit can be detected with a simple configuration.
一方の制御ユニットが制御中に故障した場合には、他方の制御ユニットで制御対象装置を制御する状態に切り替わるので、制御対象装置を動作させた状態のまま故障した制御ユニットを取り外して交換することができる。また、従来のように切替ユニットを別途設ける必要がないので、システムを簡略化することができる。 If one control unit fails during control, the control unit switches to a state in which the other control unit controls the control target device. Therefore, the failed control unit must be removed and replaced while the control target device is operating. Can do. Further, since there is no need to provide a separate switching unit as in the prior art, the system can be simplified.
第7の本発明による制御ユニットは、シリアル通信線を介して制御対象装置に着脱可能に接続され、対となる他方の制御ユニットとの間で択一的に制御対象装置を制御する制御ユニットにおいて、上記制御対象装置を制御するためのシリアル制御信号を生成するとともに、監視用信号を周期的に生成するマイクロプロセッサと、ともに他方の制御ユニットから出力されるシリアル制御信号及び監視用信号に基づいて故障検出信号を生成する故障検出回路と、上記故障検出信号に基づいて、上記シリアル制御信号を上記シリアル通信線へ出力する制御信号出力回路とを備えて構成される。 A control unit according to a seventh aspect of the present invention is a control unit that is detachably connected to a control target device via a serial communication line, and controls the control target device alternatively with the other control unit in a pair. A microprocessor that generates a serial control signal for controlling the device to be controlled and periodically generates a monitoring signal and a serial control signal and a monitoring signal output from the other control unit. A failure detection circuit that generates a failure detection signal and a control signal output circuit that outputs the serial control signal to the serial communication line based on the failure detection signal are configured.
このような構成によれば、制御ユニットの故障を他方の制御ユニットのマイクロプロセッサが生成するシリアル制御信号及び監視用信号に基づいて検出することができる。すなわち、マイクロプロセッサによって周期的に生成される監視用信号に加えて、シリアル通信線を介して制御対象装置へ出力されるシリアル制御信号を用いて制御ユニットの故障検出を行うことができる。したがって、シリアル制御信号が正常に出力されていないにもかかわらず、監視用信号では故障検出を行うことができない場合であっても、故障検出信号を生成することができ、制御ユニットの故障検出を確実に行うことができる。 According to such a configuration, the failure of the control unit can be detected based on the serial control signal and the monitoring signal generated by the microprocessor of the other control unit. In other words, in addition to the monitoring signal periodically generated by the microprocessor, the failure of the control unit can be detected using the serial control signal output to the control target device via the serial communication line. Therefore, even if the serial control signal is not normally output, even if the failure cannot be detected with the monitoring signal, the failure detection signal can be generated and the control unit can detect the failure. It can be done reliably.
また、1対の制御ユニットが共通のシリアル通信線を介して制御対象装置に接続され、各制御ユニットからのシリアル制御信号の出力制御が、当該制御ユニットからの故障検出信号に基づいて行われる。このように、共通のシリアル通信線を使用することにより、複雑な通信線を設ける必要がなく、簡便な構成で制御ユニットの故障検出を行うことができる。 In addition, a pair of control units are connected to the control target device via a common serial communication line, and output control of serial control signals from each control unit is performed based on a failure detection signal from the control unit. In this way, by using a common serial communication line, it is not necessary to provide a complicated communication line, and the failure of the control unit can be detected with a simple configuration.
また、一方の制御ユニットに故障が生じて、シリアル制御信号又は監視用信号の出力に異常が生じた場合でも、故障検出回路が他方の制御ユニットに備えられているので、故障検出回路にも故障が生じることにより故障検出信号が出力されないといった事態を防止できる。したがって、一方の制御ユニットに故障が生じた場合に、他方の制御ユニットにおいて確実に故障検出信号を出力し、その故障検出信号に基づいてシリアル制御信号を出力することができるので、制御対象装置へ確実にシリアル制御信号を出力することができる。 Even if a failure occurs in one control unit and an abnormality occurs in the output of the serial control signal or monitoring signal, the failure detection circuit is provided in the other control unit. It is possible to prevent a situation in which a failure detection signal is not output due to the occurrence of. Therefore, when a failure occurs in one control unit, a failure detection signal can be reliably output in the other control unit, and a serial control signal can be output based on the failure detection signal. A serial control signal can be output reliably.
一方の制御ユニットが制御中に故障した場合には、他方の制御ユニットで制御対象装置を制御する状態に切り替わるので、制御対象装置を動作させた状態のまま故障した制御ユニットを取り外して交換することができる。また、従来のように切替ユニットを別途設ける必要がないので、システムを簡略化することができる。 If one control unit fails during control, the control unit switches to a state in which the other control unit controls the control target device. Therefore, the failed control unit must be removed and replaced while the control target device is operating. Can do. Further, since there is no need to provide a separate switching unit as in the prior art, the system can be simplified.
本発明によれば、マイクロプロセッサによって周期的に生成される監視用信号に加えて、シリアル通信線を介して制御対象装置へ出力されるシリアル制御信号を用いて制御ユニットの故障検出を行うことができる。したがって、シリアル制御信号が正常に出力されていないにもかかわらず、監視用信号では故障検出を行うことができない場合であっても、故障検出信号を生成することができ、制御ユニットの故障検出を確実に行うことができる。 According to the present invention, the failure of the control unit can be detected using the serial control signal output to the control target device via the serial communication line in addition to the monitoring signal periodically generated by the microprocessor. it can. Therefore, even if the serial control signal is not normally output, even if the failure cannot be detected with the monitoring signal, the failure detection signal can be generated and the control unit can detect the failure. It can be done reliably.
また、共通のシリアル通信線を使用することにより、複雑な通信線を設ける必要がなく、簡便な構成で制御ユニットの故障検出を行うことができる。一方の制御ユニットが制御中に故障した場合には、他方の制御ユニットで制御対象装置を制御する状態に切り替わるので、制御対象装置を動作させた状態のまま故障した制御ユニットを取り外して交換することができる。また、従来のように切替ユニットを別途設ける必要がないので、システムを簡略化することができる。 Further, by using a common serial communication line, it is not necessary to provide a complicated communication line, and the failure of the control unit can be detected with a simple configuration. If one control unit fails during control, the control unit switches to a state in which the other control unit controls the control target device. Therefore, the failed control unit must be removed and replaced while the control target device is operating. Can do. Further, since there is no need to provide a separate switching unit as in the prior art, the system can be simplified.
一方の制御ユニットの故障を検出するための故障検出回路が他方の制御ユニットに備えられた構成であれば、一方の制御ユニットに故障が生じた場合に、他方の制御ユニットにおいて確実に故障検出信号を出力し、その故障検出信号に基づいてシリアル制御信号を出力することができるので、制御対象装置へ確実にシリアル制御信号を出力することができる。 If a fault detection circuit for detecting a fault in one control unit is provided in the other control unit, the fault detection signal is surely detected in the other control unit when a fault occurs in one control unit. And a serial control signal can be output based on the failure detection signal, so that the serial control signal can be reliably output to the device to be controlled.
また、1対の制御ユニットの両方から制御対象装置へシリアル制御信号が出力されるのを防止できる。シリアル制御信号及び監視用信号は、ソフトウェアのフェーズの異なる場所から出力することができるので、それらのいずれかが検出されない場合に故障検出信号を出力することにより、故障をより確実に検出することができる。 Further, it is possible to prevent serial control signals from being output from both of the pair of control units to the control target device. Since the serial control signal and the monitoring signal can be output from different locations in the software phase, if any of them is not detected, it is possible to detect the failure more reliably by outputting the failure detection signal. it can.
実施の形態1.
図1は、本発明の実施の形態1による切替制御システムの一構成例を示したブロック図である。この切替制御システムは、1対の中央処理ユニット1,2と、2以上の被制御ユニット3とを備えている。各被制御ユニット3は、この切替制御システムにおける制御対象装置であり、1対の中央処理ユニット1,2は、制御対象装置の動作を制御するための制御ユニットである。1対の中央処理ユニット1,2は、それぞれ同一の構成を有する第1中央処理ユニット1及び第2中央処理ユニット2からなる。
FIG. 1 is a block diagram showing a configuration example of a switching control system according to
1対の中央処理ユニット1,2は、2本の専用ケーブル7を介して互いに接続されている。また、1対の中央処理ユニット1,2は、それぞれ共通のシリアル通信線としてのTX送信用通信線4、RX受信用通信線5及びリセット用通信線6を介して、各被制御ユニット3に対して着脱可能に接続されている。1対の中央処理ユニット1,2は、いわゆるRS−422規格又はRS−232C規格に準拠したシリアル通信により、各被制御ユニット3との間で通信可能である。
The pair of
1対の中央処理ユニット1,2のいずれか一方からTX送信用通信線4を介して各被制御ユニット3にシリアル制御信号TXを送信することにより、各被制御ユニット3の動作を制御することができる。また、シリアル制御信号TXを送信した中央処理ユニット1,2は、各被制御ユニット3からRX受信用通信線5を介して応答信号RXを受信することにより、各被制御ユニット3の動作状態を検出することができる。中央処理ユニット1,2から出力されるリセット信号(後述)は、リセット用通信線6を介して各被制御ユニット3へ出力される。
The operation of each controlled unit 3 is controlled by transmitting a serial control signal TX to each controlled unit 3 from one of the pair of
この切替制御システムは、放送設備における音声出力の制御などに適用することができる。この場合、各被制御ユニット3は、スピーカなどの音声出力装置により構成することができる。1対の中央処理ユニット1,2のうち一方からシリアル制御信号TXを送信して各音声出力装置からの音声出力の制御を行い、制御中にその中央処理ユニットが故障するなどして各音声出力装置の制御を行うことができなくなった場合に、他方の中央処理ユニットからシリアル制御信号TXを送信するように切り替えることにより、各音声出力装置からの音声出力の制御を引き続き行うことができる。
This switching control system can be applied to audio output control in broadcasting facilities. In this case, each controlled unit 3 can be configured by a sound output device such as a speaker. A serial control signal TX is transmitted from one of the pair of
このように、1対の中央処理ユニット1,2を用いて冗長化された切替制御システムを構成することにより、一方の中央処理ユニットが故障した場合でも、他方の中央処理ユニットにより各被制御ユニット3の制御を行うことができるので、放送設備における音声出力などのサービスが停止してしまうのを防止できる。
Thus, by configuring a redundant switching control system using a pair of
図2は、図1の1対の中央処理ユニット1,2の一構成例を示した回路図である。1対の中央処理ユニット1,2は、それぞれ、CPU(Central Processing Unit)10、故障検出回路20、制御信号出力回路30、故障検出制御回路40及びリセット信号出力回路50を備えている。
FIG. 2 is a circuit diagram showing a configuration example of the pair of
CPU10は、リセット処理部11、監視用信号生成部12、割込処理部13、制御信号生成部14及び応答信号入力部15を備えたマイクロプロセッサである。リセット処理部11は、リセット信号の入力に基づいて、CPU10を再起動させる。監視用信号生成部12は、監視用信号として周期的にWD(Watch Dog)パルスを生成する。割込処理部13は、他方の中央処理ユニットからの故障検出信号(後述)の入力に基づいて、そのとき入力された故障検出信号に応じた処理を実行する。
The
制御信号生成部14は、シリアル制御信号TXを生成し、TX送信用通信線4を介して、生成したシリアル制御信号TXを各被制御ユニット3へ出力する。応答信号入力部15には、RX受信用通信線5を介して、各被制御ユニット3から応答信号RXが入力される。
The control
故障検出回路20は、WDT(Watch Dog Timer)21、TX検出回路22及びNAND演算回路(否定論理演算回路)23からなる。この故障検出回路20は、シリアル制御信号TX及びWDパルスに基づいて中央処理ユニット1,2の故障を検出している。
The
WDT21は、監視用信号生成部12で生成されるWDパルスを監視し、WDパルスが検出されない場合に故障を検出する第1故障検出回路である。WDT21からの出力信号SYWDはリセット信号であり、その中央処理ユニットが正常に動作しているときには高レベル(以下、「Hレベル」と呼ぶ。)であるが、WDパルスが一定時間出力されない場合には低レベル(以下、「Lレベル」と呼ぶ。)となる。WDT21からの出力信号SYWDは、リセット処理部11及びリセット信号出力回路50に入力される。
The
TX検出回路22は、制御信号生成部14から出力されるシリアル制御信号TXを監視し、シリアル制御信号TXが検出されない場合に故障を検出する第2故障検出回路である。TX検出回路22からの出力信号TXDは、その中央処理ユニットが正常に動作しているときにはHレベルであるが、シリアル制御信号TXが一定時間出力されない場合にはLレベルとなる。WDT21からの出力信号SYWD及びTX検出回路22からの出力信号TXDは、それぞれNAND演算回路23へ入力される。
The
NAND演算回路23の出力側は、他方の中央処理ユニットに接続されている。したがって、中央処理ユニット1,2が正常に動作しているときには、WDT21及びTX検出回路22からNAND演算回路23に入力される信号はいずれもHレベルであり、NAND演算回路23においてLレベルの出力信号TXONが生成され、その出力信号TXONが他方の中央処理ユニットに入力される。
The output side of the
一方、中央処理ユニット1,2が故障するなどして、WDT21からの出力信号SYWD及びTX検出回路22からの出力信号TXDのいずれかがLレベルになった場合には、NAND演算回路23においてHレベルの出力信号TXONが生成され、その出力信号TXONが他方の中央処理ユニットに入力される。NAND演算回路23からの出力信号TXONは、中央処理ユニット1,2が故障したことを表す故障検出信号である。
On the other hand, if either of the output signal SYWD from the
制御信号出力回路30は、トライステートバッファにより構成され、制御信号生成部14で生成されるシリアル制御信号TXは、制御信号出力回路30を介してTX送信用通信線4へ出力されるようになっている。このトライステートバッファのイネーブルピンENには、他方の中央処理ユニットから故障検出信号が入力される。
The control
他方の中央処理ユニットが正常に動作しており、他方の中央処理ユニットのNAND演算回路23における出力信号TXONがLレベルであるときには、制御信号出力回路30がHi−z状態(ハイインピーダンス状態)となり、制御信号生成部14で生成されるシリアル制御信号TXはTX送信用通信線4へ出力されない。一方、他方の中央処理ユニットが故障するなどして、他方の中央処理ユニットのNAND演算回路23からHレベルの出力信号TXON(故障検出信号)が出力されたときには、制御信号生成部14で生成されるシリアル制御信号TXは、制御信号出力回路30を介して、出力信号TXOUTとしてTX送信用通信線4へ出力される。
When the other central processing unit is operating normally and the output signal TXON in the
故障検出制御回路40は、トライステートバッファにより構成され、制御信号生成部14で生成されるシリアル制御信号TXは、故障検出制御回路40を介してTX検出回路22へ入力されるようになっている。このトライステートバッファのイネーブルピンENには、他方の中央処理ユニットから故障検出信号が入力される。
The failure
他方の中央処理ユニットが正常に動作しており、他方の中央処理ユニットのNAND演算回路23における出力信号TXONがLレベルであるときには、故障検出制御回路40がHi−z状態となり、制御信号生成部14で生成されるシリアル制御信号TXはTX検出回路22へ入力されない。一方、他方の中央処理ユニットが故障するなどして、他方の中央処理ユニットのNAND演算回路23からHレベルの出力信号TXON(故障検出信号)が出力されたときには、制御信号生成部14で生成されるシリアル制御信号TXは、故障検出制御回路40を介して、入力信号TXINとしてTX検出回路22へ入力される。
When the other central processing unit is operating normally and the output signal TXON in the
リセット信号出力回路50は、トライステートバッファにより構成され、WDT21からの出力信号SYWDは、リセット信号出力回路50を介してリセット用通信線6へ出力されるようになっている。このトライステートバッファのイネーブルピンENには、他方の中央処理ユニットから故障検出信号が入力される。
The reset
他方の中央処理ユニットが正常に動作しており、他方の中央処理ユニットのNAND演算回路23における出力信号TXONがLレベルであるときには、リセット信号出力回路50がHi−z状態となり、WDT21からの出力信号SYWDはリセット用通信線6へ出力されない。一方、他方の中央処理ユニットが故障するなどして、他方の中央処理ユニットのNAND演算回路23からHレベルの出力信号TXON(故障検出信号)が出力されたときには、WDT21からの出力信号SYWDは、リセット信号出力回路50を介してリセット用通信線6へ出力される。
When the other central processing unit is operating normally and the output signal TXON in the
図3は、図2の故障検出回路20における動作の具体例を示したタイミングチャートであり、(a)はWDT21における動作の一例、(b)はTX検出回路22における動作の一例を示している。
FIG. 3 is a timing chart showing a specific example of the operation in the
WDT21においては、図3(a)に示すように、中央処理ユニット1,2の電源が投入されるとWDパルスが一定周期T1で出力され、このWDパルスを監視するWDT21からの出力信号SYWDがHレベルとなる。中央処理ユニット1,2が故障するなどして、WDパルスが一定時間T2(>T1)出力されない場合には、WDT21は故障を検出し、出力信号SYWDをLレベルにする。これにより、NAND演算回路23からの出力信号TXONがHレベルとなり、このHレベルの出力信号TXONが他方の中央処理ユニットへ出力される。
In the
WDT21は、出力信号SYWDをLレベルにしてから一定時間T3が経過すると、出力信号SYWDを再びHレベルにする。これにより、リセット処理部11へのリセット信号の入力が終了し、CPU10が再起動される。CPU10が再起動されると、CPU10による処理が初期化されて正常な動作が再開される場合があり、この場合には、図3(a)に示すようにWDパルスが再び一定周期T1で出力される。
The
TX検出回路22においては、図3(b)に示すように、中央処理ユニット1,2の電源が投入されるとシリアル制御信号TXが出力され、このシリアル制御信号TXが、故障検出制御回路40を介して、入力信号TXINとしてTX検出回路22へ入力される。このとき、故障検出制御回路40からの入力信号TXINを監視するTX検出回路22からの出力信号TXDがHレベルとなる。中央処理ユニット1,2が正常であれば、シリアル制御信号TXは、少なくとも一定時間T4(<T1)以内に出力される。
As shown in FIG. 3B, the
中央処理ユニット1,2が故障するなどして、シリアル制御信号TXが一定時間T4以上出力されない場合には、TX検出回路22は故障を検出し、出力信号TXDをLレベルにする。これにより、NAND演算回路23からの出力信号TXONがHレベルとなり、このHレベルの出力信号TXONが他方の中央処理ユニットへ出力される。
If the serial processing signal TX is not output for a certain time T4 or more due to the failure of the
後で具体的に説明するが、Hレベルの出力信号TXONが入力された他方の中央処理ユニットにおいては、TX検出回路22からの出力信号TXDがHレベルとなり、NAND演算回路23からLレベルの出力信号TXONが出力される。他方の中央処理ユニットからLレベルの出力信号TXONが入力されると、故障検出制御回路40がHi−z状態となってTX検出回路22へ入力信号TXINが入力されなくなり、TX検出回路22からの出力信号がLレベルのまま維持される。
As will be described in detail later, in the other central processing unit to which the H level output signal TXON is input, the output signal TXD from the
したがって、CPU10が再起動された場合などには、図3(b)に示すようにシリアル制御信号TXが再び出力される場合があるが、この場合でも、TX検出回路22への入力信号TXIN及びTX検出回路22からの出力信号TXDはLレベルのまま維持され、NAND演算回路23からの出力信号TXONが確実にHレベルで維持されることとなる。
Therefore, when the
図4は、本実施の形態の切替制御システムにおける動作の具体例を示したタイミングチャートであり、WDT21において故障を検出した場合の一例を示している。
FIG. 4 is a timing chart showing a specific example of the operation in the switching control system of the present embodiment, and shows an example when a failure is detected in the
以下の説明では、第1中央処理ユニット1において、制御信号生成部14から出力されるシリアル制御信号を1TX、制御信号出力回路30からの出力信号を1TXOUT、TX検出回路22への入力信号を1TXIN、TX検出回路22からの出力信号を1TXD、WDT21からの出力信号を1SYWD、NAND演算回路23からの出力信号を2TXONとし、第2中央処理ユニット2において、制御信号生成部14から出力されるシリアル制御信号を2TX、制御信号出力回路30からの出力信号を2TXOUT、TX検出回路22への入力信号を2TXIN、TX検出回路22からの出力信号を2TXD、WDT21からの出力信号を2SYWD、NAND演算回路23からの出力信号を1TXONとして説明することとする。
In the following description, in the first
図2及び図4を参照して、WDT21において故障を検出した場合の動作の一例について説明する。第1中央処理ユニット1のWDT21において故障が検出され、このWDT21からの出力信号1SYWDがLレベルになると(タイミングTM1)、NAND演算回路23からの出力信号2TXONがHレベルになり、この出力信号2TXONが第2中央処理ユニット2の制御信号出力回路30、故障検出制御回路40及びリセット信号出力回路50に入力される。
With reference to FIG.2 and FIG.4, an example of operation | movement at the time of detecting a failure in WDT21 is demonstrated. When a failure is detected in the
これにより、第2中央処理ユニット2の制御信号生成部14から出力されるシリアル制御信号2TXが、故障検出制御回路40を介して、入力信号2TXINとしてTX検出回路22へ入力され、TX検出回路22からの出力信号2TXDがHレベルになるとともに、シリアル制御信号2TXが、制御信号出力回路30を介して、出力信号2TXOUTとしてTX送信用通信線4へ出力される(タイミングTM2)。このとき、第2中央処理ユニット2においてWDT21からの出力信号2SYWDがHレベルであれば、NAND演算回路23からの出力信号1TXONがLレベルになる。
As a result, the serial control signal 2TX output from the
第2中央処理ユニット2のNAND演算回路23から第1中央処理ユニット1へ出力される出力信号1TXONがLレベルになると、第1中央処理ユニット1において制御信号生成部14から出力されるシリアル制御信号1TXが、故障検出制御回路40からTX検出回路22へ入力されなくなり、TX検出回路22からの出力信号1TXDがLレベルになるとともに、シリアル制御信号1TXが、制御信号出力回路30からTX送信用通信線4へ出力されなくなる(タイミングTM3)。これにより、制御信号生成部14におけるシリアル制御信号1TXの生成の有無にかかわらず、NAND演算回路23からの出力信号2TXONがHレベルのまま維持されるとともに、制御信号出力回路30からの出力信号1TXOUTがLレベルになる。
When the output signal 1TXON output from the
この例における切替制御システムでは、タイミングTM1までは第1中央処理ユニット1が被制御ユニット3の制御権限を有しており、タイミングTM3以降は第2中央処理ユニット2が被制御ユニット3の制御権限を有している。タイミングTM1〜TM3の期間は、被制御ユニット3に対する制御権限が第1中央処理ユニット1から第2中央処理ユニット2に遷移する遷移期間である。
In the switching control system in this example, the first
図5は、本実施の形態の切替制御システムにおける動作の具体例を示したタイミングチャートであり、TX検出回路22において故障を検出した場合の一例を示している。
FIG. 5 is a timing chart showing a specific example of the operation in the switching control system of the present embodiment, and shows an example when a failure is detected in the
図2及び図5を参照して、TX検出回路22において故障を検出した場合の動作の一例について説明する。第1中央処理ユニット1のTX検出回路22において故障が検出され、このTX検出回路22からの出力信号1TXDがLレベルになると(タイミングTM4)、制御信号出力回路30からの出力信号1TXOUTがLレベルになるとともに、NAND演算回路23からの出力信号2TXONがHレベルになり、この出力信号2TXONが第2中央処理ユニット2の制御信号出力回路30、故障検出制御回路40及びリセット信号出力回路50に入力される。
With reference to FIG. 2 and FIG. 5, an example of operation when a failure is detected in the
これにより、第2中央処理ユニット2の制御信号生成部14から出力されるシリアル制御信号2TXが、故障検出制御回路40を介して、入力信号2TXINとしてTX検出回路22へ入力され、TX検出回路22からの出力信号2TXDがHレベルになるとともに、シリアル制御信号2TXが、制御信号出力回路30を介して、出力信号2TXOUTとしてTX送信用通信線4へ出力される(タイミングTM5)。このとき、第2中央処理ユニット2においてWDT21からの出力信号2SYWDがHレベルであれば、NAND演算回路23からの出力信号1TXONがLレベルになる。
As a result, the serial control signal 2TX output from the
第2中央処理ユニット2のNAND演算回路23から第1中央処理ユニット1へ出力される出力信号1TXONがLレベルになると、第1中央処理ユニット1において制御信号生成部14から出力されるシリアル制御信号1TXが、故障検出制御回路40からTX検出回路22へ入力できない状態になるので、CPU10の再起動などによりシリアル制御信号1TXが再び生成された場合であっても、TX検出回路22からの出力信号1TXDがLレベルのまま維持される。このとき、制御信号出力回路30においても、シリアル制御信号1TXをTX送信用通信線4へ出力できない状態になり、CPU10の再起動などによりシリアル制御信号1TXが再び生成された場合であっても、制御信号出力回路30からの出力信号1TXOUTがLレベルのまま維持される。
When the output signal 1TXON output from the
この例における切替制御システムでは、タイミングTM4までは第1中央処理ユニット1が被制御ユニット3の制御権限を有しており、タイミングTM5以降は第2中央処理ユニット2が被制御ユニット3の制御権限を有している。タイミングTM4〜TM5の期間は、被制御ユニット3に対する制御権限が第1中央処理ユニット1から第2中央処理ユニット2に遷移する遷移期間である。
In the switching control system in this example, the first
本実施の形態では、中央処理ユニット1,2の故障を当該中央処理ユニットのマイクロプロセッサが生成するシリアル制御信号TX及びWDパルスに基づいて検出することができる。すなわち、マイクロプロセッサによって周期的に生成されるWDパルスに加えて、TX送信用通信線4を介して被制御ユニット3へ出力されるシリアル制御信号TXを用いて中央処理ユニット1,2の故障検出を行うことができる。したがって、シリアル制御信号TXが正常に出力されていないにもかかわらず、WDパルスでは故障検出を行うことができない場合であっても、故障検出信号TXONを生成することができ、中央処理ユニット1,2の故障検出を確実に行うことができる。
In the present embodiment, the failure of the
また、1対の中央処理ユニット1,2が共通のTX送信用通信線4を介して被制御ユニット3に接続され、各中央処理ユニット1,2からのシリアル制御信号TXの出力制御が、他方の中央処理ユニットからの故障検出信号TXONに基づいて行われる。このように、共通のTX送信用通信線4を使用することにより、複雑な通信線を設ける必要がなく、簡便な構成で中央処理ユニット1,2の故障検出を行うことができる。なお、同じ通信速度であれば、パラレル通信よりもシリアル通信の方が信号の変化が早いので、シリアル制御信号TXを用いることにより、故障を早く検出することができる。
A pair of
一方の中央処理ユニットが制御中に故障した場合には、他方の中央処理ユニットで被制御ユニット3を制御する状態に切り替わるので、被制御ユニット3を動作させた状態のまま故障した中央処理ユニットを取り外して交換することができる。また、従来のように切替ユニットを別途設ける必要がないので、システムを簡略化することができる。 If one central processing unit fails during control, the other central processing unit switches to a state in which the controlled unit 3 is controlled. Can be removed and replaced. Further, since there is no need to provide a separate switching unit as in the prior art, the system can be simplified.
また、他方の中央処理ユニットからの故障検出信号TXONに基づいて、一方の中央処理ユニットにおいてシリアル制御信号TXを故障検出回路20へ入力することにより、その故障検出回路20からの故障検出信号TXONの出力を制御することができる。したがって、他方の中央処理ユニットにおいて故障検出信号TXONが出力され、その故障検出信号TXONに基づいて一方の中央処理ユニットにおいてシリアル制御信号TXが出力されている状態で、その一方の中央処理ユニットからの故障検出信号TXONの出力を停止させることにより、他方の中央処理ユニットからシリアル制御信号TXが出力されない状態にすることができる。これにより、1対の中央処理ユニット1,2の両方から被制御ユニット3へシリアル制御信号TXが出力されるのを防止できる。
Further, based on the failure detection signal TXON from the other central processing unit, the serial control signal TX is input to the
また、シリアル制御信号TX及びWDパルスのいずれかが検出されない場合に故障検出信号TXONが生成され、その故障検出信号TXONに基づいてシリアル制御信号TXがTX送信用通信線4へ出力される。シリアル制御信号TX及びWDパルスは、ソフトウェアのフェーズの異なる場所から出力することができるので、それらのいずれかが検出されない場合に故障検出信号TXONを出力することにより、故障をより確実に検出することができる。
Further, when either the serial control signal TX or the WD pulse is not detected, a failure detection signal TXON is generated, and the serial control signal TX is output to the TX
実施の形態2.
実施の形態1では、1対の中央処理ユニット1,2のうちのいずれかにおいて生成されるシリアル制御信号TX及びWDパルスに基づいて、その中央処理ユニットに備えられた故障検出回路20により故障を検出するような構成について説明したが、実施の形態2では、いずれかの中央処理ユニットにおいて生成されるシリアル制御信号TX及びWDパルスに基づいて、他方の中央処理ユニットに備えられた故障検出回路20により故障を検出するようになっている点が異なっている。
Embodiment 2. FIG.
In the first embodiment, a failure is detected by the
図6は、本発明の実施の形態2による1対の中央処理ユニット1,2の一構成例を示した回路図である。1対の中央処理ユニット1,2は、それぞれ、CPU10、故障検出回路20、制御信号出力回路30、故障検出制御回路40及びリセット信号出力回路50を備えている。CPU10は、実施の形態1と同様の構成を有するマイクロプロセッサであり、リセット処理部11、監視用信号生成部12、割込処理部13、制御信号生成部14及び応答信号入力部15を備えている。
FIG. 6 is a circuit diagram showing a configuration example of a pair of
1対の中央処理ユニット1,2は、4本の専用ケーブル7を介して互いに接続されている。また、1対の中央処理ユニット1,2は、TX送信用通信線4、RX受信用通信線5及びリセット用通信線6を介して、各被制御ユニット3に対して着脱可能に接続されている。
The pair of
故障検出回路20は、WDT21、TX検出回路22及びNAND演算回路23からなる。この故障検出回路20は、シリアル制御信号TX及びWDパルスに基づいて中央処理ユニット1,2の故障を検出している。
The
WDT21は、監視用信号生成部12で生成されるWDパルスを監視し、WDパルスが検出されない場合に故障を検出する第1故障検出回路である。WDT21からの出力信号SYWDはリセット信号であり、その中央処理ユニットが正常に動作しているときにはHレベルであるが、WDパルスが一定時間出力されない場合にはLレベルとなる。WDT21からの出力信号SYWDは、リセット処理部11及びリセット信号出力回路50に入力される。
The
TX検出回路22は、他方の中央処理ユニットの制御信号生成部14から入力されるシリアル制御信号TXを監視し、シリアル制御信号TXが検出されない場合に故障を検出する第2故障検出回路である。TX検出回路22からの出力信号TXDは、他方の中央処理ユニットが正常に動作しているときにはHレベルであるが、他方の中央処理ユニットからシリアル制御信号TXが一定時間出力されない場合にはLレベルとなる。TX検出回路22からの出力信号TXD及び他方の中央処理ユニットのWDT21からの出力信号SYWDは、それぞれNAND演算回路23へ入力される。
The
他方の中央処理ユニットが正常に動作しているときには、TX検出回路22及び他方の中央処理ユニットのWDT21からNAND演算回路23に入力される信号はいずれもHレベルであり、NAND演算回路23においてLレベルの出力信号TXONが生成される。一方、他方の中央処理ユニットが故障するなどして、TX検出回路22からの出力信号TXD及び他方の中央処理ユニットのWDT21からの出力信号SYWDのいずれかがLレベルになった場合には、NAND演算回路23においてHレベルの出力信号TXONが生成される。NAND演算回路23からの出力信号TXONは、中央処理ユニット1,2が故障したことを表す故障検出信号である。
When the other central processing unit is operating normally, the signals input from the
制御信号出力回路30は、トライステートバッファにより構成され、制御信号生成部14で生成されるシリアル制御信号TXは、制御信号出力回路30を介してTX送信用通信線4へ出力されるようになっている。このトライステートバッファのイネーブルピンENには、故障検出回路20から故障検出信号が入力される。
The control
他方の中央処理ユニットが正常に動作しており、NAND演算回路23における出力信号TXONがLレベルであるときには、制御信号出力回路30がHi−z状態となり、制御信号生成部14で生成されるシリアル制御信号TXはTX送信用通信線4へ出力されない。一方、他方の中央処理ユニットが故障するなどして、NAND演算回路23からHレベルの出力信号TXON(故障検出信号)が出力されたときには、制御信号生成部14で生成されるシリアル制御信号TXは、制御信号出力回路30を介して、出力信号TXOUTとしてTX送信用通信線4へ出力される。
When the other central processing unit is operating normally and the output signal TXON in the
故障検出制御回路40は、トライステートバッファにより構成され、制御信号生成部14で生成されるシリアル制御信号TXは、故障検出制御回路40を介して他方の中央処理ユニットのTX検出回路22へ入力されるようになっている。このトライステートバッファのイネーブルピンENには、故障検出回路20から故障検出信号が入力される。
The failure
他方の中央処理ユニットが正常に動作しており、NAND演算回路23における出力信号TXONがLレベルであるときには、故障検出制御回路40がHi−z状態となり、制御信号生成部14で生成されるシリアル制御信号TXは他方の中央処理ユニットへ出力されない。一方、他方の中央処理ユニットが故障するなどして、NAND演算回路23からHレベルの出力信号TXON(故障検出信号)が出力されたときには、制御信号生成部14で生成されるシリアル制御信号TXは、故障検出制御回路40を介して、入力信号TXINとして他方の中央処理ユニットのTX検出回路22へ入力される。
When the other central processing unit is operating normally and the output signal TXON in the
リセット信号出力回路50は、トライステートバッファにより構成され、WDT21からの出力信号SYWDは、リセット信号出力回路50を介してリセット用通信線6へ出力されるようになっている。このトライステートバッファのイネーブルピンENには、故障検出回路20から故障検出信号が入力される。
The reset
他方の中央処理ユニットが正常に動作しており、NAND演算回路23における出力信号TXONがLレベルであるときには、リセット信号出力回路50がHi−z状態となり、WDT21からの出力信号SYWDはリセット用通信線6へ出力されない。一方、他方の中央処理ユニットが故障するなどして、NAND演算回路23からHレベルの出力信号TXON(故障検出信号)が出力されたときには、WDT21からの出力信号SYWDは、リセット信号出力回路50を介してリセット用通信線6へ出力される。
When the other central processing unit is operating normally and the output signal TXON in the
本実施の形態では、中央処理ユニット1,2の故障を他方の中央処理ユニットのマイクロプロセッサが生成するシリアル制御信号TX及びWDパルスに基づいて検出することができる。すなわち、マイクロプロセッサによって周期的に生成されるWDパルスに加えて、TX送信用通信線4を介して被制御ユニット3へ出力されるシリアル制御信号TXを用いて中央処理ユニット1,2の故障検出を行うことができる。したがって、シリアル制御信号TXが正常に出力されていないにもかかわらず、WDパルスでは故障検出を行うことができない場合であっても、故障検出信号TXONを生成することができ、中央処理ユニット1,2の故障検出を確実に行うことができる。
In the present embodiment, the failure of the
また、1対の中央処理ユニット1,2が共通のTX送信用通信線4を介して被制御ユニット3に接続され、各中央処理ユニット1,2からのシリアル制御信号TXの出力制御が、当該中央処理ユニットからの故障検出信号TXONに基づいて行われる。このように、共通のTX送信用通信線4を使用することにより、複雑な通信線を設ける必要がなく、簡便な構成で中央処理ユニット1,2の故障検出を行うことができる。なお、同じ通信速度であれば、パラレル通信よりもシリアル通信の方が信号の変化が早いので、シリアル制御信号TXを用いることにより、故障を早く検出することができる。
In addition, a pair of
また、一方の中央処理ユニットに故障が生じて、シリアル制御信号TX又はWDパルスの出力に異常が生じた場合でも、故障検出回路20が他方の中央処理ユニットに備えられているので、故障検出回路20にも故障が生じることにより故障検出信号TXONが出力されないといった事態を防止できる。したがって、一方の中央処理ユニットに故障が生じた場合に、他方の中央処理ユニットにおいて確実に故障検出信号TXONを出力し、その故障検出信号TXONに基づいてシリアル制御信号TXを出力することができるので、被制御ユニット3へ確実にシリアル制御信号TXを出力することができる。
Even when a failure occurs in one central processing unit and an abnormality occurs in the output of the serial control signal TX or WD pulse, the
一方の中央処理ユニットが制御中に故障した場合には、他方の中央処理ユニットで被制御ユニット3を制御する状態に切り替わるので、被制御ユニット3を動作させた状態のまま故障した中央処理ユニットを取り外して交換することができる。また、従来のように切替ユニットを別途設ける必要がないので、システムを簡略化することができる。 If one central processing unit fails during control, the other central processing unit switches to a state in which the controlled unit 3 is controlled. Can be removed and replaced. Further, since there is no need to provide a separate switching unit as in the prior art, the system can be simplified.
また、故障検出回路20で生成された故障検出信号TXONに基づいて、シリアル制御信号TXを他方の中央処理ユニットの故障検出回路20へ入力することにより、他方の中央処理ユニットにおける故障検出回路20からの故障検出信号TXONの出力を制御することができる。したがって、一方の中央処理ユニットにおいて故障検出信号TXONが出力され、その故障検出信号TXONに基づいて一方の中央処理ユニットにおいてシリアル制御信号TXが出力されている状態で、他方の中央処理ユニットからの故障検出信号TXONの出力を停止させることにより、その他方の中央処理ユニットからシリアル制御信号TXが出力されない状態にすることができる。これにより、1対の中央処理ユニット1,2の両方から被制御ユニット3へシリアル制御信号TXが出力されるのを防止できる。
Further, by inputting the serial control signal TX to the
また、シリアル制御信号TX及びWDパルスのいずれかが検出されない場合に故障検出信号TXONが生成され、その故障検出信号TXONに基づいてシリアル制御信号TXがTX送信用通信線4へ出力される。シリアル制御信号TX及びWDパルスは、ソフトウェアのフェーズの異なる場所から出力することができるので、それらのいずれかが検出されない場合に故障検出信号TXONを出力することにより、故障をより確実に検出することができる。
Further, when either the serial control signal TX or the WD pulse is not detected, a failure detection signal TXON is generated, and the serial control signal TX is output to the TX
本実施の形態では、いずれかの中央処理ユニットにおいて生成されるシリアル制御信号TXが、他方の中央処理ユニットに備えられたTX検出回路22により検出されるような構成について説明したが、いずれかの中央処理ユニットにおいて生成されるWDパルスが、他方の中央処理ユニットに備えられたWDT21により検出されるような構成であってもよい。
In the present embodiment, the configuration has been described in which the serial control signal TX generated in one central processing unit is detected by the
本発明は、以上の実施の形態の内容に限定されるものではなく、請求項記載の範囲内において種々の変更が可能である。 The present invention is not limited to the contents of the above-described embodiment, and various modifications can be made within the scope of the claims.
1 第1中央処理ユニット
2 第2中央処理ユニット
3 被制御ユニット
4 TX送信用通信線
5 RX受信用通信線
6 リセット用通信線
7 専用ケーブル
10 CPU
11 リセット処理部
12 監視用信号生成部
13 割込処理部
14 制御信号生成部
15 応答信号入力部
20 故障検出回路
21 WDT
22 TX検出回路
23 NAND演算回路
30 制御信号出力回路
40 故障検出制御回路
50 リセット信号出力回路
DESCRIPTION OF
11
22
Claims (7)
上記制御ユニットが、
上記制御対象装置を制御するためのシリアル制御信号を生成するとともに、監視用信号を周期的に生成するマイクロプロセッサと、
上記シリアル制御信号及び上記監視用信号に基づいて故障検出信号を生成する故障検出回路と、
他方の制御ユニットからの故障検出信号に基づいて、上記シリアル制御信号を上記シリアル通信線へ出力する制御信号出力回路とを備えたことを特徴とする切替制御システム。 In a switching control system in which a pair of control units are detachably connected to a control target device via a common serial communication line, and any one control unit controls the control target device.
The control unit is
A microprocessor that generates a serial control signal for controlling the device to be controlled, and periodically generates a monitoring signal;
A failure detection circuit for generating a failure detection signal based on the serial control signal and the monitoring signal;
A switching control system comprising: a control signal output circuit that outputs the serial control signal to the serial communication line based on a failure detection signal from the other control unit.
上記制御ユニットが、
上記制御対象装置を制御するためのシリアル制御信号を生成するとともに、監視用信号を周期的に生成するマイクロプロセッサと、
ともに他方の制御ユニットから出力されるシリアル制御信号及び監視用信号に基づいて故障検出信号を生成する故障検出回路と、
上記故障検出信号に基づいて、上記シリアル制御信号を上記シリアル通信線へ出力する制御信号出力回路とを備えたことを特徴とする切替制御システム。 In a switching control system in which a pair of control units are detachably connected to a control target device via a common serial communication line, and any one control unit controls the control target device.
The control unit is
A microprocessor that generates a serial control signal for controlling the device to be controlled, and periodically generates a monitoring signal;
A failure detection circuit that generates a failure detection signal based on the serial control signal and the monitoring signal both output from the other control unit;
A switching control system comprising: a control signal output circuit that outputs the serial control signal to the serial communication line based on the failure detection signal.
上記制御対象装置を制御するためのシリアル制御信号を生成するとともに、監視用信号を周期的に生成するマイクロプロセッサと、
上記シリアル制御信号及び上記監視用信号に基づいて故障検出信号を生成する故障検出回路と、
他方の制御ユニットからの故障検出信号に基づいて、上記シリアル制御信号を上記シリアル通信線へ出力する制御信号出力回路とを備えたことを特徴とする制御ユニット。 In the control unit that is detachably connected to the control target device via the serial communication line and controls the control target device alternatively with the other control unit in a pair,
A microprocessor that generates a serial control signal for controlling the device to be controlled, and periodically generates a monitoring signal;
A failure detection circuit for generating a failure detection signal based on the serial control signal and the monitoring signal;
A control unit comprising a control signal output circuit for outputting the serial control signal to the serial communication line based on a failure detection signal from the other control unit.
上記制御対象装置を制御するためのシリアル制御信号を生成するとともに、監視用信号を周期的に生成するマイクロプロセッサと、
ともに他方の制御ユニットから出力されるシリアル制御信号及び監視用信号に基づいて故障検出信号を生成する故障検出回路と、
上記故障検出信号に基づいて、上記シリアル制御信号を上記シリアル通信線へ出力する制御信号出力回路とを備えたことを特徴とする制御ユニット。 In the control unit that is detachably connected to the control target device via the serial communication line and controls the control target device alternatively with the other control unit in a pair,
A microprocessor that generates a serial control signal for controlling the device to be controlled, and periodically generates a monitoring signal;
A failure detection circuit that generates a failure detection signal based on the serial control signal and the monitoring signal both output from the other control unit;
And a control signal output circuit that outputs the serial control signal to the serial communication line based on the failure detection signal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005250932A JP4755868B2 (en) | 2005-08-31 | 2005-08-31 | Switching control system and control unit applied thereto |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005250932A JP4755868B2 (en) | 2005-08-31 | 2005-08-31 | Switching control system and control unit applied thereto |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2007067801A true JP2007067801A (en) | 2007-03-15 |
JP4755868B2 JP4755868B2 (en) | 2011-08-24 |
Family
ID=37929480
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005250932A Active JP4755868B2 (en) | 2005-08-31 | 2005-08-31 | Switching control system and control unit applied thereto |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4755868B2 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011188290A (en) * | 2010-03-09 | 2011-09-22 | Fuji Xerox Co Ltd | Information communication system and program |
CN113335298A (en) * | 2021-05-28 | 2021-09-03 | 广汽丰田汽车有限公司 | CPU fault processing method, vehicle and readable storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH1091892A (en) * | 1996-08-21 | 1998-04-10 | Honeywell Inc | Process control system |
JP2004304500A (en) * | 2003-03-31 | 2004-10-28 | Leader Electronics Corp | Switching device |
-
2005
- 2005-08-31 JP JP2005250932A patent/JP4755868B2/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH1091892A (en) * | 1996-08-21 | 1998-04-10 | Honeywell Inc | Process control system |
JP2004304500A (en) * | 2003-03-31 | 2004-10-28 | Leader Electronics Corp | Switching device |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011188290A (en) * | 2010-03-09 | 2011-09-22 | Fuji Xerox Co Ltd | Information communication system and program |
CN113335298A (en) * | 2021-05-28 | 2021-09-03 | 广汽丰田汽车有限公司 | CPU fault processing method, vehicle and readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
JP4755868B2 (en) | 2011-08-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9626929B2 (en) | Liquid crystal panel driving apparatus | |
JP2009201334A (en) | Double-system train control device | |
JP2009053734A (en) | Method for detecting disconnection and power discontinuity of i/o unit connected to numerical controller | |
JP4755868B2 (en) | Switching control system and control unit applied thereto | |
JPH0778039A (en) | Clock selection control system | |
TWI434159B (en) | Dual system control device | |
JP2007018026A (en) | Controller | |
US8908782B2 (en) | Method and apparatus for checking asynchronous transmission of control signals | |
US10574514B2 (en) | Duplex control device and duplex system | |
JP2007026241A (en) | Abnormality monitoring method and controller using it | |
KR100232869B1 (en) | The device and its method of detecting eject of modules previously in communication system with redundant structure | |
JP3125864B2 (en) | Redundant system | |
JP2010282565A (en) | Peripheral device driving device | |
JP5146452B2 (en) | Monitoring device, information processing device, and alarm signal output method | |
JP3063435B2 (en) | Instantaneous interruption redundant switching method | |
JP2021135121A (en) | Fault detection circuit and fault detection system | |
KR101563932B1 (en) | Apparatus and method for switchover of redundancy status in redundancy system | |
JP2006106833A (en) | Backup device for main controller in monitoring board and tunnel disaster prevention facility | |
JP2007271533A (en) | Test system for digital processing device | |
JP2011040842A (en) | Device changeover method of duplication system | |
JP2010103752A (en) | Vehicle controller and on-board gateway device | |
JPH07303099A (en) | Correcting system for transmission frame at the time of switching clock redundant system | |
JP2004094695A (en) | Hardware protection control circuit | |
JPS63240145A (en) | Digital signal transmission system | |
JP2002290423A (en) | Communication processing device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20071115 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20100601 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20100608 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100726 |
|
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: 20110524 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20110530 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140603 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4755868 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: 20140603 Year of fee payment: 3 |
|
S533 | Written request for registration of change of name |
Free format text: JAPANESE INTERMEDIATE CODE: R313533 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140603 Year of fee payment: 3 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |