Scenario parameter optimization device, scenario parameter optimization method, scenario parameter optimization program, and control logic inspection system

The scenario parameter optimization device optimizes scenario parameters for multi-agent scenarios by determining responsibility and minimizing objective function values, addressing the challenge of simulating control logic interactions and ensuring responsible agent behavior in simulation tests.

WO2024201627A1PCT designated stage expired Publication Date: 2024-10-03MITSUBISHI ELECTRIC CORP
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
PCT/JP2023/012068
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-27
Publication Date
2024-10-03

AI Technical Summary

Technical Problem

Existing techniques struggle to optimize scenario parameters for scenarios involving multiple agents, as they do not account for the interactions and responsibilities between agents, leading to difficulties in simulating and testing control logic effectively.

Method used

A scenario parameter optimization device that receives simulation test results, calculates objective function values, determines responsibility, and optimizes scenario parameters to ensure the controlled agent is responsible for a predetermined event while minimizing the objective function value, using units such as objective function value calculation, responsibility determination, and scenario parameter optimization, employing methods like Hill Climbing, Simulated Annealing, and Genetic Algorithms.

Benefits of technology

Enables effective optimization of scenario parameters in multi-agent scenarios, allowing for responsible agent behavior and minimizing collision risks, thereby enhancing the simulation testing of control logic programs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2023012068_03102024_PF_FP_ABST
    Figure JP2023012068_03102024_PF_FP_ABST
Patent Text Reader

Abstract

A scenario parameter optimization device includes an object function value calculation unit (11) that calculates an object function value of a preset event, and an event occurrence time at which the preset event will occur, on the basis of execution results of a simulation test regarding a scenario that includes a first agent and a second agent, executed on the basis of a scenario parameter, a responsibility determination unit (12) that determines whether or not the first agent has responsibility regarding the occurrence of the preset event, from a situation at a responsibility determination time prior to the event occurrence time, on the basis of the execution results and the event occurrence time, and outputs results of the determination as responsibility determination results, and a scenario parameter optimization unit (13) that optimizes the scenario parameter such that the object function value becomes even smaller and also the first agent is determined to be responsible for the occurrence of the preset event, on the basis of the object function value and the responsibility determination results.
Need to check novelty before this filing date? Find Prior Art

Description

Scenario parameter optimization device, scenario parameter optimization method, scenario parameter optimization program, and control logic inspection system

[0001] The present disclosure relates to scenario parameter optimization techniques.

[0002] Technologies have been developed to allow agents such as cars or robots to drive autonomously. To enable an agent to drive autonomously, the control logic for controlling the agent must be tested in various scenarios that simulate real-world environments. One method for testing control logic is called search-based testing. Search-based testing refers to a method for searching for a scenario to be tested using metaheuristic optimization technology. Patent Document 1 discloses such a search-based testing technology. Patent Document 1 discloses a technology for setting parameters of a scenario used in a simulation test of a program to be tested through optimization processing.

[0003] JP 2018-190230 A

[0004] The technology of Patent Document 1 does not anticipate scenarios in which multiple agents exist, and therefore has the problem that it is difficult to optimize scenario parameters used in scenarios in which multiple agents exist.

[0005] The present disclosure has been made to solve such problems, and aims to provide a scenario parameter optimization technique that can optimize scenario parameters used in a scenario in which multiple agents exist.

[0006] One aspect of a scenario parameter optimization device according to an embodiment of the present disclosure includes an objective function value calculation unit that receives execution results of a simulation test of a scenario including a first agent and a second agent, which is executed based on scenario parameters, and calculates, based on the execution results, an objective function value of a predetermined event from an objective function expressing the predetermined event and an event occurrence time at which the predetermined event occurs; a responsibility determination unit that determines, based on the execution results and the calculated event occurrence time, whether the first agent is responsible for the occurrence of the predetermined event from a situation at a responsibility determination time, which is a time before the calculated event occurrence time, and outputs the result of the determination as a responsibility determination result; and a scenario parameter optimization unit that optimizes the scenario parameters based on the calculated objective function value and the output responsibility determination result, so that the calculated objective function value becomes smaller and it is determined that the first agent is responsible for the occurrence of the predetermined event.

[0007] A scenario parameter optimization unit according to an embodiment of the present disclosure can optimize scenario parameters used in a scenario in which multiple agents exist.

