Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7587909B2 - Control Systems and Control Devices - Google Patents
[go: Go Back, main page]

JP7587909B2 - Control Systems and Control Devices - Google Patents

Control Systems and Control Devices Download PDF

Info

Publication number
JP7587909B2
JP7587909B2 JP2021060628A JP2021060628A JP7587909B2 JP 7587909 B2 JP7587909 B2 JP 7587909B2 JP 2021060628 A JP2021060628 A JP 2021060628A JP 2021060628 A JP2021060628 A JP 2021060628A JP 7587909 B2 JP7587909 B2 JP 7587909B2
Authority
JP
Japan
Prior art keywords
unit
update
software
execution unit
management unit
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
JP2021060628A
Other languages
Japanese (ja)
Other versions
JP2022156773A (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.)
Panasonic Automotive Systems Co Ltd
Original Assignee
Panasonic Automotive Systems 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 Panasonic Automotive Systems Co Ltd filed Critical Panasonic Automotive Systems Co Ltd
Priority to JP2021060628A priority Critical patent/JP7587909B2/en
Publication of JP2022156773A publication Critical patent/JP2022156773A/en
Application granted granted Critical
Publication of JP7587909B2 publication Critical patent/JP7587909B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Control Of Driving Devices And Active Controlling Of Vehicle (AREA)
  • Stored Programmes (AREA)

Description

本開示は、制御システムおよび制御装置に関する。 This disclosure relates to a control system and a control device.

昨今、車両の自動運転の技術が進展しており、自動運転と、運転者が運転する手動運転とを切り替える技術が知られている。また、自動運転中では、一般にECU(Electronic Control Unit)のCPU(Central Processing Unit)の処理量が増加する。また、ECUで処理されるソフトウェアの更新のために、OTA(Over The Air)技術により無線を経由したソフトウェアの書換えを行う技術が進展している。このような、車両のECUにインストールされているソフトウェアを更新する技術として、自動運転機能または運転支援機能に関するソフトウェアについて更新が必要になった場合に、自動運転機能または運転支援機能の作動について制限して、ソフトウェアの更新を優先させる技術が開示されている(例えば特許文献1)。 Recently, the technology for autonomous driving of vehicles has been developing, and a technology for switching between autonomous driving and manual driving by a driver is known. Furthermore, during autonomous driving, the amount of processing by the CPU (Central Processing Unit) of the ECU (Electronic Control Unit) generally increases. Furthermore, in order to update software processed by the ECU, a technology for wirelessly rewriting software using OTA (Over the Air) technology has been developed. As a technology for updating software installed in such a vehicle's ECU, a technology has been disclosed in which, when software related to an autonomous driving function or a driving assistance function needs to be updated, the operation of the autonomous driving function or the driving assistance function is restricted, and the software update is prioritized (for example, Patent Document 1).

特許第6569771号公報Patent No. 6569771

ソフトウェアの更新よりも自動運転機能または運転支援機能の使用の継続を優先させたい場合がある。 You may want to prioritize continued use of autonomous driving or driver assistance features over software updates.

本開示は、機能を制限することなく自動運転が可能となる制御システムおよび制御装置を提供することを目的とする。 The purpose of this disclosure is to provide a control system and a control device that enable autonomous driving without restricting functionality.

本開示に係る制御システムは、検出部と、書き換え管理部と、抑制要求部と、運転制御部と、を備える。検出部は、自動運転への切り替えを指示する第1切り替え指令を検出する。書き換え管理部は、ソフトウェアの更新処理を制御する。抑制要求部は、検出部により第1切り替え指令が検出された場合、ソフトウェアの更新を抑制するための更新抑制要求を、ソフトウェアの更新処理を制御する書き換え管理部へ送る。運転制御部は、更新抑制要求に応じて、抑制要求部が、ソフトウェアの更新が抑制された旨を示す第1応答を書き換え管理部から受けた場合、自動運転制御を実行する少なくとも1つの実行部に対して自動運転の開始の要求をする。書き換え管理部は、更新抑制要求を受けた場合、ソフトウェアが更新中である場合には少なくとも1つの実行部に対してソフトウェアの更新の中断させるための更新制御指令を送り、当該少なくとも1つの実行部から中断が完了した旨を示す第3応答を受けた場合、第1応答を抑制要求部へ送る。 The control system according to the present disclosure includes a detection unit, a rewrite management unit, a suppression request unit, and an operation control unit. The detection unit detects a first switching command that instructs switching to automatic operation. The rewrite management unit controls a software update process. When the detection unit detects the first switching command, the suppression request unit sends an update suppression request for suppressing the software update to the rewrite management unit that controls the software update process. In response to the update suppression request, when the suppression request unit receives a first response from the rewrite management unit indicating that the software update has been suppressed, the operation control unit requests at least one execution unit that executes automatic operation control to start automatic operation. When the rewrite management unit receives the update suppression request, if the software is being updated, it sends an update control command to at least one execution unit to interrupt the software update, and when it receives a third response from the at least one execution unit indicating that the interruption has been completed, it sends the first response to the suppression request unit.

本開示に係る制御システムおよび制御装置によれば、機能を制限することなく自動運転が可能となる。 The control system and control device disclosed herein enable autonomous driving without restricting functionality.

図1は、第1の実施形態に係る車両の全体構成の一例を示す図である。FIG. 1 is a diagram showing an example of an overall configuration of a vehicle according to a first embodiment. 図2は、第1の実施形態に係る車両制御装置のハードウェア構成の一例を示す図である。FIG. 2 is a diagram illustrating an example of a hardware configuration of the vehicle control device according to the first embodiment. 図3は、第1の実施形態に係る車両制御装置の機能ブロックの構成の一例を示す図である。FIG. 3 is a diagram illustrating an example of a functional block configuration of the vehicle control device according to the first embodiment. 図4は、第1の実施形態に係る車両制御装置の機能ブロックの構成の別の例を示す図である。FIG. 4 is a diagram illustrating another example of the configuration of functional blocks of the vehicle control device according to the first embodiment. 図5は、第1の実施形態に係る車両制御装置の制御要求部の手動運転から自動運転に切り替える場合の動作の流れの一例を示すフローチャートである。FIG. 5 is a flowchart showing an example of an operation flow of the control request unit of the vehicle control device according to the first embodiment when switching from manual driving to automatic driving. 図6は、第1の実施形態に係る車両制御装置の制御要求部の自動運転から手動運転に切り替える場合の動作の流れの一例を示すフローチャートである。FIG. 6 is a flowchart showing an example of an operation flow of the control request unit of the vehicle control device according to the first embodiment when switching from automatic driving to manual driving. 図7は、第1の実施形態に係る車両制御装置の書き換え管理部の手動運転から自動運転に切り替える場合の動作の流れの一例を示すフローチャートである。FIG. 7 is a flowchart illustrating an example of an operation flow of the rewrite management unit of the vehicle control device according to the first embodiment when switching from manual driving to automatic driving. 図8は、第1の実施形態に係る車両制御装置の書き換え管理部の自動運転から手動運転に切り替える場合の動作の流れの一例を示すフローチャートである。FIG. 8 is a flowchart showing an example of the flow of operations of the rewrite management unit of the vehicle control device according to the first embodiment when switching from automatic driving to manual driving. 図9は、第1の実施形態に係る車両制御装置の実行部のソフトウェア更新動作の流れの一例を示すフローチャートである。FIG. 9 is a flowchart showing an example of a flow of a software update operation of the execution unit of the vehicle control device according to the first embodiment. 図10は、第1の実施形態に係る車両制御装置の実行部の自動・手動切替動作の流れの一例を示すフローチャートである。FIG. 10 is a flowchart showing an example of a flow of the automatic/manual switching operation of the execution unit of the vehicle control device according to the first embodiment. 図11は、第2の実施形態に係る車両制御装置の機能ブロックの構成の一例を示す図である。FIG. 11 is a diagram illustrating an example of a functional block configuration of a vehicle control device according to the second embodiment. 図12は、第2の実施形態に係る車両制御装置の書き換え管理部の手動運転から自動運転に切り替える場合の動作の流れの一例を示すフローチャートである。FIG. 12 is a flowchart showing an example of the flow of operations of the rewrite management unit of the vehicle control device according to the second embodiment when switching from manual driving to automatic driving. 図13は、第2の実施形態に係る車両制御装置の書き換え管理部の自動運転から手動運転に切り替える場合の動作の流れの一例を示すフローチャートである。FIG. 13 is a flowchart showing an example of the flow of operations of the rewrite management unit of the vehicle control device according to the second embodiment when switching from automatic driving to manual driving. 図14は、第3の実施形態に係る車両制御装置の制御要求部の手動運転から自動運転に切り替える場合の動作の流れの一例を示すフローチャートである。FIG. 14 is a flowchart showing an example of the flow of operations of the control request unit of the vehicle control device according to the third embodiment when switching from manual driving to automatic driving. 図15は、第3の実施形態に係る車両制御装置の書き換え管理部の手動運転から自動運転に切り替える場合の動作の流れの一例を示すフローチャートである。FIG. 15 is a flowchart showing an example of the flow of operations of the rewrite management unit of the vehicle control device according to the third embodiment when switching from manual driving to automatic driving.

以下、図面を参照しながら、本開示に係る制御システムおよび制御装置の実施形態について説明する。 Below, we will explain embodiments of the control system and control device according to the present disclosure with reference to the drawings.

[第1の実施形態]
(車両の全体構成)
図1は、第1の実施形態に係る車両の全体構成の一例を示す図である。図1を参照しながら、本実施形態に係る車両1の全体構成について説明する。
[First embodiment]
(Overall vehicle configuration)
Fig. 1 is a diagram showing an example of the overall configuration of a vehicle according to the first embodiment. The overall configuration of a vehicle 1 according to the present embodiment will be described with reference to Fig. 1 .

図1に示すように、車両1は、車体2と、車輪3Fと、車輪3Rと、を備えている。車輪3Fは、車体2の前方側に設置され、路面に接触する一対の前輪である。車輪3Rは、車体2の後方側に設置され、路面に接触する一対の後輪である。車両1は、所定方向に沿って配置された1対の車輪3Fと、1対の車輪3Rとを用いて走行することが可能である。この場合、車輪3Fおよび車輪3Rが配置される所定方向が車両1の移動方向となり、ギアの切り替え等により前進または後退することができる。なお、車輪3Fおよび車輪3Rのうち任意の車輪を示す場合、または総称する場合、単に「車輪3」と称するものとする。 As shown in FIG. 1, the vehicle 1 includes a body 2, wheels 3F, and wheels 3R. The wheels 3F are a pair of front wheels that are installed on the front side of the body 2 and contact the road surface. The wheels 3R are a pair of rear wheels that are installed on the rear side of the body 2 and contact the road surface. The vehicle 1 can travel using a pair of wheels 3F and a pair of wheels 3R that are arranged along a predetermined direction. In this case, the predetermined direction in which the wheels 3F and wheels 3R are arranged becomes the direction of movement of the vehicle 1, and the vehicle can move forward or backward by switching gears, etc. Note that when referring to any of the wheels 3F and wheels 3R, or when referring to them collectively, they will simply be referred to as "wheels 3".

また、車両1は、図1に示すように、座席4と、車両駆動部5と、撮像部6aおよび撮像部6bと、ドアミラー7Lおよびドアミラー7Rと、後部座席8と、ルームミラー9と、エンジンスイッチ10aと、自動運転切替スイッチ10bと、ハンドル11と、シフトレバー12と、パーキングブレーキ13と、ドアロック装置14と、表示装置15と、スピーカ19と、車両制御装置20と、温度センサ21と、を備えている。 As shown in FIG. 1, the vehicle 1 also includes a seat 4, a vehicle drive unit 5, imaging units 6a and 6b, door mirrors 7L and 7R, a rear seat 8, a rearview mirror 9, an engine switch 10a, an automatic driving changeover switch 10b, a steering wheel 11, a shift lever 12, a parking brake 13, a door lock device 14, a display device 15, a speaker 19, a vehicle control device 20, and a temperature sensor 21.

座席4は、車両1の車室内に設けられ、車両1の運転者が着座するための運転席である。運転者は、座席4に着座した状態で、ハンドル11を操作したり、図示しないアクセルペダルおよびブレーキペダルを操作したりすることによって、車両1を操縦することが可能である。 Seat 4 is provided in the vehicle cabin of vehicle 1 and serves as a driver's seat for the driver of vehicle 1. While seated in seat 4, the driver can steer vehicle 1 by operating steering wheel 11 and an accelerator pedal and a brake pedal (not shown).

車両駆動部5は、車両1に搭載された駆動デバイスである。車両駆動部5は、例えば、エンジン、モータ、車輪3の駆動部等である。 The vehicle drive unit 5 is a drive device mounted on the vehicle 1. The vehicle drive unit 5 is, for example, an engine, a motor, a drive unit for the wheels 3, etc.

撮像部6aは、車両1の前方部分に設けられた、車両1の前方を撮像するカメラである。撮像部6bは、車両1の後方部分に設けられた、車両1の後方を撮像するカメラである。撮像部6aおよび撮像部6bは、後述するように、他車両の位置、距離および速度等を検知することができるような単眼カメラまたはステレオカメラである。撮像部6aおよび撮像部6bは、例えば、車両1が自動運転を実行する上で周囲の状況を把握するために用いられる。なお、撮像部6aおよび撮像部6bのうち任意の撮像部を示す場合、または総称する場合、単に「撮像部6」と称するものとする。 The imaging unit 6a is a camera provided in the front part of the vehicle 1 and captures images of the area in front of the vehicle 1. The imaging unit 6b is a camera provided in the rear part of the vehicle 1 and captures images of the area behind the vehicle 1. As described below, the imaging units 6a and 6b are monocular cameras or stereo cameras that can detect the position, distance, speed, etc. of other vehicles. The imaging units 6a and 6b are used, for example, to grasp the surrounding situation when the vehicle 1 performs autonomous driving. Note that when referring to any imaging unit among the imaging units 6a and 6b, or when referring to them collectively, they will simply be referred to as "imaging unit 6".

ドアミラー7Lは、車体2の左側ドアの前方に取り付けられた、左後方を視認するための室外後写鏡である。ドラミラー7Rは、車体2の右側ドアの前方に取り付けられた、右後方を視認するための室外後写鏡である。なお、ドアミラー7Lおよびドアミラー7Rのうち任意のドアミラーを示す場合、または総称する場合、単に「ドアミラー7」と称するものとする。また、ドアミラーは、サイドミラー等とも呼称される場合がある。また、ドアミラー7の代わりに、車体2のボンネットの前方端に取り付けられるフェンダーミラーが設置されるものとしてもよい。 The door mirror 7L is an exterior rear-view mirror attached to the front of the left door of the vehicle body 2, for viewing the area to the left rear. The rear-view mirror 7R is an exterior rear-view mirror attached to the front of the right door of the vehicle body 2, for viewing the area to the right rear. Note that when referring to any of the door mirrors 7L and 7R, or when referring to them collectively, they will be referred to simply as "door mirror 7." Door mirrors may also be referred to as side mirrors, etc. Also, instead of the door mirror 7, a fender mirror attached to the front end of the hood of the vehicle body 2 may be installed.

