WO2016151743A1 - 機器制御装置、車両用電子制御装置、車両用電子制御システム、機器制御方法及び機器制御プログラム - Google Patents

機器制御装置、車両用電子制御装置、車両用電子制御システム、機器制御方法及び機器制御プログラム Download PDF

Info

Publication number
WO2016151743A1
WO2016151743A1 PCT/JP2015/058817 JP2015058817W WO2016151743A1 WO 2016151743 A1 WO2016151743 A1 WO 2016151743A1 JP 2015058817 W JP2015058817 W JP 2015058817W WO 2016151743 A1 WO2016151743 A1 WO 2016151743A1
Authority
WO
WIPO (PCT)
Prior art keywords
control
management unit
unit
storage
data
Prior art date
Application number
PCT/JP2015/058817
Other languages
English (en)
French (fr)
Inventor
政明 武安
博仁 西山
竜 村松
佐藤 直人
Original Assignee
三菱電機株式会社
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 三菱電機株式会社 filed Critical 三菱電機株式会社
Priority to JP2017507200A priority Critical patent/JP6150965B2/ja
Priority to PCT/JP2015/058817 priority patent/WO2016151743A1/ja
Publication of WO2016151743A1 publication Critical patent/WO2016151743A1/ja

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R16/00Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for
    • B60R16/02Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating

