Fog lamp control method and device in automobile, storage medium and automobile

CN121043765BActive Publication Date: 2026-08-11ZERON AUTOMOBILE TECHNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-09-24
Publication Date
2026-08-11

AI Technical Summary

Technical Problem

[0005]本申请提供了一种汽车中的雾灯控制方法、装置、存储介质及汽车,用于解决雾灯控制存在误判,无法预判前方路段的情况,雾灯的强光容易干扰后车的驾驶员的问题

Benefits of technology

[0014]根据本申请的第四方面,提供了一种汽车,所述汽车包括上述汽车中的雾灯控制装置。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121043765B_ABST
    Figure CN121043765B_ABST
Patent Text Reader

Abstract

This application discloses a fog light control method, device, storage medium, and automobile in a vehicle, belonging to the field of deep learning technology. When the first car in a convoy is traveling in front of the second car, it receives a data packet broadcast by the first car and reads the first visibility at the first car's first position; it then measures the second visibility at the current second position; if the first visibility is less than the second visibility, it calculates a first distance from the low visibility area based on the second position, the first position, and the first visibility, and determines the fog light control method based on the first distance. The control method is one of the following: turning on both front and rear fog lights and hazard lights, turning on the rear fog lights and hazard lights, turning on the rear fog lights, or not turning on either front or rear fog lights; if the rear fog lights need to be turned on, it obtains the second distance from the nearest following vehicle and the ambient relative humidity, calculates the brightness of the rear fog lights based on the second visibility, the second distance, and the ambient relative humidity; and then turns on the fog lights according to the control method and brightness. This application can avoid collisions with vehicles in front and behind.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of deep learning technology, and in particular to a fog light control method, device, storage medium, and automobile in a vehicle. Background Technology

[0002] Fog lights are installed at the front and rear of a vehicle to illuminate the road and provide safety warnings when driving in rainy or foggy weather, improving visibility for the driver and other road users.

[0003] In related technologies, cars are equipped with front-facing cameras and infrared sensors. When the front-facing camera and / or infrared sensors detect low visibility on the current road section, the front and rear fog lights can be automatically turned on to improve driving safety.

[0004] However, in uneven weather conditions such as dense fog or localized heavy rain, blind spots may appear, leading to misjudgment; and the fog lights only activate after the car enters a low-visibility section, making it impossible to predict the conditions of the road ahead that has not yet been entered; the rear fog lights have a fixed brightness, and when there is a car following closely behind, the strong light can easily interfere with the driver of the following vehicle. Summary of the Invention

[0005] This application provides a fog light control method, device, storage medium, and automobile for solving the problems of fog light control misjudgment, inability to predict road conditions ahead, and strong fog light glare easily interfering with drivers of following vehicles. The technical solution is as follows: According to a first aspect of this application, a fog light control method for an automobile is provided, the method comprising: When the first car in the convoy is driving in front of the second car, the second car receives a data packet broadcast by the first car and reads the first visibility measured by the first car at the first location from the data packet. The second vehicle measures the second visibility at its current second location; If the first visibility is less than the second visibility, the second vehicle calculates the first distance between itself and the low visibility area based on the second position, the first position, and the first visibility, and determines the control method for the fog lights based on the first distance. The control method is one of the following: turn on the front and rear fog lights and hazard lights, turn on the rear fog lights and hazard lights, turn on the rear fog lights, or turn off the front and rear fog lights. If the control method includes turning on the rear fog lights, the second vehicle obtains the second distance to the nearest following vehicle and the ambient relative humidity, and calculates the brightness of the rear fog lights based on the second visibility, the second distance, and the ambient relative humidity; The second vehicle turns on its fog lights according to the control method and the brightness.

[0006] In one possible implementation, calculating the brightness of the rear fog light based on the second visibility, the second distance, and the ambient relative humidity includes: The second vehicle calculates the base brightness based on the second visibility; The second vehicle calculates the anti-glare coefficient based on the second distance; The second vehicle calculates the environmental compensation coefficient based on the ambient relative humidity; The second vehicle multiplies the base brightness, the anti-glare coefficient, and the environmental compensation coefficient to obtain the brightness of the rear fog light.

[0007] In one possible implementation, the second vehicle multiplies the base brightness, the anti-glare coefficient, and the environmental compensation coefficient to obtain the brightness of the rear fog light, including: The second vehicle acquires the brightness range of the rear fog lights; The second vehicle multiplies the base brightness, the anti-glare coefficient, and the environmental compensation coefficient to obtain the calculation result; If the calculated result is less than the minimum value within the brightness range, then the minimum value is determined as the brightness of the rear fog light; If the calculated result is greater than the minimum value of the brightness range and less than the maximum value, then the calculated result is determined as the brightness of the rear fog light; If the calculated result is greater than the maximum value within the brightness range, then the maximum value is determined as the brightness of the rear fog light.

