JP6663777B2 - Vehicle control system and control method - Google Patents

Vehicle control system and control method Download PDF

Info

Publication number
JP6663777B2
JP6663777B2 JP2016078782A JP2016078782A JP6663777B2 JP 6663777 B2 JP6663777 B2 JP 6663777B2 JP 2016078782 A JP2016078782 A JP 2016078782A JP 2016078782 A JP2016078782 A JP 2016078782A JP 6663777 B2 JP6663777 B2 JP 6663777B2
Authority
JP
Japan
Prior art keywords
control program
tcu
control
boot loader
vehicle
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
JP2016078782A
Other languages
Japanese (ja)
Other versions
JP2017191360A (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.)
Bosch Corp
Original Assignee
Bosch Corp
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 Bosch Corp filed Critical Bosch Corp
Priority to JP2016078782A priority Critical patent/JP6663777B2/en
Priority to KR1020170041351A priority patent/KR102366348B1/en
Priority to CN201710232923.3A priority patent/CN107291488B/en
Publication of JP2017191360A publication Critical patent/JP2017191360A/en
Application granted granted Critical
Publication of JP6663777B2 publication Critical patent/JP6663777B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • G06F8/66Updates of program code stored in read-only memory [ROM]
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60WCONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
    • B60W10/00Conjoint control of vehicle sub-units of different type or different function
    • B60W10/10Conjoint control of vehicle sub-units of different type or different function including control of change-speed gearings
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping

Description

本発明は車両の制御システム及び制御方法に関し、特に自動車の変速装置を制御する制御システム及び制御方法に関する。   The present invention relates to a control system and a control method for a vehicle, and more particularly to a control system and a control method for controlling a transmission of an automobile.

従来、AMT(オートメーテッド・マニュアル・トランスミッション)と称される変速装置が知られている(例えば、特許文献1)。AMTは、トランスミッションがマニュアル機構として構成されていながら、クラッチ操作とギヤ位置の切り替えを自動化することによって、ドライバによるクラッチ操作やシフトチェンジの操作を要せずに車両を走行させることができる装置である。   2. Description of the Related Art Conventionally, a transmission called an AMT (Automated Manual Transmission) has been known (for example, Patent Document 1). The AMT is a device that allows a vehicle to travel without requiring a clutch operation or a shift change operation by a driver by automating clutch operation and gear position switching while a transmission is configured as a manual mechanism. .

自動車のAMTを制御するシステムは、トランスミッション・コントロールユニット(TCU)と呼ばれる制御ユニットを備える。TCUのソフトウェアモジュールは、少なくともAMTを制御する制御プログラム及びこの制御プログラムを起動するブートローダを備える。TCUは、キーオンされるとブートローダを起動し、起動されたブートローダがAMTの制御プログラムを起動する。   A system for controlling an AMT of a vehicle includes a control unit called a transmission control unit (TCU). The software module of the TCU includes at least a control program for controlling the AMT and a boot loader for activating the control program. When the key is turned on, the TCU activates the boot loader, and the activated boot loader activates the AMT control program.

特開2013―169883号公報JP 2013-169883 A

ところで、車両の制御システムに制御プログラムを再インストールする必要が生じる場合がある。例えば制御プログラムをバージョンアップする場合、或いは、制御システムが搭載される車両のタイプを変更する場合に制御プログラムを再インストールする必要が生じる。   By the way, it may be necessary to reinstall the control program in the control system of the vehicle. For example, when the control program is upgraded or when the type of the vehicle in which the control system is mounted is changed, it is necessary to reinstall the control program.

車両の制御プログラムを再インストールする場合には通常、メンテナンスツールを用いて起動中の制御プログラムにアクセスする。このとき制御プログラムは、再インストールのための処理をブートローダに指示する。ブートローダは、メンテナンスツールに既存の制御プログラムを削除し、新しい制御プログラムをアップロードしてインストールする。   When the vehicle control program is reinstalled, the running control program is usually accessed using a maintenance tool. At this time, the control program instructs the boot loader to perform a process for reinstallation. The boot loader deletes the existing control program in the maintenance tool and uploads and installs a new control program.

しかし制御プログラムが起動されている状態でメンテナンスツールを用いて制御プログラムにアクセスしても、制御プログラムは車両の制御のための処理を優先して継続する。この場合、制御プログラムは制御プログラムの再インストールをブートローダに指示することはない。よって車両の制御ユニットに制御プログラムを再インストールすることができないという課題がある。   However, even when the control program is accessed using the maintenance tool while the control program is running, the control program gives priority to the process for controlling the vehicle and continues the process. In this case, the control program does not instruct the boot loader to reinstall the control program. Therefore, there is a problem that the control program cannot be reinstalled in the control unit of the vehicle.

本発明は、車両の制御システムに制御プログラムのインストールを確実に実行させることを目的とする。   An object of the present invention is to make a control system of a vehicle surely execute installation of a control program.

そこで本発明は、上記の目的を達成するために、制御対象と、制御対象の制御ユニットとを備える車両の制御システムであって、制御ユニットは、制御プログラムを起動する前に制御プログラムをインストールするためのアクセスを受け入れるようにしたことを特徴とする。   In order to achieve the above object, the present invention provides a control system for a vehicle including a control target and a control unit to be controlled, wherein the control unit installs the control program before starting the control program. The feature is that access for access is accepted.

