JP2010245935A - Gateway device, slave device, and network system - Google Patents

Gateway device, slave device, and network system Download PDF

Info

Publication number
JP2010245935A
JP2010245935A JP2009093852A JP2009093852A JP2010245935A JP 2010245935 A JP2010245935 A JP 2010245935A JP 2009093852 A JP2009093852 A JP 2009093852A JP 2009093852 A JP2009093852 A JP 2009093852A JP 2010245935 A JP2010245935 A JP 2010245935A
Authority
JP
Japan
Prior art keywords
voltage level
bus
gateway device
communication bus
slave
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.)
Withdrawn
Application number
JP2009093852A
Other languages
Japanese (ja)
Inventor
Kaoru Nomi
薫 野海
Tomoyuki Kato
智幸 嘉藤
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 Ten Ltd
Original Assignee
Denso Ten Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Denso Ten Ltd filed Critical Denso Ten Ltd
Priority to JP2009093852A priority Critical patent/JP2010245935A/en
Publication of JP2010245935A publication Critical patent/JP2010245935A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a gateway device, slave device and network system that consume less power, and to provide a gateway device, slave device and network system that reduce costs. <P>SOLUTION: The gateway device which communicates with the slave device via a communication bus, includes: a bus control unit for controlling a voltage level of the communication bus in accordance with transition from a normal operating state to a standby state; and a determination unit for determining that the voltage level of the communication bus is a voltage level corresponding to the standby state. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、ゲートウェイ装置、スレーブ装置、及びネットワークシステムに関する。   The present invention relates to a gateway device, a slave device, and a network system.

昨今、車両の車載ネットワークとしてCAN(Controller Area Network)プロトコルが注目されつつある(例えば、以下の非特許文献1及び2)。CANは、ISO(International Organization for Standardization)で国際的に標準化されたシリアル通信プロトコルである。   Recently, a CAN (Controller Area Network) protocol is attracting attention as an in-vehicle network of vehicles (for example, Non-Patent Documents 1 and 2 below). CAN is a serial communication protocol internationally standardized by ISO (International Organization for Standardization).

図7はCANプロトコルによる車載ネットワークシステムの一例を示す図である。例えば、1台の車両は3つのネットワークを有し、各々、マスタECU(Electric Control Unit)100‐1〜100‐3と、スレーブECU300‐2〜200‐7とを備える。   FIG. 7 is a diagram showing an example of an in-vehicle network system based on the CAN protocol. For example, one vehicle has three networks, each including a master ECU (Electric Control Unit) 100-1 to 100-3 and a slave ECU 300-2 to 200-7.

各ECU100‐1〜300‐7は、通常動作を行う通常動作状態(またはウェイクアップ)と、消費電力が通常動作状態よりも低い待機状態(またはスリープ)の2つの状態を遷移する。マスタECU100‐1〜100‐3がスレーブECU300‐2〜300‐7にスリープ命令を送信することで、各ECU100‐1〜300‐7は待機状態に遷移する。   Each of the ECUs 100-1 to 300-7 transitions between a normal operation state (or wake-up) in which a normal operation is performed and a standby state (or sleep) in which power consumption is lower than that in the normal operation state. When the master ECUs 100-1 to 100-3 transmit a sleep command to the slave ECUs 300-2 to 300-7, the ECUs 100-1 to 300-7 transition to a standby state.

以下の公開公報には、このようなウェイクアップ及びスリープに関する従来技術が開示される。   The following publications disclose conventional techniques related to such wake-up and sleep.

「CAN入門書」www.renesas.com“CAN Introduction” www.renesas.com 「CANとは?」www.toyo.co.jp/car/CAN/CAN_General.htm“What is CAN?” Www.toyo.co.jp/car/CAN/CAN_General.htm

特開2007‐28376号公報JP 2007-28376 A 特開2005‐45521号公報JP-A-2005-45521 特開2005‐20570号公報Japanese Patent Laying-Open No. 2005-20570 特表2003‐515275号公報Special table 2003-515275 特開平7‐74763号公報JP-A-7-74763 特開平7‐44211号公報Japanese Patent Laid-Open No. 7-44211

しかし、マスタECU100‐1〜100‐3は、スリープ命令を送信した後、各スレーブECU300‐2〜300‐7が確実にスリープしたか否かを判別できない。各ECU100‐1〜300‐7はスリープすると他のECU100‐1〜300‐7と通信できなくなるからからである。   However, the master ECUs 100-1 to 100-3 cannot determine whether or not each slave ECU 300-2 to 300-7 has surely gone to sleep after transmitting the sleep command. This is because each ECU 100-1 to 300-7 cannot communicate with the other ECUs 100-1 to 300-7 when sleeping.

各ECU100‐1〜300‐7のスリープを確実に判別できない場合、例えば車両におけるバッテリの消費電力を確実に抑えることができない。   When the sleep of each ECU 100-1 to 300-7 cannot be reliably determined, for example, the power consumption of the battery in the vehicle cannot be reliably suppressed.

また、上述した特許文献に記載されたものは、スリープやウェイクアップへの動作移行に関するものであり、スリープ状態に遷移後にスリープしたか否かの判別を行うものではない。   Moreover, what was described in the patent document mentioned above is related to operation transition to sleep or wakeup, and does not determine whether or not the user has gone to sleep after transitioning to the sleep state.

