Optimum arithmetic unit

The optimal arithmetic device manages computational load by evaluating constraints and interrupting repetitive calculations, reducing processing demands and allowing the use of less expensive hardware for vehicle control systems.

JP2024126095AInactive Publication Date: 2024-09-20MITSUBISHI ELECTRIC CORP
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023034261
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-07
Publication Date
2024-09-20
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing optimal calculation methods for vehicle control face high computational processing loads due to increasing numbers of valid constraints, necessitating expensive hardware with high arithmetic processing capacity, and reducing constraint conditions leads to system performance deterioration.

Method used

An optimal arithmetic device that evaluates input and state variables using an evaluation function, determines effective constraints, and interrupts repetitive calculations based on constraint conditions to manage processing load, allowing use of less expensive hardware.

Benefits of technology

Reduces the cumulative calculation processing load, enabling the use of inexpensive devices with lower processing capacity while maintaining system performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024126095000001
    Figure 2024126095000001
Patent Text Reader

Abstract

To provide an optimum arithmetic unit capable of reducing the maximum cumulative value of an assumed arithmetic processing load while setting the setting number of constraint conditions to a necessary number, thereby, enabling adopting a less expensive arithmetic processing unit with a lower arithmetic capacity.SOLUTION: An optimum arithmetic unit is configured to: iterate optimum value candidate calculation to calculate optimum value candidates for an input variable and a state variable while adding or eliminating, for each iteration of the optimum value candidate calculation, valid constraint conditions being constraint conditions used for the optimum value candidate calculation within the constraint condition of a set number; calculate, based on the optimum value candidate, the optimum values of the input variable and the state variable; and determine, based on the number of the valid constraint condition used for each optimum value candidate calculation during iterating the optimum value candidate calculation, whether or not to interrupt the optimum value candidate calculation.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] This application relates to an optimal computing device. [Background technology]

[0002] In the technology of Patent Document 1, the initial values ​​and the prediction period for solving the optimal control problem are set according to the change in the state of the vehicle itself and the change in the state of the surroundings. In the technology of Patent Document 1, the initial values ​​and the prediction period are changed to perform calculations according to the situation. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2020-8889 A Summary of the Invention [Problem to be solved by the invention]

[0004] Incidentally, in the optimum calculation assumed in the present application, the optimum value candidate calculation is repeatedly performed to calculate the optimum value candidates of the input variables and the state variables while adding or deleting the effective constraint conditions, which are the constraint conditions used in the optimum value candidate calculation among the set number of constraint conditions, for each repetition of the optimum value candidate calculation. In such an optimum calculation, since each optimum value candidate calculation is a matrix calculation of an order according to the number of effective constraint conditions, the calculation processing load of each optimum value candidate calculation becomes quadratically higher as the number of effective constraint conditions increases. Furthermore, the calculation processing load becomes higher as the number of repetitions of the optimum value candidate calculation increases. Therefore, the calculation processing load of the optimum value candidate calculation in which all the set number of constraint conditions are set as effective constraint conditions becomes the highest. Therefore, it was necessary to assume the highest calculation processing load in which the set number of constraint conditions are used, and adopt an expensive calculation processing device with high calculation processing capacity. On the other hand, it is possible to reduce the number of constraint conditions set in order to reduce the maximum value of the calculation processing load, but this leads to deterioration of the system performance. Note that the technology of Patent Document 1 does not perform an optimum calculation in which the optimum value candidate calculation is repeatedly performed while adding or deleting such effective constraint conditions.

[0005] Therefore, the present application aims to provide an optimal calculation device that can set the number of constraint conditions to the required number while reducing the expected maximum cumulative value of the calculation processing load and can adopt an inexpensive calculation processing device with low calculation processing power. [Means for solving the problem]

[0006] The optimization device according to the present application is an optimal value calculation unit that uses a state equation that calculates a state variable at each time point of a prediction period using an input of an input variable at each time point of the prediction period, and repeatedly calculates optimal value candidates for the input variables and the state variables while adding or deleting effective constraint conditions, which are the constraint conditions used in the optimal value candidate calculation, from among the set number of constraint conditions, for each repetition of the optimal value candidate calculation so as to solve an optimization problem having an evaluation function that evaluates the input variables and the state variables, and one or more set number of constraint conditions that constrain the input variables or the state variables, and calculates optimal values ​​of the input variables and the state variables at each time point of the prediction period based on the optimal value candidates; a calculation interruption unit that determines whether or not to interrupt the repetition of the optimum value candidate calculation based on the number of the effective constraint conditions used in each of the optimum value candidate calculations during the repetition of the optimum value candidate calculations, When it is determined that the repetition of the optimum value candidate calculation is to be interrupted, the optimum value calculation unit interrupts the repetition of the optimum value candidate calculation, and calculates the optimum values ​​of the input variables and the state variables based on the optimum value candidates of the input variables and the state variables calculated before the repetition of the optimum value candidate calculation is interrupted. Effect of the Invention

[0007] According to the optimization device of the present application, the calculation load of each optimal value candidate calculation is grasped from the number of effective constraint conditions used in each optimal value candidate calculation, and the cumulative value of the calculation load can be prevented from increasing by interrupting the repetition of the optimal value candidate calculation. Therefore, the maximum expected cumulative value of the calculation load can be reduced, and an inexpensive calculation processing device with low calculation processing capacity can be adopted. [Brief description of the drawings]

[0008] [Figure 1] 1 is a schematic block diagram of a vehicle control device and a vehicle system incorporating an optimization arithmetic device according to a first embodiment. [Diagram 2] 1 is a hardware configuration diagram of a vehicle control device according to a first embodiment. [Diagram 3] 4 is a hardware configuration diagram of another example of the vehicle control device according to the first embodiment. FIG. [Figure 4] FIG. 4 is a diagram for explaining the relationship between the number of effective constraint conditions and the calculation processing load according to the first embodiment. [Diagram 5] 4 is a flowchart for explaining the processing of an optimum value calculation unit and a calculation interruption unit according to the first embodiment. [Figure 6] FIG. 13 is a diagram for explaining settings of a constraint number upper limit threshold and a count upper limit threshold according to the numbers of state variables and input variables according to the first embodiment. [Figure 7] 10 is a flowchart for illustrating setting of a constraint number upper limit threshold and a count upper limit threshold according to the control content of vehicle control according to the first embodiment. [Figure 8] FIG. 2 is a diagram for explaining a coordinate system of a host vehicle according to the first embodiment. [Figure 9] FIG. 11 is a diagram for explaining interruption of repetition depending on an accumulated value of the cost of the computational processing load according to the second embodiment. [Figure 10] FIG. 11 is a diagram for explaining setting of the cost of the calculation processing load with respect to the number of effective constraint conditions according to the second embodiment. [Figure 11] 13 is a flowchart for explaining the processing of an optimum value calculation unit and a calculation interruption unit according to the second embodiment. [Figure 12] FIG. 11 is a diagram for explaining setting of the cost of the calculation processing load according to the number of state variables and input variables according to the second embodiment. [Figure 13] 10 is a flowchart for illustrating setting of a constraint number upper limit threshold and a count upper limit threshold according to the control content of vehicle control according to the second embodiment. [Figure 14] FIG. 11 is a diagram for explaining setting of the cost of the calculation processing load according to the control content of the vehicle control according to the second embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0009] 1. First embodiment An optimization calculation device according to a first embodiment will be described with reference to the drawings. In this embodiment, the optimization calculation device is mounted on a vehicle and performs optimization calculation for controlling the vehicle. The optimization calculation device is incorporated in a vehicle control device 50. The vehicle system 1 and the vehicle control device 50 are mounted on the vehicle.

[0010] As shown in FIG. 1, the vehicle system 1 includes a vehicle condition detection device 31, a surroundings monitoring device 32, a position detection device 33, a map information database 34, a wireless communication device 35, a vehicle control device 50, a drive control device 36, a power machine 8, an electric steering device 7, and an electric braking device 9, etc.

[0011] The vehicle state detection device 31 is a detection device that detects the running state of the host vehicle. As the running state of the host vehicle, the vehicle speed V, acceleration α, roll angular velocity, pitch angular velocity, and yaw angular velocity γ of the host vehicle are detected. For example, the vehicle state detection device 31 is provided with a three-axis angular velocity sensor that detects the roll angular velocity, pitch angular velocity, and yaw angular velocity acting on the host vehicle, an acceleration sensor, and a speed sensor that detects the rotational speed of the wheels. Note that the speed of the host vehicle may be detected by other methods, such as integrating the acceleration.

[0012] The periphery monitoring device 32 is a device such as a camera or a radar that monitors the periphery of the vehicle. The radar may be a millimeter wave radar, a laser radar, an ultrasonic radar, etc. The wireless communication device 35 performs wireless communication with a base station using a cellular wireless communication standard such as 4G or 5G.

[0013] The position detection device 33 is a device that detects the current position (latitude, longitude, altitude) of the vehicle, and a GPS antenna that receives signals output from an artificial satellite such as a Global Navigation Satellite System (GNSS) is used. Note that the current position of the vehicle may be detected by various methods such as a method using the lane number of the vehicle, a map matching method, a dead reckoning method, a method using detection information around the vehicle, and the like.

[0014] The map information database 34 stores road information such as road shapes (for example, road positions, number of lanes, shapes of each lane, road types, speed limits, etc.), signs, traffic lights, etc. The map information database 34 is mainly composed of a storage device. The map information database 34 may be provided in a server outside the vehicle connected to a network, and the vehicle control device 50 may obtain necessary road information from the server outside the vehicle via the wireless communication device 35.

[0015] The drive control device 36 includes a power control device, a brake control device, an automatic steering control device, a light control device, etc. The power control device controls the output of a power machine 8 such as an internal combustion engine or a motor. The brake control device controls the braking operation of an electric brake device 9. The automatic steering control device controls the electric steering device 7. The light control device controls a direction indicator, a hazard lamp, etc.

