JP2019159369A - Electronic apparatus - Google Patents

Electronic apparatus Download PDF

Info

Publication number
JP2019159369A
JP2019159369A JP2018040570A JP2018040570A JP2019159369A JP 2019159369 A JP2019159369 A JP 2019159369A JP 2018040570 A JP2018040570 A JP 2018040570A JP 2018040570 A JP2018040570 A JP 2018040570A JP 2019159369 A JP2019159369 A JP 2019159369A
Authority
JP
Japan
Prior art keywords
program
storage area
executed
attribute information
control program
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2018040570A
Other languages
Japanese (ja)
Inventor
淳史 倉内
Junji Kurauchi
淳史 倉内
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honda Motor Co Ltd
Original Assignee
Honda Motor Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Honda Motor Co Ltd filed Critical Honda Motor Co Ltd
Priority to JP2018040570A priority Critical patent/JP2019159369A/en
Publication of JP2019159369A publication Critical patent/JP2019159369A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

To properly perform an operation according to a vehicle without increasing a development cost of software in an electronic apparatus commonly used in multiple types of vehicles with different applicable legal regulations.SOLUTION: An electronic apparatus includes a processing apparatus and a storage apparatus having a common storage area for storing a boot program executed by the processing apparatus at startup and an individual storage area for storing a control program executed after starting executing the boot program. The processing apparatus is configured to selectively execute a program portion executing a function permitted according to attribute information among the control program saved in the individual area based on the attribute information saved in the common storage area.SELECTED DRAWING: Figure 1

Description

本発明は、例えば車両の動作を制御する電子装置に関する。   The present invention relates to an electronic device that controls the operation of a vehicle, for example.

自動車等の車両においては、その走行能力等に応じた法的規制又は業界規定の範囲内でその車両が動作するように、制御装置が設計されている。一方で、設計を共通化して開発コストを低減する観点から、同様に設計された制御装置を複数の種類の車両において共通的に用いることが行われている。この場合、制御装置は、搭載される車両の種類毎に、一部の装置の制御態様や動作パラメータ等を変更することで、それぞれの種類の車両がそれぞれ準拠すべき異なる規制の下で動作するように調整される。   In a vehicle such as an automobile, a control device is designed so that the vehicle operates within the scope of legal regulations or industry regulations in accordance with its running ability. On the other hand, from the viewpoint of reducing the development cost by making the design common, a similarly designed control device is commonly used in a plurality of types of vehicles. In this case, the control device operates under different regulations that each type of vehicle should comply with by changing the control mode, operation parameters, etc. of some devices for each type of vehicle to be mounted. To be adjusted.

しかしながら、この場合には、制御装置の処理ソフトウェアを変更してバージョンアップを図ろうとすると、搭載されている車両の種類に応じて、それぞれ異なる更新ソフトウェアを作成しなければならない。このため、上記の手法においては、多くの更新ソフトウェアを準備することに起因して、ソフトウェアバージョンアップに係る開発コストや保守コストが高くなる。   However, in this case, when trying to upgrade the version by changing the processing software of the control device, different update software must be created depending on the type of vehicle mounted. For this reason, in the above-described method, the development cost and the maintenance cost related to the software version upgrade become high due to the preparation of many update software.

従来、制御プログラムに基づいて動作する電子装置において、更新用プログラムに含まれる更新モジュールの中から仕向先に対応する更新モジュールを電子装置が自身で選択し、自動的に適正な更新処理を行えるようにすることが知られている(特許文献1)。この電子装置は、複数の仕向け先のそれぞれに対応する複数の更新モジュールで構成された更新用プログラムを受信する。そして、自装置に予め設定された仕向先の情報に基づき、当該仕向先に対応する更新モジュールを選定し、当該選定した更新モジュールを用いて上記制御プログラムを更新する。   Conventionally, in an electronic device that operates based on a control program, the electronic device can select an update module corresponding to the destination from among update modules included in the update program and automatically perform appropriate update processing. It is known to make (Patent Document 1). The electronic apparatus receives an update program composed of a plurality of update modules corresponding to a plurality of destinations. Then, based on the destination information set in advance in the own device, an update module corresponding to the destination is selected, and the control program is updated using the selected update module.

しかしながら、上記従来の電子装置では、複数の仕向先のそれぞれに対応する制御プログラムを更新モジュールとして個々に網羅的に作成して、複数の制御プログラムの集合体としての更新用プログラムを作成しなければならない。このため、開発負荷の面からは、仕向先毎に更新プログラムを準備する従来の手法と実質的な差は少ない。すなわち、上記従来の電子装置は、ソフトウェアに係る開発コストやその更新に係るコストの面で改善の余地がある。   However, in the above-described conventional electronic device, a control program corresponding to each of a plurality of destinations must be comprehensively created as an update module individually, and an update program as a collection of a plurality of control programs must be created. Don't be. For this reason, in terms of development load, there is little substantial difference from the conventional method of preparing an update program for each destination. In other words, the above-described conventional electronic device has room for improvement in terms of development costs related to software and costs related to updates.

特開2012−248030号公報JP 2012-248030 A

上記背景より、複数種類の車両に共通的に用いられる制御装置において、ソフトウェアの開発コストや更新コストを増加させることなく、準拠すべき法的規制や業界規制の観点等から各車両に応じた動作を適切に行えるようにすることである。   Based on the above background, in a control device that is commonly used for multiple types of vehicles, it does not increase software development costs and renewal costs, and operates according to each vehicle from the viewpoint of legal regulations and industry regulations to be complied with It is to be able to perform appropriately.

本発明の一の態様は、電子装置であって、処理装置と、前記処理装置が起動時に実行するブートプログラムが保存される共通記憶領域とブートプログラムの実行開始後に実行される制御プログラムが保存される個別記憶領域とを有する記憶装置と、を備え、前記処理装置は、前記共通記憶領域に保存されている属性情報に基づいて、前記個別記憶領域に保存されている制御プログラムのうち、前記属性情報に応じてその実行が許可されている機能を実行するプログラム部分を選択的に実行するよう構成されている。
本発明の他の態様によると、前記処理装置は、前記属性情報に応じて使用することが規定されているパラメータを取得し、当該取得したパラメータを用いて前記プログラム部分を実行する、よう構成されている。
本発明の他の態様によると、前記処理装置は、更新指示と共に前記制御プログラムの更新用プログラムを受信したときは、当該受信した前記更新用プログラムにより前記個別記憶領域に保存されている制御プログラムを更新するよう構成されている。
本発明の他の態様は、上記いずれかの電子装置を備える車両である。
One aspect of the present invention is an electronic device, in which a processing device, a common storage area in which a boot program executed when the processing device is started up, and a control program executed after the boot program is started are saved. A storage device having an individual storage area, and the processing device uses the attribute of the control program stored in the individual storage area based on the attribute information stored in the common storage area. A program portion that executes a function that is permitted to be executed according to information is selectively executed.
According to another aspect of the present invention, the processing device is configured to acquire a parameter defined to be used according to the attribute information, and execute the program portion using the acquired parameter. ing.
According to another aspect of the present invention, when the processing device receives an update program of the control program together with an update instruction, the processing device stores a control program stored in the individual storage area by the received update program. Configured to update.
Another aspect of the present invention is a vehicle including any one of the electronic devices described above.