さらに、図7に示すように、各ネットワークには各々マスタECU100‐1〜100‐3が配置される。ネットワークが増加するとマスタECU100‐1〜100‐3の数も増加し、その分、コストが増加する。   Further, as shown in FIG. 7, master ECUs 100-1 to 100-3 are arranged in each network. As the number of networks increases, the number of master ECUs 100-1 to 100-3 also increases, and the cost increases accordingly.

そこで、一目的は、消費電力を抑えるゲートウェイ装置、スレーブ装置、及びネットワークシステムを提供することにある。   Accordingly, an object is to provide a gateway device, a slave device, and a network system that reduce power consumption.

また、他の目的は、コスト減少を図るゲートウェイ装置、スレーブ装置、及びネットワークシステムを提供することにある。   Another object is to provide a gateway device, a slave device, and a network system that reduce costs.

一態様によれば、スレーブ装置と通信バスを介して通信を行うゲートウェイ装置において、通常動作状態から待機状態への遷移に応じて前記通信バスの電圧レベルを制御するバス制御部と、前記通信バスの電圧レベルが前記待機状態に対応する前記電圧レベルであることを判定する判定部とを備える。   According to one aspect, in a gateway device that communicates with a slave device via a communication bus, a bus control unit that controls a voltage level of the communication bus according to a transition from a normal operation state to a standby state; and the communication bus And a determination unit that determines that the voltage level is the voltage level corresponding to the standby state.

また、他の態様によれば、ゲートウェイ装置と通信バスを介して通信を行うスレーブ装置において、通常動作状態から待機状態への遷移に応じて前記通信バスの電圧レベルを制御するバス制御部を備える。   According to another aspect, the slave device that communicates with the gateway device via the communication bus includes a bus control unit that controls the voltage level of the communication bus according to the transition from the normal operation state to the standby state. .

さらに、他の態様によれば、ゲートウェイ装置とスレーブ装置とで通信バスを介して通信を行うネットワークシステムにおいて、前記ゲートウェイ装置は、前記通信バスの電圧レベルを制御するゲートウェイ側バス制御部と、前記通信バスの電圧レベルを判定する判定部とを備え、前記スレーブ装置は、前記通信バスの電圧レベルを制御するスレーブ側バス制御部を備える。   Further, according to another aspect, in the network system in which the gateway device and the slave device communicate via the communication bus, the gateway device includes a gateway-side bus control unit that controls a voltage level of the communication bus; A determination unit that determines a voltage level of the communication bus, and the slave device includes a slave-side bus control unit that controls the voltage level of the communication bus.

消費電力を抑えたゲートウェイ装置、スレーブ装置、及びネットワークシステムを提供できる。また、コスト減少を図るゲートウェイ装置、スレーブ装置、及びネットワークシステムを提供できる。   A gateway device, a slave device, and a network system with reduced power consumption can be provided. In addition, it is possible to provide a gateway device, a slave device, and a network system that reduce costs.

図1はネットワークシステムの構成例を示す図である。FIG. 1 is a diagram illustrating a configuration example of a network system. 図2はゲートウェイECUとスレーブECUの構成例を示す図である。FIG. 2 is a diagram illustrating a configuration example of the gateway ECU and the slave ECU. 図3(A)はスリープ状態への遷移処理、同図(B)はスリープ検出処理の各例を示すフローチャートである。FIG. 3A is a flowchart showing each example of the transition process to the sleep state, and FIG. 3B is a flowchart showing each example of the sleep detection process. 図4(A)〜同図(D)は電圧レベルの例を示す図である。4A to 4D are diagrams showing examples of voltage levels. 図5はゲートウェイECUとスレーブECUの他の構成例を示す図である。FIG. 5 is a diagram illustrating another configuration example of the gateway ECU and the slave ECU. 図6はスリープ検出処理の他の例を示すフローチャートである。FIG. 6 is a flowchart showing another example of the sleep detection process. 図7は従来の車載ネットワークシステムの構成例を示す図である。FIG. 7 is a diagram showing a configuration example of a conventional in-vehicle network system.

実施するための最良の形態について、以下図面を参照しながら説明する。図1はネットワークシステム1の構成例を示す図である。   The best mode for carrying out the invention will be described below with reference to the drawings. FIG. 1 is a diagram illustrating a configuration example of the network system 1.

ネットワークシステム1は、ゲートウェイECU(またはマスタECU)10と、スレーブECU30‐1〜30‐6とを備える。ゲートウェイECU10とスレーブECU30‐1〜30‐2とによりネットワークAが構成され、ゲートウェイECU10とスレーブECU30‐3〜30‐4によりネットワークBが構成さ、ゲートウェイECU10とスレーブECU30‐5〜30‐6によりネットワークCが構成される。   The network system 1 includes a gateway ECU (or master ECU) 10 and slave ECUs 30-1 to 30-6. A network A is configured by the gateway ECU 10 and the slave ECUs 30-1 to 30-2, a network B is configured by the gateway ECU 10 and the slave ECUs 30-3 to 30-4, and a network is configured by the gateway ECU 10 and the slave ECUs 30-5 to 30-6. C is configured.

ゲートウェイECU10は、スリープ監視部11と、ネットワークマネージメントマスタ部12とを備える。   The gateway ECU 10 includes a sleep monitoring unit 11 and a network management master unit 12.

