Lane keeping method, vehicle-mounted device and storage medium

By acquiring and analyzing the environmental information around the vehicle, determining the lane change information and deciding on the following mode, the problem of difficulty in maintaining lanes under traffic congestion is solved, driving safety is improved, and the vehicle is able to drive stably in congested situations.

CN113677581BActive Publication Date: 2024-10-25UISEE SHANGHAI AUTOMOTIVE TECH LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201980002776.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-11-29
Publication Date
2024-10-25
Estimated Expiration
2039-11-29

AI Technical Summary

Technical Problem

Under traffic congestion conditions, it is difficult for existing technology to effectively keep vehicles driving in the lane and improve driving safety.

Method used

By obtaining the environmental information around the vehicle, determining the lane changing information around the vehicle, and deciding a following mode based on multiple following modes, it plans and controls the driving path to ensure that the vehicle remains in the current lane.

Benefits of technology

The driving safety of vehicles is improved in traffic jams. Through the lane keeping method and equipment of the intelligent driving system, stable vehicle following and path planning are achieved, and instability caused by lane switching is avoided.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113677581B_ABST
    Figure CN113677581B_ABST
Patent Text Reader

Abstract

A lane keeping method, vehicle-mounted equipment and storage medium, the method comprising: obtaining environmental information around a vehicle (501); determining lane change information of vehicles around the vehicle based on the environmental information (502); determining a following mode of the vehicle based on the environmental information and the lane change information (503); planning a driving path based on the following mode (504); and controlling the vehicle to drive according to the driving path (505). Under traffic congestion conditions, the method determines lane change information of vehicles around the vehicle and, based on the environmental information around the vehicle, decides a following mode from a plurality of following modes for lane keeping, thereby planning a driving path and controlling the vehicle to keep driving in the current lane.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The disclosed embodiments relate to the field of intelligent driving technology, and in particular to a lane keeping method, a vehicle-mounted device, and a storage medium. Background Art

[0002] With the development of intelligent driving technology, the driving experience of drivers and passengers has been improved. Traffic congestion is a common and complex condition. Therefore, it is urgent to provide a lane keeping solution suitable for traffic congestion to improve driving safety in traffic congestion.

[0003] The above description of the process of discovering the problem is only used to assist in understanding the technical solution of the present disclosure and does not constitute an admission that the above content is prior art. Summary of the invention

[0004] In order to solve at least one problem existing in the prior art, at least one embodiment of the present disclosure provides a lane keeping method, a vehicle-mounted device, and a storage medium.

[0005] In a first aspect, an embodiment of the present disclosure provides a lane keeping method, including:

[0006] Obtaining environmental information around the vehicle;

[0007] Based on the environmental information, determining lane change information of vehicles around the vehicle;

[0008] Determining a following mode of the vehicle based on the environmental information and the lane change information;

[0009] Planning a driving path based on the following mode;

[0010] The vehicle is controlled to travel along the travel path.

[0011] In a second aspect, an embodiment of the present disclosure further proposes a vehicle-mounted device, comprising: a processor and a memory; the processor is used to execute the steps of the method described in the first aspect by calling a program or instruction stored in the memory.

[0012] In a third aspect, an embodiment of the present disclosure further proposes a non-transitory computer-readable storage medium for storing a program or instruction, wherein the program or instruction enables a computer to execute the steps of the method described in the first aspect.

[0013] It can be seen that in at least one embodiment of the present disclosure, under traffic congestion conditions, by determining the lane change information of vehicles around the vehicle and based on the environmental information around the vehicle, a following mode is decided from a plurality of following modes for lane keeping, so as to plan the driving path and control the vehicle to stay in the current lane. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present disclosure, and a person skilled in the art can also obtain other drawings based on these drawings.

[0015] Figure 1 is an overall architecture diagram of an intelligent driving vehicle provided by an embodiment of the present disclosure;

[0016] Figure 2 is a block diagram of an intelligent driving system provided by an embodiment of the present disclosure;

[0017] Figure 3 is a block diagram of a lane keeping module provided in an embodiment of the present disclosure;

[0018] Figure 4 is a block diagram of a vehicle-mounted device provided by an embodiment of the present disclosure;

[0019] Figure 5 is a flow chart of a lane keeping method provided by an embodiment of the present disclosure;

[0020] Figure 6 It is a schematic diagram of a traffic congestion condition provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0021] In order to more clearly understand the above-mentioned purposes, features and advantages of the present disclosure, the present disclosure is further described in detail below in conjunction with the accompanying drawings and embodiments. It is understood that the described embodiments are part of the embodiments of the present disclosure, rather than all of the embodiments. The specific embodiments described herein are only used to explain the present disclosure, rather than to limit the present disclosure. Based on the described embodiments of the present disclosure, all other embodiments obtained by ordinary technicians in the field belong to the scope of protection of the present disclosure.

[0022] It should be noted that, in this document, relational terms such as “first” and “second” are merely used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations.

[0023] Traffic congestion is a common and complex working condition, such as Figure 6 As shown, Figure 6 In the figure, 101 is the vehicle, 102 to 107 are vehicles around the vehicle, and 108 and 109 are lane lines. The disclosed embodiment provides a lane keeping solution suitable for traffic congestion conditions, which improves driving safety in traffic congestion conditions.

[0024] In some embodiments, the lane keeping solution provided by the embodiments of the present disclosure can be applied to intelligent driving vehicles. Figure 1 An overall architecture diagram of an intelligent driving vehicle provided in an embodiment of the present disclosure.

[0025] like Figure 1 As shown, the intelligent driving vehicle includes: a sensor group, an intelligent driving system 100, a vehicle underlying execution system, and other components that can be used to drive the vehicle and control the operation of the vehicle.

[0026] The sensor group is used to collect data about the vehicle's external environment and detect the vehicle's position data. The sensor group includes, for example, but is not limited to, at least one of a camera, a laser radar, a millimeter-wave radar, an ultrasonic radar, a GPS (Global Positioning System), and an IMU (Inertial Measurement Unit).

[0027] In some embodiments, the sensor group is also used to collect dynamic data of the vehicle. The sensor group, for example, also includes but is not limited to at least one of a wheel speed sensor, a speed sensor, an acceleration sensor, a steering wheel angle sensor, and a front wheel angle sensor.

[0028] The intelligent driving system 100 is used to obtain data from a sensor group, and all sensors in the sensor group transmit data at a high frequency during the driving process of the intelligent driving vehicle.

