JP2014021753A - Parallel bus circuit, and communication system - Google Patents

Parallel bus circuit, and communication system Download PDF

Info

Publication number
JP2014021753A
JP2014021753A JP2012160353A JP2012160353A JP2014021753A JP 2014021753 A JP2014021753 A JP 2014021753A JP 2012160353 A JP2012160353 A JP 2012160353A JP 2012160353 A JP2012160353 A JP 2012160353A JP 2014021753 A JP2014021753 A JP 2014021753A
Authority
JP
Japan
Prior art keywords
parallel bus
bus
communication
parallel
circuit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2012160353A
Other languages
Japanese (ja)
Inventor
Koji Yajima
孝二 矢島
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.)
NEC Saitama Ltd
Original Assignee
NEC Saitama 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 NEC Saitama Ltd filed Critical NEC Saitama Ltd
Priority to JP2012160353A priority Critical patent/JP2014021753A/en
Publication of JP2014021753A publication Critical patent/JP2014021753A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Bus Control (AREA)

Abstract

PROBLEM TO BE SOLVED: To decrease the number of signal lines which connect ports to each other and to carry on serial communication even when bus abnormality is detected.SOLUTION: Serial communication interfaces 13, 23 are connected to respective bits of a parallel bus 4 through a majority circuit 14 or majority circuit 24. When each of the serial communication interfaces outputs data through the majority circuit 14 or the majority circuit 24, the same data is output to all the bits of the parallel bus 4. When data is input to each of the serial communication interfaces through the parallel bus 4, on the other hand, the majority circuit 14 or majority circuit 24 determines values which are indicated more among values of the respective bits of the parallel bus 4. Consequently, a need to install a serial bus is eliminated and even if abnormality occurs to the parallel bus 4, serial communication can be carried on.

Description

本発明はパラレルバス回路方法及び通信システムに係り、特に、パラレルバスのビットに断線等の異常が発生した場合でもシリアル通信の継続を可能にするパラレルバス回路及び通信システムに関する。   The present invention relates to a parallel bus circuit method and a communication system, and more particularly to a parallel bus circuit and a communication system that enable continuation of serial communication even when an abnormality such as disconnection occurs in a bit of a parallel bus.

複数の装置の組み込みにより構成される通信システムでは、ボード間のデータの伝送に使用するバスが故障したときに備えて、監視専用バスを用意したり、バスを2重化したりする等、バス故障時の通信経路が無くなることを防止する対策がとられている。これにより、小規模なデータ伝送が継続できる。しかしながら、このような工夫を施すために、ボード間に接続する信号数が増大し、通信用バス回線が大規模となるので、システム全体の規模を大きくしてしまうといった問題点が生じていた。   In communication systems consisting of multiple devices, a bus failure such as preparing a dedicated monitoring bus or duplicating the bus in preparation for a failure of the bus used to transmit data between boards Measures are taken to prevent the loss of time communication paths. Thereby, small-scale data transmission can be continued. However, in order to apply such a device, the number of signals connected between the boards increases, and the communication bus line becomes large, resulting in a problem that the scale of the entire system is increased.

この分野の公知例技術として、特許文献1には、自システムまたは相手側システムに障害が発生したときに、現用系システムと予備系システムとの切り替えを自動的に行うことにより、システムの信頼性向上を図る技術が開示されている。具体的には、現用系システム、及び予備系システムは、自システムの動作状態を監視してアラーム信号を発生する動作状態監視部を備える。また、現用系システム、及び予備系システムは、相手側システムの切替状態信号を受信するバッファ部を備える。また、現用系システム、及び予備系システムは、バッファ部の受信信号を内部に読み込んで接続制御信号を発生する接続制御信号発生手段を備える。また、現用系システム、及び予備系システムは、アラーム信号または接続制御信号によって切替制御信号を発生する切替制御部を備える。また、現用系システム、及び予備系システムは、切替制御信号によって通信制御部の送受信線を外部と接続または外部と遮断する切替部を備える。   As a well-known example technique in this field, Patent Document 1 describes system reliability by automatically switching between the active system and the standby system when a failure occurs in the own system or the counterpart system. Techniques for improving are disclosed. Specifically, the active system and the standby system include an operation state monitoring unit that monitors the operation state of the own system and generates an alarm signal. The active system and the standby system include a buffer unit that receives a switching state signal of the counterpart system. The active system and the standby system include connection control signal generation means for reading the received signal of the buffer unit and generating a connection control signal. In addition, the active system and the standby system include a switching control unit that generates a switching control signal using an alarm signal or a connection control signal. In addition, the active system and the standby system include a switching unit that connects or disconnects the transmission / reception line of the communication control unit from the outside by a switching control signal.