本発明によれば、複数種類の車両に共通的に用いられる制御装置において、ソフトウェアの開発コストや更新コストを増加させることなく、準拠すべき法的規制や業界規制の観点等から各車両に応じた動作を適切に行えるようにすることができる。   According to the present invention, in a control device that is commonly used for a plurality of types of vehicles, it is possible to comply with each vehicle from the viewpoint of legal regulations and industry regulations to be complied with without increasing software development costs and update costs. Can be performed properly.

本発明の一実施形態に係る電子制御装置の構成を示す図である。It is a figure which shows the structure of the electronic control apparatus which concerns on one Embodiment of this invention. 図1に示す記憶装置に保存されるプログラム等の構成を示す図である。It is a figure which shows the structure of the program etc. which are preserve | saved at the memory | storage device shown in FIG. 図1に示す記憶装置に保存される属性情報の一例を示す図である。It is a figure which shows an example of the attribute information preserve | saved at the memory | storage device shown in FIG. 図1に示す記憶装置に保存されるジャンプテーブルの一例を示す図である。It is a figure which shows an example of the jump table preserve | saved at the memory | storage device shown in FIG. 図1に示す記憶装置に保存されるパラメータリストの一例を示す図である。It is a figure which shows an example of the parameter list preserve | saved at the memory | storage device shown in FIG. 図1に示す電子制御装置における実行準備処理の手順を示す図である。It is a figure which shows the procedure of the execution preparation process in the electronic controller shown in FIG.

以下、図面を参照して本発明の実施形態について説明する。
図1は、本発明の電子装置の一実施形態に係る電子装置である電子制御装置120の構成を示す図である。本電子制御装置120は、例えば、HEV(Hibrid Electric Vehicle)等の車両(以下、ホスト車両)100に搭載されてホスト車両100の各種装置を制御するECU(Electronic Control Device)である。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
FIG. 1 is a diagram illustrating a configuration of an electronic control device 120 that is an electronic device according to an embodiment of the electronic device of the present invention. The electronic control device 120 is an ECU (Electronic Control Device) that is mounted on a vehicle (hereinafter referred to as a host vehicle) 100 such as a HEV (Hybrid Electric Vehicle) and controls various devices of the host vehicle 100, for example.

電子制御装置120は、処理装置122と、記憶装置124と、通信インタフェース(通信I/F)126と、を備える。通信I/F126は、電子制御装置120が、車両内ネットワークを構成するバスを介して他の制御装置と通信するための通信インタフェースである。通信I/F126は、例えば、車両内ネットワークを構成するCAN(Controller Area Network)バスに接続された、CAN通信規格に準拠する送受信器で構成される。   The electronic control device 120 includes a processing device 122, a storage device 124, and a communication interface (communication I / F) 126. The communication I / F 126 is a communication interface for the electronic control device 120 to communicate with another control device via a bus configuring the in-vehicle network. The communication I / F 126 includes, for example, a transceiver that conforms to the CAN communication standard and is connected to a CAN (Controller Area Network) bus that configures an in-vehicle network.

記憶装置124は、揮発性及び不揮発性の半導体メモリ等で構成され、共通記憶領域130と、個別記憶領域132と、作業用記憶領域134と、を含む。   The storage device 124 is configured by a volatile or nonvolatile semiconductor memory or the like, and includes a common storage area 130, an individual storage area 132, and a working storage area 134.

図2は、記憶装置124における共通記憶領域130、個別記憶領域132、及び作業用記憶領域134に保存されるプログラム及び又はデータの構成を示す図である。共通記憶領域130は、本実施形態では不揮発性メモリで構成されており、処理装置122が起動時に実行するブートプログラム200と、属性情報202と、が保存されている。属性情報202は、電子制御装置120が搭載されたホスト車両100の属性を示す情報である。本実施形態では、属性情報202は、特に、ホスト車両100が準拠すべき法律上の及び又は業界の規制の範囲を直接又は間接に示す情報や、ホスト車両100が備える装置やデバイスを直接又は間接に表す情報等を含む。   FIG. 2 is a diagram illustrating a configuration of programs and / or data stored in the common storage area 130, the individual storage area 132, and the work storage area 134 in the storage device 124. In the present embodiment, the common storage area 130 is configured by a non-volatile memory, and stores a boot program 200 that is executed by the processing device 122 at startup and attribute information 202. The attribute information 202 is information indicating attributes of the host vehicle 100 on which the electronic control device 120 is mounted. In the present embodiment, the attribute information 202 is, in particular, information that directly or indirectly indicates the scope of legal and / or industry regulations that the host vehicle 100 should comply with, or directly or indirectly the apparatus or device that the host vehicle 100 includes. The information shown in is included.

図3は、属性情報202の一例を示す図である。図示の例では、属性情報202は、共通記憶領域130内の所定のアドレスA1から開始する位置に保存されている。図3に示す属性情報202には、モデルイヤーと、仕向地コードと、N個の装置コードと、n個のデバイスコードが含まれている。ここで、N及びnは、任意の整数である。   FIG. 3 is a diagram illustrating an example of the attribute information 202. In the illustrated example, the attribute information 202 is stored at a position starting from a predetermined address A1 in the common storage area 130. The attribute information 202 shown in FIG. 3 includes a model year, a destination code, N device codes, and n device codes. Here, N and n are arbitrary integers.

モデルイヤーとは、例えば、ホスト車両100の型式を当該ホスト車両100のリリース時期(例えば、販売開始時期)を示す西暦年で示したコードである。また、仕向地コードは、ホスト車両100の仕向地を示すコードである。モデルイヤー及び仕向地コードは、ホスト車両100が準拠すべき、仕向地における法律上の及び又は業界の、規制の範囲を間接的に示す情報として用いることができる。   The model year is, for example, a code indicating the model of the host vehicle 100 in the year in which the release time (for example, sales start time) of the host vehicle 100 is indicated. The destination code is a code indicating the destination of the host vehicle 100. The model year and the destination code can be used as information indirectly indicating the legal and / or industry regulatory scope in the destination to which the host vehicle 100 should comply.

装置コードは、ホスト車両100が備える装置のうち、電子制御装置120の制御対象となり得る装置又は当該制御に用いられ得る装置の型式等を示す。また、デバイスコードは、ホスト車両100が備えるセンサやアクチュエータ等のデバイスのうち、電子制御装置120の制御対象となり得るデバイス又は当該制御に用いられ得るデバイスの型式等を示す。装置コード及びデバイスコードは、ホスト車両100が備える装置やデバイスを直接又は間接に表す情報として用いることができる。   The device code indicates, among the devices included in the host vehicle 100, a device that can be controlled by the electronic control device 120 or a device type that can be used for the control. The device code indicates a device that can be controlled by the electronic control device 120 among devices such as sensors and actuators included in the host vehicle 100, or a device type that can be used for the control. The device code and the device code can be used as information that directly or indirectly represents the device or device included in the host vehicle 100.