スリープ監視部11は、各ネットワークに接続されたスレーブECU30‐1〜30‐6のスリープ状態を監視する。詳細は後述する。   The sleep monitoring unit 11 monitors the sleep state of the slave ECUs 30-1 to 30-6 connected to each network. Details will be described later.

ネットワークマネージメントマスタ部12は、バス電圧変更部(バス制御部)121〜123を備える。バス電圧変更部121〜123は、ゲートウェイECU10がスリープ命令を送信後、スレーブECU30‐1〜30‐6と接続されたバスの電圧を変更する。詳細は後述する。   The network management master unit 12 includes bus voltage changing units (bus control units) 121 to 123. The bus voltage changing units 121 to 123 change the voltage of the bus connected to the slave ECUs 30-1 to 30-6 after the gateway ECU 10 transmits a sleep command. Details will be described later.

スレーブECU30‐1〜30‐6は、各々、バス電圧変更部31‐1〜31‐6を備える。バス電圧変更部31‐1〜31‐6は、スリープ命令を受信後、バスの電圧を変更する。   Each of the slave ECUs 30-1 to 30-6 includes bus voltage changing units 31-1 to 31-6. The bus voltage changing units 31-1 to 31-6 change the voltage of the bus after receiving the sleep command.

図2は、ゲートウェイECU10とスレーブECU30の構成例を示す図である。なお、スレーブECU30は図1のスレーブECU30‐1〜30‐6と同一構成である。   FIG. 2 is a diagram illustrating a configuration example of the gateway ECU 10 and the slave ECU 30. The slave ECU 30 has the same configuration as the slave ECUs 30-1 to 30-6 in FIG.

ゲートウェイECU10は、電源回路13と、汎用マイコン14と、CANトランシーバ15と、レベル判定回路16と、第1及び第2のトランジスタ17,18とを備える。   The gateway ECU 10 includes a power supply circuit 13, a general-purpose microcomputer 14, a CAN transceiver 15, a level determination circuit 16, and first and second transistors 17 and 18.

電源回路13は、汎用マイコン14とCANトランシーバ15等へ電源を供給する。   The power supply circuit 13 supplies power to the general-purpose microcomputer 14 and the CAN transceiver 15.

汎用マイコン14は、CANコントローラ141と一般出力ポート142、及び一般入力ポート143とを備える。   The general-purpose microcomputer 14 includes a CAN controller 141, a general output port 142, and a general input port 143.

CANコントローラ141は、スリープ命令やウェイクアップ命令等のCAN通信に関する種々の命令を送受信する。   The CAN controller 141 transmits and receives various commands related to CAN communication such as a sleep command and a wake-up command.

一般出力ポート142は、第1及び第2のトランジスタ17,18と接続されて、CANトランシーバ15がスリープ命令を他のスレーブECU30に送信するとき、スリープ命令に対応するCANトランシーバ15からの出力に基づき、第1及び第2のトランジスタ17,18の電圧をオフにさせる。これにより、CANトランシーバ15のバス51,52への接続がオフになる。   The general output port 142 is connected to the first and second transistors 17 and 18, and when the CAN transceiver 15 transmits a sleep command to another slave ECU 30, the general output port 142 is based on an output from the CAN transceiver 15 corresponding to the sleep command. The voltages of the first and second transistors 17 and 18 are turned off. As a result, the connection of the CAN transceiver 15 to the buses 51 and 52 is turned off.

一般入力ポート143は、レベル判定回路16と接続され、レベル判定回路16からの出力を受信し、例えばその出力に基づいて他のECU30がスリープしたか否かを判定する。   The general input port 143 is connected to the level determination circuit 16, receives an output from the level determination circuit 16, and determines, for example, whether another ECU 30 has gone to sleep based on the output.

CANトランシーバ15は、他のスレーブECU30のCANトランシーバ33と接続され、CANコントローラ141からの命令を他のCANトランシーバ33に送信する。   The CAN transceiver 15 is connected to the CAN transceiver 33 of another slave ECU 30, and transmits a command from the CAN controller 141 to the other CAN transceiver 33.

レベル判定回路16は、バス51,52に接続され、バス51,52の電圧レベルを判定する。   The level determination circuit 16 is connected to the buses 51 and 52 and determines the voltage level of the buses 51 and 52.

第1及び第2のトランジスタ17,18はバス51,52間に接続されるとともに一般出力ポート142に接続される。   The first and second transistors 17 and 18 are connected between the buses 51 and 52 and connected to the general output port 142.

図1のバス電圧変更部121〜123が図2の一般出力ポート142、第1及び第2のトランジスタ17,18に対応し、図1のスリープ監視部11が図2の一般入力ポート143とレベル判定回路16に対応し、図2のCANコントローラ141とCANトランシーバ15がネットワークマネージメントマスタ部12に含まれる。   1 corresponds to the general output port 142 and the first and second transistors 17 and 18 in FIG. 2, and the sleep monitoring unit 11 in FIG. 1 corresponds to the level of the general input port 143 in FIG. Corresponding to the determination circuit 16, the CAN controller 141 and the CAN transceiver 15 of FIG. 2 are included in the network management master unit 12.

