A turn signal control method and electronic device for an automatic driving vehicle

By obtaining the vehicle's driving path and positioning information, it automatically controls the lighting of the turn signal, which solves the problem in the existing technology that the turn signal cannot be turned on promptly and accurately, and improves driving safety and accuracy.

CN118596985BActive Publication Date: 2024-10-29厦门中科星晨科技有限公司
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202411090801.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-09
Publication Date
2024-10-29
Estimated Expiration
2044-08-09

AI Technical Summary

Technical Problem

In the existing technology, the turn signals of automated terminals cannot be lit promptly and accurately according to the vehicle's steering requirements, resulting in insufficient driving safety and inability to effectively alert nearby vehicles.

Method used

By obtaining the vehicle's driving path and positioning information, it determines the steering preview point and lane orientation, calculates the steering angle and deviation distance, automatically controls the turning on of the turn signal, and ensures that the turn signal lights up in advance to predict the vehicle's steering needs.

Benefits of technology

It achieves accurate and timely lighting of the turn signal, improves driving safety, and reduces the driver's operating burden. It is suitable for unmanned and traditional driving vehicles, especially in complex areas with high accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118596985B_ABST
    Figure CN118596985B_ABST
Patent Text Reader

Abstract

The present disclosure provides a turn signal control method and electronic device for an autonomous driving vehicle, and relates to the field of autonomous driving technology. It includes: obtaining a steering preview point of the vehicle according to the driving path of the vehicle; obtaining the vehicle driving path orientation in the world coordinate system according to the driving path; determining the lane orientation in the world coordinate system according to the positioning information of the vehicle, wherein the positioning information includes the vehicle orientation and the vehicle position information; determining the effective lane orientation according to the lane orientation and the vehicle driving path orientation; obtaining the steering angle according to the effective lane orientation and the vehicle orientation; determining the deviation distance of the steering preview point relative to the effective lane orientation according to the steering angle; and controlling the turning on of the turn signal according to the deviation distance. The turn signal is automatically turned on in advance to predict the vehicle's steering needs and provide steering prompts to nearby vehicles, thereby ensuring driving safety with high accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0002] As a hub of transportation, ports play a vital role in promoting trade development, and operational efficiency is crucial to ports. With the development of the times, ports are also undergoing digital and fully automated transformation and upgrading. Nowadays, port operations are developing towards automation, with an increasing number of automated terminals and automated operations that are constantly improving work efficiency, which not only increases the vitality of ports but also saves labor costs.

[0003] Unmanned container trucks are widely used in port operations, but there are still many problems in controlling the lighting of turn signals of unmanned vehicles, which cannot ensure driving safety. In the existing technology, for example, whether to light up the turn signal is determined based on the steering wheel angle, but it has the problem of insufficient sensitivity; the function of identifying and turning on the turn signal when changing lanes at a small angle is adopted, but it cannot control the turn signal to turn on in advance; whether to light up the turn signal is determined based on the gyroscope or other sensors, but the accuracy is not enough and it is easy to make misjudgments.

[0004] Therefore, there is an urgent need for a technical solution that can timely and accurately control the lighting of the turn signal according to the vehicle's steering needs to ensure driving safety and provide effective prompts to nearby vehicles.

[0005] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention

[0006] The purpose of the present disclosure is to provide a turn signal control method and electronic device for an autonomous driving vehicle, which at least to some extent overcomes the problem that the turn signals of the related art cannot be lit in time according to the turning requirements.

[0007] Other features and advantages of the present disclosure will become apparent from the following detailed description, or may be learned in part by the practice of the present disclosure.

[0008] According to one aspect of the present disclosure, a turn signal control method for an autonomous driving vehicle is provided, comprising:

[0009] According to the driving path of the vehicle, obtaining the steering preview point of the vehicle;

[0010] Acquire the vehicle driving path direction in the world coordinate system according to the driving path;

[0011] Determining the lane orientation in the world coordinate system according to the positioning information of the vehicle, wherein the positioning information includes the vehicle orientation and the vehicle position information;

[0012] Determining an effective lane orientation according to the lane orientation and the vehicle travel path orientation;

[0013] Acquire a steering angle according to the effective lane orientation and the vehicle orientation;

