VEHICLE CONTROL DEVICE AND VEHICLE CONTROL SIMULATION DEVICE

Information

  • Patent Application
  • 20200103839
  • Publication Number
    20200103839
  • Date Filed
    June 25, 2018
    6 years ago
  • Date Published
    April 02, 2020
    4 years ago
Abstract
The present invention provides a vehicle control device and a vehicle control simulation device that enable, even for parallel processing with a plurality of arithmetic devices, approximation in act between at verification of simulation operation on a model base and at verification of operation on an actual vehicle. Provided are: control model information for control of a system; hardware information for operation of a control model; arithmetic-device allocation information as to which arithmetic device in hardware is allocated to perform arithmetic processing to a control program in the control model; delay time information regarding a case where the control model operates on the hardware; and a delay-time adding unit configured to create delay-inclusive control model information in which the delay time information is inserted in the control model, based on at least either the arithmetic-device allocation information or the hardware information.
Description
TECHNICAL FIELD

The present invention relates to a vehicle control device and a vehicle control simulation device.


BACKGROUND ART

An embedded control device that controls a control target with so-called embedded software, is used in the technical field of automobiles, elevators, construction machines, and the like. Advantageously, such embedded software enables achievement of more flexible and advanced control than a conventional system with a mechanical mechanism or an electric circuit.


Such an embedded control device, for example, a control device in a vehicle controls an engine and brakes with a plurality of electronic control units (ECUs), to control the entirety of the vehicle. One ECU, such as an ECU for engine control, achieves intricate control with a plurality of built-in processor cores.


However, along with the complication of control, the development scale of embedded software increases. Thus, the man-hour necessary for design and verification of embedded software continuously increases. Regarding this problem, for improvement in the efficiency of development of a vehicle control device, known is the technology of embedded software development on a model base enabling design and verification with simulation without an actual ECU or engine. For example, PTL 1 discloses such technology.


Meanwhile, regarding an ECU that performs arithmetic processing to embedded software large scale, for increase of a program amount arithmetically processable per unit of time, a speed-up technique in which parallel processing is performed with a plurality of arithmetic devices, such as ECUs or processor cores, has been introduced. For a control device in a vehicle, known is the technology of parallelization in which a plurality of arithmetic devices efficiently processes a program for vehicle control. For example, PTL 2 discloses such technology.


CITATION LIST
Patent Literature

PTL 1: Japanese Patent Application No. H9-162169


PTL 2: Japanese Patent Application No. 2015-501402


SUMMARY OF INVENTION
Technical Problem

However, in the existing technology of software development with a model base, the influence of parallel processing with a plurality of arithmetic devices has not been considered. Thus, there is a large gap between embedded software designed on the model base and embedded software for parallel operation, implemented on ECUs, so that discrepancy is large between the embedded software designed on the model base and the actual-equipment performance, resulting in a problem.


More specifically, in the existing model-based development, the influence of synchronous processing time between pieces of arithmetic processing due to parallel processing with a plurality of arithmetic devices or the influence of delay time due to data communication between pieces of arithmetic processing have not been considered. Thus, disagreement occurs between at verification of simulation operation on the model base and at verification of operation on the actual vehicle, so that the performance estimated at design is not fulfilled, resulting in a problem.


The present invention has been made in consideration of the problem. An object of the present invention is to provide a vehicle control device and a vehicle control simulation device that enable, even for parallel processing with a plurality of arithmetic devices, approximation in act between at verification of simulation operation on a model base and at verification of operation on an actual vehicle.


Solution to Problem

In order to achieve the object, according to the present invention, provided are: control model information for control of a system; hardware information for operation of a control model; arithmetic-device allocation information as to which arithmetic device in the hardware is allocated to perform arithmetic processing to a control program in the control model; delay time information regarding a case where the control model operates on the hardware; and a delay-time adding unit configured to create delay-inclusive control model information in which the delay time information is inserted in the control model, based on at least either the arithmetic-device allocation information or the hardware information.