さらに本発明は、制御対象を制御ユニットが制御する車両の制御方法であって、制御ユニットは、制御プログラムを起動する前に制御プログラムをインストールするためのアクセスを受け入れるようにしたことを特徴とする。   Further, the present invention is a control method for a vehicle in which a control target controls a control target, wherein the control unit accepts an access for installing a control program before starting the control program. .

本発明によれば、車両の制御システムに制御プログラムのインストールを確実に実行させることができる。   ADVANTAGE OF THE INVENTION According to this invention, the control system of a vehicle can be made to install a control program reliably.

車両のハードウェアブロック図である。It is a hardware block diagram of a vehicle. 変速制御システムの機能ブロック図である。FIG. 2 is a functional block diagram of a shift control system. TCUのハードウェアブロック図である。It is a hardware block diagram of TCU. インストール処理の経過を示すブロック図である。FIG. 7 is a block diagram showing the progress of an installation process. TCUの起動処理の一例を示すフローチャートである。It is a flow chart which shows an example of starting processing of TCU. TCUの起動処理の他の例を示すフローチャートである。It is a flowchart which shows the other example of the starting process of TCU. TCUの起動処理のさらに他の例を示すフローチャートである。It is a flow chart which shows another example of starting processing of TCU.

次に、本発明の実施の形態を、図面を参照して説明する。なお以下の説明は、本発明を限定するものではなく、本発明の範囲内で適宜変更することができる。   Next, embodiments of the present invention will be described with reference to the drawings. The following description does not limit the present invention, and can be appropriately modified within the scope of the present invention.

図1は、制御システムの一例としての変速制御システムを備える車両のハードウェアブロック図である。変速制御システムは、トランスミッション(制御対象)22と、TCU(制御ユニット)24とを備える。車両10は、エンジン12と、インプットシャフト14と、インプットシャフト14とエンジン12とを断続するクラッチ16と、アウトプットシャフト20とを備える。トランスミッション22は、インプットシャフト14とアウトプットシャフト20とを複数のギヤを切り替えて接続する。TCU24は、トランスミッション22の変速を制御する。エンジン12側のシステムは、インプットシャフト14に接続するハイブリッドモータ18と、モータ制御ユニット26とを有する。   FIG. 1 is a hardware block diagram of a vehicle including a shift control system as an example of a control system. The shift control system includes a transmission (control target) 22 and a TCU (control unit) 24. The vehicle 10 includes an engine 12, an input shaft 14, a clutch 16 for intermittently connecting the input shaft 14 and the engine 12, and an output shaft 20. The transmission 22 connects the input shaft 14 and the output shaft 20 by switching a plurality of gears. The TCU 24 controls the shift of the transmission 22. The system on the engine 12 side has a hybrid motor 18 connected to the input shaft 14 and a motor control unit 26.

トランスミッション22はAMTとして構成され、動力機構(エンジン・モータ)の駆動力をインプットシャフト14から、複数のギヤの切り替えによって駆動輪28側のアウトプットシャフト20に伝達する。   The transmission 22 is configured as an AMT, and transmits the driving force of a power mechanism (engine / motor) from the input shaft 14 to the output shaft 20 on the driving wheel 28 side by switching a plurality of gears.

次に、変速制御システムの詳細を図2(変速制御システム100の機能ブロック図)に基づいて説明する。変速制御システム100は、制御ユニットとしてのTCU24並びにTCU24に接続されたチェンジレバーシフト位置検出センサ50と車両走行状態検出センサ52とを備える。変速制御システム100は、さらに自動変速装置22Aを備え、自動変速装置22Aは、変速を行うトランスミッション22と、このトランスミッション22の変速シフトを制御するためにトランスミッション22のギヤ入れ及びギヤ抜きを行う、例えば電動モータ等のシフトアクチュエータ56と備える。   Next, details of the shift control system will be described with reference to FIG. 2 (a functional block diagram of the shift control system 100). The shift control system 100 includes a TCU 24 as a control unit, and a change lever shift position detection sensor 50 and a vehicle running state detection sensor 52 connected to the TCU 24. The transmission control system 100 further includes an automatic transmission 22A. The automatic transmission 22A shifts the transmission 22 and shifts and shifts the transmission 22 in order to control the shift of the transmission 22. A shift actuator 56 such as an electric motor is provided.

チェンジレバーシフト位置検出センサ50は、チェンジレバーのシフト位置を検出してレバーシフト位置信号を出力する。車両走行状態検出センサ52は、車両速度及びエンジン負荷等、車両の走行時における車両走行状態情報を検出して車両走行状態信号を出力する。   The change lever shift position detection sensor 50 detects a shift position of the change lever and outputs a lever shift position signal. The vehicle traveling state detection sensor 52 detects vehicle traveling state information at the time of traveling of the vehicle, such as a vehicle speed and an engine load, and outputs a vehicle traveling state signal.

