JP2009111911A - Communication apparatus, communication system, and communication method - Google Patents
Communication apparatus, communication system, and communication method Download PDFInfo
- Publication number
- JP2009111911A JP2009111911A JP2007284299A JP2007284299A JP2009111911A JP 2009111911 A JP2009111911 A JP 2009111911A JP 2007284299 A JP2007284299 A JP 2007284299A JP 2007284299 A JP2007284299 A JP 2007284299A JP 2009111911 A JP2009111911 A JP 2009111911A
- Authority
- JP
- Japan
- Prior art keywords
- communication
- resistor
- error
- communication device
- capacitor
- 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
Links
Images
Abstract
Description
本発明は、CAN(Controller Area Network)バスを介して互いに接続された複数の通信装置間の通信を行うCAN通信方法およびシステムに係り、特に、故障箇所を特定するとともに、故障箇所を切り離すことのできる通信装置及び通信システム並びに通信方法に関する。 The present invention relates to a CAN communication method and system for performing communication between a plurality of communication devices connected to each other via a CAN (Controller Area Network) bus. In particular, the present invention specifies a fault location and isolates the fault location. The present invention relates to a communication device, a communication system, and a communication method.
CANバスを介して互いに接続され、それぞれCANコントローラユニットを有する複数の通信装置間でデータ通信を行うCAN通信システムが知られている。CAN通信は、差動のシリアルバスを介して双方向のシリアル通信を行うプロトコルである。 A CAN communication system is known that performs data communication between a plurality of communication devices that are connected to each other via a CAN bus and each have a CAN controller unit. CAN communication is a protocol for performing bidirectional serial communication via a differential serial bus.
CAN通信システムにおいて、各通信装置は、自己の通信装置の識別IDコードを付したデータをCANバスに向けて送り出す。データが送信される際にCANバスが他の通信装置によるデータに専有されていない場合には、通信装置から送り出されるデータはCANバスを流れて他の通信装置に受信される。一方、CANバスが他の通信装置によるデータに専有されている場合には、通信装置から送り出されるべきデータはCANコントローラユニットに待機される。そして、データが待機する通信装置が一つの場合には、CANバスが空いた際に、そのデータがCANバスを流れる。一方、データが待機する通信装置が複数存在する場合には、それらの通信装置のうちIDコードに基づく優先順位の最も高い通信装置のデータが他の待機データよりも先にCANバスを流れる。
しかしながら、上述した背景技術には以下の問題がある。 However, the background art described above has the following problems.
CAN通信システムは複数の通信装置(ノード)を備え、これら複数の通信装置は、ツイストペアの形態を有するCANバスにより各々接続され、それぞれの通信装置間で、データの送受信を行う。CANバスのツイストペア線は一方がCAN High(以下、CANHと呼ぶ)、他方がCAN Low(以下、CANL)と呼ばれる母線である。各通信装置は、例えば、自動車の各部を制御する複数の電子制御ユニット(Electronic Control Unit)(以下、ECUと呼ぶ)により構成されるようにしてもよい。 The CAN communication system includes a plurality of communication devices (nodes), and the plurality of communication devices are respectively connected by a CAN bus having a twisted pair configuration, and transmit and receive data between the communication devices. One of the CAN bus twisted pair lines is a bus line called CAN High (hereinafter referred to as CANH) and the other as CAN Low (hereinafter referred to as CANL). Each communication device may be configured by, for example, a plurality of electronic control units (hereinafter referred to as ECUs) that control each part of the automobile.
例えば、図1に示すように、複数のECUに接続されたCANバスはCAN用ハブに接続され、CAN用ハブを介して相互に通信する。具体的には、複数のECU A−ECU Dに接続されたCANバスはCAN用ハブ1に接続され、一方、複数のECU E−ECU Hに接続されたCANバスはCAN用ハブ2に接続される。CAN用ハブ1とCAN用ハブ2は、CAN通信線により接続される。図1に示す例では、さらにCAN用ハブにデータリンクコネクタ(DLC)が接続され、該データリンクコネクタにはサービスツールが接続される。このサービスツールによりCAN通信の点検を行うことができる。 For example, as shown in FIG. 1, CAN buses connected to a plurality of ECUs are connected to a CAN hub and communicate with each other via the CAN hub. Specifically, the CAN bus connected to the plurality of ECUs A-ECU D is connected to the CAN hub 1, while the CAN bus connected to the plurality of ECUs E-ECU H is connected to the CAN hub 2. The The CAN hub 1 and the CAN hub 2 are connected by a CAN communication line. In the example shown in FIG. 1, a data link connector (DLC) is further connected to the CAN hub, and a service tool is connected to the data link connector. This service tool can check CAN communication.
図1に示されるCAN通信システムにおいて、例えば、ECU Cが故障した場合を考える。例えば、ECU Cの支線の片側、例えば、CANLラインが断線した場合、ECU Cからは、例えば、図2に示すような異常な波形を有する信号が送信される。 In the CAN communication system shown in FIG. 1, for example, consider a case where ECU C fails. For example, when one side of the branch line of the ECU C, for example, the CANL line is disconnected, the ECU C transmits a signal having an abnormal waveform as shown in FIG.
このような状態で、正常な状態であるECU Gは送信を開始する。例えば、ECU Gは他のECUと情報の授受を行うために、例えばECU Dに対して信号を送信する。例えば、ECU Gは、図3に示すように正常な波形を有する信号を送信する。しかし、このECU Gから送信される信号は、ECU Cから送信される信号による影響を受けるため、ECU Dにより受信される信号の波形は図4に示すような波形になり、ECU Gからの信号を正常に受信できないことがある。同様に、他のECUにより送信される信号も、ECU Cから送信される信号による影響を受けるため、他のECUの送信先のECUは、他のECUからの正常な信号を受信できないことがある。従って、ECU間の通信が破壊され、いくつかのECU間の通信ができなくなる。このような状況で、サービスツールにより通信状態を検査した場合、複数のECUが故障と判断されているため、故障箇所の特定ができない。 In such a state, the ECU G that is in a normal state starts transmission. For example, the ECU G transmits a signal to the ECU D, for example, in order to exchange information with other ECUs. For example, the ECU G transmits a signal having a normal waveform as shown in FIG. However, since the signal transmitted from the ECU G is affected by the signal transmitted from the ECU C, the waveform of the signal received by the ECU D becomes a waveform as shown in FIG. May not be received normally. Similarly, since signals transmitted from other ECUs are also affected by signals transmitted from ECU C, the ECUs to which other ECUs are transmitted may not receive normal signals from other ECUs. . Therefore, communication between ECUs is destroyed, and communication between some ECUs becomes impossible. In such a situation, when the communication state is inspected by the service tool, a plurality of ECUs are determined to be faulty, so that the fault location cannot be specified.
これまで、複数の通信装置が接続されたバス方式の通信において、故障箇所を特定するとともに、該故障箇所を切り離す方法としては、マスター回路からコンピュータや通信線上に接続されたトランジスタやリレーを制御し、故障したコンピュータや電線を物理的に切り離す方法が一般的であった。ここで、通信装置にはコンピュータが含まれる。このような方法では、回路の追加や制御用電源の追加が必要である。通信線上に付加回路を付与する必要があるため、通信の物理的性能に影響が及ぶ場合がある。また、大規模なネットワークに対して適用して場合、この付加回路のコストが大きくなる。従って、CAN通信ネットワークに接続されたECUや、CAN通信線が故障した場合に、故障箇所を特定する箇所を切り離すための回路を通信性能に影響を与えずに低コストで実現するのは困難である。 Until now, in the bus-type communication in which a plurality of communication devices are connected, the failure location is identified and the failure location can be separated by controlling a transistor or a relay connected to a computer or a communication line from the master circuit. The method of physically disconnecting a broken computer or electric wire was common. Here, the communication device includes a computer. In such a method, it is necessary to add a circuit and a control power supply. Since it is necessary to add an additional circuit on the communication line, the physical performance of communication may be affected. Further, when applied to a large-scale network, the cost of this additional circuit increases. Therefore, when an ECU connected to a CAN communication network or a CAN communication line breaks down, it is difficult to realize a circuit for separating a place for identifying the failed part at a low cost without affecting the communication performance. is there.
また、バス接続されたECU間の片側断線における故障箇所の特定と故障箇所の切り離しを行う方法において、自らの異常を検出した故障ノードがCAN通信を停止する方法が開示されている(例えば、特許文献1参照)。 Further, in a method for identifying a fault location and disconnecting a fault location in a one-side disconnection between bus-connected ECUs, a method is disclosed in which a fault node that detects its own abnormality stops CAN communication (for example, a patent) Reference 1).
しかし、この方法では、故障したECUからの異常波形が正常なECUに及ぼす影響を低減することはできない。 However, this method cannot reduce the influence of an abnormal waveform from a failed ECU on a normal ECU.
本発明は、上述の点に鑑みてなされたものであり、故障した通信装置の特定ができ、さらに該通信装置が送信する異常波形が他の通信装置に及ぼす影響を低減し、該故障した通信装置をネットワークから切り離すことができる通信装置及び通信システム並びに通信方法を提供することを目的とする。 The present invention has been made in view of the above points, and can identify a failed communication device, further reduce the influence of an abnormal waveform transmitted by the communication device on other communication devices, and perform the failed communication. It is an object of the present invention to provide a communication device, a communication system, and a communication method that can disconnect a device from a network.
上記課題を解決するため、本発明の通信装置は、
両端に終端抵抗が接続される2線式の通信線を介して互いに通信を行う通信システムにおける通信装置であって、
前記終端抵抗が、第1の抵抗と、該第1の抵抗に直列に接続された第2の抵抗により構成され、
前記第1及び第2の抵抗と、前記第1の抵抗と前記第2の抵抗との間に接続され、他端が接地されたコンデンサとにより構成された終端回路と、
前記通信システムにおける通信エラーを計測する通信エラー計測手段と
を有し、
終端回路は、前記通信エラー計測手段により計測された通信エラーが通信システムの機能を満足するために必要とされる所定の閾値以上である場合に、前記コンデンサの容量を変更することを特徴の1つとする。
In order to solve the above problems, the communication device of the present invention provides:
A communication device in a communication system that communicates with each other via a two-wire communication line having terminal resistors connected to both ends,
The termination resistor includes a first resistor and a second resistor connected in series to the first resistor,
A termination circuit constituted by the first and second resistors, and a capacitor connected between the first resistor and the second resistor and having the other end grounded;
Communication error measuring means for measuring a communication error in the communication system,
The termination circuit changes the capacitance of the capacitor when the communication error measured by the communication error measuring unit is equal to or greater than a predetermined threshold required to satisfy the function of the communication system. I will.
このように構成することにより、終端回路に含まれるコンデンサの容量を変更することができ、故障したECUから送信された信号の異常波形を調整できるため、該故障したECUから送信される信号が他のECU間の通信に及ぼす影響を低減できる。また、正常なECU間の通信を復帰させることができる。 With this configuration, the capacitance of the capacitor included in the termination circuit can be changed, and the abnormal waveform of the signal transmitted from the failed ECU can be adjusted. The influence on communication between ECUs can be reduced. In addition, normal communication between the ECUs can be restored.
さらに別の構成例では、
前記終端回路は、サンプリングポイントの以前に差動電圧が発生しなくなるように前記コンデンサの容量を変更するように構成される。
In yet another configuration example,
The termination circuit is configured to change the capacitance of the capacitor so that a differential voltage is not generated before the sampling point.
このように構成することにより、サンプリングポイントの以前で差動波形を正常な波形に戻すことができる。従って、正常なECU間の通信が可能となる。 With this configuration, the differential waveform can be returned to a normal waveform before the sampling point. Therefore, communication between normal ECUs becomes possible.
さらに別の構成例では、
前記通信エラー計測手段は、所定の周期で通信エラーを計測し、
前記終端回路は、前記コンデンサの容量が変更された場合に、前記通信エラー計測手段により計測された通信エラーが前記所定の閾値未満である場合に、前記コンデンサの容量を変更前の容量に変更するように構成される。
In yet another configuration example,
The communication error measuring means measures a communication error at a predetermined cycle,
The termination circuit changes the capacitance of the capacitor to the capacitance before the change when the communication error measured by the communication error measuring means is less than the predetermined threshold when the capacitance of the capacitor is changed. Configured as follows.
このように構成することにより、故障したECUがCAN通信ネットワークを介した通信を行っていないとみなされる場合には、変更されたコンデンサの容量を変更前の容量に戻すことにより、通信装置の故障が生じる前の状況で通信を継続することができる。 With this configuration, when it is considered that the failed ECU is not communicating via the CAN communication network, the communication device malfunctions by returning the changed capacitor capacity to the capacity before the change. Communication can be continued in the situation before the occurrence of.
さらに別の構成例では、
各通信装置は、送信元を示す情報が含まれるフレームを送信し、
フレームの誤りを検出し、該フレームに含まれる送信元を示す情報に基づいて、誤ったフレームを送信した通信装置を検出する通信装置検出手段
を有するように構成される。
In yet another configuration example,
Each communication device transmits a frame including information indicating the transmission source,
It is configured to include a communication device detecting unit that detects a frame error and detects a communication device that has transmitted the erroneous frame based on information indicating a transmission source included in the frame.
このように構成することにより、各通信装置により送信されるフレームに含まれる送信元を示す情報に基づいて、誤って受信されるフレームを送信する通信装置を特定できる。ここで、誤って受信されるフレームとは、通信装置が故障している場合に、該通信装置により送信されるフレームが含まれる。 With this configuration, it is possible to identify a communication device that transmits a frame received in error based on information indicating a transmission source included in a frame transmitted by each communication device. Here, the frame received in error includes a frame transmitted by the communication apparatus when the communication apparatus is out of order.
さらに別の構成例では、
前記通信装置検出手段により検出された通信装置を通知する通知手段
を有するように構成される。
In yet another configuration example,
It is comprised so that it may have a notification means which notifies the communication apparatus detected by the said communication apparatus detection means.
このように構成することにより、故障中の通信装置を通知できる。 By configuring in this way, it is possible to notify the communication device in failure.
本発明の通信システムは、
両端に終端抵抗が接続される2線式の通信線を介して互いに通信を行う通信装置を有する通信システムであって、
前記通信装置は、前記終端抵抗を含んで構成される第1の通信装置と、該第1の通信装置以外の第2の通信装置を有し、
前記終端抵抗が、第1の抵抗と、該第1の抵抗に直列に接続された第2の抵抗により構成され、
前記第1の通信装置は、
前記通信システムにおける通信エラーを計測する第1の通信エラー計測手段と、
前記第1及び第2の抵抗と、前記第1の抵抗と前記第2の抵抗との間に接続され、他端が接地されたコンデンサとにより構成され、前記第1の通信エラー計測手段により計測された通信エラーが通信システムの機能を満足するために必要とされる所定の閾値以上である場合に、前記コンデンサの容量を変更する終端回路と
を有し、
前記第2の通信装置は、
前記通信システムにおける通信エラーを計測する第2の通信エラー計測手段と、
前記第2の通信エラー計測手段により計測された通信エラーが通信システムの機能を満足するために必要とされる所定の閾値以上である場合に、通信を停止する制御手段と
を有することを特徴の1つとする。
The communication system of the present invention includes:
A communication system having a communication device that communicates with each other via a two-wire communication line having terminal resistors connected to both ends,
The communication device includes a first communication device configured to include the termination resistor, and a second communication device other than the first communication device,
The termination resistor includes a first resistor and a second resistor connected in series to the first resistor,
The first communication device is:
First communication error measuring means for measuring a communication error in the communication system;
The first and second resistors and a capacitor connected between the first resistor and the second resistor and having the other end grounded are measured by the first communication error measuring means. A termination circuit that changes the capacitance of the capacitor when the communication error is greater than or equal to a predetermined threshold required to satisfy the function of the communication system, and
The second communication device is:
Second communication error measuring means for measuring a communication error in the communication system;
Control means for stopping communication when the communication error measured by the second communication error measuring means is greater than or equal to a predetermined threshold required for satisfying the function of the communication system. One.
このように構成することにより、終端回路に含まれるコンデンサの容量を変更することができ、故障したECUから送信された信号の異常波形を調整できるため、該故障したECUから送信される信号が他のECU間の通信に及ぼす影響を低減できる。また、正常なECU間の通信を復帰させることができる。また、自ECUが故障である否かを判断でき、故障であれば通信を停止することができる。 With this configuration, the capacitance of the capacitor included in the termination circuit can be changed, and the abnormal waveform of the signal transmitted from the failed ECU can be adjusted. The influence on communication between ECUs can be reduced. In addition, normal communication between the ECUs can be restored. Further, it is possible to determine whether or not the own ECU is in failure, and if it is in failure, communication can be stopped.
本発明の他の通信システムは、
両端に終端抵抗が接続される2線式の通信線を介して互いに通信を行う通信装置を有する通信システムであって、
前記終端抵抗が、第1の抵抗と、該第1の抵抗に直列に接続された第2の抵抗により構成され、
前記第1及び第2の抵抗と、前記第1の抵抗と前記第2の抵抗との間に接続され、他端が接地されたコンデンサとにより構成された終端回路と、
前記通信システムにおける通信エラーを計測する通信エラー計測手段と、
前記通信エラー計測手段により計測された通信エラーが通信システムの機能を満足するために必要とされる所定の閾値以上である場合に、前記終端回路における前記コンデンサの容量を変更する容量変更手段と
を有することを特徴の1つとする。
Another communication system of the present invention includes:
A communication system having a communication device that communicates with each other via a two-wire communication line having terminal resistors connected to both ends,
The termination resistor includes a first resistor and a second resistor connected in series to the first resistor,
A termination circuit constituted by the first and second resistors, and a capacitor connected between the first resistor and the second resistor and having the other end grounded;
A communication error measuring means for measuring a communication error in the communication system;
Capacity changing means for changing the capacity of the capacitor in the termination circuit when the communication error measured by the communication error measuring means is greater than or equal to a predetermined threshold required to satisfy the function of the communication system. It has one of the characteristics.
このように構成することにより、終端回路に含まれるコンデンサの容量を変更することができ、故障したECUから送信された信号の異常波形を調整できるため、該故障したECUから送信される信号が他のECU間の通信に及ぼす影響を低減できる。 With this configuration, the capacitance of the capacitor included in the termination circuit can be changed, and the abnormal waveform of the signal transmitted from the failed ECU can be adjusted. The influence on communication between ECUs can be reduced.
本発明の通信方法は、
両端に終端抵抗が接続される2線式の通信線を介して互いに通信を行う通信装置を有する通信システムにおける通信方法であって、
前記通信装置は、前記終端抵抗を含んで構成される第1の通信装置と、該第1の通信装置以外の第2の通信装置を有し、
前記終端抵抗が、第1の抵抗と、該第1の抵抗に直列に接続された第2の抵抗により構成され、
前記第1の通信装置が、前記通信システムにおける通信エラーを計測する第1の通信エラー計測ステップと、
前記第1の通信装置が、前記第1の通信エラー計測ステップにより計測された通信エラーが通信システムの機能を満足するために必要とされる所定の閾値以上である場合に、前記第1及び第2の抵抗と、前記第1の抵抗と前記第2の抵抗との間に接続され、他端が接地されたコンデンサとにより構成され終端回路における前記コンデンサの容量を変更する容量変更ステップと、
前記第2の通信装置が、前記通信システムにおける通信エラーを計測する第2の通信エラー計測ステップと、
前記第2の通信装置が、前記第2の通信エラー計測ステップにより計測された通信エラーが通信システムの機能を満足するために必要とされる所定の閾値以上である場合に、通信を停止する通信停止ステップと
と有することを特徴の1つとする。
The communication method of the present invention includes:
A communication method in a communication system having a communication device that communicates with each other via a two-wire communication line having terminal resistors connected to both ends,
The communication device includes a first communication device configured to include the termination resistor, and a second communication device other than the first communication device,
The termination resistor includes a first resistor and a second resistor connected in series to the first resistor,
A first communication error measuring step in which the first communication device measures a communication error in the communication system;
When the communication error measured by the first communication error measurement step is equal to or greater than a predetermined threshold required for satisfying the function of the communication system, the first communication device A capacitance changing step configured to change the capacitance of the capacitor in the termination circuit, the capacitor being connected between the first resistor and the second resistor and having the other end grounded;
A second communication error measuring step in which the second communication device measures a communication error in the communication system;
Communication in which the second communication device stops communication when the communication error measured in the second communication error measurement step is equal to or greater than a predetermined threshold required to satisfy the function of the communication system. One of the features is that it has a stop step.
このようにすることにより、終端回路に含まれるコンデンサの容量を変更することができ、故障したECUから送信された信号の異常波形を調整できるため、該故障したECUから送信される信号が他のECU間の通信に及ぼす影響を低減できる。また、正常なECU間の通信を復帰させることができる。また、自ECUが故障である否かを判断でき、故障であれば通信を停止することができる。 By doing so, the capacitance of the capacitor included in the termination circuit can be changed, and the abnormal waveform of the signal transmitted from the failed ECU can be adjusted. The influence on communication between ECUs can be reduced. In addition, normal communication between the ECUs can be restored. Further, it is possible to determine whether or not the own ECU is in failure, and if it is in failure, communication can be stopped.
本発明の実施例によれば、故障した通信装置の特定ができ、さらに該通信装置が送信する異常波形が他の通信装置に及ぼす影響を低減し、該故障した通信装置をネットワークから切り離すことができる通信装置及び通信システム並びに通信方法を実現できる。 According to the embodiment of the present invention, it is possible to identify a failed communication device, further reduce the influence of an abnormal waveform transmitted by the communication device on other communication devices, and disconnect the failed communication device from the network. A communication device, a communication system, and a communication method can be realized.
次に、本発明を実施するための最良の形態を、以下の実施例に基づき図面を参照しつつ説明する。 Next, the best mode for carrying out the present invention will be described based on the following embodiments with reference to the drawings.
なお、実施例を説明するための全図において、同一機能を有するものは同一符号を用い、繰り返しの説明は省略する。 In all the drawings for explaining the embodiments, the same reference numerals are used for those having the same function, and repeated explanation is omitted.
(第1の実施例)
本発明の一実施例であるCAN通信システムについて、図5を参照して説明する。
(First embodiment)
A CAN communication system according to an embodiment of the present invention will be described with reference to FIG.
本実施例に係るCAN通信システム1000は、例えば、自動車内LANの通信プロトコルに従って通信を行う複数の通信装置を備える。例えば、自動車内LANの通信プロトコルとして、CAN(Controller Area Network)が適用されるようにしてもよい。各通信装置は、例えば、自動車の各部を制御する複数の電子制御ユニット(Electronic Control Unit)(以下、ECUと呼ぶ)により構成される。
The
CANでは、上述したように通信ライン(通信バス)として、CANH200とCANL300とからなる2線式のCAN通信線400が使用され、その2線式のCAN通信線400の両端には終端抵抗が接続される。また、図5に示される例において、終端抵抗は、2線式のCAN通信線400の端に配置された2つのECU1004及びECU1005の内部に夫々設けられている。そして、CANにおいて、データを送信する通信装置はCANH200とCANL300とに反転信号を送出し、データを受信する通信装置はCANH200とCANL300との電圧差から、CAN通信線400上のデータが“1”であるか“0”であるかを判定する。
In the CAN, as described above, the two-wire
各ECU1001−ECU1005は、自動車の各部を制御するための制御処理や他のECUと通信を行うための処理を実行する通信エラー計測手段としてのCPU102と、上述した2線式のCAN通信線400に接続され、CPU102から与えられる送信データを2線式のCAN通信線400に出力すると共に、2線式のCAN通信線400上のデータをCPU102に入力する通信ドライバ104とを備える。通信ドライバ104は、2個の出力バッファと、二値化回路とを備える。例えば、第1の出力バッファは、送信データが“0”の時にCANH200の電圧をハイレベル(例えば5V)にし、送信データが“1”の時にCANH200の電圧をローレベル(例えば2.5V)に設定する。第2の出力バッファは、送信データが“0”の時にCANL300の電圧をローレベル(例えば0V)にし、送信データが“1”の時にCANL300の電圧をハイレベル(例えば2.5V)に設定する。二値化回路は、入力されたCANH200の電圧とCANL300の電圧との差から、CAN通信線400上のデータを表す“1”か“0”の二値信号を生成する。
Each of the ECUs 100 1 to 100 5 includes a
さらに、終端抵抗を有するECU1004及び1005は、終端回路106を備える。終端回路106には、終端抵抗とコンデンサ(終端容量)とが含まれる。例えば、終端抵抗は、第1の抵抗1061と、該第1の抵抗1061に直列に接続された第2の抵抗1062により構成される。終端回路106は、第1の抵抗1061及び第2の抵抗1062と、第1の抵抗1061と第2の抵抗1062との間に接続され、他端が接地されたコンデンサ1063とにより構成される。例えば、コンデンサ1063は、可変容量コンデンサにより構成され、その容量(定数)をリニアに変更できる。
Further, the ECUs 100 4 and 100 5 having termination resistors include a
各ECU1001−1005は、CPU102において、CAN通信状態をモニターする。あるECU、例えば、ECU1001が故障した場合を考える。例えば、ECU1001の支線の片側、例えば、CANLが断線した場合、ECU1001からは、異常な波形を有する信号が送信される。本実施例では、ECUが故障する原因の一例として、CANLが断線した場合について説明するが、CANHが断線した場合においても同様に適用できる。
Each ECU 100 1 -100 5, in
各ECU1001−ECU1005は、CPU102において、ECU1001により送信された信号に基づいて、CAN通信エラーを検出し、「CAN通信の故障」を認識する。例えば、各ECU1001−ECU1005は、CAN通信エラーを計測し、該CAN通信エラーが通信システムの機能を満足するために必要とされる所定の閾値以上であるか否かに基づいて、CAN通信エラーが通信システムの機能を満足するために必要とされる所定の閾値以上である場合に「CAN通信の故障」と認識するようにしてもよい。
Each of the ECUs 100 1 to 100 5 detects a CAN communication error in the
終端回路106を有するECU1004及びECU1005は、CAN通信の故障を認識すると、CPU102は、通信ドライバ104を介して、終端回路106に対して、コンデンサ1063における終端容量の定数を変更するように命令する。終端回路106は、CPU102による命令に応じてコンデンサ1063における終端容量の定数を変更する。その結果、ECU1001により送信される信号は、図6に示すように変化し、ECU1001の送信先のECUは、図7に示すように、サンプリングポイントの以前に差動電圧が発生しなくなった信号を受信する。このように、コンデンサ1063における終端容量の定数を変更することにより、サンプルポイントの以前において差動電圧の発生を低減できるため、他の正常なECU間の通信へ及ぼす影響を低減できる。
When the ECU 100 4 and the ECU 100 5 having the
その後、各ECU1001−ECU1005のCPU102は、継続してCAN通信エラーをモニターし、CAN通信エラーが低減したか否かを判定する。CAN通信エラーが低減していると判断した場合、該CAN通信エラーがCAN通信システムの機能を満足するために必要とされる所定の閾値未満となったか否かを判断する。CAN通信エラーが、該閾値未満となった場合、所定の時間経過後、コンデンサ1063における終端容量の定数を変更前の値に戻す。一方、CAN通信エラーが所定の閾値以上である場合、CPU102は、通信ドライバ104を介して、終端回路106に対して、コンデンサ1063における終端容量の定数をさらに変更するように命令する。
Thereafter, the
終端回路106を有するECU1004及びECU1005により、コンデンサ1063における終端容量の定数が変更された後、ECU1001−ECU1005は、CPU102において、自ECUのCAN通信エラーを検出し、該CAN通信エラーが低下した場合には、通信を継続し、CAN通信エラーが低下しない場合には、自ECUの故障であると判断し、通信を停止する。例えば、各ECU1001−ECU1005は、CAN通信エラーを計測し、該CAN通信エラーが通信システムの機能を満足するために必要とされる所定の閾値以上であるか否かに基づいて、CAN通信エラーが通信システムの機能を満足するために必要とされる所定の閾値以上である場合に自ECUの故障であると判断し、通信を停止するようにしてもよい。
The ECU 100 4 and ECU 100 5 having a
このように、終端回路106を有するECUのコンデンサ1063における容量(定数)を変更することにより、サンプリングポイントの以前において差動電圧の発生を低減できる。従って、あるECUが故障することによりCAN通信エラーが生じた場合に、故障したECUにより送信される信号が他の正常なECU間の通信に与える影響を低減させることができる。さらに、終端回路106を有するEUC以外のECUについては、継続してCAN通信エラーをモニターすることにより、自ECUが故障しているか否かを判断できるため、故障ECUについては、通信を停止させることができる。
In this way, by changing the capacitance (constant) in the
次に、各ECU100の動作について説明する。 Next, the operation of each ECU 100 will be described.
終端回路106を有するECU1004及び1005の動作について、図8を参照して説明する。
The operation of the ECUs 100 4 and 100 5 having the
ECU1004及び1005は、通信を開始する(ステップS802)。 The ECUs 100 4 and 100 5 start communication (step S802).
CPU102は、通信エラーが発生したか否かを判断する(ステップS804)。
The
通信エラーが発生していないと判断された場合(ステップS804:NO)、ステップS804に戻り、通信を継続する。例えば、CPU102は、CAN通信エラーを計測し、該CAN通信エラーが通信システムの機能を満足するために必要とされる所定の閾値以上であるか否かに基づいて、CAN通信エラーが通信システムの機能を満足するために必要とされる所定の閾値未満である場合に、通信エラーが発生していないと判断する。
If it is determined that no communication error has occurred (step S804: NO), the process returns to step S804 and communication is continued. For example, the
一方、通信エラーが発生したと判断された場合(ステップS804:YES)、CPU102は、終端回路106に、コンデンサ1063における終端容量の定数を変更するように命令する。終端回路106は、CPU102による命令に従って、コンデンサ1063における終端容量の定数を変更する(ステップS806)。例えば、CPU102は、CAN通信エラーを計測し、該CAN通信エラーが通信システムの機能を満足するために必要とされる所定の閾値以上であるか否かに基づいて、該CAN通信エラーが通信システムの機能を満足するために必要とされる所定の閾値以上である場合に、通信エラーが発生したと判断する。
On the other hand, if it is determined that a communication error has occurred (step S804: YES), the
CPU102は、継続して通信エラーをモニターし、通信エラーがなくなったか否かを判断する(ステップS808)。ここで、通信エラーがCAN通信システムの機能を満足するために必要とされる所定の閾値未満となったか否かを判断するようにしてもよい。
The
通信エラーがなくならないと判断された場合(ステップS808:NO)、言い換えれば、通信エラーがCAN通信システムの機能を満足するために必要とされる所定の閾値未満とならない場合、ステップS806に戻る。すなわち、CPU102は、終端回路106に対してさらに、コンデンサ1063における終端容量の定数を変更するように命令する。一方、通信エラーがなくなったと判断された場合(ステップS808:YES)、言い換えれば、通信エラーがCAN通信システムの機能を満足するために必要とされる所定の閾値未満となった場合、CPU102は、一定時間後、終端回路106に対して、コンデンサ1063における終端容量の定数を変更前の定数に戻すように命令する(ステップS810)。この場合、故障したECUは、CAN通信システムから切り離され、通信を行っていないと判断される。
If it is determined that the communication error does not disappear (step S808: NO), in other words, if the communication error does not become less than the predetermined threshold required to satisfy the function of the CAN communication system, the process returns to step S806. That is, the
終端回路106を有するECU1004及び1005以外のECU、すなわちECU1001、1002及び1003の動作について、図9を参照して説明する。
The operation of the ECUs other than the ECUs 100 4 and 100 5 having the
ECU1001、1002及び1003は、通信を開始する(ステップS902)。 The ECUs 100 1 , 100 2 and 100 3 start communication (step S902).
CPU102は、通信エラーが一定数以上発生したか否かを判断する(ステップS904)。例えば、各ECU1001、1002及び1003は、CAN通信エラーを計測し、該CAN通信エラーが通信システムの機能を満足するために必要とされる所定の閾値以上であるか否かを判断する。
The
通信エラーが一定数以上発生していないと判断された場合(ステップS904:NO)、
言い換えれば、CAN通信エラーが通信システムの機能を満足するために必要とされる所定の閾値未満である場合、ステップS904に戻り、通信を継続する。一方、通信エラーが一定数以上発生したと判断された場合(ステップS904:YES)、言い換えれば、CAN通信エラーが通信システムの機能を満足するために必要とされる所定の閾値以上である場合、CPU102は、通信を停止するように通信ドライバ104に対して命令する(ステップS906)。
When it is determined that no more than a certain number of communication errors have occurred (step S904: NO),
In other words, if the CAN communication error is less than the predetermined threshold required to satisfy the function of the communication system, the process returns to step S904 and communication is continued. On the other hand, if it is determined that a certain number or more of communication errors have occurred (step S904: YES), in other words, if the CAN communication error is greater than or equal to a predetermined threshold required to satisfy the function of the communication system, The
本実施例によれば、終端回路におけるコンデンサ1063における終端容量の定数を変更する手段を設けることにより、故障したECUから出力される異常波形を調整(整形)することができるため、該故障したECUにより送信される信号により他のECU間の通信に与える影響を低減できる。このため、正常なECU間の通信を復帰させることができる。また、ECUに、通信エラーをモニターし、通信エラーが一定数以上である状態が継続する場合に通信を停止する手段を設けることにより、故障箇所を特定でき、該特定された故障箇所、言い換えれば故障箇所を有するECUをCANHが断線通信ネットワークから切り離すことができる。
According to the present embodiment, by providing means for changing the constant of the termination capacitance of the
(第2の実施例)
本発明の他の実施例であるCAN通信システムについて説明する。本実施例に係るCAN通信システムは、図5を参照して説明した構成と同様である。
(Second embodiment)
A CAN communication system according to another embodiment of the present invention will be described. The CAN communication system according to the present embodiment has the same configuration as that described with reference to FIG.
本実施例に係るCAN通信システムでは、終端抵抗を有するECU1004及び1005が備える終端回路106を、終端抵抗と複数のコンデンサにより構成したものである。例えば、終端抵抗を、第1の抵抗1061と、該第1の抵抗1061に直列に接続された第2の抵抗1062により構成する。終端回路106は、第1の抵抗1061及び第2の抵抗1062と、第1の抵抗1061と第2の抵抗1062との間に接続され、他端が接地された複数のコンデンサを直列に接続した可変容量1063とにより構成される。このように構成することにより、多段にコンデンサの容量(定数)を変更することができる。
In the CAN communication system according to the present embodiment, the
(第3の実施例)
本発明の他の実施例であるCAN通信システムについて、図10を参照して説明する。本実施例に係るCAN通信システムでは、終端抵抗は、第1の抵抗1061と、該第1の抵抗1061に直列に接続された第2の抵抗1062により構成する。終端回路106は、第1の抵抗1061及び第2の抵抗1062と、第1の抵抗1061と第2の抵抗1062との間に接続され、他端が接地されたコンデンサ1063とにより構成される。例えば、コンデンサ1063は、可変容量コンデンサにより構成され、その容量(定数)をリニアに変更できる。
(Third embodiment)
A CAN communication system according to another embodiment of the present invention will be described with reference to FIG. In the CAN communication system according to the present embodiment, the termination resistor is configured by a
本実施例に係るECU100(1001、1002及び1003)は、その1つをマスターECUとする。マスターECUは、上述した実施例における終端回路106を有するECUと同様の機能を有する。
One of the ECUs 100 (100 1 , 100 2 and 100 3 ) according to the present embodiment is a master ECU. The master ECU has the same function as the ECU having the
各ECU1001−1003は、CPU102において、CAN通信状態をモニターする。あるECU、例えば、ECU1001が故障した場合を考える。例えば、ECU1001の支線が断線した場合、ECU1001から異常な波形を有する信号が送信される。例えば、ECU1001の支線の片側、例えば、CANLが断線した場合、ECU1001からは、異常な波形を有する信号が送信される。本実施例では、ECUが故障する原因の一例として、CANLが断線した場合について説明するが、CANHが断線した場合においても同様に適用できる。
Each of the ECUs 100 1 to 100 3 monitors the CAN communication state in the
各ECU1001−ECU1003は、CPU102において、ECU1001により送信された信号に基づいて、CAN通信エラーを検出し、「CAN通信の故障」を認識する。例えば、各ECU1001−ECU1003は、CAN通信エラーを計測し、該CAN通信エラーが通信システムの機能を満足するために必要とされる所定の閾値以上であるか否かに基づいて、CAN通信エラーが通信システムの機能を満足するために必要とされる所定の閾値以上である場合に「CAN通信の故障」と認識するようにしてもよい。
Each of the ECUs 100 1 to 100 3 detects a CAN communication error in the
マスターECUでは、CAN通信の故障を認識すると、CPU102は、通信ドライバ104を介して、終端回路106に対して、コンデンサ1063における終端容量の定数を変更するように命令する。この場合、マスターECUは、例えば、該マスターECUと終端回路106との間に設けられた専用通信線により制御情報を送信することにより、終端回路106を制御する。終端回路106は、CPU102による命令に応じてコンデンサ1063における終端容量の定数を変更する。このように、コンデンサ1063における終端容量の定数を変更することにより、サンプルポイントの以前において差動電圧の発生を低減させ、他の正常なECU間の通信へ及ぼす影響を低減する。
When the master ECU recognizes a failure in CAN communication, the
その後、各ECU1001−ECU1003のCPU102は、継続してCAN通信エラーをモニターし、CAN通信エラーが低減したか否かを判定する。CAN通信エラーが低減していると判断した場合、該CAN通信エラーがCAN通信システムの機能を満足するために必要とされる所定の閾値未満となったか否かを判断する。CAN通信エラーが、該閾値未満となった場合、所定の時間経過後、マスターECUは、コンデンサ1063における終端容量の定数を変更前の値に戻す命令を行う。一方、CAN通信エラーが所定の閾値以上である場合、CPU102は、通信ドライバ104を介して、終端回路106に対して、コンデンサ1063における終端容量の定数をさらに変更するように命令する。
Thereafter, the
終端回路106により、終端容量の定数が変更された後、ECU1001−ECU1003は、CPU102において、自ECUのCAN通信エラーを検出し、該CAN通信エラーが低下した場合には、通信を継続し、CAN通信エラーが低下しない場合には、自ECUの故障であると判断し、通信を停止する。例えば、各ECU1001−ECU1003は、CAN通信エラーを計測し、該CAN通信エラーが通信システムの機能を満足するために必要とされる所定の閾値以上であるか否かに基づいて、CAN通信エラーが通信システムの機能を満足するために必要とされる所定の閾値以上である場合に自ECUの故障であると判断し、通信を停止するようにしてもよい。
After the termination capacity constant is changed by the
このように、終端回路のコンデンサの容量(定数)を変更することにより、サンプリングポイントの以前において差動電圧の発生を低減できる。従って、あるECUが故障することによりCAN通信エラーが生じた場合に、該故障したECUにより送信される信号が他の正常なECU間の通信に与える影響を低減することができる。さらに、継続してCAN通信エラーをモニターすることにより、自ECUが故障しているか否かを判断できるため、故障ECUについては、通信を停止させることができる。 Thus, by changing the capacitance (constant) of the capacitor of the termination circuit, the generation of differential voltage can be reduced before the sampling point. Therefore, when a CAN communication error occurs due to a failure of a certain ECU, it is possible to reduce the influence of a signal transmitted by the failed ECU on communication between other normal ECUs. Furthermore, since it is possible to determine whether or not the own ECU has failed by continuously monitoring CAN communication errors, communication can be stopped for the failed ECU.
次に、ECU100の動作について、図11を参照して説明する。 Next, the operation of the ECU 100 will be described with reference to FIG.
本実施例では、マスターECUの動作について説明する。マスターECU以外のECUの動作は、図9を参照して説明した動作と同様である。 In this embodiment, the operation of the master ECU will be described. The operations of the ECUs other than the master ECU are the same as those described with reference to FIG.
マスターECU100は、通信を開始する(ステップS1102)。 The master ECU 100 starts communication (step S1102).
CPU102は、通信エラーが発生したか否かを判断する(ステップS1104)。
The
通信エラーが発生していないと判断された場合(ステップS1104:NO)、ステップS1104に戻り、通信を継続する。例えば、CPU102は、CAN通信エラーを計測し、該CAN通信エラーが通信システムの機能を満足するために必要とされる所定の閾値以上であるか否かに基づいて、CAN通信エラーが通信システムの機能を満足するために必要とされる所定の閾値未満である場合に、通信エラーが発生していないと判断する。
If it is determined that no communication error has occurred (step S1104: NO), the process returns to step S1104 and communication is continued. For example, the
一方、通信エラーが発生したと判断された場合(ステップS1104:YES)、CPU102は、終端回路106に、コンデンサ1063における終端容量の定数を変更するように命令する。例えば、CAN通信の故障を認識すると、CPU102は、通信ドライバ104を介して、終端回路106に対して、コンデンサ1063における終端容量の定数を変更するように命令する。この場合、マスターECUは、該マスターECUと終端回路106との間に設けられた専用通信線により制御情報を送信することにより、終端回路106を制御する。終端回路106は、CPU102による命令に従って、コンデンサ1063における終端容量の定数を変更する(ステップS1106)。例えば、CPU102は、CAN通信エラーを計測し、該CAN通信エラーが通信システムの機能を満足するために必要とされる所定の閾値以上であるか否かに基づいて、CAN通信エラーが通信システムの機能を満足するために必要とされる所定の閾値以上である場合に、通信エラーが発生したと判断する。
On the other hand, when it is determined that a communication error has occurred (step S1104: YES), the
CPU102は、継続して通信エラーをモニターし、通信エラーがなくなったか否かを判断する(ステップS1108)。ここで、通信エラーがCAN通信システムの機能を満足するために必要とされる所定の閾値未満となったか否かを判断するようにしてもよい。
The
通信エラーがなくならないと判断された場合(ステップS1108:NO)、言い換えれば、通信エラーがCAN通信システムの機能を満足するために必要とされる所定の閾値未満とならない場合、ステップS1106に戻る。すなわち、CPU102は、終端回路106に対してさらに、コンデンサ1063における終端容量の定数を変更するように命令する。一方、通信エラーがなくなったと判断された場合(ステップS1108:YES)、言い換えれば、通信エラーがCAN通信システムの機能を満足するために必要とされる所定の閾値未満となった場合、CPU102は、一定時間後、終端回路106に対して、コンデンサ1063における終端容量の定数を変更前の定数に戻すように命令する(ステップS1110)。
When it is determined that the communication error does not disappear (step S1108: NO), in other words, when the communication error does not become less than the predetermined threshold required to satisfy the function of the CAN communication system, the process returns to step S1106. That is, the
このように構成することにより、終端回路のコンデンサ1063における容量を変更する付加機能を1つのECUに集約することができる。このため、コストダウンが可能となる。
With this configuration, it is possible to consolidate additional functions for changing the capacitance of the
(第4の実施例)
本発明の他の実施例に係るCAN通信システムについて説明する。本実施例に係るCAN通信システムの構成は、図5及び図10を参照して説明した構成と同様である。
(Fourth embodiment)
A CAN communication system according to another embodiment of the present invention will be described. The configuration of the CAN communication system according to the present embodiment is the same as the configuration described with reference to FIGS.
本実施例に係るCAN通信システムでは、終端回路106を有するECU1004及び1005又はマスターECUは、各ECUにより送信されたフレームをチェックし、故障したECUを特定する。各ECUは、送信元ECUを特定できる固有のフレームを送信する。例えば、通信装置検出手段及び通知手段としてのCPU102は、フレームの誤りを検出し、誤っていた場合に、該フレームに含まれる送信元ECUを特定できる情報に基づいて、該フレームを送信したECUを特定する。そして、各ECUにおけるフレームの誤り率が、通信システムの機能を満足するために必要とされる所定の閾値以上であるか否かに基づいて、該閾値以上である場合には、該フレームに基づいて特定された送信元のECUを故障であると判断する。故障ECUが検出された場合、CPU102は、ユーザや修理担当者に対して、そのECUを通知するようにしてもよい。
In the CAN communication system according to the present embodiment, the ECUs 100 4 and 100 5 or the master ECU having the
このように構成することにより、各ECUから送信されたフレームをチェックすることができるため、通信できていない、言い換えれば故障中のECUを特定できる。 By configuring in this way, it is possible to check the frame transmitted from each ECU, and therefore, it is possible to identify the ECU that is not communicating, in other words, that is malfunctioning.
説明の便宜上、発明の理解を促すため具体的な数値例を用いて説明されるが、特に断りのない限り、それらの数値は単なる一例に過ぎず適切な如何なる値が使用されてよい。 For convenience of explanation, specific numerical examples will be described to facilitate understanding of the invention. However, unless otherwise specified, these numerical values are merely examples, and any appropriate value may be used.
以上、本発明は特定の実施例を参照しながら説明されてきたが、各実施例は単なる例示に過ぎず、当業者は様々な変形例、修正例、代替例、置換例等を理解するであろう。説明の便宜上、本発明の実施例に係る装置は機能的なブロック図を用いて説明されたが、そのような装置はハードウエアで、ソフトウエアで又はそれらの組み合わせで実現されてもよい。本発明は上記実施例に限定されず、本発明の精神から逸脱することなく、様々な変形例、修正例、代替例、置換例等が包含される。 Although the present invention has been described above with reference to specific embodiments, each embodiment is merely an example, and those skilled in the art will understand various variations, modifications, alternatives, substitutions, and the like. I will. For convenience of explanation, an apparatus according to an embodiment of the present invention has been described using a functional block diagram, but such an apparatus may be realized by hardware, software, or a combination thereof. The present invention is not limited to the above-described embodiments, and various modifications, corrections, alternatives, substitutions, etc. are included without departing from the spirit of the present invention.
100(1001、1002、1003、1004及び1005) 電子制御ユニット(Electronic Control Unit)
102 CPU
104 通信ドライバ
106 終端回路
1061 第1の抵抗
1062 第2の抵抗
1063 コンデンサ
200 CAN High(CANH)
300 CAN Low(CANL)
400 CAN通信線
1000 CAN通信システム
100 (100 1 , 100 2 , 100 3 , 100 4 and 100 5 ) Electronic Control Unit
102 CPU
104
300 CAN Low (CANL)
400
Claims (8)
前記終端抵抗が、第1の抵抗と、該第1の抵抗に直列に接続された第2の抵抗により構成され、
前記第1及び第2の抵抗と、前記第1の抵抗と前記第2の抵抗との間に接続され、他端が接地されたコンデンサとにより構成された終端回路と、
前記通信システムにおける通信エラーを計測する通信エラー計測手段と
を有し、
終端回路は、前記通信エラー計測手段により計測された通信エラーが通信システムの機能を満足するために必要とされる所定の閾値以上である場合に、前記コンデンサの容量を変更することを特徴とする通信装置。 A communication device in a communication system that communicates with each other via a two-wire communication line having terminal resistors connected to both ends,
The termination resistor includes a first resistor and a second resistor connected in series to the first resistor,
A termination circuit constituted by the first and second resistors, and a capacitor connected between the first resistor and the second resistor and having the other end grounded;
Communication error measuring means for measuring a communication error in the communication system,
The termination circuit changes the capacitance of the capacitor when the communication error measured by the communication error measuring unit is equal to or greater than a predetermined threshold required to satisfy the function of the communication system. Communication device.
前記終端回路は、サンプリングポイントの以前に差動電圧が発生しなくなるように前記コンデンサの容量を変更することを特徴とする通信装置。 The communication device according to claim 1,
The communication device according to claim 1, wherein the termination circuit changes a capacitance of the capacitor so that a differential voltage is not generated before a sampling point.
前記通信エラー計測手段は、所定の周期で通信エラーを計測し、
前記終端回路は、前記コンデンサの容量が変更された場合に、前記通信エラー計測手段により計測された通信エラーが前記所定の閾値未満である場合に、前記コンデンサの容量を変更前の容量に変更することを特徴とする通信装置。 The communication device according to claim 1 or 2,
The communication error measuring means measures a communication error at a predetermined cycle,
The termination circuit changes the capacitance of the capacitor to the capacitance before the change when the communication error measured by the communication error measuring means is less than the predetermined threshold when the capacitance of the capacitor is changed. A communication device.
各通信装置は、送信元を示す情報が含まれるフレームを送信し、
フレームの誤りを検出し、該フレームに含まれる送信元を示す情報に基づいて、誤ったフレームを送信した通信装置を検出する通信装置検出手段
を有することを特徴とする通信装置。 The communication device according to any one of claims 1 to 3,
Each communication device transmits a frame including information indicating the transmission source,
A communication apparatus comprising: a communication apparatus detecting unit that detects a frame error and detects a communication apparatus that has transmitted an erroneous frame based on information indicating a transmission source included in the frame.
前記通信装置検出手段により検出された通信装置を通知する通知手段
を有することを特徴とする通信装置。 The communication device according to claim 4, wherein
A communication device comprising notification means for notifying the communication device detected by the communication device detection means.
前記通信装置は、前記終端抵抗を含んで構成される第1の通信装置と、該第1の通信装置以外の第2の通信装置を有し、
前記終端抵抗が、第1の抵抗と、該第1の抵抗に直列に接続された第2の抵抗により構成され、
前記第1の通信装置は、
前記通信システムにおける通信エラーを計測する第1の通信エラー計測手段と、
前記第1及び第2の抵抗と、前記第1の抵抗と前記第2の抵抗との間に接続され、他端が接地されたコンデンサとにより構成され、前記第1の通信エラー計測手段により計測された通信エラーが通信システムの機能を満足するために必要とされる所定の閾値以上である場合に、前記コンデンサの容量を変更する終端回路と
を有し、
前記第2の通信装置は、
前記通信システムにおける通信エラーを計測する第2の通信エラー計測手段と、
前記第2の通信エラー計測手段により計測された通信エラーが通信システムの機能を満足するために必要とされる所定の閾値以上である場合に、通信を停止する制御手段と
を有することを特徴とする通信システム。 A communication system having a communication device that communicates with each other via a two-wire communication line having terminal resistors connected to both ends,
The communication device includes a first communication device configured to include the termination resistor, and a second communication device other than the first communication device,
The termination resistor includes a first resistor and a second resistor connected in series to the first resistor,
The first communication device is:
First communication error measuring means for measuring a communication error in the communication system;
The first and second resistors, and a capacitor connected between the first resistor and the second resistor and having the other end grounded, are measured by the first communication error measuring means. A termination circuit that changes the capacitance of the capacitor when the communication error is greater than or equal to a predetermined threshold required to satisfy the function of the communication system, and
The second communication device is:
Second communication error measuring means for measuring a communication error in the communication system;
Control means for stopping communication when the communication error measured by the second communication error measuring means is equal to or greater than a predetermined threshold required for satisfying the function of the communication system. Communication system.
前記終端抵抗が、第1の抵抗と、該第1の抵抗に直列に接続された第2の抵抗により構成され、
前記第1及び第2の抵抗と、前記第1の抵抗と前記第2の抵抗との間に接続され、他端が接地されたコンデンサとにより構成された終端回路と、
前記通信システムにおける通信エラーを計測する通信エラー計測手段と、
前記通信エラー計測手段により計測された通信エラーが通信システムの機能を満足するために必要とされる所定の閾値以上である場合に、前記終端回路における前記コンデンサの容量を変更する容量変更手段と
を有することを特徴とする通信システム。 A communication system having a communication device that communicates with each other via a two-wire communication line having terminal resistors connected to both ends,
The termination resistor includes a first resistor and a second resistor connected in series to the first resistor,
A termination circuit constituted by the first and second resistors, and a capacitor connected between the first resistor and the second resistor and having the other end grounded;
A communication error measuring means for measuring a communication error in the communication system;
Capacity changing means for changing the capacity of the capacitor in the termination circuit when the communication error measured by the communication error measuring means is greater than or equal to a predetermined threshold required to satisfy the function of the communication system. A communication system comprising:
前記通信装置は、前記終端抵抗を含んで構成される第1の通信装置と、該第1の通信装置以外の第2の通信装置を有し、
前記終端抵抗が、第1の抵抗と、該第1の抵抗に直列に接続された第2の抵抗により構成され、
前記第1の通信装置が、前記通信システムにおける通信エラーを計測する第1の通信エラー計測ステップと、
前記第1の通信装置が、前記第1の通信エラー計測ステップにより計測された通信エラーが通信システムの機能を満足するために必要とされる所定の閾値以上である場合に、前記第1及び第2の抵抗と、前記第1の抵抗と前記第2の抵抗との間に接続され、他端が接地されたコンデンサとにより構成され終端回路における前記コンデンサの容量を変更する容量変更ステップと、
前記第2の通信装置が、前記通信システムにおける通信エラーを計測する第2の通信エラー計測ステップと、
前記第2の通信装置が、前記第2の通信エラー計測ステップにより計測された通信エラーが通信システムの機能を満足するために必要とされる所定の閾値以上である場合に、通信を停止する通信停止ステップと
を有することを特徴とする通信方法。 A communication method in a communication system having a communication device that communicates with each other via a two-wire communication line having terminal resistors connected to both ends,
The communication device includes a first communication device configured to include the termination resistor, and a second communication device other than the first communication device,
The termination resistor includes a first resistor and a second resistor connected in series to the first resistor,
A first communication error measuring step in which the first communication device measures a communication error in the communication system;
When the communication error measured by the first communication error measurement step is equal to or greater than a predetermined threshold required for satisfying the function of the communication system, the first communication device A capacitance changing step configured to change the capacitance of the capacitor in the termination circuit, the capacitor being connected between the first resistor and the second resistor and having the other end grounded;
A second communication error measuring step in which the second communication device measures a communication error in the communication system;
Communication in which the second communication device stops communication when the communication error measured in the second communication error measurement step is equal to or greater than a predetermined threshold required to satisfy the function of the communication system. A communication method comprising: a stop step.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007284299A JP2009111911A (en) | 2007-10-31 | 2007-10-31 | Communication apparatus, communication system, and communication method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007284299A JP2009111911A (en) | 2007-10-31 | 2007-10-31 | Communication apparatus, communication system, and communication method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2009111911A true JP2009111911A (en) | 2009-05-21 |
Family
ID=40779873
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007284299A Pending JP2009111911A (en) | 2007-10-31 | 2007-10-31 | Communication apparatus, communication system, and communication method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2009111911A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011201527A (en) * | 2010-03-04 | 2011-10-13 | Denso Corp | Communication device for vehicle and communication system for vehicle |
JP2012245812A (en) * | 2011-05-25 | 2012-12-13 | Denso Corp | Communication device for vehicle |
JP2015220882A (en) * | 2014-05-19 | 2015-12-07 | 株式会社デンソー | On-vehicle control system |
US11152973B2 (en) | 2019-03-29 | 2021-10-19 | Autonetworks Technologies, Ltd. | Communication apparatus |
CN115152186A (en) * | 2020-03-09 | 2022-10-04 | 株式会社自动网络技术研究所 | Communication device |
-
2007
- 2007-10-31 JP JP2007284299A patent/JP2009111911A/en active Pending
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011201527A (en) * | 2010-03-04 | 2011-10-13 | Denso Corp | Communication device for vehicle and communication system for vehicle |
JP2012245812A (en) * | 2011-05-25 | 2012-12-13 | Denso Corp | Communication device for vehicle |
JP2015220882A (en) * | 2014-05-19 | 2015-12-07 | 株式会社デンソー | On-vehicle control system |
US9440541B2 (en) | 2014-05-19 | 2016-09-13 | Denso Corporation | In-vehicle control system |
US11152973B2 (en) | 2019-03-29 | 2021-10-19 | Autonetworks Technologies, Ltd. | Communication apparatus |
CN115152186A (en) * | 2020-03-09 | 2022-10-04 | 株式会社自动网络技术研究所 | Communication device |
CN115152186B (en) * | 2020-03-09 | 2024-04-09 | 株式会社自动网络技术研究所 | Communication device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4407752B2 (en) | FAILURE LOCATION DETECTION DEVICE, COMMUNICATION DEVICE, AND FAILURE LOCATION DETECTION METHOD | |
JP4952212B2 (en) | Communication interference prevention device, communication system node, communication system, vehicle fault diagnosis device, and in-vehicle device | |
CN105700510B (en) | The disperse errors detection method and CAN communication system of CAN communication system | |
KR101572940B1 (en) | Method and system for restoring communication disruption using gateway | |
CN107248933A (en) | A kind of method of the double main protection of rail traffic signal system | |
CN112217704A (en) | Communication between transceiver and microcontroller | |
JP2009111911A (en) | Communication apparatus, communication system, and communication method | |
CN111614531B (en) | Method, medium, and monitoring device for monitoring a LIN node | |
JP6384332B2 (en) | Electronic control unit | |
US11095475B2 (en) | Communication failure detection device | |
JP2010500838A (en) | Device for connecting an external device to a serial FlexRay data bus | |
JP4877203B2 (en) | COMMUNICATION DEVICE, COMMUNICATION SYSTEM, AND COMMUNICATION METHOD | |
JP4968169B2 (en) | Communication system and communication method | |
JP5018396B2 (en) | Communication apparatus and communication system | |
US20220393788A1 (en) | Transceiver device | |
CN115441896A (en) | Transceiver device | |
JP5212339B2 (en) | Data relay apparatus and data relay method | |
JP2018086950A (en) | Communication system | |
JP5949538B2 (en) | Relay device, communication system, and communication method | |
US11870603B2 (en) | Controller area network termination scheme | |
JP6617091B2 (en) | Electronic control unit for automobile | |
JP2023104670A (en) | Inspection apparatus and inspection method | |
KR101151214B1 (en) | Redundancy apparatus and method of sensor electronic control unit | |
KR20220144693A (en) | Controller and communication system comprising the same | |
CN116743549A (en) | Apparatus for providing a reconfiguration signal |