JP6339258B2 - In-car communication system - Google Patents

In-car communication system Download PDF

Info

Publication number
JP6339258B2
JP6339258B2 JP2017044511A JP2017044511A JP6339258B2 JP 6339258 B2 JP6339258 B2 JP 6339258B2 JP 2017044511 A JP2017044511 A JP 2017044511A JP 2017044511 A JP2017044511 A JP 2017044511A JP 6339258 B2 JP6339258 B2 JP 6339258B2
Authority
JP
Japan
Prior art keywords
vehicle
information
unit
frame
transmission
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
Application number
JP2017044511A
Other languages
Japanese (ja)
Other versions
JP2017105462A (en
Inventor
幸平 清野
幸平 清野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honda Motor Co Ltd
Original Assignee
Honda Motor Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Honda Motor Co Ltd filed Critical Honda Motor Co Ltd
Priority to JP2017044511A priority Critical patent/JP6339258B2/en
Publication of JP2017105462A publication Critical patent/JP2017105462A/en
Application granted granted Critical
Publication of JP6339258B2 publication Critical patent/JP6339258B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

この発明は、一の車載ユニットにて収集した情報をフレームに分割して他の車載ユニットに送信する車内通信システムに関する。   The present invention relates to an in-vehicle communication system that divides information collected by one in-vehicle unit into frames and transmits the frames to other in-vehicle units.

従来から、特許文献1及び特許文献2に示すように、ECU(電子制御ユニット)等が車両内で収集し前記ECU等に記録した診断情報を、前記ECU等から車載の通信ユニットを通じて、無線通信により、車外の情報センタに送信し、前記情報センタにて前記車両の遠隔診断が行えるようにした車両診断システムが提案されている。   Conventionally, as shown in Patent Document 1 and Patent Document 2, diagnostic information collected by an ECU (electronic control unit) or the like and recorded in the ECU or the like is communicated wirelessly from the ECU or the like through an in-vehicle communication unit. Thus, a vehicle diagnosis system has been proposed that transmits the information to an information center outside the vehicle so that the information center can perform remote diagnosis of the vehicle.

また、車両診断システムではないが、特許文献3に示すように、車両内のECU間の通信に、相互の間で個々の要求信号に対する確認信号が返ってくるのを待って、次の要求信号を送るデータ伝送の方式、いわゆるハンドシェイク方式を採用した車載ネットワーク装置が提案されている。   Moreover, although it is not a vehicle diagnostic system, as shown in patent document 3, it waits for the confirmation signal with respect to each request signal to return between each other in communication between ECUs in a vehicle, and next request signal An in-vehicle network device that employs a data transmission method for transmitting a so-called handshake method has been proposed.

特開平10−194095号公報([要約])JP 10-194095 A ([Summary]) 特開2006−25048号公報([要約])JP 2006-25048 A ([Summary]) 特開2011−114371号公報([0012])JP 2011-114371 A ([0012])

一般に、車内通信では、多重通信等の要請から、情報を、一定周期のフレーム(データフレーム)に分割し、分割フレームを、送信側から通信線(バス線)を介して受信側に送信するように構成されている。   In general, in-vehicle communication, information is divided into frames (data frames) with a fixed period in response to a request for multiplex communication, and the divided frames are transmitted from the transmission side to the reception side via a communication line (bus line). It is configured.

従って、情報の受信側では、情報の正確な再生のために、前記分割フレームの全てを受信する必要がある。   Therefore, on the information receiving side, it is necessary to receive all of the divided frames in order to accurately reproduce the information.

ここで、分割フレームを全て受信することができたか否かを確実に判断するためには、特許文献3に記載されているようなハンドシェイク方式を採用すればよい。   Here, in order to reliably determine whether or not all the divided frames have been received, a handshake method as described in Patent Document 3 may be employed.

ところで、車両で発生した不具合を分析等するために、車両制御用のECU(電子制御ユニット)は、自己が通電状態(起動状態)にあるとき、走行情報を連続的に収集し(ログし)、不具合の発生を検出したとき、その不具合の発生をトリガとして、このトリガ発生直前の所定時間内の走行記録情報を診断情報として、車内ネットワークに接続されている通信中継ユニットを通じて外部の情報センタに送信するように構成されている。   By the way, in order to analyze troubles occurring in the vehicle, an ECU (electronic control unit) for vehicle control continuously collects (logs) travel information when it is in an energized state (starting state). When an occurrence of a malfunction is detected, the occurrence of the malfunction is used as a trigger, and travel record information within a predetermined time immediately before the occurrence of the trigger is used as diagnostic information to an external information center through a communication relay unit connected to the in-vehicle network. Configured to send.

この場合、車両制御用のECUにより構成される車内ネットワークの信頼性担保の観点及び車内ネットワークのバス負荷が高い等の観点から、前記車内ネットワークの前記車両制御用のECUに対して、前記通信中継ユニット側から情報を送信することを禁止しているので、前記ハンドシェイク方式を採用することができない。   In this case, from the viewpoint of ensuring the reliability of the in-vehicle network configured by the vehicle control ECU and the high bus load of the in-vehicle network, the communication relay is performed with respect to the vehicle control ECU of the in-vehicle network. Since the transmission of information from the unit side is prohibited, the handshake method cannot be adopted.

車内のECUから前記通信中継ユニットに情報を送信する場合には、情報の送信側である車内のECUと、車内の前記ECUからフレーム分割された情報を受信し、前記情報センタに送信する車内の前記通信中継ユニットと、がそれぞれ通電された状態になっている必要がある。   When transmitting information from the in-vehicle ECU to the communication relay unit, the in-vehicle ECU that is the information transmission side and the frame-divided information from the in-vehicle ECU and the information center that transmits the information to the information center The communication relay unit needs to be in an energized state.

しかしながら、前記ECUから車内の前記通信中継ユニットへの情報の分割フレームによる送信中に、車両内のキースイッチのキーポジションの変化により、前記通信中継ユニットが通電状態から非通電状態(遮断状態)に遷移した場合、そのキーポジションの変化を原因として、前記ECUから前記通信中継ユニットへの通信が中断される事態、すなわち情報を分割したフレームの通信途中で、通信が中断される事態が発生する。   However, during transmission of information from the ECU to the communication relay unit in the vehicle using a divided frame, the communication relay unit changes from the energized state to the non-energized state (shut off state) due to a change in the key position of the key switch in the vehicle. In the case of transition, a situation in which communication from the ECU to the communication relay unit is interrupted due to a change in the key position, that is, a situation in which communication is interrupted in the middle of communication of a frame obtained by dividing information occurs.

この場合において、通電状態にある前記ECUは、情報の残りの分割フレームを、前記通信中継ユニットに送り続けることになるが、非通電状態(遮断状態)にある前記通信中継ユニットは、残りの分割フレームを受信することができないので、結果として、前記通信中継ユニットにおいて、前記診断情報等の情報の全てを受信することができないという課題がある。   In this case, the ECU in the energized state continues to send the remaining divided frames of information to the communication relay unit, but the communication relay unit in the non-energized state (blocked state) Since the frame cannot be received, as a result, there is a problem that the communication relay unit cannot receive all the information such as the diagnostic information.

つまり、従来、前記ECUから前記通信中継ユニットへの車内通信を経由して外部に診断情報等の情報を送信する際に、情報を構成する分割されたフレームの全てを、前記ECUから前記通信中継ユニットに対して、車内通信にて確実に受け渡しする手法が確立されていないために、キーポジションの変化を原因とする情報の取りこぼしを完全に防止することができなかったという不都合がある。   That is, conventionally, when transmitting information such as diagnostic information to the outside via in-vehicle communication from the ECU to the communication relay unit, all of the divided frames constituting the information are transferred from the ECU to the communication relay. There is an inconvenience that information cannot be completely prevented from being lost due to a change in the key position because a method for reliably delivering the information to the unit by in-vehicle communication has not been established.

この発明はこのような課題を考慮してなされたものであり、車内通信での情報の送信中に、キーポジションの変化が発生しても、情報の送信側から情報の受信側へ、フレームに分割された情報の全てを確実に送信することを可能とする車内通信システムを提供することを目的とする。   The present invention has been made in consideration of such a problem, and even if a key position change occurs during transmission of information in in-vehicle communication, a frame is transmitted from the information transmission side to the information reception side. It is an object of the present invention to provide an in-vehicle communication system that can reliably transmit all of the divided information.

この発明に係る車内通信システムは、車両のキーポジションを変化させるキースイッチと、第1車載ユニットと、情報をフレームに分割し、分割した送信フレーム番号をカウントしながら分割フレームを前記第1車載ユニットに対して送信する第2車載ユニットと、を備え、前記第2車載ユニットは、送信中に前記キーポジションの変化を検出すると、送信フレーム番号を所定数戻して前記分割フレームの再送信を行うことを特徴とする。 Vehicle communication system according to the present invention comprises a key switch for changing the key position of the vehicle, the first vehicle unit, to divide the information into the frame, the first vehicle divided frame while counting the divided transmission frame number A second in-vehicle unit that transmits to the unit, and when the second in-vehicle unit detects a change in the key position during transmission, the second in-vehicle unit retransmits the divided frames by returning a predetermined number of transmission frame numbers. It is characterized by that.

この発明によれば、第2車載ユニットから第1車載ユニットに対し、情報をフレームに分割して送信し、分割フレームの送信中にキーポジションの変化を検出すると、送信フレーム番号を所定数戻して分割フレームの再送信を行うようにしたので、車内通信での情報の送信中に、キーポジションの変化が発生しても、情報の送信側の第2車載ユニットから情報の受信側の第1車載ユニットへ、フレームに分割された情報の全てを確実に送信することができる。   According to this invention, information is divided into frames and transmitted from the second in-vehicle unit to the first in-vehicle unit, and when a change in key position is detected during transmission of the divided frames, the transmission frame number is returned by a predetermined number. Since the divided frames are retransmitted, even if the key position changes during the transmission of the information in the in-vehicle communication, the first in-vehicle unit on the information reception side from the second in-vehicle unit on the information transmission side. All of the information divided into frames can be reliably transmitted to the unit.

この場合、前記第1車載ユニットは、前記キーポジションがアクセサリ位置及びオン位置で起動し、前記第2車載ユニットは、前記キーポジションがオン位置及びスターティング位置で起動し、前記第2車載ユニットは、前記キーポジションが前記アクセサリ位置から前記オン位置に変化した場合、及び前記スターティング位置から前記オン位置に変化した場合に、前記送信フレーム番号を所定数戻して前記分割フレームの再送信を行うようにすればよい。   In this case, the first vehicle-mounted unit is activated when the key position is the accessory position and the on-position, the second vehicle-mounted unit is activated when the key position is the on-position and the starting position, and the second vehicle-mounted unit is When the key position is changed from the accessory position to the ON position, and when the key position is changed from the starting position to the ON position, the transmission frame number is returned by a predetermined number to retransmit the divided frames. You can do it.

なお、前記第2車載ユニットは、前記キーポジションがスターティング位置の場合、換言すれば、前記第1車載ユニットが起動していないとみなした場合には前記分割フレームの送信を中断するようにすれば、フレームを無駄に送信することがなくなる。   The second in-vehicle unit is configured to interrupt the transmission of the divided frames when the key position is the starting position, in other words, when the first in-vehicle unit is not activated. In this case, the frame is not transmitted wastefully.

この場合、前記情報は、大容量データである故障診断情報であってもよい。   In this case, the information may be failure diagnosis information that is large-capacity data.

さらに、前記第1車載ユニットには、前記第2車載ユニットへの情報の送信機能が設けられていなくてもよい。   Further, the first in-vehicle unit may not be provided with a function for transmitting information to the second in-vehicle unit.

この発明によれば、第2車載ユニットが、当該第2車載ユニットから第1車載ユニットに対し、情報をフレームに分割して送信中にキーポジションの変化を検出すると、送信フレーム番号を所定数戻して再送信を行うようにしたので、車内通信での情報の送信中に、キーポジションの変化が発生しても、情報の送信側から情報の受信側へ、フレームに分割された情報の全てを確実に送信することができるという効果が達成される。   According to the present invention, when the second in-vehicle unit divides information into frames from the second in-vehicle unit to the first in-vehicle unit and detects a change in key position during transmission, the transmission frame number is returned by a predetermined number. Therefore, even if a key position change occurs during the transmission of information in in-vehicle communication, all of the information divided into frames is transferred from the information transmission side to the information reception side. The effect that it can transmit reliably is achieved.

この実施形態に係る車内通信システムが適用された車両のリモート診断システムの概略システム構成図である。1 is a schematic system configuration diagram of a vehicle remote diagnosis system to which an in-vehicle communication system according to this embodiment is applied. 車両のエンジンルームに設けられたエンジンECUと、ダッシュボードに設けられたオーディオユニットと、ダッシュボードトレイに置かれた携帯端末等を示すインテリア模式図である。It is an interior schematic diagram showing an engine ECU provided in an engine room of a vehicle, an audio unit provided in a dashboard, a portable terminal placed on a dashboard tray, and the like. キーポジションの変化位置に対するエンジンECUとオーディオユニットの通電状態、遮断状態の対応関係を示す通電・遮断テーブルの説明図である。It is explanatory drawing of the electricity supply / interruption | blocking table which shows the response | compatibility of the energization state and interruption | blocking state of engine ECU and an audio unit with respect to the change position of a key position. 車内通信システムの動作説明に供されるフローチャートである。It is a flowchart with which operation | movement description of an in-vehicle communication system is provided. 車内通信システムの動作説明に供されるタイミングチャートである。It is a timing chart used for operation | movement description of a communication system in a vehicle.

以下、この発明に係る車内通信システムについて好適な実施形態を挙げ、添付の図面を参照して詳細に説明する。   Hereinafter, preferred embodiments of an in-vehicle communication system according to the present invention will be described in detail with reference to the accompanying drawings.

図1は、この実施形態に係る車内通信システム10が適用された車両14のリモート診断システム12の概略システム構成図である。   FIG. 1 is a schematic system configuration diagram of a remote diagnosis system 12 for a vehicle 14 to which an in-vehicle communication system 10 according to this embodiment is applied.

図2は、車両14のエンジンルームに設けられたエンジンECU16(FIECUともいう。)と、ダッシュボード18に設けられたディスプレイオーディオユニット(以下、DAユニット又は単にオーディオユニットともいう。)20と、ダッシュボードトレイ22に置かれたスマートフォン等の携帯端末(携帯通信端末)24等を示すインテリア模式図である。   2 shows an engine ECU 16 (also referred to as FIECU) provided in the engine room of the vehicle 14, a display audio unit (hereinafter also referred to as DA unit or simply audio unit) 20 provided in the dashboard 18, a dash. It is an interior schematic diagram which shows portable terminals (portable communication terminal) 24, such as a smart phone, placed on the board tray.

エンジンECU16と通信中継ユニットとしても機能するオーディオユニット20とは、車内ネットワークであるCAN(Controller Area Network)等の公知の有線の通信線30(バス線)を通じて接続されている。   The engine ECU 16 and the audio unit 20 that also functions as a communication relay unit are connected to each other through a known wired communication line 30 (bus line) such as a CAN (Controller Area Network) that is an in-vehicle network.

オーディオユニット20と携帯端末24とは、有線又は無線にて接続される。この実施形態では、近距離無線通信方式の無線により接続されている。   The audio unit 20 and the portable terminal 24 are connected by wire or wireless. In this embodiment, the wireless communication is performed by a short-range wireless communication method.

携帯端末24は、車外の移動通信網、公衆通信網等の通信網36を介して、情報(この実施形態では、診断情報)の収集・配信センタである情報センタ40に接続されている。   The portable terminal 24 is connected to an information center 40 that is a collection / distribution center of information (diagnostic information in this embodiment) via a communication network 36 such as a mobile communication network outside the vehicle or a public communication network.

情報センタ40に収集された情報は、必要に応じて情報センタ40にて適宜処理され、処理後の情報が通信網36を介して、工場等の品質管理部門42やディーラー等のサービス部門44に供給される。   Information collected in the information center 40 is appropriately processed in the information center 40 as necessary, and the processed information is sent to a quality control department 42 such as a factory and a service department 44 such as a dealer via the communication network 36. Supplied.

車内の通信線30には、エンジンの点火、スロットル弁の開度調整、気筒休止、及び可変バルブタイミング等を制御するエンジンECU16の他に、それぞれ図示はしないが、ABS(アンチロック・ブレーキング・システム)等を制御する運転支援ECU、ハンドル46の操舵力をアシストする電動パワーステアリングECU、及びドアの施解錠や電源を制御すると共にスタータモータを制御してクランキングさせる等の制御を行うボディECU等が接続される。なお、前記ボディECUにキースイッチ50が接続されている。   In addition to an engine ECU 16 that controls engine ignition, throttle valve opening adjustment, cylinder deactivation, variable valve timing, and the like, an in-vehicle communication line 30 includes ABS (anti-lock braking, System) and the like, an electric power steering ECU that assists the steering force of the handle 46, and a body ECU that controls the locking and unlocking of the doors and the power source and the cranking by controlling the starter motor. Etc. are connected. A key switch 50 is connected to the body ECU.

ECU(Electronic Control Unit:電子制御ユニット)は、マイクロコンピュータを含む計算機であり、CPU(中央処理装置)の他、メモリであるROM(EEPROMも含む。)等の記憶部、メモリであるRAM(ランダムアクセスメモリ)、その他、A/D変換器、D/A変換器等の入出力装置、通信インタフェース、計時部等を有しており、CPUがROMに記録されているプログラムを読み出し実行することで各種機能実現部(機能実現手段)、例えば制御部、演算部、及び処理部等として機能する。   An ECU (Electronic Control Unit) is a computer including a microcomputer. In addition to a CPU (Central Processing Unit), a storage unit such as a ROM (including EEPROM) as a memory, and a RAM (random) as a memory. Access memory), input / output devices such as A / D converters and D / A converters, communication interfaces, timers, etc., and the CPU reads and executes the programs recorded in the ROM. It functions as various function realization units (function realization means) such as a control unit, a calculation unit, and a processing unit.