TCU24は、シフト信号生成モジュール57、ギヤシフト制御モジュール58及びトランスミッションインプット側回転数(回転速度)出力モジュール59を有する。シフト信号生成モジュール57は、チェンジレバーシフト位置検出センサ50からのレバーシフト位置信号に基づいてチェンジレバーのシフト位置を判定してシフト位置信号を出力すると共に、車両走行状態検出センサ52からの車両走行状態信号に基づいて、車両速度やエンジン負荷等の車両走行時における車両走行状態情報を判定して車両走行状態信号を出力する。   The TCU 24 includes a shift signal generation module 57, a gear shift control module 58, and a transmission input side rotation speed (rotation speed) output module 59. The shift signal generation module 57 determines the shift position of the change lever based on the lever shift position signal from the change lever shift position detection sensor 50, outputs a shift position signal, and outputs the vehicle travel state from the vehicle travel state detection sensor 52. Based on the state signal, vehicle traveling state information such as vehicle speed and engine load during traveling of the vehicle is determined, and a vehicle traveling state signal is output.

トランスミッションインプット側回転数出力モジュール59は、トランスミッションのインプット側回転数のトランスミッションインプット側回転数信号をギヤシフト制御モジュール58に出力する。トランスミッションインプット側回転数出力モジュール59としては、例えばトランスミッションのインプットシャフト回転数のインプットシャフト回転数信号を出力するインプットシャフト回転数出力モジュール又はクラッチの従動側(出力側)の回転数である、クラッチ回転数信号を出力するクラッチ回転数出力モジュールが用いられる。   The transmission input side rotation speed output module 59 outputs a transmission input side rotation speed signal of the transmission input side rotation speed to the gear shift control module 58. The transmission input side rotation speed output module 59 is, for example, an input shaft rotation speed output module that outputs an input shaft rotation speed signal of a transmission input shaft rotation speed or a clutch rotation speed that is a driven side (output side) rotation speed of a clutch. A clutch rotation number output module that outputs a number signal is used.

ギヤシフト制御モジュール58は、シフト信号生成モジュール57からのシフト位置信号、車両走行状態信号、シフトアクチュエータ56からのシフトストローク位置信号、及び、トランスミッションインプット側回転数出力モジュール59からのトランスミッションインプット側回転数信号に基づいてシフトアクチュエータ56の作動制御条件を設定し、設定した作動制御条件に基づいたシフトアクチュエータ作動制御信号をシフトアクチュエータ56に出力する。   The gear shift control module 58 includes a shift position signal from the shift signal generation module 57, a vehicle traveling state signal, a shift stroke position signal from the shift actuator 56, and a transmission input side rotation speed signal from the transmission input side rotation speed output module 59. The operation control condition of the shift actuator 56 is set based on the operation control condition, and a shift actuator operation control signal based on the set operation control condition is output to the shift actuator 56.

シフトアクチュエータ56はシフトアクチュエータ作動制御信号に基づいてシフトアームを介してトランスミッション22の対応するギヤシフトスリーブを作動させて、ギヤ入れ、又は、ギヤ抜きを行うことで、トランスミッション22をシフト信号生成モジュール57からのシフト位置判定信号に基づいたギヤ位置に設定する。その場合、ギヤ位置設定(シフトストローク位置設定)のフィードバック信号がシフトアクチュエータ56からギヤシフト制御モジュール58へ出力される。   The shift actuator 56 operates the corresponding gear shift sleeve of the transmission 22 via the shift arm based on the shift actuator operation control signal to shift the gear into or out of gear, thereby shifting the transmission 22 from the shift signal generation module 57. Is set to the gear position based on the shift position determination signal. In this case, a feedback signal of the gear position setting (shift stroke position setting) is output from the shift actuator 56 to the gear shift control module 58.

なお図2において「モジュール」とは、TCU24のソフトウェア資源及び/又はハードウェア資源によって実現される。   In FIG. 2, the “module” is realized by software resources and / or hardware resources of the TCU 24.

さらにTCU24の詳細について説明する。図3にTCU24のハードウェアブロックを示す。TCU24はマイクロコンピュータとして構成され、コントローラ(CPU)200を中心に、ROM202、RAM(メインメモリ)203を有すると共に、車両内部に敷設されたCANやK−lineなどのダイアグツール通信ライン204を介して外部のメンテナンスツール206に接続可能である。メンテナンスツールとしては、メンテナンスプログラムを備える電子端末(ノートパソコン等)であってよい。ROM202として、内容の書き換えが可能なEEPROMやフラッシュメモリを利用すればよい。RAM203に代えて、EEPROMやフラッシュメモリを利用してもよい。   Further, details of the TCU 24 will be described. FIG. 3 shows a hardware block of the TCU 24. The TCU 24 is configured as a microcomputer, has a ROM 202 and a RAM (main memory) 203 around a controller (CPU) 200, and via a diagnostic tool communication line 204 such as CAN or K-line laid inside the vehicle. It can be connected to an external maintenance tool 206. The maintenance tool may be an electronic terminal (such as a notebook computer) having a maintenance program. As the ROM 202, a rewritable EEPROM or flash memory may be used. Instead of the RAM 203, an EEPROM or a flash memory may be used.