Advantageous Effects of Invention

According to the present invention, even in a case where parallel processing is performed with a plurality of arithmetic devices, an approximation can be made in act between simulation operation on a model base and operation on an actual vehicle. Thus, the man-hour in development can be reduced.





BRIEF DESCRIPTION OF DRAWINGS


FIG. 1 is a system block diagram of a vehicle control simulation device according to an embodiment of the present invention.



FIG. 2 is a model diagram of a control model according to the embodiment of the present invention.



FIG. 3 is a data table of the control model according to the embodiment of the present invention.



FIG. 4 is block diagram of an HW configuration according to the embodiment of the present invention.



FIG. 5 is a data table of the HW configuration according to the embodiment of the present invention.



FIG. 6 is a data table of arithmetic-device allocation according to the embodiment of the present invention.



FIG. 7 is a data table of delay time according to the embodiment of the present invention.



FIG. 8 is a flowchart of the act of a delay-time adding unit according to the embodiment of the present invention.



FIG. 9 is a model diagram of a delay-inclusive control model according to the embodiment of the present invention.



FIG. 10 illustrates waveform charts of simulation results of the control model and the delay-inclusive control model according to the embodiment of the present invention.





DESCRIPTION OF EMBODIMENTS

The present embodiment relates to an embedded system including a computer system embedded for achievement of a specific function of a product requiring electronic control, such as household equipment, industrial equipment, or medical equipment. Particularly, the present embodiment relates to a vehicle control device and a vehicle control simulation device each that control a system with a plurality of arithmetic devices, for example, a system in which required functions are various, for transport equipment, such as automobiles, railways, and elevators, or a large-scale system having a combination of a plurality of pieces of hardware and a plurality of pieces of software.


An embodiment of the present invention will be described below with reference to the drawings. Note that, for convenience, one ECU is a target in the embodiment. However, the effect of the present invention is not limited to the inside of the ECU.



FIG. 1 is a system block diagram of a vehicle control simulation device according to the embodiment of the present invention. The vehicle control simulation device 1 includes a control model 101, an HW configuration 102, arithmetic-device allocation 103, delay time 104, and a delay-time adding unit 105. The delay-time adding unit 105 generates a delay-inclusive control model 106, on the basis of the control model 101, the HW configuration 102, the arithmetic-device allocation 103, and the delay time 104.


Here, in comparison to a waveform chart 107 indicating a simulation result based on the control model 101 before application of the present embodiment, a waveform chart 108 indicating a simulation result based on the delay-inclusive control model 106 after application of the present embodiment, indicates that the waveform has changed due to the influence of the delay time 104.



FIG. 2 is a model diagram of the control model according to the embodiment of the present invention. The control model 101 includes input ports 10101 and 10102, an output port 10106, and functional blocks 10103, 10104, and 10105. Transmission and reception of label information 1 and label information 2 are indicated between the functional block 10103 and the functional block 10105 through wiring lines 10107 and 10108 indicating data dependent relationship. Similarly, transmission and reception of label information 3 are performed between the functional block 10104 and the functional block 10105 through a wiring line 10109 indicating data dependent relationship.


The functional block 10103 inputs sensor information from the input port 10101, and outputs the label 1 information and the label 2 information to the functional block 10105. The functional block 10104 inputs sensor 2 information from the input port 10102, and outputs the label 3 information to the functional block 10105. Then, the functional block 10105 inputs the label information and the label 2 information output from the functional block 10103 and the label 3 information output from the functional block 10104, and outputs actuator 1 information to the output port 10106.



FIG. 3 is a data table of the control model according to the embodiment of the present invention. The data table 1011 of the control model includes information regarding ID, label, data dependent source function, and data dependent destination function. Specifically, the data table 1011 indicates the data dependent source function and the data dependent destination function of the label 1, label 2, and label 3 information to be transmitted and received between the functional blocks 10103, 10104, and 10105 indicated in the control model 101. For example, for the label 1 with ID 1, the data dependent source function indicates a function 1 that is the functional block 10103 in the control model 101, and the data dependent destination function indicates a function 3 that is the functional block 10105 in the control model 101.