[0016] 1-1. Vehicle control device 50 The vehicle control device 50 includes functional units such as a surrounding condition acquisition unit 51, a driving state acquisition unit 52, a target driving state setting unit 53, an optimal value calculation unit 54, a calculation interruption unit 55, and a vehicle control unit 56. Each function of the vehicle control device 50 is realized by a processing circuit included in the vehicle control device 50. Specifically, as shown in Fig. 2, the vehicle control device 50 includes an arithmetic processing device 90 such as a CPU (Central Processing Unit), a storage device 91, an input / output device 92 that inputs and outputs external signals to the arithmetic processing device 90, and the like.

[0017] The arithmetic processing device 90 may be an ASIC (Application Specific Integrated Circuit), an IC (Integrated Circuit), a DSP (Digital Signal Processor), an FPGA (Field Programmable Gate Array), a GPU (Graphics Processing Unit), an AI (Artificial Intelligence) chip, various logic circuits, various signal processing circuits, etc. Also, the arithmetic processing device 90 may be a plurality of the same or different types, and each process may be shared and executed. As the storage device 91, various storage devices such as a RAM (Random Access Memory), a ROM (Read Only Memory), a flash memory, an EEPROM (Electrically Erasable Programmable Read Only Memory), a hard disk, etc. are used.

[0018] The input / output device 92 includes a communication device, an A / D converter, an input / output port, a drive circuit, etc. The input / output device 92 is connected to the vehicle state detection device 31, the surroundings monitoring device 32, the position detection device 33, the map information database 34, the wireless communication device 35, the drive control device 36, etc., and communicates with these devices.

[0019] Each function of the functional units 51 to 56 of the vehicle control device 50 is realized by the arithmetic processing device 90 executing software (programs) stored in the storage device 91 and cooperating with other hardware of the vehicle control device 50, such as the storage device 91 and the input / output device 92. Note that setting data such as the constraint number upper limit threshold THdact and the count upper limit threshold THnit used by the functional units 51 to 56 are stored in the storage device 91, such as an EEPROM, as part of the software (programs).

[0020] Alternatively, the vehicle control device 50 may be provided with dedicated hardware 93 as a processing circuit, such as a single circuit, a composite circuit, a programmed processor, a parallel programmed processor, an ASIC, an FPGA, a GPU, an AI chip, or a circuit combining these, as shown in Fig. 3. Each function of the vehicle control device 50 will be described in detail below.

[0021] 1-1-1. Surrounding situation acquisition unit 51 The surrounding condition acquisition unit 51 acquires the surrounding conditions of the vehicle. For example, the surrounding condition acquisition unit 51 detects other vehicles and the like present around the vehicle. The surrounding condition acquisition unit 51 detects the position, moving direction, moving speed, and the like of the other vehicles based on the detection information acquired from the surroundings monitoring device 32 and the position information of the vehicle acquired from the position detection device 33. Furthermore, the surrounding condition acquisition unit 51 detects lane shapes such as road dividing lines, obstacles, pedestrians, signs, and the like in addition to other vehicles.

[0022] 1-1-2. Driving condition acquisition unit 52 The running state acquisition unit 52 acquires the running state of the host vehicle. The running state acquisition unit 52 acquires the vehicle speed V, acceleration α, roll angular velocity, pitch angular velocity, and yaw angular velocity γ of the host vehicle as the running state of the host vehicle from the vehicle state detection device 31. The running state acquisition unit 52 also acquires the position and moving direction of the host vehicle based on the position information of the host vehicle acquired from the position detection device 33. The running state acquisition unit 52 also acquires information on the running position of the host vehicle relative to the lane based on the shape of the lane acquired from the surrounding situation acquisition unit 51. The running state acquisition unit 52 also acquires driving operation states such as the steering angle δ, the output of a power machine such as an internal combustion engine, and the operating state of the brakes from the vehicle control unit 56.

[0023] 1-1-3. Target driving state setting unit 53 The target driving state setting unit 53 sets a target driving state of the vehicle. The target driving state setting unit 53 calculates a target driving state according to the state of other vehicles, road shapes, obstacles, pedestrians, etc. around the vehicle detected by the surrounding condition acquisition unit 51.

[0024] For example, when lateral control, which will be described later, is executed, a lateral target driving position is calculated as the target driving state. The lateral target driving position is set in a lateral target driving range at each longitudinal position Y. Examples of lateral control include lane keeping control, obstacle avoidance control, and lane change control.

[0025] For example, when longitudinal control, which will be described later, is executed, longitudinal speed, following distance, etc. are calculated as the target driving state. As longitudinal control, cruise control, following distance control, control to follow the preceding vehicle, etc. are available.

[0026] For example, when both the longitudinal control and the lateral control are executed, a target driving trajectory is calculated as a target driving state. The target driving trajectory is a time-series driving plan including the position of the host vehicle, the traveling direction of the host vehicle, the speed of the host vehicle, etc. at each future point in time. Various known methods are used to calculate the target driving trajectory. Note that the longitudinal control and the lateral control may simply be executed simultaneously.

[0027] 1-1-4. Vehicle control unit 56 The vehicle control unit 56 controls the host vehicle based on the target values ​​of the vehicle control amounts set by the optimum value calculation unit 54 described later. In this embodiment, when both the longitudinal control and the lateral control are executed, the target values ​​of the vehicle control amounts are set to the target value of the steering angle δ at each time point and the target value of the acceleration α at each time point. When the lateral control is executed, the target value of the vehicle control amounts is set to the target value of the steering angle δ at each time point. When the longitudinal control is executed, the target value of the vehicle control amounts is set to the target value of the acceleration α at each time point. Other parameters may be set as the target values ​​of the vehicle control amounts.

[0028] The vehicle control unit 56 calculates a command value for the power control unit and a command value for the brake control unit based on the acceleration α at each point in time. The vehicle control unit 56 calculates a command value for the automatic steering control unit based on the target value of the steering angle δ at each point in time.

[0029] The power control device controls the output of a power machine 8 such as an internal combustion engine or a motor according to a command value. The brake control device controls the braking operation of an electric brake device 9 according to a command value. The automatic steering control device controls the electric steering device 7 according to a command value.

[0030] 1-1-5. Optimum value calculation unit 54 The optimum value calculation unit 54 uses a state equation that calculates a state variable x(k) at each time point k of the prediction period using an input variable u(k) at each time point k of the prediction period as an input, and performs an optimum value candidate calculation to calculate an optimum value candidate utmp(k) of the input variable at each time point k and an optimum value candidate xtmp(k) of the state variable at each time point k while adding or deleting an effective constraint condition gact, which is a constraint condition used in the optimum value candidate calculation among the constraint conditions g of the set number Dall, for each repetition of the optimum value candidate calculation so as to solve an optimization problem having an evaluation function that evaluates the input variable u(k) and the state variable at each time point k of the prediction period, and calculates the optimum value u*(k) of the input variable at each time point k of the prediction period and the optimum value x*(k) of the state variable based on the optimum value candidate utmp(k) of the input variable at each time point k and the optimum value candidate xtmp(k) of the state variable. The optimum value calculation unit 54 performs an optimum value calculation process for each calculation cycle to calculate the optimum value.

[0031] The optimum value calculation unit 54 sets an initial value u0(k) of the input variable u(k) at each time point k of the prediction period. The optimum value calculation unit 54 updates the optimum value candidate utmp(k) of the input variable at each time point k from the initial value u0(k) every time the optimum value candidate calculation is repeated, as if solving an optimization problem.

[0032] <State equation of state variables> As shown in the following equation, the state equation for state variable x is expressed by a function f in which the time differential dx / dt(k) of the state variable at each time point k is expressed as the input variable u(k) at each time point k and the state variable x(k). When there are multiple state variables, x becomes a vector, and when there are multiple input variables, u becomes a vector. Here, k represents each time point in the forecast period, k=0 is the present, and k=N is the end point of the forecast period, which is called the horizon.

number

[0033] As shown in the following equation, the state variable x(k+1) at the next time point is calculated by adding the time differential dx(k) / dt of the state variable at the current time point to the value obtained by multiplying the time interval ΔT between the time points in the prediction period to the state variable at the current time point x(k). Note that various calculation methods such as the Runge-Kutta method may be used instead of the Euler method as in equation (2).

number

[0034] The state variable x(0) for k=0 is set to the detected current state variable. The input variable u(k) for each time point k (k=0, , N) in the prediction period becomes the initial value or the updated value of the previous optimal value candidate calculation. As the time point k is increased by one from 0 to N, the state variable x(k+1) for the next time point k+1 is calculated in sequence using equations (1) and (2) based on the input variable u(k) and state variable x(k) for the current time point k.

[0035] <Optimization problem> Consider the general optimization problem:

number

[0036] Here, J is an evaluation function that evaluates the input variable u(k) and state variable x(k). In this embodiment, the evaluation function J is a quadratic expression. g is a constraint condition that restricts the input variable u(k) and state variable x(k), and there are constraint conditions of a set number Dall. In other words, an input variable u that minimizes the evaluation function J while satisfying the constraint conditions of the set number Dall is calculated. Note that the sign of the evaluation function may be inverted, and the problem may be considered as a maximization problem in which the evaluation function is maximized.

[0037] The general optimization problem of equation (3) may be solved as is, but in this embodiment, as shown in the following equation, the optimization problem has a Karush-Kuhn-Tucker condition (KKT condition), which is an optimization condition that the optimal value must satisfy, and is a linear combination of the gradient ∇J of the evaluation function J and the gradient ∇gact of the active constraint condition gact with a Lagrange multiplier λ.

number

[0038] Here, ∇ is an operator that performs partial differentiation at the operating point and calculates the gradient. x* is the optimal value of the state variable, and u* is the optimal value of the input variable. λi is a Lagrange multiplier that linearly combines the gradient of each active constraint condition gacti with the gradient of the evaluation function J. Dact is the number of active constraint conditions gact. If the state variable x and the input variable u are at their optimal values, there exists a value of each Lagrange multiplier λi that satisfies all of the equations (4) to (7). A known method such as the active constraint method that calculates optimal values ​​that satisfy the KKT condition is used. In the optimal value candidate calculation, the optimal value u* of the input variable and the optimal value x* of the state variable in the equations (4) to (7) are calculated as the optimal value candidate utmp of the input variable and the optimal value candidate xtmp of the state variable.