これらのECUは、キースイッチ50のキーポジションがON(オン)位置及びSTART(スターティング)位置にあるとき、自己の動作状態を診断した診断情報(走行情報)、いわゆるオンボード診断情報を、各ECU内の記憶部(記憶装置)に、いわゆるログとして所定時間分(所定メモリ容量分)、先入れ先出し方式で逐時記録(記憶)する。   When the key position of the key switch 50 is in the ON (on) position and the START (starting) position, these ECUs provide diagnostic information (running information) for diagnosing its own operating state, so-called on-board diagnostic information, In a storage unit (storage device) in the ECU, a so-called log is recorded (stored) sequentially for a predetermined time (a predetermined memory capacity) by a first-in first-out method.

例えば、エンジンECU16は、キースイッチ50のキーポジションがON位置及びSTART位置にあるとき、例えば、水温、及びエンジン回転数等の診断情報(走行情報)を、連続的に、現在時間から所定時間前までの間、自己の記憶装置に記録する。   For example, when the key position of the key switch 50 is in the ON position and the START position, the engine ECU 16 continuously outputs diagnostic information (travel information) such as the water temperature and the engine speed, for a predetermined time before the current time. Until then, record it in its own storage device.

各ECUは、診断情報(走行情報)に、不具合の発生を検出したとき、この不具合の発生をトリガとして、前記不具合発生直前の前記所定時間内にログした情報(診断情報、不具合診断情報、故障診断情報)を、フレームに分割し、情報中継ユニットであるオーディオユニット20に通信線30を介して送信する。   When each ECU detects the occurrence of a failure in the diagnosis information (running information), the information (diagnosis information, failure diagnosis information, failure) logged in the predetermined time immediately before the occurrence of the failure is triggered by the occurrence of the failure. Diagnostic information) is divided into frames and transmitted to the audio unit 20 which is an information relay unit via the communication line 30.