図2に戻り、個別記憶領域132は、本実施形態では不揮発性メモリで構成されている。個別記憶領域132には、ブートプログラム200の実行開始後に処理装置122により実行される制御プログラム210が保存される。制御プログラム210は、制御動作のメインプロセスを実行するメインプログラム212を含む。また、制御プログラム210は、内燃機関102、伝達装置104等の個々の制御対象についての制御動作を実行するための、複数のプログラムモジュールを含む。これらのプログラムモジュールは、メインプログラム212が、例えばファンクションコール等により、その処理を移して実行するプログラム部分である。   Returning to FIG. 2, the individual storage area 132 is configured by a nonvolatile memory in the present embodiment. The individual storage area 132 stores a control program 210 that is executed by the processing device 122 after the execution of the boot program 200 is started. The control program 210 includes a main program 212 that executes a main process of control operation. The control program 210 includes a plurality of program modules for executing control operations for individual control objects such as the internal combustion engine 102 and the transmission device 104. These program modules are program parts that the main program 212 transfers and executes the processing by, for example, a function call.

本実施形態では、これらのプログラムモジュールは、その機能毎に、その動作を異にする複数のモジュールで構成されている。例えば、制御プログラム210には、内燃機関102の動作を制御する機能(A機能と称する)を有するプログラムモジュールの集合であるA機能モジュール群214aが含まれる。また、制御プログラム210には、回転電機106の動作を制御する機能(B機能と称する)を有するプログラムモジュールの集合であるB機能モジュール群214bが含まれる。   In the present embodiment, these program modules are composed of a plurality of modules whose operations differ for each function. For example, the control program 210 includes an A function module group 214 a that is a set of program modules having a function (referred to as an A function) for controlling the operation of the internal combustion engine 102. The control program 210 includes a B function module group 214b that is a set of program modules having a function (referred to as a B function) for controlling the operation of the rotating electrical machine 106.

また、制御プログラム210には、内燃機関102、回転電機106、及び車輪(不図示)の間の相互における回転力の伝達を接続及び非接続に切り替える伝達装置104(例えばクラッチ)の動作を制御する機能(C機能と称する)を有するプログラムモジュールの集合であるC機能モジュール群214cが含まれる。   In addition, the control program 210 controls the operation of the transmission device 104 (for example, a clutch) that switches connection and disconnection between the internal combustion engine 102, the rotating electrical machine 106, and the wheels (not shown). A C function module group 214c which is a set of program modules having functions (referred to as C functions) is included.

A機能モジュール群214aは、A機能を実現するプログラムモジュールであってその動作の態様がそれぞれ異なる複数のモジュール220a−1、220a−2、220a−3で構成される。同様に、B機能モジュール群214b及びC機能モジュール群214cは、それぞれ、B機能及びC機能を実現するプログラムモジュールであってその動作の態様がそれぞれ異なる複数のモジュール220b−1、220b−2、220b−3及びモジュール220c−1、220c−2、220c−3で構成される。以下、モジュール220a−1、220a−2、220a−3、220b−1、220b−2、220b−3、220c−1、220c−2、220c−3を総称するときは、モジュール220と表記する。   The A function module group 214a is a program module that realizes the A function, and includes a plurality of modules 220a-1, 220a-2, and 220a-3 having different operation modes. Similarly, the B function module group 214b and the C function module group 214c are program modules that realize the B function and the C function, respectively, and a plurality of modules 220b-1, 220b-2, and 220b having different operation modes. 3 and modules 220c-1, 220c-2, 220c-3. Hereinafter, the modules 220a-1, 220a-2, 220a-3, 220b-1, 220b-2, 220b-3, 220c-1, 220c-2, and 220c-3 are collectively referred to as a module 220.

さらに、制御プログラム210には、当該制御プログラム210のうち属性情報202に応じて実行することが許可(又は許容)されるプログラム部分を規定する実行許可テーブル216が含まれている。上記実行することが許可されるプログラム部分には、属性情報202に応じて実行が許可される一つ又は複数のモジュール220のほか、制御プログラム210に含まれる条件分岐により処理が移される分岐先のプログラム部分の候補のうち属性情報202に応じて実行することが許可されるプログラム部分が含まれる。   Furthermore, the control program 210 includes an execution permission table 216 that defines program portions that are permitted (or permitted) to be executed according to the attribute information 202 in the control program 210. The program part that is permitted to be executed includes one or a plurality of modules 220 that are permitted to be executed according to the attribute information 202, and a branch destination to which processing is transferred by a conditional branch included in the control program 210. Among the candidate program parts, a program part that is permitted to be executed according to the attribute information 202 is included.

例えば、実行許可テーブル216には、種々のモデルイヤー、仕向地、装置、及び又はデバイスに対応付けて、実行することが許可されるプログラム部分の、開始アドレス及びファンクション名やラベル等の識別コードが示されている。   For example, the execution permission table 216 includes identification codes such as start addresses and function names and labels of program parts that are permitted to be executed in association with various model years, destinations, apparatuses, and / or devices. It is shown.

また、制御プログラム210には、属性情報202に応じて、実行が許可されるプログラム部分を実行する際に用いるべきパラメータ又はパラメータ値(以下、単にパラメータ)を規定するパラメータテーブル218が含まれている。例えば、パラメータテーブル218には、種々のモデルイヤー、仕向地、装置、及び又はデバイスに対応付けて、それぞれ実行することが許可され得るプログラム部分の開始アドレス及び又は識別コードと、各プログラム部分に用いるべきパラメータが示されている。   In addition, the control program 210 includes a parameter table 218 that defines parameters or parameter values (hereinafter simply referred to as parameters) to be used when executing a program part that is permitted to be executed in accordance with the attribute information 202. . For example, the parameter table 218 is associated with various model years, destinations, apparatuses, and / or devices, and is used for each program part and a start address and / or identification code of a program part that can be permitted to be executed. The parameters to be shown are shown.

作業用記憶領域134は、本実施形態では、揮発性メモリ及び不揮発性メモリで構成されている。また、作業用記憶領域134のうち不揮発性メモリで構成される部分には、ジャンプテーブル230とパラメータリスト232が保存される。ジャンプテーブル230及びパラメータリスト232については後述する。   In the present embodiment, the working storage area 134 includes a volatile memory and a nonvolatile memory. Further, a jump table 230 and a parameter list 232 are stored in a portion of the working storage area 134 that is configured by a nonvolatile memory. The jump table 230 and the parameter list 232 will be described later.

図1に戻り、処理装置122は、ホスト車両100に設けられた各種センサを含むセンサ群108からの信号に基づき、制御プログラム210の少なくとも一部を実行することにより、内燃機関102、回転電機106、伝達装置104、及び又は装置群110を構成する各種の装置の動作を制御する。装置群110には、例えば、電子制御装置120の制御対象となり得る操舵装置、制動装置、あるいは、エアコン、方向指示器、ハザードランプ等の電装品、等々が含まれる。また、センサ群108には、例えば、車速センサ、加速度センサ、気圧センサ、アクセルセンサ、ブレーキセンサ、内燃機関102の吸気センサ、クランク角センサ、回転電機106に設けられる回転速度センサ、等々が含まれる。   Returning to FIG. 1, the processing device 122 executes at least a part of the control program 210 based on signals from the sensor group 108 including various sensors provided in the host vehicle 100, whereby the internal combustion engine 102 and the rotating electrical machine 106. , Control the operation of various devices constituting the transmission device 104 and / or the device group 110. The device group 110 includes, for example, a steering device that can be controlled by the electronic control device 120, a braking device, or an electrical component such as an air conditioner, a direction indicator, and a hazard lamp. The sensor group 108 includes, for example, a vehicle speed sensor, an acceleration sensor, an atmospheric pressure sensor, an accelerator sensor, a brake sensor, an intake sensor of the internal combustion engine 102, a crank angle sensor, a rotational speed sensor provided in the rotating electrical machine 106, and the like. .