Definitions

  • the present invention relates to a device control device, a vehicle electronic control device, a vehicle electronic control system, a device control method, and a device control program mounted on a moving body such as an automobile.
  • ECUs Electronic Control Units
  • an increase in the number of mounted ECUs leads to an increase in member cost and vehicle weight. Therefore, an integrated ECU that integrates a plurality of ECU functions into one ECU has been developed. Furthermore, in recent years, higher functionality has been advanced by automatic control of automobiles, and there is a movement to make ECUs that provide advanced functions independent of integrated ECUs.
  • ADB Adaptive Driving Beam
  • the in-vehicle software installed in the ECU is generally divided into a platform program that depends on hardware resources and an application program that depends on vehicle control.
  • a platform program that depends on hardware resources
  • an application program that depends on vehicle control.
  • processes that do not depend on hardware resources are generalized, programs related to hardware resources are shared, and a program structure that supports various application programs is performed. It is coming.
  • the platform interface to be used is the same, but when the number of objects to be controlled is different, or characteristic information such as a power value or PWM control value for controlling the target device is different.
  • characteristic information such as a power value or PWM control value for controlling the target device.
  • the function itself controlled by the application program is the same, but the number of devices to be controlled is different.
  • Patent Document 1 it is possible to make it unnecessary to change the platform program accompanying the change of the application program, and to make it unnecessary to change the application program accompanying the change of the platform program.
  • Patent Document 1 it is necessary to change the application program when the number of control devices to be controlled by the application program is increased or decreased or the adjustment according to the characteristics of the control device is performed.
  • Patent Document 1 an application program and a platform program arranged on the same ECU are targeted. Therefore, the technique of Patent Document 1 cannot be applied to the case where application functions are executed by a plurality of ECUs, such as when application functions executed by a single ECU are made independent and functions are realized by a plurality of ECUs.
  • the object of the present invention is to provide a device control device that can flexibly and easily change the number or characteristics of control devices to be controlled.
  • the device control apparatus is A control correspondence storage unit that stores control correspondence information that is control correspondence information associated with a control target device that is a target of control and that includes control data used for control of the control device constituting the control target device; When obtaining a control request for requesting control of the control target device, a control management unit for obtaining the control data from the control correspondence information; A resource management unit that includes a storage memory and stores the control data acquired by the control management unit in the storage memory; A device control unit that reads out the control data stored in the storage memory and executes control on the control device using the control data.
  • the control correspondence storage unit is control correspondence information associated with the control target device, and includes control data used for control of the control device constituting the control target device.
  • the control management unit acquires a control request for requesting control of the control target device
  • the control management unit acquires the control data from the control correspondence information
  • the resource management unit includes a storage memory
  • the device control unit which is stored in the storage memory, reads the control data stored in the storage memory, and executes control on the control device using the control data. Therefore, it is possible to flexibly and easily change the number or characteristics of the control devices constituting the control target device.
  • FIG. 2 is a hardware configuration diagram of an ECU according to the first embodiment.
  • FIG. 3 is a configuration diagram of a ROM according to the first embodiment.
  • 1 is a configuration diagram of a RAM according to a first embodiment.
  • FIG. 2 is a block configuration diagram of a device control device included in the ECU according to the first embodiment. The figure explaining the apparatus control method and apparatus control process of the apparatus control apparatus which concern on Embodiment 1.
  • FIG. FIG. 3 is a diagram for explaining control management processing of a control management unit according to the first embodiment.
  • FIG. 3 is a diagram for explaining resource management processing of a resource management unit according to the first embodiment. The figure explaining the apparatus control execution process of the apparatus control part which concerns on Embodiment 1.
  • FIG. 5 is a block configuration diagram of a vehicle electronic control system according to a second embodiment.
  • FIG. 3 is a block configuration diagram of an ECU 1a according to a second embodiment.
  • FIG. 3 is a block configuration diagram of an ECU 1b according to a second embodiment.
  • FIG. 10 is a diagram for explaining data write processing by a resource management unit according to the third embodiment. The figure which shows an example of the hardware constitutions of an apparatus control apparatus.
  • FIG. 1 is a diagram illustrating an example of a hardware configuration of the ECU 1 according to the present embodiment.
  • the ECU 1 includes a microcomputer 10 that includes a CPU (Central Processing Unit) 11, a ROM (Read Only Memory) 20, and a RAM (Random Access Memory) 30.
  • the ECU 1 includes an input / output unit 13 that is an input / output interface with the nonvolatile memory 12 and the control device 14 constituting the control target device 140.
  • the ECU 1 may be a microcomputer having any configuration as long as the CPU 11 has a configuration for executing a program.
  • the ECU 1 is an example of a vehicle electronic control device 1000.
  • FIG. 2 shows an example of the configuration of the ROM 20 according to the present embodiment.
  • FIG. 3 shows an example of the configuration of the RAM 30 according to the present embodiment.
  • FIG. 2 shows an example of a program stored in the ROM 20 according to the present embodiment.
  • FIG. 3 shows an example of a memory configuration assigned to the RAM 30 according to the present embodiment.
  • the ROM 20 stores an application program 210 and a platform program 220.
  • the application program 210 is a program for controlling the control target device 140 that is a control target of the ECU 1.
  • the control target device 140 is a device that is a unit of control of the ECU 1, and includes the control device 14.
  • the control target device 140 is a headlight
  • the control device 14 is a plurality of LED lamps constituting the headlight.
  • the platform program 220 is a program that directly controls hardware.
  • the ROM 20 includes a control information storage unit 230 that stores a control information table 231 used in the control process by the application program 210. The control information storage unit 230 and the control information table 231 will be described in detail later.
  • control information table 231 is stored in the ROM 20, but may be stored in the nonvolatile memory 12, or may be stored in both the ROM 30 and the nonvolatile memory 12. Note that, in the following description, when it is simply described as an application, it means an application program.
  • a storage memory 310 used for control processing by the application program 210 is allocated to the RAM 30.
  • the storage memory 310 stores control information used in the control process and is also referred to as a control information memory.
  • FIG. 4 is a diagram showing an example of a block configuration of device control apparatus 100 provided in ECU 1 according to the present embodiment.
  • the device control apparatus 100 is a component that executes the function of the application program 210 in the ECU 1 described above.
  • the device control apparatus 100 is also referred to as an application program execution unit or an application program execution apparatus.
  • the ECU 1 also includes a platform program execution unit 110 that executes the platform program 220.
  • the platform program execution unit 110 is an example of a drive execution unit 1100 that drives the control device based on a control execution request output to the control device by the device control device 100.
  • the ECU 1, that is, the vehicle electronic control device 1000 is a platform program execution unit 110 that drives the control device based on a request for execution of control to the control device 100 and the control device that is output from the device control unit 214.
  • the device control apparatus 100 acquires a control request 400 for requesting control of the control target device 140 that is a control target from the control application execution unit 211, and controls the control devices 14 a and 14 a that configure the control target device 140 according to the control request 400. 14b is controlled.
  • the device control apparatus 100 includes a control application execution unit 211, a control management unit 212, a resource management unit 213, a device control unit 214, and a control information storage unit 230.
  • the resource management unit 213 includes a storage memory 310 having a plurality of storage areas.
  • the control information storage unit 230 includes an area correspondence storage unit 232, a control correspondence storage unit 233, and device correspondence information 2341.
  • the area correspondence storage unit 232 stores area correspondence information 2321 that associates the device identifier 141 that identifies the control devices 14 a and 14 b with the area identifier 3111 that identifies each of the storage areas 311 of the storage memory 310. .
  • the area correspondence information 2321 is an example of the control information table 231.
  • control correspondence storage unit 233 includes control correspondence information 2331 that is control correspondence information 2331 associated with the control target device 140 and associates the area identifier 3111 with the control data 500 used for control of the control devices 14a and 14b.
  • the control correspondence information 2331 is an example of the control information table 231.
  • the device correspondence storage unit 234 stores device correspondence information 2341 that associates the device identifier 141 with the characteristic information 600 used for control of the control devices 14a and 14b identified by the device identifier 141.
  • the characteristic information 600 is information related to the characteristics of the control device 14 necessary for controlling the control device 14.
  • the characteristic information 600 is, for example, power information, PWM (pulse width modulation) control information, or the like.
  • the device correspondence information 2341 is an example of the control information table 231.
  • the control application execution unit 211 executes a control application program that controls the control target device 140. There are one or more control application programs. The control application execution unit 211 executes a control application program that determines a control method of the control target device 140 based on an input signal input from a switch or a sensor. One control application execution unit 211 may correspond to one control target device 140, or one control application execution unit 211 may correspond to a plurality of control target devices 140. That is, the device control apparatus 100 is configured such that when the control target device 140 is specified, the control application execution unit 211 is specified and the control correspondence information 2331 is specified.
  • the control application execution unit 211 notifies the control management unit 212 of a control request 400 to the control target device 140 based on an input signal such as switch information.
  • control application execution unit 211 has information indicating a headlight on / off instruction as the control request 400 and the control target device 140 is a headlight. Further, if the control application program is an application for wiper control, the control application execution unit 211 has information indicating a wiper start / stop instruction as the control request 400 and the control target device 140 is a wiper.
  • the control request 400 may be information including a control mode that represents the state of the control target device 140.
  • the control request 400 may be information indicating a control mode such as the normal lighting mode, the city mode, or the suburban mode, instead of the ONOFF information indicating whether the headlight is turned on or off.
  • the control management unit 212 When acquiring the control request 400 for requesting control of the control target device 140, the control management unit 212 acquires the area identifier 3111 and the control data 500 from the control correspondence information 2331. The control management unit 212 outputs to the resource management unit 213 a write request 2121 that is a request to write the control data 500 to the storage area 311 identified by the acquired area identifier 3111.
  • the control data 500 is control information used for controlling the control device 14 constituting the control target device 140.
  • the control data 500 is set for each of the control devices 14a and 14b.
  • the area identifier 3111 is information indicating the writing position of the storage memory 310.
  • the write request 2121 requests writing of the control data 500 to the storage memory 310.
  • the write request 2121 includes an area identifier 3111 that is a write position in the storage memory 310 and the control data 500.
  • control management unit 212 When the control management unit 212 receives the control request 400 from the control application execution unit 211, the control management unit 212 reads the control information table 231 and obtains the control data 500 based on the control request 400 and the area identifier 3111 of the storage area 311 in which the control data 500 is written. read out. Then, the control management unit 212 generates a write request 2121 for writing the read control data 500 to the location of the storage area 311 identified by the area identifier 3111 and outputs the write request 2121 to the resource management unit 213.
  • the control data 500 is also referred to as service information corresponding to the control target device 140.
  • the control management unit 212 is also referred to as a service management unit that manages device information and control methods controlled by the control application execution unit 211.
  • the resource management unit 213 acquires the write request 2121 from the control management unit 212, and writes the control data 500 to the storage memory 310 based on the acquired write request 2121.
  • the resource management unit 213 exchanges control data 500 between the control management unit 212 and the device control unit 214.
  • the device control unit 214 reads the control data 500 written in the storage area 311 and acquires the area identifier 3111.
  • the device control unit 214 acquires a device identifier 141 corresponding to the region identifier 3111 based on the region identifier 3111 and the region correspondence information 2321.
  • the device control unit 214 executes control using the control data 500 for the control device 14 identified by the device identifier 141. Execution of control with respect to the control device 14 means output of electric power to the control device 14.
  • the output of power to the control device 14 that is a load is referred to as a load output.
  • the device control unit 214 is also referred to as a load output unit.
  • the first method is a method in which the device control unit 214 includes the device identifier 141 of the connected control device 14 in the read request 2141 and outputs it to the resource management unit 213 with respect to the resource management unit 213. That is, the device control unit 214 is a method for specifying a control device and outputting a read request 2141.
  • the resource management unit 213 refers to the area correspondence information 2321 and acquires the area identifier 3111 corresponding to the device identifier 141 included in the read request 2141.
  • the resource management unit 213 reads the control data 500 from the storage area 311 identified by the acquired area identifier 3111, and returns the read control data 500 and area identifier 3111 to the device control unit 214 as return data 2131.
  • the second method is a method in which the device control unit 214 outputs a read request 2141 for requesting the resource management unit 213 to read all control data 500 stored in the storage memory 310.
  • the device control unit 214 generates a read request 2141 that refers to all the storage areas 311 of the storage memory 310 and outputs the read request 2141 to the resource management unit 213.
  • the resource management unit 213 When the resource management unit 213 reads the control data 500 from the storage area 311 of the storage memory 310, it returns the read control data 500 and the area identifier 3111 of the storage area 311 to the device control unit 214 as return data 2131.
  • Return data 2131 is response data to the read request 2141.
  • the device control unit 214 reads the region correspondence information 2321 and acquires the device identifier 141 corresponding to the region identifier 3111. In addition, the device control unit 214 reads the device correspondence information 2341 and acquires the characteristic information 600 corresponding to the device identifier 141. The device control unit 214 executes control on the control device 14 identified by the device identifier 141 based on the characteristic information 600 and the control data 500. That is, the device control unit 214 performs load output on the control device 14.
  • the device control method and device control process S100 of the device control apparatus 100 according to the present embodiment will be described with reference to FIG.
  • the device control process S100 includes a control management process S110, a resource management process S120, and a device control execution process S130.
  • step S ⁇ b> 111 the control management unit 212 acquires a control request 400 that requests control of the control target device 140.
  • the control management unit 212 acquires an area identifier 3111 for identifying the storage area 311 and the control data 500 from the control correspondence information 2331.
  • the control management unit 212 outputs a write request 2121 that is a request for writing the control data 500 to the storage area 311 identified by the area identifier 3111 to the resource management unit 213.
  • the control correspondence information 2331 may be information in which the area identifier 3111 is associated with the control data 500 corresponding to the control mode. In this case, the control management unit 212 generates a write request 2121 for storing the control data 500 corresponding to the control mode included in the control request 400 in the storage area 311.
  • FIG. 6 is a diagram for explaining the control management processing S110 of the control management unit 212 according to the present embodiment.
  • the control management process S110 will be described using a specific example with reference to FIG.
  • the control application program executed by the control application execution unit 211 is an application for headlight control.
  • the control application execution unit 211 has a function of selecting a headlight lighting mode from an input signal input from a switch or a sensor.
  • the lighting mode is an example of a control mode.
  • the control device 14 is assumed to be two headlight LED lamps.
  • the control target device 140 is a headlight
  • the control devices 14a and 14b constituting the headlight that is the control target device 140 are two headlight LED lamps.
  • the control application execution unit 211 outputs a control request 400 for setting the headlight lighting mode to the normal mode based on the input signal.
  • the control management unit 212 When acquiring the control request 400, the control management unit 212 identifies the control target device 140 from the control request 400, and refers to the control correspondence information 2331 corresponding to the headlight that is the control target device 140.
  • control data 500 service information
  • the control correspondence information 2331 corresponding to the headlight control data 500 (service information) corresponding to each of the two LED lamps which are the control devices 14 constituting the headlight is set.
  • the control correspondence information 2331 holds the number of LED lamps to be applied to the headlight and the LED lamp lighting pattern information in each headlight lighting mode as control data 500 related to the headlight lighting mode. is doing.
  • the data configuration of the control request 400 notified between the control application execution unit 211 and the control management unit 212 may be configured appropriately according to service information provided by the control application program.
  • control application execution unit 211 performs processing based on the input signal, and notifies the control management unit 212 of the headlight lighting mode as a control request 400.
  • the control management unit 212 refers to the control correspondence information 2331 based on the control request 400 and acquires the control data 500 corresponding to the control target device 140.
  • control correspondence information 2331 the storage position where the information indicating the write position of the storage memory 310 storing the control data 500 corresponding to the control target device 140 and the type of lighting mode are set.
  • a table 23311 is stored.
  • the control correspondence information 2331 stores a lighting mode table 23312 in which lighting pattern information for each lighting mode is set.
  • Information indicating the writing position in the storage memory 310 is held for the number of control devices 14 controlled by the control application execution unit 211.
  • the information indicating the write position in the storage memory 310 is an area identifier 3111 that identifies a storage area in the storage memory 310. That is, the control correspondence information 2331 is associated with the area identifiers 3111 corresponding to the number of control devices 14 constituting the control target device 140 and the control data 500 corresponding to each of the region identifiers 3111.
  • the two LED lamps are the control device 14 constituting the control target device 140, there are two area identifiers 3111. Therefore, two area identifiers 3111, data 1 and data 2 are set in the memory write position of the storage position table 23311. Further, (1) normal mode, (2) city mode, and (3) suburban mode are set in the lighting pattern of the storage position table 23311.
  • the lighting mode table 23312 is information indicating control contents of the control application execution unit 211, that is, service contents.
  • the duty ratio of the PWM control is defined as the illuminance information of the LED lamp in the elapsed time after the control management unit 212 acquires the control request 400.
  • the elapsed time and the duty ratio are associated with the lighting mode table 23312 here, the lighting mode and the duty ratio may be associated with each other.
  • the duty ratio is set to 10% until 1 hour after the control management unit 212 obtains the control request 400, 30% until 2 hours, and 50% until 3 hours. .
  • the control management unit 212 When acquiring the control request 400 in which the headlight lighting mode is the normal mode, the control management unit 212 writes 10% to the data 1 and 10% to the data 2 based on the control correspondence information 2331 corresponding to the control request 400. A write request 2121 for writing is generated.
  • the area identifier 3111 is associated with the control correspondence information 2331 and the control data 500 corresponding to the elapsed time since the control management unit 212 acquired the control request 400.
  • the control management unit 212 rewrites the control data 500 in the storage area 311 according to the elapsed time.
  • control management unit 212 periodically calls the control data 500 with respect to the control correspondence information 2331 after receiving the control request 400.
  • the control management unit 212 acquires the control data 500 corresponding to the elapsed time and generates a write request 2121.
  • the resource management unit 213 writes the control data 500 in the storage area 311 based on the write request 2121 output from the control management unit 212. In FIG. 6, 10% is written in the storage area 1 and 10% is written in the storage area 2.
  • the resource management process S120 of the resource management unit 213 will be described below.
  • ⁇ Resource management process S120> when acquiring the write request 2121, the resource management unit 213 stores the control data 500 in the storage area 311 identified by the area identifier 3111.
  • the resource management unit 213 specifies the write position of the storage area 311 identified by the area identifier 3111 from the area correspondence information 2321.
  • the resource management unit 213 writes the control data 500 at the write position in the storage memory 310.
  • FIG. 7 is a diagram for explaining the resource management processing S120 of the resource management unit 213 according to the present embodiment.
  • the resource management process S120 of the resource management unit 213 will be described using a specific example with reference to FIG.
  • the storage memory 310 is a plurality of storage areas 311 divided by an arbitrary size.
  • storage area 1 and storage area 2 exist.
  • the writing position of the storage area 1 and the writing position of the storage area 2 in the storage memory 310 are respectively indicated.
  • the information written in each storage area 311 is held in the control correspondence information 2331 and input to the resource management unit 213 as a write request 2121.
  • the area correspondence information 2321 associates an area identifier 3111 with a device identifier 141 that identifies the control device 14.
  • the area identifier 3111 and the device identifier 141 are associated with each other via the writing position of the storage area 311.
  • the area correspondence information 2321 includes an area specifying table 23211 and a device specifying table 23212.
  • the area identifier 3111 is associated with the writing position of the storage area 311 identified by the area identifier 3111.
  • the device identification table 23212 the device identifier 141 and the writing position of the storage area 311 of the storage memory 310 are associated with each other.
  • the device identifier 141 is an IO port number corresponding to the control device 14 connected to the device control unit 214.
  • a data write process in the resource management process S120 of the resource management unit 213 will be described.
  • the resource management unit 213 refers to the area specifying table 23211 of the area correspondence information 2321.
  • the resource management unit 213 acquires the write position in the storage memory 310 corresponding to the area identifier 3111 included in the write request 2121.
  • the resource management unit 213 writes the control data 500 at the acquired writing position.
  • the area correspondence information 2321 holds information indicating an access method to the storage memory 310.
  • the control management unit 212 makes a write request using the area identifier 3111 indicating the memory location where the control data 500 is written.
  • the device control unit makes a read request using a device identifier 141 indicating a load output destination such as an IO port number. Note that it is necessary to define the area correspondence information 2321 so that the relationship between the area identifier 3111 indicating the memory location to which the application information is written and the IO port number connected to the control device 14 to be controlled by the application correctly matches. .
  • the data notified via the storage memory 310 may be consistent between the control management unit 212 and the device control unit 214.
  • the control manager 212 is unaware of the contents of data notified via the storage memory 310.
  • the device control unit 214 reads the control data 500 stored in the storage memory 310, and performs device control execution processing S130 for executing control on the control device 14 using the control data 500.
  • the device control unit 214 reads the control data 500 written in the storage area 311 and acquires the area identifier 3111.
  • the device control unit 214 acquires the device identifier 141 corresponding to the region identifier 3111 based on the region identifier 3111 and the region correspondence information 2321.
  • the device control unit 214 acquires characteristic information 600 corresponding to the control device 14 identified by the device identifier 141 based on the device identifier 141 and the device correspondence information 2341.
  • the device control unit 214 executes control using the control data 500 for the control device 14 identified by the device identifier 141.
  • the device control unit 214 executes control on the control device 14 using the characteristic information 600 and the control data 500.
  • FIG. 8 is a diagram for explaining the device control execution process S130 of the device control unit 214 according to the present embodiment. First, the data reading process by the resource management unit 213 in the device control execution process S130 will be described with reference to FIG.
  • the device control unit 214 acquires the return data 2131 from the resource management unit 213.
  • the device control unit 214 periodically outputs a read request 2141 that requests the resource management unit 213 to acquire the control data 500.
  • the read request 2141 includes the device identifier 141 of the connected control device 14 as shown in FIG.
  • the resource management unit 213 acquires the read request 2141 output from the device control unit 214, refers to the device identification table 23212, and reads the storage area 311 corresponding to the device identifier 141. Get the position.
  • the resource management unit 213 returns the acquired control data 500 of the reading position of the storage area 311 to the device control unit 214 as return data 2131.
  • the device control unit 214 outputs a request for reading the control data 500 from each of all the storage areas 311 of the storage memory 310 as a read request 2141.
  • the control data 500 is read by the resource management unit 213 in ascending or descending order of the storage area 311, and the read control data 500 and the read position of the storage area 311 are returned to the device control unit 214 in the return data 2131. Will be returned as
  • the device control unit 214 specifies the control device 14 in advance and issues a read request, so the control device 14 to be controlled is specified.
  • the device control unit 214 refers to the area correspondence information 2321 and corresponds to the reading position of the storage area 311.
  • the device identifier 141 is acquired. Then, the device control unit 214 performs control on the control device 14 identified by the acquired device identifier 141.
  • the device control execution process S130 of the device control unit 214 will be described with reference to FIG. Similar to FIG. 6, the load output operation to the headlight LED lamp will be described as a specific example. Further, it is assumed that the device control unit 214 identifies the control device 14 to be controlled as the control device 14a.
  • the device correspondence information 2341 is set corresponding to each of the control devices 14a and 14b.
  • device correspondence information 2341 corresponding to the control device 14a corresponding to the IO port 1 is shown.
  • the device control unit 214 acquires the return data 2131 from the resource management unit 213.
  • a duty ratio of 10% is set as the control data 500.
  • the device control unit 214 refers to the device correspondence information 2341 and acquires the characteristic information 600.
  • the characteristic information 600 of the control device 14a is also referred to as load output information.
  • the characteristic information 600 stores electrical characteristic information such as a current value and a voltage value for driving the connected control device 14a.
  • the device control unit 214 controls the control device 14a using the PWM control value of the control device 14a acquired from the resource management unit 213 and the characteristic information 600 acquired from the device correspondence information 2341.
  • the control device 14 a is driven under the control of the device control unit 214.
  • the device correspondence information 2341 includes, as a characteristic, fail-safe control indicating a control method at the time of abnormality in the control device 14a. That is, the device correspondence information 2341 makes it possible to define a fail-safe operation when an abnormality is detected when the control device 14 is controlled.
  • the device control unit 214 controls the control device 14 with a control method set to fail-safe operation.
  • the IO ports 1 and 2 are set to be stopped as a fail safe operation.
  • the fail-safe operation when the control device 14a and the control device 14b need to be activated at the same time, the control device 14b is detected when an abnormality is detected in the control device 14a. Can be stopped immediately.
  • the device control apparatus exchanges the configuration information and control method (service information) of the control device controlled by the control application execution unit via the control correspondence information 2331 and the region correspondence information 2321.
  • a control management unit and a device control unit Therefore, according to the device control apparatus, it is possible to control without being aware of the configuration information such as the number of connected control devices of the control target device, and it is possible to flexibly increase or decrease the control devices according to the vehicle. Further, according to the device control apparatus, it is possible to change the control information for the control device without changing the control application program by defining the information related to the service provided by the control application program in the control information table. It becomes.
  • control application execution unit and the control management unit can control without being aware of the physical connection position of the control device to be controlled. Therefore, the connection destination of the control device can be flexibly changed according to the vehicle configuration.
  • the device control unit since the device correspondence information is provided, the device control unit performs control without being aware of information related to hardware such as electrical characteristic information of the control device to be controlled. It becomes possible. Therefore, the control device can be flexibly changed according to the vehicle. Furthermore, according to the device control apparatus, by defining the fail-safe operation in the control information table, it becomes possible to immediately operate the fail-safe operation when an abnormality of the control device is detected.
  • the device control apparatus includes a control management unit that performs control related to a service provided by a device control apparatus that executes an application program, and a device control unit that performs an output request to a platform program that controls hardware resources.
  • the control management unit and the device control unit are separated from each other, and the resource management unit 213 is disposed between the control management unit and the device control unit. Further, the control management unit and the device control unit exchange data via the storage memory in the resource management unit 213.
  • the device control device is unaware of the configuration of the device to be controlled. Can be developed. In addition, development efficiency can be improved, and the resource management unit can also be improved in generality because of increased versatility.
  • Embodiment 2 FIG. In the present embodiment, differences from the first embodiment will be described. In the present embodiment, the same components as those described in Embodiment 1 are denoted by the same reference numerals, and the description thereof may be omitted.
  • FIG. 9 is a diagram showing a block configuration of the vehicle electronic control system 2000 according to the present embodiment.
  • FIG. 10 is a diagram showing a block configuration of the ECU 1a according to the present embodiment.
  • FIG. 11 is a diagram showing a block configuration of the ECU 1b according to the present embodiment.
  • the vehicle electronic control system 2000 includes a plurality of vehicle electronic control devices 1000.
  • the vehicular electronic control system 2000 is connected to the first vehicular electronic control device 1001 and the first vehicular electronic control device 1001 via the network as the vehicular electronic control device 1000, and the control device 14 is connected.
  • the ECU 1a is an example of a first vehicle electronic control device 1001.
  • the ECU 1b is an example of a second vehicle electronic control device 1002.
  • the ECU 1a and the ECU 1b are connected via a communication protocol network such as CAN (Controller Area Network) or LIN (Local Interconnect Network).
  • the ECU 1a includes a control application execution unit 211, a control management unit 212, a resource management unit 213a, a control information storage unit 230a, and a platform program execution unit 110.
  • the ECU 1b includes a resource management unit 213b, a control information storage unit 230b, a device control unit 214, and a platform program execution unit 110.
  • a control application execution unit 211 and a control management unit 212 are arranged in the ECU 1a, and a device control unit 214 is arranged in the ECU 1b.
  • the resource management unit 213 and the control information storage unit 230 are arranged in both the ECU 1a and the ECU 1b in order to perform communication control between the ECU 1a and the ECU 1b.
  • the components arranged in both the ECU 1a and the ECU 1b are distinguished by adding subscripts a and b.
  • the area correspondence storage unit 232a stores transfer correspondence information 23213 in which the storage area 311 and transfer destination information 701 for transferring the storage area 311 to the ECU 1b are associated with each other.
  • the resource management unit 213a stores the control data 500 in the storage area 311 and acquires transfer destination information 701 corresponding to the storage area 311 based on the transfer correspondence information 23213.
  • the resource management unit 213a transfers the storage area 311 of the storage memory 310 to the ECU 1b based on the transfer destination information 701.
  • control management unit 212 is arranged in the ECU 1a and the device control unit 214 is arranged in the ECU 1b.
  • control device 14 is connected to the ECU 1a and the load output to the control device 14 is output. It is good also as a structure which has arrange
  • control application execution unit 211 and the control management unit 212 may also be arranged in the ECU 1b.
  • the vehicle electronic control system 2000 receives an input signal on the ECU 1a side and controls the control device 14a connected to the ECU 1b side.
  • the storage memories 310a and 310b are data storage areas divided by an arbitrary size as in the first embodiment. Information written to each storage area 311 is held in the control correspondence information 2331a and 2331b. 9 and 10, the resource management units 213a and 213b each have one storage memory 310. However, the resource management unit 213 may hold a plurality of storage memories 310.
  • transfer destination information 701 is set for the reading position of the storage area 311 of the storage memory 310.
  • the ECU 1 b is set for the storage area 1
  • the ECU 1 a is set for the storage area 2.
  • the resource management unit 213a of the ECU 1a refers to the transfer correspondence information 23313 in order to determine whether or not to transfer the storage memory 310a after the operation of the control application execution unit 211 is completed. If the transfer destination information corresponding to the storage area 311 of the storage memory 310a is another ECU, the resource management unit 213a performs memory transfer of the control data 500 in the storage area 1 of the storage memory 310. do nothing.
  • the transfer network between ECUs may be LIN or CAN, and the network protocol is not limited.
  • the resource management unit 213b of the ECU 1b writes the control data 500 to the storage region 1 of the storage memory 310b held by the resource management unit 213b after receiving the control data 500 of the storage region 1 of the storage memory 310.
  • the control application execution unit 211 and the control management unit 212 that perform processing based on the input signal are separated from the device control unit 214. Can do. Therefore, according to the vehicle electronic control system, data can be transmitted and received between different ECUs via the storage memory, so that the application program can be developed without being aware of the ECU configuration, and the development efficiency can be improved. .
  • Embodiment 3 FIG. In the present embodiment, differences from the first and second embodiments will be described. In the present embodiment, the same components as those described in the first and second embodiments are denoted by the same reference numerals, and the description thereof may be omitted.
  • FIG. 12 is a diagram for explaining data write processing by the resource management unit 213b according to the present embodiment.
  • the vehicle electronic control system 2001 according to the present embodiment is assumed to include two control management units 212. That is, the vehicle electronic control system 2001 is provided in the ECU 1a as the control management unit 212, and is provided in the ECU 1b and the first control management unit 212a that manages the control of the control device 14a, and manages the control of the control device 14a. And a second control management unit 212b. That is, the control device 14a can be controlled by both the first control management unit 212a and the second control management unit 212b.
  • the vehicle electronic control system 2001 includes priority correspondence information 23214 in the region correspondence storage unit 232b of the ECU 1b.
  • the priority correspondence information 23214 is information in which the storage area 311 is associated with priority information 702 indicating which of the control by the first control management unit 212a and the control by the second control management unit 212b is prioritized. It is.
  • the resource management unit 213b When the resource management unit 213b receives the memory transfer in the storage area 311, the resource management unit 213b refers to the priority correspondence information 23214 and acquires the priority information 702 corresponding to the storage area 311. Based on the acquired priority information 702, the resource management unit 213b determines whether or not to write the control data 500 of the storage area 311 to the storage memory 310b.
  • the storage area 311 transferred to the memory is written in the storage area of the storage memory 310b.
  • the priority information 702 is information indicating that the ECU 1b is prioritized
  • nothing is done with respect to the storage area 311 transferred to the memory. That is, the control data 500 of the storage area 311 requested to be written by the second control management unit 212b is written to the storage memory 310b.
  • the storage of the control data 500 transferred to the memory in the storage memory 310b means that the control of the first control management unit 212a is given priority over the control of the control device 14a.
  • the priority of the storage area transferred in consideration of arranging applications for requesting control to the same control device in the ECU 1a and the ECU 1b.
  • Information can be held in priority correspondence information. It should be noted that the priority determination method is not limited to simply determining which is prioritized, and data may be reflected by logical sum or logical product of the contents of both control information memories.
  • the resource management unit 213 includes two storage memories 310, a storage memory 3101 for the first control management unit 212a and a storage memory 3102 for the second control management unit 212b. You may have. That is, the resource management unit 213a includes a storage memory 3101a and a storage memory 3102a. The resource management unit 213b includes a storage memory 3101b and a storage memory 3102b. In this case, priorities are assigned in units of storage memory in the priority correspondence information 23214. Further, the resource management unit 213b performs memory transfer from the ECU 1a in units of storage memory.
  • the resource management unit 213b selects an operation of rewriting the storage memory 310 in the ECU 1b with the storage memory transferred from the ECU 1a or not reflecting the storage memory transferred from the ECU 1a. You may be able to do it.
  • the device control device is a computer.
  • the device control apparatus includes hardware such as a processor 901, an auxiliary storage device 902, a memory 903, a communication device 904, an input interface 905, and a display interface 906.
  • the processor 901 is connected to other hardware via the signal line 910, and controls these other hardware.
  • the input interface 905 is connected to the input device 907.
  • the display interface 906 is connected to the display 908.
  • the processor 901 is an IC (Integrated Circuit) that performs processing.
  • the processor 901 is, for example, a CPU, a DSP (Digital Signal Processor), or a GPU.
  • the auxiliary storage device 902 is, for example, a ROM (Read Only Memory), a flash memory, or an HDD (Hard Disk Drive).
  • the memory 903 is, for example, a RAM (Random Access Memory).
  • the communication device 904 includes a receiver 9041 that receives data and a transmitter 9042 that transmits data.
  • the communication device 904 is, for example, a communication chip or a NIC (Network Interface Card).
  • the input interface 905 is a port to which the cable 911 of the input device 907 is connected.
  • the input interface 905 is, for example, a USB (Universal Serial Bus) terminal.
  • the display interface 906 is a port to which the cable 912 of the display 908 is connected.
  • the display interface 906 is, for example, a USB terminal or an HDMI (registered trademark) (High Definition Multimedia Interface) terminal.
  • the input device 907 is, for example, a mouse, a keyboard, or a touch panel.
  • the display 908 is, for example, an LCD (Liquid Crystal Display).
  • the auxiliary storage device 902 stores a program that realizes the control application execution unit, the control management unit, the resource management unit, and the device control unit shown in the block configuration diagram described above.
  • the control application execution unit, the control management unit, the resource management unit, and the device control unit are collectively referred to as “units”.
  • the program that realizes the function of the “unit” described above is also referred to as a device control program.
  • the program that realizes the function of “unit” may be a single program or a plurality of programs. This program is loaded into the memory 903, read into the processor 901, and executed by the processor 901.
  • auxiliary storage device 902 also stores an OS (Operating System). Then, at least a part of the OS is loaded into the memory 903, and the processor 901 executes a program that realizes the function of “unit” while executing the OS.
  • OS Operating System
  • the device control apparatus may include a plurality of processors 901.
  • a plurality of processors 901 may execute a program for realizing the function of “unit” in cooperation with each other.
  • information, data, signal values, and variable values indicating the processing results of the “unit” are stored as files in the memory 903, the auxiliary storage device 902, or a register or cache memory in the processor 901.
  • circuitry may be provided as “circuitry”. Further, “part” may be read as “circuit”, “process”, “procedure”, or “processing”. Further, “processing” may be read as “circuit”, “process”, “procedure”, or “part”. “Circuit” and “Circuitry” include not only the processor 901 but also other types of processing circuits such as a logic IC or GA (Gate Array) or ASIC (Application Specific Integrated Circuit) or FPGA (Field-Programmable Gate Array). It is a concept to include.
  • GA Gate Array
  • ASIC Application Specific Integrated Circuit
  • FPGA Field-Programmable Gate Array
  • a program product is a storage medium, a storage device, or the like on which a program that realizes the function described as a “part” is recorded. It is what you are loading.
  • control application execution unit, the control management unit, the resource management unit, the device control unit, and the platform program execution unit constitute the ECU as independent functional blocks.
  • the ECU does not have to be configured as described above, and the configuration of the ECU is arbitrary.
  • the control management unit, the resource management unit, and the device control unit may be a single functional block.
  • the functional blocks of the ECU are arbitrary as long as the functions described in the above embodiments can be realized. You may comprise ECU by these function blocks in what kind of other combination, or arbitrary block configurations.
  • the ECU may be an ECU system including a plurality of devices instead of a single device.
  • Embodiments 1 to 3 have been described, a plurality of these three embodiments may be partially combined. Alternatively, one of these three embodiments may be partially implemented. In addition, these three embodiments may be implemented in any combination as a whole or in part. In addition, said embodiment is an essentially preferable illustration, Comprising: It does not intend restrict