[0008] FIG. 7 is a functional block diagram showing an example configuration of a scenario parameter optimization device and a control logic inspection system according to embodiment 1. FIG. 7 is a diagram showing an example hardware configuration of the scenario parameter optimization device and the control logic inspection system. FIG. 7 is a diagram showing an example hardware configuration of the scenario parameter optimization device and the control logic inspection system. FIG. 7 is a diagram showing a part of a flowchart of a scenario parameter optimization method. More specifically, it shows the operation of an objective function value calculation unit of the scenario parameter optimization device. FIG. 7 is a diagram showing a part of a flowchart of the scenario parameter optimization method. More specifically, it shows the operation of a responsibility determination unit of the scenario parameter optimization device. FIG. 7A is a diagram explaining the operation of the scenario parameter optimization device when the lateral distance is equal to or less than the vehicle width. FIG. 7B is a diagram explaining the operation of the scenario parameter optimization device when the lateral distance is greater than the vehicle width.

[0009] Various embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings. Note that components with the same or similar reference numerals in the drawings have the same or similar configurations or functions, and redundant descriptions of such components will be omitted.

[0010] In addition, in this disclosure, the term "or" is used to mean an inclusive logical OR unless otherwise specified. When the term "or" is used to mean an exclusive logical OR, this will be clearly stated.

[0011] First Embodiment. <Configuration> A scenario parameter optimization device and a control logic inspection system according to a first embodiment of the present disclosure will be described with reference to FIG. 1. FIG. 1 is a functional block diagram showing an example configuration of a scenario parameter optimization device 10 according to the first embodiment, and a control logic inspection system 1 including the scenario parameter optimization device 10. As shown in FIG. 1, the control logic inspection system 1 includes the scenario parameter optimization device 10 and a simulation execution device 20. The simulation execution device 20 is a device that inspects a control logic program using a scenario. The scenario parameter optimization device 10 is a device that optimizes scenario parameters used in a scenario that the simulation execution device 20 uses when performing inspection. Each device will be described below.

[0012] (Simulation Execution Device) The simulation execution device 20 is a device that receives as input a scenario setting D1, values ​​of scenario parameters used in the scenario setting D1, and a control logic program D2, and executes a simulation test in which the control logic program D2 operates under a scenario specifically set by the values ​​of the scenario parameters. The simulation execution device 20 executes the simulation test in accordance with a calculation program and data for the simulation test (not shown). The calculation program and data (not shown) include sensor models such as radar and camera.

[0013] The control logic defines the behavior of the controlled agent. More specifically, the control logic controls the behavior of the controlled agent based on the results of the controlled agent's perception of the external world. For example, if the control logic recognizes an object in the controlled agent's direction of travel, it slows down the controlled agent's travel speed or changes the controlled agent's direction of travel to avoid a collision with the recognized object. The control amount is determined, for example, every 100 ms. The control logic program D2 is a program that realizes the control logic.

[0014] In this disclosure, an agent that is controlled by control logic is referred to as a controlled agent, and agents other than the controlled agent that exist around the controlled agent are referred to as surrounding agents. Also, in this disclosure, the controlled agent and surrounding agents may be more generally referred to as a first agent and a second agent, respectively. Examples of agents include any moving object such as a vehicle, a robot, or a drone.

[0015] A scenario refers to the development over time between multiple scenes. A scene is a term that is defined at a certain time. When the agent is a vehicle, the scenario includes road conditions and a target position of the controlled vehicle. Examples of scenarios when the agent is a vehicle include: 1) a scenario in which the controlled vehicle is traveling in a certain lane at a certain time, a surrounding vehicle is traveling 60 meters ahead of the controlled vehicle in a lane adjacent to the lane, and the surrounding vehicle changes lanes to a position 40 meters ahead of the controlled vehicle within a period from that time to a predetermined time; or 2) a scenario in which the controlled vehicle is traveling in a certain lane at a certain time, a surrounding vehicle is traveling 20 meters ahead of the controlled vehicle in a lane adjacent to the lane, and the controlled vehicle changes lanes to a position 40 meters behind the surrounding vehicle within a period from that time to a predetermined time.