また、特許文献2には、複数の負荷分散プロセッサと診断・試験プロセッサとの間を接続する共通バスを二重化して信頼性を向上する技術が開示されている。具体的には、この複数の負荷分散プロセッサの各々は、自己の診断・試験の必要性を検知して上記診断・試験プロセッサに診断・試験要求を行う機能を備える。また、診断・試験プロセッサは、上記要求に対処する機能を備えると共に、共通バスを介した業務データの授受の状態での異常を検出し、この異常に対処する機能を備える。   Patent Document 2 discloses a technique for improving reliability by duplicating a common bus connecting between a plurality of load balancing processors and a diagnosis / test processor. Specifically, each of the plurality of load distribution processors has a function of detecting the necessity of its own diagnosis / test and making a diagnosis / test request to the diagnosis / test processor. The diagnosis / test processor has a function to cope with the above request, and also has a function to detect an abnormality in the state of exchanging business data via the common bus and cope with this abnormality.

また、特許文献3には、コンピユータ・システムの平均故障間隔を増大するための方法が開示されている。具体的には、ビット転送においてスペアラインとマルチプレクサとを配置し、例えば、信号Cのラインが故障した場合は、信号Cは一方のMUXから他方のMUXに切換え入力される。この切り換え入力は選択信号によって実現される。また、番号が故障に係わるライン番号よりも大きい2つのラインの入力についても、同様な切り換えがなされる。   Patent Document 3 discloses a method for increasing the average failure interval of a computer system. Specifically, a spare line and a multiplexer are arranged in the bit transfer. For example, when the line of the signal C fails, the signal C is switched and input from one MUX to the other MUX. This switching input is realized by a selection signal. The same switching is performed for the input of two lines whose numbers are larger than the line number related to the failure.

また、特許文献4には、IOPのPCI制御部が故障した場合、ホストCPUは代替パスとしてIOPのシリアルインタフェースを介して処理を続行できるようにすることを課題とする技術が開示されている。具体的には、インテリジェントIOプロセサを有する情報処理システムにおいて、インテリジェントIOプロセサが有するシリアルインタフェースと、情報処理システムが有するシリアルインタフェースとを、切り替えスイッチを介して接続する。そして、インテリジェントIOプロセサのホストCPUとの運用インタフェース制御部が故障した場合に、情報処理システムのシリアルインタフェースからインテリジェントIOプロセサのシリアルインタフェースに制御指示する代替パスを確立する。   Japanese Patent Application Laid-Open No. 2004-228561 discloses a technique that allows a host CPU to continue processing via an IOP serial interface as an alternative path when a PCI control unit of an IOP fails. Specifically, in an information processing system including an intelligent IO processor, a serial interface included in the intelligent IO processor and a serial interface included in the information processing system are connected via a changeover switch. Then, when an operation interface control unit with the host CPU of the intelligent IO processor fails, an alternative path for instructing control from the serial interface of the information processing system to the serial interface of the intelligent IO processor is established.

さらに、特許文献5には、信頼性の極めて高い通信を簡素な配線システムによって実現できる通信回路、通信ネットワークおよび連結装置が開示されている。具体的には、3本以上の信号ラインからなる信号線の一端側に接続されて入力端子に入力された信号を各信号ラインに分配送信する信号分配部を備える。また、信号線の他端側に接続されて各信号ラインを介して受信する複数の受信信号を比較して一致数の多い受信信号を真として選択受信し出力端子に出力する多数決選択受信回路を備える。   Further, Patent Document 5 discloses a communication circuit, a communication network, and a connecting device that can realize highly reliable communication with a simple wiring system. Specifically, a signal distribution unit is provided that is connected to one end side of a signal line including three or more signal lines and distributes and transmits a signal input to the input terminal to each signal line. Also, a majority selection receiving circuit that is connected to the other end of the signal line and compares a plurality of received signals received via each signal line, selects and receives a received signal with a large number of matches as true, and outputs it to the output terminal. Prepare.

特公昭58−041535号公報Japanese Examined Patent Publication No. 58-041535 特公平03−041863号公報Japanese Patent Publication No. 03-041863 特公平08−031856号公報Japanese Patent Publication No. 08-031856 特開平11−259378号公報JP 11-259378 A 特開2011−146953号公報Japanese Patent Application Laid-Open No. 2011-146953

特許文献1に記載の装置のような、障害が発生したときに、現用系システムと予備系システムとの切り替えを自動的に行う方法は、システムの信頼性向上を図る有効な手段である。しかしながら、後述する理由により、必ずしも通信用のバス回線の規模を縮小できるとは限らない。また、特許文献2に記載の方法も、システムの信頼性向上を図る有効な手段である。しかしながら、特許文献1に記載の装置と同様に、必ずしも通信用のバス回線の規模を縮小できるとは限らない。   The method of automatically switching between the active system and the standby system when a failure occurs, such as the device described in Patent Document 1, is an effective means for improving the system reliability. However, the scale of the communication bus line cannot always be reduced for the reasons described later. The method described in Patent Document 2 is also an effective means for improving the reliability of the system. However, like the device described in Patent Document 1, the scale of the bus line for communication cannot always be reduced.