[0039] The optimal value calculation unit 54 deletes from the effective constraint conditions gact the effective constraint conditions gact that were used in the previous optimal value candidate calculation but do not actually constrain the input variable u or the state variable x, and adds to the effective constraint conditions gact the constraint conditions g that were not used in the previous optimal value candidate calculation but are necessary to constrain the input variable or the state variable. In this way, the optimal value calculation unit 54 adds or deletes the effective constraint conditions gact to be used in the next optimal value candidate calculation. If the effective constraint conditions gact used in the previous optimal value candidate calculation and the effective constraint conditions gact to be used in the next optimal value candidate calculation are the same, the optimal value calculation unit 54 ends the optimal value candidate calculation and sets the optimal value candidates for the input variables and state variables calculated in the previous optimal value candidate calculation as the optimal values ​​of the input variables and state variables.

[0040] <Issues with computational processing load> Since each optimum value candidate calculation is a matrix calculation (Dact × Dact) of an order according to the number of active constraints Dact, the calculation processing load of one optimum value candidate calculation increases quadratically as the number of active constraints Dact increases, as shown in Fig. 4. Furthermore, the cumulative value of the calculation processing load increases as the number of repetitions Nit of the optimum value candidate calculation increases.

[0041] In order to execute the calculation process of the optimum value by the calculation processing device for each calculation cycle, it is necessary to estimate the maximum cumulative value of the calculation processing load. As shown in FIG. 4, the more the number Dact of the effective constraint conditions increases, the more the calculation processing load of one optimum value candidate calculation increases, and the calculation processing load of the optimum value candidate calculation in which the constraint conditions of all the set numbers Dall are set as the effective constraint conditions becomes the highest. Therefore, it was necessary to assume the highest calculation processing load in which the constraint conditions of the set number Dall are used, and to adopt an expensive calculation processing device with high calculation processing capacity. In order to reduce the maximum cumulative value of the calculation processing load, it is possible to reduce the set number Dall of the constraint conditions, but this leads to deterioration of the system performance. Therefore, it is required to provide an optimum calculation device that can reduce the maximum cumulative value of the expected calculation processing load while setting the set number Dall of the constraint conditions to a required number, and can adopt an inexpensive calculation processing device with low calculation processing capacity.

[0042] <Computation interruption section 55> The calculation interruption unit 55 judges whether or not to interrupt the repetition of the optimum value candidate calculation based on the number Dact of active constraint conditions used in each optimum value candidate calculation during the repetition of the optimum value candidate calculation. Then, when it is judged that the repetition of the optimum value candidate calculation is interrupted, the optimum value calculation unit 54 interrupts the repetition of the optimum value candidate calculation and calculates the optimum values ​​of the input variables and state variables based on the candidates of the optimum values ​​of the input variables and state variables calculated before interrupting the repetition of the optimum value candidate calculation.

[0043] According to this configuration, the calculation load of each optimum value candidate calculation is grasped from the number Dact of effective constraint conditions used in each optimum value candidate calculation, and the cumulative value of the calculation load can be prevented from increasing by interrupting the repetition of the optimum value candidate calculation. Therefore, the maximum cumulative value of the expected calculation load is reduced, and an inexpensive calculation processing device with low calculation processing capacity can be adopted.

[0044] In this embodiment, if the number Dact of effective constraint conditions to be used in the next optimum value candidate calculation exceeds the upper constraint number threshold THdact during the repetition of the optimum value candidate calculation, the calculation interruption unit 55 determines to interrupt the repetition of the optimum value candidate calculation, and if the number Dact of effective constraint conditions to be used in the next optimum value candidate calculation does not exceed the upper constraint number threshold THdact, it determines not to interrupt the repetition of the optimum value candidate calculation.

[0045] According to this configuration, the maximum value of the calculation processing load per one optimum value candidate calculation during repetition of the optimum value candidate calculation can be reduced, and an inexpensive calculation processing device with low calculation processing power can be used.

[0046] In addition, during the repetition of the optimum value candidate calculation, if the number of effective constraint conditions Dact to be used in the next optimum value candidate calculation does not exceed the constraint number upper limit threshold THdact, and the number of repetitions Nit of the optimum value candidate calculation exceeds the number of upper limit threshold THnit, the calculation interruption unit 55 determines to interrupt the repetition of the optimum value candidate calculation, and if the number of repetitions Nit does not exceed the number of upper limit threshold THnit, it determines not to interrupt the repetition of the optimum value candidate calculation.

[0047] According to this configuration, the maximum cumulative value of the calculation processing load can be managed by both the constraint number upper limit threshold THdact and the count upper limit threshold THnit. The maximum cumulative value is a value according to THdact x THnit. Therefore, compared to the conventional case where processing is interrupted only by the count upper limit threshold THnit, the management accuracy of the maximum cumulative value of the calculation processing load can be improved, and an inexpensive calculation processing device with low calculation processing power can be used.

[0048] The optimum value calculation unit 54 interrupts the repetition of the optimum value candidate calculation, and if the optimum value candidates for the input variables and state variables calculated in the optimum value candidate calculation before the interruption satisfy a set number of constraint conditions, sets the optimum value candidates for the input variables and state variables calculated in the optimum value candidate calculation before the interruption as the optimum values ​​of the input variables and state variables.

[0049] The optimum value calculation unit 54 interrupts the repetition of the optimum value candidate calculation, and does not calculate the optimum value if the optimum value candidates for the input variables and state variables calculated in the optimum value candidate calculation before the interruption do not satisfy any of a set number of constraint conditions.

[0050] Even if the optimal value candidates of the input variables and state variables calculated in the optimal value candidate calculation immediately before the interruption do not satisfy any of the set number of constraint conditions, if the optimal value candidates of the input variables and state variables calculated in any of the past optimal value candidate calculations satisfy the set number of constraint conditions, the optimal value calculation unit 54 may set the optimal value candidates of the input variables and state variables calculated in the most recent past optimal value candidate calculation that satisfies the set number of constraint conditions as the optimal values ​​of the input variables and state variables. On the other hand, if there is no optimal value candidate of the past optimal value candidate calculation that satisfies the set number of constraint conditions, the optimal value calculation unit 54 does not calculate the optimal value. Even if the repetition of the optimal value candidate calculation is interrupted, the optimal value can be set if there is an optimal value candidate of the optimal value candidate calculation that satisfies the set number of constraint conditions while the optimal value candidate calculation is repeated and effective constraint conditions are added and deleted.

[0051] When the repetition of the calculation of the optimum value candidate is interrupted, the optimum value calculation unit 54 outputs a status signal (hereinafter referred to as the interrupted solution status signal) indicating that the optimum value has been calculated due to the interruption of the calculation of the optimum value candidate. According to this configuration, when the interrupted solution status signal is output in the control using the optimum value, a protective operation such as limiting the output range of the controlled variable can be performed.

[0052] For example, when an interruption solution status signal is output, the vehicle control unit 56 limits the operating range of the command value to the power control device and the operating range of the command value to the brake control device, or limits the operating range of the command value to the automatic steering control device.

[0053] <Processing example of the optimum value calculation unit 54 and the calculation interruption unit 55> The processing of the optimum value calculation unit 54 and the calculation interruption unit 55 described above can be configured as shown in the flowchart of Fig. 5. The processing of the flowchart of Fig. 5 is executed for each calculation cycle. In step S11, the optimum value calculation unit 54 sets the initial value u0(k) of the input variable at each time point k. For example, the optimum value calculation unit 54 sets the initial value u0(k) of the input variable at each time point k of the current calculation cycle based on the optimum value u*(k) of the input variable at each time point k calculated in the previous calculation cycle. Note that the initial value u0 of the input variable may be set by various methods.

[0054] In step S12, the optimum value calculation unit 54 performs initial setting of the effective constraint condition gact. For example, the optimum value calculation unit 54 calculates the initial value x0(k) of the state variable at each time point k based on the initial value u0(k) of the input variable at each time point k, and judges whether or not each of the set number Dall of constraint conditions g is satisfied in the state of the initial value u0(k) of the input variable at each time point k and the initial value x0(k) of the state variable. Then, the optimum value calculation unit 54 sets the unsatisfied constraint condition g to the effective constraint condition gact, and invalidates the satisfied constraint condition g without setting it to the effective constraint condition gact.

[0055] Then, in step S13, the optimum value calculation unit 54 executes one optimum value candidate calculation, updates the input variable u(k) for each time point k so as to minimize the evaluation function J under the constraint of the set active constraint condition gact, and calculates candidates for the optimum values ​​of the input variable and state variable for each time point. The optimum value calculation unit 54 sets the updated input variable u(k) for each time point k as the candidate utmp(k) for the optimum value of the input variable for each time point, and sets the state variable x(k) for each time point k corresponding to the updated input variable u(k) for each time point k as the candidate xtmp(k) for the optimum value of the state variable for each time point k.

[0056] In step S14, the optimum value calculation unit 54 judges whether or not there is an effective constraint condition gact that was used in the previous optimum value candidate calculation but does not actually constrain the optimum value candidate of the input variable or state variable. Specifically, an effective constraint condition gact in which the Lagrange multiplier λ is negative is judged to be an invalid constraint condition that does not constrain the optimum value candidate. If there is an effective constraint condition gact that is not constraining, the optimum value calculation unit 54 proceeds to step S15, where it deletes (invalidates) the effective constraint condition gact that is not constraining from the effective constraint condition gact, and if there is no effective constraint condition gact that is not constraining, it proceeds to step S16.