[0014] Determining a deviation distance of the steering preview point relative to the effective direction of the lane according to the steering angle;

[0015] The turning signal lamp is controlled to be turned on according to the deviation distance.

[0016] In one embodiment of the present disclosure, the step of obtaining a steering preview point of the vehicle according to a driving path of the vehicle includes:

[0017] Obtaining the current speed of the vehicle;

[0018] Presetting a preset time, and acquiring a first preset distance according to the preset time and the current driving speed;

[0019] Presetting a second preset distance;

[0020] A maximum distance is selected according to the first preset distance and the second preset distance as the preview distance, and a position along the driving path forward by the preview distance is determined as the turning preview point.

[0021] In one embodiment of the present disclosure, the step of acquiring the vehicle driving path orientation in a world coordinate system according to the driving path includes:

[0022] Acquire two preset path points ahead of the driving path, wherein, in the vehicle body coordinate system, the first path point is ahead of the driving path by a third preset distance, the second path point is ahead of the driving path by a fourth preset distance, and both the third preset distance and the fourth preset distance are smaller than the preview distance;

[0023] The two preset path points are converted into a world coordinate system, and the vehicle driving path direction is obtained according to the two preset path points.

[0024] In one embodiment of the present disclosure, determining the lane orientation of the vehicle in a world coordinate system according to the positioning information of the vehicle includes:

[0025] Obtaining the positioning information in a world coordinate system;

[0026] Determining whether lane orientation information exists in the positioning information;

[0027] If the lane direction information exists, assigning the lane direction to the current lane direction in the lane direction information;

[0028] If the lane direction information does not exist, the lane direction is assigned as the vehicle driving path direction.

[0029] In one embodiment of the present disclosure, determining the lane orientation of the vehicle in the world coordinate system according to the positioning information of the vehicle and the driving condition of the vehicle further includes:

[0030] Calculating a first angle between the lane orientation and the vehicle orientation;

[0031] Determining a driving condition of the vehicle according to the first angle, wherein the driving condition of the vehicle includes forward and reverse driving;

[0032] If the vehicle is traveling in the opposite direction, the value assigned to the lane direction is increased by π.

[0033] In one embodiment of the present disclosure, determining the driving condition of the vehicle according to the first angle includes:

[0034] If the first angle is greater than π / 2, it is determined that the vehicle is traveling in the opposite direction;

[0035] If the first angle is less than or equal to π / 2, it is determined that the vehicle is traveling in the forward direction.

[0036] In one embodiment of the present disclosure, determining the effective lane orientation according to the lane orientation and the vehicle driving path orientation includes:

[0037] In an initial state, assigning the lane effective orientation as the lane orientation;

[0038] Detecting whether the lane direction is consistent with the lane direction at a previous moment;

[0039] If they are inconsistent, assigning the lane effective direction to the lane direction at the previous moment;

[0040] Calculating a second angle between the effective direction of the lane and the direction of the vehicle;

[0041] If the second angle is greater than a first preset angle, determining a first difference between the vehicle orientation and the vehicle driving path orientation, and a second difference between the vehicle orientation and the lane orientation, wherein the first preset angle is greater than π / 4 and less than π / 2;

[0042] If the first difference is smaller than the second difference, the effective lane direction is assigned as the vehicle driving path direction.

[0043] In one embodiment of the present disclosure, it also includes:

[0044] Acquire a third angle between the vehicle orientation and the lane orientation;

[0045] If the third angle is less than or equal to a second preset angle, the lane effective orientation is assigned as the lane orientation, wherein the second preset angle is less than π / 18.

[0046] In one embodiment of the present disclosure, controlling the turning on of the turn signal lamp according to the deviation distance includes:

[0047] If the deviation distance is greater than or equal to a positive value of a third preset distance, the left turn signal is controlled to be turned on, wherein the third preset distance is less than 1.5 m;

[0048] If the deviation distance is less than or equal to the negative value of the third preset distance, the right turn signal is controlled to be turned on.

[0049] According to another aspect of the present disclosure, there is provided an electronic device, including:

[0050] Processor; and

[0051] A memory, configured to store executable instructions of the processor;

