JP4698632B2 - Gateway device and control method thereof - Google Patents
Gateway device and control method thereof Download PDFInfo
- Publication number
- JP4698632B2 JP4698632B2 JP2007104659A JP2007104659A JP4698632B2 JP 4698632 B2 JP4698632 B2 JP 4698632B2 JP 2007104659 A JP2007104659 A JP 2007104659A JP 2007104659 A JP2007104659 A JP 2007104659A JP 4698632 B2 JP4698632 B2 JP 4698632B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- driver circuit
- data transmission
- control unit
- power supply
- 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.)
- Expired - Fee Related
Links
Images
Description
本発明は、複数のネットワークバス間のデータ通信を中継するゲートウェイ装置及びその制御方法に関し、特に、前記ネットワークバスごとに設けられ、それぞれに接続されるネットワークバスとのデータ送受信を行う複数のドライバ回路と、前記ドライバ回路を介して前記ネットワークバス間のデータ送受信を中継する制御部とを有するゲートウェイ装置及びその制御方法に関する。 The present invention relates to a gateway device that relays data communication between a plurality of network buses and a control method therefor, and in particular, a plurality of driver circuits that are provided for each network bus and perform data transmission / reception with the network buses connected thereto. And a control method for relaying data transmission / reception between the network buses via the driver circuit and a control method therefor.
近年、自動車等の車両には、車両の動作を電子制御するための各種センサや電子制御装置(ECU:Electronic Control Unit)が搭載される。これらの電子機器は、車載LAN(Local Area Network)により接続されることで互いに車両状態や制御量などのデータを送受信し、連係して各種アクチュエータの動作を制御する。 2. Description of the Related Art In recent years, vehicles such as automobiles are equipped with various sensors and electronic control units (ECUs) for electronically controlling the operation of the vehicle. These electronic devices are connected by an in-vehicle LAN (Local Area Network) to transmit / receive data such as a vehicle state and a control amount to each other, and cooperate to control operations of various actuators.
このような車載LANは制御対象ごとに種々の系があり、それぞれの系ごとのネットワークバスに各種センサやECUが接続される。例えば、パワートレイン系のネットワークバスにはエンジン制御ECUやトランスミッションECUなどが接続される。また、ボディ系のネットワークバスにはエアコン、パワーウインドウ、ドアセキュリティECUなどが接続される。さらに、安全系のネットワークバスには、追従走行制御ECUやエアバッグ制御ECUなどが接続される。そして、これらの系ごとのネットワークバスでは、それぞれの制御に要求される仕様に適した通信プロトコルが採用される。よって、異なる系のネットワークバス間では、ゲートウェイ装置がデータ通信を中継することにより相互にデータが共有される。図1は、かかるゲートウェイ装置の一般的な構成を説明する図である。 Such an in-vehicle LAN has various systems for each control target, and various sensors and ECUs are connected to a network bus for each system. For example, an engine control ECU, a transmission ECU, and the like are connected to a powertrain network bus. The body network bus is connected to an air conditioner, a power window, a door security ECU, and the like. Furthermore, a follow-up travel control ECU, an airbag control ECU, and the like are connected to the safety network bus. The network bus for each system employs a communication protocol suitable for the specifications required for each control. Therefore, between the network buses of different systems, the gateway device relays data communication so that data is shared with each other. FIG. 1 is a diagram illustrating a general configuration of such a gateway device.
図1には、それぞれ異なるネットワークバスと接続され、各ネットワークバスとのデータ通信を行うドライバ回路16、18、20を有するゲートウェイ装置1が例として示される。そして、ネットワークバス相互のデータ通信は、ドライバ回路を介して制御部14により中継される。また、ドライバ回路16〜20、及び制御部14が消費する電力は、レギュレータ回路12により供給される。レギュレータ回路12は、常時電源ラインS1によりバッテリ2から電力供給を受けられるよう構成される。これにより、レギュレータ回路12は、制御部14やドライバ回路16〜20にデータ通信に必要な電力を定電圧化して供給することができる。
FIG. 1 shows, as an example, a
また、制御部14は、イグニションスイッチ3のオン・オフ信号を信号ラインS2を介して取得し、イグニションスイッチ3がオフのときはバッテリ2の消耗を防ぐためにスリープ状態に入る。そして、制御部14はスリープ中にデータ通信の中継が必要なときはドライバ回路16〜20からのウェイクアップ信号により起動し、データ通信の中継を行う。また、イグニションスイッチ3がオンされると、制御部14は起動してデータ通信の中継に対しスタンバイ状態となり、ネットワークバス間でのデータ通信が発生するたびに、そのデータ通信の中継を行う。
In addition, the
ところで、このようなネットワークバス間のデータ通信に不可欠なゲートウェイ装置1には、電力供給異常時のフェールセーフ機能が必須となる。電力供給異常時のフェールセーフ機能を備えたシステムの例として、複数の電源ラインを有し、主電源ラインに異常が生じたときに副電源ラインを用いるシステムが特許文献1(例えば、段落0027)に記載されている。
By the way, the
この点、従来のゲートウェイ装置1においては、電源ラインS1の断線時にレギュレータ回路12に電力供給可能なバックアップ用の電源ラインを備えることは回路規模の増大につながり、コスト高を招いてしまう。よって、イグニションスイッチ3のオン・オフ信号を取得する信号ラインS2を電源ラインとしてレギュレータ回路12に引き込む提案がされている。これにより、レギュレータ回路12はイグニションスイッチ3がオフのときは電源ラインS1から、イグニションスイッチ3がオンのときは電源ラインS1とS2の両方から電力供給を受けることが可能となる。そして、電源ラインS1が断線したときには、イグニションスイッチ3がオンされることにより信号ラインS2がバックアップの電源ラインS2として機能する。
しかしながら、上記構成の従来のゲートウェイ装置1は、次のような問題を有する。近年では車両に搭載される電子機器が増加しており、そのためゲートウェイ装置が中継するネットワークバスの数も増加する傾向にある。このため、ゲートウェイ装置1に備えられるドライバ回路の数、つまりレギュレータ回路12にとっての電気負荷が増加する傾向にある。
However, the
ここで、ゲートウェイ装置1においては、電源ラインS1にはバッテリ2が逆接された場合に電流が逆流しないようにダイオードD1が設けられ、電源ラインS2には同じ目的のダイオードD2が設けられる。さらに、電源ラインS1とS2との間には、電源ラインS1の側から制御部14へ電流が逆流することを防止するためのダイオードD3が設けられる。すると、レギュレータ回路12の電気負荷が増加した状態で電源ラインS1が断線した場合には、レギュレータ回路12への電力供給は電源ラインS2からなされるため、電源ラインS2を流れる電流が増加する。すなわち、ダイオードD2、D3を流れる電流が増加するので、その負荷に耐えうるような定格電流が大きいダイオードが必要となる。ところが、そうすることにより、回路規模の増大を招き、コスト高となってしまう。
Here, in the
そこで、本発明の目的は、接続するネットワークバスが増加する場合であっても、回路規模を増大させずにバックアップ用電源ラインを確保でき、これにより動作可能なゲートウェイ装置及びその制御方法を提供することにある。 SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to provide a gateway device that can secure a backup power supply line without increasing the circuit scale even when the number of network buses to be connected increases, and a control method thereof. There is.
上記の目的を達成するために、本発明の第1の側面によれば、車両に搭載された複数のネットワークバス間のデータ通信を中継するゲートウェイ装置において、前記ネットワークバスごとに設けられ、それぞれ接続されるネットワークバスとデータ送信または受信を行う複数のドライバ回路と、前記ネットワークバス間で送信されるデータを、当該データの送信元のネットワークバスと接続されるドライバ回路から受信し、当該データの送信先のネットワークバスと接続されるドライバ回路に当該データを送信させる制御部と、前記車両のイグニションのオン・オフにかかわらず電源と接続される第1の電源ライン、または前記イグニションのオンのときに電源と接続される第2の電源ラインから電力供給を受け、前記データ送信を行うドライバ回路に電力を供給するレギュレータ回路とを有し、前記制御部は、前記第1の電源ラインが電力供給できないときであって前記イグニションがオンのときは、少なくとも1つの前記ドライバ回路のデータ送信を禁止することを特徴とする。 In order to achieve the above object, according to a first aspect of the present invention, in a gateway device that relays data communication between a plurality of network buses mounted on a vehicle, each gateway is provided for each network bus. A plurality of driver circuits that transmit or receive data to and from the network bus, and data that is transmitted between the network buses is received from the driver circuit that is connected to the network bus that is the data transmission source, and the data is transmitted A control unit that causes the driver circuit connected to the previous network bus to transmit the data, a first power line connected to a power source regardless of whether the vehicle ignition is on or off, or when the ignition is on A driver that receives power from a second power line connected to a power source and performs the data transmission. A regulator circuit that supplies power to the circuit, and the control unit transmits data of at least one driver circuit when the first power supply line cannot supply power and the ignition is on. Is prohibited.
上記側面の好ましい実施態様によれば、前記制御部は、第1のデータ送信を行う第1のドライバ回路のデータ送信を禁止し、前記第1のデータ送信より優先度の高い第2のデータ送信を行う第2のドライバ回路のデータ送信を許可することを特徴とする。 According to a preferred embodiment of the above aspect, the control unit prohibits data transmission of a first driver circuit that performs first data transmission, and second data transmission having a higher priority than the first data transmission. The data transmission of the second driver circuit that performs is permitted.
上記側面の別の好ましい実施態様によれば、前記制御部は、前記データ送信を禁止されない第1のドライバ回路が第1のデータ送信を開始した後、データ送信を禁止された第2のドライバ回路が前記第1のデータ送信より優先度の高い第2のデータ送信を行おうとするときは、前記第1のデータ送信を中断させ、前記第2のドライバ回路に前記第2のデータ送信を実行させることを特徴とする。 According to another preferred embodiment of the above aspect, the control unit includes a second driver circuit that is prohibited from transmitting data after the first driver circuit that is not prohibited from transmitting data starts the first data transmission. When the second data transmission having a higher priority than the first data transmission is to be performed, the first data transmission is interrupted and the second driver circuit is caused to execute the second data transmission. It is characterized by that.
上記側面によれば、前記第1の電源ラインが電力供給できないときであって前記イグニションがオンのときは、少なくとも1つの前記ドライバ回路のデータ送信を禁止するので、データ送信にかかるドライバ回路の消費電流を抑えることができる。よって、多数のネットワークバスを接続する場合であっても、回路規模を増大させずにバックアップ用電源ラインからの電力供給によりゲートウェイ装置は動作することができる。 According to the above aspect, when the first power supply line cannot supply power and the ignition is on, data transmission of at least one of the driver circuits is prohibited. Current can be suppressed. Therefore, even when a large number of network buses are connected, the gateway device can operate by supplying power from the backup power supply line without increasing the circuit scale.
上記の好ましい実施態様によれば、第1のデータ送信を行う第1のドライバ回路のデータ送信を禁止し、前記第1のデータ送信より優先度の高い第2のデータ送信を行う第2のドライバ回路のデータ送信を許可するので、データ送信にかかる消費電流を抑える場合であっても、車両の安全確保のための退避走行や、障害復旧のためのダイアグデータ収集といった優先度の高い機能を実現するためのデータ通信を確実に実行させることができる。 According to the above preferred embodiment, the second driver that prohibits data transmission of the first driver circuit that performs the first data transmission and performs the second data transmission having a higher priority than the first data transmission. Since circuit data transmission is permitted, high-priority functions such as evacuation for vehicle safety and diagnostic data collection for fault recovery are realized even when current consumption for data transmission is reduced. Data communication for the purpose can be surely executed.
上記の別の好ましい実施態様によれば、前記データ送信を禁止されない第1のドライバ回路が第1のデータ送信を開始した後、データ送信を禁止された第2のドライバ回路が前記第1のデータ送信より優先度の高い第2のデータ送信を行おうとするときは、前記第1のデータ送信を中断させ、前記第2のドライバ回路に前記第2のデータ送信を実行させるので、同時にデータ送信を行うドライバ回路の数を制限しつつ、優先度の高い機能を実現するためのデータ通信を確実に実行させることができる。 According to another preferred embodiment of the present invention, after the first driver circuit that is not prohibited from transmitting data starts the first data transmission, the second driver circuit that is prohibited from transmitting data receives the first data. When the second data transmission having a higher priority than the transmission is to be performed, the first data transmission is interrupted and the second driver circuit is caused to execute the second data transmission. Data communication for realizing a high-priority function can be reliably executed while limiting the number of driver circuits to be performed.
以下、図面にしたがって本発明の実施の形態について説明する。但し、本発明の技術的範囲はこれらの実施の形態に限定されず、特許請求の範囲に記載された事項とその均等物まで及ぶものである。 Hereinafter, embodiments of the present invention will be described with reference to the drawings. However, the technical scope of the present invention is not limited to these embodiments, but extends to the matters described in the claims and equivalents thereof.
図2は、本実施形態におけるゲートウェイ装置の構成例を説明する図である。図1と同じ箇所は同じ符号を付して説明を省略する。本実施形態のゲートウェイ装置1は、車両に搭載される複数のネットワークバス、つまりパワートレイン系ネットワークバスB1、ボディ系ネットワークバスB2、および安全系ネットワークバスB3の間のデータ通信を中継するゲートウェイ装置である。ゲートウェイ装置1においては、ドライバ回路16はパワートレイン系ネットワークバスB1に、ドライバ回路18はボディ系ネットワークバスB2に、ドライバ回路20は安全系ネットワークバスB3にそれぞれ接続される。
FIG. 2 is a diagram illustrating a configuration example of the gateway device in the present embodiment. The same parts as those in FIG. The
パワートレイン系ネットワークバスB1にはエンジン制御ECU101とダイアグECU102とが接続され、ボディ系ネットワークバスB2にはドアセキュリティECU201が接続され、安全系ネットワークバスB3には追従走行制御ECU301とエアバッグ制御ECU302とが接続される。各ネットワークバスB1、B2、B3は、一例としてツイストペア線により構成されるCAN(Controller Area Network)仕様の伝送路である。ネットワークバスB1、B2、B3により伝送されるビット信号は、2本の線の電位差、つまりドミナントレベル(「0」)とレセシブレベル(「1」)の組合せで伝送される。
An engine control ECU 101 and a diagnosis ECU 102 are connected to the power train network bus B1, a door security ECU 201 is connected to the body network bus B2, and a follow-up
よって、ドライバ回路16、18、および20は、各ECUや制御部14で処理されるビット信号をドミナントレベルとレセシブレベルの電圧信号の組合せに変換してネットワークバスB1、B2、B3に送信し、あるいは、ネットワークバスB1、B2、B3から受信したドミナントレベルとレセシブレベルの電圧信号の組合せをビット信号に変換する。
Therefore, the
制御部14は、一例としてCPU(Central Processing Unit)により構成される。そして、CPUが図示されないメモリに格納された処理プログラムに従い動作することにより、ドライバ回路16、18、20を介してネットワークバスB1、B2、B3相互のデータ通信を中継する制御部としての機能が実現される。
The
次に、イグニションスイッチ3のオフとオンとに場合分けして、各部の動作を具体的に説明する。まず、イグニションスイッチ3がオフのとき、つまり車両の駐停車中は、制御部14はスリープ状態となってバッテリ2の消耗を防止する。イグニションスイッチ3がオフのときは、例えば車両の盗難防止のためにドアセキュリティECU201からエンジン制御ECU101にデータ送信が行われる。この場合、ドアセキュリティECU201は、ドアの施錠が真正のキーにより正常に解除されたかを検知し、その検知結果データをボディ系ネットワークバスB2に送信する。
Next, the operation of each part will be specifically described by dividing the ignition switch 3 into an off state and an on state. First, when the ignition switch 3 is off, that is, when the vehicle is parked or stopped, the
このデータにはヘッダが付され、ヘッダには送信先のエンジン制御ECU101のアドレス情報が含まれる。そして、このデータがドライバ回路18により受信されると、ドライバ回路18はウェイクアップ信号を制御部14に送信して制御部14を起動させた後、受信したデータを制御部14に送信する。すると、制御部14は、ヘッダを解析してデータの送信先がエンジン制御ECU101であることを認識し、パワートレイン系ネットワークバスB1と接続されるドライバ回路16に受信したデータを送信する。すると、ドライバ回路16は、このデータをパワートレイン系ネットワークバスB1に送信し、最終的にエンジン制御ECU101がこのデータを受信する。そして、エンジン制御ECU101は、ドアの施錠が正常に解除されたことを認識し、エンジンの始動を許可する。
A header is attached to this data, and the header includes address information of the destination
次に、イグニションスイッチ3がオン、つまり車両が走行状態のときは、制御部14はスリープ状態から起動してスタンバイ状態となる。イグニションスイッチ3がオンのときは、例えば、車両の安全走行を支援するために追従走行制御ECU301やエアバッグ制御ECU302からエンジン制御ECU101にデータ送信が行われる。
Next, when the ignition switch 3 is on, that is, when the vehicle is running, the
まず、追従走行制御ECU301は、車載レーダなどにより検知される先行車両との車間距離が大きすぎる場合は、加速して車間距離を縮小するためにエンジン出力の増大を要求するデータを、安全系ネットワークバスB3に送信する。このとき、送信されるデータには、エンジン制御ECU101のアドレス情報を含むヘッダが付される。そして、このデータはドライバ回路20を介して制御部14により受信される。そして、制御部14は、ヘッダを解析して、このデータをドライバ回路16に送信する。すると、ドライバ回路16は、このデータをパワートレイン系ネットワークバスB1に送信し、最終的にエンジン制御ECU101がこのデータを受信する。そして、エンジン制御ECU101は、要求に応じたエンジン出力をエンジンに指示し、車間距離を調節する。
First, if the inter-vehicle distance from the preceding vehicle detected by the in-vehicle radar or the like is too large, the follow-up
また、車両に衝突などによる衝撃が加わりエアバッグが作動する場合は、エアバッグ制御ECU302は、燃料の引火を防止するためにエンジン制御ECU101にエンジンへの燃料供給を停止するように要求するデータを、安全系ネットワークバスB3に送信する。このとき、送信されるデータには、エンジン制御ECU101のアドレス情報を含むヘッダが付される。そして、このデータはドライバ回路20を介して制御部14により受信される。そして、制御部14は、ヘッダを解析して、このデータをドライバ回路16に送信する。すると、ドライバ回路16は、このデータをパワートレイン系ネットワークバスB1に送信し、最終的にエンジン制御ECU101がこのデータを受信する。そして、エンジン制御ECU101は、要求に応じてエンジンへの燃料供給を停止させる。
Further, when the airbag is activated due to an impact caused by a collision or the like, the
上記構成において、レギュレータ回路12はイグニションスイッチ3がオフのときは電源ラインS1から、イグニションスイッチ3がオンのときは電源ラインS1とS2の両方から電力供給を受け、定電圧化して制御部14とドライバ回路16、18、20に電力を供給する。そして、電源ラインS1が断線したときには、イグニションスイッチ3がオンされることにより電源ラインS2がバックアップの電源ラインとして機能する。すると、ダイオードD2、D3を流れる電流が増加するので、その負荷に耐えうるような定格電流が大きいダイオードが必要となる。ところが、そうすることにより、回路規模の増大を招き、コスト高となってしまう。そこで、本実施形態では、次に説明するような手順により、ダイオードD2、D3への負荷を軽減する。
In the above configuration, the
図3は、本実施形態における制御部14の動作手順を説明するフローチャート図である。まず、制御部14は、イグニションスイッチ3のオン信号の入力を受けてイグニション3のオンを確認する(S2)。そして、制御部14は、電源ラインS1のノードN1の電圧を検知し、この電圧がLレベルの場合(S4のYES)、つまり電源ラインS1が断線している場合は、ドライバ回路16のみデータ送信を許可し、ドライバ回路18、20のデータ送信を禁止する(S6)。
FIG. 3 is a flowchart for explaining the operation procedure of the
ここで、ドライバ回路16、18、20は、ネットワークバスに対しデータ送信を行うときには上述したように電圧信号を出力するため電流を消費し、反対にネットワークバスから電圧信号を受信する場合は電流を消費しない。よって、データ送信を行うドライバ回路を制限することにより、レギュレータ回路12が供給する電力量を少なくすることができる。
Here, the
また、そのときデータ送信が許可されるドライバ回路は、車両の安全確保や障害復旧のためのデータ通信に必要なドライバ回路16とする。すなわち、車両の安全確保や障害復旧のためには、パワートレイン系ネットワークバスB1に接続されるエンジン制御ECU101や、ダイアグECU102に対し、他のネットワークバスのECUからデータが送信される。よって、かかるデータ送信を可能にするため、制御部14はドライバ回路16のデータ送信を許可し、他のドライバ回路からのデータをドライバ回路16に中継する。一方、制御部14は、ドライバ回路18、20へは送信データを中継せず、ドライバ回路18、20によるデータ送信は禁止される。あるいは、制御部14は各ドライバ回路に送信データの中継とは別にデータ送信の許可・不許可を通知する構成としてもよい。
In addition, the driver circuit that is permitted to transmit data at that time is the
車両の安全確保の例として、良好な走行の支障となるような障害が車両に発生した場合に車両を路肩に退避走行させる場合があげられる。このとき、エアバッグ制御ECU302からエンジン制御ECU101へデータ送信が行われる。すなわち、エアバッグが作動するとエアバッグ制御ECU302がエンジン制御ECU101に対し燃料供給停止を要求するので、退避走行が不可能な状態となる。よって、退避走行を行うために、エアバッグ制御ECU302は燃料供給停止の解除をエンジン制御ECU101に要求する。
As an example of ensuring the safety of the vehicle, there is a case where the vehicle is evacuated to the road shoulder when a failure occurs that hinders good driving. At this time, data transmission is performed from the
この場合、エアバッグ制御ECU302からのデータ通信はドライバ回路18により受信されるが、データ受信は電流を消費しない。よって、ドライバ回路18のデータ送信は停止させたままでデータを受信できる。そして、制御部14がこのデータを中継してドライバ回路16にデータ送信を実行させ、エンジン制御ECU101にデータが送信される。そして、エンジン制御ECU101は燃料供給停止を解除し、エンジンを始動させることで退避走行が実行される。
In this case, data communication from the
また、車両の障害復旧の例として、ダイアグデータの収集があげられる。すなわち、車両の各部において各種センサにより検知されるデータの異常値は各ECUの退避メモリにダイアグデータとして格納され、ダイアグECU102が各ECUからこのダイアグデータを収集する。そして収集されたダイアグデータは車両整備時に整備工場のコンピュータに出力される。よって、ダイアグECU102がダイアグデータを収集するとき、ボディ系ネットワークバスB2に接続されるドアセキュリティECU201や、安全系ネットワークバスB3に接続される追従走行制御ECU301やエアバッグ制御ECU302から、ドライバ回路16を介してパワートレイン系ネットワークバスB1に接続されるダイアグECU102にダイアグデータが送信される。
As an example of vehicle failure recovery, diagnostic data collection can be mentioned. That is, abnormal values of data detected by various sensors in each part of the vehicle are stored as diagnosis data in the save memory of each ECU, and the
このように、データ送信を行うドライバ回路を制限することにより、レギュレータ回路12が供給する電力量を少なくするとともに、車両の安全確保や障害復旧に必要なデータ通信を行うことができる。
In this way, by limiting the driver circuit that performs data transmission, it is possible to reduce the amount of power supplied by the
さらに、上記の場合において、他のネットワークバスからパワートレイン系ネットワークバスB1へのデータ通信が重複した場合に、制御部14は次に示す手順で通信を制御する。
Furthermore, in the above case, when data communication from another network bus to the powertrain network bus B1 is duplicated, the
図4は、制御部14によるドライバ回路の通信制御の手順を示すシーケンス図である。図4では、ダイアグデータ収集の途中で退避走行が行われる場合を例としている。まず、安全系ネットワークバスB3の追従走行制御ECU301からドライバ回路20にダイアグデータが送信され(S12)、ドライバ回路20はこれを制御部14に送信する(S14)。すると、制御部14は、ドライバ回路16にダイアグデータを送信し(S16)、ドライバ回路16はパワートレイン系ネットワークバスB1のダイアグECU102にこのデータを送信する(S18)。
FIG. 4 is a sequence diagram showing a procedure of driver circuit communication control by the
ここで、制御部14からドライバ回路16を介してダイアグECU102へのデータ送信(S16、S18)が終了する前に、エアバッグ制御ECU302がエンジン制御ECU101向けの燃料供給停止の解除要求をドライバ回路20に送信し(S20)、ドライバ回路20がこれを制御部14に送信する(S22)。すると、制御部14は、あらかじめ設定された優先度に基づいて、ダイアグデータの送信を中断し(S24)、ドライバ回路16を介してエンジン制御ECU101に燃料供給停止の解除要求を送信する(S26、S28)。そして、制御部14は、解除要求の送信が終了すると、再びダイアグデータの送信を開始し(S30)、ドライバ回路16を介してダイアグECU102にダイアグデータが送信される(S32、S34)。
Here, before the data transmission from the
このようにして、制御部14は、あらかじめ設定された優先度に基づいて、より緊急かつ優先度の高い退避走行に必要なデータ通信を実行させることができる。
In this manner, the
図5は、変形例における制御部14によるドライバ回路の通信制御の手順を示すシーケンス図である。図5では、データ送信が許可されるドライバ回路が動的に切り替えられる場合が示される。まず、安全系ネットワークバスB3の追従走行制御ECU301からドライバ回路20にダイアグデータが送信され(S112)、ドライバ回路20はこれを制御部14に送信する(S114)。すると、制御部14は、ドライバ回路16にダイアグデータを送信し(S116)、ドライバ回路16はパワートレイン系ネットワークバスB1のダイアグECU102にこのデータを送信する(S118)。
FIG. 5 is a sequence diagram illustrating a procedure of driver circuit communication control by the
次に、この変形例では、退避走行を実行するために、エンジン制御ECU101の側からエアバッグ制御ECU302に燃料供給停止の解除許可を要求する。よって、エンジ制御ECU101はドライバ回路16に解除許可要求を送信し(S120)、ドライバ回路16がこれを制御部14に送信する(S122)。すると、制御部14は、あらかじめ設定された優先度に基づいて、ダイアグデータの送信を中断し(S124)、ドライバ回路16のデータ送信を禁止するとともにドライバ回路20のデータ送信を許可する(S126)。そして、制御部14は、ドライバ回路20を介してエアバッグ制御ECU302に解除許可要求を送信する(S128、S130)。
Next, in this modification, in order to execute the retreat travel, the
すると、エアバッグ制御ECU302はこれに応答してドライバ回路20を介して制御部14に解除許可を送信する(S132、S134)。すると、制御部14は、ドライバ回路20のデータ送信を禁止するとともにドライバ回路16のデータ送信を許可し(S136)、ドライバ回路16を介してエンジン制御ECU101に解除許可を送信する(S138、S140)。そして、制御部14は、解除許可の送信が終了すると、再びダイアグデータの送信を開始し(S142)、ドライバ回路16を介してダイアグECU102にダイアグデータが送信される(S144、S146)。
Then, in response to this, the
このようにして、制御部14は、あらかじめ設定された優先度に基づいて、より緊急かつ優先度の高い退避走行に必要なデータ通信を実行させることができる。その際、データ送信が許可されるドライバ回路を切り替えることにより、同時にデータ送信が許可されるドライバ回路の数を制限でき、データ送信にかかる消費電流を抑えることができる。
In this manner, the
なお、図3の手順S6において、ドライバ回路16のデータ送信を許可しドライバ回路18、20のデータ送信を禁止した場合、ドライバ回路18、20からドライバ回路16へ向けて送信されるデータは一旦制御部14により受信される。そして、制御部14がそのデータ送信の禁止を判断するので、制御部14の判断処理にかかる消費電流は生じている。そこで、制御部14は、さらに、優先度が高いデータ通信に関与しないドライバ回路18のデータ受信を禁止することもできる。その場合、制御部14は、ドライバ回路18の動作を停止させることにより、ドライバ回路18がボディ系ネットワークバスB2からデータを受信することを防ぐ。これにより、これらのデータが制御部14に対し送信されることを回避でき、制御部14の判断処理にかかる消費電流をさらに抑えることが可能となる。
In step S6 of FIG. 3, when data transmission of the
上述においては、ドライバ回路16、18、20を有するゲートウェイ装置1を例に説明したが、ドライバ回路の数は複数であれば上記に限られず本実施形態が適用される。その際、データ送信が許可されるドライバ回路は1つに限られず、ドライバ回路の総数より少ない数のドライバ回路にデータ送信を許可し、他のドライバ回路にデータ送信を禁止するようにしても、本実施形態における作用効果を得ることができる。また、優先的に許可されるデータ通信の例も上記に限られず、データ送信が許可・禁止されるドライバ回路、あるいはデータ受信が許可・禁止されるドライバ回路は任意に設定することができる。
In the above description, the
さらに、ネットワークバスの通信方式は、ドライバ回路がデータ送信に電流を消費するような方式であれば、上記に限られず本実施形態が適用される。 Further, the network bus communication method is not limited to the above as long as the driver circuit consumes current for data transmission, and the present embodiment is applied.
以上説明したとおり、本実施形態によれば、多数のネットワークバスを接続する場合であっても、回路規模を増大させずにバックアップ用電源ラインからの電力供給によりゲートウェイ装置が動作することができる。また、データ送信にかかる消費電流を抑える場合であっても、優先度の高い機能を実現するためのデータ通信をより確実に実行させることができる。 As described above, according to the present embodiment, even when a large number of network buses are connected, the gateway device can operate by supplying power from the backup power line without increasing the circuit scale. Even when current consumption for data transmission is suppressed, data communication for realizing a function with high priority can be more reliably executed.
1:ゲートウェイ装置、3:イグニションスイッチ、S1、S2:電源ライン、12:レギュレータ回路、14:制御部、16、18、20:ドライバ回路、B1:パワートレイン系ネットワークバス、B2:ボディ系ネットワークバス、B3:安全系ネットワークバス DESCRIPTION OF SYMBOLS 1: Gateway apparatus, 3: Ignition switch, S1, S2: Power supply line, 12: Regulator circuit, 14: Control part, 16, 18, 20: Driver circuit, B1: Powertrain system network bus, B2: Body system network bus , B3: Safety network bus
Claims (5)
前記ネットワークバスごとに設けられ、それぞれ接続されるネットワークバスとデータ送信または受信を行う複数のドライバ回路と、
前記ネットワークバス間で送信されるデータを、当該データの送信元のネットワークバスと接続されるドライバ回路から受信し、当該データの送信先のネットワークバスと接続されるドライバ回路に当該データを送信させる制御部と、
前記車両のイグニションのオン・オフにかかわらず電源と接続される第1の電源ライン、または前記イグニションのオンのときに電源と接続される第2の電源ラインから電力供給を受け、前記データ送信を行うドライバ回路に電力を供給するレギュレータ回路とを有し、
前記制御部は、前記第1の電源ラインが電力供給できないときであって前記イグニションがオンのときは、少なくとも1つの前記ドライバ回路のデータ送信を禁止することを特徴とするゲートウェイ装置。 In a gateway device that relays data communication between a plurality of network buses mounted on a vehicle,
A plurality of driver circuits that are provided for each network bus and that perform data transmission or reception with a network bus connected thereto,
Control that receives data transmitted between the network buses from a driver circuit connected to a network bus that is the transmission source of the data, and causes the driver circuit that is connected to a network bus that is the transmission destination of the data to transmit the data And
Regardless of whether the ignition of the vehicle is on or off, the first power supply line connected to the power supply or the second power supply line connected to the power supply when the ignition is on receives power supply, and the data transmission is performed. A regulator circuit for supplying power to the driver circuit
The gateway device characterized in that the control unit prohibits data transmission of at least one of the driver circuits when the first power supply line cannot supply power and the ignition is on.
前記制御部は、第1のデータ送信を行う第1のドライバ回路のデータ送信を禁止し、前記第1のデータ送信より優先度の高い第2のデータ送信を行う第2のドライバ回路のデータ送信を許可することを特徴とするゲートウェイ装置。 In claim 1,
The control unit prohibits data transmission of a first driver circuit that performs first data transmission, and transmits data of a second driver circuit that performs second data transmission having a higher priority than the first data transmission. A gateway device characterized by permitting.
前記制御部は、前記データ送信を禁止されない第1のドライバ回路が第1のデータ送信を開始した後、データ送信を禁止された第2のドライバ回路が前記第1のデータ送信より優先度の高い第2のデータ送信を行おうとするときは、前記第1のデータ送信を中断させ、前記第2のドライバ回路に前記第2のデータ送信を実行させることを特徴とするゲートウェイ装置。 In claim 1,
The control unit is configured such that after the first driver circuit that is not prohibited from transmitting data starts the first data transmission, the second driver circuit that is prohibited from transmitting data has a higher priority than the first data transmission. A gateway device characterized in that when performing the second data transmission, the first data transmission is interrupted and the second driver circuit is caused to execute the second data transmission.
前記制御部は、前記第1の電源ラインが電力供給できないときであって前記イグニションがオンのときは、少なくとも1つの前記ドライバ回路のデータ受信をさらに禁止することを特徴とするゲートウェイ装置。 In claim 1,
The gateway device characterized in that the control unit further prohibits data reception of at least one of the driver circuits when the first power supply line cannot supply power and the ignition is on.
前記第1の電源ラインが電力供給できないときであって前記イグニションがオンのときは、少なくとも1つの前記ドライバ回路のデータ送信を禁止する工程を有することを特徴とするゲートウェイ装置の制御方法。 Provided for each of a plurality of network buses mounted on the vehicle, a network bus connected to each of them, a plurality of driver circuits that perform data transmission or reception, and data transmitted between the network buses, A control unit that receives from the driver circuit connected to the network bus and transmits the data to the driver circuit connected to the network bus that is the destination of the data, and is connected to the power source regardless of whether the ignition of the vehicle is on or off And a regulator circuit that receives power from a second power line connected to a power source when the ignition is on and supplies power to a driver circuit that performs the data transmission An apparatus control method comprising:
A method for controlling a gateway apparatus, comprising: a step of prohibiting data transmission of at least one of the driver circuits when the first power supply line cannot supply power and the ignition is on.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007104659A JP4698632B2 (en) | 2007-04-12 | 2007-04-12 | Gateway device and control method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007104659A JP4698632B2 (en) | 2007-04-12 | 2007-04-12 | Gateway device and control method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2008260411A JP2008260411A (en) | 2008-10-30 |
JP4698632B2 true JP4698632B2 (en) | 2011-06-08 |
Family
ID=39983224
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007104659A Expired - Fee Related JP4698632B2 (en) | 2007-04-12 | 2007-04-12 | Gateway device and control method thereof |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4698632B2 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6120171B2 (en) * | 2013-09-04 | 2017-04-26 | 株式会社デンソー | Electronic control unit |
JP7017810B2 (en) * | 2020-11-04 | 2022-02-09 | 株式会社ユピテル | adapter |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001168891A (en) * | 1999-12-08 | 2001-06-22 | Yazaki Corp | Vehicle multiplex transmitting device |
JP2001257694A (en) * | 2000-03-09 | 2001-09-21 | Auto Network Gijutsu Kenkyusho:Kk | Device for managing information power supply |
JP2003127804A (en) * | 1998-12-18 | 2003-05-08 | Hitachi Ltd | Control circuit unit for use in power supply network of automobile |
JP2004249772A (en) * | 2003-02-18 | 2004-09-09 | Sumitomo Electric Ind Ltd | On-vehicular communication connection apparatus and on-vehicular communication system |
JP2005047342A (en) * | 2003-07-31 | 2005-02-24 | Fujitsu Ten Ltd | Vehicle control device and vehicle control system |
JP2005263134A (en) * | 2004-03-22 | 2005-09-29 | Calsonic Kansei Corp | Meter cluster for automobile |
JP2006191337A (en) * | 2005-01-06 | 2006-07-20 | Fujitsu Ten Ltd | Gateway device for transferring message between buses and network system using the device |
JP2007030714A (en) * | 2005-07-27 | 2007-02-08 | Denso Corp | Communication system for vehicle |
-
2007
- 2007-04-12 JP JP2007104659A patent/JP4698632B2/en not_active Expired - Fee Related
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003127804A (en) * | 1998-12-18 | 2003-05-08 | Hitachi Ltd | Control circuit unit for use in power supply network of automobile |
JP2001168891A (en) * | 1999-12-08 | 2001-06-22 | Yazaki Corp | Vehicle multiplex transmitting device |
JP2001257694A (en) * | 2000-03-09 | 2001-09-21 | Auto Network Gijutsu Kenkyusho:Kk | Device for managing information power supply |
JP2004249772A (en) * | 2003-02-18 | 2004-09-09 | Sumitomo Electric Ind Ltd | On-vehicular communication connection apparatus and on-vehicular communication system |
JP2005047342A (en) * | 2003-07-31 | 2005-02-24 | Fujitsu Ten Ltd | Vehicle control device and vehicle control system |
JP2005263134A (en) * | 2004-03-22 | 2005-09-29 | Calsonic Kansei Corp | Meter cluster for automobile |
JP2006191337A (en) * | 2005-01-06 | 2006-07-20 | Fujitsu Ten Ltd | Gateway device for transferring message between buses and network system using the device |
JP2007030714A (en) * | 2005-07-27 | 2007-02-08 | Denso Corp | Communication system for vehicle |
Also Published As
Publication number | Publication date |
---|---|
JP2008260411A (en) | 2008-10-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5776779B2 (en) | In-vehicle gateway device and vehicle communication system | |
CN109562764B (en) | Vehicle control device | |
JP5363379B2 (en) | Communications system | |
JP4682878B2 (en) | Electronic control unit | |
JP6255072B2 (en) | Semiconductor device | |
CN109728986B (en) | Relay device, information processing method and system, and storage medium storing program | |
KR102594571B1 (en) | Vehicle and vehicle control interface | |
CN109591726B (en) | Communication control device for vehicle and communication control system for vehicle | |
KR20210098352A (en) | Vehicle | |
EP3790233B1 (en) | In-vehicle network system | |
JP2015199444A (en) | Electronic control device | |
JP2019129495A (en) | Electronic control unit and connection authentication method | |
JP4698632B2 (en) | Gateway device and control method thereof | |
KR102594551B1 (en) | Vehicle and vehicle control interface | |
JP2010023556A (en) | Electronic control device | |
JP3902929B2 (en) | On-vehicle equipment | |
JP4548260B2 (en) | Vehicle communication system | |
JP6120171B2 (en) | Electronic control unit | |
JP7279591B2 (en) | Vehicle network system | |
Yi et al. | Power saving using Partial Networking in automotive system | |
JP2018160870A (en) | On-vehicle communication system and input/output device | |
JP2020115620A (en) | Control device and communication system | |
JP5671852B2 (en) | Unlocking device | |
US20230403178A1 (en) | Control device, communication control method, and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20110131 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20110208 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20110301 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140311 Year of fee payment: 3 |
|
LAPS | Cancellation because of no payment of annual fees |