また、特許文献3に記載の装置のような、コンピユータ・システムの平均故障間隔を増大させる方法も、システムの信頼性向上を図る有効な手段である。しかしながら、特許文献1に記載の装置と同様に、必ずしも通信用のバス回線の規模を縮小できるとは限らない。また、特許文献4に記載の装置のような、IOPのPCI制御部が故障した場合に備えて、ホストCPUに代替パスを設ける方法は、システムの信頼性向上を図る有効な手段である。しかしながら、特許文献1に記載の装置と同様に、必ずしも通信用のバス回線の規模を縮小できるとは限らない。   A method for increasing the average failure interval of a computer system, such as the device described in Patent Document 3, is also an effective means for improving the reliability of the system. However, like the device described in Patent Document 1, the scale of the bus line for communication cannot always be reduced. A method of providing an alternative path to the host CPU in case the IOP PCI control unit fails, such as the device described in Patent Document 4, is an effective means for improving the reliability of the system. However, like the device described in Patent Document 1, the scale of the bus line for communication cannot always be reduced.

さらに、特許文献5に記載の回路のような、多数決選択受信回路を用いて信頼性の極めて高い通信を簡素な配線システムによって実現する回路は、故障時の対応を行うものではなく、また、必ずしも通信用のバス回線の規模を縮小できるとは限らない。   Furthermore, a circuit that realizes highly reliable communication by a simple wiring system using a majority selection receiving circuit, such as the circuit described in Patent Document 5, does not correspond to a failure, and does not necessarily It is not always possible to reduce the scale of a communication bus line.

ところで、複数の装置の組み込みにより構成される通信システムでは、ボード間のデータの伝送に使用するバスが故障したときに備え、監視専用バスを用意したり、バスを2重化したりする等、バス故障時の通信経路が無くなることを防止する対策が必要となる。しかしながら、上述したような従前のパラレルバス回路においては、システム全体の回路規模が大きくなってしまうといった問題点があった。以下、この点について、図4を参照して説明する。   By the way, in a communication system configured by incorporating a plurality of devices, a bus dedicated for monitoring is prepared or a bus is duplicated in case a bus used for data transmission between boards fails. It is necessary to take measures to prevent the communication path at the time of failure from being lost. However, the conventional parallel bus circuit as described above has a problem that the circuit scale of the entire system becomes large. Hereinafter, this point will be described with reference to FIG.

図4は、従前のパラレルバス回路の回路構成を示す回路図である。同図において、ボード1とボード2はパラレルバス4、バス異常通知線3及びシリアルバス5により接続されている。また、ボード1内で、パラレルバス4はパラレル通信インタフェース12を介して通信ホスト11に接続されている。同様に、ボード2内で、パラレルバス4はパラレル通信インタフェース22を介して通信ホスト21に接続されている。また、ボード1内で、シリアルバス5はシリアル通信インタフェース13を介して通信ホスト11に接続されている。   FIG. 4 is a circuit diagram showing a circuit configuration of a conventional parallel bus circuit. In the figure, the board 1 and the board 2 are connected by a parallel bus 4, a bus abnormality notification line 3 and a serial bus 5. In the board 1, the parallel bus 4 is connected to the communication host 11 via the parallel communication interface 12. Similarly, in the board 2, the parallel bus 4 is connected to the communication host 21 via the parallel communication interface 22. In the board 1, the serial bus 5 is connected to the communication host 11 via the serial communication interface 13.

同様に、ボード2内で、シリアルバス5はシリアル通信インタフェース23を介して通信ホスト21に接続されている。さらに、ボード1内で、バス異常通知線3は通信ホスト11に接続されている。同様に、ボード2内では、バス異常通知線3は通信ホスト21に接続されている。通信ホスト11及び通信ホスト21でバスの異常を検出したときには、バス異常通知線3を介して異常を対向の通信ホストに通知し、通信経路をシリアルバス5に切り替えることで通信を継続している。しかしながら、このような従前のパラレルバス回路では、予備の通信インタフェースを用意する必要があるため、ボード間を接続する信号線の本数が増大することが問題点であった。   Similarly, in the board 2, the serial bus 5 is connected to the communication host 21 via the serial communication interface 23. Furthermore, the bus abnormality notification line 3 is connected to the communication host 11 in the board 1. Similarly, in the board 2, the bus abnormality notification line 3 is connected to the communication host 21. When the communication host 11 and the communication host 21 detect a bus abnormality, the abnormality is notified to the opposite communication host via the bus abnormality notification line 3, and the communication is continued by switching the communication path to the serial bus 5. . However, in such a conventional parallel bus circuit, since it is necessary to prepare a spare communication interface, it is a problem that the number of signal lines connecting between boards increases.

本発明は、上記の問題点に鑑みてなされたものであって、ボード間を接続する信号線の本数節約を可能にすると共にバス異常検出時にもシリアル通信の継続を可能にするパラレルバス回路及び通信システムを提供することを目的としている。   The present invention has been made in view of the above problems, and it is possible to save the number of signal lines connecting between boards, and to enable serial communication to be continued even when a bus abnormality is detected, and a parallel bus circuit and The object is to provide a communication system.