[0052] Wherein, the processor is configured to execute any one of the above-mentioned turn signal control methods for an autonomous driving vehicle by executing the executable instructions.

[0053] The embodiment of the present disclosure provides a turn signal control method for an autonomous driving vehicle, comprising: obtaining a turn preview point of the vehicle according to the driving path of the vehicle; obtaining the vehicle driving path orientation in a world coordinate system according to the driving path; determining the lane orientation in the world coordinate system according to the positioning information of the vehicle, wherein the positioning information includes the vehicle orientation and the vehicle position information; determining the effective lane orientation according to the lane orientation and the vehicle driving path orientation; obtaining the steering angle according to the effective lane orientation and the vehicle orientation; determining the deviation distance of the turn preview point relative to the effective lane orientation according to the steering angle; and controlling the turning on of the turn signal according to the deviation distance. According to the vehicle positioning, the vehicle driving path orientation, etc., the effective lane orientation capable of judging the turning demand is obtained, and according to the effective angle between the effective lane orientation and the current vehicle orientation, the direction to be turned can be judged in combination with the turn preview point, the turn signal is automatically lit in advance, the vehicle's steering demand is predicted, and a steering prompt is provided to nearby vehicles, thereby ensuring driving safety. And no manual control is required, which reduces the operating burden of the driver in traditional vehicles, and has high accuracy whether in normal straight lanes or complex areas such as intersections.

[0054] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0055] The accompanying drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the specification are used to explain the principles of the present disclosure. Obviously, the accompanying drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without creative work.

[0056] Figure 1 A flow chart of a turn signal control method for an autonomous driving vehicle in one embodiment of the present disclosure is shown;

[0057] Figure 2 A flow chart of another method for controlling a turn signal of an autonomous driving vehicle in one embodiment of the present disclosure is shown;

[0058] Figure 3 A schematic diagram of a vehicle scene showing a method for controlling a turn signal of an autonomous driving vehicle in one embodiment of the present disclosure;

[0059] Figure 4 A flow chart of a turn signal control method for an autonomous driving vehicle in accordance with an embodiment of the present disclosure is shown;

[0060] Figure 5 A schematic diagram of a vehicle scene showing a method for controlling a turn signal of an autonomous driving vehicle in another embodiment of the present disclosure;

[0061] Figure 6 A flow chart of a turn signal control method for an autonomous driving vehicle in accordance with an embodiment of the present disclosure is shown;

[0062] Figure 7 A schematic diagram of a partial scene showing a method for controlling a turn signal of an autonomous driving vehicle in another embodiment of the present disclosure;

[0063] Figure 8 A schematic diagram of a partial scene showing another method for controlling a turn signal of an autonomous driving vehicle in another embodiment of the present disclosure;

[0064] Fig. 9 A schematic diagram of a partial scene of a turn signal control method for an autonomous driving vehicle in another embodiment of the present disclosure is shown;

[0065] Fig.10 A structural block diagram of an electronic device in an embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0066] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that the disclosure will be more comprehensive and complete and to fully convey the concepts of the example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.

[0067] In addition, the accompanying drawings are only schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor devices and / or microcontroller devices.

[0068] The solution provided in the embodiment of the present application relates to the turn signal control technology of an unmanned vehicle, which is specifically described by the following embodiments:

[0069] In this embodiment, a turn signal control method for an autonomous driving vehicle is provided, comprising:

[0070] S101, obtaining a steering preview point of the vehicle according to a driving path of the vehicle;

[0071] The steering preview point is a position on the vehicle's front path. Figure 3 As shown in the figure, the driving path R of vehicle A, point p is the determined preview point. The vehicle turn signal represents the driver's turning intention, and its lighting should be ahead of the driver's actual turning action. Therefore, setting the preview point can judge the turning demand in advance according to the preview point.

[0072] The process of obtaining the driving path of the above-mentioned vehicle is that the horizontal transportation system of the vehicle sends the global path in the world coordinate system to the self-driving system, and the self-driving system converts the global path into a relative path in the relative body coordinate system according to the positioning information, that is, the driving path of the vehicle. Figure 3 The xy coordinate system in is the body coordinate system, and the x0y0 coordinate system is the world coordinate system.

[0073] Reference Figure 2 As shown, in a specific example, step S101 includes:

[0074] S201, obtaining the current driving speed of the vehicle;

[0075] Combination Figure 3As shown, the current driving speed of the vehicle, that is, the current actual vehicle speed, can be obtained based on the chassis information.

[0076] S202, presetting a preset time, and obtaining a first preset distance according to the preset time and the current driving speed;

[0077] In an optional example, the preset time can be set according to actual conditions and experience. For example, the preset time is set to 4s, and the first preset distance S1=v×t, where v is the current driving speed in m / s and t is the preset time.

[0078] S203, presetting a second preset distance;

[0079] The second preset distance S2 is a preset fixed distance, which can be set according to actual conditions and experience. For example, the second preset distance S2 is set to 20m.

[0080] S204: Select a maximum distance according to the first preset distance and the second preset distance as the preview distance, and determine a position along the driving path forward by the preview distance as the turning preview point.

[0081] Specifically, the final preview distance S is set to max(S1, S2), combined with Figure 3 As shown, the position determined after previewing a distance S forward along the driving path R is the turning preview point P.

[0082] S102, acquiring a vehicle driving path orientation in a world coordinate system according to the driving path;

[0083] Specifically, the vehicle driving path direction is the local path direction of the current vehicle, which is set as θ_path and used in subsequent explanations.

[0084] In a specific example, step S102 includes:

[0085] Acquire two preset path points ahead of the driving path, wherein, in the vehicle body coordinate system, the first path point is ahead of the driving path by a third preset distance, the second path point is ahead of the driving path by a fourth preset distance, and both the third preset distance and the fourth preset distance are smaller than the preview distance;

[0086] Combination Figure 3 As shown, the above two preset path points are path points a and b. The first path point a is at a third preset distance S3 ahead of the vehicle's driving path, which can be set according to actual application conditions and experience, for example, set to 2m, and the second path point b is at a fourth preset distance S4 ahead of the vehicle's driving path, which can be set to S4=S3+2m. The third preset distance S3 and the fourth preset distance S4 are less than the preview distance S from the vehicle.

[0087] The two preset path points are converted into a world coordinate system, and the vehicle driving path direction is obtained according to the two preset path points.

[0088] Specifically, it is converted into points in the world coordinate system, namely point A and point B, and the vehicle's driving path is calculated as θ_path=atan2(By-Ay, Bx-Ax). Where By and Bx represent point B, Ax and Ay represent point B, and the above is the code implementation expression.

[0089] S103, determining a lane orientation in the world coordinate system according to the positioning information of the vehicle, wherein the positioning information includes vehicle orientation and vehicle position information;

[0090] Specifically, the vehicle positioning information is the vehicle positioning information, which is obtained by fusing inertial navigation data and GPS data, and has higher accuracy. The positioning information is the position information in the world coordinate system. The positioning information includes: vehicle position information and vehicle direction car_heading, etc.

[0091] Reference Figure 4 As shown, in a specific example, step S103 includes:

[0092] S401, obtaining the positioning information in a world coordinate system;

[0093] S402, determining whether there is lane direction information in the positioning information;

[0094] Specifically, usually, the obtained positioning information contains lane direction information, but when it comes to area conversion, there may be a situation where there is no lane direction information. Figure 5 As shown, in the world coordinate system, lane Lane 1 is in area 1, lane Lane 2 is in area 2, and when it is in area 3, it involves conversion of different areas. Therefore, the lane direction information may not be obtained in the area, so the above judgment is required.

[0095] S403, if the lane orientation information exists, assigning the lane orientation to the current lane orientation in the lane orientation information;

[0096] Specifically, if the lane orientation information contains a current lane orientation θ_tmp, the lane orientation θ_lane is assigned to θ_tmp, and the angle is normalized to limit the range to -π to π.

[0097] S404: If the lane direction information does not exist, assign the lane direction as the vehicle driving path direction.

[0098] Specifically, if there is no lane orientation information, the lane orientation θ_lane is assigned to the vehicle driving path orientation θ_path.

[0099] Since lanes may have two-way traffic, the fixed direction in the above definition of lane orientation corresponds to only one fixed value, for example Figure 5 Lane 1 corresponds to θ_lane1, and lane 2 corresponds to θ_lane2. Inaccurate judgment may occur, so the driving direction of the vehicle will be determined again.