[0057] In step S16, the optimum value calculation unit 54 judges whether or not there is a constraint condition g that is not used as an effective constraint condition gact in the previous optimum value candidate calculation but needs to constrain the optimum value candidate of the input variable or state variable. Specifically, the optimum value calculation unit 54 judges whether or not the optimum value candidate satisfies the effective constraint condition g for each of the ineffective constraint conditions gact that are not set in the effective constraint condition gact. If there is an ineffective constraint condition g that needs to be constrained, the optimum value calculation unit 54 proceeds to step S17, and adds (activates) the ineffective constraint condition g that needs to be constrained to the effective constraint condition gact. Only one effective constraint condition gact is added or deleted for each repetition of the optimum value candidate calculation. Then, in step S18, the optimum value calculation unit 54 increases the number of repetitions Nit by one (Nit←Nit+1). The initial value of the number of repetitions Nit is set to 1.

[0058] On the other hand, if there is no invalid constraint condition g that needs to be constrained (step S16: No), the optimal value calculation unit 54 ends the repetition of the optimal value candidate calculation, because the effective constraint condition gact used in the previous optimal value candidate calculation and the effective constraint condition gact to be used in the next optimal value candidate calculation are the same, and proceeds to step S22. In step S22, the optimal value calculation unit 54 outputs a status signal (normal solution status signal) indicating that the optimal value has been calculated by normal termination of the optimal value candidate calculation.

[0059] On the other hand, in step S19, the calculation interruption unit 55 judges whether or not to interrupt the repetition of the optimum value candidate calculation based on the number Dact of the effective constraint conditions gact used in the next optimum value candidate calculation after the addition or deletion in step S15 or step S17. In this embodiment, the calculation interruption unit 55 judges whether or not the number Dact of the effective constraint conditions gact used in the next optimum value candidate calculation exceeds the constraint number upper limit threshold THdact during the repetition of the optimum value candidate calculation, and if it exceeds the constraint number upper limit threshold THdact, judges to interrupt the repetition of the optimum value candidate calculation and proceeds to step S21, and if it does not exceed the constraint number upper limit threshold THdact, proceeds to step S20. In step S20, the calculation interruption unit 55 judges whether or not the repetition count Nit exceeds the count upper limit threshold THnit, and if it exceeds the count upper limit threshold THnit, judges to interrupt the repetition of the optimum value candidate calculation and proceeds to step S21, and if it does not exceed the count upper limit threshold THnit, judges not to interrupt the repetition of the optimum value candidate calculation, returns to step S13, and continues the repetition of the optimum value candidate calculation.

[0060] In step S21, the optimum value calculation unit 54 outputs an interrupted solution state signal indicating that the optimum value has been calculated due to the interruption of the optimum value candidate calculation.

[0061] After step S21 or step S22, in step S23, the optimum value calculation unit 54 judges whether the candidate utmp(k) of the optimum value of the input variable at each time point k and the candidate xtmp(k) of the optimum value of the state variable calculated in the optimum value candidate calculation satisfy the set number of constraint conditions. If the set number of constraint conditions are satisfied, the process proceeds to step S24. If the set number of constraint conditions are not satisfied, the process proceeds to step S25. Here, if the repetition of the optimum value candidate calculation is completed without interruption, the optimum value calculation unit 54 judges whether the candidate utmp(k) of the optimum value of the input variable at each time point k and the candidate xtmp(k) of the optimum value of the state variable calculated in the last optimum value candidate calculation satisfy the set number of constraint conditions. If the repetition of the optimum value candidate calculation is interrupted, the optimum value calculation unit 54 judges whether the candidate utmp(k) of the optimum value of the input variable at each time point k and the candidate xtmp(k) of the optimum value of the state variable calculated in the optimum value candidate calculation before the interruption satisfy the set number of constraint conditions, as described above.

[0062] In step S24, the optimum value calculation unit 54 sets the candidate optimum values ​​utmp(k) of the input variables and the candidate optimum values ​​xtmp(k) of the state variables at each time point k, which are determined in step S23 to satisfy the set number of constraint conditions, as the optimum values ​​u*(k) of the input variables and the optimum values ​​x*(k) of the state variables at each time point k.

[0063] On the other hand, in step S25, the optimum value calculation unit 54 outputs a status signal (no solution status signal) indicating that the optimum value has not been calculated.

[0064] <Vehicle Control> In this embodiment, the optimum value calculation unit 54 uses an input variable u related to vehicle control and a state variable x representing the behavior of the vehicle, and sets a target value of the vehicle control amount at each time point k in the prediction period based on the optimum value u*(k) of the input variable and the optimum value x*(k) of the state variable at each time point k in the prediction period. In addition, the optimum value calculation unit 54 sets constraint conditions for the input variable u, the state variable x, the state equation, the target value of the vehicle control amount, and the number of settings based on the control content of the vehicle control. The optimum value calculation unit 54 also sets an output variable y of the state equation and a target value yref of the output variable based on the control content of the vehicle control. A state equation of a vehicle model is used as the state equation.

[0065] In this embodiment, the vehicle control is configured to selectively execute one or both of longitudinal control for controlling the longitudinal behavior of the vehicle and lateral control for controlling the lateral behavior of the vehicle. For example, when longitudinal control and lateral control are performed, the state equation of the vehicle model of equation (8) is used, when lateral control is performed, the state equation of the vehicle model of equation (11) is used, and when longitudinal control is performed, the state equation of the vehicle model of equation (14) is used. In equations (8) and (11), a two-wheel model is used as the vehicle model. The state equation of the vehicle model is expressed by a differential equation of each state variable that represents the behavior of the vehicle. Note that various known state equations may be used as the state equation of the vehicle model.

[0066] Even when the lateral control is executed, the control content of the lateral control may be changed. For example, the control content of the lateral control includes lane keeping control, obstacle avoidance control, lane change control, etc. A set number of constraint conditions are set based on the control content of the lateral control. The input variable u, the state variable x, the state equation, the target value of the vehicle control amount, the output variable y of the state equation, and the target value yref of the output variable may also be set based on the control content of the lateral control.

[0067] Even when the longitudinal control is performed, the control contents of the longitudinal control may be changed. For example, the control contents of the longitudinal control include cruise control, vehicle distance control, leading vehicle following control, etc. A set number of constraint conditions are set based on the control contents of the longitudinal control. The input variable u, the state variable x, the state equation, the target value of the vehicle control amount, the output variable y of the state equation, and the target value yref of the output variable may also be set based on the control contents of the longitudinal control.

[0068] Even when the longitudinal control and the lateral control are performed, the control contents of the longitudinal control and the lateral control may be changed. For example, the control contents of the longitudinal control and the lateral control include control for following a target driving trajectory, obstacle avoidance control, or simultaneous execution of the longitudinal control and the lateral control. A set number of constraint conditions are set based on the control contents of the longitudinal control and the lateral control. The input variable u, the state variable x, the state equation, the target value of the vehicle control amount, the output variable y of the state equation, and the target value yref of the output variable may also be set based on the control contents of the longitudinal control and the lateral control.

[0069] <Setting the constraint count upper threshold THdact and the count upper threshold THnit> As described above, the input variables u, state variables x, target values ​​of vehicle control amounts, and the constraint conditions of the set number change according to the control contents of the vehicle control, so the calculation processing load of each optimal value candidate calculation changes according to the control contents of the vehicle control. As the number of state variables x, the number of input variables u, and the set number Dall of constraint conditions increase, the calculation processing load of each optimal value candidate calculation increases. On the other hand, as the number of state variables x and the number of input variables u increase, the set number Dall of constraint conditions increases, and the number Dact of effective constraint conditions required to calculate the optimal value may increase. Then, when the number Dact of effective constraint conditions increases, the rate of increase of the cumulative value of the calculation processing load increases, and it is necessary to interrupt the repetition of the optimal value candidate calculation at a stage where the number of repetitions Nit is small. Conversely, as the number of state variables x and the number of input variables u decrease, the number of constraint conditions set decreases, and the number Dact of effective constraint conditions required to calculate the optimal value may decrease. Then, when the number Dact of effective constraint conditions decreases, the rate of increase of the cumulative value of the calculation processing load decreases, and it is not necessary to interrupt the repetition of the optimal value candidate calculation until the number of repetitions Nit increases.

[0070] Therefore, in this embodiment, the calculation interruption unit 55 sets the constraint number upper limit threshold THdact and the number of times upper limit threshold THnit based on the control content of the vehicle control.

[0071] According to this configuration, even if the control content of the vehicle control requires a large number Dact of effective constraint conditions to obtain an optimal value, or the control content of the vehicle control requires a small number Dact of effective constraint conditions to obtain an optimal value, by appropriately setting the constraint number upper threshold THdact and the number of times upper threshold THnit, it is possible to calculate the optimal value and prevent the cumulative value of the calculation processing load from becoming too large.

[0072] For example, as shown in FIG. 6, the calculation interruption unit 55 increases the constraint count upper limit threshold THdact and decreases the count upper limit threshold THnit as the number of state variables x and the number of input variables u increase.

[0073] According to this configuration, when the number of state variables x and the number of input variables u are large and the number of effective constraint conditions Dact required to obtain the optimal value is likely to be large, the constraint number upper limit threshold THdact can be increased to calculate the optimal value, and the number of times upper limit threshold THnit can be decreased to prevent the cumulative value of the calculation processing load from becoming too large. On the other hand, when the number of state variables x and the number of input variables u are small and the number of effective constraint conditions Dact required to obtain the optimal value is unlikely to be large, the constraint number upper limit threshold THdact can be decreased and the number of times upper limit threshold THnit can be increased to prevent the repetition of the optimal value candidate calculation from being interrupted at a stage where the cumulative value of the calculation processing load is small, while making it possible to calculate the optimal value regardless of the control content of the vehicle control. Therefore, it is possible to adopt an inexpensive calculation processing device with low calculation processing capacity, by reducing the maximum cumulative value of the calculation processing load while making it possible to calculate the optimal value.