[0029] The intelligent driving system 100 is also used to perform environmental perception and vehicle positioning based on the data of the sensor group, and to perform path planning and decision-making based on the environmental perception information and vehicle positioning information, and to generate vehicle control instructions based on the planned path, thereby controlling the vehicle to travel along the planned path.

[0030] In some embodiments, the intelligent driving system 100 is also used to obtain environmental information around the vehicle; then determine the lane change information of vehicles around the vehicle based on the environmental information; thereby determining the following mode of the vehicle based on the environmental information and the lane change information; plan a driving path based on the following mode; and control the vehicle to drive along the driving path.

[0031] In some embodiments, the intelligent driving system 100 may be a software system, a hardware system, or a system combining software and hardware. For example, the intelligent driving system 100 is a software system running on an operating system, and the vehicle-mounted hardware system is a hardware system that supports the operation of the operating system.

[0032] In some embodiments, the intelligent driving system 100 is also used to wirelessly communicate with the cloud server to exchange various information. In some embodiments, the intelligent driving system 100 and the cloud server communicate wirelessly through a wireless communication network (for example, including but not limited to a GPRS network, a Zigbee network, a Wifi network, a 3G network, a 4G network, a 5G network, etc.).

[0033] In some embodiments, the cloud server is used to coordinate and manage the intelligent driving vehicles. In some embodiments, the cloud server can be used to interact with one or more intelligent driving vehicles, coordinate and manage the scheduling of multiple intelligent driving vehicles, etc.

[0034] In some embodiments, the cloud server is a cloud server established by a vehicle service provider, providing cloud storage and cloud computing functions. In some embodiments, a vehicle-side file is established in the cloud server. In some embodiments, the vehicle-side file stores various information uploaded by the intelligent driving system 100. In some embodiments, the cloud server can synchronize the driving data generated by the vehicle side in real time.

[0035] In some embodiments, the cloud server can be a server or a server group. The server group can be centralized or distributed. Distributed servers are conducive to the distribution and optimization of tasks on multiple distributed servers, overcoming the shortcomings of traditional centralized servers with tight resources and response bottlenecks. In some embodiments, the cloud server can be local or remote.

[0036] In some embodiments, the cloud server can be used to charge parking fees, toll fees, etc. to the vehicle. In some embodiments, the cloud server is also used to analyze the driver's driving behavior and conduct a safety level assessment on the driver's driving behavior.

[0037] In some embodiments, the cloud server can be used to obtain information of a road monitoring unit (RSU) and an intelligent driving vehicle, and can send information to the intelligent driving vehicle. In some embodiments, the cloud server can send detection information corresponding to the intelligent driving vehicle in the road monitoring unit to the intelligent driving vehicle based on the information of the intelligent driving vehicle.

[0038] In some embodiments, the road monitoring unit can be used to collect road monitoring information. In some embodiments, the road monitoring unit can be an environmental perception sensor, such as a camera, a lidar, etc., or a road device, such as a V2X device, a roadside traffic light device, etc. In some embodiments, the road monitoring unit can monitor the road conditions belonging to the corresponding road monitoring unit, such as the type, speed, priority level, etc. of the passing vehicle. After collecting the road monitoring information, the road monitoring unit can send the road monitoring information to a cloud server, or to a smart driving vehicle passing through the road.

[0039] The vehicle bottom-level execution system is used to receive vehicle control instructions and realize the control of vehicle driving. In some embodiments, the vehicle bottom-level execution system includes but is not limited to: a steering system, a braking system, and a drive system. The steering system, the braking system, and the drive system are mature systems in the vehicle field and will not be described in detail here.

[0040] In some embodiments, the intelligent driving vehicle may also include Figure 1 The vehicle CAN bus not shown in the figure is connected to the vehicle bottom execution system. The information exchange between the intelligent driving system 100 and the vehicle bottom execution system is transmitted through the vehicle CAN bus.

[0041] In some embodiments, the intelligent driving vehicle can be controlled by the driver or by the intelligent driving system 100. In the manual driving mode, the driver drives the vehicle by operating the device for controlling the vehicle, and the device for controlling the vehicle includes, but is not limited to, the brake pedal, the steering wheel, and the accelerator pedal. The device for controlling the vehicle can directly operate the underlying execution system of the vehicle to control the vehicle.

[0042] In some embodiments, the intelligent driving vehicle may also be an unmanned vehicle, and the driving control of the vehicle is performed by the intelligent driving system 100.

[0043] Figure 2 A block diagram of an intelligent driving system 200 provided in an embodiment of the present disclosure. In some embodiments, the intelligent driving system 200 can be implemented as Figure 1 The intelligent driving system 100 or a part of the intelligent driving system 100 is used to control the vehicle driving.

[0044] like Figure 2 As shown, the intelligent driving system 200 can be divided into multiple modules, for example, it may include: a perception module 201, a planning module 202, a control module 203, a lane keeping module 204 and some other modules that can be used for intelligent driving.

[0045] The perception module 201 is used for environmental perception and positioning. In some embodiments, the perception module 201 is used to obtain sensor data, V2X (Vehicle to X, wireless communication for vehicles) data, high-precision map and other data. In some embodiments, the perception module 201 is used to perform environmental perception and positioning based on at least one of the acquired sensor data, V2X (Vehicle to X, wireless communication for vehicles) data, high-precision map and other data.

[0046] In some embodiments, the perception module 201 is used to generate perception positioning information to achieve obstacle perception, drivable area recognition of camera images, and vehicle positioning.

[0047] Environmental perception can be understood as the ability to understand the environment, such as the location of obstacles, detection of road signs / markers, detection of pedestrians / vehicles, and other semantic classification of data. In some embodiments, environmental perception can be performed by integrating data from multiple sensors such as cameras, lidar, and millimeter-wave radar.

[0048] Localization is part of perception and is the ability to determine the position of an intelligent driving vehicle relative to the environment. Positioning can be done by: GPS positioning, which has a high positioning accuracy of tens of meters to centimeters; positioning can also be done by integrating GPS and an inertial navigation system (Inertial Navigation System). Positioning can also be done by SLAM (Simultaneous Localization And Mapping). The goal of SLAM is to build a map and use it for positioning. SLAM determines the current vehicle position and the position of the currently observed features by using the observed environmental features.

[0049] V2X is a key technology in intelligent transportation systems, which enables vehicles to communicate with each other, vehicles to communicate with base stations, and base stations to obtain a series of traffic information such as real-time road conditions, road information, pedestrian information, etc., improve the safety of intelligent driving, reduce congestion, improve traffic efficiency, and provide in-vehicle entertainment information.