後部座席8は、車両1の車室内後方側に設けられ、車両1の運転者以外の同乗者が着座するための座席である。 The rear seat 8 is provided at the rear of the vehicle interior and is a seat for passengers other than the driver of the vehicle 1.

ルームミラー9は、フロントガラスの上方側の天井に設置された、後方および後側方を視認するための室内後写鏡である。なお、ルームミラーは、バックミラー等とも呼称される。 The room mirror 9 is an interior rear-view mirror that is installed on the ceiling above the windshield and allows the driver to see behind and to the sides of the vehicle. The room mirror is also called a back mirror.

エンジンスイッチ10aは、運転者が車両1のエンジン始動時に操作するスイッチである。エンジンスイッチ10aは、イグニッションスイッチとも称される。運転者によるエンジンスイッチ10aの操作により、車両1がエンジン始動またはエンジン停止した状態となる。また、エンジンスイッチ10aの操作により、車両1に搭載された電子機器への電力供給等が制御される。 The engine switch 10a is a switch that the driver operates when starting the engine of the vehicle 1. The engine switch 10a is also called an ignition switch. When the driver operates the engine switch 10a, the vehicle 1 enters an engine start or engine stop state. In addition, the operation of the engine switch 10a controls the power supply to electronic devices installed in the vehicle 1.

自動運転切替スイッチ10bは、車両1の運転状態を自動運転または手動運転に切り替えるためのスイッチである。自動運転切替スイッチ10bは、「操作部」の一例である。 The automatic driving changeover switch 10b is a switch for switching the driving state of the vehicle 1 between automatic driving and manual driving. The automatic driving changeover switch 10b is an example of an "operation unit."

ハンドル11は、座席4の前方のダッシュボードに設置された車両1を操舵するためのステアリングホイールである。 The steering wheel 11 is a steering wheel for steering the vehicle 1 and is installed on the dashboard in front of the seat 4.

シフトレバー12は、運転者がシフトポジションを変更する時に操作するレバーである。シフトレバー12の可動範囲には、例えば、パーキングポジション、リバースポジション、ニュートラルポジション、およびドライブポジションが設けられている。シフトレバー12がパーキングポジションに位置する状態では、車両1のエンジンの動力が車輪3に伝達されない、いわゆる駐車状態となる。シフトレバー12がリバースポジションに位置する状態では、車両1は後退可能な状態となる。シフトレバー12がドライブポジションに位置する状態では、車両1は前進可能な状態となる。 The shift lever 12 is a lever that the driver operates when changing the shift position. The movable range of the shift lever 12 includes, for example, a parking position, a reverse position, a neutral position, and a drive position. When the shift lever 12 is in the parking position, the vehicle 1 is in a so-called parked state in which the power of the engine is not transmitted to the wheels 3. When the shift lever 12 is in the reverse position, the vehicle 1 is in a state in which it can move backward. When the shift lever 12 is in the drive position, the vehicle 1 is in a state in which it can move forward.

パーキングブレーキ13は、車両1のブレーキ機構の1つである。パーキングブレーキ13は、運転者が手動で車両1の移動を停止させるための手動式の制動機構である。パーキングブレーキ13がかけられた状態では、車両1の移動が停止された状態となり、駐車状態となる。また、パーキングブレーキ13が解除された状態では、車両1は移動可能な状態となる。なお、パーキングブレーキは、サイドブレーキとも呼称される。 The parking brake 13 is one of the brake mechanisms of the vehicle 1. The parking brake 13 is a manual braking mechanism that allows the driver to manually stop the movement of the vehicle 1. When the parking brake 13 is applied, the movement of the vehicle 1 is stopped and the vehicle is in a parked state. When the parking brake 13 is released, the vehicle 1 is able to move. The parking brake is also called a side brake.

ドアロック装置14は、車両1に設けられたドアをロック状態またはロック解除状態に切り替える装置である。例えば、車両1外部から車両1用の鍵等により車両1のドアがロック状態またはロック解除状態に切り替えられる。 The door lock device 14 is a device that switches the doors of the vehicle 1 between a locked state and an unlocked state. For example, the doors of the vehicle 1 can be switched between a locked state and an unlocked state from outside the vehicle 1 using a key for the vehicle 1 or the like.

表示装置15は、座席4の前方のダッシュボード等に設置されたLCD(Liquid Crystal Display:液晶ディスプレイ)、またはOELD(Organic Electro-Luminescent Display:有機ELディスプレイ)等の表示装置である。表示装置15は、道路案内、天気予報、運転支援表示、自動運転または手動運転に切り替わった旨の表示等の各種表示を行う。なお、表示装置15は、画像表示機能のほか、音声出力機能および入力機能等を有していてもよい。 The display device 15 is a display device such as an LCD (Liquid Crystal Display) or an OELD (Organic Electro-Luminescent Display) that is installed on the dashboard in front of the seat 4. The display device 15 displays various information such as road guidance, weather forecasts, driving assistance displays, and displays indicating that the vehicle has switched to automatic or manual driving. The display device 15 may have an image display function as well as an audio output function and an input function.

なお、表示装置15の音声出力機能は、スピーカ19により実現されるものとしてもよい。また、表示装置15は、ユーザによる操作入力を受け付ける入力機能を備えた、タッチパネルとして構成されるものとしてもよい。また、表示装置15は、位置情報取得機能、および地図情報を用いた経路探索機能を有するナビゲーション装置を含んでもよい。 The audio output function of the display device 15 may be realized by the speaker 19. The display device 15 may also be configured as a touch panel having an input function for accepting operational input by the user. The display device 15 may also include a navigation device having a location information acquisition function and a route search function using map information.

スピーカ19は、音声を出力する装置である。例えば、スピーカ19は、自動運転または手動運転に切り替わった旨の音声、運転支援用の運転指示の音声等を出力する。 The speaker 19 is a device that outputs audio. For example, the speaker 19 outputs audio indicating that the driving mode has switched to automatic or manual driving, audio of driving instructions for driving assistance, etc.

車両制御装置20は、車両1の各種動作の制御を司るECU(Electronic Control Unit)、またはOBU(On Board Unit)である。車両制御装置20は、例えば、運転制御機能および運転支援機能等を司るのみではなく、車両1全体として備えた各種機能に基づく動作を制御する装置である。 The vehicle control device 20 is an ECU (Electronic Control Unit) or an OBU (On Board Unit) that controls various operations of the vehicle 1. The vehicle control device 20 is a device that not only controls the driving control function and driving assistance function, for example, but also controls operations based on various functions provided in the vehicle 1 as a whole.

温度センサ21は、車両制御装置20の内部温度または周囲温度を検知するセンサである。温度センサ21は、例えば車両制御装置20の内部または近傍に設置される。温度センサ21は、「温度検出部」に相当する。なお、温度センサ21は、後述のCPU101がSoCである場合、SoCに内蔵されてもよい。 The temperature sensor 21 is a sensor that detects the internal temperature or the ambient temperature of the vehicle control device 20. The temperature sensor 21 is installed, for example, inside or near the vehicle control device 20. The temperature sensor 21 corresponds to a "temperature detection unit." Note that, if the CPU 101 described below is a SoC, the temperature sensor 21 may be built into the SoC.

(車両制御装置のハードウェア構成)
図2は、第1の実施形態に係る車両制御装置のハードウェア構成の一例を示す図である。図2を参照しながら、本実施形態に係る車両制御装置20のハードウェア構成について説明する。
(Hardware configuration of the vehicle control device)
2 is a diagram showing an example of a hardware configuration of the vehicle control device according to the first embodiment. The hardware configuration of the vehicle control device 20 according to the present embodiment will be described with reference to FIG.

図2に示すように、車両制御装置20は、CPU(Central Processing Unit)101と、RAM(Random Access Memory)102と、ROM(Read Only Memory)103と、撮像I/F104と、表示I/F105と、GPS(Global Positioning System) I/F106と、車速I/F107と、通信I/F108と、音声I/F109と、入力I/F110と、センサI/F111と、を備える。CPU101、RAM102、ROM103、撮像I/F104、表示I/F105、GPS I/F106、車速I/F107、通信I/F108、音声I/F109、入力I/F110およびセンサI/F111は、バス112を介してデータ通信が可能となるように互いに接続されている。なお、バス112は、図2に示すように、すべての構成要素が接続されている形態に限定されず、例えばCPU101に対してそれぞれの構成要素がバスで接続されていてもよい。 As shown in FIG. 2, the vehicle control device 20 includes a CPU (Central Processing Unit) 101, a RAM (Random Access Memory) 102, a ROM (Read Only Memory) 103, an imaging I/F 104, a display I/F 105, a GPS (Global Positioning System) I/F 106, a vehicle speed I/F 107, a communication I/F 108, an audio I/F 109, an input I/F 110, and a sensor I/F 111. The CPU 101, RAM 102, ROM 103, imaging I/F 104, display I/F 105, GPS I/F 106, vehicle speed I/F 107, communication I/F 108, audio I/F 109, input I/F 110, and sensor I/F 111 are connected to one another so as to enable data communication via a bus 112. Note that the bus 112 is not limited to a form in which all components are connected as shown in FIG. 2, and each component may be connected to the CPU 101 via a bus, for example.

CPU101は、車両制御装置20全体の制御を司る演算装置である。RAM102は、CPU101による処理のワークエリアとなる揮発性の記憶装置である。ROM103は、車両制御装置20の制御プログラムおよび各種データ等を記憶する不揮発性の記憶装置である。 The CPU 101 is a calculation device that controls the entire vehicle control device 20. The RAM 102 is a volatile storage device that serves as a work area for processing by the CPU 101. The ROM 103 is a non-volatile storage device that stores the control program and various data of the vehicle control device 20.

なお、CPU101は、MPU(Micro Processing unit)、MCU(Micro Controller Unit)およびSoC(System on a Chip)等を含む概念である。CPU101は、MPU、MCU、およびSoCのうち2つ以上を含んでもよい。 The concept of CPU101 includes a micro processing unit (MPU), a micro controller unit (MCU), and a system on a chip (SoC). CPU101 may include two or more of an MPU, an MCU, and a SoC.

撮像I/F104は、撮像部6aおよび撮像部6bにより撮像された撮像画像を受信するためのインターフェースである。撮像I/F104は、撮像部6aおよび撮像部6bで撮像された撮像画像をフレーム画像として連続的に受信することにより動画像として取得する。 The imaging I/F 104 is an interface for receiving images captured by the imaging units 6a and 6b. The imaging I/F 104 continuously receives the images captured by the imaging units 6a and 6b as frame images, thereby acquiring them as a moving image.

表示I/F105は、表示装置15に対して各種表示データを送信するためのインターフェースである。 The display I/F 105 is an interface for transmitting various display data to the display device 15.

GPS I/F106は、車両1に設置されたGPSセンサ16により受信された位置情報を受信するためのインターフェースである。GPSセンサ16により受信された位置情報とは、例えばGPS信号である。車速I/F107は、車両1の車速を検知する車速センサ17から速度情報を受信するためのインターフェースである。車速センサ17は、例えば車輪3の付近に設置され、車輪3の回転速度または回転数を示す車速パルスを生成する。 The GPS I/F 106 is an interface for receiving position information received by a GPS sensor 16 installed in the vehicle 1. The position information received by the GPS sensor 16 is, for example, a GPS signal. The vehicle speed I/F 107 is an interface for receiving speed information from a vehicle speed sensor 17 that detects the vehicle speed of the vehicle 1. The vehicle speed sensor 17 is installed, for example, near the wheels 3, and generates a vehicle speed pulse that indicates the rotational speed or number of rotations of the wheels 3.

通信I/F108は、車両1に設置された通信装置18とデータを送受信するためのインターフェースである。通信装置18は、サーバ等の外部装置と無線通信によりデータ通信を行う。これによって、通信I/F108は、通信装置18を介して、外部装置とデータ通信を行うことができる。 The communication I/F 108 is an interface for transmitting and receiving data to and from a communication device 18 installed in the vehicle 1. The communication device 18 performs data communication with an external device such as a server via wireless communication. This allows the communication I/F 108 to perform data communication with the external device via the communication device 18.

音声I/F109は、車両1に設置されたスピーカ19に対して音声データを出力するためのインターフェースである。 The audio I/F 109 is an interface for outputting audio data to a speaker 19 installed in the vehicle 1.

入力I/F110は、各種の入力装置からの入力データおよび操作信号等を車両制御装置20に入力するためのインターフェースである。例えば、入力I/F110には、自動運転切替スイッチ10bが接続されており、入力I/F110は、自動運転切替スイッチ10bから自動運転または手動運転への切り替え指令を受信するためのインターフェースである。 The input I/F 110 is an interface for inputting input data and operation signals from various input devices to the vehicle control device 20. For example, the automatic driving changeover switch 10b is connected to the input I/F 110, and the input I/F 110 is an interface for receiving a command to switch to automatic driving or manual driving from the automatic driving changeover switch 10b.

センサI/F111は、車両1に配置された各種のセンサからの検出信号または検出データを車両制御装置20に入力するためのインターフェースである。例えば、センサI/F111には、温度センサ21が接続されており、センサI/F111は、温度センサ21により検知された、車両制御装置20の内部温度または周囲温度を車両制御装置20に入力する。 The sensor I/F 111 is an interface for inputting detection signals or detection data from various sensors arranged in the vehicle 1 to the vehicle control device 20. For example, a temperature sensor 21 is connected to the sensor I/F 111, and the sensor I/F 111 inputs the internal temperature or ambient temperature of the vehicle control device 20 detected by the temperature sensor 21 to the vehicle control device 20.

なお、図2に示した車両制御装置20のハードウェア構成は一例を示すものであり、図2に示した構成要素を全て含む必要はなく、または、その他の構成要素を含むものとしてもよい。 Note that the hardware configuration of the vehicle control device 20 shown in FIG. 2 is an example, and it is not necessary to include all of the components shown in FIG. 2, or it may include other components.

(車両制御装置の機能ブロックの構成および動作)
図3は、第1の実施形態に係る車両制御装置の機能ブロックの構成の一例を示す図である。図4は、第1の実施形態に係る車両制御装置の機能ブロックの構成の別の例を示す図である。図3および図4を参照しながら、本実施形態に係る車両制御装置20の機能ブロックの構成および動作について説明する。
(Configuration and operation of functional blocks of vehicle control device)
Fig. 3 is a diagram showing an example of the configuration of functional blocks of the vehicle control device according to the first embodiment. Fig. 4 is a diagram showing another example of the configuration of functional blocks of the vehicle control device according to the first embodiment. The configuration and operation of the functional blocks of the vehicle control device 20 according to this embodiment will be described with reference to Figs. 3 and 4.

図3に示すように、車両制御装置20は、スイッチ検出部201と、制御要求部202と、書き換え管理部203と、実行部204と、出力制御部205と、を有する。 As shown in FIG. 3, the vehicle control device 20 has a switch detection unit 201, a control request unit 202, a rewrite management unit 203, an execution unit 204, and an output control unit 205.