[0074] In this embodiment, the calculation interruption unit 55 sets the constraint number upper limit threshold THdact when both forward / backward control and lateral control are executed larger than the constraint number upper limit threshold THdact when one of forward / backward control and lateral control is executed, and sets the number of times upper limit threshold THnit when both forward / backward control and lateral control are executed smaller than the number of times upper limit threshold THnit when one of forward / backward control and lateral control is executed.

[0075] According to this configuration, the number of state variables x and the number of input variables u when both longitudinal control and lateral control are executed are larger than the number of state variables x and the number of input variables u when either longitudinal control or lateral control is executed, and the number of effective constraint conditions Dact required to obtain an optimal value is likely to be large. According to the above configuration, regardless of whether either or both of longitudinal control and lateral control are executed, it is possible to calculate the optimal value while reducing the maximum cumulative value of the calculation processing load and employing an inexpensive calculation processing device with low calculation processing capacity.

[0076] The setting process of this upper limit threshold THdact of the constraint number is configured as shown in the flowchart of FIG. 7, for example. In step S51, the operation interruption unit 55 acquires the control content of the vehicle control currently being executed. In step S52, the operation interruption unit 55 determines whether the current control content is both longitudinal control and lateral control. If it is both, it proceeds to step S53; if it is only one of them, it proceeds to step S54. In step S54, the operation interruption unit 55 determines whether the current control content is only lateral control. If it is only lateral control, it proceeds to step S55; if it is not only lateral control but only longitudinal control, it proceeds to step S56.

[0077] In step S53, the operation interruption unit 55 sets the upper limit threshold THdact of the constraint number and the upper limit threshold THnit of the number of times to the set values THdact1 and THnit1 for longitudinal control and lateral control. In step S55, the operation interruption unit 55 sets the upper limit threshold THdact of the constraint number and the upper limit threshold THnit of the number of times to the set values THdact2 and THnit2 for lateral control. In step S56, the operation interruption unit 55 sets the upper limit threshold THdact of the constraint number and the upper limit threshold THnit of the number of times to the set values THdact3 and THnit3 for longitudinal control. The set value THdact1 of the upper limit threshold of the constraint number for longitudinal control and lateral control is larger than the set value THdact2 for lateral control and the set value THdact3 for longitudinal control (THdact1>THdact2, THdact3). The set value THnit1 of the upper limit threshold of the number of times for longitudinal control and lateral control is smaller than the set value THnit2 for lateral control and the set value THnit3 for longitudinal control (THnit1<THnit2, THnit3). Note that the set value THdact2 of the upper limit threshold of the constraint number for lateral control may be larger than the set value THdact3 for longitudinal control (THdact2>THdact3), and the set value THnit2 of the upper limit threshold of the number of times for lateral control may be smaller than the set value THnit3 for longitudinal control (THnit2<THnit3).

[0078] As described above, the constraint number upper limit threshold THdact and the number upper limit threshold THnit may be set more finely based on the control contents of the forward / backward direction control and the lateral direction control, the control contents of the forward / backward direction control, and the control contents of the lateral direction control.

[0079] <Vehicle model for longitudinal and lateral control> The state equation of the vehicle model when longitudinal control and lateral control are performed is shown below. The state equation etc. may be changed depending on the control contents of the longitudinal control and lateral control.

number

[0080] Here, the dot symbol above each variable on the left side indicates the time differential value of each state variable. As for the state variable x, Y indicates the longitudinal position of the host vehicle, X indicates the lateral position of the host vehicle, θ is the longitudinal inclination of the host vehicle, β is the side slip angle of the host vehicle's center of gravity, γ is the yaw angular velocity of the host vehicle, δ is the steering angle of the wheels of the host vehicle, V is the speed of the host vehicle, and α is the acceleration of the host vehicle.

[0081] As the input variable u, j is the jerk of the host vehicle, and ω is the steering angular velocity of the host vehicle.

[0082] where I is the yaw moment of inertia of the vehicle, M is the mass of the vehicle, Lf is the distance between the center of gravity of the vehicle and the front axle, Lr is the distance between the center of gravity of the vehicle and the rear axle, Yf is the cornering force of the front wheels, Yr is the cornering force of the rear wheels, Cf is the cornering stiffness of the front tires, and Cr is the cornering stiffness of the rear tires.

[0083] The state equation is expressed in a coordinate system X, Y of the host vehicle based on the current position of the host vehicle. As shown in Fig. 8, X is the lateral direction of the host vehicle, and Y is the front-rear direction of the host vehicle. Note that a coordinate system based on a target driving trajectory or a lane may be used instead of the host vehicle coordinate system.

[0084] <Evaluation functions for longitudinal and lateral control> When longitudinal control and lateral control are performed, the following quadratic expression is used as an evaluation function J for evaluating the desirability of vehicle behavior. The evaluation function J has a higher evaluation (in this example, the value is smaller) as the difference between the target driving state (target driving trajectory) and the predicted driving state becomes smaller. Note that the evaluation function J may be changed depending on the control contents of the longitudinal control and lateral control.

number

[0085] Here, k (k=0, 1, . . . , N-1, N) is a time number representing each time point in the prediction period, k=0 is the present, and k=N is the final prediction time point. The time point number k is incremented by one from 0 to N at each time interval ΔT. Therefore, k × ΔT is the elapsed time from the present to each time point k. y(k) is a vector of output variables of the state equation at each time point k. yref(k) is a vector of target values ​​of the output variables at each time point k, and the value of the target driving trajectory at each time point k is set. P is a weight for the deviation of the output variable from the target value at the final prediction time point (k=N), and Q is a weight for the deviation of the output variable from the target value at each future time point (k=1, . . . , N-1) except for the final prediction time point. The deviation of the vehicle's driving state from the target driving trajectory at each time point is evaluated by the weights P and Q. R is a weight for the deviation of the input variables from the target values ​​at each future time point (k=1, . . . , N-1) excluding the final prediction time point. This weight R term is used to evaluate the vehicle's jerk j and steering angular velocity ω so that they do not become too large. Thus, by setting the weights P, Q, and R, the fluctuations in the steering angle and vehicle acceleration are balanced with the ability to follow the target driving trajectory, and vehicle control is performed that is less uncomfortable for the driver.

[0086] The target values ​​of the vehicle control amounts at each time point k are set to the steering angle δ*(k) and acceleration α*(k) included in the optimal value x*(k) of the state variable at each time point k after the optimization problem is solved.

[0087] <Constraints on the number of settings for longitudinal and lateral control> The following equation shows the constraint conditions of the set number when performing the longitudinal control and the lateral control. In this example, the set number Dall is set to 6. The first constraint condition g1 limits the upper limit of the acceleration α by a positive upper limit value αH, and the second constraint condition g2 limits the lower limit of the acceleration α by a negative lower limit value αL. This is to improve the ride comfort. The third constraint condition g3 limits the upper limit of the steering angular velocity ω by a positive upper limit value ωH, and the fourth constraint condition g4 limits the lower limit of the steering angular velocity ω by a negative lower limit value ωL. This is to improve the ride comfort. The fifth constraint condition g5 limits the upper limit of the lateral position X by a positive upper limit value XH, and the sixth constraint condition g6 limits the lower limit of the lateral position X by a negative lower limit value XL. This is to prevent deviation from the planned driving range. When the target travel trajectory is curved, the upper limit value XH and the lower limit value XL at each time point may be changed according to the target travel trajectory at each time point. The constraint conditions may be changed according to the control contents of the longitudinal control and the lateral control. For example, any number of constraint conditions of the lateral position X and the longitudinal position Y may be set in order to avoid intrusion into an intrusion-prohibited area or contact with an obstacle. The constraint condition of the acceleration α may be deleted, and the constraint condition of the steering angular velocity ω may be deleted. A constraint condition of the speed V may be added, a constraint condition of the jerk j may be added, and a constraint condition of the steering angle δ may be added.

number

[0088] <Vehicle model for lateral control> The state equation of the vehicle model when lateral control is performed is shown in the following equation. In equation (11), the seventh and eighth lines of the state equation of equation (8) for the time differential value of the host vehicle's speed V and its acceleration α are deleted. The host vehicle's speed V(k) at each time point k may be set to the host vehicle's speed V(0) at the current time point k=0. The steering angular velocity ω(k) of the host vehicle at each time point k is set as the input variable u(k) at each time point k. The state equation, etc. may be changed depending on the control content of the lateral control.

number

[0089] <Evaluation function for lateral control> When performing lateral control, the following quadratic expression is used as an evaluation function J for evaluating the desirability of vehicle behavior. The evaluation function J has a higher evaluation (in this example, the value is smaller) as the difference between the target running state (lateral target position) and the predicted running state becomes smaller. Note that the evaluation function J may be changed depending on the control content of the lateral control.

number

[0090] The target value of the vehicle control amount at each time point k is set to the steering angle δ*(k) included in the optimal value x*(k) of the state variable at each time point k after the optimization problem is solved.

[0091] <Constraints on the number of settings for lateral control> The following equation shows the set number of constraint conditions when performing longitudinal control and lateral control. In this example, the set number Dall is set to 4. The first constraint condition g1 limits the upper limit of the steering angular velocity ω by a positive upper limit value ωH, and the second constraint condition g2 limits the lower limit of the steering angular velocity ω by a negative lower limit value ωL. This is to improve the ride comfort. The third constraint condition g3 limits the upper limit of the lateral position X by a positive upper limit value XH, and the fourth constraint condition g4 limits the lower limit of the lateral position X by a negative lower limit value XL. The constraint conditions may be changed according to the control content of the lateral control. For example, when performing lane keeping control, the upper limit value XH and the lower limit value XL of the lateral direction at each time point may be set according to the shape of the lane. Alternatively, any number of constraint conditions of the lateral position X and the longitudinal position Y may be set in order to avoid intrusion into an intrusion-prohibited area or contact with an obstacle. The constraint condition of the steering angular velocity ω may be deleted. In addition, a constraint on the steering angle δ may be added.

number

