Control method, device, equipment and medium of lane keeping assistance system
By combining the detection of the distance between the vehicle and the lane line, the status of the turn signal, the yaw angle, and the steering wheel torque, the system accurately judges the driver's deviation status, solves the problem of inaccurate control of the lane keeping assist system, and improves the system's ability to recognize the driver's status.
Patent Information
- Application Number
- CN202310746169.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-21
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2043-06-21
AI Technical Summary
Existing lane keeping assist systems cannot accurately distinguish between unintentional and deviance from the lane by the driver, resulting in inaccurate control schemes.
By detecting the distance between the vehicle and the lane lines, the status of the turn signals, the yaw angle, and the driver's hand torque and corrective torque on the steering wheel, the system determines the driver's deviation status and deactivates the lane keeping assist function when active deviation is detected.
It improves the control accuracy of the lane keeping assist system, avoids interference with the driver's active lane changing process, and enhances driving safety.
Smart Images

Figure CN116691684B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of computer technology, and in particular to a control method, apparatus, device, and medium for a lane keeping assist system. Background Technology
[0002] Vehicles are typically equipped with lane keeping assist systems. Lane keeping assist uses cameras to determine the distance between the vehicle and the lane markings on either side of its lane, detecting whether the vehicle is deviating from its lane. When the lane keeping assist system determines that the vehicle is deviating from its lane, it determines whether the driver is unintentionally or intentionally deviating. If the driver is unintentionally deviating, the lane keeping assist system remains active. Once activated, lane keeping assist applies corrective torque to the steering wheel to automatically correct the steering and keep the vehicle within its lane. If the driver is intentionally deviating from the lane, the lane keeping assist system is deactivated.
[0003] In related technologies, a common control method for lane keeping assist systems involves detecting whether the driver has activated the corresponding turn signal when the system determines the vehicle is deviating from its lane. If the driver has not activated the turn signal, it is determined that the driver is unintentionally deviating from the lane, and the lane keeping assist system continues to operate. If the driver has activated the turn signal, it is determined that the driver is actively deviating from the lane, and the system deactivates the lane keeping assist function. However, there are cases where the driver fails to activate the turn signal during an active lane departure. The control schemes of related lane keeping assist systems rely solely on turn signal activation to determine the driver's current state, failing to accurately detect whether the lane departure is unintentional or active. Summary of the Invention
[0004] This invention provides a control method, device, equipment, and medium for a lane keeping assist system, in order to solve the problem that the control scheme of the lane keeping assist system in the related art only judges the current state of the driver based on the turn signal, and cannot accurately detect whether the driver is unintentionally or actively deviating from the lane.
[0005] According to one aspect of the present invention, a control method for a lane keeping assist system is provided, comprising:
[0006] After the lane keeping assist function is activated, the system periodically detects whether the vehicle deviates from its lane based on the distance between the vehicle and the lane lines on both sides of the lane it is in.
[0007] After detecting that the vehicle has deviated from its lane, the system determines whether the vehicle's deviation is due to the driver's unintentional lane departure or the driver's active lane departure, based on the status of the vehicle's turn signals, the vehicle's yaw angle, and the driver's hand torque and corrective torque corresponding to the vehicle's steering wheel.
[0008] After detecting that the vehicle's deviation is due to the driver actively deviating from the lane, the lane keeping assist system is controlled to deactivate the lane keeping assist function.
[0009] According to another aspect of the present invention, a control device for a lane keeping assist system is provided, comprising:
[0010] The lane detection module is used to periodically detect whether the vehicle deviates from its lane after the lane keeping assist function is activated, based on the distance between the vehicle and the lane lines on both sides of the lane in which the vehicle is located.
[0011] The lane departure detection module is used to detect whether the vehicle's lane departure is unintentional or intentional, based on the vehicle's turn signal status, yaw angle, and the driver's hand torque and corrective torque corresponding to the vehicle's steering wheel.
[0012] The function deactivation module is used to control the lane keeping assist system to deactivate the lane keeping assist function after detecting that the vehicle's deviation state is due to the driver actively deviating from the lane.
[0013] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:
[0014] At least one processor;
[0015] and a memory communicatively connected to the at least one processor;
[0016] The memory stores a computer program that can be executed by the at least one processor, which is then executed by the at least one processor to enable the at least one processor to perform the control method of the lane keeping assist system according to any embodiment of the present invention.
[0017] According to another aspect of the present invention, a computer-readable storage medium is provided, the computer-readable storage medium storing computer instructions for causing a processor to execute and implement the control method of the lane keeping assist system according to any embodiment of the present invention.
[0018] The technical solution of this invention, after the lane keeping assist system is activated, periodically detects whether the vehicle deviates from its lane based on the distance between the vehicle and the lane lines on both sides of the lane it is in. Upon detecting lane deviation, it determines whether the deviation is unintentional or intentional based on the vehicle's turn signal status, yaw angle, and the driver's hand torque and corrective torque corresponding to the steering wheel. If the deviation is intentional, the lane keeping assist system is deactivated, thus solving the control issues of related technologies in lane keeping assist systems. The current control scheme relies solely on turn signals to determine the driver's current state, which cannot accurately detect whether the driver is unintentionally or intentionally deviating from the lane. A better approach would be to accurately detect whether the vehicle's lane departure is unintentional or intentional, based on the turn signal status, yaw angle, and steering wheel torque. If the driver is detected as intentionally deviating, the lane keeping assist system would be deactivated. This prevents the lane keeping assist function from interfering with the driver's lane-changing process and improves the accuracy of the lane keeping assist system's control.
[0019] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of the present invention, nor is it intended to limit the scope of the invention. Other features of the invention will become readily apparent from the following description. Attached Figure Description
[0020] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0021] Figure 1 This is a flowchart of a control method for a lane keeping assist system provided in Embodiment 1 of the present invention.
[0022] Figure 2 This is a flowchart of a control method for a lane keeping assist system provided in Embodiment 2 of the present invention.
[0023] Figure 3 This is a schematic diagram of the control device for a lane keeping assist system provided in Embodiment 3 of the present invention.
[0024] Figure 4A schematic diagram of the structure of an electronic device for implementing the control method of the lane keeping assist system according to an embodiment of the present invention. Detailed Implementation
[0025] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.
[0026] It should be noted that the terms "target," "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising," "including," and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0027] Example 1
[0028] Figure 1 This is a flowchart illustrating a control method for a lane keeping assist system according to Embodiment 1 of the present invention. This embodiment is applicable to situations where, upon determining that a vehicle is deviating from its lane, it is detecting whether the driver is unintentionally or actively deviating from the lane. This method can be executed by a control device for the lane keeping assist system. This control device can be implemented in hardware and / or software. The control device can be configured in an electronic device installed in the vehicle for controlling the lane keeping assist system. This electronic device for controlling the lane keeping assist system can be an electronic control unit installed in the vehicle. For example... Figure 1 As shown, the method includes:
[0029] Step 101: After the lane keeping assist function is activated, the system periodically detects whether the vehicle deviates from its lane based on the distance between the vehicle and the lane lines on both sides of the lane it is in.
[0030] Optionally, lane keeping assist is a driver assistance system installed on the vehicle to control the vehicle and assist it in keeping within its lane. The lane the vehicle is in is the lane the vehicle is currently in. Electronic devices establish a communication connection with the lane keeping assist system installed on the vehicle, and can exchange information based on this established communication connection. The lane keeping assist function applies a corrective torque to the steering wheel, thereby automatically correcting the steering wheel to keep the vehicle within its lane. After the lane keeping assist function is activated, the lane keeping assist system applies a corrective torque to the steering wheel, thereby automatically correcting the steering wheel to keep the vehicle within its lane.
[0031] Optionally, the electronic device may periodically obtain the functional status of the lane keeping assist system from the lane keeping assist system at preset time intervals. The electronic device obtains the functional status of the lane keeping assist system from the lane keeping assist system once every preset time interval. The functional status is information set in the lane keeping assist system to indicate whether the lane keeping assist function is activated. The functional status is either activated or deactivated. After activating the lane keeping assist function, the lane keeping assist system updates the functional status to activated. After deactivating the lane keeping assist function, the lane keeping assist system updates the functional status to deactivated. If the functional status of the lane keeping assist system is activated, it indicates that the lane keeping assist function is activated. If the functional status of the lane keeping assist system is deactivated, it indicates that the lane keeping assist function is deactivated.
[0032] Optionally, the preset time interval can be set according to business needs. For example, the preset time interval is 1 second. Every 1 second, the electronic device obtains the functional status of the lane keeping assist system from the lane keeping assist system. If the obtained functional status of the lane keeping assist system is "on", it is determined that the lane keeping assist function is activated, and the operation of periodically detecting whether the vehicle deviates from its lane based on the distance between the vehicle and the lane lines on both sides of the lane is executed. If the obtained functional status of the lane keeping assist system is "off", it is determined that the lane keeping assist function is deactivated, and the operation of periodically detecting whether the vehicle deviates from its lane based on the distance between the vehicle and the lane lines on both sides of the lane is stopped.
[0033] Optionally, the system periodically detects whether a vehicle deviates from its lane based on the distance between the vehicle and the lane lines on both sides of the lane it occupies. This includes performing the following operations at preset time intervals: acquiring a first distance between the vehicle and the left lane line of the lane it occupies, and a second distance between the vehicle and the right lane line of the lane it occupies; determining whether the first distance and the second distance are less than or equal to a preset distance threshold; if the first distance or the second distance is less than or equal to the preset distance threshold, then determining that the vehicle has deviated from its lane; if both the first distance and the second distance are greater than the preset distance threshold, then determining that the vehicle has not deviated from its lane.
[0034] Optionally, after the lane keeping assist system activates the lane keeping assist function, the electronic device performs an operation every preset time interval to detect whether the vehicle has deviated from its lane, based on the distance between the vehicle and the lane lines on both sides of the lane it is in. Detecting whether the vehicle has deviated from its lane based on the distance between the vehicle and the lane lines on both sides of the lane includes: acquiring a first distance between the vehicle and the left lane line of the lane it is in, and a second distance between the vehicle and the right lane line of the lane it is in; determining whether the first distance and the second distance are less than or equal to a preset distance threshold; if the first distance or the second distance is less than or equal to the preset distance threshold, then determining that the vehicle has deviated from its lane; if both the first distance and the second distance are greater than the preset distance threshold, then determining that the vehicle has not deviated from its lane. The preset time interval can be set according to business needs. For example, the preset time interval is 1 second.
[0035] Optionally, the lane lines on both sides of the lane where the vehicle is located include the left lane line and the right lane line of the lane where the vehicle is located. The first distance is the distance between the vehicles on the left lane line of their respective lanes. The second distance is the distance between the vehicles on the right lane line of their respective lanes. The lane keeping assist system can measure the first distance between the vehicles on the left lane line and the second distance between the vehicles on the right lane line of their respective lanes using a camera installed on the vehicle. Obtaining the first distance between the vehicles on the left lane line and the second distance between the vehicles on the right lane line of their respective lanes includes: obtaining the most recently measured first distance between the vehicles on the left lane line and the second distance between the vehicles on the right lane line of their respective lanes from the lane keeping assist system.
[0036] Optionally, when a vehicle deviates from its lane, it will move closer to the left or right lane line of its lane, with a smaller first distance between the vehicle and the left lane line or a smaller second distance between the vehicle and the right lane line. When a vehicle does not deviate from its lane, it will not move closer to the left or right lane line of its lane, with a larger first distance between the vehicle and the left lane line or a larger second distance between the vehicle and the right lane line.
[0037] Optionally, the preset distance threshold is a pre-set distance. Generally, if the first distance between a vehicle and the left lane line of its lane is less than or equal to the preset distance threshold, it indicates that the vehicle is approaching the left lane line of its lane and is deviating from its lane. If the second distance between a vehicle and the right lane line of its lane is less than or equal to the preset distance threshold, it indicates that the vehicle is approaching the right lane line of its lane and is deviating from its lane. If both the first and second distances are greater than the preset distance threshold, it indicates that the vehicle is not approaching either the left or right lane line of its lane and is not deviating from its lane. Therefore, after obtaining the first distance between the vehicle and the left lane line of its lane and the second distance between the vehicle and the right lane line of its lane, it is determined whether the first and second distances are less than or equal to the preset distance threshold. If either the first or second distance is less than or equal to the preset distance threshold, it can be determined that the vehicle is deviating from its lane. If both the first and second distances are greater than the preset distance threshold, it can be determined that the vehicle is not deviating from its lane. The preset distance threshold can be set according to business needs. For example, the preset distance threshold is 10 centimeters.
[0038] Optionally, after detecting that the vehicle has not deviated from its lane, the system continues to periodically detect whether the vehicle has deviated from its lane based on the distance between the vehicle and the lane lines on both sides of the lane it is in.
[0039] Step 102: After detecting that the vehicle has deviated from its lane, based on the status of the vehicle's turn signal, the vehicle's yaw angle, and the driver's hand torque and corrective torque corresponding to the vehicle's steering wheel, determine whether the vehicle's deviation is due to the driver's unintentional lane departure or the driver's active lane departure.
[0040] Optionally, the vehicle's turn signals are turn signals installed on the vehicle. The status of the turn signals indicates whether the turn signals are on. The turn signals installed on the vehicle include a left turn signal and a right turn signal. The status of the vehicle's turn signals includes the status of the left turn signal and the status of the right turn signal. Electronic devices establish a communication connection with the left and right turn signals and can exchange information based on the established communication connection. The electronic devices can obtain the status of the left turn signal and the status of the right turn signal from the left and right turn signals.
[0041] Optionally, the left turn signal can be either on or off. If the left turn signal is on, it indicates that the driver intends to change lanes to the left, either immediately or in the process of doing so. If the left turn signal is off, it cannot be determined whether the driver intends to change lanes to the left. The right turn signal can also be either on or off. If the right turn signal is on, it indicates that the driver intends to change lanes to the right, either immediately or in the process of doing so. If the right turn signal is off, it cannot be determined whether the driver intends to change lanes to the right.
[0042] Optionally, the vehicle is equipped with a yaw angle sensor. The yaw angle sensor measures the vehicle's yaw angle. Electronic devices establish a communication connection with the yaw angle sensor, enabling information exchange based on this connection. The electronic devices can obtain the vehicle's yaw angle measured by the yaw angle sensor.
[0043] Optionally, the driver's hand torque corresponding to the vehicle's steering wheel is the torque applied by the driver to the vehicle's steering wheel. A torque sensor is installed on the vehicle to measure the driver's hand torque corresponding to the vehicle's steering wheel. The torque sensor can measure the driver's hand torque corresponding to the vehicle's steering wheel. Electronic devices establish a communication connection with the torque sensor and can exchange information based on this established communication connection. The electronic devices can obtain the driver's hand torque corresponding to the vehicle's steering wheel measured by the torque sensor.
[0044] Optionally, the corrective torque corresponding to the vehicle's steering wheel is the torque applied to the vehicle's steering wheel by the lane keeping assist system. The electronic equipment can obtain the corrective torque corresponding to the vehicle's steering wheel from the lane keeping assist system.
[0045] Optionally, based on the vehicle's turn signal status, the vehicle's yaw angle, and the driver's hand torque and corrective torque corresponding to the vehicle's steering wheel, the detection of whether the vehicle's lane departure is unintentional or intentional includes: determining the vehicle's lane departure direction and acquiring the turn signal status corresponding to the lane departure direction; if the turn signal corresponding to the lane departure direction is off, acquiring the vehicle's yaw angle at each moment within the function's activation time interval; wherein, the start moment of the function's activation time interval is the activation of the lane keeping assist function. The start time is the current time, which is the end time of the function activation time interval. Based on the vehicle's yaw angle at each time point within the function activation time interval, the cumulative yaw angle of the vehicle is determined. It is then determined whether the cumulative yaw angle is greater than 0. If the cumulative yaw angle is greater than 0, the driver's hand torque and corrective torque corresponding to the vehicle's steering wheel are obtained, and it is determined whether the difference between the driver's hand torque and the corrective torque is less than 0. If the difference between the driver's hand torque and the corrective torque is less than 0, it is determined that the vehicle's deviation is due to the driver unintentionally deviating from the lane.
[0046] Optionally, after determining whether the cumulative yaw angle of the vehicle is greater than 0, the method further includes: if the cumulative yaw angle of the vehicle is less than 0, obtaining the driver's hand torque and the corrective torque corresponding to the steering wheel of the vehicle, and determining whether the difference between the driver's hand torque and the corrective torque is greater than 0; if the difference between the driver's hand torque and the corrective torque is greater than 0, determining that the deviation state of the vehicle is the driver actively deviating from the lane.
[0047] Optionally, determining the lane departure direction of the vehicle includes: if the first distance is less than or equal to the preset distance threshold, then determining the lane departure direction of the vehicle to the left; if the second distance is less than or equal to the preset distance threshold, then determining the lane departure direction of the vehicle to the right.
[0048] Optionally, the lane departure direction of a vehicle is the direction in which the vehicle deviates from its current lane. The lane departure direction can be either to the left or right of the vehicle. Generally, if the first distance between the vehicle and the left lane line of its current lane is less than or equal to a preset distance threshold, it indicates that the vehicle is approaching the left lane line of its current lane, meaning the vehicle is deviating from its current lane and the direction of deviation is to the left. If the first distance between the vehicle and the right lane line of its current lane is less than or equal to the preset distance threshold, it indicates that the vehicle is approaching the right lane line of its current lane, meaning the vehicle is deviating from its current lane and the direction of deviation is to the right. Therefore, if the first distance is less than or equal to the preset distance threshold, the lane departure direction of the vehicle can be determined to be to the left; if the second distance is less than or equal to the preset distance threshold, the lane departure direction of the vehicle can be determined to be to the right.
[0049] Optionally, the state of the turn signal corresponding to the lane departure direction is set to the state of the turn signal in the lane departure direction. If the lane departure direction is to the left of the vehicle, the state of the turn signal corresponding to the lane departure direction is the left turn signal. If the lane departure direction is to the right of the vehicle, the state of the turn signal corresponding to the lane departure direction is the right turn signal.
[0050] Optionally, obtaining the state of the turn signal corresponding to the lane departure direction includes: if the lane departure direction of the vehicle is to the left of the vehicle, obtaining the state of the left turn signal from the left turn signal; if the lane departure direction of the vehicle is to the right of the vehicle, obtaining the state of the right turn signal from the right turn signal.
[0051] Optionally, if the turn signal corresponding to the lane departure direction is off, it indicates that the turn signal status alone is insufficient to accurately detect whether the driver is unintentionally or intentionally deviating from the lane, and further detection is required.
[0052] Optionally, the function activation time interval is the time interval from the moment the lane keeping assist function is activated to the current moment. The start time of the function activation time interval is the moment the lane keeping assist function is activated, and the end time of the function activation time interval is the current moment. The moment the lane keeping assist function is activated is the moment when the lane keeping assist system last activated. The yaw angle of the vehicle is acquired at each moment within the function activation time interval, that is, the yaw angle of the vehicle measured by the yaw angle sensor at each moment within the time interval from the moment the lane keeping assist function is activated to the current moment. The electronic device can acquire the yaw angle of the vehicle at each moment within the function activation time interval from the yaw angle sensor.
[0053] Optionally, the cumulative yaw angle of the vehicle is the sum of the differences between the absolute values of the vehicle's yaw angle at each moment within the function's activation time interval and the absolute values of the vehicle's yaw angle at the moment preceding each moment.
[0054] Optionally, the cumulative yaw angle of the vehicle is determined based on the yaw angle of the vehicle at each moment within the function activation time interval, including: for each moment within the function activation time interval, calculating the difference between the absolute value of the vehicle's yaw angle at that moment and the absolute value of the vehicle's yaw angle at the previous moment, thereby obtaining the difference between the absolute value of the vehicle's yaw angle at each moment within the function activation time interval and the absolute value of the vehicle's yaw angle at the previous moment; summing the differences between the absolute values of the vehicle's yaw angle at each moment within the function activation time interval and the absolute value of the vehicle's yaw angle at the previous moment to obtain the cumulative yaw angle of the vehicle.
[0055] Optionally, for the activation time of the lane keeping assist function, the yaw angle of the vehicle at the moment before the activation time of the lane keeping assist function can be obtained from the yaw angle sensor, and then the difference between the absolute value of the yaw angle of the vehicle at the activation time of the lane keeping assist function and the absolute value of the yaw angle of the vehicle at the moment before the activation time of the lane keeping assist function can be calculated.
[0056] Optionally, obtaining the driver's hand torque and corrective torque corresponding to the vehicle's steering wheel includes: obtaining the driver's hand torque corresponding to the vehicle's steering wheel as measured most recently by the torque sensor from the torque sensor; and obtaining the corrective torque corresponding to the vehicle's steering wheel as applied most recently by the lane keeping assist system from the lane keeping assist system. Then, the difference between the driver's hand torque and the corrective torque is calculated.
[0057] Optionally, if the vehicle deviates from its lane, the cumulative yaw angle of the vehicle will be greater than 0 or less than 0, and the difference between the driver's hand torque and the corrective torque will be greater than 0 or less than 0.
[0058] Optionally, the vehicle's lane departure status is information set within the vehicle to indicate whether the driver's lane departure is unintentional or intentional. The vehicle's lane departure status can be either unintentional or intentional. An unintentional lane departure status indicates that the driver has unintentionally deviated from the lane. An intentional lane departure status indicates that the driver has intentionally deviated from the lane.
[0059] Optionally, under normal circumstances, when the driver unintentionally deviates from the lane, the vehicle continues to yaw, and the driver does not apply counteracting force. This results in a cumulative yaw angle greater than 0, and the difference between the driver's hand torque and the corrective torque is less than 0. Therefore, if the cumulative yaw angle is greater than 0, and the difference between the driver's hand torque and the corrective torque is less than 0, it indicates that the driver unintentionally deviated from the lane, and the vehicle's deviation state can be determined to be an unintentional lane departure by the driver.
[0060] Optionally, under normal circumstances, when the driver actively deviates from the lane, the vehicle tends to return to the center. The driver applies a counter-force to the lane, resulting in a cumulative yaw angle of less than 0, and the difference between the driver's hand torque and the corrective torque is greater than 0. Therefore, if the cumulative yaw angle of the vehicle is less than 0, and the difference between the driver's hand torque and the corrective torque is greater than 0, it indicates that the driver actively deviated from the lane, and the vehicle's deviation state can be determined as driver-initiated lane departure.
[0061] Optionally, after obtaining the state of the turn signal corresponding to the lane departure direction, the method further includes: if the state of the turn signal corresponding to the lane departure direction is on, then determining that the vehicle's departure state is a driver actively deviating from the lane. If the state of the turn signal corresponding to the lane departure direction is on, it indicates that the driver of the vehicle is actively deviating from the lane, and the vehicle's departure state can be directly determined to be a driver actively deviating from the lane.
[0062] Optionally, after detecting that the vehicle's lane departure is due to unintentional deviation by the driver, the detection process ends, which uses the vehicle's turn signal status, yaw angle, and the driver's hand torque and corrective torque corresponding to the steering wheel to determine whether the lane departure is unintentional or intentional. The system then continues to periodically detect lane departure based on the distance between the vehicle and the lane lines on either side of its lane. The lane keeping assist system remains active, providing safe driving protection for the driver.
[0063] Optionally, if the cumulative yaw angle of the vehicle is detected to be greater than 0, and the difference between the driver's hand torque and the corrective torque is greater than 0, and it cannot be determined whether the driver of the vehicle is unintentionally or actively deviating from the lane, then the vehicle's deviation status is further detected based on the status of the vehicle's turn signals, the vehicle's yaw angle, and the driver's hand torque and corrective torque corresponding to the vehicle's steering wheel, until the vehicle's deviation status is determined or it is detected that the vehicle has not deviated from its lane.
[0064] Optionally, if the cumulative yaw angle of the vehicle is detected to be less than 0, and the difference between the driver's hand torque and the corrective torque is less than 0, and it cannot be determined whether the driver of the vehicle is unintentionally deviating from the lane or actively deviating from the lane, then the vehicle's deviation state is further detected based on the status of the vehicle's turn signals, the vehicle's yaw angle, and the driver's hand torque and corrective torque corresponding to the vehicle's steering wheel, until the vehicle's deviation state is determined or it is detected that the vehicle has not deviated from its lane.
[0065] Step 103: After detecting that the vehicle's deviation is due to the driver actively deviating from the lane, control the lane keeping assist system to disable the lane keeping assist function.
[0066] Optionally, after detecting that the vehicle's deviation is due to the driver actively deviating from the lane, the lane keeping assist system is controlled to disable the lane keeping assist function, thereby avoiding interference with the driver's process of actively changing lanes.
[0067] Optionally, controlling the lane keeping assist system to disable the lane keeping assist function includes: sending a function disabling command to the lane keeping assist system. The function disabling command is an instruction to instruct the lane keeping assist system to disable the lane keeping assist function. Upon receiving the function disabling command, the lane keeping assist system will disable the lane keeping assist function.
[0068] Optionally, after the lane keeping assist system disables its lane keeping assist function, the method further includes: upon detecting a function activation request input by the driver, controlling the lane keeping assist system to activate its lane keeping assist function. The function activation request is a request to activate the lane keeping assist function of the lane keeping assist system. The driver can input the function activation request by clicking the button corresponding to the lane keeping assist function. The button corresponding to the lane keeping assist function is a button provided on the vehicle for inputting the function activation request.
[0069] Optionally, controlling the lane keeping assist system to activate the lane keeping assist function includes: sending a function activation command to the lane keeping assist system. The function activation command is an instruction to instruct the lane keeping assist system to activate the lane keeping assist function. Upon receiving the function activation command, the lane keeping assist system will activate the lane keeping assist function.
[0070] The technical solution of this invention, after the lane keeping assist system is activated, periodically detects whether the vehicle deviates from its lane based on the distance between the vehicle and the lane lines on both sides of the lane it is in. Upon detecting lane deviation, it determines whether the deviation is unintentional or intentional based on the vehicle's turn signal status, yaw angle, and the driver's hand torque and corrective torque corresponding to the steering wheel. If the deviation is intentional, the lane keeping assist system is deactivated, thus solving the control issues of related technologies in lane keeping assist systems. The current control scheme relies solely on turn signals to determine the driver's current state, which cannot accurately detect whether the driver is unintentionally or intentionally deviating from the lane. A better approach would be to accurately detect whether the vehicle's lane departure is unintentional or intentional, based on the turn signal status, yaw angle, and steering wheel torque. If the driver is detected as intentionally deviating, the lane keeping assist system would be deactivated. This prevents the lane keeping assist function from interfering with the driver's lane-changing process and improves the accuracy of the lane keeping assist system's control.
[0071] Example 2
[0072] Figure 2 This is a flowchart illustrating a control method for a lane keeping assist system according to Embodiment 2 of the present invention. Embodiments of the present invention can be combined with various optional solutions from one or more of the above embodiments. For example... Figure 2 As shown, the method includes:
[0073] Step 201: After the lane keeping assist function is activated, the system periodically detects whether the vehicle deviates from its lane based on the distance between the vehicle and the lane lines on both sides of the lane it is in.
[0074] Step 202: After detecting that the vehicle has deviated from its lane, determine the direction of lane deviation and obtain the status of the turn signal corresponding to the direction of lane deviation.
[0075] Step 203: If the turn signal corresponding to the lane deviation direction is in the off state, then obtain the yaw angle of the vehicle at each time point within the function activation time interval.
[0076] The start time of the function activation time interval is the activation time of the lane keeping assist function, and the end time of the function activation time interval is the current time.
[0077] Step 204: Determine the cumulative yaw angle of the vehicle based on the yaw angle of the vehicle at each time point within the function activation time interval.
[0078] Step 205: Determine whether the cumulative yaw angle of the vehicle is greater than 0.
[0079] Step 206: If the cumulative yaw angle of the vehicle is greater than 0, obtain the driver's hand torque and the corrective torque corresponding to the steering wheel of the vehicle, and determine whether the difference between the driver's hand torque and the corrective torque is less than 0.
[0080] Step 207: If the difference between the driver's hand torque and the corrective torque is less than 0, then it is determined that the vehicle's deviation state is due to the driver's unintentional deviation from the lane.
[0081] Optionally, after detecting that the vehicle's lane departure is due to unintentional deviation by the driver, the detection process ends, which uses the vehicle's turn signal status, yaw angle, and the driver's hand torque and corrective torque corresponding to the steering wheel to determine whether the lane departure is unintentional or intentional. The system then continues to periodically detect lane departure based on the distance between the vehicle and the lane lines on either side of its lane. The lane keeping assist system remains active, providing safe driving protection for the driver.
[0082] The technical solution of this invention can accurately detect whether the vehicle's deviation from its lane is unintentional or intentional, based on the vehicle's turn signal status, yaw angle, and steering wheel torque, thereby improving the accuracy of the lane keeping assist system's control process.
[0083] Example 3
[0084] Figure 3 This is a schematic diagram of the control device for a lane keeping assist system according to Embodiment 3 of the present invention. The device can be configured in an electronic device. Figure 3 As shown, the device includes: a lane detection module 301, a lane departure detection module 302, and a function shutdown module 303.
[0085] The lane detection module 301 is used to periodically detect whether the vehicle deviates from its lane after the lane keeping assist function is activated, based on the distance between the vehicle and the lane lines on both sides of the lane it is in. The deviation state detection module 302 is used to detect whether the deviation state of the vehicle is unintentional or active lane deviation by the driver after detecting that the vehicle has deviated from its lane, based on the status of the vehicle's turn signal, the vehicle's yaw angle, and the driver's hand torque and correction torque corresponding to the vehicle's steering wheel. The function deactivation module 303 is used to control the lane keeping assist system to deactivate the lane keeping assist function after detecting that the deviation state of the vehicle is active lane deviation by the driver.
[0086] The technical solution of this invention, after the lane keeping assist system is activated, periodically detects whether the vehicle deviates from its lane based on the distance between the vehicle and the lane lines on both sides of the lane it is in. Upon detecting lane deviation, it determines whether the deviation is unintentional or intentional based on the vehicle's turn signal status, yaw angle, and the driver's hand torque and corrective torque corresponding to the steering wheel. If the deviation is intentional, the lane keeping assist system is deactivated, thus solving the control issues of related technologies in lane keeping assist systems. The current control scheme relies solely on turn signals to determine the driver's current state, which cannot accurately detect whether the driver is unintentionally or intentionally deviating from the lane. A better approach would be to accurately detect whether the vehicle's lane departure is unintentional or intentional, based on the turn signal status, yaw angle, and steering wheel torque. If the driver is detected as intentionally deviating, the lane keeping assist system would be deactivated. This prevents the lane keeping assist function from interfering with the driver's lane-changing process and improves the accuracy of the lane keeping assist system's control.
[0087] In an optional embodiment of the present invention, the lane detection module 301, when performing the operation of periodically detecting whether a vehicle deviates from its lane based on the distance between the vehicle and the lane lines on both sides of the lane it is in, is specifically configured to: perform the following operations at preset time intervals: obtain a first distance between the vehicle and the left lane line of the lane it is in, and a second distance between the vehicle and the right lane line of the lane it is in; determine whether the first distance and the second distance are less than or equal to a preset distance threshold; if the first distance or the second distance is less than or equal to the preset distance threshold, determine that the vehicle has deviated from its lane; if both the first distance and the second distance are greater than the preset distance threshold, determine that the vehicle has not deviated from its lane.
[0088] In an optional embodiment of the present invention, optionally, when the lane departure detection module 302 performs the operation of detecting whether the vehicle's lane departure is unintentional or intentional, based on the state of the vehicle's turn signals, the vehicle's yaw angle, and the driver's hand torque and corrective torque corresponding to the vehicle's steering wheel, it is specifically configured to: determine the vehicle's lane departure direction and obtain the state of the turn signals corresponding to the lane departure direction; if the state of the turn signals corresponding to the lane departure direction is off, obtain the vehicle's yaw angle at each moment within the function's on time interval; wherein, when the function is on... The start time of the interval is the activation time of the lane keeping assist function, and the end time of the function activation time interval is the current time. Based on the yaw angle of the vehicle at each time within the function activation time interval, the cumulative yaw angle of the vehicle is determined. It is then determined whether the cumulative yaw angle of the vehicle is greater than 0. If the cumulative yaw angle of the vehicle is greater than 0, the driver's hand torque and the corrective torque corresponding to the vehicle's steering wheel are obtained, and it is determined whether the difference between the driver's hand torque and the corrective torque is less than 0. If the difference between the driver's hand torque and the corrective torque is less than 0, it is determined that the vehicle's deviation state is due to the driver's unintentional deviation from the lane.
[0089] In an optional embodiment of the present invention, the deviation state detection module 302 is optionally further configured to: if the cumulative yaw angle of the vehicle is less than 0, obtain the driver's hand torque and the corrective torque corresponding to the steering wheel of the vehicle, and determine whether the difference between the driver's hand torque and the corrective torque is greater than 0; if the difference between the driver's hand torque and the corrective torque is greater than 0, determine that the deviation state of the vehicle is that the driver actively deviates from the lane.
[0090] In an optional embodiment of the present invention, the lane departure detection module 302, when performing the operation of determining the lane departure direction of the vehicle, is specifically configured to: if the first distance is less than or equal to the preset distance threshold, determine that the lane departure direction of the vehicle is to the left of the vehicle; if the second distance is less than or equal to the preset distance threshold, determine that the lane departure direction of the vehicle is to the right of the vehicle.
[0091] In an optional embodiment of the present invention, the deviation state detection module 302 is optionally further configured to: if the state of the turn signal corresponding to the lane deviation direction is on, determine that the deviation state of the vehicle is the driver actively deviating from the lane.
[0092] In an optional embodiment of the present invention, when the function deactivation module 303 performs the operation of controlling the lane keeping assist system to deactivate the lane keeping assist function, it is specifically used to: send a function deactivation command to the lane keeping assist system.
[0093] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.
[0094] The control device of the lane keeping assist system described above can execute the control method of the lane keeping assist system provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of executing the control method of the lane keeping assist system.
[0095] Example 4
[0096] Figure 4 A schematic diagram of an electronic device 10 is shown, which can be used to implement the control method of the lane keeping assist system according to embodiments of the present invention. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the invention described and / or claimed herein.
[0097] like Figure 4As shown, the electronic device 10 includes at least one processor 11 and a memory, such as a read-only memory (ROM) 12 or a random access memory (RAM) 13, communicatively connected to the at least one processor 11. The memory stores computer programs executable by the at least one processor. The processor 11 can perform various appropriate actions and processes based on the computer program stored in the ROM 12 or a computer program constructed from storage unit 18 into the RAM 13. The RAM 13 can also store various programs and data required for the operation of the electronic device 10. The processor 11, ROM 12, and RAM 13 are interconnected via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0098] Multiple components in electronic device 10 are connected to I / O interface 15, including: input unit 16, such as keyboard, mouse, etc.; output unit 17, such as various types of displays, speakers, etc.; storage unit 18, such as disk, optical disk, etc.; and communication unit 19, such as network card, modem, wireless transceiver, etc. Communication unit 19 allows electronic device 10 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.
[0099] Processor 11 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. Processor 11 performs the various methods and processes described above, such as the control methods of a lane keeping assist system.
[0100] In some embodiments, the control method of the lane keeping assist system may be implemented as a computer program tangibly contained in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on electronic device 10 via ROM 12 and / or communication unit 19. When the computer program is built into RAM 13 and executed by processor 11, one or more steps of the control method of the lane keeping assist system described above may be performed. Alternatively, in other embodiments, processor 11 may be configured to perform the control method of the lane keeping assist system by any other suitable means (e.g., by means of firmware).
[0101] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.
[0102] Computer programs for implementing the control method of the lane keeping assist system of the present invention can be written in any combination of one or more programming languages. These computer programs can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when executed by the processor, the computer programs cause the functions / operations specified in the flowcharts and / or block diagrams to be implemented. The computer programs can be executed entirely on a machine, partially on a machine, as a standalone software package partially on a machine and partially on a remote machine, or entirely on a remote machine or server.
[0103] In the context of this invention, a computer-readable storage medium can be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable storage medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination thereof. Alternatively, a computer-readable storage medium can be a machine-readable signal medium. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.
[0104] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device for displaying information to the user (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor); and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).
[0105] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or computing systems that include middleware components (e.g., application servers), or computing systems that include frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.
[0106] A computing system can include clients and servers. Clients and servers are generally located far apart and typically interact through communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a hosting product within the cloud computing service system to address the shortcomings of traditional physical hosts and VPS services, such as high management difficulty and weak business scalability.
[0107] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps described in this invention can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this invention can be achieved, and this is not limited herein.
[0108] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.
Claims
1. A control method for a lane keeping assist system, characterized in that, include: After the lane keeping assist function is activated, the system periodically detects whether the vehicle deviates from its lane based on the distance between the vehicle and the lane lines on both sides of the lane it is in. After detecting that the vehicle has deviated from its lane, the system determines whether the deviance is unintentional or intentional, based on the vehicle's turn signal status, yaw angle, and the driver's hand torque and corrective torque corresponding to the steering wheel. Specifically, the system determines the direction of lane deviation and acquires the corresponding turn signal status. If the turn signal is off, the system acquires the vehicle's yaw angle at various times within the function's active time interval. The start time of the active time interval is the lane keeping... The moment the assist function is activated is defined as the end of the function activation time interval, which is the current moment. Based on the vehicle's yaw angle at each moment within the function activation time interval, the cumulative yaw angle of the vehicle is determined. It is then determined whether the cumulative yaw angle is greater than 0. If the cumulative yaw angle is greater than 0, the driver's hand torque and corrective torque corresponding to the vehicle's steering wheel are obtained, and it is determined whether the difference between the driver's hand torque and the corrective torque is less than 0. If the difference between the driver's hand torque and the corrective torque is less than 0, it is determined that the vehicle's deviation is due to the driver unintentionally deviating from the lane. After detecting that the vehicle's deviation is due to the driver actively deviating from the lane, the lane keeping assist system is controlled to deactivate the lane keeping assist function.
2. The control method for the lane keeping assist system according to claim 1, characterized in that, Periodically detect whether a vehicle deviates from its lane based on the distance between the vehicle and the lane lines on both sides of the lane it is in, including: Perform the following operations at preset time intervals: Obtain a first distance between the vehicle and the left lane line of the lane in which the vehicle is located, and a second distance between the vehicle and the right lane line of the lane in which the vehicle is located; Determine whether the first distance and the second distance are less than or equal to a preset distance threshold; If the first distance or the second distance is less than or equal to the preset distance threshold, then it is determined that the vehicle has deviated from the lane in which the vehicle is located; If both the first distance and the second distance are greater than the preset distance threshold, then it is determined that the vehicle has not deviated from the lane in which it is located.
3. The control method for the lane keeping assist system according to claim 2, characterized in that, After determining whether the cumulative yaw angle of the vehicle is greater than 0, the process also includes: If the cumulative yaw angle of the vehicle is less than 0, then obtain the driver's hand torque and the corrective torque corresponding to the steering wheel of the vehicle, and determine whether the difference between the driver's hand torque and the corrective torque is greater than 0. If the difference between the driver's hand torque and the corrective torque is greater than 0, then the vehicle's deviation state is determined to be the driver actively deviating from the lane.
4. The control method for the lane keeping assist system according to claim 2, characterized in that, Determining the direction of lane departure of the vehicle includes: If the first distance is less than or equal to the preset distance threshold, then the lane departure direction of the vehicle is determined to be the left side of the vehicle; If the second distance is less than or equal to the preset distance threshold, then the lane departure direction of the vehicle is determined to be the right side of the vehicle.
5. The control method for the lane keeping assist system according to claim 2, characterized in that, After obtaining the status of the turn signal corresponding to the lane departure direction, the method further includes: If the turn signal corresponding to the direction of lane departure is on, then the vehicle's departure is determined to be an active lane departure by the driver.
6. The control method for the lane keeping assist system according to claim 1, characterized in that, Controlling the lane keeping assist system to disable lane keeping assist function includes: Send a command to disable the function to the lane keeping assist system.
7. A control device for a lane keeping assist system, characterized in that, include: The lane detection module is used to periodically detect whether the vehicle deviates from its lane after the lane keeping assist function is activated, based on the distance between the vehicle and the lane lines on both sides of the lane in which the vehicle is located. The lane departure detection module is used to, after detecting that the vehicle has deviated from its lane, determine whether the lane departure is unintentional or intentional, based on the vehicle's turn signal status, yaw angle, and the driver's hand torque and corrective torque corresponding to the steering wheel. Specifically, it determines the direction of lane departure and acquires the status of the turn signal corresponding to that direction. If the turn signal is off, it acquires the vehicle's yaw angle at various times within the function's active time interval. The start of the active time interval... The current time is the moment when the lane keeping assist function is activated, and the end time of the function activation time interval is the current time. Based on the vehicle's yaw angle at each moment within the function activation time interval, the cumulative yaw angle of the vehicle is determined. It is then determined whether the cumulative yaw angle is greater than 0. If the cumulative yaw angle is greater than 0, the driver's hand torque and corrective torque corresponding to the vehicle's steering wheel are obtained, and it is determined whether the difference between the driver's hand torque and the corrective torque is less than 0. If the difference between the driver's hand torque and the corrective torque is less than 0, it is determined that the vehicle's deviation is due to the driver's unintentional lane departure. The function deactivation module is used to control the lane keeping assist system to deactivate the lane keeping assist function after detecting that the vehicle's deviation state is due to the driver actively deviating from the lane.
8. An electronic device, characterized in that, The electronic device includes: At least one processor; and a memory that is in communication with the at least one processor network; The memory stores a computer program that can be executed by the at least one processor, which is then executed by the at least one processor to enable the at least one processor to perform the control method of the lane keeping assist system according to any one of claims 1-6.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that, when executed by a processor, implement the control method of the lane keeping assist system according to any one of claims 1-6.
Citation Information
Patent Citations
Automobile steering wheel aligning compensation method and device
CN106347450A
Lane keeping system and lane keeping control method
CN108466617A