スイッチ検出部201は、自動運転切替スイッチ10bから手動運転から自動運転への切り替え指令、または自動運転から手動運転への切り替え指令を検出する機能部である。スイッチ検出部201は、「検出部」に相当する。スイッチ検出部201は、例えば、図2に示す入力I/F110およびCPU101によりプログラムが実行されることによって実現される。 The switch detection unit 201 is a functional unit that detects a command to switch from manual operation to automatic operation, or a command to switch from automatic operation to manual operation, from the automatic operation changeover switch 10b. The switch detection unit 201 corresponds to a "detection unit." The switch detection unit 201 is realized, for example, by the input I/F 110 and the CPU 101 shown in FIG. 2 executing a program.

なお、スイッチ検出部201により検出される自動運転または手動運転への切り替え指令は、自動運転切替スイッチ10bから検出されることに限定されるものではなく、例えば、所定のイベントの発生に基づいて検出されるものとしてもよい。自動運転から手動運転への切り替えについては、例えば、車両制御装置20内の動作に不具合が生じた場合、または車両1の運転動作に障害が発生した場合等に、スイッチ検出部201により切り替え指令として検出されるものとしてもよい。また、手動運転から自動運転への切り替えについては、例えば、手動運転によらずに危険回避する必要がある事象が発生した場合、または運転者の居眠りもしくは異常が検知された場合等に、スイッチ検出部201により切り替え指令として検出されるものとしてもよい。 The command to switch to automatic or manual driving detected by the switch detection unit 201 is not limited to being detected from the automatic driving changeover switch 10b, and may be detected, for example, based on the occurrence of a specified event. The switch detection unit 201 may detect the switch command when, for example, a malfunction occurs in the operation of the vehicle control device 20 or a fault occurs in the driving operation of the vehicle 1. The switch detection unit 201 may detect the switch command when, for example, an event occurs that requires risk avoidance without manual driving, or when the driver is dozing or an abnormality is detected.

制御要求部202は、スイッチ検出部201により検出された切り替え指令に基づいて、ソフトウェアの更新の抑制制御、および自動運転の開始・終了制御を行う機能部である。ソフトウェアは、例えば自動運転機能、運転支援機能、およびこれらの機能以外の機能を実現するためのプログラムおよびデータであり、ROM103にインストールされる。制御要求部202は、図3に示すように、抑制要求部2021と、自動運転制御要求部2022と、通知制御部2023と、を有する。制御要求部202は、例えば、図2に示すCPU101によりプログラムが実行されることによって実現される。 The control request unit 202 is a functional unit that performs suppression control of software updates and control of the start and end of autonomous driving based on the switching command detected by the switch detection unit 201. The software is, for example, a program and data for realizing an autonomous driving function, a driving assistance function, and functions other than these functions, and is installed in the ROM 103. As shown in FIG. 3, the control request unit 202 has a suppression request unit 2021, an autonomous driving control request unit 2022, and a notification control unit 2023. The control request unit 202 is realized, for example, by the CPU 101 shown in FIG. 2 executing a program.

抑制要求部2021は、スイッチ検出部201により手動運転から自動運転への切り替え指令が検出された場合、書き換え管理部203に対してソフトウェアの更新を抑制するための更新抑制要求を送る機能部である。 The suppression request unit 2021 is a functional unit that sends an update suppression request to the rewrite management unit 203 to suppress software updates when the switch detection unit 201 detects a command to switch from manual operation to automatic operation.

自動運転制御要求部2022は、抑制要求部2021が、更新抑制要求に応じて、書き換え管理部203からソフトウェアの更新が抑制された旨を示す旨の応答を受けた場合に、実行部204に対して自動運転の開始を要求するための自動運転開始要求を送る機能部である。ソフトウェアの更新が抑制された旨を示す応答とは、実行部204がソフトウェアの更新中であった場合には、例えば、書き換え管理部203がソフトウェアの更新を開始しない、および、実行部204にソフトウェアの更新を中断させた旨の応答である。また、ソフトウェアの更新が抑制された旨を示す応答とは、実行部204がソフトウェアの更新中でない場合には、例えば、書き換え管理部203がソフトウェアの更新を開始しない旨の応答である。自動運転制御要求部2022は、「運転制御部」に相当する。 The automatic driving control request unit 2022 is a functional unit that sends an automatic driving start request to the execution unit 204 to request the start of automatic driving when the suppression request unit 2021 receives a response from the rewrite management unit 203 in response to the update suppression request indicating that the software update has been suppressed. The response indicating that the software update has been suppressed is, for example, a response that the rewrite management unit 203 will not start the software update and that the execution unit 204 has interrupted the software update when the execution unit 204 is updating the software. Also, the response indicating that the software update has been suppressed is, for example, a response that the rewrite management unit 203 will not start the software update when the execution unit 204 is not updating the software. The automatic driving control request unit 2022 corresponds to a "driving control unit".

通知制御部2023は、自動運転制御要求部2022が、自動運転開始要求に対して実行部204から自動運転が開始された旨の応答を受けた場合、自動運転が開始された旨を出力制御部205へ通知する機能部である。 The notification control unit 2023 is a functional unit that notifies the output control unit 205 that autonomous driving has started when the autonomous driving control request unit 2022 receives a response from the execution unit 204 in response to an autonomous driving start request that autonomous driving has started.

書き換え管理部203は、通信装置18を介して外部サーバからソフトウェア更新のためのモジュールを受信した場合、実行部204における当該ソフトウェアの更新処理を制御する機能部である。また、書き換え管理部203は、抑制要求部2021から更新抑制要求を受けた場合、実行部204に対して、ソフトウェアの更新中の場合には中断させるための更新制御指令を送る。書き換え管理部203は、例えば、図2に示す通信I/F108、およびCPU101によりプログラムが実行されることによって実現される。 The rewrite management unit 203 is a functional unit that controls the update process of the software in the execution unit 204 when a module for software update is received from an external server via the communication device 18. Furthermore, when the rewrite management unit 203 receives an update suppression request from the suppression request unit 2021, it sends an update control command to the execution unit 204 to interrupt a software update if one is in progress. The rewrite management unit 203 is realized, for example, by the communication I/F 108 shown in FIG. 2 and a program executed by the CPU 101.

実行部204は、自動運転制御要求部2022からの自動運転開始要求に応じて、自動運転を開始し、自動運転制御を実行する機能部である。また、実行部204は、書き換え管理部203による制御により、ソフトウェア更新のためのモジュールをROM103へ書き込む。また、実行部204は、ソフトウェアの更新中の場合には更新を中断させるための更新制御指令を書き換え管理部203から受けた場合、ソフトウェアの更新中の場合にはROM103への書き込み処理を中断し、書き換え管理部203は、更新を開始しないように自身の状態を制御する。また、書き換え管理部203は、ソフトウェアの更新中ではない場合には、ソフトウェアの更新を開始しないように自身の状態を制御する。実行部204は、例えば、図2に示すCPU101によりプログラムが実行されることによって実現される。なお、図3では、1つの実行部204が示されているが、これに限定されず、複数の実行部204が備えられてもよい。この場合、複数の実行部204のうち、少なくとも1つの実行部204は、自動運転制御要求部2022からの自動運転開始要求に応じて、自動運転を開始し、自動運転制御を実行する。 The execution unit 204 is a functional unit that starts automatic driving and executes automatic driving control in response to an automatic driving start request from the automatic driving control request unit 2022. The execution unit 204 also writes a module for software update to the ROM 103 under the control of the rewrite management unit 203. When the execution unit 204 receives an update control command from the rewrite management unit 203 to interrupt the update while the software is being updated, the execution unit 204 interrupts the writing process to the ROM 103 while the software is being updated, and the rewrite management unit 203 controls its own state so as not to start the update. When the software is not being updated, the rewrite management unit 203 controls its own state so as not to start the software update. The execution unit 204 is realized, for example, by the CPU 101 shown in FIG. 2 executing a program. Note that, although one execution unit 204 is shown in FIG. 3, this is not limited thereto, and multiple execution units 204 may be provided. In this case, at least one of the multiple execution units 204 starts autonomous driving and executes autonomous driving control in response to an autonomous driving start request from the autonomous driving control request unit 2022.

出力制御部205は、通知制御部2023から自動運転が開始された旨の通知を受けた場合、表示装置15に当該通知を表示させること、およびスピーカ19に当該通知を音声出力させること、の少なくとも一方を行う。出力制御部205は、例えば、図2に示すCPU101によりプログラムが実行されることによって実現される。表示装置15およびスピーカ19は、「出力装置」の一例である。 When the output control unit 205 receives a notification from the notification control unit 2023 that autonomous driving has started, the output control unit 205 at least one of the following: displays the notification on the display device 15, and outputs the notification as audio from the speaker 19. The output control unit 205 is realized, for example, by the CPU 101 shown in FIG. 2 executing a program. The display device 15 and the speaker 19 are examples of an "output device".

なお、表示装置15による当該通知の表示、およびスピーカ19による当該通知の音声出力のうち、少なくとも表示装置15による当該通知の表示が行われることが望ましい。スピーカ19による音声出力については、運転者が聞き逃す可能性があるが、表示装置15による表示については、継続的に運転者に対して自動運転の開始を伝達し続けることができる。 Of the two, display of the notification by the display device 15 and audio output of the notification by the speaker 19, it is desirable that at least the notification be displayed by the display device 15. There is a possibility that the driver may miss the audio output by the speaker 19, but the display by the display device 15 can continuously inform the driver that autonomous driving has started.

また、図3に示す車両制御装置20の各機能部は、機能を概念的に示したものであって、このような構成に限定されるものではない。例えば、図3に示す車両制御装置20で独立した機能部として図示した複数の機能部を、1つの機能部として構成してもよい。一方、図3に示す車両制御装置20で1つの機能部が有する機能を複数に分割し、複数の機能部として構成するものとしてもよい。 Furthermore, each functional unit of the vehicle control device 20 shown in FIG. 3 is a conceptual representation of the function, and is not limited to this configuration. For example, multiple functional units illustrated as independent functional units in the vehicle control device 20 shown in FIG. 3 may be configured as a single functional unit. On the other hand, the function of a single functional unit in the vehicle control device 20 shown in FIG. 3 may be divided into multiple functions and configured as multiple functional units.

また、図3では、車両制御装置20が1つのECUによって構成される場合のブロック構成を示したが、これに限定されるものではなく、車両制御装置20の機能が複数のECUによって実現されてもよい。例えば、図4に示すように、3つのECUである車両制御装置20a~20cによって車両制御装置20と同等の機能が実現されてもよい。図4に示す例では、車両制御装置20a、車両制御装置20bおよび車両制御装置20cが有機的に共同して1つの制御システムを構成している。図4に示す例では、車両制御装置20aは、スイッチ検出部201と、制御要求部202と、出力制御部205と、を含み、車両制御装置20bは、書き換え管理部203を含み、車両制御装置20cは、実行部204を含む。車両制御装置20a~20cは、例えば、互いにCAN(Controller Area Network)通信等によりデータおよび信号を送受信する。なお、制御システムは、複数の車両制御装置が含まれたシステムであることに限定されるものではなく、図4に示す車両制御装置20a~20cそれぞれ、および図3に示すような1つの車両制御装置20についても、制御システムの概念に含むものとする。 In addition, FIG. 3 shows a block configuration in which the vehicle control device 20 is configured by one ECU, but is not limited to this, and the functions of the vehicle control device 20 may be realized by multiple ECUs. For example, as shown in FIG. 4, the vehicle control devices 20a to 20c, which are three ECUs, may realize functions equivalent to those of the vehicle control device 20. In the example shown in FIG. 4, the vehicle control devices 20a, 20b, and 20c organically cooperate to configure one control system. In the example shown in FIG. 4, the vehicle control device 20a includes a switch detection unit 201, a control request unit 202, and an output control unit 205, the vehicle control device 20b includes a rewrite management unit 203, and the vehicle control device 20c includes an execution unit 204. The vehicle control devices 20a to 20c transmit and receive data and signals to each other, for example, by CAN (Controller Area Network) communication or the like. Note that the control system is not limited to being a system that includes multiple vehicle control devices, and the concept of a control system also includes each of the vehicle control devices 20a to 20c shown in FIG. 4, as well as a single vehicle control device 20 as shown in FIG. 3.

(制御要求部の動作の流れ)
図5は、第1の実施形態に係る車両制御装置の制御要求部の手動運転から自動運転に切り替える場合の動作の流れの一例を示すフローチャートである。図6は、第1の実施形態に係る車両制御装置の制御要求部の自動運転から手動運転に切り替える場合の動作の流れの一例を示すフローチャートである。まず、図5を参照しながら、車両制御装置20の制御要求部202について手動運転から自動運転に切り替える際の動作について説明する。
(Operation flow of the control request unit)
Fig. 5 is a flowchart showing an example of an operation flow when switching from manual driving to automatic driving of the control request unit of the vehicle control device according to the first embodiment. Fig. 6 is a flowchart showing an example of an operation flow when switching from automatic driving to manual driving of the control request unit of the vehicle control device according to the first embodiment. First, with reference to Fig. 5, an operation of the control request unit 202 of the vehicle control device 20 when switching from manual driving to automatic driving will be described.

<ステップS11>
スイッチ検出部201により、自動運転切替スイッチ10bから手動運転から自動運転への切り替え指令が検出された場合(ステップS11:Yes)、ステップS12へ移行し、検出されない場合(ステップS11:No)、切り替え指令が検出されるまで待機する。手動運転から自動運転への切り替え指令は、「第1切り替え指令」に相当する。
<Step S11>
If the switch detection unit 201 detects a command to switch from manual operation to automatic operation from the automatic operation changeover switch 10b (step S11: Yes), the process proceeds to step S12, and if not (step S11: No), the process waits until a switch command is detected. The command to switch from manual operation to automatic operation corresponds to a "first switch command."

<ステップS12>
制御要求部202の抑制要求部2021は、書き換え管理部203に対してソフトウェアの更新を抑制するための更新抑制要求を送る。そして、ステップS13へ移行する。
<Step S12>
The suppression request unit 2021 of the control request unit 202 sends an update suppression request for suppressing software updates to the rewrite management unit 203. Then, the process proceeds to step S13.

<ステップS13>
抑制要求部2021が、書き換え管理部203から、ソフトウェアの更新が抑制された旨を示す、更新抑制要求に対する肯定応答を受けた場合(ステップS13:Yes)、ステップS14へ移行し、肯定応答を受けていない場合(ステップS13:No)、肯定応答を受けるまで待機する。更新抑制要求に対する肯定応答は、「第1応答」に相当する。当該第1応答は、書き換え管理部203が、ソフトウェアの更新を開始しない旨の応答、および、少なくとも1つの実行部204において、ソフトウェアの更新を中断させた旨の応答の少なくとも一方を含む。
<Step S13>
When the suppression request unit 2021 receives a positive response to the update suppression request from the rewrite management unit 203 indicating that the software update has been suppressed (step S13: Yes), the suppression request unit 2021 proceeds to step S14, and when the positive response has not been received (step S13: No), the suppression request unit 2021 waits until the positive response is received. The positive response to the update suppression request corresponds to a "first response." The first response includes at least one of a response that the rewrite management unit 203 will not start the software update and a response that at least one execution unit 204 has interrupted the software update.

<ステップS14>
車両制御装置20の自動運転制御要求部2022は、実行部204に対して自動運転の開始を要求するための自動運転開始要求を送る。そして、ステップS15へ移行する。
<Step S14>
The autonomous driving control request unit 2022 of the vehicle control device 20 sends an autonomous driving start request to the execution unit 204 to request the start of autonomous driving. Then, the process proceeds to step S15.