[0100] In another specific example, step S103 further includes:

[0101] Calculating a first angle between the lane orientation and the vehicle orientation;

[0102] Specifically, the first angle expression between the vehicle heading and the lane heading is dtheta = abs(car_heading -θ_lane), where abs represents the absolute value, and the angle is normalized to be between 0 and π.

[0103] Determining a driving condition of the vehicle according to the first angle, wherein the driving condition of the vehicle includes forward and reverse driving;

[0104] Specifically, if the first angle is greater than π / 2, it is determined that the vehicle is traveling in the reverse direction; if the first angle is less than or equal to π / 2, it is determined that the vehicle is traveling in the forward direction.

[0105] If the vehicle is traveling in the opposite direction, the value assigned to the lane direction is increased by π.

[0106] If the first angle dtheta > π / 2, the vehicle is traveling in the opposite direction, and the lane orientation θ_lane is set equal to the lane orientation θ_lane + π. If the first angle dtheta ≦ π / 2, the lane orientation θ_lane remains unchanged.

[0107] S104, determining an effective lane orientation according to the lane orientation and the vehicle driving path orientation;

[0108] In practice, vehicles at intersections or turns may easily make steering errors due to lane switching, so it is necessary to determine the validity of the lane direction used to determine the vehicle's turn signal. The lane direction θ_lane and the vehicle's driving path direction θ_path obtained above will be used to determine the lane's effective direction to ensure the accuracy of the determination.

[0109] Reference Figure 6 As shown, in a specific example, the above step S104 includes:

[0110] S601, in an initial state, assigning the lane effective orientation as the lane orientation;

[0111] Specifically, in the initial state, the effective lane orientation θ used to determine the vehicle turn signal is assigned to the lane orientation θ_lane.

[0112] S602, detecting whether the lane direction is consistent with the lane direction at a previous moment;

[0113] Specifically, refer to Figure 7 As shown, there may be three possible valid lane directions according to the positioning information at the intersection turn: the valid lane direction is equal to the lane direction of lane 2: the preview point p is on the left side of the x-axis, combined with the subsequent determination that the left turn signal is on, this is the correct expectation; there is no lane direction: according to the above step S404, in this case, the valid lane direction θ will be assigned to the vehicle's driving path direction θ_path: Figure 8 As shown in the figure, the preview point p is on the right side of the x-axis. At this time, the subsequent judgment that the right turn signal is on is an incorrect expectation. The effective lane direction is equal to the lane direction of lane1. In the subsequent judgment, the current lane direction θ_lane will be set to θ_path. When determining the turn signal strategy, it will also be judged as an incorrect expectation. Therefore, it is necessary to determine the consistency between the lane direction θ_lane and the lane direction θ_lane_prev at the previous moment.

[0114] S603, if they are inconsistent, assigning the lane effective orientation to the lane orientation at the previous moment;

[0115] Combined with the above analysis, in order to ensure the correctness of the expectation, when the lane orientation θ_lane at the current moment is inconsistent with the lane orientation θ_lane_prev at the previous moment, the effective lane orientation θ is assigned to the lane orientation θ_lane_prev at the previous moment. If they are consistent, the effective lane orientation θ in the initial state is still assigned to the lane orientation θ_lane.

[0116] In order to update the effective lane direction in time, the following steps S604~S605 are executed.

[0117] S604, calculating a second angle between the effective lane orientation and the vehicle orientation;

[0118] Specifically, the angle between the effective lane heading θ and the vehicle heading car_heading is dtheta1 = abs(car_heading - θ), and is normalized to be between 0 and π.

[0119] S605: if the second angle is greater than a first preset angle, determine a first difference between the vehicle orientation and the vehicle driving path orientation, and a second difference between the vehicle orientation and the lane orientation, wherein the first preset angle is greater than π / 4 and less than π / 2;

[0120] In the above step S603, the effective lane orientation has been maintained. However, when the second angle between the actual vehicle orientation and the effective lane orientation is greater than the first preset angle, the first preset angle can be set based on experience, usually between 45° and 90°. The preferred first preset angle is 65°. The second angle > 65° indicates that the maintained effective lane orientation is no longer applicable and should be updated. Continue to determine the first difference between the vehicle orientation car_heading and the vehicle driving path orientation θ_path, and the second difference between the vehicle orientation car_heading and the lane orientation θ_lane.