この実施形態では、例として、エンジンECU16から通信線30を介してオーディオユニット20に診断情報(前記不具合発生直前の所定時間分の診断情報)を、フレームに分割して送信し、一纏まりの診断情報として記憶させる。   In this embodiment, as an example, diagnostic information (diagnostic information for a predetermined time immediately before the occurrence of the defect) is transmitted from the engine ECU 16 to the audio unit 20 via the communication line 30 and divided into frames to be transmitted as a group of diagnostics. It is memorized as information.

オーディオユニット20は、記憶した診断情報を、携帯端末24を介して、適時に情報センタ40に送信する。   The audio unit 20 transmits the stored diagnostic information to the information center 40 through the portable terminal 24 in a timely manner.

オーディオユニット20は、音楽ソースであるチューナ、コンパクトディスク等種々の楽音を楽しむためのオーディオ信号をスピーカ58に出力する。オーディオユニット20は、各ECU(エンジンECU16を含む。)から、分割されたフレームを受信するのみ(受信側として機能するのみ)の片方向の通信機能(片方向の通信中継機能)を有する。片方向の通信機能に限定しているのは、エンジンECU16等の車両制御用のECUにより構成される車内ネットワークの信頼性担保の観点及び車内ネットワークの通信線30のバス負荷が高い等の観点から、オーディオユニット20等、車両制御に関与しない構成要素から前記車内ネットワークの前記車両制御用のエンジンECU16等に対しての信号の送信をできないように構成しているためである。なお、オーディオユニット20は、外部との通信機能を有するナビゲーション装置等に代替することができる。   The audio unit 20 outputs to the speaker 58 an audio signal for enjoying various musical sounds such as a tuner, a compact disc, etc., which are music sources. The audio unit 20 has a one-way communication function (one-way communication relay function) that only receives divided frames (only functions as a receiving side) from each ECU (including the engine ECU 16). The one-way communication function is limited from the viewpoint of ensuring the reliability of the in-vehicle network configured by the vehicle control ECU such as the engine ECU 16 and the high bus load on the communication line 30 of the in-vehicle network. This is because the audio unit 20 and other components that are not involved in vehicle control cannot be transmitted to the vehicle control engine ECU 16 of the in-vehicle network. The audio unit 20 can be replaced with a navigation device or the like having a communication function with the outside.