[0050] High-precision maps are geographic maps used in the field of intelligent driving. Compared with traditional maps, the differences are: 1) High-precision maps include a large amount of driving assistance information, such as accurate three-dimensional representation of the road network: including intersections and road sign locations; 2) High-precision maps also include a large amount of semantic information, such as reporting the meaning of different colors on traffic lights, indicating the speed limit of the road, and the location where the left turn lane begins; 3) High-precision maps can achieve centimeter-level accuracy to ensure the safe driving of intelligent driving vehicles.

[0051] The planning module 202 is used to perform path planning and decision-making based on the perception positioning information generated by the perception module 201.

[0052] In some embodiments, the planning module 202 is used to perform path planning and decision-making based on the perception positioning information generated by the perception module 201 and in combination with at least one of V2X data, high-precision maps and other data.

[0053] In some embodiments, the planning module 202 is used to plan the path and make decisions on: behaviors (for example, including but not limited to following a vehicle, overtaking, parking, detouring, etc.), vehicle heading, vehicle speed, expected acceleration of the vehicle, expected steering wheel angle, etc., and generate planning decision information.

[0054] The control module 203 is used to perform path tracking and trajectory tracking based on the planning decision information generated by the planning module 202.

[0055] In some embodiments, the control module 203 is used to generate control instructions for the vehicle's underlying execution system and issue control instructions so that the vehicle's underlying execution system controls the vehicle to travel along the desired path, such as controlling the vehicle laterally and longitudinally by controlling the steering wheel, brakes, and accelerator.

[0056] In some embodiments, the control module 203 is further configured to calculate the front wheel steering angle based on a path tracking algorithm.

[0057] In some embodiments, the expected path curve in the path tracking process is independent of the time parameter. During tracking control, it can be assumed that the intelligent driving vehicle is moving at a constant speed at the current speed, and a certain cost rule is used to make the driving path approach the expected path. During trajectory tracking, the expected path curve is related to both time and space, and the intelligent driving vehicle is required to reach a preset reference path point within a specified time.

[0058] Path tracking is different from trajectory tracking. It is not subject to time constraints and only needs to track the desired path within a certain error range.

[0059] The lane keeping module 204 is used to obtain the environmental information around the vehicle; then determine the lane change information of the vehicles around the vehicle based on the environmental information; thereby determine the following mode of the vehicle based on the environmental information and the lane change information; plan the driving path based on the following mode; and control the vehicle to drive according to the driving path.

[0060] In some embodiments, the function of the lane keeping module 204 can be integrated into the perception module 201, the planning module 202 or the control module 203, or can be configured as a module independent of the intelligent driving system 200. The lane keeping module 204 can be a software module, a hardware module or a module combining software and hardware. For example, the lane keeping module 204 is a software module running on an operating system, and the vehicle-mounted hardware system is a hardware system that supports the operation of the operating system.

[0061] Figure 3 A block diagram of a lane keeping module 300 provided in an embodiment of the present disclosure. In some embodiments, the lane keeping module 300 may be implemented as Figure 2 Lane keeping module 204 or a portion of lane keeping module 204 in.

[0062] like Figure 3 As shown, the lane keeping module 300 may include but is not limited to the following units: an acquisition unit 301 , a first determination unit 302 , a second determination unit 303 , a planning unit 304 and a control unit 305 .

[0063] The acquisition unit 301 is used to acquire environmental information around the vehicle. In some embodiments, the environmental information is information obtained by sensing based on sensor data, and the environmental information may include but is not limited to at least one of the following: lane line information, vehicle information in front of the lane, vehicle information in the left lane of the vehicle, and vehicle information in the right lane of the vehicle. Among them, the lane can be understood as the lane where the vehicle is located; the left lane of the vehicle can be understood as the lane adjacent to the lane and located on the left side of the lane; the right lane of the vehicle can be understood as the lane adjacent to the lane and located on the right side of the lane.

