JP6307574B1 - Public address device using CAN communication - Google Patents
Public address device using CAN communication Download PDFInfo
- Publication number
- JP6307574B1 JP6307574B1 JP2016211514A JP2016211514A JP6307574B1 JP 6307574 B1 JP6307574 B1 JP 6307574B1 JP 2016211514 A JP2016211514 A JP 2016211514A JP 2016211514 A JP2016211514 A JP 2016211514A JP 6307574 B1 JP6307574 B1 JP 6307574B1
- Authority
- JP
- Japan
- Prior art keywords
- communication
- bus
- controller
- main
- error
- 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
Links
- 238000004891 communication Methods 0.000 title claims abstract description 176
- 230000005236 sound signal Effects 0.000 claims abstract 2
- 238000012790 confirmation Methods 0.000 claims description 17
- 230000005856 abnormality Effects 0.000 claims description 14
- 238000001514 detection method Methods 0.000 claims description 13
- 230000005540 biological transmission Effects 0.000 claims description 8
- 238000012544 monitoring process Methods 0.000 claims description 8
- 230000002159 abnormal effect Effects 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 5
- 238000000034 method Methods 0.000 description 3
- 230000000386 athletic effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000008878 coupling Effects 0.000 description 1
- 238000010168 coupling process Methods 0.000 description 1
- 238000005859 coupling reaction Methods 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000000737 periodic effect Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
Images
Landscapes
- Small-Scale Networks (AREA)
Abstract
【課題】CANバスのエラーを確認して、エラーが発生したCANバスを他のCAN通信網と電気的に分離・独立させることにより、全体的にCAN通信が行えるようにしたCAN通信を用いたパブリックアドレス装置を提供する。【解決手段】CANバスラインにエラーが発生したか否かをチェックしてCAN通信を修復するCAN通信を用いたパブリックアドレス装置は、音源信号、音声信号及びメディア信号であるパブリックアドレス信号と制御信号を通信プロトコールに応じて伝送する主制御器100と、主制御器からパブリックアドレス信号及び制御信号を入力されてパブリックアドレス信号を出力するように制御する副制御器200、300、410、420、430と、を備える。主制御器及び副制御器は、CAN通信により互いにデータを送受信するようにCAN通信部621、・・・、655を備える。【選択図】図3A CAN communication is used in which an CAN bus error is confirmed, and the CAN bus in which the error has occurred is electrically separated and independent from other CAN communication networks so that CAN communication can be performed as a whole. Provide a public address device. A public address device using CAN communication that checks whether an error has occurred in a CAN bus line and restores CAN communication includes a public address signal that is a sound source signal, an audio signal, and a media signal, and a control signal. Main controller 100 for transmitting the communication address according to the communication protocol, and sub-controllers 200, 300, 410, 420, 430 for receiving the public address signal and the control signal from the main controller and outputting the public address signal. And comprising. The main controller and the sub controller include CAN communication units 621,..., 655 so as to transmit / receive data to / from each other by CAN communication. [Selection] Figure 3
Description
本発明は、CAN通信を用いたパブリックアドレス装置に係り、さらに詳しくは、CANバスラインにエラーが発生したか否かをチェックしてCAN通信を修復するCAN通信を用いたパブリックアドレス装置に関する。 The present invention relates to a public address device using CAN communication, and more particularly to a public address device using CAN communication that checks whether an error has occurred in a CAN bus line and restores CAN communication.
CAN通信を活用したパブリックアドレス装置は、先行技術文献であるKR10−1152225に開示されている。KR10−1152225には、CAN通信の多重化のために互いに異なる第1のCANバス及び第2のCANバスを設け、いずれか一方のCANバスにエラーが発生した場合、他方のCANバスを介してCAN通信を行う技術が開示されている。
しかしながら、このような先行技術文献のように、CAN通信を多重化させる場合には、正常にCAN通信が行えるときに不要な残りのCANバスが余剰になって、CAN通信の設置効率が低下するという問題がある。なお、先行技術文献のように、たとえ多重化によるCAN通信を行っても、CAN通信バスを用いる制御器の一部のバスにエラーが発生した場合、CANバスの全体をスイッチングしなければならず、さらに、エラーが発生した一部のCANバスのみを電気的に分離・独立させることができないという問題がある。
A public address device utilizing CAN communication is disclosed in KR10-1152225, which is a prior art document. The KR10-1152225 is provided with different first CAN bus and second CAN bus for multiplexing of CAN communication, and when an error occurs in one of the CAN buses, via the other CAN bus A technique for performing CAN communication is disclosed.
However, when such CAN communication is multiplexed as in the prior art document, an unnecessary remaining CAN bus becomes redundant when CAN communication can be normally performed, and installation efficiency of CAN communication is reduced. There is a problem. As in the prior art document, even if CAN communication by multiplexing is performed, if an error occurs in a part of the controller using the CAN communication bus, the entire CAN bus must be switched. Furthermore, there is a problem that only some of the CAN buses in which errors have occurred cannot be electrically separated and made independent.
本発明は、上述した問題を解消するために案出されたものであり、CANバスのエラーを確認してエラーが発生したCANバスを他のCAN通信網と電気的に分離・独立させることにより、全体的にCAN通信が行えるようにしたCAN通信を用いたパブリックアドレス装置を提供することにその目的がある。
しかしながら、本発明の目的は上述した目的に何等制限されるものではなく、未言及の他の目的は、次の記載から当業者に明確に理解できる筈である。
The present invention has been devised in order to solve the above-described problems. By confirming an error in the CAN bus, the CAN bus in which the error has occurred is electrically separated and independent from other CAN communication networks. An object of the present invention is to provide a public address device using CAN communication that can perform CAN communication as a whole.
However, the object of the present invention is not limited to the object described above, and other objects not mentioned should be clearly understood by those skilled in the art from the following description.
上記目的を達成するための本発明によるCAN通信を用いたパブリックアドレス装置は、音源信号、音声信号及びメディア信号であるパブリックアドレス信号と制御信号を通信プロトコールに応じて伝送する主制御器と、主制御器からパブリックアドレス信号及び制御信号を入力されてパブリックアドレス信号を出力するように制御する副制御器と、を備え、主制御器及び副制御器は、CAN通信により互いにデータを送受信するようにCAN通信部を備えることを特徴とする。
また、CAN通信を用いたパブリックアドレス装置は、CAN通信部と接続される複数の主バスと、主バスと電気的に接続又は分離される補助バスと、主バス又は補助バスを通信ラインから電気的に接続又は分離するように制御する複数のバス制御部と、をさらに備える。
さらに、複数のバス制御部は、複数の主バスの一方の側及びこれに対応する他方の側にそれぞれ配設され、バス制御部は、それぞれ終端抵抗と電気的に接続又は分離される。
さらにまた、主制御器及び副制御器は、互いに複数のグループにグループ分けされ、補助バスの電気的な接続有無に応じていずれか一つの主バスは、他の主バスと互いに独立したグループとしてCAN通信網に接続されるか、或いは、互いに同じグループとしてCAN通信網に接続される。
さらにまた、主制御器又は副制御器は、CAN通信ラインのエラーを確認し、CAN通信ラインにエラーが発生した場合、バス制御部に制御信号を伝送してエラーが発生したCAN通信ラインを他のCAN通信ラインと電気的に分離する。
さらにまた、バス制御部は、主バスの終端抵抗値を検出する抵抗値検出部と、制御信号に基づいて主バス又は補助バスを通信ラインから電気的に接続又は分離するようにスイッチングするスイッチ部と、抵抗値検出部において検出した終端抵抗値に応じて主バスに電気的に接続される抵抗部と、を備え、バス制御部は、抵抗値検出部において検出した終端抵抗値によりCAN通信ラインのエラーを把握する。
さらにまた、主制御器は、CAN通信ラインのエラーを把握するために副制御器にエラー確認メッセージを含めてCAN通信部を介して伝送し、主制御器のエラー確認メッセージの要請に応じて、副制御器は、CAN通信部を介して現在の時間情報を含むメッセージを主制御器に伝送する。
さらにまた、主制御器は、副制御器において受信された時間情報と送信時の時間情報とを互いに比較するか、或いは、送信時から時間をカウントして既定のタイムアウト時間が経過した場合にCAN通信ラインのエラーを把握する。
さらにまた、バス制御部は、制御信号に基づいて主バス又は補助バスを通信ラインから電気的に接続又は分離するようにスイッチングするスイッチ部と、タイムアウト時間の経過につれて主バスに電気的に接続される抵抗部と、を備え、バス制御部は、タイムアウト時間が経過してエラーが発生したCAN通信ラインに抵抗部を並列接続する。
さらにまた、エラー確認メッセージによりCAN通信ラインにエラーが発生した場合、
主制御器は、エラーが発生した副制御器のID、エラーが発生したCAN通信ライン及び通信エラー時にメッセージに含まれている制御指令の種類を把握して故障項目を分類してカウントし、重要な故障項目に重み付け値を適用してプライオリティ別に故障項目一覧を生成し、故障項目のプライオリティに応じてエラーが発生した副制御器に順次にメッセージをCAN通信を介して伝送する。
さらにまた、主制御器及び副制御器は、イーサネット通信により互いにデータを送受信するようにイーサネット通信部をさらに備え、主制御器は、副制御器から出力されるパブリックアドレス信号の出力異常有無をイーサネット通信により放送モニターリングする第1のモニターリング部と、副制御器から出力されるパブリックアドレス信号の出力異常有無をCAN通信のエラー確認メッセージにより放送モニターリングする第2のモニターリング部と、を備えることにより、パブリックアドレス信号の出力異常有無を多重にモニターリングする。
In order to achieve the above object, a public address device using CAN communication according to the present invention includes a main controller that transmits a public address signal and a control signal, which are a sound source signal, a voice signal, and a media signal, according to a communication protocol, A sub-controller that controls the public address signal and the control signal from the controller to output the public address signal, and the main controller and the sub-controller transmit and receive data to and from each other by CAN communication. A CAN communication unit is provided.
Further, a public address device using CAN communication includes a plurality of main buses connected to the CAN communication unit, an auxiliary bus electrically connected to or separated from the main bus, and the main bus or the auxiliary bus from the communication line. And a plurality of bus control units that control to be connected or disconnected.
Further, the plurality of bus control units are respectively disposed on one side of the plurality of main buses and the other side corresponding thereto, and the bus control units are electrically connected to or separated from the termination resistors, respectively.
Furthermore, the main controller and the sub-controller are grouped into a plurality of groups, and one of the main buses is a group independent of the other main buses depending on whether or not the auxiliary bus is electrically connected. They are connected to the CAN communication network, or connected to the CAN communication network as the same group.
Furthermore, the main controller or the sub-controller checks the CAN communication line error, and if an error occurs in the CAN communication line, transmits a control signal to the bus control unit to change the CAN communication line to the other location. Is electrically separated from the CAN communication line.
Furthermore, the bus control unit includes a resistance value detection unit that detects a termination resistance value of the main bus, and a switch unit that performs switching so as to electrically connect or disconnect the main bus or the auxiliary bus from the communication line based on the control signal. And a resistance unit that is electrically connected to the main bus according to the termination resistance value detected by the resistance value detection unit, and the bus control unit uses the CAN resistance line detected by the termination resistance value detected by the resistance value detection unit. To grasp the error.
Furthermore, the main controller transmits an error confirmation message including the error confirmation message to the sub-controller via the CAN communication unit in order to grasp the error of the CAN communication line. In response to the request for the error confirmation message of the main controller, The sub controller transmits a message including the current time information to the main controller via the CAN communication unit.
Furthermore, the main controller compares the time information received at the sub-controller with the time information at the time of transmission, or counts the time from the time of transmission and if a predetermined timeout time elapses, Understand communication line errors.
Furthermore, the bus control unit is electrically connected to the main bus as the timeout time elapses, and a switch unit that switches the main bus or the auxiliary bus to be electrically connected or disconnected from the communication line based on the control signal. The bus control unit connects the resistance unit in parallel to the CAN communication line in which an error has occurred after a timeout time has elapsed.
Furthermore, if an error occurs on the CAN communication line due to an error confirmation message,
The main controller understands the ID of the sub-controller that caused the error, the CAN communication line where the error occurred, and the type of control command included in the message at the time of the communication error. A failure item list is generated for each priority by applying a weight value to each failure item, and messages are sequentially transmitted to the sub-controller in which an error has occurred according to the priority of the failure item via CAN communication.
Furthermore, the main controller and the sub controller further include an Ethernet communication unit so as to transmit / receive data to / from each other by Ethernet communication, and the main controller determines whether the public address signal output from the sub controller is abnormal or not. A first monitoring unit that performs broadcast monitoring by communication, and a second monitoring unit that monitors whether or not the public address signal output from the sub-controller is abnormal by broadcast error check message As a result, the presence / absence of output abnormality of the public address signal is monitored multiple times.
以上述べたように、本発明によれば、通信エラーが発生したCANバスのみを他のCAN通信網から電気的に分離・独立させることにより、エラーが発生していない他のCAN通信網はCAN通信を行うことができるという効果がある。
また、本発明によれば、CAN通信網をグループ別にグループ分けして、互いに同じグループ内においてしかCAN通信が行えないという効果がある。
さらに、本発明によれば、CANバスのエラーを時間情報を用いたポーリングにより確認し、これに加えて、多重的にCANバスの抵抗値を検出することにより確認することができるという効果がある。
As described above, according to the present invention, only the CAN bus in which the communication error has occurred is electrically separated and independent from the other CAN communication network, so that the other CAN communication network in which no error has occurred can be There is an effect that communication can be performed.
In addition, according to the present invention, the CAN communication network can be grouped into groups, and CAN communication can be performed only within the same group.
Furthermore, according to the present invention, an error of the CAN bus can be confirmed by polling using time information, and in addition to this, it can be confirmed by detecting the resistance value of the CAN bus in a multiplexed manner. .
本明細書に添付される次の図面は、本発明の好適な一実施形態を例示するものであり、発明の詳細な説明とともに本発明の技術的思想をなお一層理解させ易くする役割を果たすものであるため、本発明は、そのような図面に記載の事項のみに限定されて解釈されてはならない。 The following drawings attached to the present specification illustrate a preferred embodiment of the present invention, and serve to further understand the technical idea of the present invention together with the detailed description of the invention. Therefore, the present invention should not be construed as being limited to the matters described in such drawings.
以下、添付図面に基づき、本発明の好適な一実施形態について説明する。また、後述する一実施形態は、特許請求の範囲に記載の本発明の内容を余計に限定せず、本実施形態において説明される構成の全体が本発明の解決手段として必須的であるとはいえない。なお、従来の技術及び当業者にとって自明な事項についての説明は省略する場合があり、このような省略された構成要素(方法)及び機能についての説明は、本発明の技術的思想を逸脱しない範囲内において十分に参照可能である。 Hereinafter, a preferred embodiment of the present invention will be described with reference to the accompanying drawings. Further, one embodiment described later does not limit the contents of the present invention described in the claims, and the entire configuration described in the present embodiment is essential as a solution to the present invention. I can't say that. It should be noted that the description of the prior art and matters obvious to those skilled in the art may be omitted, and the description of such omitted components (methods) and functions does not depart from the technical idea of the present invention. Can be fully referenced within.
本発明の一実施形態によるCAN通信を用いたパブリックアドレス装置は、CAN通信を活用して主制御器と副制御器との間にデータを互いに送受信するようにしたものである。以下では、添付図面を参照して、本発明の一実施形態によるCAN通信を用いたパブリックアドレス装置について詳細に説明する。 A public address device using CAN communication according to an embodiment of the present invention uses CAN communication to transmit / receive data to / from a main controller and a sub controller. Hereinafter, a public address device using CAN communication according to an embodiment of the present invention will be described in detail with reference to the accompanying drawings.
通常のパブリックアドレス装置の構成又はシステムは、図1に示す通りであり、図1は、学校を例にとって示すものである。図1に示すように、通常のパブリックアドレス装置は、図2に示すような各種の制御装置を有する中央統制室10と、中央統制室10からデータを受け取り、これに対応するデータを中央統制室10に伝送する、運動場20、講堂30、教室40にそれぞれ配設された制御装置により構成される。また、中央統制室10、運動場20、講堂30及び教室40に配設された各種の制御装置は、相互間のデータ伝送のために通信網(又は、ネットワーク網)にそれぞれ接続される。このとき、通信網は、CAN通信及びイーサネット通信が両方とも用いられてもよく、CAN通信が独自的に用いられてもよい。なお、それぞれの教室40は、第1の教室、第2の教室,...,第Nの教室に分けられ、相互間に通信網を介して接続される。
The configuration or system of a normal public address device is as shown in FIG. 1, and FIG. 1 shows a school as an example. As shown in FIG. 1, a normal public address device receives data from a
図2には、中央統制室10、運動場20、講堂30及び教室40に配設された各種の制御装置が示されており、このような各種の制御装置は一例に過ぎず、従来のパブリックアドレス装置に用いられる制御装置もまた本発明の技術的思想の範囲内において十分に参照及び追加可能である。
中央統制室10の運営サーバー部は、パブリックアドレスシステムを全体的に運営及び管理する。放送地域を設定し、パブリックアドレスの放送送出を制御する。また、時報及び一般予約放送を管理する。音源部は、イーサネット又はTCP/IPを介して音源を制御する。音源は、CDプレーヤー、AM/FM、USB、内蔵メモリなどから提供されるものであり、音源部は、4種類の音源を同時に送出・制御する。マイク部は、運営者が音声放送をするときに用いられる。中央統制室10の火災監視部は、講堂30及び教室40に配設された火災監視部と互いに連動されて火災の発生を感知する。火災が発生した場合、状況に応じてCAN通信ラインのエラーを招く虞があり、エラーが発生したCAN通信ラインを他のCAN通信ラインと電気的に分離することが好ましい。すなわち、1年生41の第1の教室に火災が発生してCAN通信ラインにエラーが発生した場合、同じグループにある1年生41全体のCAN通信ラインを2年生42及びN年生43のCAN通信ラインと電気的に分離する。このため、2年生42及びN年生43は互いに同じグループにくくる場合に同じCAN通信ラインに電気的に接続され、異なるグループにくくる場合に互いに電気的に分離される。このとき、CAN通信エラーは、CANバスの断線、短絡又は終端抵抗の故障など多岐に亘る。
パブリックアドレス統合主制御器は、通常のデジタルパブリックアドレス及びイーサネットパブリックアドレスを多元化して同時に送出するように制御し、プライオリティに応じて放送を制御し、デジタル時報器を内蔵している。IP音響放送ゲートウェイは、イーサネットを介してオーディオ放送を受信/送出する。スピーカーセレクターは、イーサネットを介して多チャンネルスピーカーラインの接続を制御する。上述した中央統制室10の各種の制御装置は、従来の通常のパブリックアドレス装置であって、必要に応じて、追加的な機能がさらに含まれて説明されてもよい。
運動場20、講堂30及び教室40には、状況に応じて多数のスピーカー及びTVが設けられていてもよく、中央統制室10においてイーサネット又はCAN通信を介して制御する。上述した中央統制室10、運動場20、講堂30及び教室40に配設された各種の制御装置は、CAN通信だけではなく、イーサネット通信も必要に応じて有していてもよい。
FIG. 2 shows various control devices arranged in the
The operation server unit of the
The public address integrated main controller controls a normal digital public address and an Ethernet public address to be sent in multiples and simultaneously transmits them, controls broadcasting according to priority, and has a built-in digital time signal. The IP acoustic broadcast gateway receives / sends an audio broadcast via Ethernet. The speaker selector controls connection of multi-channel speaker lines via Ethernet. The various control devices of the
The playground 20, the auditorium 30, and the classroom 40 may be provided with a large number of speakers and TVs depending on the situation, and are controlled in the
図3に示すように、CAN通信によりデータを送受信する場合には、主制御器100と副制御器200、300、410、420、430とに分けられる。このとき、主制御器及び副制御器は、上述した中央統制室10、運動場20、講堂30及び教室40に配設された各種の制御装置のうちのいずれか一種であってもよい。CAN通信は、2本の拠れたバスCAN_H、CAN_Lにより構成される。主制御器及び副制御器は、必ずしも定められているとは限らず、状況に応じて主制御器及び副制御器が互いに変わってもよい。本発明の一実施形態においては、中央統制室10に配設された制御装置のうちのいずれか一つを主制御器100とし、残りを副制御器とする。
As shown in FIG. 3, when data is transmitted / received by CAN communication, it is divided into a
CAN通信ライン(又は、CAN通信バス)は、図3に示すように、主バス510と、補助バス520と、に分けられる主バス510が、さらに第1、第2、第3、第4、第5及び第6の主バス511、512、513、514、515、516に分けられる。補助バス520は、第1、第2、第3、第4、第5及び第6の主バス511、512、513、514、515、516同士を互いに電気的に分離又は接続する。このため、補助バス520の電気的な接続及び分離により各主バス511、512、513、514、515、516間を同じCAN通信網でくくるか、或いは、互いに同じグループのCAN通信網から独立的に分離するようにしてもよい。
それぞれの主バス511、512、513、514、515、516は、主制御器及び補助制御器に配設されたCAN通信部611、612、621、622、631、632、641、...、645、651、...、655、661、...、665と互いに電気的に接続される。CAN通信部は、CANドライブ及びCANコントローラーを備えていてもよい。このとき、CAN通信部611を有する制御器を主制御器とし、残りのCAN通信部612、621、622、631、632、641、...、645、651、...、655、661、...、665を有する制御器を副制御器とする。
それぞれの主バス511、512、513、514、515、516の両端部には、終端抵抗部551、...、556、561、...、566が配設される。終端抵抗部は、CAN通信に伴う120Ωの抵抗値を有する。但し、抵抗値は、通信環境に応じて変更可能である。終端抵抗部551、...、556、561、...、566は、バス制御部531、...、536、541、...、546によりCAN通信網に電気的に接続又は分離される。補助バス520は、第2のバス制御部240に接続されており、制御部600の制御信号に基づいてCAN通信ラインを互いに同じグループにくくる場合、主バスと互いに電気的に接続され、CAN通信ラインを他のグループと独立的に分離する場合、互いに電気的に分離される。
As shown in FIG. 3, the CAN communication line (or CAN communication bus) is divided into a
Each of the
第1及び第2のバス制御部530、540は、それぞれの主バス511、512、513、514、515、516の両端に配設された終端抵抗部550、560と互いに接続されている。但し、必要に応じて、いずれか一つのバス制御部は省略され、終端抵抗部が直接的に主バスに接続されてもよい。すなわち、第1−1のバス制御部531及び第1−6のバス制御部536が省略され、第1−1の終端抵抗部551及び第1−6終端抵抗部556が直接的に第1の主バス511及び第6の主バス516に接続されてもよい。このため、第1及び第2のバス制御部530、540は、制御部600の制御信号に基づいて主バス及び主バスの両側に配設された複数の終端抵抗部同士を互いに電気的に接続させるか(このときには、他のCAN通信網と分離されて独立したCAN通信網となる)、又はそれぞれの主バスと補助バスとの間を互いに電気的に接続させる(このときには、互いに同じCAN通信網となる)。
The first and second
図4から図6は、バス制御部によりCAN通信網が同じCAN通信網により構成されるか、或いは、異なるCAN通信網により構成されることを示すものである。これらの図4から図6に示す例は単なる一例に過ぎず、様々な例が本発明の技術的思想を逸脱しない範囲内において追加可能である。 4 to 6 show that the CAN communication network is constituted by the same CAN communication network or different CAN communication networks by the bus control unit. These examples shown in FIGS. 4 to 6 are merely examples, and various examples can be added without departing from the technical idea of the present invention.
図4は、主制御器及び副制御器が両方とも同じCAN通信網により接続されたことを示すものである。このように同じCAN通信網により接続するために、第1−1のバス制御部531は、制御部600の制御信号に基づいて第1−1の終端抵抗部551及び第1の主バス511間を互いに電気的に接続し(接点1及び接点3、接点2及び接点4が互いに電気的に接続される)、また、第1−6のバス制御部536は、第1−6の終端抵抗部556及び第6の主バス516間を互いに電気的に接続する。一方、同じCAN通信網により構成するために、第2のバス制御部540のそれぞれは、主バス510及び補助バス520が互いに接続されるように構成する(第2のバス制御部の接点1及び3、接点2及び6が互いに電気的に接続される)。このため、主バス510は、第2の終端抵抗部560と接続されない。なお、バス制御部532、533、534、535は、終端抵抗部552、553、554、555と電気的に接続されない。このように全ての制御器を同じCAN通信網にくくることにより、全ての制御器が互いにCAN通信を行うことができる。
FIG. 4 shows that the main controller and the sub-controller are both connected by the same CAN communication network. Thus, in order to connect through the same CAN communication network, the 1-1
図5には、それぞれのグループ別に分離されてCAN通信を行うことが示されている。すなわち、第1の主バス511と連携された第1のグループ、第2の主バス512と連携された第2のグループ、第3の主バス513と連携された第3のグループ及び第4、第5、第6の主バス514、515、516と連携された第4のグループにそれぞれ分離され、それぞれのグループ別のCAN通信網において通信が行われる。
FIG. 5 shows that CAN communication is performed separately for each group. That is, the first group associated with the first
図6は、いずれか一つの主バスのみを分離・独立させて別途のCAN通信網により通信を行うことを示すものである。すなわち、第1、第2、第3、第5及び第6の主バスと連携される制御器は、いずれも同じCAN通信網により通信し、第4の主バス514と連携される制御器は、分離・独立されて独自のCAN通信網により通信する。例えば、図3に示すように、CAN通信網が構成された場合、第4の主バス514と連携されたCAN通信バスに異常があったり火災が発生したりしてCAN通信が行えない場合、他の主バスと連携された制御器の通信も行えなくなる。このため、図6に示すように、異常があるCAN通信バスを他の通信バスと分離・独立させ、残りの正常のCAN通信バスを同じCAN通信網により構成して(又は、必要に応じて、図5に示すように、異なるCAN通信網により構成されてもよい)CAN通信が行えるようにする。このような適用例は、高層ビルのうちのいずれか一階に火災が発生した場合、火災が発生した階のみを他のCAN通信バスと分離することにより、CAN通信を行うことができる。
FIG. 6 shows that only one of the main buses is separated and independent to perform communication through a separate CAN communication network. That is, the controllers associated with the first, second, third, fifth and sixth main buses communicate with each other through the same CAN communication network, and the controller associated with the fourth
図7は、図6の第4の主バス514と連携された装置の構成の一部を示すものである。バス制御部534は、抵抗値検出部534a、スイッチ部534b及び抵抗部534cにより構成される。抵抗値検出部は、自分が属する主バスの両端抵抗値を検出する。スイッチ部は、主バスと補助バスとの間、主バスと終端抵抗部との間を互いに電気的に接続又は分離するようにスイッチングする。スイッチ部は、多接点リレイを用いて実現してもよく、デマルチプレクサーを用いて実現してもよい。抵抗部は、追加的な終端抵抗であって、既存の終端抵抗部が故障したり抵抗値が変わったりする場合に既存の終端抵抗部に取って代わる。上述した抵抗値検出部、スイッチ部及び抵抗部は、必要に応じて他のバス制御部に配設されてもよい。
例えば、第4の主バス514に異常が発生した場合(例えば、火災による断線や終端抵抗部の故障)、抵抗値検出部は、検出された抵抗値が既定の抵抗値とは異なるということを感知してバスラインの異常有無を判断する。バスラインに異常が発生した場合、異常がない主バスと分離するために、スイッチ部は、図8に示すように、接点が接続されるようにする。また、終端抵抗部が故障したり抵抗値が変わったりした場合、スイッチ部は、主バス及び抵抗部を互いに並列接続することにより、120Ωの終端抵抗値を維持する。但し、上述したバス制御部は、それぞれの主バスの両側に配設されると説明したが、必要に応じて、それぞれの制御器641、...、645及び主バス514間の接続個所の全てに一つずつ配設されてもよい。このようにそれぞれの制御器641、...、645及び主バス514間の接続個所の全てに前記バス制御部を配設することにより、主バスのどのような領域において短絡及び断線事故が発生しても、スイッチ部及び抵抗部によりCAN通信を修復することができる。すなわち、例えば、第1の制御器642と第2の制御器643との間においてCANバスの異常が発生した場合、第3の制御器643と第4の制御器644との間に配設されたバス制御部によりCAN通信が修復可能である。
FIG. 7 shows a part of the configuration of the device linked to the fourth
For example, when an abnormality occurs in the fourth main bus 514 (for example, disconnection due to fire or failure of the terminal resistance unit), the resistance value detection unit indicates that the detected resistance value is different from the predetermined resistance value. Detect and determine whether there is an abnormality in the bus line. When an abnormality occurs in the bus line, in order to separate from the main bus having no abnormality, the switch unit is configured to connect the contacts as shown in FIG. Further, when the termination resistance unit fails or the resistance value changes, the switch unit maintains the termination resistance value of 120Ω by connecting the main bus and the resistance unit to each other in parallel. However, although the above-described bus control units have been described as being disposed on both sides of each main bus, the
上述したように、CANバスのエラーは、バス制御部の抵抗値検出部を用いて感知することができる。これとは異なる方法によれば、主制御器が副制御器にエラー確認メッセージを含めて伝送し、副制御器はエラー確認メッセージに対応するメッセージを現在の時間情報を含めて主制御器に伝送する。主制御器は、副制御器から伝送された時間情報及び送信時の時間情報を互いに比較して既定の時間を超える場合にCANバスに異常があることを感知する。或いは、主制御器は、エラー確認メッセージを副制御器に伝送した時点から副制御器からこれに対応するメッセージを受信するまでカウントして、カウント数が既定の範囲を超える場合にCANバスに異常があることを感知する。主制御器と副制御器との間のエラー確認メッセージは、周期的なポーリングにより行われてもよく、別途のエラー確認メッセージではない通常の制御メッセージを送受信するときに時間情報を含めて伝送されるようにしてもよい。時間情報には、年、月、日、時、分、秒が含まれていてもよい。各制御器の時間は、イーサネット網に接続された時間サーバーにより周期的に同期化されて正確な時間を維持することができる。
このため、CANバスの異常有無は、抵抗値測定部及びエラー確認メッセージにより二重にチェック可能である。エラー確認メッセージによりCANバスの異常有無を把握した場合、上述したように、スイッチ部及び抵抗部によりCAN通信を修復することができる。
As described above, an error in the CAN bus can be detected using the resistance value detection unit of the bus control unit. According to a different method, the main controller transmits an error confirmation message to the sub controller, and the sub controller transmits a message corresponding to the error confirmation message to the main controller including the current time information. To do. The main controller compares the time information transmitted from the sub controller and the time information at the time of transmission with each other, and senses that there is an abnormality in the CAN bus when the predetermined time is exceeded. Alternatively, the main controller counts from the time when the error confirmation message is transmitted to the sub-controller until the corresponding message is received from the sub-controller, and if the count number exceeds the predetermined range, the CAN bus has an error. Sense that there is. The error confirmation message between the main controller and the sub controller may be transmitted by periodic polling, and is transmitted including time information when sending and receiving a normal control message that is not a separate error confirmation message. You may make it do. The time information may include year, month, day, hour, minute, and second. The time of each controller can be periodically synchronized by a time server connected to the Ethernet network to maintain an accurate time.
For this reason, the presence or absence of abnormality of the CAN bus can be double checked by the resistance value measuring unit and the error confirmation message. When it is determined whether or not the CAN bus is abnormal by the error confirmation message, the CAN communication can be restored by the switch unit and the resistance unit as described above.
通信エラーが発生すると、主制御器は、通信エラーが発生した副制御器のID、通信エラーが発生したCAN通信ライン及び通信エラーが発生したときにメッセージに含まれている制御指令の種類を把握して故障項目を分類し且つカウントする。このとき、重要な故障項目に重み付け値を適用してプライオリティ別に故障項目一覧を生成する。このため、故障項目のプライオリティに応じてエラーが発生した副制御器に順次にメッセージをCAN通信を介して伝送する。
一方、主制御器及び副制御器は、状況に応じてイーサネット通信により互いにデータを送受信してもよい。中央統制室10において音声放送をする場合、例えば、イーサネット通信により運動場20に配設されたスピーカーに音声が送られ、スピーカーを介して最終的に音声が出力される。このとき、音声放送が運動場のスピーカーを介して実際に出力されているか否かは、中央統制室10に配設されたスピーカーを用いて確認することができる。これに加えて、音声放送の出力異常有無をCAN通信のエラー確認メッセージにより確認することができて、音声放送の出力異常有無を多重にモニターリングすることができる。
When a communication error occurs, the main controller knows the ID of the sub-controller that caused the communication error, the CAN communication line where the communication error occurred, and the type of control command included in the message when the communication error occurred. Then, the failure items are classified and counted. At this time, a failure value list is generated for each priority by applying weight values to important failure items. For this reason, messages are sequentially transmitted to the sub-controller in which an error has occurred according to the priority of the failure item via CAN communication.
On the other hand, the main controller and the sub controller may transmit / receive data to / from each other by Ethernet communication depending on the situation. When audio broadcasting is performed in the
上述した各部の構成及び機能について、説明し易さのために互いに分離して説明しただけであり、必要に応じていずれか一つの構成及び機能が他の構成要素に統合されて実現されてもよく、さらに細分化されて実現されてもよい。
以上、本発明の一実施形態を参照して説明したが、本発明がこれに限定されることはなく、種々に変形及び応用可能である。すなわち、本発明の要旨を逸脱しない範囲内において種々に変形可能であるということは当業者であれば理解し易い筈である。なお、本発明と関連する公知の機能及びその構成又は本発明の各構成に対する結合関係についての具体的な説明が本発明の要旨を余計に曖昧にする虞があると認められる場合には、その具体的な説明を省略したという点に留意すべきである。
The configuration and function of each unit described above are described separately from each other for ease of explanation, and any one configuration and function may be integrated with other components as necessary. It may be realized by further subdividing.
As mentioned above, although it demonstrated with reference to one Embodiment of this invention, this invention is not limited to this, A various deformation | transformation and application are possible. That is, it should be easily understood by those skilled in the art that various modifications can be made without departing from the scope of the present invention. In addition, when it is recognized that a well-known function related to the present invention and a specific description of its configuration or a coupling relationship to each configuration of the present invention may unnecessarily obscure the gist of the present invention, It should be noted that specific explanation has been omitted.
10 運営部(又は、中央統制室)
20 運動場
30 講堂
40 教室
41 1年生
42 2年生
43 N年生
100 主制御器
200、300、410、420、430 副制御器
510 主バス(又は、第1のバス)
511 第1の主バス
512 第2の主バス
513 第3の主バス
514 第4の主バス
515 第5の主バス
516 第6の主バス
520 補助バス(又は、第2のバス)
530 第1のバス制御部
531 第1−1のバス制御部
532 第1−2のバス制御部
533 第1−3のバス制御部
534 第1−4のバス制御部
534a 抵抗値検出部
534b スイッチ部
534c 抵抗部
535 第1−5のバス制御部
536 第1−6のバス制御部
540 第2のバス制御部
541 第2−1のバス制御部
542 第2−2のバス制御部
543 第2−3のバス制御部
544 第2−4のバス制御部
545 第2−5のバス制御部
546 第2−6のバス制御部
550 第1の終端抵抗部
551 第1−1の終端抵抗部
552 第1−2の終端抵抗部
553 第1−3の終端抵抗部
554 第1−4の終端抵抗部
555 第1−5の終端抵抗部
556 第1−6の終端抵抗部
560 第2の終端抵抗部
561 第2−1の終端抵抗部
562 第2−2の終端抵抗部
563 第2−3の終端抵抗部
564 第2−4の終端抵抗部
565 第2−5の終端抵抗部
566 第2−6の終端抵抗部
600 制御部
611、612 運営部のCAN通信部
621、622 運動場のCAN通信部
631、632 講堂のCAN通信部
641、642、643、644、645 1年生のCAN通信部
651、652、653、654、655 2年生のCAN通信部
661、662、663、664、665 N年生のCAN通信部
10 Administration Department (or Central Control Office)
20 Playground 30 Auditorium 40
511 1st
530 First bus control unit 531 1-1 bus control unit 532 1-2 bus control unit 533 1-3 bus control unit 534 1-4 bus control unit 534a resistance value detection unit 534b switch Section 534c Resistor section 535 1st-5 bus control section 536 1-6th bus control section 540 2nd bus control section 541 2nd-1 bus control section 542 2nd-2 bus control section 543 2nd -3 bus control unit 544 2-4 bus control unit 545 2-5 bus control unit 546 2-6 bus control unit 550 first termination resistor unit 551 first termination resistor unit 552 1-2 terminal resistor 553 1-3 terminal resistor 554 1-4 terminal resistor 555 1-5 terminal resistor 556 1-6 terminal resistor 560 second terminal resistor Part 561 2-1 terminal resistance 562 2nd termination resistance part 563 2nd termination resistance part 564 2nd termination resistance part 566 2nd termination resistance part 566 2nd termination resistance part 600 control part 611 612 CAN communication part of the operation department 621, 622 CAN communication part of the playground 631, 632 CAN communication part of the auditorium 641, 642, 643, 644, 645 First grade CAN communication part 651, 652, 653, 654, 655 CAN communication unit 661, 662, 663, 664, 665 Nth grade CAN communication unit
Claims (7)
前記主制御器から前記パブリックアドレス信号及び制御信号を入力されて前記パブリックアドレス信号を出力するように制御する副制御器と、を備え、
前記主制御器及び副制御器は、
CAN通信により互いにデータを送受信するようにCAN通信部を備え、
前記CAN通信部と接続される複数の主バスと、前記主バスと電気的に接続又は分離される補助バスと、前記主バス又は前記補助バスを通信ラインから電気的に接続又は分離するように制御する複数のバス制御部と、をさらに備え、
前記主制御器及び副制御器は、互いに複数のグループにグループ分けされ、
前記補助バスの電気的な接続有無に応じていずれか一つの主バスは、他の主バスと互いに独立したグループとしてCAN通信網に接続されるか、或いは、互いに同じグループとしてCAN通信網に接続され、
前記主制御器又は副制御器は、CAN通信ラインのエラーを確認し、前記CAN通信ラインにエラーが発生した場合、前記バス制御部に制御信号を伝送してエラーが発生したCAN通信ラインを他のCAN通信ラインと電気的に分離し、
前記主制御器は、CAN通信ラインのエラーを把握するために前記副制御器にエラー確認メッセージを含めてCAN通信部を介して伝送し、
前記主制御器のエラー確認メッセージの要請に応じて、前記副制御器は、CAN通信部を介して現在の時間情報を含むメッセージを前記主制御器に伝送することを特徴とする、
CAN通信を用いたパブリックアドレス装置。 A main controller that transmits a public address signal and a control signal, which are a sound source signal, an audio signal, and a media signal, according to a communication protocol;
A sub controller that receives the public address signal and the control signal from the main controller and controls to output the public address signal, and
The main controller and sub-controller are
A CAN communication unit is provided to transmit and receive data to and from each other by CAN communication .
A plurality of main buses connected to the CAN communication unit, an auxiliary bus electrically connected or separated from the main bus, and the main bus or the auxiliary bus electrically connected or separated from a communication line A plurality of bus controllers to control,
The main controller and the sub controller are grouped into a plurality of groups,
Depending on whether or not the auxiliary bus is electrically connected, any one main bus is connected to the CAN communication network as a group independent of the other main buses, or connected to the CAN communication network as the same group as each other. And
The main controller or the sub controller checks an error in the CAN communication line, and if an error occurs in the CAN communication line, the control signal is transmitted to the bus control unit, and the CAN communication line other than the CAN communication line is changed. Electrically separated from the CAN communication line
The main controller transmits an error confirmation message to the sub controller via the CAN communication unit in order to grasp an error in the CAN communication line.
At the request of the error confirmation message of the main controller, the sub controller is characterized that you transmit a message containing the current time information via the CAN communication unit to the main controller,
Public address device using CAN communication.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2016211514A JP6307574B1 (en) | 2016-10-28 | 2016-10-28 | Public address device using CAN communication |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2016211514A JP6307574B1 (en) | 2016-10-28 | 2016-10-28 | Public address device using CAN communication |
Publications (2)
Publication Number | Publication Date |
---|---|
JP6307574B1 true JP6307574B1 (en) | 2018-04-04 |
JP2018074358A JP2018074358A (en) | 2018-05-10 |
Family
ID=61828535
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2016211514A Active JP6307574B1 (en) | 2016-10-28 | 2016-10-28 | Public address device using CAN communication |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6307574B1 (en) |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7061926B2 (en) * | 2000-06-15 | 2006-06-13 | Schneider Automation Inc. | Method and apparatus for a network bus topology |
US6740286B2 (en) * | 2000-12-04 | 2004-05-25 | Advanced Ceramics Research, Inc. | Consolidation and densification methods for fibrous monolith processing |
JP2008278403A (en) * | 2007-05-07 | 2008-11-13 | Fujitsu Ten Ltd | Monitoring apparatus and method of network system |
JP5607219B2 (en) * | 2009-05-20 | 2014-10-15 | ルネサスエレクトロニクス株式会社 | Automotive communication systems |
US9946675B2 (en) * | 2013-03-13 | 2018-04-17 | Atieva, Inc. | Fault-tolerant loop for a communication bus |
-
2016
- 2016-10-28 JP JP2016211514A patent/JP6307574B1/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2018074358A (en) | 2018-05-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20080170495A1 (en) | Breakdown and Decoupling Tolerant Communications Network, a Data Path Switching Device and a Corresponding Method | |
JPH04502542A (en) | Distributed switching architecture for communication module redundancy | |
KR101757157B1 (en) | Public address apparatus using CAN communication | |
CN103684845A (en) | Network backup device and network system with same | |
US8959386B2 (en) | Network and expansion unit and method for operating a network | |
KR101757159B1 (en) | Public address apparatus using CAN communication based time-triggered and method of clock synchronization | |
JP5106706B1 (en) | Network system | |
JP6307574B1 (en) | Public address device using CAN communication | |
RU2680206C2 (en) | Communication system for use in railway vehicle | |
JP2006197114A (en) | Information transmission system, information transmission system for railway vehicle, and information transmission terminal for vehicle | |
JP4967674B2 (en) | Media service system, media service device, and LAN redundancy method used therefor | |
JP5387589B2 (en) | Wireless transmission device | |
RU2688908C1 (en) | Automated multichannel audio notification complex | |
KR101406735B1 (en) | Network backup apparatus and network system with the same | |
CN110089133B (en) | Method and device for monitoring at least one loudspeaker line | |
WO2018079880A1 (en) | Public address device using can communication | |
KR101567802B1 (en) | System for intelligent broadcasting based on network | |
JPH10241086A (en) | Short-circuit detecting method in monitoring system for disaster prevention, monitoring method for disaster prevention using the same and monitoring system for disaster prevention | |
CN105871716B (en) | VRRP-based link monitoring method and system | |
EP3117416B1 (en) | Backup audio routing integrated into card cage with supervisory circuit | |
KR102389905B1 (en) | Apparatus for controlling to broadcasting employing remote doubling | |
KR102164493B1 (en) | Speaker System with Polyswitch | |
JPH1188391A (en) | Network management system | |
JP3270409B2 (en) | Traffic diversion method of common channel signal relay network by network management system | |
JP4994438B2 (en) | Monitoring device and monitoring system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20180220 |
|
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: 20180306 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20180312 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6307574 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
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 |