Control method, apparatus, device, storage medium, and computer program product
By calculating the distance information and attenuation coefficient between the vehicle and the pedestrian crossing, the trigger distance for emergency braking is adjusted, solving the problem that vehicles cannot accurately trigger emergency braking in existing technologies, and achieving higher braking accuracy and driver experience.
Patent Information
- Application Number
- CN202510712704.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-29
- Publication Date
- 2026-12-01
AI Technical Summary
Existing vehicle automatic emergency braking systems cannot accurately trigger emergency braking in scenarios where pedestrians are crossing, due to the high mobility of pedestrians, thus reducing the accuracy of braking.
By determining the predicted trajectory information of pedestrians crossing the road and the predicted trajectory information of vehicles, the distance information between vehicles and pedestrians is calculated, and the attenuation coefficient is determined based on this distance information to adjust the trigger distance of emergency braking in order to improve the accuracy of braking.
It improves the accuracy of emergency braking when vehicles are crossing pedestrians, reduces the possibility of false triggering, and enhances the driver's experience.
Smart Images

Figure CN123190811A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of control technology, and in particular to a control method, apparatus, device, storage medium, and computer program product. Background Technology
[0002] When a vehicle's automatic emergency braking system encounters a pedestrian crossing, it triggers emergency braking by determining a fixed distance between the vehicle and the pedestrian. However, pedestrians are highly mobile during their movement. If a pedestrian anticipates a danger and chooses to stop abruptly, the vehicle may not be able to trigger emergency braking at the precise location, reducing the accuracy of the vehicle's emergency braking. Summary of the Invention
[0003] This application provides a control method, apparatus, device, storage medium, and computer program product to improve the accuracy of vehicle emergency braking.
[0004] To achieve the above objectives, the technical solution of this application embodiment is implemented as follows:
[0005] In a first aspect, this application provides a control method, the method comprising:
[0006] When a pedestrian is detected crossing in front of the vehicle, the first predicted trajectory information of the pedestrian is determined.
[0007] Based on the first predicted trajectory information and the second predicted trajectory information of the vehicle, a first distance information between the vehicle and the pedestrian crossing the road is determined.
[0008] The attenuation coefficient is determined based on the first distance information;
[0009] The second distance information for triggering emergency braking of the vehicle is adjusted according to the attenuation coefficient to obtain the third distance information;
[0010] The vehicle is controlled to trigger emergency braking when the distance information between the vehicle and the pedestrian crossing the road reaches the third distance information.
[0011] Secondly, this application provides a control device, the device comprising:
[0012] The first determining unit is used to determine the first predicted trajectory information of the pedestrian crossing the road when a pedestrian is detected crossing the road in front of the vehicle.
[0013] The second determining unit is configured to determine the first distance information between the vehicle and the pedestrian crossing the road based on the first predicted trajectory information and the second predicted trajectory information of the vehicle.
[0014] The third determining unit is used to determine the attenuation coefficient based on the first distance information;
[0015] An adjustment unit is used to adjust the second distance information of the vehicle triggering emergency braking according to the attenuation coefficient to obtain the third distance information;
[0016] The control unit is used to control the vehicle to trigger emergency braking when the distance information between the vehicle and the pedestrian crossing the road reaches the third distance information.
[0017] Thirdly, this application provides a control device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the steps of any of the methods described above.
[0018] Fourthly, this application provides a storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of any of the methods described above.
[0019] Fifthly, this application provides a computer program product, including a computer program that, when executed by a processor, implements the steps of any of the methods described above.
[0020] This application proposes a control method, apparatus, device, storage medium, and computer program product. The method includes: when a pedestrian is detected crossing in front of a vehicle, determining first predicted trajectory information of the pedestrian; determining first distance information between the vehicle and the pedestrian based on the first predicted trajectory information and second predicted trajectory information of the vehicle; determining an attenuation coefficient based on the first distance information; adjusting the second distance information for triggering emergency braking of the vehicle based on the attenuation coefficient to obtain third distance information; and controlling the vehicle to trigger emergency braking when the distance information between the vehicle and the pedestrian reaches the third distance information. By employing the above implementation method, when a pedestrian is detected crossing in front of the vehicle, the first predicted trajectory information of the pedestrian is determined, and the first distance information between the vehicle and the pedestrian is determined based on the first predicted trajectory information and the second predicted trajectory information of the vehicle to determine the attenuation coefficient. The second distance information is then adjusted to the third distance information based on the attenuation coefficient. In other words, the triggering timing of emergency braking can be determined based on the attenuation coefficient, thereby improving the accuracy of emergency braking. Attached Figure Description
[0021] Figure 1 A flowchart illustrating a control method provided in an embodiment of this application;
[0022] Figure 2 This is an exemplary schematic diagram illustrating the positional relationship between a vehicle and a pedestrian crossing the road, provided as an embodiment of this application.
[0023] Figure 3A schematic diagram of an exemplary first graph neural network provided in this application embodiment;
[0024] Figure 4 This is a schematic diagram of the structure of a control device provided in an embodiment of this application;
[0025] Figure 5 This is a schematic diagram of the structure of a control device provided in an embodiment of this application. Detailed Implementation
[0026] In order to gain a more detailed understanding of the features and technical content of the embodiments of this application, the implementation of the embodiments of this application will be described in detail below with reference to the accompanying drawings. The accompanying drawings are for reference and illustration only and are not intended to limit the embodiments of this application.
[0027] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of this application only and is not intended to limit this application.
[0028] In the following description, references to "some embodiments" are made, which describe a subset of all possible embodiments. However, it is understood that "some embodiments" may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict. It should also be noted that the terms "first," "second," etc., used in the embodiments of this application are only used to distinguish similar objects and do not represent a specific ordering of objects. It is understood that "first," "second," etc., may be interchanged in a specific order or sequence where permitted, so that the embodiments of this application described herein can be implemented in an order other than that illustrated or described herein.
[0029] This application provides a control method. Figure 1 A flowchart illustrating a control method provided in an embodiment of this application; as shown Figure 1 As shown, the method includes:
[0030] S101. When a pedestrian is detected crossing in front of the vehicle, determine the first predicted trajectory information of the pedestrian crossing.
[0031] It should be noted that "crossing the road" can be understood as pedestrians crossing the road in front of vehicles. For ease of understanding, Figure 2 An exemplary schematic diagram illustrating the positional relationship between a vehicle and a pedestrian crossing the road, provided as an embodiment of this application, is shown below. Figure 2As shown, a pedestrian is crossing the road in front of a vehicle. The first predicted trajectory information can be understood as the predicted position information of the pedestrian crossing the road within the first time period. The specific first time period can be determined according to the time situation and is not limited here; as an example, the first time period includes the next 1 second.
[0032] S102. Determine the first distance information between the vehicle and the pedestrian crossing the road based on the first predicted trajectory information and the second predicted trajectory information of the vehicle.
[0033] It should be noted that the second predicted trajectory information can be understood as the predicted position information of the vehicle over multiple consecutive time periods; the specific number of consecutive time periods can be determined according to the actual situation and is not limited here; as an example, the multiple consecutive time periods include the next 4 seconds, and each time period within the multiple consecutive time periods can be understood as dividing the next 4 seconds into four 1-second time periods. The first distance information can be understood as the shortest lateral distance between the vehicle and the pedestrian crossing the road. In practical applications, the first distance information can be denoted as lat_est.
[0034] It should be noted that the process of obtaining the second predicted trajectory information can be understood as obtaining the trajectory feature information of the vehicle, using Bézier curves to predict the trajectory feature information, and obtaining the second predicted trajectory information.
[0035] S103. Determine the attenuation coefficient based on the first distance information.
[0036] It should be noted that the attenuation coefficient can be understood as the distance attenuation factor. Specifically, when the first distance information is less than a first threshold, the attenuation coefficient is determined directly; when the first distance information is greater than or equal to the first threshold, the attenuation coefficient is determined based on the first distance information and the vehicle's brake pedal information. The first threshold can be determined based on actual circumstances and is not limited here.
[0037] S104. Adjust the second distance information of the vehicle triggering emergency braking according to the attenuation coefficient to obtain the third distance information.
[0038] It should be noted that the second distance information can be understood as the original trigger distance for the vehicle to trigger the emergency braking, that is, the vehicle triggers the emergency braking when it originally travels to the second distance information. The second distance information can be determined according to the Automatic Emergency Braking System (AEB) of the vehicle. The third distance information can be understood as the trigger distance after the original trigger distance information is adjusted. The second distance information for the vehicle to trigger the emergency braking is adjusted according to the attenuation coefficient to obtain the third distance information, which may be illustrated by taking the product of the attenuation coefficient and the second distance information as the third distance information.
[0039] S105: controlling the vehicle to trigger the emergency braking when the distance information between the vehicle and the crossing pedestrian reaches the third distance information.
[0040] It should be noted that controlling the vehicle to trigger the emergency braking when the distance information between the vehicle and the crossing pedestrian reaches the third distance information can be understood as that the vehicle triggers the emergency braking when the distance information between the vehicle and the crossing pedestrian reaches the third distance information, that is, the vehicle performs the emergency braking at the position corresponding to the third distance information adjusted from the original second distance information.
[0041] According to the technical solution of the embodiment of the present application, when a crossing pedestrian is detected in front of the vehicle, first predicted trajectory information of the crossing pedestrian is determined, and first distance information between the vehicle and the crossing pedestrian is determined according to the first predicted trajectory information and second predicted trajectory information of the vehicle to determine an attenuation coefficient. The second distance information is adjusted to the third distance information according to the attenuation coefficient, that is, the trigger timing for the vehicle to trigger the emergency braking can be determined according to the attenuation coefficient, so as to improve the accuracy of triggering the emergency braking by the vehicle.
[0042] In some embodiments, the process of determining the attenuation coefficient based on the first distance information specifically includes: determining the attenuation coefficient as a first coefficient when the first distance information is less than a first threshold.
[0043] It should be noted that the first threshold is the same as the above-mentioned first threshold, and its specific value can be determined according to actual conditions, which is not limited herein. In practical applications, the first threshold may be recorded as l1. The situation that the first distance information is less than the first threshold can be understood as the situation that the confidence of the vehicle's crossing sudden stop is low confidence (low_conf); in practical applications, the situation that the first distance information is less than the first threshold may be represented by low_conf: lat_est < l1. The value of the first coefficient can be determined according to actual conditions, which is not limited herein; as an example, the first coefficient includes 1. The situation that the attenuation coefficient is the first coefficient can be understood as that the second distance information of the vehicle is not delayed.
[0044] For ease of understanding, when the first distance information is less than the first threshold, the attenuation coefficient is determined to be the first coefficient. For example, when the shortest lateral distance information between the vehicle and the pedestrian crossing (i.e., the first distance information) is less than the first threshold, the confidence of the vehicle crossing and stopping suddenly is (low confidence, low_conf), and the Factor is 1.
[0045] The solution in this application determines the attenuation coefficient of vehicle travel to be 1 when the shortest lateral distance (first distance information) between the vehicle and the pedestrian crossing is less than a first threshold. This means that the emergency braking is not delayed and the positive triggering performance in an emergency is preserved.
[0046] In some embodiments, the process of determining the attenuation coefficient based on the first distance information specifically includes: when the first distance information is greater than or equal to a first threshold, determining the attenuation coefficient based on the first distance information and the vehicle's brake pedal depth information.
[0047] It should be noted that the first threshold is the same as the first threshold mentioned above, and will not be repeated here. The vehicle's brake pedal depth information can be understood as the driver's braking intention information. Determining the attenuation coefficient based on the first distance information and the vehicle's brake pedal depth information can be understood as determining the attenuation coefficient based on the comparison between the first distance information and the second threshold, and the comparison between the brake pedal depth information and the third threshold. The value of the second threshold can be determined according to the actual situation and is not limited here; the second threshold is greater than the first threshold, and in practical applications, the second threshold can be denoted as l2. The third threshold can be understood as the brake pedal depth threshold, and its specific value can be determined according to the actual situation and is not limited here.
[0048] The solution in this application embodiment determines the attenuation coefficient based on the first distance information and the brake pedal depth information when the shortest lateral distance (first distance information) between the vehicle and the pedestrian crossing is greater than or equal to a first threshold. While determining the vehicle attenuation coefficient, the braking intention information (brake pedal depth information) of the vehicle driver is also taken into account, which can improve the driver's experience and reduce the false triggering of emergency braking based on the attenuation coefficient, that is, improve the accuracy of the vehicle's emergency braking.
[0049] In some embodiments, the process of determining the attenuation coefficient based on the first distance information and the brake pedal depth information of the vehicle specifically includes: determining the attenuation coefficient as a second coefficient when the first distance information is less than a second threshold and the brake pedal depth information of the vehicle is less than a third threshold; determining the attenuation coefficient as a third coefficient when the first distance information is less than the second threshold and the brake pedal depth information of the vehicle is greater than or equal to the third threshold, or when the first distance information is greater than or equal to the second threshold and the brake pedal depth information of the vehicle is less than the third threshold; determining the attenuation coefficient as a fourth coefficient when the first distance information is greater than or equal to the second threshold and the brake pedal depth information of the vehicle is greater than or equal to the third threshold; the first coefficient is greater than the second coefficient; the second coefficient is greater than the third coefficient; the third coefficient is greater than the fourth coefficient.
[0050] It should be noted that the first threshold, the second threshold, and the third threshold have been described above, and details thereof are not described herein again. The first distance information is greater than or equal to the first threshold and less than the second threshold. The case where the first distance information is greater than or equal to the first threshold and less than the second threshold may be understood as a case where the confidence of the vehicle's sudden horizontal stop is medium confidence (mid_conf). In practical applications, the condition that the first distance information is greater than or equal to the first threshold and less than the second threshold may be represented by mid_conf:l1<lat_est<l2. The case where the first distance information is greater than or equal to the second threshold may be understood as a case where the confidence of the vehicle's sudden horizontal stop is high confidence (high_conf). In practical applications, the condition that the first distance information is greater than or equal to the second threshold may be represented by high_conf: lat_est>l2. The first coefficient is greater than the second coefficient; the second coefficient is greater than the third coefficient; the third coefficient is greater than the fourth coefficient, and values of the second coefficient, the third coefficient, and the fourth coefficient may be determined according to actual conditions, and are not limited herein. As an example, the second coefficient includes 0.7; the third coefficient includes 0.5, and the fourth coefficient is 0.3.
[0051] For ease of understanding, when the first distance information is less than the second threshold and the vehicle's brake pedal depth information is less than the third threshold, the attenuation coefficient is determined to be the second coefficient; when the first distance information is less than the second threshold and the vehicle's brake pedal depth information is greater than or equal to the third threshold, or when the first distance information is greater than or equal to the second threshold and the vehicle's brake pedal depth information is less than the third threshold, the attenuation coefficient is determined to be the third coefficient; and when the first distance information is greater than or equal to the second threshold and the vehicle's brake pedal depth information is greater than or equal to the third threshold, the attenuation coefficient is determined to be the fourth coefficient. This can be illustrated by the case where the shortest lateral distance information between the vehicle and the crossing pedestrian (i.e., the first distance information) is greater than or equal to the first threshold and less than the second threshold. Under the following conditions, the confidence level of the vehicle's sudden stop while crossing is mid_conf. When the brake pedal depth information is less than the third threshold, the Factor is 0.7. When the first distance information is greater than or equal to the first threshold and less than the second threshold, and the brake pedal depth information is greater than or equal to the third threshold, the Factor is 0.5. When the shortest lateral distance information between the vehicle and the pedestrian crossing (i.e., the first distance information) is greater than or equal to the second threshold, the confidence level of the vehicle's sudden stop while crossing is high_conf. When the first distance information is greater than or equal to the second threshold and the brake pedal depth information is less than the third threshold, the Factor is 0.5. When the brake pedal depth information is greater than or equal to the third threshold, the Factor is 0.3.
[0052] The solution in this application embodiment determines an attenuation coefficient based on the vehicle's brake pedal depth information and the first distance information when the shortest lateral distance between the vehicle and the pedestrian crossing (first distance information) is greater than or equal to a first threshold and less than a second threshold. That is, it simultaneously considers the confidence level of the vehicle crossing and the driver's braking intention (brake pedal depth information) to determine the attenuation coefficient, so that the vehicle determines the final distance information (third distance information) for triggering emergency braking based on the obtained attenuation coefficient, thereby preventing the vehicle from accidentally triggering emergency braking and improving the accuracy of the vehicle triggering emergency braking.
[0053] In some embodiments, before determining the first distance information between the vehicle and the pedestrian crossing based on the first predicted trajectory information and the second predicted trajectory information of the vehicle, the method further includes: predicting multiple trajectory information of the vehicle in multiple consecutive time periods; the multiple trajectory information constitutes the second predicted trajectory information; the process of determining the first distance information between the vehicle and the pedestrian crossing based on the first predicted trajectory information and the second predicted trajectory information of the vehicle specifically includes: using the multiple trajectory information to sequentially determine multiple fourth distance information between the vehicle and the first predicted trajectory information; the first predicted trajectory information is a trajectory information of the pedestrian crossing in a time period; and finding the distance information with the smallest value from the multiple fourth distance information as the first distance information.
[0054] It should be noted that the specific number of consecutive time periods can be determined based on the actual situation and is not limited here. As an example, consecutive time periods include the next 4 seconds. Each time period within these consecutive time periods can be understood as dividing the next 4 seconds into four 1-second time periods. In the case where consecutive time periods include the next 4 seconds, the second predicted trajectory information can be understood as the predicted position information within the next 4 seconds, that is, the predicted position information within each 1-second interval of the next 4 seconds. A consecutive time period includes the next 1 second. The process of predicting multiple trajectory information of a vehicle within consecutive time periods specifically includes: using Bézier curves to predict multiple trajectory information of a vehicle within consecutive time periods; in practical applications, this can be illustrated by dividing the next 4-second interval into four 1-second time periods, and predicting the trajectory per second using a third-order Bézier curve to obtain multiple trajectory information.
[0055] It should be noted that multiple fourth distance information can be understood as multiple crossing distance information between the vehicle and the pedestrian crossing over multiple consecutive time periods. Multiple fourth distance information is sequentially determined using multiple trajectory information to establish multiple fourth distance information between the vehicle and the first predicted trajectory information. Finding the distance information with the smallest value from these multiple fourth distance information as the first distance information can be understood as sequentially determining multiple crossing distance information between the multiple trajectory information and the first predicted trajectory information, finding the distance information with the smallest value from these multiple crossing distance information, and using the distance information with the smallest value as the first distance information.
[0056] The solution in this application embodiment determines the shortest crossing distance information (first distance information) between the vehicle and the pedestrian by predicting the vehicle's trajectory information. This facilitates the subsequent determination of the attenuation coefficient based on the first distance information, thereby reducing the false triggering of emergency braking of the vehicle and improving the accuracy of emergency braking.
[0057] In some embodiments, the process of determining the first predicted trajectory information of a pedestrian crossing the lateral direction specifically includes: acquiring historical trajectory feature information of the pedestrian crossing the lateral direction; inputting the historical trajectory feature information into a first graph neural network; and using a subgraph structure and a global graph structure in the first graph neural network to perform trajectory prediction to obtain the first predicted trajectory information.
[0058] It should be noted that historical trajectory feature information can be understood as the feature information corresponding to the trajectory information of a pedestrian crossing within a historical time period. The historical time period can be determined according to the actual situation and is not limited here; as an example, the historical time period includes the past 3 seconds of the pedestrian crossing. Historical trajectory feature information can be illustrated as the feature information of a pedestrian crossing within the past 3 seconds. Each frame in the historical feature information contains 11 dimensions of information, specifically including the pedestrian's position information, the displacement of the pedestrian between the previous frame and the previous frame, the length and width of the pedestrian, the horizontal and vertical velocities of the pedestrian, the historical features of the pedestrian crossing in the time dimension, and the target identity identifier (ID) information of the pedestrian after renumbering. In practical applications, the trajectory feature information of a pedestrian crossing can be denoted as focal_feats. The information contained in each frame can be represented by feature_dimention = [x,y,dx,dy,l,w,type,vx,vy,step,poly_id], where x and y are the position information of the target, dx and dy are the displacements of the target between the previous frame, l and w represent the length and width of the target, respectively; vx and vy represent the horizontal and vertical velocities of the target, step represents the features of historical information in the time dimension, and poly_id is the renumbered target ID information; the target is a pedestrian crossing.
[0059] It should be noted that the first neural network can be understood as a trained VectorNet graph neural network. The second neural network can be understood as an untrained VectorNet graph neural network; the sample trajectory feature information can be understood as the feature information corresponding to the trajectory of a pedestrian, which can be any pedestrian crossing in front of the vehicle. The loss function includes the Smooth L1 Loss function. Smooth L1 Loss handles small errors similarly to Mean Squared Error (MSE), while handling large errors similarly to L1 loss. The first neural network has a feature dimension of 32 and a fixed input size.
[0060] For ease of understanding, historical trajectory feature information is input into a first graph neural network. Trajectory prediction is then performed using a subgraph layer and a global graph layer within this network to obtain the first predicted trajectory information. This can be illustrated by inputting historical trajectory feature information of a pedestrian crossing into a trained VectorNet graph neural network. The historical feature information is then encoded once using a subgraph layer within the trained VectorNet network, followed by a second encoding using a global graph layer. Finally, the first predicted trajectory information is decoded. The number of subgraphs within a single subgraph layer can be determined based on specific circumstances and is not limited here.
[0061] For ease of understanding, Figure 3 This application provides an exemplary first graph neural network structure diagram; as shown below. Figure 3 As shown, the first graph neural network includes a subgraph layer and a global graph layer. Historical trajectory feature information is passed through the subgraph layer and the global graph layer in sequence to output the first predicted trajectory information.
[0062] The solution in this application embodiment obtains the first predicted trajectory information by predicting the trained VectorNet graph neural network, and uses Smooth L1 Loss (loss function) to train the untrained VectorNet graph neural network, which can reduce the negative impact of outliers on training. Furthermore, using the VectorNet graph neural network (the first graph neural network) to predict the trajectory of pedestrians crossing the road can balance inference speed and prediction accuracy.
[0063] For ease of understanding, in practical applications, the above control method can be illustrated as an optimization method for an automatic emergency braking system to address the misoperation of pedestrians crossing the road. The specific steps are as follows:
[0064] 1. Feature extraction.
[0065] (1) The target's features over the past 3 seconds, where each frame contains 11 dimensions of information; this can be represented by feat_dimention=[x,y,dx,dy,l,w,type,vx,vy,step,poly_id]; where x and y are the target's position information, dx and dy are the displacements of the target between the previous frame, l and w represent the target's length and width respectively; vx and vy represent the target's horizontal and vertical velocities, step represents the historical information's features in the time dimension, and poly_id is the renumbered target ID information. Therefore, the target's features can be represented as x_obs:(n,N,fd)=[focal_feat(1,N,fd),env_feats(n-2,N,fd)]. Where N represents the number of historical frames, and n represents the number of input targets. If the number of environmental targets exceeds n, except for one of them which is the key pedestrian target to be predicted (focal_feats) (i.e. the pedestrian crossing mentioned above), the other (n-1) env_feats are scored and filtered according to a series of rules: targets in front of the vehicle have higher priority than targets behind it, and targets closer to the vehicle have higher priority than targets farther away from the vehicle.
[0066] (2) Features of the vehicle (the aforementioned vehicle) in the past 3 seconds, where each frame contains 8-dimensional information, which can be represented by feature_dimention2=[x,y,vx,vy,acc_pd,brk_pd,str_angle,str_rate], where x,y are the vehicle's position information, vx,vy are the vehicle's speed information, and acc_pd,brk_pd,str_angle,str_rate are the vehicle's driver intention information; the position information (x,y), speed information (vx,vy), and driver intention information (acc_pd,brk_pd,str_angle,str_rate) are extracted respectively; the vehicle feature dimension can be represented as x_ego:(N,fd2), where N represents the number of historical frames.
[0067] (3) The map information only extracts the road boundary information of the current frame, which is represented by a sparse point set with a dimension of x_bound:(n,2), where n represents the number of points and 2 represents the x,y coordinate information. All position and speed-related information needs to be converted from the world coordinate system to the vehicle coordinate system at the current moment.
[0068] 2. Tag selection.
[0069] By selecting the location information of key pedestrian targets within the next second as the true value for prediction, the binary classification problem of crossing sudden stops is transformed into a trajectory regression prediction problem.
[0070] 3. Model structure.
[0071] Based on the VectorNet graph neural network, features are represented in a vectorized manner, and features are encoded through several subgraphs, then encoded again through a global graph, and finally decoded to obtain the predicted value.
[0072] Explanation of the principle: Vectorizing features can significantly reduce the amount of data. With high-quality feature extraction, both inference speed and prediction accuracy can be balanced.
[0073] (1) The loss function is changed from MSE Loss to Smooth L1 Loss: Smooth L1 Loss is similar to MSE in handling small errors, and similar to L1 loss in handling large errors. This can reduce the negative impact of outliers on training.
[0074] (2) Introduce the loss of the original location point into the loss function.
[0075] To further accelerate model inference and reduce resource consumption, the following specific measures are taken:
[0076] (3) Reduce the three-layer structure of the subgraph to one layer and use max pooling instead of scatter_MAX.
[0077] (4) Reduce the three-layer structure of the global graph to one layer.
[0078] (5) The feature dimension has been changed from 64 to 32.
[0079] (6) Change dynamic dimension input to fixed dimension input.
[0080] 4. Post-processing scheme: After obtaining the trajectory prediction of the model for the pedestrian target, the confidence level of the emergency stop for crossing is determined according to the relationship with the vehicle's running trajectory, and the attenuation coefficient is set according to the confidence level to attenuate the trigger distance to different degrees.
[0081] (1) Confidence calculation.
[0082] Vehicle trajectory: Predicting the vehicle's trajectory within 4 seconds. Since the vehicle's sensors are relatively accurate, a Bézier curve is chosen for calculation. The 4-second interval is divided into four 1-second time intervals, and the trajectory for each second is predicted using a third-order Bézier curve.
[0083] Calculation of the shortest lateral distance: The predicted trajectory of the pedestrian and the predicted trajectory of the vehicle are combined to calculate the shortest distance.
[0084] Confidence calculation: Based on the shortest lateral distance lat_est, compare it with the set thresholds l1 and l2 as follows:
[0085] high_conf: lat_est > l2;
[0086] mid_conf:l1 <lat_est<l2;
[0087] low_conf:lat_est <l1。
[0088] (2) Calculation of attenuation coefficient reduction factor.
[0089] The reduction factor considers the confidence level of a sudden stop and the driver's driving intention. It increases the attenuation when the driver already intends to brake, and further increases the attenuation when the confidence level is high.
[0090] If the emergency stop during a cross-traffic maneuver is low_conf: Factor=1, meaning there is no delay;
[0091] If the emergency stop during a cross-traffic situation is mid_conf and the brake pedal depth is less than the threshold: Factor = 0.7;
[0092] If the emergency stop during a cross-traffic maneuver is mid_conf and the brake pedal depth is greater than the threshold: Factor = 0.5;
[0093] If the emergency stop during a cross-traffic situation is high_conf and the brake pedal depth is less than the threshold: Factor = 0.5;
[0094] If the emergency stop during a cross-traffic maneuver is hight_cong and the brake pedal depth is greater than the threshold: Factor = 0.3.
[0095] (3) Trigger distance decay.
[0096] The attenuation factor ultimately affects the attenuation distance. If the AEB indicates that the triggering conditions are currently met, the original trigger distance is the current distance to the target. To address false triggering scenarios, the final trigger distance needs to be multiplied by the attenuation factor, reductionFactor.
[0097] The principle is as follows: as the vehicle approaches the distance after the decay effect, changes in the target's state may cause the triggering conditions to no longer be met, resulting in the trigger being suppressed. If the triggering conditions are consistently met, the triggering is delayed, reducing the duration of false triggers and improving the driver's experience.
[0098] This application provides a control device. Figure 4 This is a schematic diagram of the structure of a control device provided in an embodiment of this application; as shown below. Figure 4 As shown, the control device 400 includes:
[0099] The first determining unit 401 is used to determine the first predicted trajectory information of the pedestrian crossing the road when a pedestrian is detected crossing the road in front of the vehicle.
[0100] The second determining unit 402 is used to determine the first distance information between the vehicle and the pedestrian crossing the road based on the first predicted trajectory information and the second predicted trajectory information of the vehicle.
[0101] The third determining unit 403 is used to determine the attenuation coefficient based on the first distance information;
[0102] The adjustment unit 404 is used to adjust the second distance information of the vehicle triggering emergency braking according to the attenuation coefficient to obtain the third distance information;
[0103] Control unit 405 is used to control the vehicle to trigger emergency braking when the distance information between the vehicle and the pedestrian crossing the road reaches the third distance information.
[0104] Optionally, the third determining unit 403 is further configured to determine the attenuation coefficient as the first coefficient when the first distance information is less than the first threshold.
[0105] Optionally, the third determining unit 403 is further configured to determine the attenuation coefficient based on the first distance information and the vehicle's brake pedal information when the first distance information is greater than or equal to the first threshold.
[0106] Optionally, the third determining unit 403 is further configured to: determine the attenuation coefficient as a second coefficient when the first distance information is less than a second threshold and the vehicle's brake pedal depth information is less than a third threshold; determine the attenuation coefficient as a third coefficient when the first distance information is less than the second threshold and the vehicle's brake pedal depth information is greater than or equal to the third threshold, or when the first distance information is greater than or equal to the second threshold and the vehicle's brake pedal depth information is less than the third threshold; and determine the attenuation coefficient as a fourth coefficient when the first distance information is greater than or equal to the second threshold and the vehicle's brake pedal depth information is greater than or equal to the third threshold; wherein the first coefficient is greater than the second coefficient; the second coefficient is greater than the third coefficient; and the third coefficient is greater than the fourth coefficient.
[0107] Optionally, the control device 400 further includes a prediction unit for predicting multiple trajectory information of the vehicle within multiple consecutive time periods; the multiple trajectory information constitutes the second predicted trajectory information; the second determination unit 402 is further configured to use the multiple trajectory information to sequentially determine multiple fourth distance information between the first predicted trajectory information and the first predicted trajectory information; the first predicted trajectory information is a trajectory information of the pedestrian crossing within a time period; the distance information with the smallest value is found from the multiple fourth distance information as the first distance information.
[0108] Optionally, the first determining unit 401 is further configured to acquire the historical trajectory feature information of the pedestrian crossing the road; input the historical trajectory feature information into a first graph neural network, and use a subgraph structure and a global graph structure in the first graph neural network to perform trajectory prediction to obtain the first predicted trajectory information.
[0109] This application also provides a control device. Figure 5 This is a schematic diagram of the structure of a control device provided in an embodiment of this application; as shown below. Figure 5 As shown, the control device 500 includes a processor 501 and a memory 503. Optionally, the control device 500 may also include a communication bus 502.
[0110] In specific embodiments, the processor 501 described above can be at least one of the following: Application Specific Integrated Circuit (ASIC), Digital Signal Processor (DSP), Digital Signal Processing Device (DSPD), Programmable Logic Device (PLD), Field Programmable Gate Array (FPGA), CPU, controller, microcontroller, and microprocessor. It is understood that for different devices, the electronic device used to implement the above processor function can also be other types, and this embodiment does not specifically limit it.
[0111] In this embodiment, the communication bus 502 is used to establish communication between the processor 501 and the memory 503; when the processor 501 executes the running program stored in the memory 503, it implements the following control method:
[0112] When a pedestrian is detected crossing in front of the vehicle, the system determines the first predicted trajectory information of the pedestrian; determines the first distance information between the vehicle and the pedestrian based on the first predicted trajectory information and the second predicted trajectory information of the vehicle; determines an attenuation coefficient based on the first distance information; adjusts the second distance information for triggering emergency braking of the vehicle based on the attenuation coefficient to obtain a third distance information; and controls the vehicle to trigger emergency braking when the distance information between the vehicle and the pedestrian reaches the third distance information.
[0113] Furthermore, the processor 501 is also configured to determine the attenuation coefficient as a first coefficient when the first distance information is less than a first threshold.
[0114] Furthermore, the processor 501 is also configured to determine the attenuation coefficient based on the first distance information and the vehicle's brake pedal information when the first distance information is greater than or equal to a first threshold.
[0115] Furthermore, the processor 501 is further configured to: determine the attenuation coefficient as a second coefficient when the first distance information is less than a second threshold and the vehicle's brake pedal depth information is less than a third threshold; determine the attenuation coefficient as a third coefficient when the first distance information is less than the second threshold and the vehicle's brake pedal depth information is greater than or equal to the third threshold, or when the first distance information is greater than or equal to the second threshold and the vehicle's brake pedal depth information is less than the third threshold; and determine the attenuation coefficient as a fourth coefficient when the first distance information is greater than or equal to the second threshold and the vehicle's brake pedal depth information is greater than or equal to the third threshold; wherein the first coefficient is greater than the second coefficient; the second coefficient is greater than the third coefficient; and the third coefficient is greater than the fourth coefficient.
[0116] Furthermore, the processor 501 is also configured to predict multiple trajectory information of the vehicle within multiple consecutive time periods; the multiple trajectory information constitutes the second predicted trajectory information; the step of determining the first distance information between the vehicle and the pedestrian crossing the river based on the first predicted trajectory information and the second predicted trajectory information of the vehicle includes: using the multiple trajectory information to sequentially determine multiple fourth distance information between the vehicle and the first predicted trajectory information; the first predicted trajectory information is a trajectory information of the pedestrian crossing the river within a time period; and searching for the distance information with the smallest value from the multiple fourth distance information as the first distance information.
[0117] Furthermore, the processor 501 is also used to acquire the historical trajectory feature information of the pedestrian crossing; input the historical trajectory feature information into a first graph neural network, and use a subgraph structure and a global graph structure in the first graph neural network to perform trajectory prediction to obtain the first predicted trajectory information.
[0118] This application provides a storage medium storing a computer program thereon. The computer-readable storage medium stores one or more programs, which can be executed by one or more processors. The computer program implements the control method described above.
[0119] Based on the above embodiments, this application provides a computer program product, including a computer program that can be executed by one or more processors, and the computer program implements the control method described above.
[0120] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.
[0121] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this disclosure, in essence, or the part that contributes to the related technology, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes several instructions to cause an image display device (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in the various embodiments of this disclosure.
[0122] The above description is merely a preferred embodiment of this application and is not intended to limit the scope of protection of this application.
Claims
1. A control method, characterized in that, The method includes: When a pedestrian is detected crossing in front of the vehicle, the first predicted trajectory information of the pedestrian is determined. Based on the first predicted trajectory information and the second predicted trajectory information of the vehicle, a first distance information between the vehicle and the pedestrian crossing the road is determined. The attenuation coefficient is determined based on the first distance information; The second distance information for triggering emergency braking of the vehicle is adjusted according to the attenuation coefficient to obtain the third distance information; The vehicle is controlled to trigger emergency braking when the distance information between the vehicle and the pedestrian crossing the road reaches the third distance information.
2. The method according to claim 1, characterized in that, The determination of the attenuation coefficient based on the first distance information includes: If the first distance information is less than the first threshold, the attenuation coefficient is determined to be the first coefficient.
3. The method according to any one of claims 1-2, characterized in that, The determination of the attenuation coefficient based on the first distance information includes: If the first distance information is greater than or equal to the first threshold, the attenuation coefficient is determined based on the first distance information and the vehicle's brake pedal information.
4. The method according to any one of claims 1-3, characterized in that, Determining the attenuation coefficient based on the first distance information and the vehicle's brake pedal information includes: If the first distance information is less than the second threshold and the vehicle's brake pedal depth information is less than the third threshold, the attenuation coefficient is determined to be the second coefficient. If the first distance information is less than the second threshold and the vehicle's brake pedal depth information is greater than or equal to the third threshold, or if the first distance information is greater than or equal to the second threshold and the vehicle's brake pedal depth information is less than the third threshold, the attenuation coefficient is determined to be the third coefficient. If the first distance information is greater than or equal to the second threshold and the vehicle's brake pedal depth information is greater than or equal to the third threshold, the attenuation coefficient is determined to be the fourth coefficient. The first coefficient is greater than the second coefficient; the second coefficient is greater than the third coefficient; the third coefficient is greater than the fourth coefficient.
5. The method according to any one of claims 1-4, characterized in that, Before determining the first distance information between the vehicle and the pedestrian crossing the road based on the first predicted trajectory information and the second predicted trajectory information of the vehicle, the method further includes: Predict multiple trajectory information of the vehicle within multiple consecutive time periods; the multiple trajectory information constitutes the second predicted trajectory information; Determining the first distance information between the vehicle and the pedestrian crossing the road based on the first predicted trajectory information and the second predicted trajectory information of the vehicle includes: Multiple fourth distance information is determined sequentially between the multiple trajectory information and the first predicted trajectory information; the first predicted trajectory information is a trajectory information of the pedestrian crossing within a time period; the distance information with the smallest value is found from the multiple fourth distance information and used as the first distance information.
6. The method according to any one of claims 1-5, characterized in that, Determining the first predicted trajectory information of the pedestrian crossing the road includes: Obtain the historical trajectory feature information of the pedestrian crossing the road; The historical trajectory feature information is input into a first graph neural network, and trajectory prediction is performed using a subgraph structure and a global graph structure in the first graph neural network to obtain the first predicted trajectory information.
7. A control device, characterized in that, The device includes: The first determining unit is used to determine the first predicted trajectory information of the pedestrian crossing the road when a pedestrian is detected crossing the road in front of the vehicle. The second determining unit is configured to determine the first distance information between the vehicle and the pedestrian crossing the road based on the first predicted trajectory information and the second predicted trajectory information of the vehicle. The third determining unit is used to determine the attenuation coefficient based on the first distance information; An adjustment unit is used to adjust the second distance information of the vehicle triggering emergency braking according to the attenuation coefficient to obtain the third distance information; The control unit is used to control the vehicle to trigger emergency braking when the distance information between the vehicle and the pedestrian crossing the road reaches the third distance information.
8. A control device, characterized in that, The method includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the program, implements the steps of the method according to any one of claims 1 to 6.
9. A storage medium having a computer program stored thereon, characterized in that, When executed by a processor, the computer program implements the steps of the method according to any one of claims 1 to 6.
10. A computer program product, comprising a computer program, characterized in that, When executed by a processor, the computer program implements the steps of the method according to any one of claims 1 to 6.