[0092] <Vehicle model for longitudinal control> The state equation of the vehicle model when longitudinal control is performed is shown in the following formula. In formula (14), all lines other than those related to longitudinal behavior are deleted from formula (8). The host vehicle's speed V(k) at each time point k may be set to the host vehicle's speed V(0) at the current time point k=0. The host vehicle's jerk j(k) at each time point k is set as the input variable u(k) at each time point k. The state equation, etc. may be changed depending on the control content of the longitudinal control.

number

[0093] <Evaluation function for longitudinal control> When performing longitudinal control, the following quadratic expression is used as an evaluation function J for evaluating the desirability of vehicle behavior. The evaluation function J has a higher evaluation (in this example, the value is smaller) as the difference between the target driving state (target position in the longitudinal direction) and the predicted driving state becomes smaller. Note that the evaluation function J may be changed depending on the control content of the longitudinal control.

number

[0094] The target value of the vehicle control amount at each time point k is set to the acceleration α*(k) included in the optimal value x*(k) of the state variable at each time point k after the optimization problem is solved.

[0095] <Constraints on the number of settings for forward / rearward control> The following equation shows the set number of constraint conditions when performing longitudinal control. In this example, the set number Dall is set to 4. The first constraint condition g1 limits the upper limit of the acceleration α by a positive upper limit value αH, and the second constraint condition g2 limits the lower limit of the acceleration α by a negative lower limit value αL. This is to improve the ride comfort. The third constraint condition g3 limits the upper limit of the longitudinal position Y by a positive upper limit value YH, and the fourth constraint condition g4 limits the lower limit of the longitudinal position Y by a negative lower limit value YL. For example, it is used to maintain a distance between the vehicle and other vehicles in front and behind. The upper limit value YH and the lower limit value YL in the longitudinal direction at each time point may be changed at each time point. The constraint conditions may be changed according to the control contents of the longitudinal control. For example, one or both of the constraint condition limiting the upper limit value YH in the longitudinal direction and the constraint condition limiting the lower limit value YL in the longitudinal direction may be deleted. The constraint condition of the acceleration α may also be deleted. Also, a constraint on the velocity V may be added, and a constraint on the jerk j may be added.

number

[0096] 2. Second embodiment An optimization calculation device and a vehicle control device 50 according to the second embodiment will be described with reference to the drawings. Descriptions of components similar to those of the first embodiment will be omitted. The basic configurations of the optimization calculation device and the vehicle control device 50 according to this embodiment are similar to those of the first embodiment, but a part of the processing of the calculation interruption unit 55 differs from that of the first embodiment.

[0097] The calculation interruption unit 55 judges whether or not to interrupt the repetition of the optimum value candidate calculation based on the number Dact of active constraint conditions used in each optimum value candidate calculation during the repetition of the optimum value candidate calculation. Then, when it is judged that the repetition of the optimum value candidate calculation is to be interrupted, the optimum value calculation unit 54 interrupts the repetition of the optimum value candidate calculation and calculates the optimum values ​​of the input variables and state variables based on the input variables and state variables calculated before the repetition of the optimum value candidate calculation is interrupted.

[0098] Unlike the first embodiment, during the repetition of the optimum value candidate calculation, the calculation interruption unit 55 calculates the cost Cst of the calculation processing load based on the number Dact of effective constraint conditions to be used in the next optimum value candidate calculation, and if the accumulated value Intc of the cost Cst of the calculation processing load exceeds the accumulated upper limit value THint, it determines to interrupt the repetition of the optimum value candidate calculation, and otherwise determines not to interrupt the repetition of the optimum value candidate calculation.

[0099] As explained with reference to Fig. 4, as the number Dact of effective constraint conditions used in each optimum value candidate calculation increases, the calculation processing load of one optimum value candidate calculation increases. According to the above configuration, regardless of the size of the number Dact of effective constraint conditions in each optimum value candidate calculation, the accumulated value of the calculation processing load due to the repetition of the optimum value candidate calculation can be evaluated, and the accumulated value of the calculation processing load can be prevented from increasing. Therefore, the maximum accumulated value of the calculation processing load can be reduced, and an inexpensive calculation processing device with low calculation processing capacity can be adopted.

[0100] For example, as shown in FIG. 9, even if the number Dact of the effective constraint conditions of the first optimum value candidate calculation is the same, if the number Dact of the effective constraint conditions gradually increases during the repetition of the optimum value candidate calculation, the increase speed of the accumulated value Intc of the cost of the calculation processing load increases, and the accumulated value Intc reaches the accumulated upper limit value THint when the number of repetitions Nit is small, and the repetition of the optimum value candidate calculation is interrupted. On the other hand, if the number Dact of the effective constraint conditions repeats increases and decreases during the repetition of the optimum value candidate calculation and does not gradually increase, the increase speed of the accumulated value Intc of the cost of the calculation processing load does not increase, and even if the number of repetitions Nit increases, the accumulated value Intc does not reach the accumulated upper limit value THint, and the repetition of the optimum value candidate calculation is continued. Note that the repetition of the optimum value candidate calculation may be terminated when the number of repetitions Nit exceeds the upper limit value.

[0101] 10, before starting the next optimum value candidate calculation, the calculation interruption unit 55 refers to table data in which the relationship between the number Dact of active constraint conditions and the cost Cst of the calculation load is preset, and calculates the cost Cst of the calculation load corresponding to the number Dact of active constraint conditions used in the next optimum value candidate calculation. Then, as shown in the following formula, the calculation interruption unit 55 adds the cost Cst of the calculation load of the next optimum value candidate calculation to the previously calculated cumulative value Intc to update the cumulative value Intc. Intc ← Intc + Cst (17)

[0102] <Processing example> The process of the calculation interruption unit 55 according to this embodiment can be configured as shown in the flowchart of Fig. 11. The process of the flowchart of Fig. 11 is executed for each calculation cycle. The processes of steps S31 to S37 and steps S40 to S44 are similar to the processes of steps S11 to S17 and steps S21 to S25 in Fig. 5 of the first embodiment, respectively, and therefore will not be described.

[0103] In step S38, the calculation interruption unit 55 calculates the cost Cst of the calculation processing load of the next optimum value candidate calculation based on the number Dact of valid constraint conditions used in the next optimum value candidate calculation after the addition or deletion in step S35 or step S37, and adds the cost Cst of the calculation processing load of the next optimum value candidate calculation to the previously calculated cumulative value Intc to update the cumulative value Intc. The initial value of the cumulative value Int is set to 0.

[0104] In step S39, the calculation interruption unit 55 determines whether the cumulative value Intc of the cost of the calculation processing load exceeds the cumulative upper limit value THint. If the cumulative upper limit value THint is exceeded, it determines that the repetition of the optimum value candidate calculation is to be interrupted and proceeds to step S40. If the cumulative upper limit value THint is not exceeded, it determines that the repetition of the optimum value candidate calculation is not to be interrupted, returns to step S33, and continues the repetition of the optimum value candidate calculation.

[0105] <Setting the cumulative upper limit THint> Since the number of input variables u and the number of state variables x change depending on the control content of the vehicle control, even if the number of active constraint conditions Dact is the same, the calculation processing load of each optimal value candidate calculation changes depending on the control content of the vehicle control, and the rate of increase in the cumulative value of the calculation processing load changes.

[0106] Therefore, in this embodiment, the calculation interruption unit 55 changes the setting of the cost Cst of the calculation processing load with respect to the number Dact of active constraint conditions based on the control content of the vehicle control.

[0107] According to this configuration, the calculation processing load for the number Dact of active constraint conditions, which changes depending on the control content of vehicle control, can be accurately evaluated, and the accumulated value of the calculation processing load can be prevented from becoming too large.

[0108] For example, as shown in FIG. 12, the calculation interruption unit 55 increases the cost Cst of the calculation processing load for the number Dact of active constraint conditions as the number of state variables x and the number of input variables u increase.

[0109] According to this configuration, when the number of state variables x and the number of input variables u are large and the calculation load of each optimum value candidate calculation is large even with the same number of effective constraint conditions Dact, the cost Cst of the calculation load for the number of effective constraint conditions Dact is increased to increase the rate of increase of the cumulative cost value Intc, and the cumulative value of the calculation load can be evaluated accurately. On the other hand, when the number of state variables x and the number of input variables u are small and the calculation load of each optimum value candidate calculation is small even with the same number of effective constraint conditions Dact, the cost Cst of the calculation load for the number of effective constraint conditions Dact is decreased to decrease the rate of increase of the cumulative cost value Intc, and the cumulative value of the calculation load can be evaluated accurately. Therefore, regardless of the size of the number of state variables x and the number of input variables u, the cumulative value of the calculation load can be appropriately limited by the upper limit.

[0110] In this embodiment, the calculation interruption unit 55 makes the cost Cst of the calculation processing load for the number Dact of valid constraint conditions when performing both longitudinal control and lateral control larger than the cost Cst of the calculation processing load for the number Dact of valid constraint conditions when performing either longitudinal control or lateral control.

[0111] According to this configuration, the number of state variables x and the number of input variables u when both longitudinal control and lateral control are executed are larger than the number of state variables x and the number of input variables u when either longitudinal control or lateral control is executed, and the calculation processing load of each optimum value candidate calculation is large even for the same number of active constraint conditions Dact. According to the above configuration, the accumulated value of the calculation processing load can be accurately evaluated regardless of whether either or both of longitudinal control and lateral control are executed. Therefore, the maximum accumulated value of the calculation processing load is reduced, and an inexpensive calculation processing device with low calculation processing capacity can be adopted.

[0112] The process of setting the cost Cst of the calculation processing load for the number Dact of effective constraint conditions is configured, for example, as shown in the flowchart of Fig. 13. In step S61, the calculation interruption unit 55 acquires the control content of the currently executed vehicle control. In step S62, the calculation interruption unit 55 determines whether the current control content is both longitudinal control and lateral control, and if it is both, proceeds to step S63, and if it is only one, proceeds to step S64. In step S64, the calculation interruption unit 55 determines whether the current control content is only lateral control, and if it is only lateral control, proceeds to step S65, and if it is not only lateral control but also longitudinal control, proceeds to step S66.