[0008] In one possible implementation, determining the control method for the fog lights based on the first spacing includes: The second vehicle acquires a first threshold, a second threshold, and a third threshold; If the first distance is less than the first threshold, the second vehicle determines that the control method is to turn on the front and rear fog lights and hazard lights; If the first spacing is between the first threshold and the second threshold, then the second vehicle determines that the control method is to turn on the rear fog lights and hazard lights; If the first spacing is between the second threshold and the third threshold, then the second vehicle determines that the control method is to turn on the rear fog lights; If the first spacing is greater than the third threshold, the second vehicle determines that the control mode is to not turn on the front and rear fog lights.

[0009] In one possible implementation, the method further includes: After the fog lights are turned on, the second vehicle periodically acquires new first visibility and new second visibility; If the duration for which the new second visibility is greater than the first visibility threshold exceeds a duration threshold, and the number of times the new first visibility is greater than the second visibility threshold within the duration exceeds a number threshold, then the second vehicle turns off its fog lights, wherein the first visibility threshold is less than the second visibility threshold.

[0010] In one possible implementation, if the second visibility is greater than a visibility threshold, the second vehicle turns off its fog lights, including: The second vehicle detects whether there is a vehicle behind it whose distance from it is less than the vehicle distance threshold; If the vehicle is behind, the second vehicle will turn off its fog lights after a predetermined delay. If there is no vehicle behind, the second vehicle immediately turns off its fog lights.

[0011] In one possible implementation, reading the first visibility measured at the first location by the first vehicle from the data packet includes: The second vehicle reads the timestamp from the data packet; If the data packet is determined not to have expired based on the timestamp, the second vehicle reads the first location from the data packet; If the first position is before the second position, the second vehicle reads the first visibility from the data packet.

[0012] According to a second aspect of this application, a fog light control device for an automobile is provided, the device comprising: The reading module is used to receive a data packet broadcast by the first car when the first car in the convoy is driving in front of the second car, and read the first visibility measured by the first car at a first position from the data packet. The measurement module is used to measure the second visibility at the current second location; The determining module is used to calculate a first distance between the low visibility area and the second position, the first position and the first visibility, if the first visibility is less than the second visibility, and determine the control mode of the fog lights based on the first distance, wherein the control mode is one of turning on the front and rear fog lights and hazard lights, turning on the rear fog lights and hazard lights, turning on the rear fog lights, and not turning on the front and rear fog lights. The calculation module is used to, if the control method includes turning on the rear fog lights, obtain the second distance to the nearest following vehicle and the ambient relative humidity, and calculate the brightness of the rear fog lights based on the second visibility, the second distance and the ambient relative humidity; The control module is used to turn on the fog lights according to the control method and the brightness.

[0013] According to a third aspect of this application, a computer-readable storage medium is provided, the storage medium storing at least one instruction, the at least one instruction being loaded and executed by a processor to implement the fog light control method in a vehicle as described above.

[0014] According to a fourth aspect of this application, an automobile is provided, the automobile including the fog light control device of the aforementioned automobile.

[0015] The beneficial effects of the technical solution provided in this application include at least the following: If the first visibility measured by the vehicle in front is less than the second visibility measured by this vehicle, it indicates that there may be a low-visibility area ahead (such as fog). This vehicle may have limited detection range and be unable to detect road sections where the view is obstructed (such as behind curves, behind hilltops, in front of large vehicles, etc.), making it impossible to detect in time. Therefore, it is necessary to determine the control method of the fog lights based on the distance between the second visibility position and the low-visibility area. This allows the fog lights to be turned on in advance when approaching the low-visibility area, making the vehicle "visible" when entering the low-visibility area, avoiding collisions with vehicles in front or behind, and improving driving safety.

[0016] If the control method includes turning on the rear fog lights, the second vehicle obtains the second distance to the nearest following vehicle and the ambient relative humidity. Based on the second visibility, the second distance, and the ambient relative humidity, the brightness of the rear fog lights is calculated to ensure that when the following vehicle is following closely, the fog lights of this vehicle will not cause glare to the driver of the following vehicle, thus further improving driving safety. Attached Figure Description

[0017] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0018] Figure 1 This is a flowchart of a fog light control method in a car provided in one embodiment of this application; Figure 2 This is a flowchart of a fog light control method in a car provided in one embodiment of this application; Figure 3 This is a structural block diagram of a fog light control device in a car provided in one embodiment of this application. Detailed Implementation

[0019] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the implementation methods of this application will be further described in detail below with reference to the accompanying drawings.

[0020] like Figure 1 The diagram illustrates a flowchart of a fog light control method for an automobile according to an embodiment of this application. This fog light control method can be applied to a second automobile. The fog light control method for the automobile may include: Step 101: When the first car in the convoy is driving in front of the second car, the second car receives the data packet broadcast by the first car and reads the first visibility measured by the first car at the first position from the data packet.

[0021] A convoy typically consists of multiple cars. The car at the very front is usually called the lead car, and the cars following behind are called follower cars. The lead car is the first car, and the follower car can be either the first or the second car. Specifically, if the follower car and the lead car are grouped together, the lead car is the first car and the follower car is the second car; if the follower car and the rear car are grouped together, the follower car is the first car and the rear car is the second car. The convoy can be a single convoy or a combination of multiple convoys.