[0016] A scenario is provided with a setting for at least one scenario parameter. Examples of the scenario parameters include the initial speed of the agent to be controlled, and the initial position, initial speed, target speed, and acceleration of the surrounding agents. If the agent is a vehicle, a target lane may be included as a scenario parameter. The scenario parameter optimization device 10 is provided with an initial value of the scenario parameter D9, for example, by user input, and outputs the initial value of the scenario parameter D9 to the simulation execution device 20. The simulation execution device 20 optimizes the value of the scenario parameter D9 based on the objective function value D4 and the responsibility determination result D8.

[0017] The simulation execution device 20 executes a simulation test of the behavior of the controlled agent according to the control logic program D2 under a simulated scenario setting D1 specifically defined by the scenario parameters. The simulation execution device 20 outputs a simulation execution result D3, which is the result of the execution of the simulation test, to the scenario parameter optimization device 10. The simulation execution result D3 includes a movement log that records the movements of the controlled agent and surrounding agents. The movement log includes, for example, the position, speed, and acceleration of each agent at each time during the simulation test, as well as the recognition status of the controlled agent of the surrounding agents.

[0018] (Scenario Parameter Optimization Device) The scenario parameter optimization device 10 is a device that receives simulation execution results D3, analyzes the simulation execution results D3, and optimizes the scenario parameters used in the scenario setting D1. To realize these functions, the scenario parameter optimization device 10 includes an objective function value calculation unit 11, a responsibility determination unit 12, and a scenario parameter optimization unit 13. The responsibility determination unit 12 includes a responsibility determination time detection unit 121 and a responsibility attribution determination unit 122. Each functional unit will be described in detail below.

[0019] (Objective Function Value Calculation Unit) The objective function value calculation unit 11 calculates an objective function value D4 of a predetermined event from an objective function that expresses the predetermined event based on the simulation execution result D3, and outputs the calculated objective function value D4 to the scenario parameter optimization unit 13. The predetermined event is, for example, an event in which the inter-agent distance between the controlled agent and the surrounding agents becomes small over time, thereby minimizing the inter-agent distance. Furthermore, if the event in which the inter-agent distance becomes small is the predetermined event, the objective function that expresses the predetermined event is a function that expresses the distance between the agents. If the minimum inter-agent distance is smaller than a certain threshold, this means that a problem of collision between agents will occur.

[0020] The calculation of the objective function value D4 will be specifically described with reference to FIG. 7 . In FIGS. 7A and 7B , the controlled agent is the controlled vehicle V1, and the surrounding agent is the surrounding vehicle V2. The centers of gravity of the controlled vehicle V1 and the surrounding vehicle V2 are (x1, y1) and (x2, y2), respectively. As in the case of FIG. 7A , when the distance |y2-y1| in the lateral direction y between the controlled vehicle V1 and the surrounding vehicle V2 is equal to or less than the vehicle width W, the objective function value calculation unit 11 calculates, as the objective function value D4, the minimum value of the distance |x2-x1| in the longitudinal direction x, which is the direction of travel of the vehicles, which is the closest distance. The vehicle width W may be, for example, a fixed value of 2000 mm. Furthermore, when the vehicle width W1 of the controlled vehicle V1 and the vehicle width W2 of the surrounding vehicle V2 are different, the average value of the vehicle widths W1 and W2 may be used as the vehicle width W.

[0021] In contrast, when the lateral distance y |y2-y1| is greater than the vehicle width W, as in the case of Figure 7B, the control target vehicle V1 and the surrounding vehicle V2 will not collide, so the objective function value calculation unit 11 does not calculate the inter-vehicle distance at the closest point between the control target vehicle V1 and the surrounding vehicle V2, and regards a value large enough not to affect the optimization result (for example, 10,000 m) as the inter-vehicle distance.

[0022] Furthermore, the objective function value calculation unit 11 outputs the time when the data used to calculate the objective function value D4 was acquired as the event occurrence time D5 to the responsibility determination time detection unit 121. In other words, the event occurrence time D5 is the time when a predetermined event occurs.

[0023] (Responsibility Determination Unit) The responsibility determination unit 12 is a functional unit that determines whether a controlled agent is responsible for the occurrence of a predetermined event. More specifically, based on the simulation execution result D3 and the event occurrence time D5, it determines whether a controlled agent is responsible for the occurrence of a predetermined event from the situation at a responsibility determination time D6, which is a time before the event occurrence time D5, and outputs the determination result as a responsibility determination result D8. To realize this function, the responsibility determination unit 12 includes a responsibility determination time detection unit 121 and a responsibility attribution determination unit 122.