TCU24のソフトウェア資源は、ブートローダ240と、トランスミッションのギヤ操作の制御プログラム(TCUソフトウェア)242と、メンテナンスツール206からTCU24へのTCUソフトウェアのインストールの要求を記録するインストール要求フラグ244とを備える。ブートローダ240とTCUソフトウェア242とは、図3のROM202に記録され、インストール要求フラグ244はRAM203に記録されればよい。   The software resources of the TCU 24 include a boot loader 240, a transmission gear operation control program (TCU software) 242, and an installation request flag 244 that records a request to install the TCU software from the maintenance tool 206 to the TCU 24. The boot loader 240 and the TCU software 242 may be recorded in the ROM 202 of FIG. 3, and the installation request flag 244 may be recorded in the RAM 203.

TCU24は、イグニッションスイッチ210がオン(キーオン)されることで、車両バッテリ(電源)220から電力の供給を受け、まずブートローダ240を起動する。そしてブートローダ240がTCUソフトウェア242を起動する。即ちブートローダ240は、ROM202の特定領域を読み、TCUソフトウェア242を確認すると、TCUソフトウェア242を起動する。   When the ignition switch 210 is turned on (key-on), the TCU 24 is supplied with power from the vehicle battery (power supply) 220 and first activates the boot loader 240. Then, the boot loader 240 starts the TCU software 242. That is, when the boot loader 240 reads the specific area of the ROM 202 and checks the TCU software 242, the boot loader 240 starts the TCU software 242.

ところで、TCU24にTCUソフトウェア242をインストールし直すことがある。例えばTCUソフトウェア242のバージョンアップ又はTCU24が搭載される車両のタイプを変更する場合(例えばトラックからバス、或いは、その反対)である。TCU24にTCUソフトウェア242をインストールする場合、メンテナンスツール206のメンテナンスプログラムが起動後のTCUソフトウェア242にアクセスする。するとTCUソフトウェア242は、インストールのための処理をブートローダ240に指示し、ブートローダ240は、メンテナンスプログラムにTCUソフトウェア242の旧バージョンの削除(アンインストール)、そして新しいTCUソフトウェアのアップロードとインストールとを実行させる。   By the way, the TCU software 242 may be reinstalled on the TCU 24. For example, when upgrading the version of the TCU software 242 or changing the type of vehicle in which the TCU 24 is mounted (for example, from a truck to a bus, or vice versa). When installing the TCU software 242 in the TCU 24, the maintenance program of the maintenance tool 206 accesses the TCU software 242 after the startup. Then, the TCU software 242 instructs the boot loader 240 to perform a process for installation, and the boot loader 240 causes the maintenance program to delete (uninstall) the old version of the TCU software 242, and upload and install the new TCU software. .

しかしながら、車両の制御プログラムが一旦起動してしまうと、メンテナンスプログラムが制御プログラムにアクセスできても、制御プログラムが車両の制御のための処理を優先し、ブートローダ240に制御プログラムをインストールするための処理の権限を渡すことができないことがある。例えば制御プログラムの制御対象としての車両が制御ユニットが実際に搭載されている車種と異なる場合又は制御プログラムの制御パラメータが車両の正常な走行状態にそぐわない場合である。これらの車種及び制御パラメータ等の車種情報は制御プログラムに含まれている。この場合、制御ユニットはメンテナンスツール206からのメンテナンス要求(制御プログラムのインストール要求)があっても、制御プログラムの処理のループから抜け出せないことがある。   However, once the control program of the vehicle is started, even if the maintenance program can access the control program, the control program gives priority to the process for controlling the vehicle and installs the control program in the boot loader 240. May not be able to pass For example, this is the case where the vehicle to be controlled by the control program is different from the type of vehicle on which the control unit is actually mounted, or the case where the control parameters of the control program do not match the normal running state of the vehicle. These vehicle types and vehicle type information such as control parameters are included in the control program. In this case, even if there is a maintenance request (control program installation request) from the maintenance tool 206, the control unit may not be able to get out of the control program processing loop.

そこでTCU24は、ブートローダ240が制御プログラム(TCUソフトウェア242)を起動する前にブートローダ240が制御プログラムのインストールするためのアクセスを受け入れるようにした。こうすることによって、TCU24は、制御プログラムが起動される前にメンテナンスの要求(新たな制御プログラムのインストール)が確実に実現されるようにした。   Therefore, the TCU 24 accepts access for the boot loader 240 to install the control program before the boot loader 240 starts the control program (TCU software 242). By doing so, the TCU 24 ensures that a maintenance request (installation of a new control program) is realized before the control program is started.

制御プログラムのインストールのために、まず整備士は、メンテナンスツール206をダイアグツール通信ライン204の特定ポートに接続する。メンテナンスツール206がメンテナンスプログラムを実行すると、TCU24にインストール要求を発行してインストール要求フラグ244をセットする。ブートローダ240は、インストール要求に基づいて、新しいTCUソフトウェアをTCU24のROMの対応領域にインストールする。   To install the control program, the mechanic first connects the maintenance tool 206 to a specific port of the diagnostic tool communication line 204. When the maintenance tool 206 executes the maintenance program, it issues an installation request to the TCU 24 and sets the installation request flag 244. The boot loader 240 installs new TCU software in a corresponding area of the ROM of the TCU 24 based on the installation request.