<ステップS15>
自動運転制御要求部2022が、自動運転開始要求に対して実行部204から自動運転が開始された旨を示す肯定応答を受けた場合(ステップS15:Yes)、ステップS16へ移行し、肯定応答を受けていない場合(ステップS15:No)、肯定応答を受けるまで待機する。実行部204からの自動運転が開始された旨を示す肯定応答は、「第2応答」に相当する。
<Step S15>
When the autonomous driving control request unit 2022 receives an affirmative response from the execution unit 204 in response to the autonomous driving start request, indicating that autonomous driving has started (step S15: Yes), the autonomous driving control request unit 2022 proceeds to step S16, and when an affirmative response has not been received (step S15: No), the autonomous driving control request unit 2022 waits until an affirmative response is received. The affirmative response from the execution unit 204 indicating that autonomous driving has started corresponds to a "second response."

<ステップS16>
車両制御装置20の通知制御部2023は、自動運転が開始された旨を出力制御部205へ通知する。そして、制御要求部202の処理を終了する。
<Step S16>
The notification control unit 2023 of the vehicle control device 20 notifies the output control unit 205 that the autonomous driving has started. Then, the processing of the control request unit 202 ends.

以上のステップS11~S16の流れで、制御要求部202において手動運転から自動運転に切り替える際の動作が行われる。 The above steps S11 to S16 are the flow of operations performed by the control request unit 202 when switching from manual operation to automatic operation.

次に、図6を参照しながら、車両制御装置20の制御要求部202について自動運転から手動運転に切り替える際の動作について説明する。 Next, with reference to FIG. 6, the operation of the control request unit 202 of the vehicle control device 20 when switching from automatic driving to manual driving will be described.

<ステップS21>
スイッチ検出部201により、自動運転切替スイッチ10bから自動運転から手動運転への切り替え指令が検出された場合(ステップS21:Yes)、ステップS22へ移行し、検出されない場合(ステップS21:No)、切り替え指令が検出されるまで待機する。自動運転から手動運転への切り替え指令は、「第2切り替え指令」に相当する。
<Step S21>
If the switch detection unit 201 detects a command to switch from automatic operation to manual operation from the automatic operation changeover switch 10b (step S21: Yes), the process proceeds to step S22, and if not (step S21: No), the process waits until a switch command is detected. The command to switch from automatic operation to manual operation corresponds to a "second switch command."

<ステップS22>
自動運転制御要求部2022は、実行部204に対して自動運転の終了を要求するための自動運転終了要求を送る。そして、ステップS23へ移行する。
<Step S22>
The autonomous driving control request unit 2022 sends an autonomous driving end request to the execution unit 204 to request the end of autonomous driving. Then, the process proceeds to step S23.

<ステップS23>
自動運転制御要求部2022が、自動運転終了要求に対して実行部204から自動運転が終了された旨を示す肯定応答を受けた場合(ステップS23:Yes)、ステップS24へ移行し、肯定応答を受けていない場合(ステップS23:No)、肯定応答を受けるまで待機する。実行部204からの自動運転が終了された旨を示す肯定応答は、「第4応答」に相当する。
<Step S23>
When the autonomous driving control request unit 2022 receives an affirmative response from the execution unit 204 to the autonomous driving end request indicating that autonomous driving has been ended (step S23: Yes), the autonomous driving control request unit 2022 proceeds to step S24, and when an affirmative response has not been received (step S23: No), the autonomous driving control request unit 2022 waits until an affirmative response is received. The affirmative response from the execution unit 204 indicating that autonomous driving has been ended corresponds to a "fourth response".

<ステップS24>
通知制御部2023は、自動運転が終了された旨を出力制御部205へ通知する。そして、ステップS25へ移行する。
<Step S24>
The notification control unit 2023 notifies the output control unit 205 that the autonomous driving has ended. Then, the process proceeds to step S25.

<ステップS25>
抑制要求部2021は、書き換え管理部203に対してソフトウェアの更新の抑制を解除するための更新抑制解除要求を送る。そして、ステップS26へ移行する。
<Step S25>
The suppression request unit 2021 sends an update suppression release request for releasing the suppression of software updates to the rewrite management unit 203. Then, the process proceeds to step S26.

<ステップS26>
抑制要求部2021が、書き換え管理部203から実行部204に対してソフトウェアの更新を中断したことまたは更新を開始しないことを解除した旨を示す、更新抑制解除要求に対する肯定応答を受けた場合(ステップS26:Yes)、処理を終了し、肯定応答を受けていない場合(ステップS26:No)、肯定応答を受けるまで待機する。
<Step S26>
If the suppression request unit 2021 receives a positive response to the update suppression cancellation request from the rewrite management unit 203 indicating to the execution unit 204 that the software update has been suspended or that the suppression of starting the update has been cancelled (step S26: Yes), the suppression request unit 2021 terminates the processing, and if a positive response has not been received (step S26: No), the suppression request unit 2021 waits until a positive response is received.

以上のステップS21~S26の流れで、制御要求部202において自動運転から手動運転に切り替える際の動作が行われる。 The above steps S21 to S26 are the flow of operations performed by the control request unit 202 when switching from automatic operation to manual operation.

(書き換え管理部の動作の流れ)
図7は、第1の実施形態に係る車両制御装置の書き換え管理部の手動運転から自動運転に切り替える場合の動作の流れの一例を示すフローチャートである。図8は、第1の実施形態に係る車両制御装置の書き換え管理部の自動運転から手動運転に切り替える場合の動作の流れの一例を示すフローチャートである。まず、図7を参照しながら、車両制御装置20の書き換え管理部203について手動運転から自動運転に切り替える際の動作について説明する。
(Operation flow of the rewrite management unit)
Fig. 7 is a flowchart showing an example of an operation flow when switching from manual driving to autonomous driving of the rewrite management unit of the vehicle control device according to the first embodiment. Fig. 8 is a flowchart showing an example of an operation flow when switching from autonomous driving to manual driving of the rewrite management unit of the vehicle control device according to the first embodiment. First, with reference to Fig. 7, the operation of the rewrite management unit 203 of the vehicle control device 20 when switching from manual driving to autonomous driving will be described.

<ステップS31>
書き換え管理部203が、抑制要求部2021から更新抑制要求を受けた場合(ステップS31:Yes)、ステップS32へ移行し、更新抑制要求を受けていない場合(ステップS31:No)、更新抑制要求を受けるまで待機する。
<Step S31>
If the rewrite management unit 203 receives an update suppression request from the suppression request unit 2021 (step S31: Yes), the rewrite management unit 203 proceeds to step S32, and if the update suppression request has not been received (step S31: No), the rewrite management unit 203 waits until an update suppression request is received.

<ステップS32>
書き換え管理部203により、実行部204においてソフトウェアの更新中であることが確認された場合(ステップS32:Yes)、ステップS33へ移行し、ソフトウェアの更新中でないことが確認された場合(ステップS32:No)、ステップS35へ移行する。
<Step S32>
If the rewrite management unit 203 confirms that the software is being updated in the execution unit 204 (step S32: Yes), the process proceeds to step S33, and if the rewrite management unit 203 confirms that the software is not being updated (step S32: No), the process proceeds to step S35.

<ステップS33>
書き換え管理部203は、実行部204に対して、ソフトウェアの更新を中断させるための更新制御指令を送る。そして、ステップS34へ移行する。
<Step S33>
The rewrite management unit 203 sends an update control command to the execution unit 204 to interrupt the software update, and then the process proceeds to step S34.

<ステップS34>
書き換え管理部203が、実行部204からソフトウェアの更新の中断がされた旨を示す肯定応答を受けた場合(ステップS34:Yes)、ステップS35へ移行し、肯定応答を受けていない場合(ステップS34:No)、肯定応答を受けるまで待機する。実行部204からのソフトウェアの更新の中断がされた旨を示す肯定応答は、「第3応答」に相当する。
<Step S34>
If the rewrite management unit 203 receives an affirmative response from the execution unit 204 indicating that the software update has been interrupted (step S34: Yes), the rewrite management unit 203 proceeds to step S35, and if an affirmative response has not been received (step S34: No), the rewrite management unit 203 waits until an affirmative response is received. The affirmative response from the execution unit 204 indicating that the software update has been interrupted corresponds to the "third response."

<ステップS35>
書き換え管理部203は、実行部204へのソフトウェアの更新を内部で制御するための更新フラグを「不可」に設定する。そして、ステップS36へ移行する。
<Step S35>
The rewrite management unit 203 sets an update flag for internally controlling software updates to the execution unit 204 to "not allowed," and then the process proceeds to step S36.

<ステップS36>
書き換え管理部203は、ソフトウェアの更新が抑制された旨を示す、更新抑制要求に対する肯定応答を、抑制要求部2021へ送る。そして、書き換え管理部203の処理を終了する。
<Step S36>
The rewrite management unit 203 sends an affirmative response to the update suppression request, indicating that the software update has been suppressed, to the suppression request unit 2021. Then, the processing of the rewrite management unit 203 ends.

以上のステップS31~S36の流れで、書き換え管理部203において手動運転から自動運転に切り替える際の動作が行われる。 The above steps S31 to S36 are the flow of operations performed by the rewrite management unit 203 when switching from manual operation to automatic operation.

次に、図8を参照しながら、車両制御装置20の書き換え管理部203について自動運転から手動運転に切り替える際の動作について説明する。 Next, with reference to FIG. 8, the operation of the rewrite management unit 203 of the vehicle control device 20 when switching from automatic driving to manual driving will be described.

<ステップS41>
書き換え管理部203が、抑制要求部2021から更新抑制解除要求を受けた場合(ステップS41:Yes)、ステップS42へ移行し、更新抑制解除要求を受けていない場合(ステップS41:No)、更新抑制解除要求を受けるまで待機する。
<Step S41>
If the rewrite management unit 203 receives an update suppression release request from the suppression request unit 2021 (step S41: Yes), it proceeds to step S42, and if the update suppression release request has not been received (step S41: No), it waits until it receives an update suppression release request.

<ステップS42>
書き換え管理部203は、実行部204へのソフトウェアの更新を内部で制御するための更新フラグを「可」に設定する。なお、実行部204におけるソフトウェアの更新処理の負荷が大きいため、ソフトウェアの更新処理時にはCPU101の温度の上昇が見込まれる。例えば、書き換え管理部203は、更新抑制解除要求を受けたとしても、温度センサ21からセンサI/F111を介して取得した車両制御装置20の内部温度または周囲温度が所定の閾値よりも高い場合には、更新フラグを「不可」に設定することにより、ソフトウェアの更新を開始または再開させなくてもよい。あるいは、書き換え管理部203は、更新フラグを「可」に設定していても、当該内部温度または周囲温度が所定の閾値よりも高い場合には、ソフトウェアの更新を開始または再開させなくてもよい。これによって、CPU101の更新処理による温度上昇に伴う、CPU101の周波数制限等の不具合の発生を抑制することができる。周波数制限とは、具体的には以下の通りである。CPU101は、処理量の増加に伴う発熱を、処理周波数を低下させることによって抑える場合がある。このとき、処理周波数が低下することにより、CPU101の処理速度の低下につながる場合がある。そして、ステップS43へ移行する。
<Step S42>
The rewrite management unit 203 sets an update flag for internally controlling software updates to the execution unit 204 to "OK". Since the load of the software update process in the execution unit 204 is large, the temperature of the CPU 101 is expected to rise during the software update process. For example, even if the rewrite management unit 203 receives an update suppression release request, if the internal temperature or the ambient temperature of the vehicle control device 20 acquired from the temperature sensor 21 via the sensor I/F 111 is higher than a predetermined threshold, the rewrite management unit 203 may not start or resume the software update by setting the update flag to "NO". Alternatively, even if the rewrite management unit 203 sets the update flag to "OK", if the internal temperature or the ambient temperature is higher than a predetermined threshold. This makes it possible to suppress the occurrence of malfunctions such as frequency restrictions of the CPU 101 due to the temperature rise caused by the update process of the CPU 101. Specifically, the frequency restrictions are as follows. The CPU 101 may suppress heat generation due to an increase in the amount of processing by lowering the processing frequency. At this time, a decrease in the processing frequency may lead to a decrease in the processing speed of the CPU 101. Then, the process proceeds to step S43.

<ステップS43>
書き換え管理部203は、ソフトウェアの更新が抑制された旨を示す、更新抑制解除要求に対する肯定応答を、抑制要求部2021へ送る。そして、書き換え管理部203の処理を終了する。
<Step S43>
The rewrite management unit 203 sends an affirmative response to the update suppression release request, indicating that the software update has been suppressed, to the suppression request unit 2021. Then, the processing of the rewrite management unit 203 ends.

以上のステップS41~S43の流れで、書き換え管理部203において自動運転から手動運転に切り替える際の動作が行われる。 The above steps S41 to S43 are followed by the rewrite management unit 203 to perform the operation when switching from automatic to manual operation.

(実行部の動作の流れ)
図9は、第1の実施形態に係る車両制御装置の実行部のソフトウェア更新動作の流れの一例を示すフローチャートである。図10は、第1の実施形態に係る車両制御装置の実行部の自動・手動切替動作の流れの一例を示すフローチャートである。まず、図9を参照しながら、車両制御装置20の実行部204におけるソフトウェアの更新動作について説明する。
(Flow of operations of the execution unit)
Fig. 9 is a flowchart showing an example of a flow of a software update operation of the execution unit of the vehicle control device according to the first embodiment. Fig. 10 is a flowchart showing an example of a flow of an automatic/manual switching operation of the execution unit of the vehicle control device according to the first embodiment. First, the software update operation in the execution unit 204 of the vehicle control device 20 will be described with reference to Fig. 9.

<ステップS51>
実行部204においてソフトウェアの更新中である場合(ステップS51:Yes)、ステップS52へ移行し、更新中でない場合(ステップS51:No)、ステップS57へ移行する。
<Step S51>
If the execution unit 204 is currently updating software (step S51: Yes), the process proceeds to step S52, and if the execution unit 204 is not currently updating software (step S51: No), the process proceeds to step S57.

<ステップS52>
実行部204が、自動運転制御要求部2022から自動運転開始要求を受けた場合(ステップS52:Yes)、ステップS53へ移行し、自動運転開始要求を受けていない場合(ステップS52:No)、ステップS54へ移行する。
<Step S52>
If the execution unit 204 receives an autonomous driving start request from the autonomous driving control request unit 2022 (step S52: Yes), it proceeds to step S53, and if the execution unit 204 has not received an autonomous driving start request (step S52: No), it proceeds to step S54.

<ステップS53>
ソフトウェア更新中であるため、実行部204は、自動運転を開始することができない旨を示す、自動運転開始要求に対する否定応答を、自動運転制御要求部2022へ送る。そして、ステップS54へ移行する。
<Step S53>
Since the software is being updated, the execution unit 204 sends a negative response to the autonomous driving start request, indicating that autonomous driving cannot be started, to the autonomous driving control request unit 2022. Then, the process proceeds to step S54.

