WO2022218036A1 - Vehicle control method and apparatus, storage medium, electronic device and vehicle - Google Patents

Vehicle control method and apparatus, storage medium, electronic device and vehicle Download PDF

Info

Publication number
WO2022218036A1
WO2022218036A1 PCT/CN2022/077534 CN2022077534W WO2022218036A1 WO 2022218036 A1 WO2022218036 A1 WO 2022218036A1 CN 2022077534 W CN2022077534 W CN 2022077534W WO 2022218036 A1 WO2022218036 A1 WO 2022218036A1
Authority
WO
WIPO (PCT)
Prior art keywords
control
vehicle
sequence
objective
vehicle state
Prior art date
Application number
PCT/CN2022/077534
Other languages
French (fr)
Chinese (zh)
Inventor
王贤宇
Original Assignee
北京车和家信息技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京车和家信息技术有限公司 filed Critical 北京车和家信息技术有限公司
Publication of WO2022218036A1 publication Critical patent/WO2022218036A1/en

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
    • G05D1/02Control of position or course in two dimensions
    • G05D1/021Control of position or course in two dimensions specially adapted to land vehicles
    • G05D1/0231Control of position or course in two dimensions specially adapted to land vehicles using optical position detecting means
    • G05D1/0238Control of position or course in two dimensions specially adapted to land vehicles using optical position detecting means using obstacle or wall sensors
    • G05D1/024Control of position or course in two dimensions specially adapted to land vehicles using optical position detecting means using obstacle or wall sensors in combination with a laser
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
    • G05D1/02Control of position or course in two dimensions
    • G05D1/021Control of position or course in two dimensions specially adapted to land vehicles
    • G05D1/0212Control of position or course in two dimensions specially adapted to land vehicles with means for defining a desired trajectory
    • G05D1/0214Control of position or course in two dimensions specially adapted to land vehicles with means for defining a desired trajectory in accordance with safety or protection criteria, e.g. avoiding hazardous areas
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
    • G05D1/02Control of position or course in two dimensions
    • G05D1/021Control of position or course in two dimensions specially adapted to land vehicles
    • G05D1/0212Control of position or course in two dimensions specially adapted to land vehicles with means for defining a desired trajectory
    • G05D1/0221Control of position or course in two dimensions specially adapted to land vehicles with means for defining a desired trajectory involving a learning process
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
    • G05D1/02Control of position or course in two dimensions
    • G05D1/021Control of position or course in two dimensions specially adapted to land vehicles
    • G05D1/0212Control of position or course in two dimensions specially adapted to land vehicles with means for defining a desired trajectory
    • G05D1/0223Control of position or course in two dimensions specially adapted to land vehicles with means for defining a desired trajectory involving speed control of the vehicle
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
    • G05D1/02Control of position or course in two dimensions
    • G05D1/021Control of position or course in two dimensions specially adapted to land vehicles
    • G05D1/0231Control of position or course in two dimensions specially adapted to land vehicles using optical position detecting means
    • G05D1/0246Control of position or course in two dimensions specially adapted to land vehicles using optical position detecting means using a video camera in combination with image processing means
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
    • G05D1/02Control of position or course in two dimensions
    • G05D1/021Control of position or course in two dimensions specially adapted to land vehicles
    • G05D1/0255Control of position or course in two dimensions specially adapted to land vehicles using acoustic signals, e.g. ultra-sonic singals
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
    • G05D1/02Control of position or course in two dimensions
    • G05D1/021Control of position or course in two dimensions specially adapted to land vehicles
    • G05D1/0257Control of position or course in two dimensions specially adapted to land vehicles using a radar
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
    • G05D1/02Control of position or course in two dimensions
    • G05D1/021Control of position or course in two dimensions specially adapted to land vehicles
    • G05D1/0276Control of position or course in two dimensions specially adapted to land vehicles using signals provided by a source external to the vehicle