[0024] (Responsibility determination time detection unit) Based on the simulation execution result D3, the responsibility determination time detection unit 121 detects the time when a behavior of a surrounding agent that leads to the occurrence of a predetermined event occurred before the event occurrence time D5 as a candidate responsibility determination time, determines a responsibility determination time D6 based on the detected candidate responsibility determination time, and outputs the determined responsibility determination time D6 to the responsibility attribution determination unit 122.

[0025] Here, an example of the behavior of a surrounding agent that leads to the occurrence of a predetermined event will be described. To explain the example, assume that the agent is a vehicle, and assume a scenario in which two vehicles, a controlled vehicle and a surrounding vehicle, are traveling on a road. Also assume that the predetermined event is an event in which the inter-vehicle distance between the controlled vehicle and the surrounding vehicle reaches a minimum value over time. Under such assumptions, examples of such behavior of the surrounding agent can include a course change (lane change), acceleration, or deceleration.

[0026] More specifically, an example of lane change is when a target vehicle is traveling in a certain lane and a surrounding vehicle traveling in an adjacent lane cuts in front of the target vehicle and changes lanes. A scenario in which the surrounding vehicle decelerates before and after the lane change may also be assumed.

[0027] Another example of lane changes is when a controlled vehicle starts to change lanes from a first lane to a second lane adjacent to the first lane, and then a surrounding vehicle traveling in a third lane adjacent to the second lane changes lanes to the second lane. A scenario in which the surrounding vehicle decelerates before and after the lane change may be assumed.

[0028] An example of acceleration is when a controlled vehicle traveling in a certain lane starts to change lanes to an adjacent lane, and then a surrounding vehicle traveling in the adjacent lane behind the controlled vehicle accelerates.

[0029] An example of deceleration is when a surrounding vehicle ahead of the controlled vehicle traveling in the same lane as the controlled vehicle suddenly decelerates.

[0030] In these examples, the behavior of the surrounding vehicles shortens the inter-vehicle distance between the controlled vehicle and the surrounding vehicles. The responsibility determination time detection unit 121 detects the time at which such behavior of the surrounding agents occurs as a candidate responsibility determination time. When the surrounding agents perform multiple behaviors, such as decelerating after changing lanes, the responsibility determination time detection unit 121 calculates the latest time before the event occurrence time D5 at which a change in the behavior of the surrounding agents occurs as a candidate responsibility determination time. The responsibility determination time detection unit 121 determines a responsibility determination time D6 based on this candidate responsibility determination time and outputs the determined responsibility determination time D6 to the responsibility attribution determination unit 122. The determination of the responsibility determination time D6 based on the candidate responsibility determination time will be described later.

[0031] (Responsibility attribution determination unit) The responsibility attribution determination unit 122 determines whether or not the controlled agent is responsible for the occurrence of a predetermined event based on the situation at the responsibility determination time D6 in the simulation execution result D3, and outputs the determination result as a responsibility determination result D8 to the scenario parameter optimization unit 13. The situation refers to the physical quantities of the controlled agent and surrounding agents. Examples of physical quantities include position, speed, or acceleration. The method of determination will be described later.

[0032] (Scenario Parameter Optimization Unit) The scenario parameter optimization unit 13 optimizes the scenario parameters D9 based on the objective function value D4 and the responsibility determination result D8 so that the controlled agent is responsible for the occurrence of a predetermined event and so that the objective function value D4 is small. Optimization methods include heuristic methods such as hill climbing, simulated annealing, and genetic algorithms.

[0033] Next, an example of the hardware configuration of the scenario parameter optimization device 10 and the simulation execution device 20 will be described with reference to Figures 2A and 2B. The functions of each device are realized by a processing circuitry. The processing circuitry may be a dedicated processing circuit 100a as shown in Figure 2A, or a computer including a memory 100c and a processor 100b as shown in Figure 2B. The processor 100b reads a program stored in the memory 100c and executes the read program.

[0034] When the processing circuitry is a dedicated processing circuit 100a, the dedicated processing circuit 100a may be, for example, a single circuit, a composite circuit, a programmed processor, a parallel programmed processor, an application specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or a combination thereof. The functions of each device may be realized by separate processing circuits, or multiple functions may be combined and realized by a single processing circuit.