<ステップS54>
実行部204が、書き換え管理部203からソフトウェアの更新を中断させるための更新制御指令を受けた場合(ステップS54:Yes)、ステップS55へ移行し、更新制御指令を受けていない場合(ステップS54:No)、ステップS52へ戻る。
<Step S54>
If the execution unit 204 receives an update control command from the rewrite management unit 203 to interrupt the software update (step S54: Yes), it proceeds to step S55, and if it has not received an update control command (step S54: No), it returns to step S52.

<ステップS55>
実行部204は、更新制御指令に応じて、更新対象のソフトウェアのROM103への書き込み処理を中断する。そして、ステップS56へ移行する。
<Step S55>
In response to the update control command, the execution unit 204 suspends the process of writing the software to be updated into the ROM 103. Then, the process proceeds to step S56.

<ステップS56>
実行部204は、ソフトウェアの更新を中断した旨を示す、更新制御指令に対する肯定応答を、書き換え管理部203へ送る。そして、実行部204の処理を終了する。
<Step S56>
The execution unit 204 sends an affirmative response to the update control command, indicating that the software update has been interrupted, to the rewrite management unit 203. Then, the processing of the execution unit 204 ends.

<ステップS57>
実行部204が、自動運転処理を実行中、または、自動運転制御要求部2022から自動運転開始要求もしくは自動運転終了要求を受けている場合(ステップS57:Yes)、ソフトウェアの更新処理を開始または再開することができないため、処理を終了する。一方、実行部204が、自動運転処理を実行中でもなく、かつ、自動運転制御要求部2022から自動運転開始要求および自動運転終了要求を受けていない場合(ステップS57:No)、ステップS58へ移行する。
<Step S57>
If the execution unit 204 is executing an automatic driving process or has received an automatic driving start request or an automatic driving end request from the automatic driving control request unit 2022 (step S57: Yes), the software update process cannot be started or resumed, and the process is terminated. On the other hand, if the execution unit 204 is not executing an automatic driving process and has not received an automatic driving start request or an automatic driving end request from the automatic driving control request unit 2022 (step S57: No), the process proceeds to step S58.

<ステップS58>
実行部204が、書き換え管理部203からソフトウェアの更新を開始または再開させるための更新制御指令を受けた場合(ステップS58:Yes)、ステップS59へ移行し、更新制御指令を受けていない場合(ステップS58:No)、ステップS57へ戻る。
<Step S58>
If the execution unit 204 receives an update control command from the rewrite management unit 203 to start or resume a software update (step S58: Yes), it proceeds to step S59, and if it has not received an update control command (step S58: No), it returns to step S57.

<ステップS59>
実行部204は、更新制御指令に応じて、更新対象のソフトウェアのROM103への書き込み処理を開始または再開する。そして、ステップS60へ移行する。
<Step S59>
In response to the update control command, the execution unit 204 starts or resumes the process of writing the software to be updated into the ROM 103. Then, the process proceeds to step S60.

<ステップS60>
実行部204は、ソフトウェアの更新を開始または再開した旨を示す、更新制御指令に対する肯定応答を、書き換え管理部203へ送る。そして、実行部204の処理を終了する。
<Step S60>
The execution unit 204 sends an affirmative response to the update control command, which indicates that the software update has been started or resumed, to the rewrite management unit 203. Then, the processing of the execution unit 204 ends.

以上のステップS51~S60の流れで、実行部204におけるソフトウェアの更新の開始・再開、中断の動作が行われる。 The above steps S51 to S60 are used to start, resume, and suspend software updates in the execution unit 204.

次に、図10を参照しながら、車両制御装置20の実行部204における自動・手動切替動作について説明する。 Next, the automatic/manual switching operation in the execution unit 204 of the vehicle control device 20 will be described with reference to FIG. 10.

<ステップS71>
実行部204において自動運転処理の実行中でない場合(ステップS71:No)、ステップS72へ移行し、自動運転処理の実行中である場合(ステップS71:Yes)、ステップS76へ移行する。
<Step S71>
If the automatic driving process is not being executed in the execution unit 204 (step S71: No), the process proceeds to step S72. If the automatic driving process is being executed (step S71: Yes), the process proceeds to step S76.

<ステップS72>
実行部204においてソフトウェアの更新中、または書き換え管理部203からソフトウェアの更新を開始または再開させるための更新制御指令を受けている場合(ステップS72:Yes)、ソフトウェアの更新を中断するまでは自動運転処理を開始することができないため、実行部204の処理を終了する。一方、実行部204においてソフトウェアの更新中でもなく、かつ、書き換え管理部203からソフトウェアの更新を開始または再開させるための更新制御指令を受けていない場合(ステップS72:No)、ステップS73へ移行する。
<Step S72>
If the execution unit 204 is updating software or has received an update control command from the rewrite management unit 203 to start or resume the software update (step S72: Yes), the automatic driving process cannot be started until the software update is interrupted, so the process of the execution unit 204 is terminated. On the other hand, if the execution unit 204 is not updating software and has not received an update control command from the rewrite management unit 203 to start or resume the software update (step S72: No), the process proceeds to step S73.

<ステップS73>
実行部204が、自動運転制御要求部2022から自動運転開始要求を受けた場合(ステップS73:Yes)、ステップS74へ移行し、自動運転開始要求を受けていない場合(ステップS73:No)、ステップS72へ戻る。
<Step S73>
If the execution unit 204 receives an autonomous driving start request from the autonomous driving control request unit 2022 (step S73: Yes), it proceeds to step S74, and if the execution unit 204 has not received an autonomous driving start request (step S73: No), it returns to step S72.

<ステップS74>
実行部204は、自動運転処理を開始する。そして、ステップS75へ移行する。
<Step S74>
The execution unit 204 starts the automatic driving process, and then the process proceeds to step S75.

<ステップS75>
実行部204は、自動運転処理を開始した旨を示す、自動運転開始要求に対する肯定応答を、自動運転制御要求部2022へ送る。そして、処理を終了する。
<Step S75>
The execution unit 204 sends an affirmative response to the autonomous driving start request, indicating that the autonomous driving process has started, to the autonomous driving control request unit 2022. Then, the process ends.

<ステップS76>
実行部204が、自動運転処理の実行中に、書き換え管理部203からソフトウェアの更新を開始または再開させるための更新制御指令を受けた場合(ステップS76:Yes)、ステップS77へ移行し、更新制御指令を受けていない場合(ステップS76:No)、ステップS78へ移行する。
<Step S76>
If the execution unit 204 receives an update control command from the rewrite management unit 203 to start or resume a software update while the autonomous driving process is being executed (step S76: Yes), the execution unit 204 proceeds to step S77; if the execution unit 204 has not received an update control command (step S76: No), the execution unit 204 proceeds to step S78.

<ステップS77>
実行部204は、自動運転処理の実行中にソフトウェアの更新は行わないものとして、ソフトウェアの更新を開始または再開させるための更新制御指令に対する否定応答を、書き換え管理部203へ送る。そして、ステップS78へ移行する。
<Step S77>
The execution unit 204 determines that software updating will not be performed during execution of the autonomous driving process, and sends a negative response to the update control command for starting or resuming software updating to the rewrite management unit 203. Then, the process proceeds to step S78.

<ステップS78>
実行部204が、自動運転制御要求部2022から自動運転終了要求を受けた場合(ステップS78:Yes)、ステップS79へ移行し、自動運転終了要求を受けていない場合(ステップS78:No)、ステップS76へ移行する。
<Step S78>
If the execution unit 204 receives a request to end autonomous driving from the autonomous driving control request unit 2022 (step S78: Yes), it proceeds to step S79, and if the execution unit 204 has not received a request to end autonomous driving (step S78: No), it proceeds to step S76.

<ステップS79>
実行部204は、自動運転処理を終了する。そして、ステップS80へ移行する。
<Step S79>
The execution unit 204 ends the automatic driving process, and then proceeds to step S80.

<ステップS80>
実行部204は、自動運転処理を終了した旨を示す、自動運転終了要求に対する肯定応答を、自動運転制御要求部2022へ送る。そして、処理を終了する。
<Step S80>
The execution unit 204 sends an affirmative response to the autonomous driving end request, indicating that the autonomous driving process has ended, to the autonomous driving control request unit 2022. Then, the process ends.

以上のステップS71~S80の流れで、実行部204における自動運転または手動運転への切替動作が行われる。 The above steps S71 to S80 are followed by the execution unit 204 to switch between automatic and manual operation.

以上のように、本実施形態に係る車両制御装置20では、スイッチ検出部201により切り替え指令が検出された場合、抑制要求部2021が、ソフトウェアの更新を抑制するための更新抑制要求を書き換え管理部203へ送る。更新抑制要求に応じて、抑制要求部2021が、ソフトウェアの更新が抑制された旨を示す応答を書き換え管理部203から受けた場合、自動運転制御要求部2022が、実行部204に対して自動運転開始要求を送る。これによって、車両1の運転状態について、自動運転への切り替えを行ったときには、車両制御装置20にインストールされているソフトウェアの更新を中断させることにより、現行のソフトウェアについて機能を制限することなく車両1において自動運転を行うことが可能となる。また、システム設計時に、一般的に頻度が少ないソフトウェアの書き込み処理、自動運転時におけるCPU101の処理、およびRAM102およびROM103のアクセス処理が同時に行われることを考慮する必要がなくなる。したがって、システム設計における自由度が向上する。 As described above, in the vehicle control device 20 according to this embodiment, when a switching command is detected by the switch detection unit 201, the suppression request unit 2021 sends an update suppression request to the rewrite management unit 203 to suppress the software update. When the suppression request unit 2021 receives a response from the rewrite management unit 203 indicating that the software update has been suppressed in response to the update suppression request, the automatic driving control request unit 2022 sends an automatic driving start request to the execution unit 204. As a result, when the driving state of the vehicle 1 is switched to automatic driving, the update of the software installed in the vehicle control device 20 is interrupted, making it possible to perform automatic driving in the vehicle 1 without restricting the function of the current software. In addition, when designing a system, it is no longer necessary to consider that the software writing process, which is generally infrequent, the processing of the CPU 101 during automatic driving, and the access processing of the RAM 102 and ROM 103 are performed simultaneously. Therefore, the degree of freedom in system design is improved.

[第2の実施形態]
第2の実施形態に係る車両制御装置について、第1の実施形態に係る車両制御装置20と相違する点を中心に説明する。第1の実施形態では、実行部204で実行されるソフトウェアのすべてについて、車両1の運転状態を自動運転へと切り替える際に、車両制御装置においてソフトウェアの更新を中断する、または更新を開始しない動作について説明した。本実施形態では、実行部で実行されるソフトウェアが自動運転動作に関するものか否かによって車両制御装置の処理を異ならせる動作について説明する。
Second Embodiment
The vehicle control device according to the second embodiment will be described, focusing on the differences from the vehicle control device 20 according to the first embodiment. In the first embodiment, an operation was described in which software updates are suspended or updates are not started in the vehicle control device when the driving state of the vehicle 1 is switched to autonomous driving for all software executed in the execution unit 204. In this embodiment, an operation is described in which the processing of the vehicle control device is made different depending on whether the software executed in the execution unit is related to autonomous driving operation.

(車両制御装置の機能ブロックの構成および動作)
図11は、第2の実施形態に係る車両制御装置の機能ブロックの構成の一例を示す図である。図11を参照しながら、本実施形態に係る制御システムの機能ブロックの構成および動作について説明する。
(Configuration and operation of functional blocks of vehicle control device)
Fig. 11 is a diagram showing an example of the configuration of functional blocks of a vehicle control device according to the second embodiment. The configuration and operation of the functional blocks of the control system according to the present embodiment will be described with reference to Fig. 11 .

本実施形態では、図11に示すように、車両制御装置20a~20dが制御システムを構成する。車両制御装置20aは、スイッチ検出部201と、制御要求部202と、出力制御部205と、を有する。車両制御装置20bは、書き換え管理部203を有する。車両制御装置20cは、実行部204aを有する。車両制御装置20dは、実行部204bを有する。なお、スイッチ検出部201、制御要求部202および出力制御部205の動作は、第1の実施形態で説明した動作と同様である。また、車両制御装置20a~20dのうち任意の車両制御装置を示す場合、または総称する場合、単に「車両制御装置20」と称するものとする。 In this embodiment, as shown in FIG. 11, vehicle control devices 20a to 20d constitute a control system. Vehicle control device 20a has a switch detection unit 201, a control request unit 202, and an output control unit 205. Vehicle control device 20b has a rewrite management unit 203. Vehicle control device 20c has an execution unit 204a. Vehicle control device 20d has an execution unit 204b. Note that the operation of switch detection unit 201, control request unit 202, and output control unit 205 is similar to that described in the first embodiment. In addition, when referring to any vehicle control device among vehicle control devices 20a to 20d, or when referring to them collectively, they will simply be referred to as "vehicle control device 20."

書き換え管理部203は、通信装置18を介して外部サーバからソフトウェア更新のためのモジュールを受信した場合、実行部204aおよび実行部204bにおける当該ソフトウェアの更新処理を制御する機能部である。また、書き換え管理部203は、抑制要求部2021から更新抑制要求を受けた場合、自動運転動作の機能を実行する実行部204aに対して、ソフトウェアの更新中の場合には更新を中断させるための更新制御指令を送る。また、書き換え管理部203は、抑制要求部2021から更新抑制要求を受けた場合、自動運転動作以外の機能を実行する実行部204bに対しては、ソフトウェアの更新を優先させる。言い換えると、書き換え管理部203は、実行部204bがソフトウェアの更新中の場合には実行部204bに更新を中断させず、更新中ではない場合には実行部204bに更新を禁止させない。書き換え管理部203は、例えば、図2に示す通信I/F108、およびCPU101によりプログラムが実行されることによって実現される。 The rewrite management unit 203 is a functional unit that controls the update process of the software in the execution unit 204a and the execution unit 204b when a module for software update is received from an external server via the communication device 18. In addition, when the rewrite management unit 203 receives an update suppression request from the suppression request unit 2021, the rewrite management unit 203 sends an update control command to the execution unit 204a that executes the function of the automatic driving operation to interrupt the update if the software is being updated. In addition, when the rewrite management unit 203 receives an update suppression request from the suppression request unit 2021, the rewrite management unit 203 prioritizes software update for the execution unit 204b that executes functions other than the automatic driving operation. In other words, the rewrite management unit 203 does not cause the execution unit 204b to interrupt the update if the execution unit 204b is updating software, and does not cause the execution unit 204b to prohibit the update if the software is not being updated. The rewrite management unit 203 is realized, for example, by the communication I/F 108 and the CPU 101 shown in FIG. 2 executing a program.

