JP2016184791A - Communication controller and communication system - Google Patents
Communication controller and communication system Download PDFInfo
- Publication number
- JP2016184791A JP2016184791A JP2015062824A JP2015062824A JP2016184791A JP 2016184791 A JP2016184791 A JP 2016184791A JP 2015062824 A JP2015062824 A JP 2015062824A JP 2015062824 A JP2015062824 A JP 2015062824A JP 2016184791 A JP2016184791 A JP 2016184791A
- Authority
- JP
- Japan
- Prior art keywords
- communication
- network
- established
- control device
- lines
- 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
Landscapes
- Small-Scale Networks (AREA)
Abstract
Description
本発明は、一対の通信線を有する幹線と、この一対の通信線に接続してある複数の通信装置とを備え、複数の通信装置それぞれが通信を行うネットワークが複数接続され、ネットワーク間の通信を仲介する通信制御装置、及びこの通信制御装置を備える通信システムに関するものである。 The present invention includes a trunk line having a pair of communication lines and a plurality of communication apparatuses connected to the pair of communication lines, and a plurality of networks each communicating with the plurality of communication apparatuses are connected, and communication between networks And a communication system including the communication control device.
車両では、搭載された多数の電子機器が通信線を介して接続され、相互に通信し協調動作することにより、車両の走行制御及び車室内の環境制御等が実現されている。搭載された電子機器では、通信プロトコルとしてCAN(Controller Area Network)が広く採用されている。 In a vehicle, a large number of mounted electronic devices are connected via a communication line and communicate with each other to perform cooperative operation, thereby realizing vehicle travel control, vehicle interior environmental control, and the like. In mounted electronic devices, CAN (Controller Area Network) is widely adopted as a communication protocol.
一般的に、CANの通信プロトコルを採用した通信システムでは、一対の通信線がより合わされたツイストペアケーブルが用いられる。各電子機器は差動信号による通信を行っており、一対の通信線間の電位差が閾値を超えた場合にドミナントが検出され、電位差が閾値以下である場合にレセシブが検出される。 In general, in a communication system that employs a CAN communication protocol, a twisted pair cable in which a pair of communication lines are more combined is used. Each electronic device performs communication using a differential signal, and a dominant is detected when a potential difference between a pair of communication lines exceeds a threshold value, and a recessive is detected when the potential difference is equal to or less than the threshold value.
また、一般的に、CANの通信プロトコルを採用した通信システムは、バス型のネットワークトポロジーを採用しており、各電子機器は、他の電子機器と共通して通信に用いる幹線に接続している。各電子機器は、例えば、ドミナントをデータ0に対応させ、レセシブをデータ1に対応させて、データの送受信を行う。
In general, a communication system employing a CAN communication protocol employs a bus-type network topology, and each electronic device is connected to a trunk line used for communication in common with other electronic devices. . For example, each electronic device performs data transmission / reception with a dominant corresponding to
尚、通信システムでは、CANの通信プロトコルを採用していても、通信プロトコルが細部で異なる電子機器同士は、直接には通信不能である。その為、通信プロトコルが異なる電子機器を含む通信システムでは、直接通信が可能な電子機器のみでネットワークを構成して、ネットワーク間をゲートウェイ(通信制御装置)で接続しており、通信プロトコルが異なる電子機器間の通信は、ゲートウェイが仲介するように構成されている。 In the communication system, even if the CAN communication protocol is adopted, electronic devices having different communication protocols in detail cannot directly communicate with each other. For this reason, in a communication system including electronic devices with different communication protocols, a network is composed only of electronic devices that can perform direct communication, and the networks are connected by a gateway (communication control device). Communication between devices is configured such that a gateway mediates.
CANの通信プロトコルを採用したネットワークでは、電子機器が他の電子機器に送信するときに、リンギングが発生する。リンギングは、幹線からの分岐部分におけるインピーダンス不整合、及び通信装置のインピーダンス不整合等により、信号が多重反射することにより発生する。 In a network adopting a CAN communication protocol, ringing occurs when an electronic device transmits to another electronic device. Ringing is caused by multiple reflection of a signal due to impedance mismatching at a branch portion from the main line and impedance mismatching of a communication device.
また、リンギングは、通信線間のインピーダンスが小さく、通信信号波形の立上り又は立下り時間が短過ぎる(波形の立上り又は立下りが急峻)場合にも、オーバーシュート及びアンダーシュートに伴う振動として発生し、振動波形がドミナント/レセシブの閾値を超えると、影響が大きくなる。
ネットワークは、リンギングの影響が大きくなると、通信に障害が生じ、障害が大きい場合には通信不能に陥る虞がある。
Ringing also occurs as vibration associated with overshoot and undershoot even when the impedance between communication lines is small and the rise or fall time of the communication signal waveform is too short (the rise or fall of the waveform is steep). When the vibration waveform exceeds the dominant / recessive threshold, the effect increases.
If the influence of ringing becomes large in the network, a failure occurs in communication, and if the failure is large, there is a possibility that communication may become impossible.
また、近年、無線機器の小型軽量化等が進んだことにより、車両の所有者に無断で車載通信システムに不正な電子機器が接続されて、立ち寄り場所等、車両の所有者のプライバシーが侵害されたり、走行操作が妨害されることがあり、特許文献1には、このような問題を解決する為のローカルエリアネットワークが開示されている。 In recent years, as wireless devices have become smaller and lighter, unauthorized electronic devices have been connected to the in-vehicle communication system without permission from the vehicle owner, and the privacy of the vehicle owner, such as a stopover location, has been infringed. Or, the driving operation may be disturbed, and Patent Document 1 discloses a local area network for solving such a problem.
特許文献1に開示されたローカルエリアネットワークは、複数の電子制御ユニットがそれぞれ接続され、ネットワーク構成上の静電容量を、ローカルエリアネットワーク上での通信が成立する閾値近傍に増加させる静電容量増加手段が設けられている。静電容量増加手段は、例えば、ローカルエリアネットワークに対して電子制御ユニットと並列に接続されるダミー電子制御ユニットであって、インダクタとコンデンサとで構成されている。 In the local area network disclosed in Patent Document 1, a plurality of electronic control units are connected to each other, and the capacitance on the network configuration is increased in the vicinity of a threshold value at which communication on the local area network is established. Means are provided. The capacitance increasing means is, for example, a dummy electronic control unit connected to the local area network in parallel with the electronic control unit, and includes an inductor and a capacitor.
特許文献1に開示されたようなローカルエリアネットワークでは、ダミー電子制御ユニットが別途必要となって、部品コストが上昇するという問題がある。また、経常的にリンギングの許容限界で使用している為、外部からの影響により、通信不能状態に陥り易く、また、リンギングが発生し易い電子機器を狙って監視する為、車両毎に監視対象の電子機器が異なるという問題がある。
また、監視可能なECU(Electronic Control Unit)がリンギングが発生し易いECUに限定されるため、例えば、監視したいECUを一元化できないという問題がある。
In the local area network as disclosed in Patent Document 1, a dummy electronic control unit is required separately, and there is a problem that the cost of parts increases. Also, because it is normally used at the permissible limit of ringing, it is subject to monitoring for each vehicle in order to monitor electronic devices that are likely to fall into a communication impossible state due to external influences and that are likely to cause ringing. There is a problem that the electronic devices are different.
Moreover, since the ECU (Electronic Control Unit) that can be monitored is limited to an ECU that easily causes ringing, for example, there is a problem that the ECU that is to be monitored cannot be unified.
本発明は、上述したような事情に鑑みてなされたものであり、ダミーユニットが不要なので部品コストが上昇せず、監視機能を一元化できるので部品コスト及びソフトウェアコストを低減できて、通信システムに不正な電子機器が接続されていることを検知できると共に、通信システムが外部からの影響により通信不能状態に陥り難い通信制御装置を提供することを目的とする。 The present invention has been made in view of the circumstances as described above. Since no dummy unit is required, the cost of components does not increase, and the monitoring function can be unified, so that the costs of components and software can be reduced, and the communication system is illegal. An object of the present invention is to provide a communication control device that can detect that an electronic device is connected and that the communication system is unlikely to fall into a communication disabled state due to external influences.
本発明は、短縮回路を有するECUを,リンギングが大きく発生するように調整できるので、例えば、複数のバスと接続されている通信制御装置に関して機能を一元化でき、また、ダミーユニットが不要なので部品コストが上昇せず、監視機能を一元化できるので部品コスト及びソフトウェアコストを低減できて、通信システムに不正な電子機器が接続されていることを検知できると共に、外部からの影響により通信不能状態に陥り難い通信システムを提供することを目的とする。 According to the present invention, the ECU having the shortening circuit can be adjusted so that ringing greatly occurs. For example, the functions can be unified with respect to the communication control device connected to a plurality of buses. Since the monitoring function can be unified, the component cost and the software cost can be reduced, it is possible to detect that an unauthorized electronic device is connected to the communication system, and it is difficult to fall into a communication impossible state due to an external influence. An object is to provide a communication system.
本発明に係る通信制御装置は、一対の通信線を有する幹線と、該一対の通信線に接続してある複数の通信装置とを備え、該複数の通信装置それぞれが通信を行うネットワークが複数接続され、該ネットワーク間の通信を仲介する通信制御装置において、前記ネットワーク内の前記通信線上の通信信号波形の立上り又は立下り時間を、通信が成立する限度近傍まで短縮させる短縮回路と、前記ネットワーク内で通信が成立するか否かを判定する為のテスト信号を、前記通信線に所定の時期に発信する発信部と、前記ネットワーク内で該発信部がテスト信号を発信し、且つ前記短縮回路がオンであるときに、通信が成立するか否かを判定する判定部とを前記ネットワーク毎に備えることを特徴とする。 A communication control apparatus according to the present invention includes a trunk line having a pair of communication lines and a plurality of communication apparatuses connected to the pair of communication lines, and a plurality of networks each communicating with the plurality of communication apparatuses are connected. In the communication control device that mediates communication between the networks, a shortening circuit that shortens the rise or fall time of the communication signal waveform on the communication line in the network to the vicinity of the limit at which communication is established; A transmitter for transmitting a test signal for determining whether or not communication is established at a predetermined time to the communication line, the transmitter transmits a test signal in the network, and the shortening circuit Each of the networks includes a determination unit that determines whether or not communication is established when it is on.
この通信制御装置では、一対の通信線を有する幹線と、一対の通信線に接続してある複数の通信装置とを備え、複数の通信装置それぞれが通信を行うネットワークが複数接続され、ネットワーク間の通信を仲介する。ネットワーク毎の短縮回路が、ネットワーク内の通信線上の通信信号波形の立上り又は立下り時間を、通信が成立する限度近傍まで短縮させ、ネットワーク毎の発信部が、ネットワーク内で通信が成立するか否かを判定する為のテスト信号を、通信線に所定の時期に発信する。ネットワーク毎の判定部は、ネットワーク内で発信部がテスト信号を発信し、且つ短縮回路がオンであるときに、通信が成立するか否かを判定する。 The communication control device includes a trunk line having a pair of communication lines, and a plurality of communication devices connected to the pair of communication lines, and a plurality of networks each communicating with the plurality of communication devices are connected to each other. Mediate communication. The shortening circuit for each network shortens the rise or fall time of the communication signal waveform on the communication line in the network to near the limit where communication is established, and whether the transmission unit for each network establishes communication within the network. A test signal for determining whether or not is transmitted to the communication line at a predetermined time. The determination unit for each network determines whether or not communication is established when the transmission unit transmits a test signal in the network and the shortening circuit is on.
本発明に係る通信制御装置は、前記発信部は、前記幹線における非通信時にテスト信号を発信するように構成してあることを特徴とする。 The communication control apparatus according to the present invention is characterized in that the transmitting unit is configured to transmit a test signal during non-communication on the trunk line.
本発明に係る通信制御装置は、前記判定部が、通信が成立しないと判定したときは、当該ネットワーク内での通信が不能であることを表示する表示部を更に備え、前記短縮回路は、前記立上り又は立下り時間を段階的に変更するように構成してあることを特徴とする。 The communication control device according to the present invention further includes a display unit that displays that communication within the network is impossible when the determination unit determines that communication is not established, and the shortening circuit includes The rising or falling time is changed stepwise.
この通信制御装置では、判定部が、通信が成立しないと判定したときは、表示部が、当該ネットワーク内での通信が不能であることを表示する。短縮回路は、ネットワーク内の通信線上の通信信号波形の立上り又は立下り時間を段階的に変更する。 In this communication control device, when the determination unit determines that communication is not established, the display unit displays that communication within the network is not possible. The shortening circuit changes the rising or falling time of the communication signal waveform on the communication line in the network in stages.
本発明に係る通信制御装置は、前記ネットワークの組込みが完了した後に、前記発信部がテスト信号を発信し、前記短縮回路が前記立上り又は立下り時間を段階的に変更する都度、前記判定部が通信が成立するか否かを判定することにより、前記ネットワークの前記限度近傍の立上り又は立下り時間を定めるように構成してあることを特徴とする。 In the communication control device according to the present invention, after the network integration is completed, each time the transmission unit transmits a test signal, and the shortening circuit changes the rising or falling time stepwise, the determination unit By determining whether or not communication is established, a rise or fall time in the vicinity of the limit of the network is determined.
この通信制御装置では、ネットワークの組込みが完了した後に、発信部がテスト信号を発信し、短縮回路が通信信号波形の立上り又は立下り時間を段階的に変更する都度、判定部が通信が成立するか否かを判定することにより、ネットワークの通信が成立する限度近傍の立上り又は立下り時間を定める。本工程は、車両のネットワークが確定された際に、最初に短縮回路の条件出しを完了していれば、量産車両時には、事前に条件出しした1つの定数の回路を使用することも可能である。 In this communication control device, after the network integration is completed, each time the transmitter transmits a test signal, and the shortening circuit changes the rising or falling time of the communication signal waveform step by step, the determination unit establishes communication. By determining whether or not, the rise or fall time near the limit at which network communication is established is determined. In this process, if the conditions for the shortened circuit are first determined when the vehicle network is determined, it is possible to use one constant circuit that has been previously determined for mass production vehicles. .
本発明に係る通信システムは、本発明に係る通信制御装置と、該通信制御装置に接続された複数のネットワークとを備えることを特徴とする。 A communication system according to the present invention includes the communication control device according to the present invention and a plurality of networks connected to the communication control device.
本発明に係る通信制御装置によれば、短縮回路を持つECUを,リンギングが大きく発生するように調整できるので、例えば、複数のバスと接続されている通信制御装置に関して機能を一元化でき、また、ダミーユニットが不要なので部品コストが上昇せず、監視機能を一元化できるので部品コスト及びソフトウェアコストを低減できて、通信システムに不正な電子機器が接続されていることを検知できると共に、通信システムが外部からの影響により通信不能状態に陥り難い通信制御装置を実現することができる。 According to the communication control device according to the present invention, the ECU having the shortening circuit can be adjusted so that ringing is greatly generated, for example, functions can be unified with respect to the communication control device connected to a plurality of buses, Since no dummy unit is required, the parts cost does not increase, and the monitoring function can be unified, so the part cost and software cost can be reduced, and it is possible to detect that unauthorized electronic devices are connected to the communication system, and the communication system is external. Therefore, it is possible to realize a communication control apparatus that is unlikely to fall into a communication disabled state due to the influence of the above.
本発明に係る通信システムによれば、短縮回路を持つECUを,リンギングが大きく発生するように調整できるので、例えば、複数のバスと接続されている通信制御装置に関して機能を一元化でき、また、ダミーユニットが不要なので部品コストが上昇せず、監視機能を一元化できるので部品コスト及びソフトウェアコストを低減できて、通信システムに不正な電子機器が接続されていることを検知できると共に、外部からの影響により通信不能状態に陥り難い通信システムを実現することができる。 According to the communication system according to the present invention, an ECU having a shortening circuit can be adjusted so that ringing is greatly generated. For example, functions can be unified with respect to communication control devices connected to a plurality of buses. Since no unit is required, the cost of parts does not increase, and the monitoring function can be unified, so that the cost of parts and software can be reduced, and it is possible to detect that unauthorized electronic devices are connected to the communication system. A communication system that does not easily fall into a communication disabled state can be realized.
以下に、本発明をその実施の形態を示す図面に基づき説明する。 Hereinafter, the present invention will be described with reference to the drawings illustrating embodiments thereof.
図1は、本発明に係る通信制御装置及び通信システムの実施の形態であるゲートウェイ及び通信システムの概略構成を示すブロック図である。
この通信システムは、車両に搭載される多数のECU(Electronic Control Unit)1a〜1h及び終端ECU2a〜2dと、これらのECU1a〜1h及び終端ECU2a〜2dでそれぞれ構成される3つのネットワークの各幹線3a,3b,3cが接続されたゲートウェイ(通信制御装置)5とを備えている。
FIG. 1 is a block diagram showing a schematic configuration of a gateway and a communication system which are embodiments of a communication control apparatus and a communication system according to the present invention.
This communication system includes a large number of ECUs (Electronic Control Units) 1a to 1h and end
終端ECU2aは、一対の通信線を有する幹線3aの一端部と接続され、終端ECU2bは、幹線3aの他端部と接続されている。
ECU1aは、幹線3aから分岐した支線4aに接続され、ECU1bは、幹線3aから分岐した支線4bに接続され、ECU1cは、幹線3aから分岐した支線4cに接続されている。ゲートウェイ5は、幹線3aから分岐した支線4iに接続されている。
支線4a,4b,4c,4iは、一対の通信線を有して構成されている。
The
The ECU 1a is connected to a
The
終端ECU2cは、一対の通信線を有する幹線3bの他端部と接続されている。
ECU1dは、幹線3bから分岐した支線4dに接続され、ECU1eは、幹線3bから分岐した支線4eに接続されている。ゲートウェイ5には、幹線3bの一端部が接続されている。
支線4d,4eは、一対の通信線を有して構成されている。
The
The
The
終端ECU2dは、一対の通信線を有する幹線3cの他端部と接続されている。
ECU1fは、幹線3cから分岐した支線4fに接続され、ECU1gは、幹線3cから分岐した支線4gに接続され、ECU1hは、幹線3cから分岐した支線4hに接続されている。ゲートウェイ5には、幹線3cの一端部が接続されている。
支線4f,4g、4hは、一対の通信線を有して構成されている。
ここで、幹線3a〜3c及び支線4a〜4iは、CAN(Controller Area Network)バスが有する特性インピーダンスを有するツイストペアケーブルである。
The
The
The
Here, the
図2は、ゲートウェイ5の構成例を示すブロック図である。
このゲートウェイ5は、マイクロコンピュータにより構成され、バス19により相互接続された制御部11、ROM(Read Only Memory)12、RAM(Random Access Memory)13、入力部14、出力部15、ドライバ16a,16b,16c、短縮回路22a,22b,22c、接続回路23a,23b,23c、及び駆動回路24等を備えている。
制御部11は、CPU(Central Processing Unit)又はMPU(Micro Processing Unit)等の演算処理装置を用いて構成されており、ROM12に記憶された制御プログラムを読み出して実行することにより,種々の制御処理を行う。
FIG. 2 is a block diagram illustrating a configuration example of the
The
The
ROM12は、例えばEEPROM(Electrically Erasable Programmable ROM)又はフラッシュメモリ等の不揮発性のメモリ素子で構成されており、制御部11にて実行される制御プログラム及び制御部11が行う処理に必要な情報等が予め記憶されている。RAM13は、例えばSRAM(Static RAM)又はDRAM(Dynamic RAM)等のメモリ素子で構成されており、制御部11の処理に伴って作成された情報、及び他のECUとの間で送受信する情報等が記憶される。
The
入力部14は、例えば、車両内に配置された操作用のスイッチ等の入力装置からの信号が入力され、入力信号のサンプリング又はA/D変換等の処理を行って得られた情報を制御部11へ与える。出力部15は、例えば、表示器18等が接続され、制御部11からの指示に応じて表示信号を出力する。
The
ドライバ16a,16b,16cは、CANプロトコルが異なるネットワークに接続されたECU1a〜1h、終端ECU2a〜2d間の通信を仲介する為に送受信するものであり、それぞれ接続回路23a,23b,23cを通じて支線4i,幹線3b、3cと接続している。ドライバ16a,16b,16cは、制御部11から与えられた送信情報を、それぞれ送信先のネットワークのCANプロトコルに応じた送信用のデータ(フレーム)に変換して、送信部20a,20b,20cへ与える。
送信部20a,20b,20cは、それぞれ与えられた送信データの各ビットの値(0(ドミナント)又は1(レセシブ))に応じて、支線4i,幹線3b、3cへ信号を出力する。
The
The
送信部20a,20b,20cは、それぞれ接続回路23a,23b,23cを介して接続する支線4i,幹線3b、3cに差動信号を出力する。送信部20a,20b,20cは、ドミナントの信号を送信するときは、支線4i,幹線3b、3cが有する一対の通信線間の電位差が2Vとなる差動信号を出力し、レセシブの信号を送信するときは、当該電位差が0Vとなる差動信号を出力する。
The
また、ドライバ16a,16b,16cは、支線4i,幹線3b、3cの信号レベルを検知することによって、支線4i,幹線3b、3c上に送信された信号が、ドミナント又はレセシブの何れに対応する信号であるかを判定する受信部21a,21b,21cを有している。受信部21a,21b,21cは、各ビットがドミナント又はレセシブで表されるデータの受信を、それぞれの受信先のネットワークのCANプロトコルに応じて行う。支線4i,幹線3b、3cの信号レベルとは、支線4i,幹線3b、3cが有する一対の通信線間の電位差である。ドライバ16a,16b,16cは、それぞれ受信部21a,21b,21cにて受信したデータを制御部11へ与える。
The
接続回路23a,23b,23cは、それぞれ支線4i,幹線3b、3cに介装され、支線4i,幹線3b、3cからドライバ16a,16b,16cに入力される信号による反射波を抑制するように構成されている。
ドライバ16a,16b,16cには、通信線上の信号波形の立上り又は立下り時間を、通信が成立する限度近傍まで短縮させる短縮回路22a,22b,22cが接続されている。尚、ここでは、ドライバ16a,16b,16cには、波形の立下り立ち上がりを制御する為の端子を有するドライバ、例えば、NXP製PC82C250、TI製sn65hdv230、AD製ADM3051等の何れかを使用し、その端子と短縮回路22a,22b,22cとを接続している。
The
The
図3は、短縮回路22(22a,22b,22c)の構成例を示す回路図である。
短縮回路22は、それぞれドライバ16(16a,16b,16c)のRs端子及び接地端子間を並列接続する為の抵抗R1,R2,R3と、抵抗R1をRs端子及び接地端子間に接続するスイッチS1と、抵抗R2を抵抗R1に並列接続するスイッチS2と、抵抗R3を抵抗R1、R2に並列接続するスイッチS3とを備えている。スイッチS1,S2,S3は、それぞれ駆動回路24によりオン/オフ制御される。
FIG. 3 is a circuit diagram showing a configuration example of the shortening circuit 22 (22a, 22b, 22c).
The shortening
通信線上の信号波形の立上り又は立下り時間は、通信線間のインピーダンスの大小に従って長短となり、短くなると、オーバーシュート及びアンダーシュートに伴う振動によるリンギングが大きくなる。
ここで、例えば、図1に示すように、不正な無線機器(又は電子機器)6が幹線3bに接続された場合、通信線間のインピーダンスは小さくなる。
The rise or fall time of the signal waveform on the communication line becomes longer and shorter according to the magnitude of the impedance between the communication lines, and when it becomes shorter, ringing due to vibration accompanying overshoot and undershoot increases.
Here, for example, as shown in FIG. 1, when an unauthorized wireless device (or electronic device) 6 is connected to the
そこで、短縮回路22a,22b,22cにより、通信線上の信号波形の立上り又は下り時間を、通信が成立する限度近傍まで短縮させておけば、不正な無線機器6が幹線3bに接続されると、接続されたネットワーク(幹線3b)のリンギングが大きくなって通信不能となり、不正な無線機器6が接続されたと推定することができる。
つまり、これ以上、電子機器が通信線に接続されると、リンギングの波形が0/1信号の閾値に達して通信不能となるように、信号波形の立上り又は下り時間を短縮させておく。
Therefore, if the
In other words, when the electronic device is further connected to the communication line, the rising or falling time of the signal waveform is shortened so that the ringing waveform reaches the 0/1 signal threshold and communication becomes impossible.
例えば、スイッチS1をオンにすると、抵抗R1がドライバ16に並列接続されるが、通信線間のインピーダンスが未だ大きければ、図4Aの波形図に示すように、リンギングの波形は小さい。
スイッチS2を更にオンにすると、抵抗R1,R2がドライバ16に並列接続されるが、通信線間のインピーダンスが更に小さくなり、図4Bの波形図に示すように、リンギングの波形は、信号の閾値近傍まで大きくなる。
For example, when the switch S1 is turned on, the resistor R1 is connected in parallel to the
When the switch S2 is further turned on, the resistors R1 and R2 are connected in parallel to the
スイッチS3を更にオンにすると、抵抗R1,R2,R3がドライバ16に並列接続され、通信線間のインピーダンスが更に小さくなり、図4Cの波形図に示すように、リンギングの波形は、信号の閾値に達して、通信不能状態になる。
この場合、スイッチS3をオフに戻すと、抵抗R1,R2がドライバ16に並列接続され、通信線間のインピーダンスが少し大きくなり、図4Bの波形図に示すように、リンギングの波形は、信号の閾値より少し小さい状態に戻る。
When the switch S3 is further turned on, the resistors R1, R2, and R3 are connected in parallel to the
In this case, when the switch S3 is turned off, the resistors R1 and R2 are connected in parallel to the
従って、スイッチS1,S2をオンにしたときに、通信が成立すれば、不正な無線機器6が接続されていないと推定することができ、通信が成立しなければ、不正な無線機器6が接続されていると推定することができる。
よって、通信時には、スイッチS1,S2,S3をオフにしておき、所定の時期、例えば、車両のエンジンが始動したとき等に、スイッチS1,S2をオンにし、送信部20(20a,20b,20c)からテスト信号を出力して、受信部21(21a,21b,21c)がそのテスト信号を通信が成立する程度に受信可能か否かを判定するようにすれば良い。
Therefore, if communication is established when the switches S1 and S2 are turned on, it can be estimated that the unauthorized wireless device 6 is not connected. If communication is not established, the unauthorized wireless device 6 is connected. Can be estimated.
Therefore, at the time of communication, the switches S1, S2, and S3 are turned off, and the switches S1 and S2 are turned on at a predetermined time, for example, when the vehicle engine is started, and the transmission unit 20 (20a, 20b, 20c). ) To output a test signal so that the receiving unit 21 (21a, 21b, 21c) determines whether or not the test signal can be received to the extent that communication is established.
以下に、このような構成のECUの短縮回路22a,22b,22cを設定する手順を、それを示す図5のフローチャートを参照しながら説明する。
ゲートウェイ5は、車両への組込みが完了してネットワークが構成され、ネットワークに接続されると(S1)、送信部(発信部)20からのテスト信号発信を開始する(S3)。次いで、ゲートウェイ5は、ドライバ16にスイッチS1をオン(接続)にさせ(S5)、受信部(判定部)21に、テスト信号を通信が成立する程度に受信可能か(通信が成立するか)否かを判定させる(S7)。
Hereinafter, a procedure for setting the
When the
ゲートウェイ5は、受信部21が、通信が成立すると判定したときは(S7)、ドライバ16にスイッチS2をオン(接続)にさせ(S9)、受信部21に通信が成立するか否かを判定させる(S11)。
ゲートウェイ5は、受信部21が、通信が成立すると判定したときは(S11)、ドライバ16にスイッチS3をオン(接続)にさせ(S13)、受信部21に通信が成立するか否かを判定させる(S15)。
When the
When the
ゲートウェイ5は、受信部21が、通信が成立すると判定したときは(S15)、成立すると判定したときのスイッチS1,S2,S3の接続状態を、RAM13又はROM12に記憶させる(S17)。尚、スイッチS1,S2,S3が接続されていれば、通信線間のインピーダンスは十分小さく、通信信号波形の立上り又は立下り時間が、通信が成立する限度近傍に達しているとすることができる。
次いで、ゲートウェイ5は、ドライバ16にスイッチS1,S2,S3の接続状態を解除させ(S19)、送信部20からのテスト信号発信を停止して終了する(S21)。
When the
Next, the
ゲートウェイ5は、受信部21が、通信が成立しないと判定したときは(S7)、ドライバ16にスイッチS1をオフ(接続解除)にさせ(S23)、スイッチS1をオフ(接続解除)にさせた後のスイッチS1,S2,S3の接続状態を、RAM13又はROM12に記憶させる(S17)。
ゲートウェイ5は、受信部21が、通信が成立しないと判定したときは(S11)、ドライバ16にスイッチS2をオフ(接続解除)にさせ(S25)、スイッチS2をオフ(接続解除)にさせた後の当該ネットワークのスイッチS1,S2,S3の接続状態を、RAM13又はROM12に記憶させる(S17)。
When the
When the
ECUは、受信部21が、通信が成立しないと判定したときは(S15)、ドライバ16にスイッチS3をオフ(接続解除)にさせ(S27)、スイッチS3をオフ(接続解除)にさせた後の当該ネットワークのスイッチS1,S2,S3の接続状態を、RAM13又はROM12に記憶させる(S17)。
When the
以下に、このようなゲートウェイ5の動作を、それを示す図6のフローチャートを参照しながら説明する。
ゲートウェイ5は、通信システム内で通信が行われておらず、且つ車両のエンジンが始動される等、通信システムに不正な電子機器が接続されているか否かの判定を開始する為の条件が成立すると(S31)、予め定められている順番に従って、1番目のネットワークを選択する(S33)。次いで、ゲートウェイ5は、RAM13又はROM12に記憶させている当該ネットワークのスイッチS1,S2,S3の接続状態を読出す(S35)。
The operation of the
The
ゲートウェイ5は、次に、読出した接続状態に従って、スイッチS1,S2,S3をオン(接続)にし(S37)、当該ネットワークへの送信部20からのテスト信号発信を開始する(S39)。尚、この際、スイッチS1,S2,S3が全てオフであることもあり得る(S37)。
次いで、ゲートウェイ5は、受信部21に、テスト信号を通信が成立する程度に受信可能か(通信が成立するか)否かを判定させる(S41)。
Next, the
Next, the
ゲートウェイ5は、受信部21が、通信が成立すると判定したときは(S41)、ドライバ16にスイッチS1,S2,S3の接続状態を解除させ(S43)、送信部20からのテスト信号発信を停止する(S45)。次いで、ゲートウェイ5は、全ネットワークについて、不正な電子機器が接続されているか否かの判定が終了していれば(S47)、判定を終了する。
When the
ゲートウェイ5は、全ネットワークについて、不正な電子機器が接続されているか否かの判定が終了していなければ(S47)、次の順番のネットワークを選択する(S33)。
ゲートウェイ5は、受信部21が、通信が成立しないと判定したときは(S41)、表示器(表示部)18に当該ネットワークが通信不能であることを表示させ(S49)、判定を終了する。
The
When the
尚、上述したようなECUの短縮回路22(22a,22b,22c)を設定する手順(図5)により、通信線上の信号波形の立上り又は下り時間を、通信が成立する限度近傍まで短縮させる短縮回路22の接続状態が設定されれば、量産時には、短縮回路22を図7に示すように単純化し、部品コストを低減することができる。
この単純化した短縮回路22dは、ドライバ16のRs端子及び接地端子間を接続する抵抗R4と、抵抗R4に並列接続する為の抵抗R5と、抵抗R5を抵抗R4に並列接続するスイッチS4とを備えている。スイッチS4は、駆動回路24によりオン/オフ制御される。尚、設定された接続状態によっては、抵抗R4が不要の場合もある。
It should be noted that the procedure for setting the ECU shortening circuit 22 (22a, 22b, 22c) as described above (FIG. 5) shortens the rise or fall time of the signal waveform on the communication line to near the limit at which communication is established. If the connection state of the
The
今回開示された実施の形態は全ての点で例示であって、制限的なものではないと考えられるべきである。本発明の範囲は、上記した意味ではなく、特許請求の範囲によって示され、特許請求の範囲と均等の意味及び範囲内での全ての変更が含まれることが意図される。 The embodiments disclosed herein are illustrative in all respects and should not be considered as restrictive. The scope of the present invention is defined not by the above-mentioned meaning but by the scope of claims for patent, and is intended to include all modifications within the scope and meaning equivalent to the scope of claims for patent.
1a〜1h ECU(通信装置)
2a〜2d 終端ECU(通信装置)
3,3a〜3c 幹線
4a〜4i 支線
5 ゲートウェイ(通信制御装置)
6 不正な無線機器(電子機器)
16,16a〜16c ドライバ
18 表示器(表示部)
19 バス
20,20a〜20c 送信部(発信部)
21,21a〜21c 受信部(判定部)
22,22a〜22d 短縮回路
23,23a〜23c 接続回路
R1,R2,R3,R4,R5 抵抗
S1,S2,S3,S4 スイッチ
1a to 1h ECU (communication device)
2a to 2d End ECU (communication device)
3, 3a-3c
6 Unauthorized wireless devices (electronic devices)
16, 16a to
19
21, 21a-21c Receiving part (determination part)
22, 22a-
Claims (5)
前記ネットワーク内の前記通信線上の通信信号波形の立上り又は立下り時間を、通信が成立する限度近傍まで短縮させる短縮回路と、
前記ネットワーク内で通信が成立するか否かを判定する為のテスト信号を、前記通信線に所定の時期に発信する発信部と、
前記ネットワーク内で該発信部がテスト信号を発信し、且つ前記短縮回路がオンであるときに、通信が成立するか否かを判定する判定部と
を前記ネットワーク毎に備えることを特徴とする通信制御装置。 A trunk line having a pair of communication lines; and a plurality of communication devices connected to the pair of communication lines, wherein a plurality of networks each communicating with the plurality of communication devices are connected, and communication between the networks is mediated In the communication control device
A shortening circuit that shortens the rise or fall time of a communication signal waveform on the communication line in the network to near the limit at which communication is established;
A transmitter for transmitting a test signal for determining whether or not communication is established in the network to the communication line at a predetermined time;
A communication unit comprising: a determination unit that determines whether communication is established when the transmission unit transmits a test signal in the network and the shortening circuit is on, for each network. Control device.
前記短縮回路は、前記立上り又は立下り時間を段階的に変更するように構成してある請求項1又は2に記載の通信制御装置。 When the determination unit determines that communication is not established, the determination unit further includes a display unit that displays that communication within the network is impossible,
The communication control device according to claim 1, wherein the shortening circuit is configured to change the rising or falling time stepwise.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2015062824A JP2016184791A (en) | 2015-03-25 | 2015-03-25 | Communication controller and communication system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2015062824A JP2016184791A (en) | 2015-03-25 | 2015-03-25 | Communication controller and communication system |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2016184791A true JP2016184791A (en) | 2016-10-20 |
Family
ID=57243107
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2015062824A Pending JP2016184791A (en) | 2015-03-25 | 2015-03-25 | Communication controller and communication system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2016184791A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2019193208A (en) * | 2018-04-27 | 2019-10-31 | 株式会社Soken | Electronic control device |
-
2015
- 2015-03-25 JP JP2015062824A patent/JP2016184791A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2019193208A (en) * | 2018-04-27 | 2019-10-31 | 株式会社Soken | Electronic control device |
JP7040993B2 (en) | 2018-04-27 | 2022-03-23 | 株式会社Soken | Electronic control device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5741480B2 (en) | Communication system, relay device, and power supply control method | |
JP4974706B2 (en) | In-vehicle communication device and in-vehicle communication system | |
US9491197B2 (en) | Connection detection apparatus and in-vehicle relay apparatus | |
JP7083888B2 (en) | Methods for operating sensor devices in automated vehicles based on the DSI protocol | |
US11063968B2 (en) | Communication system, communication device, relay device, communication integrated circuit (IC), control IC, and communication method | |
JP6471739B2 (en) | In-vehicle communication system | |
JP5935543B2 (en) | Communications system | |
JP2018078396A (en) | On-vehicle network system | |
KR20150144623A (en) | Method and system for updating software for vehicle using smart phone | |
CN112165438A (en) | Vehicle communication method and communication system | |
US9633484B2 (en) | Vehicle device installation system | |
JP2007336267A (en) | In-vehicle communication system | |
JP2011151622A (en) | Communication system, communication device, and communication method | |
JP2015053633A (en) | Communication system | |
JP2016184791A (en) | Communication controller and communication system | |
KR101585856B1 (en) | Method and Apparatus for UART and CAN Communication in Vehicle with the Same CAN Transceiver | |
CN111007839A (en) | Vehicle remote diagnosis method, device, system and storage medium | |
JP5821732B2 (en) | Gateway device | |
JP2016123054A (en) | Communication system, communication device and communication method | |
KR101603546B1 (en) | Method and apparatus for providing vehicle communication network | |
JP2016178442A (en) | Communication device and communication system | |
JP6950516B2 (en) | Relay device | |
WO2016084647A1 (en) | Communication system | |
JP3084858B2 (en) | Signal abnormality detection device for in-vehicle network | |
JP2007329671A (en) | Disconnection detecting method for connection line of communication system |