Vehicle control apparatus

The vehicle control device achieves independent operation of multiple applications by using isolated execution environments and virtual input/output units, ensuring reliability and usability through targeted recovery processing, addressing the challenge of integrating diverse device control applications.

WO2024195151A1PCT designated stage expired Publication Date: 2024-09-26ASTEMO LTD
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
PCT/JP2023/028825
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-23
Filing Date
2023-08-07
Publication Date
2024-09-26

AI Technical Summary

Technical Problem

Existing vehicle control devices struggle to integrate multiple applications controlling diverse devices while ensuring mutual independence and reliability, particularly in scenarios where devices with different safety reliability levels are managed together.

Method used

A vehicle control device is designed with isolated application execution environments and virtual input/output units, managed by a hypervisor, which prevents cross-access between applications and allows for independent operation, ensuring that applications with higher reliability levels are not affected by errors in lower reliability applications. Additionally, a virtual input/output management unit monitors processing times and executes recovery processing to maintain system integrity.

Benefits of technology

This configuration ensures independent operation of multiple applications, prevents errors in high-reliability applications, and allows for targeted recovery without restarting the entire system, enhancing overall system reliability and usability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2023028825_26092024_PF_FP
    Figure JP2023028825_26092024_PF_FP
Patent Text Reader

Abstract

The purpose of the present invention is to provide a vehicle control apparatus capable of executing, while securing mutual independence, a plurality of applications for controlling a plurality of devices. A vehicle control apparatus 1 for controlling a plurality of devices 2, 3, 4 is provided with: device input / output units 16a, 16b, 16c for performing inputting / outputting of signals among the plurality of devices 2, 3, 4; and a plurality of application execution environments 11, 12, 13 which correspond to the plurality of devices 2, 3, 4, and which are isolated from one another. The plurality of application execution environments 11, 12, 13 have a plurality of virtual input / output units 112, 122, 132 corresponding to the plurality of device input / output units 16a, 16b, 16c.
Need to check novelty before this filing date? Find Prior Art

Description

Vehicle control device

[0001] The present invention relates to a vehicle control device that controls the running state of a vehicle.

[0002] In the automotive field, electronic control units (ECs) are widely used, using microcomputers and software to control sensors, actuators, and other components that manage the vehicle's driving status. With the recent advances in technologies such as autonomous driving and electrification, the functionality required of ECs has increased. This has resulted in an increase in the number of ECs installed in automobiles, as well as an increase in the amount of in-vehicle network communication between ECs. Therefore, it has been proposed to reduce the number of ECs by integrating multiple applications into a single EC.

[0003] For example, Patent Document 1 discloses a technology in which multiple applications are integrated into one electronic control unit using virtual machines, and the actual storage for saving files is divided for each virtual machine.

[0004] Japanese Patent Application Laid-Open No. 2022-85863

[0005] According to the technology disclosed in Patent Document 1, each application is only permitted to access the storage allocated to it, which makes it possible to prevent each application from erroneously accessing the storage allocated to another application. However, Patent Document 1 does not anticipate a case in which multiple applications that respectively control multiple devices such as sensors and actuators are integrated into a single electronic control device.

[0006] The present invention has been made in consideration of the above-mentioned problems, and its purpose is to provide a vehicle control device that can execute multiple applications that respectively control multiple devices while ensuring their independence from each other.

[0007] In order to achieve the above object, the present invention provides a vehicle control device that controls multiple devices, which is equipped with multiple device input / output units that input and output signals to and from the multiple devices, and multiple application execution environments that are isolated from each other and correspond to the multiple devices, and the multiple application execution environments have multiple virtual input / output units that correspond to the multiple device input / output units.

[0008] According to the present invention, in a vehicle control device, by preventing other applications from mistakenly accessing the device input / output unit that each application accesses when controlling a device, it becomes possible to run multiple applications while ensuring their independence from each other.

[0009] FIG. 1 is a configuration diagram of a vehicle control device according to an embodiment of the present invention; FIG. 1 is a configuration diagram showing an interface of a virtual input / output unit according to an embodiment of the present invention; FIG. 2 is a flowchart showing a processing flow of a virtual input / output unit according to an embodiment of the present invention; FIG. 3 is a flowchart showing a processing flow of a virtual input / output management unit according to an embodiment of the present invention;

[0010] Hereinafter, an embodiment of the present invention will be described with reference to the drawings. In each drawing, the same elements are designated by the same reference numerals, and duplicated explanations will be omitted as appropriate.

