JP7728066B2 - Communication device and communication method - Google Patents
Communication device and communication methodInfo
- Publication number
- JP7728066B2 JP7728066B2 JP2021084064A JP2021084064A JP7728066B2 JP 7728066 B2 JP7728066 B2 JP 7728066B2 JP 2021084064 A JP2021084064 A JP 2021084064A JP 2021084064 A JP2021084064 A JP 2021084064A JP 7728066 B2 JP7728066 B2 JP 7728066B2
- Authority
- JP
- Japan
- Prior art keywords
- communication
- data
- ecu
- control unit
- board
- 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.)
- Active
Links
Landscapes
- Small-Scale Networks (AREA)
- Communication Control (AREA)
Description
本発明は、通信装置および通信方法に関する。 The present invention relates to a communication device and a communication method.
従来、例えば車両に搭載されるECU(Electronic Control Unit)と通信バスなどを介して接続されて、有線通信する装置が種々提案されている(例えば、特許文献1参照)。 Various devices have been proposed in the past that communicate via wires, for example, connected to an ECU (Electronic Control Unit) installed in a vehicle via a communication bus (see, for example, Patent Document 1).
ところで、近年、例えば通信バスのデータ通信量が増大する傾向にあり、有線通信における通信負荷が過度に増加するおそれがあった。上記した従来技術においては、有線通信における通信負荷を低減させるという点で、さらなる改善の余地があった。 However, in recent years, there has been a trend toward an increase in the amount of data transmitted over communication buses, for example, which has raised the risk of excessive increases in the communication load in wired communications. The above-mentioned conventional technology leaves room for further improvement in terms of reducing the communication load in wired communications.
本発明は、上記に鑑みてなされたものであって、有線通信における通信負荷を低減させることができる通信装置および通信方法を提供することを目的とする。 The present invention has been made in view of the above, and has an object to provide a communication device and a communication method that can reduce the communication load in wired communication.
上記課題を解決し、目的を達成するために、本発明は、受信装置と通信可能な通信装置であって、通信制御部を備える。通信制御部は、前記受信装置への所定データの送信を無線通信で行い、前記所定データの送受信の確認に関する確認信号の受信または送信を有線通信で行う。 To solve the above problems and achieve the above objectives, the present invention provides a communication device capable of communicating with a receiving device, comprising a communication control unit. The communication control unit transmits specified data to the receiving device via wireless communication, and receives or transmits a confirmation signal confirming the transmission and reception of the specified data via wired communication.
本発明によれば、有線通信における通信負荷を低減させることができる。 This invention makes it possible to reduce the communication load in wired communications.
以下、添付図面を参照して、本願の開示する通信装置、通信システムおよび通信方法の実施形態を詳細に説明する。なお、以下に示す実施形態によりこの発明が限定されるものではない。 Embodiments of the communication device, communication system, and communication method disclosed herein will be described in detail below with reference to the accompanying drawings. Note that the present invention is not limited to the embodiments described below.
(第1の実施形態)
<通信方法の概要>
以下では先ず、第1の実施形態に係る通信装置による通信方法の概要について図1を参照して説明する。図1は、第1の実施形態に係る通信方法の概要を示す図である。
(First embodiment)
<Communication method overview>
First, an outline of a communication method by a communication device according to the first embodiment will be described below with reference to Fig. 1. Fig. 1 is a diagram showing an outline of the communication method according to the first embodiment.
第1の実施形態に係る通信方法は、例えば通信システム1が備える通信装置10によって実行される。なお、通信システム1は、図示しない車両に搭載されるが、これに限定されるものではなく、例えば通信処理を行うようなその他の種類の装置等に搭載されてもよい。 The communication method according to the first embodiment is executed, for example, by a communication device 10 included in a communication system 1. Note that the communication system 1 is mounted on a vehicle (not shown), but is not limited to this and may also be mounted on other types of devices that perform communication processing, for example.
図1に示すように、通信システム1は、通信装置10と、車載ECU50とを備える。車載ECU50は、受信装置の一例であり、後述するように通信装置10からの各種のデータ等を受信する装置である。なお、受信装置は、(無線)受信機能を少なくとも有するものであるが、他機能(例えば無線・有線送信機能、データ処理機能、制御機能等)を有するものも含んでいる。 As shown in FIG. 1, the communication system 1 includes a communication device 10 and an on-board ECU 50. The on-board ECU 50 is an example of a receiving device, and is a device that receives various data, etc. from the communication device 10, as described below. Note that the receiving device has at least a (wireless) receiving function, but may also have other functions (e.g., wireless/wired transmission function, data processing function, control function, etc.).
車載ECU50は、車両に複数搭載される。なお、図1では、図示の簡略化のため、車載ECU50が2つである例を示したが、これに限られず、3つ以上であってもよいし、1つであってもよい。なお、車載ECU50は、例えば車両の制御に関する処理などを行うことができるが、これに限定されるものではない。 A vehicle may be equipped with multiple on-board ECUs 50. While FIG. 1 shows an example in which there are two on-board ECUs 50 for the sake of simplicity, the number of on-board ECUs 50 is not limited to this and may be three or more, or may be one. The on-board ECU 50 may perform, for example, processing related to vehicle control, but is not limited to this.
通信装置10および複数の車載ECU50は、車載ネットワークによって接続される。具体的には、通信装置10および複数の車載ECU50は、例えばCAN(Controller Area Network)バス等の通信バス(通信線)Bを介して接続されて有線通信可能に構成される。 The communication device 10 and the multiple on-board ECUs 50 are connected via an on-board network. Specifically, the communication device 10 and the multiple on-board ECUs 50 are connected via a communication bus (communication line) B, such as a CAN (Controller Area Network) bus, and are configured to enable wired communication.
ここで、上記した通信バスBを用いた有線通信においては、近年、データ通信量が増大する傾向にあり、通信負荷が過度に増加するおそれがあった。すなわち、車両においては、例えば外部のサーバ装置210(後述する図2参照)などと通信可能に構成され、サーバ装置210から配信される地図情報や交通情報など各種情報を取得することができる。上記した各種情報の一部あるいは全部は、通信バスBを介して車載ECU50等に送信されることがあるため、通信バスBを用いた有線通信の通信負荷が過度に増加するおそれがあった。 In recent years, wired communication using the above-mentioned communication bus B has tended to increase data communication volume, which could result in an excessive increase in communication load. Specifically, a vehicle is configured to be able to communicate with, for example, an external server device 210 (see FIG. 2, described below), and can acquire various information such as map information and traffic information distributed from the server device 210. Since some or all of the above-mentioned various information may be transmitted to the on-board ECU 50, etc., via communication bus B, there is a risk that the communication load of wired communication using communication bus B could increase excessively.
そこで、本実施形態に係る通信装置10にあっては、有線通信における通信負荷を低減させることができるような構成とした。 Therefore, the communication device 10 according to this embodiment is configured to reduce the communication load in wired communication.
以下、具体的に説明すると、通信装置10は、車載ECU50と無線通信可能に構成される。すなわち、通信装置10は、車載ECU50と有線通信および無線通信の両方で通信できるように構成される。なお、無線通信の通信方式としては、例えばWi-Fi(登録商標)やBluetooth(登録商標)等を用いることができるが、これに限定されるものではなく、その他の種類の通信方式を用いてもよい。 Specifically, the communication device 10 is configured to be capable of wireless communication with the on-board ECU 50. In other words, the communication device 10 is configured to be able to communicate with the on-board ECU 50 via both wired and wireless communication. Note that, while the wireless communication method may be, for example, Wi-Fi (registered trademark) or Bluetooth (registered trademark), it is not limited to these, and other types of communication methods may also be used.
そして、本実施形態に係る通信装置10は先ず、車載ECU50への送信の対象となる所定データを取得する(ステップS1)。所定データは、例えば複数の車載ECU50に対して一斉に送信するようなデータである。一例として、所定データには、車両のエンジンや電動モータなどの駆動源の回転数、車速、車両の状態(例えばブレーキやステアリングの状態)、冷却水温などを示すデータの一部あるいは全部が含まれる。 The communication device 10 according to this embodiment first acquires predetermined data to be transmitted to the vehicle ECU 50 (step S1). The predetermined data is, for example, data that is transmitted simultaneously to multiple vehicle ECUs 50. As an example, the predetermined data may include some or all of the data indicating the rotation speed of the vehicle's engine, electric motor, or other driving source, vehicle speed, vehicle status (e.g., brake or steering status), coolant temperature, etc.
なお、上記では、所定データが複数の車載ECU50に対して一斉に送信するデータであるとしたが、これに限られず、例えば車載ECU50へ個別のタイミングで送信するデータなどであってもよい。また、上記では、所定データの内容を具体的に示したが、これはあくまでも例示であって限定されるものではなく、任意のデータに設定可能である。 In the above description, the specified data is data that is sent simultaneously to multiple on-board ECUs 50, but this is not limited to this and may be data that is sent to each on-board ECU 50 at individual times, for example. In addition, while the above description specifically shows the content of the specified data, this is merely an example and is not limiting, and the data can be set to any data.
次いで、通信装置10は、車載ECU50への所定データの送信を無線通信で行う(ステップS2)。詳しくは、通信装置10は、所定データを複数の車載ECU50へ一斉に無線通信で送信する。 Next, the communication device 10 transmits the specified data to the in-vehicle ECUs 50 via wireless communication (step S2). Specifically, the communication device 10 transmits the specified data to multiple in-vehicle ECUs 50 simultaneously via wireless communication.
車載ECU50は、通信装置10から送信された所定データを受信すると、所定データの送受信(詳しくは受信)の確認に関する確認信号を生成する(ステップS3)。詳しくは、複数の車載ECU50はそれぞれ、所定データを受信すると、確認信号を生成する。ここで、確認信号は、車載ECU50において所定データが正常に受信されたことを通信装置10側で確認するための応答信号(例えばACK(肯定応答))である。 When the on-board ECU 50 receives the specified data transmitted from the communication device 10, it generates a confirmation signal to confirm the transmission and reception (more specifically, reception) of the specified data (step S3). More specifically, when the multiple on-board ECUs 50 receive the specified data, they each generate a confirmation signal. Here, the confirmation signal is a response signal (e.g., an ACK (acknowledgement)) that is used by the communication device 10 to confirm that the specified data has been successfully received by the on-board ECU 50.
そして、通信装置10は、車載ECU50によって生成された確認信号の受信を有線通信で行う(ステップS4)。すなわち、車載ECU50は、生成された確認信号を所定のタイミングで通信装置10へ有線通信で(具体的には通信バスBを介して)送信し、通信装置10は、かかる確認信号を受信する。通信装置10は、この確認信号の受信により、車載ECU50において所定データが正常に受信されたことを確認する。 Then, the communication device 10 receives the confirmation signal generated by the on-board ECU 50 via wired communication (step S4). That is, the on-board ECU 50 transmits the generated confirmation signal to the communication device 10 via wired communication (specifically, via communication bus B) at a predetermined timing, and the communication device 10 receives the confirmation signal. By receiving this confirmation signal, the communication device 10 confirms that the on-board ECU 50 has successfully received the predetermined data.
このように、本実施形態に係る通信装置10は、車載ECU50への所定データの送信を無線通信で行い、車載ECU50から送信される確認信号の受信を有線通信で行うようにした。 In this way, the communication device 10 according to this embodiment transmits predetermined data to the on-board ECU 50 via wireless communication, and receives confirmation signals transmitted from the on-board ECU 50 via wired communication.
これにより、本実施形態においては、有線通信における通信負荷を低減させることができる。すなわち、所定データの送信が無線通信で行われることで、例えば所定データの送信が有線通信で行われる場合に比べて、有線通信における通信負荷を所定データのデータ通信量の分だけ低減させることができる。 As a result, in this embodiment, the communication load in wired communication can be reduced. In other words, by transmitting the specified data wirelessly, the communication load in wired communication can be reduced by the amount of data communication of the specified data, compared to when the specified data is transmitted via wired communication, for example.
また、本実施形態においては、例えば複数の車載ECU50に対して一斉に送信するような、通信負荷が比較的大きいデータを所定データとし、かかる所定データの送信が無線通信で行われるようにしたので、有線通信における通信負荷をより一層低減させることが可能になる。 In addition, in this embodiment, data that incurs a relatively large communication load, such as data that is transmitted simultaneously to multiple on-board ECUs 50, is defined as the specified data, and the transmission of such specified data is performed wirelessly, thereby making it possible to further reduce the communication load of wired communication.
<通信装置を含む通信システム>
次に、第1の実施形態に係る通信装置10を含む通信システム1の構成について、図2を用いて説明する。図2は、第1の実施形態に係る通信装置10を含む通信システム1の構成例を示すブロック図である。
<Communication system including communication device>
Next, the configuration of a communication system 1 including the communication device 10 according to the first embodiment will be described with reference to Fig. 2. Fig. 2 is a block diagram showing an example of the configuration of the communication system 1 including the communication device 10 according to the first embodiment.
図2に示すように、通信システム1は、上記した通信装置10と、車載ECU50と、センサ100と、コネクティッドゲートウェイECU200と、サーバ装置210とを備える。 As shown in FIG. 2, the communication system 1 includes the above-described communication device 10, an in-vehicle ECU 50, a sensor 100, a connected gateway ECU 200, and a server device 210.
なお、本実施形態において、通信装置10は、セントラルゲートウェイECUによって実現される。すなわち、セントラルゲートウェイECUは、通信装置10の一例である。また、以下では、通信装置10として機能するセントラルゲートウェイECUを、CGW(Central Gateway)ECU10と記載する場合がある。なお、CGWECU10の詳細な構成については、図3を参照して後述する。 In this embodiment, the communication device 10 is realized by a central gateway ECU. That is, the central gateway ECU is an example of the communication device 10. In the following, the central gateway ECU functioning as the communication device 10 may be referred to as a CGW (Central Gateway) ECU 10. The detailed configuration of the CGW ECU 10 will be described later with reference to Figure 3.
CGWECU10には、コネクティッドゲートウェイECU200が通信可能に接続される。コネクティッドゲートウェイECU200とサーバ装置210とは、インターネット網などの通信ネットワークNを介して通信可能に接続される。 The connected gateway ECU 200 is communicatively connected to the CGWECU 10. The connected gateway ECU 200 and the server device 210 are communicatively connected via a communication network N such as the Internet.
サーバ装置210は、上記したように、地図情報や交通情報、天気情報など各種情報を配信することができるサーバ装置である。 As described above, server device 210 is a server device that can distribute various information such as map information, traffic information, and weather information.
コネクティッドゲートウェイECU200は、例えばDCM(Date Communication Module)などの車載通信モジュールを備え、サーバ装置210と通信を行う。例えば、コネクティッドゲートウェイECU200は、サーバ装置210から配信される各種情報を取得し、取得された各種情報をCGWECU10、通信バスBを介して車載ECU50等へ送信することができる。 The connected gateway ECU 200 is equipped with an in-vehicle communication module such as a DCM (Data Communication Module) and communicates with the server device 210. For example, the connected gateway ECU 200 can acquire various information distributed from the server device 210 and transmit the acquired information to the in-vehicle ECU 50, etc. via the CGWECU 10 and communication bus B.
また、CGWECU10には、通信バスBを介して車載ECU50が通信可能に接続される。詳しくは、CGWECU10には、複数の通信バスBが接続される。複数の通信バスBにはそれぞれ、複数の車載ECU50が接続される。すなわち、CGWECU10は、車載ECU50間におけるデータ送受信の中継などを行うことができる。 The CGWECU 10 is also communicatively connected to the on-board ECUs 50 via a communication bus B. More specifically, multiple communication buses B are connected to the CGWECU 10. Multiple on-board ECUs 50 are connected to each of the multiple communication buses B. In other words, the CGWECU 10 can relay data transmission and reception between the on-board ECUs 50.
図2の例では、複数の通信バスBのうち、通信バスBaは、パワートレイン系バスであり、かかる通信バスBaには、パワートレイン系の車載ECU50a1,50a2,50a3が接続される。また、通信バスBbは、シャシ系バスであり、かかる通信バスBbには、シャシ系の車載ECU50b1,50b2,50b3が接続される。 In the example of Figure 2, of the multiple communication buses B, communication bus Ba is a powertrain system bus, and powertrain system onboard ECUs 50a1, 50a2, and 50a3 are connected to this communication bus Ba. Furthermore, communication bus Bb is a chassis system bus, and chassis system onboard ECUs 50b1, 50b2, and 50b3 are connected to this communication bus Bb.
なお、以下では、通信バスBa,Bbを特に区別せずに説明する場合には「通信バスB」と記載し、各車載ECU50a1~a3,50b1~b3を特に区別せずに説明する場合には「車載ECU50」と記載する。 In the following, when communication buses Ba and Bb are described without any particular distinction, they will be referred to as "communication bus B," and when on-board ECUs 50a1-a3 and 50b1-b3 are described without any particular distinction, they will be referred to as "on-board ECU 50."
また、図2では、通信バスBおよび車載ECU50の種類がパワートレイン系やシャシ系である例を示したが、これに限られず、例えばボディ系などその他の種類の通信バスBおよび車載ECU50を含んでもよい。また、図2に示す通信バスBおよび車載ECU50の数は、あくまでも例示であって限定されるものではなく、任意の数に設定可能である。なお、車載ECU50の詳細な構成については、図4を参照して後述する。 Furthermore, while Figure 2 shows an example in which the types of communication bus B and on-board ECU 50 are powertrain and chassis systems, this is not limited thereto and other types of communication bus B and on-board ECU 50, such as body systems, may also be included. Furthermore, the number of communication buses B and on-board ECUs 50 shown in Figure 2 is merely an example and is not limited thereto, and can be set to any number. The detailed configuration of the on-board ECU 50 will be described later with reference to Figure 4.
センサ100は、例えば車両の制御に必要な各種のセンサである。センサ100は複数あり、例えば、複数のセンサ100のうちセンサ100aは、回転数センサであり、駆動源の回転数を示す信号を車載ECU50(図2の例では車載ECU50a1)へ出力する。車載ECU50a1は、センサ100aから出力された信号を、例えばCGWECU10などへ出力することができる。 Sensor 100 is, for example, one of various sensors required for vehicle control. There are multiple sensors 100, and for example, sensor 100a among the multiple sensors 100 is a rotation speed sensor that outputs a signal indicating the rotation speed of the drive source to on-board ECU 50 (on-board ECU 50a1 in the example of Figure 2). On-board ECU 50a1 can output the signal output from sensor 100a to, for example, CGW ECU 10.
また、例えば、センサ100bは、ブレーキセンサであり、図示しないブレーキペダルの踏み込み量などブレーキの状態を示す信号を車載ECU50(図2の例では車載ECU50b1)へ出力する。車載ECU50b1は、センサ100bから出力された信号を、例えばCGWECU10などへ出力することができる。 For example, sensor 100b is a brake sensor that outputs a signal indicating the state of the brake, such as the amount of depression of a brake pedal (not shown), to the on-board ECU 50 (on-board ECU 50b1 in the example of Figure 2). The on-board ECU 50b1 can output the signal output from sensor 100b to, for example, the CGW ECU 10.
なお、以下では、センサ100a,100bを特に区別せずに説明する場合には「センサ100」と記載する。また、図2では、センサ100が回転数センサやブレーキセンサである例を示したが、これに限られず、例えば車速センサ、操舵角センサ、冷却水温センサなどその他の種類のセンサ100を含んでもよい。また、図2に示すセンサ100の数は、あくまでも例示であって限定されるものではなく、任意の数に設定可能である。 In the following, when sensors 100a and 100b are described without any particular distinction, they will be referred to as "sensor 100." Furthermore, while Figure 2 shows an example in which the sensor 100 is a rotation speed sensor or a brake sensor, this is not limited to this and other types of sensors 100 may be included, such as a vehicle speed sensor, a steering angle sensor, or a coolant temperature sensor. Furthermore, the number of sensors 100 shown in Figure 2 is merely an example and is not limited to any particular number, and can be set to any number.
<CGWECU(セントラルゲートウェイECU)の構成>
次いで、CGWECU10の構成について図3を参照して具体的に説明する。図3は、CGWECU10の構成例を示すブロック図である。なお、図3等のブロック図では、本実施形態の特徴を説明するために必要な構成要素のみを機能ブロックで表しており、一般的な構成要素についての記載を省略している。
<Configuration of CGWECU (Central Gateway ECU)>
Next, the configuration of the CGWECU 10 will be specifically described with reference to Fig. 3. Fig. 3 is a block diagram showing an example of the configuration of the CGWECU 10. Note that in the block diagrams such as Fig. 3, only the components necessary for explaining the features of this embodiment are shown as functional blocks, and descriptions of general components are omitted.
換言すれば、図3等のブロック図に図示される各構成要素は機能概念的なものであり、必ずしも物理的に図示の如く構成されていることを要しない。例えば、各機能ブロックの分散・統合の具体的形態は図示のものに限られず、その全部または一部を、各種の負荷や使用状況などに応じて、任意の単位で機能的または物理的に分散・統合して構成することが可能である。 In other words, the components shown in block diagrams such as Figure 3 are conceptual functional components and do not necessarily have to be physically configured as shown. For example, the specific form of distribution and integration of each functional block is not limited to that shown, and all or part of them can be functionally or physically distributed and integrated in any unit depending on various loads, usage conditions, etc.
図3に示すように、CGWECU10は、無線通信部11と、有線通信部12と、制御部20と、記憶部30とを備える。 As shown in Figure 3, the CGWECU 10 includes a wireless communication unit 11, a wired communication unit 12, a control unit 20, and a memory unit 30.
無線通信部11は、車載ECU50に無線通信で双方向に通信可能に接続する通信インターフェイスであり、例えば車載ECU50との間で所定データなどを含む各種のデータの送受信を行う。 The wireless communication unit 11 is a communication interface that connects to the on-board ECU 50 via wireless communication to enable bidirectional communication, and transmits and receives various data, including predetermined data, to and from the on-board ECU 50.
有線通信部12は、車載ECU50に、通信バスB(図2参照)などを用いた有線通信で双方向に通信可能に接続する通信インターフェイスであり、例えば車載ECU50との間で確認信号などを含む各種のデータの送受信を行う。 The wired communication unit 12 is a communication interface that connects to the on-board ECU 50 via wired communication using a communication bus B (see Figure 2) or the like, enabling bidirectional communication, and transmits and receives various data, including confirmation signals, between the on-board ECU 50 and the on-board ECU 50.
制御部20は、取得部21と、通信制御部22とを備え、例えば、CPU(Central Processing Unit)、ROM(Read Only Memory)、RAM(Random Access Memory)、ハードディスクドライブ、入出力ポートなどを有するコンピュータや各種の回路を含む。 The control unit 20 includes an acquisition unit 21 and a communication control unit 22, and includes a computer and various circuits, including, for example, a CPU (Central Processing Unit), ROM (Read Only Memory), RAM (Random Access Memory), a hard disk drive, input/output ports, etc.
コンピュータのCPUは、例えば、ROMに記憶されたプログラムを読み出して実行することによって、制御部20の取得部21および通信制御部22として機能する。 The computer's CPU functions as the acquisition unit 21 and communication control unit 22 of the control unit 20, for example, by reading and executing programs stored in the ROM.
また、制御部20の取得部21および通信制御部22の少なくともいずれか一部または全部をASIC(Application Specific Integrated Circuit)やFPGA(Field Programmable Gate Array)等のハードウェアで構成することもできる。 Furthermore, at least part of or all of the acquisition unit 21 and communication control unit 22 of the control unit 20 can be configured using hardware such as an ASIC (Application Specific Integrated Circuit) or FPGA (Field Programmable Gate Array).
また、記憶部30は、例えば、不揮発性メモリやデータフラッシュ、ハードディスクドライブといった記憶デバイスで構成される記憶部である。かかる記憶部30には、所定データ31および各種プログラムなどが記憶される。 The storage unit 30 is composed of a storage device such as a non-volatile memory, data flash, or hard disk drive. The storage unit 30 stores predetermined data 31 and various programs.
所定データ31は、上記したように、車載ECU50への送信の対象となるデータである。例えば、所定データ31には、複数の車載ECU50に対して一斉に送信するようなデータ(駆動源の回転数など)が含まれるが、これに限られない。 As described above, the predetermined data 31 is data to be transmitted to the on-board ECU 50. For example, the predetermined data 31 includes data that is transmitted simultaneously to multiple on-board ECUs 50 (such as the rotation speed of the drive source), but is not limited to this.
制御部20の取得部21は、所定データを取得する。取得部21は、取得されたデータを記憶部30に所定データ31として記憶させる。例えば、所定データとして駆動源の回転数を取得する場合、取得部21は、駆動源の回転数を示す信号を、センサ100aから車載ECU50a1(いずれも図2参照)を介して取得する。このとき、取得部21は、駆動源の回転数を示す信号を有線通信で取得するが、これに限定されるものではなく、無線通信で取得してもよい。そして、取得部21は、取得された駆動源の回転数を所定データ31として記憶部30に記憶させる。 The acquisition unit 21 of the control unit 20 acquires specified data. The acquisition unit 21 stores the acquired data in the memory unit 30 as specified data 31. For example, when acquiring the rotation speed of the drive source as the specified data, the acquisition unit 21 acquires a signal indicating the rotation speed of the drive source from the sensor 100a via the on-board ECU 50a1 (see Figure 2 for both). In this case, the acquisition unit 21 acquires the signal indicating the rotation speed of the drive source via wired communication, but this is not limited to this and the signal may also be acquired via wireless communication. The acquisition unit 21 then stores the acquired rotation speed of the drive source as specified data 31 in the memory unit 30.
通信制御部22は、車載ECU50への所定データの送信を無線通信で行う。例えば、通信制御部22は、記憶部30の所定データ31を読み出し、読み出したデータを無線通信部11を介して車載ECU50へ無線通信で送信する。 The communication control unit 22 transmits predetermined data to the on-board ECU 50 via wireless communication. For example, the communication control unit 22 reads predetermined data 31 from the memory unit 30 and transmits the read data via wireless communication to the on-board ECU 50 via the wireless communication unit 11.
このように、所定データの送信が無線通信で行われることで、例えば所定データの送信が有線通信で行われる場合に比べて、有線通信における通信負荷を所定データのデータ通信量の分だけ低減させることができる。 In this way, by transmitting the specified data wirelessly, the communication load in wired communication can be reduced by the amount of data communication of the specified data, compared to when the specified data is transmitted via wired communication, for example.
また、通信制御部22は、所定データを複数の車載ECU50(車載ECU50a1~a3,50b1~b3)へ一斉に無線通信で送信する。言い換えると、通信制御部22は、所定データの複数の車載ECU50へのブロードキャスト送信を無線通信で行う。 The communication control unit 22 also transmits the specified data to multiple in-vehicle ECUs 50 (in-vehicle ECUs 50a1-a3, 50b1-b3) simultaneously via wireless communication. In other words, the communication control unit 22 broadcasts the specified data to multiple in-vehicle ECUs 50 via wireless communication.
このように、例えば複数の車載ECU50に対して一斉に送信するような、通信負荷が比較的大きいデータを所定データとし、かかる所定データの送信が無線通信で行われるようにしたので、有線通信における通信負荷をより一層低減させることが可能になる。 In this way, data that incurs a relatively large communication load, such as data that is transmitted simultaneously to multiple in-vehicle ECUs 50, is designated as the specified data, and transmission of such specified data is performed wirelessly, thereby making it possible to further reduce the communication load of wired communication.
なお、車載ECU50では、上記したように、所定データを受信すると、所定データの送受信(詳しくは受信)の確認に関する確認信号を生成し、生成された確認信号をCGWECU10へ有線通信で送信する。かかる確認信号は、車載ECU50において所定データが正常に受信されたことをCGWECU10側で確認するための応答信号(ACK)である。 As described above, when the on-board ECU 50 receives the specified data, it generates a confirmation signal to confirm the transmission and reception (more specifically, reception) of the specified data, and transmits the generated confirmation signal to the CGWECU 10 via wired communication. This confirmation signal is a response signal (ACK) that allows the CGWECU 10 to confirm that the specified data has been successfully received by the on-board ECU 50.
従って、通信制御部22は、車載ECU50によって生成された確認信号の受信を有線通信で行う。言い換えると、通信制御部22は、車載ECU50において所定データが受信されたことを確認するための応答信号(ACK)を確認信号として、車載ECU50から有線通信部12を介して受信する。そして、通信制御部22は、かかる応答信号(確認信号)の受信により、車載ECU50において所定データが正常に受信されたことを確認することができる。 Therefore, the communication control unit 22 receives the confirmation signal generated by the on-board ECU 50 via wired communication. In other words, the communication control unit 22 receives a response signal (ACK) from the on-board ECU 50 via the wired communication unit 12 as a confirmation signal to confirm that the specified data has been received by the on-board ECU 50. Then, by receiving this response signal (confirmation signal), the communication control unit 22 can confirm that the specified data has been successfully received by the on-board ECU 50.
ここで、上記した所定データの送信あるいは受信が、何らかの問題で正常に行われない事象が生じることがある。本実施形態にあっては、このような事象が生じた場合であっても、適切に対応することができるようにした。 However, there may be some problem that prevents the transmission or reception of the specified data from occurring normally. In this embodiment, even if such a problem occurs, it is possible to respond appropriately.
具体的に説明すると、通信制御部22は、応答信号(確認信号)の受信の状況が所定条件を満たす場合、所定データを車載ECU50へ無線通信で再度送信してもよい。これにより、前回の所定データの送信あるいは受信が正常に行われない場合であっても、所定データを再送することで、所定データの送信および受信が正常に行われる可能性があり、よって上記した事象に対して適切に対応することが可能になる。 Specifically, if the status of reception of the response signal (confirmation signal) satisfies predetermined conditions, the communication control unit 22 may retransmit the specified data to the in-vehicle ECU 50 via wireless communication. As a result, even if the previous transmission or reception of the specified data was not performed normally, retransmitting the specified data may result in the specified data being transmitted and received normally, thereby making it possible to respond appropriately to the above-mentioned events.
より具体的に説明すると、通信制御部22は、所定データを複数の車載ECU50へ送信した後、車載ECU50からの応答信号の返信を待つ処理を行う。例えば、通信制御部22は、所定データの送信後、応答信号の返信を所定期間受け付ける。 More specifically, the communication control unit 22 transmits predetermined data to multiple on-board ECUs 50, and then waits for a response signal to be returned from each on-board ECU 50. For example, after transmitting the predetermined data, the communication control unit 22 accepts a response signal for a predetermined period of time.
なお、所定期間は、例えばCGWECU10および車載ECU50がともに正常であり、所定データが送信されてから、所定データが送信された全ての車載ECU50から応答信号が返信されると想定されるまでの期間に設定されるが、これに限られず、任意の期間に設定可能である。 The specified period is set, for example, to the period from when the CGW ECU 10 and the on-board ECUs 50 are both normal and when the specified data is transmitted until it is assumed that response signals are returned from all on-board ECUs 50 to which the specified data was transmitted, but it is not limited to this and can be set to any period.
通信制御部22は、応答信号の返信を所定期間受け付けた後、応答信号の返信率を算出する。例えば、通信制御部22は、所定データが送信された全ての車載ECU50に対し、応答信号が返信された車載ECU50の割合、すなわち応答信号の返信率を算出する。 After receiving response signals for a predetermined period of time, the communication control unit 22 calculates the response signal response rate. For example, the communication control unit 22 calculates the proportion of on-board ECUs 50 that have returned response signals to all on-board ECUs 50 to which predetermined data has been transmitted, i.e., the response signal response rate.
通信制御部22は、算出された応答信号の返信率と所定値とを比較する。そして、通信制御部22は、返信率が所定値以下であり、かつ、送信余裕時間がある場合、所定データを車載ECU50へ無線通信で再度送信する。すなわち、この返信率が所定値以下であり、かつ、送信余裕時間がある場合という条件が、上記した所定条件の一例である。 The communication control unit 22 compares the calculated response signal response rate with a predetermined value. If the response rate is equal to or less than the predetermined value and there is sufficient time to transmit, the communication control unit 22 retransmits the specified data to the on-board ECU 50 via wireless communication. In other words, the condition that the response rate is equal to or less than the predetermined value and there is sufficient time to transmit is an example of the above-mentioned predetermined condition.
なお、所定値は、例えば返信率がその値以下の場合、所定データの無線通信での送信時に何らかの問題が発生していたと推定されるような値に設定される。詳しくは、所定値は、例えば一時的な有害電波の影響などによって、所定データが複数の車載ECU50のうちの一部あるいは全部に到達しなかったと推定されるような値に設定される。なお、所定値は、上記に限定されるものではなく、例えば100%未満の値であれば任意の値に設定可能である。 The predetermined value is set to a value that, if the response rate is below that value, indicates that some problem occurred when the specified data was transmitted wirelessly. More specifically, the predetermined value is set to a value that indicates that the specified data did not reach some or all of the multiple on-board ECUs 50, for example, due to the influence of temporary harmful radio waves. The predetermined value is not limited to the above, and can be set to any value less than 100%, for example.
また、送信余裕時間は、新たな所定データ(詳しくは、既に送信した所定データとは異なる、新たな所定データ)を次に送信するタイミングまでに、既に送信した所定データを無線通信で再送する余裕があることを示す時間である。 In addition, the transmission margin time indicates the amount of time available to resend previously transmitted specified data via wireless communication before the next transmission of new specified data (more specifically, new specified data that is different from the previously transmitted specified data).
従って、通信制御部22は、返信率が所定値以下であり、かつ、送信余裕時間がある場合、所定データを無線通信で再度送信することで、例えば、前回の所定データの送信時に何らかの問題が発生して、所定データの送受信が正常に行われなかった場合であっても、再送により、所定データの送信および受信が正常に行われる可能性があり、よって上記した事象に対して適切に対応することが可能になる。 Therefore, if the response rate is below a predetermined value and there is sufficient transmission time, the communications control unit 22 will resend the specified data via wireless communication. This means that even if, for example, some problem occurred the last time the specified data was sent and the specified data was not sent or received properly, the resending may result in the specified data being sent and received properly, making it possible to respond appropriately to the above-mentioned events.
なお、通信制御部22は、返信率が100%である場合、すなわち、所定データが送信された全ての車載ECU50から応答信号が返信された場合、上記した所定データの再送などの処理は実行しない。 Note that if the response rate is 100%, i.e., if a response signal has been returned from all on-board ECUs 50 to which the specified data was transmitted, the communication control unit 22 will not perform processing such as retransmitting the specified data as described above.
また、通信制御部22は、応答信号の受信(返信)が行われない場合、応答信号の受信(返信)が行われない車載ECU50に対して所定データを有線通信で送信してもよい、すなわち、無線通信から有線通信に切り替えて所定データを送信してもよい。 Furthermore, if a response signal is not received (replied), the communication control unit 22 may transmit predetermined data via wired communication to the in-vehicle ECU 50 that is not receiving (replying) a response signal, i.e., may switch from wireless communication to wired communication and transmit the predetermined data.
これにより、無線通信では所定データの送信あるいは受信が正常に行われない場合であっても、有線通信で送信することで、所定データの送信および受信が正常に行われる可能性があり、よって上記した事象に対して適切に対応することが可能になる。 As a result, even if specified data cannot be sent or received normally via wireless communication, it may be possible to send and receive the specified data normally by sending it via wired communication, thereby making it possible to respond appropriately to the above-mentioned events.
具体的に説明すると、通信制御部22は、例えば所定データが複数の車載ECU50のうちある程度の数の車載ECU50には到達したが、一部の車載ECU50に到達しなかった場合、所定データの無線通信の送信側の問題ではなく、所定データの無線通信の受信側に何らかの問題が発生していたと推定し、応答信号の受信(返信)が行われない車載ECU50に対して所定データを有線通信で送信する。 Specifically, for example, if the specified data reaches a certain number of the multiple on-board ECUs 50 but does not reach some of the on-board ECUs 50, the communication control unit 22 assumes that there is a problem on the receiving side of the wireless communication of the specified data, rather than a problem on the sending side of the wireless communication of the specified data, and transmits the specified data via wired communication to the on-board ECUs 50 that do not receive (reply from) a response signal.
より具体的には、通信制御部22は、例えば返信率が所定値より大きく、かつ、100%未満である場合、所定データの無線通信の受信側に問題が発生していたと推定し、応答信号の受信(返信)が行われない車載ECU50に対して所定データを有線通信で送信する。 More specifically, if the response rate is greater than a predetermined value but less than 100%, the communication control unit 22 assumes that a problem has occurred on the receiving side of the wireless communication of the predetermined data, and transmits the predetermined data via wired communication to the on-board ECU 50 that is not receiving (replying from) a response signal.
また、通信制御部22は、応答信号の受信(返信)が行われない場合であって、上記した送信余裕時間がない場合、応答信号の受信が行われない車載ECU50に対して所定データを有線通信で送信してもよい。言い換えると、通信制御部22は、例えば返信率が100%未満であって、所定データを無線通信で再送する余裕がない場合、応答信号の受信が行われない車載ECU50に対して所定データを有線通信で送信してもよい。 Furthermore, if a response signal is not received (reply) and there is no transmission margin time as described above, the communication control unit 22 may transmit predetermined data via wired communication to the in-vehicle ECU 50 that did not receive the response signal. In other words, if, for example, the response rate is less than 100% and there is no margin to resend the predetermined data via wireless communication, the communication control unit 22 may transmit predetermined data via wired communication to the in-vehicle ECU 50 that did not receive the response signal.
このように、通信制御部22は、応答信号の受信が行われず、無線通信では所定データの送受信が正常に行われない場合であっても、有線通信で送信することで、所定データの送信および受信が正常に行われる可能性があり、よって上記した事象に対して適切に対応することが可能になる。 In this way, even if the communication control unit 22 does not receive a response signal and the specified data is not sent or received normally via wireless communication, the specified data may be sent and received normally by sending it via wired communication, thereby making it possible to respond appropriately to the above-mentioned events.
また、本実施形態にあっては、応答信号の受信(返信)が行われない車載ECU50にのみ所定データを有線通信で送信するため、有線通信における通信負荷の増加を可能な限り抑制することができる。 In addition, in this embodiment, the specified data is transmitted via wired communication only to on-board ECUs 50 that do not receive (reply from) a response signal, thereby minimizing the increase in communication load in wired communication as much as possible.
なお、通信制御部22は、上記した所定データの送信を有線通信で行っても、所定データの送信あるいは受信が正常に行われない場合、異常対応処理を行ってもよい。例えば、通信制御部22は、所定データの有線通信での送信が異常対応処理条件を満たす場合、異常対応処理を行ってもよい。 Note that even when the above-mentioned specified data is transmitted via wired communication, the communication control unit 22 may perform anomaly handling processing if the transmission or reception of the specified data is not performed normally. For example, the communication control unit 22 may perform anomaly handling processing if the transmission of the specified data via wired communication satisfies the anomaly handling processing conditions.
なお、上記した異常対応処理条件は、例えば、所定データの有線通信での送信を1回あるいは複数回行っても所定データの送受信が正常に行われない場合などであるが、これに限定されるものではなく、任意の内容の条件に設定可能である。 Note that the above-mentioned abnormality handling processing conditions may be, for example, when specified data is not sent or received normally even after being sent via wired communication once or multiple times, but are not limited to this and can be set to any condition.
また、異常対応処理としては、例えば応答信号の受信が行われない車載ECU50に対する所定データの送信を一時的に中止する処理や、ダイアグの出力処理などであるが、これらは例示であって限定されるものではなく、任意の処理内容に設定可能である。 Furthermore, examples of abnormality response processing include temporarily halting the transmission of specified data to the onboard ECU 50 that is not receiving a response signal, or outputting a diagnostic, but these are merely examples and are not limiting, and any processing content can be set.
<車載ECUの構成>
次いで、車載ECU50の構成について図4を参照して具体的に説明する。図4は、車載ECU50の構成例を示すブロック図である。図4に示すように、車載ECU50は、無線通信部51と、有線通信部52と、制御部60と、記憶部70とを備える。
<Configuration of the on-board ECU>
Next, the configuration of the in-vehicle ECU 50 will be specifically described with reference to Fig. 4. Fig. 4 is a block diagram showing an example configuration of the in-vehicle ECU 50. As shown in Fig. 4, the in-vehicle ECU 50 includes a wireless communication unit 51, a wired communication unit 52, a control unit 60, and a storage unit 70.
無線通信部51は、CGWECU10に無線通信で双方向に通信可能に接続する通信インターフェイスであり、例えばCGWECU10との間で所定データなどを含む各種のデータの送受信を行う。 The wireless communication unit 51 is a communication interface that connects to the CGWECU 10 via wireless communication to enable bidirectional communication, and transmits and receives various data, including predetermined data, to and from the CGWECU 10.
有線通信部52は、CGWECU10に、通信バスB(図2参照)などを用いた有線通信で双方向に通信可能に接続する通信インターフェイスであり、例えばCGWECU10との間で確認信号(応答信号)などを含む各種のデータの送受信を行う。 The wired communication unit 52 is a communication interface that connects to the CGWECU 10 via wired communication using a communication bus B (see Figure 2) or the like, enabling bidirectional communication, and transmits and receives various data, including confirmation signals (response signals), between the CGWECU 10 and the CGWECU 10.
制御部60は、送受信部61と、処理部62とを備え、例えば、CPU、ROM、RAM、ハードディスクドライブ、入出力ポートなどを有するコンピュータや各種の回路を含む。コンピュータのCPUは、例えば、ROMに記憶されたプログラムを読み出して実行することによって、制御部60の送受信部61および処理部62として機能する。また、制御部60の送受信部61および処理部62の少なくともいずれか一部または全部をASICやFPGA等のハードウェアで構成することもできる。 The control unit 60 includes a transceiver unit 61 and a processing unit 62, and includes, for example, a computer with a CPU, ROM, RAM, hard disk drive, input/output ports, and various other circuits. The computer's CPU functions as the transceiver unit 61 and processing unit 62 of the control unit 60, for example, by reading and executing a program stored in ROM. Furthermore, at least some or all of the transceiver unit 61 and processing unit 62 of the control unit 60 can also be configured using hardware such as an ASIC or FPGA.
また、記憶部70は、例えば、不揮発性メモリやデータフラッシュ、ハードディスクドライブといった記憶デバイスで構成される記憶部である。かかる記憶部70には、各種プログラムなどが記憶される。 The storage unit 70 is composed of a storage device such as a non-volatile memory, data flash, or hard disk drive. Various programs and the like are stored in the storage unit 70.
制御部60の送受信部61は、CGWECU10から送信された所定データを受信すると、確認信号を生成する。詳しくは、送受信部61は、CGWECU10から無線通信で送信された所定データを無線通信部51を介して受信すると、応答信号(確認信号)を生成する。 When the transceiver 61 of the control unit 60 receives the specified data transmitted from the CGWECU 10, it generates a confirmation signal. More specifically, when the transceiver 61 receives the specified data transmitted by wireless communication from the CGWECU 10 via the wireless communication unit 51, it generates a response signal (confirmation signal).
そして、送受信部61は、生成された応答信号を所定のタイミングでCGWECU10へ有線通信で送信(返信)する。なお、所定のタイミングは、例えば車載ECU50がCGWECU10へデータを送信するタイミングに設定される。かかるデータは、応答信号とは異なるデータであり、例えばCGWECU10で利用されるデータや、CGWECU10を介して他の車載ECU50へ送信されて利用されるデータなどであるが、これらに限定されるものではない。 The transmitter/receiver 61 then transmits (replies to) the generated response signal via wired communication to the CGWECU10 at a predetermined timing. Note that the predetermined timing is set, for example, to the timing at which the on-board ECU 50 transmits data to the CGWECU10. This data is different from the response signal, and may be, for example, data used by the CGWECU10 or data sent to and used by another on-board ECU 50 via the CGWECU10, but is not limited to these.
このように、送受信部61は、データを有線通信で送信するタイミングで、データとともに応答信号を送信する。なお、所定のタイミングは、上記したデータを送信するタイミングに限定されるものではなく、任意のタイミングに設定可能である。 In this way, the transmitter/receiver 61 transmits a response signal along with the data at the same time that the data is transmitted via wired communication. Note that the specified timing is not limited to the timing of transmitting the data described above, and can be set to any timing.
なお、CGWECU10では、上記したように、所定データの送信後に応答信号の返信を所定期間受け付けるが、送受信部61は、かかる所定期間が経過するまでに、CGWECU10へ送信するデータがない場合、応答信号のみをCGWECU10へ有線通信で送信してもよい。 As described above, the CGWECU10 accepts a response signal for a predetermined period of time after transmitting the specified data. However, if there is no data to transmit to the CGWECU10 before the predetermined period has elapsed, the transceiver unit 61 may transmit only the response signal to the CGWECU10 via wired communication.
なお、上記では、送受信部61は、CGWECU10から無線通信で送信された所定データを受信するようにしたが、CGWECU10から有線通信で送信された所定データを受信した場合も同様に、応答信号を生成してCGWECU10へ送信(返信)することができる。 In the above description, the transceiver 61 is configured to receive specified data transmitted by wireless communication from the CGWECU 10, but it can also generate a response signal and transmit (reply) it to the CGWECU 10 when it receives specified data transmitted by wired communication from the CGWECU 10.
処理部62は、受信した所定データに基づいて、車両の制御に関する各種の処理を実行する。 The processing unit 62 performs various processes related to vehicle control based on the received specified data.
<第1の実施形態に係るCGWECUの制御処理>
次に、CGWECU(通信装置)10における具体的な処理手順について図5を用いて説明する。図5は、CGWECU(通信装置)10が実行する処理手順を示すフローチャートである。
<Control process of CGW ECU according to the first embodiment>
Next, a specific processing procedure in the CGWECU (communication device) 10 will be described with reference to Fig. 5. Fig. 5 is a flowchart showing the processing procedure executed by the CGWECU (communication device) 10.
図5に示すように、CGWECU10の制御部20は、車載ECU50への送信の対象となる所定データを取得する(ステップS10)。次いで、制御部20は、所定データを車載ECU50へ無線通信で送信する(ステップS11)。 As shown in FIG. 5, the control unit 20 of the CGW ECU 10 acquires predetermined data to be transmitted to the on-board ECU 50 (step S10). Next, the control unit 20 transmits the predetermined data to the on-board ECU 50 via wireless communication (step S11).
次いで、制御部20は、車載ECU50からの応答信号の返信を所定期間受け付ける(ステップS12)。次いで、制御部20は、応答信号の返信率を算出し、算出された返信率が100%であるか否かを判定する(ステップS13)。すなわち、ステップS13の処理は、所定データが送信された全ての車載ECU50から応答信号が返信されたか否かを判定する処理である。 Next, the control unit 20 accepts response signals from the on-board ECUs 50 for a predetermined period of time (step S12). Next, the control unit 20 calculates the response signal response rate and determines whether the calculated response rate is 100% (step S13). In other words, the processing of step S13 is processing to determine whether response signals have been returned from all on-board ECUs 50 to which the predetermined data was transmitted.
制御部20は、応答信号の返信率が100%である場合(ステップS13,Yes)、そのまま処理を終了し、次に新たな所定データを送信する処理の開始タイミングまで待機する。 If the response signal return rate is 100% (Step S13, Yes), the control unit 20 ends the process and waits until the next timing to start the process of transmitting new specified data.
一方、制御部20は、応答信号の返信率が100%ではない場合(ステップS13,No)、続いて応答信号の返信率が所定値以下であり、かつ、送信余裕時間があるか否かを判定する(ステップS14)。 On the other hand, if the response signal return rate is not 100% (step S13, No), the control unit 20 then determines whether the response signal return rate is below a predetermined value and whether there is sufficient transmission time (step S14).
制御部20は、応答信号の返信率が所定値以下であり、かつ、送信余裕時間がある場合(ステップS14,Yes)、所定データを車載ECU50へ無線通信で再度送信する(ステップS15)。そして、制御部20は、ステップS12の処理へ戻り、車載ECU50からの応答信号の返信を待つ処理を行う。 If the response signal return rate is equal to or less than the predetermined value and there is sufficient transmission time (step S14, Yes), the control unit 20 retransmits the specified data to the on-board ECU 50 via wireless communication (step S15). The control unit 20 then returns to step S12 and waits for a response signal from the on-board ECU 50.
他方、制御部20は、応答信号の返信率が所定値以下ではない場合、あるいは、送信余裕時間がない場合(ステップS14,No)、所定データの有線通信での送信が異常対応処理条件を満たすか否かを判定する(ステップS16)。 On the other hand, if the response signal return rate is not below the predetermined value, or if there is no transmission margin (step S14, No), the control unit 20 determines whether the transmission of the specified data via wired communication satisfies the abnormality response processing conditions (step S16).
制御部20は、ステップS16の処理を最初に実行するときは、所定データの有線通信での送信が行われていないため、異常対応処理条件を満たしていないと判定し(ステップS16,No)、応答信号の受信(返信)が行われない車載ECU50に対して所定データを有線通信で送信する(ステップS17)。そして、制御部20は、ステップS12の処理へ戻り、車載ECU50からの応答信号の返信を待つ処理を行う。 When the control unit 20 first executes the process of step S16, it determines that the abnormality response processing conditions are not met because the specified data has not been transmitted via wired communication (step S16, No), and transmits the specified data via wired communication to the on-board ECU 50 that has not received (returned) a response signal (step S17). The control unit 20 then returns to the process of step S12 and waits for a response signal to be returned from the on-board ECU 50.
次いで、制御部20は、所定データの有線通信での送信が異常対応処理条件を満たすと判定された場合(ステップS16,Yes)、言い換えると、所定データの送信を有線通信で行っても、所定データの送信あるいは受信が正常に行われないような場合、異常対応処理を実行し(ステップS18)、そのまま処理を終了する。 Next, if the control unit 20 determines that the transmission of the specified data via wired communication satisfies the abnormality response processing conditions (step S16, Yes), in other words, if the specified data is not transmitted or received normally even when transmitted via wired communication, it executes abnormality response processing (step S18) and terminates the process.
上述してきたように、第1の実施形態に係るCGWECU(通信装置の一例)10は、車載ECU(受信装置の一例)50と通信可能に構成される。また、CGWECU10は、車載ECU50への所定データの送信を無線通信で行い、所定データの送受信(詳しくは受信)の確認に関する確認信号(応答信号)の受信を有線通信で行う通信制御部22を備える。これにより、有線通信における通信負荷を低減させることができる。 As described above, the CGWECU (an example of a communication device) 10 according to the first embodiment is configured to be able to communicate with the on-board ECU (an example of a receiving device) 50. The CGWECU 10 also includes a communication control unit 22 that transmits predetermined data to the on-board ECU 50 via wireless communication and receives confirmation signals (response signals) confirming the transmission and reception (more specifically, reception) of the predetermined data via wired communication. This reduces the communication load associated with wired communication.
(第2の実施形態)
次いで、第2の実施形態について図2を参照して説明する。なお、以下においては、第1の実施形態と共通の構成については、同一の符号を付して説明を省略する。
Second Embodiment
Next, a second embodiment will be described with reference to Fig. 2. In the following, components common to the first embodiment will be denoted by the same reference numerals and description thereof will be omitted.
図2に示すように、通信システム1においては、複数の車載ECU50が通信バスBを介して接続されて有線通信可能に構成される。第2の実施形態では、複数の車載ECU50同士の有線通信における通信負荷を低減させることができるような構成とした。 As shown in FIG. 2, in communication system 1, multiple on-board ECUs 50 are connected via communication bus B to enable wired communication. In the second embodiment, the communication system is configured to reduce the communication load in wired communication between multiple on-board ECUs 50.
以下では、一例として、複数の車載ECU50のうち、車載ECU50b1がデータを送信するものとし、かかる車載ECU50b1を「送信側ECU50b1」と記載する。また、車載ECU50b2は、送信側ECU50b1から送信されたデータを受信するものとし、かかる車載ECU50b2を「受信側ECU50b2」と記載する。なお、第2の実施形態において、送信側ECU50b1は、通信装置の一例であり、受信側ECU50b2は、受信装置の一例である。 In the following, as an example, it is assumed that, of the multiple on-board ECUs 50, on-board ECU 50b1 transmits data, and such on-board ECU 50b1 will be referred to as the "sending ECU 50b1." Furthermore, it is assumed that on-board ECU 50b2 receives the data transmitted from the sending ECU 50b1, and such on-board ECU 50b2 will be referred to as the "receiving ECU 50b2." Note that in the second embodiment, sending ECU 50b1 is an example of a communication device, and receiving ECU 50b2 is an example of a receiving device.
また、以下では、送信側ECU50b1についてはデータを送信する機能を説明し、受信側ECU50b2についてはデータを受信する機能を説明するため、互いの構成が異なるものとして説明するが、これは理解の便宜のためであって、限定されるものではない。すなわち、車載ECU50b2がデータを送信してもよく、かかる場合、車載ECU50b2が「送信側ECU」として機能する。また、車載ECU50b1が車載ECU50b2から送信されるデータを受信してもよく、かかる場合、車載ECU50b1が「受信側ECU」として機能する。すなわち、複数の車載ECU50はいずれも、「送信側ECU」および「受信側ECU」の両方の機能を有するように構成されてもよい。 Furthermore, in the following, the transmitting ECU 50b1 will be described as having a data transmitting function, and the receiving ECU 50b2 will be described as having a data receiving function, so they will be described as having different configurations. However, this is for ease of understanding and is not a limitation. That is, the on-board ECU 50b2 may transmit data, in which case the on-board ECU 50b2 functions as the "sending ECU." Also, the on-board ECU 50b1 may receive data transmitted from the on-board ECU 50b2, in which case the on-board ECU 50b1 functions as the "receiving ECU." That is, any of the multiple on-board ECUs 50 may be configured to have the functions of both a "sending ECU" and a "receiving ECU."
<送信側ECUの構成>
先ず、送信側ECU50b1の構成について図6を参照して具体的に説明する。図6は、第2の実施形態に係る送信側ECU50b1の構成例を示すブロック図である。図6に示すように、送信側ECU50b1は、無線通信部51と、有線通信部52と、制御部60b1と、記憶部70b1とを備える。
<Configuration of the transmitting ECU>
First, the configuration of the transmitter ECU 50b1 will be specifically described with reference to Fig. 6. Fig. 6 is a block diagram showing an example of the configuration of the transmitter ECU 50b1 according to the second embodiment. As shown in Fig. 6, the transmitter ECU 50b1 includes a wireless communication unit 51, a wired communication unit 52, a control unit 60b1, and a storage unit 70b1.
無線通信部51は、受信側ECU50b2に無線通信で双方向に通信可能に接続する通信インターフェイスであり、例えば受信側ECU50b2との間で所定データなどを含む各種のデータの送受信を行う。 The wireless communication unit 51 is a communication interface that connects to the receiving ECU 50b2 via wireless communication to enable bidirectional communication, and transmits and receives various data, including predetermined data, between the receiving ECU 50b2 and the receiving ECU 50b2.
有線通信部52は、受信側ECU50b2に、通信バスB(図2参照)などを用いた有線通信で双方向に通信可能に接続する通信インターフェイスであり、例えば受信側ECU50b2との間で確認信号などを含む各種のデータの送受信を行う。 The wired communication unit 52 is a communication interface that connects to the receiving ECU 50b2 via wired communication using a communication bus B (see Figure 2) or the like, enabling bidirectional communication, and transmits and receives various data, including confirmation signals, between the receiving ECU 50b2 and the receiving ECU 50b2.
制御部60b1は、取得部61b1と、通信制御部62b1とを備え、例えば、CPU、ROM、RAM、ハードディスクドライブ、入出力ポートなどを有するコンピュータや各種の回路を含む。コンピュータのCPUは、例えば、ROMに記憶されたプログラムを読み出して実行することによって、制御部60b1の取得部61b1および通信制御部62b1として機能する。また、制御部60b1の取得部61b1および通信制御部62b1の少なくともいずれか一部または全部をASICやFPGA等のハードウェアで構成することもできる。 The control unit 60b1 includes an acquisition unit 61b1 and a communication control unit 62b1, and includes, for example, a computer with a CPU, ROM, RAM, a hard disk drive, input/output ports, and various other circuits. The computer's CPU functions as the acquisition unit 61b1 and communication control unit 62b1 of the control unit 60b1, for example, by reading and executing a program stored in ROM. Furthermore, at least some or all of the acquisition unit 61b1 and communication control unit 62b1 of the control unit 60b1 can also be configured using hardware such as an ASIC or FPGA.
また、記憶部70b1は、例えば、不揮発性メモリやデータフラッシュ、ハードディスクドライブといった記憶デバイスで構成される記憶部である。かかる記憶部70b1には、所定データ71b1および各種プログラムなどが記憶される。 The storage unit 70b1 is configured with a storage device such as a non-volatile memory, data flash, or hard disk drive. This storage unit 70b1 stores predetermined data 71b1 and various programs.
所定データ71b1は、受信側ECU50b2への送信の対象となるデータである。所定データ71b1には、例えば、確認信号が付されるような比較的重要度の高いデータ(ブレーキの状態など)が含まれるが、これに限定されるものではない。ここで、第2の実施形態における確認信号は、受信側ECU50b2が所定データの正規性を確認するための認証信号(例えばMAC(Message Authentication Code(メッセージ認証符号))であり、言い換えると、所定データの送受信(詳しくは送信)の確認に関する信号である。 The predetermined data 71b1 is data to be transmitted to the receiving ECU 50b2. The predetermined data 71b1 includes, for example, relatively important data (such as the brake status) that is accompanied by a confirmation signal, but is not limited to this. Here, the confirmation signal in the second embodiment is an authentication signal (e.g., a MAC (Message Authentication Code)) that the receiving ECU 50b2 uses to confirm the authenticity of the predetermined data; in other words, it is a signal that confirms the transmission and reception (more specifically, transmission) of the predetermined data.
制御部60b1の取得部61b1は、所定データを取得する。取得部61b1は、取得されたデータを記憶部70b1に所定データ71b1として記憶させる。例えば、所定データとしてブレーキの状態を取得する場合、取得部61b1は、ブレーキの状態を示す信号を、センサ100b(図2参照)から取得し、取得されたブレーキの状態を所定データ71b1として記憶部70b1に記憶させる。 The acquisition unit 61b1 of the control unit 60b1 acquires specified data. The acquisition unit 61b1 stores the acquired data in the memory unit 70b1 as specified data 71b1. For example, when acquiring the brake status as the specified data, the acquisition unit 61b1 acquires a signal indicating the brake status from the sensor 100b (see Figure 2) and stores the acquired brake status in the memory unit 70b1 as specified data 71b1.
通信制御部62b1は、受信側ECU50b2への所定データの送信を無線通信で行い、所定データの認証信号(確認信号)の送信を有線通信で行う。例えば、通信制御部62b1は、記憶部70b1の所定データ71b1を読み出し、読み出したデータを無線通信部51を介して無線通信で送信し、所定データの正規性を確認するための認証信号を有線通信部52を介して有線通信で送信する。 The communication control unit 62b1 transmits specified data to the receiving ECU 50b2 via wireless communication and transmits an authentication signal (confirmation signal) for the specified data via wired communication. For example, the communication control unit 62b1 reads specified data 71b1 from the memory unit 70b1, transmits the read data via wireless communication via the wireless communication unit 51, and transmits an authentication signal for confirming the authenticity of the specified data via wired communication via the wired communication unit 52.
上記した所定データおよび認証信号の送信について、図7を参照して詳説する。図7は、所定データおよび認証信号の送信について説明する図である。なお、図7において、上段は所定データおよび認証信号がともに有線通信で送信される場合の比較例を示し、下段は第2の実施形態において所定データが無線通信で、認証信号が有線通信で送信される例を示している。 The transmission of the above-mentioned specified data and authentication signal will be explained in detail with reference to Figure 7. Figure 7 is a diagram explaining the transmission of the specified data and authentication signal. Note that in Figure 7, the upper part shows a comparative example in which the specified data and authentication signal are both transmitted via wired communication, while the lower part shows an example in the second embodiment in which the specified data is transmitted via wireless communication and the authentication signal is transmitted via wired communication.
図7の上段に示すように、比較例における送信データDaは、ヘッダ、所定データおよび認証信号(MAC)を含み、有線通信で送信される。このように、送信側ECU50b1から受信側ECU50b2への送信データDaの全てが有線通信で送信されると、通信バスB(図2参照)のデータ通信量が増大して有線通信における通信負荷が増加してしまう。 As shown in the upper part of Figure 7, the transmission data Da in the comparative example includes a header, predetermined data, and an authentication signal (MAC), and is transmitted via wired communication. In this way, if all of the transmission data Da from the transmitting ECU 50b1 to the receiving ECU 50b2 is transmitted via wired communication, the amount of data communication on the communication bus B (see Figure 2) increases, increasing the communication load in the wired communication.
そこで、第2の実施形態においては、図7の下段に示すように、送信データDaを、ヘッダ、所定データおよびインデックス値を含む送信データD1と、インデックス値および認証信号を含む送信データD2とに分け、送信データD1が無線通信で、送信データD2が有線通信で送信されるようにする。 In the second embodiment, as shown in the lower part of Figure 7, transmission data Da is divided into transmission data D1, which includes a header, predetermined data, and an index value, and transmission data D2, which includes an index value and an authentication signal, and transmission data D1 is transmitted via wireless communication and transmission data D2 is transmitted via wired communication.
なお、上記したインデックス値は、送信データD1と送信データD2とを紐づける情報である。すなわち、受信側ECU50b2では、送信データD1に含まれるインデックス値と、送信データD2に含まれるインデックス値とを照合することで、送信データD1と送信データD2とを紐づけて対応させることが可能になる。なお、インデックス値は、時刻(例えば送信時刻)や送信側ECU50b1のタイマ値などを用いることができるが、これに限定されるものではない。また、インデックス値のデータ通信量は、所定データおよびヘッダのデータ通信量より小さいものとする。 The index value mentioned above is information that links transmission data D1 and transmission data D2. In other words, the receiving ECU 50b2 can link and correspond transmission data D1 and D2 by comparing the index value contained in transmission data D1 with the index value contained in transmission data D2. The index value can be, but is not limited to, a time (e.g., transmission time) or a timer value of the sending ECU 50b1. The data communication volume of the index value is assumed to be smaller than the data communication volume of the specified data and header.
このように、第2の実施形態においては、受信側ECU50b2への所定データを含む送信データD1の送信を無線通信で行い、認証信号を含む送信データD2の送信を有線通信で行うようにした。これにより、例えば比較例のように所定データの送信が有線通信で行われる場合に比べ、有線通信における通信負荷を所定データのデータ通信量の分だけ(正確には所定データおよびヘッダのデータ通信量の分だけ)低減させることができる。 In this way, in the second embodiment, transmission data D1 including the specified data is transmitted to the receiving ECU 50b2 via wireless communication, and transmission data D2 including the authentication signal is transmitted via wired communication. This makes it possible to reduce the communication load in wired communication by the amount of data communication of the specified data (more precisely, by the amount of data communication of the specified data and header) compared to, for example, when transmission of the specified data is performed via wired communication, as in the comparative example.
図6の説明を続けると、通信制御部62b1は、上記したように認証信号を確認信号として受信側ECU50b2へ送信する。これにより、受信側ECU50b2では、認証信号を受信することで、認証信号と対応付けられた所定データの正規性を確認することができる。 Continuing with the explanation of Figure 6, the communication control unit 62b1 transmits the authentication signal as a confirmation signal to the receiving ECU 50b2 as described above. As a result, the receiving ECU 50b2 can receive the authentication signal and confirm the validity of the specified data associated with the authentication signal.
ここで、例えば、上記した送信データD1および送信データD2のいずれかが、何らかの問題で受信側ECU50b2において受信されないことがある。このような場合、受信側ECU50b2では、受信されていない所定データを含む送信データD1、または、受信されていない認証信号を含む送信データD2の再送を要求する処理が行われる。 Here, for example, it may happen that either the transmission data D1 or the transmission data D2 described above is not received by the receiving ECU 50b2 due to some problem. In such a case, the receiving ECU 50b2 performs processing to request retransmission of the transmission data D1 containing the specified data that was not received, or the transmission data D2 containing the authentication signal that was not received.
従って、通信制御部62b1は、受信側ECU50b2による再送の要求がなされた場合、言い換えると、受信側ECU50b2において対応する所定データ(送信データD1)および認証信号(送信データD2)が受信されていない場合、受信されていない所定データ(送信データD1)または受信されていない認証信号(送信データD2)を受信側ECU50b2へ再度送信する。 Therefore, when a retransmission request is made by the receiving ECU 50b2, in other words, when the corresponding specified data (transmission data D1) and authentication signal (transmission data D2) have not been received by the receiving ECU 50b2, the communication control unit 62b1 will retransmit the unreceived specified data (transmission data D1) or unreceived authentication signal (transmission data D2) to the receiving ECU 50b2.
これにより、受信側ECU50b2では、受信されていなかった所定データ、または、受信されていなかった認証信号を受信することが可能になる。 This allows the receiving ECU 50b2 to receive the specified data or authentication signal that has not been received.
なお、例えば所定データの再送がなされても、受信側ECU50b2において所定データが受信されていない場合、通信制御部62b1は、無線通信に何らかの問題が発生していると推定し、所定データを有線通信で送信してもよい。また、例えば認証信号の再送がなされても、受信側ECU50b2において認証信号が受信されていない場合、通信制御部62b1は、有線通信に何らかの問題が発生していると推定し、認証信号を無線通信で送信してもよい。これにより、受信側ECU50b2において、所定データの受信、または、認証信号の受信が正常に行われる可能性を向上させることができる。 For example, if the specified data is retransmitted but not received by the receiving ECU 50b2, the communication control unit 62b1 may assume that there is a problem with the wireless communication and may transmit the specified data via wired communication. For example, if the authentication signal is retransmitted but not received by the receiving ECU 50b2, the communication control unit 62b1 may assume that there is a problem with the wired communication and may transmit the authentication signal via wireless communication. This increases the likelihood that the specified data or the authentication signal will be received normally by the receiving ECU 50b2.
<受信側ECUの構成>
次に、受信側ECU50b2の構成について図8を参照して具体的に説明する。図8は、第2の実施形態に係る受信側ECU50b2の構成例を示すブロック図である。図8に示すように、受信側ECU50b2は、無線通信部51と、有線通信部52と、制御部60b2と、記憶部70b2とを備える。
<Configuration of Receiving ECU>
Next, the configuration of the receiver ECU 50b2 will be specifically described with reference to Fig. 8. Fig. 8 is a block diagram showing an example of the configuration of the receiver ECU 50b2 according to the second embodiment. As shown in Fig. 8, the receiver ECU 50b2 includes a wireless communication unit 51, a wired communication unit 52, a control unit 60b2, and a storage unit 70b2.
無線通信部51は、送信側ECU50b1に無線通信で双方向に通信可能に接続する通信インターフェイスであり、例えば送信側ECU50b1との間で所定データなどを含む各種のデータの送受信を行う。 The wireless communication unit 51 is a communication interface that connects to the transmitting ECU 50b1 via wireless communication to enable bidirectional communication, and transmits and receives various data, including predetermined data, between the transmitting ECU 50b1 and the transmitting ECU 50b1.
有線通信部52は、送信側ECU50b1に、通信バスB(図2参照)などを用いた有線通信で双方向に通信可能に接続する通信インターフェイスであり、例えば送信側ECU50b1との間で確認信号(認証信号)などを含む各種のデータの送受信を行う。 The wired communication unit 52 is a communication interface that connects to the sending ECU 50b1 via wired communication using a communication bus B (see Figure 2) or the like to enable bidirectional communication, and transmits and receives various data, including confirmation signals (authentication signals), between the sending ECU 50b1 and the sending ECU 50b1.
制御部60b2は、送受信部61b2と、処理部62b2とを備え、例えば、CPU、ROM、RAM、ハードディスクドライブ、入出力ポートなどを有するコンピュータや各種の回路を含む。コンピュータのCPUは、例えば、ROMに記憶されたプログラムを読み出して実行することによって、制御部60b2の送受信部61b2および処理部62b2として機能する。また、制御部60b2の送受信部61b2および処理部62b2の少なくともいずれか一部または全部をASICやFPGA等のハードウェアで構成することもできる。 The control unit 60b2 includes a transceiver unit 61b2 and a processing unit 62b2, and includes, for example, a computer with a CPU, ROM, RAM, a hard disk drive, input/output ports, and various other circuits. The computer's CPU functions as the transceiver unit 61b2 and processing unit 62b2 of the control unit 60b2, for example, by reading and executing a program stored in ROM. Furthermore, at least some or all of the transceiver unit 61b2 and processing unit 62b2 of the control unit 60b2 can also be configured using hardware such as an ASIC or FPGA.
また、記憶部70b2は、例えば、不揮発性メモリやデータフラッシュ、ハードディスクドライブといった記憶デバイスで構成される記憶部である。かかる記憶部70b2には、各種プログラムなどが記憶される。 The storage unit 70b2 is configured with a storage device such as a non-volatile memory, data flash, or hard disk drive. Various programs and the like are stored in the storage unit 70b2.
制御部60b2の送受信部61b2は、送信側ECU50b1から送信された所定データを含む送信データD1を無線通信部51を介して受信する。また、送受信部61b2は、送信側ECU50b1から送信された認証信号を含む送信データD2を有線通信部52を介して受信する。 The transceiver 61b2 of the control unit 60b2 receives transmission data D1, which includes predetermined data and is transmitted from the transmitting ECU 50b1, via the wireless communication unit 51. The transceiver 61b2 also receives transmission data D2, which includes an authentication signal and is transmitted from the transmitting ECU 50b1, via the wired communication unit 52.
送受信部61b2は、送信データD1に含まれるインデックス値と、送信データD2に含まれるインデックス値とを照合して一致する場合、送信データD1と送信データD2とを紐づけて対応させる。 The transmitter/receiver 61b2 compares the index value included in the transmission data D1 with the index value included in the transmission data D2, and if they match, associates and corresponds the transmission data D1 and D2.
また、送受信部61b2は、認証信号に基づいて、認証信号と対応付けられた所定データの正規性を確認する。送受信部61b2は、正規性が確認された所定データを処理部62b2へ出力する。 The transmitter/receiver 61b2 also confirms the authenticity of the specified data associated with the authentication signal based on the authentication signal. The transmitter/receiver 61b2 outputs the specified data whose authenticity has been confirmed to the processing unit 62b2.
また、送受信部61b2は、所定データおよび認証信号のうちの一方を受信するなど、対応する所定データ(送信データD1)および認証信号(送信データD2)が受信されていない場合、受信されていない所定データを含む送信データD1、または、受信されていない認証信号を含む送信データD2の再送を送信側ECU50b1に要求する。 In addition, if the transmitter/receiver 61b2 receives either the specified data or the authentication signal, but does not receive the corresponding specified data (transmission data D1) or authentication signal (transmission data D2), the transmitter/receiver 61b2 requests the transmitting ECU 50b1 to resend the transmission data D1 containing the specified data that has not been received, or the transmission data D2 containing the authentication signal that has not been received.
処理部62b2は、正規性が確認された所定データに基づいて、車両の制御に関する各種の処理を実行する。 The processing unit 62b2 performs various processes related to vehicle control based on the specified data whose validity has been confirmed.
<第2の実施形態に係る通信システムの制御処理>
次に、第2の実施形態に係る通信システム1が実行する処理手順について、図9を用いて説明する。図9は、第2の実施形態に係る通信システム1が実行する処理シーケンスの一例を示す図である。
<Control process of communication system according to second embodiment>
Next, a processing procedure executed by the communication system 1 according to the second embodiment will be described with reference to Fig. 9. Fig. 9 is a diagram showing an example of a processing sequence executed by the communication system 1 according to the second embodiment.
図9に示すように、送信側ECU50b1の制御部60b1は、受信側ECU50b2への送信の対象となる所定データを取得する(ステップS20)。次いで、制御部60b1は、所定データ(送信データD1)を無線通信で送信し、認証信号(送信データD2)を有線通信で送信する(ステップS21)。 As shown in FIG. 9, the control unit 60b1 of the transmitting ECU 50b1 acquires predetermined data to be transmitted to the receiving ECU 50b2 (step S20). Next, the control unit 60b1 transmits the predetermined data (transmission data D1) via wireless communication and transmits an authentication signal (transmission data D2) via wired communication (step S21).
次いで、受信側ECU50b2の制御部60b2は、対応する所定データ(送信データD1)および認証信号(送信データD2)が受信されたか否かを判定する受信判定処理を行う(ステップS22)。制御部60b2は、対応する所定データおよび認証信号が受信されたと判定される場合、上記したように、所定データを用いた車両の制御に関する各種の処理を行う。 Next, the control unit 60b2 of the receiving ECU 50b2 performs a reception determination process to determine whether the corresponding predetermined data (transmission data D1) and authentication signal (transmission data D2) have been received (step S22). If the control unit 60b2 determines that the corresponding predetermined data and authentication signal have been received, it performs various processes related to vehicle control using the predetermined data, as described above.
制御部60b2は、対応する所定データおよび認証信号が受信されていない場合、受信されていない所定データまたは受信されていない認証信号の再送を送信側ECU50b1へ要求する(ステップS23)。 If the corresponding specified data and authentication signal have not been received, the control unit 60b2 requests the transmitting ECU 50b1 to retransmit the unreceived specified data or unreceived authentication signal (step S23).
受信側ECU50b2は、再送の要求がなされると、受信されていない所定データまたは受信されていない認証信号を受信側ECU50b2へ再度送信する(ステップS24)。 When a retransmission request is made, the receiving ECU 50b2 retransmits the unreceived specified data or unreceived authentication signal to the receiving ECU 50b2 (step S24).
このように、第2の実施形態に係る送信側ECU(通信装置の一例)50b1は、受信側ECU(受信装置の一例)50b2と通信可能に構成される。また、送信側ECU50b1は、受信側ECU50b2への所定データの送信を無線通信で行い、所定データの送受信(詳しくは送信)の確認に関する確認信号(認証信号)の送信を有線通信で行う通信制御部62b1を備える。これにより、有線通信における通信負荷を低減させることができる。 In this way, the transmitting ECU (an example of a communication device) 50b1 according to the second embodiment is configured to be able to communicate with the receiving ECU (an example of a receiving device) 50b2. The transmitting ECU 50b1 also includes a communication control unit 62b1 that transmits predetermined data to the receiving ECU 50b2 via wireless communication and transmits a confirmation signal (authentication signal) confirming the transmission and reception (more specifically, transmission) of the predetermined data via wired communication. This reduces the communication load in wired communication.
また、上記した第1および第2の実施形態においては、所定データの送受信の有無や確認のためのデータ(例えば確認信号(応答信号や認証信号))を有線通信するようにしたので、送受信の有無や確認の情報は確実に伝わることとなる。すなわち、例えば仮に、送受信の有無や確認の情報を無線通信した場合には、ノイズ環境等では実データの送信も送受信の有無や確認の情報の送信も不明な状況になり、混乱や無駄な再送信等の処理が行われたりする事象が生じ得る(例えば、正常にデータが受信されているにも関わらず確認信号が伝わらない状態になる事象が生じ得る)。第1および第2の実施形態では、上記したように有線通信を用いることで、このような事象の発生を防止することが可能になる。 In addition, in the first and second embodiments described above, data for confirming whether or not specific data has been sent or received (e.g., confirmation signals (response signals or authentication signals)) is transmitted via wired communication, so information on whether or not data has been sent or received and confirmation information is transmitted reliably. In other words, if, for example, information on whether or not data has been sent or received and confirmation information were transmitted wirelessly, in a noisy environment or the like, it could become unclear whether or not the actual data was sent or whether or not data has been sent or confirmation information was sent, which could result in confusion or unnecessary retransmissions (for example, a situation could arise in which the confirmation signal is not transmitted even though data has been received correctly). In the first and second embodiments, by using wired communication as described above, it is possible to prevent such events from occurring.
また、無線-無線のループを用いた場合、どちらの経路もノイズ等の影響を受けやすい。そのため、データの送受信エラー等が発生した場合、どちらの無線経路でのエラーか不明のため、言い換えると推定しにくいため、適切な対処が困難となるおそれがある。第1および第2の実施形態では、無線-有線を用いるため、無線でのエラーと略確実に推測することができる。 Furthermore, when a wireless-wireless loop is used, both paths are susceptible to noise and other factors. Therefore, if a data transmission/reception error occurs, it is unclear which wireless path the error occurred on, which makes it difficult to estimate, and it may be difficult to take appropriate action. In the first and second embodiments, a wireless-wired loop is used, so it is possible to almost certainly infer that the error is wireless.
なお、上記した各実施形態において、CGWECU10および車載ECU50が通信バスBによって通信可能に接続されるようにしたが、これに限られず、例えば電力線通信(PLC(Power Line Communication))によって通信可能に接続されるようにしてもよい。 In each of the above-described embodiments, the CGW ECU 10 and the on-board ECU 50 are communicatively connected via a communication bus B, but this is not limited thereto; they may also be communicatively connected via power line communication (PLC), for example.
また、上記した第1の実施形態においては、応答信号の受信が行われない場合、応答信号の受信が行われない車載ECU50にのみ所定データを有線通信で送信するようにしたが、これに限られず、例えば応答信号の受信が行われた車載ECU50にも所定データを有線通信で送信してもよい。 Furthermore, in the first embodiment described above, if a response signal is not received, the specified data is transmitted via wired communication only to the on-board ECU 50 that does not receive the response signal. However, this is not limited to this, and, for example, the specified data may also be transmitted via wired communication to the on-board ECU 50 that has received the response signal.
また、上記した第2の実施形態においては、所定データを無線通信で、認証信号を有線通信で送信するようにしたが、これに限定されるものではなく、例えば所定データの一部あるいは全部を有線通信で、認証信号の一部あるいは全部を無線通信で送信してもよい。 In addition, in the second embodiment described above, the specified data is transmitted via wireless communication and the authentication signal is transmitted via wired communication, but this is not limited to this. For example, some or all of the specified data may be transmitted via wired communication and some or all of the authentication signal may be transmitted via wireless communication.
さらなる効果や変形例は、当業者によって容易に導き出すことができる。このため、本発明のより広範な態様は、以上のように表しかつ記述した特定の詳細および代表的な実施形態に限定されるものではない。したがって、添付の特許請求の範囲およびその均等物によって定義される総括的な発明の概念の精神または範囲から逸脱することなく、様々な変更が可能である。 Further advantages and modifications may readily occur to those skilled in the art. Therefore, the invention in its broader aspects is not limited to the specific details and representative embodiments shown and described above. Accordingly, various modifications may be made without departing from the spirit or scope of the general inventive concept as defined by the appended claims and their equivalents.
1 通信システム
10 CGWECU
50 車載ECU
22,62b1 通信制御部
1 Communication system 10 CGWECU
50 In-vehicle ECU
22, 62b1 Communication control unit
Claims (3)
前記制御部は、
前記受信装置へ所定データを無線通信で送信し、
前記受信装置において前記所定データが受信されたことを確認するための応答信号を前記受信装置から有線通信で受信し、
前記応答信号の受信が行われない場合、前記受信装置へ前記所定データを有線通信で送信する、
通信装置。 A communication device capable of communicating with a receiving device, the communication device having a control unit,
The control unit
transmitting predetermined data to the receiving device via wireless communication;
receiving a response signal from the receiving device via wired communication to confirm that the predetermined data has been received by the receiving device;
If the response signal is not received, the predetermined data is transmitted to the receiving device via wired communication.
Communication equipment.
前記制御部は、
前記所定データを複数の前記受信装置へ一斉に無線通信で送信する、
請求項1に記載の通信装置。 the receiving device is a plurality of devices,
The control unit
transmitting the predetermined data to the plurality of receiving devices simultaneously via wireless communication;
The communication device according to claim 1 .
受信装置へ所定データを無線通信で送信し、
前記受信装置において前記所定データが受信されたことを確認するための応答信号を前記受信装置から有線通信で受信し、
前記応答信号の受信が行われない場合、前記受信装置へ前記所定データを有線通信で送信する、
通信方法。 A communication method performed by a communication device,
transmitting predetermined data to a receiving device via wireless communication;
receiving a response signal from the receiving device via wired communication to confirm that the predetermined data has been received by the receiving device;
If the response signal is not received, the predetermined data is transmitted to the receiving device via wired communication.
Communication method.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2021084064A JP7728066B2 (en) | 2021-05-18 | 2021-05-18 | Communication device and communication method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2021084064A JP7728066B2 (en) | 2021-05-18 | 2021-05-18 | Communication device and communication method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2022177652A JP2022177652A (en) | 2022-12-01 |
| JP7728066B2 true JP7728066B2 (en) | 2025-08-22 |
Family
ID=84237655
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2021084064A Active JP7728066B2 (en) | 2021-05-18 | 2021-05-18 | Communication device and communication method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP7728066B2 (en) |
Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2005184567A (en) | 2003-12-22 | 2005-07-07 | Sharp Corp | Transmission device, reception device, communication system, and communication program |
| WO2005076546A1 (en) | 2004-02-06 | 2005-08-18 | Fujitsu Limited | Distribution system, wireless base station, wireless terminal, distribution method |
| JP2007228408A (en) | 2006-02-24 | 2007-09-06 | Toshiba Corp | COMMUNICATION DEVICE, COMMUNICATION METHOD, AND COMMUNICATION PROGRAM |
| JP2011077661A (en) | 2009-09-29 | 2011-04-14 | Oki Electric Industry Co Ltd | Network communication device and its automatic reconnection method |
| US20120311127A1 (en) | 2011-05-31 | 2012-12-06 | Microsoft Corporation | Flyway Generation in Data Centers |
| JP2013123143A (en) | 2011-12-12 | 2013-06-20 | Hitachi Consumer Electronics Co Ltd | Content transmission device and content transmission method |
| JP2019036238A (en) | 2017-08-21 | 2019-03-07 | 株式会社東芝 | Update controller, terminal, update control method, and program |
| JP2019057756A (en) | 2017-09-19 | 2019-04-11 | 株式会社東芝 | Radio communication apparatus and radio communication method |
-
2021
- 2021-05-18 JP JP2021084064A patent/JP7728066B2/en active Active
Patent Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2005184567A (en) | 2003-12-22 | 2005-07-07 | Sharp Corp | Transmission device, reception device, communication system, and communication program |
| WO2005076546A1 (en) | 2004-02-06 | 2005-08-18 | Fujitsu Limited | Distribution system, wireless base station, wireless terminal, distribution method |
| JP2007228408A (en) | 2006-02-24 | 2007-09-06 | Toshiba Corp | COMMUNICATION DEVICE, COMMUNICATION METHOD, AND COMMUNICATION PROGRAM |
| JP2011077661A (en) | 2009-09-29 | 2011-04-14 | Oki Electric Industry Co Ltd | Network communication device and its automatic reconnection method |
| US20120311127A1 (en) | 2011-05-31 | 2012-12-06 | Microsoft Corporation | Flyway Generation in Data Centers |
| JP2013123143A (en) | 2011-12-12 | 2013-06-20 | Hitachi Consumer Electronics Co Ltd | Content transmission device and content transmission method |
| JP2019036238A (en) | 2017-08-21 | 2019-03-07 | 株式会社東芝 | Update controller, terminal, update control method, and program |
| JP2019057756A (en) | 2017-09-19 | 2019-04-11 | 株式会社東芝 | Radio communication apparatus and radio communication method |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2022177652A (en) | 2022-12-01 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8868807B2 (en) | Communication system, master node, and slave node | |
| US5586118A (en) | Data transmission method and system therefor | |
| US8780772B2 (en) | Communication protocol for wireless enhanced controller area networks | |
| WO2014057642A1 (en) | Relay device | |
| WO2014057643A1 (en) | Relay device | |
| US9652322B2 (en) | User station of a bus system and method for transmitting messages between user stations of a bus system | |
| JP6969528B2 (en) | Relay system | |
| KR101334017B1 (en) | Apparatus of checking a validity of message on network for a vehicle and method of thereof | |
| JP2007038904A (en) | Car-mounted gateway device and message forwarding method used in gateway device | |
| KR102292771B1 (en) | Participant station for a bus system, and method for increasing the data rate of a bus system | |
| CN114080786A (en) | Gateway device, data frame transmission method, and program | |
| CN112398901A (en) | Method and system for performing dual message arbitration | |
| US20100036920A1 (en) | Method and device for the creation of a communication system based on can communication controllers featuring an increased data throughput | |
| JP2005084791A (en) | Data communication method | |
| JP2009027270A (en) | COMMUNICATION SYSTEM, RELAY DEVICE, AND COMMUNICATION METHOD | |
| JP7728066B2 (en) | Communication device and communication method | |
| JP2006287739A (en) | Gateway unit | |
| CN102884744B (en) | For protecting up for the method and apparatus of the packet transmitted by interface | |
| JP2995348B2 (en) | Multiplex transmission method | |
| JP2007300331A (en) | In-vehicle database system | |
| JP3948345B2 (en) | Communications system | |
| US5272699A (en) | Method of multiplex transmission | |
| US10938516B1 (en) | Systems and methods for ethernet packet error detection and correction in automotive environments | |
| JP2020025194A (en) | Information processing apparatus, information processing system, information processing method, and program | |
| JP5182269B2 (en) | Network system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20240131 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20250218 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20250414 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20250520 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20250710 |
|
| 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: 20250729 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20250809 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 7728066 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |