JP2012028865A - Node - Google Patents

Node Download PDF

Info

Publication number
JP2012028865A
JP2012028865A JP2010163097A JP2010163097A JP2012028865A JP 2012028865 A JP2012028865 A JP 2012028865A JP 2010163097 A JP2010163097 A JP 2010163097A JP 2010163097 A JP2010163097 A JP 2010163097A JP 2012028865 A JP2012028865 A JP 2012028865A
Authority
JP
Japan
Prior art keywords
transceiver
signal
communication
communication path
differential signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2010163097A
Other languages
Japanese (ja)
Other versions
JP5565161B2 (en
Inventor
Tomoko Kodama
朋子 児玉
Tomohisa Kishigami
友久 岸上
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Denso Corp
Original Assignee
Denso Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Denso Corp filed Critical Denso Corp
Priority to JP2010163097A priority Critical patent/JP5565161B2/en
Publication of JP2012028865A publication Critical patent/JP2012028865A/en
Application granted granted Critical
Publication of JP5565161B2 publication Critical patent/JP5565161B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Dc Digital Transmission (AREA)
  • Small-Scale Networks (AREA)
  • Cable Transmission Systems, Equalization Of Radio And Reduction Of Echo (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a node which has simple structure and is capable of communication between nodes in a normal mode without activating a node in a sleep mode, and capable of quickly activating a node in the sleep mode as necessary.SOLUTION: Each ECU 10 comprises a first transceiver 12 used for communication between its own ECU 10 and another ECU 10 and, in addition, a second transceiver 13 for transmitting and receiving a differential signal having reversed polarity on a communication path LN relative to a differential signal having normal polarity used for its communication. An ECU 10 uses the second transceiver 13 to transmit and receive an activation signal to transition an operation mode from a sleep mode to a normal mode. In addition, if dominants of a differential signal of the normal polarity and a differential signal of the reversed polarity collide with each other, the dominant of the normal polarity is dominant. This makes it possible to transmit the activation signal at any timing without affecting communication between an ECU 10 in the normal mode and an ECU 10 in the normal mode.

Description

本発明は、 一対のバスで構成された通信路を有し差動信号を用いて通信を行う通信システムを構成するノードに関する。   The present invention relates to a node constituting a communication system having a communication path composed of a pair of buses and performing communication using differential signals.

従来、一対のバスで構成された通信路の伝送信号として差動信号を用いる通信システムの一つとして、CAN(Controller Area Network)規格の通信システムが知られている(例えば特許文献1参照)。   2. Description of the Related Art Conventionally, a CAN (Controller Area Network) standard communication system is known as one of communication systems that use a differential signal as a transmission signal of a communication path composed of a pair of buses (see, for example, Patent Document 1).

CAN規格(ISO11898−1)では、通信路上の信号レベルとして、ドミナント(優性)とリセッシブ(劣性)とがあり、例えば、差動信号が予め規定された閾値(例えば0.9V)以上の場合を、ドミナント、閾値未満をリセッシブと認識する。そして、いずれか一つのノードでもドミナントの信号を出力した場合には、通信路上の信号レベルはドミナントとなるようにされている。   In the CAN standard (ISO11898-1), there are dominant (dominant) and recessive (inferior) signal levels on a communication path. For example, a case where a differential signal is equal to or higher than a predetermined threshold (for example, 0.9 V). , Dominant and less than threshold are recognized as recessive. When any one node outputs a dominant signal, the signal level on the communication path is set to be dominant.

また、CAN規格では、省電力のために通信機能を停止させる動作モードであるスリープモードについて規定されており、スリープモードにあるノードは、通信路上でドミナントを検出するとウェイクアップするように規定されている。   Further, the CAN standard defines a sleep mode that is an operation mode for stopping a communication function for power saving, and a node in the sleep mode is defined to wake up when a dominant is detected on a communication path. Yes.

特開2008−131514号公報JP 2008-131514 A

ところで、このようなCAN規格の通信システムでは、スリープモードにあるノード(以下、休止ノードという)がある場合に、休止ノードをスリープ状態にしたまま、通常時の動作モードである通常モードにあるノード(以下、起動ノードという)同士でだけで通信を行うという使い方をすることができないという問題があった。   By the way, in such a CAN standard communication system, when there is a node in the sleep mode (hereinafter referred to as a dormant node), the node in the normal mode that is the normal operation mode while the dormant node is in the sleep state. There is a problem that it is not possible to use the communication only with each other (hereinafter referred to as an activation node).

即ち、通信を行うということは、通信路上にドミナントが現れることを意味するため、起動ノード同士が通信を行うと、休止ノードが起動してしまうのである。
なお、休止ノードが通信路の信号レベルを無視するようにノードを構成すれば、休止ノードをスリープ状態にしたまま、起動ノード同士で通信を行うことが可能となる。
That is, performing communication means that a dominant appears on the communication path, so that when the activation nodes communicate with each other, the dormant node is activated.
If the node is configured such that the idle node ignores the signal level of the communication path, it is possible to perform communication between the activation nodes while the idle node is in the sleep state.

しかし、この場合、休止ノードをウェイクアップ(起動)させるためには、ノード全体を再起動するか、或いは、通信路とは別に、ウェイクアップのための信号を伝送する手段を設けなければならず、前者の場合、起動に長い時間を要することになるため、リアルタイムな処理を要求されるシステムに適用できないという問題があり、後者の場合、システム構成が複雑化するという問題があった。   However, in this case, in order to wake up (activate) the dormant node, it is necessary to either restart the entire node or provide a means for transmitting a wake-up signal separately from the communication path. In the former case, since it takes a long time to start, there is a problem that it cannot be applied to a system that requires real-time processing, and in the latter case, there is a problem that the system configuration becomes complicated.

本発明は、上記問題点を解決するために、簡易な構成にて、スリープモードのノードを起動することなく通常モードのノード間の通信を可能とし、スリープモードのノードを必要に応じて速やかに起動可能なノードを提供することを目的とする。   In order to solve the above problems, the present invention enables communication between nodes in the normal mode without activating the node in the sleep mode with a simple configuration, and promptly connects the node in the sleep mode as necessary. The object is to provide a bootable node.

本発明のノードは、一対のバスで構成された通信路を有し、該通信路に接続されたノード間の通信に差動信号を用いる通信システムにおいて使用されるものであり、通信路を介した通信を実行可能な動作モードである通常モードの時に、通信を停止して低消費電力状態にするスリープモードへの移行要求が発生すると、動作モードが通常モードからスリープモードに移行し、動作モードがスリープモードの時に、通信路に、通信に用いる極性である通常極性とは逆極性の差動信号が送出されると、動作モードがスリープモードから通常モードに復帰する。   The node of the present invention has a communication path composed of a pair of buses, and is used in a communication system using a differential signal for communication between nodes connected to the communication path. In normal mode, which is the operation mode that can perform the communication, if a request to shift to sleep mode that stops communication and puts it into a low power consumption state occurs, the operation mode changes from normal mode to sleep mode, and the operation mode When a differential signal having a polarity opposite to the normal polarity that is used for communication is sent to the communication path in the sleep mode, the operation mode returns from the sleep mode to the normal mode.

また、本発明のノードは、通信路を介して通常極性の差動信号を送受信する第1トランシーバと、通信路を介して前記通常極性とは逆極性の差動信号を送受信する第2トランシーバと、動作モードがスリープモードの時に、第1トランシーバの機能を無効化する無効化手段とを備え、差動信号を入出力するために設けられた第2トランシーバの入出力端子は、該第2トランシーバが送信する差動信号が、通信路上で通常極性の差動信号と衝突した場合に、通常極性の差動信号を優位にするための抵抗器を介して通信路に接続されている。   The node of the present invention includes a first transceiver that transmits and receives a differential signal having a normal polarity via a communication path, and a second transceiver that transmits and receives a differential signal having a polarity opposite to the normal polarity via the communication path. And an invalidating means for invalidating the function of the first transceiver when the operation mode is the sleep mode, and an input / output terminal of a second transceiver provided for inputting / outputting a differential signal is provided in the second transceiver When the differential signal transmitted by the signal collides with the differential signal of the normal polarity on the communication path, the differential signal is connected to the communication path via a resistor for making the differential signal of the normal polarity dominant.

ここで、差動信号の極性とは、通信路を構成する一対のバスのうち、一方のバスの信号レベルを基準レベルとした時に、差動信号の信号レベルが、基準レベルに対して正(正極性)となるか負(負極性)となるかを意味するものである。   Here, the polarity of the differential signal means that the signal level of the differential signal is positive with respect to the reference level when the signal level of one of the pair of buses constituting the communication path is the reference level ( It means whether it becomes positive (negative polarity) or negative (negative polarity).

このように構成された本発明のノードでは、動作モードが通常モードの時には、第1トランシーバを用いて他ノードとの通信を行う。また、スリープモードにある他ノードを起動する必要がある場合は、第2トランシーバを用いて信号(起動信号)を送信する。   In the node of the present invention configured as described above, when the operation mode is the normal mode, communication with other nodes is performed using the first transceiver. When it is necessary to activate another node in the sleep mode, a signal (activation signal) is transmitted using the second transceiver.

一方、動作モードがスリープモードの時は、無効化手段によって第1トランシーバの機能が無効化されるため、通常モードにある他のノード同士の通信を受信してしまうことがなく、第2トランシーバが起動信号を受信することによって通常モードに復帰する。   On the other hand, when the operation mode is the sleep mode, the function of the first transceiver is invalidated by the invalidating means, so that communication between other nodes in the normal mode is not received, and the second transceiver When the activation signal is received, the normal mode is restored.

従って、本発明のノード用いて構成した通信システムでは、スリープモードにあるノードをスリープモードに保持したまま、通常モードにあるノード間で通信を行うことができる。   Therefore, in the communication system configured using the nodes of the present invention, communication can be performed between nodes in the normal mode while keeping the nodes in the sleep mode in the sleep mode.

また、スリープモードにあるノードを起動する際には、第2トランシーバを用いて通信路に信号を送出するだけでよいため、速やかな起動を実現することができる。
しかも、第1トランシーバが送出する信号と第2トランシーバが送出する信号とが衝突した場合には、第1トランシーバの送出信号が優位となるため、通常モードのノード同士の通信を邪魔することなく、任意のタイミングで起動信号を送信すること、ひいてはスリープモードのノードを起動させることができる。
In addition, when starting a node in the sleep mode, it is only necessary to send a signal to the communication path using the second transceiver, so that a quick start can be realized.
Moreover, when the signal transmitted from the first transceiver and the signal transmitted from the second transceiver collide, the transmission signal of the first transceiver is dominant, so that communication between nodes in the normal mode is not disturbed. The activation signal can be transmitted at an arbitrary timing, and the sleep mode node can be activated.

なお、第1トランシーバと第2トランシーバとは、それぞれ専用に構成されたものを用いてもよいが、請求項2に示すように、同一構成のものを使用し、差動信号を入出力するために各トランシーバに設けられた入出力端子と通信路を構成する一対のバスとの接続関係を、第1トランシーバと第2トランシーバとで異ならせることで、送受信する差動信号の極性を反転させてもよい。   The first transceiver and the second transceiver may be configured for exclusive use, respectively. However, as shown in claim 2, the same configuration is used to input and output differential signals. By changing the connection relationship between the input / output terminals provided in each transceiver and the pair of buses constituting the communication path between the first transceiver and the second transceiver, the polarity of the differential signal to be transmitted and received is inverted. Also good.

また、第1トランシーバおよび第2トランシーバは、通信路を構成する一対のバスに非対称な波形を有する信号を送信してもよいが、対称な波形を有する信号を送信することが望ましい。   In addition, the first transceiver and the second transceiver may transmit a signal having an asymmetric waveform to a pair of buses constituting the communication path, but it is desirable to transmit a signal having a symmetrical waveform.

具体的には、例えば、請求項3に示すように、一対のバスのうち、一方には、予め設定された基準電圧と、該基準電圧よりも高い電圧とからなる2値信号を送出し、他方には、基準電圧と、該基準電圧よりも低い電圧とからなる2値信号を送出し、これら二つの2値信号が基準電圧に対して対称な波形を有するように構成すればよい。   Specifically, for example, as shown in claim 3, one of the pair of buses sends a binary signal composed of a preset reference voltage and a voltage higher than the reference voltage, On the other hand, a binary signal composed of a reference voltage and a voltage lower than the reference voltage may be transmitted, and the two binary signals may be configured to have a symmetrical waveform with respect to the reference voltage.

次に、本発明のノードは、請求項4に記載のように、予め設定された起動条件が成立すると、第2トランシーバを介して信号を送信することにより、動作モードがスリープモードである他ノードを起動する他ノード起動手段を備えていてもよい。   Next, as described in claim 4, the node according to the present invention transmits a signal via the second transceiver when a preset activation condition is satisfied, whereby another node whose operation mode is the sleep mode is transmitted. There may be provided other node activation means for activating.

このように構成された本発明のノードは、通信システムを構成する際に、他ノードをスリープモードから通常モードに復帰させる機能を有するノードとして好適に用いることができる。   The node of the present invention configured as described above can be suitably used as a node having a function of returning another node from the sleep mode to the normal mode when configuring the communication system.

また、本発明のノードは、請求項5に記載のように、動作モードがスリープモードの時に、第2トランシーバが予め定められた信号を受信すると、動作モードを通常モードに復帰させる復帰手段を備えていてもよい。   According to a fifth aspect of the present invention, the node includes a return unit for returning the operation mode to the normal mode when the second transceiver receives a predetermined signal when the operation mode is the sleep mode. It may be.

このように構成された本発明のノードでは、通信システムを構成する際に、通常モードおよびスリープモードへの遷移が可能なノードとして好適に用いることができる。
また、本発明のノードは、請求項6に記載のように、通信路上で極性の異なる差動信号が衝突することによって第2トランシーバの受信信号に生じる欠落部分を補完して、受信信号を整形する整形回路を備えていてもよい。
The node of the present invention configured as described above can be suitably used as a node capable of transitioning to the normal mode and the sleep mode when configuring the communication system.
In addition, as described in claim 6, the node according to the present invention complements a missing portion generated in the received signal of the second transceiver due to a collision of differential signals having different polarities on the communication path, and shapes the received signal. A shaping circuit may be provided.

このように構成された本発明のノードによれば、第2トランシーバの受信信号を起動信号としてだけでなくノード間の通信にも使用することが可能なため、第1トランシーバを使用した通信と並行して、第2トランシーバを使用した通信を実現すること、即ち、多重通信を実現することができる。   According to the node of the present invention configured as described above, the reception signal of the second transceiver can be used not only as an activation signal but also for communication between the nodes, and therefore, in parallel with the communication using the first transceiver. Thus, communication using the second transceiver can be realized, that is, multiplex communication can be realized.

但し、この場合、整形回路での処理の精度を確保するためには、第1トランシーバを使用した通信において、基準電圧とは異なるレベルが連続した送出される最大ビット数をN、1ビット幅をWとして、第2トランシーバを使用した通信においては、N×Wの3倍以上のビット幅(望ましくは10倍以上)を有する信号を用いることが望ましい。   However, in this case, in order to ensure the accuracy of processing in the shaping circuit, in communication using the first transceiver, the maximum number of bits that are continuously transmitted at a level different from the reference voltage is N, and the bit width is 1 As for W, in communication using the second transceiver, it is desirable to use a signal having a bit width of 3 times or more (preferably 10 times or more) of N × W.

また、この場合、起動信号は、第2トランシーバを使用した通信に用いる信号と明確に区別することができるように、通信には使用しない固有のパターンを用いるように構成する必要がある。   In this case, the activation signal needs to be configured to use a unique pattern that is not used for communication so that it can be clearly distinguished from the signal used for communication using the second transceiver.

通信システムの全体構成を示すブロック図。The block diagram which shows the whole structure of a communication system. 第1実施形態における電子制御ユニットの構成を示すブロック図。The block diagram which shows the structure of the electronic control unit in 1st Embodiment. 通信システムの各部における波形を示す波形図。The wave form diagram which shows the waveform in each part of a communication system. 他の電子制御ユニットを起動する際に実行する他ノード起動処理の内容を示すフローチャート。The flowchart which shows the content of the other node starting process performed when starting another electronic control unit. スリープモードに遷移する際に実行するスリープ処理、および通常モードに遷移する際に実行するウェイクアップ処理の内容を示すフローチャート。The flowchart which shows the content of the sleep process performed when changing to sleep mode, and the wake-up process performed when changing to normal mode. 第2実施形態における電子制御ユニットの構成を示すブロック図。The block diagram which shows the structure of the electronic control unit in 2nd Embodiment. 整形回路の詳細な構成を示す回路図。The circuit diagram which shows the detailed structure of a shaping circuit. 整形回路の動作を示すタイミング図。The timing diagram which shows operation | movement of a shaping circuit.

以下に本発明の実施形態を図面と共に説明する。
[第1実施形態]
<全体構成>
図1は、通信プロトコルとしてCAN(Controller Area Network)が用いられた車載用の通信システム1の構成を表すブロック図である。
Embodiments of the present invention will be described below with reference to the drawings.
[First Embodiment]
<Overall configuration>
FIG. 1 is a block diagram showing a configuration of an in-vehicle communication system 1 in which a CAN (Controller Area Network) is used as a communication protocol.

図1に示すように、通信システム1は、車両に搭載された複数の電子制御ユニット10a,10b,10c,…を、共通の通信路LNを介して相互に通信可能となるように接続することで構成され、これら電子制御ユニット10a,10b,10c,…のそれぞれがノードとして機能するようにされている。以下では、電子制御ユニットをECUとよび、また、ECU10a,10b,10c…を、特に区別しなでいずれか一つを指す場合はECU10と表記する。   As shown in FIG. 1, the communication system 1 connects a plurality of electronic control units 10a, 10b, 10c,... Mounted on a vehicle so that they can communicate with each other via a common communication path LN. Each of these electronic control units 10a, 10b, 10c,... Functions as a node. In the following, the electronic control unit is referred to as an ECU, and the ECUs 10a, 10b, 10c,.

このうち、通信路LNは一対のバスLN1,LN2で構成され、その両端は、終端抵抗R,Rによってそれぞれ終端されている。そして、通信路LNでは、両バスLN1,LN2間の電位差によって、ドミナント(例えば0)又はリセッシブ(例えば1)の信号レベルを表現した差動信号が伝送される。   Among these, the communication path LN is composed of a pair of buses LN1 and LN2, and both ends thereof are terminated by termination resistors R and R, respectively. In the communication path LN, a differential signal expressing a dominant (for example, 0) or recessive (for example, 1) signal level is transmitted by the potential difference between the two buses LN1 and LN2.

ECU10a,10b,10c…としては、具体的には、エンジン制御を司るエンジンECU、ブレーキ制御を司るブレーキECU、ステアリング制御を司るステアリングECU、サスペンション制御を司るサスペンションECU、ライトのオン/オフを制御するECU等、種々の電子制御装置を挙げることができる。なお、図1では、ECU10を、3つのみ図示しているが、通信システム1を構成するECU10の数がこれに限定されないことは言うまでもない。   Specifically, the ECUs 10a, 10b, 10c,... Control the engine ECU that controls the engine, the brake ECU that controls the brake control, the steering ECU that controls the steering control, the suspension ECU that controls the suspension control, and the light on / off control. Various electronic control devices such as an ECU can be listed. In FIG. 1, only three ECUs 10 are illustrated, but it goes without saying that the number of ECUs 10 constituting the communication system 1 is not limited to this.

また、ECU10の一つ(ここではECU10a)には、通信システム1全体を起動するトリガとなる外部イベントが図示しない車載装置から入力されるように構成されている。   Further, one of the ECUs 10 (in this case, the ECU 10a) is configured such that an external event serving as a trigger for starting the entire communication system 1 is input from an in-vehicle device (not shown).

なお、外部イベントは、例えば、車両のドアが開閉操作された時に発生させてもよいし、通信システム1の起動のために設けられたスイッチが操作された時に発生させてもよい。   The external event may be generated, for example, when a door of the vehicle is opened or closed, or may be generated when a switch provided for starting up the communication system 1 is operated.

更に、ECU10は、制御対象を制御する際の通常の動作モードである通常モードと、消費電力を抑えるために設けられた動作モードであるスリープモードとで遷移するように構成されている。   Further, the ECU 10 is configured to transition between a normal mode, which is a normal operation mode when controlling a control target, and a sleep mode, which is an operation mode provided to reduce power consumption.

<ECU>
図2は、ECU10の構成の一部、具体的には、通信路LNを介した通信に関わる構成を示したブロック図であり、いずれのECU10も共通の構成を有している。
<ECU>
FIG. 2 is a block diagram showing a part of the configuration of the ECU 10, specifically, a configuration related to communication via the communication path LN, and all the ECUs 10 have a common configuration.

図2に示すように、ECU10は、自動車の各部を制御するための制御処理や他のECUと通信を行うための処理を実行するマイクロコンピュータ(以下「マイコン」という)11と、通信路LNに接続されて、マイコン11から与えられるデータ(送信フレーム)を通信路LNに出力すると共に、通信路LN上のデータ(受信フレーム)をマイコン11に入力する一対のトランシーバ12,13とを備えている。   As shown in FIG. 2, the ECU 10 includes a microcomputer (hereinafter referred to as “microcomputer”) 11 that executes a control process for controlling each part of the vehicle and a process for communicating with another ECU, and a communication path LN. A pair of transceivers 12 and 13 for connecting data (transmission frame) given from the microcomputer 11 to the communication path LN and inputting data (reception frame) on the communication path LN to the microcomputer 11 are provided. .

なお、一方のトランシーバ(以下「第1トランシーバ」という)12の入出力端子T1,T2は、通信路LNを構成する一対のバスLN1,LN2に、それぞれ直接接続され、他方のトランシーバ(以下「第2トランシーバ」という)13の入出力端子T1,T2は、抵抗器14,14を介して、バスLN1,LN2に接続されている。   The input / output terminals T1 and T2 of one transceiver (hereinafter referred to as “first transceiver”) 12 are directly connected to a pair of buses LN1 and LN2 constituting the communication path LN, respectively, and the other transceiver (hereinafter referred to as “first transceiver”). Input / output terminals T1 and T2 of 13) are connected to buses LN1 and LN2 via resistors 14 and 14, respectively.

具体的には、第1トランシーバ12の入出力端子T1および第2トランシーバ13の入出力端子T2がバスLN1に接続され、第1トランシーバ12の入出力端子T2および第2トランシーバ13の入出力端子T1がバスLN2に接続されている。   Specifically, the input / output terminal T1 of the first transceiver 12 and the input / output terminal T2 of the second transceiver 13 are connected to the bus LN1, and the input / output terminal T2 of the first transceiver 12 and the input / output terminal T1 of the second transceiver 13 are connected. Is connected to the bus LN2.

つまり、第1トランシーバ12と第2トランシーバ13とは、通信路LNに対する接続が互いに反転した状態になっており、各トランシーバ12,13にて送受信可能な差動信号が通信路LN上では互いに逆極性となる。   That is, the first transceiver 12 and the second transceiver 13 are connected to the communication path LN so that the differential signals that can be transmitted and received by the transceivers 12 and 13 are opposite to each other on the communication path LN. Polarity.

<トランシーバ>
第1トランシーバ12は、送信端子TXから入力された送信信号を差動信号に変換して入出力端子T1,T2から出力すると共に、入出力端子T1,T2から入力された差動信号を受信信号に変換して受信端子RXから出力する信号変換機能や、入出力端子T1,T2に入力される差動信号においてリセッシブが一定期間以上継続した後に、ドミナントを検出すると、マイコン11に対してフレーム検出信号FR1を出力するフレーム検出機能を有する。
<Transceiver>
The first transceiver 12 converts a transmission signal input from the transmission terminal TX into a differential signal and outputs the differential signal from the input / output terminals T1 and T2, and receives the differential signal input from the input / output terminals T1 and T2 as a reception signal. When the dominant signal is detected after the recession continues in the differential signal input to the input / output terminals T1 and T2 for a predetermined period or longer after the signal is converted into the signal and output from the receiving terminal RX, the microcomputer 11 detects the frame. It has a frame detection function for outputting the signal FR1.

更に、第1トランシーバ12は、マイコン11からのスタンバイ信号ST1に従い、スタンバイ信号ST1が非アクティブレベルである場合に有効に機能し、スタンバイ信号ST1がアクティブレベルである場合に機能を停止するスリープ機能を有する。   Further, the first transceiver 12 functions effectively when the standby signal ST1 is at an inactive level according to the standby signal ST1 from the microcomputer 11, and has a sleep function that stops the function when the standby signal ST1 is at an active level. Have.

このうち、信号変換機能等について、図3に示す通信システム1の各部の波形を参照して説明する。まず、第1トランシーバ12は、送信端子TXへの入力(送信信号)が「1」の時には、入出力端子T1,T2の電圧VoT1,VoT2をいずれも基準電圧VM(例えば、2.5V)にし、送信端子TXへの入力が「0」の時には、入出力端子T1の電圧VT1を基準電圧VMより高電圧に設定されたハイレベルVH(例えば3.5V)にすると共に、入出力端子T2の電圧VT2を基準電圧VMより低電圧に設定されたローレベルVL(例えば1.5V)にする。   Among these, a signal conversion function etc. are demonstrated with reference to the waveform of each part of the communication system 1 shown in FIG. First, when the input (transmission signal) to the transmission terminal TX is “1”, the first transceiver 12 sets the voltages VoT1 and VoT2 of the input / output terminals T1 and T2 to the reference voltage VM (for example, 2.5 V). When the input to the transmission terminal TX is “0”, the voltage VT1 of the input / output terminal T1 is set to a high level VH (for example, 3.5 V) set higher than the reference voltage VM, and the input / output terminal T2 The voltage VT2 is set to a low level VL (for example, 1.5 V) set to a voltage lower than the reference voltage VM.

これにより、入出力端子T1,T2から出力される差動信号の電圧レベルΔVo(=VoT1−VoT2)は、入出力端子T2の電位を基準とすると、送信端子TXへの入力が「1」の時はΔVo=0[V](リセッシブ)、送信端子TXへの入力が「0」の時はΔVo=2[V](ドミナント)となる。   As a result, the voltage level ΔVo (= VoT1−VoT2) of the differential signal output from the input / output terminals T1 and T2 is “1” when the input to the transmission terminal TX is “1” based on the potential of the input / output terminal T2. At this time, ΔVo = 0 [V] (recessive), and when the input to the transmission terminal TX is “0”, ΔVo = 2 [V] (dominant).

また、第1トランシーバ12は、入出力端子T1,T2に入力された差動信号の電圧レベルΔVin(=VLN1 −VLN2 )が、予め規定された閾値TH(例えば0.9V)以上である時には、受信端子RXを「0」にし、入力された差動信号の電圧レベルΔVinが閾値TH未満である時には、受信端子RXを「1」にする。   Further, the first transceiver 12 is configured such that when the voltage level ΔVin (= VLN1−VLN2) of the differential signal input to the input / output terminals T1 and T2 is equal to or higher than a predetermined threshold TH (for example, 0.9V), The reception terminal RX is set to “0”, and when the voltage level ΔVin of the input differential signal is less than the threshold value TH, the reception terminal RX is set to “1”.

なお、第1トランシーバ12が有するこれらの機能は、CANトランシーバにおいて周知のものである。
第2トランシーバ13は、第1トランシーバ12と同様に構成されている。但し、マイコン11に対して出力するフレーム検出信号をFR2、マイコン11からのスタンバイ信号をST2で表すものとする。
Note that these functions of the first transceiver 12 are well known in the CAN transceiver.
The second transceiver 13 is configured in the same manner as the first transceiver 12. However, the frame detection signal output to the microcomputer 11 is represented by FR2, and the standby signal from the microcomputer 11 is represented by ST2.

また、第2トランシーバ13が送信する信号は、第1トランシーバ12が送信する信号より、ビット幅が大きく設定されている。具体的には、第2トランシーバ13が送信する信号のビット幅は、第1トランシーバ12からの送信フレームについて規定されたドミナントが連続する最大長より長くなるように設定されている。   The signal transmitted by the second transceiver 13 is set to have a bit width larger than that of the signal transmitted by the first transceiver 12. Specifically, the bit width of the signal transmitted by the second transceiver 13 is set to be longer than the maximum continuous length defined for the transmission frame from the first transceiver 12.

第2トランシーバ13は、入出力端子T1,T2に入力された差動信号(第1トランシーバ12とは逆極性)の電圧レベルΔVin(=VLN2 −VLN1 )が閾値TH以上である時には、受信端子RXを「0」にし、入力された差動信号の電圧レベルΔVinが閾値TH未満である時には、受信端子RXを「1」にする。   When the voltage level ΔVin (= VLN2−VLN1) of the differential signal (opposite polarity with respect to the first transceiver 12) input to the input / output terminals T1 and T2 is equal to or higher than the threshold value TH, the second transceiver 13 receives the reception terminal RX. Is set to “0”, and when the voltage level ΔVin of the input differential signal is less than the threshold value TH, the receiving terminal RX is set to “1”.

更に、第2トランシーバ13は、抵抗器14,14を介してバスLN1,LN2に接続されていることにより、入出力端子T1,T2からの出力電圧VoT1,VoT2がそのままバスLN1,LN2に印加されるわけではなく、抵抗器14,14の抵抗値と、通信路LNの終端抵抗Rとで分圧された信号レベルが印加されることになる。本実施形態では、基準電圧VMに対する振幅が、入出力端子T1,T2での大きさ(VH−VM,VM−VL)の1/3程度となるように設定されている。   Further, since the second transceiver 13 is connected to the buses LN1 and LN2 via the resistors 14 and 14, the output voltages VoT1 and VoT2 from the input / output terminals T1 and T2 are directly applied to the buses LN1 and LN2. Rather, the signal level divided by the resistance values of the resistors 14 and 14 and the termination resistance R of the communication path LN is applied. In the present embodiment, the amplitude with respect to the reference voltage VM is set to be about 1/3 of the magnitude (VH-VM, VM-VL) at the input / output terminals T1, T2.

また、抵抗器14,14が存在することにより、通信路LN上で第1トランシーバ12からのドミナントの出力と、第2トランシーバ13からのドミナントの出力とが衝突した場合、通信路LNに直結されている第1トランシーバ12からのドミナントの出力が優位となる。   Further, due to the presence of the resistors 14 and 14, when the dominant output from the first transceiver 12 and the dominant output from the second transceiver 13 collide on the communication path LN, they are directly connected to the communication path LN. The dominant output from the first transceiver 12 is dominant.

従って、第1トランシーバ12の受信端子RXから出力される受信信号は、ドミナントが衝突しても正しく復元され、一方、第2トランシーバ13の受信端子RXから出力される受信信号は、ドミナントが衝突した部分が欠落したものとなる。   Therefore, the reception signal output from the reception terminal RX of the first transceiver 12 is correctly restored even if the dominant collides, while the reception signal output from the reception terminal RX of the second transceiver 13 collides with the dominant. The part is missing.

<マイコン>
マイコン11は、CPU,ROM,RAM,IOポート等からなるマイコンにおける周知の構成の他、CANプロトコルに従って、フレームの送受信や、どのフレームを優先的に処理するかを決定する調停制御や、通信エラー処理等を実行する通信コントローラ111を備えている。
<Microcomputer>
In addition to the well-known configuration of a microcomputer comprising a CPU, ROM, RAM, IO port, etc., the microcomputer 11 transmits and receives frames according to the CAN protocol, arbitration control for determining which frames are preferentially processed, and communication errors. A communication controller 111 that executes processing and the like is provided.

また、マイコン11は、図示しないCPUが動作するための動作クロックを生成するクロック回路(図示せず)を備えており、クロック回路への電源供給を遮断することで、クロック回路の動作(ひいてはCPU自身の動作)を停止させることができるように構成されている。   Further, the microcomputer 11 includes a clock circuit (not shown) that generates an operation clock for operating a CPU (not shown), and shuts off the power supply to the clock circuit, thereby operating the clock circuit (and thus the CPU). It is configured such that its own operation) can be stopped.

なお、クロック回路が動作している時の動作モードが通常モード、クロック回路が動作を停止している時の動作モードがスリープモードとなる。
また、マイコン11は、スリープモードの時に、第2トランシーバ13からのフレーム検出信号FR2の入力があると、クロック回路が起動してCPUが動作を開始して、通常モードに遷移(ウェイクアップ)するように構成されている。
The operation mode when the clock circuit is operating is the normal mode, and the operation mode when the clock circuit is stopped is the sleep mode.
In addition, when the microcomputer 11 is in the sleep mode and receives the frame detection signal FR2 from the second transceiver 13, the clock circuit is activated and the CPU starts operating, and transitions to the normal mode (wakes up). It is configured as follows.

<他ノード起動処理>
ここで、他のECUをウェイクアップさせる機能を有したECU10のマイコン11が実行する他ノード起動処理を、図4に示すフローチャートに沿って説明する。
<Other node startup processing>
Here, the other node activation process executed by the microcomputer 11 of the ECU 10 having the function of waking up another ECU will be described with reference to the flowchart shown in FIG.

本処理は、ECU10に割り当てられた車両制御を実行中に、予め定められた起動条件が成立した場合に起動する。特に、ECU10aでは、スリープモードの時に、外部イベントが入力された場合にも、後述するウェイクアップ処理の実行後に起動する。   This process is activated when a predetermined activation condition is satisfied during execution of the vehicle control assigned to the ECU 10. In particular, the ECU 10a is activated after execution of a wake-up process, which will be described later, even when an external event is input in the sleep mode.

従って、本処理の起動時には、ECU10の動作モードは通常モードとなっており、スタンバイ信号ST1が非アクティブ、スタンバイ信号ST2がアクティブに設定され、第1トランシーバ12のみが通信可能な状態になっている。   Therefore, at the start of this process, the operation mode of the ECU 10 is the normal mode, the standby signal ST1 is set to inactive, the standby signal ST2 is set to active, and only the first transceiver 12 is in a communicable state. .

本処理が起動すると、スタンバイ信号ST2をアクティブに設定することによって、第2トランシーバ13を通信可能な状態にし(S110)、第2トランシーバ13を使用して少なくとも1ビットのドミナントを含んだ起動信号を送信する(S120)。   When this processing is started, the standby signal ST2 is set to be active to make the second transceiver 13 communicable (S110), and the start signal including at least one bit dominant is transmitted using the second transceiver 13. Transmit (S120).

その後、スタンバイ信号ST2を非アクティブに設定することによって、第2トランシーバ13を停止させて(S130)、本処理を終了する。
<スリープ処理/ウェイクアップ処理>
次に、ECU10のマイコン11が実行するスリープ処理およびウェイクアップ処理を図5に示すフローチャートに沿って説明する。
Thereafter, by setting the standby signal ST2 to inactive, the second transceiver 13 is stopped (S130), and this process is terminated.
<Sleep / Wake-up>
Next, sleep processing and wake-up processing executed by the microcomputer 11 of the ECU 10 will be described with reference to the flowchart shown in FIG.

図5(a)は、ECU10の動作状態が通常モードからスリープモードに遷移する際に実行するスリープ処理の内容を示すフローチャートである。
このスリープ処理は、ECU10に割り当てられた車両制御を実行中(即ち、動作モードは通常モードの時)に、予め定められたスリープ条件が成立すると起動する。なお、通常モードの時には、スタンバイ信号ST1は非アクティブに、スタンバイ信号ST2は、上述した他ノード起動処理を実行する場合を除いてアクティブに設定されている。
FIG. 5A is a flowchart showing the contents of the sleep process executed when the operation state of the ECU 10 transitions from the normal mode to the sleep mode.
This sleep process is activated when a predetermined sleep condition is satisfied while vehicle control assigned to the ECU 10 is being executed (that is, when the operation mode is the normal mode). In the normal mode, the standby signal ST1 is set to inactive, and the standby signal ST2 is set to active except when the above-described other node activation process is executed.

本処理が起動すると、図5(a)に示すように、まず、スタンバイ信号ST1をアクティブに、スタンバイ信号ST2を非アクティブに切り替えることにより、第1トランシーバ12を停止させ、第2トランシーバ13を起動する(S210)。   When this processing starts, as shown in FIG. 5A, first, the first transceiver 12 is stopped and the second transceiver 13 is started by switching the standby signal ST1 to active and the standby signal ST2 to inactive. (S210).

これにより、ECU10の動作モードはスリープモードとなり、通信路LN上で通常極性とは逆極性を有する差動信号を、第2トランシーバ13を介して受信できる状態となる。   As a result, the operation mode of the ECU 10 becomes the sleep mode, and a differential signal having a polarity opposite to the normal polarity on the communication path LN can be received via the second transceiver 13.

その後、マイコン11のクロック回路への電源供給を遮断し、マイコン11自身を停止させることにより、ECU10をスリープモードに遷移させる(S220)。
次に、図5(b)は、ECU10の動作状態がスリープモードから通常モードに遷移する際に実行するウェイクアップ処理の内容を示すフローチャートである。
Thereafter, the power supply to the clock circuit of the microcomputer 11 is interrupted, and the microcomputer 11 itself is stopped, thereby causing the ECU 10 to transition to the sleep mode (S220).
Next, FIG. 5B is a flowchart showing the contents of the wake-up process executed when the operation state of the ECU 10 transitions from the sleep mode to the normal mode.

このウェイクアップ処理は、通信路LN上に起動信号が送出されることにより、第2トランシーバ13からのフレーム検出信号FR2がマイコン11に入力される(全ECU10が該当)か、外部イベントが入力される(ECU10aに限る)ことにより、クロック回路が起動されCPUが動作を開始すると、CPUが実行する初期化処理の中で起動される。   In this wake-up process, a frame detection signal FR2 from the second transceiver 13 is input to the microcomputer 11 (all ECUs 10 are applicable) or an external event is input by sending an activation signal on the communication path LN. When the clock circuit is activated and the CPU starts operating, the activation is performed in an initialization process executed by the CPU.

本処理が起動すると、スタンバイ信号ST1を非アクティブ、スタンバイ信号ST2をアクティブに切り替えることにより、第1トランシーバ12を起動し、第2トランシーバ13を停止させて(S310)、本処理を終了する。   When this process is activated, the first transceiver 12 is activated and the second transceiver 13 is deactivated by switching the standby signal ST1 to inactive and the standby signal ST2 to be active (S310), and the process is terminated.

これにより、ECU10の動作モードは、通常モードとなり、通信路LN上で通常極性を有する差動信号を、第1トランシーバ12を介して送受信できる状態となる。
<動作>
このように構成された、通信システム1において、通常モードのECU10は、起動している第1トランシーバ12を介して相互間の通信を実行する。
As a result, the operation mode of the ECU 10 becomes a normal mode, and a differential signal having a normal polarity on the communication path LN can be transmitted / received via the first transceiver 12.
<Operation>
In the communication system 1 configured as described above, the ECU 10 in the normal mode performs communication with each other via the activated first transceiver 12.

一方、スリープモードのECU10は、起動している第2トランシーバ13によって、起動信号が通信路LNに送出されたか否かを監視する。
この時、第2トランシーバ13は、差動信号を第1トランシーバ12とは逆極性で認識するため、通常モードのECU10同士の通信に使用される差動信号(第1トランシーバ12が送受信)を受信しても、これをドミナントとして認識せず、即ち、フレーム検出信号FR2が発生しないため、スリープモードのECU10を通常モードに遷移させてしまうことがない。
On the other hand, the ECU 10 in the sleep mode monitors whether or not the activation signal is sent to the communication path LN by the activated second transceiver 13.
At this time, since the second transceiver 13 recognizes the differential signal with a polarity opposite to that of the first transceiver 12, it receives a differential signal (transmitted and received by the first transceiver 12) used for communication between the ECUs 10 in the normal mode. However, this is not recognized as a dominant, that is, since the frame detection signal FR2 is not generated, the ECU 10 in the sleep mode is not shifted to the normal mode.

起動条件が成立したECU10、又は外部イベントが入力されることでウェイクアップしたECU10aは、第2トランシーバ13を一時的に動作させ、通信路LN上での差動信号の極性が正常極性とは逆極性となる起動信号を送信する。なお、正常極性の差動信号と逆極性の差動信号とで、ドミナント同士が衝突した場合には、正常極性の差動信号が優位となる。つまり、起動信号によって、通常モードのECU10同士の通信が影響を受けることがないようにされている。   The ECU 10 for which the activation condition is satisfied, or the ECU 10a that has been woken up by the input of an external event temporarily operates the second transceiver 13, and the polarity of the differential signal on the communication path LN is opposite to the normal polarity. Send an activation signal with polarity. When the dominant signal collides between the normal polarity differential signal and the reverse polarity differential signal, the normal polarity differential signal is dominant. That is, the communication between the ECUs 10 in the normal mode is not affected by the activation signal.

通信路LNに起動信号が送出されると、スリープモードのECU10では、これを検出した第2トランシーバ13によってフレーム検出信号FR2が発生することにより、動作モードが通常モードに復帰する。   When the activation signal is sent to the communication path LN, the ECU 10 in the sleep mode generates the frame detection signal FR2 by the second transceiver 13 that has detected this, so that the operation mode returns to the normal mode.

<効果>
以上説明したように、通信システム1では、各ECU10は、ECU10同士の通信に使用する第1トランシーバ12の他に、その通信に使用する通常極性の差動信号とは、通信路LN上での極性が逆極性となる差動信号を送受信する第2トランシーバ13を備えており、この第2トランシーバ13を用いて動作モードをスリープモードから通常モードに遷移させる起動信号を送受信するようにされており、しかも、通常極性の差動信号と逆極性の差動信号とで、ドミナント同士が衝突した場合に、正常極性のドミナントが優位となるようにされている。
<Effect>
As described above, in the communication system 1, each ECU 10 has a normal polarity differential signal used for communication in addition to the first transceiver 12 used for communication between the ECUs 10 on the communication path LN. A second transceiver 13 that transmits and receives a differential signal having a reverse polarity is provided, and the second transceiver 13 is used to transmit and receive an activation signal that changes the operation mode from the sleep mode to the normal mode. In addition, when the dominant signal collides between the normal polarity differential signal and the reverse polarity differential signal, the normal polarity dominant signal is dominant.

従って、通信システム1によれば、通常モードのECU10同士の通信に影響を与えることなく、任意のタイミングで、起動信号をLN上に送出すること、ひいてはスリープモードのECU10を通信モードに復帰(ウェイクアップ)させることができる。   Therefore, according to the communication system 1, the activation signal is sent on the LN at any timing without affecting the communication between the ECUs 10 in the normal mode, and the sleep mode ECU 10 is returned to the communication mode (wake). Up).