[0022] Each vehicle in the convoy is equipped with an infrared visibility meter and a position sensor. The infrared visibility meter is used to measure the visibility of the vehicle, and the position sensor is used to measure the position of the vehicle. The position can be latitude and longitude or coordinates, which is not limited in this embodiment.

[0023] Each vehicle obtains its own Vehicle Identification Number (VIN), converts the VIN using a hash algorithm to obtain a hexadecimal identifier. Then, the vehicle rounds the visibility data, converts the latitude and longitude to decimal numbers, and encapsulates the identifier, location, visibility, and timestamp into a data packet. This data packet is then broadcast via vehicle-to-vehicle (V2V) communication. For example, the original visibility data is a floating-point number 49.73 meters, which is rounded to the nearest integer to obtain 50 meters. Or, the original latitude and longitude data is 34°05.22', which is converted to decimal 34.0522.

[0024] Each second car can receive data packets sent by other cars in the convoy. It needs to filter out the data packets of the leading first car and read the first position and first visibility from the data packets.

[0025] Step 102: The second vehicle measures the second visibility at its current second location.

[0026] The second vehicle can use a position sensor to measure a second position and an infrared visibility meter to measure a second visibility.

[0027] Step 103: If the first visibility is less than the second visibility, the second vehicle calculates the first distance between itself and the low visibility area based on the second position, the first position and the first visibility, and determines the control method for the fog lights based on the first distance. The control method is one of the following: turn on the front and rear fog lights and hazard lights, turn on the rear fog lights and hazard lights, turn on the rear fog lights, or turn off the front and rear fog lights.

[0028] The second vehicle compares the first visibility with the second visibility; if the first visibility and the second visibility are similar, it means that there is no low visibility area ahead, and continues to step 101; if the first visibility is less than the second visibility (the absolute value of the difference is greater than a certain threshold), it means that there may be a low visibility area ahead.

[0029] When there are multiple vehicles ahead of a second vehicle, the second vehicle can read multiple first visibility values. If only a few (one or two) of these first visibility values ​​are low, while the others are high, it indicates that the infrared visibility meter readings for the lower first visibility values ​​are inaccurate (e.g., lens contamination, sudden shadows, or splashes of water can cause the infrared visibility meter to misjudge and lower the readings). This prevents the second vehicle from mistakenly turning on its fog lights and causing glare to drivers of following vehicles. Only when a large number of first visibility values ​​are low will the second vehicle confirm the existence of a low visibility area ahead.

[0030] If a low-visibility area exists ahead, the second vehicle needs to calculate a first distance between itself and the low-visibility area based on its second position, first position, and first visibility. This first distance represents the second vehicle's true visibility under unobstructed conditions. Specifically, the second vehicle can calculate the distance between itself and the first position, and then add the distance to the first visibility value to obtain the first distance. For example, if the distance between the two vehicles is 100 meters and the first visibility is 50 meters, then the first distance is 150 meters.

[0031] In this embodiment, the fog light control methods include turning on both front and rear fog lights and hazard lights, turning on rear fog lights and hazard lights, turning on rear fog lights, and turning off both front and rear fog lights. These four control methods are ordered in descending order of priority. The fog light control logic is as follows: the closer the initial distance, the higher the priority of the fog light control method; the farther the initial distance, the lower the priority of the fog light control method. For example, when the initial distance is small, the control method is to turn on both front and rear fog lights and hazard lights; when the initial distance is large, the control method is to turn off both front and rear fog lights.

[0032] If the determined control method is to not turn on the front and rear fog lights, the second vehicle continues to execute step 101; if the determined control method is one of the other three, the second vehicle executes step 104.

[0033] Step 104: If the control method includes turning on the rear fog lights, the second vehicle obtains the second distance from the nearest following vehicle and the ambient relative humidity, and calculates the brightness of the rear fog lights based on the second visibility, the second distance, and the ambient relative humidity.

[0034] The fog lights in this embodiment consist of multiple matrices, supporting zoned illumination. In one example, the fog lights are composed of a 12×4 array of light-emitting diodes (LEDs), allowing selective illumination of portions of the LED matrix to adjust the brightness of the fog lights.

[0035] When the rear fog lights are too bright, they may dazzle drivers of following vehicles, thus affecting driving safety. Therefore, a second vehicle can use radar to measure the second distance to the nearest following vehicle and a humidity sensor to measure the ambient relative humidity. The brightness of the rear fog lights is then calculated based on the second visibility, the second distance, and the ambient relative humidity. Generally speaking, the smaller the second distance, the lower the brightness of the rear fog lights; the larger the second distance, the higher the brightness of the rear fog lights.

[0036] Step 105: The second car turns on its fog lights according to the control method and brightness.

[0037] The second vehicle determines whether to turn on the front fog lights, rear fog lights, and hazard lights according to the control method; if the front fog lights need to be turned on, they are turned on according to a fixed brightness or a calculated brightness; if the rear fog lights need to be turned on, they are turned on according to a calculated brightness; if the hazard lights need to be turned on, they are turned on according to a fixed brightness.