実行部204aは、自動運転動作対象となる機能部であり、自動運転制御要求部2022からの自動運転開始要求に応じて、自動運転を開始し、自動運転制御を実行する機能部である。また、実行部204aは、書き換え管理部203による制御により、ソフトウェア更新のためのモジュールをROM103へ書き込む。また、実行部204aは、ソフトウェアの更新中の場合には更新を中断させるための更新制御指令を書き換え管理部203から受けた場合、ソフトウェアの更新中の場合にはROM103への書き込み処理を中断し、書き換え管理部203は、更新を開始しないように自身の状態を制御する。また、書き換え管理部203は、ソフトウェアの更新中ではない場合には、ソフトウェアの更新を開始しないように自身の状態を制御する。すなわち、実行部204aに対応するCPU101は、ソフトウェアの更新の抑制の対象となる抑制対象CPUである。実行部204aは、例えば、車両制御装置20cの図2に示すCPU101によりプログラムが実行されることによって実現される。実行部204aは、「第1実行部」に相当する。なお、図11では、1つの実行部204aが示されているが、これに限定されず、複数の実行部204aが備えられてもよい。この場合、複数の実行部204aのうち、少なくとも1つの実行部204aは、自動運転制御要求部2022からの自動運転開始要求に応じて、自動運転を開始し、自動運転制御を実行する。 The execution unit 204a is a functional unit that is the target of the automatic driving operation, and is a functional unit that starts automatic driving and executes automatic driving control in response to an automatic driving start request from the automatic driving control request unit 2022. The execution unit 204a also writes a module for software update to the ROM 103 under the control of the rewrite management unit 203. When the execution unit 204a receives an update control command from the rewrite management unit 203 to suspend the update while the software is being updated, the execution unit 204a suspends the writing process to the ROM 103 while the software is being updated, and the rewrite management unit 203 controls its own state so as not to start the update. When the software is not being updated, the rewrite management unit 203 controls its own state so as not to start the software update. That is, the CPU 101 corresponding to the execution unit 204a is a suppression target CPU that is the target of suppression of software update. The execution unit 204a is realized, for example, by the CPU 101 shown in FIG. 2 of the vehicle control device 20c executing a program. The execution unit 204a corresponds to the "first execution unit". In addition, although one execution unit 204a is shown in FIG. 11, this is not limiting, and multiple execution units 204a may be provided. In this case, at least one of the multiple execution units 204a starts automatic driving and executes automatic driving control in response to an automatic driving start request from the automatic driving control request unit 2022.

実行部204bは、自動運転動作対象外の機能部であり、自動運転処理以外の処理を実行する機能部である。実行部204bは、例えばRSE(Rear Seat Entertainment)を実現する機能部である。また、実行部204bは、書き換え管理部203による制御により、ソフトウェア更新のためのモジュールをROM103へ書き込む。また、実行部204bは、書き換え管理部203が抑制要求部2021から更新抑制要求を受けた場合でも、ソフトウェアの更新中の場合にROM103への書き込み処理を継続する。すなわち、実行部204bに対応するCPU101は、ソフトウェアの更新の抑制の対象外となる抑制対象外CPUである。実行部204bは、例えば、車両制御装置20dの図2に示すCPU101によりプログラムが実行されることによって実現される。実行部204bは、「第2実行部」に相当する。なお、図11では、1つの実行部204bが示されているが、これに限定されず、複数の実行部204bが備えられてもよい。 The execution unit 204b is a functional unit that is not subject to the automatic driving operation and executes processing other than the automatic driving processing. The execution unit 204b is a functional unit that realizes, for example, RSE (Rear Seat Entertainment). The execution unit 204b also writes a module for software update to the ROM 103 under the control of the rewrite management unit 203. The execution unit 204b also continues the write process to the ROM 103 when the software is being updated, even if the rewrite management unit 203 receives an update suppression request from the suppression request unit 2021. That is, the CPU 101 corresponding to the execution unit 204b is a non-suppression target CPU that is not subject to the suppression of software updates. The execution unit 204b is realized, for example, by the CPU 101 shown in FIG. 2 of the vehicle control device 20d executing a program. The execution unit 204b corresponds to a "second execution unit". Note that, although one execution unit 204b is shown in FIG. 11, this is not limited thereto, and multiple execution units 204b may be provided.

なお、実行部204aおよび実行部204bのうち任意の実行部を示す場合、または総称する場合、単に「実行部204」と称するものとする。 Note that when referring to any of the execution units 204a and 204b, or when referring to them collectively, they will simply be referred to as "execution unit 204."

また、図11では、抑制対象CPUに対応する実行部204として実行部204a、抑制対象外CPUに対応する実行部204として実行部204bを示しているが、それぞれ複数の実行部204が抑制対象CPUおよび抑制対象外CPUに対応してもよい。 In addition, in FIG. 11, execution unit 204a is shown as the execution unit 204 corresponding to the CPU to be inhibited, and execution unit 204b is shown as the execution unit 204 corresponding to the CPU not to be inhibited, but multiple execution units 204 may each correspond to the CPU to be inhibited and the CPU not to be inhibited.

また、図11に示す車両制御装置20a~20dの各機能部は、機能を概念的に示したものであって、このような構成に限定されるものではない。例えば、車両制御装置20a~20dとして例示した複数の機能部を、1つの機能部として構成してもよい。一方、車両制御装置20a~20dとして例示した各機能部において1つの機能部が有する機能を複数に分割し、複数の機能部として構成してもよい。 Furthermore, the functional units of the vehicle control devices 20a to 20d shown in FIG. 11 are conceptual representations of functions, and are not limited to such configurations. For example, the multiple functional units illustrated as vehicle control devices 20a to 20d may be configured as a single functional unit. On the other hand, the functions of a single functional unit in each of the functional units illustrated as vehicle control devices 20a to 20d may be divided into multiple functions and configured as multiple functional units.

また、図11に示す制御システムの構成は、車両制御装置20a~20dで構成されているが、これに限定されるものではなく、1つの車両制御装置で構成されてもよく、その他の数の車両制御装置で構成されていてもよい。 The control system configuration shown in FIG. 11 is composed of vehicle control devices 20a to 20d, but is not limited to this and may be composed of one vehicle control device or any other number of vehicle control devices.

(書き換え管理部の動作の流れ)
図12は、第2の実施形態に係る車両制御装置の書き換え管理部の手動運転から自動運転に切り替える場合の動作の流れの一例を示すフローチャートである。図13は、第2の実施形態に係る車両制御装置の書き換え管理部の自動運転から手動運転に切り替える場合の動作の流れの一例を示すフローチャートである。まず、図12を参照しながら、車両制御装置20bの書き換え管理部203について手動運転から自動運転に切り替える際の動作について説明する。
(Operation flow of the rewrite management unit)
Fig. 12 is a flowchart showing an example of an operation flow when switching from manual driving to automatic driving of the rewrite management unit of the vehicle control device according to the second embodiment. Fig. 13 is a flowchart showing an example of an operation flow when switching from automatic driving to manual driving of the rewrite management unit of the vehicle control device according to the second embodiment. First, with reference to Fig. 12, an operation of the rewrite management unit 203 of the vehicle control device 20b when switching from manual driving to automatic driving will be described.

<ステップS31a>
書き換え管理部203が、抑制要求部2021から更新抑制要求を受けた場合(ステップS31a:Yes)、ステップS32aへ移行し、更新抑制要求を受けていない場合(ステップS31a:No)、更新抑制要求を受けるまで待機する。
<Step S31a>
If the rewrite management unit 203 receives an update suppression request from the suppression request unit 2021 (step S31a: Yes), it proceeds to step S32a, and if the update suppression request has not been received (step S31a: No), it waits until it receives an update suppression request.

<ステップS32a>
書き換え管理部203により、ソフトウェアの更新中であり、かつ抑制対象CPUに対応する実行部204があることが確認された場合(ステップS32a:Yes)、ステップS33aへ移行し、ソフトウェアの更新中の実行部204がなく、またはソフトウェアの更新中であっても抑制対象外CPUに対応する実行部204であることが確認された場合(ステップS32a:No)、ステップS35aへ移行する。
<Step S32a>
If the rewrite management unit 203 confirms that the software is being updated and that there is an execution unit 204 corresponding to the CPU to be suppressed (step S32a: Yes), the process proceeds to step S33a. If it confirms that there is no execution unit 204 in the process of updating the software, or that the execution unit 204 corresponds to a CPU that is not to be suppressed even if the software is being updated (step S32a: No), the process proceeds to step S35a.

<ステップS33a>
書き換え管理部203は、ソフトウェアの更新中であり、かつ抑制対象CPUに対応する実行部204に対して、ソフトウェアの更新を中断させるための更新制御指令を送る。そして、ステップS34aへ移行する。
<Step S33a>
The rewrite management unit 203 sends an update control command for interrupting the software update to the execution unit 204 corresponding to the suppression target CPU during the software update, and then proceeds to step S34a.

<ステップS34a>
書き換え管理部203が、抑制対象CPUに対応する実行部204からソフトウェアの更新の中断がされた旨を示す肯定応答を受けた場合(ステップS34a:Yes)、ステップS35aへ移行し、肯定応答を受けていない場合(ステップS34a:No)、肯定応答を受けるまで待機する。抑制対象CPUに対応する実行部204からのソフトウェアの更新の中断がされた旨を示す肯定応答は、「第3応答」に相当する。
<Step S34a>
When the rewrite management unit 203 receives an affirmative response indicating that the software update has been interrupted from the execution unit 204 corresponding to the suppression target CPU (step S34a: Yes), the rewrite management unit 203 proceeds to step S35a, and when the affirmative response has not been received (step S34a: No), the rewrite management unit 203 waits until it receives an affirmative response. The affirmative response indicating that the software update has been interrupted from the execution unit 204 corresponding to the suppression target CPU corresponds to the "third response."

<ステップS35a>
書き換え管理部203は、抑制対象CPUに対応する実行部204へのソフトウェアの更新を内部で制御するための更新フラグを「不可」に設定する。そして、ステップS36aへ移行する。
<Step S35a>
The rewrite management unit 203 sets an update flag for internally controlling software updates to the execution unit 204 corresponding to the suppression target CPU to "not allowed," and then the process proceeds to step S36a.

<ステップS36a>
書き換え管理部203は、ソフトウェアの更新が抑制された旨を示す、更新抑制要求に対する肯定応答を、抑制要求部2021へ送る。そして、ステップS37aへ移行する。
<Step S36a>
The rewrite management unit 203 sends an affirmative response to the update suppression request, indicating that the software update has been suppressed, to the suppression request unit 2021. Then, the process proceeds to step S37a.

<ステップS37a>
書き換え管理部203により、ソフトウェアの更新待ちの抑制対象外CPUに対応する実行部204があることが確認された場合(ステップS37a:Yes)、ステップS38aへ移行し、ソフトウェアの更新待ちの抑制対象外CPUに対応する実行部204がなくなった場合(ステップS37a:No)、書き換え管理部203の処理を終了する。
<Step S37a>
If the rewrite management unit 203 confirms that there is an execution unit 204 corresponding to a non-restricted CPU awaiting a software update (step S37a: Yes), it proceeds to step S38a, and if there is no execution unit 204 corresponding to a non-restricted CPU awaiting a software update (step S37a: No), it terminates the processing of the rewrite management unit 203.

<ステップS38a>
書き換え管理部203は、抑制対象外CPUに対応する実行部204におけるソフトウェアの更新処理を制御する。そして、ステップS37aへ戻る。
<Step S38a>
The rewrite management unit 203 controls the software update process in the execution unit 204 corresponding to the non-restriction target CPU, and then the process returns to step S37a.

以上のステップS31a~S38aの流れで、書き換え管理部203において手動運転から自動運転に切り替える際の動作が行われる。 The above steps S31a to S38a are the flow of operations performed by the rewrite management unit 203 when switching from manual operation to automatic operation.

次に、図13を参照しながら、車両制御装置20bの書き換え管理部203について自動運転から手動運転に切り替える際の動作について説明する。 Next, with reference to FIG. 13, the operation of the rewrite management unit 203 of the vehicle control device 20b when switching from automatic driving to manual driving will be described.

<ステップS41a>
書き換え管理部203が、抑制要求部2021から更新抑制解除要求を受けた場合(ステップS41a:Yes)、ステップS42aへ移行し、更新抑制解除要求を受けていない場合(ステップS41a:No)、更新抑制解除要求を受けるまで待機する。
<Step S41a>
If the rewrite management unit 203 receives an update suppression release request from the suppression request unit 2021 (step S41a: Yes), it proceeds to step S42a, and if the update suppression release request has not been received (step S41a: No), it waits until it receives an update suppression release request.

<ステップS42a>
書き換え管理部203は、抑制対象CPUに対応する実行部204へのソフトウェアの更新を内部で制御するための更新フラグを「可」に設定する。なお、抑制対象CPUに対応する実行部204におけるソフトウェアの更新処理は、上述したように、負荷が大きいため、ソフトウェアの更新処理時にはCPU101の温度の上昇が見込まれる。例えば、書き換え管理部203は、更新抑制解除要求を受けたとしても、温度センサ21からセンサI/F111を介して取得した抑制対象CPUに対応した車両制御装置20の内部温度または周囲温度が所定の閾値よりも高い場合には、更新フラグを「不可」に設定することにより、ソフトウェアの更新を開始または再開させなくてもよい。あるいは、書き換え管理部203は、更新フラグを「可」に設定していても、当該内部温度または周囲温度が所定の閾値よりも高い場合には、ソフトウェアの更新を開始または再開させなくてもよい。これによって、CPU101の更新処理による温度上昇に伴う、CPU101の周波数制限等の不具合の発生を抑制することができる。そして、ステップS43aへ移行する。
<Step S42a>
The rewrite management unit 203 sets an update flag for internally controlling software update to the execution unit 204 corresponding to the suppression target CPU to "OK". As described above, the software update process in the execution unit 204 corresponding to the suppression target CPU has a large load, so that the temperature of the CPU 101 is expected to rise during the software update process. For example, even if the rewrite management unit 203 receives an update suppression release request, if the internal temperature or the ambient temperature of the vehicle control device 20 corresponding to the suppression target CPU acquired from the temperature sensor 21 via the sensor I/F 111 is higher than a predetermined threshold, the rewrite management unit 203 may not start or resume the software update by setting the update flag to "NO". Alternatively, even if the rewrite management unit 203 sets the update flag to "OK", if the internal temperature or the ambient temperature is higher than a predetermined threshold. This makes it possible to suppress the occurrence of malfunctions such as frequency restrictions of the CPU 101 due to the temperature rise caused by the update process of the CPU 101. Then, the process proceeds to step S43a.

<ステップS43a>
書き換え管理部203は、抑制対象CPUに対応する実行部204に対してソフトウェアの更新を中断したことまたは更新を開始しないことを解除した旨を示す、更新抑制解除要求に対する肯定応答を、抑制要求部2021へ送る。そして、書き換え管理部203の処理を終了する。
<Step S43a>
The rewrite management unit 203 sends an affirmative response to the update suppression release request, indicating that the suspension of the software update or the suspension of the start of the update has been lifted for the execution unit 204 corresponding to the suppression target CPU, to the suppression request unit 2021. Then, the processing of the rewrite management unit 203 ends.

以上のステップS41a~S43aの流れで、書き換え管理部203において自動運転から手動運転に切り替える際の動作が行われる。 The above steps S41a to S43a are followed by the rewrite management unit 203 to perform the operation when switching from automatic to manual operation.