<発明との対応>
本実施形態において、S210が無効化手段、他ノード起動処理(S110〜S130)が他ノード起動手段、スリープモードの時にフレーム検出信号FR2が入力されるとマイコン11が実行するウェイクアップ処理(処理を起動する前に実行するクロック回路に電源供給を再開する制御も含む)が復帰手段に相当する。
<Correspondence with Invention>
In this embodiment, S210 is an invalidation means, other node activation processing (S110 to S130) is another node activation means, and the wake-up processing (processing is executed by the microcomputer 11 when the frame detection signal FR2 is input in the sleep mode. (Including control for restarting the power supply to the clock circuit executed before starting) corresponds to the return means.

[第2実施形態]
次に、第2実施形態について説明する。
<全体構成>
図6は、本実施形態の通信システム2を構成するECU20の構成を示すブロック図である。
[Second Embodiment]
Next, a second embodiment will be described.
<Overall configuration>
FIG. 6 is a block diagram showing a configuration of the ECU 20 that constitutes the communication system 2 of the present embodiment.

ECU20は、第2トランシーバ13をウェイクアップのためだけに使用するのではなく、第2トランシーバ13による通信を可能とし、第1トランシーバ12と共に多重通信を実現するものである。   The ECU 20 does not use the second transceiver 13 only for wakeup, but enables communication by the second transceiver 13 and realizes multiplex communication together with the first transceiver 12.

なお、ECU20は、ECU10とは、一部構成が異なるだけであるため、以下では、この構成が異なる部分について詳述する。
図6に示すように、ECU20は、マイコン21、第1および第2トランシーバ12,13、抵抗器14,14に加えて、第1トランシーバ12の受信端子RXから出力される受信信号RD1および第2トランシーバ13の受信端子RXから出力される受信信号RD2を入力とし、通常極性の差動信号と逆極性の差動信号とでドミナント同士が衝突することによって受信信号RD2に生じる欠落部分(図3参照)を補完し、その補完によって整形された受信信号RD2を出力として、マイコン21に供給する整形回路15を備えている。
Since the ECU 20 is only partially different in configuration from the ECU 10, the following description will be made in detail with respect to the different portions.
As shown in FIG. 6, in addition to the microcomputer 21, the first and second transceivers 12, 13, and the resistors 14, 14, the ECU 20 receives the reception signal RD1 and the second signal output from the reception terminal RX of the first transceiver 12. The reception signal RD2 output from the reception terminal RX of the transceiver 13 is used as an input, and a missing portion is generated in the reception signal RD2 when the dominant collides between the normal polarity differential signal and the reverse polarity differential signal (see FIG. 3). ) And a shaping circuit 15 for supplying the received signal RD2 shaped by the complementation to the microcomputer 21 as an output.