図示しない各ECU相互間では、通信線30を通じて両方向の通信が可能になっており、一定周期の分割されたフレームを利用しての車内での多重通信が可能になっている。   Communication between the ECUs (not shown) in both directions is possible through the communication line 30 and multiplex communication in the vehicle is possible using the frames divided at a constant period.

次に、押しボタンスイッチ等のキースイッチ50は、ハンドル46近傍のダッシュボード18上に取り付けられている。   Next, a key switch 50 such as a push button switch is mounted on the dashboard 18 near the handle 46.

キースイッチ50は、図3の通電・遮断(起動・停止)テーブル56に示すように、OFF(オフ)位置、ACC(アクセサリ)位置、ON(オン)位置、及びSTART(スターティング)位置の4つのキーポジションに変化することが可能になっている。   As shown in the energization / shut-off (start / stop) table 56 of FIG. 3, the key switch 50 has an OFF (off) position, an ACC (accessory) position, an ON (on) position, and a START (starting) position. It is possible to change to one key position.

この場合、エンジンECU16と、オーディオユニット20は、キーポジションによって、通電状態(起動状態)又は遮断状態(停止状態)にされる。   In this case, the engine ECU 16 and the audio unit 20 are brought into an energized state (start-up state) or a cut-off state (stop state) depending on the key position.

なお、通電状態乃至遮断状態とは、キースイッチ50を通じてリレー52、54(の接点)が開閉されることで、車両内の電源Vcc(直流電源、直流定電圧)がエンジンECU16及びオーディオユニット20の電源供給端子に通電(リレー52、54が閉状態)乃至遮断(リレー52、54が開状態)されることを意味している。   The energized state or the interrupted state means that the relays 52 and 54 (contact points) are opened and closed through the key switch 50, so that the power source Vcc (DC power source, DC constant voltage) in the vehicle is changed between the engine ECU 16 and the audio unit 20. This means that the power supply terminal is energized (relays 52 and 54 are closed) or disconnected (relays 52 and 54 are open).

OFF位置、ACC位置、ON位置、START位置にて、エンジンECU16は、それぞれ、遮断、遮断、通電、及び通電状態にされ、オーディオユニット20は、それぞれ、遮断、通電、通電、及び遮断状態にされる。   At the OFF position, the ACC position, the ON position, and the START position, the engine ECU 16 is cut off, cut off, energized, and energized, respectively, and the audio unit 20 is turned off, energized, energized, and cut off, respectively. The

キーポジションとして、OFF位置は、車内の電装品(ここでは、エンジンECU16とオーディオユニット20)に対する電気の供給を遮断する位置、ACC位置は、オーディオ等の一部電装品(ここでは、オーディオユニット20)に電気を通電するアクセサリ位置、ON位置は、エアコン等を含む全ての電装品(ここでは、エンジンECU16とオーディオユニット20と燃料噴射装置等)に電気を通電する位置、及びSTART位置は、例えば、スターティングモータに電気を通電してクランキングさせる等の動力源(エンジン、燃料電池等)を始動する位置である。この実施形態では、キースイッチ50として押しボタンスイッチを採用しているが、これに限らず、キースイッチ50としては、コンベンショナルなロータリースイッチにも適用することができる。   As the key position, the OFF position is a position where the supply of electricity to the electrical components in the vehicle (here, the engine ECU 16 and the audio unit 20) is cut off, and the ACC position is a partial electrical component such as audio (here, the audio unit 20). ) The accessory position for energizing electricity and the ON position are the positions for energizing all the electrical components including the air conditioner (here, the engine ECU 16, the audio unit 20, the fuel injection device, etc.) and the START position are, for example, This is a position where a power source (engine, fuel cell, etc.) is started such that electricity is supplied to the starting motor for cranking. In this embodiment, a push button switch is adopted as the key switch 50. However, the present invention is not limited to this, and the key switch 50 can also be applied to a conventional rotary switch.

次に、基本的には以上のように構成乃至動作するこの実施形態に係る車内通信システム10の動作について、図4に示すフローチャート及び図5に示すタイミングチャートに基づいて詳しく説明する。なお、フローチャートに係るプログラムを実行するのは、エンジンECU16であるが、これをその都度参照するのは煩雑になるので、適宜参照する。   Next, the operation of the in-vehicle communication system 10 according to this embodiment basically configured and operated as described above will be described in detail based on the flowchart shown in FIG. 4 and the timing chart shown in FIG. It is the engine ECU 16 that executes the program according to the flowchart. However, since it is complicated to refer to it every time, the program is referred to as appropriate.

図5に示すタイミングチャートは、例えば、車両14による街乗り(町の中で乗ること)中の時点t1にて、エンジンECU16が不具合の発生を検出したとき、これをトリガとして、上記した診断情報(故障診断情報)を記録しフレーム1〜15に分割して分割フレーム1〜15のオーディオユニット20への送信を開始するが、時点t2〜t3にて、キースイッチ50のキーポジションをON位置からACC位置を通じてOFF位置に切り替えて車両14が目的地で駐車する。   The timing chart shown in FIG. 5 shows, for example, the above-described diagnostic information when the engine ECU 16 detects the occurrence of a malfunction at a time point t1 when the vehicle 14 is on the street (riding in the town). (Failure diagnosis information) is recorded and divided into frames 1 to 15 and transmission of the divided frames 1 to 15 to the audio unit 20 is started. At time t2 to t3, the key position of the key switch 50 is changed from the ON position. The vehicle 14 is parked at the destination by switching to the OFF position through the ACC position.

その後、時点t4にて、車両14が目的地から別の目的地に向かうために、時点t4〜t7間でキースイッチ50のキーポジションをOFF位置からSTART位置まで変化させてエンジンをかけ、時点t7以降、キーポジションのON位置にて別の目的地に対して走行している状況に対応する。   Thereafter, at time t4, in order for the vehicle 14 to go from the destination to another destination, the key position of the key switch 50 is changed from the OFF position to the START position between times t4 and t7, and the engine is started. Thereafter, this corresponds to a situation where the vehicle is traveling to another destination at the ON position of the key position.

そこで、図5において、車両14の走行中(リレー52、54が閉状態で電源VccがエンジンECU16及びオーディオユニット20に供給され双方が通電状態)であるときに、時点t1にて、エンジンECU16が、例えばエンジン温度等の閾値温度以上の上昇を検知すると、これを不具合の発生として検出し、この不具合の発生をトリガとして、このトリガ発生直前の所定時間内の走行記録情報を診断情報として送信の準備をすると共に、図4に示すフローチャートによる処理が開始される。   Therefore, in FIG. 5, when the vehicle 14 is traveling (the relays 52 and 54 are closed and the power source Vcc is supplied to the engine ECU 16 and the audio unit 20 and both are energized), the engine ECU 16 When, for example, an increase in the engine temperature or the like exceeding a threshold temperature is detected, this is detected as the occurrence of a problem, and the occurrence of this problem is used as a trigger, and travel record information within a predetermined time immediately before the occurrence of the trigger is transmitted as diagnostic information. While preparing, the process by the flowchart shown in FIG. 4 is started.

