Automatic parking control method, device, medium and product
By introducing a quadratic programming framework of control barrier functions and Lyapunov functions into automatic parking technology, control barrier functions for static and dynamic obstacles are generated, solving the stability and safety problems of automatic parking in tight-constraint scenarios and achieving safe and stable parking control.
Patent Information
- Application Number
- CN202611618567.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-19
- Publication Date
- 2026-12-01
AI Technical Summary
Existing automatic parking technology struggles to guarantee trajectory stability and safety in tightly constrained and highly disruptive scenarios, and is prone to problems such as sudden braking, oscillation, and planning deadlock.
Based on the quadratic programming constraint framework of control barrier functions and Lyapunov functions, control barrier functions for static and dynamic obstacles are generated. Combined with control Lyapunov functions as constraints, the target control parameters are solved by a preset quadratic programming solver to achieve safe and stable automatic parking control.
It improves parking success rate and system safety in complex dynamic scenarios, ensures vehicle stability and safety during parking, and avoids collision risks.
Smart Images

Figure CN123190810A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of vehicle control technology, and in particular to an automatic parking control method, device, medium and product. Background Technology
[0002] Automated parking is widely used in low-speed enclosed and semi-enclosed scenarios such as underground garages, narrow roadside parking spaces, and commercial and residential parks. Current automated parking systems primarily employ solutions combining ultrasonic radar with rule-based logic, relying on radar ranging and preset rules to complete parking space detection and trajectory generation. Alternatively, they utilize advanced solutions combining lidar, high-precision maps, and deep learning, integrating multi-sensor information to achieve environmental modeling, target tracking, and trajectory solving.
[0003] However, planning control lacks a mathematically provable safe and stable framework, making it difficult to guarantee the stability and safety of the trajectory. Under tight constraints and strong disturbances, it is prone to sudden braking, oscillation, and planning deadlock. Summary of the Invention
[0004] This application provides an automatic parking control method, device, medium, and product to solve the aforementioned technical problems. This solution is based on a quadratic programming constraint framework using control barrier functions and Lyapunov functions, achieving mathematical-level safety guarantees at the planning and control level, thereby improving parking success rate, system safety, and passenger comfort in complex dynamic scenarios.
[0005] In a first aspect, embodiments of this application provide an automatic parking control method, the method comprising:
[0006] Based on the environmental perception results, static obstacle control barrier functions and dynamic obstacle control barrier functions are generated. The environmental perception results include a static obstacle map and a dynamic obstacle list corresponding to the current period. The dynamic obstacle list includes the predicted trajectory of each dynamic obstacle.
[0007] Generate a control Lyapunov function based on the center position of the target parking space;
[0008] Using a pre-defined quadratic programming solver, and with static obstacle control barrier function, dynamic obstacle control barrier function and control Lyapunov function as constraints, the target control parameters corresponding to the current cycle are determined.
[0009] The vehicle is controlled to perform automatic parking based on target control parameters.
[0010] In one possible embodiment, generating a static obstacle control barrier function includes:
[0011] Construct a virtual envelope for each static obstacle based on a static obstacle map;
[0012] The control barrier function corresponding to each static obstacle is generated based on the center position and radius of the virtual envelope.
[0013] In one possible embodiment, generating a dynamic obstacle control barrier function includes:
[0014] Construct time-varying motion envelopes for each dynamic obstacle based on predicted trajectories;
[0015] Based on the predicted position and radius of the dynamic obstacle, and the preset safety distance, a control barrier function is generated for each dynamic obstacle.
[0016] In one possible embodiment, the constraints are defined by static and dynamic obstacle control barrier functions and control Lyapunov functions, including:
[0017] The Lie derivatives of the static and dynamic obstacle control barrier functions are obtained and multiplied with the first coefficient to serve as the safety non-negativity constraint conditions.
[0018] The Lyapunov derivative of the control function is obtained and multiplied with the second coefficient to form a stable nonnegativity constraint.
[0019] In one possible embodiment, determining the target control parameters corresponding to the current cycle includes:
[0020] A pre-defined quadratic programming solver is used to solve the problem based on the current vehicle motion state, safety non-negative constraints, and stability non-negative constraints to determine the target control parameters corresponding to the current cycle.
[0021] In one possible embodiment, after determining the target control parameters corresponding to the current cycle, the method further includes:
[0022] Generate vehicle predicted trajectory based on target control parameters;
[0023] The vehicle prediction trajectory is adjusted using a preset time elastic band planner to obtain an updated vehicle prediction trajectory;
[0024] Updated target control parameters are extracted from the updated vehicle predicted trajectory.
[0025] In one possible embodiment, the following steps are further performed on the multi-frame environmental images acquired in the current period:
[0026] Extract features from the current frame's environment image;
[0027] Calculate the current temporal enhancement features based on the features of the current frame environment image and the features of each historical frame image in the temporal queue;
[0028] A dynamic probability map is generated based on the current temporal enhancement features.
[0029] In one possible embodiment, feature extraction is performed, including:
[0030] A pre-trained feature extraction model is used to extract multi-dimensional visual features from the current frame environment image. These multi-dimensional visual features include edges, textures, contours, and corners.
[0031] In one possible embodiment, calculating the current temporal enhancement features includes:
[0032] Using the features of the current frame's environmental image as the query vector, and the features of each historical frame image in the temporal queue as the key vector and value vector, the current temporal enhancement features are calculated through a multi-head attention mechanism.
[0033] In one possible embodiment, generating a dynamic probability graph includes:
[0034] Dynamic enhancement coefficients and static suppression coefficients are generated based on the current temporal enhancement features using preset dynamic headers and preset static headers.
[0035] Using dynamic enhancement coefficient and static suppression coefficient as weighting coefficients, the current temporal enhancement features are fused with the features of the current frame environment image to generate a dynamic probability map. Each pixel value in the dynamic probability map represents the probability value that the current position is a dynamic obstacle.
[0036] In one possible embodiment, it also includes:
[0037] Generate dynamic and static mask images corresponding to each frame of the environment image based on the dynamic probability map;
[0038] Generate a static obstacle map for the current period based on the static mask map corresponding to each frame of the environment image;
[0039] A list of dynamic obstacles for the current period is generated based on the dynamic mask map corresponding to each frame of the environment image.
[0040] In one possible embodiment, generating a dynamic obstacle list includes:
[0041] Perform multi-frame target association matching on the dynamic regions output by the multi-frame dynamic mask map;
[0042] The position and velocity of each dynamic obstacle are estimated using a pre-set constant velocity model;
[0043] The predicted trajectories of each dynamic obstacle are obtained by linear extrapolation and stored in the dynamic obstacle list.
[0044] In one possible embodiment, it also includes:
[0045] The multi-dimensional visual features extracted from the current frame's environmental image are stored in a temporal queue;
[0046] When the number of features in the time-series queue reaches the preset length, the features of the earliest historical frame image in the queue are deleted.
[0047] In one possible embodiment, it also includes:
[0048] Obtain the pose feedback signal after execution based on the target control parameters;
[0049] The vehicle's motion state is updated based on pose feedback signals.
[0050] In one possible embodiment, it also includes:
[0051] Calculate the velocity field distribution and motion vector sparsity of dynamic obstacles included in the current frame image;
[0052] Adjust the preset length of the time-series queue based on the calculation results.
[0053] Secondly, embodiments of this application provide an electronic device, including: a memory and a processor;
[0054] The memory stores the instructions that the computer executes;
[0055] The processor executes computer execution instructions stored in memory, causing the processor to perform the methods described above.
[0056] Thirdly, embodiments of this application provide a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the methods provided above.
[0057] Fourthly, embodiments of this application provide a computer program product, including a computer program that, when executed by a processor, implements the method provided above.
[0058] The automatic parking control method, device, medium, and product provided in this application generate static and dynamic obstacle control barrier functions based on a static obstacle map and a dynamic obstacle list carrying predicted trajectories for the current period. The perceived spatial information of static obstacles and the future movement trends of dynamic obstacles are transformed into safety constraints that can participate in calculations, providing a safety-level constraint basis for subsequent solutions and preventing the planning process from deviating from the actual obstacle distribution in the environment. A control Lyapunov function is generated based on the center position of the target parking space, establishing stability constraints oriented towards the parking endpoint. The parking objective of the vehicle converging towards the parking space is transformed into mathematical constraints, constraining the vehicle's movement towards the target parking space and ensuring the stable tendency of the parking movement. The static and dynamic obstacle control barrier functions and the control Lyapunov function are used together as constraints, and a preset quadratic programming solver is used to solve for the target control parameters for the current period. Within the same solution framework, both obstacle safety constraints and stable convergence constraints towards the parking space are uniformly considered. Control parameters adapted to the current environment are output, achieving a synergistic trade-off between safety constraints and convergence objectives. This avoids the constraint fragmentation problem caused by separately handling obstacle avoidance and parking convergence, resulting in a control output that simultaneously satisfies environmental obstacle avoidance requirements and parking space convergence requirements. Finally, the solved target control parameters are used to directly control the vehicle to perform automatic parking, avoiding collision risks from both static and dynamic obstacles while stably parking into the target space, achieving automatic parking control based on mathematical constraints. Attached Figure Description
[0059] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0060] Figure 1 A flowchart illustrating an embodiment of the automatic parking control method provided in this application;
[0061] Figure 2 A flowchart illustrating an automatic parking control method provided in another embodiment of this application;
[0062] Figure 3 This is a schematic diagram of the structure of an automatic parking control device provided in an embodiment of this application;
[0063] Figure 4 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application.
[0064] The accompanying drawings illustrate specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to particular embodiments. Detailed Implementation
[0065] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.
[0066] It should be noted that in the embodiments of this application, certain software, components, models and other existing solutions in the industry may be mentioned. These should be regarded as exemplary and are only intended to illustrate the feasibility of implementing the technical solution of this application. However, it does not mean that the applicant has used or necessarily used the solution.
[0067] To clearly understand the technical solution of this application, the solutions of the prior art will be described in detail first.
[0068] Automated parking technology is widely used in low-speed closed or semi-closed parking scenarios such as underground garages, narrow roadside parking spaces, commercial complexes, and residential communities, and is a crucial function for the implementation of autonomous driving. Currently, there are two typical mainstream automated parking solutions. One relies on ultrasonic radar combined with pre-defined rules and logic to operate, using distance detection data acquired by radar and pre-set logical rules to identify parking spaces and generate corresponding driving trajectories. The other integrates lidar, high-precision maps, and deep learning technologies, using multi-sensor information fusion to model the scene environment and simultaneously track surrounding targets and solve for parking trajectories. However, both solutions still have significant shortcomings in planning and control, lacking a mathematically proven safe and stable control framework. In tight constraints such as narrow parking spaces and dense obstacles, or in real-world scenarios with strong dynamic interference such as pedestrians and passing vehicles, it is difficult to theoretically ensure the safety and stability of the output trajectory. This can easily lead to sudden braking, oscillating and shaking of the driving trajectory, and in severe cases, planning deadlock, causing the automated parking task to fail directly.
[0069] Therefore, when facing technical problems in existing technologies, to reduce the collision risks caused by static obstacles and dynamic passing targets, the environmental information output by perception is transformed into safety mathematical conditions that can participate in the solution. Using control barrier functions, based on the static obstacle map and the dynamic obstacle list with predicted trajectories in the environmental perception results, static obstacle control barrier functions and dynamic obstacle control barrier functions are constructed respectively. Static spatial constraints and the time-varying motion threat of dynamic targets are uniformly abstracted into safety constraints. To ensure that the vehicle can stably drive towards the target parking space, a control Lyapunov function is introduced. Convergence constraints are constructed based on the center position of the target parking space, clarifying the stable target of the vehicle moving towards the parking space. Furthermore, a quadratic programming solver is selected, using both types of control barrier functions and the control Lyapunov function as constraints to solve for the target control parameters in the current period, balancing collision avoidance safety and parking space convergence within the same solution framework. Finally, the solved target control parameters are distributed to control the vehicle to complete automatic parking, achieving parking control that balances safety and motion stability under the constraints of control theory.
[0070] The automatic parking control method provided in this application can be applied to the target vehicle, which integrates an automatic parking control device.
[0071] Understandably, the target vehicle also integrates image acquisition equipment, such as surround-view fisheye cameras.
[0072] For example, a user can initiate an automatic parking command by clicking on the vehicle's infotainment interface, or by voice or physical button. Upon receiving the command, the automatic parking control device in the target vehicle acquires images of the surrounding environment using a pre-set image acquisition device and generates environmental perception results. Based on these results, the automatic parking control device generates static and dynamic obstacle control barrier functions. The environmental perception results include a static obstacle map and a dynamic obstacle list for the current period, with the dynamic obstacle list containing the predicted trajectories of each obstacle. Then, the automatic parking control device generates a control Lyapunov function based on the center position of the target parking space. A pre-set quadratic programming solver is then used, with the static, dynamic, and Lyapunov control barrier functions as constraints, to determine the target control parameters for the current period. Finally, the target vehicle executes automatic parking based on these target control parameters.
[0073] It should be noted that during the automatic parking process, the above process is executed once in each control cycle until the distance between the center of the vehicle's rear axle and the center of the target parking space is less than the set threshold and the heading angle deviation is small enough. At this point, the parking task is determined to be completed, the vehicle is controlled to stop and put into parking gear.
[0074] The technical solution of this application and how it solves the above-mentioned technical problems will be described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of this application will be described below with reference to the accompanying drawings.
[0075] Figure 1 This is a flowchart illustrating an embodiment of the automatic parking control method provided in this application, as shown below. Figure 1 As shown, the execution subject of this embodiment is an automatic parking control device. This device can be implemented through a computer program, or through a medium storing the relevant computer program, such as a USB flash drive, optical disc, or chip. Alternatively, it can be implemented through an electronic device that integrates or installs the relevant computer program, such as a vehicle controller, domain controller, or on-board edge processor. The automatic parking control method provided in this embodiment includes the following steps:
[0076] S101. Generate static obstacle control barrier function and dynamic obstacle control barrier function based on environmental perception results. The environmental perception results include the static obstacle map and dynamic obstacle list corresponding to the current period. The dynamic obstacle list includes the predicted trajectory of each dynamic obstacle.
[0077] Among them, the environmental perception result refers to the set of all environmental information output by the perception module within the current control cycle, which is used to describe the real physical environment around the parked vehicle, including a static obstacle map and a dynamic obstacle list.
[0078] The current cycle refers to a single processing cycle of the closed-loop operation of the automatic parking control device. After each cycle, environmental information is reacquired, constraints are updated, and vehicle control parameters are calculated to adapt to real-time changes in the environment.
[0079] Among them, the static obstacle map refers to the environmental description information of stationary objects in the parking scene. It records the spatial location and geometric shape information of various static obstacles such as pillars, curbs, walls, and debris left on the ground in the scene, reflecting the distribution of static obstacles in the environment.
[0080] The dynamic obstacle list refers to a collection of information storing information about moving objects in the scene. Each record in the list corresponds to a dynamic obstacle. In addition to recording the spatial location and dimensions of the dynamic obstacle itself, the list also includes the predicted trajectory of the dynamic obstacle.
[0081] Among them, the predicted trajectory of a dynamic obstacle refers to the sequence of changes in the movement position of the obstacle over a short period of time in advance, which can be estimated based on the obstacle's history and current movement state, and can characterize the movement trend of the dynamic obstacle over time.
[0082] Among them, the static obstacle control barrier function refers to the control theory mathematical function established for static obstacles in the scene, which defines the safety boundary between the vehicle and the static obstacle, and determines whether the vehicle is in a safe area where it will not collide with the static obstacle by the function value.
[0083] Among them, the dynamic obstacle control barrier function refers to the time-varying control theory mathematical function established for moving obstacles. This function changes synchronously with the predicted trajectory of the dynamic obstacle and is used to define the real-time safety boundary of the vehicle relative to the moving obstacle.
[0084] Specifically, the static obstacle map for the current period is read, and the spatial location and geometric shape information of each static obstacle are parsed. For each identified static obstacle, a virtual closed envelope that completely encloses the obstacle is constructed based on its actual shape, and the geometric center and equivalent radius of the virtual envelope are determined. Based on the obtained geometric center and equivalent radius parameters, a static obstacle control barrier function for the corresponding obstacle is constructed.
[0085] Understandably, this function takes the vehicle's own motion state as input, and its value represents the distance relationship between the vehicle's reference point and the virtual envelope of the obstacle, thereby defining the safe conditions for preventing collisions. This process is repeated for each static obstacle in the scene to obtain a complete set of static obstacle control barrier functions.
[0086] Furthermore, the dynamic obstacle list is read, and each dynamic obstacle in the list is traversed to obtain its size information. Simultaneously, the predicted trajectory corresponding to that obstacle is read. Combining the size of the dynamic obstacle itself, the vehicle's size, and a reserved safety buffer margin, the safety envelope range corresponding to the dynamic obstacle is determined. The estimated positions at different times provided by the predicted trajectory are introduced into a function, so that the control barrier function updates synchronously with the estimated position of the dynamic obstacle over time, representing the safe distance constraint between the vehicle and the dynamic obstacle at any given time.
[0087] It is understandable that the predicted trajectory provides the estimated spatial position of the dynamic obstacle at different future moments, so the constructed dynamic obstacle control barrier function is a time-varying function that changes with time.
[0088] S102. Generate a control Lyapunov function based on the center position of the target parking space.
[0089] The center position of the target parking space refers to the spatial coordinates of the center point of the parking space to be parked in the spatial coordinate system of the vehicle. It is the expected termination position of the automatic parking task and serves as the target equilibrium point that the vehicle's parking movement needs to converge to.
[0090] The control Lyapunov function (CLF) is a mathematical function used in the stability analysis of a control system, taking the real-time motion state of the vehicle as input. The physical meaning of this function characterizes the distance between the vehicle's current state and the target equilibrium point.
[0091] It is understandable that by constraining the trend of the function, the vehicle's motion state can be guaranteed to continuously converge toward the target equilibrium point, thus achieving stability in the motion process.
[0092] Specifically, the center position of the target parking space is obtained through parking space detection and identification during environmental perception. Simultaneously, a reference point is determined during vehicle motion, such as selecting the center of the vehicle's rear axle. This reference point's spatial position changes continuously as the vehicle moves. A control Lyapunov function is constructed based on the spatial distance relationship between the vehicle's reference point and the center position of the target parking space.
[0093] The function input includes the vehicle's real-time motion state, which at least covers the real-time spatial position and heading angle of the vehicle's reference point.
[0094] Understandably, the function's output value reflects the distance between the vehicle's reference point and the center of the parking space. When the vehicle has not yet parked, the function's output value is relatively large. As the vehicle moves closer to the center of the parking space, the function's output value gradually decreases. When the vehicle's reference point reaches near the center of the parking space, the function's output value approaches zero.
[0095] S103. Using a pre-defined quadratic programming solver, with the static obstacle control barrier function, the dynamic obstacle control barrier function, and the control Lyapunov function as constraints, determine the target control parameters corresponding to the current cycle.
[0096] The pre-configured quadratic programming solver refers to a pre-configured numerical solution tool used to solve quadratic programming optimization problems. This solver can find the optimal solution that satisfies all constraints under multiple conditions, and in this method, it is used to solve for the vehicle's control parameters.
[0097] Among them, the constraints refer to the limiting rules that must be followed in the solution process. They are derived from the static obstacle control barrier function, the dynamic obstacle control barrier function, and the control Lyapunov function. The solution results should meet the limiting requirements of each constraint as much as possible.
[0098] Among them, the target control parameters refer to the output of the quadratic programming solver, which represent the control quantities that should be applied to the vehicle in this cycle. They mainly include the vehicle's front wheel steering angle, vehicle acceleration and deceleration, and other related control quantities, which are used to directly control the lateral steering motion and longitudinal driving motion of the vehicle during parking.
[0099] Optionally, the three types of functions are preprocessed and transformed to adapt to the input format of the quadratic programming solver. For the static and dynamic obstacle control barrier functions, the corresponding differential constraints are obtained by combining the vehicle's own dynamic motion laws, and transformed into safety constraint rules that must be followed in the solution process. This set of safety constraints is used to ensure that the vehicle's motion always stays within the safe range of the obstacle, avoiding the risk of collision. For the control Lyapunov function, the corresponding differential constraints are also obtained by combining vehicle dynamics, and transformed into stability constraint rules. This stability constraint is used to ensure that the vehicle's motion has a tendency to converge toward the target parking space.
[0100] Specifically, all the converted safety and stability constraints are imported into a pre-defined quadratic programming solver. Simultaneously, the inherent physical limitations of the vehicle's hardware are also imported into the solver, such as the adjustable range of the front wheel steering angle and the upper and lower boundaries of acceleration and deceleration capabilities. The solver is internally configured with an optimization objective that tends to output control parameters that change gradually.
[0101] Furthermore, a pre-defined quadratic programming solver is activated to perform the solution operation, searching for a feasible solution under the combined constraints of all conditions. During the solution process, priority is given to ensuring the safety constraints from the control barrier function, and the stability constraints corresponding to the control Lyapunov are satisfied as much as possible. After the solution operation is completed, a set of control variables that satisfy all constraints is output, which are the target control parameters for the current cycle.
[0102] Understandably, the target control parameters are adapted to the obstacle distribution, dynamic target movement trend, and real-time vehicle position status perceived in this cycle, and are subsequently output to the vehicle execution stage to control the vehicle to complete the parking action.
[0103] S104. Control the vehicle to perform automatic parking based on target control parameters.
[0104] Specifically, the target control parameters calculated in the current cycle are converted into bus control commands that the vehicle chassis system can recognize. The conversion process incorporates adaptation measures based on the actual characteristics of the vehicle chassis hardware to ensure that the commands fall within the responsive range of the vehicle's drive-by-wire system. The converted bus control commands are then sent to the vehicle's drive-by-wire execution system, which includes the steering motor controller, drive motor controller, and electronic parking brake controller.
[0105] Understandably, the steering motor controller drives the steering mechanism according to instructions, adjusting the deflection angle of the vehicle's front wheels to achieve lateral control during parking. The drive motor controller receives acceleration and deceleration commands to control the vehicle's forward or backward movement and adjust its speed, achieving longitudinal motion control. When deceleration is needed to avoid hazards or to bring the vehicle to a complete stop, the electronic parking brake controller assists in completing the braking operation.
[0106] Optionally, while the vehicle moves according to the target control parameters, the actual operating status of the vehicle is continuously collected to obtain information such as the vehicle's actual position, heading angle, and driving speed. The actual status of the vehicle is then fed back to the upstream perception and planning stage to participate in the closed-loop calculation of the next cycle.
[0107] It should be noted that the vehicle continuously moves according to the target control parameters output cycle by cycle, gradually approaching the target parking space. The vehicle's position and attitude are continuously judged. When it is detected that the vehicle has reached the target position within the parking space and the front of the vehicle meets the angle requirements for parking, a braking command is output to control the vehicle to stop moving and engage the parking gear, ending the execution process of this automatic parking.
[0108] The automatic parking control method provided in this application generates static and dynamic obstacle control barrier functions based on the static obstacle map of the current period and the dynamic obstacle list carrying predicted trajectories. It transforms the perceived spatial information of static obstacles and the future movement trends of dynamic obstacles into safety constraints that can participate in the calculation, providing a safety-level constraint basis for subsequent solutions and preventing the planning process from deviating from the actual obstacle distribution in the environment. A control Lyapunov function is generated based on the center position of the target parking space, establishing stability constraints oriented towards the parking endpoint. The parking objective of the vehicle converging towards the parking space is transformed into mathematical constraints, constraining the vehicle's movement towards the target parking space and ensuring the stable tendency of the parking movement. The static and dynamic obstacle control barrier functions, along with the control Lyapunov function, are used together as constraints, and a preset quadratic programming solver is used to solve for the target control parameters of the current period. Within the same solution framework, both obstacle safety constraints and stable convergence constraints towards the parking space are uniformly considered. Control parameters adapted to the current environment are output, achieving a synergistic trade-off between safety constraints and convergence objectives. This avoids the constraint fragmentation problem caused by separately handling obstacle avoidance and parking convergence, resulting in a control output that simultaneously satisfies environmental obstacle avoidance requirements and parking space convergence requirements. Finally, the solved target control parameters are used to directly control the vehicle to perform automatic parking, avoiding collision risks from both static and dynamic obstacles while stably parking into the target space, achieving automatic parking control based on mathematical constraints.
[0109] As an optional implementation, based on the above embodiments, a static obstacle control barrier function is generated, including:
[0110] Construct a virtual envelope for each static obstacle based on a static obstacle map;
[0111] The control barrier function corresponding to each static obstacle is generated based on the center position and radius of the virtual envelope.
[0112] Virtual envelope refers to a closed geometric outline constructed for real static obstacles. It is used to geometrically abstract irregularly shaped real obstacles and completely wrap the obstacle body. For example, it can be a circumscribed cylinder or a circumscribed polygon.
[0113] The center position of the virtual envelope refers to the geometric center point defined by the virtual envelope, which serves as a reference benchmark for measuring the spatial distance between the vehicle and the obstacle.
[0114] The radius of the virtual envelope refers to the equivalent distance from the geometric center of the virtual envelope to the outer boundary of the envelope. It represents the range covered by the virtual envelope and can also reserve a small safety margin.
[0115] Specifically, the process involves reading a static obstacle map, parsing the spatial distribution and outline information of each static obstacle, and iterating through all identified static obstacles in the map. For each individual static obstacle, a virtual envelope is constructed based on its actual 3D outline to completely enclose the obstacle entity. The virtual envelope must ensure that all parts of the obstacle are within it.
[0116] Furthermore, after the virtual envelope is constructed, the geometric center, i.e., the center of the circle, corresponding to the virtual envelope is determined, along with the equivalent radius of the virtual envelope. For each detected static obstacle, the above process of constructing the virtual envelope and extracting geometric parameters is repeated.
[0117] Furthermore, after obtaining the center position and radius of the virtual envelope of a single obstacle, these two geometric parameters are used as the basis to generate the corresponding static obstacle control barrier function. The function takes the real-time motion state of the vehicle as input, which includes at least the spatial position of the vehicle reference point, such as selecting the center of the vehicle's rear axle as the reference point. The function characterizes the vehicle's safety status relative to the static obstacle by comparing the spatial distance between the vehicle reference point and the center of the virtual envelope with the size of the envelope radius.
[0118] For example, the static obstacle control barrier function h can be shown in equation (1):
[0119] (1)
[0120] in, The coordinates of the vehicle's rear axle center in the global coordinate system are obtained from the current vehicle motion state. is the coordinate of the center of the static obstacle; r is the radius of the static obstacle.
[0121] Understandably, during the parking process, the static obstacle control barrier function h between the current vehicle and each static obstacle is calculated in real time.
[0122] The automatic parking control method provided in this application constructs a virtual envelope for each static obstacle, abstracting irregularly shaped real obstacles such as pillars and clutter into standardized geometric contours. This simplifies the modeling difficulty of complex obstacles and avoids missed collision detections due to irregular shapes. The center and radius of the virtual envelope are then used to generate corresponding static obstacle control barrier functions, transforming the physical space collision avoidance requirements into a mathematical expression that can participate in calculations. This provides a safety basis at the control theory level for solving the secondary programming problem, ensuring the vehicle's collision avoidance capability with static obstacles during parking.
[0123] As an optional implementation, based on the above embodiments, a dynamic obstacle control barrier function is generated, including:
[0124] Construct time-varying motion envelopes for each dynamic obstacle based on predicted trajectories;
[0125] Based on the predicted position and radius of the dynamic obstacle, and the preset safety distance, a control barrier function is generated for each dynamic obstacle.
[0126] Among them, the time-varying motion envelope refers to the closed safety contour that moves synchronously with the predicted trajectory of the dynamic obstacle. The position of the envelope changes over time and is used to perform geometric abstraction of the moving obstacle.
[0127] The predicted position refers to the estimated spatial coordinates of the dynamic obstacle at various future moments in the predicted trajectory.
[0128] The preset safety distance refers to a pre-set safety buffer margin, which is added to the size of the obstacle itself to reserve a safety gap and reduce the collision risk caused by the prediction deviation of dynamic targets.
[0129] Specifically, each dynamic obstacle is traversed, and a time-varying motion envelope is constructed by combining the predicted trajectory of the obstacle. The envelope will follow the predicted trajectory and update its position in space at different times to match the predicted motion process of the dynamic obstacle.
[0130] Furthermore, the predicted positions of dynamic obstacles at different times on the predicted trajectory are extracted. Combined with the radius of the obstacle itself, the radius of the vehicle, and the preset safety distance, the actual range of action of the time-varying motion envelope at different times is determined. Based on this, a dynamic obstacle control barrier function is constructed.
[0131] Understandably, this function updates its parameters over time and can determine the safe distance relationship between the vehicle and dynamic obstacles at various times by combining the vehicle's real-time status.
[0132] For example, the dynamic obstacle control barrier function G can be shown as in equation (2):
[0133] (2)
[0134] in, The coordinates of the vehicle's rear axle center in the global coordinate system are obtained from the current vehicle motion state. ε represents the predicted position coordinates of the dynamic obstacle at time t; r1 is the radius of the vehicle; r2 is the radius of the dynamic obstacle; and ε is the preset safety distance.
[0135] The origin of the global coordinate system is determined through multi-sensor calibration, and the position coordinates of the vehicle's rear axle center, the center position coordinates of each static obstacle, and the predicted position coordinates of each dynamic obstacle are all represented based on the same global coordinate system.
[0136] Understandably, during the parking process, the dynamic obstacle control barrier function G between the current vehicle and each dynamic obstacle is calculated in real time.
[0137] The automatic parking control method provided in this application constructs a time-varying motion envelope based on the predicted trajectory, adapting to the continuous movement characteristics of dynamic obstacles and geometrically abstracting the time-varying spatial risks of the moving target. It generates a dynamic obstacle control barrier function by combining the predicted position, obstacle radius, and preset safety distance, transforming dynamic collision avoidance requirements into time-varying mathematical constraints to compensate for deviations in trajectory prediction. This provides the solver with collision avoidance criteria in dynamic scenarios, improving operational safety in parking scenarios with strong dynamic interference.
[0138] As an optional implementation, based on the above embodiments, the control barrier function and the control Lyapunov function are used as constraints, including:
[0139] The Lie derivatives of the static and dynamic obstacle control barrier functions are obtained and multiplied with the first coefficient to serve as the safety non-negativity constraint conditions.
[0140] The Lyapunov derivative of the control function is obtained and multiplied with the second coefficient to form a stable nonnegativity constraint.
[0141] Among them, the Lie derivative refers to the rate of change of the function describing the vehicle's state in conjunction with the vehicle dynamics system, and is used to characterize the increasing or decreasing trend of the function as the vehicle moves.
[0142] The first coefficient refers to the preset safety adjustment coefficient, which is used to define the convergence rate of the safety level.
[0143] Among them, the safety non-negative constraint condition refers to the constraint rule obtained by the obstacle control barrier function, which ensures that the control barrier function will not decrease with the movement of the vehicle and maintain the vehicle in a safe area.
[0144] The second coefficient refers to the preset convergence adjustment coefficient, which is used to adjust the speed at which the vehicle converges to the target parking space.
[0145] Among them, the stable non-negativity constraint condition refers to the constraint rule obtained by the control Lyapunov function, which ensures that the vehicle state continues to converge toward the target parking space.
[0146] Specifically, for each control barrier function corresponding to each static and dynamic obstacle, the Lie derivative is calculated. The calculated Lie derivative is multiplied by the first coefficient to construct a safety non-negativity constraint. Then, the Lie derivative of the control Lyapunov function is calculated, and this Lie derivative is multiplied by the second coefficient to construct a stability non-negativity constraint. Both types of constraints are fed into the quadratic programming solver as the basis for solving the target control parameters.
[0147] The automatic parking control method provided in this application transforms the functional trends into constraints that can be used for quadratic programming by calculating the Lie derivatives of various functions. By using a first coefficient and a second coefficient to adjust the strength of safety and convergence constraints respectively, the collision avoidance safety and parking space convergence requirements are uniformly transformed into non-negative constraints. This method can simultaneously ensure that the vehicle avoids both static and dynamic obstacles and maintains stable convergence towards the parking space, reducing oscillations and sudden braking problems during parking, and balancing safety and parking convergence objectives within the same solution framework.
[0148] As an optional implementation, based on the above embodiments, the target control parameters corresponding to the current cycle are determined, including:
[0149] A pre-defined quadratic programming solver is used to solve the problem based on the current vehicle motion state, safety non-negative constraints, and stability non-negative constraints to determine the target control parameters corresponding to the current cycle.
[0150] The current vehicle motion status refers to the real-time operating status information of the vehicle within this cycle, including the vehicle's spatial location, the angle of the vehicle's front facing, and the current driving speed.
[0151] Specifically, the current vehicle motion state collected is imported into the solver as the initial baseline for the solution. Safety non-negativity constraints and stability non-negativity constraints are then imported into the solver as mandatory rules, along with the execution boundaries of the vehicle hardware itself, including the adjustable range of the front wheel steering angle and the upper and lower limits of acceleration and deceleration capabilities. The solver performs search calculations under the common constraints of all these rules, prioritizing collision avoidance safety requirements while simultaneously satisfying the stability requirement of convergence towards the parking space as much as possible. Ultimately, a set of control variables adapted to the current scenario and vehicle state is obtained, which are the target control parameters for the current cycle.
[0152] Optionally, a two-layer solver architecture is adopted. The outer layer is responsible for constructing hard safety constraint boundaries based on the global Lyapunov objective, while the inner layer is responsible for solving the local optimal control law within an extremely short control cycle. The inner solver employs a multi-timescale decoupling strategy, separating the lateral and longitudinal dynamics solutions of the vehicle, and introducing the Lagrange multipliers of the historical iterative optimal solutions as the initial hotspot starting point for the quadratic programming solution in the current cycle. Simultaneously, a constraint relaxation dynamic adjuster is designed to activate or transiently freeze non-critical control barrier constraints as needed based on the spatial topological relationship between the vehicle's real-time pose and the target parking space, ensuring that the optimization problem always maintains strong convexity and converges quickly.
[0153] The automatic parking control method provided in this application uses a preset quadratic programming solver combined with the real-time motion state of the vehicle to perform the solution. This directly matches the vehicle's current position and attitude, avoiding the output of unreasonable commands that are detached from the vehicle's actual capabilities. Simultaneously, both safety and stability non-negative constraints are incorporated into the solution boundary, balancing collision avoidance safety and convergence to the parking space within the same computational framework. This avoids conflicts and trajectory oscillations caused by solving these two types of requirements separately.
[0154] As an optional implementation, after determining the target control parameters corresponding to the current cycle based on the above embodiments, the method further includes:
[0155] Generate vehicle predicted trajectory based on target control parameters;
[0156] The vehicle prediction trajectory is adjusted using a preset time elastic band planner to obtain an updated vehicle prediction trajectory;
[0157] Updated target control parameters are extracted from the updated vehicle predicted trajectory.
[0158] Among them, the vehicle predicted trajectory refers to the vehicle's pose sequence over a future period of time derived from the target control parameters, which represents the predicted change path of the vehicle's position and attitude over time when the vehicle is driving according to the set of control parameters.
[0159] Among them, the preset time elastic band planner is a local trajectory optimization tool that can adjust the position and time interval of each point on the trajectory to optimize the smoothness of the trajectory under constraints.
[0160] Among them, the updated vehicle predicted trajectory refers to the optimized trajectory obtained after adjustment by the time elastic band planner.
[0161] Updating the target control parameters refers to extracting new steering and acceleration / deceleration control values from the optimized trajectory, which are then used as the final control parameters executed by the vehicle.
[0162] Specifically, taking the vehicle's current real-time pose and driving state as the initial state, the solved target control parameters are used as the reference control input. Combined with the vehicle's inherent dynamic characteristics, a short-term forward extrapolation is performed to simulate the vehicle's motion changes under the continuous action of this set of control parameters, generating a continuous, time-corresponding vehicle prediction trajectory that fully covers the vehicle's driving pose change trend in the short term.
[0163] Furthermore, the generated vehicle prediction trajectory is input into a preset time elastic band planner. The planner uses the parking and driving trend of the original trajectory and the obstacle avoidance safety boundary as the basic constraints to finely adjust and correct the spatial position of each time node on the trajectory and the time interval between adjacent nodes. This corrects problems such as local jitter, curvature abrupt change, and uneven time distribution in the original trajectory, and iteratively optimizes to obtain a smooth and compliant updated vehicle prediction trajectory.
[0164] Furthermore, the optimized predicted trajectory of the updated vehicle is traversed, the optimal driving state information corresponding to the current moment is extracted, and the steering and acceleration / deceleration control quantities adapted to the actual execution characteristics of the vehicle are parsed to complete the extraction of the updated target control parameters for subsequent vehicle parking execution control.
[0165] Optionally, a reverse mapping module for the safety margin output by the control barrier function is embedded in the cost function of the preset time elastic band planner. The safety boundary margin of each sampling point output by the quadratic programming solver is converted into dynamic penalty weights in the local optimization process in real time. When the path approaches the theoretical safety envelope, the rate of curvature change and acceleration penalty terms are automatically increased to force smoothing. When the safety margin is sufficient, the smoothness constraint is appropriately released to improve the efficiency of the path approaching the target parking space. At the same time, the pose sequence and time interval allocation results after local optimization are fed back to the main planning framework through a differentiable projection layer to correct the dynamic time-varying envelope center and convergence rate parameters of the next cycle, forming a two-way constraint coupling.
[0166] The automatic parking control method provided in this application utilizes a time-elastic band planner for refined trajectory optimization. While preserving the original safety constraints and parking convergence trend, it effectively improves issues such as abrupt changes in trajectory curvature and control jitter, enhancing trajectory smoothness and executability. By optimizing the trajectory and extracting control parameters a second time, it compensates for the instantaneous defects of solving control parameters in a single step, balancing parking safety, stability, and ride comfort, and adapting to real vehicle driving characteristics.
[0167] As an optional implementation, based on the above embodiments, the following steps are further performed on the multi-frame environmental images acquired in the current period:
[0168] Extract features from the current frame's environment image;
[0169] Calculate the current temporal enhancement features based on the features of the current frame environment image and the features of each historical frame image in the temporal queue;
[0170] A dynamic probability map is generated based on the current temporal enhancement features.
[0171] Among them, the current period multi-frame environmental image refers to the real-time environmental image sequence continuously collected by the vehicle surround view device within the current control period.
[0172] Among them, environmental image features refer to high-level visual information extracted from a single frame image, including multi-dimensional features such as scene texture, contour, edge and semantic structure, which are used to characterize the scene spatial content.
[0173] The temporal queue refers to a cached collection of historical image features from multiple consecutive frames, used to provide information on past scenes and provide data support for temporal comparison and enhancement.
[0174] Among them, temporal enhancement features refer to the fused features obtained by fusing the spatial features of the current frame with the temporal information of historical frames, which simultaneously possess single-frame spatial details and multi-frame temporal change information.
[0175] Among them, the dynamic probability map refers to a pixel-level probability distribution map with the same resolution as the original image, where each pixel represents the confidence level that the corresponding scene location belongs to the dynamic obstacle region.
[0176] Optionally, after the vehicle is powered on, four surround-view fisheye cameras installed at the front, rear, left, and right of the vehicle begin to acquire environmental images. Distortion correction, white balance, and multi-view image alignment are performed on the raw images, and a preprocessed image sequence is output, including the height and width of the images, as well as timestamps, for subsequent feature extraction.
[0177] Specifically, multiple consecutive environmental images are continuously acquired during the current control cycle, and the latest frame is selected as the current frame environmental image. Depth feature extraction is performed on the current frame image, discarding the original pixel information and abstracting stable, high-dimensional visual features, while fully preserving the spatial structure and detail information of the scene.
[0178] Furthermore, the pre-maintained temporal queue is retrieved to obtain the multi-frame historical image features stored in the queue. The current frame features are then correlated and fused with all historical temporal features across frames to fully explore the differences in scene changes and motion correlation information between adjacent frames, and to generate the current temporal enhancement features that fuse spatiotemporal information.
[0179] Furthermore, pixel-level semantic parsing and motion discrimination are performed based on the obtained temporal enhancement features. The high-dimensional feature information after spatiotemporal fusion is used to distinguish between static background and dynamic change areas in the scene. The probability of dynamic occurrence is calculated pixel by pixel, and finally a dynamic probability map covering the entire screen is generated to accurately represent the distribution of dynamic targets in each area of the scene.
[0180] The automatic parking control method provided in this application accurately preserves scene spatial details through single-frame feature extraction and completes spatiotemporal information fusion by combining temporal queue historical features, effectively compensating for the deficiency of single-frame images in perceiving motion changes. Temporal enhancement features strengthen the feature differences between dynamic and static regions, significantly improving the accuracy of dynamic target recognition. Based on the enhanced features, a dynamic probability map is generated, achieving pixel-level accurate discrimination of dynamic regions. It can robustly distinguish between dynamic and static objects in unknown environments without relying on pre-labeled semantic tags, eliminating interference from the source of perception.
[0181] As an optional implementation, feature extraction is performed based on the above embodiments, including:
[0182] A pre-trained feature extraction model is used to extract multi-dimensional visual features from the current frame environment image. These multi-dimensional visual features include edges, textures, contours, and corners.
[0183] Among them, the pre-trained feature extraction model refers to a general feature extraction network that has been trained on large-scale visual data in advance. It has the ability to stably extract basic visual information of images and can adapt to parking scene images without real-time fine-tuning.
[0184] Among them, multidimensional visual features refer to the multidimensional basic visual information extracted from environmental images, including four key image features: edges, textures, contours, and corners. They are the basis for identifying scene obstacles and environmental structures.
[0185] Specifically, the current frame's environmental image, acquired in the current period, is input into a pre-trained feature extraction model. The model performs layer-by-layer feature analysis on the overall image content, discarding redundant raw pixel information and automatically mining rich low-level visual information in the image. It extracts multi-dimensional visual features such as edge lines, surface textures, overall object contours, and key corner points from the image, fully preserving the spatial structural features of targets such as obstacles, parking spaces, walls, and curbs within the scene. The model outputs multi-dimensional visual features that fuse multiple types of visual information, providing an accurate single-frame feature foundation for subsequent temporal feature fusion and dynamic / static region discrimination.
[0186] The automatic parking control method provided in this application uses a pre-trained model to stably extract multi-dimensional visual features, comprehensively capturing the structural details of the parking scene and avoiding the loss of environmental information caused by single features. Rich edge, contour, texture, and corner features accurately depict the shape and spatial distribution of obstacles in the scene, improving the completeness and robustness of image feature representation.
[0187] As an optional implementation, based on the above embodiments, the current temporal enhancement features are calculated, including:
[0188] Using the features of the current frame's environmental image as the query vector, and the features of each historical frame image in the temporal queue as the key vector and value vector, the current temporal enhancement features are calculated through a multi-head attention mechanism.
[0189] The query vector refers to the feature vector obtained by mapping the visual features of the current frame image, which is used to actively retrieve and match historical time-series feature information.
[0190] Here, the key vector refers to the comparison vector obtained by mapping the features of historical frames in the time sequence queue, which is used to provide a reference dimension for time sequence matching.
[0191] Among them, the value vector refers to the content vector obtained by mapping the features of historical frames in the time sequence queue, which is used to provide historical scene feature information to be fused.
[0192] Among them, the multi-head attention mechanism refers to a multi-channel parallel temporal feature matching and fusion method, which can simultaneously mine inter-frame temporal correlation and scene change information from different dimensions.
[0193] Specifically, the extracted multi-dimensional visual features of the current frame are converted into query vectors, while the image features of all historical frames stored in the time-series queue are retrieved and mapped to the corresponding key and value vectors. Relying on a multi-head attention mechanism, the correlation between the features of the current frame and each historical frame is compared in parallel from multiple feature dimensions, and the scene feature correlation weights between different frames are calculated.
[0194] Furthermore, the value vectors of historical frames are weighted and fused according to the obtained weights, adaptively enhancing inter-frame difference features and preserving stable background features. Finally, the current temporal enhancement features are aggregated and generated by fusing spatiotemporal information, thus completing the temporal dimension optimization of single-frame features.
[0195] The automatic parking control method provided in this application achieves adaptive temporal fusion of the current frame and historical frames through an attention mechanism, accurately capturing subtle dynamic changes in the scene and enhancing the distinction between static and dynamic features. The multi-head structure can mine inter-frame correlation information from multiple dimensions, avoiding feature loss caused by single temporal fusion. It effectively compensates for the limitations of static perception of a single frame image, suppresses perception errors caused by illumination fluctuations and local occlusion, provides high-precision spatiotemporal fusion features for subsequent dynamic probability map generation, and improves the stability of dynamic target perception in complex parking scenarios.
[0196] As an optional implementation, based on the above embodiments, generating a dynamic probability graph includes:
[0197] Dynamic enhancement coefficients and static suppression coefficients are generated based on the current temporal enhancement features using preset dynamic headers and preset static headers.
[0198] Using dynamic enhancement coefficient and static suppression coefficient as weighting coefficients, the current temporal enhancement features are fused with the features of the current frame environment image to generate a dynamic probability map. Each pixel value in the dynamic probability map represents the probability value that the current position is a dynamic obstacle.
[0199] Among them, the preset dynamic head and preset static head refer to dedicated feature parsing branch structures designed specifically for distinguishing between dynamic and static features. The dynamic head focuses on mining motion change information in temporal features, while the static head focuses on capturing stable background information of the scene. The two work together to achieve differentiated parsing of dynamic and static features.
[0200] Among them, the dynamic enhancement coefficient refers to the pixel-level adaptive weight parameter, which is used to amplify the feature response intensity of the region in the image where motion changes, and highlight the dynamic target features.
[0201] Among them, the static suppression coefficient refers to the pixel-level adaptive weight parameter, which is used to weaken the feature interference of fixed static background areas in the image and suppress the invalid feature response of the static environment.
[0202] Specifically, the current temporal enhancement features, incorporating spatiotemporal information, are input into two parsing branches: a preset dynamic head and a preset static head. The dynamic head identifies regions in the temporal enhancement features that experience inter-frame displacement or abrupt feature changes. Based on the significance of the region's motion, it generates corresponding dynamic enhancement coefficients pixel-by-pixel, achieving adaptive enhancement of dynamic features. The static head identifies long-term stable background regions with no significant changes in the temporal features. Based on the feature stability of the static background, it generates static suppression coefficients pixel-by-pixel, achieving adaptive suppression of static, ineffective features.
[0203] Furthermore, after generating the dual coefficients, the two sets of pixel-level coefficients are used as fusion weights. A gating mechanism is then used to globally modulate the temporal enhancement features, strengthening dynamic features and suppressing static noise. Subsequently, the modulated temporal fusion features are deeply fused with the spatial features of the original image of the current frame. Through a feedforward network and bilinear interpolation, the confidence of the presence of dynamic obstacles is calculated pixel by pixel, ultimately generating a dynamic probability map that fully covers and accurately represents the dynamic distribution of the scene at the pixel level.
[0204] The automatic parking control method provided in this application generates dynamic enhancement and static suppression coefficients through a dual-branch structure, achieving refined adaptive modulation of spatiotemporal features and efficiently removing static background interference and dynamic target features. By combining temporal enhancement features with single-frame spatial feature fusion modeling, it takes into account both scene details and temporal variation characteristics, significantly improving the accuracy of dynamic target recognition under complex lighting and partial occlusion conditions. This provides high-precision, robust pixel-level perception support for subsequent dynamic and static mask generation and obstacle environment modeling.
[0205] As an optional implementation, based on the above embodiments, it further includes:
[0206] Generate dynamic and static mask images corresponding to each frame of the environment image based on the dynamic probability map;
[0207] Generate a static obstacle map for the current period based on the static mask map corresponding to each frame of the environment image;
[0208] A list of dynamic obstacles for the current period is generated based on the dynamic mask map corresponding to each frame of the environment image.
[0209] Among them, the dynamic mask image refers to the binary region mask image generated based on the dynamic probability map, which is used to accurately mark the regions in the image that belong to dynamic obstacles and distinguish moving targets from the background.
[0210] Among them, the static mask image refers to the binary mask image that complements the dynamic mask image. It is used to mark the static background and static obstacle areas in the image and remove all dynamic interference areas.
[0211] Specifically, adaptive binary segmentation is performed based on the generated dynamic probability map. The optimal segmentation threshold is automatically calculated using the global grayscale and probability distribution features of the image, completing pixel-level binary classification of the dynamic probability map. High-confidence dynamic region pixels are selected to obtain the initial dynamic mask. Morphological dilation optimization is then performed on the initial dynamic mask to fill in small segmentation gaps within the region, smooth irregular noise at the mask edges, and eliminate local missed segmentation and small voids, resulting in a final dynamic object binary mask with regular edges and complete regions. A static region mask that is completely complementary to the dynamic mask is generated by inverting the entire region.
[0212] Furthermore, by utilizing stable and reliable static region masks for each frame, static pixel regions in the scene that are not affected by dynamic targets are selected. Based on 3D Gaussian splashing technology, incremental reconstruction and iterative optimization of the static scene are performed. By continuously updating and correcting the spatial position, opacity, covariance, and color parameters of the 3D Gaussian points, a high-precision, structured static 3D Gaussian map is gradually constructed, fully reproducing the 3D spatial morphology of static obstacles such as walls, pillars, curbs, and parking spaces in the parking scene. The static obstacle map of the previous cycle is updated to generate the static obstacle map of the current cycle.
[0213] Optionally, the dynamic probability map and static mask are mapped to an uncertainty weight distribution in 3D space, and a sparsity pruning strategy guided by an uncertainty gradient field is introduced during the 3D Gaussian splash incremental reconstruction process. The opacity gradient and covariance anisotropy of each 3D Gaussian point are calculated in real time. High-dimensional parameters are retained to maintain geometric continuity for regions located at the edge of the view frustum, occlusion boundaries, or areas with high uncertainty. Parameter dimensionality reduction and point cloud merging are performed on high-confidence flat static regions. Simultaneously, the reconstruction residuals are predicted and corrected using the vehicle's own kinematic model, triggering local re-optimization only for high-uncertainty regions that have undergone deformation or new occlusion, rather than full iteration.
[0214] Furthermore, for the dynamic regions marked by dynamic masks, dynamic target region information from multiple frames of images is continuously acquired, and cross-frame target association matching is performed to achieve continuous tracking of the same dynamic obstacle. By combining a constant velocity motion model to fit the motion law of the dynamic target, the real-time center position, circumscribed boundary range, and motion velocity vector of each dynamic obstacle are estimated. The spatial and motion parameters of all dynamic targets are then structurally integrated to generate a current-cycle dynamic obstacle list containing complete motion information.
[0215] The automatic parking control method provided in this application achieves pixel-level precise segmentation of the scene using dynamic and static mask images, completely eliminating dynamic interference from the static background and solving the problems of motion confusion, false detection, and missed detection in traditional perception. Multi-frame mask information fusion optimizes the accuracy of environmental modeling, making the static obstacle map more closely resemble the real scene and the dynamic obstacle list information more complete and reliable, significantly improving the system's environmental adaptability and obstacle avoidance reliability in complex dynamic parking scenarios.
[0216] As an optional implementation, based on the above embodiments, a dynamic obstacle list is generated, including:
[0217] Perform multi-frame target association matching on the dynamic regions output by the multi-frame dynamic mask map;
[0218] The position and velocity of each dynamic obstacle are estimated using a pre-set constant velocity model;
[0219] The predicted trajectories of each dynamic obstacle are obtained by linear extrapolation and stored in the dynamic obstacle list.
[0220] Among them, the preset constant speed model refers to a kinematic model that assumes that the speed of dynamic obstacles remains stable over a short period of time, and is used to smooth state estimation and suppress detection jitter.
[0221] Specifically, cross-frame association matching is performed on the dynamic region features extracted from multiple consecutive dynamic mask images. Based on the target's spatial location, contour size, and region feature similarity, dynamic targets in different frames are matched one-to-one to achieve continuous tracking of the same obstacle, avoiding target duplication, missed detection, and identity jumps. After target association is completed, based on a preset constant velocity model, the real-time center position and motion velocity of each dynamic obstacle are iteratively fitted using historical observation information from multiple frames, filtering out single-frame detection noise to obtain a smooth and stable target motion state.
[0222] Furthermore, based on the estimated position and velocity information, a linear extrapolation method is used to calculate the short-term temporal position changes of dynamic obstacles point by point, generating a complete predicted trajectory. The size, real-time status, and predicted trajectory of each dynamic obstacle are then uniformly organized and stored, ultimately forming a structured list of dynamic obstacles for the current period.
[0223] The automatic parking control method provided in this application stabilizes the dynamic target identity through multi-frame target association matching, effectively solving the problems of discrete and jittery detection in single frames. It combines a constant velocity model to smoothly solve for the target motion state, improving the accuracy of position and velocity estimation. By using linear extrapolation to generate predicted trajectories, it accurately depicts the short-term motion trend of dynamic obstacles, providing a reliable time-varying input for the dynamic control barrier function, significantly improving the safety and stability of dynamic obstacle avoidance during parking.
[0224] As an optional implementation, based on the above embodiments, it further includes:
[0225] The multi-dimensional visual features extracted from the current frame's environmental image are stored in a temporal queue;
[0226] When the number of features in the time-series queue reaches the preset length, the features of the earliest historical frame image in the queue are deleted.
[0227] The preset queue length refers to the maximum number of time-series features that can be cached. It is used to control the storage duration and data size of historical features, and to balance the amount of time-series information with the computational overhead.
[0228] Among them, the earliest historical frame feature refers to the image visual feature that is stored earliest and has the lowest timeliness in the time-series queue.
[0229] Specifically, after extracting the multi-dimensional visual features of the current frame's environment image, the new set of spatial features is stored in the tail of the temporal queue in chronological order, enabling continuous updating and accumulation of real-time features. The number of features stored in the temporal queue is monitored in real time. When the total number of features in the queue reaches the preset maximum length, the oldest historical frame features in the queue are automatically removed, while recent high-timeliness features are retained, maintaining a stable queue storage capacity.
[0230] Understandably, by continuously iterating and updating the queue using a first-in-first-out (FIFO) approach, the queue is guaranteed to always retain continuous, valid, and up-to-date multi-frame temporal features, providing stable and regular temporal data support for subsequent temporal enhancement feature calculations.
[0231] The automatic parking control method provided in this application continuously updates cached image features in a time-series queue, stably providing continuous time-series information and a data foundation for dynamic change perception. Through a fixed-length limit update mechanism that removes outdated features, the computational load is effectively controlled, avoiding data redundancy and computational waste. Simultaneously, valid time-series information is always retained, ensuring the timeliness and accuracy of time-series feature fusion, avoiding interference from outdated and invalid information, and significantly improving the accuracy and stability of dynamic target detection and trajectory prediction.
[0232] As an optional implementation, based on the above embodiments, it further includes:
[0233] Obtain the pose feedback signal after execution based on the target control parameters;
[0234] The vehicle's motion state is updated based on pose feedback signals.
[0235] Among them, the pose feedback signal refers to the real-time status signal collected by the on-board sensing unit after the vehicle executes the target control parameters, which includes precise pose information such as the vehicle's real-time position and heading attitude.
[0236] Among them, vehicle motion state refers to the set of real-time operating parameters of the vehicle in the current cycle, covering core states such as position, attitude, and speed, and is the basic input for control solution in the next cycle.
[0237] Specifically, after executing the target control parameters updated in the current cycle and completing parking actions such as steering and driving, the vehicle collects pose feedback signals output by the chassis and positioning sensors in real time to accurately capture the actual position and attitude changes of the vehicle after executing control commands. The collected pose feedback signals are filtered, corrected, and analyzed to remove sensor noise and jitter errors. Based on the corrected effective pose information, the stored vehicle motion state is refreshed and updated as a whole, providing accurate real-time state basis for the next round of environmental perception, constraint solving, and control parameter calculation, forming a closed-loop control iterative process.
[0238] The automatic parking control method provided in this application accurately reproduces the actual motion of the vehicle by real-time acquisition of the vehicle's pose feedback signal after execution, eliminating the state deviation between the control solution and the actual vehicle execution. It updates the vehicle's motion state in real time, constructing a complete parking closed-loop control system, ensuring that the input state of each control cycle closely matches the vehicle's actual operating conditions, effectively suppressing accumulated control errors, and improving the accuracy, trajectory matching, and overall operational stability of automatic parking control.
[0239] As an optional implementation, based on the above embodiments, it further includes:
[0240] Calculate the velocity field distribution and motion vector sparsity of dynamic obstacles included in the current frame image;
[0241] Adjust the preset length of the time-series queue based on the calculation results.
[0242] Among them, the velocity field distribution refers to the spatial distribution of motion velocity corresponding to pixels in each dynamic obstacle region of the current frame image, which can characterize the overall speed of obstacle motion and local motion characteristics.
[0243] Among them, motion vector sparsity refers to the evaluation index that quantifies the density of dynamic target motion information, reflects the distribution density of effective motion vectors, and embodies the motion complexity of the scene.
[0244] Specifically, based on the dynamic target association results corresponding to multi-frame dynamic masks, the motion offset information of each dynamic obstacle in the current frame is statistically analyzed to construct a global velocity field distribution, fully representing the motion rate and direction characteristics of different dynamic targets. Simultaneously, the proportion and distribution of effective motion vectors are calculated, and the motion vector sparsity is obtained to quantify the dynamic complexity of the current parking scene. Combining the overall speed and sparsity of the velocity field, the preset length of the temporal queue is adaptively adjusted: the queue length is increased when the scene motion is complex and the target speed is fast, and the queue length is reduced when the motion is smooth and the vectors are sparse, achieving dynamic adaptive acquisition of temporal historical information.
[0245] Optionally, the query weight allocation of the self-attention mechanism can be dynamically adjusted based on the calculation results. When a high dynamic density region is detected, the effective temporal window is extended and the projection weight of historical features in the attention calculation is increased to enhance the ability to capture short-term abrupt motion trajectories. In low dynamic density regions, the effective window is shortened and the feature interaction between the current frame and the nearest neighbor frame is focused to reduce redundant calculations. At the same time, the attention head is adaptively masked by combining the covariance matrix of the motion vector to filter out low-confidence background texture interference.
[0246] By dynamically adjusting the allocation of computational resources and the scope of context dependencies for time-aware computing, the integrity of moving target feature extraction in complex dynamic scenarios is ensured while significantly reducing the computational burden of redundant features in static or slow-moving scenarios.
[0247] The automatic parking control method provided in this application quantifies the dynamic complexity of the scene by using the sparsity of the velocity field and motion vectors, thereby achieving adaptive dynamic adjustment of the temporal queue length and overcoming the limitations of a fixed queue length. In scenarios with intense motion, temporal information is expanded to improve dynamic perception accuracy; in stable scenarios, data is simplified to reduce computational overhead. This effectively balances the temporal feature fusion effect with real-time computation costs, adapting to different dynamic parking conditions and significantly improving the adaptability and robustness of the overall perception and control closed loop.
[0248] Figure 2 A flowchart illustrating an automatic parking control method provided in another embodiment of this application is shown below. Figure 2 As shown, the automatic parking control method provided in this embodiment includes the following steps:
[0249] Execute S201-S205 for the multi-frame environmental images acquired in the current cycle.
[0250] S201. A pre-trained feature extraction model is used to extract multi-dimensional visual features from the current frame environment image. The multi-dimensional visual features include edges, textures, contours, and corners.
[0251] S202. Using the features of the current frame environment image as the query vector and the features of each historical frame image in the time sequence queue as the key vector and value vector, calculate the current time sequence enhancement features through a multi-head attention mechanism.
[0252] S203. Using a preset dynamic head and a preset static head, generate dynamic enhancement coefficients and static suppression coefficients based on the current temporal enhancement features.
[0253] S204. Using the dynamic enhancement coefficient and the static suppression coefficient as weighting coefficients, the current temporal enhancement features are fused with the features of the current frame environment image to generate a dynamic probability map. Each pixel value in the dynamic probability map represents the probability value that the current position is a dynamic obstacle.
[0254] S205. Generate dynamic and static mask images corresponding to each frame of the environment image based on the dynamic probability map.
[0255] S206. Store the multi-dimensional visual features extracted from the current frame's environment image into a time-series queue.
[0256] S207. When the number of features in the time queue reaches the preset length, delete the features of the earliest historical frame image in the queue.
[0257] S208. Generate a static obstacle map corresponding to the current period based on the static mask map corresponding to each frame of the environment image.
[0258] S209. Perform multi-frame target association matching on the dynamic region output by the multi-frame dynamic mask map.
[0259] S210. Use a preset constant velocity model to estimate the position and velocity of each dynamic obstacle.
[0260] S211. Obtain the predicted trajectory of each dynamic obstacle through linear extrapolation and store it in the dynamic obstacle list.
[0261] S212. Construct a virtual envelope for each static obstacle based on a static obstacle map.
[0262] S213. Generate control barrier functions for each static obstacle based on the center position and radius of the virtual envelope.
[0263] S214. Construct the time-varying motion envelope of each dynamic obstacle based on the predicted trajectory.
[0264] S215. Generate control barrier functions for each dynamic obstacle based on the predicted position and radius of the dynamic obstacle and the preset safety distance.
[0265] S216. Calculate the Lie derivative of the static and dynamic obstacle control barrier functions, and multiply it with the first coefficient to obtain the safety non-negative constraint condition.
[0266] S217. Take the Lyapunov derivative of the control function and multiply it with the second coefficient as a stable nonnegative constraint condition.
[0267] S218. A preset quadratic programming solver is used to solve the current vehicle motion state, safety non-negative constraints, and stability non-negative constraints to determine the target control parameters corresponding to the current cycle.
[0268] S219. Generate vehicle prediction trajectory based on target control parameters.
[0269] S220. The vehicle prediction trajectory is adjusted using a preset time elastic band planner to obtain an updated vehicle prediction trajectory.
[0270] S221. Extract updated target control parameters from the updated vehicle predicted trajectory.
[0271] S222, Control the vehicle to perform automatic parking based on updated target control parameters.
[0272] S223. Obtain the pose feedback signal after the execution based on the updated target control parameters.
[0273] S224. Update the vehicle's motion state based on the pose feedback signal.
[0274] It should be noted that the execution order of S208 and S209-S211 is not important; the execution order of S212-S213 and S214-S215 is not important; and the execution order of S216 and S217 is not important.
[0275] In this embodiment, the implementation method and technical effect of S201-S224 are similar to those of the corresponding solutions in the above embodiments, and will not be repeated here.
[0276] Figure 3 This is a schematic diagram of the automatic parking control device provided in this application, as shown below. Figure 3 As shown, the automatic parking control device 30 provided in this embodiment includes: a generation module 31, a determination module 32, and a control module 33.
[0277] The generation module 31 is used to generate static obstacle control barrier functions and dynamic obstacle control barrier functions based on environmental perception results. The environmental perception results include a static obstacle map and a dynamic obstacle list corresponding to the current period, and the dynamic obstacle list includes the predicted trajectories of each dynamic obstacle. The generation module 31 is also used to generate a control Lyapunov function based on the center position of the target parking space. The determination module 32 is used to determine the target control parameters corresponding to the current period using a preset quadratic programming solver, with the static obstacle control barrier function, the dynamic obstacle control barrier function, and the control Lyapunov function as constraints. The control module 33 is used to control the vehicle to perform automatic parking based on the target control parameters.
[0278] The automatic parking control device provided in this embodiment can perform... Figure 2 and Figure 3 The implementation principles and technical effects of the methods shown are similar, and will not be repeated here.
[0279] Optionally, the generation module 31, when generating the static obstacle control barrier function, is specifically used to: construct a virtual envelope of each static obstacle based on the static obstacle map; and generate the control barrier function corresponding to each static obstacle according to the center position and radius of the virtual envelope.
[0280] Optionally, the generation module 31, when generating the dynamic obstacle control barrier function, is specifically used to: construct the time-varying motion envelope of each dynamic obstacle based on the predicted trajectory; and generate the control barrier function corresponding to each dynamic obstacle according to the predicted position and radius of the dynamic obstacle and the preset safety distance.
[0281] Optionally, the determining module 32 is also used to obtain the Lie derivative of the static and dynamic obstacle control barrier functions and multiply it with the first coefficient as a safety non-negative constraint condition; and to obtain the Lie derivative of the control Lyapunov function and multiply it with the second coefficient as a stability non-negative constraint condition.
[0282] Optionally, when determining the target control parameters corresponding to the current cycle, the determining module 32 is specifically used to: use a preset quadratic programming solver to solve the current vehicle motion state, safety non-negative constraints, and stability non-negative constraints to determine the target control parameters corresponding to the current cycle.
[0283] Optionally, the automatic parking control device provided in this embodiment further includes an adjustment module and an update module.
[0284] Correspondingly, the generation module 31 is also used to generate a vehicle prediction trajectory based on the target control parameters; the adjustment module is used to adjust the vehicle prediction trajectory using a preset time elastic band planner to obtain an updated vehicle prediction trajectory; and the update module is used to extract updated target control parameters from the updated vehicle prediction trajectory.
[0285] Optionally, the automatic parking control device provided in this embodiment further includes an extraction module and a calculation module.
[0286] Correspondingly, the extraction module is used to extract features from the current frame environment image; the calculation module is used to calculate the current temporal enhancement features based on the features of the current frame environment image and the features of each historical frame image in the temporal queue; and the generation module 31 is also used to generate a dynamic probability map based on the current temporal enhancement features.
[0287] Optionally, the extraction module is also used to extract multi-dimensional visual features from the current frame environment image using a pre-trained feature extraction model. The multi-dimensional visual features include edges, textures, contours, and corners.
[0288] Optionally, the computation module is also used to compute the current temporal enhancement features using the features of the current frame environment image as the query vector and the features of each historical frame image in the temporal queue as the key vector and value vector, through a multi-head attention mechanism.
[0289] Optionally, the generation module 31 is further configured to generate dynamic enhancement coefficients and static suppression coefficients based on the current temporal enhancement features using a preset dynamic head and a preset static head; and to fuse the current temporal enhancement features with the features of the current frame environment image using the dynamic enhancement coefficients and static suppression coefficients as weighting coefficients to generate a dynamic probability map, wherein each pixel value in the dynamic probability map represents the probability value that the current position is a dynamic obstacle.
[0290] Optionally, the generation module 31 is further configured to generate a dynamic mask map and a static mask map corresponding to each frame of the environment image based on the dynamic probability map; generate a static obstacle map corresponding to the current period based on the static mask map corresponding to each frame of the environment image; and generate a dynamic obstacle list corresponding to the current period based on the dynamic mask map corresponding to each frame of the environment image.
[0291] Optionally, the generation module 31 is also used to perform multi-frame target association matching on the dynamic region output by the multi-frame dynamic mask image; to estimate the position and velocity of each dynamic obstacle using a preset constant velocity model; to obtain the predicted trajectory of each dynamic obstacle through linear extrapolation and store it in the dynamic obstacle list.
[0292] Optionally, the automatic parking control device provided in this embodiment further includes a storage module and a deletion module.
[0293] Correspondingly, the storage module is used to store the multi-dimensional visual features extracted from the current frame environment image into a time-series queue; the deletion module is used to delete the features of the earliest historical frame image in the queue when the number of features in the time-series queue reaches a preset length.
[0294] Optionally, the automatic parking control device provided in this embodiment also includes an acquisition module.
[0295] Correspondingly, the acquisition module is used to acquire the pose feedback signal after execution based on the target control parameters; the update module is also used to update the vehicle motion state based on the pose feedback signal.
[0296] Optionally, the calculation module is also used to calculate the velocity field distribution and motion vector sparsity of the dynamic obstacles included in the current frame image; the adjustment module is also used to adjust the preset length of the timing queue according to the calculation results.
[0297] Figure 4 A schematic diagram of the structure of the electronic device provided in this application. Figure 4 As shown, the electronic device 40 provided in this embodiment includes a processor 41 and a memory 42. The processor 41 and the memory 42 are connected via a bus and communicate with each other.
[0298] In the specific implementation process, the processor 41 executes the computer execution instructions stored in the memory 42, causing the processor 41 to perform the above-described method.
[0299] The specific implementation process of processor 41 can be found in the above method embodiments, and its implementation principle and technical effect are similar. It will not be repeated here.
[0300] In the above embodiments, it should be understood that the processor 41 can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), etc. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in this invention can be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules within the processor.
[0301] The memory 42 may include random access memory (RAM) and may also include non-volatile memory (NVM), such as at least one disk storage device.
[0302] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc. For ease of illustration, the buses shown in the accompanying drawings are not limited to a single bus or a single type of bus.
[0303] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the above-described method.
[0304] This application also provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the above-described method.
[0305] The aforementioned readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as 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), magnetic storage, flash memory, magnetic disk, or optical disk. The readable storage medium can be any available medium accessible to a general-purpose or special-purpose computer.
[0306] An exemplary readable storage medium is coupled to a processor, enabling the processor to read information from and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can reside in an Application Specific Integrated Circuit (ASIC). Alternatively, the processor and the readable storage medium can exist as discrete components in the device.
[0307] The division of units is merely a logical functional division; in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be indirect coupling or communication connection through some interfaces, devices, or units, and may be electrical, mechanical, or other forms.
[0308] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0309] In addition, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0310] If a function is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this invention, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0311] Those skilled in the art will understand that all or part of the steps of the above-described method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When executed, the program performs the steps of the above-described method embodiments; and the aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disks, or optical disks.
[0312] Finally, it should be noted that other embodiments of the invention will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This invention is intended to cover any variations, uses, or adaptations of the invention that follow the general principles of the invention and include common knowledge or customary techniques in the art not disclosed herein, and is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of the invention is limited only by the appended claims.
Claims
1. An automatic parking control method characterized by, The method includes: Based on the environmental perception results, static obstacle control barrier functions and dynamic obstacle control barrier functions are generated. The environmental perception results include a static obstacle map and a dynamic obstacle list corresponding to the current period. The dynamic obstacle list includes the predicted trajectory of each dynamic obstacle. Generate a control Lyapunov function based on the center position of the target parking space; Using a pre-defined quadratic programming solver, and with static obstacle control barrier function, dynamic obstacle control barrier function and control Lyapunov function as constraints, the target control parameters corresponding to the current cycle are determined. The vehicle is controlled to perform automatic parking based on target control parameters.
2. The method of claim 1, wherein, Generate static obstacle control barrier functions, including: Construct a virtual envelope for each static obstacle based on a static obstacle map; The control barrier function corresponding to each static obstacle is generated based on the center position and radius of the virtual envelope.
3. The method of claim 1, wherein, Generate dynamic obstacle control barrier functions, including: Construct time-varying motion envelopes for each dynamic obstacle based on predicted trajectories; Based on the predicted position and radius of the dynamic obstacle, and the preset safety distance, a control barrier function is generated for each dynamic obstacle.
4. The method of claim 1, wherein, The constraints are defined by static and dynamic obstacle control barrier functions and control Lyapunov functions, including: The Lie derivatives of the static and dynamic obstacle control barrier functions are obtained and multiplied with the first coefficient to serve as the safety non-negativity constraint conditions. The Lyapunov derivative of the control function is obtained and multiplied with the second coefficient to form a stable nonnegativity constraint.
5. The method according to claim 4, characterized in that, Determine the target control parameters for the current cycle, including: A pre-defined quadratic programming solver is used to solve the problem based on the current vehicle motion state, safety non-negative constraints, and stability non-negative constraints to determine the target control parameters corresponding to the current cycle.
6. The method according to claim 1, characterized in that, After determining the target control parameters for the current cycle, the following steps are also included: Generate vehicle predicted trajectory based on target control parameters; The vehicle prediction trajectory is adjusted using a preset time elastic band planner to obtain an updated vehicle prediction trajectory; Updated target control parameters are extracted from the updated vehicle predicted trajectory.
7. The method according to claim 1, characterized in that, It also includes performing the following steps on the multi-frame environmental images acquired in the current period: Extract features from the current frame's environment image; Calculate the current temporal enhancement features based on the features of the current frame environment image and the features of each historical frame image in the temporal queue; A dynamic probability map is generated based on the current temporal enhancement features.
8. The method according to claim 7, characterized in that, Feature extraction is performed, including: A pre-trained feature extraction model is used to extract multi-dimensional visual features from the current frame environment image. These multi-dimensional visual features include edges, textures, contours, and corners.
9. The method according to claim 7, characterized in that, Calculate the current time-series augmentation features, including: Using the features of the current frame's environmental image as the query vector, and the features of each historical frame image in the temporal queue as the key vector and value vector, the current temporal enhancement features are calculated through a multi-head attention mechanism.
10. The method according to claim 7, characterized in that, Generate dynamic probability graphs, including: Dynamic enhancement coefficients and static suppression coefficients are generated based on the current temporal enhancement features using preset dynamic headers and preset static headers. Using dynamic enhancement coefficient and static suppression coefficient as weighting coefficients, the current temporal enhancement features are fused with the features of the current frame environment image to generate a dynamic probability map. Each pixel value in the dynamic probability map represents the probability value that the current position is a dynamic obstacle.
11. The method according to claim 10, characterized in that, Also includes: Generate dynamic and static mask images corresponding to each frame of the environment image based on the dynamic probability map; Generate a static obstacle map for the current period based on the static mask map corresponding to each frame of the environment image; A list of dynamic obstacles for the current period is generated based on the dynamic mask map corresponding to each frame of the environment image.
12. The method according to claim 11, characterized in that, Generate a dynamic list of obstacles, including: Perform multi-frame target association matching on the dynamic regions output by the multi-frame dynamic mask map; The position and velocity of each dynamic obstacle are estimated using a pre-set constant velocity model; The predicted trajectories of each dynamic obstacle are obtained by linear extrapolation and stored in the dynamic obstacle list.
13. The method according to claim 8, characterized in that, Also includes: The multi-dimensional visual features extracted from the current frame's environmental image are stored in a temporal queue; When the number of features in the time-series queue reaches the preset length, the features of the earliest historical frame image in the queue are deleted.
14. The method according to claim 5, characterized in that, Also includes: Obtain the pose feedback signal after execution based on the target control parameters; The vehicle's motion state is updated based on pose feedback signals.
15. The method according to claim 13, characterized in that, Also includes: Calculate the velocity field distribution and motion vector sparsity of dynamic obstacles included in the current frame image; Adjust the preset length of the time-series queue based on the calculation results.
16. An electronic device, characterized in that, include: Memory, processor; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory, causing the processor to perform the method as described in any one of claims 1-15.
17. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the method as described in any one of claims 1-15.
18. A computer program product, characterized in that, Includes a computer program that, when executed by a processor, implements the method according to any one of claims 1-15.