なお、第2トランシーバ13は、第1実施形態の場合とは異なり、スリープモードの時も停止することなく、常時動作するように構成されている。つまり、ECU20のマイコン21が実行する処理(他ノード起動処理、スリープ処理、ウェイクアップ処理)は、図4,図5に示した第1実施形態での処理から、第2トランシーバ13を起動,停止する処理を省略したものとなる。   Unlike the case of the first embodiment, the second transceiver 13 is configured to always operate without stopping even in the sleep mode. That is, the processes executed by the microcomputer 21 of the ECU 20 (another node activation process, a sleep process, and a wake-up process) start and stop the second transceiver 13 from the processes in the first embodiment shown in FIGS. The processing to be performed is omitted.

また、マイコン21は、第2トランシーバ13からのフレーム検出信号FR2の入力があった場合に、直ちに、起動信号であると判断するのではなく、起動信号に特有のパターン(第2トランシーバ13を用いた通信では使用されないパターン)が確認された場合にのみ起動信号であると判断して、以下、第1実施形態において、フレーム検出信号FR2を検出した場合と同様に動作する。   In addition, when the frame detection signal FR2 is input from the second transceiver 13, the microcomputer 21 does not immediately determine that it is the activation signal, but uses a pattern specific to the activation signal (using the second transceiver 13). In the first embodiment, the operation is performed in the same manner as when the frame detection signal FR2 is detected.