フローチャートによる処理を開始するとき、エンジンECU16は、初期化処理により、自己のON履歴フラグFon及びスタート履歴フラグFstartをクリア(Fon←0、Fstart←0)する。   When starting the processing according to the flowchart, the engine ECU 16 clears its own ON history flag Fon and start history flag Fstart (Fon ← 0, Fstart ← 0) by the initialization process.

初期化処理後、ステップS1にて、エンジンECU16は、キーポジションがON位置か否かを判定しON位置(ステップS1:YES)であるので、ステップS2に進む。   After the initialization process, in step S1, the engine ECU 16 determines whether or not the key position is in the ON position. Since the key position is in the ON position (step S1: YES), the process proceeds to step S2.

ステップS2にて、エンジンECU16は、自己のON履歴フラグFonがセット(Fon=1)されているか否か判定する。   In step S2, the engine ECU 16 determines whether or not its own ON history flag Fon is set (Fon = 1).

この場合、最初の判定では、前記初期化処理によりON履歴フラグFonは、クリア(Fon=0)されているので、否定的(ステップS2:NO)となり、ステップS3にて、ON履歴フラグFonをセット(Fon←1)する。   In this case, in the first determination, since the ON history flag Fon is cleared (Fon = 0) by the initialization process, it becomes negative (step S2: NO), and the ON history flag Fon is set in step S3. Set (Fon ← 1).

次いで、ステップS4にて、送信カウンタのカウント値CTRを所定値、この実施形態では、値「2」(送信フレーム番号の戻し数、又は送信フレーム番号の遡り数という。)だけ減算する。送信フレーム番号の戻し数は、シミュレーション等により予め車種毎に決定される。   Next, in step S4, the count value CTR of the transmission counter is subtracted by a predetermined value, in this embodiment, the value “2” (referred to as the return number of the transmission frame number or the retroactive number of the transmission frame number). The return number of the transmission frame number is determined in advance for each vehicle type by simulation or the like.

なお、この実施形態において、エンジンECU16の記憶装置には、前記診断情報として、簡単のために、15フレーム分のデータが格納されているものとして説明しているが、診断情報は、実際には、例えば、数千フレーム分のデータである場合もある。   In this embodiment, the storage device of the engine ECU 16 is described as storing the data for 15 frames as the diagnostic information for the sake of simplicity. However, the diagnostic information is actually For example, the data may be several thousand frames.

最初のステップS4の処理時点t1においては、未だ、フレームを送信していないので、自己(エンジンECU16)の送信カウンタは、カウント値CTRがCTR=0になっており、カウント値CTRは、0以下の負の値にはならないので、最初のステップS4の減算処理では、カウント値CTRは、CTR=0のまま変化しない。   Since the frame has not yet been transmitted at the processing time t1 of the first step S4, the count value CTR of the transmission counter of itself (engine ECU 16) is CTR = 0, and the count value CTR is 0 or less. Therefore, in the first subtraction process of step S4, the count value CTR remains unchanged at CTR = 0.

次いで、ステップS5にて、エンジンECU16は、診断情報(オンボード診断情報)を、送信フレーム番号1〜15のフレーム1〜15まで15個に分割し、分割した最初のフレーム1(図5中、数字「1」を四角で囲っている。)を、通信線30を介してオーディオユニット20に送信し、送信終了したら送信カウンタのカウント値CTRを、CTR=1にインクリメント(増加)する。オーディオユニット20は、受信したフレーム1を自己の記憶装置に記憶する。   Subsequently, in step S5, the engine ECU 16 divides the diagnostic information (on-board diagnostic information) into 15 frames from the transmission frame numbers 1 to 15 to the first frame 1 (in FIG. 5, The number “1” is enclosed in a square.) Is transmitted to the audio unit 20 via the communication line 30, and when the transmission is completed, the count value CTR of the transmission counter is incremented (increased) to CTR = 1. The audio unit 20 stores the received frame 1 in its own storage device.

次いで、ステップS1:YES(キーポジションON位置の継続)、及びステップS2:YES(Fon=1)を経て、ステップS6にてキーポジションがSTART位置であるか否かを判定し、START位置ではない(S6:NO)ので、ステップS7に進む。ステップS7にて、スタート履歴フラグFstartがセット(Fstart=1)されているか否かを判定し、最初は、セットされていない(ステップS7:NO)ので、ステップS5にて、フレーム2を送信し、送信が終了したら送信カウンタのカウント値CTRを、CTR=2にインクリメントする。   Next, after step S1: YES (continuation of the key position ON position) and step S2: YES (Fon = 1), it is determined in step S6 whether or not the key position is the START position, and is not the START position. Since (S6: NO), it progresses to step S7. In step S7, it is determined whether or not the start history flag Fstart is set (Fstart = 1). At first, since it is not set (step S7: NO), frame 2 is transmitted in step S5. When the transmission is completed, the count value CTR of the transmission counter is incremented to CTR = 2.

さらに、ステップS1:YES→ステップS2:YES→ステップS6:NO→ステップS7:NO→ステップS5の処理を繰り返してフレーム3を送信し、送信カウンタのカウント値CTRを、CTR=3にインクリメントする。   Further, the process of step S1: YES → step S2: YES → step S6: NO → step S7: NO → step S5 is repeated to transmit frame 3, and the count value CTR of the transmission counter is incremented to CTR = 3.

図5に示すように、次のフレーム4の送信中の時点t2にて、ユーザによりキースイッチ50が操作され、キーポジションがON位置から、ACC位置に変化すると、リレー52が開かれるので、エンジンECU16は、通電状態から遮断状態に遷移し、図4のフローチャートによるプログラムの実行がステップS5の処理にて中断される。   As shown in FIG. 5, when the key switch 50 is operated by the user at the time t2 during transmission of the next frame 4 and the key position is changed from the ON position to the ACC position, the relay 52 is opened. The ECU 16 transitions from the energized state to the cut-off state, and execution of the program according to the flowchart of FIG. 4 is interrupted in the process of step S5.

従って、ハッチングで示しているフレーム4は送信できないので、送信カウンタのカウント値CTRは、CTR=3に保持されたままになる。   Accordingly, since the frame 4 indicated by hatching cannot be transmitted, the count value CTR of the transmission counter remains held at CTR = 3.

時点t3にて、キースイッチ50のキーポジションがACC位置からOFF位置にされると、通電・遮断テーブル56に基づき、リレー54が開かれ、オーディオユニット20も動作停止状態になる。   When the key position of the key switch 50 is changed from the ACC position to the OFF position at time t3, the relay 54 is opened based on the energization / cutoff table 56, and the audio unit 20 is also in an operation stop state.

時点t4にて、キースイッチ50のキーポジションがOFF位置から再びACC位置にされると、リレー54が閉じられ、オーディオユニット20が動作可能状態になる。   At time t4, when the key position of the key switch 50 is changed from the OFF position to the ACC position again, the relay 54 is closed and the audio unit 20 becomes operable.

次いで、図5中、時点t5にて、キーポジションが、ACC位置からON位置に遷移すると、リレー52も閉じられて、エンジンECU16が遮断状態から通電状態(起動状態)に遷移する。このとき、エンジンECU16は、中断から復帰して、初期化処理(Fon←0、Fstart←0)後に、再度、フローチャートのステップS1にて、キーポジションがON位置に遷移した(ステップS1:YES)と判定してステップS2に進む。   Next, when the key position changes from the ACC position to the ON position at time t5 in FIG. 5, the relay 52 is also closed, and the engine ECU 16 changes from the shut-off state to the energized state (start-up state). At this time, the engine ECU 16 returns from the interruption, and after the initialization process (Fon ← 0, Fstart ← 0), the key position is changed to the ON position again in step S1 of the flowchart (step S1: YES). And the process proceeds to step S2.

