JP2022144949A - Communication system, mobile body, communication control method and program - Google Patents
Communication system, mobile body, communication control method and program Download PDFInfo
- Publication number
- JP2022144949A JP2022144949A JP2021046157A JP2021046157A JP2022144949A JP 2022144949 A JP2022144949 A JP 2022144949A JP 2021046157 A JP2021046157 A JP 2021046157A JP 2021046157 A JP2021046157 A JP 2021046157A JP 2022144949 A JP2022144949 A JP 2022144949A
- Authority
- JP
- Japan
- Prior art keywords
- communication network
- data
- communication
- communication device
- ecu
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Small-Scale Networks (AREA)
- Communication Control (AREA)
Abstract
Description
本発明は、通信システム、移動体、通信制御方法及びプログラムに関する。 The present invention relates to a communication system, a mobile object, a communication control method, and a program.
特許文献1には、2本のCANバスに接続された複数のECUを備える通信システムにおいて、2本のCANバスのいずれが通信困難になった場合、各ECUが正常なCANバスに基本メッセージのみを送信することが記載されている。
[先行技術文献]
[特許文献]
[特許文献1] 特開2008-271040号公報
In Patent Document 1, in a communication system including a plurality of ECUs connected to two CAN buses, when communication becomes difficult with any of the two CAN buses, each ECU sends only a basic message to the normal CAN bus. to be sent.
[Prior art documents]
[Patent Literature]
[Patent Document 1] JP-A-2008-271040
第1の態様において、通信システムが提供される。通信システムは、第1CAN通信ネットワーク及び第2CAN通信ネットワークに共に接続された第1通信装置及び第2通信装置を備える。第1通信装置は、第1CAN通信ネットワークを通じて第1データを第2通信装置へ送信し、第2通信装置から送信される第2データを第2CAN通信ネットワークを通じて受信する。第1通信装置は、第1CAN通信ネットワークを通じた第1データの送信に対する肯定応答を第1CAN通信ネットワークを通じて取得しなかった場合に、第1データの送信に用いるCAN通信ネットワークを、第1CAN通信ネットワークから第2CAN通信ネットワークに切り替える。 In a first aspect, a communication system is provided. The communication system comprises a first communication device and a second communication device connected together to a first CAN communication network and a second CAN communication network. The first communication device transmits first data to the second communication device over the first CAN communication network and receives second data transmitted from the second communication device over the second CAN communication network. The first communication device selects the CAN communication network used for transmission of the first data from the first CAN communication network when a positive response to the transmission of the first data through the first CAN communication network is not obtained through the first CAN communication network. Switch to the second CAN communication network.
第1通信装置は、第2通信装置からの肯定応答を受信できない場合を除いて、第2CAN通信ネットワークを通じてデータの送信を行わず、第1CAN通信ネットワークを通じてデータの受信を行わなくてよい。 The first communication device may not transmit data over the second CAN communication network and may not receive data over the first CAN communication network unless it fails to receive an acknowledgment from the second communication device.
第1CAN通信ネットワーク及び第2CAN通信ネットワークに接続される通信装置は、第1通信装置及び第2通信装置のみであってよい。 Communication devices connected to the first CAN communication network and the second CAN communication network may be only the first communication device and the second communication device.
第1データは、第1種類のデータであってよい。第1CAN通信ネットワークは、第1通信装置が第1種類のデータを送信するために用いるCAN通信ネットワークであってよい。第2CAN通信ネットワークは、第1通信装置が第1種類とは異なる第2種類のデータを送信するために用いるCAN通信ネットワークであってよい。第1通信装置は、第2CAN通信ネットワークを通じて、第2種類の第3データを第2通信装置へ送信してよい。第2CAN通信ネットワークを通じた第3データの送信に対する肯定応答を第2CAN通信ネットワークを通じて取得しなかった場合に、第2種類のデータの送信に用いるCAN通信ネットワークを、第2CAN通信ネットワークから第1CAN通信ネットワークに切り替えてよい。 The first data may be data of a first type. The first CAN communication network may be the CAN communication network used by the first communication device to transmit the first type of data. The second CAN communication network may be a CAN communication network used by the first communication device to transmit data of a second type different from the first type. The first communication device may transmit the third data of the second type to the second communication device over the second CAN communication network. When a positive response to the transmission of the third data through the second CAN communication network is not obtained through the second CAN communication network, the CAN communication network used for the transmission of the second type of data is changed from the second CAN communication network to the first CAN communication network. You can switch to
第1通信装置は、第1CAN通信ネットワーク又は第2CAN通信ネットワークを通じて送信するデータフレームのIDフィールドの値に基づいて、第1種類のデータであるか第2種類のデータであるかを判断してよい。 The first communication device may determine whether the data is the first type data or the second type data based on the value of the ID field of the data frame transmitted through the first CAN communication network or the second CAN communication network. .
第1通信装置は、第2通信装置からの肯定応答を受信できない場合を除いて、第2CAN通信ネットワークを通じてデータの送信を行わず、第1CAN通信ネットワークを通じてデータの受信を行わなくてよい。 The first communication device may not transmit data over the second CAN communication network and may not receive data over the first CAN communication network unless it fails to receive an acknowledgment from the second communication device.
通信システムは、第1CAN通信ネットワーク及び第2CAN通信ネットワークに共に接続された第3通信装置をさらに備えてよい。第1通信装置は、第1CAN通信ネットワークを通じて第2通信装置及び第3通信装置に第1データを送信してよい。第1通信装置は、第2CAN通信ネットワークを通じて第3通信装置から送信される第4データを受信してよい。 The communication system may further comprise a third communication device connected together to the first CAN communication network and the second CAN communication network. The first communication device may transmit the first data to the second communication device and the third communication device over the first CAN communication network. The first communication device may receive fourth data transmitted from the third communication device over the second CAN communication network.
第1CAN通信ネットワークは、第1通信装置が第1期間においてデータを送信するために用いるCAN通信ネットワークであり、第1通信装置が第2期間においてデータを受信するために用いるCAN通信ネットワークであってよい。第2CAN通信ネットワークは、第1通信装置が第1期間においてデータを受信するために用いるCAN通信ネットワークであり、第1通信装置が第2期間においてデータを送信するために用いるCAN通信ネットワークであってよい。第1通信装置は、第1期間において、第1CAN通信ネットワークを通じて、第1データを第2通信装置及び第3通信装置へ送信し、第1CAN通信ネットワークを通じた第1データの送信に対する肯定応答を第1CAN通信ネットワークを通じて取得しなかった場合に、第1データの送信に用いるCAN通信ネットワークを、第1CAN通信ネットワークから第2CAN通信ネットワークに切り替えてよい。第1通信装置は、第2期間において、第2CAN通信ネットワークを通じて、第5データを第2通信装置及び第3通信装置へ送信し、第2CAN通信ネットワークを通じた第5データの送信に対する肯定応答を第2CAN通信ネットワークを通じて取得しなかった場合に、第5データの送信に用いるCAN通信ネットワークを、第2CAN通信ネットワークから第1CAN通信ネットワークに切り替えてよい。 The first CAN communication network is a CAN communication network used by the first communication device to transmit data in the first period, and is a CAN communication network used by the first communication device to receive data in the second period, good. The second CAN communication network is a CAN communication network used by the first communication device to receive data in the first period, and is a CAN communication network used by the first communication device to transmit data in the second period, good. The first communication device transmits the first data to the second communication device and the third communication device through the first CAN communication network in the first period, and sends an acknowledgment to the transmission of the first data through the first CAN communication network. The CAN communication network used for transmitting the first data may be switched from the first CAN communication network to the second CAN communication network when the data is not acquired through the first CAN communication network. In the second period, the first communication device transmits the fifth data to the second communication device and the third communication device through the second CAN communication network, and sends an acknowledgment to the transmission of the fifth data through the second CAN communication network. The CAN communication network used for transmitting the fifth data may be switched from the second CAN communication network to the first CAN communication network when it is not obtained through the second CAN communication network.
第1CAN通信ネットワークは、第1通信装置がデータを送信するために用いるCAN通信ネットワークであり、第2通信装置及び第3通信装置が第1通信装置から第1CAN通信ネットワークを通じて送信されたデータを受信するために用いるCAN通信ネットワークであってよい。第2CAN通信ネットワークは、第2通信装置及び第3通信装置がデータを送信するために用いるCAN通信ネットワークであるとともに、第1通信装置がデータの送信とデータの受信とを時間的に切り替えて使用するCAN通信ネットワークであってよい。第1通信装置は、第2CAN通信ネットワークを通じて、第6データを第2通信装置及び第3通信装置へ送信した場合において、第2CAN通信ネットワークを通じた第6データの送信に対する肯定応答を第2CAN通信ネットワークを通じて取得しなかった場合に、第6データの送信に用いるCAN通信ネットワークを、第2CAN通信ネットワークから第1CAN通信ネットワークに切り替えてよい。 The first CAN communication network is a CAN communication network used by the first communication device to transmit data, and the second communication device and the third communication device receive data transmitted from the first communication device through the first CAN communication network. It may be a CAN communication network used to The second CAN communication network is a CAN communication network used by the second communication device and the third communication device to transmit data, and is used by the first communication device by temporally switching between data transmission and data reception. It may be a CAN communication network that When the first communication device transmits the sixth data to the second communication device and the third communication device through the second CAN communication network, the second CAN communication network sends an acknowledgment to the transmission of the sixth data through the second CAN communication network. the CAN communication network used for transmitting the sixth data may be switched from the second CAN communication network to the first CAN communication network if the data is not acquired through the second CAN communication network.
第1データは、第1種類のデータであってよい。第1CAN通信ネットワークは、第1通信装置が第1種類のデータを送信するために用いるCAN通信ネットワークであってよい。第2CAN通信ネットワークは、第1通信装置が第1種類とは異なる第2種類のデータを送信するために用いるCAN通信ネットワークであってよい。第1通信装置は、第2CAN通信ネットワークを通じて、第2種類の第3データを第2通信装置及び第3通信装置へ送信してよい。第2CAN通信ネットワークを通じた第3データの送信に対する肯定応答を第2CAN通信ネットワークを通じて取得しなかった場合に、第2種類のデータの送信に用いるCAN通信ネットワークを、第2CAN通信ネットワークから第1CAN通信ネットワークに切り替えてよい。 The first data may be data of a first type. The first CAN communication network may be the CAN communication network used by the first communication device to transmit the first type of data. The second CAN communication network may be a CAN communication network used by the first communication device to transmit data of a second type different from the first type. The first communication device may transmit the second type of third data to the second communication device and the third communication device through the second CAN communication network. When a positive response to the transmission of the third data through the second CAN communication network is not obtained through the second CAN communication network, the CAN communication network used for the transmission of the second type of data is changed from the second CAN communication network to the first CAN communication network. You can switch to
第1通信装置は、第3通信ネットワークによって接続された第4通信装置と通信可能であってよい。第2通信装置及び第3通信装置は、いずれも第3通信ネットワークに接続されていなくてよい。第2通信装置及び第3通信装置は、第4通信装置との間で第1通信装置を介して通信する通信装置であってよい。 The first communication device may be capable of communicating with a fourth communication device connected by a third communication network. Neither the second communication device nor the third communication device may be connected to the third communication network. The second communication device and the third communication device may be communication devices that communicate with the fourth communication device via the first communication device.
第1データは、第1種類のデータであってよい。第1CAN通信ネットワークは、第1通信装置が第1種類のデータを送信するために用いるCAN通信ネットワークであってよい。第2CAN通信ネットワークは、第1通信装置が第1種類とは異なる第2種類のデータを送信するために用いるCAN通信ネットワークであってよい。第1通信装置は、第2CAN通信ネットワークを通じて、第2種類の第3データを第2通信装置へ送信してよい。第2CAN通信ネットワークを通じた第3データの送信に対する肯定応答を第2CAN通信ネットワークを通じて取得しなかった場合に、第2種類のデータの送信に用いるCAN通信ネットワークを、第2CAN通信ネットワークから第1CAN通信ネットワークに切り替えてよい。 The first data may be data of a first type. The first CAN communication network may be the CAN communication network used by the first communication device to transmit the first type of data. The second CAN communication network may be a CAN communication network used by the first communication device to transmit data of a second type different from the first type. The first communication device may transmit the third data of the second type to the second communication device over the second CAN communication network. When a positive response to the transmission of the third data through the second CAN communication network is not obtained through the second CAN communication network, the CAN communication network used for the transmission of the second type of data is changed from the second CAN communication network to the first CAN communication network. You can switch to
第1CAN通信ネットワークは、第1通信装置が第1期間においてデータを送信するために用いるCAN通信ネットワークであり、第1通信装置が第2期間においてデータを受信するために用いるCAN通信ネットワークであってよい。第2CAN通信ネットワークは、第1通信装置が第1期間においてデータを受信するために用いるCAN通信ネットワークであり、第1通信装置が第2期間においてデータを送信するために用いるCAN通信ネットワークであってよい。第1通信装置は、第1期間において、第1CAN通信ネットワークを通じて、第1データを第2通信装置へ送信し、第1CAN通信ネットワークを通じた第1データの送信に対する肯定応答を第1CAN通信ネットワークを通じて取得しなかった場合に、第1データの送信に用いるCAN通信ネットワークを、第1CAN通信ネットワークから第2CAN通信ネットワークに切り替えてよい。第1通信装置は、第2期間において、第2CAN通信ネットワークを通じて、第5データを第2通信装置へ送信し、第2CAN通信ネットワークを通じた第5データの送信に対する肯定応答を第2CAN通信ネットワークを通じて取得しなかった場合に、第5データの送信に用いるCAN通信ネットワークを、第2CAN通信ネットワークから第1CAN通信ネットワークに切り替えてよい。 The first CAN communication network is a CAN communication network used by the first communication device to transmit data in the first period, and is a CAN communication network used by the first communication device to receive data in the second period, good. The second CAN communication network is a CAN communication network used by the first communication device to receive data in the first period, and is a CAN communication network used by the first communication device to transmit data in the second period, good. The first communication device transmits the first data to the second communication device through the first CAN communication network in the first time period, and obtains a positive response to the transmission of the first data through the first CAN communication network through the first CAN communication network. If not, the CAN communication network used for transmitting the first data may be switched from the first CAN communication network to the second CAN communication network. The first communication device transmits the fifth data to the second communication device through the second CAN communication network in the second period, and obtains a positive response to the transmission of the fifth data through the second CAN communication network through the second CAN communication network. If not, the CAN communication network used for transmitting the fifth data may be switched from the second CAN communication network to the first CAN communication network.
移動体は車両であってよい。 The mobile object may be a vehicle.
第2の態様において、移動体が提供される。移動体は、上記の通信装置を備える。 In a second aspect, a mobile object is provided. A mobile includes the communication device described above.
第3の態様において、通信制御方法が提供される。通信制御方法は、第1CAN通信ネットワーク及び第2CAN通信ネットワークに共に接続された第1通信装置が、第1CAN通信ネットワークを通じて第1データを、第1CAN通信ネットワーク及び第2CAN通信ネットワークに共に接続された第2通信装置へ送信する段階を備える。通信制御方法は、第1通信装置が、第2通信装置から送信される第2データを第2CAN通信ネットワークを通じて受信する段階を備える。通信制御方法は、第1CAN通信ネットワークを通じた第1データの送信に対する肯定応答を第1CAN通信ネットワークを通じて取得しなかった場合に、第1データの送信に用いるCAN通信ネットワークを、第1CAN通信ネットワークから第2CAN通信ネットワークに切り替える段階を備える。 In a third aspect, a communication control method is provided. The communication control method is such that a first communication device connected to both a first CAN communication network and a second CAN communication network transmits first data through the first CAN communication network to a second CAN communication network connected to both the first CAN communication network and the second CAN communication network. 2 transmitting to a communication device. The communication control method comprises a first communication device receiving second data transmitted from a second communication device over a second CAN communication network. In the communication control method, when a positive response to transmission of the first data through the first CAN communication network is not obtained through the first CAN communication network, the CAN communication network used for transmission of the first data is selected from the first CAN communication network. Switching to the 2CAN communication network.
第4の態様において、プログラムが提供される。プログラムは、コンピュータを、第1通信装置として機能させる。第1通信装置は、第1CAN通信ネットワーク及び第2CAN通信ネットワークに接続される。プログラムは、コンピュータに、第1CAN通信ネットワークを通じて第1データを第1CAN通信ネットワーク及び第2CAN通信ネットワークに接続された第2通信装置へ送信し、第2通信装置から送信される第2データを第2CAN通信ネットワークを通じて受信させる。プログラムは、コンピュータに、第1CAN通信ネットワークを通じた第1データの送信に対する肯定応答を第1CAN通信ネットワークを通じて取得しなかった場合に、第1データの送信に用いるCAN通信ネットワークを、第1CAN通信ネットワークから第2CAN通信ネットワークに切り替えさせる。 In a fourth aspect, a program is provided. The program causes the computer to function as the first communication device. The first communication device is connected to the first CAN communication network and the second CAN communication network. The program causes the computer to transmit the first data through the first CAN communication network to the second communication device connected to the first CAN communication network and the second CAN communication network, and transmit the second data transmitted from the second communication device to the second CAN communication network. be received over a communications network. The program instructs the computer to select the CAN communication network used for transmission of the first data from the first CAN communication network when a positive response to the transmission of the first data through the first CAN communication network is not obtained through the first CAN communication network. Switch to the second CAN communication network.
なお、上記の発明の概要は、本発明の必要な特徴の全てを列挙したものではない。また、これらの特徴群のサブコンビネーションもまた、発明となりうる。 It should be noted that the above summary of the invention does not list all the necessary features of the invention. Subcombinations of these feature groups can also be inventions.
以下、発明の実施の形態を通じて本発明を説明するが、以下の実施形態は特許請求の範囲にかかる発明を限定するものではない。また、実施形態の中で説明されている特徴の組み合わせの全てが発明の解決手段に必須であるとは限らない。 Hereinafter, the present invention will be described through embodiments of the invention, but the following embodiments do not limit the invention according to the claims. Also, not all combinations of features described in the embodiments are essential for the solution of the invention.
図1は、一実施形態に係る車両20が備える通信システム200のシステム構成を模式的に示す。通信システム200は、TCU201及びアンテナ202を備える通信装置203と、メインECU210と、サブECU220、サブECU221、サブECU222、サブECU230、サブECU240、サブECU231、サブECU232、サブECU241及びサブECU242を含むサブECUと、ADAS-ECU290とを備える。ECUは、電子制御ユニット(Electronic Control Unit)である。各ECUは、プロセッサ等の演算処理装置と、揮発性及び不揮発性の記憶媒体を備えて実現され、記憶媒体に記憶された情報を用いて演算処理装置が動作することによって動作する。
FIG. 1 schematically shows the system configuration of a
メインECU210及びサブECU220はいずれも、第1CAN101及び第2CAN102に接続され、第1CAN101及び第2CAN102を通じて互いに通信可能である。メインECU210及びサブECU230はいずれも、第1CAN111及び第2CAN112に接続され、第1CAN111及び第2CAN112を通じて互いに通信可能である。メインECU210及びTCU201はいずれも、第1CAN121及び第2CAN122に接続され、第1CAN121及び第2CAN122を通じて互いに通信可能である。メインECU210及びADAS-ECU290はいずれも、第1CAN131及び第2CAN132に接続され、第1CAN131及び第2CAN132を通じてADAS-ECU290と接続される。第1CAN101、第2CAN102、第1CAN111、第2CAN112、第1CAN121、第2CAN122、第1CAN131、及び第2CAN132は、CAN(Controller Area Network)である。CANは、通信ネットワークの一例である。
Both the
メインECU210は、サブECU220、サブECU221、サブECU222、サブECU230、サブECU240、サブECU231、サブECU232、サブECU241、サブECU242、及びTCU201、メインECU210、サブECU220、ADAS-ECU290を統括制御する。TCU201は、テレマティクス制御ユニット(Telematics Control Unit)である。TCU201は、主として移動体通信を担う。例えば、TCU201は、メインECU210の制御に基づいて、外部のサーバとの間でデータの送受信を行う。TCU201が受信したデータは、メインECU210を通じて、サブECUやADAS-ECU290に送信され得る。また、サブECUやADAS-ECU290に送信されるデータは、メインECU210を通じてTCU201に送信され得るADAS-ECU290は、ADAS(先進運転支援システム)に関する制御を行う。
The
サブECU220は、CAN103を通じて接続されたサブECU221及びサブECU222を制御する。サブECU230は、CAN113を通じて接続されたサブECU231及びサブECU232を制御する。サブECU240は、CAN114を通じて接続されたサブECU241及びサブECU242を制御する。サブECU221、サブECU222、サブECU231、サブECU232、サブECU241及びサブECU242は、車両20が備える被制御機器を直接に制御するECUである。被制御機器は、例えば、エンジン、燃料噴射装置、モータ、バッテリ、施錠装置等である。
Sub ECU220 controls sub ECU221 and sub ECU222 connected through CAN103.
なお、本実施形態では、通信システム200が、TCU201及びアンテナ202を備える通信装置203と、メインECU210と、サブECU220、サブECU221、サブECU222、サブECU230、サブECU240、サブECU231、サブECU232、サブECU241及びサブECU242を含むサブECUと、ADAS-ECU290とを備えるシステム構成を例示しているが、通信システム200のシステム構成は本実施形態の例に限られない。
In this embodiment, the
本実施形態では、「通信装置」の一例がメインECU210、サブECU220、サブECU230及びサブECU240であり、「第1CAN通信ネットワーク」の一例が第1CAN101及び第1CAN111であり、「第2CAN通信ネットワーク」の一例が第2CAN102及び第2CAN112である場合を取り上げて説明する。しかしADAS-ECU290及びTCU201が「通信装置」の一例であり、第1CAN121及び第1CAN131が「第1CAN通信ネットワーク」の一例であり、第2CAN122及び第2CAN132が「第1CAN通信ネットワーク」の一例であってよい。また、上述した被制御機器や、被制御機器を直接に制御するサブECU221等のECUが「通信装置」とする形態も採用できる。
In the present embodiment, examples of the "communication device" are the
まず、メインECU210とサブECU220との間の通信制御の概要を説明する。メインECU210及びサブECU220は、第1CAN101及び第2CAN102に共に接続された通信装置の一例である。メインECU210は、第1CAN101を通じて第1データをサブECU220へ送信し、サブECU220から送信される第2データを第2CAN102を通じて受信する。メインECU210は、第1CAN101を通じた第1データの送信に対する肯定応答を第1CAN101を通じて取得しなかった場合に、第1データの送信に用いるCAN通信ネットワークを、第1CAN101から第2CAN102に切り替える。
First, an outline of communication control between the
メインECU210は、サブECU220からの肯定応答を受信できない場合を除いて、第2CAN102を通じてデータの送信を行わず、第1CAN101を通じてデータの受信を行わなくてよい。
The
第1データは、第1種類のデータであってよい。第1CAN101は、メインECU210が第1種類のデータを送信するために用いるCAN通信ネットワークであってよい。第2CAN102は、メインECU210が第1種類とは異なる第2種類のデータを送信するために用いるCAN通信ネットワークであってよい。メインECU210は、第2CAN102を通じて、第2種類の第3データをサブECU220へ送信してよい。第2CAN102を通じた第3データの送信に対する肯定応答を第2CAN102を通じて取得しなかった場合に、第2種類のデータの送信に用いるCAN通信ネットワークを、第2CAN102から第1CAN101に切り替えてよい。
The first data may be data of a first type.
メインECU210は、第1CAN101又は第2CAN102を通じて送信するデータフレームのIDフィールドの値に基づいて、第1種類のデータであるか第2種類のデータであるかを判断してよい。
第1CAN101は、メインECU210が第1期間においてデータを送信するために用いるCAN通信ネットワークであり、メインECU210が第2期間においてデータを受信するために用いるCAN通信ネットワークであってよい。第2CAN102は、メインECU210が第1期間においてデータを受信するために用いるCAN通信ネットワークであり、メインECU210が第2期間においてデータを送信するために用いるCAN通信ネットワークであってよい。メインECU210は、第1期間において、第1CAN101を通じて、第1データをサブECU220へ送信し、第1CAN101を通じた第1データの送信に対する肯定応答を第1CAN101を通じて取得しなかった場合に、第1データの送信に用いるCAN通信ネットワークを、第1CAN101から第2CAN102に切り替えてよい。メインECU210は、第2期間において、第2CAN102を通じて、第5データをサブECU220へ送信し、第2CAN102を通じた第4データの送信に対する肯定応答を第2CAN102を通じて取得しなかった場合に、第5データの送信に用いるCAN通信ネットワークを、第2CAN102から第1CAN101に切り替えてよい。
第1CAN101及び第2CAN102に接続される通信装置は、メインECU210及びサブECU220のみであってよい。
The
第1データは、第1種類のデータであり、第1CAN101は、メインECU210が第1種類のデータを送信するために用いるCAN通信ネットワークであってよい。第2CAN102は、メインECU210が第1種類とは異なる第2種類のデータを送信するために用いるCAN通信ネットワークであってよい。メインECU210は、第2CAN102を通じて、第2種類の第3データをサブECU220へ送信してよい。第2CAN102を通じた第3データの送信に対する肯定応答を第2CAN102を通じて取得しなかった場合に、第2種類のデータの送信に用いるCAN通信ネットワークを、第2CAN102から第1CAN101に切り替えてよい。
The first data may be data of the first type, and the
メインECU210は、サブECU220からの肯定応答を受信できない場合を除いて、第2CAN102を通じてデータの送信を行わず、第1CAN101を通じてデータの受信を行わなくてよい。
The
次に、メインECU210とサブECU220及びサブECU230との間の通信制御の概要を説明する。メインECU210は、第1CAN111を通じて第1データをサブECU230及びサブECU240へ送信し、サブECU230又はサブECU240から送信される第2データを第2CAN112を通じて受信する。メインECU210は、第1CAN101を通じた第1データの送信に対する肯定応答を第1CAN111を通じて取得しなかった場合に、第1データの送信に用いるCAN通信ネットワークを、第1CAN111から第2CAN112に切り替える。
Next, an outline of communication control between the
サブECU240は、第1CAN111及び第2CAN112に共に接続されている。
メインECU210は、第1CAN111を通じてサブECU230及びサブECU240に第1データを送信する。メインECU210は、第2CAN112を通じてサブECU240から送信される第4データを受信する。
The
第1CAN111は、メインECU210が第1期間においてデータを送信するために用いるCAN通信ネットワークであり、メインECU210が第2期間においてデータを受信するために用いるCAN通信ネットワークであってよい。第2CAN112は、メインECU210が第1期間においてデータを受信するために用いるCAN通信ネットワークであり、メインECU210が第2期間においてデータを送信するために用いるCAN通信ネットワークであってよい。メインECU210は、第1期間において、第1CAN111を通じて、第1データをサブECU230及びサブECU240へ送信し、第1CAN111を通じた第1データの送信に対する肯定応答を第1CAN111を通じて取得しなかった場合に、第1データの送信に用いるCAN通信ネットワークを、第1CAN111から第2CAN112に切り替えてよい。メインECU210は、第2期間において、第2CAN112を通じて、第5データをサブECU230及びサブECU240へ送信し、第2CAN112を通じた第5データの送信に対する肯定応答を第2CAN112を通じて取得しなかった場合に、第5データの送信に用いるCAN通信ネットワークを、第2CAN112から第1CAN111に切り替えてよい。
第1CAN111は、メインECU210がデータを送信するために用いるCAN通信ネットワークであり、サブECU230及びサブECU240がメインECU210から第1CAN111を通じて送信されたデータを受信するために用いるCAN通信ネットワークであってよい。第2CAN112は、サブECU230及びサブECU240がデータを送信するために用いるCAN通信ネットワークであるとともに、メインECU210がデータの送信とデータの受信とを時間的に切り替えて使用するCAN通信ネットワークであってよい。メインECU210は、第2CAN112を通じて、第6データをサブECU230及びサブECU240へ送信した場合において、第2CAN112を通じた第6データの送信に対する肯定応答を第2CAN112を通じて取得しなかった場合に、第6データの送信に用いるCAN通信ネットワークを、第2CAN112から第1CAN111に切り替えてよい。
The
第1データは、第1種類のデータであり、第1CAN111は、メインECU210が第1種類のデータを送信するために用いる通信ネCANットワークであってよい。第2CAN112は、メインECU210が第1種類とは異なる第2種類のデータを送信するために用いるCAN通信ネットワークであってよい。メインECU210は、第2CAN112を通じて、第2種類の第3データをサブECU230及びサブECU240へ送信してよい。第2CAN112を通じた第3データの送信に対する肯定応答を第2CAN112を通じて取得しなかった場合に、第2種類のデータの送信に用いるCAN通信ネットワークを、第2CAN112から第1CAN111に切り替えてよい。
The first data may be data of the first type, and the
メインECU210は、他の通信ネットワークによって接続された他の通信機器と通信可能である。サブECU230及びサブECU240は、いずれも他の通信ネットワークに接続されていない。サブECU230及びサブECU240は、他の通信装置との間でメインECU210を介して通信する通信装置である。サブECU230及びサブECU240に対する「他の通信機器」は、例えば、TCU201、ADAS-ECU290、サブECU220、サブECU221、サブECU222等であり得る。このように、メインECU210は、複数の通信装置の間の通信を中継するECUである。
図2は、CANプロトコルで規定されるデータフレームのフォーマットの一例を示す。図2は、CANプロトコルで規定される標準フォーマット(標準IDフォーマット)におけるデータフレームを示す。データフレームは、SOF(Start Of Frame)、IDフィールド、RTR(Remote Transmission Request)、IDE(Identifier Extension)、コントロールフィールド、データフィールド、CRC(Cyclic Redundancy Check)シーケンス、CRCデリミタ「DEL」、ACK(Acknowledgement)スロット、ACKデリミタ「DEL」、及び、EOF(End Of Frame)の各フィールドで構成される。 FIG. 2 shows an example of a data frame format defined by the CAN protocol. FIG. 2 shows a data frame in a standard format (standard ID format) defined by the CAN protocol. The data frame includes SOF (Start Of Frame), ID field, RTR (Remote Transmission Request), IDE (Identifier Extension), control field, data field, CRC (Cyclic Redundancy Check) sequence, CRC delimiter "DEL", ACK (Acknowledgment ) slot, ACK delimiter “DEL”, and EOF (End Of Frame) fields.
SOFは、1bitのドミナントで構成される。バスがアイドル状態のときはレセシブとなっており、SOFによりドミナントへ変更することでフレームの送信開始を通知する。 The SOF is composed of a 1-bit dominant. When the bus is in an idle state, it is recessive, and the start of frame transmission is notified by changing it to dominant by SOF.
IDフィールドは、11bitで構成される。IDフィールドは、送信されるデータの種類を示す値であるIDを格納するフィールドである。複数のECUが同時に送信を開始した場合、IDフィールドで通信調停を行うために、IDが小さい値を持つフレームが高い優先度となって送信される。 The ID field consists of 11 bits. The ID field is a field for storing an ID, which is a value indicating the type of data to be transmitted. When a plurality of ECUs start transmission at the same time, a frame having a small ID value is given a high priority and is transmitted because communication is arbitrated in the ID field.
RTRは、データフレームであるかリモートフレームであるかを識別するための値であり、データフレームにおいてはドミナント1bitで構成される。 RTR is a value for identifying whether it is a data frame or a remote frame, and is composed of dominant 1 bit in a data frame.
コントロールフィールドは、1ビット長のIDE(Identifier Extension)、予約ビットrと4ビット長のデータレングスコード(DLC:Data Length Code)から構成される。IDE及び予約ビットrはともにドミナントとなる。DLCは、コントロールフィールドに続くデータフィールドにおいて送信されるデータのバイト数を示す。DLCの設定範囲は0以上8以下である。したがって、データフィールドで送信されるデータは1バイト単位で0~8バイト(64bit)となる。 The control field is composed of a 1-bit long IDE (Identifier Extension), a reserved bit r, and a 4-bit long Data Length Code (DLC). Both IDE and reserved bit r are dominant. DLC indicates the number of bytes of data transmitted in the data field following the control field. The setting range of DLC is 0 or more and 8 or less. Therefore, the data transmitted in the data field is 0 to 8 bytes (64 bits) in units of 1 byte.
データフィールドは、最大64bitで構成される送信するデータの内容を示す値である。データフィールドは、8bit毎に長さを調整可能である。データフィールドで送信されるデータの仕様はCANプロトコルで規定されていない。データフィールドで送信されるデータの仕様は、通信システム200において定められる。つまり、車両20の車種や製造者によって仕様が定められる。
The data field is a value indicating the content of data to be transmitted, which consists of a maximum of 64 bits. The data field can be adjusted in length every 8 bits. The specification of the data transmitted in the data field is not specified in the CAN protocol. Specifications for data transmitted in the data field are defined in the
CRCシーケンスは、15bitで構成される。CRCシーケンスは、SOF、IDフィールド、コントロールフィールド及びデータフィールドの送信値より算出される。CRCデリミタは、1bitのレセシブで構成されるCRCシーケンスの終了を表す区切り記号である。 A CRC sequence consists of 15 bits. A CRC sequence is calculated from the transmission values of the SOF, ID field, control field and data field. The CRC delimiter is a delimiter representing the end of the CRC sequence composed of 1-bit recessive.
ACKスロットは、1bitで構成される。送信側となるECUは、ACKスロットをレセシブにして送信を行う。受信側のECUはCRCデリミタまで正常に受信ができていれば、ACKスロットをドミナントとして送信する。レセシブよりドミナントが優先されるため、ACKスロットがドミナントであれば、送信側のECUは、いずれかの他のECUが受信に成功していることを確認できる。ACKスロットの信号は「確認応答」の一例である。 The ACK slot consists of 1 bit. The ECU on the transmission side performs transmission with a recessive ACK slot. If the ECU on the receiving side can normally receive up to the CRC delimiter, it transmits the ACK slot as dominant. Since dominant is given priority over recessive, if the ACK slot is dominant, the ECU on the transmission side can confirm that any other ECU has successfully received. The signal in the ACK slot is an example of an "acknowledgment."
ACKデリミタは、1bitのレセシブで構成されるACKの終了を表す区切り記号である。EOFは、7bitのレセシブで構成され、データフレームの終了を示す。なお、EOFの後に3bitのレセシブであるITM(Intermission)が続き、ITM終了後にバスアイドルとなる。 The ACK delimiter is a delimiter representing the end of ACK composed of 1-bit recessive. EOF is composed of 7-bit recessive and indicates the end of the data frame. EOF is followed by ITM (Intermission), which is a 3-bit recessive, and the bus becomes idle after the end of ITM.
図3は、一形態におけるメインECU210とサブECU220との間における通信制御を説明するための図である。本形態において、第1CAN101は、第1CAN101に異常が生じていない場合に、メインECU210がデータを送信するために、専用に使用するCANである。つまり、第1CAN101は、第1CAN101に異常が生じていない場合に、サブECU220がデータを受信するために専用に使用するCANである。第2CAN102は、第2CAN102に異常が生じていない場合に、サブECU220がデータを送信するために専用に使用するCANである。つまり、第2CAN102は、第2CAN102に異常が生じていない場合に、メインECU210がデータを受信する場合に専用に使用するCANである。
FIG. 3 is a diagram for explaining communication control between
したがって、第1CAN101に異常が生じていない場合に、メインECU210が第2CAN102を通じてデータを送信することはない。また、第2CAN102に異常が生じていない場合に、サブECU220が第1CAN101を通じてデータを送信することはない。これにより、第1CAN101及び第2CAN102のいずれにも異常が生じていなければ、メインECU210とサブECU220との間で通信調停が行われることがない。そのため、通信調停によってデータフレームの送信が長時間待たされることがない。1つのCANはCSMA/CAの半二重通信となるのに対し、本形態によれば全二重通信の形式で通信することができる。
Therefore,
メインECU210は、メインECU210が第1CAN101に送信したデータフレームにおいてACKスロットがドミナントであれば、サブECU220から確認応答を取得したと判断し、第1CAN101に異常が生じていないと判断する。一方、ACKスロットがレセシブであれば、サブECU220から確認応答を取得できなかったと判断し、第1CAN101に異常が生じていると判断する。メインECU210が第1CAN101に送信したデータフレームにおいてACKスロットがレセシブである場合、メインECU210は、メインECU210がデータの送信に使用するCANを、第1CAN101から第2CAN102に切り替える。これにより、メインECU210はサブECU220へのデータの送信を継続することができる。
If the ACK slot is dominant in the data frame transmitted from
なお、メインECU210と同様に、サブECU220は、サブECU220が第2CAN102に送信したデータフレームにおいてACKスロットがドミナントであれば、メインECU210から確認応答を取得したと判断し、第2CAN102に異常が生じていないと判断する。一方、ACKスロットがレセシブであれば、メインECU210から確認応答を取得できなかったと判断し、第2CAN102に異常が生じていると判断する。サブECU220が第2CAN102に送信したデータフレームにおいてACKスロットがレセシブである場合、サブECU220は、サブECU220がデータの送信に使用するCANを、第2CAN102から第1CAN101に切り替える。これにより、サブECU220はメインECU210へのデータの送信を継続することができる。
Note that, similarly to
図4は、一形態におけるメインECU210とサブECU230及びサブECU230との間における通信制御を説明するための図である。本形態において、第1CAN111は、第1CAN111に異常が生じていない場合に、メインECU210がデータを送信するために、専用に使用するCANである。つまり、第1CAN111は、第1CAN111に異常が生じていない場合に、サブECU230及びサブECU240がデータを受信するために専用に使用するCANである。
FIG. 4 is a diagram for explaining communication control between the
第2CAN112は、第2CAN112に異常が生じていない場合に、サブECU230及びサブECU240がデータを送信するために専用に使用するCANである。つまり、第2CAN112は、第2CAN112に異常が生じていない場合に、メインECU210がサブECU230及びサブECU240から送信されるデータを受信する場合に専用に使用するCANである。なお、第2CAN112は、サブECU230がサブECU240から送信されるデータのデータを受信する場合に専用に使用するCANである。また、第2CAN112は、サブECU240がサブECU230から送信されるデータのデータを受信する場合に使用するCANである。
これにより、第1CAN111に異常が生じていない場合に、メインECU210が第2CAN112を通じてデータを送信することはない。また、第2CAN112に異常が生じていない場合に、サブECU230及びサブECU240が第1CAN111を通じてデータを送信することはない。これにより、第1CAN111及び第2CAN112のいずれにも異常が生じていなければ、メインECU210とサブECU230及びサブECU230との間で通信調停が行われることがない。そのため、通信調停によってデータフレームの送信が長時間待たされることがない。また、第2CAN112に異常が生じていない場合、第1CAN111はメインECU210によるデータ送信に専用に用いられるので、メインECU210からサブECU230又はサブECU240への指示を速やかに送信することができる。
As a result, the
メインECU210は、メインECU210が第1CAN111に送信したデータフレームにおいてACKスロットがドミナントであれば、サブECU230及びサブECU240の少なくとも一方から確認応答を取得したと判断し、第1CAN111に異常が生じていないと判断する。一方、ACKスロットがレセシブであれば、サブECU230及びサブECU240のいずれからも確認応答を取得できなかったと判断し、第1CAN111に異常が生じていると判断する。メインECU210が第1CAN111に送信したデータフレームにおいてACKスロットがレセシブである場合、メインECU210は、メインECU210がデータの送信に使用するCANを、第1CAN111から第2CAN112に切り替える。これにより、メインECU210はサブECU230及びサブECU240へのデータの送信を継続することができる。
If the ACK slot is dominant in the data frame transmitted by
なお、メインECU210と同様に、サブECU230は、サブECU230が第2CAN112に送信したデータフレームにおいてACKスロットがドミナントであれば、メインECU210又はサブECU240から確認応答を取得したと判断し、第2CAN112に異常が生じていないと判断する。一方、ACKスロットがレセシブであれば、メインECU210及びサブECU240のいずれからも確認応答を取得できなかったと判断し、第2CAN112に異常が生じていると判断する。サブECU230が第2CAN112に送信したデータフレームにおいてACKスロットがレセシブである場合、サブECU230は、サブECU230がデータの送信に使用するCANを、第2CAN112から第1CAN111に切り替える。これにより、サブECU230はメインECU210又はサブECU240へのデータの送信を継続することができる。
Note that, similarly to the
また、サブECU230と同様に、サブECU240は、サブECU240が第2CAN112に送信したデータフレームにおいてACKスロットがドミナントであれば、メインECU210又はサブECU230から確認応答を取得したと判断し、第2CAN112に異常が生じていないと判断する。一方、ACKスロットがレセシブであれば、メインECU210及びサブECU230のいずれからも確認応答を取得できなかったと判断し、第2CAN112に異常が生じていると判断する。サブECU240が第2CAN112に送信したデータフレームにおいてACKスロットがレセシブである場合、サブECU240は、サブECU240がデータの送信に使用するCANを、第2CAN112から第1CAN111に切り替える。これにより、サブECU240はメインECU210又はサブECU230へのデータの送信を継続することができる。
Further, similarly to sub
図5は、メインECU210が実行する通信制御方法に係る手順を示すフローチャートの一例を示す。ここでは、図3に関連して説明した態様におけるメインECU210の通信制御方法を取り上げて説明する。本フローチャートの処理は、メインECU210がサブECU220にデータを送信する場合に開始される。
FIG. 5 shows an example of a flowchart showing a procedure related to the communication control method executed by the
S502において、メインECU210は、第1CAN101に異常が生じているか否かを判断する。第1CAN101に異常が生じていないと判断した場合、メインECU210は、第1CAN101を通じてデータを送信し(S504)、サブECU220からの確認応答を取得したか否かを判断する(S506)。S506において、メインECU210は、ACKスロットがドミナントであれば確認応答を取得したと判断し、ACKスロットがレセシブであれば確認応答を取得しなかったと判断する。S506で確認応答を取得したと判断した場合、本フローチャートの処理を終了する。
In S502,
S506で確認応答を取得しなかったと判断した場合、S504において、メインECU210は、第1CAN101に異常が生じていると判断する。例えば、メインECU210は、第1CAN101に異常が生じていることを示す判断情報を、メインECU210が内部に備える内部メモリに記憶する。S504の処理を行うとS502に戻る。なお、S502において、メインECU210は、第1CAN101に異常が生じていることを示す情報が内部メモリに記憶されている場合に、第1CAN101に異常が生じていると判断し、第1CAN101に異常が生じていることを示す情報が内部メモリに記憶されていない場合に、第1CAN101に異常が生じていない判断する。S502において第1CAN101に異常が生じていると判断した場合、メインECU210は、第2CAN102を通じてデータを送信し、本フローチャートの処理を終了する。
If it is determined in S506 that an acknowledgment has not been obtained, in S504 the
なお、図5に示される処理は、図4に関連して説明した態様においてメインECU210がデータ送信に使用するCANを切り替える処理等に適用することができる。また、図5に示される処理と同様の処理を、図3に関連して説明した態様においてサブECU220がデータ送信に使用するCANを切り替える処理、図4に関連して説明した態様においてサブECU230がデータ送信に使用するCANを切り替える処理、及び図3に関連して説明した態様においてサブECU240がデータ送信に使用するCANを切り替える処理等に適用することができる。
The process shown in FIG. 5 can be applied to the process of switching the CAN used by
図6は、メインECU210とサブECU220との間における通信制御の第1の変形例を説明するための図である。本変形例では、第1CAN101は、第1CAN101に異常が生じていない場合に、データフレームのIDフィールドに「1」以外の値が設定される種類のデータフレームをメインECU210が送信するために用いられるCANとして定められ、第2CAN102は、データフレームのIDフィールドに「1」が設定される種類のデータフレームをメインECU210が送信するために用いられるCANであると定められるものとする。メインECU210によるID「1」のデータフレームの送信タイミングが、サブECU220によるデータフレームの送信タイミングと競合しない確率が高ければ、ID「1」のデータフレームを第2CAN102を通じて送信しても通信調停が発生する確率が低い。本変形例を採用することで、メインECU210がサブECU220に送信するデータ量が多い場合に、第1CAN101と第2CAN102に通信負荷を分散することができる。
FIG. 6 is a diagram for explaining a first modification of communication control between
本変形例において、メインECU210は、メインECU210が第1CAN101に送信したID「1」以外のデータフレームにおいてACKスロットがドミナントであれば、サブECU220から確認応答を取得したと判断し、ACKスロットがレセシブであれば、サブECU220から確認応答を取得できなかったと判断する。メインECU210が第1CAN101に送信したデータフレームにおいてACKスロットがレセシブである場合、メインECU210は、メインECU210がID「1」以外のデータフレームの送信に使用するCANを、第1CAN101から第2CAN102に切り替える。これにより、メインECU210はサブECU220へのデータの送信を継続することができる。
In this modification,
図7は、メインECU210とサブECU230及びサブECU240との間における通信制御の第1の変形例を説明するための図である。本変形例では、第1CAN111は、第1CAN111に異常が生じていない場合に、データフレームのIDフィールドに「1」以外の値が設定される種類のデータフレームをメインECU210が送信するために用いられるCANとして定められ、第2CAN112は、データフレームのIDフィールドに「1」が設定される種類のデータフレームをメインECU210が送信するために用いられるCANであると定められるものとする。
FIG. 7 is a diagram for explaining a first modification of communication control between
本変形例において、メインECU210は、メインECU210が第1CAN111に送信したID「1」以外のデータフレームにおいてACKスロットがドミナントであれば、サブECU230又はサブECU240から確認応答を取得したと判断し、ACKスロットがレセシブであれば、サブECU230及びサブECU240のいずれからも確認応答を取得できなかったと判断する。メインECU210が第1CAN111に送信したデータフレームにおいてACKスロットがレセシブである場合、メインECU210は、メインECU210がID「1」以外のデータフレームの送信に使用するCANを、第1CAN111から第2CAN112に切り替える。これにより、メインECU210はサブECU230及びサブECU240へのデータの送信を継続することができる。
In this modification,
図8は、メインECU210とサブECU230及びサブECU240との間における通信制御の第2の変形例を説明するための図である。図8は、第1CAN111及び第2CAN112のそれぞれがメインECU210によってデータ送信に用いられるかデータ受信に用いられるかを示す図である。図8の「送信」はメインECU210によってデータ送信に使用されることを示し、「受信」はメインECU210によってデータ受信に用いられることを示す。
FIG. 8 is a diagram for explaining a second modification of communication control between
本変形例では、第1CAN111及び第2CAN112に異常が生じていない場合、第1CAN111は、メインECU210がデータ送信を行い、サブECU230及びサブECU240はデータ受信を行うためのCANとして使用される。第2CAN112はサブECU230及びサブECU240がデータ送信を行うためのCANとして使用されるとともに、メインECU210はデータ送信とデータ受信とを切り替えて第2CAN112を使用する。
In this modification, when there is no abnormality in the
例えば、時刻t1から時刻t2までの期間及び時刻t3から時刻t4までの期間においては、メインECU210は第2CAN112をデータ受信のみに使用する。時刻t2から時刻t3までの期間においては、メインECU210はデータの送信に第2CAN112を使用可能とされる。このように、メインECU210は、データ送信とデータ受信とを時間的に切り替えて第2CAN112を使用する。
For example, during the period from time t1 to time t2 and the period from time t3 to time t4, the
メインECU210は、時刻t2から時刻t3までの期間内において、メインECU210が第2CAN112に送信したデータフレームにおいてACKスロットがドミナントであれば、サブECU230又はサブECU240から確認応答を取得したと判断し、第2CAN112に異常が生じていないと判断する。一方、ACKスロットがレセシブであれば、サブECU230及びサブECU240のいずれからも確認応答を取得できなかったと判断し、第2CAN112に異常が生じていると判断する。メインECU210が第2CAN112に送信したデータフレームにおいてACKスロットがレセシブである場合、メインECU210は、第2CAN112から第1CAN111に切り替えてデータを送信する。これにより、メインECU210はサブECU230又はサブECU240へのデータの送信を継続することができる。
If the ACK slot in the data frame transmitted by
図9は、メインECU210とサブECU220との間における通信制御の第2の変形例を説明するための図である。図9は、第1CAN101及び第2CAN102のそれぞれがメインECU210によってデータ送信に用いられるかデータ受信に用いられるかを示す図である。図9の「送信」はメインECU210によってデータ送信に使用されることを示し、「受信」はメインECU210によってデータ受信に用いられることを示す。
FIG. 9 is a diagram for explaining a second modification of communication control between
本変形例では、メインECU210は、第1CAN101及び第2CAN102に異常が生じていない場合に、データの送信に用いるCANを時間的に切り替える。例えば、時刻t1から時刻t2までの期間においては、メインECU210がデータの送信に用いるCANとして第1CAN101が割り当てられ、サブECU220がデータの送信に用いるCANとして第2CAN102が割り当てられる。また、時刻t2から時刻t3までの期間においては、メインECU210がデータの送信に用いるCANとして第2CAN102が割り当てられ、サブECU220がデータの送信に用いるCANとして第1CAN101が割り当てられる。また、時刻t3から時刻t4までの期間においては、メインECU210がデータの送信に用いるCANとして第1CAN101が割り当てられ、サブECU220がデータの送信に用いるCANとして第2CAN102が割り当てられる。このように、メインECU210は、送信に用いるCANを時間的に切り替える。
In this modification, the
メインECU210は、時刻t2から時刻t3までの期間内において、メインECU210が第2CAN102に送信したデータフレームにおいてACKスロットがドミナントであれば、サブECU220から確認応答を取得したと判断し、第2CAN102に異常が生じていないと判断する。一方、ACKスロットがレセシブであれば、サブECU220から確認応答を取得できなかったと判断し、第2CAN102に異常が生じていると判断する。メインECU210が第2CAN102に送信したデータフレームにおいてACKスロットがレセシブである場合、メインECU210は、メインECU210がデータの送信に使用するCANを、第2CAN102から第1CAN101に切り替える。これにより、メインECU210はサブECU220へのデータの送信を継続することができる。
If the ACK slot in the data frame transmitted by
なお、図9に関連して説明した第2の変形例におけるCANの切り替え制御は、メインECU210とサブECU230及びサブECU240との間の通信におけるCANの切り替え制御にも適用することができる。また、図6及び図7等に関連して説明したような第1の変形例と第2の変形例とを組み合わせて、データの送信に用いるCANを時系列で切り替える制御をデータの種類毎に適用することもできる。
The CAN switching control in the second modification described with reference to FIG. 9 can also be applied to CAN switching control in communication between the
以上に説明したように、本実施形態に係る通信システム200によれば、ECU同士を接続するCANを多重化し、それぞれのECUがデータ送信に用いるCANとデータ受信に用いるCANとを区分けすることで、通信調停が発生する確率を低くすることができる。そして、一方のCANに異常が発生した場合には、データ送信に用いるCANを他方のCANに切り替えることで、データ送信を継続することができる。
As described above, according to the
なお、車両20は、輸送機器の一例としての車両である。車両は、内燃機関を備える自動車、電気自動車、燃料電池自動車(FCV)等の自動車であってよい。自動車は、バス、トラック、二輪自動車等を含む。車両は、鞍乗型車両等であってよく、バイクであってよい。輸送機器としては、車両の他に、無人航空機を含む航空機、船舶等の機器を含む。輸送機器は、人又は物品を輸送する任意の機器であってよい。輸送機器は移動体の一例である。移動体は、輸送機器に限らず、移動可能な任意の機器であってよい。
The
図10は、本発明の複数の実施形態が全体的又は部分的に具現化され得るコンピュータ2000の例を示す。コンピュータ2000にインストールされたプログラムは、コンピュータ2000を、実施形態に係る通信システム等のシステム、通信装置又は当該装置の各部として機能させる、当該装置又は当該装置の各部に関連付けられるオペレーションを実行させる、及び/又は、実施形態に係るプロセス又は当該プロセスの段階を実行させることができる。そのようなプログラムは、コンピュータ2000に、本明細書に記載の処理手順及びブロック図のブロックのうちのいくつか又はすべてに関連付けられた特定のオペレーションを実行させるべく、CPU2012によって実行されてよい。
FIG. 10 illustrates an
本実施形態によるコンピュータ2000は、CPU2012、及びRAM2014を含み、それらはホストコントローラ2010によって相互に接続されている。コンピュータ2000はまた、ROM2026、フラッシュメモリ2024、通信インタフェース2022、及び入力/出力チップ2040を含む。ROM2026、フラッシュメモリ2024、通信インタフェース2022、及び入力/出力チップ2040は、入力/出力コントローラ2020を介してホストコントローラ2010に接続されている。
A
CPU2012は、ROM2026及びRAM2014内に格納されたプログラムに従い動作し、それにより各ユニットを制御する。
The
通信インタフェース2022は、ネットワークを介して他の電子デバイスと通信する。フラッシュメモリ2024は、コンピュータ2000内のCPU2012によって使用されるプログラム及びデータを格納する。ROM2026は、アクティブ化時にコンピュータ2000によって実行されるブートプログラム等、及び/又はコンピュータ2000のハードウエアに依存するプログラムを格納する。入力/出力チップ2040はまた、キーボード、マウス及びモニタ等の様々な入力/出力ユニットをシリアルポート、パラレルポート、キーボードポート、マウスポート、モニタポート、USBポート、HDMI(登録商標)ポート等の入力/出力ポートを介して、入力/出力コントローラ2020に接続してよい。
プログラムは、CD-ROM、DVD-ROM、又はメモリカードのようなコンピュータ可読記憶媒体又はネットワークを介して提供される。RAM2014、ROM2026、又はフラッシュメモリ2024は、コンピュータ可読記憶媒体の例である。プログラムは、フラッシュメモリ2024、RAM2014、又はROM2026にインストールされ、CPU2012によって実行される。これらのプログラム内に記述される情報処理は、コンピュータ2000に読み取られ、プログラムと上記様々なタイプのハードウエアリソースとの間の連携をもたらす。装置又は方法が、コンピュータ2000の使用に従い情報のオペレーション又は処理を実現することによって構成されてよい。
The program is provided via a computer-readable storage medium such as a CD-ROM, DVD-ROM, or memory card or via a network.
例えば、コンピュータ2000及び外部デバイス間で通信が実行される場合、CPU2012は、RAM2014にロードされた通信プログラムを実行し、通信プログラムに記述された処理に基づいて、通信インタフェース2022に対し、通信処理を命令してよい。通信インタフェース2022は、CPU2012の制御下、RAM2014及びフラッシュメモリ2024のような記録媒体内に提供される送信バッファ処理領域に格納された送信データを読み取り、読み取った送信データをネットワークに送信し、ネットワークから受信された受信データを、記録媒体上に提供される受信バッファ処理領域等に書き込む。
For example, when communication is executed between the
また、CPU2012は、フラッシュメモリ2024等のような記録媒体に格納されたファイル又はデータベースの全部又は必要な部分がRAM2014に読み取られるようにし、RAM2014上のデータに対し様々な種類の処理を実行してよい。CPU2012は次に、処理されたデータを記録媒体にライトバックする。
The
様々なタイプのプログラム、データ、テーブル、及びデータベースのような様々なタイプの情報が記録媒体に格納され、情報処理にかけられてよい。CPU2012は、RAM2014から読み取られたデータに対し、本明細書に記載され、プログラムの命令シーケンスによって指定される様々な種類のオペレーション、情報処理、条件判断、条件分岐、無条件分岐、情報の検索/置換等を含む、様々な種類の処理を実行してよく、結果をRAM2014にライトバックする。また、CPU2012は、記録媒体内のファイル、データベース等における情報を検索してよい。例えば、各々が第2の属性の属性値に関連付けられた第1の属性の属性値を有する複数のエントリが記録媒体内に格納される場合、CPU2012は、第1の属性の属性値が指定されている、条件に一致するエントリを当該複数のエントリの中から検索し、当該エントリ内に格納された第2の属性の属性値を読み取り、それにより予め定められた条件を満たす第1の属性に関連付けられた第2の属性の属性値を取得してよい。
Various types of information such as various types of programs, data, tables, and databases may be stored on the recording medium and subjected to information processing.
上で説明したプログラム又はソフトウェアモジュールは、コンピュータ2000上又はコンピュータ2000近傍のコンピュータ可読記憶媒体に格納されてよい。専用通信ネットワーク又はインターネットに接続されたサーバーシステム内に提供されるハードディスク又はRAMのような記録媒体が、コンピュータ可読記憶媒体として使用可能である。コンピュータ可読記憶媒体に格納されたプログラムを、ネットワークを介してコンピュータ2000に提供してよい。
The programs or software modules described above may be stored in a computer-readable storage medium on or near
コンピュータ2000にインストールされ、コンピュータ2000を通信システム200として機能させるプログラムは、CPU2012等に働きかけて、コンピュータ2000を、通信システム200の各部としてそれぞれ機能させてよい。これらのプログラムに記述された情報処理は、コンピュータ2000に読込まれることにより、ソフトウエアと上述した各種のハードウエア資源とが協働した具体的手段である各ECUの各部として機能する。そして、これらの具体的手段によって、本実施形態におけるコンピュータ2000の使用目的に応じた情報の演算又は加工を実現することにより、使用目的に応じた特有のECUが構築される。
A program installed in the
様々な実施形態が、ブロック図等を参照して説明された。ブロック図において各ブロックは、(1)オペレーションが実行されるプロセスの段階又は(2)オペレーションを実行する役割を持つ装置の各部を表わしてよい。特定の段階及び各部が、専用回路、コンピュータ可読記憶媒体上に格納されるコンピュータ可読命令と共に供給されるプログラマブル回路、及び/又はコンピュータ可読記憶媒体上に格納されるコンピュータ可読命令と共に供給されるプロセッサによって実装されてよい。専用回路は、デジタル及び/又はアナログハードウエア回路を含んでよく、集積回路(IC)及び/又はディスクリート回路を含んでよい。プログラマブル回路は、論理AND、論理OR、論理XOR、論理NAND、論理NOR、及び他の論理オペレーション、フリップフロップ、レジスタ、フィールドプログラマブルゲートアレイ(FPGA)、プログラマブルロジックアレイ(PLA)等のようなメモリ要素等を含む、再構成可能なハードウエア回路を含んでよい。 Various embodiments have been described with reference to block diagrams and the like. Each block in the block diagram may represent (1) a stage of a process in which an operation is performed or (2) a piece of equipment responsible for performing the operation. Certain steps and portions may be implemented by dedicated circuitry, programmable circuitry provided with computer readable instructions stored on a computer readable storage medium, and/or processor provided with computer readable instructions stored on a computer readable storage medium. may be implemented. Dedicated circuitry may include digital and/or analog hardware circuitry and may include integrated circuits (ICs) and/or discrete circuitry. Programmable circuits include logic AND, logic OR, logic XOR, logic NAND, logic NOR, and other logic operations, memory elements such as flip-flops, registers, field programmable gate arrays (FPGAs), programmable logic arrays (PLAs), etc. and the like.
コンピュータ可読記憶媒体は、適切なデバイスによって実行される命令を格納可能な任意の有形なデバイスを含んでよく、その結果、そこに格納される命令を有するコンピュータ可読記憶媒体は、処理手順又はブロック図で指定されたオペレーションを実行するための手段をもたらすべく実行され得る命令を含む製品の少なくとも一部を構成する。コンピュータ可読記憶媒体の例としては、電子記憶媒体、磁気記憶媒体、光記憶媒体、電磁記憶媒体、半導体記憶媒体等が含まれてよい。コンピュータ可読記憶媒体のより具体的な例としては、フロッピー(登録商標)ディスク、ディスケット、ハードディスク、ランダムアクセスメモリ(RAM)、リードオンリメモリ(ROM)、消去可能プログラマブルリードオンリメモリ(EPROM又はフラッシュメモリ)、電気的消去可能プログラマブルリードオンリメモリ(EEPROM)、静的ランダムアクセスメモリ(SRAM)、コンパクトディスクリードオンリメモリ(CD-ROM)、デジタル多用途ディスク(DVD)、ブルーレイ(RTM)ディスク、メモリスティック、集積回路カード等が含まれてよい。 A computer-readable storage medium may comprise any tangible device capable of storing instructions to be executed by a suitable device such that a computer-readable storage medium having instructions stored thereon may be represented by a process procedure or block diagram. constitutes at least part of an article of manufacture that includes instructions executable to bring about means for performing the operations specified in . Examples of computer-readable storage media may include electronic storage media, magnetic storage media, optical storage media, electromagnetic storage media, semiconductor storage media, and the like. More specific examples of computer readable storage media include floppy disks, diskettes, hard disks, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory) , electrically erasable programmable read only memory (EEPROM), static random access memory (SRAM), compact disc read only memory (CD-ROM), digital versatile disc (DVD), Blu-ray (RTM) disc, memory stick, An integrated circuit card or the like may be included.
コンピュータ可読命令は、アセンブラ命令、命令セットアーキテクチャ(ISA)命令、マシン命令、マシン依存命令、マイクロコード、ファームウェア命令、状態設定データ、又はSmalltalk(登録商標)、JAVA(登録商標)、C++等のようなオブジェクト指向プログラミング言語、及び「C」プログラミング言語又は同様のプログラミング言語のような従来の手続型プログラミング言語を含む、1又は複数のプログラミング言語の任意の組み合わせで記述されたソースコード又はオブジェクトコードのいずれかを含んでよい。 The computer readable instructions may be assembler instructions, Instruction Set Architecture (ISA) instructions, machine instructions, machine dependent instructions, microcode, firmware instructions, state configuration data, or instructions such as Smalltalk, JAVA, C++, etc. any source or object code written in any combination of one or more programming languages, including object-oriented programming languages, and conventional procedural programming languages such as the "C" programming language or similar programming languages; may include
コンピュータ可読命令は、汎用コンピュータ、特殊目的のコンピュータ、若しくは他のプログラム可能なデータ処理装置のプロセッサ又はプログラマブル回路に対し、ローカルに又はローカルエリアネットワーク(LAN)、インターネット等のようなワイドエリアネットワーク(WAN)を介して提供され、説明された処理手順又はブロック図で指定されたオペレーションを実行するための手段をもたらすべく、コンピュータ可読命令を実行してよい。プロセッサの例としては、コンピュータプロセッサ、処理ユニット、マイクロプロセッサ、デジタル信号プロセッサ、コントローラ、マイクロコントローラ等を含む。 Computer readable instructions may be transmitted to a processor or programmable circuitry of a general purpose computer, special purpose computer, or other programmable data processing apparatus, either locally or over a wide area network (WAN), such as a local area network (LAN), the Internet, or the like. ) and may be executed to provide means for performing the operations specified in the process steps or block diagrams described. Examples of processors include computer processors, processing units, microprocessors, digital signal processors, controllers, microcontrollers, and the like.
以上、本発明を実施の形態を用いて説明したが、本発明の技術的範囲は上記実施の形態に記載の範囲には限定されない。上記実施の形態に、多様な変更または改良を加えることが可能であることが当業者に明らかである。その様な変更または改良を加えた形態も本発明の技術的範囲に含まれ得ることが、特許請求の範囲の記載から明らかである。 Although the present invention has been described above using the embodiments, the technical scope of the present invention is not limited to the scope described in the above embodiments. It is obvious to those skilled in the art that various modifications and improvements can be made to the above embodiments. It is clear from the description of the scope of claims that forms with such modifications or improvements can also be included in the technical scope of the present invention.
特許請求の範囲、明細書、及び図面中において示した装置、システム、プログラム、及び方法における動作、手順、ステップ、及び段階等の各処理の実行順序は、特段「より前に」、「先立って」等と明示しておらず、また、前の処理の出力を後の処理で用いるのでない限り、任意の順序で実現しうることに留意すべきである。特許請求の範囲、明細書、及び図面中の動作フローに関して、便宜上「まず、」、「次に、」等を用いて説明したとしても、この順で実施することが必須であることを意味するものではない。 The execution order of each process such as actions, procedures, steps, and stages in the devices, systems, programs, and methods shown in the claims, the specification, and the drawings is etc., and it should be noted that they can be implemented in any order unless the output of the previous process is used in the subsequent process. Regarding the operation flow in the claims, the specification, and the drawings, even if the description is made using "first," "next," etc. for convenience, it means that it is essential to carry out in this order. not a thing
20 車両
200 通信システム
210 メインECU
220、221、222 サブECU
230、231、232 サブECU
240、241、242 サブECU
101 第1CAN
102 第2CAN
103、113、114 CAN
111 第1CAN
112 第2CAN
121 第1CAN
122 第2CAN
131 第1CAN
132 第2CAN
201 TCU
202 アンテナ
203 通信装置
290 ADAS-ECU
2000 コンピュータ
2010 ホストコントローラ
2012 CPU
2014 RAM
2020 入力/出力コントローラ
2022 通信インタフェース
2024 フラッシュメモリ
2026 ROM
2040 入力/出力チップ
20
220, 221, 222 Sub ECU
230, 231, 232 Sub ECU
240, 241, 242 Sub ECU
101 1st CAN
102 2nd CAN
103, 113, 114 CAN
111 1st CAN
112 2nd CAN
121 1st CAN
122 2nd CAN
131 1st CAN
132 2nd CAN
201 TCUs
202
2000
2014 RAM
2020 input/
2040 input/output chip
Claims (17)
を備え、
前記第1通信装置は、
前記第1CAN通信ネットワークを通じて第1データを前記第2通信装置へ送信し、前記第2通信装置から送信される第2データを前記第2CAN通信ネットワークを通じて受信し、
前記第1CAN通信ネットワークを通じた前記第1データの送信に対する肯定応答を前記第1CAN通信ネットワークを通じて取得しなかった場合に、前記第1データの送信に用いるCAN通信ネットワークを、前記第1CAN通信ネットワークから前記第2CAN通信ネットワークに切り替える
通信システム。 A first communication device and a second communication device connected together to a first CAN (Controller Area Network) communication network and a second CAN communication network;
The first communication device is
transmitting first data to the second communication device through the first CAN communication network, receiving second data transmitted from the second communication device through the second CAN communication network;
When a positive response to the transmission of the first data through the first CAN communication network is not obtained through the first CAN communication network, the CAN communication network used for transmitting the first data is selected from the first CAN communication network to the A communication system that switches to a second CAN communication network.
請求項1に記載の通信システム。 The first communication device does not transmit data through the second CAN communication network and does not receive data through the first CAN communication network unless the acknowledgment from the second communication device cannot be received. A communication system according to claim 1.
請求項1に記載の通信システム。 2. The communication system according to claim 1, wherein communication devices connected to said first CAN communication network and said second CAN communication network are only said first communication device and said second communication device.
前記第1CAN通信ネットワークは、前記第1通信装置が前記第1種類のデータを送信するために用いるCAN通信ネットワークであり、
前記第2CAN通信ネットワークは、前記第1通信装置が前記第1種類とは異なる第2種類のデータを送信するために用いるCAN通信ネットワークであり、
前記第1通信装置は、前記第2CAN通信ネットワークを通じて、前記第2種類の第3データを前記第2通信装置へ送信し、
前記第2CAN通信ネットワークを通じた前記第3データの送信に対する肯定応答を前記第2CAN通信ネットワークを通じて取得しなかった場合に、前記第2種類のデータの送信に用いるCAN通信ネットワークを、前記第2CAN通信ネットワークから前記第1CAN通信ネットワークに切り替える
請求項3に記載の通信システム。 The first data is data of a first type,
The first CAN communication network is a CAN communication network used by the first communication device to transmit the first type of data,
The second CAN communication network is a CAN communication network used by the first communication device to transmit data of a second type different from the first type,
The first communication device transmits the second type of third data to the second communication device through the second CAN communication network,
When a positive response to the transmission of the third data through the second CAN communication network is not obtained through the second CAN communication network, the CAN communication network used for transmitting the second type of data is selected from the second CAN communication network. to the first CAN communication network.
請求項4に記載の通信システム。 The first communication device determines whether the data is the first type data or the second type data based on the value of the ID field of the data frame transmitted through the first CAN communication network or the second CAN communication network. 5. The communication system according to claim 4, wherein the determination of
請求項3に記載の通信システム。 The first communication device does not transmit data through the second CAN communication network and does not receive data through the first CAN communication network unless the acknowledgment from the second communication device cannot be received. A communication system according to claim 3.
をさらに備え、
前記第1通信装置は、前記第1CAN通信ネットワークを通じて前記第2通信装置及び前記第3通信装置に前記第1データを送信し、
前記第1通信装置は、前記第2CAN通信ネットワークを通じて前記第3通信装置から送信される第4データを受信する
請求項1に記載の通信システム。 further comprising a third communication device connected together to the first CAN communication network and the second CAN communication network;
The first communication device transmits the first data to the second communication device and the third communication device through the first CAN communication network,
The communication system according to claim 1, wherein said first communication device receives fourth data transmitted from said third communication device through said second CAN communication network.
前記第2CAN通信ネットワークは、前記第1通信装置が前記第1期間においてデータを受信するために用いるCAN通信ネットワークであり、前記第1通信装置が前記第2期間においてデータを送信するために用いるCAN通信ネットワークであり、
前記第1通信装置は、前記第1期間において、
前記第1CAN通信ネットワークを通じて、前記第1データを前記第2通信装置及び前記第3通信装置へ送信し、
前記第1CAN通信ネットワークを通じた前記第1データの送信に対する肯定応答を前記第1CAN通信ネットワークを通じて取得しなかった場合に、前記第1データの送信に用いるCAN通信ネットワークを、前記第1CAN通信ネットワークから前記第2CAN通信ネットワークに切り替え、
前記第1通信装置は、前記第2期間において、
前記第2CAN通信ネットワークを通じて、第5データを前記第2通信装置及び前記第3通信装置へ送信し、
前記第2CAN通信ネットワークを通じた前記第5データの送信に対する肯定応答を前記第2CAN通信ネットワークを通じて取得しなかった場合に、前記第5データの送信に用いるCAN通信ネットワークを、前記第2CAN通信ネットワークから前記第1CAN通信ネットワークに切り替える
請求項7に記載の通信システム。 The first CAN communication network is a CAN communication network used by the first communication device to transmit data in a first period, and a CAN communication network used by the first communication device to receive data in a second period. and
The second CAN communication network is a CAN communication network used by the first communication device to receive data in the first period, and a CAN used by the first communication device to transmit data in the second period. is a communication network;
The first communication device, in the first period,
transmitting the first data to the second communication device and the third communication device through the first CAN communication network;
When a positive response to the transmission of the first data through the first CAN communication network is not obtained through the first CAN communication network, the CAN communication network used for transmitting the first data is selected from the first CAN communication network to the Switching to the second CAN communication network,
The first communication device, in the second period,
Transmitting fifth data to the second communication device and the third communication device through the second CAN communication network;
When a positive response to the transmission of the fifth data through the second CAN communication network is not obtained through the second CAN communication network, the CAN communication network used for transmitting the fifth data is selected from the second CAN communication network to the 8. The communication system of claim 7, wherein switching to the first CAN communication network.
前記第2CAN通信ネットワークは、前記第2通信装置及び前記第3通信装置がデータを送信するために用いるCAN通信ネットワークであるとともに、前記第1通信装置がデータの送信とデータの受信とを時間的に切り替えて使用するCAN通信ネットワークであり、
前記第1通信装置は、前記第2CAN通信ネットワークを通じて、第6データを前記第2通信装置及び前記第3通信装置へ送信した場合において、前記第2CAN通信ネットワークを通じた前記第6データの送信に対する肯定応答を前記第2CAN通信ネットワークを通じて取得しなかった場合に、前記第6データの送信に用いるCAN通信ネットワークを、前記第2CAN通信ネットワークから前記第1CAN通信ネットワークに切り替える
請求項7に記載の通信システム。 The first CAN communication network is a CAN communication network used by the first communication device to transmit data, and the second communication device and the third communication device transmit data from the first communication device through the first CAN communication network. A CAN communication network used to receive transmitted data,
The second CAN communication network is a CAN communication network used by the second communication device and the third communication device to transmit data, and the first communication device temporally synchronizes data transmission and data reception. It is a CAN communication network that is used by switching to
The first communication device, when transmitting the sixth data to the second communication device and the third communication device via the second CAN communication network, affirms the transmission of the sixth data via the second CAN communication network. 8. The communication system according to claim 7, wherein when a response is not obtained through the second CAN communication network, the CAN communication network used for transmitting the sixth data is switched from the second CAN communication network to the first CAN communication network.
前記第1CAN通信ネットワークは、前記第1通信装置が前記第1種類のデータを送信するために用いるCAN通信ネットワークであり、
前記第2CAN通信ネットワークは、前記第1通信装置が前記第1種類とは異なる第2種類のデータを送信するために用いるCAN通信ネットワークであり、
前記第1通信装置は、前記第2CAN通信ネットワークを通じて、前記第2種類の第3データを前記第2通信装置及び前記第3通信装置へ送信し、
前記第2CAN通信ネットワークを通じた前記第3データの送信に対する肯定応答を前記第2CAN通信ネットワークを通じて取得しなかった場合に、前記第2種類のデータの送信に用いるCAN通信ネットワークを、前記第2CAN通信ネットワークから前記第1CAN通信ネットワークに切り替える
請求項7に記載の通信システム。 The first data is data of a first type,
The first CAN communication network is a CAN communication network used by the first communication device to transmit the first type of data,
The second CAN communication network is a CAN communication network used by the first communication device to transmit data of a second type different from the first type,
The first communication device transmits the second type of third data to the second communication device and the third communication device through the second CAN communication network,
When a positive response to the transmission of the third data through the second CAN communication network is not obtained through the second CAN communication network, the CAN communication network used for transmitting the second type of data is selected from the second CAN communication network. to the first CAN communication network.
前記第2通信装置及び前記第3通信装置は、いずれも第3通信ネットワークに接続されておらず、
前記第2通信装置及び前記第3通信装置は、前記第4通信装置との間で前記第1通信装置を介して通信する通信装置である
請求項7から10のいずれか一項に記載の通信システム。 The first communication device is capable of communicating with a fourth communication device connected by a third communication network,
Neither the second communication device nor the third communication device is connected to a third communication network,
The communication according to any one of claims 7 to 10, wherein the second communication device and the third communication device are communication devices that communicate with the fourth communication device via the first communication device. system.
前記第1CAN通信ネットワークは、前記第1通信装置が前記第1種類のデータを送信するために用いるCAN通信ネットワークであり、
前記第2CAN通信ネットワークは、前記第1通信装置が前記第1種類とは異なる第2種類のデータを送信するために用いるCAN通信ネットワークであり、
前記第1通信装置は、前記第2CAN通信ネットワークを通じて、前記第2種類の第3データを前記第2通信装置へ送信し、
前記第2CAN通信ネットワークを通じた前記第3データの送信に対する肯定応答を前記第2CAN通信ネットワークを通じて取得しなかった場合に、前記第2種類のデータの送信に用いるCAN通信ネットワークを、前記第2CAN通信ネットワークから前記第1CAN通信ネットワークに切り替える
請求項1に記載の通信システム。 The first data is data of a first type,
The first CAN communication network is a CAN communication network used by the first communication device to transmit the first type of data,
The second CAN communication network is a CAN communication network used by the first communication device to transmit data of a second type different from the first type,
The first communication device transmits the second type of third data to the second communication device through the second CAN communication network,
When a positive response to the transmission of the third data through the second CAN communication network is not obtained through the second CAN communication network, the CAN communication network used for transmitting the second type of data is selected from the second CAN communication network. to the first CAN communication network.
前記第2CAN通信ネットワークは、前記第1通信装置が前記第1期間においてデータを受信するために用いるCAN通信ネットワークであり、前記第1通信装置が前記第2期間においてデータを送信するために用いるCAN通信ネットワークであり、
前記第1通信装置は、前記第1期間において、
前記第1CAN通信ネットワークを通じて、前記第1データを前記第2通信装置へ送信し、
前記第1CAN通信ネットワークを通じた前記第1データの送信に対する肯定応答を前記第1CAN通信ネットワークを通じて取得しなかった場合に、前記第1データの送信に用いるCAN通信ネットワークを、前記第1CAN通信ネットワークから前記第2CAN通信ネットワークに切り替え、
前記第1通信装置は、前記第2期間において、
前記第2CAN通信ネットワークを通じて、第5データを前記第2通信装置へ送信し、
前記第2CAN通信ネットワークを通じた前記第5データの送信に対する肯定応答を前記第2CAN通信ネットワークを通じて取得しなかった場合に、前記第5データの送信に用いるCAN通信ネットワークを、前記第2CAN通信ネットワークから前記第1CAN通信ネットワークに切り替える
請求項2に記載の通信システム。 The first CAN communication network is a CAN communication network used by the first communication device to transmit data in a first period, and a CAN communication network used by the first communication device to receive data in a second period. and
The second CAN communication network is a CAN communication network used by the first communication device to receive data in the first period, and a CAN used by the first communication device to transmit data in the second period. is a communication network;
The first communication device, in the first period,
transmitting the first data to the second communication device through the first CAN communication network;
When a positive response to the transmission of the first data through the first CAN communication network is not obtained through the first CAN communication network, the CAN communication network used for transmitting the first data is selected from the first CAN communication network to the Switching to the second CAN communication network,
The first communication device, in the second period,
transmitting fifth data to the second communication device through the second CAN communication network;
When a positive response to the transmission of the fifth data through the second CAN communication network is not obtained through the second CAN communication network, the CAN communication network used for transmitting the fifth data is selected from the second CAN communication network to the 3. The communication system of claim 2, wherein switching to the first CAN communication network.
前記第1通信装置が、前記第2通信装置から送信される第2データを前記第2CAN通信ネットワークを通じて受信する段階と、
前記第1CAN通信ネットワークを通じた前記第1データの送信に対する肯定応答を前記第1CAN通信ネットワークを通じて取得しなかった場合に、前記第1データの送信に用いるCAN通信ネットワークを、前記第1CAN通信ネットワークから前記第2CAN通信ネットワークに切り替える段階と、
を備える通信制御方法。 A first communication device connected together to a first CAN communication network and a second CAN communication network transmits first data through the first CAN communication network to a second communication connected together to the first CAN communication network and the second CAN communication network. transmitting to the device;
the first communication device receiving second data transmitted from the second communication device through the second CAN communication network;
When a positive response to the transmission of the first data through the first CAN communication network is not obtained through the first CAN communication network, the CAN communication network used for transmitting the first data is selected from the first CAN communication network to the switching to a second CAN communication network;
A communication control method comprising:
第1通信装置は、第1CAN通信ネットワーク及び第2CAN通信ネットワークに接続され、
前記プログラムは、前記コンピュータに、
前記第1CAN通信ネットワークを通じて第1データを前記第1CAN通信ネットワーク及び前記第2CAN通信ネットワークに接続された第2通信装置へ送信し、前記第2通信装置から送信される第2データを前記第2CAN通信ネットワークを通じて受信させ、
前記第1CAN通信ネットワークを通じた前記第1データの送信に対する肯定応答を前記第1CAN通信ネットワークを通じて取得しなかった場合に、前記第1データの送信に用いるCAN通信ネットワークを、前記第1CAN通信ネットワークから前記第2CAN通信ネットワークに切り替えさせる
プログラム。 A program for causing a computer to function as a first communication device,
The first communication device is connected to the first CAN communication network and the second CAN communication network,
The program causes the computer to:
transmitting first data through the first CAN communication network to a second communication device connected to the first CAN communication network and the second CAN communication network, and transmitting second data transmitted from the second communication device to the second CAN communication network; received over the network,
When a positive response to the transmission of the first data through the first CAN communication network is not obtained through the first CAN communication network, the CAN communication network used for transmitting the first data is selected from the first CAN communication network to the A program to switch to the second CAN communication network.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2021046157A JP2022144949A (en) | 2021-03-19 | 2021-03-19 | Communication system, mobile body, communication control method and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2021046157A JP2022144949A (en) | 2021-03-19 | 2021-03-19 | Communication system, mobile body, communication control method and program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2022144949A true JP2022144949A (en) | 2022-10-03 |
Family
ID=83454449
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2021046157A Pending JP2022144949A (en) | 2021-03-19 | 2021-03-19 | Communication system, mobile body, communication control method and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2022144949A (en) |
-
2021
- 2021-03-19 JP JP2021046157A patent/JP2022144949A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10725762B2 (en) | Gateway device, in-vehicle network system, and firmware update method | |
US10630538B2 (en) | Software update method and apparatus for vehicle | |
US20190260790A1 (en) | Anomaly detection electronic control unit, onboard network system, and anomaly detection method | |
JP6585019B2 (en) | Network monitoring device, network system and program | |
US8582586B2 (en) | Vehicle onboard gateway apparatus | |
US10673986B2 (en) | Operation method of communication node for selective wake-up in vehicle network | |
US20230153099A1 (en) | Gateway device, in-vehicle network system, and firmware update method | |
US10861258B2 (en) | Method for preventing diagnostic errors in vehicle network and apparatus therefor | |
US10509674B2 (en) | Software component assigning system for vehicle | |
US20140137091A1 (en) | Automobile open system architecture(autosar)-based electronic control unit (ecu) and method for updating ecu | |
US11126422B2 (en) | Program update system, control system, mobile body, program update method, recording medium | |
US10274919B2 (en) | Method, device and computer program product for programming a plurality of control units | |
CN108292244B (en) | Data processing device, data processing method, and computer-readable recording medium | |
US9491228B2 (en) | Redundancy device | |
JP2023515997A (en) | SOFTWARE VERSION ROLLBACK METHOD, APPARATUS AND SYSTEM | |
US20210001792A1 (en) | Storing apparatus, communication system, storing method, and computer program | |
JP2022144949A (en) | Communication system, mobile body, communication control method and program | |
JP7176488B2 (en) | Data storage device and data storage program | |
US20190305983A1 (en) | Method and apparatus for configuring backup path in vehicle network | |
US10800365B2 (en) | Method, device, vehicle and central station for determining the actuality of a local user setting | |
US20160364245A1 (en) | Operation method of communication node in automotive network | |
US11178075B2 (en) | Relay device | |
US11297007B2 (en) | Relay apparatus | |
JP2022109181A (en) | Information processor, control system, system, information processing method, control method, and program | |
JP7307755B2 (en) | Control system, mobile object, server, control method, and program |