<整形回路>
ここで、図7は、整形回路15の詳細な構成を示す回路図、図8は、整形回路15の動作を示すタイミングチャートである。
<Shaping circuit>
Here, FIG. 7 is a circuit diagram showing a detailed configuration of the shaping circuit 15, and FIG. 8 is a timing chart showing the operation of the shaping circuit 15.

図7に示すように整形回路15は、図示しないクロック回路から供給される動作クロックCK、受信信号RD2を入力とするAND回路31と、AND回路31の出力であるクロックGCKに従って、受信信号RD2の信号レベルをラッチするD型フリップフロップ(D−FF)回路32と、クロックGCKに従って、D−FF回路32の出力をラッチするD−FF回路33とを備えている。   As shown in FIG. 7, the shaping circuit 15 includes an AND circuit 31 that receives an operation clock CK and a reception signal RD2 supplied from a clock circuit (not shown), and a reception signal RD2 according to a clock GCK that is an output of the AND circuit 31. A D-type flip-flop (D-FF) circuit 32 that latches the signal level and a D-FF circuit 33 that latches the output of the D-FF circuit 32 according to the clock GCK are provided.

また、整形回路15は、D−FF回路32,33の両出力X1,X2を入力とするAND回路34と、X1,X2を入力とするNOR回路35と、AND回路34の出力XSをセット入力、NOR回路35の出力XRをリセット入力とするSR型フリップフロップ(SR−FF)回路36とを備えている。   Further, the shaping circuit 15 is a set input of an AND circuit 34 that receives both outputs X1 and X2 of the D-FF circuits 32 and 33, a NOR circuit 35 that receives X1 and X2, and an output XS of the AND circuit 34. , And an SR type flip-flop (SR-FF) circuit 36 using the output XR of the NOR circuit 35 as a reset input.