ステップS2にて、エンジンECU16は、自己のON履歴フラグFonがセット(Fon=1)されているか否かを判定する。   In step S2, the engine ECU 16 determines whether or not its own ON history flag Fon is set (Fon = 1).

初期化処理にて、ON履歴フラグFonが、クリア(Fon=0)されているので、否定的(ステップS2:NO)となり、ステップS3にて、ON履歴フラグFonをセット(Fon←1)する。   Since the ON history flag Fon is cleared (Fon = 0) in the initialization process, the result is negative (step S2: NO), and the ON history flag Fon is set (Fon ← 1) in step S3. .

次いで、ステップS4にて、送信カウンタのカウント値CTRを所定値、値「2」だけ減算し、カウント値CTRを、保持していたカウント値CTR=3からカウント値CTR=1に戻す(巻き戻す)。   Next, in step S4, the count value CTR of the transmission counter is decremented by a predetermined value, the value “2”, and the count value CTR is returned from the held count value CTR = 3 to the count value CTR = 1 (rewinding). ).

次いで、ステップS5にて、エンジンECU16は、カウント値CTR=1を参照し、次に送信すべき送信フレーム番号2のフレーム2をオーディオユニット20に送信する。オーディオユニット20は、受信したフレーム2を自己の記憶装置に記憶させる。   Next, in step S5, the engine ECU 16 refers to the count value CTR = 1, and transmits the frame 2 of the transmission frame number 2 to be transmitted next to the audio unit 20. The audio unit 20 stores the received frame 2 in its own storage device.

次いで、ステップS1:YES(キーポジションON位置)、及びステップS2:YES(Fon=1)を経て、ステップS6にてキーポジションがSTART位置であるか否かを判定し、START位置ではない(S6:NO)ので、ステップS7に進む。ステップS7にて、スタート履歴フラグFstartがセット(Fstart=1)されているか否かを判定し、セットされていない(ステップS7:NO)ので、ステップS5にて、次のフレーム3を送信し、送信カウンタのカウント値CTRを、CTR=3にインクリメントする。   Next, after step S1: YES (key position ON position) and step S2: YES (Fon = 1), it is determined in step S6 whether or not the key position is the START position, and not the START position (S6). : NO), the process proceeds to step S7. In step S7, it is determined whether or not the start history flag Fstart is set (Fstart = 1). If not (step S7: NO), the next frame 3 is transmitted in step S5. The count value CTR of the transmission counter is incremented to CTR = 3.

さらに、ステップS1:YES→ステップS2:YES→ステップS6:NO→ステップS7:NO→ステップS5の処理を2回繰り返してフレーム4、5を送信する。   Further, Steps S1: YES → Step S2: YES → Step S6: NO → Step S7: NO → Step S5 is repeated twice to transmit frames 4 and 5.

図5に示すように、フレーム6の送信中の時点t6にて、ユーザによりキースイッチ50が操作され、キーポジションがON位置から、START位置に変化すると、図示しないボディECUによりスタータモータが駆動されてクランキングされると共に、ステップS1の判定が否定的(S1:NO)になり、通電・遮断テーブル56に基づき、リレー54が開かれるので、オーディオユニット20は、通電状態から遮断状態に遷移する。   As shown in FIG. 5, when the key switch 50 is operated by the user at time t6 during transmission of the frame 6 and the key position changes from the ON position to the START position, the starter motor is driven by a body ECU (not shown). In addition, the determination of step S1 becomes negative (S1: NO), and the relay 54 is opened based on the energization / interruption table 56, so that the audio unit 20 transitions from the energized state to the interrupted state. .

ステップS1の判定が否定的(ステップS1:NO)になると同時に、送信処理が不可状態(非許可状態)にされ、エンジンECU16は、現在送信中のフレーム6の送信後に、送信処理を中断する。このとき、送信カウンタのカウント値CTRは、CTR=6に保持される。この場合において、オーディオユニット20は、遮断状態になっているので、フレーム6を受信できないことに留意する。   At the same time that the determination in step S1 is negative (step S1: NO), the transmission process is disabled (non-permitted state), and the engine ECU 16 interrupts the transmission process after transmitting the frame 6 currently being transmitted. At this time, the count value CTR of the transmission counter is held at CTR = 6. Note that in this case, the audio unit 20 is in a blocked state and cannot receive the frame 6.

次いで、ステップS8にて、キーポジションがSTART位置にあるか否かが判定され、START位置にあるので、判定が肯定的(ステップS8:YES)となり、ステップS9にて、自己のSTART履歴フラグFstartをセット(Fstart←1)すると共に、ステップS10にて、ON履歴フラグFonをクリア(Fon←0)する。   Next, in step S8, it is determined whether or not the key position is in the START position. Since the key position is in the START position, the determination becomes affirmative (step S8: YES), and in step S9, the own START history flag Fstart is determined. Is set (Fstart ← 1), and the ON history flag Fon is cleared (Fon ← 0) in step S10.

次いで、ステップS1:NO→ステップS8:YES→ステップS9→ステップS10の処理の繰り返し中には、送信処理を行わない。   Next, the transmission process is not performed while the process of step S1: NO → step S8: YES → step S9 → step S10 is repeated.

次いで、エンジンが初爆された後、時点t7にて、キーポジションがSTART位置からON位置に変化すると、ステップS1の判定が肯定的(ステップS1:YES)となり、オーディオユニット20が遮断状態から通電状態に遷移する(図3の通電・遮断テーブル56参照)。   Next, when the key position changes from the START position to the ON position at time t7 after the engine is detonated for the first time, the determination in step S1 becomes affirmative (step S1: YES), and the audio unit 20 is energized from the shut-off state. Transition to the state (see the energization / shut-off table 56 in FIG. 3).

次いで、ステップS2の判定が否定的(Fon=0)となるので、ステップS3にて、ON履歴フラグFonをセット(Fon→1)する。   Next, since the determination in step S2 is negative (Fon = 0), the ON history flag Fon is set (Fon → 1) in step S3.

次に、ステップS4にて、送信カウンタのカウント値CTRを所定値、値「2」だけ減算し、カウント値CTRをCTR=6からCTR=4に戻す(巻き戻す)。   Next, in step S4, the count value CTR of the transmission counter is subtracted by a predetermined value, the value “2”, and the count value CTR is returned (rewinded) from CTR = 6 to CTR = 4.

次いで、ステップS5にて、エンジンECU16は、カウント値CTR=4を参照し、次に送信すべき送信フレーム番号5のフレーム5をオーディオユニット20に送信する。オーディオユニット20は、受信したフレーム5を自己の記憶装置に記憶させる。   Next, in step S5, the engine ECU 16 refers to the count value CTR = 4 and transmits the frame 5 of the transmission frame number 5 to be transmitted next to the audio unit 20. The audio unit 20 stores the received frame 5 in its own storage device.

次いで、ステップS1:YES(キーポジションON位置)、及びステップS2:YES(Fon=1)を経て、ステップS6にてキーポジションがSTART位置であるか否かを判定し、START位置ではない(S6:NO)ので、ステップS7に進む。ステップS7にて、スタート履歴フラグFstartがセット(Fstart=1)されているか否かを判定し、セットされている(ステップS7:YES)ので、ステップS11にて、スタート履歴フラグFstartをクリア(Fstart←0)する。   Next, after step S1: YES (key position ON position) and step S2: YES (Fon = 1), it is determined in step S6 whether or not the key position is the START position, and not the START position (S6). : NO), the process proceeds to step S7. In step S7, it is determined whether or not the start history flag Fstart is set (Fstart = 1). Since it is set (step S7: YES), the start history flag Fstart is cleared (Fstart) in step S11. ← 0).