処理装置122は、具体的には、例えばCPU(Central Processing Unit)等のプロセッサーを備えるコンピューターである。処理装置122は、プログラムが書き込まれたROM(Read Only Memory)又はフラッシュ メモリ等、データの一時記憶のためのRAM(Random Access Memory)等を有する構成であってもよい。そして、処理装置122は、機能要素(又は機能ユニット)として、プログラム更新部140と、制御実行部142と、有する。また、制御実行部142は、機能要素である実行選択部150と、パラメータ選択部152と、プログラム実行部154と、で構成される。   Specifically, the processing device 122 is a computer including a processor such as a CPU (Central Processing Unit). The processing device 122 may have a configuration including a RAM (Random Access Memory) for temporary storage of data such as a ROM (Read Only Memory) or a flash memory in which a program is written. The processing apparatus 122 includes a program update unit 140 and a control execution unit 142 as functional elements (or functional units). The control execution unit 142 includes an execution selection unit 150, which is a functional element, a parameter selection unit 152, and a program execution unit 154.

処理装置122が備えるこれらの機能要素は、例えば、コンピューターである処理装置122が、ブートプログラム200を実行することにより実現される。これに代えて、処理装置122が備える上記機能要素の全部又は一部を、それぞれ一つ以上の電子回路部品を含むハードウェアにより構成することもできる。   These functional elements included in the processing device 122 are realized by the processing device 122 being a computer executing the boot program 200, for example. Instead, all or part of the functional elements included in the processing device 122 may be configured by hardware including one or more electronic circuit components.

プログラム更新部140は、更新指示(例えば、更新指示コマンド)と共に制御プログラム210の更新用プログラム(すなわち、制御プログラム210に置き換えるべき新しい制御プログラム)を、例えば通信I/F126を介して受信する。そして、更新用プログラムを受信したときは、プログラム更新部140は、当該受信した更新用プログラムを、個別記憶領域132に保存されている制御プログラム210に上書きして、当該制御プログラム210を更新する。   The program update unit 140 receives an update program (that is, a new control program to be replaced with the control program 210) of the control program 210 together with an update instruction (for example, an update instruction command) via, for example, the communication I / F 126. When the update program is received, the program update unit 140 overwrites the received update program on the control program 210 stored in the individual storage area 132 and updates the control program 210.

制御実行部142は、センサ群108からの信号に基づき、内燃機関102、回転電機106、伝達装置104、及び又は装置群110を構成する一つ又は複数の装置を制御する。   The control execution unit 142 controls one or more devices constituting the internal combustion engine 102, the rotating electrical machine 106, the transmission device 104, and / or the device group 110 based on signals from the sensor group 108.

制御実行部142の実行選択部150は、プログラム更新部140により制御プログラム210が更新されたときに制御実行部142が実行する実行準備処理(後述)において、記憶装置124の共通記憶領域130に保存されている属性情報202を取得する。そして、実行選択部150は、取得した属性情報202に基づき、個別記憶領域132に保存されている制御プログラム210に含まれる実行許可テーブル216を参照して、制御プログラム210のうち上記取得した属性情報202に応じてその実行が許可されているプログラム部分を特定する。   The execution selection unit 150 of the control execution unit 142 stores in the common storage area 130 of the storage device 124 in an execution preparation process (described later) executed by the control execution unit 142 when the control program 210 is updated by the program update unit 140. The attribute information 202 is acquired. Then, the execution selection unit 150 refers to the execution permission table 216 included in the control program 210 stored in the individual storage area 132 based on the acquired attribute information 202, and acquires the attribute information acquired from the control program 210. In accordance with 202, the program portion permitted to be executed is specified.

具体的には、例えば、実行選択部150は、属性情報202と実行許可テーブル216に基づき、属性情報202に応じてその実行が許可されているプログラム部分の、個別記憶領域132における開始アドレスをリストしたジャンプテーブル230を生成して、作業用記憶領域134に保存する。このジャンプテーブル230には、メインプログラム212がA機能、B機能、及び又はC機能を実現する際に実行されるべき(又は、実行が許可される)モジュール220の一つ又は複数の開始アドレス、及び又は、メインプログラム212に含まれる条件分岐において分岐先プログラムとして実行されるべきプログラム部分の開始アドレスが含まれる。   Specifically, for example, the execution selection unit 150 lists the start address in the individual storage area 132 of the program part that is permitted to be executed according to the attribute information 202 based on the attribute information 202 and the execution permission table 216. The jump table 230 is generated and stored in the work storage area 134. The jump table 230 includes one or more start addresses of modules 220 to be executed (or permitted to execute) when the main program 212 realizes the A function, the B function, and / or the C function. Alternatively, the start address of the program portion to be executed as the branch destination program in the conditional branch included in the main program 212 is included.

図4は、ジャンプテーブル230の一例を示す図である。図示の例では、ジャンプテーブル230は、作業用記憶領域134の所定のアドレスB1から始まる位置に保存されている。このジャンプテーブル230では、A機能を表す所定のコードであるA機能コードに続けて、実行が許可されているA機能モジュール群214a内の一のモジュール220(例えば、モジュール220a−1)の開始アドレスであるアドレスb1が保存されている。   FIG. 4 is a diagram illustrating an example of the jump table 230. In the illustrated example, the jump table 230 is stored at a position starting from a predetermined address B1 in the working storage area 134. In this jump table 230, the start address of one module 220 (for example, module 220a-1) in the A function module group 214a permitted to be executed following the A function code which is a predetermined code representing the A function. The address b1 is stored.

また、これに続いて、B機能表すB機能コードに続けて、実行が許可されているB機能モジュール群214b内の一のモジュール220(例えば、モジュール220b−1)の開始アドレスであるアドレスb2が保存されている。同様に、C機能を表すC機能コードに続けて、実行が許可されているC機能モジュール群214c内の一のモジュール220(例えば、モジュール220c−1)の開始アドレスであるアドレスb3が保存されている。   Subsequently, following the B function code representing the B function, an address b2 which is a start address of one module 220 (for example, module 220b-1) in the B function module group 214b permitted to execute is Saved. Similarly, following the C function code representing the C function, an address b3 which is a start address of one module 220 (for example, module 220c-1) in the C function module group 214c permitted to be executed is stored. Yes.

さらに、図示のジャンプテーブル230には、メインプログラム212内のk個(kは任意の整数)の条件分岐のそれぞれに付されたラベルである条件分岐ラベル1、2、…kのそれぞれに続けて、各条件分岐において分岐先プログラムとして実行が許可されているプログラム部分の開始アドレスであるアドレスc1、c2、…、ckが保存されている。   Further, the jump table 230 shown in the figure follows each of the conditional branch labels 1, 2,... K, which are labels attached to k conditional branches (k is an arbitrary integer) in the main program 212. In addition, addresses c1, c2,..., Ck, which are start addresses of program portions that are permitted to be executed as branch destination programs in each conditional branch, are stored.