スレーブECU30は、ゲートウェイECU10と同様に、汎用マイコン32と、CANトランシーバ33と、レベル判定回路34と、第3及び第4のトランジスタ35,36、及び電源回路37を備える。   Similar to the gateway ECU 10, the slave ECU 30 includes a general-purpose microcomputer 32, a CAN transceiver 33, a level determination circuit 34, third and fourth transistors 35 and 36, and a power supply circuit 37.

汎用マイコン32は、CANコントローラ321と、一般出力ポート322と、一般入力ポート323を備える。   The general-purpose microcomputer 32 includes a CAN controller 321, a general output port 322, and a general input port 323.

CANコントローラ321は、CANトランシーバ33を介して、ゲートウェイECU10に対してスリープ命令等の命令を送受信する。   The CAN controller 321 transmits / receives a command such as a sleep command to / from the gateway ECU 10 via the CAN transceiver 33.

一般出力ポート322は、CANトランシーバ33がゲートウェイECU10のCANトランシーバ15からのスリープ命令に対応する出力を受信したとき、その出力に基づいて第3及び第4のトランジスタ35,36の電圧をオフにさせる。   When the CAN transceiver 33 receives an output corresponding to the sleep command from the CAN transceiver 15 of the gateway ECU 10, the general output port 322 turns off the voltages of the third and fourth transistors 35 and 36 based on the output. .

レベル判定回路34は、バス51,52に接続され、バス51,52の電圧レベルを判定する。   The level determination circuit 34 is connected to the buses 51 and 52 and determines the voltage level of the buses 51 and 52.

図1のバス電圧変更部31‐1〜31‐6が図2の一般出力ポート322と第3及び第4のトランジスタ35,36に対応する。   The bus voltage changing units 31-1 to 31-6 in FIG. 1 correspond to the general output port 322 and the third and fourth transistors 35 and 36 in FIG.

次に動作について説明する。図3(A)はウェイクアップ状態(通常動作状態)からスリープ状態(待機状態)に遷移するときの処理の例を示すフローチャートである。ゲートウェイECU10及びスレーブECU30で実行される処理である。   Next, the operation will be described. FIG. 3A is a flowchart illustrating an example of processing when transitioning from a wake-up state (normal operation state) to a sleep state (standby state). This process is executed by the gateway ECU 10 and the slave ECU 30.

同図(A)に示すように、処理が開始されると(S10)、ゲートウェイECU10またはスレーブECU30は、スリープ命令を送信するか否か判断する(S11)。例えば、ゲートウェイECU10等は、車両のイグニッションスイッチがオフにされ、キーレスでドアロックされたことを検出したとき、スリープ命令を送信する。   As shown in FIG. 5A, when the process is started (S10), the gateway ECU 10 or the slave ECU 30 determines whether or not to transmit a sleep command (S11). For example, the gateway ECU 10 or the like transmits a sleep command when detecting that the ignition switch of the vehicle is turned off and the door is locked keylessly.

スリープ命令を送信するとき(S11でYes)、CANコントローラ141,321は他のECU30,10にスリープ命令を送信する。   When transmitting the sleep command (Yes in S11), the CAN controllers 141 and 321 transmit the sleep command to the other ECUs 30 and 10.

次いで、ゲートウェイECU10またはスレーブECU30は一般出力ポート142,322の出力を許可し(S12)、一般出力ポート142,322はバス51,52の電圧レベルを例えばゼロにする(S13)。   Next, the gateway ECU 10 or the slave ECU 30 permits the output of the general output ports 142 and 322 (S12), and the general output ports 142 and 322 set the voltage levels of the buses 51 and 52 to, for example, zero (S13).

そして、一連の処理を終了させる(S14)。   Then, a series of processing is terminated (S14).

図3(B)はスリープ状態の検出処理の例を示すフローチャートである。ゲートウェイECU10で実行される処理である。例えば、スリープ命令が送信された後で実行される。   FIG. 3B is a flowchart illustrating an example of sleep state detection processing. This is a process executed by the gateway ECU 10. For example, it is executed after a sleep command is transmitted.

処理が開始されると(S20)、レベル判定回路16は電圧レベルが閾値以下か否かを判断する(S21)。各ECU10,30がスリープ状態に遷移すると、バス51,52の電圧レベルが例えば「0」Vになる。   When the process is started (S20), the level determination circuit 16 determines whether or not the voltage level is equal to or lower than a threshold value (S21). When each ECU 10, 30 transitions to the sleep state, the voltage level of the buses 51, 52 becomes, for example, “0” V.

図4(A)〜同図(D)は電圧レベルの例を示す図である。同図(A)は各ECU10,30が通信状態(通常動作状態)におけるバス51,52の電圧レベルの例を示す図である。例えば、2.5V近辺で推移する。また、同じ通常動作状態でも通信していないアイドル状態のときも同図(B)に示すように一定レベル(例えば、2.5V)で推移する。   4A to 4D are diagrams showing examples of voltage levels. FIG. 4A is a diagram showing an example of voltage levels of the buses 51 and 52 when the ECUs 10 and 30 are in a communication state (normal operation state). For example, it changes around 2.5V. Further, even in the idle state where communication is not performed even in the same normal operation state, the level changes at a constant level (for example, 2.5 V) as shown in FIG.