図4は、TCUソフトウェアのインストールの経過を示すブロック図である。符号24BはTCU24の記憶領域を示す。(1)に示すように、TCU24のROM202には、ブートローダ240と、TCUソフトウェア242とが記憶されている。ブートローダ240が起動されてインストール要求フラグ244(図3)を確認すると、メンテナンスツールとしてのノートパソコン410のメンテナンスプログラム(インストーラ)は、TCU24のRAM203にフラッシュドライバ400をアップロード(402)する(図4の(2))。   FIG. 4 is a block diagram showing the progress of installation of TCU software. Reference numeral 24B indicates a storage area of the TCU 24. As shown in (1), the ROM 202 of the TCU 24 stores a boot loader 240 and TCU software 242. When the boot loader 240 is activated and confirms the installation request flag 244 (FIG. 3), the maintenance program (installer) of the notebook computer 410 as a maintenance tool uploads (402) the flash driver 400 to the RAM 203 of the TCU 24 (FIG. 4). (2)).

そしてフラッシュドライバ400は、TCUソフトウェア242にアクセスして(412)、ROM202からTCUソフトウェア242を削除する(図4の(3))。なお(3)の符号450は、ROM202の領域のうち、TCUソフトウェア242が削除されることによって解放された領域を示す。   Then, the flash driver 400 accesses the TCU software 242 (412) and deletes the TCU software 242 from the ROM 202 ((3) in FIG. 4). Reference numeral 450 in (3) indicates an area of the ROM 202 that has been released by the deletion of the TCU software 242.

次いで、ノートパソコン410が新たなTCUソフトウェア242Aをフラッシュドライバ400にアップロード(404)すると、フラッシュドライバ400は新たなTCUソフトウェア242Aを開放領域450にインストールする(図4の(4))。   Next, when the notebook personal computer 410 uploads the new TCU software 242A to the flash driver 400 (404), the flash driver 400 installs the new TCU software 242A in the open area 450 ((4) in FIG. 4).

次に、TCU24の起動処理の一例を説明する。図5は、TCU24の起動処理の一例を示すフローチャートである。車両のキーオン、即ち図3のイグニッションスイッチ210のオンによってTCU24がバッテリ220に接続されると、TCU24はブートローダ240を起動する(ステップ500)。   Next, an example of the activation process of the TCU 24 will be described. FIG. 5 is a flowchart illustrating an example of the activation process of the TCU 24. When the TCU 24 is connected to the battery 220 by keying on the vehicle, that is, turning on the ignition switch 210 of FIG. 3, the TCU 24 activates the boot loader 240 (step 500).

次いで、ブートローダ240は、TCUソフトウェア242を起動できるか否かを判定する(ステップ502)。例えばTCUソフトウェア242がROM202に書き込まれていない場合、ブートローダ240は、TCUソフトウェア242を起動できないと判定する。   Next, the boot loader 240 determines whether or not the TCU software 242 can be started (Step 502). For example, when the TCU software 242 is not written in the ROM 202, the boot loader 240 determines that the TCU software 242 cannot be started.

ブートローダ240がTCUソフトウェア242を起動できないと判定すると、インストール要求の有無を判定するために(ステップ516)インストール要求フラグ244をチェックする。ブートローダ240は、このフラグがセットされていること(インストール要求有)を確認すると、メンテナンスツール206に新TCUソフトウェア242AをTCU24にインストールさせる(ステップ518)。ブートローダ240は、新TCUソフトウェアをインストールさせると、制御プログラムが起動可能かを判定するステップにリターンする(ステップ502)。次いでブートローダ240は、新TCUソフトウェアの起動は可能と判定して、後述のように制御プログラムを診断する処理(ステップ504)に移行する。   If the boot loader 240 determines that the TCU software 242 cannot be started, it checks the installation request flag 244 to determine whether there is an installation request (step 516). When confirming that this flag is set (installation request is present), the boot loader 240 causes the maintenance tool 206 to install the new TCU software 242A in the TCU 24 (step 518). After installing the new TCU software, the boot loader 240 returns to the step of determining whether the control program can be started (step 502). Next, the boot loader 240 determines that the activation of the new TCU software is possible, and shifts to a process of diagnosing the control program (step 504) as described later.

ブートローダ240は、インストール要求フラグ244がセットされていないこと(インストール要求無)を確認すると、例えば車載ディスプレイ等にエラー表示を出力して(ステップ520)、フローチャートを終了する。   When the boot loader 240 confirms that the installation request flag 244 is not set (no installation request), the boot loader 240 outputs an error display on, for example, an in-vehicle display (step 520), and ends the flowchart.

ブートローダ240が制御プログラムを起動可能であると判定すると(ステップ502:YES)、TCUソフトウェア242を診断する。この診断は、所定の基準、例えばTCUソフトウェア242が、妥当なものであるか否かの観点から行われてよい(ステップ504)。妥当でない制御プログラムが一旦起動されてしまうと、プログラムのループから抜け出せず、メンテナンスツールが制御プログラムのインストールのために制御プログラムにアクセスしようとしても制御プログラムが車両の制御を優先してこのアクセスを受け付けないおそれがある。   When the boot loader 240 determines that the control program can be started (step 502: YES), the TCU software 242 is diagnosed. This diagnosis may be made in terms of whether certain criteria, eg, TCU software 242, are valid (step 504). Once an invalid control program is started, it will not break out of the program loop, and even if the maintenance tool attempts to access the control program to install the control program, the control program will give priority to controlling the vehicle and accept this access May not be.