そして、図8に示すように、AND回路31は、D−FF回路32,33に対する動作クロックCKの供給を、受信信号RD1がドミナント(ここではLレベル)の間だけ一時的に停止させるものであり、このAND回路31によって生成されるクロックGCKを用いて、D−FF回路32,33は受信信号RD2をラッチする。   As shown in FIG. 8, the AND circuit 31 temporarily stops the supply of the operation clock CK to the D-FF circuits 32 and 33 while the reception signal RD1 is dominant (L level here). Yes, using the clock GCK generated by the AND circuit 31, the D-FF circuits 32 and 33 latch the reception signal RD2.

これにより、X1,X2の信号レベルは、受信信号RD1がドミナントの間は、その直前の受信信号RD2の信号レベルに保持されること、即ち、欠落部分が補完されることになる。なお、受信信号RD2をラッチするD−FF回路32,33が2段になっているのは、デジタル的なフィルタ機能(スパイクノイズの除去)を持たせるためである。   Thus, the signal levels of X1 and X2 are held at the signal level of the immediately preceding reception signal RD2 while the reception signal RD1 is dominant, that is, the missing portion is complemented. The reason why the D-FF circuits 32 and 33 that latch the reception signal RD2 are two stages is to provide a digital filter function (removal of spike noise).

また、X1,X2を入力とするAND回路34の出力XSは、受信信号RD2がドミナント(Lレベル)からリセッシブ(Hレベル)に変化するタイミングで立ち上がり、また、同じくX1,X2を入力とするNOR回路35の出力XRは、受信信号RD2がリセッシブ(Hレベル)からドミナント(Lレベル)に変化するタイミングで立ち上がる。従って、これらの信号XS,XRをSR−FF回路36に入力することによって、リセッシブの衝突による影響が除去された信号が再生されることになる。   The output XS of the AND circuit 34 having X1 and X2 as inputs rises at a timing when the reception signal RD2 changes from dominant (L level) to recessive (H level), and is also NOR having X1 and X2 as inputs. The output XR of the circuit 35 rises at a timing when the reception signal RD2 changes from recessive (H level) to dominant (L level). Therefore, by inputting these signals XS and XR to the SR-FF circuit 36, a signal from which the influence of the recessive collision is removed is reproduced.