[0038] In summary, the fog light control method for automobiles provided in this application embodiment indicates that if the first visibility measured by the preceding vehicle is less than the second visibility measured by the current vehicle, it means that there may be a low-visibility area ahead (such as a patch of fog). The current vehicle may have problems such as limited detection range and inability to detect road sections where the field of vision is obstructed (such as behind curves, behind hilltops, in front of large vehicles, etc.), and therefore cannot detect it in time. So, it is necessary to determine the control method of the fog lights based on the distance between the second position and the low-visibility area, so that the fog lights can be turned on in advance when approaching the low-visibility area, making the current vehicle "visible" when entering the low-visibility area, avoiding collisions with the preceding or following vehicle, and improving driving safety.

[0039] If the control method includes turning on the rear fog lights, the second vehicle obtains the second distance to the nearest following vehicle and the ambient relative humidity. Based on the second visibility, the second distance, and the ambient relative humidity, the brightness of the rear fog lights is calculated to ensure that when the following vehicle is following closely, the fog lights of this vehicle will not cause glare to the driver of the following vehicle, thus further improving driving safety.

[0040] like Figure 2The diagram illustrates a flowchart of a fog light control method for a vehicle according to an embodiment of this application. This fog light control method can be applied to a second vehicle. The fog light control method for the vehicle may include: Step 201: When the first car in the convoy is driving in front of the second car, the second car receives the data packet broadcast by the first car and reads the first visibility measured by the first car at the first position from the data packet.

[0041] The second car will receive data packets from multiple cars in the convoy. It needs to filter out the data packets from the leading car and read the first position and first visibility from the data packets.

[0042] Specifically, reading the first visibility measured by the first vehicle at the first location from the data packet can include: the second vehicle reading the timestamp from the data packet; if the data packet is determined not to have expired based on the timestamp, the second vehicle reading the first location from the data packet; if the first location is before the second location, the second vehicle reading the first visibility from the data packet.

[0043] In simple terms, the second vehicle filters out unexpired data packets based on timestamps, filters out data packets broadcast by the preceding vehicle based on the first location, and then reads the first location and first visibility from these data packets.

[0044] Step 202: The second vehicle measures the second visibility at its current second location.

[0045] The second vehicle can use a position sensor to measure a second position and an infrared visibility meter to measure a second visibility.

[0046] Step 203: If the first visibility is less than the second visibility, the second vehicle calculates the first distance between itself and the low visibility area based on the second position, the first position and the first visibility, and determines the control method for the fog lights based on the first distance. The control method is one of the following: turn on the front and rear fog lights and hazard lights, turn on the rear fog lights and hazard lights, turn on the rear fog lights, or turn off the front and rear fog lights.

[0047] The second vehicle compares the first visibility with the second visibility; if the first visibility and the second visibility are similar, it means that there is no low visibility area ahead, and continues to step 201; if the first visibility is less than the second visibility (the absolute value of the difference is greater than a certain threshold), it means that there may be a low visibility area ahead.

[0048] In this embodiment, the fog light control methods include turning on both front and rear fog lights and hazard lights, turning on rear fog lights and hazard lights, turning on rear fog lights, and turning off both front and rear fog lights. These four control methods are ordered in descending order of priority. The fog light control logic is as follows: the closer the initial distance, the higher the priority of the fog light control method; the farther the initial distance, the lower the priority of the fog light control method. For example, when the initial distance is small, the control method is to turn on both front and rear fog lights and hazard lights; when the initial distance is large, the control method is to turn off both front and rear fog lights.

[0049] Specifically, determining the fog light control method based on the first distance can include: the second vehicle acquiring a first threshold, a second threshold, and a third threshold; if the first distance is less than the first threshold, the second vehicle determines the control method to activate the front and rear fog lights and hazard lights; if the first distance is between the first and second thresholds, the second vehicle determines the control method to activate the rear fog lights and hazard lights; if the first distance is between the second and third thresholds, the second vehicle determines the control method to activate the rear fog lights; if the first distance is greater than the third threshold, the second vehicle determines the control method to deactivate the front and rear fog lights. The first, second, and third thresholds can be set according to business needs and are not limited here.

[0050] In one example, assuming the first threshold is 50 meters, the second threshold is 100 meters, and the third threshold is 200 meters, then when the first distance is less than 50 meters, the control method is to turn on the front and rear fog lights and hazard lights; when the first distance is between 50 meters and 100 meters, the control method is to turn on the rear fog lights and hazard lights; when the first distance is between 100 meters and 200 meters, the control method is to turn on the rear fog lights; and when the first distance is greater than 200 meters, the control method is to turn off the front and rear fog lights.

[0051] If the determined control method is to not turn on the front and rear fog lights, the second vehicle continues to execute step 201; if the determined control method is one of the other three, the second vehicle executes step 204.

[0052] Step 204: If the control method includes turning on the rear fog lights, the second vehicle obtains the second distance from the nearest following vehicle and the ambient relative humidity.

[0053] When the rear fog lights are too bright, they may dazzle the driver of the following vehicle, thus affecting driving safety. Therefore, the second vehicle can use radar to measure the second distance to the nearest following vehicle and use a humidity sensor to measure the relative humidity of the environment.

[0054] Step 205: The second vehicle calculates the base brightness based on the second visibility.