ブートローダ240は、例えばTCUソフトウェア242の識別情報に基づいてTCUソフトウェアが車両にとって正しいものであるか否かの観点からTCUソフトウェアの妥当性をチェックすることができる。具体的には、TCUソフトウェア242の対象としている車種と、TCU24が搭載されている実際の車種とが合っているかどうかである。ブートローダ240は、TCU24のROM202の所定領域から対象車種の情報を読み込み、一方、実際の車種の情報を他の制御ユニット、例えばエンジンコントロールユニットのメモリから読み込んで、両者を比較すればよい。   The boot loader 240 can check the validity of the TCU software based on, for example, the identification information of the TCU software 242 in terms of whether the TCU software is correct for the vehicle. Specifically, it is determined whether or not the target vehicle type of the TCU software 242 matches the actual vehicle type on which the TCU 24 is mounted. The boot loader 240 may read the information of the target vehicle type from a predetermined area of the ROM 202 of the TCU 24, read the information of the actual vehicle type from a memory of another control unit, for example, an engine control unit, and compare the two.

またブートローダ240は、TCUソフトウェア242の通信速度(ダイアグツール通信ライン204の通信速度である。)がECU(エンジンコントロールユニット)の通信速度に等しいかという観点からTCUソフトウェアの妥当性を判定することもできる。   The boot loader 240 may also determine the validity of the TCU software from the viewpoint that the communication speed of the TCU software 242 (the communication speed of the diagnostic tool communication line 204) is equal to the communication speed of an ECU (engine control unit). it can.

さらにブートローダ240は、制御パラメータが基準値の範囲内であるか否かによってTCUソフトウェアの妥当性を判定することもできる。制御パラメータとしては、例えばセンサ(シフトストロークセンサ、バッテリセンサ)の検出値がある。センサの検出値は、TCUソフトウェア242によって継続的にRAM203に記録されるが、センサの検出値が基準範囲外にあると、制御プログラムの動作が不安定化する。制御パラメータの種類及び基準値は、車両の製造メーカが適宜設定することができる。   Further, the boot loader 240 can determine the validity of the TCU software based on whether the control parameter is within the range of the reference value. As the control parameter, for example, there is a detection value of a sensor (shift stroke sensor, battery sensor). The detected value of the sensor is continuously recorded in the RAM 203 by the TCU software 242. However, if the detected value of the sensor is out of the reference range, the operation of the control program becomes unstable. The types and reference values of the control parameters can be appropriately set by the vehicle manufacturer.

ブートローダ240が、TCUソフトウェア242が妥当でないと判定すると、車載のディスプレイ又はメンテナンスツール206に新たなTCUソフトウェアをインストールすることのリコメンドを送信する(ステップ508)。メンテナンスツール206が、これによって、インストール要求フラグ244をセットするか又は当初からこのフラグがセットされている場合では、ブートローダ240は、ステップ514に移行する(ステップ510:YES)。ブートローダ240は、ステップ518と同様、新しいTCUソフトウェア242Aをインストールさせる(ステップ514)。   If the boot loader 240 determines that the TCU software 242 is not valid, it sends a recommendation to install the new TCU software to the onboard display or maintenance tool 206 (step 508). Accordingly, if the maintenance tool 206 sets the install request flag 244 or if this flag is set from the beginning, the boot loader 240 proceeds to step 514 (step 510: YES). The boot loader 240 installs the new TCU software 242A as in step 518 (step 514).

ブートローダ240が所定期間内にインストール要求フラグ244のセットを確認できない場合(ステップ510:NO)、TCUソフトウェア242を起動して(ステップ512)、フローチャートを終了する。ブートローダ240がステップ504においてTCUソフトウェアが妥当であると判定すると、TCUソフトウェア242を起動して(ステップ506)、フローチャートを終了する。   If the boot loader 240 cannot confirm the setting of the installation request flag 244 within a predetermined period (step 510: NO), the TCU software 242 is started (step 512), and the flowchart ends. If the boot loader 240 determines in step 504 that the TCU software is valid, it activates the TCU software 242 (step 506) and ends the flowchart.

TCUソフトウェアがそもそも妥当なものである場合、TCUソフトウェアの起動後でも、メンテナンスツール206はTCUソフトウェアを介してブートローダ240にTCUソフトウェアのインストールをリクエストすることができる。ブートローダ240は、このリクエストに基づいて新たなTCUソフトウェアをインストールすることができる。一方、TCUソフトウェアが妥当でない場合には、ステップ508及び510によって、TCUソフトウェアが起動される前にTCUソフトウェアのインストールのリクエストがブートローダ240に受け入れられ、TCUソフトウェアのインストールが行われる。   If the TCU software is appropriate in the first place, even after the TCU software is started, the maintenance tool 206 can request the boot loader 240 to install the TCU software via the TCU software. The boot loader 240 can install new TCU software based on the request. On the other hand, if the TCU software is not valid, steps 508 and 510 allow the boot loader 240 to accept the request for the installation of the TCU software before the TCU software is activated, and install the TCU software.

妥当でないと判定されたTCUソフトウェアが起動されても、キーオフ後のキーオンによって、ブートローダ240が改めて起動されるタイミングでブートローダによってTCUソフトウェアのインストールが可能になる。なおステップ508は、インストール要求フラグ244がセットされていない場合に実行されるようにしてもよい。   Even if the TCU software determined to be invalid is activated, the key-on after the key-off allows the boot loader 240 to install the TCU software at the timing when the boot loader 240 is newly activated. Step 508 may be executed when the installation request flag 244 is not set.