<効果>
以上説明したように、通信システム2によれば、通信システム1の場合と同様に、スリープモードのECU20を起動させることなく、通常モードのECU20同士の通信を実現することができると共に、起動信号を用いることによって、スリープモードのECU20を、任意のタイミングで通常モードに復帰させることができる。
<Effect>
As described above, according to the communication system 2, as in the case of the communication system 1, it is possible to realize the communication between the ECUs 20 in the normal mode without activating the ECUs 20 in the sleep mode, By using it, the ECU 20 in the sleep mode can be returned to the normal mode at an arbitrary timing.

また、特に通信システム2によれば、各ECU20は、通常モードの時に、第1トランシーバ12だけでなく、第2トランシーバ13も利用した多重通信を実現することができる。   In particular, according to the communication system 2, each ECU 20 can realize multiplex communication using not only the first transceiver 12 but also the second transceiver 13 in the normal mode.

なお、多重通信を行う場合、例えば、第1トランシーバ12では、CANプロトコルに従った高速な通信を実現し、第2トランシーバ13では、LINプロトコルに従った低速な通信を実現すること等が考えられる。   When performing multiplex communication, for example, the first transceiver 12 can realize high-speed communication according to the CAN protocol, and the second transceiver 13 can realize low-speed communication according to the LIN protocol. .