FIG. 4 is a block diagram of the HW configuration according to the embodiment of the present invention. The HW configuration 102 indicates an HW configuration for arithmetic processing of control software written in the control model 101. The HW configuration 102 includes an ECU 10201, an actuator 10202, sensors 10203 and 10204, and a bus 10205. The ECU 10201 includes arithmetic devices 1020101, 1020102, and 1020103, and a memory 10201.



FIG. 5 is a data table of the HW configuration according to the embodiment of the present invention. The data table 1021 of the HW configuration includes data dependent source, data dependent destination, and delay determination information.


Specifically, the data table 1021 includes the delay determination information that is criterial for determination of whether delay occurs in data communication between the arithmetic devices 1020101, 1020102, and 1020103. For example, in a case where the arithmetic device 1020101 is an arithmetic device 1 indicated as the data dependent source and the arithmetic device 1020102 is an arithmetic device 2 indicated as the data dependent destination, the data table 1021 indicates that no delay time occurs because the delay determination indicates no delay. Meanwhile, in a case where the arithmetic device 1020101 is the arithmetic device 1 indicated as the data dependent destination and the arithmetic device 1020103 is an arithmetic device n indicated as the data dependent destination, the data table 1021 indicates that delay time occurs because the delay determination indicates delay.



FIG. 6 is a data table of the arithmetic-device allocation according to the embodiment of the present invention.


The data table 103 of the arithmetic-device allocation includes function and allocation information. Specifically, the data table 103 indicates which arithmetic device indicated in the HW configuration 102 performs arithmetic processing to each function indicated in the control model 101. For example, the data table 103 indicates that the functional block 10103 indicated as the function 1 in the control model 101 is to be subjected to arithmetic processing by the arithmetic device 1020101 indicated as the arithmetic device 1 in the HW configuration 102. Similarly, the data table 103 indicates that the functional block 10104 indicated as the function 2 in the control model 102 is to be subjected to arithmetic processing by the arithmetic device 1020102 indicated as the arithmetic device 2 in the HW configuration 102.



FIG. 7 is a data table of the delay time according to the embodiment of the present invention. The data table 104 of the delay time includes function and delay time information. Specifically, the data table 104 indicates the processing time necessary in a case where each function indicated in the control model 101 is subjected to the arithmetic processing by the arithmetic device in the HW configuration 102. For example, in a case where the desired block 10103 indicated as the function 1 in the control model 101 is processed by the arithmetic device in the HW configuration 102, the data table 104 indicates that the processing time is 2.20 μs.



FIG. 8 is a flowchart of the act of the delay-time adding unit according to the embodiment of the present invention. The delay-time adding unit 105 generates the delay-inclusive control model 106 in which the delay information 104 is added to the control model 101, on the basis of the SW configuration 102, the arithmetic-device allocation 103, and the delay time 104 information. As indicated in the flowchart, the processing starts from step S10501 as the act of the delay-time adding unit 105. At step S10502, label information in the control model 1011 is acquired and then the data dependent source function and the data dependent destination function related to the label are specified. At step S10503, the arithmetic-device allocation 103 is acquired, and then it is specified to which arithmetic devices the data dependent source function and the data dependent destination function related to the label in the control model information are allocated. At step 10504, the HW configuration 1021 information is acquired, and then it is specified whether the delay determination indicates delay or no delay, from a combination of the arithmetic devices to which the data dependent source function and the data dependent destination function related to the label in the control model information are allocated. At step S10505, it is determined whether the delay determination indicates delay or no delay, from the combination of the arithmetic devices to which the data dependent source function and the data dependent destination function related to the label are allocated. For YES, the processing proceeds to step S10506. For NO, the processing proceeds to step S10507. At step S10506, the delay time information from the delay time 104 is acquired, and then the delay time necessary for arithmetic processing of the data dependent source function related to the label, is specified. At step S10508, a delay block based on the delay time 104 information is inserted in the wiring portion related to the label in the delay model 101. At step S10509, it is determined whether the determination at step S10505 has been performed to all the labels in the control model 1011. For YES, the processing proceeds to step S1020110, to finish.