[0055] The base brightness is determined by the second visibility and serves as the benchmark value for brightness calculations. Its unit is candela (cd). There are many ways to calculate the base brightness. For example, the second visibility can be input into a preset formula for calculation, or it can be calculated based on the correspondence between the second visibility and the base brightness. No specific method is specified here.

[0056] In one example, the second vehicle can compare a second visibility level, a fourth threshold, a fifth threshold, and a sixth threshold. If the second visibility level is less than the fourth threshold, the second vehicle determines that the base brightness is the first brightness level. If the second visibility level is between the fourth and fifth thresholds, the second vehicle determines that the base brightness is the second brightness level. If the second visibility level is between the fifth and sixth thresholds, the second vehicle determines that the base brightness is the third brightness level. If the second visibility level is greater than the sixth threshold, the second vehicle determines that the front and rear fog lights should not be turned on. Here, the first brightness level is less than the second brightness level, the second brightness level is less than the third brightness level, and the fourth, fifth, and sixth thresholds can be set according to business needs and are not limited here.

[0057] In one example, assuming the fourth threshold is 50 meters, the fifth threshold is 100 meters, the sixth threshold is 200 meters, the first luminance is 700 cd, the second luminance is 1300 cd, and the third luminance is 1800 cd, then when the second visibility is less than 50 meters, the base luminance I_base(vis) is 700 cd; when the second visibility is between 50 and 100 meters, the base luminance I_base(vis) is 1300 cd; when the second visibility is between 100 and 200 meters, the base luminance I_base(vis) is 1800 cd; and when the second visibility is greater than 200 meters, the front and rear fog lights are not activated. Here, vis represents the second visibility.

[0058] Step 206: The second vehicle calculates the anti-glare coefficient based on the second spacing.

[0059] The anti-glare coefficient is determined by the second spacing, and its value ranges from 0.5 to 1.1. Generally speaking, there is a positive correlation between the second spacing and the anti-glare coefficient; that is, the smaller the second spacing, the smaller the anti-glare coefficient; and the larger the second spacing, the larger the anti-glare coefficient.

[0060] In one example, the second car can compare the second gap, the seventh threshold, and the eighth threshold; if the second gap is less than the seventh threshold, the lower limit is set to 0.5, and the anti-glare coefficient C_glare(d) = max(0.5, 0.7 * (d / 50)), where d represents the second gap; if the second gap is between the seventh threshold and the eighth threshold, the anti-glare coefficient C_glare(d) = 0.7 + (d - 50) * (0.4 / 50); if the second gap is greater than the eighth threshold, the anti-glare coefficient C_glare(d) = 1.1.

[0061] Step 207: The second vehicle calculates the environmental compensation coefficient based on the ambient relative humidity.

[0062] The higher the relative humidity, the denser the fog may be, and the more severe the light scattering, requiring appropriate compensation for the fog light brightness. The environmental compensation coefficient is determined by the relative humidity and ranges from 1.0 to 1.2. Generally speaking, there is a positive correlation between relative humidity and the environmental compensation coefficient; that is, the lower the relative humidity, the lower the environmental compensation coefficient, and vice versa.

[0063] In one example, the environmental compensation factor C_env(RH) = 1.0 + 0.15 * (RH / 100.0) 0.8 RH represents the relative humidity of the environment.

[0064] Step 208: The second vehicle multiplies the base brightness, anti-glare coefficient, and environmental compensation coefficient to obtain the brightness of the rear fog light.

[0065] The brightness of the rear fog light is I_final = I_base(vis) × C_glare(d) × C_env(RH).

[0066] In this embodiment, the brightness range of the rear fog light can also be set. Specifically, the second vehicle multiplies the base brightness, anti-glare coefficient, and environmental compensation coefficient to obtain the brightness of the rear fog light. This can include: the second vehicle obtaining the brightness range of the rear fog light; the second vehicle multiplying the base brightness, anti-glare coefficient, and environmental compensation coefficient to obtain a calculation result; if the calculation result is less than the minimum value within the brightness range, the minimum value is determined as the brightness of the rear fog light; if the calculation result is greater than the minimum value and less than the maximum value within the brightness range, the calculation result is determined as the brightness of the rear fog light; if the calculation result is greater than the maximum value within the brightness range, the maximum value is determined as the brightness of the rear fog light.

[0067] In one example, the ambient humidity RH = 90%, and the environmental compensation coefficient C_env(RH) = 1.0 + 0.15 * (90 / 100) 0.8 ≈1.0+0.15*0.92≈1.14, the brightness range is (500, 1200).

[0068] Car A: Visibility 40 meters, distance to nearest following vehicle 20 meters 1. I_base(40) = 700cd 2. C_glare(20)=max(0.5,0.7*(20 / 50))=0.5 3. 700*0.5*1.14 = 399cd<500cd 4. Limiting: I_final = max(500, 399) = 500 cd. A minimum brightness of 500 cd needs to be ensured to serve as a warning.