[0121] S606: If the first difference is smaller than the second difference, assigning the effective direction of the lane as the direction of the vehicle's driving path.

[0122] If yes, the lane effective direction θ is assigned to the vehicle's driving path direction θ_path, otherwise the lane effective direction θ is assigned to the lane direction θ_lane. Fig. 9 As shown, the effective lane direction in the coordinate system x1y1 will be assigned to the lane direction θ_lane, and the effective lane direction in the coordinate system x2y2 will be assigned to the vehicle's driving path direction θ_path. If no comparison is made, the effective lane direction is directly assigned to the lane direction θ_lane. At this time, combined with subsequent operations, it will be determined that the right turn signal is on, which is an incorrect expectation. However, after comparison according to this step, the effective lane direction will be assigned to the vehicle's driving path direction θ_path. At this time, combined with subsequent operations, it will be determined that the left turn signal is on, which is a correct expectation. Timely and effective update of the effective lane, whether in normal straight lanes or complex areas such as intersections, has a high degree of accuracy.

[0123] In a specific example, it also includes:

[0124] Acquire a third angle between the vehicle orientation and the lane orientation;

[0125] If the third angle is less than or equal to a second preset angle, the lane effective orientation is assigned as the lane orientation, wherein the second preset angle is less than π / 18.

[0126] The third angle between the vehicle heading and the lane heading, the expression of the third angle is abs(car_heading - θ_lane), judge whether the third angle is less than the second preset angle, the second preset angle is small, the optional value is less than π / 18, the preferred value is 5°, if it is less than 5°, the lane effective heading θ is assigned to the lane heading θ_lane. This means that the angle difference between the vehicle heading and the lane heading is very small, and the lane effective heading is updated to the closer lane heading θ_lane. If it is greater than or equal to the second preset angle, the assignment of the lane effective heading does not change.

[0127] S105, obtaining a steering angle according to the effective lane orientation and the vehicle orientation;

[0128] Calculate the angle between the vehicle direction car_heading and the effective lane direction θ. The steering angle is set to dtheta2, which is expressed as: dtheta2 = θ - car_heading. After angle standardization, the value range is -π to π.

[0129] S106, determining a deviation distance of the steering preview point relative to the direction of the effective lane according to the steering angle;

[0130] Specifically, obtain the preview point p at a distance S ahead of the current route of the vehicle, set p (preview_x, preview_y), and solve the deviation distance: y = -sin(dtheta2)* dpreview_x + cos(dtheta2)*dpreview_y. Among them, y is the deviation distance, and the deviation degree of the preview point p relative to the effective lane direction θ is obtained through the above calculation.

[0131] S107: Controlling turning on of the turn signal lamp according to the deviation distance.

[0132] Specifically, if the deviation distance is greater than a positive value of a third preset distance, the left turn signal is controlled to be turned on, wherein the third preset distance is less than 1.5 m;

[0133] If the deviation distance is less than the negative value of the third preset distance, the right turn signal is controlled to be turned on.

[0134] The third preset distance can be preset according to actual conditions and experience. The value of the third distance will affect the sensitivity of the turn signal judgment. The smaller the distance, the easier it is to light up the turn signal. Optionally, the third preset distance is less than 1.5m, and the preferred third preset distance is 0.9m. If y > 0.9m, it means that the vehicle is about to drive left, and the left turn signal is turned on; if y < -0.9m, it means that the vehicle is about to drive right, and the right turn signal is turned on; otherwise, the turn signal is not turned on.

[0135] The above scheme of this embodiment designs a strategy for lighting the turn signal through information such as vehicle positioning, route direction and lane direction. This strategy can predict the vehicle's turning needs and automatically light up the turn signal in advance, so that the vehicle can provide turning prompts to nearby vehicles when there is a turning need, thereby ensuring driving safety. The software automatically determines and transmits the determination result to the turn signal controller to automatically light up or turn off the turn signal without manual operation. It can be applied to unmanned driving and traditional driving. When used in traditional vehicles, it reduces the driver's operation in frequent turning conditions, allowing him to focus more on driving the vehicle. When used in unmanned vehicles, it plays the role of prompting nearby vehicles with turning information during the turning process of the unmanned vehicle. Whether in normal straight lanes or complex areas such as intersections, it has high accuracy.