Abstract

 制御対応記憶部(233)が制御対象機器(140)に対応付けられた制御対応情報(2331)を記憶し、制御管理部(212)が制御対象機器(140)の制御を要求する制御要求(400)を取得すると、制御対応情報(2331)から制御データを取得し、リソース管理部(213)が格納メモリ(310)を備え、取得した制御データを格納メモリ(310)に格納し、機器制御部(214)が格納メモリ(310)に格納された制御データを読み出し、読み出した制御データを用いて制御機器(14)に対して制御を実行する。

Description

機器制御装置、車両用電子制御装置、車両用電子制御システム、機器制御方法及び機器制御プログラム
 本発明は、自動車等の移動体に搭載される機器制御装置、車両用電子制御装置、車両用電子制御システム、機器制御方法及び機器制御プログラムに関する。
 自動車の電装化が進む中で、車載用電子制御装置(Electronic Control Unit:ECU)の搭載数が増加し続けている。しかしながら、ECUの搭載数の増加は、部材コスト及び車両重量の増加につながるため、複数のECU機能を一つのECUに集約した統合ECUの開発が行われている。更に、近年では、自動車の自動制御による高機能化が進み、高度な機能を提供するECUについては統合ECUから独立させる動きがある。
 従来、自動車用ヘッドライトは、ハロゲンランプを利用し、固定的な配光パターンで制御されていた。しかし、近年では、ハイビーム走行中に、車載カメラで先行車や対向車といった前方車両の位置を検知し、前方車両が位置するエリアのみを遮光し他のエリアはハイビームで照射する技術が開発されている。このような技術はADB(Adaptive Driving Beam)と称される。
 ADBでは、複数のLEDランプを利用し、それぞれのLEDランプ毎に点灯あるいは消灯を行うことで、必要なところに必要な配光を行うことを実現している。このような高度な機能を提供する方式には、高度な機能を提供する機能のみを実現するECUを別で開発する方式がある。また、従来のヘッドライト制御機能自体を従来のECUとは独立させ、別のECUで実現させる方式がある。
 なお、統合ECU及びECUの独立においては、従来のECUと新たなECUとで、適用するマイクロコンピュータ等のハードウェア資源が異なる場合もあり、車載ソフトウェアの修正を行う必要があった。
 ECUに搭載する車載ソフトウェアは、一般的にハードウェア資源に依存するプログラムであるプラットフォームプログラムと車両の制御に依存するアプリケーションプログラムとに分けて構成される。車載ソフトウェアの修正に伴う開発量を抑えるため、ハードウェア資源に依らない処理などを汎用化し、ハードウェア資源に関わるプログラムを共通化して、多様なアプリケーションプログラムに対応させるプログラム構造とすることが行われてきている。
 特許文献1の技術では、アプリケーションプログラムとハードウェア資源の制御に直接的に関わるプラットフォームプログラムとの間に、アプリケーションプログラムとプラットフォームとの各々のデータ形式に適合するように変換して入出力処理を行う中間層を配置する。そして、この技術では、中間層にてアプリケーションプログラムとプラットフォームプログラムとに対応付けて入出力データを定義するテーブルを備え、このテーブルに基づいて入出力を行う。