[0069] Car B: Visibility 70 meters, distance to nearest following vehicle 60 meters 1. I_base(70) = 1300cd 2. C_glare(60)=0.7+(60-50)*(0.4 / 50)=0.78 3. I_final =1300*0.78*1.14≈1156cd Car C: Visibility 150 meters, distance to nearest following vehicle 150 meters 1. I_base(150) = 1800cd 2. C_glare(150) = 1.1 3. 1800*1.1*1.14=2257cd>1200cd 4. Limiting: I_final = min(2000, 2257) = 2000cd Step 209: The second vehicle turns on its fog lights according to the control method and brightness.

[0070] The second vehicle determines whether to turn on the front fog lights, rear fog lights, and hazard lights according to the control method; if the front fog lights need to be turned on, they are turned on according to a fixed brightness or a calculated brightness; if the rear fog lights need to be turned on, they are turned on according to a calculated brightness; if the hazard lights need to be turned on, they are turned on according to a fixed brightness.

[0071] Step 210: After turning on the fog lights, the second vehicle periodically acquires new first visibility and new second visibility; if the duration for which the new second visibility is greater than the first visibility threshold exceeds the duration threshold, and the number of times the new first visibility is greater than the second visibility threshold within that duration exceeds the number of times threshold, then the second vehicle turns off the fog lights, wherein the first visibility threshold is less than the second visibility threshold.

[0072] After the fog lights are turned on, the second vehicle needs to periodically obtain new first visibility and new second visibility, and determine whether to turn off the fog lights based on the new first visibility and new second visibility.

[0073] Specifically, the second vehicle can compare the new second visibility level with the first visibility threshold. If the new second visibility level is greater than the first visibility threshold, a timer is started to obtain the duration for which the new second visibility level is continuously greater than the first visibility threshold. If this duration does not exceed the duration threshold, the new second visibility level is acquired again and compared. If this duration exceeds the duration threshold, the new first visibility level acquired multiple times within this duration is compared with the second visibility threshold. If the number of times the new first visibility level is greater than the second visibility threshold exceeds the number of times it exceeds the number of times it exceeds the number of times it exceeds the number of times it exceeds the number of times it exceeds the number of times it exceeds the number of times it exceeds the number of times it exceeds the number of times it exceeds the number of times it exceeds the second visibility threshold, the new second visibility level is acquired again and compared.

[0074] The first visibility threshold is lower than the second visibility threshold. This allows for a safety margin to be provided in a progressive manner, ensuring the safety of the road ahead and improving the robustness of the decision to turn off the fog lights.

[0075] The duration threshold and the number of times threshold can be set according to business needs. For example, the duration threshold can be set to 15 seconds and the number of times threshold can be set to 5 seconds.

[0076] Optionally, when it is determined that the fog lights need to be turned off, the second vehicle can also detect whether there is a vehicle behind it with a distance less than a certain threshold. If there is a vehicle behind, the second vehicle will turn off the fog lights after a predetermined delay to guide the vehicle behind. If there is no vehicle behind, the second vehicle will turn off the fog lights immediately to save resources. The predetermined delay can be set according to business needs, for example, the predetermined delay can be set to 10 seconds.

[0077] In summary, the fog light control method for automobiles provided in this application embodiment indicates that if the first visibility measured by the preceding vehicle is less than the second visibility measured by the current vehicle, it means that there may be a low-visibility area ahead (such as a patch of fog). The current vehicle may have problems such as limited detection range and inability to detect road sections where the field of vision is obstructed (such as behind curves, behind hilltops, in front of large vehicles, etc.), and therefore cannot detect it in time. So, it is necessary to determine the control method of the fog lights based on the distance between the second position and the low-visibility area, so that the fog lights can be turned on in advance when approaching the low-visibility area, making the current vehicle "visible" when entering the low-visibility area, avoiding collisions with the preceding or following vehicle, and improving driving safety.

[0078] If the control method includes turning on the rear fog lights, the second vehicle obtains the second distance to the nearest following vehicle and the ambient relative humidity. Based on the second visibility, the second distance, and the ambient relative humidity, the brightness of the rear fog lights is calculated to ensure that when the following vehicle is following closely, the fog lights of this vehicle will not cause glare to the driver of the following vehicle, thus further improving driving safety.

[0079] like Figure 3The diagram illustrates a structural block diagram of a fog light control device for a vehicle according to an embodiment of this application. This fog light control device can be applied to a second vehicle, and the device includes: The reading module 310 is used to receive a data packet broadcast by the first car when the first car in the convoy is driving in front of the second car, and read the first visibility measured by the first car at the first position from the data packet. Measurement module 320 is used to measure the second visibility at the current second location; The determination module 330 is used to calculate the first distance between the low visibility area and the second position, the first position and the first visibility if the first visibility is less than the second visibility, and determine the control mode of the fog lights based on the first distance. The control mode is one of turning on the front and rear fog lights and hazard lights, turning on the rear fog lights and hazard lights, turning on the rear fog lights and not turning on the front and rear fog lights. The calculation module 340 is used to obtain the second distance to the nearest following vehicle and the ambient relative humidity if the control method includes turning on the rear fog lights, and calculate the brightness of the rear fog lights based on the second visibility, the second distance and the ambient relative humidity. The control module 350 is used to turn on the fog lights according to the control method and brightness.