一方、全ECUがスリープ状態となったとき、同図(C)に示すように0V付近の電圧レベルとなる。ところが、例えばゲートウェイECU10がスリープ命令を送信したにも拘わらずスレーブECU30等がスリープ状態に遷移しないとき、同図(D)に示すようにアイドル状態と同様の電圧レベルで推移する。   On the other hand, when all the ECUs are in the sleep state, the voltage level is around 0 V as shown in FIG. However, for example, when the gateway ECU 10 transmits a sleep command and the slave ECU 30 or the like does not transition to the sleep state, the transition is made at the same voltage level as in the idle state as shown in FIG.

よって、スリープ状態に遷移したときの電圧レベルを閾値として、レベル判定回路16がスリープ命令送信後にバス51,52の電圧レベルを測定し、一般入力ポート143はその電圧が閾値以下のとき(S21)、全ECU10,30のスリープ状態への移行が完了したと判断する(S22)。そして、一連の処理が終了する(S23)。   Therefore, the level determination circuit 16 measures the voltage level of the buses 51 and 52 after transmitting the sleep command, with the voltage level when the sleep state is changed to the threshold value, and the general input port 143 has the voltage equal to or lower than the threshold value (S21). Then, it is determined that the transition of all the ECUs 10 and 30 to the sleep state has been completed (S22). Then, a series of processing ends (S23).

閾値以下でないとき(S21でNo)、閾値以下となるまで処理が繰り返される。   When it is not less than the threshold value (No in S21), the process is repeated until it becomes less than the threshold value.