以上のように、本実施形態に係る制御システムでは、書き換え管理部203が、抑制要求部2021から更新抑制要求を受けた場合、ソフトウェアの更新の抑制対象となる実行部204aに対して更新制御指令を送り、ソフトウェアの更新の抑制対象とならない実行部204bに対しては更新制御指令を送らない。すなわち、実行部204bについては、抑制要求部2021による更新抑制要求が発生しても、ソフトウェアの更新処理が中断されることなく継続されることになる。自動運転制御を実行する実行部204aにおいて、自動運転とソフトウェアの更新とを同時に行わせると、実行部204aの処理負荷が高くなる場合がある。よって、実行部204aについては更新を中断させることによって、処理負荷を高めることなく自動運転を開始することができる。また、自動運転動作以外の処置を実行する実行部204bにおいては、自動運転と同時にソフトウェアの更新を行わせても、自動運転を行っていないときにソフトウェアの更新を行わせても、処理負荷には変わりない。したがって、実行部204bについては、更新を中断させないことにより、制御システムにおける処理負荷を高めることなく、ソフトウェアの更新に由来する機能改善を行うことができる。 As described above, in the control system according to this embodiment, when the rewrite management unit 203 receives an update suppression request from the suppression request unit 2021, it sends an update control command to the execution unit 204a, which is the target of software update suppression, and does not send an update control command to the execution unit 204b, which is not the target of software update suppression. That is, even if the update suppression request is generated by the suppression request unit 2021, the software update process for the execution unit 204b continues without interruption. In the execution unit 204a that executes the automatic driving control, if automatic driving and software update are performed simultaneously, the processing load of the execution unit 204a may increase. Therefore, by interrupting the update for the execution unit 204a, automatic driving can be started without increasing the processing load. In addition, in the execution unit 204b that executes procedures other than the automatic driving operation, the processing load does not change whether software update is performed simultaneously with automatic driving or when software update is performed when automatic driving is not performed. Therefore, by not interrupting the update for the execution unit 204b, it is possible to perform a function improvement resulting from the software update without increasing the processing load in the control system.

[第3の実施形態]
第3の実施形態に係る車両制御装置について、第1の実施形態に係る車両制御装置20と相違する点を中心に説明する。第1の実施形態では、実行部204で実行されるソフトウェアのすべてについて、車両1の運転状態を自動運転へと切り替える際に、車両制御装置においてソフトウェアの更新を中断する、または更新を開始しない動作について説明した。本実施形態では、更新対象となるソフトウェアの優先順位に従って車両制御装置の処理を異ならせる動作について説明する。なお、本実施形態に係る車両制御装置20の機能ブロックの構成は、第1の実施形態に係る車両制御装置20の機能ブロックの構成と同様であるものとする。
[Third embodiment]
The vehicle control device according to the third embodiment will be described, focusing on the differences from the vehicle control device 20 according to the first embodiment. In the first embodiment, an operation was described in which software updates are suspended or not started in the vehicle control device for all software executed by the execution unit 204 when the driving state of the vehicle 1 is switched to autonomous driving. In this embodiment, an operation is described in which the processing of the vehicle control device is made different according to the priority order of the software to be updated. Note that the configuration of the functional blocks of the vehicle control device 20 according to this embodiment is assumed to be the same as the configuration of the functional blocks of the vehicle control device 20 according to the first embodiment.

(制御要求部の動作の流れ)
図14は、第3の実施形態に係る車両制御装置の制御要求部の手動運転から自動運転に切り替える場合の動作の流れの一例を示すフローチャートである。図14を参照しながら、車両制御装置20の制御要求部202について手動運転から自動運転に切り替える際の動作について説明する。
(Operation flow of the control request unit)
14 is a flowchart showing an example of an operation flow when switching from manual driving to automatic driving of the control request unit of the vehicle control device according to the third embodiment. With reference to FIG. 14, the operation of the control request unit 202 of the vehicle control device 20 when switching from manual driving to automatic driving will be described.

<ステップS11b>
スイッチ検出部201により、自動運転切替スイッチ10bから手動運転から自動運転への切り替え指令が検出された場合(ステップS11b:Yes)、ステップS12aへ移行し、検出されない場合(ステップS11b:No)、切り替え指令が検出されるまで待機する。手動運転から自動運転への切り替え指令は、「第1切り替え指令」に相当する。
<Step S11b>
If the switch detection unit 201 detects a command to switch from manual operation to automatic operation from the automatic operation changeover switch 10b (step S11b: Yes), the process proceeds to step S12a, and if not (step S11b: No), the process waits until a switch command is detected. The command to switch from manual operation to automatic operation corresponds to a "first switch command."

<ステップS12b>
制御要求部202の抑制要求部2021は、書き換え管理部203に対してソフトウェアの更新を抑制するための更新抑制要求を送る。そして、ステップS13bへ移行する。
<Step S12b>
The suppression request unit 2021 of the control request unit 202 sends an update suppression request for suppressing software updates to the rewrite management unit 203. Then, the process proceeds to step S13b.

<ステップS13b>
抑制要求部2021が、書き換え管理部203から更新抑制要求に対する応答を受けた場合(ステップS13b:Yes)、ステップS14bへ移行し、応答を受けていない場合(ステップS13b:No)、応答を受けるまで待機する。更新抑制要求に対する肯定応答は、「第1応答」に相当する。当該第1応答は、書き換え管理部203が、ソフトウェアの更新を開始しない旨の応答、および、少なくとも1つの実行部204において、ソフトウェアの更新を中断させた旨の応答の少なくとも一方を含む。
<Step S13b>
If the suppression request unit 2021 receives a response to the update suppression request from the rewrite management unit 203 (step S13b: Yes), the suppression request unit 2021 proceeds to step S14b, and if a response has not been received (step S13b: No), the suppression request unit 2021 waits until a response is received. A positive response to the update suppression request corresponds to a "first response." The first response includes at least one of a response that the rewrite management unit 203 will not start the software update and a response that at least one execution unit 204 has interrupted the software update.

<ステップS14b>
抑制要求部2021が書き換え管理部203から受けた応答が、ソフトウェアの更新が抑制された旨を示す肯定応答である場合(ステップS14b:Yes)、ステップS15bへ移行し、否定応答である場合(ステップS14b:No)、ステップS18bへ移行する。
<Step S14b>
If the response that the suppression request unit 2021 receives from the rewrite management unit 203 is a positive response indicating that the software update has been suppressed (step S14b: Yes), the suppression request unit 2021 proceeds to step S15b, and if the response is a negative response (step S14b: No), the suppression request unit 2021 proceeds to step S18b.

<ステップS15b>
車両制御装置20の自動運転制御要求部2022は、実行部204に対して自動運転の開始を要求するための自動運転開始要求を送る。そして、ステップS16bへ移行する。
<Step S15b>
The autonomous driving control request unit 2022 of the vehicle control device 20 sends an autonomous driving start request to the execution unit 204 to request the start of autonomous driving. Then, the process proceeds to step S16b.

<ステップS16b>
自動運転制御要求部2022が、自動運転開始要求に対して実行部204から自動運転が開始された旨を示す肯定応答を受けた場合(ステップS16b:Yes)、ステップS17bへ移行し、肯定応答を受けていない場合(ステップS16b:No)、肯定応答を受けるまで待機する。実行部204からの自動運転が開始された旨を示す肯定応答は、「第2応答」に相当する。
<Step S16b>
When the autonomous driving control request unit 2022 receives an affirmative response from the execution unit 204 in response to the autonomous driving start request, indicating that autonomous driving has started (step S16b: Yes), the autonomous driving control request unit 2022 proceeds to step S17b, and when an affirmative response has not been received (step S16b: No), the autonomous driving control request unit 2022 waits until an affirmative response is received. The affirmative response from the execution unit 204 indicating that autonomous driving has started corresponds to a "second response."

<ステップS17b>
車両制御装置20の通知制御部2023は、自動運転が開始された旨を出力制御部205へ通知する。そして、制御要求部202の処理を終了する。
<Step S17b>
The notification control unit 2023 of the vehicle control device 20 notifies the output control unit 205 that the autonomous driving has started. Then, the processing of the control request unit 202 ends.

<ステップS18b>
車両制御装置20の通知制御部2023は、自動運転の開始が不可である旨を出力制御部205へ通知する。そして、制御要求部202の処理を終了する。
<Step S18b>
The notification control unit 2023 of the vehicle control device 20 notifies the output control unit 205 that it is not possible to start autonomous driving. Then, the processing of the control request unit 202 ends.

なお、制御要求部202についての自動運転から手動運転に切り替える際の動作については、第1の実施形態と同様である。 The operation of the control request unit 202 when switching from automatic operation to manual operation is the same as in the first embodiment.

(書き換え管理部の動作の流れ)
図15は、第3の実施形態に係る車両制御装置の書き換え管理部の手動運転から自動運転に切り替える場合の動作の流れの一例を示すフローチャートである。図15を参照しながら、車両制御装置20の書き換え管理部203について手動運転から自動運転に切り替える際の動作について説明する。
(Operation flow of the rewrite management unit)
15 is a flowchart showing an example of an operation flow of the rewrite management unit 203 of the vehicle control device 20 when switching from manual driving to automatic driving according to the third embodiment. With reference to FIG. 15, the operation of the rewrite management unit 203 of the vehicle control device 20 when switching from manual driving to automatic driving will be described.

<ステップS31b>
書き換え管理部203が、抑制要求部2021から更新抑制要求を受けた場合(ステップS31b:Yes)、ステップS32bへ移行し、更新抑制要求を受けていない場合(ステップS31b:No)、更新抑制要求を受けるまで待機する。
<Step S31b>
If the rewrite management unit 203 receives an update suppression request from the suppression request unit 2021 (step S31b: Yes), it proceeds to step S32b, and if the update suppression request has not been received (step S31b: No), it waits until it receives an update suppression request.

<ステップS32b>
書き換え管理部203が、実行部204においてソフトウェアの更新中であると判定した場合(ステップS32b:Yes)、ステップS33bへ移行し、ソフトウェアの更新中でないと判定した場合(ステップS32b:No)、ステップS36bへ移行する。書き換え管理部203は、例えばソフトウェア更新のためのやり取りを書き換え管理部203と実行部204との間で行っている場合に、実行部204においてソフトウェアの更新中であると判定する。
<Step S32b>
If the rewrite management unit 203 determines that the software is being updated in the execution unit 204 (step S32b: Yes), the process proceeds to step S33b, and if the rewrite management unit 203 determines that the software is not being updated (step S32b: No), the process proceeds to step S36b. The rewrite management unit 203 determines that the software is being updated in the execution unit 204 when, for example, communication for software update is being performed between the rewrite management unit 203 and the execution unit 204.

<ステップS33b>
実行部204においてソフトウェアの更新中であると判定した場合、書き換え管理部203は、更新中のソフトウェアの優先度が低いか否かを判定する。例えば、書き換え管理部203は、当該優先度が低い場合(ステップS33b:Yes)、ステップS34bへ移行し、当該優先度が高い場合(ステップS33b:No)、ステップS38bへ移行する。ここで、優先度が高いソフトウェアとは、例えば不具合の修正が更新目的となる、更新の緊急度の高いソフトウェアである。また、優先度が低いソフトウェアとは、例えば機能向上または機能追加が更新目的となるソフトウェアである。
<Step S33b>
When the execution unit 204 determines that software is being updated, the rewrite management unit 203 determines whether the priority of the software being updated is low. For example, when the priority is low (step S33b: Yes), the rewrite management unit 203 proceeds to step S34b, and when the priority is high (step S33b: No), the rewrite management unit 203 proceeds to step S38b. Here, high-priority software is software that needs to be updated urgently, for example, to correct a defect. Low-priority software is software that needs to be updated to improve or add functions, for example.

<ステップS34b>
書き換え管理部203は、実行部204に対して、ソフトウェアの更新を中断させるための更新制御指令を送る。そして、ステップS35bへ移行する。
<Step S34b>
The rewrite management unit 203 sends an update control command to the execution unit 204 to interrupt the software update, and then the process proceeds to step S35b.

<ステップS35b>
書き換え管理部203が、実行部204からソフトウェアの更新の中断がされた旨を示す肯定応答を受けた場合(ステップS35b:Yes)、ステップS36bへ移行し、肯定応答を受けていない場合(ステップS35b:No)、肯定応答を受けるまで待機する。実行部204からのソフトウェアの更新の中断がされた旨を示す肯定応答は、「第3応答」に相当する。
<Step S35b>
If the rewrite management unit 203 receives an affirmative response from the execution unit 204 indicating that the software update has been interrupted (step S35b: Yes), the rewrite management unit 203 proceeds to step S36b, and if an affirmative response has not been received (step S35b: No), the rewrite management unit 203 waits until an affirmative response is received. The affirmative response from the execution unit 204 indicating that the software update has been interrupted corresponds to the "third response."

<ステップS36b>
書き換え管理部203は、実行部204へのソフトウェアの更新を内部で制御するための更新フラグを「不可」に設定する。そして、ステップS37bへ移行する。
<Step S36b>
The rewrite management unit 203 sets an update flag for internally controlling software updates to the execution unit 204 to "not allowed," and then the process proceeds to step S37b.

<ステップS37b>
書き換え管理部203は、ソフトウェアの更新が抑制された旨を示す、更新抑制要求に対する肯定応答を、抑制要求部2021へ送る。そして、書き換え管理部203の処理を終了する。
<Step S37b>
The rewrite management unit 203 sends an affirmative response to the update suppression request, indicating that the software update has been suppressed, to the suppression request unit 2021. Then, the processing of the rewrite management unit 203 ends.

<ステップS38b>
更新中のソフトウェアの優先度が高い場合、書き換え管理部203は、実行部204に対してソフトウェアの更新を中断することまたは更新を開始させないことを不可とする、更新抑制要求に対する否定応答を、抑制要求部2021へ送る。そして、書き換え管理部203の処理を終了する。
<Step S38b>
If the priority of the software being updated is high, the rewrite management unit 203 sends a negative response to the update suppression request to the suppression request unit 2021, which disables the execution unit 204 from interrupting the software update or preventing the update from starting. Then, the processing of the rewrite management unit 203 ends.

以上のように、本実施形態に係る車両制御装置20では、更新対象のソフトウェアの優先度が低い場合、書き換え管理部203が実行部204に対して更新制御指令を送り、更新対象のソフトウェアの優先度が高い場合、実行部204に対して更新制御指令を送らない。車両制御装置20は、優先度が低いソフトウェアについては更新を中断することによって、実行部204での処理負荷を高めることなく自動運転を開始することができる。また、車両制御装置20は、優先度が高いソフトウェアについては、更新処理を優先させることにより、ソフトウェアの更新に由来する機能改善を行うことができる。 As described above, in the vehicle control device 20 according to this embodiment, if the priority of the software to be updated is low, the rewrite management unit 203 sends an update control command to the execution unit 204, and if the priority of the software to be updated is high, the rewrite management unit 203 does not send an update control command to the execution unit 204. By interrupting the update of software with low priority, the vehicle control device 20 can start autonomous driving without increasing the processing load on the execution unit 204. Furthermore, for software with high priority, the vehicle control device 20 can improve functionality resulting from software updates by prioritizing the update process.