[0011] FIG. 1 is a configuration diagram illustrating the application of the present invention to an ECU (Electronic Control Unit) 1, which is an electronic control device for an automobile. The ECU 1 is connected to multiple devices, such as sensors for measuring the environment around the vehicle and actuators for controlling vehicle operation and equipment. The inverter 2 is a device that drives the power steering and the electric vehicle drive system. The door motor 3 is a device that opens and closes the doors. The camera 4 is a device that recognizes the environment, such as detecting obstacles ahead. The PWM output wiring 21 connects the ECU 1 and the inverter 2 and outputs a PWM waveform. The DI wiring 31 and the DO wiring 32 connect the ECU 1 and the door motor 3 and control digital input and digital output. The CAN communication wiring 41 connects the ECU 1 and the camera 4 and controls CAN (Control Area Network) communication.

[0012] Virtual machine A11 is an application execution environment provided for inverter 2. Virtual machine B12 is an application execution environment provided for door motor 3. Virtual machine C13 is an application execution environment provided for camera 4. Virtual machines 11, 12, and 13 are managed in isolation from one another by hypervisor 15, and each virtual machine cannot directly access the other virtual machines. However, they can exchange information with each other via a virtual communication channel (not shown) provided between the virtual machines. Virtual input / output management unit 14 manages the operating status of ECU virtual input / output units (ECU virtual input / output unit A112, ECU virtual input / output unit B122, and ECU virtual input / output unit C132) provided in the virtual machines (virtual machine A11, virtual machine B12, and virtual machine C13) and performs recovery processing such as restart in the event of a malfunction. Hypervisor 15 controls the execution of the virtual machines (virtual machine A11, virtual machine B12, and virtual machine C13) in ECU 1. ECU input / output unit 16 controls inputs / outputs (analog input / output, digital input / output, communication, etc.) of the ECU. The ECU input / output unit 16 includes a plurality of device input / output units 16 a , 16 b , and 16 c corresponding to the devices 2 , 3 , and 4 , respectively.

[0013] The application A111 is a software application for controlling the inverter 2. The ECU virtual input / output unit A112 is a virtual input / output unit corresponding to the device input / output unit 16a for controlling the inverter 2.

[0014] The application B121 is a software application for controlling the door motor 3. The ECU virtual input / output unit B122 is a virtual input / output unit corresponding to the device input / output unit 16b for controlling the door motor 3.

[0015] The application A131 is a software application for controlling the camera 4. The ECU virtual input / output unit C132 is a virtual input / output unit corresponding to the device input / output unit 16c for controlling the camera 4.

[0016] In this way, an isolated application execution environment is provided corresponding to each device for controlling a vehicle, and a virtual input / output unit is provided for each isolated application execution environment. In automotive control, the ASIL (Assurance Level of Integrity Level) of an electronic control system is determined according to the importance of the control function, as defined, for example, in the functional safety standard (ISO 26262). When multiple devices are controlled by a single electronic control device, devices with different ASIL levels are controlled together. By adopting the configuration of this embodiment, even if an application (e.g., app B) with a low ASIL level (low required reliability) issues a temporary error, it is possible to isolate the application (e.g., app A) with a high ASIL level (high required reliability) from the input / output processing, preventing the error from affecting the application.

[0017] 2 is a configuration diagram showing interfaces of the virtual input / output units 112, 122, and 132 in this embodiment. The virtual input / output interface 113 is provided corresponding to the PWM output wiring 21 connecting the ECU 1 and the inverter 2. The virtual input / output interface 123 is provided corresponding to the DI wiring 31 connecting the ECU 1 and the door motor 3. The virtual input / output interface 124 is provided corresponding to the DO wiring 32 connecting the ECU 1 and the door motor 3. The virtual input / output interface 133 is provided corresponding to the CAN communication wiring 41 connecting the ECU 1 and the camera 4.

[0018] In this way, virtual input / output units 112, 122, 132 are provided for each of the isolated application execution environments 11, 12, 13, and virtual input / output units 112, 122, 132 are provided with virtual input / output interfaces 113, 123, 124, 133 corresponding to wiring 21, 31, 32, 41 connecting ECU 1 to devices 2, 3, 4. By adopting the configuration of this embodiment, even if an application (e.g., app B) with a low ASIL level (low required reliability) issues a temporary error, it is possible to prevent the error from affecting device input / output units used by an application (e.g., app A) with a high ASIL level (high required reliability).

[0019] 3 is a flowchart showing the flow of processing by the virtual input / output unit A 112 in this embodiment. Processing begins in step S1121. In step S1122, a request to use the virtual input / output interface 113 is accepted from the application A 111. In step S1123, the device input / output unit 16a corresponding to the virtual input / output interface 113 is identified. In step S1124, processing for controlling PWM input / output in the device input / output unit 16a, such as writing to a register, is executed. In step S1125, processing ends.

