A lane departure warning method, device, equipment and medium
By using fuzzy control to determine the degree of lane departure danger, this method solves the problem of high complexity in existing lane departure warning algorithms, achieving efficient lane departure warning and making it suitable for lane keeping assist systems in intelligent driving vehicles.
Patent Information
- Application Number
- CN202311101055.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-29
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2043-08-29
AI Technical Summary
Existing lane departure warning algorithms are too complex to distinguish different vehicle operating conditions, resulting in low warning efficiency and difficulty in reducing algorithm complexity while ensuring accuracy.
The fuzzy control method determines the current and predicted crossing distances of the target vehicle, judges the degree of lane departure danger based on preset fuzzy rules, and then determines the lane departure warning status without distinguishing between different operating conditions.
While ensuring the accuracy of the warning, the algorithm complexity was reduced, the warning efficiency was improved, and a more refined and intelligent lane departure warning was achieved.
Smart Images

Figure CN117104258B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of vehicle control, in particular to a lane departure warning method, device, equipment and medium. BACKGROUND
[0002] With the continuous development of intelligent driving vehicles, more and more vehicles are equipped with lane keeping assistance systems. When detecting that the vehicle deviates from the original lane, the system can issue a warning prompt and actively control the vehicle to return to the lane, thereby reducing the occurrence of traffic accidents. Therefore, a reasonable lane departure warning algorithm is of great significance to the lane keeping assistance system.
[0003] In related solutions, a cross-line time algorithm is used for lane departure warning. The algorithm calculates the time when the wheels of the ego vehicle touch the outer boundary of the lane line under the current driving state, and determines whether to issue a warning or a correction signal based on the calculated time.
[0004] However, the above solution needs to distinguish different vehicle operating conditions and take corresponding measures for different conditions. Specifically, straight and curved road segments and straight and curved driving trajectories need to be considered, and there are four algorithm models respectively combined with the former two and the latter two, each of which is different, so the algorithm is relatively complex and cumbersome, resulting in low warning efficiency. SUMMARY
[0005] The present application provides a lane departure warning method, device, equipment and medium, which performs lane departure warning on vehicles based on fuzzy control method, without distinguishing different conditions, can reduce the complexity of the warning algorithm while ensuring the accuracy of the warning, thereby improving the warning efficiency.
[0006] According to an aspect of the present application, a lane departure warning method is provided, the method comprising:
[0007] determining a current cross-line distance of a target vehicle at a current vehicle position, and determining a predicted cross-line distance of the target vehicle at a predicted vehicle position; wherein the cross-line distance represents the distance between the reference front wheel of the target vehicle and the reference lane line, the reference lane line is the lane line on the same side of the reference front wheel in the lane line where the target vehicle is located, and the predicted vehicle position is the vehicle position predicted when the target vehicle travels according to the current operating state;
[0008] determining the lane departure danger degree of the target vehicle according to a preset fuzzy rule based on the current cross-line distance and the predicted cross-line distance; wherein the preset fuzzy rule is determined based on the change trend of the current cross-line distance and the predicted cross-line distance;
[0009] The lane departure warning status of the target vehicle is determined based on the degree of lane departure danger.
[0010] According to another aspect of the present invention, a lane departure warning device is provided, comprising:
[0011] The lane crossing distance determination module is used to determine the current lane crossing distance of the target vehicle at its current vehicle position, and to determine the predicted lane crossing distance of the target vehicle at its predicted vehicle position; wherein, the lane crossing distance is used to characterize the distance between the reference front wheel of the target vehicle and the reference lane line, the reference lane line is the lane line in which the target vehicle is located on the same side as the reference front wheel, and the predicted vehicle position is the vehicle position predicted when the target vehicle is traveling according to its current operating state.
[0012] The lane departure hazard determination module is used to determine the lane departure hazard level of the target vehicle based on the current crossing distance and the predicted crossing distance, according to a preset fuzzy rule; wherein the preset fuzzy rule is determined based on the changing trends of the current crossing distance and the predicted crossing distance.
[0013] The warning status determination module is used to determine the lane departure warning status of the target vehicle based on the lane departure hazard level.
[0014] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:
[0015] At least one processor; and
[0016] A memory communicatively connected to the at least one processor; wherein,
[0017] The memory stores a computer program that can be executed by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the lane departure warning method according to any embodiment of the present invention.
[0018] 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 lane departure warning method according to any embodiment of the present invention.
[0019] The technical solution of this invention determines the current lane departure distance of a target vehicle at its current position and the predicted lane departure distance of the target vehicle at its predicted position. The lane departure distance characterizes the distance between the reference front wheel of the target vehicle and the reference lane line. The reference lane line is the lane line located on the same side as the reference front wheel within the lane where the target vehicle is located. The predicted vehicle position is the predicted position of the target vehicle when it is traveling in its current operating state. Based on the current lane departure distance and the predicted lane departure distance, the lane departure hazard level of the target vehicle is determined according to a preset fuzzy rule. The preset fuzzy rule is determined based on the changing trends of the current lane departure distance and the predicted lane departure distance. The lane departure warning state of the target vehicle is determined based on the lane departure hazard level. This technical solution provides lane departure warning for vehicles based on fuzzy control, eliminating the need to distinguish between different operating conditions. It can reduce the complexity of the warning algorithm while ensuring warning accuracy, thereby improving warning efficiency.
[0020] 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
[0021] 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.
[0022] Figure 1 This is a flowchart of a lane departure warning method provided in Embodiment 1 of the present invention;
[0023] Figure 2 This is a schematic diagram of a vehicle crossing distance according to Embodiment 1 of the present invention;
[0024] Figure 3 This is a flowchart of a lane departure warning method provided in Embodiment 2 of the present invention;
[0025] Figure 4 This is a schematic diagram of the structure of a lane departure warning device according to Embodiment 3 of the present invention;
[0026] Figure 5 This is a schematic diagram of the structure of an electronic device that implements a lane departure warning method according to an embodiment of the present invention. Detailed Implementation
[0027] 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.
[0028] It should be noted that the terms "first," "second," "target," etc., used 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" 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.
[0029] Example 1
[0030] Figure 1 This is a flowchart of a lane departure warning method provided in Embodiment 1 of the present invention. This embodiment is applicable to situations requiring rapid and accurate warnings for vehicles in a lane departure state. The method can be executed by a lane departure warning device, which can be implemented in hardware and / or software and can be configured in an electronic device with data processing capabilities. Figure 1 As shown, the method includes:
[0031] S110, determine the current crossing distance of the target vehicle at the current vehicle position, and determine the predicted crossing distance of the target vehicle at the predicted vehicle position.
[0032] The lane crossing distance characterizes the distance between the reference front wheel of the target vehicle and the reference lane line. The reference lane line is the lane line on the same side as the reference front wheel within the lane line where the target vehicle is located. For example, when determining whether the target vehicle has a tendency to deviate to the left, the left front wheel can be selected as the reference front wheel, and the reference lane line is the left lane within the lane line where the target vehicle is located; when determining whether the target vehicle has a tendency to deviate to the right, the right front wheel can be selected as the reference front wheel, and the reference lane line is the right lane within the lane line where the target vehicle is located. It should be noted that the lane crossing distance can be a vertical distance or a distance in a preset direction, as long as it can characterize the distance between the reference front wheel of the target vehicle and the reference lane line. The specific value can be set according to actual needs.
[0033] The predicted vehicle position is the position predicted when the target vehicle is traveling according to its current operating state. Specifically, the predicted vehicle position can be the position the target vehicle will reach after traveling for a preset time according to its current operating state. The preset time can be determined based on the target vehicle's current operating speed. If the current operating speed is low, the preset time can be set to a larger value to avoid wasting detection resources; if the current operating speed is high, the preset time can be set to a smaller value to avoid inaccurate detection.
[0034] In this embodiment, the current lane crossing distance of the target vehicle at its current position is first determined, and the predicted lane crossing distance of the target vehicle at its predicted position is also determined. Optionally, determining the current lane crossing distance of the target vehicle at its current position includes: acquiring the current reference lane line information and the current vehicle position information of the target vehicle; determining the current wheel position information of the reference front wheel of the target vehicle based on the current vehicle position information; and determining the current lane crossing distance of the target vehicle at its current position based on the current wheel position information and the current reference lane line information.
[0035] The current vehicle position information refers to the position of the target vehicle at the current moment. The current reference lane line information refers to the reference lane line information corresponding to the current vehicle position information. For example, the current reference lane line information may include the lane line length, lane line type (dot or line, etc.), and lane line shape (straight line or curve) within the detection range. The current wheel position information can be used to characterize the position information of the reference front wheel corresponding to the current vehicle position.
[0036] In this embodiment, when determining the current lane crossing distance of the target vehicle at its current position, the current reference lane line information and the current vehicle position information of the target vehicle are first obtained. The current reference lane line information can be determined by a visual sensor (such as a camera) on the target vehicle. Specifically, multiple lane line information can be obtained through the visual sensor, and the two lane lines closest to the target vehicle (left and right) are taken as the lane lines where the target vehicle is located, thereby determining the current reference lane line information of the target vehicle. The current vehicle position information can be determined by a position sensor on the target vehicle. Specifically, a reference point (such as the center of the front bumper of the target vehicle) can be selected on the target vehicle to represent it, and the current vehicle position information of the target vehicle can be determined by locating the reference point.
[0037] Furthermore, the current reference lane information can be represented by the lane line equation. Specifically, first, a vehicle coordinate system is established with the center of the vehicle's front bumper as the origin. This vehicle coordinate system has the target vehicle's frontal orientation as the vertical axis and a direction parallel to the ground and perpendicular to the vehicle's frontal orientation as the horizontal axis. In the vehicle coordinate system, the lane line equation is assumed to be expressed as y = C0 + C1x + C2x. 2 +C3x 3 Where C0, C1, C2, and C3 are coefficients. The values of each coefficient can be determined by the current reference lane line information detected by the visual sensor, thereby obtaining the functional expression corresponding to the lane line equation, which reflects the current reference lane line information.
[0038] Figure 2 This is a schematic diagram illustrating a vehicle crossing distance according to Embodiment 1 of the present invention. Wherein, xO1y represents the vehicle coordinate system, and DLC and PDLC represent the current crossing distance and the predicted crossing distance, respectively. Figure 2 As shown, taking the detection of whether a vehicle is deviating to the left as an example, the cross-line distance here refers to the distance between the left front wheel of the vehicle and the left lane line where the vehicle is located along the y-axis, that is, DLC=AM, PDLC=BN.
[0039] After obtaining the current reference lane line information and the current vehicle position information of the target vehicle, the current wheel position information of the reference front wheel in the target vehicle can be determined based on the current vehicle position information. It can be understood that, as a rigid body, the relative positional relationships of the various components of the vehicle are fixed. Therefore, when locating the current vehicle position information of the target vehicle through a reference point, the current wheel position information can be determined based on the relative positional relationship between the reference point and the reference front wheel. For example, assuming the reference point is the center of the front bumper of the target vehicle, the width of the target vehicle is w, and the reference front wheel is the left front wheel, the current wheel position information can be determined as a position w / 2 away to the left of the center of the front bumper.
[0040] After determining the current wheel position information of the reference front wheel, the current lane crossing distance of the target vehicle at its current position can be determined based on the current wheel position information and the current reference lane line information. For example, based on the lane line equation representing the current reference lane line information, if the crossing distance is a vertical distance, the current lane crossing distance of the target vehicle at its current position can be determined using the formula for the distance from a point to a line (or curve); if the crossing distance is a distance along the horizontal axis of the vehicle coordinate system, C0 in the lane line equation can be directly determined as the current lane crossing distance of the target vehicle at its current position.
[0041] In this embodiment, optionally, determining the predicted crossing distance of the target vehicle at the predicted vehicle position includes: acquiring the target vehicle's current reference lane line information, current vehicle position information, and current operating status information; determining the target vehicle's predicted vehicle position information based on the current operating status information and current vehicle position information; determining the predicted wheel position information of the reference front wheel in the target vehicle based on the predicted vehicle position information; and determining the predicted crossing distance of the target vehicle at the predicted vehicle position based on the predicted wheel position information and the current reference lane line information.
[0042] The current operating status information can be used to characterize the operating status of the target vehicle at the current moment. For example, the current operating status information may include the current vehicle speed, current acceleration, and current yaw rate. The predicted vehicle position information can be used to characterize the predicted vehicle position. The predicted wheel position information can be used to characterize the position information of the reference front wheel corresponding to the predicted vehicle position.
[0043] In this embodiment, when determining the predicted lane crossing distance of the target vehicle at the predicted vehicle position, the current reference lane information, current vehicle position information, and current operating status information of the target vehicle are first obtained. The current operating status information can be determined using motion sensors (such as speed sensors, acceleration sensors, etc.) on the target vehicle.
[0044] Then, based on the current operating status information and the current vehicle position information, the predicted vehicle position information of the target vehicle can be determined. Optionally, the target vehicle will arrive at the predicted vehicle position after a preset time period from its current position. The current operating status information includes the current vehicle speed and the current yaw rate. Accordingly, based on the current operating status information and the current vehicle position information, the predicted vehicle position information of the target vehicle is determined, including: determining the predicted travel distance of the target vehicle based on the current vehicle speed and the preset time period; determining the predicted turning angle of the target vehicle based on the current yaw rate and the preset time period; wherein, the predicted turning angle refers to the rotation angle of the target vehicle from its current position to the predicted vehicle position; and determining the predicted vehicle position information of the target vehicle based on the current vehicle position information, the predicted travel distance, and the predicted turning angle.
[0045] In this embodiment, when determining the predicted vehicle position information of the target vehicle, the predicted travel distance of the target vehicle is first determined based on the current vehicle speed and a preset time duration. For example, the lateral and longitudinal speeds of the target vehicle are first determined based on the current vehicle speed. Then, the lateral travel distance is determined based on the product of the lateral speed and the preset time duration, and the longitudinal travel distance is determined based on the product of the longitudinal speed and the preset time duration. After determining the predicted travel distance of the target vehicle, the predicted turning angle of the target vehicle can be determined based on the product of the current yaw rate and the preset time duration. Therefore, the predicted vehicle position information of the target vehicle can be determined based on the current vehicle position information, the predicted travel distance, and the predicted turning angle. For example, the predicted vehicle position information can be determined using a position prediction formula, which is expressed as follows:
[0046]
[0047] Where (x′,y′) represents the predicted vehicle position information, (x,y) represents the current vehicle position information, Δy represents the lateral movement distance, and Δx represents the longitudinal movement distance. This indicates the predicted turning angle.
[0048] After determining the predicted vehicle position information of the target vehicle, the predicted wheel position information of the reference front wheel of the target vehicle can be further determined based on the predicted vehicle position information. Then, based on the predicted wheel position information and the current reference lane line information, the predicted lane crossing distance of the target vehicle at the predicted vehicle position can be determined. The methods for determining the predicted wheel position information and the predicted lane crossing distance can be found in the process of determining the current wheel position information and the current lane crossing distance described above, and will not be repeated here.
[0049] S120 determines the lane departure hazard level of the target vehicle based on the current and predicted crossing distances and according to preset fuzzy rules.
[0050] The preset fuzzy rules are determined based on the changing trends of the current and predicted crossing distances. For example, the preset fuzzy rules are shown in Table 1:
[0051] Table 1 Preset Fuzzy Rules
[0052]
[0053] In this system, DLC and PDLC represent the current crossing distance and the predicted crossing distance, respectively, while GHS represents the lane departure hazard level. DLC and PDLC are input parameters for fuzzy control, and GHS is the output parameter. Specifically, a first fuzzy set is pre-defined for the current crossing distance, a second fuzzy set is pre-defined for the predicted crossing distance, and a third fuzzy set is pre-defined for the lane departure hazard level. Pre-set fuzzy rules are then set based on these three pre-defined fuzzy sets. The first and second fuzzy sets are both {far, relatively far, relatively near, near}, corresponding to the fuzzy languages {NL, ML, MS, NS}; the third fuzzy set is {Level 2 Safety, Level 1 Safety, Level 1 Hazard, Level 2 Hazard}, corresponding to the fuzzy languages {MS, LS, LH, MH}. It should be noted that the pre-set fuzzy rules in Table 1 are only examples and are not limited in this embodiment. Specific rules can be flexibly set according to the actual application scenario.
[0054] For example, the preset fuzzy rules can be described using IF-THEN rules. For instance, if DLC is NL and PDLC is NL then GHS is MS, it means that when the current crossing distance is far and the predicted crossing distance is also far, the corresponding lane departure hazard level is level two safety. At this time, the target vehicle does not have a tendency to deviate to the left, so the safety level of the left side of the vehicle is higher.
[0055] In this embodiment, after determining the current crossing distance and the predicted crossing distance, the lane departure hazard level of the target vehicle can be determined based on the current crossing distance and the predicted crossing distance according to a preset fuzzy rule. Optionally, determining the lane departure hazard level of the target vehicle based on the current crossing distance and the predicted crossing distance according to a preset fuzzy rule includes: fuzzifying the current crossing distance based on a first domain of discourse to obtain first parameter information; wherein the first domain of discourse is the domain of discourse associated with the current crossing distance; fuzzifying the predicted crossing distance based on a second domain of discourse to obtain second parameter information; wherein the second domain of discourse is the domain of discourse associated with the predicted crossing distance; performing fuzzy reasoning on the first parameter information and the second parameter information according to the preset fuzzy rule to obtain third parameter information; wherein the third parameter information is used to describe the lane departure hazard level of the target vehicle; defuzzifying the third parameter information based on the third domain of discourse to obtain fourth parameter information; wherein the third domain of discourse is the domain of discourse associated with the lane departure hazard level; and determining the lane departure hazard level of the target vehicle based on the fourth parameter information.
[0056] In this embodiment, when determining the lane departure hazard level of a target vehicle according to preset fuzzy rules, the current crossing distance is first fuzzified based on a first domain to obtain first parameter information (corresponding to DLC in Table 1). For example, the first domain is [0, 1.5]. Then, the predicted crossing distance is fuzzified based on a second domain to obtain second parameter information (corresponding to PDLC in Table 1). For example, the second domain is also [0, 1.5]. Then, the first and second parameter information are used as input parameters for fuzzy control, and fuzzy inference is performed on the first and second parameter information according to preset fuzzy rules to obtain third parameter information (corresponding to GHS in Table 1). For example, the Manadani minimax method can be used for fuzzy inference. Then, the third parameter information is defuzzified based on the third domain to obtain fourth parameter information (i.e., the third parameter information is converted into numbers in the third domain). For example, the third domain is [0, 1], and the centroid method can be used for defuzzification. Finally, the lane departure hazard level of the target vehicle is determined based on the fourth parameter information. For example, the fourth parameter information can be directly used as the lane departure hazard level of the target vehicle. It should be noted that in fuzzy control, both input and output variables use triangular membership functions.
[0057] S130 determines the lane departure warning status of the target vehicle based on the degree of lane departure danger.
[0058] The lane departure warning status can be either on or off. The on status can be further divided into a first on status (corresponding to level one danger) and a second on status (corresponding to level two danger), which can be set according to actual needs.
[0059] In this embodiment, after determining the degree of lane departure hazard, the lane departure warning status of the target vehicle can be determined based on the degree of lane departure hazard. Optionally, determining the lane departure warning status of the target vehicle based on the degree of lane departure hazard includes: determining whether the degree of lane departure hazard is greater than a preset warning threshold, where the preset warning threshold is a reference value for the degree of lane departure hazard that triggers the lane departure warning; if so, determining that the lane departure warning status of the target vehicle is in the enabled state; otherwise, determining that the lane departure warning status of the target vehicle is in the disabled state.
[0060] In this embodiment, after obtaining the lane departure hazard level, it can be compared with a preset warning threshold, and the lane departure warning status of the target vehicle can be determined based on the comparison result. Specifically, if the lane departure hazard level is greater than the preset warning threshold, it indicates that the lane departure is serious, and the lane departure warning status of the target vehicle needs to be set to the on state; conversely, if the lane departure hazard level is less than or equal to the preset warning threshold, it indicates that the lane departure is not serious and will not cause the target vehicle to deviate into other lanes. In this case, no intervention is required, and the lane departure warning status of the target vehicle can be directly set to the off state until the next detection time, at which point the above process of determining the crossing distance (including the current crossing distance and the predicted crossing distance), the lane departure hazard level, and the lane departure warning status is repeated.
[0061] The technical solution of this invention determines the current lane departure distance of a target vehicle at its current position and the predicted lane departure distance of the target vehicle at its predicted position. The lane departure distance characterizes the distance between the reference front wheel of the target vehicle and the reference lane line. The reference lane line is the lane line located on the same side as the reference front wheel within the lane where the target vehicle is located. The predicted vehicle position is the predicted position of the target vehicle when it is traveling in its current operating state. Based on the current lane departure distance and the predicted lane departure distance, the lane departure hazard level of the target vehicle is determined according to a preset fuzzy rule. The preset fuzzy rule is determined based on the changing trends of the current lane departure distance and the predicted lane departure distance. The lane departure warning state of the target vehicle is determined based on the lane departure hazard level. This technical solution provides lane departure warning for vehicles based on fuzzy control, eliminating the need to distinguish between different operating conditions. It can reduce the complexity of the warning algorithm while ensuring warning accuracy, thereby improving warning efficiency.
[0062] In this embodiment, optionally, determining the lane departure warning status of the target vehicle based on the lane departure hazard level includes: if the lane departure hazard level is greater than a first warning threshold, determining the lane departure warning status of the target vehicle to be activated as a Level 1 warning status; if the lane departure hazard level is greater than a second warning threshold and less than or equal to the first warning threshold, determining the lane departure warning status of the target vehicle to be activated as a Level 2 warning status; wherein, the second warning threshold is less than the first warning threshold.
[0063] In this embodiment, when determining the lane departure warning status of a target vehicle, different warning thresholds can be preset to apply different levels of warning status for different levels of lane departure hazard. Specifically, firstly, it is determined whether the lane departure hazard is greater than a first warning threshold. If so, it indicates that the target vehicle's deviation is very serious, and the lane departure warning status of the target vehicle is set to Level 1 (higher level). Otherwise, it is further determined whether the lane departure hazard is between the first and second warning thresholds. The second warning threshold is less than the first warning threshold. If the lane departure hazard is greater than the second warning threshold and less than or equal to the first warning threshold, it indicates that the target vehicle's deviation is moderately serious, and the lane departure warning status of the target vehicle can be set to Level 2. Otherwise, it indicates that the target vehicle's deviation is not serious, and the lane departure warning status of the target vehicle can be set to off.
[0064] This solution, through this setting, can adopt different levels of warning status for different levels of lane departure risk, making lane departure warning more precise and intelligent.
[0065] Example 2
[0066] Figure 3 This is a flowchart of a lane departure warning method provided in Embodiment 2 of the present invention. This embodiment is an optimization based on the above embodiment.
[0067] like Figure 3 As shown, the method in this embodiment specifically includes the following steps:
[0068] S210, obtain the target vehicle's current reference lane information and current vehicle position information.
[0069] The reference lane line is the lane line located on the same side as the reference front wheel within the lane line where the target vehicle is located.
[0070] S220, based on the current vehicle position information, determine the current wheel position information of the reference front wheel in the target vehicle.
[0071] S230: Based on the current wheel position information and the current reference lane line information, determine the current lane crossing distance of the target vehicle at its current position.
[0072] The cross-line distance is used to characterize the distance between the reference front wheel of the target vehicle and the reference lane line.
[0073] S240: Obtain the current operating status information of the target vehicle, and determine the predicted vehicle position information of the target vehicle based on the current operating status information and the current vehicle position information.
[0074] The predicted vehicle position is the predicted vehicle position when the target vehicle is traveling in its current operating state.
[0075] S250 determines the predicted wheel position information of the reference front wheel in the target vehicle based on the predicted vehicle position information.
[0076] S260 determines the predicted lane crossing distance of the target vehicle at the predicted vehicle position based on the predicted wheel position information and the current reference lane line information.
[0077] S270 determines the lane departure hazard level of the target vehicle based on the current and predicted crossing distances and according to preset fuzzy rules.
[0078] Among them, the preset fuzzy rules are determined based on the changing trends of the current crossing distance and the predicted crossing distance.
[0079] S280 determines the lane departure warning status of the target vehicle based on the degree of lane departure danger.
[0080] In this embodiment, the current crossing distance and the predicted crossing distance are used as input parameters. The vehicle is given lane departure warning based on fuzzy control. There is no need to distinguish between different operating conditions. This can reduce the complexity of the warning algorithm while ensuring the accuracy of the warning, thereby improving the warning efficiency.
[0081] Example 3
[0082] Figure 4 This is a schematic diagram of a lane departure warning device provided in Embodiment 3 of the present invention. This device can execute the lane departure warning method provided in any embodiment of the present invention, and possesses the corresponding functional modules and beneficial effects of the method. For example... Figure 4 As shown, the device includes:
[0083] The lane crossing distance determination module 310 is used to determine the current lane crossing distance of the target vehicle at its current vehicle position, and to determine the predicted lane crossing distance of the target vehicle at its predicted vehicle position; wherein, the lane crossing distance is used to characterize the distance between the reference front wheel of the target vehicle and the reference lane line, the reference lane line is the lane line located on the same side as the reference front wheel in the lane line where the target vehicle is located, and the predicted vehicle position is the vehicle position predicted when the target vehicle is traveling according to its current operating state.
[0084] The lane departure hazard determination module 320 is used to determine the lane departure hazard level of the target vehicle based on the current crossing distance and the predicted crossing distance, according to a preset fuzzy rule; wherein the preset fuzzy rule is determined based on the changing trend of the current crossing distance and the predicted crossing distance.
[0085] The warning status determination module 330 is used to determine the lane departure warning status of the target vehicle based on the lane departure hazard level.
[0086] Optionally, the cross-line distance determination module 310 is used for:
[0087] Obtain the target vehicle's current reference lane information and current vehicle position information;
[0088] Based on the current vehicle position information, determine the current wheel position information of the reference front wheel in the target vehicle;
[0089] Based on the current wheel position information and the current reference lane line information, the current lane crossing distance of the target vehicle at its current position is determined.
[0090] Optionally, the cross-line distance determination module 310 includes:
[0091] The information acquisition unit is used to acquire the target vehicle's current reference lane line information, current vehicle position information, and current operating status information;
[0092] The predicted vehicle location information determination unit is used to determine the predicted vehicle location information of the target vehicle based on the current operating status information and the current vehicle location information.
[0093] A predicted wheel position information determination unit is used to determine the predicted wheel position information of a reference front wheel in the target vehicle based on the predicted vehicle position information.
[0094] The predicted crossing distance determination unit is used to determine the predicted crossing distance of the target vehicle at the predicted vehicle position based on the predicted wheel position information and the current reference lane line information.
[0095] Optionally, the target vehicle arrives at the predicted vehicle position after a preset time period from the current vehicle position, and the current operating status information includes the current vehicle speed and the current yaw rate;
[0096] Accordingly, the predicted vehicle location information determination unit is used for:
[0097] The predicted travel distance of the target vehicle is determined based on the current vehicle speed and the preset duration.
[0098] The predicted turning angle of the target vehicle is determined based on the current yaw rate and the preset duration; wherein, the predicted turning angle refers to the rotation angle of the target vehicle from its current position to its predicted position.
[0099] Based on the current vehicle location information, the predicted movement distance, and the predicted turning angle, the predicted vehicle location information of the target vehicle is determined.
[0100] Optionally, the deviation danger level determination module 320 is used for:
[0101] The current cross-line distance is fuzzed based on the first domain to obtain the first parameter information; wherein, the first domain is the domain associated with the current cross-line distance;
[0102] The predicted crossing distance is fuzzed based on the second domain to obtain the second parameter information; wherein, the second domain is the domain associated with the predicted crossing distance.
[0103] Fuzzy reasoning is performed on the first parameter information and the second parameter information according to a preset fuzzy rule to obtain the third parameter information; wherein, the third parameter information is used to describe the lane departure danger level of the target vehicle;
[0104] The third parameter information is defuzzified based on the third domain to obtain the fourth parameter information; wherein, the third domain is the domain associated with the lane departure risk level.
[0105] The lane departure hazard level of the target vehicle is determined based on the fourth parameter information.
[0106] Optionally, the warning status determination module 330 is used for:
[0107] Determine whether the lane departure hazard level is greater than a preset warning threshold, wherein the preset warning threshold is a reference value for the lane departure hazard level that triggers a lane departure warning;
[0108] If so, determine that the lane departure warning status of the target vehicle is enabled;
[0109] Otherwise, the lane departure warning status of the target vehicle is determined to be off.
[0110] Optionally, the warning status determination module 330 is further configured to:
[0111] If the lane departure hazard level is greater than the first warning threshold, the lane departure warning status of the target vehicle is determined to be the first-level warning status.
[0112] If the lane departure hazard level is greater than the second warning threshold and less than or equal to the first warning threshold, the lane departure warning status of the target vehicle is determined to be a level two warning status; wherein, the second warning threshold is less than the first warning threshold.
[0113] The lane departure warning device provided in this embodiment of the invention can execute a lane departure warning method provided in any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the method.
[0114] Example 4
[0115] Figure 5 A schematic diagram of an electronic device 10 that can be used to implement embodiments of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the invention described and / or claimed herein.
[0116] like Figure 5 As 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 loaded from storage unit 18 into the RAM 13. The RAM 13 may 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.
[0117] 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.
[0118] 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 lane departure warning methods.
[0119] In some embodiments, the lane departure warning method 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 loaded into RAM 13 and executed by processor 11, one or more steps of the lane departure warning method described above may be performed. Alternatively, in other embodiments, processor 11 may be configured to perform the lane departure warning method by any other suitable means (e.g., by means of firmware).
[0120] 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.
[0121] Computer programs used to implement the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may 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 performed. The computer programs may be executed entirely on a machine, partially on a machine, or as a standalone software package, partially on a machine and partially on a remote machine, or entirely on a remote machine or server.
[0122] 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 may include, 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 may 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.
[0123] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; 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).
[0124] 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.
[0125] 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.
[0126] 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.
[0127] 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 lane departure warning method, characterized in that, The method includes: Determine the current lane crossing distance of the target vehicle at its current position, and determine the predicted lane crossing distance of the target vehicle at its predicted position; wherein, the lane crossing distance is used to characterize the distance between the reference front wheel of the target vehicle and the reference lane line, the reference lane line is the lane line located on the same side as the reference front wheel in the lane line where the target vehicle is located, and the predicted vehicle position is the vehicle position predicted when the target vehicle is traveling according to its current operating state. Based on the current crossing distance and the predicted crossing distance, the lane departure hazard level of the target vehicle is determined according to a preset fuzzy rule; wherein, the preset fuzzy rule is determined based on the changing trends of the current crossing distance and the predicted crossing distance; The lane departure warning status of the target vehicle is determined based on the degree of lane departure danger.
2. The method according to claim 1, characterized in that, Determine the current distance the target vehicle has crossed from its current position, including: Obtain the target vehicle's current reference lane information and current vehicle position information; Based on the current vehicle position information, determine the current wheel position information of the reference front wheel in the target vehicle; Based on the current wheel position information and the current reference lane line information, the current lane crossing distance of the target vehicle at its current position is determined.
3. The method according to claim 1, characterized in that, Determining the predicted crossing distance of the target vehicle at the predicted vehicle position includes: Obtain the target vehicle's current reference lane information, current vehicle location information, and current operating status information; Based on the current operating status information and the current vehicle location information, the predicted vehicle location information of the target vehicle is determined; Based on the predicted vehicle position information, the predicted wheel position information of the reference front wheel in the target vehicle is determined; Based on the predicted wheel position information and the current reference lane line information, the predicted lane crossing distance of the target vehicle at the predicted vehicle position is determined.
4. The method according to claim 3, characterized in that, The target vehicle arrives at the predicted vehicle position after a preset time period from the current vehicle position, and the current operating status information includes the current vehicle speed and the current yaw rate; Accordingly, based on the current operating status information and the current vehicle location information, the predicted vehicle location information of the target vehicle is determined, including: The predicted travel distance of the target vehicle is determined based on the current vehicle speed and the preset duration. The predicted turning angle of the target vehicle is determined based on the current yaw rate and the preset duration; wherein, the predicted turning angle refers to the rotation angle of the target vehicle from its current position to its predicted position. Based on the current vehicle location information, the predicted movement distance, and the predicted turning angle, the predicted vehicle location information of the target vehicle is determined.
5. The method according to claim 1, characterized in that, Based on the current cross-line distance and the predicted cross-line distance, the lane departure hazard level of the target vehicle is determined according to a preset fuzzy rule, including: The current crossing distance is fuzzed based on the first domain to obtain the first parameter information; wherein, the first domain is the domain associated with the current crossing distance. The predicted crossing distance is fuzzed based on the second domain to obtain the second parameter information; wherein, the second domain is the domain associated with the predicted crossing distance. Fuzzy reasoning is performed on the first parameter information and the second parameter information according to a preset fuzzy rule to obtain the third parameter information; wherein, the third parameter information is used to describe the lane departure danger level of the target vehicle; The third parameter information is defuzzified based on the third domain to obtain the fourth parameter information; wherein, the third domain is the domain associated with the lane departure risk level. The lane departure hazard level of the target vehicle is determined based on the fourth parameter information.
6. The method according to any one of claims 1-5, characterized in that, Determining the lane departure warning status of the target vehicle based on the lane departure hazard level includes: Determine whether the lane departure hazard level is greater than a preset warning threshold, wherein the preset warning threshold is a reference value for the lane departure hazard level that triggers a lane departure warning; If so, determine that the lane departure warning status of the target vehicle is enabled; Otherwise, the lane departure warning status of the target vehicle is determined to be off.
7. The method according to any one of claims 1-5, characterized in that, Determining the lane departure warning status of the target vehicle based on the lane departure hazard level includes: If the lane departure hazard level is greater than the first warning threshold, the lane departure warning status of the target vehicle is determined to be the first-level warning status. If the lane departure hazard level is greater than the second warning threshold and less than or equal to the first warning threshold, the lane departure warning status of the target vehicle is determined to be a level two warning status; wherein, the second warning threshold is less than the first warning threshold.
8. A lane departure warning device, characterized in that, The device includes: The lane crossing distance determination module is used to determine the current lane crossing distance of the target vehicle at its current vehicle position, and to determine the predicted lane crossing distance of the target vehicle at its predicted vehicle position; wherein, the lane crossing distance is used to characterize the distance between the reference front wheel of the target vehicle and the reference lane line, the reference lane line is the lane line in which the target vehicle is located on the same side as the reference front wheel, and the predicted vehicle position is the vehicle position predicted when the target vehicle is traveling according to its current operating state. The lane departure hazard determination module is used to determine the lane departure hazard level of the target vehicle based on the current crossing distance and the predicted crossing distance, according to a preset fuzzy rule; wherein the preset fuzzy rule is determined based on the changing trends of the current crossing distance and the predicted crossing distance. The warning status determination module is used to determine the lane departure warning status of the target vehicle based on the lane departure hazard level.
9. An electronic device, characterized in that, The electronic device includes: At least one processor; and A memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the lane departure warning method according to any one of claims 1-7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that cause a processor to execute the lane departure warning method according to any one of claims 1-7.
Citation Information
Patent Citations
Lane departure identification method and device, equipment and storage medium
CN109785667A
Lane departure auxiliary control method based on man-machine cooperation strategy
CN110329255A