[0113] As shown in FIG. 14, in step S63, the calculation interruption unit 55 sets the setting of the cost Cst of the calculation load for the number Dact of effective constraint conditions to the setting value Cst1 of the cost for the longitudinal control and the lateral control. In step S65, the calculation interruption unit 55 sets the setting of the cost Cst of the calculation load for the number Dact of effective constraint conditions to the setting value Cst2 of the cost for the lateral control. In step S66, the calculation interruption unit 55 sets the setting of the cost Cst of the calculation load for the number Dact of effective constraint conditions to the setting value Cst3 of the cost for the longitudinal control. In each number Dact of effective constraint conditions, the setting value Cst1 of the cost for the longitudinal control and the lateral control is larger than the setting value Cst2 of the cost for the lateral control and the setting value Cst3 of the cost for the longitudinal control (Cst1>Cst2, Cst3). Note that, in each number Dact of effective constraint conditions, the setting value Cst2 of the cost for the lateral control may be larger than the setting value Cst3 of the cost for the longitudinal control (Cst2>Cst3).

[0114] In addition, the cost Cst of the calculation processing load for the number Dact of effective constraint conditions may be set more finely based on the control contents of the longitudinal control and the lateral control, the control contents of the longitudinal control, and the control contents of the lateral control.

[0115] <Other embodiments> In the above embodiments, a vehicle model is used for the state equations to solve an optimization problem for vehicle control. However, equations for various controlled objects may be used for the state equations, and the optimization calculation device may be applied to optimization problems for various controlled objects.

[0116] Even in this case, the optimum value calculation unit 54 may set the constraint conditions of the input variable u, the state variable x, and the set number based on the control content in which the optimum value is used. In the configuration corresponding to the first embodiment, the calculation interruption unit 55 may set the constraint number upper limit threshold THdact and the count upper limit threshold THnit based on the control content. In this case, the calculation interruption unit 55 may increase the constraint number upper limit threshold THdact and decrease the count upper limit threshold THnit as the number of state variables x and the number of input variables u increase. Alternatively, in the configuration corresponding to the second embodiment, the calculation interruption unit 55 may change the setting of the cost Cst of the calculation processing load for the number Dact of valid constraint conditions based on the control content. In this case, the calculation interruption unit 55 may increase the cost Cst of the calculation processing load for the number Dact of valid constraint conditions as the number of state variables x and the number of input variables u increase.

[0117] In the above embodiments, the Karush-Kuhn-Tucker condition (KTK condition) is used for the optimization problem. However, various solving methods may be used to solve the optimization problem.

[0118] Summary of the various aspects of the present application Various aspects of the present application are summarized below as appendices.

[0119] (Appendix 1) an optimal value calculation unit that uses a state equation that calculates a state variable at each time point of a prediction period using an input of an input variable at each time point of the prediction period, and repeatedly calculates optimal value candidates for the input variables and the state variables while adding or deleting effective constraint conditions, which are the constraint conditions used in the optimal value candidate calculation, from among the set number of constraint conditions, for each repetition of the optimal value candidate calculation so as to solve an optimization problem having an evaluation function that evaluates the input variables and the state variables, and one or more set number of constraint conditions that constrain the input variables or the state variables, and calculates optimal values ​​of the input variables and the state variables at each time point of the prediction period based on the optimal value candidates; a calculation interruption unit that determines whether or not to interrupt the repetition of the optimum value candidate calculation based on the number of the effective constraint conditions used in each of the optimum value candidate calculations during the repetition of the optimum value candidate calculations, When it is determined that the repetition of the optimum value candidate calculation should be interrupted, the optimum value calculation unit interrupts the repetition of the optimum value candidate calculation, and calculates the optimum values ​​of the input variables and the state variables based on the optimum value candidates of the input variables and the state variables calculated before the repetition of the optimum value candidate calculation is interrupted.

[0120] (Appendix 2) The optimization device according to claim 1, wherein the calculation interruption unit determines to interrupt the repetition of the optimization value candidate calculation if the number of effective constraint conditions to be used in the next optimization value candidate calculation exceeds an upper limit threshold for the number of constraints during the repetition of the optimization value candidate calculation, and determines not to interrupt the repetition of the optimization value candidate calculation if the number of effective constraint conditions to be used in the next optimization value candidate calculation exceeds an upper limit threshold for the number of constraints.

[0121] (Appendix 3) The optimization device according to claim 1, wherein the calculation interruption unit calculates a cost of calculation processing load based on the number of the effective constraint conditions to be used in the next optimization value candidate calculation during the repetition of the optimization value candidate calculation, and determines to interrupt the repetition of the optimization value candidate calculation if the accumulated value of the cost of the calculation processing load exceeds an accumulated upper limit value, and determines not to interrupt the repetition of the optimization value candidate calculation if the accumulated upper limit value is not exceeded.

[0122] (Appendix 4) 4. The optimum calculation device according to claim 1, wherein, when the repetition of the optimum value candidate calculation is interrupted, the optimum value calculation unit outputs a status signal indicating that the optimum value has been calculated due to the interruption of the optimum value candidate calculation.

[0123] (Appendix 5) The optimum value calculation unit interrupts the repetition of the optimum value candidate calculation, and if the optimum value candidates for the input variables and the state variables calculated in the optimum value candidate calculation before the interruption satisfy the constraint condition of the set number, sets the optimum value candidates for the input variables and the state variables calculated in the optimum value candidate calculation before the interruption as the optimum values ​​of the input variables and the state variables.

[0124] (Appendix 6) the optimal value calculation unit deletes from the effective constraint conditions the effective constraint conditions that were used in the previous optimal value candidate calculation but do not actually constrain the optimal value candidates of the input variables or the state variables, and adds to the effective constraint conditions the constraint conditions that were not used in the previous optimal value candidate calculation but are necessary to constrain the optimal value candidates of the input variables or the state variables, thereby adding or deleting the effective constraint conditions to be used in the next optimal value candidate calculation; 6. The optimization calculation device according to claim 1, wherein, when the effective constraint condition used in the previous optimal value candidate calculation is the same as the effective constraint condition to be used in the next optimal value candidate calculation, the repetition of the optimal value candidate calculation is terminated, and the optimal value candidates of the input variables and the state variables calculated in the previous optimal value candidate calculation are set as the optimal values ​​of the input variables and the state variables.

[0125] (Appendix 7) 7. The optimization calculation device according to any one of claims 1 to 6, wherein the optimization problem has a Karush-Kuhn-Tucker condition, which is an optimization condition that the optimal value must satisfy, and is a linear combination of a gradient of the evaluation function and a gradient of the active constraint condition using a Lagrange multiplier.

[0126] (Appendix 8) the optimum value calculation unit sets constraint conditions for the input variables, the state variables, and the set number based on a control content using the optimum value; the calculation interruption unit, during the repetition of the optimum value candidate calculation, determines to interrupt the repetition of the optimum value candidate calculation if the number of repetitions exceeds a count upper threshold while the number of effective constraint conditions to be used in the next optimum value candidate calculation does not exceed the constraint count upper threshold, and determines not to interrupt the repetition of the optimum value candidate calculation if the number of repetitions does not exceed the count upper threshold; The optimization calculation device according to claim 2, wherein the calculation interruption unit sets the constraint number upper limit threshold and the number of times upper limit threshold based on the control content.

[0127] (Appendix 9) the optimal value calculation unit uses the input variables related to vehicle control and the state variables representing vehicle behavior, and sets target values ​​of vehicle control amounts at each time point in the prediction period based on the optimal values ​​of the input variables and the state variables at each time point in the prediction period, and sets constraint conditions for the input variables, the state variables, the state equations, the target values ​​of the vehicle control amounts, and the setting numbers based on control content of the vehicle control; the calculation interruption unit, during the repetition of the optimum value candidate calculation, determines to interrupt the repetition of the optimum value candidate calculation if the number of repetitions exceeds a count upper threshold in a case where the number of effective constraint conditions used in the next optimum value candidate calculation does not exceed the constraint count upper threshold, and determines not to interrupt the repetition of the optimum value candidate calculation if the number of repetitions does not exceed the count upper threshold; 3. The optimization calculation device according to claim 2, wherein the constraint number upper limit threshold and the number of times upper limit threshold are set based on the control content of the vehicle control.

[0128] (Appendix 10) the optimum value calculation unit selectively executes, as a control content of the vehicle control, one or both of a longitudinal control for controlling a behavior of the vehicle in a longitudinal direction and a lateral control for controlling a behavior of the vehicle in a lateral direction, The optimization calculation device according to claim 9, wherein the calculation interruption unit sets the constraint number upper limit threshold when executing both the longitudinal direction control and the lateral direction control larger than the constraint number upper limit threshold when executing one of the longitudinal direction control and the lateral direction control, and sets the number of times upper limit threshold when executing both the longitudinal direction control and the lateral direction control smaller than the number of times upper limit threshold when executing one of the longitudinal direction control and the lateral direction control.

[0129] (Appendix 11) 11. The optimization calculation device according to claim 8, wherein the optimization value calculation unit increases the constraint count upper limit threshold and decreases the number of times upper limit threshold as the number of the state variables and the number of the input variables increase.

[0130] (Appendix 12) the optimum value calculation unit sets constraint conditions for the input variables, the state variables, and the set number based on a control content using the optimum value; 4. The optimization device according to claim 3, wherein the calculation interruption unit changes a setting of the cost of the calculation processing load relative to the number of effective constraint conditions based on the control content.

[0131] (Appendix 13) the optimal value calculation unit uses the input variables related to vehicle control and the state variables representing vehicle behavior, and sets target values ​​of vehicle control amounts at each time point in the prediction period based on the optimal values ​​of the input variables and the state variables at each time point in the prediction period, and sets constraint conditions for the input variables, the state variables, the state equations, the target values ​​of the vehicle control amounts, and the setting numbers based on control content of the vehicle control; 4. The optimization device according to claim 3, wherein the calculation interruption unit changes a setting of a cost of the calculation processing load relative to the number of effective constraint conditions based on a control content of the vehicle control.