上記課題を解決するために、本発明に係るパラレルバス回路は、複数のボード間でパラレル通信を行うための、該複数のボードの各々が備えるパラレル通信インタフェース手段と、複数のボード間でシリアル通信を行うための、該複数のボードの各々が備えるシリアル通信インタフェース手段と、複数のボード間を接続するパラレルバスと、パラレルバスとシリアル通信インタフェース手段との間に接続された多数決回路と、パラレル通信インタフェース手段及びシリアル通信インタフェース手段に接続され、パラレルバスの異常を検知する手段を有すると共に、パラレルバスの正常時にはパラレル通信インタフェース手段を介して他ボードと情報の送受信を行い、パラレルバスの異常時にはシリアル通信インタフェース手段及び多数決回路を介して他ボードと情報の送受信を行う通信ホストと、複数のボードの通信ホスト間を接続し、パラレルバスの異常発生を該通信ホスト間で相互に通知するためのバス異常通知線とを備える。   In order to solve the above-described problems, a parallel bus circuit according to the present invention includes a parallel communication interface unit included in each of the plurality of boards for performing parallel communication between the plurality of boards, and serial communication between the plurality of boards. Serial communication interface means included in each of the plurality of boards, a parallel bus connecting the plurality of boards, a majority circuit connected between the parallel bus and the serial communication interface means, and parallel communication It is connected to the interface means and the serial communication interface means, and has means for detecting the abnormality of the parallel bus. When the parallel bus is normal, it transmits / receives information to / from other boards via the parallel communication interface means. Communication interface means and majority circuit Includes a communications host to transmit and receive other boards and information over to connect the communication between a plurality of boards hosts, the abnormality of the parallel bus and a bus abnormality notification line for notifying each other between the communicating hosts.

また、本発明に係る通信システムは、上記のパラレルバス回路を備える。   The communication system according to the present invention includes the parallel bus circuit described above.

以上の説明から明らかなように、この発明によれば、ボード間を接続するシリアスバスを不要にすると共に、ボード間を接続するパラレルバスのいずれかのビットに断線等の異常が発生した場合であっても、ボード間のシリアル通信を継続して実施することができる。   As is apparent from the above description, according to the present invention, the serial bus that connects the boards is unnecessary, and an abnormality such as disconnection occurs in any bit of the parallel bus that connects the boards. Even if it exists, serial communication between boards can be continued.

本発明の実施形態に係るパラレルバス回路の回路構成を示す回路図である。It is a circuit diagram which shows the circuit structure of the parallel bus circuit which concerns on embodiment of this invention. 多数決回路14において、シリアル通信インタフェース入力信号をパラレル通信インタフェース出力信号に変換する場合の一例としての対応関係を示す説明図である。FIG. 10 is an explanatory diagram showing a correspondence relationship as an example when a serial communication interface input signal is converted into a parallel communication interface output signal in the majority circuit. 多数決回路14において、パラレル通信インタフェース入力信号をシリアル通信インタフェース出力信号に変換する場合の一例としての対応関係を示す説明図である。FIG. 5 is an explanatory diagram showing a correspondence relationship as an example when a parallel communication interface input signal is converted into a serial communication interface output signal in the majority circuit. 従前のパラレルバス回路の回路構成を示す回路図である。It is a circuit diagram which shows the circuit structure of the conventional parallel bus circuit.

以下、本発明のパラレルバス回路及び通信システムの実施形態について、図面を参照して詳細に説明する。図1は、本発明の実施形態に係るパラレルバス回路の回路構成を示す回路図である。同図において、図4と重複する部分には同一の符号を付す。同図において、本実施形態のパラレルバス回路は、ボード1、2、バス異常通知線3、パラレルバス4、通信ホスト11、21、パラレル通信インタフェース12、22、シリアル通信インタフェース13、23、及び多数決回路14、24を具備する。本発明のパラレルバス回路は、無線基地局装置のような組み込み型で、ボード間をパラレルバスで接続しているシステム一般に適用することが可能である。   DESCRIPTION OF EMBODIMENTS Hereinafter, embodiments of a parallel bus circuit and a communication system of the present invention will be described in detail with reference to the drawings. FIG. 1 is a circuit diagram showing a circuit configuration of a parallel bus circuit according to an embodiment of the present invention. In the figure, the same reference numerals are given to the portions overlapping with those in FIG. In the figure, the parallel bus circuit of this embodiment includes boards 1 and 2, a bus abnormality notification line 3, a parallel bus 4, communication hosts 11 and 21, parallel communication interfaces 12 and 22, serial communication interfaces 13 and 23, and a majority decision. Circuits 14 and 24 are provided. The parallel bus circuit of the present invention is a built-in type such as a radio base station apparatus, and can be applied to a general system in which boards are connected by a parallel bus.