特開2011-081671号公報
 しかしながら、車載用の機器制御方式においては、利用するプラットフォームインタフェースは同一であるが、制御する対象の数が異なる場合、あるいは対象の機器を制御するための電力値あるいはPWM制御値といった特性情報が異なる場合がある。具体的には、上述した自動車用ヘッドライトのように、アプリケーションプログラムが制御する機能自体は同一であるが、制御する機器の数が異なる場合等である。
 特許文献1では、アプリケーションプログラムの変更に伴うプラットフォームプログラムの変更を不要とすることができると共に、プラットフォームプログラムの変更に伴うアプリケーションプログラムの変更を不要とすることができる。しかし、特許文献1では、アプリケーションプログラムが制御する対象の制御機器の増減、あるいは制御機器の特性に応じた調整を行う場合に対しては、アプリケーションプログラムの変更を行う必要がある。
 また、特許文献1では、同一のECU上に配置されるアプリケーションプログラムとプラットフォームプログラムとを対象としている。よって、特許文献1の技術では、単一ECUで実行されていたアプリケーション機能を独立させ、複数のECUで機能実現する場合等、複数ECUでアプリケーション機能の実現を行う場合に適用することができない。
 本発明は、制御対象である制御機器の数あるいは特性を、柔軟かつ容易に変更することができる機器制御装置を提供することを目的とする。
 本発明に係る機器制御装置は、
 制御の対象である制御対象機器に対応付けられた制御対応情報であって、前記制御対象機器を構成する制御機器の制御に用いる制御データを含む制御対応情報を記憶する制御対応記憶部と、
 前記制御対象機器の制御を要求する制御要求を取得すると、前記制御対応情報から前記制御データを取得する制御管理部と、
 格納メモリを備え、前記制御管理部により取得された前記制御データを前記格納メモリに格納するリソース管理部と、
 前記格納メモリに格納された前記制御データを読み出し、前記制御データを用いて前記制御機器に対して制御を実行する機器制御部と
を備える。
 本発明に係る機器制御装置では、制御対応記憶部が、制御対象機器に対応付けられた制御対応情報であって、前記制御対象機器を構成する制御機器の制御に用いる制御データを含む制御対応情報を記憶し、制御管理部が、前記制御対象機器の制御を要求する制御要求を取得すると、前記制御対応情報から前記制御データを取得し、リソース管理部が、格納メモリを備え、前記制御データを前記格納メモリに格納し、機器制御部が、前記格納メモリに格納された前記制御データを読み出し、前記制御データを用いて前記制御機器に対して制御を実行する。よって、制御対象機器を構成する制御機器の数あるいは特性を柔軟かつ容易に変更することが可能となる。
実施の形態1に係るECUのハードウェア構成図。 実施の形態1に係るROMの構成図。 実施の形態1に係るRAMの構成図。 実施の形態1に係るECUが備える機器制御装置のブロック構成図。 実施の形態1に係る機器制御装置の機器制御方法及び機器制御処理について説明する図。 実施の形態1に係る制御管理部の制御管理処理を説明する図。 実施の形態1に係るリソース管理部のリソース管理処理を説明する図。 実施の形態1に係る機器制御部の機器制御実行処理を説明する図。 実施の形態2に係る車両用電子制御システムのブロック構成図。 実施の形態2に係るECU1aのブロック構成図。 実施の形態2に係るECU1bのブロック構成図。 実施の形態3に係るリソース管理部によるデータ書き込み処理を説明する図。 機器制御装置のハードウェア構成の一例を示す図。
 実施の形態1.