[0020] In this way, the virtual input / output units 112, 122, and 132 convert input / output requests to the virtual input / output interfaces 113, 123, 124, and 133 into input / output requests to the vehicle control device 1. By adopting the configuration of this embodiment, even in a situation where the ECUs that execute the virtual machines 11, 12, and 13 are changed between, for example, when the applications 111, 121, and 131 are developed in individual ECUs for each device at the development stage and when the applications 111, 121, and 131 are integrated into one ECU at the productization stage, only the ECU virtual input / output units 112, 122, and 132 need to be changed, thereby improving the reusability of the applications 111, 121, and 131.

[0021] 4 is a flowchart showing the processing flow of the virtual input / output management unit 14 in this embodiment. Processing starts in step S141. In step S142, the processing times of the virtual input / output units 112, 122, and 132 are measured. In step S143, it is determined whether there is a virtual input / output unit whose processing time has exceeded a predetermined time. If there is a virtual input / output unit whose processing time has exceeded the predetermined time, the process proceeds to step S144. If there is no virtual input / output unit whose processing time has exceeded the predetermined time, the process proceeds to step S145. In step S144, recovery processing is executed for the virtual machine (application execution environment) to which the virtual input / output unit whose processing time has exceeded the predetermined time belongs. In step S145, the process ends.

[0022] In this way, the virtual input / output management unit 14 monitors whether each of the virtual input / output units 112, 122, and 132 completes processing within a predetermined time (steps S142 and S143), and if any of the virtual input / output units does not complete processing within the predetermined time, executes recovery processing for the virtual machine (application execution environment) to which the virtual input / output unit belongs (step S144). By adopting the configuration of this embodiment, if an error occurs in one of the virtual input / output units, recovery processing for that one of the virtual machines can be executed without restarting the entire ECU, making it possible to continue processing applications that require high reliability.

[0023] 5 is a flowchart showing the flow of recovery processing for a virtual input / output unit by the virtual input / output management unit 14 in this embodiment. Processing starts in step S1441. In step S1442, information about the virtual machine on which recovery processing is being performed is notified to other virtual machines that are not performing recovery processing. In step S1443, restart processing for the virtual machine is performed. In step S1444, initialization processing for the device input / output units corresponding to the virtual input / output units belonging to the virtual machine is performed. In step S1445, time synchronization processing between the virtual machine and other virtual machines is performed. Processing ends in step S1446.

[0024] By adopting the configuration of this embodiment, when some virtual machines are restarted, only the device input / output units of the ECU input / output unit 16 corresponding to the virtual input / output units belonging to the virtual machine being restarted are initialized, so that the virtual input / output units belonging to other virtual machines can continue processing.

[0025] (Summary) In this embodiment, the vehicle control device 1 that controls the multiple devices 2, 3, and 4 includes device input / output units 16a, 16b, and 16c that input and output signals to and from the multiple devices 2, 3, and 4, and multiple application execution environments 11, 12, and 13 that are isolated from each other and correspond to the multiple devices 2, 3, and 4, respectively, and the multiple application execution environments 11, 12, and 13 have multiple virtual input / output units 112, 122, and 132 that correspond to the multiple device input / output units 16a, 16b, and 16c.

[0026] According to this embodiment configured as described above, in the vehicle control device 1, it is possible to prevent other applications from mistakenly accessing the device input / output units 16a, 16b, and 16c that each application 111, 121, and 131 accesses when controlling devices 2, 3, and 4, and therefore it is possible to execute multiple applications 111, 121, and 131 while ensuring their independence from each other.

[0027] Furthermore, the multiple application execution environments 11, 12, and 13 in this embodiment have multiple virtual input / output interfaces 113, 123, 124, and 133 corresponding to the wiring 21, 31, 32, and 41 connecting the multiple devices 2, 3, and 4 to the vehicle control device 1. As a result, even in a situation where the ECUs that execute the virtual machines 11, 12, and 13 are changed, only the ECU virtual input / output units 112, 122, and 132 need to be changed, thereby improving the reusability of the applications 111, 121, and 131.

[0028] In addition, the vehicle control device 1 includes a virtual input / output management unit 14 that converts input / output requests to the plurality of virtual input / output interfaces 113, 123, 124, and 133 into input / output requests to the plurality of device input / output units 16 a, 16 b, and 16 c in this embodiment. This makes it possible to prevent the applications 111, 121, and 131 running on the application execution environments 11, 12, and 13 from directly accessing the input / output unit 16 of the vehicle control device 1.

[0029] Furthermore, the virtual input / output management unit 14 in this embodiment monitors the operating status of the plurality of virtual input / output units 112, 122, and 132. This makes it possible to determine whether the application execution environments 11, 12, and 13 are operating normally.