以下、図1を参照して、本実施形態のパラレルバス回路の特徴的な機能を説明する。本実施形態のパラレルバス回路は、パラレルバス回路においてバスの異常を検出したときに、送信側はバスの全ビットに同じシリアルデータを出力し、受信側は多数決回路を用いてシリアルのデータを抽出する。このようにして、バス異常検出時にも、低速ではあるが通信を継続できることを特徴としている。   The characteristic functions of the parallel bus circuit of this embodiment will be described below with reference to FIG. In the parallel bus circuit of this embodiment, when a bus abnormality is detected in the parallel bus circuit, the transmitting side outputs the same serial data to all the bits of the bus, and the receiving side extracts serial data using a majority circuit. To do. Thus, even when a bus abnormality is detected, the communication can be continued at a low speed.

以下、図1を参照して、本実施形態のパラレルバス回路における回路要素間の接続について説明する。図1において、ボード1とボード2とは、パラレルバス4及びバス異常通知線3によって接続されている。より具体的には、ボード1内でパラレルバス4は、パラレル通信インタフェース12を介して通信ホスト11に接続されている。同様にボード2内でパラレルバス4は、パラレル通信インタフェース22を介して通信ホスト21に接続されている。また、ボード1内でパラレルバス4は、多数決回路14及びシリアル通信インタフェース13を介して通信ホスト11に接続されている。   Hereinafter, connection between circuit elements in the parallel bus circuit of the present embodiment will be described with reference to FIG. In FIG. 1, the board 1 and the board 2 are connected by a parallel bus 4 and a bus abnormality notification line 3. More specifically, the parallel bus 4 in the board 1 is connected to the communication host 11 via the parallel communication interface 12. Similarly, the parallel bus 4 in the board 2 is connected to the communication host 21 via the parallel communication interface 22. In the board 1, the parallel bus 4 is connected to the communication host 11 via the majority circuit 14 and the serial communication interface 13.

同様にボード2内でパラレルバス4は、多数決回路24及びシリアル通信インタフェース23を介して通信ホスト21に接続されている。さらに、ボード1内でバス異常通知線3は、通信ホスト11に接続されている。同様にボード2内でバス異常通知線3は、通信ホスト21に接続されている。   Similarly, the parallel bus 4 in the board 2 is connected to the communication host 21 via the majority circuit 24 and the serial communication interface 23. Further, the bus abnormality notification line 3 in the board 1 is connected to the communication host 11. Similarly, the bus abnormality notification line 3 in the board 2 is connected to the communication host 21.

以下、図1を参照して、本実施形態のパラレルバス回路の動作について説明する。通常、ボード1とボード2との間は、パラレルバス4を介して通信を行っている。一方、通信ホスト11または通信ホスト21においてパラレルバス4の異常を検出したときには、バス異常通知線3に異常状態を出力する。そして、バス異常通知線3を介して異常状態を入力した通信ホスト11及び通信ホスト21は、通信経路をシリアル通信インタフェース13及びシリアル通信インタフェース23に切り替える。   The operation of the parallel bus circuit of this embodiment will be described below with reference to FIG. Usually, the board 1 and the board 2 communicate via the parallel bus 4. On the other hand, when the communication host 11 or the communication host 21 detects an abnormality in the parallel bus 4, an abnormal state is output to the bus abnormality notification line 3. Then, the communication host 11 and the communication host 21 that have input the abnormal state via the bus abnormality notification line 3 switch the communication path to the serial communication interface 13 and the serial communication interface 23.

シリアル通信インタフェース13及びシリアル通信インタフェース23は、多数決回路14または多数決回路24を介して、パラレルバス4の各ビットに接続されている。各シリアル通信インタフェースの、多数決回路14または多数決回路24を介したパラレルバス4へのデータ出力時は、パラレルバス4の全ビットに同じデータを出力する。   The serial communication interface 13 and the serial communication interface 23 are connected to each bit of the parallel bus 4 via the majority circuit 14 or the majority circuit 24. When data is output to the parallel bus 4 via the majority circuit 14 or the majority circuit 24 of each serial communication interface, the same data is output to all the bits of the parallel bus 4.

これとは逆に、パラレルバス4を介した各シリアル通信インタフェースへのデータ入力時は、多数決回路14または多数決回路24は、パラレルバス4の各ビットの値において、多く示されている方の値を決定する。よって、例えば、1が多く示されていれば1の値を決定し、0が多く示されていれば0の値を決定する。このように構成することにより、パラレルバス4のビットに断線等の異常が発生した場合であっても、シリアル通信を継続して実施できるパラレルバス回路を実現している。   On the contrary, at the time of data input to each serial communication interface via the parallel bus 4, the majority circuit 14 or the majority circuit 24 indicates the value which is indicated more in the value of each bit of the parallel bus 4. To decide. Therefore, for example, a value of 1 is determined if 1 is shown, and a value of 0 is determined if 0 is shown. With this configuration, a parallel bus circuit that can continuously perform serial communication even when an abnormality such as disconnection occurs in a bit of the parallel bus 4 is realized.