そして、ステップS5に進み、次のフレーム6の送信処理を行うと共に、送信カウンタのカウント値CTRをCTR=6にインクリメントする。さらに、ステップS1:YES→ステップS2:YES→ステップS6:NO→ステップS7:NO→ステップS5の処理を繰り返してフレーム7、フレーム8、…フレーム15を送信して、今回のフレーム1〜フレーム15までの診断情報のオーディオユニット20への送信を終了する。   In step S5, transmission processing for the next frame 6 is performed, and the count value CTR of the transmission counter is incremented to CTR = 6. Further, step S1: YES → step S2: YES → step S6: NO → step S7: NO → step S5 is repeated to transmit frame 7, frame 8,... The transmission of the diagnostic information up to the audio unit 20 is terminated.

この場合、オーディオユニット20では、診断情報として、フレーム1を1回、フレーム2を2回、フレーム3を2回、フレーム4を2回、フレーム5を2回、フレーム6を1回(時点t6でのフレーム6は、遮断状態であるので受信できない点に留意する。)、フレーム7〜15を各1回受信することになるが、フレーム1〜15の各フレームを少なくとも1回受信しているので、エンジンECU16から送信された情報を、情報の取りこぼし無く確実に(完全に)取り込み、再生(復調)することができる。   In this case, in the audio unit 20, as diagnostic information, the frame 1 is once, the frame 2 is twice, the frame 3 is twice, the frame 4 is twice, the frame 5 is twice, and the frame 6 is once (time t6). Note that frame 6 in the frame is in a blocked state and cannot be received.), Frames 7 to 15 are received once each, but frames 1 to 15 are received at least once. Therefore, the information transmitted from the engine ECU 16 can be reliably (completely) captured and reproduced (demodulated) without missing information.

この後、オーディオユニット20は、携帯端末24に接続されている場合には直ちに、接続されていない場合には接続されたときに、携帯端末24、通信網36を介して情報センタ40に診断情報を送信する。   Thereafter, when the audio unit 20 is connected to the portable terminal 24, the audio unit 20 transmits the diagnostic information to the information center 40 via the portable terminal 24 and the communication network 36 when it is not connected. Send.

情報センタ40で受信され収集された情報は、情報センタ40にて適宜処理され、処理後の情報が通信網36を介して、工場等の品質管理部門42やディーラー等のサービス部門44に供給される。   Information received and collected by the information center 40 is appropriately processed by the information center 40, and the processed information is supplied to a quality control department 42 such as a factory and a service department 44 such as a dealer via the communication network 36. The

この場合、サービス部門44は、診断情報に応じた処理を車両14に適用するために、車両14のユーザに連絡等をすることができる。   In this case, the service department 44 can contact the user of the vehicle 14 in order to apply the process according to the diagnostic information to the vehicle 14.

なお、エンジンECU16が、いわゆるオフディレイ機能を持っている場合、フレーム4を送信でき、且つオーディオユニット20にて、そのフレーム4を受信できる場合があるが、オーディオユニット20が遮断状態になってしまうフレーム6は、オーディオユニット20で受信することができない。   When the engine ECU 16 has a so-called off-delay function, the frame 4 can be transmitted and the audio unit 20 can receive the frame 4, but the audio unit 20 is cut off. The frame 6 cannot be received by the audio unit 20.

なお、従来技術(prior art)に係る通信処理では、図5の最下段に示すように、フレーム8〜11の欠損状態の情報(フレーム1〜7、12〜15)がオーディオユニット20で受信されるので、情報の確実な再生(復調)を行うことができない。   In the communication processing according to the prior art (prior art), as shown at the bottom of FIG. Therefore, reliable reproduction (demodulation) of information cannot be performed.

[実施形態のまとめ]
以上説明したように、この実施形態に係る車内通信システム10は、車両14のキーポジションを変化させるキースイッチ50と、第1車載ユニットとしてのオーディオユニット20と、診断情報等の情報をフレームに分割し、分割した送信フレーム番号をカウント(計数)しながら分割フレームを前記オーディオユニット20に対して送信する第2車載ユニットとしてのエンジンECU16、を備える。
[Summary of embodiment]
As described above, vehicle communication system 10 according to this embodiment includes a key switch 50 for changing the key position of the vehicle 14, the audio unit 20 as a first vehicle unit, information such as diagnostic information to the frame An engine ECU 16 serving as a second vehicle-mounted unit that divides and transmits the divided frames to the audio unit 20 while counting (counting) the divided transmission frame numbers.

この場合、エンジンECU16は、予めログ(収集)していた情報をフレーム1〜15の各フレームに分割して順々にオーディオユニット20に送信する際、例えば、フレーム6の送信中に前記キーポジションの変化(例えば、ON位置→START位置→ON位置等)を検出すると、送信フレーム番号(送信カウンタのカウント値CTR=6)を所定数「2」だけ戻し(所定数「2」だけ遡って送信カウンタのカウント値CTRをCTR=4にして)、次に送信すべき送信フレーム番号5のフレーム5から再送信を行うようにしたので、車内通信での情報の送信中に、キーポジションの変化が発生しても、情報の送信側から情報の受信側へ、フレームに分割された情報の全てを確実に送信することができる。   In this case, when the engine ECU 16 divides the previously logged (collected) information into frames 1 to 15 and transmits them sequentially to the audio unit 20, for example, the key position during the transmission of the frame 6 is used. Is detected (for example, ON position → START position → ON position, etc.), the transmission frame number (transmission counter count value CTR = 6) is returned by a predetermined number “2” (sequentially transmitted by a predetermined number “2”). Since the count value CTR of the counter is set to CTR = 4), and retransmission is performed from the frame 5 of the transmission frame number 5 to be transmitted next, the key position changes during the transmission of the information in the in-vehicle communication. Even if it occurs, it is possible to reliably transmit all of the information divided into frames from the information transmitting side to the information receiving side.

より具体的に、オーディオユニット20は、前記キーポジションがACC位置及びON位置で起動し、エンジンECU16は、前記キーポジションがON位置及びSTART位置で起動するので、エンジンECU16は、前記キーポジションがACC位置からON位置に変化した場合(時点t5)、及びSTART位置からON位置に変化した場合(時点t7)に、送信フレーム番号(送信カウンタのカウント値CTR)を所定数、この実施形態では、「2」だけ戻して分割フレームの再送信を行うようにしている。   More specifically, the audio unit 20 is activated when the key position is the ACC position and the ON position, and the engine ECU 16 is activated when the key position is the ON position and the START position. When the position is changed to the ON position (time point t5) and when the position is changed from the START position to the ON position (time point t7), a predetermined number of transmission frame numbers (transmission counter count value CTR) are set. The frame is retransmitted by returning “2”.

エンジンECU16は、キーポジションがSTART位置の場合、換言すれば、オーディオユニット20が起動していないとみなした場合(時点t6〜t7)には前記分割フレームの送信を中断するようにしているので、フレームを無駄に送信することもない。   When the key position is the START position, in other words, when the audio unit 20 is not activated (time t6 to t7), the engine ECU 16 interrupts transmission of the divided frames. There is no wasteful transmission of frames.