TCU24の起動処理の他の実施形態を説明する。図6は、そのフローチャートである。図6のフローチャートが図5のフローチャートと異なる点は、TCUソフトウェア242の妥当性を判定するステップを省き、ステップ502の後直ちにインストール要求の有無を判定している点である。ブートローダ240は、インストール要求の有りを判定するとインストールを実行し(ステップ532)、インストール要求の無を判定すると、TCUソフトウェア242を起動する。この場合、TCUソフトウェア242の診断が行われないことによって、TCUソフトウェアが妥当でないことが通知されることなく、TCUソフトウェアがそのまま起動されてしまうが、キーオフ後のキーオンによって、ブートローダ240が改めて起動されるタイミングで新たなTCUソフトウェアのインストールを可能にする機会が確保される。   Another embodiment of the activation process of the TCU 24 will be described. FIG. 6 is a flowchart thereof. The flowchart of FIG. 6 differs from the flowchart of FIG. 5 in that the step of determining the validity of the TCU software 242 is omitted, and immediately after step 502, the presence or absence of an installation request is determined. The boot loader 240 executes the installation when it determines that there is an installation request (step 532), and activates the TCU software 242 when it determines that there is no installation request. In this case, since the TCU software 242 is not diagnosed, the TCU software is started without being notified that the TCU software is not valid. However, the key-on after the key-off causes the boot loader 240 to be started again. At the same time, an opportunity to enable installation of new TCU software is secured.

図7は、TCU24の起動処理のさらに他の例を示すフローチャートである。図7のフローチャートは、図5のフローチャートと図6のフローチャートとを合わせたものとして構成されている。即ちTCUソフトウェア242の妥当性を判定するステップの前にインストール要求の有無を判定している点である。こうすることによって、ブートローダ240は、インストールの要求が無い場合(ステップ520:NO)にだけTCUソフトウェアの妥当性をチェックすればよい。   FIG. 7 is a flowchart illustrating still another example of the startup processing of the TCU 24. The flowchart of FIG. 7 is configured as a combination of the flowchart of FIG. 5 and the flowchart of FIG. That is, the presence or absence of an installation request is determined before the step of determining the validity of the TCU software 242. By doing so, the boot loader 240 need only check the validity of the TCU software when there is no request for installation (step 520: NO).

既述の実施形態は、制御対象を変速装置として説明したが、これに限らず制御対象をエンジン、懸架装置又は操舵システム等としてもよい。   In the above-described embodiment, the control target is described as the transmission, but the control target is not limited to this, and the control target may be an engine, a suspension device, a steering system, or the like.

22 制御対象(変速装置:AMT)、24 制御ユニット(TCU)、240 ブートローダ、242 制御プログラム(TCUソフトウェア)   22 control target (transmission: AMT), 24 control unit (TCU), 240 boot loader, 242 control program (TCU software)

Claims (3)

制御ユニット(24)を備える車両の制御システム(100)であって、
前記制御ユニット(24)のソフトウェアモジュールは、
ブートローダ(240)と、制御プログラム(242)とを備え、
前記制御プログラム(242)は、
前記ブートローダ(240)によって起動され、
前記ブートローダ(240)は、
前記制御プログラム(242)を起動する前に当該制御プログラム(242)をインストールするためのアクセスを受け入れ可能であり、
前記ブートローダ(240)は、
前記制御プログラム(242)を起動する前に当該制御プログラム(242)に含まれる車両情報に基づいて当該制御プログラム(242)の妥当性を診断し、妥当と判定された場合は当該制御プログラム(242)を起動し、妥当でないと判定された場合には、新たな制御プログラム(242)をインストールすることのリコメンドを送信する
車両の制御システム。
A vehicle control system (100) including a control unit (24),
The software module of the control unit (24) comprises:
A boot loader (240) and a control program (242);
The control program (242) includes:
Launched by the boot loader (240),
The boot loader (240)
Is acceptable access for installing the control program (242) before starting the control program (242),
The boot loader (240)
Before activating the control program (242), the validity of the control program (242) is diagnosed based on the vehicle information included in the control program (242). ) Is activated, and if it is determined to be invalid, the vehicle control system sends a recommendation to install a new control program (242) .
前記制御ユニット(24)の制御対象(22)は自動変速装置であり、
前記制御ユニット(24)は、前記自動変速装置を制御する
請求項1に記載の車両の制御システム。
The control object (22) of the control unit (24) is an automatic transmission,
The control unit (24) controls the automatic transmission.
The control system for a vehicle according to claim 1 .
制御ユニット(24)が制御対象(22)を制御する車両の制御方法であって、
キーオンによってブートローダ(240)を起動する第1のステップと、
前記ブートローダ(240)が制御プログラム(242)を起動する第2のステップと
を備え、
前記第2のステップにおいて、
前記制御プログラム(242)を起動する前に当該制御プログラム(242)をインストールするためのアクセスを受け入れ可能であり、
前記ブートローダ(240)は、
前記制御プログラム(242)を起動する前に当該制御プログラム(242)に含まれる車両情報に基づいて当該制御プログラム(242)の妥当性を診断し、妥当と判定された場合は当該制御プログラム(242)を起動し、妥当でないと判定された場合には、新たな制御プログラム(242)をインストールすることのリコメンドを送信する
車両の制御方法。
A control method for a vehicle in which a control unit (24) controls a control target (22),
A first step of activating a boot loader (240) by key-on;
A second step in which the boot loader (240) starts a control program (242);
In the second step,
Prior to launching said control program (242), accepting access to install said control program (242) ;
The boot loader (240)
Before activating the control program (242), the validity of the control program (242) is diagnosed based on the vehicle information included in the control program (242). ) Is started, and when it is determined that the new control program is not appropriate, a vehicle control method for transmitting a recommendation to install a new control program (242) .
JP2016078782A 2016-04-11 2016-04-11 Vehicle control system and control method Active JP6663777B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2016078782A JP6663777B2 (en) 2016-04-11 2016-04-11 Vehicle control system and control method
KR1020170041351A KR102366348B1 (en) 2016-04-11 2017-03-31 Vehicle control system and control method
CN201710232923.3A CN107291488B (en) 2016-04-11 2017-04-11 Control system and control method for vehicle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016078782A JP6663777B2 (en) 2016-04-11 2016-04-11 Vehicle control system and control method