[0030] Furthermore, the virtual input / output management unit 14 in this embodiment monitors whether the multiple virtual input / output units 112, 122, and 132 complete processing within a predetermined time, and if a specific virtual input / output unit among the multiple virtual input / output units 112, 122, and 132 does not complete processing within the predetermined time, executes recovery processing for a specific application execution environment to which the specific virtual input / output unit belongs among the multiple application execution environments 11, 12, and 13. This makes it possible to restore the operation of the application execution environment in which the error occurred if an error occurs in any of the application execution environments 11, 12, and 13.

[0031] Furthermore, the recovery process of the specific application runtime environment in this embodiment includes a process of notifying other application runtime environments among the multiple application runtime environments 11, 12, and 13 that recovery process of the specific application runtime environment will be executed, a process of restarting the specific application runtime environment, a process of initializing a specific device input / output unit among the multiple device input / output units 16 a, 16 b, and 16 c that corresponds to a virtual input / output unit belonging to the specific application runtime environment, and a process of synchronizing the time of the restarted specific application runtime environment with the time of the other application runtime environments. This makes it possible to maintain the functions of the other application runtime environments even while recovery process of the specific application runtime environment is being executed.

[0032] Furthermore, the multiple application execution environments 11, 12, and 13 in this embodiment are multiple virtual machines 11, 12, and 13 managed by a hypervisor 15. This makes it possible to easily realize the multiple application execution environments 11, 12, and 13.

[0033] The present invention is not limited to the above-described embodiments and includes various modifications. For example, the above-described embodiments have been described in detail to clearly explain the present invention, and are not necessarily limited to those including all of the described configurations. Furthermore, some or all of the above-described configurations, functions, processing units, processing means, etc. may be implemented in hardware, for example, by designing them as integrated circuits. Furthermore, the above-described configurations, functions, etc. may be implemented in software by a processor interpreting and executing programs that realize the respective functions. Information such as programs, tables, and files that realize the respective functions may be stored in the processor's built-in memory or in a storage device such as an external flash memory or SSD (Solid State Drive).

[0034] 1...ECU (vehicle control device), 2...inverter (device), 3...door motor (device), 4...camera (device), 11, 12, 13...virtual machine (application execution environment), 14...virtual input / output management unit, 15...hypervisor, 16...ECU input / output unit, 16a, 16b, 16c...device input / output unit, 21...PWM output wiring, 31...DI wiring, 32...DO wiring, 41...CAN communication wiring, 111...application, 112...ECU virtual input / output unit, 113...virtual input / output interface, 121...application, 122...ECU virtual input / output unit, 123, 124...virtual input / output interface, 131...application, 132...ECU virtual input / output unit, 133...virtual input / output interface.

Claims

1. A vehicle control device that controls a plurality of devices, comprising: a plurality of device I / O units that input and output signals between the plurality of devices; and a plurality of application execution environments that correspond to the plurality of devices and are isolated from one another, wherein the plurality of application execution environments have a plurality of virtual I / O units that correspond to the plurality of device I / O units.

2. A vehicle control device according to claim 1, wherein the plurality of application execution environments have a plurality of virtual input / output interfaces corresponding to wiring connecting the plurality of devices and the vehicle control device.

3. A vehicle control device according to claim 2, further comprising a virtual input / output management unit that converts input / output requests to the plurality of virtual input / output interfaces into input / output requests to the plurality of device input / output units.

4. A vehicle control device according to claim 3, wherein the virtual input / output management unit monitors the operating conditions of the plurality of virtual input / output units.

5. A vehicle control device as described in claim 4, characterized in that the virtual input / output management unit monitors whether the multiple virtual input / output units complete processing within a predetermined time, and if a specific virtual input / output unit among the multiple virtual input / output units does not complete processing within the predetermined time, executes recovery processing of a specific application execution environment to which the specific virtual input / output unit belongs among the multiple application execution environments.

6. A vehicle control device as described in claim 5, wherein the recovery process of the specific application execution environment includes a process of notifying other application execution environments among the multiple application execution environments other than the specific application execution environment that the recovery process of the specific application execution environment is to be executed; a process of restarting the specific application execution environment; a process of initializing a specific device input / output unit among the multiple device input / output units that corresponds to a virtual input / output unit belonging to the specific application execution environment; and a process of synchronizing the time of the restarted specific application execution environment with the time of the other application execution environments.

7. A vehicle control device according to claim 1, wherein the plurality of application execution environments are a plurality of virtual machines managed by a hypervisor.

Citation Information

Patent Citations

  • Password resetting method and device and storage medium

    CN110442426A

  • Network connection device

    CN113746749A

  • Method and system for guest physical address virtualization in virtual machine environment

    JP2006252554A

  • Function use control device, function use control method, and function use control program

    JP2014119789A

  • Systems and methods for input / output virtualization

    JP2015521779A