以下、図1を参照して、本実施形態のパラレルバス回路に障害が発生した時の動作について説明する。通常、ボード1とボード2との間は、パラレルバス4を介して通信を行っている。以下、一例として、パラレルバス4の或る1ビットに断線が発生したときの動作を説明する。通信ホスト11が、パラレルバス4の異常を検出した場合、通信ホスト11は、バス異常通知線3に異常状態を出力すると共に、通信ホスト21との通信経路をシリアル通信インタフェース13及び多数決回路14を介する通信経路に切り替える。   The operation when a failure occurs in the parallel bus circuit of this embodiment will be described below with reference to FIG. Usually, the board 1 and the board 2 communicate via the parallel bus 4. Hereinafter, as an example, an operation when a disconnection occurs in a certain bit of the parallel bus 4 will be described. When the communication host 11 detects an abnormality in the parallel bus 4, the communication host 11 outputs an abnormal state to the bus abnormality notification line 3, and the serial communication interface 13 and the majority circuit 14 are connected to the communication path with the communication host 21. Switch to the communication path.

通信ホスト21は、バス異常通知線3を介して上記異常状態が入力されると、通信ホスト11との通信経路をシリアル通信インタフェース23及び多数決回路24を介する通信経路に切り替える。同様に、通信ホスト21でパラレルバス4の異常を検出した場合も、上記と同様に、通信ホスト11との通信経路をシリアル通信インタフェース23及び多数決回路24を介する通信経路に切り替える。   When the abnormal state is input via the bus abnormality notification line 3, the communication host 21 switches the communication path with the communication host 11 to the communication path via the serial communication interface 23 and the majority circuit 24. Similarly, when the communication host 21 detects an abnormality in the parallel bus 4, the communication path with the communication host 11 is switched to the communication path via the serial communication interface 23 and the majority circuit 24 as described above.

図2は、多数決回路14において、シリアル通信インタフェース入力信号をパラレル通信インタフェース出力信号に変換する場合の一例としての対応関係を示す説明図である。同図に示すとおり、パラレルバス4に障害が発生して上述のとおり通信経路が切り替えられた時、多数決回路14では、図2に示すように、シリアル通信インタフェース13から入力された値を、パラレルバス4を構成する全ビットに出力する。   FIG. 2 is an explanatory diagram showing a correspondence relationship as an example when the serial communication interface input signal is converted into a parallel communication interface output signal in the majority circuit 14. As shown in the figure, when a failure occurs in the parallel bus 4 and the communication path is switched as described above, the majority circuit 14 converts the value input from the serial communication interface 13 into the parallel as shown in FIG. Output to all the bits constituting the bus 4.

図3は、多数決回路14において、パラレル通信インタフェース入力信号をシリアル通信インタフェース出力信号に変換する場合の一例としての対応関係を示す説明図である。多数決回路14にパラレルバス4から入力されたデータは、データを構成するビットの値である2値数の個数を上記各値毎にそれぞれ計数し、個数の多い方の2値数を、シリアル通信インタフェース13の出力信号を構成するビットの値として出力する。但し、2値数の0を値とするビットの数と2値数の1を値とするビットの数とが同数の場合は2値数の0を、シリアル通信インタフェース13の出力信号を構成するビットの値として出力する。また、多数決回路24についても、上記の多数決回路14と同様の動作を行う。   FIG. 3 is an explanatory diagram showing a correspondence relationship as an example when the majority communication circuit 14 converts a parallel communication interface input signal into a serial communication interface output signal. The data input from the parallel bus 4 to the majority circuit 14 counts the number of binary numbers, which are the values of the bits constituting the data, for each of the above values, and uses the larger number of binary numbers for serial communication. It is output as the value of the bits constituting the output signal of the interface 13. However, if the number of bits having a binary value of 0 is the same as the number of bits having a value of 1 of the binary number, the output signal of the serial communication interface 13 is configured with a binary number of 0. Output as bit value. The majority circuit 24 also operates in the same manner as the majority circuit 14 described above.

この例では、パラレルバス4の或る1ビットに断線が発生しているので、多数決回路14または多数決回路24で受信した8ビットのデータは1ビット誤っている可能性がある。しかしながら、他の7ビットには正しいデータが受信されているため、多数決回路14または多数決回路24では、8ビットのデータのビット単位の多数決出力として、元のシリアルデータを正しく決定することができる。この例では、パラレルバス4が8ビットの信号線で構成されるバスの場合を示しているが、この場合は、パラレルバス4を構成する8ビットの信号線の内、任意の3ビットまでの信号線の故障であれば、シリアル通信を正常に行うことが可能である。   In this example, since a disconnection has occurred in a certain bit of the parallel bus 4, the 8-bit data received by the majority circuit 14 or the majority circuit 24 may be erroneous by 1 bit. However, since the correct data is received in the other 7 bits, the majority circuit 14 or the majority circuit 24 can correctly determine the original serial data as a majority output in units of 8 bits of data. In this example, the case where the parallel bus 4 is a bus composed of 8-bit signal lines is shown, but in this case, any of the 8-bit signal lines constituting the parallel bus 4 can be up to 3 bits. If the signal line is faulty, serial communication can be performed normally.