Definitions

  • the present disclosure relates to the field of vehicles, and in particular, to a vehicle control method, device, storage medium, electronic device, and vehicle.
  • the artificial potential field method is generally used for automatic driving path planning, but in the process of constructing the artificial potential field, although the field surface can be smoothed, the planned trajectory usually cannot meet the needs of automatic driving trajectory smoothness and vehicle control smoothness. That is, the trajectory obtained by planning exceeds the range of vehicle tracking, which is a hidden danger in autonomous driving scenarios. It will not only make the vehicle's automatic control unstable, such as shaking, but also easily cause the vehicle to emit dangerous autonomous behaviors, which cannot guarantee driving safety.
  • the purpose of the present disclosure is to provide a vehicle control method, device, storage medium, electronic device and vehicle, so as to optimize the planning of the vehicle's driving trajectory and improve the automatic driving performance.
  • a vehicle control method comprising:
  • a planned trajectory sequence and a vehicle state matrix of the vehicle corresponding to the first control moment are obtained, the planned trajectory sequence is obtained based on an artificial potential field planning algorithm, and the vehicle state matrix is obtained based on a vehicle dynamics model;
  • the vehicle is controlled according to the target control sequence.
  • the planned trajectory sequence includes planned positions obtained by planning for each control moment in the discrete time sequence, the discrete time sequence includes a specified number of control moments starting from the second control moment, and the second The control time is the next control time after the first control time.
  • the planned trajectory sequence is obtained by:
  • the environmental information at least includes obstacle information
  • the artificial potential field planning algorithm is used to sequentially target the The planned positions are generated at each control instant in the discrete time series to obtain the planned trajectory sequence.
  • the vehicle state matrix includes vehicle state information predicted for each control moment in a discrete time series, the discrete time series includes a specified number of control moments starting from the second control moment, and the first The second control time is the next control time of the first control time.
  • the vehicle state matrix is obtained by:
  • the vehicle state information of the vehicle at each control moment in the discrete time series is predicted by using a vehicle dynamics model, so as to obtain the vehicle state matrix.
  • the vehicle state information includes vehicle position information, vehicle heading information and vehicle speed information.
  • the target constraints include at least one of the following:
  • the steering wheel angle of the vehicle is within the preset angle range
  • the rotation rate of the steering wheel of the vehicle is within the first preset rate interval
  • the vehicle acceleration is within the preset acceleration range
  • the rate of change of the vehicle acceleration is within the second preset rate interval.
  • control sequence includes control parameters for each control moment in the discrete time sequence, the discrete time sequence includes a specified number of control moments starting from a second control moment, and the second control moment is The next control time of the first control time.
  • X is the vehicle state matrix
  • R is the planned trajectory sequence
  • U is the control sequence
  • Q is the first preset weight matrix
  • W is the second preset weight matrix
  • Umin ⁇ U ⁇ Umax and ⁇ Umin ⁇ U ⁇ Umax is the target constraint condition
  • the Umin is the lower control limit of the control parameter
  • the Umax is the upper control limit of the control parameter
  • the ⁇ U is the control parameter before the adjacent one.
  • the ⁇ Umin is the lower limit of the change of the control parameter between the adjacent two control moments
  • the ⁇ Umax is the control parameter in the adjacent front
  • control parameters include a first control parameter for the steering wheel angle and/or a second control parameter for the accelerator pedal.
  • the target control sequence includes target control parameters corresponding to a second control moment, and the second control moment is the next control moment of the first control moment;
  • the controlling the vehicle according to the target control sequence after the first control time includes:
  • the vehicle is controlled according to the target control parameter.
  • a vehicle control device comprising:
  • an acquisition module configured to acquire a planned trajectory sequence and a vehicle state matrix of the vehicle corresponding to the first control moment during the driving process of the vehicle, the planned trajectory sequence is obtained based on an artificial potential field planning algorithm, and the vehicle state matrix is based on the vehicle Kinetic model acquisition;
  • a function construction module configured to construct an objective function with a control sequence as an independent variable according to the planned trajectory sequence and the vehicle state matrix, and the objective function has objective constraints for the control sequence;
  • a processing module configured to perform quadratic programming processing on the objective function, so as to obtain an objective control sequence that can minimize the function value of the objective function and satisfy the objective constraint condition;
  • control module configured to control the vehicle according to the target control sequence after the first control time.
  • the planned trajectory sequence includes planned positions obtained by planning for each control moment in the discrete time sequence, the discrete time sequence includes a specified number of control moments starting from the second control moment, and the second The control time is the next control time after the first control time.
  • the planned trajectory sequence is obtained by:
  • the environmental information at least includes obstacle information
  • the artificial potential field planning algorithm is used to sequentially target the The planned positions are generated at each control instant in the discrete time series to obtain the planned trajectory sequence.
  • the vehicle state matrix includes vehicle state information predicted for each control moment in a discrete time series, the discrete time series includes a specified number of control moments starting from the second control moment, and the first The second control time is the next control time of the first control time.
  • the vehicle state matrix is obtained by:
  • the vehicle state information of the vehicle at each control moment in the discrete time series is predicted by using a vehicle dynamics model, so as to obtain the vehicle state matrix.
  • the vehicle state information includes vehicle position information, vehicle heading information and vehicle speed information.
  • the target constraints include at least one of the following:
  • the steering wheel angle of the vehicle is within the preset angle range
  • the rotation rate of the steering wheel of the vehicle is within the first preset rate interval
  • the vehicle acceleration is within the preset acceleration range
  • the rate of change of the vehicle acceleration is within the second preset rate interval.
  • control sequence includes control parameters for each control moment in the discrete time sequence, the discrete time sequence includes a specified number of control moments starting from a second control moment, and the second control moment is The next control time of the first control time.
  • X is the vehicle state matrix
  • R is the planned trajectory sequence
  • U is the control sequence
  • Q is the first preset weight matrix
  • W is the second preset weight matrix
  • Umin ⁇ U ⁇ Umax and ⁇ Umin ⁇ U ⁇ Umax is the target constraint condition
  • the Umin is the lower control limit of the control parameter
  • the Umax is the upper control limit of the control parameter
  • the ⁇ U is the control parameter before the adjacent one.
  • the ⁇ Umin is the lower limit of the change of the control parameter between the adjacent two control moments
  • the ⁇ Umax is the control parameter in the adjacent front
  • control parameters include a first control parameter for the steering wheel angle and/or a second control parameter for the accelerator pedal.
  • the target control sequence includes target control parameters corresponding to a second control moment, and the second control moment is the next control moment of the first control moment;
  • the control module is configured to control the vehicle according to the target control parameter at the second control moment.
  • a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, implements the steps of the method described in the first aspect of the present disclosure.
  • an electronic device comprising:
  • a processor for executing the computer program in the memory to implement the steps of the method in the first aspect of the present disclosure.
  • a vehicle comprising: an environment perception component, a domain controller, and an actuator;
  • the environment perception component is used for acquiring environment information around the vehicle, and sending the environment information to the domain controller;
  • the domain controller is configured to execute the method described in the first aspect of the present disclosure, and send a control instruction to the executor;
  • the executor is used to execute the control instruction received from the domain controller.
  • the environment perception component includes at least one of the following: a camera, a millimeter-wave radar, a lidar, and an ultrasonic radar.
  • the planned trajectory sequence and the vehicle state matrix of the vehicle corresponding to the first control moment are obtained, wherein the planned trajectory sequence is preliminarily planned based on the artificial potential field planning algorithm, and then, according to the planned trajectory sequence and vehicle state matrix, construct an objective function with the control sequence as an independent variable and with objective constraints, and perform quadratic programming processing on the objective function to obtain the minimum function value of the objective function and satisfy the objective constraints. and control the vehicle according to the target control sequence after the first control time.
  • the quadratic planning method is further used to optimize the preliminary planned trajectory, so that the advantages of the artificial potential field planning algorithm can be retained, and the advantages of the artificial potential field planning algorithm can be used.
  • the characteristics of quadratic programming optimize the problem of insufficient smoothness in artificial potential field planning, while taking into account the driving comfort, and overall achieve the effect of improving automatic driving performance.
  • FIG. 1 is a flowchart of a vehicle control method provided according to an embodiment of the present disclosure
  • FIG. 2 is a schematic diagram of generating a planning trajectory sequence based on an artificial potential field planning algorithm
  • FIG. 3 is a block diagram of a vehicle control device provided according to an embodiment of the present disclosure.
  • FIG. 4 is a block diagram of an electronic device according to an exemplary embodiment
  • Fig. 5 is a block diagram of an electronic device according to an exemplary embodiment.
  • FIG. 1 is a flowchart of a vehicle control method provided according to an embodiment of the present disclosure. As shown in FIG. 1 , the vehicle control method may include the following steps 11 to 14 .
  • step 11 during the running process of the vehicle, the planned trajectory sequence and the vehicle state matrix of the vehicle corresponding to the first control moment are obtained.
  • the first control moment represents the current control moment
  • the purpose of the present disclosure is to plan the subsequent planning trajectory sequence according to the artificial potential field planning algorithm at the current control moment (ie, the first control moment), and based on Plan the trajectory sequence, use the mathematical method of quadratic programming to further optimize the trajectory, in order to obtain a smoother and more comfortable planning result, and control the driving of the vehicle through the control sequence to make the actual driving trajectory of the vehicle as much as possible. Fit the optimized planning results.
  • the subsequent control of the vehicle actually includes at least the control of the next control time at the first control time.
  • next control time When the next control time is reached subsequently, the next control time becomes the current control time, and the next control time will continue to be used as the new first control time, and a series of steps provided by the present disclosure will be re-executed. Therefore, with the method provided by the present disclosure, an optimal solution suitable for the current vehicle condition can be planned in real time according to the current vehicle condition, and the overall performance of the vehicle in automatic driving can be improved.
  • the planned trajectory sequence may include planned positions obtained by planning for each control moment in the discrete time sequence.
  • the discrete time series includes a specified number of control times starting from the second control time, and the second control time is the next control time after the first control time.
  • the planned trajectory sequence may be obtained based on an artificial potential field planning algorithm. Based on the artificial potential field planning algorithm, the planned trajectory sequence can be obtained in the following ways:
  • the artificial potential field planning algorithm is used to sequentially target each control moment in the discrete time series. Generate planning positions to obtain a sequence of planning trajectories.
  • the environment information may include various information that can reflect the surrounding environment of the vehicle, for example, information related to the road the vehicle travels on, information about other vehicles around the vehicle, and information about obstacles around the vehicle. It should be noted that, since vehicle obstacle avoidance is the most basic condition to ensure vehicle safety, the environmental information should at least include obstacle information.
  • an environment perception component may be provided on the vehicle, and the above-mentioned environment information is acquired through the environment perception component.
  • the environment perception component may be composed of sensors, for example, the environment perception component may include, but is not limited to, at least one of the following: a camera, a millimeter-wave radar, a lidar, and an ultrasonic radar.
  • an artificial potential field corresponding to the current environment can be constructed based on a commonly used artificial potential field construction method.
  • the artificial potential field includes a gravitational field and a repulsive force field.
  • the destination the vehicle is about to reach has a gravitational force on the vehicle, which guides the vehicle to move toward it (similar to the heuristic function in the A* algorithm), and the obstacle repulses the vehicle to prevent the vehicle from happening with it. Collision, the artificial potential field can be constructed based on the above ideas.
  • the resultant force experienced by the vehicle at each position on the artificial potential field is equal to the sum of all repulsive and gravitational forces at that position
  • the resultant force experienced by the vehicle at each position in the artificial potential field also knowable.
  • the schematic diagram of the constructed artificial potential field can be shown in Figure 2, in which the gravitational force and the repulsive force are represented by the gradient of color.
  • the repulsion force is the largest, the end point of the vehicle should have the largest gravitational force, and the obstacle repulsion force should also be large.
  • position A is used to represent the starting point (the largest repulsion force)
  • position B is used to represent the end point that the vehicle expects to reach (the largest gravitational force), including 4 a circular obstacle (see the four circular areas in Figure 2).
  • the multiple black dots (small circles) between position A and position B in the figure represent trajectory points, not the composition of the force field.
  • the artificial potential field planning algorithm Based on the constructed artificial potential field, take the current position of the vehicle (that is, the position at the first control moment) as the starting point, and take the target position as the end point, according to the attraction and repulsion at each position in the artificial potential field, use
  • the artificial potential field planning algorithm sequentially generates planned positions for each control moment in the discrete time series to obtain the planned trajectory sequence.
  • a shortest path that can reach the end point can be determined, and each control moment in the discrete time sequence in the path has a corresponding planned position point.
  • the generated planned trajectory sequence can be represented by a set of black dots between position A and position B in FIG. 2 .
  • a control parameter for the current control moment is simulated based on the current position of the vehicle. It is assumed that after using the control parameter for control at the current control moment, the vehicle should reach a new location at the next control moment. position, if the new position is close to the black area, the new control parameters at the next control moment should be set based on the idea of making the vehicle as close to the white area as possible at the next control moment, and so on and so forth, you can obtain When planning the trajectory sequence, at the same time, a series of control parameters (corresponding to each control moment in the discrete time series) that can obtain the planned trajectory sequence will also be obtained together.
  • the control parameter represents a parameter capable of changing the driving state of the vehicle, and may include, for example, a control parameter for the steering wheel angle and/or a control parameter for the accelerator pedal.
  • the vehicle state matrix may include vehicle state information predicted for each control moment in the discrete time series.
  • the vehicle state matrix may be obtained based on a vehicle dynamics model. Based on the vehicle kinematics model, the vehicle state matrix can be obtained in the following ways:
  • the vehicle dynamic model is used to predict the vehicle state information of the vehicle at each control moment in the discrete time series to obtain the vehicle state matrix.
  • the vehicle dynamics model can predict the vehicle state information of the vehicle at the next control time based on the vehicle state information of the vehicle at a certain control time and before this time and the control parameters for this control time.
  • the historical vehicle state may include vehicle state information at the first control moment.
  • the historical vehicle state may also include vehicle state information at several control times before the first control time.
  • the vehicle state information predicted for each control moment in the discrete time series can be obtained to form a vehicle state matrix.
  • the vehicle state information may include vehicle position information, vehicle heading information, and vehicle speed information. Besides, the vehicle state information may also include change information of the above-mentioned information, for example, position change, derivative of position change, heading change, vehicle speed change, and the like.
  • an objective function with the control sequence as an independent variable is constructed according to the planned trajectory sequence and the vehicle state matrix.
  • the objective function has objective constraints on the control sequence.
  • the objective constraints may include, but are not limited to, at least one of the following:
  • the steering wheel angle of the vehicle is within the preset angle range
  • the rotation rate of the steering wheel of the vehicle is within the first preset rate interval
  • the vehicle acceleration is within the preset acceleration range
  • the rate of change of the vehicle acceleration is within the second preset rate interval.
  • the objective function J(U) can be constructed according to the following formula:
  • X is the vehicle state matrix
  • R is the planned trajectory sequence
  • U is the control sequence
  • Q is the first preset weight matrix
  • W is the second preset weight matrix
  • Umin ⁇ U ⁇ Umax and ⁇ Umin ⁇ U ⁇ Umax are the targets Constraints, where Umin is the control lower limit of the control parameter, Umax is the control upper limit of the control parameter, ⁇ U is the parameter change of the control parameter between the adjacent two control moments, and ⁇ Umin is the control parameter in the adjacent ⁇ Umax is the upper limit of the change of the control parameters between the two adjacent control moments before and after.
  • the control sequence may include control parameters for each control moment in the discrete time sequence.
  • the control parameters include a first control parameter for the steering wheel angle and/or a second control parameter for the accelerator pedal.
  • step 13 a quadratic programming process is performed on the objective function to obtain an objective control sequence that can minimize the function value of the objective function and satisfy objective constraints.
  • quadratic programming processing can be performed on the objective function by methods such as effective set method and interior point method.
  • step 14 after the first control time, the vehicle is controlled according to the target control sequence.
  • the target control sequence includes target control parameters corresponding to the second control moment.
  • step 14 may include the following steps:
  • the vehicle is controlled according to the target control parameter.
  • a target control sequence for the first control time is generated based on steps 11 to 13, and the target control sequence contains at least target control parameters corresponding to the second control time, so that when the second control time is reached, the The vehicle is controlled according to the target control parameters.
  • the second control time in the current process can continue to be used as the first control time in the next process, and the above steps 11 to 14 are executed again, so as to , and can also generate new target control parameters for control at a new second control time, and so on and so forth, during the driving process of the vehicle, the subsequent control parameters are continuously revised to optimize the vehicle's driving trajectory.
  • the planned trajectory sequence and the vehicle state matrix of the vehicle corresponding to the first control moment are obtained, wherein the planned trajectory sequence is preliminarily planned based on the artificial potential field planning algorithm, and then, according to the planned trajectory sequence and vehicle state matrix, construct an objective function with the control sequence as an independent variable and with objective constraints, and perform quadratic programming processing on the objective function to obtain the minimum function value of the objective function and satisfy the objective constraints. and control the vehicle according to the target control sequence after the first control time.
  • the quadratic planning method is further used to optimize the preliminary planned trajectory, so that the advantages of the artificial potential field planning algorithm can be retained, and the advantages of the artificial potential field planning algorithm can be used.
  • the characteristics of quadratic programming optimize the problem of insufficient smoothness in artificial potential field planning, while taking into account the driving comfort, and overall achieve the effect of improving automatic driving performance.
  • FIG. 3 is a block diagram of a vehicle control apparatus provided according to an embodiment of the present disclosure. As shown in Figure 3, the device 30 includes:
  • the obtaining module 31 is configured to obtain the planned trajectory sequence and the vehicle state matrix of the vehicle corresponding to the first control moment during the driving process of the vehicle, the planned trajectory sequence is obtained based on the artificial potential field planning algorithm, and the vehicle state matrix is obtained based on the vehicle dynamics model;
  • the function construction module 32 is used for constructing an objective function with the control sequence as an independent variable according to the planned trajectory sequence and the vehicle state matrix, and the objective function has objective constraints for the control sequence;
  • the processing module 33 is used to perform quadratic programming processing on the objective function, so as to obtain an objective control sequence that can minimize the function value of the objective function and satisfy the objective constraint condition;
  • the control module 34 is configured to control the vehicle according to the target control sequence after the first control time.
  • the planned trajectory sequence includes planned positions obtained by planning for each control time in the discrete time sequence, and the discrete time sequence includes a specified number of control times starting from the second control time, and the second control time is the first control time. The next control moment of the moment.
  • the planned trajectory sequence is obtained by:
  • the artificial potential field planning algorithm is used to sequentially target each control moment in the discrete time series. Generate planning positions to obtain a sequence of planning trajectories.
  • the vehicle state matrix includes vehicle state information predicted for each control moment in the discrete time series, the discrete time series includes a specified number of control moments starting from the second control moment, and the second control moment is the first control moment. The next control time of the control time.
  • the vehicle state matrix is obtained by:
  • the vehicle dynamic model is used to predict the vehicle state information of the vehicle at each control moment in the discrete time series to obtain the vehicle state matrix.
  • the vehicle state information includes vehicle position information, vehicle heading information and vehicle speed information.
  • the objective constraints include at least one of the following:
  • the steering wheel angle of the vehicle is within the preset angle range
  • the rotation rate of the steering wheel of the vehicle is within the first preset rate interval
  • the vehicle acceleration is within the preset acceleration range
  • the rate of change of the vehicle acceleration is within the second preset rate interval.
  • control sequence includes control parameters for each control moment in the discrete time sequence, the discrete time sequence includes a specified number of control moments starting from the second control moment, and the second control moment is the next time the first control moment. A moment of control.
  • X is the vehicle state matrix
  • R is the planned trajectory sequence
  • U is the control sequence
  • Q is the first preset weight matrix
  • W is the second preset weight matrix
  • Umin ⁇ U ⁇ Umax and ⁇ Umin ⁇ U ⁇ Umax are the targets Constraints, where Umin is the control lower limit of the control parameter, Umax is the control upper limit of the control parameter, ⁇ U is the parameter change of the control parameter between the adjacent two control moments, and ⁇ Umin is the control parameter in the adjacent ⁇ Umax is the upper limit of the change of the control parameters between the two adjacent control moments before and after.
  • control parameters include a first control parameter for the steering wheel angle and/or a second control parameter for the accelerator pedal.
  • the target control sequence includes target control parameters corresponding to the second control moment, and the second control moment is the next control moment of the first control moment;
  • the control module 34 is configured to control the vehicle according to the target control parameter at the second control moment.
  • the present disclosure also provides a vehicle including: an environment perception component, a domain controller, and an actuator;
  • the environment perception component is used to obtain the environment information around the vehicle and send the environment information to the domain controller;
  • the domain controller is configured to execute the vehicle control method of any embodiment of the present disclosure, and send a control instruction to the actuator;
  • the executor is used to execute the control instructions received from the domain controller.
  • the environment perception component may include at least one of the following: a camera, a millimeter-wave radar, a lidar, and an ultrasonic radar.
  • FIG. 4 is a block diagram of an electronic device 700 according to an exemplary embodiment.
  • the electronic device 700 may include: a processor 701 and a memory 702 .
  • the electronic device 700 may also include one or more of a multimedia component 703 , an input/output (I/O) interface 704 , and a communication component 705 .
  • I/O input/output
  • the processor 701 is used to control the overall operation of the electronic device 700 to complete all or part of the steps in the above-mentioned vehicle control method.
  • the memory 702 is used to store various types of data to support operations on the electronic device 700, such data may include, for example, instructions for any application or method operating on the electronic device 700, and application-related data, Such as contact data, messages sent and received, pictures, audio, video, and so on.
  • the memory 702 can be implemented by any type of volatile or non-volatile storage device or their combination, such as static random access memory (Static Random Access Memory, SRAM for short), electrically erasable programmable read-only memory ( Electrically Erasable Programmable Read-Only Memory (EEPROM for short), Erasable Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read-Only Memory (Read-Only Memory, ROM for short), magnetic memory, flash memory, magnetic disk or optical disk.
  • Multimedia components 703 may include screen and audio components. Wherein the screen can be, for example, a touch screen, and the audio component is used for outputting and/or inputting audio signals.
  • the audio component may include a microphone for receiving external audio signals.
  • the received audio signal may be further stored in memory 702 or transmitted through communication component 705 .
  • the audio assembly also includes at least one speaker for outputting audio signals.
  • the I/O interface 704 provides an interface between the processor 701 and other interface modules, and the above-mentioned other interface modules may be a keyboard, a mouse, a button, and the like. These buttons can be virtual buttons or physical buttons.
  • the communication component 705 is used for wired or wireless communication between the electronic device 700 and other devices. Wireless communication, such as Wi-Fi, Bluetooth, Near Field Communication (NFC), 2G, 3G, 4G, NB-IOT, eMTC, or other 5G, etc., or one or more of them The combination is not limited here. Therefore, the corresponding communication component 705 may include: Wi-Fi module, Bluetooth module, NFC module and so on.
  • the electronic device 700 may be implemented by one or more application-specific integrated circuits (Application Specific Integrated Circuit, ASIC for short), digital signal processors (Digital Signal Processor, DSP for short), digital signal processing devices (Digital Signal Processing Device (DSPD), Programmable Logic Device (PLD), Field Programmable Gate Array (FPGA), controller, microcontroller, microprocessor or other electronic components
  • ASIC Application Specific Integrated Circuit
  • DSP Digital Signal Processor
  • DSP digital signal processing devices
  • DSPD Digital Signal Processing Device
  • PLD Programmable Logic Device
  • FPGA Field Programmable Gate Array
  • controller microcontroller, microprocessor or other electronic components
  • microcontroller microprocessor or other electronic components
  • a computer-readable storage medium including program instructions, the program instructions implementing the steps of the above-mentioned vehicle control method when executed by a processor.
  • the computer-readable storage medium can be the above-mentioned memory 702 including program instructions, and the above-mentioned program instructions can be executed by the processor 701 of the electronic device 700 to complete the above-mentioned vehicle control method.
  • FIG. 5 is a block diagram of an electronic device 1900 according to an exemplary embodiment.
  • the electronic device 1900 may be provided as a server. 5
  • the electronic device 1900 includes a processor 1922 , which may be one or more in number, and a memory 1932 for storing computer programs executable by the processor 1922 .
  • a computer program stored in memory 1932 may include one or more modules, each corresponding to a set of instructions.
  • the processor 1922 may be configured to execute the computer program to perform the vehicle control method described above.
  • the electronic device 1900 may also include a power supply assembly 1926, which may be configured to perform power management of the electronic device 1900, and a communication component 1950, which may be configured to enable communication of the electronic device 1900, eg, wired or wireless communication. Additionally, the electronic device 1900 may also include an input/output (I/O) interface 1958 . Electronic device 1900 may operate based on an operating system stored in memory 1932, such as Windows Server TM , Mac OS X TM , Unix TM , Linux TM , and the like.
  • an operating system stored in memory 1932, such as Windows Server TM , Mac OS X TM , Unix TM , Linux TM , and the like.
  • a computer-readable storage medium including program instructions, the program instructions implementing the steps of the above-mentioned vehicle control method when executed by a processor.
  • the computer-readable storage medium can be the above-mentioned memory 1932 including program instructions, and the above-mentioned program instructions can be executed by the processor 1922 of the electronic device 1900 to implement the above-mentioned vehicle control method.
  • a computer program product comprising a computer program executable by a programmable apparatus, the computer program having, when executed by the programmable apparatus, for performing the above The code section of the vehicle control method.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Remote Sensing (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Aviation & Aerospace Engineering (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Electromagnetism (AREA)
  • Optics & Photonics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Multimedia (AREA)
  • Acoustics & Sound (AREA)
  • Control Of Driving Devices And Active Controlling Of Vehicle (AREA)

Abstract

A vehicle control method, a vehicle control apparatus (30), a storage medium, an electronic device (700, 1900) and a vehicle, so as to optimize the planning of a vehicle traveling trajectory and improve the performance of autonomous driving. The vehicle control method comprises: during a vehicle traveling process, acquiring a planned trajectory sequence and a vehicle state matrix of a vehicle that correspond to a first control moment (11), wherein the planned trajectory sequence is obtained on the basis of an artificial potential field planning algorithm, and the vehicle state matrix is obtained on the basis of a vehicle dynamics model; according to the planned trajectory sequence and the vehicle state matrix, constructing an objective function taking a control sequence as an argument (12), wherein the objective function carries a target constraint condition for the control sequence; performing secondary planning processing on the objective function, so as to obtain a target control sequence capable of minimizing the function value of the objective function and meeting the target constraint condition (13); and after the first control moment, controlling the vehicle according to the target control sequence (14).

Description

车辆控制方法、装置、存储介质、电子设备及车辆Vehicle control method, device, storage medium, electronic device, and vehicle
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本申请基于申请号为202110402428.9、申请日为2021年04月14日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。This application is based on the Chinese patent application with the application number of 202110402428.9 and the filing date of April 14, 2021, and claims the priority of the Chinese patent application. The entire content of the Chinese patent application is incorporated herein by reference.
技术领域technical field
本公开涉及车辆领域,具体地,涉及一种车辆控制方法、装置、存储介质、电子设备及车辆。The present disclosure relates to the field of vehicles, and in particular, to a vehicle control method, device, storage medium, electronic device, and vehicle.
背景技术Background technique
目前,自动驾驶路径规划一般采用人工势场法,但在人工势场的构建过程中,虽然可以实现场表面的平滑,但是规划所得的轨迹通常无法满足自动驾驶轨迹平滑和车辆控制平滑的需求,即,规划所得轨迹超出车辆跟踪的范围,这在自动驾驶场景中存在隐患,不仅会使车辆自控不稳定,发生例如抖动等情况,还容易使车辆发出危险的自主行为,无法保证行车安全。At present, the artificial potential field method is generally used for automatic driving path planning, but in the process of constructing the artificial potential field, although the field surface can be smoothed, the planned trajectory usually cannot meet the needs of automatic driving trajectory smoothness and vehicle control smoothness. That is, the trajectory obtained by planning exceeds the range of vehicle tracking, which is a hidden danger in autonomous driving scenarios. It will not only make the vehicle's automatic control unstable, such as shaking, but also easily cause the vehicle to emit dangerous autonomous behaviors, which cannot guarantee driving safety.
发明内容SUMMARY OF THE INVENTION
本公开的目的是提供一种车辆控制方法、装置、存储介质、电子设备及车辆,以对车辆行驶轨迹的规划进行优化,提升自动驾驶性能。The purpose of the present disclosure is to provide a vehicle control method, device, storage medium, electronic device and vehicle, so as to optimize the planning of the vehicle's driving trajectory and improve the automatic driving performance.
为了实现上述目的,根据本公开的第一方面,提供一种车辆控制方法,所述方法包括:In order to achieve the above object, according to a first aspect of the present disclosure, a vehicle control method is provided, the method comprising:
在车辆行驶过程中,获取所述车辆对应于第一控制时刻的规划轨迹序列和车辆状态矩阵,所述规划轨迹序列基于人工势场规划算法获得,所述车辆状态矩阵基于车辆动力学模型获得;During the driving of the vehicle, a planned trajectory sequence and a vehicle state matrix of the vehicle corresponding to the first control moment are obtained, the planned trajectory sequence is obtained based on an artificial potential field planning algorithm, and the vehicle state matrix is obtained based on a vehicle dynamics model;
根据所述规划轨迹序列和所述车辆状态矩阵,构建以控制序列为自变量的目标函数,且所述目标函数带有针对所述控制序列的目标约束条件;According to the planned trajectory sequence and the vehicle state matrix, construct an objective function with a control sequence as an independent variable, and the objective function has objective constraints for the control sequence;
对所述目标函数进行二次规划处理,以获得能够使所述目标函数的函数值最小、且满足所述目标约束条件的目标控制序列;performing quadratic programming processing on the objective function to obtain an objective control sequence that can minimize the function value of the objective function and satisfy the objective constraint condition;
在所述第一控制时刻之后,根据所述目标控制序列控制所述车辆。After the first control time, the vehicle is controlled according to the target control sequence.
可选地,所述规划轨迹序列包括针对离散时间序列中各个控制时刻规划得到的规划位置,所述离散时间序列包括以第二控制时刻为时间起点的指定数量的控制时刻,且所述第二控制时刻为第一控制时刻的下一控制时刻。Optionally, the planned trajectory sequence includes planned positions obtained by planning for each control moment in the discrete time sequence, the discrete time sequence includes a specified number of control moments starting from the second control moment, and the second The control time is the next control time after the first control time.
可选地,所述规划轨迹序列通过以下方式获得:Optionally, the planned trajectory sequence is obtained by:
获取所述车辆周边的环境信息,所述环境信息至少包括障碍物信息;acquiring environmental information around the vehicle, where the environmental information at least includes obstacle information;
根据所述环境信息,构建人工势场;constructing an artificial potential field according to the environmental information;
以所述车辆在所述第一控制时刻所处的位置为起点,并以目标位置为终点,根据所述人工势场中各位置处的引力和斥力,利用人工势场规划算法依次针对所述离散时间序列中的各个控制时刻生成规划位置,以获得所述规划轨迹序列。Taking the position of the vehicle at the first control moment as the starting point, and taking the target position as the end point, according to the attraction and repulsion at each position in the artificial potential field, the artificial potential field planning algorithm is used to sequentially target the The planned positions are generated at each control instant in the discrete time series to obtain the planned trajectory sequence.
可选地,所述车辆状态矩阵包括针对离散时间序列中各个控制时刻预测得到的车辆状态信息,所述离散时间序列包括以第二控制时刻为时间起点的指定数量的控制时刻,且所述第二控制时刻为第一控制时刻的下一控制时刻。Optionally, the vehicle state matrix includes vehicle state information predicted for each control moment in a discrete time series, the discrete time series includes a specified number of control moments starting from the second control moment, and the first The second control time is the next control time of the first control time.
可选地,所述车辆状态矩阵通过以下方式获得:Optionally, the vehicle state matrix is obtained by:
获取所述车辆在历史行驶过程中的车辆状态信息,作为历史车辆状态;Obtain the vehicle state information of the vehicle during the historical driving process as the historical vehicle state;
根据所述历史车辆状态,利用车辆动力学模型预测所述车辆在所述离散时间序列中各个控制时刻的车辆状态信息,以获得所述车辆状态矩阵。According to the historical vehicle state, the vehicle state information of the vehicle at each control moment in the discrete time series is predicted by using a vehicle dynamics model, so as to obtain the vehicle state matrix.
可选地,所述车辆状态信息包括车辆位置信息、车辆航向信息和车速信息。Optionally, the vehicle state information includes vehicle position information, vehicle heading information and vehicle speed information.
可选地,所述目标约束条件包括以下中的至少一者:Optionally, the target constraints include at least one of the following:
车辆方向盘转角处于预设角度区间内;The steering wheel angle of the vehicle is within the preset angle range;
车辆方向盘的转动速率处于第一预设速率区间内;The rotation rate of the steering wheel of the vehicle is within the first preset rate interval;
车辆加速度处于预设加速度区间内;The vehicle acceleration is within the preset acceleration range;
车辆加速度的变化速率处于第二预设速率区间内。The rate of change of the vehicle acceleration is within the second preset rate interval.
可选地,所述控制序列包括针对离散时间序列中各个控制时刻的控制参数,所述离散时间序列包括以第二控制时刻为时间起点的指定数量的控制时刻,且所述第二控制时刻为第一控制时刻的下一控制时刻。Optionally, the control sequence includes control parameters for each control moment in the discrete time sequence, the discrete time sequence includes a specified number of control moments starting from a second control moment, and the second control moment is The next control time of the first control time.
可选地,按照如下算式构建所述目标函数J(U):Optionally, construct the objective function J(U) according to the following formula:
J(U)=(X-R) T Q(X-R)+U TWU J(U)=(XR) T Q(XR)+U T WU
Umin≤U≤UmaxUmin≤U≤Umax
ΔUmin≤ΔU≤ΔUmaxΔUmin≤ΔU≤ΔUmax
其中,X为所述车辆状态矩阵,R为所述规划轨迹序列,U为所述控制序列,Q为第一预设权重矩阵,W为第二预设权重矩阵,Umin≤U≤Umax和ΔUmin≤ΔU≤ΔUmax为所述目标约束条件,其中,所述Umin为所述控制参数的控制下限,所述Umax为所述控制参数的控制上限,所述ΔU为所述控制参数在相邻的前、后两个控制时刻之间的参数变化量,所述ΔUmin为所述控制参数在相邻的前、后两个控制时刻之间的变化下限,所述ΔUmax为控制参数在相邻的前、后两个控制时刻之间的变化上限。Wherein, X is the vehicle state matrix, R is the planned trajectory sequence, U is the control sequence, Q is the first preset weight matrix, W is the second preset weight matrix, Umin≤U≤Umax and ΔUmin ≤ΔU≤ΔUmax is the target constraint condition, where the Umin is the lower control limit of the control parameter, the Umax is the upper control limit of the control parameter, and the ΔU is the control parameter before the adjacent one. , the parameter change amount between the last two control moments, the ΔUmin is the lower limit of the change of the control parameter between the adjacent two control moments, and the ΔUmax is the control parameter in the adjacent front, The upper limit of change between the last two control moments.
可选地,所述控制参数包括针对方向盘转角的第一控制参数和/或针对油门踏板的第二控制参数。Optionally, the control parameters include a first control parameter for the steering wheel angle and/or a second control parameter for the accelerator pedal.
可选地,所述目标控制序列包括对应于第二控制时刻的目标控制参数,所述第二控制时刻为所述第一控制时刻的下一控制时刻;Optionally, the target control sequence includes target control parameters corresponding to a second control moment, and the second control moment is the next control moment of the first control moment;
所述在所述第一控制时刻之后,根据所述目标控制序列控制所述车辆,包括:The controlling the vehicle according to the target control sequence after the first control time includes:
在所述第二控制时刻,按照所述目标控制参数对所述车辆进行控制。At the second control time, the vehicle is controlled according to the target control parameter.
根据本公开的第二方面,提供一种车辆控制装置,所述装置包括:According to a second aspect of the present disclosure, there is provided a vehicle control device comprising:
获取模块,用于在车辆行驶过程中,获取所述车辆对应于第一控制时刻的规划轨迹序列和车辆状态矩阵,所述规划轨迹序列基于人工势场规划算法获得,所述车辆状态矩阵基于车辆动力学模型获得;an acquisition module, configured to acquire a planned trajectory sequence and a vehicle state matrix of the vehicle corresponding to the first control moment during the driving process of the vehicle, the planned trajectory sequence is obtained based on an artificial potential field planning algorithm, and the vehicle state matrix is based on the vehicle Kinetic model acquisition;
函数构建模块,用于根据所述规划轨迹序列和所述车辆状态矩阵,构建以控制序列为自变量的目标函数,且所述目标函数带有针对所述控制序列的目标约束条件;a function construction module, configured to construct an objective function with a control sequence as an independent variable according to the planned trajectory sequence and the vehicle state matrix, and the objective function has objective constraints for the control sequence;
处理模块,用于对所述目标函数进行二次规划处理,以获得能够使所述目标函数的函数值最小、且满足所述目标约束条件的目标控制序列;a processing module, configured to perform quadratic programming processing on the objective function, so as to obtain an objective control sequence that can minimize the function value of the objective function and satisfy the objective constraint condition;
控制模块,用于在所述第一控制时刻之后,根据所述目标控制序列控制所述车辆。and a control module, configured to control the vehicle according to the target control sequence after the first control time.
可选地,所述规划轨迹序列包括针对离散时间序列中各个控制时刻规划得到的规划位置,所述离散时间序列包括以第二控制时刻为时间起点的指定数量的控制时刻,且所述第二控制时刻为第一控制时刻的下一控制时刻。Optionally, the planned trajectory sequence includes planned positions obtained by planning for each control moment in the discrete time sequence, the discrete time sequence includes a specified number of control moments starting from the second control moment, and the second The control time is the next control time after the first control time.
可选地,所述规划轨迹序列通过以下方式获得:Optionally, the planned trajectory sequence is obtained by:
获取所述车辆周边的环境信息,所述环境信息至少包括障碍物信息;acquiring environmental information around the vehicle, where the environmental information at least includes obstacle information;
根据所述环境信息,构建人工势场;constructing an artificial potential field according to the environmental information;
以所述车辆在所述第一控制时刻所处的位置为起点,并以目标位置为终点,根据所述人工势场中各位置处的引力和斥力,利用人工势场规划算法依次针对所述离散时间序列中的各个控制时刻生成规划位置,以获得所述规划轨迹序列。Taking the position of the vehicle at the first control moment as the starting point, and taking the target position as the end point, according to the attraction and repulsion at each position in the artificial potential field, the artificial potential field planning algorithm is used to sequentially target the The planned positions are generated at each control instant in the discrete time series to obtain the planned trajectory sequence.
可选地,所述车辆状态矩阵包括针对离散时间序列中各个控制时刻预测得到的车辆状态信息,所述离散时间序列包括以第二控制时刻为时间起点的指定数量的控制时刻,且所述第二控制时刻为第一控制时刻的下一控制时刻。Optionally, the vehicle state matrix includes vehicle state information predicted for each control moment in a discrete time series, the discrete time series includes a specified number of control moments starting from the second control moment, and the first The second control time is the next control time of the first control time.
可选地,所述车辆状态矩阵通过以下方式获得:Optionally, the vehicle state matrix is obtained by:
获取所述车辆在历史行驶过程中的车辆状态信息,作为历史车辆状态;Obtain the vehicle state information of the vehicle during the historical driving process as the historical vehicle state;
根据所述历史车辆状态,利用车辆动力学模型预测所述车辆在所述离散时间序列中各个控制时刻的车辆状态信息,以获得所述车辆状态矩阵。According to the historical vehicle state, the vehicle state information of the vehicle at each control moment in the discrete time series is predicted by using a vehicle dynamics model, so as to obtain the vehicle state matrix.
可选地,所述车辆状态信息包括车辆位置信息、车辆航向信息和车速信息。Optionally, the vehicle state information includes vehicle position information, vehicle heading information and vehicle speed information.
可选地,所述目标约束条件包括以下中的至少一者:Optionally, the target constraints include at least one of the following:
车辆方向盘转角处于预设角度区间内;The steering wheel angle of the vehicle is within the preset angle range;
车辆方向盘的转动速率处于第一预设速率区间内;The rotation rate of the steering wheel of the vehicle is within the first preset rate interval;
车辆加速度处于预设加速度区间内;The vehicle acceleration is within the preset acceleration range;
车辆加速度的变化速率处于第二预设速率区间内。The rate of change of the vehicle acceleration is within the second preset rate interval.
可选地,所述控制序列包括针对离散时间序列中各个控制时刻的控制参数,所述离散时间序列包括以第二控制时刻为时间起点的指定数量的控制时刻,且所述第二控制时刻为第一控制时刻的下一控制时刻。Optionally, the control sequence includes control parameters for each control moment in the discrete time sequence, the discrete time sequence includes a specified number of control moments starting from a second control moment, and the second control moment is The next control time of the first control time.
可选地,按照如下算式构建所述目标函数J(U):Optionally, construct the objective function J(U) according to the following formula:
J(U)=(X-R) T Q(X-R)+U TWU J(U)=(XR) T Q(XR)+U T WU
Umin≤U≤UmaxUmin≤U≤Umax
ΔUmin≤ΔU≤ΔUmaxΔUmin≤ΔU≤ΔUmax
其中,X为所述车辆状态矩阵,R为所述规划轨迹序列,U为所述控制序列,Q为第一预设权重矩阵,W为第二预设权重矩阵,Umin≤U≤Umax和ΔUmin≤ΔU≤ΔUmax为所述目标约束条件,其中,所述Umin为所述控制参数的控制下限,所述Umax为所述控制参数的控制上限,所述ΔU为所述控制参数在相邻的前、后两个控制时刻之间的参数变化量,所述ΔUmin为所述控制参数在相邻的前、后两个控制时刻之间的变化下限,所述ΔUmax为控制参数在相邻的前、后两个控制时刻之间的变化上限。Wherein, X is the vehicle state matrix, R is the planned trajectory sequence, U is the control sequence, Q is the first preset weight matrix, W is the second preset weight matrix, Umin≤U≤Umax and ΔUmin ≤ΔU≤ΔUmax is the target constraint condition, where the Umin is the lower control limit of the control parameter, the Umax is the upper control limit of the control parameter, and the ΔU is the control parameter before the adjacent one. , the parameter change amount between the last two control moments, the ΔUmin is the lower limit of the change of the control parameter between the adjacent two control moments, and the ΔUmax is the control parameter in the adjacent front, The upper limit of change between the last two control moments.
可选地,所述控制参数包括针对方向盘转角的第一控制参数和/或针对油门踏板的第二控制参数。Optionally, the control parameters include a first control parameter for the steering wheel angle and/or a second control parameter for the accelerator pedal.
可选地,所述目标控制序列包括对应于第二控制时刻的目标控制参数,所述第二控制时刻为所述第一控制时刻的下一控制时刻;Optionally, the target control sequence includes target control parameters corresponding to a second control moment, and the second control moment is the next control moment of the first control moment;
所述控制模块用于在所述第二控制时刻,按照所述目标控制参数对所述车辆进行控制。The control module is configured to control the vehicle according to the target control parameter at the second control moment.
根据本公开的第三方面,提供一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现本公开第一方面所述方法的步骤。According to a third aspect of the present disclosure, there is provided a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, implements the steps of the method described in the first aspect of the present disclosure.
根据本公开的第四方面,提供一种电子设备,包括:According to a fourth aspect of the present disclosure, there is provided an electronic device, comprising:
存储器,其上存储有计算机程序;a memory on which a computer program is stored;
处理器,用于执行所述存储器中的所述计算机程序,以实现本公开第一方面所述方法的步骤。A processor for executing the computer program in the memory to implement the steps of the method in the first aspect of the present disclosure.
根据本公开的第五方面,提供一种车辆,所述车辆包括:环境感知组件、域控制器和执行器;According to a fifth aspect of the present disclosure, there is provided a vehicle, the vehicle comprising: an environment perception component, a domain controller, and an actuator;
所述环境感知组件用于获取车辆周边的环境信息,并将所述环境信息发送至所述域控制器;The environment perception component is used for acquiring environment information around the vehicle, and sending the environment information to the domain controller;
所述域控制器用于执行本公开第一方面所述的方法,以及,向所述执行器发送控制指令;The domain controller is configured to execute the method described in the first aspect of the present disclosure, and send a control instruction to the executor;
所述执行器用于执行从所述域控制器接收到的所述控制指令。The executor is used to execute the control instruction received from the domain controller.
可选地,所述环境感知组件包括以下中的至少一者:摄像头、毫米波雷达、激光雷达、超声波雷达。Optionally, the environment perception component includes at least one of the following: a camera, a millimeter-wave radar, a lidar, and an ultrasonic radar.
通过上述技术方案,在车辆行驶过程中,获取车辆对应于第一控制时刻的规划轨迹序列和车辆状态矩阵,其中,规划轨迹序列是基于人工势场规划算法初步规划出的,之后,根据规划轨迹序列和车辆状态矩阵,构建以控制序列为自变量、且带有目标约束条件的目标函数,并对目标函数进行二次规划处理,以得到能够使目标函数的函数 值最小、且满足目标约束条件的目标控制序列,并在第一控制时刻之后根据该目标控制序列对车辆进行控制。由此,在基于人工势场对车辆的行驶轨迹进行初步规划之后,进一步利用二次规划的方式对初步规划后的轨迹进行优化,从而,既能够保留人工势场规划算法的优势,又能够利用二次规划的特性,对人工势场规划中存在的平滑性不足的问题进行优化,同时兼顾驾驶舒适性,整体上达到提升自动驾驶性能的效果。Through the above technical solution, during the driving process of the vehicle, the planned trajectory sequence and the vehicle state matrix of the vehicle corresponding to the first control moment are obtained, wherein the planned trajectory sequence is preliminarily planned based on the artificial potential field planning algorithm, and then, according to the planned trajectory sequence and vehicle state matrix, construct an objective function with the control sequence as an independent variable and with objective constraints, and perform quadratic programming processing on the objective function to obtain the minimum function value of the objective function and satisfy the objective constraints. and control the vehicle according to the target control sequence after the first control time. Therefore, after the preliminary planning of the vehicle's driving trajectory based on the artificial potential field, the quadratic planning method is further used to optimize the preliminary planned trajectory, so that the advantages of the artificial potential field planning algorithm can be retained, and the advantages of the artificial potential field planning algorithm can be used. The characteristics of quadratic programming optimize the problem of insufficient smoothness in artificial potential field planning, while taking into account the driving comfort, and overall achieve the effect of improving automatic driving performance.
本公开的其他特征和优点将在随后的具体实施方式部分予以详细说明。Other features and advantages of the present disclosure will be described in detail in the detailed description that follows.
附图说明Description of drawings
附图是用来提供对本公开的进一步理解,并且构成说明书的一部分,与下面的具体实施方式一起用于解释本公开,但并不构成对本公开的限制。在附图中:The accompanying drawings are used to provide a further understanding of the present disclosure, and constitute a part of the specification, and together with the following detailed description, are used to explain the present disclosure, but not to limit the present disclosure. In the attached image:
图1是根据本公开的一种实施方式提供的车辆控制方法的流程图;FIG. 1 is a flowchart of a vehicle control method provided according to an embodiment of the present disclosure;
图2是基于人工势场规划算法生成规划轨迹序列的示意图;2 is a schematic diagram of generating a planning trajectory sequence based on an artificial potential field planning algorithm;
图3是根据本公开的一种实施方式提供的车辆控制装置的框图;3 is a block diagram of a vehicle control device provided according to an embodiment of the present disclosure;
图4是根据一示例性实施例示出的一种电子设备的框图;4 is a block diagram of an electronic device according to an exemplary embodiment;
图5是根据一示例性实施例示出的一种电子设备的框图。Fig. 5 is a block diagram of an electronic device according to an exemplary embodiment.
具体实施方式Detailed ways
以下结合附图对本公开的具体实施方式进行详细说明。应当理解的是,此处所描述的具体实施方式仅用于说明和解释本公开,并不用于限制本公开。The specific embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are only used to illustrate and explain the present disclosure, but not to limit the present disclosure.
图1是根据本公开的一种实施方式提供的车辆控制方法的流程图。如图1所示,该车辆控制方法可以包括如下步骤11至步骤14。FIG. 1 is a flowchart of a vehicle control method provided according to an embodiment of the present disclosure. As shown in FIG. 1 , the vehicle control method may include the following steps 11 to 14 .
在步骤11中,在车辆行驶过程中,获取车辆对应于第一控制时刻的规划轨迹序列和车辆状态矩阵。In step 11, during the running process of the vehicle, the planned trajectory sequence and the vehicle state matrix of the vehicle corresponding to the first control moment are obtained.
在本公开中,第一控制时刻代表当前的控制时刻,本公开的目的在于在当前的控制时刻(即,第一控制时刻),根据人工势场规划算法规划出后续的规划轨迹序列,并基于规划轨迹序列,利用二次规划的数学方法对轨迹进行进一步的优化,以期望获得更加平滑、舒适的规划结果,并通过控制序列对车辆的行驶进行控制,以使车辆的实际行驶轨迹尽可能地贴合优化后的规划结果。在这里,对车辆的后续控制实际上至少包含了对第一控制时刻的下一控制时刻的控制。而在后续到达下一控制时刻时,下一控制时刻变成当前的控制时刻,还会继续将下一控制时刻作为新的第一控制时刻,重新执行本公开提供的一系列步骤。从而,通过本公开提供的方法,能够实时地根据当前的车辆情况规划出适合于当前车辆情况的最优解,提升车辆在自动驾驶中的整体性能。In the present disclosure, the first control moment represents the current control moment, and the purpose of the present disclosure is to plan the subsequent planning trajectory sequence according to the artificial potential field planning algorithm at the current control moment (ie, the first control moment), and based on Plan the trajectory sequence, use the mathematical method of quadratic programming to further optimize the trajectory, in order to obtain a smoother and more comfortable planning result, and control the driving of the vehicle through the control sequence to make the actual driving trajectory of the vehicle as much as possible. Fit the optimized planning results. Here, the subsequent control of the vehicle actually includes at least the control of the next control time at the first control time. When the next control time is reached subsequently, the next control time becomes the current control time, and the next control time will continue to be used as the new first control time, and a series of steps provided by the present disclosure will be re-executed. Therefore, with the method provided by the present disclosure, an optimal solution suitable for the current vehicle condition can be planned in real time according to the current vehicle condition, and the overall performance of the vehicle in automatic driving can be improved.
参照上述思路,规划轨迹序列可以包括针对离散时间序列中各个控制时刻规划得到的规划位置。其中,离散时间序列包括以第二控制时刻为时间起点的指定数量的控制时刻,且第二控制时刻为第一控制时刻的下一控制时刻。Referring to the above idea, the planned trajectory sequence may include planned positions obtained by planning for each control moment in the discrete time sequence. Wherein, the discrete time series includes a specified number of control times starting from the second control time, and the second control time is the next control time after the first control time.
示例地,规划轨迹序列可以基于人工势场规划算法获得。基于人工势场规划算法,规划轨迹序列可以通过以下方式获得:Illustratively, the planned trajectory sequence may be obtained based on an artificial potential field planning algorithm. Based on the artificial potential field planning algorithm, the planned trajectory sequence can be obtained in the following ways:
获取车辆周边的环境信息;Obtain environmental information around the vehicle;
根据环境信息,构建人工势场;According to the environmental information, construct an artificial potential field;
以车辆在第一控制时刻所处的位置为起点,并以目标位置为终点,根据人工势场中各位置处的引力和斥力,利用人工势场规划算法依次针对离散时间序列中的各个控制时刻生成规划位置,以获得规划轨迹序列。Taking the position of the vehicle at the first control moment as the starting point and the target position as the end point, according to the attraction and repulsion at each position in the artificial potential field, the artificial potential field planning algorithm is used to sequentially target each control moment in the discrete time series. Generate planning positions to obtain a sequence of planning trajectories.
其中,环境信息可以包含能够反映车辆周边环境的各种信息,例如,与车辆所行驶道路有关的信息、本车周边其他车辆的信息、本车周边的障碍物的信息等。需要注意的是,由于车辆避障是保证车辆安全的最基础条件,因此,环境信息应当至少包括障碍物信息。The environment information may include various information that can reflect the surrounding environment of the vehicle, for example, information related to the road the vehicle travels on, information about other vehicles around the vehicle, and information about obstacles around the vehicle. It should be noted that, since vehicle obstacle avoidance is the most basic condition to ensure vehicle safety, the environmental information should at least include obstacle information.
示例地,车辆上可以设置有环境感知组件,通过环境感知组件获取上述环境信息。环境感知组件可以由传感器构成,例如,环境感知组件可以包括但不限于以下中的至少一者:摄像头、毫米波雷达、激光雷达、超声波雷达。For example, an environment perception component may be provided on the vehicle, and the above-mentioned environment information is acquired through the environment perception component. The environment perception component may be composed of sensors, for example, the environment perception component may include, but is not limited to, at least one of the following: a camera, a millimeter-wave radar, a lidar, and an ultrasonic radar.
在获取到环境信息后,根据该环境信息,基于目前常用的人工势场构建方法,能够构建出当前环境对应的人工势场。人工势场包括引力场和斥力场,车辆将要到达的目的地对车辆产生引力,引导车辆朝向其运动(类似于A*算法中的启发函数),障碍物对车辆产生斥力,避免车辆与之发生碰撞,基于上述思想可以实现对人工势场的构建。在完成人工势场的构建的同时,基于车辆在人工势场上每一位置所受的合力等于这一位置处所有斥力和引力的和这一思想,人工势场中各个位置车辆所受到的合力也是可知的。示例地,构建完毕的人工势场的示意图可以如图2所示,其中,用颜色的渐变表征引力和斥力,越接近黑色表示斥力越大,越接近白色表示引力越大,车辆的起点处应当斥力最大,车辆的终点处应当引力最大,障碍物斥力也应当很大,在图2中用位置A表示起点(斥力最大),用位置B表示车辆期望到达的终点(引力最大),还包含4个圆形障碍物(参见图2中的四个圆形区域)。需要说明的是,图中位置A与位置B之间多个黑色点(小圆点)表征的是轨迹点,并非是势力场的构成内容。After the environmental information is acquired, according to the environmental information, an artificial potential field corresponding to the current environment can be constructed based on a commonly used artificial potential field construction method. The artificial potential field includes a gravitational field and a repulsive force field. The destination the vehicle is about to reach has a gravitational force on the vehicle, which guides the vehicle to move toward it (similar to the heuristic function in the A* algorithm), and the obstacle repulses the vehicle to prevent the vehicle from happening with it. Collision, the artificial potential field can be constructed based on the above ideas. While completing the construction of the artificial potential field, based on the idea that the resultant force experienced by the vehicle at each position on the artificial potential field is equal to the sum of all repulsive and gravitational forces at that position, the resultant force experienced by the vehicle at each position in the artificial potential field Also knowable. For example, the schematic diagram of the constructed artificial potential field can be shown in Figure 2, in which the gravitational force and the repulsive force are represented by the gradient of color. The repulsion force is the largest, the end point of the vehicle should have the largest gravitational force, and the obstacle repulsion force should also be large. In Figure 2, position A is used to represent the starting point (the largest repulsion force), and position B is used to represent the end point that the vehicle expects to reach (the largest gravitational force), including 4 a circular obstacle (see the four circular areas in Figure 2). It should be noted that the multiple black dots (small circles) between position A and position B in the figure represent trajectory points, not the composition of the force field.
基于构建完毕的人工势场,以车辆当前的位置(即,在第一控制时刻所处的位置)为起点,并以目标位置为终点,根据人工势场中各位置处的引力和斥力,利用人工势场规划算法依次针对离散时间序列中的各个控制时刻生成规划位置,以获得规划轨迹序列。根据上述构建出的势场,能够确定出一条能够到达终点的最短路径,路径中对应于离散时间序列中的各个控制时刻均有一个对应的规划位置点。示例地,生成的规划轨迹序列可以如图2中位置A和位置B之间的黑色点集合表示。Based on the constructed artificial potential field, take the current position of the vehicle (that is, the position at the first control moment) as the starting point, and take the target position as the end point, according to the attraction and repulsion at each position in the artificial potential field, use The artificial potential field planning algorithm sequentially generates planned positions for each control moment in the discrete time series to obtain the planned trajectory sequence. According to the potential field constructed above, a shortest path that can reach the end point can be determined, and each control moment in the discrete time sequence in the path has a corresponding planned position point. Illustratively, the generated planned trajectory sequence can be represented by a set of black dots between position A and position B in FIG. 2 .
在获得规划轨迹序列的过程中,可以认为是基于车辆的当前位置,模拟一个针对当前控制时刻的控制参数,假定在当前控制时刻利用该控制参数进行控制之后,在下一控制时刻车辆应当到达的新位置,若新位置靠近了黑色区域,则下一控制时刻的新的控制参数应当基于能够使车辆在再下一个控制时刻尽可能地靠近白色区域这一思想 进行设置,如此循环往复,就可以获得规划轨迹序列,与此同时,能够得到该规划轨迹序列的一系列控制参数(同样对应于离散时间序列中的各个控制时刻)也会一并获得。其中,控制参数表示能够改变车辆行驶状态的参数,示例地,可以包括针对方向盘转角的控制参数和/或针对油门踏板的控制参数。In the process of obtaining the planned trajectory sequence, it can be considered that a control parameter for the current control moment is simulated based on the current position of the vehicle. It is assumed that after using the control parameter for control at the current control moment, the vehicle should reach a new location at the next control moment. position, if the new position is close to the black area, the new control parameters at the next control moment should be set based on the idea of making the vehicle as close to the white area as possible at the next control moment, and so on and so forth, you can obtain When planning the trajectory sequence, at the same time, a series of control parameters (corresponding to each control moment in the discrete time series) that can obtain the planned trajectory sequence will also be obtained together. Wherein, the control parameter represents a parameter capable of changing the driving state of the vehicle, and may include, for example, a control parameter for the steering wheel angle and/or a control parameter for the accelerator pedal.
与规划轨迹序列相似,车辆状态矩阵可以包括针对离散时间序列中各个控制时刻预测得到的车辆状态信息。Similar to the planned trajectory sequence, the vehicle state matrix may include vehicle state information predicted for each control moment in the discrete time series.
示例地,车辆状态矩阵可以基于车辆动力学模型获得。基于车辆运动学模型,车辆状态矩阵可以通过以下方式获得:Illustratively, the vehicle state matrix may be obtained based on a vehicle dynamics model. Based on the vehicle kinematics model, the vehicle state matrix can be obtained in the following ways:
获取车辆在历史行驶过程中的车辆状态信息,作为历史车辆状态;Obtain the vehicle status information of the vehicle during the historical driving process as the historical vehicle status;
根据历史车辆状态,利用车辆动力学模型预测车辆在离散时间序列中各个控制时刻的车辆状态信息,以获得车辆状态矩阵。According to the historical vehicle state, the vehicle dynamic model is used to predict the vehicle state information of the vehicle at each control moment in the discrete time series to obtain the vehicle state matrix.
如上所述,在生成规划轨迹序列的同时,能够一并获得能够得到该规划轨迹序列的一系列的控制参数。车辆动力学模型能够基于车辆在某一控制时刻及该时刻之前的车辆状态信息以及针对这一控制时刻的控制参数,预测出车辆在下一控制时刻的车辆状态信息。As described above, while generating the planned trajectory sequence, a series of control parameters that can obtain the planned trajectory sequence can be obtained at the same time. The vehicle dynamics model can predict the vehicle state information of the vehicle at the next control time based on the vehicle state information of the vehicle at a certain control time and before this time and the control parameters for this control time.
示例地,历史车辆状态可以包含第一控制时刻的车辆状态信息。再例如,除了包含第一控制时刻的车辆状态信息,历史车辆状态还可以包含第一控制时刻之前若干个控制时刻的车辆状态信息。For example, the historical vehicle state may include vehicle state information at the first control moment. For another example, in addition to the vehicle state information at the first control time, the historical vehicle state may also include vehicle state information at several control times before the first control time.
基于车辆动力学模型的上述功能,根据历史车辆状态,以及上述能够得到该规划轨迹序列的一系列的控制参数,可以得到针对离散时间序列中各个控制时刻预测得到的车辆状态信息,构成车辆状态矩阵。Based on the above functions of the vehicle dynamics model, according to the historical vehicle state and a series of control parameters that can obtain the planned trajectory sequence, the vehicle state information predicted for each control moment in the discrete time series can be obtained to form a vehicle state matrix. .
其中,车辆状态信息可以包括车辆位置信息、车辆航向信息和车速信息。除此之外,车辆状态信息还可以包括上述信息的变化信息,例如,位置变化、位置变化的导数、航向变化、车速变化等。The vehicle state information may include vehicle position information, vehicle heading information, and vehicle speed information. Besides, the vehicle state information may also include change information of the above-mentioned information, for example, position change, derivative of position change, heading change, vehicle speed change, and the like.
参见图1,在步骤12中,根据规划轨迹序列和车辆状态矩阵,构建以控制序列为自变量的目标函数。Referring to Fig. 1, in step 12, an objective function with the control sequence as an independent variable is constructed according to the planned trajectory sequence and the vehicle state matrix.
其中,目标函数带有针对控制序列的目标约束条件。Among them, the objective function has objective constraints on the control sequence.
示例地,目标约束条件可以包括但不限于以下中的至少一者:Illustratively, the objective constraints may include, but are not limited to, at least one of the following:
车辆方向盘转角处于预设角度区间内;The steering wheel angle of the vehicle is within the preset angle range;
车辆方向盘的转动速率处于第一预设速率区间内;The rotation rate of the steering wheel of the vehicle is within the first preset rate interval;
车辆加速度处于预设加速度区间内;The vehicle acceleration is within the preset acceleration range;
车辆加速度的变化速率处于第二预设速率区间内。The rate of change of the vehicle acceleration is within the second preset rate interval.
在控制车辆的过程中,不仅需要考虑车辆在轨迹规划上的最优性,还需要考虑用户的实际乘车感受,应当保证用户在乘车过程中的舒适性,因此,需要在车辆转弯、加速方面设置约束条件,避免转向、加速变化过快的情况发生。In the process of controlling the vehicle, it is not only necessary to consider the optimality of the vehicle's trajectory planning, but also the user's actual riding experience, and the user's comfort during the ride should be guaranteed. Therefore, it is necessary to turn the vehicle and accelerate Constraints are set in terms of aspects to avoid the occurrence of too fast changes in steering and acceleration.
示例地,可以按照如下算式构建目标函数J(U):For example, the objective function J(U) can be constructed according to the following formula:
J(U)=(X-R) T Q(X-R)+U TWU J(U)=(XR) T Q(XR)+U T WU
Umin≤U≤UmaxUmin≤U≤Umax
ΔUmin≤ΔU≤ΔUmaxΔUmin≤ΔU≤ΔUmax
其中,X为车辆状态矩阵,R为规划轨迹序列,U为控制序列,Q为第一预设权重矩阵,W为第二预设权重矩阵,Umin≤U≤Umax和ΔUmin≤ΔU≤ΔUmax为目标约束条件,其中,Umin为控制参数的控制下限,Umax为控制参数的控制上限,ΔU为控制参数在相邻的前、后两个控制时刻之间的参数变化量,ΔUmin为控制参数在相邻的前、后两个控制时刻之间的变化下限,ΔUmax为控制参数在相邻的前、后两个控制时刻之间的变化上限。其中,与上述规划轨迹序列、车辆状态矩阵相似,控制序列可以包括针对离散时间序列中各个控制时刻的控制参数。示例地,控制参数包括针对方向盘转角的第一控制参数和/或针对油门踏板的第二控制参数。Among them, X is the vehicle state matrix, R is the planned trajectory sequence, U is the control sequence, Q is the first preset weight matrix, W is the second preset weight matrix, Umin≤U≤Umax and ΔUmin≤ΔU≤ΔUmax are the targets Constraints, where Umin is the control lower limit of the control parameter, Umax is the control upper limit of the control parameter, ΔU is the parameter change of the control parameter between the adjacent two control moments, and ΔUmin is the control parameter in the adjacent ΔUmax is the upper limit of the change of the control parameters between the two adjacent control moments before and after. Wherein, similar to the above-mentioned planned trajectory sequence and vehicle state matrix, the control sequence may include control parameters for each control moment in the discrete time sequence. By way of example, the control parameters include a first control parameter for the steering wheel angle and/or a second control parameter for the accelerator pedal.
在步骤13中,对所述目标函数进行二次规划处理,以获得能够使目标函数的函数值最小、且满足目标约束条件的目标控制序列。In step 13, a quadratic programming process is performed on the objective function to obtain an objective control sequence that can minimize the function value of the objective function and satisfy objective constraints.
示例地,可以通过有效集法、内点法等方法对目标函数进行二次规划处理。For example, quadratic programming processing can be performed on the objective function by methods such as effective set method and interior point method.
在步骤14中,在第一控制时刻之后,根据目标控制序列控制车辆。In step 14, after the first control time, the vehicle is controlled according to the target control sequence.
其中,目标控制序列包括对应于第二控制时刻的目标控制参数。Wherein, the target control sequence includes target control parameters corresponding to the second control moment.
示例地,步骤14可以包括以下步骤:Illustratively, step 14 may include the following steps:
在第二控制时刻,按照目标控制参数对车辆进行控制。At the second control moment, the vehicle is controlled according to the target control parameter.
在第一控制时刻基于步骤11至步骤13生成针对第一控制时刻的目标控制序列,目标控制序列至少包含有对应于第二控制时刻的目标控制参数,从而,在到达第二控制时刻时,可以按照目标控制参数对车辆进行控制。At the first control time, a target control sequence for the first control time is generated based on steps 11 to 13, and the target control sequence contains at least target control parameters corresponding to the second control time, so that when the second control time is reached, the The vehicle is controlled according to the target control parameters.
与此同时,由于第二控制时刻变成了当前控制时刻,可以继续将当前处理过程中的第二控制时刻作为下一次处理过程中的第一控制时刻,再次执行上述步骤11至步骤14,从而,还能够生成新的目标控制参数,用于在新的第二控制时刻进行控制,如此循环往复,在车辆的行驶过程中,不断地修正后续的控制参数,以使车辆的行驶轨迹最优。At the same time, since the second control time has become the current control time, the second control time in the current process can continue to be used as the first control time in the next process, and the above steps 11 to 14 are executed again, so as to , and can also generate new target control parameters for control at a new second control time, and so on and so forth, during the driving process of the vehicle, the subsequent control parameters are continuously revised to optimize the vehicle's driving trajectory.
通过上述技术方案,在车辆行驶过程中,获取车辆对应于第一控制时刻的规划轨迹序列和车辆状态矩阵,其中,规划轨迹序列是基于人工势场规划算法初步规划出的,之后,根据规划轨迹序列和车辆状态矩阵,构建以控制序列为自变量、且带有目标约束条件的目标函数,并对目标函数进行二次规划处理,以得到能够使目标函数的函数值最小、且满足目标约束条件的目标控制序列,并在第一控制时刻之后根据该目标控制序列对车辆进行控制。由此,在基于人工势场对车辆的行驶轨迹进行初步规划之后,进一步利用二次规划的方式对初步规划后的轨迹进行优化,从而,既能够保留人工势场规划算法的优势,又能够利用二次规划的特性,对人工势场规划中存在的平滑性不足的问题进行优化,同时兼顾驾驶舒适性,整体上达到提升自动驾驶性能的效果。Through the above technical solution, during the driving process of the vehicle, the planned trajectory sequence and the vehicle state matrix of the vehicle corresponding to the first control moment are obtained, wherein the planned trajectory sequence is preliminarily planned based on the artificial potential field planning algorithm, and then, according to the planned trajectory sequence and vehicle state matrix, construct an objective function with the control sequence as an independent variable and with objective constraints, and perform quadratic programming processing on the objective function to obtain the minimum function value of the objective function and satisfy the objective constraints. and control the vehicle according to the target control sequence after the first control time. Therefore, after the preliminary planning of the vehicle's driving trajectory based on the artificial potential field, the quadratic planning method is further used to optimize the preliminary planned trajectory, so that the advantages of the artificial potential field planning algorithm can be retained, and the advantages of the artificial potential field planning algorithm can be used. The characteristics of quadratic programming optimize the problem of insufficient smoothness in artificial potential field planning, while taking into account the driving comfort, and overall achieve the effect of improving automatic driving performance.
图3是根据本公开的一种实施方式提供的车辆控制装置的框图。如图3所示,该装置 30包括:FIG. 3 is a block diagram of a vehicle control apparatus provided according to an embodiment of the present disclosure. As shown in Figure 3, the device 30 includes:
获取模块31,用于在车辆行驶过程中,获取车辆对应于第一控制时刻的规划轨迹序列和车辆状态矩阵,规划轨迹序列基于人工势场规划算法获得,车辆状态矩阵基于车辆动力学模型获得;The obtaining module 31 is configured to obtain the planned trajectory sequence and the vehicle state matrix of the vehicle corresponding to the first control moment during the driving process of the vehicle, the planned trajectory sequence is obtained based on the artificial potential field planning algorithm, and the vehicle state matrix is obtained based on the vehicle dynamics model;
函数构建模块32,用于根据规划轨迹序列和车辆状态矩阵,构建以控制序列为自变量的目标函数,且目标函数带有针对控制序列的目标约束条件;The function construction module 32 is used for constructing an objective function with the control sequence as an independent variable according to the planned trajectory sequence and the vehicle state matrix, and the objective function has objective constraints for the control sequence;
处理模块33,用于对目标函数进行二次规划处理,以获得能够使目标函数的函数值最小、且满足目标约束条件的目标控制序列;The processing module 33 is used to perform quadratic programming processing on the objective function, so as to obtain an objective control sequence that can minimize the function value of the objective function and satisfy the objective constraint condition;
控制模块34,用于在第一控制时刻之后,根据目标控制序列控制车辆。The control module 34 is configured to control the vehicle according to the target control sequence after the first control time.
可选地,规划轨迹序列包括针对离散时间序列中各个控制时刻规划得到的规划位置,离散时间序列包括以第二控制时刻为时间起点的指定数量的控制时刻,且第二控制时刻为第一控制时刻的下一控制时刻。Optionally, the planned trajectory sequence includes planned positions obtained by planning for each control time in the discrete time sequence, and the discrete time sequence includes a specified number of control times starting from the second control time, and the second control time is the first control time. The next control moment of the moment.
可选地,规划轨迹序列通过以下方式获得:Optionally, the planned trajectory sequence is obtained by:
获取车辆周边的环境信息,环境信息至少包括障碍物信息;Obtain environmental information around the vehicle, which includes at least obstacle information;
根据环境信息,构建人工势场;According to the environmental information, construct an artificial potential field;
以车辆在第一控制时刻所处的位置为起点,并以目标位置为终点,根据人工势场中各位置处的引力和斥力,利用人工势场规划算法依次针对离散时间序列中的各个控制时刻生成规划位置,以获得规划轨迹序列。Taking the position of the vehicle at the first control moment as the starting point and the target position as the end point, according to the attraction and repulsion at each position in the artificial potential field, the artificial potential field planning algorithm is used to sequentially target each control moment in the discrete time series. Generate planning positions to obtain a sequence of planning trajectories.
可选地,车辆状态矩阵包括针对离散时间序列中各个控制时刻预测得到的车辆状态信息,离散时间序列包括以第二控制时刻为时间起点的指定数量的控制时刻,且第二控制时刻为第一控制时刻的下一控制时刻。Optionally, the vehicle state matrix includes vehicle state information predicted for each control moment in the discrete time series, the discrete time series includes a specified number of control moments starting from the second control moment, and the second control moment is the first control moment. The next control time of the control time.
可选地,车辆状态矩阵通过以下方式获得:Optionally, the vehicle state matrix is obtained by:
获取车辆在历史行驶过程中的车辆状态信息,作为历史车辆状态;Obtain the vehicle status information of the vehicle during the historical driving process as the historical vehicle status;
根据历史车辆状态,利用车辆动力学模型预测车辆在离散时间序列中各个控制时刻的车辆状态信息,以获得车辆状态矩阵。According to the historical vehicle state, the vehicle dynamic model is used to predict the vehicle state information of the vehicle at each control moment in the discrete time series to obtain the vehicle state matrix.
可选地,车辆状态信息包括车辆位置信息、车辆航向信息和车速信息。Optionally, the vehicle state information includes vehicle position information, vehicle heading information and vehicle speed information.
可选地,目标约束条件包括以下中的至少一者:Optionally, the objective constraints include at least one of the following:
车辆方向盘转角处于预设角度区间内;The steering wheel angle of the vehicle is within the preset angle range;
车辆方向盘的转动速率处于第一预设速率区间内;The rotation rate of the steering wheel of the vehicle is within the first preset rate interval;
车辆加速度处于预设加速度区间内;The vehicle acceleration is within the preset acceleration range;
车辆加速度的变化速率处于第二预设速率区间内。The rate of change of the vehicle acceleration is within the second preset rate interval.
可选地,控制序列包括针对离散时间序列中各个控制时刻的控制参数,离散时间序列包括以第二控制时刻为时间起点的指定数量的控制时刻,且第二控制时刻为第一控制时刻的下一控制时刻。Optionally, the control sequence includes control parameters for each control moment in the discrete time sequence, the discrete time sequence includes a specified number of control moments starting from the second control moment, and the second control moment is the next time the first control moment. A moment of control.
可选地,按照如下算式构建目标函数J(U):Optionally, construct the objective function J(U) according to the following formula:
J(U)=(X-R) T Q(X-R)+U TWU J(U)=(XR) T Q(XR)+U T WU
Umin≤U≤UmaxUmin≤U≤Umax
ΔUmin≤ΔU≤ΔUmaxΔUmin≤ΔU≤ΔUmax
其中,X为车辆状态矩阵,R为规划轨迹序列,U为控制序列,Q为第一预设权重矩阵,W为第二预设权重矩阵,Umin≤U≤Umax和ΔUmin≤ΔU≤ΔUmax为目标约束条件,其中,Umin为控制参数的控制下限,Umax为控制参数的控制上限,ΔU为控制参数在相邻的前、后两个控制时刻之间的参数变化量,ΔUmin为控制参数在相邻的前、后两个控制时刻之间的变化下限,ΔUmax为控制参数在相邻的前、后两个控制时刻之间的变化上限。Among them, X is the vehicle state matrix, R is the planned trajectory sequence, U is the control sequence, Q is the first preset weight matrix, W is the second preset weight matrix, Umin≤U≤Umax and ΔUmin≤ΔU≤ΔUmax are the targets Constraints, where Umin is the control lower limit of the control parameter, Umax is the control upper limit of the control parameter, ΔU is the parameter change of the control parameter between the adjacent two control moments, and ΔUmin is the control parameter in the adjacent ΔUmax is the upper limit of the change of the control parameters between the two adjacent control moments before and after.
可选地,控制参数包括针对方向盘转角的第一控制参数和/或针对油门踏板的第二控制参数。Optionally, the control parameters include a first control parameter for the steering wheel angle and/or a second control parameter for the accelerator pedal.
可选地,目标控制序列包括对应于第二控制时刻的目标控制参数,第二控制时刻为第一控制时刻的下一控制时刻;Optionally, the target control sequence includes target control parameters corresponding to the second control moment, and the second control moment is the next control moment of the first control moment;
控制模块34用于在第二控制时刻,按照目标控制参数对车辆进行控制。The control module 34 is configured to control the vehicle according to the target control parameter at the second control moment.
关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。Regarding the apparatus in the above-mentioned embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be described in detail here.
本公开还提供一种车辆,该车辆包括:环境感知组件、域控制器和执行器;The present disclosure also provides a vehicle including: an environment perception component, a domain controller, and an actuator;
环境感知组件用于获取车辆周边的环境信息,并将环境信息发送至域控制器;The environment perception component is used to obtain the environment information around the vehicle and send the environment information to the domain controller;
域控制器用于执行本公开任意实施例的车辆控制方法,以及,向执行器发送控制指令;The domain controller is configured to execute the vehicle control method of any embodiment of the present disclosure, and send a control instruction to the actuator;
执行器用于执行从域控制器接收到的控制指令。The executor is used to execute the control instructions received from the domain controller.
示例地,环境感知组件可以包括以下中的至少一者:摄像头、毫米波雷达、激光雷达、超声波雷达。For example, the environment perception component may include at least one of the following: a camera, a millimeter-wave radar, a lidar, and an ultrasonic radar.
图4是根据一示例性实施例示出的一种电子设备700的框图。如图4所示,该电子设备700可以包括:处理器701,存储器702。该电子设备700还可以包括多媒体组件703,输入/输出(I/O)接口704,以及通信组件705中的一者或多者。FIG. 4 is a block diagram of an electronic device 700 according to an exemplary embodiment. As shown in FIG. 4 , the electronic device 700 may include: a processor 701 and a memory 702 . The electronic device 700 may also include one or more of a multimedia component 703 , an input/output (I/O) interface 704 , and a communication component 705 .
其中,处理器701用于控制该电子设备700的整体操作,以完成上述的车辆控制方法中的全部或部分步骤。存储器702用于存储各种类型的数据以支持在该电子设备700的操作,这些数据例如可以包括用于在该电子设备700上操作的任何应用程序或方法的指令,以及应用程序相关的数据,例如联系人数据、收发的消息、图片、音频、视频等等。该存储器702可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,例如静态随机存取存储器(Static Random Access Memory,简称SRAM),电可擦除可编程只读存储器(Electrically Erasable Programmable Read-Only Memory,简称EEPROM),可擦除可编程只读存储器(Erasable Programmable Read-Only Memory,简称EPROM),可编程只读存储器(Programmable Read-Only Memory,简称PROM),只读存储器(Read-Only Memory,简称ROM),磁存储器,快闪存储器,磁盘或光盘。多媒体组件703可以包括屏幕和音频组件。其中屏幕例如可以是触摸屏,音频组件用于输出和/或输入音频信号。例如,音频组件 可以包括一个麦克风,麦克风用于接收外部音频信号。所接收的音频信号可以被进一步存储在存储器702或通过通信组件705发送。音频组件还包括至少一个扬声器,用于输出音频信号。I/O接口704为处理器701和其他接口模块之间提供接口,上述其他接口模块可以是键盘,鼠标,按钮等。这些按钮可以是虚拟按钮或者实体按钮。通信组件705用于该电子设备700与其他设备之间进行有线或无线通信。无线通信,例如Wi-Fi,蓝牙,近场通信(Near Field Communication,简称NFC),2G、3G、4G、NB-IOT、eMTC、或其他5G等等,或它们中的一种或几种的组合,在此不做限定。因此相应的该通信组件705可以包括:Wi-Fi模块,蓝牙模块,NFC模块等等。Wherein, the processor 701 is used to control the overall operation of the electronic device 700 to complete all or part of the steps in the above-mentioned vehicle control method. The memory 702 is used to store various types of data to support operations on the electronic device 700, such data may include, for example, instructions for any application or method operating on the electronic device 700, and application-related data, Such as contact data, messages sent and received, pictures, audio, video, and so on. The memory 702 can be implemented by any type of volatile or non-volatile storage device or their combination, such as static random access memory (Static Random Access Memory, SRAM for short), electrically erasable programmable read-only memory ( Electrically Erasable Programmable Read-Only Memory (EEPROM for short), Erasable Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read-Only Memory (Read-Only Memory, ROM for short), magnetic memory, flash memory, magnetic disk or optical disk. Multimedia components 703 may include screen and audio components. Wherein the screen can be, for example, a touch screen, and the audio component is used for outputting and/or inputting audio signals. For example, the audio component may include a microphone for receiving external audio signals. The received audio signal may be further stored in memory 702 or transmitted through communication component 705 . The audio assembly also includes at least one speaker for outputting audio signals. The I/O interface 704 provides an interface between the processor 701 and other interface modules, and the above-mentioned other interface modules may be a keyboard, a mouse, a button, and the like. These buttons can be virtual buttons or physical buttons. The communication component 705 is used for wired or wireless communication between the electronic device 700 and other devices. Wireless communication, such as Wi-Fi, Bluetooth, Near Field Communication (NFC), 2G, 3G, 4G, NB-IOT, eMTC, or other 5G, etc., or one or more of them The combination is not limited here. Therefore, the corresponding communication component 705 may include: Wi-Fi module, Bluetooth module, NFC module and so on.
在一示例性实施例中,电子设备700可以被一个或多个应用专用集成电路(Application Specific Integrated Circuit,简称ASIC)、数字信号处理器(Digital Signal Processor,简称DSP)、数字信号处理设备(Digital Signal Processing Device,简称DSPD)、可编程逻辑器件(Programmable Logic Device,简称PLD)、现场可编程门阵列(Field Programmable Gate Array,简称FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述的车辆控制方法。In an exemplary embodiment, the electronic device 700 may be implemented by one or more application-specific integrated circuits (Application Specific Integrated Circuit, ASIC for short), digital signal processors (Digital Signal Processor, DSP for short), digital signal processing devices (Digital Signal Processing Device (DSPD), Programmable Logic Device (PLD), Field Programmable Gate Array (FPGA), controller, microcontroller, microprocessor or other electronic components The implementation is used to execute the above-mentioned vehicle control method.
在另一示例性实施例中,还提供了一种包括程序指令的计算机可读存储介质,该程序指令被处理器执行时实现上述的车辆控制方法的步骤。例如,该计算机可读存储介质可以为上述包括程序指令的存储器702,上述程序指令可由电子设备700的处理器701执行以完成上述的车辆控制方法。In another exemplary embodiment, there is also provided a computer-readable storage medium including program instructions, the program instructions implementing the steps of the above-mentioned vehicle control method when executed by a processor. For example, the computer-readable storage medium can be the above-mentioned memory 702 including program instructions, and the above-mentioned program instructions can be executed by the processor 701 of the electronic device 700 to complete the above-mentioned vehicle control method.
图5是根据一示例性实施例示出的一种电子设备1900的框图。例如,电子设备1900可以被提供为一服务器。参照图5,电子设备1900包括处理器1922,其数量可以为一个或多个,以及存储器1932,用于存储可由处理器1922执行的计算机程序。存储器1932中存储的计算机程序可以包括一个或一个以上的每一个对应于一组指令的模块。此外,处理器1922可以被配置为执行该计算机程序,以执行上述的车辆控制方法。FIG. 5 is a block diagram of an electronic device 1900 according to an exemplary embodiment. For example, the electronic device 1900 may be provided as a server. 5 , the electronic device 1900 includes a processor 1922 , which may be one or more in number, and a memory 1932 for storing computer programs executable by the processor 1922 . A computer program stored in memory 1932 may include one or more modules, each corresponding to a set of instructions. Furthermore, the processor 1922 may be configured to execute the computer program to perform the vehicle control method described above.
另外,电子设备1900还可以包括电源组件1926和通信组件1950,该电源组件1926可以被配置为执行电子设备1900的电源管理,该通信组件1950可以被配置为实现电子设备1900的通信,例如,有线或无线通信。此外,该电子设备1900还可以包括输入/输出(I/O)接口1958。电子设备1900可以操作基于存储在存储器1932的操作系统,例如Windows Server TM,Mac OS X TM,Unix TM,Linux TM等等。 In addition, the electronic device 1900 may also include a power supply assembly 1926, which may be configured to perform power management of the electronic device 1900, and a communication component 1950, which may be configured to enable communication of the electronic device 1900, eg, wired or wireless communication. Additionally, the electronic device 1900 may also include an input/output (I/O) interface 1958 . Electronic device 1900 may operate based on an operating system stored in memory 1932, such as Windows Server , Mac OS X , Unix , Linux , and the like.
在另一示例性实施例中,还提供了一种包括程序指令的计算机可读存储介质,该程序指令被处理器执行时实现上述的车辆控制方法的步骤。例如,该计算机可读存储介质可以为上述包括程序指令的存储器1932,上述程序指令可由电子设备1900的处理器1922执行以完成上述的车辆控制方法。In another exemplary embodiment, there is also provided a computer-readable storage medium including program instructions, the program instructions implementing the steps of the above-mentioned vehicle control method when executed by a processor. For example, the computer-readable storage medium can be the above-mentioned memory 1932 including program instructions, and the above-mentioned program instructions can be executed by the processor 1922 of the electronic device 1900 to implement the above-mentioned vehicle control method.
在另一示例性实施例中,还提供一种计算机程序产品,该计算机程序产品包含能够由可编程的装置执行的计算机程序,该计算机程序具有当由该可编程的装置执行时用于执行上述的车辆控制方法的代码部分。In another exemplary embodiment, there is also provided a computer program product comprising a computer program executable by a programmable apparatus, the computer program having, when executed by the programmable apparatus, for performing the above The code section of the vehicle control method.
以上结合附图详细描述了本公开的优选实施方式,但是,本公开并不限于上述实施方式中的具体细节,在本公开的技术构思范围内,可以对本公开的技术方案进行多种简单变型,这些简单变型均属于本公开的保护范围。The preferred embodiments of the present disclosure have been described above in detail with reference to the accompanying drawings. However, the present disclosure is not limited to the specific details of the above-mentioned embodiments. Various simple modifications can be made to the technical solutions of the present disclosure within the scope of the technical concept of the present disclosure. These simple modifications all fall within the protection scope of the present disclosure.
另外需要说明的是,在上述具体实施方式中所描述的各个具体技术特征,在不矛盾的情况下,可以通过任何合适的方式进行组合。为了避免不必要的重复,本公开对各种可能的组合方式不再另行说明。In addition, it should be noted that each specific technical feature described in the above-mentioned specific implementation manner may be combined in any suitable manner under the circumstance that there is no contradiction. In order to avoid unnecessary repetition, various possible combinations are not described in the present disclosure.
此外,本公开的各种不同的实施方式之间也可以进行任意组合,只要其不违背本公开的思想,其同样应当视为本公开所公开的内容。In addition, the various embodiments of the present disclosure can also be arbitrarily combined, as long as they do not violate the spirit of the present disclosure, they should also be regarded as the contents disclosed in the present disclosure.

Claims (16)

  1. 一种车辆控制方法,其特征在于,所述方法包括:A vehicle control method, characterized in that the method comprises:
    在车辆行驶过程中,获取所述车辆对应于第一控制时刻的规划轨迹序列和车辆状态矩阵,所述规划轨迹序列基于人工势场规划算法获得,所述车辆状态矩阵基于车辆动力学模型获得;During the driving of the vehicle, a planned trajectory sequence and a vehicle state matrix of the vehicle corresponding to the first control moment are obtained, the planned trajectory sequence is obtained based on an artificial potential field planning algorithm, and the vehicle state matrix is obtained based on a vehicle dynamics model;
    根据所述规划轨迹序列和所述车辆状态矩阵,构建以控制序列为自变量的目标函数,且所述目标函数带有针对所述控制序列的目标约束条件;According to the planned trajectory sequence and the vehicle state matrix, construct an objective function with a control sequence as an independent variable, and the objective function has objective constraints for the control sequence;
    对所述目标函数进行二次规划处理,以获得能够使所述目标函数的函数值最小、且满足所述目标约束条件的目标控制序列;performing quadratic programming processing on the objective function to obtain an objective control sequence that can minimize the function value of the objective function and satisfy the objective constraint condition;
    在所述第一控制时刻之后,根据所述目标控制序列控制所述车辆。After the first control time, the vehicle is controlled according to the target control sequence.
  2. 根据权利要求1所述的方法,其特征在于,所述规划轨迹序列包括针对离散时间序列中各个控制时刻规划得到的规划位置,所述离散时间序列包括以第二控制时刻为时间起点的指定数量的控制时刻,且所述第二控制时刻为第一控制时刻的下一控制时刻。The method according to claim 1, wherein the planned trajectory sequence comprises planned positions obtained by planning for each control moment in the discrete time series, and the discrete time series comprises a specified number of times starting from the second control moment and the second control time is the next control time of the first control time.
  3. 根据权利要求2所述的方法,其特征在于,所述规划轨迹序列通过以下方式获得:The method according to claim 2, wherein the planned trajectory sequence is obtained by:
    获取所述车辆周边的环境信息,所述环境信息至少包括障碍物信息;acquiring environmental information around the vehicle, where the environmental information at least includes obstacle information;
    根据所述环境信息,构建人工势场;constructing an artificial potential field according to the environmental information;
    以所述车辆在所述第一控制时刻所处的位置为起点,并以目标位置为终点,根据所述人工势场中各位置处的引力和斥力,利用人工势场规划算法依次针对所述离散时间序列中的各个控制时刻生成规划位置,以获得所述规划轨迹序列。Taking the position of the vehicle at the first control moment as the starting point, and taking the target position as the end point, according to the attraction and repulsion at each position in the artificial potential field, the artificial potential field planning algorithm is used to sequentially target the The planned positions are generated at each control instant in the discrete time series to obtain the planned trajectory sequence.
  4. 根据权利要求1所述的方法,其特征在于,所述车辆状态矩阵包括针对离散时间序列中各个控制时刻预测得到的车辆状态信息,所述离散时间序列包括以第二控制时刻为时间起点的指定数量的控制时刻,且所述第二控制时刻为第一控制时刻的下一控制时刻。The method according to claim 1, wherein the vehicle state matrix includes vehicle state information predicted for each control moment in a discrete time series, and the discrete time series includes a specified time starting point at the second control moment and the second control time is the next control time of the first control time.
  5. 根据权利要求4所述的方法,其特征在于,所述车辆状态矩阵通过以下方式获得:The method according to claim 4, wherein the vehicle state matrix is obtained by:
    获取所述车辆在历史行驶过程中的车辆状态信息,作为历史车辆状态;Obtain the vehicle state information of the vehicle during the historical driving process as the historical vehicle state;
    根据所述历史车辆状态,利用车辆动力学模型预测所述车辆在所述离散时间序列中各个控制时刻的车辆状态信息,以获得所述车辆状态矩阵。According to the historical vehicle state, the vehicle state information of the vehicle at each control moment in the discrete time series is predicted by using a vehicle dynamics model, so as to obtain the vehicle state matrix.
  6. 根据权利要求4所述的方法,所述车辆状态信息包括车辆位置信息、车辆航向信息和车速信息。The method of claim 4, wherein the vehicle state information includes vehicle position information, vehicle heading information, and vehicle speed information.
  7. 根据权利要求1所述的方法,其特征在于,所述目标约束条件包括以下中的至少一者:The method according to claim 1, wherein the target constraints include at least one of the following:
    车辆方向盘转角处于预设角度区间内;The steering wheel angle of the vehicle is within the preset angle range;
    车辆方向盘的转动速率处于第一预设速率区间内;The rotation rate of the steering wheel of the vehicle is within the first preset rate interval;
    车辆加速度处于预设加速度区间内;The vehicle acceleration is within the preset acceleration range;
    车辆加速度的变化速率处于第二预设速率区间内。The rate of change of the vehicle acceleration is within the second preset rate interval.
  8. 根据权利要求1所述的方法,其特征在于,所述控制序列包括针对离散时间序列中 各个控制时刻的控制参数,所述离散时间序列包括以第二控制时刻为时间起点的指定数量的控制时刻,且所述第二控制时刻为第一控制时刻的下一控制时刻。The method according to claim 1, wherein the control sequence includes control parameters for each control moment in the discrete time series, and the discrete time series includes a specified number of control moments starting from the second control moment , and the second control time is the next control time of the first control time.
  9. 根据权利要求8所述的方法,其特征在于,按照如下算式构建所述目标函数J(U):The method according to claim 8, wherein the objective function J(U) is constructed according to the following formula:
    J(U)=(X-R) TQ(X-R)+U TWU J(U)=(XR) T Q(XR)+U T WU
    Umin≤U≤UmaxUmin≤U≤Umax
    ΔUmin≤ΔU≤ΔUmaxΔUmin≤ΔU≤ΔUmax
    其中,X为所述车辆状态矩阵,R为所述规划轨迹序列,U为所述控制序列,Q为第一预设权重矩阵,W为第二预设权重矩阵,Umin≤U≤Umax和ΔUmin≤ΔU≤ΔUmax为所述目标约束条件,其中,所述Umin为所述控制参数的控制下限,所述Umax为所述控制参数的控制上限,所述ΔU为所述控制参数在相邻的前、后两个控制时刻之间的参数变化量,所述ΔUmin为所述控制参数在相邻的前、后两个控制时刻之间的变化下限,所述ΔUmax为控制参数在相邻的前、后两个控制时刻之间的变化上限。Wherein, X is the vehicle state matrix, R is the planned trajectory sequence, U is the control sequence, Q is the first preset weight matrix, W is the second preset weight matrix, Umin≤U≤Umax and ΔUmin ≤ΔU≤ΔUmax is the target constraint condition, where the Umin is the lower control limit of the control parameter, the Umax is the upper control limit of the control parameter, and the ΔU is the control parameter before the adjacent one. , the parameter change amount between the last two control moments, the ΔUmin is the lower limit of the change of the control parameter between the adjacent two control moments, and the ΔUmax is the control parameter in the adjacent front, The upper limit of change between the last two control moments.
  10. 根据权利要求8所述的方法,其特征在于,所述控制参数包括针对方向盘转角的第一控制参数和/或针对油门踏板的第二控制参数。The method according to claim 8, wherein the control parameters include a first control parameter for steering wheel angle and/or a second control parameter for accelerator pedal.
  11. 根据权利要求1所述的方法,其特征在于,所述目标控制序列包括对应于第二控制时刻的目标控制参数,所述第二控制时刻为所述第一控制时刻的下一控制时刻;The method according to claim 1, wherein the target control sequence comprises a target control parameter corresponding to a second control moment, the second control moment being the next control moment of the first control moment;
    所述在所述第一控制时刻之后,根据所述目标控制序列控制所述车辆,包括:The controlling the vehicle according to the target control sequence after the first control time includes:
    在所述第二控制时刻,按照所述目标控制参数对所述车辆进行控制。At the second control time, the vehicle is controlled according to the target control parameter.
  12. 一种车辆控制装置,其特征在于,所述装置包括:A vehicle control device, characterized in that the device comprises:
    获取模块,用于在车辆行驶过程中,获取所述车辆对应于第一控制时刻的规划轨迹序列和车辆状态矩阵,所述规划轨迹序列基于人工势场规划算法获得,所述车辆状态矩阵基于车辆动力学模型获得;an acquisition module, configured to acquire a planned trajectory sequence and a vehicle state matrix of the vehicle corresponding to the first control moment during the driving process of the vehicle, the planned trajectory sequence is obtained based on an artificial potential field planning algorithm, and the vehicle state matrix is based on the vehicle Kinetic model acquisition;
    函数构建模块,用于根据所述规划轨迹序列和所述车辆状态矩阵,构建以控制序列为自变量的目标函数,且所述目标函数带有针对所述控制序列的目标约束条件;a function construction module, configured to construct an objective function with a control sequence as an independent variable according to the planned trajectory sequence and the vehicle state matrix, and the objective function has objective constraints for the control sequence;
    处理模块,用于对所述目标函数进行二次规划处理,以获得能够使所述目标函数的函数值最小、且满足所述目标约束条件的目标控制序列;a processing module, configured to perform quadratic programming processing on the objective function, so as to obtain an objective control sequence that can minimize the function value of the objective function and satisfy the objective constraint condition;
    控制模块,用于在所述第一控制时刻之后,根据所述目标控制序列控制所述车辆。and a control module, configured to control the vehicle according to the target control sequence after the first control time.
  13. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现以下步骤:A computer-readable storage medium on which a computer program is stored, characterized in that, when the program is executed by a processor, the following steps are implemented:
    在车辆行驶过程中,获取所述车辆对应于第一控制时刻的规划轨迹序列和车辆状态矩阵,所述规划轨迹序列基于人工势场规划算法获得,所述车辆状态矩阵基于车辆动力学模型获得;During the driving of the vehicle, a planned trajectory sequence and a vehicle state matrix of the vehicle corresponding to the first control moment are obtained, the planned trajectory sequence is obtained based on an artificial potential field planning algorithm, and the vehicle state matrix is obtained based on a vehicle dynamics model;
    根据所述规划轨迹序列和所述车辆状态矩阵,构建以控制序列为自变量的目标函数,且所述目标函数带有针对所述控制序列的目标约束条件;According to the planned trajectory sequence and the vehicle state matrix, construct an objective function with a control sequence as an independent variable, and the objective function has objective constraints for the control sequence;
    对所述目标函数进行二次规划处理,以获得能够使所述目标函数的函数值最小、且满 足所述目标约束条件的目标控制序列;Carrying out quadratic programming processing to the objective function to obtain the objective control sequence that can minimize the function value of the objective function and satisfy the objective constraint condition;
    在所述第一控制时刻之后,根据所述目标控制序列控制所述车辆。After the first control time, the vehicle is controlled according to the target control sequence.
  14. 一种电子设备,其特征在于,包括:An electronic device, comprising:
    存储器,其上存储有计算机程序;a memory on which a computer program is stored;
    处理器,用于执行所述存储器中的所述计算机程序,以实现以下步骤:A processor for executing the computer program in the memory to implement the following steps:
    在车辆行驶过程中,获取所述车辆对应于第一控制时刻的规划轨迹序列和车辆状态矩阵,所述规划轨迹序列基于人工势场规划算法获得,所述车辆状态矩阵基于车辆动力学模型获得;During the driving of the vehicle, a planned trajectory sequence and a vehicle state matrix of the vehicle corresponding to the first control moment are obtained, the planned trajectory sequence is obtained based on an artificial potential field planning algorithm, and the vehicle state matrix is obtained based on a vehicle dynamics model;
    根据所述规划轨迹序列和所述车辆状态矩阵,构建以控制序列为自变量的目标函数,且所述目标函数带有针对所述控制序列的目标约束条件;According to the planned trajectory sequence and the vehicle state matrix, construct an objective function with a control sequence as an independent variable, and the objective function has objective constraints for the control sequence;
    对所述目标函数进行二次规划处理,以获得能够使所述目标函数的函数值最小、且满足所述目标约束条件的目标控制序列;performing quadratic programming processing on the objective function to obtain an objective control sequence that can minimize the function value of the objective function and satisfy the objective constraint condition;
    在所述第一控制时刻之后,根据所述目标控制序列控制所述车辆。After the first control time, the vehicle is controlled according to the target control sequence.
  15. 一种车辆,其特征在于,所述车辆包括:环境感知组件、域控制器和执行器;A vehicle, characterized in that the vehicle comprises: an environment perception component, a domain controller and an actuator;
    所述环境感知组件用于获取车辆周边的环境信息,并将所述环境信息发送至所述域控制器;The environment perception component is used for acquiring environment information around the vehicle, and sending the environment information to the domain controller;
    所述域控制器用于执行以下步骤:The domain controller is used to perform the following steps:
    在车辆行驶过程中,获取所述车辆对应于第一控制时刻的规划轨迹序列和车辆状态矩阵,所述规划轨迹序列基于人工势场规划算法获得,所述车辆状态矩阵基于车辆动力学模型获得;During the driving of the vehicle, a planned trajectory sequence and a vehicle state matrix of the vehicle corresponding to the first control moment are obtained, the planned trajectory sequence is obtained based on an artificial potential field planning algorithm, and the vehicle state matrix is obtained based on a vehicle dynamics model;
    根据所述规划轨迹序列和所述车辆状态矩阵,构建以控制序列为自变量的目标函数,且所述目标函数带有针对所述控制序列的目标约束条件;According to the planned trajectory sequence and the vehicle state matrix, construct an objective function with a control sequence as an independent variable, and the objective function has objective constraints for the control sequence;
    对所述目标函数进行二次规划处理,以获得能够使所述目标函数的函数值最小、且满足所述目标约束条件的目标控制序列;Performing quadratic programming processing on the objective function to obtain an objective control sequence that can minimize the function value of the objective function and satisfy the objective constraint condition;
    在所述第一控制时刻之后,根据所述目标控制序列控制所述车辆;以及,After the first control time, the vehicle is controlled according to the target control sequence; and,
    向所述执行器发送控制指令;sending a control command to the executor;
    所述执行器用于执行从所述域控制器接收到的所述控制指令。The executor is used to execute the control instruction received from the domain controller.
  16. 根据权利要求15所述的车辆,其特征在于,所述环境感知组件包括以下中的至少一者:摄像头、毫米波雷达、激光雷达、超声波雷达。The vehicle of claim 15, wherein the environment perception component comprises at least one of the following: a camera, a millimeter-wave radar, a lidar, and an ultrasonic radar.
PCT/CN2022/077534 2021-04-14 2022-02-23 Vehicle control method and apparatus, storage medium, electronic device and vehicle WO2022218036A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110402428.9 2021-04-14
CN202110402428.9A CN112947492B (en) 2021-04-14 2021-04-14 Vehicle control method and device, storage medium, electronic equipment and vehicle

Publications (1)

Publication Number Publication Date
WO2022218036A1 true WO2022218036A1 (en) 2022-10-20

Family

ID=76232684

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/077534 WO2022218036A1 (en) 2021-04-14 2022-02-23 Vehicle control method and apparatus, storage medium, electronic device and vehicle

Country Status (2)

Country Link
CN (1) CN112947492B (en)
WO (1) WO2022218036A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116069041A (en) * 2023-03-20 2023-05-05 北京集度科技有限公司 Track planning method, device, vehicle and medium

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112947492B (en) * 2021-04-14 2023-09-22 北京车和家信息技术有限公司 Vehicle control method and device, storage medium, electronic equipment and vehicle
CN113830108B (en) * 2021-11-10 2023-07-28 苏州挚途科技有限公司 Decision-making planning method and device for automatic driving vehicle
CN114399125B (en) * 2022-03-24 2022-07-12 清华大学 Motorcade optimal trajectory control method and device, electronic equipment and storage medium

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130218396A1 (en) * 2011-07-14 2013-08-22 GM Global Technology Operations LLC System and method for enhanced vehicle control
US20150346723A1 (en) * 2014-05-30 2015-12-03 Nissan North America, Inc. Vehicle trajectory planning for autonomous vehicles
CN105549597A (en) * 2016-02-04 2016-05-04 同济大学 Unmanned vehicle dynamic path programming method based on environment uncertainty
CN106355880A (en) * 2016-10-09 2017-01-25 东南大学 Unmanned vehicle control parameter calibrating method for vehicle-following safety
CN109375632A (en) * 2018-12-17 2019-02-22 清华大学 Automatic driving vehicle real-time track planing method
CN110244713A (en) * 2019-05-22 2019-09-17 江苏大学 A kind of intelligent vehicle lane-change Trajectory Planning System and method based on Artificial Potential Field Method
CN110362096A (en) * 2019-08-13 2019-10-22 东北大学 A kind of automatic driving vehicle dynamic trajectory planing method based on local optimality
CN110471408A (en) * 2019-07-03 2019-11-19 天津大学 Automatic driving vehicle paths planning method based on decision process
CN110553660A (en) * 2019-08-31 2019-12-10 武汉理工大学 unmanned vehicle trajectory planning method based on A-star algorithm and artificial potential field
CN110908373A (en) * 2019-11-11 2020-03-24 南京航空航天大学 Intelligent vehicle track planning method based on improved artificial potential field
CN111176272A (en) * 2019-11-28 2020-05-19 的卢技术有限公司 Artificial potential field trajectory planning method and system based on motion constraint
CN111338346A (en) * 2020-03-05 2020-06-26 中国第一汽车股份有限公司 Automatic driving control method and device, vehicle and storage medium
CN112344943A (en) * 2020-11-20 2021-02-09 安徽工程大学 Intelligent vehicle path planning method for improving artificial potential field algorithm
CN112947492A (en) * 2021-04-14 2021-06-11 北京车和家信息技术有限公司 Vehicle control method, device, storage medium, electronic device and vehicle

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106371439B (en) * 2016-09-13 2020-11-20 同济大学 Unified automatic driving transverse planning method and system
US11409284B2 (en) * 2019-05-15 2022-08-09 Baidu Usa Llc Relaxation optimization model to plan an open space trajectory for autonomous vehicles
CN110239518B (en) * 2019-05-20 2023-09-01 福瑞泰克智能系统有限公司 Vehicle transverse position control method and device
CN111413966B (en) * 2020-03-12 2022-04-29 天津大学 Progressive model prediction unmanned planning tracking cooperative control method
CN112428991B (en) * 2020-11-30 2022-10-04 北京车和家信息技术有限公司 Vehicle control method, device, medium, equipment and vehicle

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130218396A1 (en) * 2011-07-14 2013-08-22 GM Global Technology Operations LLC System and method for enhanced vehicle control
US20150346723A1 (en) * 2014-05-30 2015-12-03 Nissan North America, Inc. Vehicle trajectory planning for autonomous vehicles
CN105549597A (en) * 2016-02-04 2016-05-04 同济大学 Unmanned vehicle dynamic path programming method based on environment uncertainty
CN106355880A (en) * 2016-10-09 2017-01-25 东南大学 Unmanned vehicle control parameter calibrating method for vehicle-following safety
CN109375632A (en) * 2018-12-17 2019-02-22 清华大学 Automatic driving vehicle real-time track planing method
CN110244713A (en) * 2019-05-22 2019-09-17 江苏大学 A kind of intelligent vehicle lane-change Trajectory Planning System and method based on Artificial Potential Field Method
CN110471408A (en) * 2019-07-03 2019-11-19 天津大学 Automatic driving vehicle paths planning method based on decision process
CN110362096A (en) * 2019-08-13 2019-10-22 东北大学 A kind of automatic driving vehicle dynamic trajectory planing method based on local optimality
CN110553660A (en) * 2019-08-31 2019-12-10 武汉理工大学 unmanned vehicle trajectory planning method based on A-star algorithm and artificial potential field
CN110908373A (en) * 2019-11-11 2020-03-24 南京航空航天大学 Intelligent vehicle track planning method based on improved artificial potential field
CN111176272A (en) * 2019-11-28 2020-05-19 的卢技术有限公司 Artificial potential field trajectory planning method and system based on motion constraint
CN111338346A (en) * 2020-03-05 2020-06-26 中国第一汽车股份有限公司 Automatic driving control method and device, vehicle and storage medium
CN112344943A (en) * 2020-11-20 2021-02-09 安徽工程大学 Intelligent vehicle path planning method for improving artificial potential field algorithm
CN112947492A (en) * 2021-04-14 2021-06-11 北京车和家信息技术有限公司 Vehicle control method, device, storage medium, electronic device and vehicle

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116069041A (en) * 2023-03-20 2023-05-05 北京集度科技有限公司 Track planning method, device, vehicle and medium

Also Published As

Publication number Publication date
CN112947492A (en) 2021-06-11
CN112947492B (en) 2023-09-22

Similar Documents

Publication Publication Date Title
WO2022218036A1 (en) Vehicle control method and apparatus, storage medium, electronic device and vehicle
CN112937564B (en) Lane change decision model generation method and unmanned vehicle lane change decision method and device
WO2021152047A1 (en) Planning in mobile robots
WO2017138664A1 (en) Method for controlling motion of vehicle and control system of vehicle
US20120253514A1 (en) Reinforcement learning apparatus, control apparatus, and reinforcement learning method
CN113561994B (en) Trajectory planning method and device, storage medium and electronic equipment
JP6664807B2 (en) CONTROL DEVICE, CONTROL METHOD, AND CONTROL PROGRAM
EP4078320A1 (en) Planning in mobile robots
Yang et al. A framework for efficient teleoperation via online adaptation
Bouton et al. Utility decomposition with deep corrections for scalable planning under uncertainty
Xiao et al. Control barrier functions for systems with multiple control inputs
JP2022545755A (en) Direct and indirect control of mixed autonomous vehicle platoons
WO2019144298A1 (en) Auxiliary movement method, mobile device and movable platform
Merckaert et al. Constrained control of robotic manipulators using the explicit reference governor
Belaidi et al. Human–robot shared control for path generation and execution
CN109543225A (en) Control program generation method, device, storage medium and the electronic equipment of vehicle
CN113642103B (en) Method and device for adjusting parameters of dynamic model, medium and electronic equipment
US20220063616A1 (en) System for controlling vehicle speed
EP3866074B1 (en) Method and device for controlling a robot
CN113859146A (en) Virtual vehicle interface
JP7520238B2 (en) Apparatus and method for controlling a system with uncertainties in its dynamics - Patents.com
Shour et al. Shared decision-making forward an autonomous navigation for intelligent vehicles
JP6599817B2 (en) Arithmetic apparatus, arithmetic method and program
Ruo et al. CBF-Based Motion Planning for Socially Responsible Robot Navigation Guaranteeing STL Specification
US20240059322A1 (en) Cooperative teleoperation

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22787266

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 14.03.2024)