図1に戻り、制御実行部142のパラメータ選択部152は、プログラム更新部140により制御プログラム210が更新されたときに制御実行部142が実行する実行準備処理において、記憶装置124の共通記憶領域130に保存されている属性情報202を取得する。そして、パラメータ選択部152は、取得した属性情報202に基づき、個別記憶領域132に保存されている制御プログラム210に含まれるパラメータテーブル218を参照して、上記取得した属性情報202に応じて使用することが規定されているパラメータを取得する。   Returning to FIG. 1, the parameter selection unit 152 of the control execution unit 142 performs the common storage area 130 of the storage device 124 in the execution preparation process executed by the control execution unit 142 when the control program 210 is updated by the program update unit 140. The attribute information 202 stored in is acquired. Then, the parameter selection unit 152 refers to the parameter table 218 included in the control program 210 stored in the individual storage area 132 based on the acquired attribute information 202, and uses it according to the acquired attribute information 202. Get the parameters that are specified.

そして、パラメータ選択部152は、取得したパラメータを、当該パラメータを用いるべきプログラム部分に対応付けたパラメータリスト232を生成して、作業用記憶領域134に保存する。   Then, the parameter selection unit 152 generates a parameter list 232 in which the acquired parameter is associated with the program part that should use the parameter, and stores the parameter list 232 in the work storage area 134.