***構成の説明***
 図1は、本実施の形態に係るECU1のハードウェア構成の一例を示す図である。
 図1において、ECU1は、CPU(Central Processing Unit)11、ROM(Read Only Memory)20、RAM(Random Access Memory)30を含むマイクロコンピュータ10を備える。また、ECU1は、不揮発性メモリ12、制御対象機器140を構成する制御機器14との入出力インタフェースである入出力部13を備える。図1では、制御機器14は、制御機器14a,14bの2つである。
 本実施の形態では、ECU1は、CPU11がプログラムを実行する構成を備えていれば、どのような構成のマイクロコンピュータであってもよい。
 ECU1は、車両用電子制御装置1000の一例である。
 図2は、本実施の形態に係るROM20の構成の一例である。図3は、本実施の形態に係るRAM30の構成の一例である。
 図2は、本実施の形態に係るROM20に記憶されているプログラムの一例を示す。図3は、本実施の形態に係るRAM30に割り当てるメモリ構成の一例を示す。
 図2に示すように、ROM20には、アプリケーションプログラム210、プラットフォームプログラム220が記憶される。
 アプリケーションプログラム210は、ECU1の制御の対象である制御対象機器140を制御するプログラムである。制御対象機器140は、ECU1の制御の単位となる機器であり、制御機器14から構成される。例えば、制御対象機器140はヘッドライトであり、制御機器14はヘッドライトを構成する複数のLEDランプである。
 プラットフォームプログラム220は、ハードウェアを直接制御するプログラムである。
 また、ROM20には、アプリケーションプログラム210による制御処理で使用する制御情報テーブル231を記憶する制御情報記憶部230を備える。制御情報記憶部230及び制御情報テーブル231については後で詳しく説明する。
 なお、本実施の形態では制御情報テーブル231はROM20に記憶されているが、不揮発性メモリ12に記憶してもよいし、ROM30と不揮発性メモリ12との双方に記憶してもよい。
 なお、以下の説明において、単にアプリケーションと記載した場合には、アプリケーションプログラムを意味するものとする。
 図3に示すように、RAM30には、アプリケーションプログラム210による制御処理で使用する格納メモリ310が割り当てられる。格納メモリ310には、制御処理で使用する制御情報が格納され、制御情報メモリとも称される。
 図4は、本実施の形態に係るECU1が備える機器制御装置100のブロック構成の一例を示す図である。
 機器制御装置100は、上述したECU1におけるアプリケーションプログラム210の機能を実行する構成部である。機器制御装置100は、アプリケーションプログラム実行部あるいはアプリケーションプログラム実行装置とも称される。
 また、ECU1は、プラットフォームプログラム220を実行するプラットフォームプログラム実行部110を備える。プラットフォームプログラム実行部110は、機器制御装置100により出力される制御機器への制御の実行の要求に基づいて制御装置を駆動する駆動実行部1100の一例である。
 ECU1、すなわち車両用電子制御装置1000は、機器制御装置100と、機器制御部214から出力される制御機器への制御の実行の要求に基づいて制御装置を駆動するプラットフォームプログラム実行部110、すなわち駆動実行部1100とを備える。
 機器制御装置100は、制御アプリケーション実行部211から制御の対象である制御対象機器140の制御を要求する制御要求400を取得し、制御要求400に応じて制御対象機器140を構成する制御機器14a,14bを制御する。
 機器制御装置100は、制御アプリケーション実行部211、制御管理部212、リソース管理部213、機器制御部214、制御情報記憶部230を備える。
 リソース管理部213は複数の格納領域を有する格納メモリ310を備える。
 制御情報記憶部230は、領域対応記憶部232と、制御対応記憶部233と、機器対応情報2341とを備える。
 領域対応記憶部232は、制御機器14a,14bを識別する機器識別子141と、格納メモリ310が有する複数の格納領域の各格納領域311を識別する領域識別子3111とを対応付ける領域対応情報2321を記憶する。
 領域対応情報2321は、制御情報テーブル231の一例である。
 また、制御対応記憶部233は、制御対象機器140に対応付けられた制御対応情報2331であって、領域識別子3111と制御機器14a,14bの制御に用いる制御データ500とを対応付ける制御対応情報2331を記憶する。
 制御対応情報2331は、制御情報テーブル231の一例である。
 また、機器対応記憶部234は、機器識別子141と、機器識別子141により識別される制御機器14a,14bの制御に用いる特性情報600とを対応付ける機器対応情報2341を記憶する。
 本実施の形態において、特性情報600とは、制御機器14を制御するために必要な制御機器14の特性に関わる情報である。特性情報600は、例えば、電力情報、PWM(pulse width modulation)制御情報などである。
 機器対応情報2341は、制御情報テーブル231の一例である。
 制御アプリケーション実行部211は、制御対象機器140を制御する制御アプリケーションプログラムを実行する。制御アプリケーションプログラムは、一つまたは複数存在する。制御アプリケーション実行部211は、スイッチあるいはセンサ等から入力される入力信号をもとに、制御対象機器140の制御方法を決定する制御アプリケーションプログラムを実行する。なお、1つの制御アプリケーション実行部211が1つの制御対象機器140に対応してもよいし、1つの制御アプリケーション実行部211が複数の制御対象機器140に対応してもよい。すなわち、機器制御装置100は、制御対象機器140が特定されると、制御アプリケーション実行部211が特定されると共に制御対応情報2331が特定される構成となっている。
 制御アプリケーション実行部211は、スイッチ情報等の入力信号に基づいて制御対象機器140への制御要求400を制御管理部212に通知する。
 例えば、制御アプリケーション実行部211は、制御アプリケーションプログラムがヘッドライト制御用のアプリケーションであれば、ヘッドライトの点灯・消灯指示を示す情報が制御要求400であり、制御対象機器140はヘッドライトとなる。
 また、制御アプリケーション実行部211は、制御アプリケーションプログラムがワイパー制御用のアプリケーションであれば、ワイパーの起動・停止指示を示す情報が制御要求400であり、制御対象機器140はワイパーとなる。
 制御要求400は、制御対象機器140の状態を表す制御モードを含む情報でもよい。例えば、制御要求400は、ヘッドライトの点灯・消灯を示すようなONOFF情報ではなく、通常点灯モード、都市モード、郊外モードのような制御モードを示す情報でも良い。
 制御管理部212は、制御対象機器140の制御を要求する制御要求400を取得すると、制御対応情報2331から領域識別子3111と制御データ500とを取得する。制御管理部212は、取得した領域識別子3111により識別される格納領域311に制御データ500を書き込む要求である書き込み要求2121をリソース管理部213に出力する。
 制御データ500は、制御対象機器140を構成する制御機器14の制御に用いられる制御情報である。制御データ500は、制御機器14a,14bのそれぞれに対して設定される。
 領域識別子3111は、格納メモリ310の書き込み位置を意味する情報である。
 書き込み要求2121は、格納メモリ310への制御データ500の書き込みを要求する。書き込み要求2121には、格納メモリ310への書き込み位置である領域識別子3111と制御データ500とが含まれる。
 制御管理部212は、制御アプリケーション実行部211からの制御要求400を受け付けると、制御情報テーブル231を読み出し、制御要求400に基づく制御データ500と制御データ500を書き込む格納領域311の領域識別子3111とを読み出す。そして、制御管理部212は、読み出した制御データ500を、領域識別子3111により識別される格納領域311の位置に書き込む書き込み要求2121を生成し、リソース管理部213へ出力する。
 なお、制御データ500は、制御対象機器140に対応するサービス情報とも称される。また、制御管理部212は、制御アプリケーション実行部211が制御する機器の情報や制御方法を管理するサービス管理部とも称される。
 リソース管理部213は、制御管理部212から書き込み要求2121を取得し、取得した書き込み要求2121に基づいて、格納メモリ310への制御データ500の書き込みを実行する。リソース管理部213は、制御管理部212と機器制御部214との間で制御データ500の情報授受を実行する。
 機器制御部214は、格納領域311に書き込まれた制御データ500を読み出すと共に領域識別子3111を取得する。機器制御部214は、領域識別子3111と領域対応情報2321とに基づいて領域識別子3111に対応する機器識別子141を取得する。機器制御部214は、機器識別子141により識別される制御機器14に対して制御データ500を用いて制御を実行する。
 制御機器14に対する制御の実行とは制御機器14への電力の出力を行うことである。負荷である制御機器14への電力の出力は、負荷出力と称される。機器制御部214は、負荷出力部とも称される。
 機器制御部214による制御データ500の読み出し処理には、次の2つの方法がある。
 1つ目の方法は、機器制御部214は、リソース管理部213に対し、接続されている制御機器14の機器識別子141を読み出し要求2141に含めてリソース管理部213に出力する方法である。すなわち、機器制御部214は、制御機器を特定して、読み出し要求2141を出力する方法である。
 リソース管理部213は、領域対応情報2321を参照し、読み出し要求2141に含まれる機器識別子141に対応する領域識別子3111を取得する。リソース管理部213は、取得した領域識別子3111により識別される格納領域311から制御データ500を読み出し、読み出した制御データ500と領域識別子3111とを機器制御部214に返却データ2131として返却する。
 2つ目の方法は、機器制御部214は、リソース管理部213に対し、格納メモリ310に格納されている全ての制御データ500の読出しを要求する読み出し要求2141を出力する方法である。機器制御部214は、格納メモリ310の全ての格納領域311を参照する読み出し要求2141を生成し、リソース管理部213に出力する。
 リソース管理部213は、格納メモリ310の格納領域311から制御データ500を読み出すと、読み出した制御データ500と格納領域311の領域識別子3111とを機器制御部214に返却データ2131として返却する。
 返却データ2131とは、読み出し要求2141に対する応答データである。
 機器制御部214は、領域対応情報2321を読み出し、領域識別子3111に対応する機器識別子141を取得する。また、機器制御部214は、機器対応情報2341を読み出し、機器識別子141に対応する特性情報600を取得する。
 機器制御部214は、特性情報600と制御データ500とに基づいて、機器識別子141により識別される制御機器14に対して制御を実行する。すなわち、機器制御部214は、制御機器14に対して負荷出力を実施する。
***動作の説明***
 図5を用いて、本実施の形態に係る機器制御装置100の機器制御方法及び機器制御処理S100について説明する。
 機器制御処理S100は、制御管理処理S110、リソース管理処理S120、機器制御実行処理S130を備える。
<制御管理処理S110>
 S111において、制御管理部212は、制御対象機器140の制御を要求する制御要求400を取得する。
 S112において、制御管理部212は、制御要求400を取得すると、制御対応情報2331から格納領域311を識別する領域識別子3111と制御データ500とを取得する。制御管理部212は、領域識別子3111により識別される格納領域311に制御データ500を書き込む要求である書き込み要求2121をリソース管理部213に出力する。
 なお、制御対応情報2331は、領域識別子3111と、制御モードに応じた制御データ500とを対応付けた情報であってもよい。この場合、制御管理部212は、制御要求400に含まれる制御モードに応じた制御データ500を格納領域311に格納するための書き込み要求2121を生成する。
 図6は、本実施の形態に係る制御管理部212の制御管理処理S110を説明する図である。図6を用いて、制御管理処理S110について具体例を用いて説明する。
 図6では、制御アプリケーション実行部211が実行する制御アプリケーションプログラムは、ヘッドライト制御用のアプリケーションである。制御アプリケーション実行部211は、スイッチあるいはセンサ等から入力される入力信号から、ヘッドライトの点灯モードを選択する機能を有する。点灯モードは、制御モードの一例である。制御機器14は、2個のヘッドライト用LEDランプであるものとする。このとき、制御対象機器140はヘッドライトであり、制御対象機器140であるヘッドライトを構成する制御機器14a,14bは2個のヘッドライト用LEDランプである。
 図6に示すように、制御アプリケーション実行部211は、入力信号に基づいて、ヘッドライトの点灯モードを通常モードとする制御要求400を出力する。
 制御管理部212は、制御要求400を取得すると、制御要求400から制御対象機器140を特定し、制御対象機器140であるヘッドライトに対応する制御対応情報2331を参照する。ヘッドライトに対応する制御対応情報2331には、ヘッドライトを構成する制御機器14である2個のLEDランプのそれぞれに対応する制御データ500(サービス情報)が設定されている。
 図6に示すように、制御対応情報2331には、ヘッドライトの点灯モードに関わる制御データ500として、ヘッドライトに適用するLEDランプ数、ヘッドライトの各点灯モードにおけるLEDランプの点灯パターン情報を保持している。制御アプリケーション実行部211と制御管理部212との間で通知される制御要求400のデータ構成については、制御アプリケーションプログラムが提供するサービス情報に応じて適した構成することでよい。
 図6において、制御アプリケーション実行部211は、入力信号にもとづいて処理を行い、ヘッドライトの点灯モードを制御要求400として制御管理部212に通知する。制御管理部212は、制御要求400に基づいて制御対応情報2331を参照し、制御対象機器140に対応する制御データ500を取得する。
 図6に示すように、制御対応情報2331には、制御対象機器140に対応する制御データ500を格納する格納メモリ310の書き込み位置を示す情報と、点灯モードの種類とが設定されている格納位置テーブル23311が記憶される。また、制御対応情報2331には、各点灯モードの点灯パターン情報が設定されている点灯モードテーブル23312が記憶される。
 格納メモリ310の書き込み位置を示す情報は、制御アプリケーション実行部211が制御する制御機器14の個数分保持される。本実施の形態では、格納メモリ310の書き込み位置を示す情報は、格納メモリ310の格納領域を識別する領域識別子3111である。すなわち、制御対応情報2331には、制御対象機器140を構成する制御機器14の個数分の領域識別子3111と、領域識別子3111の各々に対応する制御データ500とが対応付けられる。
 図6の例では、2個のLEDランプが制御対象機器140を構成する制御機器14であるため、領域識別子3111は2つとなる。
 よって、格納位置テーブル23311のメモリ書き込み位置には、2つの領域識別子3111、データ1及びデータ2が設定されている。
 また、格納位置テーブル23311の点灯パターンには、(1)通常モード、(2)都市モード、(3)郊外モードが設定されている。
 点灯モードテーブル23312は、制御アプリケーション実行部211の制御内容、すなわちサービス内容を示す情報である。点灯モードテーブル23312には、制御管理部212が制御要求400を取得してからの経過時間におけるLEDランプの照度情報として、PWM制御のデューティー比を定義する。ここでは、点灯モードテーブル23312には、経過時間とデューティー比とが対応付けられているが、単に点灯モードとデューティー比とが対応付けられていてもよい。
 図6の例では、制御管理部212が制御要求400を取得してからの経過時間が1時間まではデューティー比10%、2時間までは30%、3時間までは50%と設定されている。
 制御管理部212は、ヘッドライトの点灯モードが通常モードの制御要求400を取得すると、制御要求400に対応する制御対応情報2331に基づいて、データ1に10%を書き込むと共にデータ2に10%を書き込む書き込み要求2121を生成する。
 また、制御対応情報2331には、図6に示すように領域識別子3111と、制御管理部212が制御要求400を取得してからの経過時間に応じた制御データ500とを対応付けられている。
 この場合、制御管理部212は、制御要求400を取得した後、経過時間に応じて格納領域311の制御データ500を書き換える。
 制御管理部212は、制御要求400を受け取った後、制御対応情報2331に対して周期的に制御データ500の呼び出しを実行するものとする。制御管理部212は、経過時間に対応する制御データ500を取得して、書き込み要求2121を生成する。
 リソース管理部213は、制御管理部212から出力された書き込み要求2121に基づいて、格納領域311に制御データ500を書き込む。図6では、格納領域1に10%が書き込まれ、格納領域2に10%が書き込まれる。このリソース管理部213のリソース管理処理S120については以下に説明する。