[0064] In some embodiments, lane information may include, but is not limited to: location, line shape, and credibility. Vehicle information ahead of the lane may include, but is not limited to: the two vehicles ahead of the lane (e.g. Figure 6 102 and 103 in FIG. 104 ) and the relative distance and relative speed of the vehicle. The vehicle information of the left lane of the vehicle may include but is not limited to: the vehicle on the left of the vehicle (e.g. Figure 6 104) and the relative distance and relative speed of the vehicle, the vehicle in front of the vehicle (e.g. Figure 6 The relative distance and relative speed between the vehicle and the vehicle in the right lane of the vehicle may include, but is not limited to: the vehicle on the right of the vehicle (e.g. Figure 6106) and the relative distance and relative speed of the vehicle, the vehicle in front of the vehicle (e.g. Figure 6 In some embodiments, the lane line information, the vehicle information in front of the lane, the vehicle information in the left lane of the vehicle, and the vehicle information in the right lane of the vehicle are all sensed based on the sensor data, and the specific method can follow the existing method and will not be repeated.

[0065] In some embodiments, the two vehicles in front of the lane may be two vehicles directly in front of the lane. Directly in front is relative to the left front and the right front, and the vehicle directly in front may be understood as a vehicle traveling in the lane where the vehicle is located and located in front of the vehicle.

[0066] The first determination unit 302 is used to determine the lane change information of the vehicles around the vehicle based on the environmental information. In some embodiments, the lane change information of the vehicles around the vehicle may include but is not limited to: the vehicle information of the vehicle in front of the lane that cuts out of the lane, such as the identification of the vehicle that cuts out from the lane to the left lane of the vehicle, and the identification of the vehicle that cuts out from the lane to the right lane of the vehicle. Those skilled in the art can understand that the vehicle information is not limited to the identification, but can also be other information, such as the lane change direction (changing lanes to the left or changing lanes to the right). Among them, cutting out of the lane can be understood as changing lanes from the lane to the adjacent lane. Among them, the adjacent lane can be understood as the left lane of the vehicle or the right lane of the vehicle.

[0067] In some embodiments, lane change information of vehicles around the vehicle may include but is not limited to: information of vehicles cutting into the vehicle's lane from the vehicle's left lane and the vehicle's right lane, such as the identification of vehicles cutting into the vehicle's lane from the vehicle's left lane, and the identification of vehicles cutting into the vehicle's lane from the vehicle's right lane. Cutting into the vehicle's lane may be understood as changing lanes from an adjacent lane to the vehicle's lane.

[0068] In some embodiments, the first determination unit 302 determines whether the lane line is valid, and determines the lane change information of the vehicles around the vehicle based on the judgment result, wherein the validity or invalidity of the lane line can be determined in the existing manner, which will not be repeated. In some embodiments, the validity of the lane line can be understood as: at least one of the lane lines on the left and right sides exists and has good quality. The invalidity of the lane line can be understood as: both the lane lines on the left and right sides are invalid, wherein invalidity can be understood as: the lane line is lost or has poor quality. In some embodiments, the quality of the lane line is determined based on the lane line information, that is, based on the position, line shape and credibility of the lane line. In some embodiments, if the relative distance between the position of the lane line and the vehicle is within a preset distance range, the line shape of the lane line is a straight line or a curve with a curvature within a preset curvature range, and the credibility is not less than a preset credibility threshold, then the quality of the lane line is determined to be good; otherwise, the quality of the lane line is determined to be poor. Among them, the preset distance range, the preset curvature range and the preset credibility threshold can be set based on actual needs, and this embodiment does not limit specific values.

[0069] In some embodiments, the first determination unit 302 determines lane change information of vehicles around the vehicle based on lane line validity using lane line information. In some embodiments, the first determination unit 302 determines vehicle information of vehicles ahead of the vehicle that cut out of the lane based on lane line information in the environment information and vehicle information ahead of the lane. In some embodiments, the first determination unit 302 determines vehicle information of vehicles in the left lane and right lane of the vehicle that cut into the lane based on lane line information in the environment information, vehicle information of the left lane of the vehicle, and vehicle information of the right lane of the vehicle.

[0070] In some embodiments, the first determination unit 302 determines the lane change information of the vehicles around the vehicle based on the invalid lane line using the motion information of the vehicle. The motion information of the vehicle may include but is not limited to: the vehicle speed, steering wheel angle, yaw angular velocity, etc. In some embodiments, the first determination unit 302 determines the motion trajectory of the vehicle based on the motion information of the vehicle; and then determines the lane change information of the vehicles around the vehicle based on the boundary of the motion trajectory. In some embodiments, the boundary of the motion trajectory is the lateral boundary of the motion trajectory, wherein the lateral direction is the direction perpendicular to the lane line. Then, the first determination unit 302 determines the vehicle information of the vehicle in front of the lane that cuts out of the lane based on the lateral boundary of the motion trajectory and the vehicle information in front of the lane. In some embodiments, the first determination unit 302 determines the vehicle information of the vehicle in the left lane and the right lane of the vehicle that cuts into the lane based on the lateral boundary of the motion trajectory, the vehicle information of the left lane of the vehicle, and the vehicle information of the right lane of the vehicle.

[0071] The second determination unit 303 is used to determine the following mode of the vehicle based on the environmental information around the vehicle and the lane change information of the vehicles around the vehicle. In some embodiments, the second determination unit 303 determines a following mode from multiple following modes for lane keeping by determining the lane change information of the vehicles around the vehicle and based on the environmental information around the vehicle under traffic congestion conditions.

[0072] In some embodiments, the following mode may include but is not limited to: a line-following mode, a vehicle-following mode, and a degradation mode. Among them, the line-following mode includes: the vehicle follows the lane line to maintain the lane; the vehicle-following mode includes: the vehicle follows the vehicle directly in front to maintain the lane; the degradation mode includes: the vehicle does not follow the vehicle directly in front to cut out of the lane, and maintains the stability of the vehicle when other vehicles cut into the lane. In some embodiments, the stability of the vehicle when other vehicles cut into the lane is maintained, for example: the braking force is not greater than the preset braking force threshold, the steering wheel angle is not greater than the preset angle threshold, and the application of the braking force and the rotation of the steering wheel are not completed at one time, so as to prevent sudden braking, sudden steering, etc. from causing the vehicle to shake and become unstable. Among them, the preset braking force threshold and the preset angle threshold can be set according to actual needs, and the specific values ​​are not limited in this embodiment. It can be understood that the way to maintain the stability of the vehicle can also be other ways to prevent the vehicle from shaking, turning sharply, stopping suddenly, and other unstable situations.

[0073] In some embodiments, the second determination unit 303 determines that the following mode is the line-following mode based on the lane line being valid and the absence of lane change information. In some embodiments, the second determination unit 303 determines that the following mode is the vehicle-following mode based on the lane line being invalid and the absence of lane change information. In some embodiments, the second determination unit 303 determines that the following mode is the degraded mode based on the lane change information including the vehicle information of the vehicle in front of the lane that cuts out of the lane and / or the vehicle information of the vehicle in the left lane and the right lane that cuts into the lane.

[0074] The planning unit 304 is used to plan a driving path based on the following mode determined by the second determining unit 303. In some embodiments, when the following mode is the line following mode, the planning unit 304 plans the driving path based on the lane line information and the state of the lane line. The state of the lane line includes two types: valid and invalid. In some embodiments, the planning unit 304 determines the center line of the lane based on the lane line information and the state of the lane line; and then plans the driving path based on the center line of the lane.

[0075] In some embodiments, the planning unit 304 determines the center line of the lane based on the lane line information and the state of the lane line. Specifically, if the lane lines on both sides (e.g. Figure 6 108 and 109) are both valid, then the lane centerline is generated based on the lane lines on both sides; if one lane line is valid and the other lane line is invalid, then the lane centerline is generated based on the valid side lane line and the lane width. In some embodiments, there are two ways to generate the lane centerline based on the valid side lane line and the lane width. Method 1: directly generate the lane centerline based on the valid side lane line and the lane width; Method 2: first generate the invalid side lane line based on the valid side lane line and the lane width, and then generate the lane centerline from the valid side lane line and the invalid side lane line. In this embodiment, when only one side lane line is valid, the vehicle can also be smoothly controlled to keep driving in the current lane.

[0076] In some embodiments, when the following mode is the following mode, the planning unit 304 plans the driving path based on the environmental information. In some embodiments, the planning unit 304 plans the driving path based on the environmental information, specifically: determining the relative position between the vehicle in front of the lane and the vehicle as the path end point; then generating multiple path curves from the vehicle to the path end point; thereby selecting the path curve that meets the conditions as the driving path; wherein the conditions are the vehicles around the vehicle (for example Figure 6 102 to 107) in the path curve have the largest average distance. In some embodiments, multiple path curves from the vehicle to the end of the path can be generated based on a traditional spline function generation method, which will not be described in detail. In this embodiment, when the lane lines on both sides are invalid, a new following mode is added, which enables the vehicle to follow the vehicle in front and stay in the current lane.

[0077] In some embodiments, when the following mode is the degraded mode, the planning unit 304 plans the driving path based on the motion information of the vehicle and the lane change information of the vehicles around the vehicle. In some embodiments, the planning unit 304 plans the driving path based on the vehicle information of the vehicle in front of the lane that cuts out of the lane, using the motion information of the vehicle, the historical planned path and the first information of the vehicles around the vehicle, to prevent the vehicle from following the vehicle in front of the lane to cut out of the lane; wherein the first information includes: the vehicle information of the vehicle in front of the lane that does not cut out of the lane, the vehicle information of the left lane of the vehicle and the vehicle information of the right lane of the vehicle. In some embodiments, the planning unit 304 plans the driving path based on the vehicle information of the vehicle in the left lane and the right lane that cuts into the lane, using the motion information of the vehicle, the historical planned path and the second information of the vehicles around the vehicle, to prevent the planned path of the vehicle from jumping due to the change of the path end point; wherein the second information includes: the vehicle information in front of the lane, the information of the vehicle on the left of the vehicle and the information of the vehicle on the right of the vehicle.

[0078] The control unit 305 is used to control the vehicle to travel along the driving path. In some embodiments, the control unit 305 controls the vehicle to stay in the current lane based on the planned driving path. In some embodiments, the control unit 305 generates lateral control instructions and longitudinal control instructions for the vehicle based on the driving path; and then sends the lateral control instructions and longitudinal control instructions to the vehicle chassis controller to control the vehicle to stay in the lane. The vehicle chassis controller belongs to Figure 1 A portion of the vehicle's underlying execution system is shown.

[0079] In some embodiments, the control unit 305 generates a lateral control instruction based on the driving path, specifically: based on the motion information of the vehicle and the road curvature, determine the preview longitudinal distance; then determine the lateral relative position corresponding to the preview longitudinal distance based on the driving path; and then generate a vehicle lateral control instruction based on the preview longitudinal distance and the lateral relative position. Among them, the preview longitudinal distance is the longitudinal distance of the front aiming point relative to the vehicle related to the vehicle speed and the preview time coefficient, which is a key parameter in the traditional geometric-based vehicle lateral control method. The preview longitudinal distance can also be determined using existing methods, which will not be repeated. In some embodiments, the lateral control instruction may include but is not limited to: steering wheel angle instructions, torque control instructions. Among them, the torque control instruction is a lateral control instruction sent to the steering mechanism controller for execution.

[0080] In some embodiments, the control unit 305 generates a longitudinal control instruction based on the driving path, specifically: based on the motion information of the vehicle, the lane change information of the vehicles around the vehicle, the road curvature and the driving path, the acceleration of the vehicle and the speed of the vehicle in front of the lane are determined; and then based on the acceleration of the vehicle and the speed of the vehicle in front of the lane, the longitudinal control instruction is generated. In some embodiments, the longitudinal control instruction may include but is not limited to: shaft end torque instruction, brake deceleration instruction. Among them, the shaft end torque instruction is a longitudinal control instruction sent to the engine for execution.

[0081] In some embodiments, the division of each unit in the lane keeping module 300 is only a logical function division. There may be other division methods in actual implementation. For example, the acquisition unit 301, the first determination unit 302, the second determination unit 303, the planning unit 304 and the control unit 305 can be implemented as one unit; the acquisition unit 301, the first determination unit 302, the second determination unit 303, the planning unit 304 or the control unit 305 can also be divided into multiple sub-units. It is understandable that each unit or sub-unit can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application.

[0082] Figure 4 1 is a schematic diagram of the structure of a vehicle-mounted device provided by an embodiment of the present disclosure. The vehicle-mounted device can support the operation of the intelligent driving system.

[0083] like Figure 4As shown, the vehicle-mounted device includes: at least one processor 401, at least one memory 402 and at least one communication interface 403. The various components in the vehicle-mounted device are coupled together through a bus system 404. The communication interface 403 is used to transmit information between external devices. It can be understood that the bus system 404 is used to achieve connection and communication between these components. In addition to the data bus, the bus system 404 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, Figure 4 Various buses are labeled as bus system 404 .

[0084] It can be understood that the memory 402 in this embodiment can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories.

[0085] In some implementations, the memory 402 stores the following elements, executable units or data structures, or a subset thereof, or an extended set thereof: an operating system and application programs.

[0086] The operating system includes various system programs, such as a framework layer, a core library layer, a driver layer, etc., which are used to implement various basic services and process hardware-based tasks. The application includes various application programs, such as a media player (Media Player), a browser (Browser), etc., which are used to implement various application services. The program for implementing the lane keeping method provided in the embodiment of the present disclosure can be included in the application.

[0087] In the embodiment of the present disclosure, the processor 401 calls the program or instructions stored in the memory 402, specifically, the program or instructions stored in the application, and the processor 401 is used to execute the steps of each embodiment of the lane keeping method provided in the embodiment of the present disclosure.

[0088] The lane keeping method provided in the embodiment of the present disclosure can be applied to the processor 401, or implemented by the processor 401. The processor 401 can be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware in the processor 401 or instructions in the form of software. The above-mentioned processor 401 can be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc.

[0089] The steps of the lane keeping method provided in the embodiment of the present disclosure can be directly embodied as being executed by a hardware decoding processor, or can be executed by a combination of hardware and software units in the decoding processor. The software unit can be located in a mature storage medium in the art, such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 402, and the processor 401 reads the information in the memory 402 and completes the steps of the method in combination with its hardware.

[0090] Figure 5 A flow chart of a lane keeping method provided in an embodiment of the present disclosure. The method is executed by a vehicle-mounted device, and in some embodiments, the method is executed by an intelligent driving system supported by the vehicle-mounted device.

[0091] like Figure 5 As shown, the lane keeping method may include but is not limited to the following steps 501 to 505:

[0092] 501. Obtain environmental information around the vehicle. In some embodiments, environmental information is information obtained by sensing based on sensor data, and the environmental information may include but is not limited to at least one of the following: lane line information, information about the vehicle in front of the lane, information about the vehicle in the left lane of the vehicle, and information about the vehicle in the right lane of the vehicle. Among them, the lane of the vehicle can be understood as the lane where the vehicle is located; the left lane of the vehicle can be understood as the lane adjacent to the lane and located on the left side of the lane; the right lane of the vehicle can be understood as the lane adjacent to the lane and located on the right side of the lane.

[0093] In some embodiments, lane information may include, but is not limited to: location, line shape, and credibility. Vehicle information ahead of the lane may include, but is not limited to: the two vehicles ahead of the lane (e.g. Figure 6102 and 103 in FIG. 104 ) and the relative distance and relative speed of the vehicle. The vehicle information of the left lane of the vehicle may include but is not limited to: the vehicle on the left of the vehicle (e.g. Figure 6 104) and the relative distance and relative speed of the vehicle, the vehicle in front of the vehicle (e.g. Figure 6 The relative distance and relative speed between the vehicle and the vehicle in the right lane of the vehicle may include, but is not limited to: the vehicle on the right of the vehicle (e.g. Figure 6 106) and the relative distance and relative speed of the vehicle, the vehicle in front of the vehicle (e.g. Figure 6 In some embodiments, the lane line information, the vehicle information in front of the lane, the vehicle information in the left lane of the vehicle, and the vehicle information in the right lane of the vehicle are all sensed based on the sensor data, and the specific method can follow the existing method and will not be repeated.

[0094] In some embodiments, the two vehicles in front of the lane may be two vehicles directly in front of the lane. Directly in front is relative to the left front and the right front, and the vehicle directly in front may be understood as a vehicle traveling in the lane where the vehicle is located and located in front of the vehicle.

[0095] 502. Based on the environmental information, determine the lane change information of the vehicles around the vehicle. In some embodiments, the lane change information of the vehicles around the vehicle may include but is not limited to: the vehicle information of the vehicle in front of the lane that cuts out of the lane, such as the identification of the vehicle that cuts out from the lane to the left lane of the vehicle, and the identification of the vehicle that cuts out from the lane to the right lane of the vehicle. Those skilled in the art can understand that the vehicle information is not limited to the identification, but can also be other information, such as the lane change direction (changing lanes to the left or changing lanes to the right). Among them, cutting out of the lane can be understood as changing lanes from the lane to the adjacent lane. Among them, the adjacent lane can be understood as the left lane of the vehicle or the right lane of the vehicle.

[0096] In some embodiments, lane change information of vehicles around the vehicle may include but is not limited to: information of vehicles cutting into the vehicle's lane from the vehicle's left lane and the vehicle's right lane, such as the identification of vehicles cutting into the vehicle's lane from the vehicle's left lane, and the identification of vehicles cutting into the vehicle's lane from the vehicle's right lane. Cutting into the vehicle's lane may be understood as changing lanes from an adjacent lane to the vehicle's lane.

[0097] In some embodiments, it is determined whether the lane line is valid, and the lane change information of the vehicles around the vehicle is determined based on the judgment result, wherein the validity or invalidity of the lane line can be determined in the existing manner, which will not be repeated. In some embodiments, the validity of the lane line can be understood as: at least one lane line on the left and right sides exists and has good quality. The invalidity of the lane line can be understood as: both the left and right lane lines are invalid, wherein invalidity can be understood as: the lane line is lost or has poor quality. In some embodiments, the quality of the lane line is determined based on the lane line information, that is, based on the position, line shape and credibility of the lane line. In some embodiments, if the relative distance between the position of the lane line and the vehicle is within a preset distance range, the line shape of the lane line is a straight line or a curve with a curvature within a preset curvature range, and the credibility is not less than a preset credibility threshold, then the quality of the lane line is determined to be good; otherwise, the quality of the lane line is determined to be poor. Among them, the preset distance range, the preset curvature range and the preset credibility threshold can be set based on actual needs, and this embodiment does not limit specific values.

[0098] In some embodiments, based on the validity of the lane line, lane change information of vehicles around the vehicle is determined using lane line information. In some embodiments, based on the lane line information in the environmental information and the vehicle information in front of the lane, the vehicle information of the vehicle in front of the lane that cuts out of the lane is determined. In some embodiments, based on the lane line information in the environmental information, the vehicle information in the left lane of the vehicle, and the vehicle information in the right lane of the vehicle, the vehicle information of the vehicle in the left lane and the vehicle in the right lane of the vehicle that cuts into the lane is determined.

[0099] In some embodiments, based on the invalid lane line, the motion information of the vehicle is used to determine the lane change information of the vehicles around the vehicle. Among them, the motion information of the vehicle may include but is not limited to: the speed of the vehicle, the steering wheel angle, the yaw angular velocity, etc. In some embodiments, based on the motion information of the vehicle, the motion trajectory of the vehicle is determined; and then based on the boundary of the motion trajectory, the lane change information of the vehicles around the vehicle is determined. In some embodiments, the boundary of the motion trajectory is the lateral boundary of the motion trajectory, wherein the lateral direction is the direction perpendicular to the lane line. Then, based on the lateral boundary of the motion trajectory and the vehicle information in front of the lane, the vehicle information of the vehicle in front of the lane that cuts out of the lane is determined. In some embodiments, based on the lateral boundary of the motion trajectory, the vehicle information of the left lane of the vehicle and the vehicle information of the right lane of the vehicle, the vehicle information of the left lane of the vehicle and the right lane of the vehicle that cuts into the lane in the left lane and the right lane of the vehicle is determined.

[0100] 503. Determine a following mode of the vehicle based on the environmental information around the vehicle and the lane change information of vehicles around the vehicle. In some embodiments, in a traffic jam condition, by determining the lane change information of vehicles around the vehicle and based on the environmental information around the vehicle, a following mode is determined from a plurality of following modes for lane keeping.

[0101] In some embodiments, the following mode may include but is not limited to: a line-following mode, a vehicle-following mode, and a degradation mode. Among them, the line-following mode includes: the vehicle follows the lane line to maintain the lane; the vehicle-following mode includes: the vehicle follows the vehicle directly in front to maintain the lane; the degradation mode includes: the vehicle does not follow the vehicle directly in front to cut out of the lane, and maintains the stability of the vehicle when other vehicles cut into the lane. In some embodiments, the stability of the vehicle when other vehicles cut into the lane is maintained, for example: the braking force is not greater than the preset braking force threshold, the steering wheel angle is not greater than the preset angle threshold, and the application of the braking force and the rotation of the steering wheel are not completed at one time, so as to prevent sudden braking, sudden steering, etc. from causing the vehicle to shake and become unstable. Among them, the preset braking force threshold and the preset angle threshold can be set according to actual needs, and the specific values ​​are not limited in this embodiment. It can be understood that the way to maintain the stability of the vehicle can also be other ways to prevent the vehicle from shaking, turning sharply, stopping suddenly, and other unstable situations.

[0102] In some embodiments, the following mode is determined to be the following mode based on the lane line being valid and no lane change information. In some embodiments, the following mode is determined to be the following mode based on the lane line being invalid and no lane change information. In some embodiments, the following mode is determined to be the degraded mode based on the lane change information including the vehicle information of the vehicle in front of the vehicle cutting out of the lane and / or the vehicle information of the vehicle in the left lane and the right lane of the vehicle cutting into the lane.

[0103] 504. Plan a driving path based on the determined following mode. In some embodiments, when the following mode is the line following mode, plan a driving path based on the lane line information and the state of the lane line. The state of the lane line includes two types: valid and invalid. In some embodiments, determine the center line of the lane based on the lane line information and the state of the lane line; and then plan a driving path based on the center line of the lane.

[0104] In some embodiments, the center line of the lane is determined based on the lane line information and the state of the lane line. Specifically, if the lane lines on both sides (for example Figure 6 108 and 109) are both valid, then the lane centerline is generated based on the lane lines on both sides; if one lane line is valid and the other lane line is invalid, then the lane centerline is generated based on the valid side lane line and the lane width. In some embodiments, there are two ways to generate the lane centerline based on the valid side lane line and the lane width. Method 1: directly generate the lane centerline based on the valid side lane line and the lane width; Method 2: first generate the invalid side lane line based on the valid side lane line and the lane width, and then generate the lane centerline from the valid side lane line and the invalid side lane line. In this embodiment, when only one side lane line is valid, the vehicle can also be smoothly controlled to keep driving in the current lane.

[0105] In some embodiments, when the following mode is the following mode, the driving path is planned based on the environmental information. In some embodiments, the driving path is planned based on the environmental information, specifically: determining the relative position between the vehicle in front of the lane and the vehicle as the path end point; then generating multiple path curves from the vehicle to the path end point; thereby selecting the path curve that meets the conditions as the driving path; wherein the conditions are the vehicles around the vehicle (for example Figure 6 102 to 107) in the path curve have the largest average distance. In some embodiments, multiple path curves from the vehicle to the end of the path can be generated based on a traditional spline function generation method, which will not be described in detail. In this embodiment, when the lane lines on both sides are invalid, a new following mode is added, which enables the vehicle to follow the vehicle in front and stay in the current lane.

[0106] In some embodiments, when the following mode is the degraded mode, the driving path is planned based on the motion information of the vehicle and the lane change information of the vehicles around the vehicle. In some embodiments, based on the information of the vehicle in front of the lane that cuts out of the lane, the driving path is planned using the motion information of the vehicle, the historical planned path and the first information of the vehicles around the vehicle to prevent the vehicle from following the vehicle in front of the lane to cut out of the lane; wherein the first information includes: the vehicle information of the vehicle in front of the lane that does not cut out of the lane, the vehicle information of the left lane of the vehicle and the vehicle information of the right lane of the vehicle. In some embodiments, based on the information of the vehicle in the left lane and the right lane of the vehicle that cuts into the lane, the driving path is planned using the motion information of the vehicle, the historical planned path and the second information of the vehicles around the vehicle to prevent the planned path of the vehicle from jumping due to the change of the path end point; wherein the second information includes: the vehicle information in front of the lane, the information of the vehicle on the left of the vehicle and the information of the vehicle on the right of the vehicle.

[0107] 505. Control the vehicle to drive according to the driving path. In some embodiments, based on the planned driving path, control the vehicle to keep driving in the current lane. In some embodiments, based on the driving path, generate a lateral control instruction and a longitudinal control instruction for the vehicle; then send the lateral control instruction and the longitudinal control instruction to the vehicle chassis controller to control the vehicle to keep the lane. The vehicle chassis controller belongs to Figure 1 A portion of the vehicle's underlying execution system is shown.

[0108] In some embodiments, based on the driving path, a lateral control instruction is generated, specifically: based on the motion information of the vehicle and the road curvature, the preview longitudinal distance is determined; then based on the driving path, the lateral relative position corresponding to the preview longitudinal distance is determined; thus, based on the preview longitudinal distance and the lateral relative position, a vehicle lateral control instruction is generated. Among them, the preview longitudinal distance is the longitudinal distance of the front aiming point relative to the vehicle, which is related to the vehicle speed and the preview time coefficient. It is a key parameter in the traditional geometric-based vehicle lateral control method. The preview longitudinal distance can also be determined by the existing method, which will not be repeated. In some embodiments, the lateral control instruction may include but is not limited to: steering wheel angle instruction, torque control instruction. Among them, the torque control instruction is a lateral control instruction sent to the steering mechanism controller for execution.

[0109] In some embodiments, based on the driving path, a longitudinal control instruction is generated, specifically: based on the motion information of the vehicle, the lane change information of the vehicles around the vehicle, the road curvature and the driving path, the acceleration of the vehicle and the speed of the vehicle in front of the lane are determined; and then based on the acceleration of the vehicle and the speed of the vehicle in front of the lane, a longitudinal control instruction is generated. In some embodiments, the longitudinal control instruction may include but is not limited to: shaft end torque instruction, brake deceleration instruction. Among them, the shaft end torque instruction is a longitudinal control instruction sent to the engine for execution.

[0110] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity of description, they are all described as a series of action combinations, but those skilled in the art can understand that the embodiments of the present disclosure are not limited by the described action sequence, because according to the embodiments of the present disclosure, some steps can be performed in other sequences or simultaneously. In addition, those skilled in the art can understand that the embodiments described in the specification are all optional embodiments.

[0111] The disclosed embodiment also proposes a non-transitory computer-readable storage medium, which stores programs or instructions. The programs or instructions enable a computer to execute the steps of each embodiment of the lane keeping method. To avoid repeated description, they are not repeated here.

[0112] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "includes..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0113] Those skilled in the art will appreciate that although some embodiments described herein include certain features included in other embodiments but not other features, the combination of features from different embodiments is meant to be within the scope of the present disclosure and to form different embodiments.

[0114] Those skilled in the art will appreciate that the description of each embodiment has its own emphasis, and for parts not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0115] Although the embodiments of the present disclosure have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present disclosure, and such modifications and variations are all within the scope defined by the appended claims.

[0116] Industrial Applicability

[0117] In the disclosed embodiment, under traffic congestion conditions, by determining the lane change information of vehicles around the vehicle and based on the environmental information around the vehicle, a following mode is decided from a variety of following modes for lane keeping, so as to plan the driving path and control the vehicle to stay in the current lane, which has industrial applicability.

Claims

1. A lane keeping method, characterized in that: The method comprises: Obtaining environmental information around the vehicle; Based on the environmental information, determining lane change information of vehicles around the vehicle; Determining a following mode of the vehicle based on the environmental information and the lane change information; Based on the following mode, planning a driving path includes: if the following mode is the following mode, determining the relative position of the vehicle in front of the lane and the vehicle as the path end point; generating multiple path curves from the vehicle to the path end point; selecting the path curve that meets the conditions as the driving path; wherein the condition is that the average distance between the vehicles around the vehicle and the path curve is the largest; The vehicle is controlled to travel along the travel path.

2. The method according to claim 1, characterized in that The environmental information includes at least one of the following: Lane line information, vehicle information in front of the lane, vehicle information in the left lane of the vehicle, and vehicle information in the right lane of the vehicle.

3. The method according to claim 2, characterized in that The lane line information includes: position, line shape and credibility; The vehicle information in front of the lane includes: the relative distance and relative speed between the two vehicles in front of the lane and the vehicle; The vehicle information of the left lane of the vehicle includes: the relative distance and relative speed between the vehicle to the left of the vehicle and the vehicle, and the relative distance and relative speed between the vehicle to the left of the vehicle and the vehicle; The vehicle information of the right lane of the host vehicle includes: the relative distance and relative speed between the right adjacent vehicle of the host vehicle and the host vehicle, and the relative distance and relative speed between the right front vehicle of the host vehicle and the host vehicle.

4. The method according to claim 1, characterized in that: The lane change information includes: Information about vehicles that have cut out of this lane from the vehicles ahead of this lane; Information about vehicles cutting into your lane from the left lane and the right lane of your vehicle.

5. The method according to claim 2, characterized in that: Based on the environmental information, lane change information of vehicles around the vehicle is determined, including: Determine whether the lane line is valid; The lane change information of the vehicles around the vehicle is determined based on the judgment result.

6. The method according to claim 5, characterized in that The determining of lane change information of vehicles around the vehicle based on the judgment result includes: Based on the lane line being valid, determining lane change information of vehicles around the vehicle using the lane line information; Based on the invalidity of the lane line, the lane change information of the vehicles around the vehicle is determined using the motion information of the vehicle.

7. The method according to claim 6, characterized in that The method of using the motion information of the vehicle to determine the lane change information of vehicles around the vehicle includes: Based on the motion information of the vehicle, determine the motion trajectory of the vehicle; Based on the boundary of the motion trajectory, lane change information of vehicles around the vehicle is determined.

8. The method according to claim 1, characterized in that The following modes include: line following mode, vehicle following mode and degradation mode; The following line mode includes: the vehicle follows the lane line to maintain the lane; The following vehicle mode includes: the vehicle follows the vehicle in front to maintain the lane; The degradation mode includes: the vehicle does not follow the vehicle in front to cut out of the lane, and maintains the stability of the vehicle when other vehicles cut into the lane.

9. The method according to claim 8, characterized in that Determining a following mode of the vehicle based on the environment information and the lane change information includes: Based on the lane line being valid and no lane change information, the following mode is determined to be the line following mode; Based on the invalid lane line and no lane change information, the following mode is determined to be the following mode; Based on the lane change information including vehicle information of a vehicle cutting out of the own lane in front of the own lane and / or vehicle information of a vehicle cutting into the own lane in the left lane and the right lane of the own vehicle, it is determined that the following mode is a degraded mode.

10. The method according to claim 8, characterized in that The planning of the driving path based on the following mode includes: When the following mode is the line following mode, the driving path is planned based on the lane line information and the state of the lane line; When the following mode is the degraded mode, the driving path is planned based on the motion information of the vehicle and the lane change information of vehicles around the vehicle.

11. The method according to claim 10, characterized in that The planning of the driving path based on the lane line information and the lane line status includes: Determine the lane centerline based on the lane line information and the lane line status; Plan driving paths based on lane centerlines.

12. The method according to claim 11, characterized in that The determining of the lane centerline based on the lane line information and the lane line status includes: If the lane lines on both sides are valid, the lane center line is generated based on the lane lines on both sides; If the lane marking on one side is valid and the lane marking on the other side is invalid, the lane center line is generated based on the valid side lane marking and the lane width.

13. The method according to claim 10, characterized in that The planning of the driving path based on the motion information of the vehicle and the lane change information of vehicles around the vehicle includes: Based on the information of the vehicle that cuts out of the lane in front of the vehicle, the movement information of the vehicle, the historical planned path and the first information of the vehicles around the vehicle are used to plan the driving path; wherein the first information includes: the information of the vehicle that does not cut out of the lane in front of the vehicle, the information of the vehicle in the left lane of the vehicle and the information of the vehicle in the right lane of the vehicle; Based on the information of vehicles cutting into the vehicle's lane from the left lane and the right lane of the vehicle, the driving path is planned using the vehicle's motion information, the historical planned path and the second information of the vehicles around the vehicle; wherein the second information includes: the information of the vehicle in front of the lane, the information of the vehicle to the left of the vehicle and the information of the vehicle to the right of the vehicle.

14. The method according to claim 1, characterized in that The controlling the vehicle to travel according to the travel path includes: Based on the driving path, generating a lateral control instruction and a longitudinal control instruction of the vehicle; The vehicle lateral control instruction and the longitudinal control instruction are sent to a vehicle chassis controller to control the vehicle to maintain the lane.

15. The method according to claim 14, characterized in that Based on the driving path, generating a lateral control instruction includes: Determine the preview longitudinal distance based on the vehicle's motion information and the road curvature; Based on the driving path, determining a lateral relative position corresponding to the preview longitudinal distance; A vehicle lateral control instruction is generated based on the preview longitudinal distance and the lateral relative position.

16. The method according to claim 14, characterized in that Based on the driving path, generating a longitudinal control instruction includes: Determine the acceleration of the vehicle and the speed of the vehicle ahead in the lane based on the motion information of the vehicle, the lane change information of the vehicles around the vehicle, the road curvature and the driving path; Generate longitudinal control commands based on the acceleration of the vehicle and the speed of the vehicle ahead in the lane.

17. A vehicle-mounted device, characterized in that: include: Processor and memory; The processor is used to execute the steps of the method according to any one of claims 1 to 16 by calling the program or instruction stored in the memory.

18. A non-transitory computer-readable storage medium, characterized in that: The non-transitory computer-readable storage medium stores a program or instruction, which enables a computer to execute the steps of the method according to any one of claims 1 to 16.