Publications (2)

Publication Number Publication Date
JP2017191360A JP2017191360A (en) 2017-10-19
JP6663777B2 true JP6663777B2 (en) 2020-03-13

Family

ID=60086379

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016078782A Active JP6663777B2 (en) 2016-04-11 2016-04-11 Vehicle control system and control method

Country Status (3)

Country Link
JP (1) JP6663777B2 (en)
KR (1) KR102366348B1 (en)
CN (1) CN107291488B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114047715B (en) * 2021-09-30 2023-11-03 黄冈普赫氢能商用车有限公司 Control method and storage medium for peripheral device during ECU application layer software update
CN114326679B (en) * 2021-12-30 2023-07-18 深蓝汽车科技有限公司 Method and system for refreshing controller based on one-edition integrated software

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001123874A (en) * 1999-10-27 2001-05-08 Denso Corp Program rewrite system or memory rewriting system for electronic control device
JP2003131885A (en) * 2001-10-24 2003-05-09 Denso Corp Program writing system of vehicle mounted electronic control unit
US8812172B2 (en) * 2008-09-15 2014-08-19 Hti Ip, Llc Method for generating a vehicle identifier
CN102681862A (en) * 2011-03-14 2012-09-19 乐靓 Novel application software convenient installing method
JP2013169883A (en) 2012-02-21 2013-09-02 Suzuki Motor Corp Power transmission device for vehicle
CN103079108B (en) * 2013-01-11 2016-06-29 青岛海信宽带多媒体技术有限公司 The method of starter motor top box and Set Top Box
CN103686363A (en) * 2013-12-06 2014-03-26 康佳集团股份有限公司 Set top box supporting double operating systems and operating system switching method of set top box
CN104155882B (en) * 2014-06-06 2017-03-15 奇瑞控股有限公司 A kind of automatic gear-box control unit method for refreshing and system

Also Published As

Publication number Publication date
CN107291488B (en) 2021-12-21
CN107291488A (en) 2017-10-24
KR20170116574A (en) 2017-10-19
JP2017191360A (en) 2017-10-19
KR102366348B1 (en) 2022-02-23

Similar Documents

Publication Publication Date Title
US7327228B2 (en) Installation and maintenance method and system for maintaining a control module for remote starter and alarm system for vehicles
JP4365427B2 (en) Eco-run control device, eco-run control system and control method
JP4809418B2 (en) Software updating apparatus and software updating method
JP2010198307A (en) Controller for automobile
EP1898077A2 (en) Vehicle characteristics storing apparatus and method
JP6663777B2 (en) Vehicle control system and control method
EP3688573A1 (en) Method for remote online software update in motor vehicles
US8606481B2 (en) Data write device and data write method
US20230153097A1 (en) Devices and method for managing electronic control units of a motor vehicle
JP2009026183A (en) Electronic control apparatus for automobile
JP7396216B2 (en) Server, update management method, update management program, and software update device
JP2014215871A (en) Electronic control device
US8341343B2 (en) Controller
EP2331849B1 (en) Method and computer programme product for improving performance of a motor vehicle
CN115279627A (en) Software update device, software update method, and software update processing program
JP2004314955A (en) Control system for controlling internal combustion engine and method for initializing the same
JP5079027B2 (en) Electronic control unit
KR101335223B1 (en) Reprogramming method of electronic control unit for vehicle and reprogramming electronic control unit
KR20100064472A (en) Upgrade system of electronic control unit for vehicle
JP2020021506A (en) Electronic controller and session establishing program
US20230311752A1 (en) Vehicle manufacturing method and vehicle control system
NL2028133B1 (en) In-vehicle control system and method of adding a client controller in a vehicle
JP2001182607A (en) Vehicle controlling device
JP2024007756A (en) OTA master
JP2021174455A (en) Control system of vehicle

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190211

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20191114

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20191113

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20191224

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200217

R151 Written notification of patent or utility model registration

Ref document number: 6663777

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250