[0035] When the processing circuitry is a processor 100b, the functions of each device are realized by software, firmware, or a combination of software and firmware. The software and firmware are written as programs and stored in memory 100c. The processor 100b realizes the functions of each device by reading and executing the programs stored in memory. Here, examples of memory 100c include non-volatile or volatile semiconductor memory such as random access memory (RAM), read-only memory (ROM), flash memory, erasable programmable read-only memory (EPROM), and electrically erasable programmable read-only memory (EEPROM), as well as magnetic disks, flexible disks, optical disks, compact disks, minidisks, and DVDs.

[0036] <Operation> Next, the operation of the scenario parameter optimization device 10 will be described with reference to Fig. 3 to Fig. 6. Fig. 3 shows the operation of the objective function value calculation unit 11 of the scenario parameter optimization device 10. Figs. 4 and 5 show the operation of the responsibility determination unit 12 of the scenario parameter optimization device 10. Fig. 6 shows the operation of the scenario parameter optimization unit 13 of the scenario parameter optimization device 10. A detailed description will be given below with reference to each figure.

[0037] The operation of the objective function value calculation unit 11 will be described with reference to FIG. 3. In step ST11, the objective function value calculation unit 11 analyzes the simulation execution result D3 output from the simulation execution device 20. The simulation execution result D3 includes a movement log, such as a running log or a flight log, in which position information of the controlled agent and at least one surrounding agent is recorded. If there are multiple surrounding agents, the simulation execution result D3 includes a movement log for each surrounding agent. The objective function value calculation unit 11 analyzes the simulation execution result D3 to find the minimum value of the distance from the controlled agent to at least one surrounding agent. If there are multiple surrounding agents, the minimum value of the distance to each surrounding agent is found.

[0038] In step ST12, the objective function value calculation unit 11 calculates an objective function value from the minimum value of one or more distances to the obtained surrounding agents, and outputs the calculated objective function value D4. When only a single surrounding agent exists, the objective function value D4 is the minimum value of the distance to that surrounding agent. When multiple surrounding agents exist, the objective function value D4 may be multiple values, the number of which is equal to the number of surrounding agents, or it may be a single value that is the smallest value of the minimum value of the distance to the controlled agent. The objective function value calculation unit 11 outputs the calculated objective function value D4 to the scenario parameter optimization unit 13.

[0039] In step ST13, the objective function value calculation unit 11 outputs the time when the data used to calculate the objective function value D4 was acquired, i.e., the time when the distance between the controlled agent and the surrounding agents is smallest, as the event occurrence time D5 to the responsibility determination time detection unit 121.

[0040] 4 and 5, the operation of the responsibility determination unit 12, which includes the responsibility determination time detection unit 121 and the responsibility attribution determination unit 122, will be described. In step ST21, the responsibility determination time detection unit 121 analyzes the simulation execution result D3 output from the simulation execution device 20, and detects the time at which a behavior change occurred in each surrounding agent. If the surrounding agent is, for example, a car, a behavior change could be a lane change, acceleration, deceleration, etc.

[0041] In step ST22, the responsibility determination time detection section 121 determines, for each surrounding agent, the latest behavior change time before the event occurrence time D5 among the behavior change times of each surrounding agent, as a responsibility determination time candidate.

[0042] In step ST23, the responsibility determination time detection unit 121 analyzes the simulation execution result D3 and detects, for each surrounding agent, the recognition start time at which the controlled agent began to recognize the surrounding agent before the event occurrence time D5, calculates the later of the candidate responsibility determination time or the recognition start time as the responsibility determination time D6, and outputs the calculated responsibility determination time D6 to the responsibility attribution determination unit 122. For example, if a surrounding vehicle in an adjacent lane ahead changes lanes to cut in front of the controlled vehicle, the recognition start time at which the controlled vehicle begins to recognize that the surrounding vehicle is entering the same lane as the controlled vehicle may be later than the candidate responsibility determination time at which the surrounding vehicle starts changing lanes. In such an example, the responsibility determination time detection unit 121 calculates the later recognition start time as the responsibility determination time D6.

[0043] In step ST24, the responsibility attribution determination unit 122 extracts data on the surrounding agent at the responsibility determination time D6 calculated by the responsibility determination time detection unit 121 from the simulation execution result D3 output from the simulation execution device 20.