この実施形態に係るパラレルバス回路では、パラレルバス4の異常検出時に、ボード1及びボード2ではシリアル通信を行う回路系統にそれぞれ切り替える。また、いずれのボードにおいても、送信時にはシリアル通信信号のビットの値を、パラレルバス4を構成する全ビットに出力する。また、受信時には多数決回路14または多数決回路24を用いてシリアルビットの値を決定する。このように構成することにより、ボード間を接続するシリアスバスの設置を不要にすると共に、パラレルバス4のいずれかのビットに断線等の異常が発生した場合であっても、ボード間のシリアル通信を継続して実施することが可能となる効果がある。   In the parallel bus circuit according to this embodiment, when the abnormality of the parallel bus 4 is detected, the board 1 and the board 2 are switched to a circuit system that performs serial communication. In any board, the value of the bit of the serial communication signal is output to all bits constituting the parallel bus 4 at the time of transmission. At the time of reception, the value of the serial bit is determined using the majority circuit 14 or the majority circuit 24. With this configuration, it is not necessary to install a serial bus that connects boards, and serial communication between boards can be performed even if an abnormality such as disconnection occurs in any bit of the parallel bus 4. There is an effect that can be carried out continuously.

また、上記の効果により、ボード1とボード2との間を接続する通信経路を2重に設置する必要を無くし、ボード1とボード2との間には、パラレル通信用のパラレルバス4を設置するだけで済ませることができる。このようにして、ボード1とボード2を含むシステム全体の回路規模を小規模にすることができる。   In addition, due to the above effects, it is not necessary to install double communication paths between the board 1 and the board 2, and a parallel bus 4 for parallel communication is installed between the board 1 and the board 2. You can just do it. In this way, the circuit scale of the entire system including the board 1 and the board 2 can be reduced.

前述の実施形態に係るパラレルバス回路では、パラレルバス4のビット数を8ビットとしたが、一般に、本発明に係るパラレルバス回路のパラレルバス4のビット数に制限はない。一般に、パラレルバス4をNビットのバスとした場合、Nが偶数の場合はN/2−1ビット、Nが奇数の場合はN/2(切り捨て)ビットの異常があっても、前述の実施形態に係るパラレルバス回路と同様の動作により、シリアル通信を継続させることが可能である。   In the parallel bus circuit according to the above-described embodiment, the number of bits of the parallel bus 4 is 8 bits. However, in general, the number of bits of the parallel bus 4 of the parallel bus circuit according to the present invention is not limited. In general, when the parallel bus 4 is an N-bit bus, the above-described implementation is performed even if there is an N / 2-1 bit error when N is an even number and an N / 2 (truncated) bit error when N is an odd number. Serial communication can be continued by the same operation as the parallel bus circuit according to the embodiment.

また、前述の実施形態に係るパラレルバス回路では、2枚のボード間をパラレルバス4によって接続したが、一般に、本発明に係るパラレルバス回路では、任意の複数のボード間を接続する構成のシステムにも適用することが可能である。この場合、バス調停回路を追加することも可能である。なお、パラレルバスの異常検出方法として、一般に知られているパリティビットやCRCをシステムに付加する方法も可能である。   Further, in the parallel bus circuit according to the above-described embodiment, two boards are connected by the parallel bus 4, but in general, in the parallel bus circuit according to the present invention, a system having a configuration in which a plurality of arbitrary boards are connected. It is also possible to apply to. In this case, a bus arbitration circuit can be added. As a method for detecting an abnormality in the parallel bus, a method of adding a commonly known parity bit or CRC to the system is also possible.

1 ボード
2 ボード
3 バス異常通知線
4 パラレルバス
11 通信ホスト
21 通信ホスト
12 パラレル通信インタフェース
22 パラレル通信インタフェース
13 シリアル通信インタフェース
23 シリアル通信インタフェース
14 多数決回路
24 多数決回路
1 board 2 board 3 bus abnormality notification line 4 parallel bus 11 communication host 21 communication host 12 parallel communication interface 22 parallel communication interface 13 serial communication interface 23 serial communication interface 14 majority circuit 24 majority circuit

Claims (4)