For NO, the processing proceeds to step S10507, to continue. At step S10507, the data dependent source function and the data dependent destination function related to the next label in the control model 1011, are specified.



FIG. 9 is a model diagram of the delay-inclusive control model according to the embodiment of the present invention. The delay-inclusive control model 1011 results from addition of the delay time 104 to the control model 101 by the delay-time adding unit 105. The present embodiment indicates the result of addition of the delay time information to wiring lines 10117 and 10118 related to the label 1 and the label 2 to be subjected to data transmission and reception between a functional block 10113 and a functional block 10115.



FIG. 10 illustrates waveform charts of simulation results of the control model and the delay-inclusive control model according to the embodiment of the present invention. The waveform chart 108 indicating the simulation result of the delay-inclusive control model 1011, clearly indicates that the waveform has changed because of the insertion of the delay blocks, in comparison to the waveform chart 107 indicating the simulation result of the control model 101.


This arrangement enables taking account of the influence of the synchronous processing time between pieces of arithmetic processing due to parallel processing with a plurality of arithmetic devices or the influence of delay time due to data communication in arithmetic processing time, having not been considered in the existing model-based development. Thus, disagreement is inhibited from occurring between at verification of simulation operation on a model base and at verification of operation on an actual vehicle, so that the performance estimated at design can be secured.


REFERENCE SIGNS LIST




  • 1 vehicle control simulation device


  • 101 control model


  • 102 HW configuration


  • 103 arithmetic-device allocation


  • 104 delay time


  • 105 delay-time adding unit


  • 106 delay-inclusive control model


  • 107 waveform chart 1


  • 108 waveform chart 2


Claims
  • 1. A vehicle control device comprising: control model information for control of a system;hardware information for operation of a control model;arithmetic-device allocation information as to which arithmetic device in hardware is allocated to perform arithmetic processing to a control program in the control model;delay time information regarding a case where the control model operates on hardware; anda delay-time adding unit configured to create delay-inclusive control model information in which the delay time information is inserted in the control model, based on at least either the arithmetic-device allocation information or the hardware information.
  • 2. The vehicle control device according to claim 1, wherein the delay-time adding unit inserts the delay time information, among combinations of functional blocks in the control model, into a combination of functional blocks in which the respective allocated arithmetic devices are different, based on at least the arithmetic-device allocation information and the hardware information.
  • 3. The vehicle control device according to claim 1, wherein the hardware information includes at least either information regarding a plurality of system controller units or information regarding a communication line through which a storage device and the system controller units are connected.
  • 4. The vehicle control device according to claim 1, wherein the hardware information includes at least either information regarding a plurality of processor cores or information regarding a communication line through which a storage device and the processor cores are connected.
  • 5. The vehicle control device according to claim 1, wherein the delay time information includes at least either information regarding time necessary for synchronous processing between a plurality of arithmetic devices or information regarding time necessary for data communication between a plurality of arithmetic devices.
  • 6. The vehicle control device according to claim 1, wherein the delay time information is probability distribution information regarding delay time in a case where the control model operates on the hardware a plurality of times.
  • 7. A vehicle control simulation device comprising: control model information for control of a system;hardware information for operation of a control model;arithmetic-device allocation information as to which arithmetic device in hardware is allocated to perform arithmetic processing to a control program in the control model;delay time information regarding a case where the control model operates on the hardware; anda delay-time adding unit configured to create delay-inclusive control model information in which the delay time information is inserted in the control model, based on at least either the arithmetic-device allocation information or the hardware information.
Priority Claims (1)
Number Date Country Kind
2017-132367 Jul 2017 JP national
PCT Information
Filing Document Filing Date Country Kind
PCT/JP2018/023942 6/25/2018 WO 00