<リソース管理処理S120>
 S113において、リソース管理部213は、書き込み要求2121を取得すると、制御データ500を領域識別子3111により識別される格納領域311に格納する。リソース管理部213は、書き込み要求2121を取得すると、領域対応情報2321から領域識別子3111により識別される格納領域311の書き込み位置を特定する。リソース管理部213は、格納メモリ310における書き込み位置に制御データ500を書き込む。
 図7は、本実施の形態に係るリソース管理部213のリソース管理処理S120を説明する図である。図7を用いて、リソース管理部213のリソース管理処理S120について具体例を用いて説明する。
 図7において、格納メモリ310は任意のサイズで分割された複数の格納領域311である。ここでは、格納領域1、格納領域2が存在する。なお、以下において、格納領域1、格納領域2と記載した場合には、それぞれ格納メモリ310における格納領域1の書き込み位置、格納領域2の書き込み位置を示すものとする。各格納領域311へ書き込まれる情報は、上述したように、制御対応情報2331に保持され、書き込み要求2121としてリソース管理部213に入力される。
 図7に示すように、領域対応情報2321は、領域識別子3111と、制御機器14を識別する機器識別子141とを対応付ける。領域識別子3111と機器識別子141とは、格納領域311の書き込み位置を介して対応付けられている。
 図7に示すように、領域対応情報2321は、領域特定テーブル23211と、機器特定テーブル23212とを備える。
 領域特定テーブル23211は、領域識別子3111と、領域識別子3111により識別される格納領域311の書き込み位置とが対応付けられている。
 機器特定テーブル23212は、機器識別子141と、格納メモリ310の格納領域311の書き込み位置とが対応付けられている。
 図7に示すように、機器識別子141は、機器制御部214に接続される制御機器14に対応するIOポート番号である。
 リソース管理部213のリソース管理処理S120のうちデータ書き込み処理について説明する。
 リソース管理部213は、書き込み要求2121を取得すると、領域対応情報2321の領域特定テーブル23211を参照する。リソース管理部213は、書き込み要求2121に含まれる領域識別子3111に対応する格納メモリ310内の書き込み位置を取得する。リソース管理部213は、取得した書き込み位置に制御データ500の書き込みを行う。
 図7に示すように、領域対応情報2321は、格納メモリ310へのアクセス方法を示す情報を保持する。制御管理部212は、制御データ500を書き込むメモリ位置を示す領域識別子3111を用いて書き込み要求を行う。一方、機器制御部は、IOポート番号等、負荷出力先を示す機器識別子141を用いて読み出し要求を行う。
 なお、アプリケーションの情報を書き込むメモリ位置を示す領域識別子3111と、アプリケーションが制御する対象の制御機器14が接続されたIOポート番号との関係が正しく合うように領域対応情報2321を定義する必要がある。
 また、格納メモリ310を介して通知するデータは、制御管理部212と機器制御部214との間で整合が取れればよい。制御管理部212は格納メモリ310を介して通知するデータの内容は意識しない。
<機器制御実行処理S130>
 機器制御部214は、格納メモリ310に格納された制御データ500を読み出し、制御データ500を用いて制御機器14に対して制御を実行する機器制御実行処理S130を行う。
 S114において、機器制御部214は、格納領域311に書き込まれた制御データ500を読み出すと共に領域識別子3111を取得する。
 S115において、機器制御部214は、領域識別子3111と領域対応情報2321とに基づいて、領域識別子3111に対応する機器識別子141を取得する。また、機器制御部214は、機器識別子141と機器対応情報2341とに基づいて、機器識別子141により識別される制御機器14に対応する特性情報600を取得する。
 S116において、機器制御部214は、機器識別子141により識別される制御機器14に対して制御データ500を用いて制御を実行する。機器制御部214は、特性情報600と制御データ500とを用いて制御機器14に対する制御を実行する。
 図8は、本実施の形態に係る機器制御部214の機器制御実行処理S130を説明する図である。
 まず、図7を用いて、機器制御実行処理S130のうちリソース管理部213によるデータ読み込み処理について説明する。
 上記構成の説明で述べたように、機器制御部214がリソース管理部213から返却データ2131を取得する方法には2つの方法がある。
 1つ目の方法について説明する。
 機器制御部214は、周期的にリソース管理部213へ制御データ500の取得を要求する読み出し要求2141を出力する。読み出し要求2141は、図7に示すように、接続されている制御機器14の機器識別子141を含む。
 この場合、図7に示すように、リソース管理部213は、機器制御部214から出力された読み出し要求2141を取得し、機器特定テーブル23212を参照し、機器識別子141に対応する格納領域311の読み込み位置を取得する。リソース管理部213は、取得した格納領域311の読み込み位置の制御データ500を返却データ2131として機器制御部214へ返却する。
 2つ目の方法について説明する。
 機器制御部214は、格納メモリ310の全ての格納領域311のそれぞれから制御データ500を読み出す要求を読み出し要求2141として出力する。
 この場合、機器制御部214には、リソース管理部213により格納領域311の昇順あるいは降順に制御データ500が読み出され、読み出された制御データ500と格納領域311の読み出し位置とが返却データ2131として返却される。
 1つ目の方法の場合は、機器制御部214は、予め制御機器14を特定して読出し要求を行っているので、制御する制御機器14は特定されている。
 一方、2つ目の方法では、機器制御部214は、制御データ500と格納領域311の読み出し位置とが返却される度に、領域対応情報2321を参照し、格納領域311の読み出し位置に対応する機器識別子141を取得する。そして、機器制御部214は、取得した機器識別子141により識別される制御機器14に対して制御を実行する。
 次に、図8を用いて、機器制御部214の機器制御実行処理S130について説明する。図6と同様に、ヘッドライト用LEDランプへの負荷出力動作を具体例として説明する。また、機器制御部214は、制御する制御機器14を制御機器14aと特定しているものとする。
 機器対応情報2341は、制御機器14a,14bのそれぞれに対応して設定される。図8では、IOポート1に対応する制御機器14aに対応する機器対応情報2341が示されている。
 機器制御部214は、リソース管理部213より返却データ2131を取得する。ここでは、返却データ2131には、制御データ500としてデューティー比10%が設定されている。機器制御部214は、制御データ500を取得後、機器対応情報2341を参照し、特性情報600を取得する。制御機器14aの特性情報600は、負荷出力情報とも称される。特性情報600には、接続した制御機器14aを駆動するための電流値及び電圧値等の電気的特性情報を記憶しておく。
 機器制御部214は、リソース管理部213から取得した制御機器14aのPWM制御値と、機器対応情報2341から取得した特性情報600とを用いて、制御機器14aの制御を行う。制御機器14aは、機器制御部214の制御により駆動される。
 また、図8に示すように、機器対応情報2341は、制御機器14aにおける異常時の制御方法を示すフェイルセーフ制御を特性として含む。すなわち、機器対応情報2341は、制御機器14の制御を行った際に異常を検知した場合のフェイルセーフ動作を定義することを可能とする。機器制御部214は、制御機器14aにおいて異常が検知された場合には、フェイルセーフ動作に設定されている制御方法で制御機器14を制御する。
 図8の例では、フェイルセーフ動作としてIOポート1,2の停止が設定されている。
 このように、フェイルセーフ動作を定義しておくことで、制御機器14aと制御機器14bとが必ず同時に起動しておく必要がある場合において、制御機器14aの異常を検知した時点で制御機器14bへの出力を即座に停止することが可能となる。
***本実施の形態の効果の説明***
 以上のように、本実施の形態に係る機器制御装置は、制御アプリケーション実行部が制御する制御機器の構成情報及び制御方法(サービス情報)を、制御対応情報2331及び領域対応情報2321を介して授受する制御管理部と機器制御部とを備える。よって、機器制御装置によれば、制御対象機器の制御機器の接続数といった構成情報を意識せずに制御することが可能となり、車両に合わせて制御機器を柔軟に増減させることが可能となる。また、機器制御装置によれば、制御アプリケーションプログラムが提供するサービスに関わる情報を制御情報テーブルに定義することで、制御アプリケーションプログラムを変更することなく、制御機器に対する制御情報を変更とすることが可能となる。
 また、本実施の形態に係る機器制御装置によれば、制御アプリケーション実行部ならびに制御管理部は、制御対象の制御機器の物理的な接続位置を意識せずに制御することが可能となる。よって、車両構成に合わせて、制御機器の接続先を柔軟に変更することができるようになる。
 また、本実施の形態に係る機器制御装置によれば、機器対応情報を備えるので、機器制御部は、制御対象の制御機器の電気的特性情報といったハードウェアに関わる情報を意識せずに制御することが可能となる。よって、車両に合わせて制御機器を柔軟に付け替えることが可能となる。
 更に、機器制御装置によれば、フェイルセーフ動作を制御情報テーブルに定義することで、制御機器の異常を検知した際のフェイルセーフ動作を即座に動作させることが可能となる。
 上述した本実施の形態の効果について以下にまとめる。
 本実施の形態に係る機器制御装置は、アプリケーションプログラムを実行する機器制御装置が提供するサービスに関わる制御を行う制御管理部と、ハードウェア資源の制御を行うプラットフォームプログラムに対する出力要求を行う機器制御部とを備える。また、機器制御装置では、制御管理部と機器制御部とを分離した構成とし、制御管理部と機器制御部との間にリソース管理部213を配置する。また、制御管理部と機器制御部とは、リソース管理部213における格納メモリを介して、データ授受を行う。このように、制御管理部と機器制御部との間の依存関係に関わる情報を外部から書換え可能な制御情報テーブルに記憶することで、機器制御装置にて制御対象の機器の構成を意識せずに開発することが可能となる。また、開発効率が高まるとともに、リソース管理部も汎用性が増すことで開発効率を高めることができる。
 実施の形態2.
 本実施の形態では、実施の形態1と異なる点について説明する。
 また、本実施の形態において、実施の形態1で説明したものと同様の構成については同一の符号を付し、その説明を省略する場合がある。
***構成の説明***
 図9は、本実施の形態に係る車両用電子制御システム2000のブロック構成を示す図である。
 図10は、本実施の形態に係るECU1aのブロック構成を示す図である。
 図11は、本実施の形態に係るECU1bのブロック構成を示す図である。
 車両用電子制御システム2000は、車両用電子制御装置1000を複数備える。車両用電子制御システム2000は、車両用電子制御装置1000として、第1の車両用電子制御装置1001と、第1の車両用電子制御装置1001とネットワークを介して接続され、制御機器14が接続される第2の車両用電子制御装置1002とを備える。
 ECU1aは、第1の車両用電子制御装置1001の一例である。
 ECU1bは、第2の車両用電子制御装置1002の一例である。
 本実施の形態に係る車両用電子制御システム2000では、ECU1aとECU1bとが、CAN(Controller Area Network)あるいはLIN(Local Interconnect Network)等の通信プロトコルのネットワークにより接続されている。
 ECU1aは、制御アプリケーション実行部211、制御管理部212、リソース管理部213a、制御情報記憶部230a、プラットフォームプログラム実行部110を備える。
 ECU1bは、リソース管理部213b、制御情報記憶部230b、機器制御部214、プラットフォームプログラム実行部110を備える。
 図9に示すように、ECU1aには制御アプリケーション実行部211、制御管理部212を配置し、ECU1bには機器制御部214を配置する。リソース管理部213及び制御情報記憶部230は、ECU1aとECU1bとの間の通信制御を行うため、ECU1a、ECU1bの双方に配置される。
 以下の説明おいて、ECU1a及びECU1bの双方に配置される構成については、添え字a,bを付して区別する。
 領域対応記憶部232aは、格納領域311と、格納領域311をECU1bに転送する転送先情報701とを対応付けた転送対応情報23213を記憶する。
 リソース管理部213aは、制御データ500を格納領域311に格納すると共に、転送対応情報23213に基づいて格納領域311に対応する転送先情報701を取得する。リソース管理部213aは、転送先情報701に基づいて格納メモリ310の格納領域311をECU1bに転送する。
 なお、本実施の形態では、ECU1aに制御管理部212を配置し、ECU1bに機器制御部214を配置した構成としたが、ECU1aに制御機器14を接続すると共にこの制御機器14への負荷出力を行う機器制御部214を配置した構成としてもよい。また、ECU1bにも制御アプリケーション実行部211、制御管理部212を配置しても構わない。