複数のボード間でパラレル通信を行うための、該複数のボードの各々が備えるパラレル通信インタフェース手段と、
前記複数のボード間でシリアル通信を行うための、該複数のボードの各々が備えるシリアル通信インタフェース手段と、
前記複数のボード間を接続するパラレルバスと、
前記パラレルバスと前記シリアル通信インタフェース手段との間に接続された多数決回路と、
前記パラレル通信インタフェース手段及び前記シリアル通信インタフェース手段に接続され、前記パラレルバスの異常を検知する手段を有すると共に、前記パラレルバスの正常時には前記パラレル通信インタフェース手段を介して他ボードと情報の送受信を行い、前記パラレルバスの異常時には前記シリアル通信インタフェース手段及び前記多数決回路を介して他ボードと情報の送受信を行う通信ホストと、
前記複数のボードの前記通信ホスト間を接続し、前記パラレルバスの異常発生を該通信ホスト間で相互に通知するためのバス異常通知線と
を備えるパラレルバス回路。
Parallel communication interface means included in each of the plurality of boards for performing parallel communication between the plurality of boards;
Serial communication interface means included in each of the plurality of boards for performing serial communication between the plurality of boards;
A parallel bus connecting the plurality of boards;
A majority circuit connected between the parallel bus and the serial communication interface means;
Connected to the parallel communication interface means and the serial communication interface means, and has means for detecting an abnormality of the parallel bus, and when the parallel bus is normal, transmits and receives information to and from other boards via the parallel communication interface means. A communication host that transmits and receives information to and from other boards via the serial communication interface means and the majority circuit when the parallel bus is abnormal;
A parallel bus circuit comprising: a bus abnormality notification line for connecting the communication hosts of the plurality of boards and notifying the communication host of the occurrence of an abnormality in the parallel bus.
前記シリアル通信インタフェース手段は、送信時には、前記通信ホストから送出される送信信号を入力すると共に該入力に対応した所定の出力信号を前記多数決回路に送出し、受信時には、前記多数決回路から送出される送信信号を入力すると共に該入力に対応した所定の出力信号を前記通信ホストに送出する
請求項1に記載のパラレルバス回路。
The serial communication interface means inputs a transmission signal sent from the communication host at the time of transmission and sends a predetermined output signal corresponding to the input to the majority circuit, and is sent from the majority circuit at the time of reception. The parallel bus circuit according to claim 1, wherein a transmission signal is input and a predetermined output signal corresponding to the input is transmitted to the communication host.
前記多数決回路は、送信時には、前記シリアル通信インタフェース手段から送出される2値信号を、前記パラレルバスを構成するビット単位の全ての通信線に送出し、受信時には、前記パラレルバスを構成するビット単位の全ての通信線の2値信号値の多数決によって決定される2値信号を、前記シリアル通信インタフェース手段に送出する
請求項2に記載のパラレルバス回路。
The majority circuit sends a binary signal sent from the serial communication interface means to all the communication lines in bit units constituting the parallel bus at the time of transmission, and a bit unit constituting the parallel bus at the time of reception. The parallel bus circuit according to claim 2, wherein a binary signal determined by majority decision of binary signal values of all communication lines is sent to the serial communication interface means.
請求項1から3のいずれか一項に記載の前記パラレルバス回路を備える通信システム。   A communication system comprising the parallel bus circuit according to any one of claims 1 to 3.
JP2012160353A 2012-07-19 2012-07-19 Parallel bus circuit, and communication system Pending JP2014021753A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012160353A JP2014021753A (en) 2012-07-19 2012-07-19 Parallel bus circuit, and communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012160353A JP2014021753A (en) 2012-07-19 2012-07-19 Parallel bus circuit, and communication system

Publications (1)

Publication Number Publication Date
JP2014021753A true JP2014021753A (en) 2014-02-03

Family

ID=50196552

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012160353A Pending JP2014021753A (en) 2012-07-19 2012-07-19 Parallel bus circuit, and communication system

Country Status (1)

Country Link
JP (1) JP2014021753A (en)

Similar Documents

Publication Publication Date Title
CN107870584B (en) Service board input power supply working state detection method and machine frame type equipment
JP5772911B2 (en) Fault tolerant system
US20160149835A1 (en) Relay Apparatus
US20100229050A1 (en) Apparatus having first bus and second bus connectable to i/o device, information processing apparatus and method of controlling apparatus
JP5706347B2 (en) Redundant control system
US20080168302A1 (en) Systems and methods for diagnosing faults in a multiple domain storage system
JP2008046996A (en) Data processor, and mode management device and method
CA2434899C (en) Fault tolerance
JP7188895B2 (en) Communications system
JP2014021753A (en) Parallel bus circuit, and communication system
US8639967B2 (en) Controlling apparatus, method for controlling apparatus and information processing apparatus
JP2010136038A (en) Transmitter, and method for switching system in redundant configuration
CN110928217A (en) CPU (Central processing Unit) triple-redundancy voting circuit applied to aviation electric heating control system
KR0152229B1 (en) Low price duplication node
US7440398B2 (en) Fault tolerant communication apparatus
JPH04305748A (en) Highly reliable bus
JP7417773B1 (en) Network interface card and transmission performance monitoring method
JP7371260B2 (en) Electronic equipment and connection inspection method
JP2014071773A (en) Duplex control device and control method of the same
KR20010038483A (en) Apparatus for error recovery the Inter Processor Communication path in the ATM switching system
JPH0944280A (en) Module exchanging method and self-diagnostic method for data processing system
JP6234388B2 (en) Dual system controller
WO2010070713A1 (en) Information processing device and control method
KR20020085051A (en) System for monitoring link status in duplication system and method thereof
JP2001186217A (en) Multiplexing control system having function for detecting disconnection of inter-system connecting part