Vehicle lateral motion control method and device, computer device and storage medium
By receiving fault information from the power steering system, generating a lateral movement trajectory, and controlling the vehicle to stop, the problem of vehicle control after the power steering system fails is solved, ensuring that the driver has sufficient time to take over and achieving safe stopping.
Patent Information
- Application Number
- CN202311515727.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-14
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2043-11-14
AI Technical Summary
When the power steering system fails, the autonomous driving system is unable to effectively control the vehicle to perform lateral movements, and the driver has insufficient time to take over, resulting in safety hazards.
By receiving fault warning information from the power steering system, the system determines its current command execution capability, generates a lateral movement trajectory based on the duration of the fault and the preset time to exit autonomous driving, and sends control commands to the power steering system to control the vehicle to safely pull over and stop, while allowing the driver sufficient time to take over.
This technology enables the vehicle to safely pull over to the side of the road in the event of a steering assist system failure, and provides the driver with sufficient time to take over, thus avoiding the safety risks associated with the failure of the lateral motion control function.
Smart Images

Figure CN117284276B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer technology, and in particular to a method, apparatus, computer device, storage medium, and computer program product for controlling the lateral motion of a vehicle. Background Technology
[0002] Driven by both technological innovations in autonomous driving and the demand for comfortable and efficient travel, the intelligent driving industry is booming, but this also brings with it safety concerns.
[0003] Autonomous driving systems can interact with power steering systems to achieve lateral movement control. However, when the power steering system fails, one current approach is to immediately shut off the power steering, causing the autonomous driving system to cease lateral movement control. This approach does not provide the driver with sufficient time to take over. Another approach is to allow the power steering system to malfunction, continuing to drive along the planned trajectory after the failure. However, when the severity of the malfunction increases, leading to a decrease in actual performance, the power steering system may fail to provide steering assistance along the planned trajectory, resulting in the failure of lateral movement control. Therefore, how to control the vehicle to perform lateral movement and pull over safely after a power steering system failure, and how to provide the driver with sufficient time to take over from the onset of the malfunction until the vehicle pulls over, are pressing technical problems that need to be solved. Summary of the Invention
[0004] Based on this, it is necessary to provide a method, device, computer equipment and storage medium, device, computer equipment, computer-readable storage medium and computer program product for controlling the lateral movement of a vehicle after the power steering system fails, which can control the vehicle to perform lateral movement and allow the driver a certain amount of takeover time.
[0005] In a first aspect, this application provides a method for controlling the lateral motion of a vehicle, comprising:
[0006] Receive fault warning information and current command processing capability from the vehicle's power steering system;
[0007] After determining that the power steering system meets the preset fault conditions based on the fault prompt information, it is then determined whether the current command execution capability of the power steering system meets the preset command execution capability limit.
[0008] If satisfied, the lateral movement trajectory of the vehicle is determined based on the current execution capability, the duration of the steering assist system failure, and the preset duration of exiting autonomous driving.
[0009] A first lateral motion control command is generated based on the lateral motion trajectory and sent to the steering assist system to instruct the steering assist system to execute the steering control indicated by the first lateral motion control command, and to obtain the execution result.
[0010] The execution result is obtained, the execution error is determined based on the execution result and the lateral movement trajectory, the steering assist system is controlled to turn off the steering assist based on the execution error, and the vehicle is controlled to exit the autonomous driving mode.
[0011] In one embodiment, after determining whether the current command execution capability of the steering assist system meets the preset command execution capability limit, the method further includes:
[0012] If the current command execution capability of the power steering system does not meet the preset command execution capability limit, a shutdown request is sent to the power steering system to instruct the power steering system to shut down the power steering based on the received shutdown request.
[0013] Control the vehicle to stop moving and exit autonomous driving mode.
[0014] In one embodiment, determining the lateral movement trajectory of the vehicle based on the current execution capability, the duration of the steering assist system failure, and a preset exit duration for autonomous driving includes:
[0015] Based on the current execution capabilities, adjust the constraints of the path planner;
[0016] Determine whether the duration of the power steering system malfunction is greater than the preset duration for exiting automatic driving.
[0017] When the duration of the steering assist system malfunction exceeds the preset duration of exiting automatic driving, the adjusted path planner is invoked to plan the parking trajectory, and the parking trajectory is used as the lateral movement trajectory.
[0018] When the duration of the steering assist system failure is less than the preset time for exiting autonomous driving, the adjusted path planner is invoked to plan the lane driving trajectory, and the lane driving trajectory is used as the lateral movement trajectory.
[0019] In one embodiment, controlling the steering assist system to shut off steering assist based on the execution error and controlling the vehicle to exit the autonomous driving mode includes:
[0020] Determine whether the execution error exceeds the error limit;
[0021] If so, then increase the count of the over-limit counter in the autonomous driving system;
[0022] If not, clear the over-limit counter in the autonomous driving system;
[0023] Determine whether the count of the over-limit counter in the autonomous driving system has reached the counting limit;
[0024] If the count of the over-limit counter in the autonomous driving system reaches the count limit, an emergency braking request and a shutdown request are generated. A shutdown request is sent to the steering assist system to instruct the steering assist system to shut down the steering assist based on the received shutdown request. Based on the emergency braking request, the vehicle is controlled to stop driving and exit the autonomous driving mode.
[0025] If the count of the over-limit counter in the autonomous driving system has not reached the counting limit, then the current execution capability update data and the fault occurrence duration update data of the steering assist system are obtained. The current execution capability update data is taken as the current execution capability, and the fault occurrence duration update data is taken as the fault occurrence duration of the steering assist system. The step of determining whether the fault occurrence duration of the steering assist system is greater than the preset exit autonomous driving duration is repeated until the count of the over-limit counter in the autonomous driving system reaches the counting limit.
[0026] In one embodiment, before generating the first lateral motion control command based on the lateral motion trajectory, the method further includes:
[0027] Determine if the vehicle is stationary;
[0028] If not, then execute the step of generating a first lateral motion control command based on the lateral motion trajectory;
[0029] If so, then the steps of generating an emergency braking request and a shutdown request, and sending the shutdown request to the power steering system are performed.
[0030] Secondly, this application provides a method for controlling the lateral motion of a vehicle, comprising:
[0031] The system sends a fault warning message and its current command processing capability to the autonomous driving system. This instructs the autonomous driving system to determine whether the current command execution capability of the steering assist system meets the preset command execution capability limit after the fault warning message meets the preset fault conditions of the steering assist system. If it does, the system determines the lateral movement trajectory of the vehicle based on the current execution capability, the fault duration of the steering assist system, and the preset exit autonomous driving duration. The system then generates a first lateral movement control command based on the lateral movement trajectory.
[0032] The system receives a first lateral motion control command sent by the automatic control system and executes the steering control indicated by the first lateral motion control command to obtain an execution result. The execution result is used by the autonomous driving system to obtain the execution result, determine the execution error based on the execution result and the lateral motion trajectory, control the steering assist system to turn off the steering assist based on the execution error, and control the vehicle to exit the autonomous driving mode.
[0033] In one embodiment, before sending fault warning information and current instruction processing capabilities to the autonomous driving system, the method further includes:
[0034] Determine if there is a hardware fault in the vehicle's power steering system;
[0035] If so, determine the type of malfunction in the power steering system;
[0036] If the fault type of the power steering system is a permanent fault, then determine the current command execution capability of the power steering system and generate a fault message.
[0037] In one embodiment, after determining whether there is a hardware fault in the power steering system of the vehicle, the method further includes:
[0038] If there is no hardware failure, then the second lateral motion control command sent by the autonomous driving system is obtained;
[0039] Determine whether at least one of the following conditions is met: the second lateral motion control command has not been obtained, the over-limit counter in the steering assist system has exceeded the corresponding count limit, and a shutdown request has been received from the autonomous driving system.
[0040] If the conditions are met, the power steering is turned off, and a request to exit the autonomous driving mode is sent to the autonomous driving system.
[0041] If the conditions are not met, then the steering control is executed based on the second lateral motion control command to obtain the execution result. Based on the execution result of the second lateral motion control command, the corresponding execution error is determined. It is determined whether the execution error of the second lateral motion control command exceeds the corresponding error limit. If yes, the count of the over-limit counter in the steering assist system is incremented. If no, the count of the over-limit counter in the steering assist system is cleared. Then, the process returns to the step of determining whether there is a hardware fault in the steering assist system of the vehicle.
[0042] In one embodiment, determining the fault type of the power steering system includes:
[0043] If the fault type of the power steering system is determined to be a transient fault, then the transient fault counter is incremented, and the step of obtaining the second lateral motion control command sent by the autonomous driving system is repeated.
[0044] If it is determined that the power steering system is in a fault state within multiple preset fault detection cycles, then the fault type of the power steering system is determined to be a permanent fault.
[0045] Thirdly, this application also provides a lateral motion control device for a vehicle, comprising:
[0046] The first receiving module is used to receive fault prompt information and current command processing capabilities sent by the power steering system in the vehicle.
[0047] The first judgment module is used to determine whether the current command execution capability of the steering assist system meets the preset fault conditions after determining that the steering assist system meets the preset command execution capability limit based on the fault prompt information.
[0048] The first determining module is used to determine the lateral movement trajectory of the vehicle based on the current execution capability, the duration of the steering assist system failure, and the preset duration of exiting autonomous driving if the conditions are met.
[0049] The first sending module is used to generate a first lateral motion control command based on the lateral motion trajectory, and send the first lateral motion control command to the steering assist system to instruct the steering assist system to execute the steering control indicated by the first lateral motion control command, and obtain the execution result;
[0050] The power steering shut-off module is used to obtain the execution result, determine the execution error based on the execution result and the lateral movement trajectory, control the power steering system to shut off the power steering based on the execution error, and control the vehicle to exit the autonomous driving mode.
[0051] Fourthly, this application also provides a lateral motion control device for a vehicle, comprising:
[0052] The fourth sending module is used to send fault prompt information and current instruction processing capability to the autonomous driving system, so as to instruct the autonomous driving system to determine whether the current instruction execution capability of the steering assist system meets the preset instruction execution capability limit after the fault prompt information meets the preset fault conditions of the steering assist system. If it does, the system determines the lateral movement trajectory of the vehicle based on the current execution capability, the fault occurrence duration of the steering assist system, and the preset exit autonomous driving duration; and generates a first lateral movement control command based on the lateral movement trajectory.
[0053] The second receiving module is used to receive the first lateral motion control command sent by the automatic control system, and execute the steering control indicated by the first lateral motion control command to obtain the execution result. The execution result is used by the autonomous driving system to obtain the execution result, determine the execution error based on the execution result and the lateral motion trajectory, control the steering assist system to turn off the steering assist based on the execution error, and control the vehicle to exit the autonomous driving mode.
[0054] Fifthly, this application also provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps of the methods of the various embodiments.
[0055] Sixthly, this application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the methods of the various embodiments.
[0056] In a seventh aspect, this application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the methods of the various embodiments.
[0057] The aforementioned lateral motion control method, device, computer equipment, storage medium, and computer program product for vehicles, after receiving fault warning information and current command processing capability from the steering assist system in the vehicle, determine whether the steering assist system meets preset fault conditions based on the fault warning information, and then judge whether the current command execution capability of the steering assist system meets the preset command execution capability limit. If it does, the lateral motion trajectory of the vehicle is determined based on the current execution capability, the duration of the steering assist system fault, and the preset exit from automatic driving mode duration. It is evident that the generated lateral motion trajectory considers both the current command capability after the steering assist system fault, the duration of the steering assist system fault, and the preset exit from automatic driving mode duration. This ensures that the faulty steering assist system is capable of executing the lateral motion trajectory. The corresponding lateral motion control command, based on the lateral motion trajectory, allows the driver sufficient time to take over. Therefore, this application generates a first lateral motion control command based on the lateral motion trajectory and sends the first lateral motion control command to the steering assist system to instruct the steering assist system to execute the steering control indicated by the first lateral motion control command, obtain the execution result, determine the execution error based on the execution result, control the steering assist system to turn off the steering assist based on the execution error, and control the vehicle to stop driving, so that the steering assist system can execute steering assist and safely pull over to the side of the road. By controlling the steering assist system according to the lateral motion trajectory, it can ensure that the faulty steering assist system can execute the corresponding first lateral motion control command to perform lateral motion control, and also allows the driver sufficient time to take over before stopping. Attached Figure Description
[0058] To more clearly illustrate the technical solutions in the embodiments or related technologies of this application, the accompanying drawings used in the description of the embodiments or related technologies will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0059] Figure 1 This is an application environment diagram of a vehicle lateral motion control method in one embodiment;
[0060] Figure 2 This is a flowchart illustrating a method for controlling the lateral movement of a vehicle in one embodiment.
[0061] Figure 3 This is a flowchart illustrating the lateral motion control method for a vehicle in another embodiment;
[0062] Figure 4 This is a flowchart illustrating the lateral motion control method for a vehicle in another embodiment;
[0063] Figure 5 This is a flowchart illustrating the lateral motion control method for a vehicle in another embodiment;
[0064] Figure 6 This is a flowchart illustrating the lateral motion control method for a vehicle in another embodiment;
[0065] Figure 7 This is a flowchart illustrating the lateral motion control method for a vehicle in another embodiment;
[0066] Figure 8 This is a flowchart illustrating the lateral motion control method for a vehicle in another embodiment;
[0067] Figure 9 This is a schematic diagram of the lateral motion control device for a vehicle in one embodiment;
[0068] Figure 10 This is a schematic diagram of the lateral motion control device for a vehicle in another embodiment;
[0069] Figure 11 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation
[0070] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0071] The lateral motion control method for vehicles provided in this application embodiment can be applied to, for example... Figure 1 The application environment shown is as follows. The vehicle includes an autonomous driving system 101 and a steering assist system 102. The autonomous driving system, 101, and steering assist system 102 communicate with each other to achieve lateral movement control of the vehicle.
[0072] In one exemplary embodiment, such as Figure 2 As shown, a method for controlling the lateral motion of a vehicle is provided, which is applied to... Figure 2 Taking the autonomous driving system in China as an example, this will be explained, including:
[0073] Step S201: Receive fault warning information and current command processing capability sent by the power steering system in the vehicle;
[0074] The autonomous driving system receives fault warning information and current command processing capabilities from the vehicle's power steering system. The fault warning information includes the type of fault in the power steering system, the time when the fault started, and the duration of the fault.
[0075] Current command processing capability refers to the remaining command processing capability after a power steering system malfunctions. Generally speaking, after a power steering system malfunctions, the command processing capability will be reduced compared to when the power steering system is in normal condition.
[0076] Step S202: After determining that the power steering system meets the preset fault conditions based on the fault prompt information, determine whether the current command execution capability of the power steering system meets the preset command execution capability limit;
[0077] The autonomous driving system determines whether the power steering system meets the preset fault conditions based on the fault message. The fault message meeting the preset fault conditions can be that the fault message indicates that there is a hardware fault in the power steering system, and that the fault is either permanent or an instantaneous fault that cannot be eliminated.
[0078] Step S203: If satisfied, determine the vehicle's lateral movement trajectory based on the current execution capability, the duration of the steering assist system failure, and the preset duration of exiting autonomous driving.
[0079] The autonomous driving system determines whether the current command execution capability of the steering assist system meets the preset command execution capability limit. If it does, the system determines the lateral movement trajectory of the vehicle based on the current execution capability, the duration of the steering assist system failure contained in the fault message, and the preset exit autonomous driving duration.
[0080] In this embodiment, the preset exit duration for autonomous driving is the time reserved before the vehicle exits autonomous driving mode and switches from autonomous driving to manual driving. Furthermore, the different relationships between the fault occurrence duration and the preset exit duration for autonomous driving result in different determined lateral movement trajectories of the vehicle.
[0081] As can be seen, this application can determine the lateral movement trajectory of the vehicle based on the current command processing capability after the steering assist system fails. Thus, the vehicle can then control the steering assist system according to this lateral movement trajectory, instead of continuing to drive according to the original trajectory as in the prior art after the steering assist system fails. This avoids the situation where the steering assist system cannot provide steering assistance according to the original trajectory and the lateral movement control function fails.
[0082] Meanwhile, when determining the lateral movement trajectory of the vehicle, this application takes into account the duration of the steering assist system failure and the preset time for exiting autonomous driving mode. As a result, the vehicle can control the steering assist system according to the lateral movement trajectory, and determine the execution error based on the execution result and the lateral movement trajectory. Based on the execution error, the steering assist system is controlled to turn off the steering assist and exit the autonomous driving mode. Before exiting autonomous driving mode, a certain amount of takeover time is reserved for the driver by driving according to the lateral movement trajectory.
[0083] Step S204: Generate a first lateral motion control command based on the lateral motion trajectory, and send the first lateral motion control command to the steering assist system to instruct the steering assist system to execute the steering control indicated by the first lateral motion control command, and obtain the execution result;
[0084] In this embodiment, the steering assist system can determine execution parameters such as torque, steering angle and angular velocity based on the first lateral motion control command, and then perform steering control according to these execution parameters to obtain the execution result.
[0085] Step S205: Obtain the execution result, determine the execution error based on the execution result and the lateral motion trajectory, control the steering assist system to turn off the steering assist based on the execution error, and control the vehicle to exit the autonomous driving mode.
[0086] The autonomous driving system monitors the steering assist system in real time to obtain the execution results of the steering assist system. The autonomous driving system compares the execution results with the lateral movement trajectory to determine the execution error. Based on the execution error, it sends a shutdown request to the steering assist system to control the steering assist system to shut off the steering assist. At the same time, it generates an emergency braking request and controls the vehicle to stop moving. When the autonomous driving system detects that the vehicle is in a stopped state, it exits the autonomous driving mode and switches to manual driving.
[0087] In this embodiment, after receiving fault warning information and current command processing capability from the power steering system in the vehicle, and determining that the power steering system meets preset fault conditions based on the fault warning information, it is then determined whether the current command execution capability of the power steering system meets preset command execution capability limitations. If it does, the lateral movement trajectory of the vehicle is determined based on the current execution capability, the duration of the power steering system fault, and the preset exit duration for autonomous driving. It is evident that the generated lateral movement trajectory considers both the current command capability after the power steering system fault, the duration of the power steering system fault, and the preset exit duration for autonomous driving. This ensures that the faulty power steering system is capable of executing the lateral movement control command corresponding to the lateral movement trajectory. The lateral movement trajectory allows the driver sufficient time to take over. Therefore, this application generates a first lateral movement control command based on the lateral movement trajectory and sends the first lateral movement control command to the steering assist system to instruct the steering assist system to execute the steering control indicated by the first lateral movement control command, obtain the execution result, determine the execution error based on the execution result, control the steering assist system to turn off the steering assist based on the execution error, and control the vehicle to stop driving, so that the steering assist system can execute steering assist and safely pull over to the side of the road. By controlling the steering assist system according to the lateral movement trajectory, it can ensure that the faulty steering assist system can execute the corresponding first lateral movement control command to perform lateral movement control, and also allow the driver sufficient time to take over before stopping.
[0088] Below, refer to Figure 3 and Figure 4 The steps executed by the autonomous driving system in this application will be explained in detail below:
[0089] Reference Figure 3In one embodiment, determining the lateral movement trajectory of the vehicle based on the current execution capability, the duration of the steering assist system malfunction, and a preset duration for exiting autonomous driving includes: adjusting the constraints of the path planner based on the current execution capability; determining whether the duration of the steering assist system malfunction is greater than the preset duration for exiting autonomous driving; when the duration of the steering assist system malfunction is greater than the preset duration for exiting autonomous driving, calling the adjusted path planner to plan a parking trajectory and using the parking trajectory as the lateral movement trajectory; when the duration of the steering assist system malfunction is less than the preset duration for exiting autonomous driving, calling the adjusted path planner to plan a lane driving trajectory and using the lane driving trajectory as the lateral movement trajectory.
[0090] In this embodiment, Figure 3 In the flowchart, the starting entry point is entry point E. After the autonomous driving system receives the fault prompt information sent by the steering assist system in the vehicle and the current instruction processing capability, if the fault prompt information indicates that the steering assist system has a hardware fault, and it is a permanent fault or an instantaneous fault that cannot be eliminated, then step S301 is executed to stop the global driving task.
[0091] In this embodiment, the vehicle is no longer navigated to the destination; the current driving task is set to park in a safe location.
[0092] Step S302: Determine whether the power steering system has steering capability.
[0093] That is, determine whether the current command execution capability of the power steering system meets the preset command execution capability limit. If yes, execute step S304; if no, execute step S303.
[0094] Step S304: Adjust the path planner constraints based on the current execution capability of the power steering system;
[0095] Step S305: Determine whether the fault duration is greater than the legally mandated duration.
[0096] In this embodiment, it is determined whether the duration of the power steering system failure is greater than the preset duration of exiting automatic driving, and the statutory duration is the preset duration of exiting automatic driving; if it is not greater than the preset duration of exiting automatic driving, step S306 is executed; if it is greater than the preset duration of exiting automatic driving, step S307 is executed.
[0097] Step S306: Plan the driving trajectory within the lane.
[0098] In this embodiment, the autonomous driving system plans a driving trajectory within the lane and enters... Figure 4 The F entrance, the F entrance is Figure 4The flowchart starts at the entry point, where the planned driving trajectory within the lane includes: calling the path planner after constraint adjustment to plan the lane driving trajectory, thereby using the lane driving trajectory as the aforementioned lateral movement trajectory.
[0099] Step S307: Plan the parking trajectory.
[0100] In this embodiment, the autonomous driving system plans a parking trajectory and enters the designated area. Figure 4 The F entrance, where the planned parking trajectory includes: calling the constrained adjusted path planner to plan the parking trajectory, thereby using the parking trajectory as the aforementioned lateral movement trajectory.
[0101] In one embodiment, after determining whether the current command execution capability of the steering assist system meets the preset command execution capability limit, the method further includes: if the current command execution capability of the steering assist system does not meet the preset command execution capability limit, sending a shutdown request to the steering assist system to instruct the steering assist system to shut down the steering assist based on the received shutdown request; controlling the vehicle to stop driving and exiting the automatic driving mode.
[0102] In this embodiment, if the current command execution capability of the power steering system does not meet the preset command execution capability limit, then step S303 is executed: send a power steering shut-off command to the power steering system (the power steering shut-off command corresponds to the above-mentioned shut-off request).
[0103] After step S303 is completed, jump to Figure 6 The B entry point, which redirects to... Figure 6 In step S603, steps S603 and S604 are executed. After the power steering system receives the command to turn off power steering, steps S605 and S607 are executed to turn off power steering and send an automatic driving exit request. Then, the process jumps to... Figure 4 The G entry point jumps to step S408, executes steps S408 and S410, thereby further controlling the power steering system to turn off the power steering, and simultaneously controlling the vehicle to exit the automatic driving mode and stop driving.
[0104] Reference Figure 4 In one embodiment, controlling the steering assist system to turn off steering assist based on the execution error and controlling the vehicle to exit the autonomous driving mode includes:
[0105] Determine whether the execution error exceeds the error limit;
[0106] If so, then increase the count of the over-limit counter in the autonomous driving system;
[0107] If not, clear the over-limit counter in the autonomous driving system;
[0108] Determine whether the count of the over-limit counter in the autonomous driving system has reached the counting limit;
[0109] If the count of the over-limit counter in the autonomous driving system reaches the count limit, an emergency braking request and a shutdown request are generated. A shutdown request is sent to the steering assist system to instruct the steering assist system to shut down the steering assist based on the received shutdown request. Based on the emergency braking request, the vehicle is controlled to stop driving and exit the autonomous driving mode.
[0110] If the count of the over-limit counter in the autonomous driving system has not reached the counting limit, then the current execution capability update data and the fault occurrence duration update data of the steering assist system are obtained. The current execution capability update data is taken as the current execution capability, and the fault occurrence duration update data is taken as the fault occurrence duration of the steering assist system. The step of determining whether the fault occurrence duration of the steering assist system is greater than the preset exit autonomous driving duration is repeated until the count of the over-limit counter in the autonomous driving system reaches the counting limit.
[0111] In one embodiment, before generating the first lateral motion control command based on the lateral motion trajectory, the method further includes:
[0112] Determine if the vehicle is stationary;
[0113] If not, then execute the step of generating a first lateral motion control command based on the lateral motion trajectory;
[0114] If so, then the steps of generating an emergency braking request and a shutdown request, and sending the shutdown request to the power steering system are performed.
[0115] Figure 4 The entry point in the flowchart is the F entry point. After the autonomous driving system plans the lateral movement trajectory of the vehicle, it determines whether the vehicle should stop driving.
[0116] If the vehicle has stopped moving, then jump to Figure 4 At the G entry point, execute step S408, send an emergency braking request and send a power assist shutdown request; and execute step S410, exit the autonomous driving system.
[0117] If the vehicle has not stopped moving, proceed with the following steps:
[0118] Step S401: Adjust the constraints of the dynamic model according to the execution capability;
[0119] In this embodiment, the autonomous driving system adjusts the steering control request planner based on the lateral motion trajectory and the constraints of the vehicle dynamics model;
[0120] Step S402: Based on the motion control request of the local path planning;
[0121] Specifically, taking the lateral motion trajectory as the planning object, the first lateral motion control command is planned through the constrained and adjusted steering control request planner, and the first lateral motion control command is sent to the steering assist system so that the steering assist system executes the first lateral motion control command and obtains the execution result.
[0122] Step S403: Monitor the execution status;
[0123] The autonomous driving system monitors the execution results of the lateral motion control command executed by the steering assist system in real time, thereby monitoring the execution results obtained by the steering assist system when executing the first lateral motion control command;
[0124] Step S404: Determine whether the error exceeds the limit.
[0125] Based on the difference between the execution result and the lateral motion trajectory, the autonomous driving system can determine the execution error and whether it exceeds the error limit. If the execution error is greater than a certain error threshold, it is considered that the execution error exceeds the error limit; otherwise, it is considered that the execution error does not exceed the error limit.
[0126] If the error limit is exceeded, proceed to step S406 and increment the error over-limit count by 1.
[0127] If the error limit is not exceeded, proceed to step S405 and reset the error over-limit count.
[0128] After step S405 or step S406 is completed, proceed to step S407 to determine if the counter has exceeded the limit.
[0129] In this embodiment, the counter is the over-limit counter in the autonomous driving system, which can determine whether the count of the over-limit counter has reached the counting limit;
[0130] If the over-limit counter reaches the count limit, then proceed to step S408, send an emergency braking request and send a power assist shutdown request.
[0131] In this embodiment, the autonomous driving system sends a request to the steering assist system to turn off the steering assist, the steering assist system turns off the steering assist based on the request, and the autonomous driving system generates an emergency braking request and controls the vehicle to stop moving based on the emergency braking request.
[0132] Step S410: The autonomous driving system exits.
[0133] In this embodiment, the power steering system exits the autonomous driving mode after determining that the vehicle is stationary.
[0134] If the over-limit counter has not reached the count limit, then proceed to... Figure 3 The H entry point will then jump to step S305;
[0135] In this embodiment, the autonomous driving system obtains the current execution capability update data and the fault occurrence duration update data of the steering assist system. It uses the current actual execution capability update data as the current actual execution capability and the fault occurrence duration update data as the fault occurrence duration of the steering assist system. The system then returns to step S305, determines whether the fault duration exceeds regulatory requirements, and repeatedly executes steps S305 to S307. Figure 4 The process continues with steps S401 to S407, including "determining whether the vehicle has stopped moving," until the over-limit counter in the autonomous driving system reaches its count limit. Once the over-limit counter reaches its count limit, steps S408 and S410 are executed to end the process.
[0136] In one exemplary embodiment, such as Figure 5 As shown, a method for controlling the lateral motion of a vehicle is provided, which is applied to... Figure 1 Taking the power steering system in the middle as an example, the explanation includes:
[0137] Step S501: Send a fault warning message and the current command processing capability to the autonomous driving system, so as to instruct the autonomous driving system to determine whether the current command execution capability of the steering assist system meets the preset command execution capability limit after the fault warning message meets the preset fault conditions of the steering assist system. If it meets the limit, the lateral movement trajectory of the vehicle is determined based on the current execution capability, the fault occurrence duration of the steering assist system and the preset exit autonomous driving duration; and the first lateral movement control command is generated based on the lateral movement trajectory.
[0138] Step S502: Receive the first lateral motion control command sent by the automatic control system, and execute the steering control indicated by the first lateral motion control command to obtain the execution result. The execution result is used by the automatic driving system to obtain the execution result. Based on the execution result and the lateral motion trajectory, the execution error is determined. Based on the execution error, the steering assist system is controlled to turn off the steering assist and the vehicle is controlled to exit the automatic driving mode.
[0139] This embodiment is the same as the above. Figure 2 The embodiments shown are essentially the same, and their specific implementations can be found above. Figure 2 The specific implementation details shown are not elaborated here.
[0140] In this embodiment, after receiving fault warning information and current command processing capability from the power steering system in the vehicle, and determining that the power steering system meets preset fault conditions based on the fault warning information, it is then determined whether the current command execution capability of the power steering system meets preset command execution capability limitations. If it does, the lateral movement trajectory of the vehicle is determined based on the current execution capability, the duration of the power steering system fault, and the preset exit duration for autonomous driving. It is evident that the generated lateral movement trajectory considers both the current command capability after the power steering system fault, the duration of the power steering system fault, and the preset exit duration for autonomous driving. This ensures that the faulty power steering system is capable of executing the lateral movement control command corresponding to the lateral movement trajectory. The lateral movement trajectory allows the driver sufficient time to take over. Therefore, this application generates a first lateral movement control command based on the lateral movement trajectory and sends the first lateral movement control command to the steering assist system to instruct the steering assist system to execute the steering control indicated by the first lateral movement control command, obtain the execution result, determine the execution error based on the execution result, control the steering assist system to turn off the steering assist based on the execution error, and control the vehicle to stop driving, so that the steering assist system can execute steering assist and safely pull over to the side of the road. By controlling the steering assist system according to the lateral movement trajectory, it can ensure that the faulty steering assist system can execute the corresponding first lateral movement control command to perform lateral movement control, and also allow the driver sufficient time to take over before stopping.
[0141] In this embodiment, the power steering system monitors its own operation to determine if a hardware fault exists, identifies the type of fault, and assesses its current command processing capability. Simultaneously, the power steering system can receive lateral motion control commands from the autonomous driving system and execute corresponding lateral control based on these commands. See below for further details. Figure 6 and Figure 7 This application provides a detailed explanation of the proposed solution from the perspective of the steering assist system.
[0142] In one embodiment, before sending fault warning information and current instruction processing capability to the autonomous driving system, the method further includes: determining whether there is a hardware fault in the steering assist system in the vehicle; if so, determining the fault type of the steering assist system; if the fault type of the steering assist system is a permanent fault, determining the current instruction execution capability of the steering assist system and generating fault warning information.
[0143] Figure 6 The starting point for the execution of the flowchart is entry point A. After execution begins from entry point A, step S601 is executed to diagnose hardware faults.
[0144] Step S602: Determine if there is a hardware fault;
[0145] The power steering system checks for hardware malfunctions; if a malfunction is detected, it proceeds to... Figure 7 The C entry point;
[0146] If the power steering system determines that it does not have a hardware fault, it will proceed to steps S603 to S611.
[0147] In one embodiment, after determining whether there is a hardware fault in the steering assist system of the vehicle, the method further includes: if there is no hardware fault, acquiring a second lateral motion control command sent by the autonomous driving system; determining whether at least one of the following conditions is met: not acquiring the second lateral motion control command, the over-limit counter in the steering assist system exceeding the corresponding count limit, and receiving a shutdown request sent by the autonomous driving system; if met, shutting off the steering assist and sending a request to exit the autonomous driving mode to the autonomous driving system; if not met, executing steering control based on the second lateral motion control command to obtain an execution result, determining the corresponding execution error based on the execution result of the second lateral motion control command, determining whether the execution error of the second lateral motion control command exceeds the corresponding error limit, if yes, incrementing the over-limit counter in the steering assist system, if no, clearing the over-limit counter in the steering assist system; and returning to the step of determining whether there is a hardware fault in the steering assist system of the vehicle.
[0148] Specifically, the steps include the following:
[0149] Step S603: Obtain the control request from the automatic driving controller;
[0150] The power steering system receives a controller control request sent by the autonomous driving system, which is either the first lateral motion control command or the second lateral motion control command mentioned above.
[0151] Step S604: Determine whether at least one of the following conditions is met: communication interruption, execution error count exceeding limit, or receiving a shutdown command.
[0152] The power steering system receives the lateral motion control command sent by the autonomous driving system from the communication bus. If the power steering system does not receive the second lateral motion control command, it considers that there is a communication interruption.
[0153] The power steering system includes an over-limit counter, which can determine whether the count of the over-limit counter exceeds the corresponding count limit.
[0154] The power steering system can determine whether it has received a shutdown command from the autonomous driving system.
[0155] If at least one of the above conditions is met, proceed to step S605; otherwise, proceed to step S606.
[0156] Step S605: Turn off power steering;
[0157] When the power steering system is turned off, the steering wheels are automatically straightened by the tire's return torque.
[0158] Step S607: Send an autonomous driving exit request;
[0159] The power steering system sends a request to the autonomous driving system to exit autonomous driving mode, and the autonomous driving system exits autonomous driving mode upon receiving the request.
[0160] Then turn to Figure 4 Enter the G entry point and execute steps S408 and S410.
[0161] Step S606: Execute the control request;
[0162] The power steering system executes steering control based on the received second lateral motion control command and obtains the execution result.
[0163] Step S608: Check the execution result;
[0164] The power steering system determines the difference between the execution result of the second lateral motion control command and the operation indicated by the second lateral motion control command, and obtains the execution error of the second lateral motion control command.
[0165] Step S610: Determine whether the error exceeds the limit;
[0166] The power steering system determines whether the execution error of the second lateral motion control command exceeds the corresponding error threshold.
[0167] Step S609: If the error exceeds the limit, increment the error over-limit count by 1.
[0168] The execution error over-limit count is incremented by 1, which means the over-limit counter in the power steering system is increased.
[0169] Step S611: If the error does not exceed the limit, then execute the error over-limit count reset.
[0170] After steps S609 and S611 are completed, return to the previous page. Figure 6 The execution entry point, namely entry point A, is repeatedly used by the power steering system to diagnose faults and execution errors.
[0171] Below, on Figure 7 The plan will be explained. Figure 7The flowchart starts execution at the C entry point and includes the following steps:
[0172] Step S701: Determine the fault type;
[0173] Step S702: Determine whether it is a permanent fault or the fault counter has exceeded the limit;
[0174] If there is a hardware fault in the power steering system of the vehicle, determine the type of fault in the power steering system and whether it is a transient or permanent fault.
[0175] If the power steering system is found to be in a fault state within multiple preset fault detection cycles, the fault type of the power steering system is considered to be a permanent fault; otherwise, it is considered to be a transient fault.
[0176] In one embodiment, determining the fault type of the steering assist system includes: if the fault type of the steering assist system is determined to be a momentary fault, then the count of the momentary fault counter is increased, and the step of obtaining the second lateral motion control command sent by the autonomous driving system is repeated; if the steering assist system is determined to be in a fault state within multiple preset fault detection cycles, then the fault type of the steering assist system is determined to be a permanent fault.
[0177] Step S703: If there is no permanent fault or the fault counter exceeds the limit, then the instantaneous fault counter is incremented by 1;
[0178] In this embodiment, fault counter exceeding the limit means that the instantaneous fault counter exceeds the counting limit.
[0179] After executing step S703, jump to Figure 6 The B entry point will then jump to step S603.
[0180] Step S704: If a permanent fault exists or the fault counter exceeds the limit, determine the impact of the fault and send a fault code;
[0181] The power steering system runs a diagnostic program to identify and send fault warning messages to the autonomous driving system. These fault warning messages can be fault codes.
[0182] Step S705: Determine whether it affects execution capability;
[0183] The power steering system determines whether a malfunction will affect its ability to process lateral motion control commands. If it does not affect the power steering system's command processing capability, it uses all of the power steering system's command processing capability as the current command processing capability and sends this capability to the autonomous driving system, then jumps to... Figure 3 The E entrance;
[0184] Step S706: If the command processing capability of the power steering system is affected, then the faulty unit is disabled;
[0185] The power steering system shuts down the faulty hardware unit to prevent the fault from escalating.
[0186] Step S707: Evaluate and output the current execution capability;
[0187] The power steering system assesses its remaining command execution capability after a failure, uses this as its current command processing capability, and sends this capability to the autonomous driving system, then jumps to... Figure 3 The E-entry point.
[0188] In summary, to address the problems of the prior art, this application requires that the vehicle provide the driver with sufficient time to take over from the moment the malfunction occurs until the vehicle attempts to pull over, and also requires that the vehicle maintain lateral movement control even after the power steering system fails.
[0189] See Figure 8 The power steering system failure handling process includes four steps: power steering system fault identification, power steering system execution capability assessment, minimum risk motion trajectory planning, and generation of actuator control requests.
[0190] S1. Steering assist system fault identification and handling: Diagnose the communication between the steering assist system and the automatic driving controller, random hardware faults, and control command execution status. Based on the fault type and the assist shutdown command, execute the assist shutdown action.
[0191] S2. Steering assist system performance assessment: Determine the type of steering assist system fault, assess the impact of the fault on performance, disable the faulty unit, and based on the remaining normally functioning units, assess the maximum torque, steering angle, and angular velocity that the steering assist system can achieve.
[0192] S3, Minimum Risk Motion Trajectory Planning, monitors the execution capability and fault status of the power steering system, adjusts the constraints of the local path planner based on the monitoring results, and plans the corresponding minimum risk motion trajectory.
[0193] S4. Actuator control request generation: Based on the planned risk-minimizing motion trajectory and using the actual execution capability of the steering assist system as a constraint, the actuator control request is generated using vehicle dynamics and / or kinematics models to ensure that the request can be correctly executed by the actuator, thereby achieving lateral motion control of the vehicle.
[0194] The technical solution provided by this invention ensures that a vehicle can maintain lateral motion control even after the power steering system fails. This involves two aspects: the faulty power steering system assesses its remaining execution capability, and the autonomous driving system adaptively adjusts trajectory planning and steering control requests based on the actual execution capability of the power steering system, enabling the requests to be executed. This reduces the complexity of the power steering system and results in lower implementation costs while meeting regulatory requirements for lateral motion control.
[0195] The innovation of this application lies mainly in the following aspects:
[0196] 1. The power steering system identifies its own faults and assesses its remaining execution capacity based on the impact of the faults, that is, the current command processing capacity of the power steering system.
[0197] 2. The autonomous driving system, based on the remaining execution capacity of the steering assist system, executes step S303 above when the remaining capacity of the steering assist system does not meet the preset execution command capacity limit; when the preset execution command capacity limit is met, it proceeds to step S304 to adjust the local path planner constraints and plan the least risky action.
[0198] 3. The autonomous driving system adjusts the lateral control request planner or dynamic model constraints based on the actual execution capability of the steering assist system, and plans the control request.
[0199] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.
[0200] Based on the same inventive concept, this application also provides a lateral motion control device for implementing the lateral motion control method for a vehicle as described above. The solution provided by this device is similar to the implementation described in the above method; therefore, the specific limitations of one or more embodiments of the lateral motion control device for a vehicle provided below can be found in the limitations of the lateral motion control method for a vehicle described above, and will not be repeated here.
[0201] In one exemplary embodiment, such as Figure 9 As shown, a lateral motion control device 900 for a vehicle is provided, comprising:
[0202] The first receiving module 901 is used to receive fault prompt information and current command processing capability sent by the power steering system in the vehicle.
[0203] The first judgment module 902 is used to determine whether the current command execution capability of the steering assist system meets the preset command execution capability limit after determining that the steering assist system meets the preset fault conditions based on the fault prompt information.
[0204] The first determining module 903 is used to determine the lateral movement trajectory of the vehicle based on the current execution capability, the duration of the steering assist system failure, and the preset exit duration of autonomous driving if the conditions are met.
[0205] The first sending module 904 is used to generate a first lateral motion control command based on the lateral motion trajectory, and send the first lateral motion control command to the steering assist system to instruct the steering assist system to execute the steering control indicated by the first lateral motion control command, and obtain the execution result.
[0206] The steering assist module 905 is used to obtain the execution result, determine the execution error based on the execution result and the lateral movement trajectory, control the steering assist system to turn off the steering assist based on the execution error, and control the vehicle to exit the autonomous driving mode.
[0207] In one embodiment, the device further includes a second transmitting module and a control module;
[0208] After the first judgment module determines whether the current command execution capability of the power steering system meets the preset command execution capability limit,
[0209] The second sending module is used to send a shutdown request to the steering assist system if the current command execution capability of the steering assist system does not meet the preset command execution capability limit, so as to instruct the steering assist system to shut down the steering assist based on the received shutdown request.
[0210] The control module is used to stop the vehicle and exit the autonomous driving mode.
[0211] In one embodiment, the first determining module 903 is specifically used for:
[0212] Based on the current execution capabilities, adjust the constraints of the path planner;
[0213] Determine whether the duration of the power steering system malfunction is greater than the preset duration for exiting automatic driving.
[0214] When the duration of the steering assist system malfunction exceeds the preset duration of exiting automatic driving, the adjusted path planner is invoked to plan the parking trajectory, and the parking trajectory is used as the lateral movement trajectory.
[0215] When the duration of the steering assist system failure is less than the preset time for exiting autonomous driving, the adjusted path planner is invoked to plan the lane driving trajectory, and the lane driving trajectory is used as the lateral movement trajectory.
[0216] In one embodiment, when the steering assist shutdown module 905 controls the steering assist system to shut off based on the execution error and controls the vehicle to exit the autonomous driving mode, it is specifically used for:
[0217] Determine whether the execution error exceeds the error limit;
[0218] If so, then increase the count of the over-limit counter in the autonomous driving system;
[0219] If not, clear the over-limit counter in the autonomous driving system;
[0220] Determine whether the count of the over-limit counter in the autonomous driving system has reached the counting limit;
[0221] If the count of the over-limit counter in the autonomous driving system reaches the count limit, an emergency braking request and a shutdown request are generated. A shutdown request is sent to the steering assist system to instruct the steering assist system to shut down the steering assist based on the received shutdown request. Based on the emergency braking request, the vehicle is controlled to stop driving and exit the autonomous driving mode.
[0222] If the count of the over-limit counter in the autonomous driving system has not reached the counting limit, then the current execution capability update data and the fault occurrence duration update data of the steering assist system are obtained. The current execution capability update data is taken as the current execution capability, and the fault occurrence duration update data is taken as the fault occurrence duration of the steering assist system. The step of determining whether the fault occurrence duration of the steering assist system is greater than the preset exit autonomous driving duration is repeated until the count of the over-limit counter in the autonomous driving system reaches the counting limit.
[0223] In one embodiment, the device further includes a second determination module, a generation module, and a third sending module;
[0224] Before the first sending module generates the first lateral motion control command based on the lateral motion trajectory, the second judgment module is used to determine whether the vehicle is in a stopped state.
[0225] A generation module is used to, if not, execute the step of generating a first lateral motion control command based on the lateral motion trajectory;
[0226] The third sending module is used to, if so, execute the steps of generating an emergency braking request and a shutdown request, and sending the shutdown request to the power steering system.
[0227] like Figure 10 As shown, a lateral motion control device 1000 for a vehicle is provided, comprising:
[0228] The fourth sending module 1001 is used to send fault prompt information and current instruction processing capability to the autonomous driving system, so as to instruct the autonomous driving system to determine whether the current instruction execution capability of the steering assist system meets the preset instruction execution capability limit after the fault prompt information meets the preset fault conditions of the steering assist system. If it does, the system determines the lateral movement trajectory of the vehicle based on the current execution capability, the fault occurrence duration of the steering assist system, and the preset exit autonomous driving duration; and generates a first lateral movement control command based on the lateral movement trajectory.
[0229] The second receiving module 1002 is used to receive the first lateral motion control command sent by the automatic control system, and execute the steering control indicated by the first lateral motion control command to obtain the execution result. The execution result is used by the autonomous driving system to obtain the execution result, determine the execution error based on the execution result and the lateral motion trajectory, control the steering assist system to turn off the steering assist based on the execution error, and control the vehicle to exit the autonomous driving mode.
[0230] In one embodiment, the device further includes a second judgment module, a second determination module, and a third determination module;
[0231] The fourth sending module precedes the sending of fault warning information and current instruction processing capability to the autonomous driving system;
[0232] The second judgment module is used to determine whether there is a hardware fault in the vehicle's power steering system.
[0233] The second determining module is used to determine the fault type of the power steering system if the condition is true.
[0234] The third determination module is used to determine the current command execution capability of the power steering system and generate fault prompt information if the fault type of the power steering system is a permanent fault.
[0235] In one embodiment, the device further includes an acquisition module, a third judgment module, a fifth sending module, and a loop judgment module, after judging whether there is a hardware fault in the power steering system in the vehicle;
[0236] The acquisition module is used to acquire the second lateral motion control command sent by the autonomous driving system if there is no hardware failure.
[0237] The third judgment module is used to determine whether at least one of the following conditions is met: the second lateral motion control command has not been obtained, the over-limit counter in the steering assist system has exceeded the corresponding count limit, and a shutdown request sent by the autonomous driving system has been received.
[0238] The fifth sending module is used to turn off the power steering and send a request to exit the autonomous driving mode to the autonomous driving system if the conditions are met.
[0239] The loop judgment module is used to, if not satisfied, execute steering control based on the second lateral motion control command to obtain the execution result, determine the corresponding execution error based on the execution result of the second lateral motion control command, determine whether the execution error of the second lateral motion control command exceeds the corresponding error limit, if yes, increment the over-limit counter in the steering assist system, if no, clear the over-limit counter in the steering assist system; and return to the step of judging whether there is a hardware fault in the steering assist system of the vehicle.
[0240] In one embodiment, the second determining module is specifically used for:
[0241] If the fault type of the power steering system is determined to be a transient fault, then the transient fault counter is incremented, and the step of obtaining the second lateral motion control command sent by the autonomous driving system is repeated.
[0242] If it is determined that the power steering system is in a fault state within multiple preset fault detection cycles, then the fault type of the power steering system is determined to be a permanent fault.
[0243] The various modules in the aforementioned vehicle lateral motion control device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device, or stored in the computer device's memory as software, so that the processor can call and execute the corresponding operations of each module.
[0244] In one exemplary embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as follows: Figure 11As shown, the computer device includes a processor, memory, input / output interface, communication interface, display unit, and input device. The processor, memory, and input / output interface are connected via a system bus, and the communication interface, display unit, and input device are also connected to the system bus via the input / output interface. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The input / output interface is used for exchanging information between the processor and external devices. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, NFC (Near Field Communication), or other technologies. When the computer program is executed by the processor, it implements a method for controlling the lateral movement of a vehicle. The display unit is used to form a visually visible image and can be a display screen, projection device, or virtual reality imaging device. The display screen can be an LCD screen or an e-ink screen. The input device of the computer device can be a touch layer covering the display screen, or buttons, trackballs, or touchpads set on the casing of the computer device, or external keyboards, touchpads, or mice, etc.
[0245] Those skilled in the art will understand that Figure 11 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0246] In one exemplary embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in the above-described method embodiments.
[0247] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the steps in the above method embodiments.
[0248] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps in the above method embodiments.
[0249] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of the relevant data must comply with relevant regulations.
[0250] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.
[0251] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0252] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.
Claims
1. A method for controlling the lateral motion of a vehicle, characterized in that, The method includes: Receive fault warning information and current command processing capability from the vehicle's power steering system; After determining that the power steering system meets the preset fault conditions based on the fault prompt information, it is then determined whether the current command execution capability of the power steering system meets the preset command execution capability limit. If satisfied, the constraints of the path planner are adjusted based on the current instruction execution capability. Determine whether the duration of the steering assist system malfunction is greater than the preset duration for disengaging from automatic driving. When the duration of the steering assist system failure exceeds the preset duration of exiting automatic driving, the adjusted path planner is invoked to plan the parking trajectory, and the parking trajectory is used as the lateral movement trajectory. When the duration of the steering assist system failure is less than the preset duration of exiting autonomous driving, the adjusted path planner is invoked to plan the lane driving trajectory, and the lane driving trajectory is used as the lateral movement trajectory. A first lateral motion control command is generated based on the lateral motion trajectory and sent to the steering assist system to instruct the steering assist system to execute the steering control indicated by the first lateral motion control command, and to obtain the execution result. Obtain the execution result, determine the execution error based on the execution result and the lateral motion trajectory, and determine whether the execution error exceeds the error limit; If so, then increase the count of the over-limit counter in the autonomous driving system; If not, clear the over-limit counter in the autonomous driving system; Determine whether the count of the over-limit counter in the autonomous driving system has reached the counting limit; If the count of the over-limit counter in the autonomous driving system reaches the count limit, an emergency braking request and a shutdown request are generated. The shutdown request is sent to the steering assist system to instruct the steering assist system to shut off the steering assist based on the received shutdown request. Based on the emergency braking request, the vehicle is controlled to stop driving and exit the autonomous driving mode. If the count of the over-limit counter in the autonomous driving system has not reached the count limit, then the current instruction execution capability update data and the fault occurrence duration update data of the steering assist system are obtained. The current instruction execution capability update data is taken as the current instruction execution capability, and the fault occurrence duration update data is taken as the fault occurrence duration of the steering assist system. The step of determining whether the fault occurrence duration of the steering assist system is greater than the preset exit autonomous driving duration is repeated until the count of the over-limit counter in the autonomous driving system reaches the count limit.
2. The method according to claim 1, characterized in that, After determining whether the current command execution capability of the power steering system meets the preset command execution capability limit, the method further includes: If the current command execution capability of the power steering system does not meet the preset command execution capability limit, a shutdown request is sent to the power steering system to instruct the power steering system to shut down the power steering based on the received shutdown request. Control the vehicle to stop moving and exit autonomous driving mode.
3. The method according to claim 1, characterized in that, Before generating the first lateral motion control command based on the lateral motion trajectory, the method further includes: Determine if the vehicle is stationary; If not, then execute the step of generating the first lateral motion control command based on the lateral motion trajectory; If so, then the steps of generating an emergency braking request and a shutdown request, and sending the shutdown request to the power steering system are performed.
4. A method for controlling the lateral motion of a vehicle, characterized in that, The method includes: The system sends a fault warning message and its current instruction processing capability to the autonomous driving system. This instructs the system, after the fault warning message meets the preset fault conditions of the steering assist system, to determine whether the current instruction execution capability of the steering assist system meets the preset instruction execution capability limit. If it does, the system adjusts the constraints of the path planner based on the current instruction execution capability. It then determines whether the duration of the steering assist system fault exceeds a preset exit duration for autonomous driving. If the duration exceeds the preset exit duration, the system calls the adjusted path planner to plan a parking trajectory, using this parking trajectory as the lateral movement trajectory. If the duration is less than the preset exit duration, the system calls the adjusted path planner to plan a lane driving trajectory, using this lane driving trajectory as the lateral movement trajectory. Finally, a first lateral movement control command is generated based on the lateral movement trajectory. The system receives the first lateral motion control command sent by the autonomous driving system and executes the steering control indicated by the first lateral motion control command to obtain an execution result. This execution result is used by the autonomous driving system to acquire the execution result, determine the execution error based on the execution result and the lateral motion trajectory, and determine whether the execution error exceeds the error limit. If yes, the system increments the over-limit counter in the autonomous driving system; if no, the system clears the over-limit counter. The system then determines whether the over-limit counter in the autonomous driving system has reached the counting limit. If the over-limit counter in the autonomous driving system has reached the counting limit, an emergency braking request and a shutdown request are generated, and the shutdown request is sent to the steering assist system. The system requests and instructs the power steering system to shut off the power steering based on the received shutdown request; controls the vehicle to stop driving based on the emergency braking request and exits the autonomous driving mode; if the count of the over-limit counter in the autonomous driving system has not reached the count limit, it obtains the current instruction execution capability update data and the fault occurrence duration update data of the power steering system, uses the current instruction execution capability update data as the current instruction execution capability, and uses the fault occurrence duration update data as the fault occurrence duration of the power steering system, and returns to the step of determining whether the fault occurrence duration of the power steering system is greater than the preset exit autonomous driving duration and repeats the execution until the count of the over-limit counter in the autonomous driving system reaches the count limit.
5. The method according to claim 4, characterized in that, Before sending fault warning information and current instruction processing capabilities to the autonomous driving system, the method further includes: Determine if there is a hardware fault in the vehicle's power steering system; If so, determine the fault type of the power steering system; If the fault type of the power steering system is a permanent fault, then the current command execution capability of the power steering system is determined, and the fault prompt information is generated.
6. The method according to claim 5, characterized in that, After determining whether there is a hardware fault in the power steering system of the vehicle, the method further includes: If the hardware fault does not exist, then the second lateral motion control command sent by the autonomous driving system is obtained; Determine whether at least one of the following conditions is met: the second lateral motion control command has not been obtained, the over-limit counter in the steering assist system has exceeded the corresponding count limit, and a shutdown request has been received from the autonomous driving system. If the conditions are met, the power steering is turned off, and a request to exit the autonomous driving mode is sent to the autonomous driving system. If the conditions are not met, then the steering control is executed based on the second lateral motion control command to obtain the execution result. Based on the execution result of the second lateral motion control command, the corresponding execution error is determined. It is determined whether the execution error of the second lateral motion control command exceeds the corresponding error limit. If yes, the count of the over-limit counter in the steering assist system is incremented. If no, the count of the over-limit counter in the steering assist system is cleared. Then, the process returns to the step of determining whether there is a hardware fault in the steering assist system of the vehicle.
7. The method according to claim 6, characterized in that, Determining the fault type of the power steering system includes: If the fault type of the power steering system is determined to be a transient fault, then the transient fault counter is incremented, and the step of obtaining the second lateral motion control command sent by the autonomous driving system is repeated. If it is determined that the power steering system is in a fault state within multiple preset fault detection cycles, then the fault type of the power steering system is determined to be a permanent fault.
8. A lateral movement control device for a vehicle, characterized in that, The apparatus is used to implement the method according to any one of claims 1-3, and the apparatus comprises: The first receiving module is used to receive fault prompt information and current command processing capabilities sent by the power steering system in the vehicle. The first judgment module is used to determine whether the current command execution capability of the steering assist system meets the preset fault conditions after determining that the steering assist system meets the preset command execution capability limit based on the fault prompt information. The first determining module is used to adjust the constraints of the path planner based on the current instruction execution capability if the condition is met; and to determine whether the fault duration of the steering assist system is greater than the preset exit duration of autonomous driving. When the duration of the steering assist system failure exceeds the preset duration of exiting automatic driving, the adjusted path planner is invoked to plan the parking trajectory, and the parking trajectory is used as the lateral movement trajectory. When the duration of the steering assist system failure is less than the preset duration of exiting autonomous driving, the adjusted path planner is invoked to plan the lane driving trajectory, and the lane driving trajectory is used as the lateral movement trajectory. The first sending module is used to generate the first lateral motion control command based on the lateral motion trajectory, and send the first lateral motion control command to the steering assist system to instruct the steering assist system to execute the steering control indicated by the first lateral motion control command, and obtain the execution result; The power steering module is turned off to obtain the execution result, determine the execution error based on the execution result and the lateral movement trajectory, and determine whether the execution error exceeds the error limit. If yes, then increment the count of the over-limit counter in the autonomous driving system; if no, clear the count of the over-limit counter in the autonomous driving system; determine whether the count of the over-limit counter in the autonomous driving system has reached the counting limit; if the count of the over-limit counter in the autonomous driving system has reached the counting limit, then generate an emergency braking request and a shutdown request, and send the shutdown request to the steering assist system to instruct the steering assist system to shut down the steering assist based on the obtained shutdown request. Based on the emergency braking request, the vehicle is controlled to stop and exit the autonomous driving mode. If the count of the over-limit counter in the autonomous driving system has not reached the count limit, the current instruction execution capability update data and the fault occurrence duration update data of the steering assist system are obtained. The current instruction execution capability update data is taken as the current instruction execution capability, and the fault occurrence duration update data is taken as the fault occurrence duration of the steering assist system. The step of determining whether the fault occurrence duration of the steering assist system is greater than the preset exit autonomous driving duration is repeated until the count of the over-limit counter in the autonomous driving system reaches the count limit.
9. A lateral movement control device for a vehicle, characterized in that, The apparatus is used to implement the method of any one of claims 4-7, and the apparatus comprises: The fourth sending module is used to send fault prompt information and current instruction processing capability to the autonomous driving system, so as to instruct the autonomous driving system to determine whether the current instruction execution capability of the steering assist system meets the preset instruction execution capability limit after the fault prompt information meets the preset fault conditions of the steering assist system. If it does, the system adjusts the constraints of the path planner based on the current instruction execution capability; and determines whether the fault occurrence time of the steering assist system is greater than the preset exit autonomous driving time. When the duration of the steering assist system failure exceeds the preset duration of exiting automatic driving, the adjusted path planner is invoked to plan the parking trajectory, and the parking trajectory is used as the lateral movement trajectory. When the duration of the steering assist system failure is less than the preset duration of exiting autonomous driving, the adjusted path planner is invoked to plan the lane driving trajectory, and the lane driving trajectory is used as the lateral movement trajectory. The first lateral motion control command is generated based on the lateral motion trajectory; The second receiving module is used to receive the first lateral motion control command sent by the autonomous driving system, execute the steering control indicated by the first lateral motion control command, and obtain the execution result. The execution result is used by the autonomous driving system to obtain the execution result, determine the execution error based on the execution result and the lateral motion trajectory, and determine whether the execution error exceeds the error limit. If yes, then increment the count of the over-limit counter in the autonomous driving system; if no, clear the count of the over-limit counter in the autonomous driving system; determine whether the count of the over-limit counter in the autonomous driving system has reached the counting limit; if the count of the over-limit counter in the autonomous driving system has reached the counting limit, then generate an emergency braking request and a shutdown request, and send the shutdown request to the steering assist system to instruct the steering assist system to shut down the steering assist based on the obtained shutdown request. Based on the emergency braking request, the vehicle is controlled to stop and exit the autonomous driving mode. If the count of the over-limit counter in the autonomous driving system has not reached the count limit, the current instruction execution capability update data and the fault occurrence duration update data of the steering assist system are obtained. The current instruction execution capability update data is taken as the current instruction execution capability, and the fault occurrence duration update data is taken as the fault occurrence duration of the steering assist system. The step of determining whether the fault occurrence duration of the steering assist system is greater than the preset exit autonomous driving duration is repeated until the count of the over-limit counter in the autonomous driving system reaches the count limit.
10. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 7.
11. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 7.
12. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Automatic driving steering fault prediction and redundancy control method and system and electronic equipment
CN114954503A
KR20220048526A