***動作の説明***
 図10及び図11を用いて、本実施の形態に係るリソース管理部213におけるデータ書き込み処理及びデータ読み込み処理を説明する。
 図10及び図11に示すように、本実施の形態に係る車両用電子制御システム2000は、ECU1a側で入力信号を受け付け、ECU1b側に接続された制御機器14aを制御するものとする。
 格納メモリ310a,310bは、実施の形態1と同様に、任意のサイズで分割されたデータ格納領域である。各格納領域311へ書き込まれる情報は、制御対応情報2331a,2331bに保持される。なお、図9及び図10ではリソース管理部213a,213bはそれぞれ1つの格納メモリ310を保持している。しかし、リソース管理部213は複数の格納メモリ310を保持してもよい。
 図10に示すように、領域対応情報2321aの転送対応情報23213は、格納メモリ310の格納領域311の読み込み位置に対して、転送先情報701が設定される。例えば、図10に示すように、格納領域1に対してECU1bが設定され、格納領域2に対してECU1aが設定される。
 リソース管理部213におけるメモリ転送の動作の流れを説明する。
 ECU1aのリソース管理部213aは、制御アプリケーション実行部211の動作完了後、格納メモリ310aの転送を行うかどうかを判断するため、転送対応情報23313を参照する。リソース管理部213aは、格納メモリ310aの格納領域311に対応する転送先情報が別のECUであれば、格納メモリ310の格納領域1の制御データ500のメモリ転送を実施し、同一ECUであれば何もしない。なお、ECU間の転送用ネットワークは、LINでもCANでも良く、ネットワークプロトコルは問わない。
 ECU1bのリソース管理部213bは、格納メモリ310の格納領域1の制御データ500を受信後、リソース管理部213bが保持している格納メモリ310bの格納領域1に制御データ500の書き込みを行う。
 なお、リソース管理部213a,213bにおけるデータ書き込み処理、データ読み込み処理の動作の流れは実施の形態1と同様である。また、制御管理部212の制御管理処理及び機器制御部214の機器制御実行処理の動作の流れは実施の形態1と同様である。
***本実施の形態の効果の説明***
 以上のように、本実施の形態に係る車両用電子制御システムによれば、入力信号をもとに処理を行う制御アプリケーション実行部211及び制御管理部212と、機器制御部214とを分離することができる。よって、車両用電子制御システムによれば、異なるECU間で格納メモリを介してデータ送受信を行うことで、アプリケーションプログラムでECU構成を意識することなく開発することができ、開発効率を高めることができる。
 実施の形態3.
 本実施の形態では、実施の形態1,2と異なる点について説明する。
 また、本実施の形態において、実施の形態1,2で説明したものと同様の構成については同一の符号を付し、その説明を省略する場合がある。
***構成の説明***
 図12は、本実施の形態に係るリソース管理部213bによるデータ書き込み処理を説明する図である。
 本実施の形態に係る車両用電子制御システム2001は、2つの制御管理部212を備えるものとする。すなわち、車両用電子制御システム2001は、制御管理部212として、ECU1aに備えられ、制御機器14aの制御を管理する第1の制御管理部212aと、ECU1bに備えられ、制御機器14aの制御を管理する第2の制御管理部212bとを備える。つまり、制御機器14aは、第1の制御管理部212aと第2の制御管理部212bとの双方により制御可能である。
 本実施の形態に係る車両用電子制御システム2001は、ECU1bの領域対応記憶部232bに優先度対応情報23214を備える。優先度対応情報23214は、格納領域311と、第1の制御管理部212aによる制御と第2の制御管理部212bによる制御とのいずれを優先するかを示す優先度情報702とを対応付けた情報である。
***動作の説明***
 リソース管理部213bは、格納領域311のメモリ転送を受信すると、優先度対応情報23214を参照し、格納領域311に対応する優先度情報702を取得する。リソース管理部213bは、取得した優先度情報702に基づいて、格納領域311の制御データ500を格納メモリ310bに書き込むか否かを決定する。
 優先度情報702がECU1aを優先するという情報の場合は、メモリ転送された格納領域311を格納メモリ310bの格納領域に書き込む。
 優先度情報702がECU1bを優先するという情報の場合は、メモリ転送された格納領域311については何もしない。すなわち、第2の制御管理部212bにより書き込み要求された格納領域311の制御データ500を格納メモリ310bに書き込む。
 メモリ転送された制御データ500を格納メモリ310bに格納するということは、制御機器14aの制御について、第1の制御管理部212aの制御を優先することである。
***本実施の形態の効果の説明***
 以上のように、本実施の形態に係る車両用電子制御システムによれば、ECU1aとECU1bに同一の制御機器へ制御要求を行うアプリケーションを配置することを考慮し、転送された格納領域の優先度情報を優先度対応情報に保持することができる。なお、優先度の判定方法も単純にどちらを優先するかという情報だけではなく、双方の制御情報メモリの内容の論理和や論理積により、データ反映を行っても良い。
 また、車両用電子制御システム2001において、リソース管理部213が、第1の制御管理部212a用の格納メモリ3101と、第2の制御管理部212b用の格納メモリ3102との2つの格納メモリ310を備えていてもよい。すなわち、リソース管理部213aは、格納メモリ3101aと格納メモリ3102aとを備える。また、リソース管理部213bは、格納メモリ3101bと格納メモリ3102bとを備える。
 この場合は、優先度対応情報23214において、格納メモリ単位で優先度付けを行う。また、リソース管理部213bは、ECU1aから格納メモリ単位でメモリ転送される。リソース管理部213bは、メモリ転送が行われた場合に、ECU1aからメモリ転送された格納メモリでECU1b内の格納メモリ310を書き換えるか、ECU1aからメモリ転送された格納メモリを反映しないかの動作を選択できるようにしてもよい。
 図13を用いて、本実施の形態に係る機器制御装置のハードウェア構成の一例について説明する。
 機器制御装置はコンピュータである。
 機器制御装置は、プロセッサ901、補助記憶装置902、メモリ903、通信装置904、入力インタフェース905、ディスプレイインタフェース906といったハードウェアを備える。
 プロセッサ901は、信号線910を介して他のハードウェアと接続され、これら他のハードウェアを制御する。
 入力インタフェース905は、入力装置907に接続されている。
 ディスプレイインタフェース906は、ディスプレイ908に接続されている。
 プロセッサ901は、プロセッシングを行うIC(Integrated Circuit)である。
 プロセッサ901は、例えば、CPU、DSP(Digital Signal Processor)、GPUである。
 補助記憶装置902は、例えば、ROM(Read Only Memory)、フラッシュメモリ、HDD(Hard Disk Drive)である。
 メモリ903は、例えば、RAM(Random Access Memory)である。
 通信装置904は、データを受信するレシーバー9041及びデータを送信するトランスミッター9042を含む。
 通信装置904は、例えば、通信チップ又はNIC(Network Interface Card)である。
 入力インタフェース905は、入力装置907のケーブル911が接続されるポートである。
 入力インタフェース905は、例えば、USB(Universal Serial Bus)端子である。
 ディスプレイインタフェース906は、ディスプレイ908のケーブル912が接続されるポートである。
 ディスプレイインタフェース906は、例えば、USB端子又はHDMI(登録商標)(High Definition Multimedia Interface)端子である。
 入力装置907は、例えば、マウス、キーボード又はタッチパネルである。
 ディスプレイ908は、例えば、LCD(Liquid Crystal Display)である。
 補助記憶装置902には、上述したブロック構成図に示す制御アプリケーション実行部、制御管理部、リソース管理部、機器制御部を実現するプログラムが記憶されている。以下、制御アプリケーション実行部、制御管理部、リソース管理部、機器制御部をまとめて「部」と表記する。
 上述した「部」の機能を実現するプログラムは、機器制御プログラムとも称される。「部」の機能を実現するプログラムは、1つのプログラムであってもよいし、複数のプログラムから構成されていてもよい。
 このプログラムは、メモリ903にロードされ、プロセッサ901に読み込まれ、プロセッサ901によって実行される。
 更に、補助記憶装置902には、OS(Operating System)も記憶されている。
 そして、OSの少なくとも一部がメモリ903にロードされ、プロセッサ901はOSを実行しながら、「部」の機能を実現するプログラムを実行する。
 図13では、1つのプロセッサ901が図示されているが、機器制御装置が複数のプロセッサ901を備えていてもよい。
 そして、複数のプロセッサ901が「部」の機能を実現するプログラムを連携して実行してもよい。
 また、「部」の処理の結果を示す情報やデータや信号値や変数値が、メモリ903、補助記憶装置902、又は、プロセッサ901内のレジスタ又はキャッシュメモリにファイルとして記憶される。
 「部」を「サーキットリー」で提供してもよい。
 また、「部」を「回路」又は「工程」又は「手順」又は「処理」に読み替えてもよい。また、「処理」を「回路」又は「工程」又は「手順」又は「部」に読み替えてもよい。
 「回路」及び「サーキットリー」は、プロセッサ901だけでなく、ロジックIC又はGA(Gate Array)又はASIC(Application Specific Integrated Circuit)又はFPGA(Field-Programmable Gate Array)といった他の種類の処理回路をも包含する概念である。
 なお、プログラムプロダクトと称されるものは、「部」として説明している機能を実現するプログラムが記録された記憶媒体、記憶装置などであり、見た目の形式に関わらず、コンピュータ読み取り可能なプログラムをロードしているものである。
 上記の実施の形態では、制御アプリケーション実行部、制御管理部、リソース管理部、機器制御部、プラットフォームプログラム実行部がそれぞれ独立した機能ブロックとしてECUを構成している。しかし、ECUは上記のような構成でなくてもよく、ECUの構成は任意である。
 例えば、制御管理部、リソース管理部、機器制御部を1つの機能ブロックとしてもよい。ECUの機能ブロックは、上記の実施の形態で説明した機能を実現することができれば、任意である。これらの機能ブロックを、他のどのような組み合わせ、あるいは任意のブロック構成でECUを構成しても構わない。
 また、上述したように、ECUは1つの装置でなく、複数の装置から構成されたECUシステムでもよい。
 また、実施の形態1から3について説明したが、これらの3つの実施の形態のうち、複数を部分的に組み合わせて実施しても構わない。あるいは、これらの3つの実施の形態のうち、1つの実施の形態を部分的に実施しても構わない。その他、これらの3つの実施の形態を、全体としてあるいは部分的に、どのように組み合わせて実施しても構わない。
 なお、上記の実施の形態は、本質的に好ましい例示であって、本発明、その適用物や用途の範囲を制限することを意図するものではなく、必要に応じて種々の変更が可能である。
 901 プロセッサ、902 補助記憶装置、903 メモリ、904 通信装置、905 入力インタフェース、906 ディスプレイインタフェース、907 入力装置、908 ディスプレイ、910 信号線、911,912 ケーブル、9041 レシーバー、9042 トランスミッター、1,1a,1b ECU、10 マイクロコンピュータ、11 CPU、12 不揮発性メモリ、13 入出力部、14,14a,14b 制御機器、20 ROM、30 RAM、100 機器制御装置、110 プラットフォームプログラム実行部、140 制御対象機器、141 機器識別子、210 アプリケーションプログラム、211 制御アプリケーション実行部、212 制御管理部、212a 第1の制御管理部、212b 第2の制御管理部、213,213a,213b リソース管理部、214 機器制御部、220 プラットフォームプログラム、230,230a,230b 制御情報記憶部、231 制御情報テーブル、232,232a,232b 領域対応記憶部、233 制御対応記憶部、234 機器対応記憶部、310,310a,310b,3101,3102,3101a,3101b,3102a,3102b 格納メモリ、311 格納領域、400 制御要求、500 制御データ、600 特性情報、701 転送先情報、702 優先度情報、1000 車両用電子制御装置、1001 第1の車両用電子制御装置、1100 駆動実行部、1002 第2の車両用電子制御装置、2000,2001 車両用電子制御システム、2121 書き込み要求、2131 返却データ、2141 読み出し要求、2321,2321a,2321b 領域対応情報、2331,2331a,2331b 制御対応情報、2341 機器対応情報、3111 領域識別子、23211 領域特定テーブル、23212 機器特定テーブル、23213 転送対応情報、23214 優先度対応情報、23311 格納位置テーブル、23312 点灯モードテーブル、23313 転送対応情報、23314 優先度対応情報、S100 機器制御処理、S110 制御管理処理、S120 リソース管理処理、S130 機器制御実行処理。
 
 

