The present disclosure relates to a control calculation apparatus and a control calculation method.
Proposed is a control calculation apparatus automatically steering a subject vehicle to avoid an obstacle when the subject vehicle detects the obstacle located in a road in which the subject vehicle travels in order to achieve automatic driving or a semi-automatic driving partially including a manual driving of a driver.
For example, a control calculation apparatus in Patent Document 1 sets an evaluation function based on a position of an obstacle while predicting a future state of a subject vehicle for a certain period of time, and controls the subject vehicle to achieve a predicted travel trajectory optimizing an output value of the evaluation function, thereby making the subject vehicle avoid the obstacle. The output value of the evaluation function decreases as a distance from the subject vehicle to the obstacle and a distance from the subject vehicle to a road boundary increase or a difference between a predicted attitude angle and a target attitude angle of the subject vehicle after avoiding the obstacle decreases.
Patent Document 1: Japanese Patent Application Laid-Open No. 2007-253745
In a conventional control calculation apparatus, a trajectory is generated in consideration of various variables in as elaborate a vehicle model as possible. However, when the trajectory is generated in consideration of the various variables in only the elaborate vehicle model, calculation load increases, thus required is suppression of increase in the calculation load.
The present disclosure is therefore has been made to solve problems as described above, and it is an object of the present disclosure to provide a technique capable of suppressing increase in calculation load by an elaborate vehicle model.
A control calculation apparatus according to the present disclosure includes: a first place setting unit setting a first place where a vehicle does not travel based on peripheral information around the vehicle; a first trajectory generation unit generating a first trajectory of the vehicle in a first prediction period based on a first vehicle model expressing movement of the vehicle and the first place; a second place setting unit setting a second place, different from the first place, where the vehicle does not travel based on the peripheral information; a second trajectory generation unit generating a second trajectory of the vehicle in a second prediction period equal to or shorter than the first prediction period based on a second vehicle model expressing movement of the vehicle and having a degree larger than a degree of the first vehicle model, the second place, and the first trajectory; and a target value calculation unit calculating and outputting a target value for controlling the vehicle based on the second trajectory.
According to the present disclosure, the second trajectory of the vehicle in the second prediction period equal to or shorter than the first prediction period is generated based on the second vehicle model having the degree larger than the degree of the first vehicle mode., the second place, and the first trajectory, and the target value is calculated based on the second trajectory. Accordingly, increase in calculation load by an elaborate vehicle model can be suppressed.
These and other objects, features, aspects and advantages of the present disclosure will become more apparent from the following detailed description of the specification when taken in conjunction with the accompanying drawings.
The control calculation apparatus 201 in
The first place setting unit 230 sets a first place as a place where a subject vehicle does not travel based on peripheral information around the subject vehicle. The peripheral information includes obstacle information as information including a position of an obstacle and road information as information including a boundary part of a road where the subject vehicle travels. Although described hereinafter, the obstacle information is acquired in an obstacle information acquisition unit 110, and the road information is acquired in the road information acquisition unit 120.
The place indicates a space such as a region or a potential field, for example. The first place setting unit 230 sets the first place including at least one of the obstacle and/or the boundary part based on the peripheral information including the obstacle information and the road information. The obstacle may be a pedestrian, an automobile, and the other vehicle around the subject vehicle, for example. The boundary part may be a compartment line, or may also be a curbstone, a gutter, and a guardrail, for example.
When the boundary part is the compartment line, the first place setting unit 230 needs to set the first place so that the subject vehicle does not travel outside a desired compartment line while avoiding the obstacle. However, when it is difficult to control the subject vehicle so that the subject vehicle does not travel outside the desired compartment line while avoiding the obstacle, the first place setting unit 230 sets the first place with priority on avoiding the obstacle, for example. In this case, the first place setting unit 230 may set the first place so that the subject vehicle can travel outside the desired compartment line. The same applies to a case where the second place setting unit 250 described hereinafter sets a second place.
The first trajectory generation unit 240 predicts a vehicle state amount of the subject vehicle over a future for a first prediction period based on a first vehicle model expressing movement of the subject vehicle, the first place, and the road information and generates the first trajectory on which the subject vehicle should travel. This prediction processing of the first trajectory is executed in a first execution period.
The second place setting unit 250 sets a second place as a place where the subject vehicle does not travel based on the peripheral information. That is to say, the second place setting unit 250 sets the second place including at least one of the obstacle and/or the boundary part based on the obstacle information and the road information. In the present embodiment 1, the second place may be the same as or different from the first place.
The second trajectory generation unit 260 predicts a vehicle state amount of the subject vehicle over a future for a second prediction period based on a second vehicle model expressing movement of the subject vehicle, the second place, and the first trajectory and generates the second trajectory on which the subject vehicle should travel. This prediction processing of the second trajectory is executed in a second execution period.
As described hereinafter, a degree of the second vehicle model is larger than that of the first vehicle model, and the second prediction period is shorter than the first prediction period. The degree corresponds to a type of a variable in a vehicle model, for example.
The target value calculation unit 270 calculates and obtains a target value for controlling at least steering of the subject vehicle based on the second trajectory, and outputs the target value to an outside of the control calculation apparatus 201 (herein, an actuator control unit 310). Herein, the target value is a target steering angle and a target acceleration rate, for example.
The vehicle control unit 200 uses the obstacle information acquisition unit 110, the road information acquisition unit 120, and a vehicle information acquisition unit 130 as an external input apparatus.
The obstacle information acquisition unit 110 is an acquisition unit acquiring obstacle information as information including a position of an obstacle. The obstacle information acquisition unit 110 may be a front camera, or may also be a light detection and ranging (LiDAR), a radar, a sonar, a vehicle-and-vehicle communication apparatus, and a road-and-vehicle communication apparatus, for example.
The road information acquisition unit 120 is an acquisition unit acquiring road information as information including a boundary part of a road where the subject vehicle travels. The road information acquisition unit 120 may be a front camera, or may also be a combination of a LiDAR and a map data processing apparatus or a combination of such as a global navigation satellite system (GNSS) and a map data processing apparatus, for example.
The vehicle information acquisition unit 130 is an acquisition unit acquiring vehicle information of the subject vehicle. The vehicle information acquisition unit 130 may be a steering angle sensor, a steering torque sensor, a yaw rate sensor, a velocity sensor, or an acceleration sensor, for example. The vehicle information is a current vehicle state amount of the subject vehicle, and is acquired using at least one of these sensors, for example.
A vehicle state amount estimation unit 210 and obstacle movement prediction unit 220 connected to the control calculation apparatus 201 are provided as constituent elements in the vehicle control unit 200. The vehicle state amount estimation unit 210 estimates the current vehicle state amount of the subject vehicle which is not acquired by the vehicle information acquisition unit 130 based on the vehicle information and the vehicle model. The vehicle state amount estimation unit 210 may estimate some of the vehicle information acquired by the vehicle information acquisition unit 130. The vehicle model used for estimation may be the first vehicle model or the second vehicle model, or the other vehicle model is also applicable. The obstacle movement prediction unit 220 predicts movement of the obstacle based on the obstacle information.
The control calculation apparatus 201 is connected to the actuator control unit 310 as an output apparatus outside the vehicle control unit 200. The actuator control unit 310 is a control unit controlling an actuator based on the target value calculated by the control calculation apparatus 201, and may be an electric power steering-electronic control unit (EPS-ECU), a power train ECU, a brake ECU, and an electric automobile ECU, for example. In the present embodiment 1, the vehicle control unit 200 performs steering control and vehicle speed control, and the actuator control unit 310 is made up of an EPS-ECU, a power train ECU, and a brake ECU, however, the configuration thereof is not limited thereto.
The steering wheel 2 for the driver to operate the subject vehicle 1 is joined to the steering shaft 3. The steering unit 4 is connected to the steering shaft 3. The steering unit 4 rotatably supports a front wheel as a steering wheel and is steerably supported by a vehicle body frame. Accordingly, a torque generated when the driver operates the steering wheel 2 rotates the steering shaft 3 and the front wheel is steered in a right-left direction by the steering unit 4. Accordingly, the driver can operate a lateral movement amount of the subject vehicle 1 at a time when the subject vehicle 1 travels forward and backward. The steering shaft 3 can be rotated by the EPS motor 5, and the EPS controller 311 controls current flowing in the EPS motor 5, thereby being able to steer the front wheel independently from the operation of the steering wheel 2 by the driver.
The vehicle control unit 200 is an integrated circuit such as a microprocessor, and includes an A/D conversion circuit, a D/A conversion circuit, a central processing unit (CPU), a read only memory (ROM), and a random access memory (RAM), for example. The vehicle control unit 200 is connected to the front camera 111, the radar sensor 112, the GNSS 121, the navigation device 122, the steering angle sensor 131 detecting a steering angle, the steering torque sensor 132 detecting a steering torque, the yaw rate sensor 133 detecting a yaw rate, the velocity sensor 134 detecting a velocity of the subject vehicle 1, the acceleration sensor 135 detecting an acceleration of the subject vehicle 1, the EPS controller 311, the power train controller 312, and the brake controller 313.
The vehicle control unit 200 processes information inputted from a sensor, for example, in accordance with a program stored in the ROM, transmits the target steering angle to the EPS controller 311, and transmits the target acceleration to the power train controller 312 and the brake controller 313. When the subject vehicle 1 is a vehicle which is not automatically driven but is manually driven, the vehicle control unit 200 and the power train controller 312 are not connected to each other, and the vehicle control unit 200 and the brake controller 313 are not connected to each other.
The front camera 111 is disposed in a position where a compartment line in front of the subject vehicle 1 can be detected as an image to detect a front side environment of the subject vehicle 1 such as traffic lane information and obstacle information based on image information. Described in the present embodiment 1 is an example that only the camera detecting the front side environment of the subject vehicle 1 is disposed, however, a camera detecting a back side or lateral side environment of the subject vehicle 1 may also be disposed.
The radar sensor 112 emits radar and detects reflective waves thereof, thereby outputting a relative distance and a relative speed between the subject vehicle 1 and an obstacle of the subject vehicle 1. Applicable as the radar sensor 112 is a known system such as a millimeter wave radar, a LiDAR, a laser range finder, and an ultrasonic radar.
The GNSS 121 receives radio waves from a positioning satellite by an antenna, and performs positioning calculation, thereby outputting an absolute position and an absolute orientation of the subject vehicle 1.
The navigation device 122 has a function of calculating an optimal travel route to a destination set by the driver and a function of recording road information on the travel route. The road information includes plural pieces of map node data expressing a road alignment, and information of an absolute position (latitude, longitude, altitude), a traffic lane width, a cant angle, an inclination angle in each node, for example, is incorporated into each map node data.
The EPS controller 311 controls the EPS motor 5 based on the target steering angle transmitted from the vehicle control unit 200.
The power train controller 312 controls the power train unit 6 based on the target acceleration transmitted from the vehicle control unit 200. When the driver performs velocity control, the power train controller 312 controls the power train unit 6 based on an amount of depressing an acceleration pedal. Described in the present embodiment 1 is an example that the subject vehicle 1 is a vehicle having only an engine as a drive source, however, also applicable is a vehicle having only an electric motor as a drive source or a vehicle having both an engine and an electric motor as a drive source.
The brake controller 313 controls the brake unit 7 based on the target acceleration transmitted from the vehicle control unit 200. When the driver performs velocity control, the brake controller 313 controls the brake unit 7 based on an amount of depressing a brake pedal.
In the present embodiment 1, the first trajectory generation unit 240 and the second trajectory generation unit 260 solve an optimization problem obtaining a control input u minimizing an evaluation function J expressing a desired operation of the subject vehicle under a constraint g. The first trajectory generation unit 240 and the second trajectory generation unit 260 predict an optimized vehicle state amount from a current time θ to a future in a prediction period Th at a prediction interval Ts based on the control input u obtained from the optimization problem and the vehicle model f mathematically expressing movement of the subject vehicle. In the description hereinafter, a time from the current time to Th is abbreviated as a horizon in some cases.
The first trajectory generation unit 240 and the second trajectory generation unit 260 generate a trajectory ξ as series data including the position of the subject vehicle from the optimized vehicle state amount. This generation of the trajectory ξ is executed every constant execution period Te. Each of the vehicle model f, the constraint g, the evaluation value J, the prediction interval Ts, the prediction period Th, and the execution period Te may be different between the first trajectory generation unit 240 and the second trajectory generation unit 260.
In the description hereinafter, when these variables are explicitly distinguished between the first trajectory generation unit 240 and the second trajectory generation unit 260, these are referred to as a first vehicle model f1 and a second prediction interval Ts, 2, for example. The series data including the position of the subject vehicle is referred to as a trajectory ξ, and the series data of only the position of the subject vehicle is referred to as a path χ.
In the present embodiment 1, a degree of the second vehicle model f2 is larger than that of the first vehicle model f1. According to such a configuration, the trajectory is generated from the elaborate second vehicle model f2 based on the trajectory generated from the simple first vehicle model f1, thus calculation load by the elaborate second vehicle model f2 can be reduced.
In the present embodiment 1, the second prediction period Th, 2 is smaller than the first prediction period Th, 1. Thus, a long-period trajectory can be generated from the simple first vehicle model f1, and a short-period trajectory can be generated from the elaborate second vehicle model f2. Herein, the first trajectory is the long-period trajectory, and thus is smooth, however, it is generated by the simple first vehicle model, thus is unsuitable for usage in calculation of the target value. However, the second trajectory is generated from the elaborate second vehicle model, thus is appropriate for usage in calculation of the target value. The second trajectory is the short-period trajectory, but is generated based on the first trajectory, thus smoothness in the second trajectory is ensured.
To summarize the above description, according to the present embodiment 1, both generation of the smooth trajectory along which the subject vehicle can smoothly travel and elaborate control of the subject vehicle can be achieved while suppressing increase in the calculation load.
When the first prediction period Th, 1 is a product of the number of prediction points N1 and the first prediction interval Ts, 1 and when the second prediction period Th, 2 is a product of the number of prediction points N2 and the second prediction interval Ts, 2, the number of prediction points N1 and N2 may be the same as each other and constant. Accordingly, even when the prediction period increases, increase in the calculation load can be suppressed.
In the present embodiment 1, it is important to suppress increase in the calculation load caused by generating the second trajectory. The calculation load depends on the degree of the vehicle model and the number of prediction points N (obtained by dividing the prediction period Th by the prediction interval Ts). As an example, set as parameters in generating the first trajectory are the first prediction period Th, 1=5.0 [sec], the first prediction interval Ts, 1=0.1 [sec], the first number of prediction points N1=50 [point], and a degree of first vehicle model =5. In the similar manner, set as parameters in generating the second trajectory are the second prediction period Th, 2=2.0 [sec], the second prediction interval Ts, 2=0.1 [sec], the second number of prediction points N2=20 [point], and a degree of second vehicle model =10. If there is no first trajectory generation unit 240 but only the second trajectory generation unit 260 is applied, both a parameter in generating the first trajectory and a parameter in generating the second trajectory described above need to be considered to achieve accurate and smooth control of the subject vehicle. That is to say, the second prediction period Th, 2=6.0 [sec], the second prediction interval Ts, 2=0.1 [sec], the second number of prediction points N2=60 [point], and a degree of second vehicle model =10 need to be set. However, in the present embodiment 1, generation of the first trajectory and generation of the second trajectory are applied, thus the second number of prediction points N2 can be reduced to 20 [point] as described above. As a result, increase in the calculation load caused by generating the second trajectory can be reduced as much as possible. In the example described above, the first prediction interval Ts, 1 and the second prediction interval Ts, 2 are set to have the same value of 0.1 [sec], however, the second prediction interval Ts, 2 may be smaller than the first prediction interval Ts, 1. Accordingly, a time resolution at a time of generating the second trajectory is increased, and the more elaborate vehicle control can be achieved. However, the second prediction interval Ts, 2 is preferably set so that the second number of prediction points N2 is not larger than the first number of prediction points N1 as much as possible.
The second execution period Te, 2 of generating the second trajectory may be set to be equal to or shorter than the first execution period Te, 1 of generating the first trajectory. Accordingly, the second trajectory generation unit 260 having direct influence on the target value of the subject vehicle can be executed with a high frequency while ensuring a calculation time in the first trajectory generation unit 240 for generating the long-period trajectory, thus both generation of the smooth trajectory and elaborate control of the subject vehicle can be achieved.
According to the above description, the parameter in generating the first trajectory and the parameter in generating the second trajectory are preferably set to satisfy the first prediction period Th, 1>the second prediction period Th, 2, the first prediction interval Ts, 1≥the second prediction interval Ts, 2, and the first execution period Te, 1≥the second execution period Te, 2.
As described above, in the present embodiment 1, the first trajectory generation unit 240 and the second trajectory generation unit 260 solve the optimization problem with constraint every certain period of time. The optimization problem is formulated as the following expressions.
Herein, J is an evaluation function, x is a vehicle state amount, u is a control input, fis a vector value function regarding a dynamic vehicle model, and x0 is an initial value of a vehicle state amount, that is to say, a current vehicle state amount. g is a vector value function regarding a constraint, and is a function for setting upper-lower limit values of the vehicle state amount x and the control input u in the optimization problem with constraint. Optimization of minimizing the evaluation function J is executed under constraint of g (x, u)≤0. In the present embodiment 1, the optimization problem described above is treated as a minimization problem, but may also be treated as a maximization problem by inverting a sign of the evaluation function J.
In the present embodiment 1, the following expression is used for the evaluation function J.
J=(hN(xN)−rNTWN(xN)+Σk=0N−1(h(xk, uk)−rk)TW(h(xk, uk)−rk) (EXPRESSION 103)
Herein, xk is a vehicle state amount in a prediction point (k=0, . . . , N), and uk is a control input in a prediction point k (k=0, . . . , N−1). h is a vehicle value function regarding an evaluation item, and hn is a vector value function regarding an evaluation item in a terminal end (the number of prediction points N), and rk is a reference value in a prediction point k (k=0, . . . , N). Each of W and WN is a weighing matrix and a diagonal matrix having weighting on each evaluation item in a diagonal component, and can be appropriately changed as a parameter of the evaluation function J.
In the present embodiment 1, a first vehicle state amount x1 and a first control input u used in the first trajectory generation unit 240 are set as the following expressions. function J.
x1=[Xg, Yg, θ, V, δ]T (EXPRESSION 104)
u1=[α, ω]T (EXPRESSION 105)
Herein, Xg and Yg are gravity positions of the subject vehicle in
A geometric model indicated in the following expression is used for the first vehicle model f1 in consideration of an expression 101.
Herein, β is a sideslip angle, γ is a yaw rate, and they are expressed by the following expression in the first trajectory generation unit 240.
Herein, lf and lr are distances from a front wheel axis and rear wheel axis to the vehicle gravity, respectively, and 1=If +1, is established. A vehicle model other than the geometric model may be applied to the first vehicle model f1.
In the present embodiment 1, a second vehicle state amount x2 and a second control input u2 used in the second trajectory generation unit 260 are set as the following expressions.
x2=[Xg, Yg, θ, β, γ, V, α, αt, δ, δt]T (EXPRESSION 109)
u2=[jt, ωt]T (EXPRESSION 110)
Herein, at is a target acceleration and δt is a target steering angle, and both of them are inputted to the actuator control unit 310. jt is a target jerk, and ωt is a target steering angle velocity. As long as the second vehicle state amount x2 includes a variable regarding a position and one of the second vehicle state amount x2 and the second control input u2 includes a variable regarding a steering and a vehicle speed, the second vehicle state amount x2 and the second control input u2 may be set in any way. The variable of the position is not limited to a rectangular coordinate system, but may be defined by a path coordinate system, and a variable regarding the position may not be a gravity position. When the control calculation apparatus 201 performs only the steering control, the second vehicle state amount x2 and the second control input u2 may be set in any way as long as the second vehicle state amount x2 includes a variable regarding a position and one of the second vehicle state amount x2 and the second control input u2 includes a variable regarding a steering.
A two-wheel model indicated in the following expression is used for the second vehicle model f2 in consideration of an expression 101.
Herein, M is a vehicle mass, and I is a yaw inertia moment of a vehicle. Ta and T67 are time constants in a case where followability to an indication of an acceleration and steering angle is expressed by a first order lag series. Yf and Yr are cornering force of front and rear wheels, respectively, and are expressed by the following expressions using cornering stiffness Cf and Cr of the front and rear wheels.
A vehicle model other than the two-wheel model may be applied to the second vehicle model f2. For example, an elaborate two-wheel model needs not necessarily be used in a straight road with no obstacle, thus a vehicle model having a degree larger than a degree of the vehicle model in the expression 106 and smaller than the vehicle model in the expression 111 may be used for the second vehicle model f2. In a configuration that the second trajectory generation unit 260 selects the vehicle model in accordance with a state of the road, there may be a case where increase in the calculation load can be further suppressed. Herein, the state of the road is a curvature of a road acquired by the road information acquisition unit 120, for example. The second trajectory generation unit 260 may change the degree of the vehicle model in accordance with the state of the road.
In Step S110 in
information. The road information is information including a boundary part of the road where the subject vehicle travels, and is information including a coefficient at a time of expressing right and left compartment lines by a third-order polynomial in the present embodiment 1. That is to say, the road information acquisition unit 120 acquires values of Cl0 to cl3 in the expression 201 for the left compartment line, and acquires values of cr0 to Cr3 in the expression 202 for the right compartment line.
Y=c
l3
X
3
+c
l2
X
2
+c
l1
X+c
l0 (EXPRESSION 201)
Y=c
r3
X
3
+c
r2
X
2
+c
r1
X+c
r0 (EXPRESSION 202)
At this time, a center of the traffic lane is expressed by the following expression.
Y=l(X)=cc3X3+cc2X2+cc1X+cc0 (EXPRESSION 203)
cC0 to cC3 in this expression is expressed by the following expression.
The information of the compartment line is not limited to the third-order polynomial as described above, but may also be expressed by any function.
In Step S130 in
Next, in Step S210 in
Next, in Step S220 in
X
o,k
=X
o,k−1
+V
o,k−1 cos (θo,k−1)·Ts·k (EXPRESSION 205)
Y
o,k
=Y
o,k−1
+V
o,k−1 sin (θo,k−1)·Ts·k (EXPRESSION 206)
θo,k=θo,k−1 (EXPRESSION 207)
V
o,k
=V
o,k−1 (EXPRESSION 208)
Each of Xo, 0, Yo, 0, θo, 0, Vo, 0 is a center position, a vehicle body orientation, and a speed of the obstacle at a current time acquired by the obstacle information acquisition unit 110. When the plurality of obstacles are located, the prediction described above is performed on each obstacle. The obstacle movement prediction unit 220 may perform the movement prediction of the obstacle moving at a constant speed along a driving lane instead of the uniform linear motion. The obstacle movement prediction unit 220 may predict movement of the obstacle using a driver model.
In Step S230 in
la and lb are lengths of a long axis and short axis of the oval set for the obstacle, respectively, and may be changed for each prediction point k. The center of the oval needs not coincide with the center position Xo, k and Yo, k of the obstacle. The no-entry region set in the obstacle needs not have the oval shape, however, a no-entry region having an optional shape may be set. When the plurality of obstacles are located, the first place setting unit 230 sets the no-entry region for each obstacle.
In Step S240 in
In Step S250 in
based on the obstacle information acquired by the obstacle information acquisition unit 110 and the road information acquired by the road information acquisition unit 120. For example, the second place setting unit 250 sets an oval no-entry region acquired by applying the expression 209 to the central position Xo, k, Yo, k of the obstacle in each prediction point k (k=0, . . . , N2) as the second place S2 in the manner similar to the first place setting unit 230. The lengths la and lb of the long axis and short axis of the oval in the second place S2 may be different from those set in the first place S1. The no-entry region set in the obstacle needs not have the oval shape, however, a no-entry region having an optional shape may be set. When the plurality of obstacles are located, the second place setting unit 250 sets the no-entry region for each obstacle.
In Step S260 in
In Step S270 in
In this manner, the target value calculation unit 270 calculates the target steering angle δt and the target acceleration at based on the second trajectory ξ2 generated by the second trajectory generation unit 260 using the elaborate second vehicle model f2, thus the elaborate vehicle control is achieved.
In Step S310 in
Firstly, in Step S241 in
Herein,
In S 242 in
h1=[eY, k, Vk, ak, ωk]T (EXPRESSION 303)
h1,N
eY, k is a lateral deviation to a first reference path χr, 1 in the prediction point k (k=0, . . . , N1). When series data (Xr, k, Yr, k, θr, k) of the first reference path χr, 1 in the prediction point k (k=0, . . . , N1) is provided, eY, k is expressed by the following expression.
e
Y, k=cos θr,k·(Yg,k−Yr,k)−sin θr,k·(Xg,k−Xr,k) (EXPRESSION 305)
Herein, Xr, k, Yr, k, and θr, k are a reference position in the X axis, a reference position in the Y axis, and the reference vehicle body orientation in the prediction point k (k=0, . . . , N1), respectively. The reference values r1, k and r1, N1 in the expression 103 are set as the following expressions.
r
1,k=[0, Vr,k, 0,0]T(k=0, . . . , N1−1) (EXPRESSION 306)
r1,N
According to the above setting, when the obstacle is not located in the horizon, the first trajectory generation unit 240 can generate the first trajectory for the subject vehicle to follow the first reference path at a reference vehicle speed with a small control input. The orientation, the yaw rate, and the lateral acceleration, for example, may be added to the evaluation item of the first evaluation function J1 to improve followability and ride quality to the first reference path.
Described herein is an example of determining the reference position Xr, k and Yr, k, the reference vehicle body orientation θr, k, and the reference vehicle speed Vr, k in the expression 305. Firstly, the first trajectory generation unit 240 determines the reference vehicle speed Vr, k based on a limited speed V1 of a driving lane and a vehicle speed Vp of a preceding vehicle. For example, the first trajectory generation unit 240 determines Vr, k=V1. Vr, k needs not have a constant value in the horizon. Next, the first trajectory generation unit 240 determines the reference position Xr, k and Yrr, k and the reference vehicle body orientation θr, k based on the X position, the Y position, and the orientation of a center of the traffic lane indicated by the road information in a case of control for the subject vehicle to travel the center of the traffic lane, for example. Set between the reference position Xr, k and Yr, k and the reference vehicle speed Vr, k is a condition for consistency therebetween. That is to say, the first trajectory generation unit 240 determines the reference position Xr, k and Yr, k to satisfy the following two expressions.
Yr,k=l(Xr,k)(k=0, . . . N1) (EXPRESSION 308)
√{square root over ((Xr,k−Xr,k−1)2+(Yr,k−Yr,k−1)2)}=Vr,k−1·Ts,1(k=1, . . . N1) (EXPRESSION 309)
The expression 308 is a condition that the reference position Xr, k and Yr, k is located on the center of the traffic lane expressed by a function Y=1(X) of the expression 203. The expression 309 is a condition that an interval between the reference position Xr, k−1 and Yr, k−1 and the reference position Xr, k and Yr, k adjacent to each other is equal to a movement amount of the subject vehicle in the first prediction interval Ts, 1. The first trajectory generation unit 240 can also determine the reference vehicle body orientation θr, k by calculating the orientation of the traffic lane expressed by Y=1(X) in the reference position Xr, k and Yr, k determined using the expression 308 and the expression 309.
In Step S243 in
Herein, a1, k* and ωa1, k* of each prediction point k (k=0, . . . , N1−1) are a first optimum acceleration and a first optimum steering angle speed. With regard to the solution, the first evaluation function J1 may have a value lower than a predetermined threshold value as the solution, and when the value is not lower than the threshold value in a predetermined number of repetitions, a value minimizing the first evaluation function J1 in the number of repetitions may be a solution.
In Step S244 in
Herein, Xg, 1,k* , Yg, 1,k* , θg, 1,k* , Vg, 1,k* , and δg, 1,k* are a first optimum gravity position, a first optimum vehicle body orientation, a first optimum vehicle speed, and a first optimum steering angle in each prediction point k (k=0, . . . , N1), respectively. Positional series data in the first optimum state amount x1* is referred to as a first optimum path χ1*. In the present embodiment 1, the first optimum path χ1* is expressed by the following expression.
In Step S245 in
ξ1=[ξ1,0 . . . ξ1,N
Positional series data in the first trajectory ξ1 is referred to as the first path χ1. In the present embodiment 1, the first path χ1 is expressed by the following expression.
Firstly, in Step S261 in
Herein,
In S 262 in
h2=[eY, k, Vk, jk, ωk]T (EXPRESSION 403)
h2,N
In the manner similar to the generation of the first trajectory, eY, k is a lateral deviation to a second reference path χr, k in the prediction point k (k=0, . . . , N2) . When series data (Xr, k, Yr, k, θr, k) of the second reference path χr, 2 in the prediction point k (k=0, . . . , N2) is provided, eY, k is expressed by the following expression.
e
Y, k=cos θr,k·(Yg,k−Yr,k)−sin θr,k·(Xg,k−Xr,k) (EXPRESSION 505)
Herein, Xr, k, Yr, k, and θr, k are a reference position in the X axis, a reference position in the Y axis, and the reference vehicle body orientation in the prediction point k (k=0, . . . , N2) , respectively. The reference values r2, k and r2, N2 in the expression 103 are set as the following expressions.
r
2,k=[0, Vr,k, 0,0]T(k=0, . . . , N2−1) (EXPRESSION 406)
r21,N
Herein, the second trajectory generation unit 260 uses a part of the first trajectory ξ1 as the second reference path χr, 2 for generating the second trajectory. In the present embodiment 1, the second trajectory generation unit 260 determines the reference position Xr, k and Yr, k, the reference vehicle body orientation θr, k, and the reference vehicle speed Vr, k for each case so that the second reference path χr, 2 is equal to the first path χ1.
For example, when the first prediction interval Ts, 1 and the second prediction interval Ts, 2 are equal to each other, the second trajectory generation unit 260 determines the reference position Xr, k and Yr, k, the reference vehicle body orientation θr, k, and the reference vehicle speed Vr, k as the following expression.
[Xr,k, Yr,k, θr,k, Vr,k]T=[X*g,1,k, Y*g,1,k, θ*g,1,k, V*g,1,k]T(k=0, . . . , N2) (EXPRESSION 408)
For example, when the first prediction interval Ts, 2 and the second prediction interval Ts, 2 are not equal to each other, the second trajectory generation unit 260 appropriately interpolates the time so that the interval between the first optimum gravity position Xg, 1* and Yg, 1*, the optimum vehicle body orientation θ1*, and the optimum vehicle speed V1* coincides with the second prediction interval Ts, 2 to determine the reference position Xr, k and Yr, k, the reference vehicle body orientation θr, k, and the reference vehicle speed Vr,k.
According the above setting, the second trajectory generation unit 260 can generate the second trajectory for the subject vehicle to follow the first path at a speed of the first trajectory with a small control input. The orientation, the yaw rate, and the lateral acceleration, for example, may be added to the evaluation item of the second evaluation function J2 to improve followability and ride quality to the first path.
In step S263 in
The second trajectory generation unit 260 may determine an initial solution based on the first trajectory ξ1 when the optimum problem is solved. The second trajectory ξ2 and the first trajectory ξ1 are similar to each other as long as the obstacle does not move significantly to deviate from the movement prediction, thus a speed of calculating the second optimum control input u2* is improved by determining the initial solution based on the first trajectory ξ1.
In Step S264 in
Positional series data in the second optimum state amount x2* is referred to as a second optimum path χ2*. In the present embodiment 1, the second optimum path χ2* is expressed by the following expression.
In Step S265 in
ξ2=[ξ2,0 . . . ξ2,N
Positional series data in the second trajectory ξ2 is referred to as the second path χ2. In the present embodiment 1, the second path χ2 is expressed by the following expression.
According to the control calculation apparatus 201 of the present embodiment 1 described above, the degree of the second vehicle model f2 is larger than that of the first vehicle model f1.
According to such a configuration, the trajectory is generated from the elaborate second vehicle model f2 based on the trajectory generated from the simple first vehicle model f1, thus calculation load by the elaborate vehicle model f2 can be reduced.
When the second prediction period Th, 2 is smaller than the first prediction period Th, 1, the long-period trajectory can be generated from the simple first vehicle model f1, and the short-period trajectory can be generated from the elaborate second vehicle model f2. Thus, both generation of the smooth trajectory along which the subject vehicle can smoothly travel and elaborate control of the subject vehicle can be achieved while suppressing increase in the calculation load.
A block diagram of the control calculation apparatus 201 according to the present embodiment 2 is similar to that in
In the embodiment 1, the second place may be the same as or different from the first place, however in the present embodiment 2, the second place is different from the first place.
Described is a relationship between the first place, the first path, the second place, and the second path. Described firstly is a relationship between the first place and the first path.
The first place setting unit 230 sets the first place S1 including the oval no-entry region by the method described in Step S230 based on the position Xo and Yo of the center PC of the obstacle and the vehicle body orientation θo acquired by the obstacle information acquisition unit 110. A long axis a and a short axis of the oval are set so as to include a collision region SC where the subject vehicle collides with the obstacle when a gravity of the subject vehicle enters, for example. When the first place S1 is set in this manner, the first trajectory generation unit 240 generates a path in which the subject vehicle does not enter the first place S1 and is not away from the center of the traffic lane as much as possible as illustrated in
Described next is a relationship among the first path χ1, the second place S2, and the second path χ2.
The second place setting unit 250 sets the second place S2 including an oval no-entry region by the method described in Step S250 based on peripheral information. For example, the second place setting unit 250 sets the second place S2 including the collision region Sc and having the oval with a long axis a and a short axis b smaller than the first place S1 so that the second place S2 is not overlapped with the first path χ1 as much as possible. Then, in Step S262, the second trajectory generation unit 260 sets the first path χ1 as the second reference path Xr, 2.
The second place S2 is smaller than the first place S1, thus the first path χ1 as the second reference path Xr, 2 is not overlapped with the second place S2 as long as the obstacle does not move significantly to deviate from the movement prediction until the processing of the second trajectory generation unit 260 is started after the processing of the first trajectory generation unit 240 is completed. In this case, reduced is a possibility that the second optimum control input obtained as the solution of the optimum problem by the second trajectory generation unit 260 in Step S263 conflicts with the constraint by the second place S2, thus a calculation speed in the second optimum control input by the second trajectory generation unit 260 is improved. In this case, as illustrated in
Such a state may occur when the first execution period Te, 1 is larger than the second execution period Te, 2 and the first execution period Te, 1 is long such as one second, or when accuracy of a sensor of the obstacle information acquisition unit 110 is low, for example.
In the example in
A portion where the second place S2 and the first path χ1 of the first trajectory ξ1 are overlapped with each other is smaller than a portion where the first place S1 and the first path χ1 of the first trajectory S1 are overlapped with each other, thus increase in the calculation load of the second trajectory generation unit 260 using the elaborate second vehicle model f2 can be suppressed. As illustrated in
The state where the portion where the second place S2 and the first path χ1 of the first trajectory ξ1 are overlapped with each other is smaller than the portion where the first place S1 and the first path χ1 of the first trajectory χ1 are overlapped with each other may or may not include a state where the second place S2 and the first path χ1 are not overlapped with each other. When the portion where the second place S2 and the first path χ1 are overlapped with each other is smaller than the portion where the first place S1 and the first path χ1 are overlapped with each other, the second place S2 needs not be smaller than the first place S1. For example, the second place S2 may be a place where the first place S1 is moved in a travel direction of the subject vehicle while maintaining an area thereof in an XY plane.
In the embodiment 2, the second place setting unit 250 sets the second place S2 so that the portion where the second place S2 and the first path χ1 are overlapped with each other is smaller than the portion where the first place S1 and the first path χ1 are overlapped with each other. In contrast, in the present embodiment 3, the second place setting unit 250 sets the second place S2 so that the portion where the second place S2 and the first path χ1 are overlapped with each other is larger than the portion where the first place S1 and the first path χ1 are overlapped with each other.
Accordingly, when the trajectory is generated by the first trajectory generation unit 240 and the second trajectory generation unit 260, the difference between the reference path and the optimum path is reduced, thus the calculation load in generating each trajectory can be reduced. The difference between the reference path and the optimum path is small, thus a possibility of occurrence of a local optimum solution can also be reduced. When linearization is performed around an initial solution in the optimum calculation, linearization error can be reduced by setting a reference path having a small difference from the optimum path as the initial solution.
As illustrated in
Thus, as illustrated in
In the embodiment 2, the first place S1 is the no-entry region for the obstacle, however, the configuration is not limited thereto. In the present embodiment 4, the first place S1 may be a potential field of risk in accordance with a degree of proximity corresponding to a distance from a center of the first place to the subject vehicle. The center of the first place herein may be a center point, an obstacle, or a no-entry region.
In the present embodiment 4, a variable of the first evaluation function J1 includes a degree of proximity corresponding to a distance from the center of the first place S1 to the subject vehicle e.g. a parameter relating to a potential field such as repulsion force corresponding to the distance, for example. Accordingly, the constraint on the position for avoiding the obstacle is reduced in the constraint used in the first trajectory generation unit 240, thus a possibility of seeking the optimum solution is improved. However, an avoidance interval between the subject vehicle and the obstacle cannot be clearly designated in the first trajectory generation unit 240 at the time of avoiding the obstacle, thus there is a possibility that the subject vehicle cannot avoid the obstacle only by such a configuration. Thus, in the present embodiment 4, the no-entry region is used for the second place S2. The avoidance interval can be clearly designated in the second trajectory generation unit 260, thus the subject vehicle can reliably avoid the obstacle.
As illustrated in
Thus, as illustrated in
When the first evaluation function J1 is designed so that the subject vehicle can sufficiently avoid the obstacle, a variable of the second evaluation function J2 may include a degree of proximity corresponding to a distance from the center of the second place S2 to the subject vehicle in the manner similar to the first evaluation function J1.
In the embodiment 2, the first place S1 and the second place S2 are set for the obstacle, however, they may be set for a boundary part of a road. In this case, the second place S2 of the boundary part of the road is set in the manner similar to the second place S2 of the obstacle. In the present embodiment 5, the first place S1 is larger than a region of at least one of the obstacle and/or the road, and the second place S2 is equal to or larger than the region of at least one of the obstacle and/or the road, and is smaller than the first place S1. Accordingly, the first path χ1 as the reference path of the second trajectory generation unit 260 is not overlapped with the second place S2, and reduced is a possibility that a solution of the optimum problem by the second trajectory generation unit 260 conflicts with the constraint by the second place S2, thus the calculation load of the second trajectory generation unit 260 can be reduced.
In
In
The embodiments 2 and 5 describe reduction in a possibility that a solution of the optimum problem by the second trajectory generation unit 260 conflicts with the constraint by the second place S2. This is achieved by appropriately setting the second place S2. Described in the present embodiment 6 is a method of setting the first constraint g1 in generating the first trajectory and the second constraint g2 in generating the second trajectory.
In the present embodiment 6, the constraint may be set not only on the position of the subject vehicle and the control input but also on the speed, the lateral acceleration, the steering angle, and the yaw rate, for example, in the manner similar to the other embodiments. Then, the second constraint g2 is set to be looser than the first constraint g1. For example, upper-lower limit values
The first place setting unit 230, the first trajectory generation unit 240, the second place setting unit 250, the second trajectory generation unit 260, and the target value calculation unit 270 in
When the processing circuit 81 is the dedicated hardware, a single circuit, a complex circuit, a programmed processor, a parallel-programmed processor, an application specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or a combination of them, for example, falls under the processing circuit 81. Each function of the first place setting unit 230 etc. may be achieved by circuits to which the processing circuit is dispersed, or each function of them may also be collectively achieved by one processing circuit.
When the processing circuit 81 is the processor, the functions of the first place setting unit 230 etc. are achieved by a combination with software etc. Software, firmware, or software and firmware, for example, fall under the software etc. The software etc. is described as a program and is stored in a memory. As illustrated in
(EPROM), or an electrically erasable programmable read only memory (EEPROM), a hard disk drive (HDD), a magnetic disc, a flexible disc, an optical disc, a compact disc, a mini disc, a digital versatile disc (DVD), or a drive device of them, or any storage medium which is to be used in the future, for example.
Described above is the configuration that each function of the first place setting unit 230 etc. is achieved by one of the hardware and the software, for example. However, the configuration is not limited thereto, but also applicable is a configuration of achieving a part of the first place setting unit 230 etc. by dedicated hardware and achieving another part of them by software, for example. For example, the function of the first place setting unit 230 can be achieved by the processing circuit 81 as the dedicated hardware, an interface, and a receiver, for example, and the function of the other units can be achieved by the processing circuit 81 as the processor 82 reading out and executing the program stored in the memory 83.
As described above, the processing circuit 81 can achieve each function described above by the hardware, the software, or the combination of them, for example.
The control calculation apparatus described above can also be applied to a control calculation system constituted as a system by appropriately combining a vehicle apparatus such as a portable navigation device (PND), a navigation device, and a driver monitoring system (DMS), a communication terminal including a mobile terminal such as a mobile phone, a smartphone, and a tablet, a function of an application installed in at least one of the vehicle apparatus and/or the communication terminal, and a server. In this case, each function or each constituent element of the control calculation apparatus described above may be dispersedly disposed in each apparatus constructing the system, or may also be collectively disposed in one of the apparatuses.
Each embodiment and each modification example can be arbitrarily combined, or each embodiment and each modification example can be appropriately varied or omitted.
The foregoing description is in all aspects illustrative and does not restrict the invention. It is therefore understood that numerous modification examples can be devised.
This application is a National Stage of International Application No. PCT/JP2021/016923 filed on Apr. 28, 2021.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/JP2021/016923 | 4/28/2021 | WO |