図5は、パラメータリスト232の一例を示す図である。図示の例では、パラメータリスト232は、作業用記憶領域134の所定のアドレスD1から始まる位置に保存されている。このパラメータリスト232では、A機能コード、B機能コード、C機能コード、及び、条件分岐ラベル1,2、…、kのそれぞれに続けて、作業用記憶領域134内のアドレスであるアドレスd1、d2、d3、e1、e2、…、ekが保存されている。これらのアドレスd1、d2、d3、e1、e2、…、ekは、それぞれ、A機能モジュール、B機能モジュール、及びC機能モジュールとして実行が許可されているプログラム部分(すなわち、モジュール220の一つ又は複数)の実行に用いるパラメータ、及び各条件分岐ラベルに対応する分岐先として実行が許可されているプログラム部分の実行に用いるパラメータの、格納部分の開始アドレスを示している。これにより、パラメータリスト232内には、実行が許可されたプログラム部分に対応付けて、当該プログラム部分の実行に用いるべきパラメータが保存される。   FIG. 5 is a diagram illustrating an example of the parameter list 232. In the illustrated example, the parameter list 232 is stored at a position starting from a predetermined address D1 in the working storage area 134. In this parameter list 232, the addresses d1, d2, which are addresses in the working storage area 134, are followed by the A function code, the B function code, the C function code, and the conditional branch labels 1, 2,. , D3, e1, e2,..., Ek are stored. These addresses d 1, d 2, d 3, e 1, e 2,..., Ek are program parts that are permitted to be executed as an A function module, a B function module, and a C function module (ie, one of the modules 220 or The start address of the storage part of the parameter used for the execution of the program part permitted to be executed as the branch destination corresponding to each conditional branch label and the parameter used for the execution of the plurality of conditional branch labels is shown. Thereby, in the parameter list 232, parameters to be used for executing the program part are stored in association with the program part permitted to be executed.

図1に戻り、制御実行部142のプログラム実行部154は、制御プログラム210を実行する。また、プログラム実行部154は、制御プログラム210においてA機能等を実現するためのファンクションコールや条件分岐が発生したときに、ジャンプテーブル230を参照し、実行すべきプログラム部分の開始アドレスを特定する。そして、プログラム実行部154は、上記特定したプログラム部分の開始アドレスへ、制御プログラム210の処理を移すよう動作する。   Returning to FIG. 1, the program execution unit 154 of the control execution unit 142 executes the control program 210. Further, when a function call or conditional branch for realizing the A function or the like occurs in the control program 210, the program execution unit 154 refers to the jump table 230 and identifies the start address of the program part to be executed. Then, the program execution unit 154 operates to move the process of the control program 210 to the start address of the identified program part.

より具体的には、プログラム実行部154は、例えば、制御プログラム210を実行するためのソフトウェアプラットフォーム(以下、単にプラットフォーム)を提供し、当該プラットフォーム上で制御プログラム210を実行する。制御プログラム210は、プラットフォームを介して、A機能等を実現するためのファンクションをコールし、及び又は条件分岐の際に、当該プラットフォームに分岐先アドレスを問い合わせる。   More specifically, the program execution unit 154 provides, for example, a software platform (hereinafter simply referred to as a platform) for executing the control program 210, and executes the control program 210 on the platform. The control program 210 calls a function for realizing the A function or the like via the platform, and / or inquires the branch destination address of the platform at the time of conditional branching.

プログラム実行部154が提供するプラットフォームは、制御プログラム210から、例えばA機能モジュールのコールを受け付けたときは、ジャンプテーブル230を参照し、A機能モジュールとして実行が許可されているモジュール220(例えば、モジュール220a−1)の、個別記憶領域132内における開始アドレス(例えば、図4のアドレスb1)を取得する。そして、制御プログラム210の処理を、当該取得したアドレスから開始するモジュール220に移すことで、制御プログラム210にA機能を実現させる。   When the platform provided by the program execution unit 154 receives, for example, a call to the A function module from the control program 210, the platform 220 refers to the jump table 230 and is permitted to execute as the A function module 220 (for example, the module 220a-1), the start address (for example, address b1 in FIG. 4) in the individual storage area 132 is acquired. Then, the processing of the control program 210 is transferred to the module 220 starting from the acquired address, thereby causing the control program 210 to realize the A function.

また、上記プラットフォームは、制御プログラム210から特定の条件分岐ラベルが付された条件分岐についての分岐先アドレスについての問合せを受信したときは、ジャンプテーブル230を参照し、対応する条件分岐ラベルに関連付けられたアドレスを制御プログラム210に返す。例えば、制御プログラム210から、条件分岐ラベル1が付された条件分岐についての分岐先の問合せを受信した場合、上記プラットフォームは、例えば図4に示すジャンプテーブル230を参照し、当該ラベルに対応付けられているアドレスc1を、制御プログラム210へ返す。これにより、制御プログラム210は、プラットフォームから返されたアドレスc1から始まるプログラム部分に処理を移すことができる。   When the platform receives an inquiry about a branch destination address for a conditional branch with a specific conditional branch label from the control program 210, the platform refers to the jump table 230 and associates it with the corresponding conditional branch label. The address is returned to the control program 210. For example, when receiving a branch destination query for a conditional branch with the conditional branch label 1 from the control program 210, the platform refers to the jump table 230 shown in FIG. The address c1 is returned to the control program 210. As a result, the control program 210 can move the processing to the program portion starting from the address c1 returned from the platform.

これにより、処理装置122は、共通記憶領域130に保存されている属性情報202に基づいて、個別記憶領域132に保存されている制御プログラム210のうち、属性情報202に応じてその実行が許可されているプログラム部分を、選択的に実行するよう構成される。   Accordingly, the processing device 122 is permitted to execute the control program 210 according to the attribute information 202 among the control programs 210 stored in the individual storage area 132 based on the attribute information 202 stored in the common storage area 130. The program part is configured to be selectively executed.

同時に、プログラム実行部154が提供するプラットフォームは、例えば上記のシナリオにおいて、A機能モジュールの実行に際して使用すべきパラメータを、パラメータリスト232において特定し、パラメータリスト232内における当該特定したパラメータのアドレス(例えば、図5におけるアドレスd1)を、制御プログラム210に渡す。これにより、制御プログラム210は、パラメータリスト232内の対応するパラメータを参照しつつ、A機能モジュールとして実行が許可されているモジュール220(例えばモジュール220a−1)を実行することができる。   At the same time, the platform provided by the program execution unit 154 identifies the parameter to be used in executing the A function module in the parameter list 232 in the above scenario, for example, and the address of the identified parameter in the parameter list 232 (for example, , The address d1) in FIG. Thereby, the control program 210 can execute the module 220 (for example, the module 220a-1) permitted to be executed as the A function module while referring to the corresponding parameter in the parameter list 232.

これにより、処理装置122は、属性情報202に応じて使用することが規定されているパラメータを取得し、当該取得したパラメータを用いて、上記実行が許可されたプログラム部分を実行するよう構成される。   As a result, the processing device 122 is configured to acquire a parameter defined to be used in accordance with the attribute information 202, and execute the program part permitted to be executed using the acquired parameter. .

次に、処理装置122の制御実行部142が行う実行準備処理の手順について、図6に示すフロー図に従って説明する。本処理は、プログラム更新部140により記憶装置124の個別記憶領域132に保存されている制御プログラム210が更新されたときに、開始する。   Next, the procedure of the execution preparation process performed by the control execution unit 142 of the processing device 122 will be described with reference to the flowchart shown in FIG. This process starts when the program updating unit 140 updates the control program 210 stored in the individual storage area 132 of the storage device 124.

処理を開始すると、まず、処理装置122の制御実行部142を構成する実行選択部150は、記憶装置124の共通記憶領域130に保存されている属性情報202と、制御プログラム210内の実行許可テーブル216と、を参照する(S100)。次に、実行選択部150は、属性情報202に応じて実行が許可されているプログラム部分を特定する(S102)。   When the process is started, first, the execution selection unit 150 constituting the control execution unit 142 of the processing device 122 includes the attribute information 202 stored in the common storage area 130 of the storage device 124 and the execution permission table in the control program 210. 216 is referred to (S100). Next, the execution selection unit 150 identifies a program part that is permitted to be executed according to the attribute information 202 (S102).

例えば、実行選択部150は、属性情報202のうちモデルイヤーに応じて、A機能モジュール、B機能モジュール、及びC機能モジュールのそれぞれについて、実行が許可されたモジュール220を特定する。これにより、当該モデルイヤーに相当する時期に適用が義務付けられていた法的規制及び又は業界規制に従う制御を実行するためのモジュール220の実行が許可され、ホスト車両100においてそれら規制に準拠した動作が行われることとなる。   For example, the execution selection unit 150 identifies the module 220 that is permitted to be executed for each of the A function module, the B function module, and the C function module according to the model year in the attribute information 202. As a result, the execution of the module 220 for executing control in accordance with legal regulations and / or industry regulations that are required to be applied at the time corresponding to the model year is permitted, and the host vehicle 100 can operate in compliance with those regulations. Will be done.

そして、実行選択部150は、上記特定したプログラム部分とその開始アドレスとを対応付けたジャンプテーブル230を作成して、記憶装置124の作業用記憶領域134内の所定のアドレス位置に書き込んで保存する(S104)。   Then, the execution selection unit 150 creates a jump table 230 in which the identified program part is associated with the start address, and writes and stores the jump table 230 at a predetermined address position in the working storage area 134 of the storage device 124. (S104).

続いて、処理装置122の制御実行部142を構成するパラメータ選択部152は、記憶装置124の共通記憶領域130に保存されている属性情報202と、制御プログラム210内のパラメータテーブル218と、を参照する(S106)。次に、パラメータ選択部152は、属性情報202に応じて、実行が許可されているプログラム部分の実行において用いるべきパラメータを、パラメータテーブル218から特定する(S108)。   Subsequently, the parameter selection unit 152 constituting the control execution unit 142 of the processing device 122 refers to the attribute information 202 stored in the common storage area 130 of the storage device 124 and the parameter table 218 in the control program 210. (S106). Next, the parameter selection unit 152 specifies, from the parameter table 218, a parameter to be used in executing the program part that is permitted to be executed according to the attribute information 202 (S108).

例えば、パラメータ選択部152は、属性情報202のうち仕向地コードに応じて、実行が許可されたA機能モジュール、B機能モジュール、及びC機能モジュールのそれぞれにおいて用いるべきパラメータを特定する。これにより、仕向地の環境条件に応じたパラメータを用いて、それぞれ、実行が許可されたA機能モジュール、B機能モジュール、及びC機能モジュールが実行されることとなり、仕向地における関連規制に準拠した動作を確実に実行することができる。   For example, the parameter selection unit 152 specifies parameters to be used in each of the A function module, the B function module, and the C function module that are permitted to be executed in accordance with the destination code in the attribute information 202. As a result, the A function module, the B function module, and the C function module that are permitted to be executed are executed using the parameters according to the environmental conditions of the destination, and comply with the related regulations in the destination. The operation can be executed reliably.

そして、パラメータ選択部152は、実行が許可されているプログラム部分について特定したパラメータを、対応するプログラム部分の識別コードに対応付けてパラメータリスト232を作成し、記憶装置124内の作業用記憶領域134に保存する(S110)。その後、制御実行部142は、実行準備処理を終了する。   Then, the parameter selection unit 152 creates the parameter list 232 by associating the parameters specified for the program part that is permitted to be executed with the identification code of the corresponding program part, and the work storage area 134 in the storage device 124. (S110). Thereafter, the control execution unit 142 ends the execution preparation process.

以上、説明したように、本実施形態に係る電子制御装置120は、処理装置122と、記憶装置124と、を備える。記憶装置124は、処理装置122が起動時に実行するブートプログラム200が保存される共通記憶領域130と、ブートプログラム200の実行開始後に実行される制御プログラム210が保存される個別記憶領域132と、を有する。そして、処理装置122は、共通記憶領域130に保存されている属性情報202に基づいて、個別記憶領域132に保存されている制御プログラム210のうち、属性情報202に応じてその実行が許可されている機能を実行するプログラム部分を選択的に実行するよう構成されている。   As described above, the electronic control device 120 according to this embodiment includes the processing device 122 and the storage device 124. The storage device 124 includes a common storage area 130 that stores a boot program 200 that is executed when the processing apparatus 122 is started up, and an individual storage area 132 that stores a control program 210 that is executed after the execution of the boot program 200 is started. Have. Based on the attribute information 202 stored in the common storage area 130, the processing device 122 is allowed to execute the control program 210 according to the attribute information 202 among the control programs 210 stored in the individual storage area 132. It is configured to selectively execute a program portion that executes a function to be executed.

この構成によれば、各ホスト車両100では、そのホスト車両100の記憶装置124に保存された属性情報202に基づいて、制御プログラム210のうちそのホスト車両100において実行すべきプログラム部分が選択的に実行される。このため、制御プログラム210を、型式の異なる複数の車両についての一つの共通的なプログラムとして作成することができる。また、属性情報202にホスト車両100が準拠すべき規制の範囲を直接又は間接に示す情報を含ませておくことで、当該ホスト車両100において、準拠すべき各規制に従った適切な動作を、自動的に行わせることができる。したがって、制御プログラム210に係るソフトウェアの開発コストや更新コストを増加させることなく、準拠すべき法的規制や業界規制の観点等から各ホスト車両100に応じた動作を適切に行えるようにすることができる。   According to this configuration, in each host vehicle 100, based on the attribute information 202 stored in the storage device 124 of the host vehicle 100, the program portion to be executed in the host vehicle 100 in the control program 210 is selectively selected. Executed. Therefore, the control program 210 can be created as one common program for a plurality of vehicles having different types. In addition, by including in the attribute information 202 information that directly or indirectly indicates the scope of regulations to which the host vehicle 100 should comply, in the host vehicle 100, an appropriate operation according to each regulation to be compliant can be performed. It can be done automatically. Therefore, it is possible to appropriately perform the operation according to each host vehicle 100 from the viewpoint of legal regulations and industry regulations to be complied with without increasing the software development cost and update cost related to the control program 210. it can.

また、本実施形態の電子制御装置120では、処理装置122は、属性情報202に応じて使用することが規定されているパラメータを、例えば制御プログラム210から取得し、当該取得したパラメータを用いて上記実行が許可されたプログラム部分を実行するよう構成されている。この構成によれば、ホスト車両100の動作を、準拠すべき規制等に合わせてより細かく制御することができる。   Further, in the electronic control device 120 of the present embodiment, the processing device 122 acquires, for example, the parameter specified to be used according to the attribute information 202 from the control program 210, and uses the acquired parameter to The program portion that is permitted to be executed is configured to be executed. According to this configuration, the operation of the host vehicle 100 can be more finely controlled in accordance with regulations to be complied with.

また、本実施形態の電子制御装置120では、処理装置122は、更新指示と共に前記制御プログラム210の更新用プログラムを受信したときは、当該受信した更新用プログラムにより、個別記憶領域132に保存されている制御プログラム210を更新するよう構成されている。この構成によれば、ソフトウェアの開発コストを増加させることなく、制御プログラム210のバージョンアップを適切に行うことができる。   In the electronic control device 120 of the present embodiment, when the processing device 122 receives the update program of the control program 210 together with the update instruction, the processing device 122 stores the update program in the individual storage area 132 by the received update program. The control program 210 is updated. According to this configuration, it is possible to appropriately upgrade the control program 210 without increasing the software development cost.

また、本実施形態の電子制御装置120は、自動車等のホスト車両100に搭載されている。この構成によれば、制御プログラム210に係るソフトウェアの開発コストを増加させることなく法的規制等に準拠した動作を適切に行い得る車両を実現することができる。   In addition, the electronic control device 120 of this embodiment is mounted on a host vehicle 100 such as an automobile. According to this configuration, it is possible to realize a vehicle that can appropriately perform an operation based on legal regulations and the like without increasing the development cost of software related to the control program 210.

なお、本発明は上記実施形態の構成に限られるものではなく、その要旨を逸脱しない範囲において種々の態様において実施することが可能である。   In addition, this invention is not restricted to the structure of the said embodiment, In the range which does not deviate from the summary, it can implement in a various aspect.

例えば、上記実施形態では、制御プログラム210は、A機能モジュール群214a、B機能モジュール群214b、及びC機能モジュール群214cの3つの機能モジュール群を備えるものとしたが、これには限られない。例えば、属性情報202に基づいてその動作の態様等を変更し得る制御対象の数に応じて、任意の数の機能モジュール群を備えるものとすることができる。そのような制御対象には、内燃機関102、伝達装置104、回転電機106のほか、例えば、装置群110を構成する操舵装置、制動装置等が含まれ得る。この場合、処理装置122は、例えば、属性情報202に含まれる装置コードやデバイスコードに基づいて、実行許可テーブル216から、実行すべきプログラム部分としてのモジュール220の一つ又は複数を特定して、それらを選択的に動作させるものとすることができる。   For example, in the above-described embodiment, the control program 210 includes the three function module groups of the A function module group 214a, the B function module group 214b, and the C function module group 214c, but is not limited thereto. For example, an arbitrary number of functional module groups can be provided according to the number of control targets whose operation mode can be changed based on the attribute information 202. Such control objects may include, for example, the steering device, the braking device, and the like that constitute the device group 110 in addition to the internal combustion engine 102, the transmission device 104, and the rotating electrical machine 106. In this case, for example, the processing device 122 identifies one or more of the modules 220 as the program portion to be executed from the execution permission table 216 based on the device code or device code included in the attribute information 202, for example. They can be selectively operated.

また、上記実施形態では、A機能モジュール群214a、B機能モジュール群214b、及びC機能モジュール群214cは、それぞれ、3つのモジュール(220a−1、220a−2、220a−3等)で構成されるものとしたが、これには限られない。各機能モジュール群は、制御プログラム210が共通的に適用される車両の型式(種類)の数等に応じて、それぞれ異なる態様の動作を実現する任意の数のモジュールを含むものとすることができる。   In the above embodiment, the A function module group 214a, the B function module group 214b, and the C function module group 214c are each composed of three modules (220a-1, 220a-2, 220a-3, etc.). It was supposed to be, but it is not limited to this. Each functional module group can include an arbitrary number of modules that realize different modes of operation according to the number of types (types) of vehicles to which the control program 210 is commonly applied.

また、上記実施形態では、処理装置122は、プログラム実行部154により制御プログラム210が動作するソフトウェアプラットフォームを提供するものとしたが、これには限られない。処理装置122が属性情報202に応じて制御プログラム210の特定のプログラム部分を選択的に実行し得る限りにおいて、他の手法を用いて制御プログラム210を実行するものとすることができる。そのような手法は、例えば、制御プログラム210をアプリケーションプログラムとして実行し得るオペレーティングシステム(OS、Operating System)、OSと制御プログラム210との間で動作するミドルウェア、等を含むものとすることができる。   In the above embodiment, the processing device 122 provides the software platform on which the control program 210 operates by the program execution unit 154, but is not limited thereto. As long as the processing device 122 can selectively execute a specific program portion of the control program 210 according to the attribute information 202, the control program 210 can be executed using another method. Such a method may include, for example, an operating system (OS) that can execute the control program 210 as an application program, middleware that operates between the OS and the control program 210, and the like.

また、上記実施形態では、処理装置122は、属性情報202に応じて使用することが規定されているパラメータを、制御プログラム210に含まれるパラメータテーブル218から取得するものとしたが、これには限られない。例えば、属性情報202に応じて使用することが規定されているパラメータは、制御プログラム210とは別のデータ構造体として個別記憶領域132に保存されるものとしても良い。あるいは、属性情報202に応じて使用することが規定されているパラメータは、予め定められて、共通記憶領域130に保存されているものとしてもよい。   In the above-described embodiment, the processing device 122 acquires the parameters specified to be used according to the attribute information 202 from the parameter table 218 included in the control program 210. I can't. For example, the parameters defined to be used according to the attribute information 202 may be stored in the individual storage area 132 as a data structure different from the control program 210. Alternatively, the parameters defined to be used according to the attribute information 202 may be determined in advance and stored in the common storage area 130.

同様に、上記実施形態では、実行許可テーブル216は、制御プログラム210に含まれるものとしたが、これには限られない。例えば、実行許可テーブル216は、制御プログラム210とは別のデータ構造体として個別記憶領域132に保存されるものとしても良い。あるいは、実行許可テーブル216は、予め定められて共通記憶領域130に保存されているものとしてもよい。   Similarly, in the above-described embodiment, the execution permission table 216 is included in the control program 210, but is not limited thereto. For example, the execution permission table 216 may be stored in the individual storage area 132 as a data structure different from the control program 210. Alternatively, the execution permission table 216 may be determined in advance and stored in the common storage area 130.

100…車両、102…内燃機関、104…伝達装置、106…回転電機、108…センサ群、110…装置群、120…電子制御装置、122…処理装置、124…記憶装置、126…通信インタフェース(通信I/F)、130…共通記憶領域、132…個別記憶領域、134…作業用記憶領域、140…プログラム更新部、142…制御実行部、150…実行選択部、152…パラメータ選択部、154…プログラム実行部、200…ブートプログラム、202…属性情報、210…制御プログラム、212…メインプログラム、214a…A機能モジュール群、214b…B機能モジュール群、214c…C機能モジュール群、220、220a−1、220a−2、220a−3、220b−1、220b−2、220b−3、220c−1、220c−2、220c−3…モジュール、216…実行許可テーブル、218…パラメータテーブル、230…ジャンプテーブル、232…パラメータリスト。
DESCRIPTION OF SYMBOLS 100 ... Vehicle, 102 ... Internal combustion engine, 104 ... Transmission device, 106 ... Rotary electric machine, 108 ... Sensor group, 110 ... Device group, 120 ... Electronic control unit, 122 ... Processing device, 124 ... Storage device, 126 ... Communication interface ( Communication I / F), 130 ... common storage area, 132 ... individual storage area, 134 ... working storage area, 140 ... program update section, 142 ... control execution section, 150 ... execution selection section, 152 ... parameter selection section, 154 ... Program execution unit, 200 ... Boot program, 202 ... Attribute information, 210 ... Control program, 212 ... Main program, 214a ... A function module group, 214b ... B function module group, 214c ... C function module group, 220, 220a- 1, 2, 220a-2, 220a-3, 220b-1, 220b-2, 220b-3, 2 0c-1,220c-2,220c-3 ... module, 216 ... execution permission table 218 ... parameter table 230 ... jump table, 232 ... parameter list.

Claims (4)

電子装置であって、
処理装置と、
前記処理装置が起動時に実行するブートプログラムが保存される共通記憶領域と、ブートプログラムの実行開始後に実行される制御プログラムが保存される個別記憶領域と、を有する記憶装置と、
を備え、
前記処理装置は、前記共通記憶領域に保存されている属性情報に基づいて、前記個別記憶領域に保存されている制御プログラムのうち、前記属性情報に応じてその実行が許可されている機能を実行するプログラム部分を選択的に実行するよう構成されている、電子装置。
An electronic device,
A processing device;
A storage device having a common storage area for storing a boot program to be executed when the processing device is activated, and an individual storage area for storing a control program executed after the start of execution of the boot program;
With
Based on the attribute information stored in the common storage area, the processing device executes a function that is permitted to be executed according to the attribute information, among control programs stored in the individual storage area. An electronic device configured to selectively execute program portions to be executed.
前記処理装置は、前記属性情報に応じて使用することが規定されているパラメータを取得し、当該取得したパラメータを用いて前記プログラム部分を実行する、よう構成されている、請求項1に記載の電子装置。   The said processing apparatus is comprised so that the parameter prescribed | regulated to be used according to the said attribute information may be acquired, and the said program part may be performed using the acquired parameter. Electronic equipment. 前記処理装置は、更新指示と共に前記制御プログラムの更新用プログラムを受信したときは、当該受信した前記更新用プログラムにより前記個別記憶領域に保存されている制御プログラムを更新するよう構成されている、
請求項1又は2に記載の電子装置。
The processing device is configured to update the control program stored in the individual storage area by the received update program when the update program of the control program is received together with an update instruction.
The electronic device according to claim 1.
請求項1ないし3のいずれか一項に記載の電子装置を備える車両。
A vehicle comprising the electronic device according to any one of claims 1 to 3.
JP2018040570A 2018-03-07 2018-03-07 Electronic apparatus Pending JP2019159369A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018040570A JP2019159369A (en) 2018-03-07 2018-03-07 Electronic apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018040570A JP2019159369A (en) 2018-03-07 2018-03-07 Electronic apparatus

Publications (1)

Publication Number Publication Date
JP2019159369A true JP2019159369A (en) 2019-09-19

Family

ID=67996203

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018040570A Pending JP2019159369A (en) 2018-03-07 2018-03-07 Electronic apparatus

Country Status (1)

Country Link
JP (1) JP2019159369A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021135553A (en) * 2020-02-24 2021-09-13 株式会社デンソー Vehicle-purpose electronic control system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021135553A (en) * 2020-02-24 2021-09-13 株式会社デンソー Vehicle-purpose electronic control system
JP7371527B2 (en) 2020-02-24 2023-10-31 株式会社デンソー Vehicle electronic control system

Similar Documents

Publication Publication Date Title
CN110463162B (en) Application deployment method, device and system
JP2019159401A (en) Electronic control unit system, and software consistency check system in electronic control unit system
JP7311245B2 (en) Master device, master, control method, program and vehicle
US11945453B2 (en) Onboard device, information generating method, non-transitory storage medium, and vehicle
JP2019159400A5 (en)
JP2019159369A (en) Electronic apparatus
JP7464092B2 (en) Master, Center, and Vehicle
US11620125B2 (en) Software update device, software update method, non-transitory storage medium, and vehicle
JP6718483B2 (en) vehicle
US20220027143A1 (en) Server, software updating device, vehicle, software updating system, control method, and non-transitory storage medium
US20230195445A1 (en) On-board device, information processing method, and computer program
US20230095760A1 (en) On-vehicle relay device, information processing method and program
JP7484606B2 (en) In-vehicle device, software update method, software update program, and vehicle
US11947824B2 (en) Electronic control unit, method, and program
WO2023199395A1 (en) Vehicle software management device and vehicle software management system
EP3933572A1 (en) Software update device, software update method, non-transitory storage medium, and vehicle
US9043084B2 (en) Method for configuring a control apparatus for a motor vehicle, computer program and control apparatus
US20230333841A1 (en) Electronic control apparatus, reprogram execution method, and non-transitory computer readable storage medium
US20220050668A1 (en) Method for Executing Program Components on a Control Unit, a Computer-Readable Storage Medium, a Control Unit and a System
CN116233092A (en) Vehicle-mounted device, vehicle, control method, and non-transitory recording medium
CN116982024A (en) Computer-implemented method and device for automatically updating a communication unit of a control unit of a vehicle