Claims (13)

  1.  制御の対象である制御対象機器に対応付けられた制御対応情報であって、前記制御対象機器を構成する制御機器の制御に用いる制御データを含む制御対応情報を記憶する制御対応記憶部と、
     前記制御対象機器の制御を要求する制御要求を取得すると、前記制御対応情報から前記制御データを取得する制御管理部と、
     格納メモリを備え、前記制御管理部により取得された前記制御データを前記格納メモリに格納するリソース管理部と、
     前記格納メモリに格納された前記制御データを読み出し、前記制御データを用いて前記制御機器に対して制御を実行する機器制御部と
    を備える機器制御装置。
  2.  前記格納メモリは、
     複数の格納領域を有し、
     前記制御対応記憶部は、
     前記格納メモリが有する前記複数の格納領域の各格納領域を識別する領域識別子と前記制御データとを対応付ける前記制御対応情報を記憶し、
     前記制御管理部は、
     前記制御要求を取得すると、前記制御対応情報から前記領域識別子と前記制御データとを取得し、前記領域識別子により識別される前記格納領域に前記制御データを書き込む要求である書き込み要求を出力し、
     前記リソース管理部は、
     前記書き込み要求を取得すると、前記制御データを前記領域識別子により識別される前記格納領域に格納する請求項1に記載の機器制御装置。
  3.  前記領域識別子と、前記制御機器を識別する機器識別子とを対応付ける領域対応情報を記憶する領域対応記憶部を備え、
     前記機器制御部は、
     前記格納領域に書き込まれた前記制御データを読み出すと共に前記領域識別子を取得し、前記領域識別子と前記領域対応情報とに基づいて前記領域識別子に対応する前記機器識別子を取得し、前記機器識別子により識別される前記制御機器に対して前記制御データを用いて制御を実行する請求項2に記載の機器制御装置。
  4.  前記機器制御装置は、
     前記機器識別子と、前記制御機器の特性を表す特性情報とを対応付けた機器対応情報を記憶する機器対応記憶部を備え、
     前記機器制御部は、
     前記機器識別子と前記機器対応情報とに基づいて、前記機器識別子により識別される前記制御機器に対応する前記特性情報を取得し、前記特性情報と前記制御データとを用いて前記制御機器に対する制御を実行する請求項3に記載の機器制御装置。
  5.  前記制御対応記憶部は、
     前記領域識別子と、前記制御管理部が前記制御要求を取得してからの経過時間に応じた前記制御データとを対応付けた前記制御対応情報を記憶し、
     前記制御管理部は、
     前記制御要求を取得した後、前記経過時間に応じて前記格納領域の前記制御データを書き換える請求項3または4に記載の機器制御装置。
  6.  前記制御管理部は、
     前記制御対象機器の状態を表す制御モードを含む前記制御要求を取得し、
     前記制御対応記憶部は、
     前記領域識別子と、前記制御モードに応じた前記制御データとを対応付けた前記制御対応情報を記憶し、
     前記制御管理部は、
     前記制御要求に含まれる前記制御モードに応じた前記制御データを前記格納領域に格納する請求項3から5のいずれか1項に記載の機器制御装置。
  7.  前記制御対応記憶部は、
     前記制御対象機器を構成する前記制御機器の個数分の前記領域識別子と、前記領域識別子の各々に対応する前記制御データとを対応付けた前記制御対応情報を記憶する請求項3から6のいずれか1項に記載の機器制御装置。
  8.  前記機器対応記憶部は、
     前記制御機器における異常時の制御方法を示すフェイルセーフ制御を前記特性として含む前記機器対応情報を記憶する請求項4に記載の機器制御装置。
  9.  請求項3から8のいずれか1項に記載の機器制御装置と、
     前記機器制御部により出力される前記制御機器への制御の実行の要求に基づいて、前記制御装置を駆動する駆動実行部と
    を備える車両用電子制御装置。
  10.  請求項9に記載の車両用電子制御装置を複数備える車両用電子制御システムであって、第1の車両用電子制御装置と、前記第1の車両用電子制御装置とネットワークを介して接続され、前記制御機器が接続される第2の車両用電子制御装置とを備える車両用電子制御システムにおいて、
     前記第1の車両用電子制御装置の前記領域対応記憶部は、
     前記格納領域と、前記格納領域を前記第2の車両用電子制御装置に転送する転送先情報とを対応付けた転送対応情報を記憶し、
     前記第1の車両用電子制御装置の前記リソース管理部は、
     前記制御データを前記格納領域に格納すると共に、前記転送対応情報に基づいて前記格納領域に対応する前記転送先情報を取得し、前記転送先情報に基づいて前記格納メモリの前記格納領域を転送する車両用電子制御システム。
  11.  前記車両用電子制御システムは、
     前記制御管理部として、前記第1の車両用電子制御装置に備えられ、前記制御機器の制御を管理する第1の制御管理部と、前記第2の車両用電子制御装置に備えられ、前記制御機器の制御を管理する第2の制御管理部とを備え、
     前記第2の車両用電子制御装置の前記領域対応記憶部は、
     前記格納領域と、前記第1の制御管理部による制御と前記第2の制御管理部による制御とのいずれを優先するかを示す優先度情報とを対応付けた優先度対応情報を記憶する請求項10に記載の車両用電子制御システム。
  12.  制御の対象である制御対象機器に対応付けられた制御対応情報であって、前記制御対象機器を構成する制御機器の制御に用いる制御データを含む制御対応情報を記憶する制御対応記憶部を備える機器制御装置の機器制御方法において、
     制御管理部が、前記制御対象機器の制御を要求する制御要求を取得すると、前記制御対応情報から前記制御データを取得し、
     リソース管理部が、格納メモリを有し、前記制御管理部により取得された前記制御データを前記格納メモリに格納し、
     機器制御部が、前記格納メモリに格納された前記制御データを読み出し、前記制御データを用いて前記制御機器に対して制御を実行する機器制御方法。
  13.  制御の対象である制御対象機器に対応付けられた制御対応情報であって、前記制御対象機器を構成する制御機器の制御に用いる制御データを含む制御対応情報を記憶する制御対応記憶部を備える機器制御装置の機器制御プログラムにおいて、
     前記制御対象機器の制御を要求する制御要求を取得すると、前記制御対応情報から前記制御データを取得する制御管理処理と、
     格納メモリを有し、前記制御管理処理により取得された前記制御データを前記格納メモリに格納するリソース管理処理と、
     前記格納メモリに格納された前記制御データを読み出し、前記制御データを用いて前記制御機器に対して制御を実行する機器制御実行処理とをコンピュータに実行させる機器制御プログラム。
PCT/JP2015/058817 2015-03-24 2015-03-24 機器制御装置、車両用電子制御装置、車両用電子制御システム、機器制御方法及び機器制御プログラム WO2016151743A1 (ja)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2017507200A JP6150965B2 (ja) 2015-03-24 2015-03-24 機器制御装置、車両用電子制御装置、車両用電子制御システム、機器制御方法及び機器制御プログラム
PCT/JP2015/058817 WO2016151743A1 (ja) 2015-03-24 2015-03-24 機器制御装置、車両用電子制御装置、車両用電子制御システム、機器制御方法及び機器制御プログラム

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2015/058817 WO2016151743A1 (ja) 2015-03-24 2015-03-24 機器制御装置、車両用電子制御装置、車両用電子制御システム、機器制御方法及び機器制御プログラム

Publications (1)

Publication Number Publication Date
WO2016151743A1 true WO2016151743A1 (ja) 2016-09-29

Family

ID=56977451

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2015/058817 WO2016151743A1 (ja) 2015-03-24 2015-03-24 機器制御装置、車両用電子制御装置、車両用電子制御システム、機器制御方法及び機器制御プログラム

Country Status (2)

Country Link
JP (1) JP6150965B2 (ja)
WO (1) WO2016151743A1 (ja)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022260010A1 (ja) * 2021-06-07 2022-12-15 株式会社デンソー 車両制御装置、車両制御プログラム、及び車両制御システム

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1020922A (ja) * 1996-07-05 1998-01-23 Seiko Epson Corp ロボットコントローラおよびそのプログラム更新方法
WO2009093732A1 (ja) * 2008-01-24 2009-07-30 Autonetworks Technologies, Ltd. 機器制御装置及び機器制御プログラム

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04149634A (ja) * 1990-10-09 1992-05-22 Nec Corp 部品化によるソフトウェアの生産方法
JP2006018759A (ja) * 2004-07-05 2006-01-19 Toshiba Corp 制御装置及び方法
JP5235562B2 (ja) * 2008-08-26 2013-07-10 三菱電機株式会社 通信システム及び制御装置及び制御対象装置
US9925935B2 (en) * 2012-08-24 2018-03-27 Mitsubishi Electric Corporation In-vehicle communication system and in-vehicle communication method
JP5393932B1 (ja) * 2013-03-01 2014-01-22 三菱電機株式会社 データ処理装置及び通信システム

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1020922A (ja) * 1996-07-05 1998-01-23 Seiko Epson Corp ロボットコントローラおよびそのプログラム更新方法
WO2009093732A1 (ja) * 2008-01-24 2009-07-30 Autonetworks Technologies, Ltd. 機器制御装置及び機器制御プログラム

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022260010A1 (ja) * 2021-06-07 2022-12-15 株式会社デンソー 車両制御装置、車両制御プログラム、及び車両制御システム
GB2621753A (en) * 2021-06-07 2024-02-21 Denso Corp Vehicle control device, vehicle control program, and vehicle control system

Also Published As

Publication number Publication date
JPWO2016151743A1 (ja) 2017-07-06
JP6150965B2 (ja) 2017-06-21

Similar Documents

Publication Publication Date Title
EP3358463A1 (en) Method, device and system for implementing hardware acceleration processing
WO2013128648A1 (ja) 情報処理装置及び電子制御ユニット及び情報処理方法及びプログラム
US20140137091A1 (en) Automobile open system architecture(autosar)-based electronic control unit (ecu) and method for updating ecu
JP6147356B2 (ja) 監視装置、制御システム及び監視プログラム
US11119970B2 (en) Resource sharing among vehicle applications connected via a bus
JP2019109745A (ja) 自動車用電子制御装置
WO2019058874A1 (ja) 仮想化システム、仮想化プログラム、及び、記憶媒体
US10963406B2 (en) Persistent universal serial bus (USB) device enumeration
JP6150965B2 (ja) 機器制御装置、車両用電子制御装置、車両用電子制御システム、機器制御方法及び機器制御プログラム
KR102116096B1 (ko) 다중시스템 및 이의 부팅 방법
CN114402310B (zh) 一种汽车通用串行总线集线器及操作其的方法
CN108292266B (zh) 通过存储器范围筛选器和可选择地址平坦化用于可配置存储器映射的SoC结构扩展
US9411763B2 (en) Allocation of flow control credits for high performance devices
JP2013147209A (ja) 電子装置
US7266630B2 (en) CPU contained LSI
US20090187605A1 (en) Vehicle Control Apparatus
JP2020021506A (ja) 電子制御装置及びセッション確立プログラム
JP6803709B2 (ja) 車両制御装置および車両制御システム
US20240036941A1 (en) Vehicle-mounted computer, computer execution method, and computer program
JP2014063350A (ja) 自動車用電子制御装置
CN117632570B (zh) 基于多核异构soc的多操作系统诊断方法、装置和系统
JP7344109B2 (ja) リソース割当システム、サーバ、演算装置
US20220269546A1 (en) Control device, method, program, and vehicle
US20240061672A1 (en) Vehicle electronic control device, update program, and data structure
Leute et al. Software-free Vehicle Lamps due to Zone-oriented Electronic Architecture

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15886296

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2017507200

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15886296

Country of ref document: EP

Kind code of ref document: A1