[0136] In yet another embodiment, an electronic device is provided, comprising:

[0137] Processor; and

[0138] A memory, configured to store executable instructions of the processor;

[0139] Wherein, the processor is configured to execute any one of the above-mentioned turn signal control methods for an autonomous driving vehicle by executing the executable instructions.

[0140] It will be appreciated by those skilled in the art that various aspects of the present invention may be implemented as a system, method or program product. Therefore, various aspects of the present invention may be specifically implemented in the following forms, namely: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software, which may be collectively referred to herein as a "circuit", "module" or "system".

[0141] Refer to the following Fig.10 The electronic device 1000 according to this embodiment of the present invention will be described. Fig.10 The electronic device 1000 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0142] like Fig.10 As shown, the electronic device 1000 is in the form of a general computing device. The components of the electronic device 1000 may include but are not limited to: the at least one processing unit 1010, the at least one storage unit 1020, and a bus 1030 connecting different system components (including the storage unit 1020 and the processing unit 1010).

[0143] The storage unit stores program codes, which can be executed by the processing unit 1010, so that the processing unit 1010 performs the steps according to various exemplary embodiments of the present invention described in the above “Exemplary Method” section of this specification. For example, the processing unit 1010 can perform the following steps: Figure 1 The turn signal control method of the autonomous driving vehicle is shown in .

[0144] The storage unit 1020 may include a readable medium in the form of a volatile storage unit, such as a random access storage unit (RAM) 10201 and / or a cache storage unit 10202 , and may further include a read-only storage unit (ROM) 10203 .

[0145] The storage unit 1020 may also include a program / utility 10204 having a set (at least one) of program modules 10205, such program modules 10205 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.

[0146] Bus 1030 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.

[0147] The electronic device 1000 may also communicate with one or more external devices 1100 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 1000, and / or may communicate with any device that enables the electronic device 1000 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed through an input / output (I / O) interface 1050. In addition, the electronic device 1000 may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) through a network adapter 1060. As shown, the network adapter 1060 communicates with other modules of the electronic device 1000 through a bus 1030. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 1000, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, etc.

[0148] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes a number of instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the implementation of the present disclosure.

[0149] In an exemplary embodiment of the present disclosure, a computer-readable storage medium is also provided, on which a program product capable of implementing the above method of the present specification is stored. In some possible implementations, various aspects of the present invention can also be implemented in the form of a program product, which includes a program code, and when the program product is run on a terminal device, the program code is used to enable the terminal device to execute the steps according to various exemplary embodiments of the present invention described in the above "Exemplary Method" section of the present specification.

[0150] A program product for implementing the above method according to an embodiment of the present invention is described, which can adopt a portable compact disk read-only memory (CD-ROM) and include program code, and can be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited thereto, and in this document, a readable storage medium can be any tangible medium containing or storing a program, which can be used by or in combination with an instruction execution system, an apparatus or a device.

[0151] The program product may be any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination thereof. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof.

[0152] Computer readable signal media may include data signals propagated in baseband or as part of a carrier wave, in which readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Readable signal media may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0153] The program code embodied on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.

[0154] Program code for performing the operations of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java, C++, etc., and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., via the Internet using an Internet service provider).

[0155] It should be noted that, although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into multiple modules or units to be embodied.

[0156] In addition, although the steps of the method in the present disclosure are described in a specific order in the drawings, this does not require or imply that the steps must be performed in this specific order, or that all the steps shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps, etc.

[0157] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by combining software with necessary hardware. Therefore, the technical solution according to the implementation of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a mobile terminal, or a network device, etc.) to execute the method according to the implementation of the present disclosure.

[0158] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any modification, use or adaptation of the present disclosure, which follows the general principles of the present disclosure and includes common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the appended claims.

Claims