[0044] In step ST25, the responsibility attribution determination unit 122 determines whether the controlled agent is responsible in relation to each surrounding agent for the occurrence of a predetermined event, and outputs the determination result to the scenario parameter optimization unit 13 as a responsibility determination result D8.

[0045] FIG. 5 is a flowchart detailing the processing performed by the responsibility attribution determination unit 122 in step ST25. In step ST251, based on the data of the surrounding agents at the responsibility determination time D6, it is determined whether the target agent could have avoided the occurrence of a predetermined event with a realistic control amount during the period from the responsibility determination time D6 to the event occurrence time D5. For example, the deceleration value or the turning angular velocity value or both required to avoid a collision are calculated according to the laws of motion. If the calculated value exceeds a predetermined threshold D7, it is determined that the occurrence of the predetermined event cannot be avoided with a realistic control amount (NO in step ST251). In the case of deceleration, the threshold D7 can be, for example, approximately 0.75 G, which is the braking force that an experienced driver can generate, or approximately 0.85 G, which is the braking force when a collision damage mitigation brake system is activated. On the other hand, if the calculated value is equal to or less than the predetermined threshold D7, it is determined that the occurrence of the predetermined event can be avoided with a realistic control amount (YES in step ST251).

[0046] If the answer is YES in step ST251, the process proceeds to step ST252, where it is determined that the controlled agent is responsible.

[0047] If the answer is NO in step ST251, the process proceeds to step ST253, where it is determined that the controlled agent is not responsible.

[0048] In step ST254, a change in the behavior of the controlled agent is detected from the simulation execution result D3 output from the simulation execution device 20, and if the time of the detected behavior change is later than the responsibility determination time D6, the result of the determination is corrected so that the controlled agent is determined to be responsible. For example, if a surrounding vehicle ahead in an adjacent lane decelerates and then the controlled vehicle changes lanes into that adjacent lane, the controlled vehicle is deemed to be responsible.

[0049] The operation of the scenario parameter optimization unit 13 will be described with reference to Fig. 6. In step ST31, the scenario parameter optimization unit 13 corrects the objective function value D4 output from the objective function value calculation unit 11 based on the responsibility determination result D8 output from the responsibility attribution determination unit 122. For example, in a scenario in which surrounding vehicles a, b, and c exist as surrounding agents, if it is determined that the controlled agent is not responsible for the occurrence of a predetermined event with respect to a certain surrounding agent, for example, surrounding vehicle b, a penalty value is added to the objective function value fb corresponding to surrounding vehicle b, thereby making it less likely that a similar scenario parameter value will occur in subsequent optimizations.

[0050] In step ST32, the scenario parameter optimization unit 13 updates the values ​​of the scenario parameters by performing optimization, which can be performed using heuristic methods such as hill climbing, simulated annealing, and genetic algorithms.

[0051] In step ST33, the scenario parameter optimization unit 13 outputs the updated scenario parameter values ​​to the simulation execution device 20.

[0052] As described above, the scenario parameter optimization device 10 assumes a scenario in which multiple agents, including a controlled agent and surrounding agents, exist. Under the assumed scenario, the scenario parameter optimization device 10 optimizes the scenario parameters so that the controlled agent is held responsible for the occurrence of a predetermined event during a simulation test of a control logic program, and so that the objective function value is minimized. Therefore, the scenario parameter optimization device 10 can effectively search for a scenario to be used as a test case in the simulation test.

[0053] It is possible to combine the embodiments, and to modify or omit each embodiment as appropriate.

[0054] The scenario parameter optimization device disclosed herein can be used as a device for effectively searching for scenarios used to inspect a control logic program that controls an agent such as an autonomous vehicle.

[0055] 1 Control logic inspection system, 10 Scenario parameter optimization device, 11 Objective function value calculation unit, 12 Responsibility determination unit, 13 Scenario parameter optimization unit, 20 Simulation execution device, 100a Processing circuit, 100b Processor, 100c Memory, 121 Responsibility determination time detection unit, 122 Responsibility attribution determination unit.

Claims