但し、第2トランシーバ13による通信は、第1トランシーバ12による通信に対して十分に低速である必要があり、少なくとも1/3の速度、好ましくは1/10以下の速度であることが望ましい。   However, the communication by the second transceiver 13 needs to be sufficiently slow compared to the communication by the first transceiver 12, and it is desirable that the speed is at least 1/3, preferably 1/10 or less.

[他の実施形態]
以上、本発明のいくつかの実施形態について説明したが、本発明は上記実施形態に限定されるものではなく、本発明の要旨を逸脱しない範囲において様々な態様にて実施することが可能である。
[Other Embodiments]
As mentioned above, although several embodiment of this invention was described, this invention is not limited to the said embodiment, In the range which does not deviate from the summary of this invention, it is possible to implement in various aspects. .

例えば、上記実施形態では、通信システム1はECU10を、通信システム2はECU20を用いて構成されているが、ECU10,20は、一つの通信システムに混在していてもよい。   For example, in the above-described embodiment, the communication system 1 is configured using the ECU 10 and the communication system 2 is configured using the ECU 20. However, the ECUs 10 and 20 may be mixed in one communication system.

1,2…通信システム 10,20…電子制御ユニット(ECU) 11,21…マイクロコンピュータ(マイコン) 12,13…トランシーバ 14…抵抗器 15…整形回路 31,34…AND回路 32,33…D型フリップフロップ(D−FF)回路 35…NOR回路 36…SR型フリップフロップ(SR−FF)回路 111…通信コントローラ DESCRIPTION OF SYMBOLS 1, 2 ... Communication system 10, 20 ... Electronic control unit (ECU) 11, 21 ... Microcomputer (microcomputer) 12, 13 ... Transceiver 14 ... Resistor 15 ... Shaping circuit 31, 34 ... AND circuit 32, 33 ... D type Flip-flop (D-FF) circuit 35... NOR circuit 36... SR-type flip-flop (SR-FF) circuit 111.

Claims (6)

一対のバスで構成された通信路を有し、該通信路に接続されたノード間の通信に差動信号を用いる通信システムにおいて使用され、前記通信路を介した通信を実行可能な動作モードである通常モードの時に、通信を停止して低消費電力状態にするスリープモードへの移行要求が発生すると、前記動作モードが通常モードからスリープモードに移行し、前記動作モードがスリープモードの時に、前記通信路に、前記通信に用いる極性である通常極性とは逆極性の差動信号が送出されると、前記動作モードがスリープモードから通常モードに復帰するノードであって、
前記通信路を介して前記通常極性の差動信号を送受信する第1トランシーバと、
前記通信路を介して前記通常極性とは逆極性の差動信号を送受信する第2トランシーバと、
前記動作モードがスリープモードの時には、前記第1トランシーバの機能を無効化する無効化手段と、
を備え、前記差動信号を入出力するために設けられた前記第2トランシーバの入出力端子は、該第2トランシーバが送信する差動信号が、前記通信路上で通常極性の差動信号と衝突した場合に、通常極性の差動信号を優位にするための抵抗器を介して前記通信路に接続されていることを特徴とするノード。
It is used in a communication system having a communication path composed of a pair of buses and using a differential signal for communication between nodes connected to the communication path, and in an operation mode capable of executing communication via the communication path. When a request to shift to a sleep mode to stop communication and enter a low power consumption state occurs in a certain normal mode, the operation mode shifts from the normal mode to the sleep mode, and when the operation mode is the sleep mode, When a differential signal having a polarity opposite to the normal polarity that is the polarity used for the communication is sent to the communication path, the operation mode is a node that returns from the sleep mode to the normal mode,
A first transceiver for transmitting and receiving the normal polarity differential signal via the communication path;
A second transceiver for transmitting and receiving a differential signal having a polarity opposite to the normal polarity via the communication path;
When the operation mode is a sleep mode, invalidating means for invalidating the function of the first transceiver;
And the input / output terminal of the second transceiver provided for inputting / outputting the differential signal causes a differential signal transmitted by the second transceiver to collide with a differential signal having a normal polarity on the communication path. In this case, the node is connected to the communication path via a resistor for making the differential signal of normal polarity dominant.
前記第1トランシーバと前記第2トランシーバとは同一の構成を有し、前記差動信号を入出力するために設けられた入出力端子と前記通信路を構成する一対のバスとの接続関係を、前記第1トランシーバと前記第2トランシーバとで異ならせることで、送受信する差動信号の極性を反転させていることを特徴とする請求項1に記載のノード。   The first transceiver and the second transceiver have the same configuration, and a connection relationship between an input / output terminal provided to input / output the differential signal and a pair of buses constituting the communication path, The node according to claim 1, wherein the polarity of the differential signal to be transmitted and received is inverted by making the first transceiver different from the second transceiver. 前記第1トランシーバおよび第2トランシーバは、前記通信路を構成する一対のバスのうち、一方には、予め設定された基準電圧と、該基準電圧よりも高い電圧とからなる2値信号を送出し、他方には、前記基準電圧と、該基準電圧よりも低い電圧とからなる2値信号を送出し、これら二つの2値信号は前記基準電圧に対して対称な波形を有することを特徴とする請求項1又は請求項2に記載のノード。   The first transceiver and the second transceiver send a binary signal composed of a preset reference voltage and a voltage higher than the reference voltage to one of a pair of buses constituting the communication path. On the other hand, a binary signal composed of the reference voltage and a voltage lower than the reference voltage is sent out, and these two binary signals have a symmetrical waveform with respect to the reference voltage. The node according to claim 1 or claim 2. 予め設定された起動条件が成立すると、前記第2トランシーバを介して信号を送信することにより、前記動作モードがスリープモードである他ノードを起動する他ノード起動手段を備えることを特徴とする請求項1乃至請求項3のいずれか1項に記載のノード。   The remote node activation means for activating another node whose operation mode is a sleep mode by transmitting a signal through the second transceiver when a preset activation condition is satisfied. The node according to any one of claims 1 to 3. 前記動作モードがスリープモードの時に、前記第2トランシーバが予め定められた信号を受信すると、前記動作モードを通常モードに復帰させる復帰手段を備えることを特徴とする請求項1乃至請求項4のいずれか1項に記載のノード。   5. The apparatus according to claim 1, further comprising a return unit configured to return the operation mode to a normal mode when the second transceiver receives a predetermined signal when the operation mode is a sleep mode. The node according to item 1. 前記通信路上で極性の異なる差動信号が衝突することによって前記第2トランシーバの受信信号に生じる欠落部分を補完して受信信号を整形する整形回路を備えることを特徴とする請求項1乃至請求項5のいずれか1項に記載のノード。   2. A shaping circuit that shapes a received signal by complementing a missing portion generated in the received signal of the second transceiver due to a collision of differential signals having different polarities on the communication path. 6. The node according to any one of 5 above.
JP2010163097A 2010-07-20 2010-07-20 node Active JP5565161B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010163097A JP5565161B2 (en) 2010-07-20 2010-07-20 node

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010163097A JP5565161B2 (en) 2010-07-20 2010-07-20 node

