Vehicle turn signal control method and system, device, medium, product
By judging the relative position and direction of movement of the vehicle's front wheels and lane lines, the system automatically corrects the direction of the turn signal indication, solving the problem of the turn signal not matching the lane change trend and improving the safety and accuracy of lane changes.
Patent Information
- Application Number
- CN202411681473.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-22
- Publication Date
- 2026-02-06
- Estimated Expiration
- 2044-11-22
AI Technical Summary
In existing technologies, the turn signal switch control cannot accurately judge the lane change trend in both intelligent driving and non-intelligent driving modes, resulting in the turn signal direction not matching the actual lane change direction, which affects driving safety.
By judging the relative position and direction of movement of the target front wheel of the vehicle with the lane line, the conditions for turning on and off the turn signal are determined, including the intersection, contact and crossing of the target front wheel with the lane line, and the direction of the turn signal indication is automatically corrected to be consistent with the lane change trend.
It improves the accuracy of turn signal switches, ensuring correct turn signal indication when changing lanes, reducing safety hazards caused by misoperation, and enhancing the safety of lane changes and the driver's driving experience.
Smart Images

Figure CN119283763B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of vehicle control, in particular to a vehicle turn signal control method and system, device, medium and product. BACKGROUND
[0002] In the prior art, the method for controlling the turn signal of a vehicle relies on the intelligent driving (hereinafter referred to as intelligent driving) mode and the non-intelligent driving (hereinafter referred to as non-intelligent driving) mode. When the driving mode of the vehicle is the intelligent driving mode, the turn signal on one side is turned on. When a temporary sudden situation such as road construction appears in front of the vehicle, the intelligent driving mode cannot handle the traffic situation. The vehicle is manually taken over to control the vehicle to change lanes to change the lane changing trend in the intelligent driving mode and avoid the influence of the front sudden situation on driving, which requires the turn signal to be turned off or corrected. However, because the intelligent driving mode has been exited at this time, the driver is prone to ignore the turned-on turn signal, so that the turn signal that has been turned on in the intelligent driving mode continues to be turned on due to the driver's unawareness, and therefore the turn signal cannot be corrected or turned off in time.
[0003] When the driving mode of the vehicle is the non-intelligent driving mode, the angle data of the steering wheel can be collected so that the driver can analyze whether the vehicle is operated to change lanes according to the angle data, thereby determining whether to turn on or turn off the turn signal. However, in some cases (for example, when the vehicle is driving on a highway), the steering wheel of the vehicle changes little, which leads to the driver being unable to accurately determine whether to turn on or turn off the turn signal according to the angle data. When changing lanes in a curve with a certain curvature, although the vehicle maintains the original driving state and trajectory, the turn signal still cannot be turned on or turned off because the vehicle may need to change lanes.
[0004] Or the driver turns on the turn signal by himself, but the driver is prone to ignore the situation that the indication direction of the turn signal is inconsistent with the actual lane changing direction, so the accuracy of turning on or turning off the turn signal in the prior art needs to be improved. SUMMARY
[0005] Therefore, a vehicle turn signal control method and system, device, medium and product are provided to solve the problem that the turn signal cannot be corrected when the direction of the turn signal is inconsistent with the actual lane changing direction in the prior art.
[0006] In one aspect, a vehicle turn signal control method is provided, which comprises:
[0007] determining that the vehicle meets a first preset condition and obtaining the direction to be turned indicated by a first turn signal in an on state of the vehicle; the first preset condition comprises that a vertical projection line of a target front wheel of the vehicle on a road surface intersects with a target lane line;
[0008] determining that the vehicle reaches a second preset condition, and turning off the first turn signal; the second preset condition comprises: the direction of the first turn signal is inconsistent with the direction of movement of the target front wheel, and the first distance between the target front wheel and the target lane line increases to a preset first interval distance after the first distance decreases to zero; the direction of movement is determined according to the relative distance between the target front wheel and the target lane line.
[0009] Optionally, after the determining that the vehicle reaches the second preset condition, the first turn signal is turned off, the method further comprises:
[0010] turning on a second turn signal; the direction of the second turn signal is inconsistent with the direction of the first turn signal.
[0011] Optionally, the determining that the vehicle reaches the second preset condition comprises:
[0012] in response to the target front wheel being located on a first side of the target lane line, determining that the first distance decreases to zero;
[0013] determining that the first distance increases to a preset first interval distance;
[0014] in response to the first distance continuously increasing from the first interval distance until the first interval distance reaches a preset second interval distance, and the target front wheel being located on a second side of the target lane line, determining that the vehicle reaches the second preset condition; the first side is inconsistent with the second side;
[0015] wherein the second interval distance is greater than the first interval distance.
[0016] Optionally, after the turning on the second turn signal, the method further comprises:
[0017] determining that a second distance between a target rear wheel of the vehicle and the target lane line decreases to zero; the target rear wheel and the target front wheel are located on two sides of the vehicle, respectively;
[0018] in response to the second distance increasing to a preset third interval distance, turning off the second turn signal.
[0019] Optionally, after the turning off the first turn signal, the method further comprises:
[0020] after a first preset time interval, in response to the target front wheel being located on a first side of the target lane line, determining that the third distance between the target front wheel and the target lane line decreases to zero;
[0021] determining that the third distance increases to a preset fourth interval distance;
[0022] in response to the third distance continuously increasing from the fourth interval distance until the fourth interval distance reaches a preset fifth interval distance, and the target front wheel being located on a second side of the target lane line, turning on the first turn signal;
[0023] wherein the fifth interval distance is greater than the fourth interval distance; and the first side is different from the second side.
[0024] Optionally, the determining that the vehicle reaches a second preset condition comprises:
[0025] In a second preset time period, in response to a first distance between the target front wheel and the target lane line being greater than a preset sixth interval distance, the vehicle is determined to reach the second preset condition.
[0026] In a second aspect, a control system of a vehicle turn signal is provided, and the control system comprises:
[0027] An acquisition module is configured to determine that a vehicle reaches a first preset condition, and acquire a turning direction indicated by a first turn signal of the vehicle in an on state; the first preset condition comprises that a vertical projection line of a target front wheel of the vehicle on a road surface intersects with a target lane line;
[0028] A determination module is configured to determine that the vehicle reaches a second preset condition, and turn off the first turn signal; the second preset condition comprises that a turning direction indicated by the first turn signal is different from a movement direction of the target front wheel, and after the first distance between the target front wheel and the target lane line decreases to zero, the first distance increases to a preset first interval distance; the movement direction is determined according to a relative distance between the target front wheel and the target lane line.
[0029] In a third aspect, an electronic device is provided, which comprises a memory, a processor, and a computer program stored in the memory and used to run on the processor; when the processor executes the computer program, the control method of the first aspect is implemented.
[0030] In a fourth aspect, a computer readable storage medium is provided, which stores a computer program; when the processor executes the computer program, the control method of the first aspect is implemented.
[0031] In a fifth aspect, a computer program product is provided, which comprises a computer program; when the processor executes the computer program, the control method of the first aspect is implemented.
[0032] On the basis of common sense in the art, the above-mentioned preferred conditions can be combined arbitrarily, i.e. the preferred examples of the present application are obtained.
[0033] The vehicle turn signal control method, system, device, medium and product can determine whether the turning direction of the turn signal is consistent with the lane changing trend by judging whether the turning direction indicated by the turn signal is consistent with the movement direction of the target front wheel, thereby determining whether to turn off the turn signal or to correct the turning direction indicated by the turn signal in time, improving the accuracy of automatically turning off the turn signal or correcting the turning direction indicated by the turn signal, and improving the safety of lane changing. BRIEF DESCRIPTION OF DRAWINGS
[0034] Figure 1 A first flowchart of the vehicle turn signal control method in an embodiment;
[0035] Figure 2 A schematic diagram of the wheel vertical projection line of the vehicle turn signal control method in an embodiment;
[0036] Figure 3 A first schematic diagram of confirming the movement direction of the vehicle turn signal control method in an embodiment;
[0037] Figure 4 A second schematic diagram of confirming the movement direction of the vehicle turn signal control method in an embodiment;
[0038] Figure 5 A second flowchart of the vehicle turn signal control method in an embodiment;
[0039] Figure 6 A structural schematic diagram of the vehicle turn signal control system in an embodiment;
[0040] Figure 7 A structural schematic diagram of the electronic device in an embodiment. DETAILED DESCRIPTION
[0041] In order to make the purpose, technical scheme and advantages of the present application clearer, the present application will be further described in detail below with reference to the drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and do not limit the present application.
[0042] It is to be noted that the drawings provided in the present embodiment only schematically illustrate the basic concept of the present application, and thus the drawings only show the components related to the present application, rather than being drawn according to the number, shape and size of the components in actual implementation. The shape, number and proportion of each component in actual implementation can be arbitrarily changed, and the layout pattern of the components can be more complex. The structure, proportion, size, etc. shown in the drawings attached to the present specification are only used to cooperate with the content disclosed in the specification, so as to be understood and read by those skilled in the art, and do not define the limiting conditions for the implementation of the present application, and therefore do not have technical significance. Any modification of the structure, change of the proportional relationship or adjustment of the size, without affecting the effect and purpose that can be achieved by the present application, should still fall within the scope of the technical content disclosed by the present application. At the same time, the terms such as "upper", "lower", "left", "right", "middle" and "one" in the present specification are only for the convenience of clear description, and are not used to limit the scope of the implementation of the present application. The change or adjustment of the relative relationship, without substantially changing the technical content, is also considered as the scope of the implementation of the present application.
[0043] Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase that the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are they necessarily mutually exclusive of other embodiments. It is explicitly contemplated that embodiments described herein can be combined with each other.
[0044] As used herein, unless the context clearly indicates otherwise, the words "comprise", "comprising", "consisting of" and the like range over the term "include", "including" and the like, and vice versa, so as to cover a non-exclusive inclusion. As used herein, unless the context clearly indicates otherwise, the words "one", "a", "an", and / or "the" do not necessarily refer to the singular but can also include the plural, unless the context clearly indicates otherwise. Generally, the terms "comprise" and "comprising" are merely to specify the presence of stated steps or elements and are not to be construed as limiting the method or device to consist only of the stated steps or elements.
[0045] As used herein, the term "have", "has", "having", "include", "includes", "including" or "comprise", "comprises", "comprising" as used herein, indicate the presence of what follows "have", "has", "having", "include", "includes", "including" or "comprise", "comprises", "comprising" in the description, and do not limit the existence of one or more other features, operations, elements, components, or combinations thereof. In addition, it should be understood that the terms "include" or "have" as used herein indicate the presence of features, numbers, steps, operations, elements, components or combinations thereof described in the specification, and do not exclude the presence or addition of one or more other features, numbers, steps, operations, elements, components or combinations thereof.
[0046] The prefix words such as "first", "second" in the embodiments of the present application are only used to distinguish different description objects, and have no limiting effect on the position, order, priority, quantity or content of the described objects. The use of ordinal words such as "first" in the embodiments of the present application does not constitute a limitation on the described objects, and the description of the described objects should be referred to the description in the context of claims or embodiments, and should not constitute redundant limitation because of the use of such prefix words. In addition, in the description of the embodiments, unless otherwise stated, the meaning of "a plurality of" is two or more than two.
[0047] Figure 1 A control method of a vehicle turn signal is provided for an exemplary embodiment of the present application, and the control method comprises:
[0048] S11, determining that the vehicle reaches a first preset condition, and obtaining a turning direction indicated by a first turn signal of the vehicle in an on state.
[0049] The first preset condition comprises that a vertical projection line of a target front wheel of the vehicle on a road surface intersects with a target lane line.
[0050] The target front wheel can be a left front wheel or a right front wheel of the vehicle, and the target lane line can be a lane line on the left side of the target front wheel or a lane line on the right side of the target front wheel. When any front wheel of the vehicle is pressed on any lane line, the front wheel is determined as the target front wheel, and the lane line is determined as the target lane line.
[0051] When the vertical projection line of any front wheel of the vehicle on the road surface intersects with the target lane line, the front wheel is determined as the target front wheel. The image of the vehicle and the surrounding of the vehicle can be collected by the camera of the vehicle, including the vertical projection line of the wheel on the road surface. The vertical projection line of the wheel on the road surface is a line formed by projecting the wheel along the direction perpendicular to the road surface. As shown in the figure, Figure 2 The vertical projection of the wheel is an oval shape, and the line segment MN between the two foci M and N of the oval shape is the vertical projection line of the wheel on the road surface. The center point of the vertical projection line MN is the contact point of the wheel and the ground, that is, the intersection point of the target front wheel and the target lane line.
[0052] When the vertical projection line of the target front wheel of the vehicle on the road surface intersects with the target lane line, it is determined that the target front wheel is pressed on the target lane line, and it can be determined that the vehicle has a lane changing trend. In order to further improve the accuracy of automatically turning on / off the turn signal or correcting the turning direction indicated by the turn signal, the turning direction indicated by the first turn signal of the vehicle in the on state can be obtained, and whether the turning direction indicated by the first turn signal is consistent with the lane changing trend can be determined to determine whether the turn signal of the vehicle needs to be corrected.
[0053] S12, determining that the vehicle reaches a second preset condition, and turning off the first turn signal.
[0054] The second preset condition includes: the direction to be turned indicated by the first turn signal is inconsistent with the direction of movement of the target front wheel, and after the first distance between the target front wheel and the target lane line is reduced to zero, the first distance is increased to the preset first interval distance.
[0055] The first interval distance is a preset value, such as 0.3 meters, 0.5 meters, etc.
[0056] The direction of movement is determined by the relative distance between the target front wheel and the target lane line. For example... Figure 3 As shown, for example, using the target lane line as a baseline, the east side of the target lane line is positive, and the west side is negative. When the target front wheel is at point p1, it is located east of the target lane line. At this time, the distance between the target front wheel and the target lane line is d1, where d1 is 1m. Therefore, the relative distance between the target front wheel and the target lane line is 1m. Figure 4 As shown, when the target front wheel is at point p2, it is located west of the target lane line. At this time, the distance between the target front wheel and the target lane line is d2, which is 0.5m. The relative distance between the target front wheel and the target lane line is -0.5m. The relative distance between the target front wheel and the target lane line is not positive or negative when the target front wheel is at point p1 and point p2. When the target front wheel moves from point p1 to point p2, the sign of the relative distance changes from positive to negative, indicating that the target front wheel moves from the east side to the west side of the target lane line, and the direction of movement of the target front wheel is westward.
[0057] When the initial distance between the target front wheel and the target lane line decreases to zero and then increases to a preset first interval distance, it can be determined that the target front wheel is approaching the target lane line. This continues until it contacts the target lane line, meaning the initial distance decreases to zero and then crosses the target lane line, or the initial distance increases to the preset first interval distance. If the direction indicated by the first turn signal is inconsistent with the direction of movement of the target front wheel, it can be determined that the direction indicated by the first turn signal is inconsistent with the vehicle's lane-changing trend. For example, if the vehicle is changing lanes to the left, but the direction indicated by the first turn signal is a right turn, it can be determined that the direction indicated by the first turn signal is incorrect and the first turn signal needs to be turned off. Alternatively, if the direction indicated by the first turn signal is correct, but the target front wheel encounters a sudden situation after crossing the lane line, such as a vehicle suddenly approaching from behind, and needs to urgently turn the front wheel back to the original lane, then the direction of movement of the front wheel is inconsistent with the direction indicated by the first turn signal, and the first turn signal needs to be turned off.
[0058] The problem that the turn signal does not match the actual lane changing direction cannot be solved at present. If the driving mode of the vehicle is a non-intelligent driving mode, the direction indicated by the turn signal does not match the lane changing trend in the case of mis-opening the turn signal, and the non-intelligent driving mode cannot automatically correct or close. The control method of the turn signal provided in the present application can determine whether the vehicle has a lane changing trend by judging whether the target front wheel approaches and passes the target lane line or by judging whether the target front wheel is pressed on the target lane line, and determine the movement direction of the target front wheel when the vehicle has a lane changing trend. By judging whether the direction indicated by the turn signal and the movement direction of the target front wheel are consistent, it is judged whether the direction indicated by the turn signal of the vehicle is consistent with the lane changing trend, and the turn signal is automatically corrected when they are inconsistent, the mis-opened turn signal is closed, and the safety of lane changing is improved.
[0059] In the present application, whether the vehicle has a lane changing trend is determined by judging whether the target front wheel of the vehicle and the target lane line intersect the target lane line and then pass the target lane line, thereby improving the accuracy of determining the lane changing trend of the vehicle and avoiding the safety threat caused by the failure to automatically open the turn signal when the vehicle changes lanes in a curve with a certain curvature while maintaining the original driving state and trajectory.
[0060] In one embodiment, after the first turn signal of the vehicle is closed, the second turn signal of the vehicle can also be turned on.
[0061] The direction indicated by the second turn signal is inconsistent with the direction indicated by the first turn signal, which means that the directions indicated by the turn signals in the transverse direction of the vehicle are opposite, for example, the direction indicated by the first turn signal is left, and the direction indicated by the second turn signal is right.
[0062] When the first distance between the target front wheel and the target lane line decreases to zero and then increases to a preset first interval distance, it is determined that the lane changing trends of the vehicle when the target front wheel contacts the target lane line and when the target front wheel passes the target lane line are consistent, but the direction indicated by the first turn signal is inconsistent with the lane changing trend of the vehicle, the first turn signal is closed, and the second turn signal is turned on. After the vehicle opens the wrong turn signal, the wrong turn signal is closed and the correct turn signal is turned on, the turn signal is corrected, the accuracy of automatically correcting the direction indicated by the turn signal is effectively improved, so that the surrounding vehicles can clearly understand the real lane changing trend of the vehicle, and the safety of lane changing is improved.
[0063] In one embodiment, the second preset condition can further include that when the first distance between the target front wheel and the target lane line decreases to zero, it increases to a preset first interval distance. The first distance continuously increases from the first interval distance until it reaches a preset second interval distance.
[0064] The determination that the vehicle meets the second preset condition further includes:
[0065] determining that the first distance decreases to zero in response to the target front wheel being located on a first side of the target lane line;
[0066] determining that the first distance increases to a preset first interval distance;
[0067] determining that the vehicle reaches the second preset condition in response to the first distance continuously increasing from the first interval distance until the first distance reaches a preset second interval distance and the target front wheel is located on a second side of the target lane line.
[0068] wherein the first side and the second side are inconsistent, which can be understood as establishing a coordinate system on a horizontal plane with the target lane line as the y-axis, the first side being the -x side of the coordinate axis and the second side being the +x side of the coordinate axis.
[0069] The second interval distance is a preset value, for example, 0.6 meters, 0.7 meters, etc., and the second interval distance is greater than the first interval distance.
[0070] The target front wheel is located on the first side of the target lane line, and when the target front wheel contacts the target lane line, the first distance decreases to zero, at which time it can be determined that the vehicle has a lane changing tendency. When the first distance of the target front wheel and the target lane line increases to a preset first interval distance, it is determined that the target front wheel and the target lane line are spaced apart by the first interval distance. When the first distance continuously increases from the first interval distance until the first distance reaches a preset second interval distance, the target front wheel is located on the second side of the target lane line, it is determined that the target front wheel continues to travel along the previous lane changing tendency after crossing the lane line, and it is determined that the lane changing tendency of the vehicle when the target front wheel contacts the target lane line and when the target front wheel crosses the target lane line is consistent. For example, when the target front wheel contacts the target lane line, the lane changing tendency of the vehicle is to change lanes to the left, and when the target front wheel crosses the target lane line, the lane changing tendency of the vehicle is still to change lanes to the left, at which time it is determined that the lane changing tendency of the vehicle is to change lanes to the left. The direction to be turned indicated by the first turn signal is to the right, the direction to be turned indicated by the first turn signal and the lane changing tendency of the vehicle are inconsistent, it is determined that the vehicle reaches the second preset condition, at which time the first turn signal is turned off and the second turn signal is turned on.
[0071] For example, when the target front wheel is located on the first side of the target lane line, the target front wheel approaches the target lane line and contacts the target lane line, the first distance decreases to zero, and it is determined that the vehicle has a lane change possibility. When the first distance between the target front wheel and the target lane line increases to a preset first interval distance, and the target front wheel is located on the second side of the target lane line, it is determined that the target front wheel and the target lane line are spaced apart by the first interval distance. When the first distance between the target front wheel and the target lane line is spaced apart by the first interval distance, the first distance continues to increase in the direction of the second side of the target lane line until the target front wheel reaches the second side of the target lane line, and the first side and the second side are not in the same direction. At this time, it is determined that the target front wheel has crossed the lane line, and the vehicle continues to travel along the previous lane change trend, and it is determined that the lane change trends of the vehicle when the target front wheel contacts the target lane line and when the target front wheel crosses the target lane line are consistent.
[0072] In one embodiment, the turn signal can be turned off when the vehicle does not need to change lanes. When the target front wheel is located on the first side of the target lane line, the target front wheel approaches the target lane line and contacts the target lane line, the first distance decreases to zero, and it is determined that the vehicle has a lane change possibility. When the first distance between the target front wheel and the target lane line increases to a preset first interval distance, it is determined that the target front wheel and the target lane line are spaced apart by the first interval distance. When the first distance decreases from the first interval distance to zero, the first distance continues to increase in the direction of the first side of the target lane line until the target front wheel reaches the first side of the target lane line. At this time, it is determined that the target front wheel has crossed the lane line, and the vehicle does not continue to travel along the previous lane change trend, and it is determined that the lane change trends of the vehicle when the target front wheel contacts the target lane line and when the target front wheel crosses the target lane line are inconsistent.
[0073] For example, when the target front wheel contacts the target lane line, the lane change trend of the vehicle is to change lanes to the left, and when the target front wheel crosses the target lane line, the lane change trend of the vehicle is to change lanes to the right. At this time, it is determined that the lane change trends of the front and rear of the vehicle are inconsistent, the vehicle returns to the original lane after contacting the target lane line, the vehicle does not need to change lanes, and the lane change is cancelled. At this time, the first turn signal is in an on state, and it is determined that the first turn signal is misopened, and the first turn signal is turned off. The embodiments provided in the application solve the problem that the direction indicated by the turn signal of the vehicle and the lane change trend are inconsistent, automatically correct the turn signal when they are inconsistent, and turn off the turn signal when the vehicle does not need to change lanes, thereby solving the problem that the turn signal is misopened during driving and cannot be turned off for a long time, and making the driving intention of the vehicle clear and accurate.
[0074] In one embodiment, after the second turn signal is turned on, the method further comprises:
[0075] determining that a second distance between a target rear wheel of the vehicle and the target lane line decreases to zero; the target rear wheel and the target front wheel are located on two sides of the vehicle, respectively;
[0076] in response to the second distance increasing to a preset third interval distance, the second turn signal is turned off.
[0077] The third interval distance is a preset value, for example, 0.3 meters, 0.5 meters, etc.
[0078] When the first distance between the target front wheel and the target lane line continuously increases from the first interval distance until the first distance reaches a preset second interval distance, it is determined that the target front wheel has crossed the target lane line, the vehicle continues to travel along the previous lane-changing trend, and the direction indicated by the first turn signal is inconsistent with the movement direction of the target front wheel, the first turn signal is turned off, the second turn signal is turned on, and the second distance between the target rear wheel of the vehicle and the target lane line is obtained. If the second distance decreases to zero, it is determined that the target rear wheel of the vehicle contacts the target lane line, and if the second distance increases to a preset third interval distance, it is determined that the target rear wheel of the vehicle has crossed the target lane line, the vehicle travels according to the lane-changing trend until the target rear wheel of the vehicle crosses the target lane line, it is determined that the lane-changing is completed, and the second turn signal is turned off. The turn signal is automatically corrected when the direction indicated by the turn signal of the vehicle is inconsistent with the lane-changing trend, and the turn signal is automatically turned off after the vehicle completes the lane-changing, which reduces the driving pressure of the driver and avoids safety hazards caused by forgetting to operate the turn signal.
[0079] In order to improve the accuracy of matching the turn signal with the actual lane-changing situation, and to avoid the situation that the vehicle still has a turning demand but the turn signal is not turned on after the first turn signal is turned off, the turning trend of the vehicle can be further verified after the first turn signal is turned off. After the first turn signal is turned off, the first distance can be determined in response to the target front wheel being located on the first side of the target lane line. Then, in response to the first distance decreasing to zero, the first distance is increased to a preset fourth interval distance. When the first distance continuously increases from the fourth interval distance until a fifth interval distance, and the target front wheel is located on the second side of the target lane line, the first turn signal is turned on.
[0080] The fourth interval distance is a preset value, for example, 0.3 meters, 0.5 meters, etc., and the fifth interval distance is a preset value, for example, 0.6 meters, 0.7 meters, etc. The fourth interval distance can be equal to the first interval distance, and the fifth interval distance can be equal to the second interval distance. The first preset time length is a preset value, for example, 5 seconds, 10 seconds, etc.
[0081] After the first turn signal is turned off, a first distance between the target front wheel and the target lane line is obtained again after a first preset time interval. The target front wheel is located on a first side of the target lane line. When the first distance decreases to zero, i.e., the target front wheel contacts the target lane line, it is determined that the vehicle has a lane-changing trend. When the first distance increases to a fourth interval distance, and the target front wheel is located on a second side of the target lane line, it is determined that the target front wheel and the target lane line are spaced apart by the fourth interval distance. At this time, it is determined that the vehicle changes lanes to the second side of the target lane line. When the first distance continues to increase from the fourth interval distance until the first distance reaches a fifth interval distance, and the target front wheel is located on the second side of the target lane line, it is determined that the target front wheel has crossed the lane line, and the vehicle continues to travel along the previous lane-changing trend. It is determined that the lane-changing trend of the vehicle is consistent when the target front wheel contacts the target lane line and when the target front wheel crosses the target lane line.
[0082] For example, before the turn signal is turned off, the vehicle changes lanes to the left, and the direction indicated by the first turn signal is to the left. The direction indicated by the first turn signal is correct. However, after the target front wheel crosses the lane line, a sudden situation such as a sudden oncoming vehicle is encountered, and the front wheel direction needs to be turned right to change lanes to the right and temporarily return to the original lane. At this time, the movement direction of the front wheel is inconsistent with the direction indicated by the first turn signal, and the first turn signal needs to be turned off. However, after a first preset time interval, the vehicle needs to continue to change lanes to the left, and the target front wheel is located on the first side of the target lane line. When the target front wheel contacts the target lane line, the first distance decreases to zero, and the lane-changing trend of the vehicle is to change lanes to the left. When the target front wheel crosses the target lane line, the first distance increases to the fourth interval distance and continues to increase to the fifth interval distance, and the target front wheel is located on the second side of the target lane line. It can be determined that the lane-changing trend of the vehicle is still to change lanes to the left, and it is determined that the lane-changing trends of the front and rear of the vehicle are consistent. At this time, the first turn signal is turned on. In order to avoid the situation that the vehicle still has a turning demand after the first turn signal is turned off, but the turn signal is not turned on, the vehicle is judged again after a first preset time interval whether there is a lane-changing trend, so as to automatically turn on the turn signal in advance, reduce the manual operation of the driver, and reduce the driving pressure of the driver. It is beneficial for the driver to focus on other important tasks such as monitoring the surrounding environment or responding to sudden situations. Automatically turning on the turn signal in advance can also prompt other vehicles in advance about the lane-changing trend of the vehicle, and reduce the occurrence of traffic accidents.
[0083] In one embodiment, the second preset condition can further include that the first distance between the target front wheel and the target lane line is greater than a preset sixth interval distance continuously within a second preset time interval, so as to judge whether the vehicle has a lane-changing trend within the second preset time interval. If there is no lane-changing trend, the turn signal is turned off, reducing the possibility of mistakenly turning on the turn signal or the turn signal being unable to be turned off for a long time, and incorrectly guiding other vehicles.
[0084] determines that the vehicle reaches the second preset condition, comprising:
[0085] In the second preset time period, in response to the first distance between the target front wheel and the target lane line being greater than the preset sixth interval distance continuously, it is determined that the vehicle reaches the second preset condition.
[0086] The second preset time period is a preset value, for example, 1 minute, 2 minutes, etc., and the sixth interval distance is a preset value, for example, 0.3 meters, 0.5 meters, etc.
[0087] When the first distance between the target front wheel and the target lane line is greater than the preset sixth interval distance in the second preset time period, it is determined that the vehicle does not have a lane changing trend, and at this time if the turn signal of the vehicle is in the on state, the turn signal is turned off, reducing the possibility of mistakenly turning on the turn signal or the turn signal being unable to be turned off for a long time, which incorrectly guides other vehicles.
[0088] The following will be combined Figure 5 , the control method of the vehicle turn signal is further explained:
[0089] When the first distance between the target front wheel and the target lane line is greater than the preset sixth interval distance in the second preset time period, it is determined that the vehicle does not have a lane changing trend, and at this time if the turn signal of the vehicle is in the on state, the turn signal is turned off, reducing the possibility of mistakenly turning on the turn signal or the turn signal being unable to be turned off for a long time, which incorrectly guides other vehicles.
[0090] If the first turn signal of the vehicle is in the on state and the target front wheel does not cross the target lane line in the second preset time period, it is determined that the vehicle does not have a lane changing trend, and at this time the turn signal is turned off to avoid the situation of mistakenly turning on the turn signal.
[0091] It should be understood that, although Figure 1, Figure 5 The steps in the flowchart are shown sequentially as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order in which these steps are executed, and they can be performed in other orders. Figure 1 , Figure 5 At least some of the steps in the process may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least some of the sub-steps or stages of other steps.
[0092] like Figure 6 As shown, this application also provides a control system for vehicle turn signals, the control system comprising:
[0093] The acquisition module 61 is used to determine that the vehicle has reached a first preset condition and acquire the direction to be turned indicated by the first turn signal of the vehicle when it is in the on state; the first preset condition includes: the vertical projection line of the target front wheel of the vehicle on the road surface intersects with the target lane line;
[0094] The determining module 62 is used to determine that the vehicle has reached a second preset condition and turn off the first turn signal; the second preset condition includes: the direction to be turned indicated by the first turn signal is inconsistent with the movement direction of the target front wheel, and after the first distance between the target front wheel and the target lane line is reduced to zero, the first distance is increased to a preset first interval distance; the movement direction is determined according to the relative distance between the target front wheel and the target lane line.
[0095] In one embodiment, the determining module 62 is further configured to:
[0096] In response to the target front wheel being located on the first side of the target lane line, it is determined that the first distance has decreased to zero;
[0097] Determine that the first distance is increased to a preset first interval distance;
[0098] In response to the first distance continuously increasing from the first interval distance until the first distance reaches a preset second interval distance, and the target front wheel is located on the second side of the target lane line, it is determined that the vehicle has met the second preset condition; the first side and the second side are inconsistent;
[0099] Wherein, the second interval distance is greater than the first interval distance.
[0100] In one embodiment, the determining module 62 is further configured to:
[0101] turning on a second turn signal; the second turn signal indicating a turning direction inconsistent with the turning direction indicated by the first turn signal.
[0102] In one embodiment, the determining module 62 is further configured to:
[0103] determining that a second distance between a target rear wheel of the vehicle and the target lane line decreases to zero; the target rear wheel and the target front wheel being located on two sides of the vehicle, respectively;
[0104] in response to the second distance increasing to a third preset interval distance, turning off the second turn signal.
[0105] In one embodiment, the determining module 62 is further configured to:
[0106] in response to the target front wheel being located on a first side of the target lane line, determining that a first distance between the target front wheel and the target lane line decreases to zero for a first preset time interval;
[0107] determining that the first distance increases to a fourth preset interval distance;
[0108] in response to the first distance continuously increasing from the fourth interval distance until the first distance reaches a fifth preset interval distance, and the target front wheel being located on a second side of the target lane line, turning on the first turn signal;
[0109] wherein the fifth interval distance is greater than the fourth interval distance; the first side being inconsistent with the second side.
[0110] In one embodiment, the determining module 62 is further configured to:
[0111] for a second preset time interval, in response to the first distance between the target front wheel and the target lane line continuously being greater than a sixth preset interval distance, determining that the vehicle reaches the second preset condition.
[0112] For the system embodiment, since it basically corresponds to the method embodiment, the relevant part can be referred to the part of the method embodiment. The above described system embodiment is only illustrative, wherein the units described as separate components can or can not be physically separated, and the components of the units can or can not be physical units, i.e. can be located in one place, or can be distributed on multiple network units. According to the actual needs, part or all of the modules can be selected to achieve the purpose of the present application.
[0113] Figure 7This is a schematic diagram of the structure of an electronic device according to an example embodiment of this application. The electronic device includes a memory, a processor, and a computer program stored in the memory and used to run on the processor. When the processor executes the computer program, it implements the control method described in any of the above embodiments. Figure 7 The electronic device 70 shown is merely an example and should not impose any limitations on the functionality and scope of use of the embodiments of this application.
[0114] like Figure 7 As shown, the electronic device 70 can be manifested as a general-purpose computing device, such as a server device. The components of the electronic device 70 may include, but are not limited to: at least one processor 71, at least one memory 72, and a bus 73 connecting different system components (including memory 72 and processor 71).
[0115] Bus 73 includes a data bus, an address bus, and a control bus.
[0116] The memory 72 may include volatile memory, such as random access memory (RAM) 721 and / or cache memory 722, and may further include read-only memory (ROM) 723.
[0117] The memory 72 may also include a program tool 725 (or utility) having a set (at least one) program module 724, such program module 724 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each or some combination of these examples may include an implementation of a network environment.
[0118] The processor 71 executes various functional applications and data processing, such as the control methods provided in any of the above embodiments, by running computer programs stored in the memory 72.
[0119] Electronic device 70 can also communicate with one or more external devices 74 (e.g., keyboard, pointing device, etc.). This communication can be performed via input / output (I / O) interface 75. Furthermore, electronic device 70 can also communicate with one or more networks (e.g., local area network (LAN), wide area network (WAN), and / or public network, such as the Internet) via network adapter 76. As shown, network adapter 76 communicates with other modules of electronic device 70 via bus 73. It should be understood that, although not shown in the figure, other hardware and / or software modules can be used in conjunction with electronic device 70, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID (disk array) systems, tape drives, and data backup storage systems.
[0120] It should be noted that although several units / modules or sub-units / modules of the electronic device are mentioned in the above detailed description, such division is merely exemplary and not mandatory. Indeed, according to an embodiment of the application, the features and functions of two or more units / modules described above can be embodied in one unit / module. Conversely, the features and functions of one unit / module described above can be further divided into units / modules embodied by several units / modules.
[0121] The embodiments of the present application further provide a computer readable storage medium, which stores a computer program. The program is executed by a processor to implement the control method provided by any of the above embodiments.
[0122] More specifically, the readable storage medium can include, but is not limited to, a portable disc, a hard disk, a random access memory, a read-only memory, an erasable programmable read-only memory, an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0123] The embodiments of the present application further provide a computer program product, which includes a computer program. The computer program is executed by a processor to implement the control method provided by any of the above embodiments.
[0124] The program code for executing the computer program product of the present application can be written in any combination of one or more programming languages, and can be executed entirely on the user device, partly on the user device and partly on a remote device, or entirely on a remote device, as a stand-alone software package, or partly on the user device and partly on a remote device.
[0125] The technical features of the above embodiments can be combined in any manner. To make the description concise, not all possible combinations of the technical features in the above embodiments are described, however, as long as the combinations of the technical features do not contradict each other, they should be considered within the scope of the present application.
[0126] The above embodiments only express several implementation manners of the present application, and the description is relatively specific and detailed, but it should not be understood as a limitation on the patent scope of the present application. It should be noted that for those skilled in the art, without departing from the concept of the present application, several modifications and improvements can be made, which are all within the protection scope of the present application. Therefore, the patent protection scope of the present application should be subject to the appended claims.
Claims
1. A control method of a vehicle turn signal, characterized by, The control method comprises: determining that the vehicle meets a first preset condition, and obtaining a turning direction to be turned indicated by a first turn signal of the vehicle in an on state; the first preset condition comprises: a vertical projection line of a target front wheel of the vehicle on a road surface intersects with a target lane line; determining that the vehicle meets a second preset condition, and turning off the first turn signal; the second preset condition comprises: the turning direction to be turned indicated by the first turn signal is inconsistent with a movement direction of the target front wheel, and the movement direction is determined according to a relative distance between the target front wheel and the target lane line; in response to the target front wheel being located on a first side of the target lane line, determining that a first distance between the target front wheel and the target lane line decreases to zero; determining that the first distance increases to a first interval distance; in response to the first distance continuously increasing from the first interval distance until the first distance reaches a second interval distance and the target front wheel is located on a second side of the target lane line, determining that the vehicle meets the second preset condition; the first side is inconsistent with the second side; wherein the second interval distance is greater than the first interval distance.
2. The control method according to claim 1, characterized by, After the determining that the vehicle meets the second preset condition and the first turn signal is turned off, the control method further comprises: turning on a second turn signal; the turning direction to be turned indicated by the second turn signal is inconsistent with the turning direction to be turned indicated by the first turn signal.
3. The control method according to claim 2, characterized by, After the turning on the second turn signal, the control method further comprises: determining that a second distance between a target rear wheel of the vehicle and the target lane line decreases to zero; the target rear wheel and the target front wheel are located on two sides of the vehicle, respectively; in response to the second distance increasing to a third interval distance, turning off the second turn signal.
4. The control method according to any one of claims 1 to 2, characterized by, After the turning off the first turn signal, the control method further comprises: interval a first preset time length, in response to the target front wheel being located on the first side of the target lane line, determining that the first distance between the target front wheel and the target lane line decreases to zero; determining that the first distance increases to a fourth interval distance; in response to the first distance continuously increasing from the fourth interval distance until the first distance reaches a fifth interval distance and the target front wheel is located on the second side of the target lane line, turning on the first turn signal; wherein the fifth interval distance is greater than the fourth interval distance; the first side is inconsistent with the second side.
5. The control method according to claim 1, characterized by, The determining that the vehicle meets the second preset condition comprises: in a second preset time length, in response to the first distance between the target front wheel and the target lane line continuously being greater than a sixth interval distance, determining that the vehicle meets the second preset condition.
6. A control system for a vehicle turn signal, characterized in that The control system comprises: an acquisition module, configured to determine that the vehicle meets a first preset condition, and obtain a turning direction to be turned indicated by a first turn signal of the vehicle in an on state; the first preset condition comprises: a vertical projection line of a target front wheel of the vehicle on a road surface intersects with a target lane line; determining that the vehicle reaches a second preset condition, and turning off the first turn signal; the second preset condition comprises: a direction indicated by the first turn signal is inconsistent with a movement direction of the target front wheel, the movement direction being determined according to a relative distance between the target front wheel and the target lane line; in response to the target front wheel being located on a first side of the target lane line, determining that a first distance between the target front wheel and the target lane line decreases to zero; determining that the first distance increases to a preset first interval distance; in response to the first distance continuously increasing from the first interval distance until the first distance reaches a preset second interval distance and the target front wheel being located on a second side of the target lane line, determining that the vehicle reaches the second preset condition; the first side being inconsistent with the second side; wherein the second interval distance is greater than the first interval distance.
7. An electronic device comprising a memory, a processor, and a computer program stored on the memory for running on the processor, characterized in that, The processor executes the computer program to implement the control method of any one of claims 1-5.
8. A computer-readable storage medium having stored thereon a computer program, characterized in that, The computer program is executed by the processor to implement the control method of any one of claims 1-5.
9. A computer program product comprising a computer program, characterized in that, The computer program is executed by the processor to implement the control method of any one of claims 1-5.
Citation Information
Patent Citations
Steering lamp control method and device, electronic equipment and storage medium
CN113147572A
Lane departure detection method and device, equipment and storage medium
CN118270009A