1. A scenario parameter optimization device comprising: an objective function value calculation unit that receives execution results of a simulation test of a scenario including a first agent and a second agent, which is executed based on scenario parameters, and calculates, based on the execution results, an objective function value of a predetermined event from an objective function expressing the predetermined event and an event occurrence time at which the predetermined event occurs; a responsibility determination unit that determines, based on the execution results and the calculated event occurrence time, whether or not the first agent is responsible for the occurrence of the predetermined event from a situation at a responsibility determination time which is a time prior to the calculated event occurrence time, and outputs the determination result as a responsibility determination result; and a scenario parameter optimization unit that optimizes the scenario parameters based on the calculated objective function value and the output responsibility determination result, so that the calculated objective function value becomes smaller and it is determined that the first agent is responsible for the occurrence of the predetermined event.

2. A scenario parameter optimization device as described in claim 1, wherein the responsibility determination unit includes a responsibility determination time detection unit that detects the responsibility determination time based on the execution result and the calculated event occurrence time.

3. A scenario parameter optimization device as described in claim 2, wherein the responsibility determination time detection unit calculates the latest time before the event occurrence time among the times at which a behavior change of the second agent occurs as a candidate responsibility determination time, and detects the calculated candidate responsibility determination time as the responsibility determination time.

4. The scenario parameter optimization device according to claim 3, wherein the change in behavior of the second agent is any one of a change in course, acceleration, or deceleration.

5. A scenario parameter optimization device as described in claim 3 or 4, wherein, when the recognition start time at which the first agent begins to recognize the second agent is later than the responsibility judgment time candidate, the responsibility judgment time detection unit detects the recognition start time as the responsibility judgment time instead of the responsibility judgment time candidate.

6. A scenario parameter optimization device as described in any one of claims 1 to 5, wherein the responsibility determination unit includes a responsibility attribution determination unit that determines whether or not the first agent is responsible for the occurrence of the predetermined event based on the situation at the responsibility determination time, and the responsibility attribution determination unit determines whether or not the first agent is responsible based on the deceleration or turning angular velocity of the first agent required to avoid the occurrence of the predetermined event at the responsibility determination time.

7. A scenario parameter optimization device according to claim 6, wherein the responsibility attribution determination unit determines that the first agent is responsible if a change in behavior of the first agent occurs after the responsibility determination time.

8. A control logic inspection system comprising: a scenario parameter optimization device according to any one of claims 1 to 7; and a simulation execution device which performs a simulation test of the first agent using a scenario defined by the optimized scenario parameters and a control logic program which controls the behavior of the first agent.

9. A scenario parameter optimization method performed by a scenario parameter optimization device comprising an objective function value calculation unit, a responsibility determination unit, and a scenario parameter optimization unit, comprising: a step in which the objective function value calculation unit accepts an execution result of a simulation test of a scenario including a first agent and a second agent, which is executed based on scenario parameters, and calculates, based on the execution result, an objective function value of a predetermined event from an objective function expressing the predetermined event and an event occurrence time at which the predetermined event occurs; a step in which the responsibility determination unit determines, based on the execution result and the calculated event occurrence time, whether or not the first agent is responsible for the occurrence of the predetermined event from a situation at a responsibility determination time which is a time prior to the calculated event occurrence time, and outputs the determination result as a responsibility determination result; and a step in which the scenario parameter optimization unit optimizes the scenario parameters based on the calculated objective function value and the output responsibility determination result, so that the calculated objective function value becomes smaller and it is determined that the first agent is responsible for the occurrence of the predetermined event.

10. A scenario parameter optimization program that causes a computer to execute the following functions: a function for accepting execution results of a simulation test of a scenario including a first agent and a second agent, which is executed based on scenario parameters, and calculating, based on the execution results, an objective function value of a predetermined event from an objective function expressing the predetermined event and an event occurrence time at which the predetermined event occurs; a function for judging, based on the execution results and the calculated event occurrence time, whether or not the first agent is responsible for the occurrence of the predetermined event from the situation at a responsibility judgment time, which is a time prior to the calculated event occurrence time, and outputting the result of the judgment as a responsibility judgment result; and a function for optimizing the scenario parameters based on the calculated objective function value and the output responsibility judgment result, so that the calculated objective function value becomes smaller and it is judged that the first agent is responsible for the occurrence of the predetermined event.

Citation Information

Patent Citations

  • Identifying extreme situations of operating scenarios

    CN115131751A

  • Computer program checking apparatus

    JP2015197868A

  • Inspection apparatus of computer program

    JP2018190230A

  • Method and apparatus for testing a system, for selecting real tests, and for testing systems with machine learning components

    US20200409816A1