Sunlight-avoiding automated driving planning method
By introducing coverage and temporal sustainability indicators into autonomous driving planning to screen shadow areas, and combining them with lane change cost functions, safe and compliant shadow utilization under strong sunlight conditions is achieved, solving the problems of rising in-vehicle temperature and energy consumption, and improving ride comfort and system intelligence.
Patent Information
- Application Number
- CN202611120554.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-27
- Publication Date
- 2026-11-27
AI Technical Summary
Existing autonomous driving planning algorithms fail to effectively utilize shaded areas, causing the interior temperature to rise rapidly under strong sunlight, affecting passenger comfort and increasing energy consumption. This can also lead to driver visual fatigue and sensor thermal drift.
By defining coverage and temporal sustainability metrics, feasible shadow areas are selected, and combined with lane change cost functions, the optimal shadow area is chosen for autonomous driving planning, ensuring safe, compliant, and efficient shadow utilization.
It effectively reduces the heat load inside the vehicle and the energy consumption of the air conditioning system, and improves the intelligence level of the autonomous driving system and passenger comfort in complex environments.
Smart Images

Figure CN123169949A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of autonomous driving technology, and in particular to an autonomous driving planning method for sun avoidance. Background Technology
[0002] In recent years, with the rapid development of intelligent driving technology, the environmental perception, path planning, and control decision-making capabilities of autonomous vehicles have gradually matured. However, most current planning and control algorithms primarily focus on safety, traffic regulation compliance, efficiency optimization, and ride comfort, with less consideration given to environmental factors related to ride comfort. Especially under strong sunlight in summer, when vehicles travel for extended periods in direct sunlight, the interior temperature rises rapidly, causing passengers to feel hot and uncomfortable. This not only affects the driving experience but also increases the load on the air conditioning system and energy consumption. Furthermore, continuous exposure to strong sunlight can lead to driver fatigue and sensor thermal drift, indirectly impacting the overall safety and performance of the autonomous driving system. Summary of the Invention
[0003] This invention aims to solve at least one of the technical problems existing in the prior art, and proposes an autonomous driving planning method that combines the characteristics of shadow spatial distribution with vehicle motion constraints.
[0004] In a first aspect, embodiments of the present invention provide an autonomous driving planning method for sunlight avoidance, comprising: determining a coverage index and a temporal maintainability index between the vehicle and the shadow area based on the vehicle's state information and shadow area information, wherein the shadow area includes dynamic shadows and static shadows, and the shadow area information includes at least a polygonal representation of the static shadow in a top-view coordinate system and speed information and longitudinal interval information of the dynamic shadow on the lane; combining driving safety constraints, performing feasibility screening on the shadow area based on the coverage index and the temporal maintainability index to obtain a candidate shadow set, wherein the driving safety constraints include at least one of coverage maintainability time constraints and lane use compliance constraints; calculating the benefit value of each candidate shadow in the candidate shadow set based on a lane change cost function, and determining a target shadow based on the benefit value to control the vehicle to drive into the coverage area of the target shadow, wherein the lane change cost function is determined based on a weighted combination of a shadow coverage benefit term, a lane change execution cost term, a driving efficiency cost term, and a dynamic shadow speed matching term.
[0005] According to an embodiment of the present invention, the coverage index is the ratio of the overlap area between the vehicle footprint area and the shadow area to the vehicle footprint area; the temporal sustainability index is the ratio of the duration during which the coverage index is greater than a first preset threshold within a preset prediction time window to the total duration of the prediction time window.
[0006] According to an embodiment of the present invention, lane use compliance constraints include at least one of the following: there is no lane marking type prohibiting lane changing between the current lane and the target lane of the vehicle; the target lane is not a dedicated lane type that prohibits the vehicle from entering; the lateral acceleration during the lane changing process of the vehicle does not exceed the upper limit of lateral acceleration; the collision time between the vehicle and surrounding traffic participants is not less than the lower limit of collision safety; the coverage sustainability time constraint includes a coverage index greater than a second preset threshold and a time domain sustainability index greater than a third preset threshold.
[0007] According to an embodiment of the present invention, for static shadows, in conjunction with driving safety constraints, the feasibility of shadow areas is screened based on coverage indicators and time-domain maintainability indicators, including: projecting the polygonal representation of the static shadow onto the centerline of the vehicle's drivable lane to obtain the longitudinal interval of the static shadow on the lane and the corresponding shadow length; determining the shortest lane change time required for the vehicle to complete the lane change based on the upper limits of lateral speed, lateral acceleration, and lateral jump when the vehicle performs a lane change; determining the minimum longitudinal length condition of the static shadow based on the shortest lane change time and the vehicle's current speed; when the shadow length of the static shadow satisfies the minimum longitudinal length condition, the coverage indicators and time-domain maintainability indicators both satisfy the coverage maintainability time constraint, and the vehicle's lane change trajectory satisfies the lane use compliance constraint, the static shadow is included in the candidate shadow set.
[0008] According to an embodiment of the present invention, the dynamic shadow is a moving shadow generated by a driving vehicle. For the dynamic shadow, in conjunction with driving safety constraints, the shadow area is screened for feasibility based on coverage index and temporal sustainability index, including: determining a reference position within the longitudinal interval of the lane of the dynamic shadow, the reference position being the center position of the longitudinal interval or a position offset from the center position by a preset distance; determining whether the speed of the driving vehicle corresponding to the dynamic shadow is within a preset neighborhood of the vehicle's cruising speed; determining whether the acceleration required for the vehicle to adjust to the reference position based on the speed difference meets the acceleration feasibility condition; determining whether the time distance and longitudinal spacing between the vehicle and the driving vehicle meet the following safety constraints, the following safety constraints including a time distance not lower than a time distance lower limit and a longitudinal spacing not lower than a spacing lower limit; when the speed difference is within the speed matching range, the acceleration meets the acceleration feasibility condition, the coverage index and temporal sustainability index meet the coverage sustainability time constraint, the following safety constraint is met, and the vehicle's lane-changing trajectory meets the lane use compliance constraint, the dynamic shadow is included in the candidate shadow set.
[0009] According to an embodiment of the present invention, in the lane change cost function, the driving efficiency cost term is determined based on the degree to which the vehicle deviates from the cruising speed and the degree to which it deviates from the planned navigation route; the shadow coverage benefit term is determined based on the coverage index; the lane change execution cost term is determined based on the time required for the vehicle to perform a lane change and the number of lane changes required; and the dynamic shadow speed matching term is determined based on the deviation between the vehicle speed and the speed of the vehicle corresponding to the dynamic shadow. The weight coefficients of the shadow coverage benefit term, the lane change execution cost term, the driving efficiency cost term, and the dynamic shadow speed matching term are adaptively adjusted based on at least one of the environmental irradiance intensity, the cabin heat load state, and the navigation critical road segment markers.
[0010] According to an embodiment of the present invention, determining the target shadow based on the benefit value includes: calculating a holding benefit value based on a lane change cost function and vehicle status information at a preset period; in response to the difference between the maximum benefit value and the holding benefit value in the candidate shadow set being greater than a benefit switching threshold, determining the candidate shadow with the maximum benefit value as the target shadow and controlling the vehicle to enter a shadow avoidance mode; in response to the difference between the maximum benefit value and the holding benefit value in the candidate shadow set being lower than an exit mode threshold while the vehicle is in the shadow avoidance mode, controlling the vehicle to exit the shadow avoidance mode; after the vehicle completes the lane change to the target shadow, entering a locking period, during which the switching of the shadow avoidance mode is not retried.
[0011] According to an embodiment of the present invention, when the target shadow is a static shadow, controlling the vehicle to travel into the coverage area of the target shadow includes: generating a lateral control signal to change lanes to the target lane where the target shadow is located, and controlling the vehicle to maintain a cruising speed; after the vehicle completes the lane change and enters the coverage area of the target shadow, it maintains the target lane and maintains the cruising speed.
[0012] According to an embodiment of the present invention, when the target shadow is a dynamic shadow, controlling the vehicle to travel to the coverage area of the target shadow includes: generating a lateral control signal to change lanes to the target lane where the dynamic shadow is located; determining the target speed of the vehicle through one-dimensional model predictive control based on the reference position of the dynamic shadow and the speed of the corresponding vehicle, wherein the one-dimensional model predictive control aims to make the longitudinal position of the vehicle approach the reference position of the dynamic shadow, and uses acceleration smoothness, minimum time distance, and acceleration upper and lower limits as constraints; generating a longitudinal speed control signal to make the vehicle travel at the target speed; and continuously monitoring the coverage index during the vehicle's tracking of the dynamic shadow, and exiting dynamic shadow tracking when the coverage index does not meet the coverage sustainability time constraint within a continuous preset period.
[0013] A second aspect of the present invention provides an autonomous driving planning system for sunlight avoidance, wherein the autonomous driving planning method for implementing the aforementioned sunlight avoidance includes: an index calculation module, used to determine a coverage index and a temporal sustainability index between the vehicle and the shadow area based on the vehicle's state information and shadow area information, wherein the shadow area includes dynamic shadows and static shadows, and the shadow area information includes at least a polygonal representation of the static shadow in a top-view coordinate system and speed information and longitudinal interval information of the dynamic shadow on the lane; a candidate shadow module, used to perform feasibility screening of the shadow area based on the coverage index and the temporal sustainability index in combination with driving safety constraints to obtain a candidate shadow set, wherein the driving safety constraints include at least one of a coverage sustainability time constraint and a lane use compliance constraint; and a target determination module, used to calculate the benefit value of each candidate shadow in the candidate shadow set based on a lane change cost function, and determine a target shadow based on the benefit value to control the vehicle to drive into the coverage area of the target shadow, wherein the lane change cost function is determined based on a weighted combination of a shadow coverage benefit term, a lane change execution cost term, a driving efficiency cost term, and a dynamic shadow speed matching term.
[0014] A third aspect of the present invention provides an electronic device comprising: one or more processors; and a memory for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors cause the one or more processors to perform the above-described autonomous driving planning method for sun avoidance.
[0015] A fourth aspect of the present invention also provides a computer-readable storage medium having executable instructions stored thereon, which, when executed by a processor, cause the processor to perform the above-described autonomous driving planning method for sun avoidance.
[0016] The autonomous driving planning method for sunlight avoidance provided by this invention defines coverage and temporal sustainability indicators as quantitative criteria to transform shaded areas into actively usable driving resources. Differentiated feasibility screening and benefit evaluation strategies are designed for static and dynamic shadows, and combined with a decision fusion mechanism and a state machine control framework. This enables autonomous vehicles to autonomously select shaded lane areas while ensuring safety, effectively reducing in-vehicle heat load and air conditioning system energy consumption. This gives autonomous driving planning and control the ability to adapt to climate and optimize comfort. This not only improves the intelligence level of autonomous driving systems in complex environments but also provides a new technical approach for optimizing the autonomous driving experience with passenger comfort as the primary focus in the future. Attached Figure Description
[0017] Figure 1 A flowchart illustrating an autonomous driving planning method for sunlight avoidance provided in an embodiment of the present invention;
[0018] Figure 2 This is an overall block diagram of the sunlight avoidance planning and control algorithm provided in the embodiments of the present invention;
[0019] Figure 3 This is a state machine diagram of the sunlight avoidance planning and control method provided in the embodiments of the present invention;
[0020] Figure 4 This is a structural block diagram of an autonomous driving planning system for sunlight avoidance provided in an embodiment of the present invention;
[0021] Figure 5 This is a structural block diagram of an electronic device provided in an embodiment of the present invention. Detailed Implementation
[0022] To enable those skilled in the art to better understand the technical solutions of the present invention, exemplary embodiments of the present invention are described below in conjunction with the accompanying drawings, including various details of the embodiments of the present invention to aid understanding. These should be considered merely exemplary. Therefore, those skilled in the art should recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the present invention. Similarly, for clarity and brevity, descriptions of well-known functions and structures are omitted in the following description.
[0023] Where there is no conflict, the various embodiments of the present invention and the features thereof may be combined with each other.
[0024] As used herein, the term “and / or” includes any and all combinations of one or more related enumerated entries.
[0025] The terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the invention. As used herein, the singular forms “a” and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will also be understood that when the terms “comprising” and / or “made of” are used in this specification, the presence of the stated feature, integral, step, operation, element, and / or component is specified, but the presence or addition of one or more other features, integrals, steps, operations, elements, components, and / or groups thereof is not excluded. Terms such as “connected” or “linked” are not limited to physical or mechanical connections but can include electrical connections, whether direct or indirect.
[0026] Unless otherwise specified, all terms used herein (including technical and scientific terms) have the same meaning as commonly understood by one of ordinary skill in the art. It will also be understood that terms such as those defined in commonly used dictionaries should be interpreted as having the meaning consistent with their meaning in the context of the relevant art and the invention, and will not be interpreted as having an idealized or overly formal meaning unless expressly so defined herein.
[0027] In the technical solution of this invention, the collection, storage, use, processing, transmission, provision, and disclosure of user personal information all comply with relevant laws and regulations and do not violate public order and good morals. The use of user data in this technical solution follows relevant national laws and regulations (e.g., the "Information Security Technology - Personal Information Security Specification"). For example: appropriate measures are taken for personal information access control; restrictions are imposed on the display of personal information; the purpose of using personal information does not exceed the scope of direct or reasonable association; and explicit identity targeting is eliminated when using personal information to avoid precisely locating a specific individual.
[0028] In complex environments such as urban roads, highways, and peri-urban areas, there are often various naturally or artificially formed shadow areas, such as shadows under overpasses, tree canopies, building obstructions, or dynamic shadows cast by vehicles (especially large trucks). These shadows are spatially continuous or movable. If these shadow areas can be rationally utilized while meeting safety, regulatory, and efficiency constraints, allowing autonomous vehicles to prioritize driving in shadowed lanes or areas, it can not only significantly reduce the heat load inside the vehicle but also improve passenger comfort and energy economy.
[0029] However, existing autonomous driving planning algorithms typically treat shadows as part of ambient lighting changes rather than as usable driving elements. Traditional methods lack mechanisms to explicitly incorporate shadow information into the planning layer, failing to identify and utilize the longitudinal continuity or dynamic traceability of shadow distribution on the road, and also failing to systematically model indicators such as shadow sustainability, length, and coverage. This results in the vehicle being unable to make proactive driving choices in planning decisions even when it detects shadows.
[0030] To address at least one of the technical problems existing in the aforementioned related technologies, the present invention provides an autonomous driving planning method for sunlight avoidance that achieves a balance between safety, comfort, and energy consumption. Figure 1 A flowchart illustrating an autonomous driving planning method for sunlight avoidance provided in an embodiment of the present invention; Figure 2 This is an overall block diagram of the sunlight avoidance planning and control algorithm provided in the embodiments of the present invention. Figure 1 and Figure 2 As shown, the method includes the following steps:
[0031] Step S1: Based on the vehicle status information and shadow area information, determine the coverage index and temporal sustainability index of the vehicle and the shadow area. The shadow area includes dynamic shadow and static shadow. The shadow area information includes at least the polygonal representation of the static shadow in the top-view coordinate system, as well as the speed information and longitudinal interval information of the dynamic shadow on the lane.
[0032] Step S2: Combining driving safety constraints, the shadow area is screened for feasibility based on coverage index and time-domain maintainability index to obtain a candidate shadow set. The driving safety constraints include at least one of coverage maintainability time constraints and lane use compliance constraints.
[0033] Step S3: Calculate the benefit value of each candidate shadow in the candidate shadow set based on the lane change cost function, and determine the target shadow based on the benefit value to control the vehicle to drive into the coverage area of the target shadow. The lane change cost function is determined based on a weighted combination of shadow coverage benefit item, lane change execution cost item, driving efficiency cost item and dynamic shadow speed matching item.
[0034] This method receives information about shadow areas identified by the perception layer at the input end, and performs strategy planning for longitudinal continuous shadows and longitudinal moving shadows through shadow screening, feasibility analysis, benefit evaluation and decision fusion in the planning layer, thereby enabling autonomous vehicles to actively avoid sunlight in direct sunlight environments.
[0035] The following combination Figure 1 and Figure 2 The specific implementation methods of each step are explained in detail.
[0036] In this embodiment, the shadow area information is provided by the perception module of the autonomous driving system. The perception module collects environmental data through onboard vision sensors or LiDAR, and after processing by BEV (Bird's Eye View) semantic segmentation or Occupancy network, outputs a polygonal representation of the shadow area in a top-down coordinate system and tracking information of the vehicle corresponding to the dynamic shadow. Specifically, static shadows refer to the projection areas of fixed objects such as buildings, trees, overpasses, and sound barriers on the ground, represented as closed polygons, with vertex coordinates given in the vehicle coordinate system or the global coordinate system; dynamic shadows refer to the projection areas of surrounding vehicles on the ground while they are moving. In addition to the polygonal representation, the perception module also provides the speed information of the carrier vehicle corresponding to the shadow and its longitudinal interval information in the lane. The vehicle status information includes the vehicle's current position, speed, heading angle, and global reference path information, which are provided by the localization module and the global path planning module, respectively.
[0037] Coverage metrics Defined as the ratio of the area overlapping the vehicle's footprint and the shaded area to the total area of the vehicle's footprint. The vehicle's footprint can be approximated by a length L, with the rear axle center as the reference point. ego Width W ego The rectangular region. Let the shaded polygonal region be... The rectangular area of the vehicle's footprint is The formula for calculating the coverage index is:
[0038]
[0039] Here, Area() calculates the area of a polygon, and ∩ represents the intersection operation of polygons. The value range of is [0, 1]: when When =1, it means the car body is completely covered in shadow; when When the value is 0, it means that the car is completely exposed to direct sunlight.
[0040] Due to the slow change in sunlight angle over time and the movement of vehicles, the position and shape of shadow areas change over time. Relying solely on the instantaneous coverage index at the current moment is insufficient to determine the usability of a particular shadow. Therefore, this invention introduces a temporal sustainability index p, defined as the coverage index exceeding a first preset threshold within a preset prediction time window. The proportion of the duration of this segment to the total duration of the prediction time window:
[0041]
[0042] Where I() is an indicator function, which takes the value 1 when the condition inside the parentheses is met, and takes the value 0 otherwise; The predicted coverage value at time t is calculated by extrapolating the longitudinal movement of the vehicle along the current lane centerline at cruising speed, combined with the motion model of the shadow area. In practice, discrete sampling is performed within the prediction time window at a preset time step, resulting in a total of N sampling points. p is approximately calculated as the proportion of sampling points that meet the requirements.
[0043] In this embodiment, driving safety constraints constrain the shaded area from two dimensions: coverage quality and traffic rules. Specifically, these constraints include coverage sustainability time constraints and lane usage compliance constraints.
[0044] The coverage sustainability time constraint refers to the requirement that the candidate shadow has a sufficiently large coverage area at the current moment, and that this coverage state can be maintained for a sufficiently long time within the prediction time window. Specifically, this constraint includes two sub-conditions: the coverage index at the current moment is greater than a second preset threshold; and the temporal sustainability index is greater than a third preset threshold within the prediction time window. These conditions ensure that the shadow candidate not only provides effective occlusion at the current moment, but also that this occlusion can be maintained for a foreseeable future period. When both sub-conditions are satisfied, the shadow candidate passes the coverage sustainability time constraint.
[0045] Lane use compliance constraints ensure the safety and legality of lane-changing operations from the perspectives of traffic regulations and vehicle dynamics. Specifically, this includes at least one of the following:
[0046] First, lane marking constraints, meaning there are no lane marking types that prohibit lane changes between the vehicle's current lane and the target lane. Specifically, check the lane line attributes: if it is a solid line, crossing to change lanes is prohibited; if it is a dashed line or the dashed side of a dashed-solid line, lane changes are allowed. This information can be obtained from the lane line detection results of the perception module or the lane line attribute fields of the high-precision map.
[0047] Second, lane type constraints apply, meaning the target lane must not be a dedicated lane type where private vehicles are prohibited. For example, bus lanes are off-limits to private vehicles during legally restricted hours; emergency lanes are only for emergency use and should not be used as target lanes for shadow avoidance. Lane type information is provided by the attribute fields of the high-precision map.
[0048] Third, lateral acceleration constraints, meaning that the lateral acceleration of the vehicle during lane changing must not exceed the upper limit of lateral acceleration. Specifically:
[0049]
[0050] Where v is velocity, For curvature, For acceleration, This is the upper limit of lateral acceleration, which is determined based on a combination of ride comfort and vehicle dynamics constraints.
[0051] Furthermore, the lane change trajectory planning employs a fifth-order polynomial to generate a smooth lateral displacement curve, with its first derivative representing lateral velocity and its second derivative representing lateral acceleration. During trajectory generation, the maximum lateral acceleration is constrained to not exceed the upper limit of lateral acceleration, thereby ensuring a smooth and comfortable lane change process.
[0052] Fourth, collision safety constraints, meaning the time to collision (TTC) between the vehicle and surrounding road users must not be lower than the minimum collision safety limit. Before making a lane-changing decision, TTC assessments are performed on the vehicles in front and behind in the target lane: if the vehicle changes lanes to the target lane along the planned trajectory, the TTC between the vehicle and the vehicles in front and behind in the target lane is calculated to ensure that none are lower than the minimum limit. The TTC assessment method uses the constant speed assumption, that is, it is assumed that all parties are moving at a constant current speed to calculate the collision time.
[0053] Regarding the feasibility screening of static shadows in step S2: For static shadows, firstly, the polygonal representation of the static shadow is projected along the centerline of the drivable lane using Frenet (Frenet Frame, a longitudinal-lateral (s, d) coordinate representation of the road centerline) to obtain the longitudinal interval and corresponding shadow length of the shadow in each lane. For each drivable lane i (including the current lane and adjacent lanes), with the Frenet coordinate system of the lane centerline as a reference: for the coordinates of each vertex of the shadow polygon, calculate the s-coordinate value of its nearest projection point on the lane centerline. Take the minimum value of the s-coordinates of all vertex projections as the starting position of the shadow on that lane. The maximum value is used as the ending position. Then the longitudinal interval of the shadow on lane i is The corresponding shadow length It should be noted that when a static shadow spans multiple lanes, each lane is projected separately to obtain an independent longitudinal section for each lane, and the shadow availability of each lane is evaluated independently.
[0054] Secondly, the shortest lane-change time is calculated. Changing a vehicle from its current lane to the target lane requires a certain execution time. This invention uses a fifth-order polynomial to represent the lateral displacement curve during the lane-change process, derived from the lateral velocity... acceleration , jump The minimum lane change time is determined by combining three upper limits, taking the maximum value among them to ensure comfort and safety. d approximates the lane center distance, and the minimum lane change time is obtained by solving for this value.
[0055]
[0056] Based on the minimum lane change time and the vehicle's current speed v, determine the minimum longitudinal length condition required for the static shadow to be effectively utilized. :
[0057]
[0058] in, This means that the shadow needs to be long enough for it to pass and for the person to remain in the shadow for a period of time. It is a vertical safety redundancy.
[0059] Finally, a comprehensive feasibility assessment is performed. When a candidate static shadow on lane i simultaneously meets all of the following conditions, it is included in the candidate shadow set: shadow length condition, i.e. The shadow extends long enough along the lane to cover the vehicle for a period of time after it has completed a lane change; there are also time constraints on the coverage; and lane usage compliance constraints. If a static shadow covers multiple lanes simultaneously, the above judgments are performed for each lane separately, and each qualified (shadow, lane) combination is added to the candidate set as an independent candidate shadow.
[0060] It should be noted that, provided that safety is guaranteed, priority should be given to entering lanes with continuous longitudinal static shadow coverage and driving steadily.
[0061] Regarding the feasibility screening of dynamic shadows in step S2: Dynamic shadows are moving projection areas on the ground created by surrounding vehicles in motion. Unlike static shadows, dynamic shadows move with the carrier vehicle; therefore, assessing their usability involves not only coverage and maintainability but also examining whether the vehicle can maintain an appropriate relative position to the carrier vehicle while ensuring safety and comfort.
[0062] In the feasibility screening of dynamic shadows, the reference position is first determined within the longitudinal interval of the lane in the dynamic shadow. The target longitudinal position is used for tracking the shadow of the vehicle. In this embodiment, Instead of directly taking the geometric center of the longitudinal section, it is offset by a preset distance from the geometric center to the rear of the vehicle, that is:
[0063]
[0064] in, This is the offset coefficient. An offset is introduced to take a reference point that is slightly off-center / forward within the shadow area, avoiding frequent entry and exit from the shadow boundary due to proximity to the shadow boundary.
[0065] Secondly, determine the speed of the shadow carrier vehicle. With the vehicle's cruising speed The speed difference between them determines whether the condition is met. The speed matching range defines the acceptable range of vehicle speed deviation for the vehicle without significantly deviating from the cruising speed, preventing drastic acceleration and deceleration. Sharp acceleration can lead to speeding, while sharp deceleration can impact traffic efficiency. Therefore, dynamic shadows exceeding the matching range are excluded.
[0066] Next, an acceleration feasibility assessment is performed. Within the speed matching range, it is further determined whether the longitudinal acceleration required for the vehicle to adjust from its current longitudinal position and speed v to the reference position and match the speed of the carrier vehicle is within a reasonable range. Inside, the details are as follows:
[0067]
[0068] in For the target speed that needs to be adjusted, This is a preset lane change time.
[0069] Next, a car-following safety constraint assessment is performed. This determines whether the time distance and longitudinal clearance between the vehicle and the shadow vehicle meet the car-following safety constraints: the time distance must not be lower than the lower limit of the safe time distance, and the longitudinal clearance must not be lower than the lower limit of the minimum clearance. These time distance and longitudinal clearance constraints ensure that the vehicle has sufficient time to react to the actions of the vehicle in front.
[0070] For a given dynamic shadow, it is included in the candidate shadow set if all of the following conditions are met: the speed meets the matching range; the expected acceleration meets the acceleration upper limit constraint; the coverage sustainability time constraint; the car-following safety constraint; and the lane usage compliance constraint. It should be noted that in the prediction calculation of the time-domain sustainability index p of the dynamic shadow, the shadow's motion model adopts the assumption of constant speed motion of the carrier vehicle rather than a static model.
[0071] Regarding the lane change cost function and target shadow determination in step S3: After screening the candidate shadow set, it is necessary to select the optimal solution from multiple feasible candidates. This invention constructs a comprehensive lane change cost function to quantitatively evaluate the benefits and costs of each candidate shadow. The lane change cost function is determined based on a weighted combination of four dimensions: shadow coverage benefit, lane change execution cost, driving efficiency cost, and dynamic shadow speed matching. The driving efficiency cost is determined based on the degree to which the vehicle deviates from the cruising speed and the degree to which it deviates from the planned navigation route; the shadow coverage benefit is determined based on the coverage index; the lane change execution cost is determined based on the time and number of lane changes required for the vehicle to perform a lane change; the dynamic shadow speed matching is determined based on the deviation between the vehicle's speed and the speed of the vehicle corresponding to the dynamic shadow; wherein, the weight coefficients of the shadow coverage benefit, lane change execution cost, driving efficiency cost, and dynamic shadow speed matching are adaptively adjusted according to at least one of the environmental irradiance, cabin heat load status, and navigation critical road segment markers.
[0072] Specifically, the track change cost function for static shadows is:
[0073]
[0074] e i Lateral deviation, i.e., the lateral distance between the actual position of the vehicle and the center line of the lane; w e ψ is the horizontal distance weighting coefficient. i This refers to the heading angle deviation, which is the angle between the vehicle's actual heading and the lane tangent direction; w ψ For heading angle weights. Δu represents the change in control variables, including the rate of change of steering wheel angle or acceleration; w uFor control quantity weights. η is the coverage, i.e., the percentage of the vehicle's area covered by shadow; w shade This is the shading weight, which can be adaptively increased based on external irradiance or in-vehicle heat load. △T travel This is the lane change time increment, i.e., the estimated additional travel time when switching to the shaded lane; w eff N represents the weight of the lane change cost. lc w represents the number of lane changes required to reach the shaded lane. lc It is assigned a weight to suppress frequent lane changes.
[0075] For the lane change cost function of dynamic shadows:
[0076]
[0077] Except for the parameters that are the same as those in the static cost function, v is the vehicle speed, v o The speed of the truck ahead that casts the shadow; w v Weights are assigned to match speed.
[0078] Regarding the specific method for determining the target shadow based on the profit value and state machine control. Figure 3 This is a state machine diagram for sunlight avoidance planning and control of the method provided in the embodiments of the present invention. Figure 3 As shown, this embodiment defines three core driving states: NORMAL, where the vehicle follows a normal cruise strategy and does not actively enter any shadow avoidance mode; in this state, the shadow evaluation module continues to run, performing candidate screening and cost calculation for shadow areas detected in the environment; IN_SHADE_STATIC, where the vehicle has identified a static shadow as its target and is executing or has completed a lane change to the lane where the shadow is located; in this state, the vehicle maintains its cruise speed and its lateral control is locked in the target lane; and IN_SHADE_DYNAMIC, where the vehicle has identified a dynamic shadow as its target and is tracking the vehicle carrying the shadow; in this state, in addition to maintaining its position in the target lane, the vehicle continuously adjusts its speed through the longitudinal speed control controller to maintain a reasonable positional relationship with the vehicle carrying the shadow.
[0079] In each planning cycle, based on the lane change cost function and the vehicle's current state information, the virtual benefit value for maintaining the current lane is calculated. The "Keep Current Lane" option can be considered a special virtual candidate: coverage is taken as the actual coverage value of the current lane at the current moment, lane change execution cost is zero, driving efficiency cost is taken as the current actual deviation value, and speed matching term is zero. This represents the overall benefit and cost of the vehicle continuing to travel without issuing any lane change instructions. In response to the existence of at least one candidate shadow in the candidate shadow set whose benefit is significantly better than the stay benefit, the candidate shadow with the highest benefit is determined as the target shadow: if the target shadow is a static shadow, the state switches to IN_SHADE_STATIC; if it is a dynamic shadow, the state switches to IN_SHADE_DYNAMIC.
[0080] While the vehicle is in shadow avoidance mode (IN_SHADE_STATIC or IN_SHADE_DYNAMIC), the candidate shadow set is continuously evaluated. If the advantage of any candidate shadow over maintaining the current lane is less than the exit threshold, or the coverage index is below the exit threshold for a preset time, or safety regulations are not met, the vehicle exits shadow avoidance mode and returns to the NORMAL state. Furthermore, after the vehicle completes a lane change maneuver towards the target shadow, a lockout period begins. During this period, the state machine remains locked in the current shadow avoidance mode, not responding to any mode switching requests. Even if a higher-benefit candidate shadow appears, a lane change is not triggered to avoid the switching burden caused by continuous lane changes in a short period. After the lockout period expires, normal shadow evaluation and mode switching resume.
[0081] Regarding the specific execution method of controlling the vehicle to travel into the coverage area of the target shadow in step S3 when the target shadow is a static shadow: Once the target shadow is determined to be a static shadow, the vehicle enters the IN_SHADE_STATIC state. First, a lateral control signal is generated to change lanes to the target lane where the target shadow is located. A smooth lateral displacement curve from the vehicle's current position to the centerline of the target lane is generated using the aforementioned fifth-order polynomial method. Trajectory planning simultaneously verifies whether the lane-changing trajectory continuously satisfies the lateral acceleration constraint. The lateral controller converts the planned lateral displacement curve into a steering wheel angle command. During the lane change, longitudinal control maintains the cruising speed. Second, after the vehicle completes the lane change and enters the coverage area of the target shadow, it maintains the target lane and cruise speed, and a timer is started for the locked period. The system monitors the vehicle's coverage status within the shadow in real time using coverage indicators.
[0082] Regarding the specific execution method in step S3 where the target shadow is a dynamic shadow, when the target shadow is determined to be a dynamic shadow, the vehicle enters the IN_SHADE_DYNAMIC state. First, a lateral control signal is generated to change lanes to the target lane where the dynamic shadow is located. The lateral control part is processed in the same way as in the static shadow execution control. During the lane change, the longitudinal speed is pre-adjusted synchronously. Based on the difference between the carrier vehicle speed and the vehicle's cruising speed, the vehicle approaches the target speed with a smooth acceleration curve.
[0083] Secondly, after the vehicle completes the lane change and enters the lane containing the dynamic shadow, a longitudinal reference speed needs to be generated to maintain a stable following relationship with the vehicle carrying the dynamic shadow. This embodiment provides two longitudinal reference generation methods, which can be selected according to the complexity of the scene and the available computing resources.
[0084] Set the longitudinal reference speed to the current speed of the dynamic shadow carrier vehicle, and perform upper and lower limit clipping:
[0085]
[0086] in, The current speed of the vehicle. and These are the minimum and maximum permitted speeds for a vehicle, respectively.
[0087] When the dynamic shadow drifts significantly in the longitudinal direction or the vehicle's speed fluctuates greatly, simply following the speed is insufficient to keep the vehicle stable within the shadow coverage area. In this case, one-dimensional model predictive control (1D-MPC) is used to optimize the vehicle's longitudinal position, enabling it to continuously track the shadow center.
[0088]
[0089] in, For the predicted time of the vehicle The vertical position, The reference longitudinal position of the i-th dynamic shadow on the k-th lane at the prediction time The predicted value, For the predicted time of the vehicle longitudinal acceleration, For vertical position tracking weights, Acceleration smoothing weights are applied. While keeping the vehicle's longitudinal position as close as possible to the shaded reference position, the smoothness of acceleration changes is constrained, and minimum time distance constraints and upper and lower acceleration limit constraints are satisfied.
[0090] When the carrier vehicle speed is stable and the speed deviation of the vehicle itself is small, the direct following method is adopted. When the shadow drift is obvious, the 1D-MPC method is adopted to improve the following accuracy.
[0091] In this embodiment, the static shadow strategy evaluation module and the dynamic shadow strategy evaluation module run in parallel, each independently performing feasibility screening and cost calculation for the shadow areas detected in the environment. The output results of the two sets of strategies are uniformly compared and arbitrated in the decision fusion module. Since the two types of shadows adopt a unified lane-change cost function framework, they are comparable. The decision fusion module's adjudication logic is to select the scheme with the maximum benefit from all evaluation results.
[0092] To facilitate implementation by those skilled in the art, the recommended values for each key parameter of the present invention in this embodiment are listed below:
[0093] Coverage threshold: , , Strict entry, relaxed exit, ensuring stability.
[0094] Sustainability: At least 70% of the predicted moments remain in the shadows.
[0095] Lane change comfort constraints: , , Used for calculation .
[0096] Static retention: , Avoid going out as soon as you enter the shadows.
[0097] Following safety: time distance s, spacing , acceleration upper limit Longitudinal safety metrics when dynamic shadows follow.
[0098] Triggering hysteresis: The entry threshold for the profit difference is higher than the exit threshold, preventing bounce.
[0099] Weight adaptive: With increasing radiation intensity and cabin heat load, the critical navigation segment is improved. The system can adaptively switch between prioritizing thermal comfort and prioritizing efficient navigation.
[0100] Those skilled in the art should understand that the above parameter values are only recommended values based on conventional urban road scenarios, and can be reasonably adjusted according to specific requirements such as the vehicle platform's power characteristics during the actual implementation process.
[0101] Figure 4 This is a structural block diagram of an autonomous driving planning system for sunlight avoidance, provided as an embodiment of the present invention. Figure 4As shown, the system includes an index calculation module, a candidate shadow module, and a target determination module, which can be used to implement the aforementioned autonomous driving planning method for sun avoidance. The index calculation module determines the coverage index and temporal sustainability index of the vehicle and the shadow area based on the vehicle's state information and shadow area information. The shadow area includes dynamic shadows and static shadows. The shadow area information includes at least the polygonal representation of the static shadow in the top-view coordinate system, as well as the speed information and longitudinal interval information of the dynamic shadow on the lane. The candidate shadow module performs feasibility screening of the shadow area based on the coverage index and temporal sustainability index, combined with driving safety constraints, to obtain a set of candidate shadows. The driving safety constraints include at least one of the coverage sustainability time constraint and lane use compliance constraint. The target determination module calculates the benefit value of each candidate shadow in the candidate shadow set based on the lane change cost function, and determines the target shadow based on the benefit value to control the vehicle to travel to the coverage area of the target shadow. The lane change cost function is determined based on a weighted combination of shadow coverage benefit term, lane change execution cost term, driving efficiency cost term, and dynamic shadow speed matching term.
[0102] Based on the same inventive concept, embodiments of the present invention also provide an electronic device. Figure 5 This is a structural block diagram of an electronic device provided in an embodiment of the present invention. Figure 5 As shown, an embodiment of the present invention provides an electronic device including: one or more processors 101, a memory 102, and one or more I / O interfaces 103. The memory 102 stores one or more programs, which, when executed by the one or more processors, enable the one or more processors to implement any of the sun avoidance autonomous driving planning methods described in the above embodiments; the one or more I / O interfaces 103 are connected between the processors and the memory, configured to enable information interaction between the processors and the memory.
[0103] The processor 101 is a device with data processing capabilities, including but not limited to a central processing unit (CPU); the memory 102 is a device with data storage capabilities, including but not limited to random access memory (RAM, more specifically SDRAM, DDR, etc.), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), and flash memory (FLASH); the I / O interface (read / write interface) 103 is connected between the processor 101 and the memory 102, and can realize information interaction between the processor 101 and the memory 102, including but not limited to a data bus (Bus).
[0104] In some embodiments, the processor 101, memory 102, and I / O interface 103 are interconnected via bus 104, and thus connected to other components of the computing device.
[0105] In some embodiments, the one or more processors 101 include a field-programmable gate array.
[0106] This invention also provides a computer-readable medium. The computer-readable medium stores a computer program, which, when executed by a processor, implements the steps in any of the above-described autonomous driving planning methods for sun avoidance. The computer-readable storage medium may be volatile or non-volatile.
[0107] This invention also provides a computer program product, including computer-readable code, or a non-volatile computer-readable storage medium carrying computer-readable code. When the computer-readable code is run in the processor of an electronic device, the processor in the electronic device executes the above-described autonomous driving planning method for sun avoidance.
[0108] Those skilled in the art will understand that all or some of the steps, systems, and apparatuses disclosed above, and their functional modules / units, can be implemented as software, firmware, hardware, or suitable combinations thereof. In hardware implementations, the division between functional modules / units mentioned above does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed collaboratively by several physical components. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit (ASIC). Such software can be distributed on a computer-readable storage medium, which may include computer storage media (or non-transitory media) and communication media (or transient media).
[0109] As is known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information, such as computer-readable program instructions, data structures, program modules, or other data. Computer storage media includes, but is not limited to, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), static random access memory (SRAM), flash memory or other memory technologies, portable compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical disc storage, magnetic cartridges, magnetic tape, disk storage or other magnetic storage devices, or any other medium that can be used to store desired information and is accessible to a computer. Furthermore, it is known to those skilled in the art that communication media typically contain computer-readable program instructions, data structures, program modules, or other data in modulated data signals such as carrier waves or other transmission mechanisms, and may include any information delivery medium.
[0110] The computer-readable program instructions described herein can be downloaded from computer-readable storage media to various computing / processing devices, or downloaded via a network, such as the Internet, local area network, wide area network, and / or wireless network, to an external computer or external storage device. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers, and / or edge servers. A network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards them to the computer-readable storage media in the respective computing / processing device.
[0111] The computer program instructions used to perform the operations of this invention may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages such as Smalltalk, C++, etc., and conventional procedural programming languages such as the "C" language or similar programming languages. The computer-readable program instructions may be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or may be connected to an external computer (e.g., via the Internet using an Internet service provider). In some embodiments, electronic circuitry, such as programmable logic circuitry, field-programmable gate arrays (FPGAs), or programmable logic arrays (PLAs), is personalized by utilizing state information from the computer-readable program instructions. This electronic circuitry can execute the computer-readable program instructions to implement various aspects of the invention.
[0112] The computer program product described herein can be implemented specifically through hardware, software, or a combination thereof. In one alternative embodiment, the computer program product is specifically embodied in a computer storage medium; in another alternative embodiment, the computer program product is specifically embodied in a software product, such as a software development kit (SDK), etc.
[0113] Various aspects of the present invention are described herein with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer-readable program instructions.
[0114] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine such that, when executed by the processor of the computer or other programmable data processing apparatus, they create means for implementing the functions / actions specified in one or more blocks of the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium that causes a computer, programmable data processing apparatus, and / or other device to operate in a particular manner; thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing aspects of the functions / actions specified in one or more blocks of the flowchart and / or block diagram.
[0115] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to perform the functions / actions specified in one or more boxes of a flowchart and / or block diagram.
[0116] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of an instruction, which contains one or more executable instructions for implementing a specified logical function. In some alternative implementations, the functions marked in the blocks may occur in a different order than those shown in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.
[0117] Example embodiments have been disclosed herein, and while specific terminology has been used, it is for illustrative purposes only and should be construed as such, and is not intended to be limiting. In some instances, it will be apparent to those skilled in the art that features, characteristics, and / or elements described in conjunction with particular embodiments may be used alone, or in combination with features, characteristics, and / or elements described in conjunction with other embodiments, unless otherwise expressly indicated. Therefore, those skilled in the art will understand that various changes in form and detail may be made without departing from the scope of the invention as set forth in the appended claims.
Claims
1. An autonomous driving planning method for sunlight avoidance, characterized in that, include: Based on the vehicle status information and shadow area information, the coverage index and temporal sustainability index of the vehicle and the shadow area are determined. The shadow area includes dynamic shadow and static shadow. The shadow area information includes at least the polygonal representation of the static shadow in the top-view coordinate system and the speed information and longitudinal interval information of the dynamic shadow on the lane. Combining driving safety constraints, the shadow area is screened for feasibility based on the coverage index and the time-domain maintainability index to obtain a candidate shadow set. The driving safety constraints include at least one of the coverage maintainability time constraints and lane use compliance constraints. The benefit value of each candidate shadow in the candidate shadow set is calculated based on the lane change cost function. The target shadow is determined based on the benefit value to control the vehicle to travel to the coverage area of the target shadow. The lane change cost function is determined based on a weighted combination of shadow coverage benefit, lane change execution cost, driving efficiency cost, and dynamic shadow speed matching.
2. The method according to claim 1, wherein, The coverage index is the ratio of the overlap area between the vehicle footprint area and the shadow area to the vehicle footprint area; the temporal sustainability index is the ratio of the duration during which the coverage index is greater than a first preset threshold within a preset prediction time window to the total duration of the prediction time window.
3. The method according to claim 1, wherein, The lane use compliance constraints include at least one of the following: there is no lane marking type that prohibits lane changing between the vehicle's current lane and the target lane; the target lane is not a dedicated lane type that prohibits the vehicle from entering; the lateral acceleration of the vehicle during the lane changing process does not exceed the upper limit of lateral acceleration; and the collision time between the vehicle and surrounding traffic participants is not less than the lower limit of collision safety. The coverage sustainability time constraint includes the coverage index being greater than a second preset threshold and the time domain sustainability index being greater than a third preset threshold.
4. The method according to claim 3, wherein, For the static shadow, the feasibility screening of the shadow area based on the coverage index and the temporal sustainability index, combined with driving safety constraints, includes: The polygonal representation of the static shadow is projected onto the centerline of the drivable lane to find the intersection, thereby obtaining the longitudinal interval of the static shadow on the lane and the corresponding shadow length. Based on the upper limits of lateral speed, lateral acceleration, and lateral jump when the vehicle performs a lane change, the shortest lane change time required for the vehicle to complete the lane change is determined. The minimum longitudinal length condition for determining the static shadow is based on the shortest lane change time and the current speed of the vehicle. When the shadow length of the static shadow satisfies the minimum longitudinal length condition, the coverage index and the temporal sustainability index both satisfy the coverage sustainability time constraint, and the vehicle lane-changing trajectory satisfies the lane use compliance constraint, the static shadow is included in the candidate shadow set.
5. The method according to claim 3, wherein, The dynamic shadow is a moving shadow generated by a moving vehicle. For the dynamic shadow, the feasibility screening of the shadow area based on the coverage index and the temporal sustainability index, combined with driving safety constraints, includes: A reference position is determined within the longitudinal section of the lane in the dynamic shadow, and the reference position is the center position of the longitudinal section or a position offset by a preset distance relative to the center position; Determine whether the speed of the vehicle corresponding to the dynamic shadow is within a preset neighborhood of the vehicle's cruising speed; Based on the speed difference, determine whether the acceleration required for the vehicle to adjust to the reference position meets the acceleration feasibility conditions; Determine whether the time distance and longitudinal distance between the vehicle and the traveling vehicle meet the car-following safety constraints, wherein the car-following safety constraints include that the time distance is not lower than the time distance lower limit and the longitudinal distance is not lower than the distance lower limit; When the speed difference is within the speed matching range, the acceleration meets the acceleration feasibility condition, the coverage index and the time-domain maintainability index meet the coverage maintainability time constraint, the car-following safety constraint is met, and the vehicle lane-changing trajectory meets the lane use compliance constraint, the dynamic shadow is included in the candidate shadow set.
6. The method according to claim 1, wherein, In the lane change cost function, the driving efficiency cost term is determined based on the degree to which the vehicle deviates from the cruising speed and the degree to which it deviates from the planned navigation route; the shadow coverage benefit term is determined based on the coverage index. The lane change execution cost term is determined based on the time and number of lane changes required for the vehicle to perform a lane change; the dynamic shadow speed matching term is determined based on the deviation between the vehicle's speed and the speed of the vehicle corresponding to the dynamic shadow. The weight coefficients of the shadow coverage benefit, lane change execution cost, driving efficiency cost, and dynamic shadow speed matching are adaptively adjusted based on at least one of the environmental irradiance, cabin heat load status, and navigation critical road segment markings.
7. The method according to claim 1, wherein, Determining the target shadow based on the gain value includes: Based on the lane change cost function and the vehicle status information, the holding revenue value is calculated according to a preset period. If the difference between the maximum gain value and the remaining gain value in the candidate shadow set is greater than the gain switching threshold, then the candidate shadow with the maximum gain value is determined as the target shadow, and the vehicle is controlled to enter the shadow avoidance mode. In response to the fact that the difference between the maximum gain value and the maintenance gain value in the candidate shadow set is lower than the exit mode threshold while the vehicle is in the shadow avoidance mode, the vehicle is controlled to exit the shadow avoidance mode. After the vehicle completes the lane change towards the target shadow, it enters a locked period, during which the shadow avoidance mode switching is not triggered again.
8. The method according to claim 1, wherein, When the target shadow is a static shadow, controlling the vehicle to travel to the area covered by the target shadow includes: Generate a lateral control signal to change lanes to the target lane where the target shadow is located, and control the vehicle to maintain the cruise speed; After the vehicle completes the lane change and enters the area covered by the target shadow, it continues to drive in the target lane and maintains the cruise speed.
9. The method according to claim 1, wherein, When the target shadow is a dynamic shadow, controlling the vehicle to travel into the area covered by the target shadow includes: Generate a lateral control signal to change lanes to the target lane where the dynamic shadow is located; Based on the reference position of the dynamic shadow and the speed of the corresponding vehicle, the target speed of the vehicle is determined by one-dimensional model predictive control. The one-dimensional model predictive control aims to make the longitudinal position of the vehicle approach the reference position of the dynamic shadow, and uses acceleration smoothness, minimum time distance and acceleration upper and lower limits as constraints. Generate a longitudinal speed control signal to make the vehicle travel at the target speed; During the tracking of the dynamic shadow by the vehicle, the coverage index is continuously monitored. When the coverage index does not meet the coverage sustainability time constraint within a consecutive preset period, the dynamic shadow tracking is terminated.
10. An autonomous driving planning system for sunlight avoidance, wherein, Capable of implementing the method of claim 1, comprising: The index calculation module is used to determine the coverage index and time-domain maintainability index of the vehicle and the shadow area based on the vehicle status information and shadow area information. The shadow area includes dynamic shadow and static shadow. The shadow area information includes at least the polygonal representation of the static shadow in the top-view coordinate system and the speed information and longitudinal interval information of the dynamic shadow on the lane. The candidate shadow module is used to combine driving safety constraints and perform feasibility screening of the shadow area based on the coverage index and the time-domain maintainability index to obtain a candidate shadow set. The driving safety constraints include at least one of the coverage maintainability time constraints and lane use compliance constraints. The target determination module is used to calculate the benefit value of each candidate shadow in the candidate shadow set based on the lane change cost function, and determine the target shadow according to the benefit value to control the vehicle to drive to the coverage area of the target shadow. The lane change cost function is determined based on a weighted combination of shadow coverage benefit item, lane change execution cost item, driving efficiency cost item and dynamic shadow speed matching item.
11. An electronic device, wherein, include: One or more processors; Memory, used to store one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the method as described in any one of claims 1 to 9.
12. A computer-readable medium having a computer program stored thereon, wherein, When the computer program is executed by a processor, it implements the steps of the method as described in any one of claims 1 to 9.