Publications (2)

Publication Number Publication Date
JP2012028865A true JP2012028865A (en) 2012-02-09
JP5565161B2 JP5565161B2 (en) 2014-08-06

Family

ID=45781317

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010163097A Active JP5565161B2 (en) 2010-07-20 2010-07-20 node

Country Status (1)

Country Link
JP (1) JP5565161B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015220730A (en) * 2014-05-21 2015-12-07 トヨタ自動車株式会社 Control device
WO2017013829A1 (en) * 2015-07-17 2017-01-26 株式会社デンソー Communication system
WO2018043264A1 (en) * 2016-09-02 2018-03-08 株式会社オートネットワーク技術研究所 Communication system, communication device, relay device, communication integrated circuit (ic), control ic, and communication method
JP2018042232A (en) * 2016-09-02 2018-03-15 株式会社オートネットワーク技術研究所 Communication system, communication device, relay device, communication ic (integrated circuit), control ic, and communication method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01288133A (en) * 1988-05-16 1989-11-20 Mitsubishi Heavy Ind Ltd Signal transmission equipment
JPH02276337A (en) * 1989-01-18 1990-11-13 Mitsubishi Heavy Ind Ltd Polarity settlement control method
JP2006516073A (en) * 2002-10-31 2006-06-15 シーメンス アクチエンゲゼルシヤフト Output unit, receiving unit, apparatus and method for data transmission in an automobile
JP2008042888A (en) * 2006-07-10 2008-02-21 Nissan Motor Co Ltd Telecommunication network system and method of waking up non-wake-up node
JP2008131514A (en) * 2006-11-22 2008-06-05 Denso Corp Communication interference preventing device, node for communication system, communication system, fault diagnostic device for vehicle and on-board device
JP2011044945A (en) * 2009-08-21 2011-03-03 Denso Corp Communication system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01288133A (en) * 1988-05-16 1989-11-20 Mitsubishi Heavy Ind Ltd Signal transmission equipment
JPH02276337A (en) * 1989-01-18 1990-11-13 Mitsubishi Heavy Ind Ltd Polarity settlement control method
JP2006516073A (en) * 2002-10-31 2006-06-15 シーメンス アクチエンゲゼルシヤフト Output unit, receiving unit, apparatus and method for data transmission in an automobile
JP2008042888A (en) * 2006-07-10 2008-02-21 Nissan Motor Co Ltd Telecommunication network system and method of waking up non-wake-up node
JP2008131514A (en) * 2006-11-22 2008-06-05 Denso Corp Communication interference preventing device, node for communication system, communication system, fault diagnostic device for vehicle and on-board device
JP2011044945A (en) * 2009-08-21 2011-03-03 Denso Corp Communication system

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015220730A (en) * 2014-05-21 2015-12-07 トヨタ自動車株式会社 Control device
WO2017013829A1 (en) * 2015-07-17 2017-01-26 株式会社デンソー Communication system
JP2017028398A (en) * 2015-07-17 2017-02-02 株式会社デンソー Communication system
WO2018043264A1 (en) * 2016-09-02 2018-03-08 株式会社オートネットワーク技術研究所 Communication system, communication device, relay device, communication integrated circuit (ic), control ic, and communication method
JP2018042232A (en) * 2016-09-02 2018-03-15 株式会社オートネットワーク技術研究所 Communication system, communication device, relay device, communication ic (integrated circuit), control ic, and communication method
CN109644210A (en) * 2016-09-02 2019-04-16 株式会社自动网络技术研究所 Communication system, communication device, relay, communication IC(integrated circuit), control IC and communication means
US11063968B2 (en) 2016-09-02 2021-07-13 Autonetworks Technologies, Ltd. Communication system, communication device, relay device, communication integrated circuit (IC), control IC, and communication method
CN109644210B (en) * 2016-09-02 2021-08-03 株式会社自动网络技术研究所 Communication system, communication device, relay device, communication IC (integrated circuit), control IC, and communication method

Also Published As

Publication number Publication date
JP5565161B2 (en) 2014-08-06

Similar Documents

Publication Publication Date Title
US9081565B2 (en) Communication network system for detect and wake up a network node that does not properly recognize a wake up frame
EP1879326B1 (en) Communication network system and wakeup method for un-wakeup node
US20090119524A1 (en) Energy Efficient Ethernet Using Active/Idle Toggling
JP2012049885A (en) Transceiver and communication device
US11775045B2 (en) Managing power at a station via a physical layer device and related systems, methods and devices
JP2013542690A (en) Apparatus and method for serial data transmission at high data rates
JP5565161B2 (en) node
KR101515546B1 (en) Electronic control unit for vehicle having high energy efficiency and Network for vehicle
JP5259410B2 (en) Power saving
WO2017208612A1 (en) Ringing suppression circuit
JP2011235770A (en) In-vehicle control device
JP2010206268A (en) Communication system and node
JP5347831B2 (en) Communications system
JP2010245935A (en) Gateway device, slave device, and network system
JP2008107914A (en) Microcomputer, program and electronic control device for vehicle
JP2008102830A (en) Microcomputer, program and electronic control device for vehicle
JPH10233793A (en) Information transmitting system
JP5434833B2 (en) Communication system and node
US20240031181A1 (en) Managing power state at a physical layer
KR101443276B1 (en) Control unit for in-vehicle ethernet and method for controlling therof
JP6198175B2 (en) Communication circuit
JP2019106724A (en) Network controller
WO2022102309A1 (en) Communications device
JP2008254518A (en) On-vehicle communication device
JP5617795B2 (en) Communication system and master node and slave node used in the communication system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20121130

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20131025

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20131029

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20131202

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: 20140520

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140602

R151 Written notification of patent or utility model registration

Ref document number: 5565161

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250