なお、上述したそれぞれの実施形態に係る車両制御装置20で実行されるプログラムは、ROM等に予め組み込まれた状態で提供される。また、車両制御装置20で実行されるプログラムは、インストール可能な形式または実行可能な形式のファイルでCD-ROM、フレキシブルディスク(FD)、CD-R、DVD(Digital Versatile Disk)等のコンピュータで読み取り可能な記憶媒体に記録して提供するように構成してもよい。また、上述のプログラムは、インターネット等のネットワークを介して車両制御装置20に提供されてもよい。また、上述したそれぞれの実施形態に係る車両制御装置20で実行するためのプログラムは、上述の各機能部を含むモジュール構成となっており、実際のハードウェアとしては、例えば、CPU101がROM103からプログラムを読み出して実行することにより、上述した複数の各機能部のそれぞれが主記憶装置であるRAM102上にロードされ、上述した複数の各機能部のそれぞれがRAM102上に生成されるようになっている。 The programs executed by the vehicle control device 20 according to each of the above-mentioned embodiments are provided in a state where they are pre-installed in a ROM or the like. The programs executed by the vehicle control device 20 may be provided by recording them in an installable or executable format on a computer-readable storage medium such as a CD-ROM, a flexible disk (FD), a CD-R, or a DVD (Digital Versatile Disk). The above-mentioned programs may be provided to the vehicle control device 20 via a network such as the Internet. The programs to be executed by the vehicle control device 20 according to each of the above-mentioned embodiments are modularized to include the above-mentioned functional units, and the actual hardware is, for example, such that the CPU 101 reads and executes the programs from the ROM 103, whereby each of the above-mentioned functional units is loaded onto the RAM 102, which is a main storage device, and each of the above-mentioned functional units is generated on the RAM 102.

本開示の実施形態それぞれを説明したが、これらは一例として提示したものであり、発明の技術的範囲を限定することは意図していない。これらの実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更、組み合わせを行うことができる。これらの実施形態は、発明の範囲および要旨に含まれると同様に、特許請求の範囲に記載された発明の均等の範囲に含まれる。 Although each embodiment of the present disclosure has been described, these are presented as examples and are not intended to limit the technical scope of the invention. These embodiments can be implemented in various other forms, and various omissions, substitutions, modifications, and combinations can be made without departing from the gist of the invention. These embodiments are within the scope and gist of the invention, as well as the scope of equivalents of the invention described in the claims.

1 車両
2 車体
3、3F、3R 車輪
4 座席
5 車両駆動部
6、6a、6b 撮像部
7、7L、7R ドアミラー
8 後部座席
9 ルームミラー
10a エンジンスイッチ
10b 自動運転切替スイッチ
11 ハンドル
12 シフトレバー
13 パーキングブレーキ
14 ドアロック装置
15 表示装置
16 GPSセンサ
17 車速センサ
18 通信装置
19 スピーカ
20、20a~20d 車両制御装置
21 温度センサ
101 CPU
102 RAM
103 ROM
104 撮像I/F
105 表示I/F
106 GPS I/F
107 車速I/F
108 通信I/F
109 音声I/F
110 入力I/F
111 センサI/F
112 バス
201 スイッチ検出部
202 制御要求部
203 書き換え管理部
204、204a、204b 実行部
205 出力制御部
2021 抑制要求部
2022 自動運転制御要求部
2023 通知制御部
REFERENCE SIGNS LIST 1 vehicle 2 vehicle body 3, 3F, 3R wheels 4 seats 5 vehicle drive unit 6, 6a, 6b imaging unit 7, 7L, 7R door mirrors 8 rear seats 9 rearview mirror 10a engine switch 10b automatic driving changeover switch 11 steering wheel 12 shift lever 13 parking brake 14 door lock device 15 display device 16 GPS sensor 17 vehicle speed sensor 18 communication device 19 speaker 20, 20a to 20d vehicle control device 21 temperature sensor 101 CPU
102 RAM
103 ROM
104 Imaging I/F
105 Display I/F
106 GPS I/F
107 Vehicle speed I/F
108 Communication I/F
109 Audio I/F
110 Input I/F
111 Sensor I/F
112 Bus 201 Switch detection unit 202 Control request unit 203 Rewrite management unit 204, 204a, 204b Execution unit 205 Output control unit 2021 Suppression request unit 2022 Automatic driving control request unit 2023 Notification control unit

Claims (10)

自動運転への切り替えを指示する第1切り替え指令を検出する検出部と、
ソフトウェアの更新処理を制御する書き換え管理部と、
前記検出部により前記第1切り替え指令が検出された場合、前記ソフトウェアの更新を抑制するための更新抑制要求を、前記き換え管理部へ送る抑制要求部と、
前記更新抑制要求に応じて、前記抑制要求部が、前記ソフトウェアの更新が抑制された旨を示す第1応答を前記書き換え管理部から受けた場合、自動運転制御を実行する少なくとも1つの実行部に対して自動運転の開始の要求をする運転制御部と、
を備え
前記書き換え管理部は、前記更新抑制要求を受けた場合、前記ソフトウェアが更新中である場合には前記少なくとも1つの実行部に対して前記ソフトウェアの更新の中断させるための更新制御指令を送り、該少なくとも1つの実行部から中断が完了した旨を示す第3応答を受けた場合、前記第1応答を前記抑制要求部へ送る、制御システム。
A detection unit that detects a first switching command that instructs switching to automatic driving;
A rewrite management unit that controls software update processing;
a suppression request unit that transmits an update suppression request for suppressing the update of the software to the rewrite management unit when the first switching command is detected by the detection unit;
an operation control unit that requests at least one execution unit that executes automatic driving control to start automatic driving when the suppression request unit receives a first response indicating that the software update has been suppressed from the rewrite management unit in response to the update suppression request;
Equipped with
A control system in which, when the rewrite management unit receives the update suppression request, if the software is being updated, it sends an update control command to the at least one execution unit to interrupt the update of the software, and when it receives a third response from the at least one execution unit indicating that the interruption has been completed, it sends the first response to the suppression request unit .
前記第1応答は、前記書き換え管理部が、前記ソフトウェアの更新を開始しない旨の応答、および、前記少なくとも1つの実行部において、前記ソフトウェアの更新を中断させた旨の応答の少なくとも一方を含む、請求項1に記載の制御システム。 The control system of claim 1, wherein the first response includes at least one of a response from the rewrite management unit to the effect that the software update will not be started and a response from the at least one execution unit to the effect that the software update has been interrupted. 前記運転制御部が、自動運転が開始された旨を示す第2応答を前記少なくとも1つの実行部から受けた場合、自動運転が開始された旨を出力装置に出力させる出力制御部を、さらに備えた請求項1または2に記載の制御システム。 The control system according to claim 1 or 2, further comprising an output control unit that, when the driving control unit receives a second response from the at least one execution unit indicating that autonomous driving has started, causes an output device to output information indicating that autonomous driving has started. 前記出力装置は、表示装置であり、
前記運転制御部が前記第2応答を受けた場合、前記出力制御部は、前記出力装置に、自動運転が開始された旨の通知を表示させる、請求項3に記載の制御システム。
the output device is a display device,
The control system according to claim 3 , wherein when the driving control unit receives the second response, the output control unit causes the output device to display a notification that automatic driving has started.
前記検出部は、運転状態を切り替えるための操作部から前記第1切り替え指令を検出する、請求項1~4のいずれか一項に記載の制御システム。 The control system according to any one of claims 1 to 4, wherein the detection unit detects the first switching command from an operation unit for switching the operating state. 前記少なくとも1つの実行部は、更新の抑制対象となるソフトウェアを実行する第1実行部と、更新の抑制対象とならないソフトウェアを実行する第2実行部と、を含み、
前記書き換え管理部は、前記更新抑制要求を受けた場合、前記更新の抑制対象となるソフトウェアが更新中である場合には前記第1実行部に対して前記更新制御指令を送り、前記第2実行部に対して前記更新制御指令を送らない請求項1~5のいずれか一項に記載の制御システム。
the at least one execution unit includes a first execution unit that executes software that is a target of suppression of updating, and a second execution unit that executes software that is not a target of suppression of updating;
A control system as described in any one of claims 1 to 5, wherein when the rewrite management unit receives the update suppression request, if the software to be suppressed from updating is currently being updated, the rewrite management unit sends the update control command to the first execution unit, and does not send the update control command to the second execution unit.
前記更新抑制要求を受けた場合において、前記書き換え管理部は、更新対象のソフトウェアの優先度が低い場合、前記実行部に対して前記更新制御指令を送り、前記優先度が高い場合、前記実行部に対して前記更新制御指令を送らない、請求項1~6のいずれか一項に記載の制御システム。 A control system as described in any one of claims 1 to 6, wherein when the update suppression request is received, the rewrite management unit sends the update control command to the execution unit if the priority of the software to be updated is low, and does not send the update control command to the execution unit if the priority is high . 前記検出部は、手動運転への切り替えを指示する第2切り替え指令を検出し、
前記検出部により前記第2切り替え指令が検出された場合、前記運転制御部は、前記少なくとも1つの実行部に対して自動運転の終了の要求をし、
前記抑制要求部は、自動運転が終了された旨を示す第4応答を前記少なくとも1つの実行部から受けた場合、前記ソフトウェアの更新の抑制を解除するための更新抑制解除要求を前記書き換え管理部へ送り、
前記書き換え管理部は、前記更新抑制解除要求を受けたことを条件として、前記少なくとも1つの実行部に対してソフトウェアの更新の開始または再開を可能にする請求項1~のいずれか一項に記載の制御システム。
The detection unit detects a second switching command instructing switching to manual operation,
When the second switching command is detected by the detection unit, the driving control unit requests the at least one execution unit to end the automatic driving;
when receiving a fourth response from the at least one execution unit indicating that the autonomous driving has been terminated, the suppression request unit sends an update suppression release request to the rewrite management unit to release the suppression of the software update;
The control system according to any one of claims 1 to 7 , wherein the rewrite management unit enables the at least one execution unit to start or resume a software update on condition that the rewrite management unit receives the update suppression release request.
前記書き換え管理部は、前記更新抑制解除要求を受けた場合、周囲温度を検出する温度検出部により検出された該周囲温度が所定の閾値より高い場合には、前記実行部に対してソフトウェアの更新を開始または再開させない請求項に記載の制御システム。 The control system of claim 8, wherein when the rewrite management unit receives a request to cancel the update suppression, the rewrite management unit does not cause the execution unit to start or resume the software update if the ambient temperature detected by a temperature detection unit that detects the ambient temperature is higher than a predetermined threshold value. 自動運転への切り替えを指示する第1切り替え指令を検出する検出部と、
ソフトウェアの更新処理を制御する書き換え管理部と、
前記検出部により前記第1切り替え指令が検出された場合、前記ソフトウェアの更新を抑制するための更新抑制要求を、前記き換え管理部へ送る抑制要求部と、
前記更新抑制要求に応じて、前記抑制要求部が、前記ソフトウェアの更新が抑制された旨を示す第1応答を前記書き換え管理部から受けた場合、自動運転制御を実行する少なくとも1つの実行部に対して自動運転の開始の要求をする運転制御部と、
を備え
前記書き換え管理部は、前記更新抑制要求を受けた場合、前記ソフトウェアが更新中である場合には前記少なくとも1つの実行部に対して前記ソフトウェアの更新の中断させるための更新制御指令を送り、該少なくとも1つの実行部から中断が完了した旨を示す第3応答を受けた場合、前記第1応答を前記抑制要求部へ送る、制御装置。
A detection unit that detects a first switching command that instructs switching to automatic driving;
A rewrite management unit that controls software update processing;
a suppression request unit that transmits an update suppression request for suppressing the update of the software to the rewrite management unit when the first switching command is detected by the detection unit;
an operation control unit that requests at least one execution unit that executes automatic driving control to start automatic driving when the suppression request unit receives a first response indicating that the software update has been suppressed from the rewrite management unit in response to the update suppression request;
Equipped with
A control device in which, when the rewrite management unit receives the update suppression request, if the software is being updated, it sends an update control command to the at least one execution unit to interrupt the update of the software, and when it receives a third response from the at least one execution unit indicating that the interruption has been completed, it sends the first response to the suppression request unit .
JP2021060628A 2021-03-31 2021-03-31 Control Systems and Control Devices Active JP7587909B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021060628A JP7587909B2 (en) 2021-03-31 2021-03-31 Control Systems and Control Devices

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021060628A JP7587909B2 (en) 2021-03-31 2021-03-31 Control Systems and Control Devices

Publications (2)

Publication Number Publication Date
JP2022156773A JP2022156773A (en) 2022-10-14
JP7587909B2 true JP7587909B2 (en) 2024-11-21

Family

ID=83559020

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021060628A Active JP7587909B2 (en) 2021-03-31 2021-03-31 Control Systems and Control Devices

Country Status (1)

Country Link
JP (1) JP7587909B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2025035883A (en) * 2023-09-04 2025-03-14 トヨタ自動車株式会社 Vehicle control device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006268554A (en) 2005-03-24 2006-10-05 Hitachi Ltd Program rewriting system and program rewriting method
JP2017159723A (en) 2016-03-08 2017-09-14 アイシン・エィ・ダブリュ株式会社 Automatic driving support device and computer program
JP2020042850A (en) 2019-11-28 2020-03-19 みこらった株式会社 Automatic driving vehicle and program for automatic driving vehicle

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006268554A (en) 2005-03-24 2006-10-05 Hitachi Ltd Program rewriting system and program rewriting method
JP2017159723A (en) 2016-03-08 2017-09-14 アイシン・エィ・ダブリュ株式会社 Automatic driving support device and computer program
JP2020042850A (en) 2019-11-28 2020-03-19 みこらった株式会社 Automatic driving vehicle and program for automatic driving vehicle

Also Published As

Publication number Publication date
JP2022156773A (en) 2022-10-14

Similar Documents

Publication Publication Date Title
US10308283B2 (en) Parking assist apparatus
JP6981244B2 (en) Display device for vehicles and vehicles
US8050858B2 (en) Multiple visual display device and vehicle-mounted navigation system
CN107278187A (en) Display control device and method
JP7444211B2 (en) parking assist device
JP7104646B2 (en) Vehicle control device and vehicle control method
JP7524862B2 (en) Vehicle setting device and vehicle setting method
WO2019172011A1 (en) In-vehicle control device, control program, and equipment control method
JP6686450B2 (en) Glasses type information display device
JP7587909B2 (en) Control Systems and Control Devices
US10953811B2 (en) Vehicle image controller, system including the same, and method thereof
JP2025010584A (en) Vehicle display device
WO2018055852A1 (en) Display device and in-vehicle system
JP7557916B2 (en) On-vehicle device, on-vehicle device control method, and on-vehicle system
WO2014188706A1 (en) Image control device for vehicle
JP2020100213A (en) Mobile photography system
WO2015182080A1 (en) In-vehicle display device, in-vehicle display device control method, and program
JP2019128828A (en) Vehicle and content output device
JP2009059229A (en) Operation support method and operation support system
JP2020117001A (en) On-board device
JP6990205B2 (en) Driving support device, vehicle and vehicle control device
JP2020190986A (en) Vehicle equipment
JP7726957B2 (en) Vehicle control method and display device
JP7633836B2 (en) DISPLAY CONTROL DEVICE, CONTROL METHOD AND PROGRAM FOR DISPLAY CONTROL DEVICE
JP2005186664A (en) Interior light control system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20231117

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A711

Effective date: 20240226

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20240718

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20240827

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20241002

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20241107

R150 Certificate of patent or registration of utility model

Ref document number: 7587909

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150