[0080] In an optional embodiment, the calculation module 340 is further configured to: The second vehicle calculates the base brightness based on the second visibility level; The second vehicle calculates the anti-glare coefficient based on the second distance; The second vehicle calculates the environmental compensation coefficient based on the relative humidity of the environment; The second car multiplies the base brightness, anti-glare coefficient, and environmental compensation coefficient to obtain the brightness of the rear fog lights.

[0081] In an optional embodiment, the calculation module 340 is further configured to: The second vehicle obtains the brightness range of the rear fog lights; The second car multiplies the base brightness, anti-glare coefficient, and environmental compensation coefficient to obtain the calculation result; If the calculated result is less than the minimum value within the brightness range, then the minimum value will be determined as the brightness of the rear fog light; If the calculated result is greater than the minimum value of the brightness range but less than the maximum value, then the calculated result will be determined as the brightness of the rear fog light. If the calculated result is greater than the maximum value within the brightness range, then the maximum value will be determined as the brightness of the rear fog light.

[0082] In an optional embodiment, the determining module 330 is further configured to: The second vehicle acquires the first threshold, the second threshold, and the third threshold; If the first gap is less than the first threshold, the second vehicle determines the control method to turn on the front and rear fog lights and hazard lights; If the first spacing is between the first threshold and the second threshold, then the second vehicle determines the control method to be to turn on the rear fog lights and hazard lights; If the first gap is between the second threshold and the third threshold, then the second vehicle determines the control method to turn on the rear fog lights; If the first gap is greater than the third threshold, the second vehicle determines the control method to not turn on the front and rear fog lights.

[0083] In an optional embodiment, the control module 350 is further configured to: After the fog lights are turned on, the second vehicle periodically acquires new first visibility and new second visibility; If the duration for which the new second visibility is greater than the first visibility threshold exceeds a duration threshold, and the number of times the new first visibility is greater than the second visibility threshold within the duration exceeds a number threshold, then the second vehicle turns off its fog lights, wherein the first visibility threshold is less than the second visibility threshold.

[0084] In an optional embodiment, the control module 350 is further configured to: The second vehicle detection function checks whether there are any vehicles behind it whose distance from it is less than the vehicle distance threshold. If there is a car behind, the second car will turn off its fog lights after a predetermined delay. If there are no cars behind, the second car should immediately turn off its fog lights.

[0085] In an optional embodiment, the reading module 310 is further configured to: The second vehicle reads the timestamp from the data packet; If the timestamp indicates that the data packet has not expired, the second vehicle reads the first position from the data packet; If the first position is before the second position, then the second vehicle reads the first visibility from the data packet.

[0086] In summary, the fog light control device for automobiles provided in this application indicates that if the first visibility measured by the preceding vehicle is less than the second visibility measured by the current vehicle, it means that there may be a low-visibility area ahead (such as fog). The current vehicle may have problems such as limited detection range and inability to detect road sections where the field of vision is obstructed (such as behind curves, behind hilltops, in front of large vehicles, etc.), and therefore cannot detect it in time. So, it is necessary to determine the control method of the fog lights based on the distance between the second position and the low-visibility area, so that the fog lights can be turned on in advance when approaching the low-visibility area, making the current vehicle "visible" when entering the low-visibility area, avoiding collisions with the preceding or following vehicle, and improving driving safety.

[0087] If the control method includes turning on the rear fog lights, the second vehicle obtains the second distance to the nearest following vehicle and the ambient relative humidity. Based on the second visibility, the second distance, and the ambient relative humidity, the brightness of the rear fog lights is calculated to ensure that when the following vehicle is following closely, the fog lights of this vehicle will not cause glare to the driver of the following vehicle, thus further improving driving safety.

[0088] One embodiment of this application provides a computer-readable storage medium storing at least one instruction, which is loaded and executed by a processor to implement the fog light control method in a car as described above.

[0089] One embodiment of this application provides a vehicle that includes the fog light control device found in any of the above-described vehicles.

[0090] It should be noted that the fog light control device for automobiles provided in the above embodiments is only illustrated by the division of the above functional modules. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the fog light control device for automobiles can be divided into different functional modules to complete all or part of the functions described above. In addition, the fog light control device for automobiles provided in the above embodiments and the fog light control method embodiments for automobiles belong to the same concept, and the specific implementation process is detailed in the method embodiments, which will not be repeated here.

[0091] Those skilled in the art will understand that all or part of the steps of the above embodiments can be implemented by hardware or by a program instructing related hardware. The program can be stored in a computer-readable storage medium, such as a read-only memory, a disk, or an optical disk.

[0092] The above description is not intended to limit the embodiments of this application. Any adjustments, equivalent substitutions, improvements, etc., made within the spirit and principles of the embodiments of this application should be included within the protection scope of the embodiments of this application.

Claims