1. A method for controlling a turn signal of an automatic driving vehicle, characterized in that: include: According to the driving path of the vehicle, obtaining the steering preview point of the vehicle; Acquire the vehicle driving path direction in the world coordinate system according to the driving path; Determining the lane orientation in the world coordinate system according to the positioning information of the vehicle, wherein the positioning information includes the vehicle orientation and the vehicle position information; comprising: obtaining the positioning information in the world coordinate system; determining whether there is lane orientation information in the positioning information; if there is the lane orientation information, assigning the lane orientation to the current lane orientation in the lane orientation information; if there is no lane orientation information, assigning the lane orientation to the vehicle driving path orientation; Determine the effective lane orientation according to the lane orientation and the vehicle driving path orientation; including: in an initial state, assign the effective lane orientation as the lane orientation; detect whether the lane orientation is consistent with the lane orientation at the previous moment; if not, assign the effective lane orientation as the lane orientation at the previous moment; calculate a second angle between the effective lane orientation and the vehicle orientation; if the second angle is greater than a first preset angle, determine a first difference between the vehicle orientation and the vehicle driving path orientation, and a second difference between the vehicle orientation and the lane orientation, wherein the first preset angle is greater than π / 4 and less than π / 2; if the first difference is less than the second difference, assign the effective lane orientation as the vehicle driving path orientation; Acquire a third angle between the vehicle orientation and the lane orientation; If the third angle is less than or equal to a second preset angle, assigning the lane effective orientation as the lane orientation, wherein the second preset angle is less than π / 18; Acquire a steering angle according to the effective lane orientation and the vehicle orientation; Determining a deviation distance of the steering preview point relative to the effective direction of the lane according to the steering angle; The turning signal lamp is controlled to be turned on according to the deviation distance.

2. The turn signal control method of the automatic driving vehicle according to claim 1, characterized in that: The step of obtaining a steering preview point of the vehicle according to the driving path of the vehicle includes: Obtaining the current speed of the vehicle; Presetting a preset time, and acquiring a first preset distance according to the preset time and the current driving speed; Presetting a second preset distance; A maximum distance is selected according to the first preset distance and the second preset distance as the preview distance, and a position along the driving path forward by the preview distance is determined as the turning preview point.

3. The turn signal control method of the automatic driving vehicle according to claim 2, characterized in that: The step of obtaining the vehicle driving path orientation in a world coordinate system according to the driving path includes: Acquire two preset path points ahead of the driving path, wherein, in the vehicle body coordinate system, the first path point is ahead of the driving path by a third preset distance, the second path point is ahead of the driving path by a fourth preset distance, and both the third preset distance and the fourth preset distance are smaller than the preview distance; The two preset path points are converted into a world coordinate system, and the vehicle driving path direction is obtained according to the two preset path points.

4. The turn signal control method of the automatic driving vehicle according to claim 1, characterized in that: The determining the lane orientation of the vehicle in the world coordinate system according to the positioning information of the vehicle and the driving condition of the vehicle further includes: Calculating a first angle between the lane orientation and the vehicle orientation; Determining a vehicle driving condition according to the first angle, wherein the vehicle driving condition includes forward driving and reverse driving; If the vehicle is traveling in the opposite direction, the value assigned to the lane direction is increased by π.

5. The turn signal control method of the automatic driving vehicle according to claim 4, characterized in that: The determining the driving condition of the vehicle according to the first angle includes: If the first angle is greater than π / 2, it is determined that the vehicle is traveling in the opposite direction; If the first angle is less than or equal to π / 2, it is determined that the vehicle is traveling in the forward direction.

6. The method for controlling a turn signal of an automatic driving vehicle according to claim 1, characterized in that: The step of controlling the turning on of the turn signal lamp according to the deviation distance comprises: If the deviation distance is greater than a positive value of a third preset distance, controlling to turn on the left turn signal, wherein the third preset distance is less than 1.5 m; If the deviation distance is less than the negative value of the third preset distance, the right turn signal is controlled to be turned on.

7. An electronic device, characterized in that: include: processor; as well as A memory, configured to store executable instructions of the processor; Wherein, the processor is configured to execute the turn signal control method of an autonomous driving vehicle as described in any one of claims 1 to 6 by executing the executable instructions.

Citation Information

Patent Citations

  • Steering signal lamp automatic control method and system based on automatic driving

    CN107161075A