ここで閾値の設定は、例えば、未スリープ状態のとき(図4(D)の電圧レベルより低い値でもよい。スリープ状態であることを確実に検出できる電圧レベルであればどのような閾値でも実行できる。   Here, for example, the threshold value may be set to a value lower than the voltage level in the non-sleep state (FIG. 4D). Any threshold value can be used as long as the voltage level can reliably detect the sleep state. it can.

このように、本ネットワークシステム1は、各ECU10,30がスリープ命令を送信した後、バス電圧変更部121〜123によりバス51,52の電圧を一定レベル(例えば、0V)にし、スリープ監視部11によりバス51,52の電圧レベルが一定レベルとなったか否かを監視することで確実に全ECU10,30がスリープ状態に遷移したか否かを検出できる。したがって、スリープ状態に移行したことを検出できれば、消費電力を確実に削減できる。   As described above, in the present network system 1, after each ECU 10, 30 transmits a sleep command, the bus voltage changing units 121 to 123 set the voltages of the buses 51, 52 to a certain level (for example, 0 V), and the sleep monitoring unit 11. By monitoring whether or not the voltage levels of the buses 51 and 52 have reached a certain level, it is possible to reliably detect whether or not all the ECUs 10 and 30 have transitioned to the sleep state. Therefore, if it can be detected that the state has shifted to the sleep state, the power consumption can be reliably reduced.

また、図1に示すように、ゲートウェイECU10は1個のECUであるため、ネットワーク毎に複数のゲートウェイECUを備える場合と比較して、コスト減少を図ることができる。   Further, as shown in FIG. 1, the gateway ECU 10 is a single ECU, so that the cost can be reduced as compared with the case where a plurality of gateway ECUs are provided for each network.

次に他の実施例を説明する。図5はゲートウェイECU10とスレーブECU30の構成例、図6はスレーブ状態への遷移処理の例を示すフローチャートである。なお、全体のネットワークシステム1は上述した例と同様に図1に示される。   Next, another embodiment will be described. FIG. 5 is a configuration example of the gateway ECU 10 and the slave ECU 30, and FIG. 6 is a flowchart showing an example of the transition process to the slave state. The entire network system 1 is shown in FIG. 1 as in the above example.

ゲートウェイECU10は、第5のトランジスタ19をさらに備える。第5のトランジスタ19は電源回路13とCANトランシーバ15との間に接続され、さらに一般出力ポート142に接続される。   The gateway ECU 10 further includes a fifth transistor 19. The fifth transistor 19 is connected between the power supply circuit 13 and the CAN transceiver 15 and further connected to the general output port 142.

一般出力ポート142は、CANトランシーバ15からスリープ命令に対応する出力を検出すると、第5のトランジスタ19の電圧をオフにする。CANトランシーバ15は、電源回路13から電源が供給されずに、バス51,52の電圧レベルは例えば0Vになる。   When the general output port 142 detects an output corresponding to the sleep command from the CAN transceiver 15, the general output port 142 turns off the voltage of the fifth transistor 19. The CAN transceiver 15 is not supplied with power from the power supply circuit 13, and the voltage levels of the buses 51 and 52 become, for example, 0V.

スレーブECU30も同様に、第6のトランジスタ38を備える。一般出力ポート322は、例えばCANトランシーバ33からスリープ命令に対応する入力を検出すると、第6のトランジスタ38の電圧をオフにする。同様にバス51,52の電圧レベルは例えば0Vになる。   Similarly, the slave ECU 30 includes a sixth transistor 38. For example, when the general output port 322 detects an input corresponding to the sleep command from the CAN transceiver 33, the general output port 322 turns off the voltage of the sixth transistor 38. Similarly, the voltage level of the buses 51 and 52 is, for example, 0V.

図6はかかる動作の例を示すフローチャートである。処理が開始されると(S30)、ゲートウェイECU10又はスレーブECU30はスリープ命令を送信し(S31でYes)、一般出力ポート142,322の出力を許可する(S32)。   FIG. 6 is a flowchart showing an example of such an operation. When the process is started (S30), the gateway ECU 10 or the slave ECU 30 transmits a sleep command (Yes in S31), and permits the output of the general output ports 142 and 322 (S32).

次いで、一般出力ポート412,322は第5又は第6のトランジスタ19,38の電圧をオフにすることで、CANトランシーバ15,33の電源をカットする(S33)。そして、バス51,52の電圧レベルがゼロになり(S34)、スリープ状態に遷移する(S35)。   Next, the general output ports 412 and 322 cut off the power of the CAN transceivers 15 and 33 by turning off the voltage of the fifth or sixth transistors 19 and 38 (S33). Then, the voltage levels of the buses 51 and 52 become zero (S34), and a transition is made to the sleep state (S35).

スリープ状態の検出は、上述した例と同様であり図3(A)にその例を示す。レベル判定回路16はスリープ状態に遷移後、バス51,52の電圧レベルが閾値以下のとき(S21でYes)、全ECU10,30がスリープ状態に遷移したことを確実に検出できる(S22)。   The detection of the sleep state is similar to the above-described example, and FIG. After the transition to the sleep state, the level determination circuit 16 can reliably detect that all the ECUs 10 and 30 have transitioned to the sleep state when the voltage levels of the buses 51 and 52 are equal to or lower than the threshold (Yes in S21) (S22).

したがって、本例においても消費電力を確実に削減できる。また、図1に示すように1個のゲートウェイECU10によりネットワークシステム1が構成できるため、コストの削減を図ることもできる。   Therefore, also in this example, power consumption can be reliably reduced. Moreover, since the network system 1 can be comprised by one gateway ECU10 as shown in FIG. 1, cost reduction can also be aimed at.

なお、スリープ状態から通常動作状態へ遷移するには例えば以下の動作を行う。   For example, the following operation is performed to transition from the sleep state to the normal operation state.

すなわち、CANコントローラ141,321は、通常動作状態に遷移するとき、かかる状態に遷移するためのウェイクアップ命令を、各ECU10,30に送信する。このとき、一般出力ポート142は第1及び第2のトランジスタ17,18の電圧をオンにし、CANトランシーバ15をバス51,52に接続させるようにする。これにより、ウェイクアップ命令がスレーブECU30に送信できるようになる。   That is, when the CAN controllers 141 and 321 change to the normal operation state, the CAN controllers 141 and 321 transmit a wake-up command for changing to such a state to each of the ECUs 10 and 30. At this time, the general output port 142 turns on the voltages of the first and second transistors 17 and 18 to connect the CAN transceiver 15 to the buses 51 and 52. Thereby, a wake-up command can be transmitted to the slave ECU 30.

また、ウェイクアップ命令を受信したスレーブECU30は、ウェイクアップ命令がCANコントローラ33で受信されると、一般出力ポート322は第3及び第4のトランジスタをオンにし、CANトランシーバ33をバス51,52に接続させる。   In addition, when the wake-up command is received by the CAN controller 33, the slave ECU 30 that has received the wake-up command turns on the third and fourth transistors of the general output port 322 and puts the CAN transceiver 33 into the buses 51 and 52. Connect.

上述したいずれの例も、CAN通信による例で説明した。通信バスにおいて中間電位をもつものであれば、例えばLIN(Local Interconnect Network)やFlexRAY(DAIMLERの登録商標)等の通信プロトコルでも実施できる。   All of the above-described examples have been described using CAN communication. As long as the communication bus has an intermediate potential, it can be implemented by a communication protocol such as LIN (Local Interconnect Network) or FlexRAY (registered trademark of DAIMLER).

また、上述した例では、一般出力ポート142,322はCANトランシーバ15,33の外部に配置されていたが、一般出力ポート142,322はCANトランシーバ15,33に内蔵されてもよい。すなわち、トランジスタ17等の電圧レベルをオフにさせる機能がCANトランシーバ33に配置されてもよい。   In the above-described example, the general output ports 142 and 322 are arranged outside the CAN transceivers 15 and 33. However, the general output ports 142 and 322 may be built in the CAN transceivers 15 and 33. In other words, the CAN transceiver 33 may have a function of turning off the voltage level of the transistor 17 or the like.

1 ネットワークシステム、 10 ゲートウェイECU(マスタECU)、 11 スリープ監視部、 12 ネットワークマネージメントマスタ部、 13 電源回路、 14 汎用マイコン、 15 CANトランシーバ、 17 第1のトランジスタ、 18 第2のトランジスタ、 19 第5のトランジスタ、 30(30‐1〜30‐6) スレーブECU、 31‐1〜31‐6 バス電圧変更部、 32 汎用マイコン、 33 CANトランシーバ、 34 レベル判定回路、 35 第3のトランジスタ、 36 第4のトランジスタ、 37 電源回路、 38 第6のトランジスタ、 51,52 バス、 121〜123 バス電圧変更部、 141 CANコントローラ、 142 一般出力ポート、 143 一般入力ポート、 321 CANコントローラ、 322 一般出力ポート、 323 一般入力ポート DESCRIPTION OF SYMBOLS 1 Network system, 10 Gateway ECU (master ECU), 11 Sleep monitoring part, 12 Network management master part, 13 Power supply circuit, 14 General-purpose microcomputer, 15 CAN transceiver, 17 1st transistor, 18 2nd transistor, 19 5th 30 (30-1 to 30-6) slave ECU, 31-1 to 31-6 bus voltage changing unit, 32 general-purpose microcomputer, 33 CAN transceiver, 34 level determination circuit, 35 third transistor, 36 fourth Transistor, 37 power supply circuit, 38 sixth transistor, 51, 52 bus, 121-123 bus voltage changing unit, 141 CAN controller, 142 general output port, 143 general input port, 321 C N controllers, 322 general output port, 323 general input port

Claims (12)

スレーブ装置と通信バスを介して通信を行うゲートウェイ装置において、
通常動作状態から待機状態への遷移に応じて前記通信バスの電圧レベルを制御するバス制御部と、
前記通信バスの電圧レベルが前記待機状態に対応する前記電圧レベルであることを判定する判定部とを備えることを特徴とするゲートウェイ装置。
In a gateway device that communicates with a slave device via a communication bus,
A bus control unit that controls a voltage level of the communication bus in response to a transition from a normal operation state to a standby state;
And a determination unit that determines that the voltage level of the communication bus is the voltage level corresponding to the standby state.
前記通信バスはCAN(Controller Area Network)プロトコルによる通信を利用したバスであることを特徴とする請求項1記載のゲートウェイ装置。   The gateway device according to claim 1, wherein the communication bus is a bus using communication by a CAN (Controller Area Network) protocol. 前記バス制御部は、前記通信バスの接続をオンまたはオフにすることで前記電圧レベルを制御することを特徴とする請求項1記載ゲートウェイ装置。   The gateway device according to claim 1, wherein the bus control unit controls the voltage level by turning on or off the connection of the communication bus. さらに、前記ゲートウェイ装置から送信される命令に応じた出力電圧を出力するトランシーバ部を備え、
前記バス制御部は、前記トランシーバ部の電源をオンまたはオフにすることで前記電圧レベルを制御することを特徴とする請求項1記載のゲートウェイ装置。
Furthermore, a transceiver unit that outputs an output voltage corresponding to a command transmitted from the gateway device is provided,
The gateway device according to claim 1, wherein the bus control unit controls the voltage level by turning on or off a power supply of the transceiver unit.
前記バス制御部は、前記通信バスの接続をオフにすることで前記遷移状態に応じた前記電圧レベルに制御することを特徴とする請求項3記載のゲートウェイ装置。   The gateway device according to claim 3, wherein the bus control unit controls the voltage level according to the transition state by turning off the connection of the communication bus. 前記バス制御部は、前記トランシーバ部の電源をオフにすることで前記遷移状態に応じた前記電圧レベルに制御することを特徴とする請求項4記載のゲートウェイ装置。   5. The gateway device according to claim 4, wherein the bus control unit controls the voltage level according to the transition state by turning off the power of the transceiver unit. 前記通信バスは、LIN(Local Interconnect Network)またはFrexRayによる通信プロトコルを利用したバスであることを特徴とする請求項1記載のゲートウェイ装置。   2. The gateway device according to claim 1, wherein the communication bus is a bus using a communication protocol based on LIN (Local Interconnect Network) or FlexRay. さらに、前記ゲートウェイ装置から送信される命令に応じた出力電圧を出力するトランシーバ部を備え、
前記バス制御部は前記トランシーバ部に含まれることを特徴とする請求項3または5に記載のゲートウェイ装置。
Furthermore, a transceiver unit that outputs an output voltage corresponding to a command transmitted from the gateway device is provided,
The gateway device according to claim 3, wherein the bus control unit is included in the transceiver unit.
前記バス制御部は前記トランシーバ部に含まれることを特徴とする請求項4または6に記載のゲートウェイ装置。   The gateway device according to claim 4, wherein the bus control unit is included in the transceiver unit. ゲートウェイ装置と通信バスを介して通信を行うスレーブ装置において、
通常動作状態から待機状態への遷移に応じて前記通信バスの電圧レベルを制御するバス制御部を備えることを特徴とするスレーブ装置。
In the slave device that communicates with the gateway device via the communication bus,
A slave device comprising a bus control unit that controls a voltage level of the communication bus according to a transition from a normal operation state to a standby state.
ゲートウェイ装置とスレーブ装置とで通信バスを介して通信を行うネットワークシステムにおいて、
前記ゲートウェイ装置は、前記通信バスの電圧レベルを制御するゲートウェイ側バス制御部と、前記通信バスの電圧レベルを判定する判定部とを備え、
前記スレーブ装置は、前記通信バスの電圧レベルを制御するスレーブ側バス制御部を備えることを特徴とするネットワークシステム。
In a network system in which a gateway device and a slave device communicate via a communication bus,
The gateway device includes a gateway-side bus control unit that controls the voltage level of the communication bus, and a determination unit that determines the voltage level of the communication bus.
The network system, wherein the slave device includes a slave-side bus control unit that controls a voltage level of the communication bus.
前記ゲートウェイ側バス制御部とスレーブ側バス制御部は、通常動作状態から待機状態への遷移に応じて前記通信バスの電圧レベルを制御し、
前記判定部は、前記通信バスの電圧レベルが前記待機状態に対応する前記通信バスの電圧レベルであることを判定することを特徴とする請求項11記載のネットワークシステム。
The gateway-side bus control unit and the slave-side bus control unit control the voltage level of the communication bus according to the transition from the normal operation state to the standby state,
12. The network system according to claim 11, wherein the determination unit determines that the voltage level of the communication bus is a voltage level of the communication bus corresponding to the standby state.
JP2009093852A 2009-04-08 2009-04-08 Gateway device, slave device, and network system Withdrawn JP2010245935A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009093852A JP2010245935A (en) 2009-04-08 2009-04-08 Gateway device, slave device, and network system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009093852A JP2010245935A (en) 2009-04-08 2009-04-08 Gateway device, slave device, and network system

Publications (1)

Publication Number Publication Date
JP2010245935A true JP2010245935A (en) 2010-10-28

Family

ID=43098454

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009093852A Withdrawn JP2010245935A (en) 2009-04-08 2009-04-08 Gateway device, slave device, and network system

Country Status (1)

Country Link
JP (1) JP2010245935A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014083917A (en) * 2012-10-22 2014-05-12 Denso Corp Battery condition monitoring system for vehicle
JP2015048026A (en) * 2013-09-04 2015-03-16 株式会社デンソー Electronic control device
JP2015156060A (en) * 2014-02-19 2015-08-27 トヨタ自動車株式会社 gateway device
US9166910B2 (en) 2013-02-26 2015-10-20 Denso Corporation Data relay apparatus
CN107681707A (en) * 2016-10-17 2018-02-09 深圳市东方之星电源有限公司 A kind of automobile and automobile power supply system dormancy control circuit
JP2018121220A (en) * 2017-01-25 2018-08-02 トヨタ自動車株式会社 In-vehicle network system
CN109703370A (en) * 2019-02-19 2019-05-03 北京理工大学 The believable network control power platform system and its control method of electric car
JP2021166076A (en) * 2020-11-30 2021-10-14 ベイジン バイドゥ ネットコム サイエンス テクノロジー カンパニー リミテッドBeijing Baidu Netcom Science Technology Co., Ltd. Sleep control method of on-vehicle computing platform, device, apparatus and readable storage medium

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014083917A (en) * 2012-10-22 2014-05-12 Denso Corp Battery condition monitoring system for vehicle
US9166910B2 (en) 2013-02-26 2015-10-20 Denso Corporation Data relay apparatus
JP2015048026A (en) * 2013-09-04 2015-03-16 株式会社デンソー Electronic control device
JP2015156060A (en) * 2014-02-19 2015-08-27 トヨタ自動車株式会社 gateway device
CN107681707A (en) * 2016-10-17 2018-02-09 深圳市东方之星电源有限公司 A kind of automobile and automobile power supply system dormancy control circuit
JP2018121220A (en) * 2017-01-25 2018-08-02 トヨタ自動車株式会社 In-vehicle network system
US11228602B2 (en) 2017-01-25 2022-01-18 Toyota Jidosha Kabushiki Kaisha In-vehicle network system
CN109703370A (en) * 2019-02-19 2019-05-03 北京理工大学 The believable network control power platform system and its control method of electric car
JP2021166076A (en) * 2020-11-30 2021-10-14 ベイジン バイドゥ ネットコム サイエンス テクノロジー カンパニー リミテッドBeijing Baidu Netcom Science Technology Co., Ltd. Sleep control method of on-vehicle computing platform, device, apparatus and readable storage medium
JP7192047B2 (en) 2020-11-30 2022-12-19 ベイジン バイドゥ ネットコム サイエンス テクノロジー カンパニー リミテッド Dormant control method, device, device and readable storage medium for in-vehicle computing platform

Similar Documents

Publication Publication Date Title
JP2010245935A (en) Gateway device, slave device, and network system
US9112721B2 (en) System and methods for enabling a controller area network (CAN) device to operate in different power modes based upon the payload of a wake-up message
US9081565B2 (en) Communication network system for detect and wake up a network node that does not properly recognize a wake up frame
US11775045B2 (en) Managing power at a station via a physical layer device and related systems, methods and devices
JP6187339B2 (en) Communication system and relay device
KR102292827B1 (en) Operation method of communication node in network
JP2012049885A (en) Transceiver and communication device
US9588562B2 (en) Method for waking up a distant device from a local device without waking up a physical layer unit in the distant device
US9411609B2 (en) Electronic control apparatus
JP2011235770A (en) In-vehicle control device
JP2015199444A (en) Electronic control device
TW201445894A (en) Multi-current harmonized paths for low power local interconnect network (LIN) receiver
US20200264945A1 (en) System monitor
JP4866214B2 (en) Control unit and in-vehicle multiple communication system
JP2010206268A (en) Communication system and node
US20240031181A1 (en) Managing power state at a physical layer
JP4871924B2 (en) Network equipment
US9434331B2 (en) Automotive electronic system and power supply method thereof
JP6198175B2 (en) Communication circuit
CN103532724A (en) MOST network interface circuit and MOST network state control method
JP5120720B2 (en) Electronic control device and control method of electronic control device
JP2008283492A (en) Gateway device, and on-vehicle communication system
JP5195943B2 (en) Electronic control unit
JP2009124480A (en) Onboard gateway and vehicle communication system
JP5434833B2 (en) Communication system and node

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20120703