1. A fog light control method for an automobile, characterized in that, The method includes: When the first car in the convoy is driving in front of the second car, the second car receives a data packet broadcast by the first car and reads the first visibility measured by the first car at the first location from the data packet. The second vehicle measures the second visibility at its current second location; If the first visibility is less than the second visibility, the second vehicle calculates the first distance between itself and the low visibility area based on the second position, the first position, and the first visibility, and determines the control method for the fog lights based on the first distance. The control method is one of the following: turn on the front and rear fog lights and hazard lights, turn on the rear fog lights and hazard lights, turn on the rear fog lights, or turn off the front and rear fog lights. If the control method includes turning on the rear fog lights, the second vehicle obtains the second distance to the nearest following vehicle and the ambient relative humidity, and calculates the brightness of the rear fog lights based on the second visibility, the second distance, and the ambient relative humidity; The second vehicle turns on its fog lights according to the control method and the brightness.

2. The fog light control method in a car according to claim 1, characterized in that, The step of calculating the brightness of the rear fog light based on the second visibility, the second distance, and the ambient relative humidity includes: The second vehicle calculates the base brightness based on the second visibility; The second vehicle calculates the anti-glare coefficient based on the second distance; The second vehicle calculates the environmental compensation coefficient based on the ambient relative humidity; The second vehicle multiplies the base brightness, the anti-glare coefficient, and the environmental compensation coefficient to obtain the brightness of the rear fog light.

3. The fog light control method in a car according to claim 2, characterized in that, The second vehicle multiplies the base brightness, the anti-glare coefficient, and the environmental compensation coefficient to obtain the brightness of the rear fog light, including: The second vehicle acquires the brightness range of the rear fog lights; The second vehicle multiplies the base brightness, the anti-glare coefficient, and the environmental compensation coefficient to obtain the calculation result; If the calculated result is less than the minimum value within the brightness range, then the minimum value is determined as the brightness of the rear fog light; If the calculated result is greater than the minimum value of the brightness range and less than the maximum value, then the calculated result is determined as the brightness of the rear fog light; If the calculated result is greater than the maximum value within the brightness range, then the maximum value is determined as the brightness of the rear fog light.

4. The fog light control method in a car according to claim 1, characterized in that, The step of determining the control method for the fog lights based on the first spacing includes: The second vehicle acquires a first threshold, a second threshold, and a third threshold; If the first distance is less than the first threshold, the second vehicle determines that the control method is to turn on the front and rear fog lights and hazard lights; If the first spacing is between the first threshold and the second threshold, then the second vehicle determines that the control method is to turn on the rear fog lights and hazard lights; If the first spacing is between the second threshold and the third threshold, then the second vehicle determines that the control method is to turn on the rear fog lights; If the first spacing is greater than the third threshold, the second vehicle determines that the control mode is to not turn on the front and rear fog lights.

5. The fog light control method in a car according to claim 1, characterized in that, The method further includes: After the fog lights are turned on, the second vehicle periodically acquires new first visibility and new second visibility; If the duration for which the new second visibility is greater than the first visibility threshold exceeds a duration threshold, and the number of times the new first visibility is greater than the second visibility threshold within the duration exceeds a number threshold, then the second vehicle turns off its fog lights, wherein the first visibility threshold is less than the second visibility threshold.

6. The fog light control method in a car according to claim 5, characterized in that, The second vehicle's fog lights are turned off, including: The second vehicle detects whether there is a vehicle behind it whose distance from it is less than the vehicle distance threshold; If the vehicle is behind, the second vehicle will turn off its fog lights after a predetermined delay. If there is no vehicle behind, the second vehicle immediately turns off its fog lights.

7. The fog light control method for a motor vehicle according to any one of claims 1 to 6, characterized in that, Reading the first visibility measured at the first location by the first vehicle from the data packet includes: The second vehicle reads the timestamp from the data packet; If the data packet is determined not to have expired based on the timestamp, the second vehicle reads the first location from the data packet; If the first position is before the second position, the second vehicle reads the first visibility from the data packet.

8. A fog light control device for automobiles, characterized in that, The device includes: The reading module is used to receive a data packet broadcast by the first car when the first car in the convoy is driving in front of the second car, and read the first visibility measured by the first car at a first position from the data packet. The measurement module is used to measure the second visibility at the current second location; The determining module is used to calculate a first distance between the low visibility area and the second position, the first position and the first visibility, if the first visibility is less than the second visibility, and determine the control mode of the fog lights based on the first distance, wherein the control mode is one of turning on the front and rear fog lights and hazard lights, turning on the rear fog lights and hazard lights, turning on the rear fog lights, and not turning on the front and rear fog lights. The calculation module is used to, if the control method includes turning on the rear fog lights, obtain the second distance to the nearest following vehicle and the ambient relative humidity, and calculate the brightness of the rear fog lights based on the second visibility, the second distance and the ambient relative humidity; The control module is used to turn on the fog lights according to the control method and the brightness.

9. A computer-readable storage medium, characterized in that, The storage medium stores at least one instruction, which is loaded and executed by a processor to implement the fog light control method in a vehicle as described in any one of claims 1 to 7.

10. A car, characterized in that, The vehicle includes: the fog light control device of the vehicle according to claim 8.

Citation Information

Patent Citations

  • Weather-based automobile signal lamp control method and device, storage medium, and terminal

    CN109249853A

  • Fog lamp control method and system, automobile and storage medium

    CN115158152A