[0132] (Appendix 14) the optimum value calculation unit selectively executes, as a control content of the vehicle control, one or both of a longitudinal control for controlling a behavior of the vehicle in a longitudinal direction and a lateral control for controlling a behavior of the vehicle in a lateral direction, The optimization calculation device according to claim 13, wherein the calculation interruption unit makes the cost of the calculation processing load for the number of effective constraint conditions when executing both the longitudinal direction control and the lateral direction control larger than the cost of the calculation processing load for the number of effective constraint conditions when executing one of the longitudinal direction control and the lateral direction control.

[0133] (Appendix 15) 15. The optimization device according to claim 12, wherein the optimal value calculation unit increases a cost of the calculation processing load with respect to the number of effective constraint conditions as the number of the state variables and the number of the input variables increase.

[0134] Although various exemplary embodiments and examples are described in this application, various features, aspects, and functions described in one or more embodiments are not limited to the application of a specific embodiment, but can be applied to the embodiments alone or in various combinations. Therefore, countless modifications not illustrated are expected within the scope of the technology disclosed in this specification. For example, the modification, addition, or omission of at least one component, and the extraction and combination of at least one component with components of other embodiments are included. [Explanation of symbols]

[0135] 54: Optimal value calculation unit, 55: Calculation interruption unit, Cst: Cost of calculation processing load, Dall: Number of constraint conditions set, Dact: Number of valid constraint conditions, Intc: Accumulated cost value, Nit: Number of iterations, THdact: Upper limit threshold for number of constraints, THint: Accumulated upper limit value, THnit: Upper limit threshold for number of times, g: Constraint condition, gact: Effective constraint condition, k: Each time point, u: Input variable, utmp: Candidate for input variable, u*: Optimal value of input variable, x: State variable, xtmp: Candidate for state variable, x*: Optimal value of state variable

Claims

1. an optimal value calculation unit that uses a state equation that calculates a state variable at each time point of a prediction period using an input of an input variable at each time point of the prediction period, and repeatedly calculates optimal value candidates for the input variables and the state variables while adding or deleting effective constraint conditions, which are the constraint conditions used in the optimal value candidate calculation, from among the set number of constraint conditions, for each repetition of the optimal value candidate calculation so as to solve an optimization problem having an evaluation function that evaluates the input variables and the state variables, and one or more set number of constraint conditions that constrain the input variables or the state variables, and calculates optimal values ​​of the input variables and the state variables at each time point of the prediction period based on the optimal value candidates; a calculation interruption unit that determines whether or not to interrupt the repetition of the optimum value candidate calculation based on the number of the effective constraint conditions used in each of the optimum value candidate calculations during the repetition of the optimum value candidate calculations, When it is determined that the repetition of the optimum value candidate calculation should be interrupted, the optimum value calculation unit interrupts the repetition of the optimum value candidate calculation, and calculates the optimum values ​​of the input variables and the state variables based on the optimum value candidates of the input variables and the state variables calculated before the repetition of the optimum value candidate calculation is interrupted.

2. 2. The optimization device according to claim 1, wherein the calculation interruption unit determines to interrupt the repetition of the optimal value candidate calculation if the number of effective constraint conditions to be used in the next optimal value candidate calculation exceeds an upper limit threshold for the number of constraints during the repetition of the optimal value candidate calculation, and determines not to interrupt the repetition of the optimal value candidate calculation if the number of effective constraint conditions to be used in the next optimal value candidate calculation does not exceed the upper limit threshold for the number of constraints.

3. 2. The optimization device according to claim 1, wherein the calculation interruption unit, during the repetition of the optimal value candidate calculation, calculates a cost of the calculation processing load based on the number of the effective constraint conditions to be used in the next optimal value candidate calculation, and determines to interrupt the repetition of the optimal value candidate calculation if the accumulated value of the cost of the calculation processing load exceeds an accumulated upper limit value, and determines not to interrupt the repetition of the optimal value candidate calculation if the accumulated upper limit value is not exceeded.

4. 4. The optimum calculation device according to claim 1, wherein, when the repetition of the optimum value candidate calculation is interrupted, the optimum value calculation unit outputs a status signal indicating that the optimum value has been calculated due to the interruption of the optimum value candidate calculation.

5. 4. The optimum calculation device according to claim 1, wherein the optimum value calculation unit interrupts the repetition of the optimum value candidate calculation, and if the optimum value candidates for the input variables and the state variables calculated in the optimum value candidate calculation before the interruption satisfy the constraint condition of the set number, sets the optimum value candidates for the input variables and the state variables calculated in the optimum value candidate calculation before the interruption as the optimum values ​​of the input variables and the state variables.

6. the optimal value calculation unit deletes from the effective constraint conditions the effective constraint conditions that were used in the previous optimal value candidate calculation but do not actually constrain the optimal value candidates of the input variables or the state variables, and adds to the effective constraint conditions the constraint conditions that were not used in the previous optimal value candidate calculation but are necessary to constrain the optimal value candidates of the input variables or the state variables, thereby adding or deleting the effective constraint conditions to be used in the next optimal value candidate calculation; 4. The optimization calculation device according to claim 1, wherein, when the effective constraint condition used in the previous optimal value candidate calculation is the same as the effective constraint condition to be used in the next optimal value candidate calculation, the repetition of the optimal value candidate calculation is terminated, and the optimal value candidates of the input variables and the state variables calculated in the previous optimal value candidate calculation are set as the optimal values ​​of the input variables and the state variables.

7. 4. The optimization calculation device according to claim 1, wherein the optimization problem has a Karush-Kuhn-Tucker condition, which is an optimization condition that the optimal value should satisfy, and is a linear combination of a gradient of the evaluation function and a gradient of the active constraint condition using a Lagrange multiplier.

8. the optimum value calculation unit sets constraint conditions for the input variables, the state variables, and the set number based on a control content using the optimum value; the calculation interruption unit, during the repetition of the optimum value candidate calculation, determines to interrupt the repetition of the optimum value candidate calculation if the number of repetitions exceeds a count upper threshold while the number of effective constraint conditions to be used in the next optimum value candidate calculation does not exceed the constraint count upper threshold, and determines not to interrupt the repetition of the optimum value candidate calculation if the number of repetitions does not exceed the count upper threshold; 3. The optimization calculation device according to claim 2, wherein the calculation interruption unit sets the upper limit threshold for the number of constraints and the upper limit threshold for the number of times based on the control content.

9. the optimal value calculation unit uses the input variables related to vehicle control and the state variables representing vehicle behavior, and sets target values ​​of vehicle control amounts at each time point in the prediction period based on the optimal values ​​of the input variables and the state variables at each time point in the prediction period, and sets constraint conditions for the input variables, the state variables, the state equations, the target values ​​of the vehicle control amounts, and the setting numbers based on control content of the vehicle control; the calculation interruption unit, during the repetition of the optimum value candidate calculation, determines to interrupt the repetition of the optimum value candidate calculation if the number of repetitions exceeds a count upper threshold in a case where the number of effective constraint conditions used in the next optimum value candidate calculation does not exceed the constraint count upper threshold, and determines not to interrupt the repetition of the optimum value candidate calculation if the number of repetitions does not exceed the count upper threshold; The optimization calculation device according to claim 2 , wherein the constraint number upper limit threshold and the number of times upper limit threshold are set based on the control content of the vehicle control.

10. the optimum value calculation unit selectively executes, as a control content of the vehicle control, one or both of a longitudinal control for controlling a behavior of the vehicle in a longitudinal direction and a lateral control for controlling a behavior of the vehicle in a lateral direction, 10. The optimization calculation device according to claim 9, wherein the calculation interruption unit sets the upper limit threshold for the number of constraints when both the longitudinal control and the lateral control are executed to be larger than the upper limit threshold for the number of constraints when one of the longitudinal control and the lateral control is executed, and sets the upper limit threshold for the number of times when both the longitudinal control and the lateral control are executed to be smaller than the upper limit threshold for the number of times when one of the longitudinal control and the lateral control is executed.

11. 9. The optimization calculation device according to claim 8, wherein the optimum value calculation unit increases the upper limit threshold for the number of constraints and decreases the upper limit threshold for the number of times as the number of the state variables and the number of the input variables increase.

12. the optimum value calculation unit sets constraint conditions for the input variables, the state variables, and the set number based on a control content using the optimum value; 4. The optimization device according to claim 3, wherein said calculation interruption unit changes a setting of the cost of said calculation processing load relative to the number of said effective constraint conditions based on said control content.

13. the optimal value calculation unit uses the input variables related to vehicle control and the state variables representing vehicle behavior, and sets target values ​​of vehicle control amounts at each time point in the prediction period based on the optimal values ​​of the input variables and the state variables at each time point in the prediction period, and sets constraint conditions for the input variables, the state variables, the state equations, the target values ​​of the vehicle control amounts, and the setting numbers based on control content of the vehicle control; 4. The optimization device according to claim 3, wherein the calculation interruption unit changes a setting of the cost of the calculation processing load relative to the number of effective constraint conditions based on the control content of the vehicle control.

14. the optimum value calculation unit selectively executes, as a control content of the vehicle control, one or both of a longitudinal control for controlling a behavior of the vehicle in a longitudinal direction and a lateral control for controlling a behavior of the vehicle in a lateral direction, 14. The optimization calculation device according to claim 13, wherein the calculation interruption unit makes the cost of the calculation processing load for the number of effective constraint conditions when executing both the longitudinal control and the lateral control greater than the cost of the calculation processing load for the number of effective constraint conditions when executing one of the longitudinal control and the lateral control.

15. 13. The optimization calculation device according to claim 12, wherein the optimum value calculation unit increases the cost of the calculation processing load relative to the number of effective constraint conditions as the number of the state variables and the number of the input variables increases.

Citation Information

Patent Citations

  • Prediction control device

    JP2020008889A