前記情報は、故障診断情報(不具合発生時ログ情報)のような大容量データであっても、ハンドシェイクをしない簡単な構成で、全フレームを確実にエンジンECU16からオーディオユニット20に送信することができ、結果として、オーディオユニット20から携帯端末24を中継(経由)して情報センタ40に故障診断情報の全フレームを送信することができる。   Even if the information is large-capacity data such as failure diagnosis information (log information when trouble occurs), all frames can be reliably transmitted from the engine ECU 16 to the audio unit 20 with a simple configuration without handshaking. As a result, all frames of the failure diagnosis information can be transmitted from the audio unit 20 to the information center 40 via the portable terminal 24 (via).

すなわち、オーディオユニット20には、エンジンECU16への情報の送信機能が、設けられていなくてもよい。   That is, the audio unit 20 may not be provided with a function for transmitting information to the engine ECU 16.

なお、この発明は、上述の実施形態に限らず、この明細書の記載内容に基づき、種々の構成を採り得ることはもちろんである。   Note that the present invention is not limited to the above-described embodiment, and it is needless to say that various configurations can be adopted based on the contents described in this specification.

10…車内通信システム 12…リモート診断システム
14…車両 16…エンジンECU
20…オーディオユニット 24…携帯端末
40…情報センタ 50…キースイッチ
DESCRIPTION OF SYMBOLS 10 ... In-vehicle communication system 12 ... Remote diagnostic system 14 ... Vehicle 16 ... Engine ECU
20 ... Audio unit 24 ... Mobile terminal 40 ... Information center 50 ... Key switch

Claims (3)

車両のキーポジションを変化させるキースイッチと、
第1車載ユニットと、
報をフレームに分割し、分割した送信フレーム番号をカウントしながら分割フレームを前記第1車載ユニットに対して送信する第2車載ユニットと、を備え、
前記第1車載ユニットは、前記キーポジションがアクセサリ位置及びオン位置で起動し、
前記第2車載ユニットは、前記キーポジションが前記オン位置及びスターティング位置で起動し、
前記第2車載ユニットは、
前記分割フレームの送信中に前記キーポジションが前記オン位置から前記アクセサリ位置又は前記スターティング位置への変化を検出すると前記送信を中断し、
前記キーポジションが前記アクセサリ位置又は前記スターティング位置から前記オン位置に変化した場合に、前記送信を中断した時点から送信フレーム番号を所定数戻して前記分割フレームの再送信を行う
ことを特徴とする車内通信システム。
A key switch that changes the key position of the vehicle,
A first in-vehicle unit;
Dividing the information into the frame, the division frame while counting the divided transmission frame number and a second vehicle-mounted unit to be transmitted to the first vehicle unit,
The first in-vehicle unit is activated when the key position is an accessory position and an on position;
The second vehicle unit, wherein the key position is activated in the on position and the starting position,
The second in-vehicle unit is
When the key position detects a change from the on position to the accessory position or the starting position during transmission of the divided frame, the transmission is interrupted,
If the key position the accessory position 置又is that changes to the ON position from the previous SL starting position, characterized in that the retransmission of the divided frame a transmission frame number returns a predetermined number from the time of interruption of the transmission In-vehicle communication system.
請求項1に記載の車内通信システムにおいて、
前記情報は故障診断情報である
ことを特徴とする車内通信システム。
The in-vehicle communication system according to claim 1 ,
The in-vehicle communication system, wherein the information is failure diagnosis information.
請求項1又は2に記載の車内通信システムにおいて、
前記第1車載ユニットには、前記第2車載ユニットへの情報の送信機能が設けられていない
ことを特徴とする車内通信システム。
The in-vehicle communication system according to claim 1 or 2 ,
The in-vehicle communication system, wherein the first in-vehicle unit is not provided with a function of transmitting information to the second in-vehicle unit.
JP2017044511A 2017-03-09 2017-03-09 In-car communication system Active JP6339258B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017044511A JP6339258B2 (en) 2017-03-09 2017-03-09 In-car communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017044511A JP6339258B2 (en) 2017-03-09 2017-03-09 In-car communication system

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2013097025A Division JP6110205B2 (en) 2013-05-02 2013-05-02 In-car communication system

Publications (2)

Publication Number Publication Date
JP2017105462A JP2017105462A (en) 2017-06-15
JP6339258B2 true JP6339258B2 (en) 2018-06-06

Family

ID=59058635

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017044511A Active JP6339258B2 (en) 2017-03-09 2017-03-09 In-car communication system

Country Status (1)

Country Link
JP (1) JP6339258B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113085759B (en) * 2021-03-22 2023-04-25 江铃汽车股份有限公司 Vehicle-mounted network diagnosis control method for reducing diagnosis network load rate

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4003062B2 (en) * 2002-08-30 2007-11-07 三菱自動車工業株式会社 Communication error detection method in bus communication network
JP2007153001A (en) * 2005-12-01 2007-06-21 Nsk Ltd Device and method of changing communication route in on-vehicle electric equipment
JP2007295482A (en) * 2006-04-27 2007-11-08 Toshiba Corp Data transmission system
JP4458179B2 (en) * 2008-03-27 2010-04-28 トヨタ自動車株式会社 Fault detection device, fault detection system, fault detection method
JP5723189B2 (en) * 2011-03-24 2015-05-27 富士通テン株式会社 Communication apparatus and communication system
JP5817252B2 (en) * 2011-06-28 2015-11-18 トヨタ自動車株式会社 Control device, control system, control method, program, and medium

Also Published As

Publication number Publication date
JP2017105462A (en) 2017-06-15

Similar Documents

Publication Publication Date Title
WO2018079006A1 (en) Control device, program update method, and computer program
TWI441481B (en) Train information management apparatus and method for selecting control software thereof
JP5561186B2 (en) In-vehicle network system
JP7192415B2 (en) Program update system and update processing program
JP2006256457A (en) On-vehicle data management device, and vehicular information supplying system
JP2016124455A (en) On-vehicle relay device and relay method
CN112114542A (en) Vehicle remote control method, vehicle and readable storage medium
JP6110205B2 (en) In-car communication system
JP5594432B2 (en) Guidance device and guidance method
JP6339258B2 (en) In-car communication system
US20220234574A1 (en) Method for Removing User-Specific and/or Drive -Specific User Data in a Motor Vehicle, and Corresponding Motor Vehicle
KR100696889B1 (en) inner vehicle communication system and gateway
US20230179659A1 (en) On-board relay device, information processing method, and program
JP4432646B2 (en) Remote diagnosis system and integrated control device used therefor
JP2008253048A (en) Vehicle start controller
JP2006023850A (en) Diagnostic system for vehicle and integral controller using the same
JP2020031361A (en) Vehicle relay device
WO2021193252A1 (en) Vehicle-mounted information processing device, information processing method, and client program
JP4026495B2 (en) Server switching control device
CN106894899A (en) Vehicle launch control method and control system with PEPS
JP3965741B2 (en) Vehicle power supply system
CN114128222A (en) Relay device system
WO2021149523A1 (en) Center device and vehicle information communication system
JP2004199491A (en) Rewriting control device of onboard program
WO2022163392A1 (en) In-vehicle device, and method for detecting change in state

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170328

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170328

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20171219

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20171221

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180208

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180509

R150 Certificate of patent or registration of utility model

Ref document number: 6339258

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150