CN118254665A - Method and device for controlling lamp of vehicle and storage medium - Google Patents

Method and device for controlling lamp of vehicle and storage medium Download PDF

Info

Publication number
CN118254665A
CN118254665A CN202410575408.5A CN202410575408A CN118254665A CN 118254665 A CN118254665 A CN 118254665A CN 202410575408 A CN202410575408 A CN 202410575408A CN 118254665 A CN118254665 A CN 118254665A
Authority
CN
China
Prior art keywords
vehicle
road
radar
lamp
category
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202410575408.5A
Other languages
Chinese (zh)
Inventor
徐浩然
陈飞
柯垒
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chery Automobile Co Ltd
Original Assignee
Chery Automobile Co Ltd
Filing date
Publication date
Application filed by Chery Automobile Co Ltd filed Critical Chery Automobile Co Ltd
Publication of CN118254665A publication Critical patent/CN118254665A/en
Pending legal-status Critical Current

Links

Abstract

The application discloses a control method and device for a lamp of a vehicle and a storage medium, and belongs to the technical field of vehicle control. The method comprises the following steps: acquiring the environmental state of a road where a vehicle is located, wherein the environmental state comprises ultraviolet intensity and weather category; determining the on-off condition of a running lamp of the vehicle based on the ultraviolet intensity; determining a category of radar to be used for detecting a traffic state of a road on which the vehicle is located based on the weather category; detecting the traffic state of the road where the vehicle is located through the determined radar of the category; the turn-on/off of the overtaking lamp of the vehicle is controlled based on the turn-on/off of the running lamp and the traffic state of the road on which the vehicle is located. Thereby providing illumination suitable for the current environment in front of the road where the vehicle is located and ensuring the visibility of the driver. The danger caused by the interference of the vision of the driver is reduced, thereby improving the driving safety.

Description

Method and device for controlling lamp of vehicle and storage medium
Technical Field
The embodiment of the application relates to the technical field of vehicle control, in particular to a method and a device for controlling a lamp of a vehicle and a storage medium.
Background
Accidents are easy to occur when the vehicle is traveling on a road where the ambient light is dim or the traffic state of the road is complex. Therefore, when the vehicle is driven into a road with dim ambient light or a complex traffic state, the vehicle is required to be assisted to drive by the lighting system of the vehicle, so that the danger caused by interference of the sight of the driver is reduced, and the safe driving of the vehicle is ensured. How to identify dim ambient light and traffic conditions in the road that need to be pre-warned during the running process of the vehicle and to control the lamps of the vehicle accordingly is a problem that needs to be solved.
Disclosure of Invention
The embodiment of the application provides a control method, a device and a storage medium for a vehicle lamp, which can be used for identifying dim ambient light and traffic conditions needing early warning in a road and correspondingly controlling the vehicle lamp. The technical scheme is as follows:
In one aspect, an embodiment of the present application provides a method for controlling a lamp of a vehicle, the method including:
Acquiring the environmental state of a road where a vehicle is located, wherein the environmental state comprises ultraviolet intensity and weather category;
Determining the on-off condition of a running lamp of the vehicle based on the ultraviolet intensity;
Determining a category of radar to be used for detecting a traffic state of a road on which the vehicle is located based on the weather category;
detecting the traffic state of the road where the vehicle is located through the determined radar of the category;
and controlling the on-off condition of the super-vehicle lamp of the vehicle based on the on-off condition of the running lamp and the traffic state of the road where the vehicle is located.
In another aspect, there is provided a control device of a lamp of a vehicle, the device including:
the acquisition module is used for acquiring the environmental state of the road where the vehicle is located, wherein the environmental state comprises ultraviolet intensity and weather category;
A first determining module for determining the on/off condition of a running lamp of the vehicle based on the ultraviolet intensity;
A second determining module for determining a category of radar to be used for detecting a traffic state of a road on which the vehicle is located based on the weather category;
The detection module is used for detecting the traffic state of the road where the vehicle is located through the determined radar of the category;
And the control module is used for controlling the on-off condition of the superlamps of the vehicle based on the on-off condition of the running lamps and the traffic condition of the road where the vehicle is located.
In another aspect, there is provided a non-transitory computer readable storage medium having stored therein at least one computer program loaded and executed by a processor to cause the computer to implement a method of controlling a lamp of a vehicle as described in any one of the above.
In another aspect, a computer program product or computer program is provided, the computer program product or computer program comprising computer instructions stored in a computer readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions so that the computer device performs the method of controlling the lamp of the vehicle described in any one of the above.
The technical scheme provided by the application has at least the following beneficial effects:
The application determines the opening and closing conditions of the running lamp of the vehicle according to the ultraviolet intensity of the road where the vehicle is located, and determines the type of the radar for detecting the traffic state of the road where the vehicle is located according to the weather type of the road where the vehicle is located, thereby selecting the type of the radar suitable for detecting the traffic state of the road where the vehicle is located under the current weather condition and improving the accuracy in detecting the traffic state of the road where the vehicle is located; after the type of the radar is selected, the radar is started to detect the traffic state of the road where the vehicle is located, and then the on-off condition of the overtaking lamp of the vehicle is controlled through the on-off condition of the running lamp and the traffic state of the road where the vehicle is located, so that illumination suitable for the current environment is provided for the front of the road where the vehicle is located, and the visibility of a driver is ensured. The application can reduce the danger caused by the interference of the sight of the driver, thereby improving the driving safety.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic illustration of an implementation environment provided by an embodiment of the present application;
Fig. 2 is a flowchart of a control method of a lamp of a vehicle according to an embodiment of the present application;
Fig. 3 is a block diagram of a millimeter wave radar according to an embodiment of the present application;
FIG. 4 is a block diagram of a lidar according to an embodiment of the present application;
Fig. 5 is a schematic structural diagram of a control device for a lamp of a vehicle according to an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present application more apparent, the embodiments of the present application will be described in further detail with reference to the accompanying drawings.
The embodiment of the application provides a control method of a lamp of a vehicle, please refer to fig. 1, which shows a schematic diagram of an implementation environment of the method provided by the embodiment of the application. The implementation environment may include: ECU (Electronic Control Unit ) 11, ultraviolet sensor 12, raindrop sensor 13, snow depth sensor 14, humidity sensor 15, photoelectric sensor 16, laser radar or millimeter wave radar 17, running light 18, passing light 19, and target object 110.
Alternatively, the ECU11 measures the ultraviolet intensity of the road on which the vehicle is located through the ultraviolet sensor 12, and detects the weather category of the road on which the vehicle is located through the raindrop sensor 13, the snow depth sensor 14, the humidity sensor 15, and the photoelectric sensor 16. The ECU11 determines the on/off state of the running lamp 18 based on the ultraviolet intensity. The ECU11 determines the class of radars, including the laser radar or the millimeter wave radar 17, to be used for detecting the traffic state of the road on which the vehicle is located, based on the weather class.
The traffic state of the road on which the vehicle is located, that is, whether the road on which the vehicle is located contains the target object 110, and the category of the target object 110 and the distance from the vehicle are detected by the radar of the determined category. The turning on/off of the headlight 19 is controlled based on the turning on/off of the running light 18 and the traffic state of the road on which the vehicle is located. Among them, the ECU11, the ultraviolet sensor 12, the raindrop sensor 13, the snow depth sensor 14, the humidity sensor 15, the photoelectric sensor 16, the laser radar or millimeter wave radar 17, the running light 18, and the passing light 19 establish communication connection through a wired or wireless network.
Based on the implementation environment shown in fig. 1, an embodiment of the present application provides a method for controlling a lamp of a vehicle, as shown in fig. 2, and the method is applied to an ECU, for example, and includes steps 201 to 205.
In step 201, the environmental status of the road on which the vehicle is located, including the ultraviolet intensity and the weather category, is acquired.
Illustratively, the environmental conditions include ultraviolet intensity and weather categories, wherein the weather categories include sunny, cloudy, rainy, snowy, foggy, and sand storm. The method for acquiring the environmental state of the road where the vehicle is located comprises the following steps: the ECU measures the ultraviolet intensity of the road where the vehicle is located through an ultraviolet sensor installed on the vehicle, detects whether the environmental state of the road where the vehicle is located is at least one of a rainy day, a snowy day and a foggy day through a raindrop sensor, a snow depth sensor and a humidity sensor installed on the vehicle, and detects whether the environmental state of the road where the vehicle is located is a sand storm through a photoelectric sensor installed on the vehicle. Wherein the ultraviolet sensor may be an ultraviolet photodiode.
In one possible implementation, detecting, by a raindrop sensor, a snow depth sensor, and a humidity sensor mounted on a vehicle, whether an environmental state of a road on which the vehicle is located is at least one of a rainy day, a snowy day, and a foggy day, includes: if the detection result of the raindrop sensor is smaller than the voltage threshold value, and the detection result of the snow depth sensor is larger than the snow depth threshold value or the detection result of the humidity sensor is larger than one of the percentage threshold values, the environmental state of the road where the vehicle is located is respectively indicated to be one of rainy days, snowy days and foggy days.
Optionally, detecting, by a photoelectric sensor mounted on the vehicle, whether an environmental state of a road on which the vehicle is located is a sand storm, includes: and if the intensity of the scattered light output by the photoelectric sensor is greater than the light intensity threshold value, indicating that the environment state of the road on which the vehicle is positioned is a sand storm.
Illustratively, the output of the rain sensor is an analog voltage value, which is higher when the rain sensor surface dries; when the surface of the raindrop sensor is covered by rainwater, the output analog voltage value is low. The analog voltage value output by the raindrop sensor at the beginning of rain may be set as the voltage threshold. The output of the snow depth sensor is the depth of road snow, and the snow depth threshold value may be set to 0. The output of the humidity sensor is the humidity percentage of the air around the road, and the lowest value of the percentages of the humidity sensor output when raining, snowing or fogging starts may be set as the percentage threshold. The output of the photosensor includes the intensity of scattered light around the road, and when a sand storm occurs, the intensity of the scattered light output by the photosensor when the sand storm occurs may be set as the light intensity threshold.
In step 202, the on/off state of the running light of the vehicle is determined based on the ultraviolet intensity.
In one possible implementation manner, after completing measuring the ultraviolet intensity of the road on which the vehicle is located, determining the on/off condition of the running light of the vehicle based on the ultraviolet intensity includes: controlling the running lamp to be turned on at a first brightness in response to the ultraviolet intensity being less than a first reference threshold and greater than or equal to a second reference threshold; and controlling the running lamp to be turned on at a second brightness in response to the ultraviolet intensity being smaller than a second reference threshold, wherein the second brightness is larger than the first brightness.
For example, if the ultraviolet intensity is less than the first reference threshold and greater than or equal to the second reference threshold, indicating that the light brightness of the road on which the vehicle is located is low, the ECU controls the running light to be turned on at the first brightness. If the ultraviolet intensity is smaller than the second reference threshold value, the ECU controls the running lamp to be turned on at the second brightness, wherein the brightness of the light on the road where the vehicle is located is extremely low. The running lamp is positioned on the vehicle and used for illuminating a road when the vehicle runs, and the running lamp has three states of being not started, being started at first brightness and being started at second brightness. Alternatively, the first luminance and the second luminance may be set according to the requirements and/or experiments while ensuring that the second luminance is greater than the first luminance. The first reference threshold and the second reference threshold may be set in combination with visibility of the vehicle when traveling in different light rays, and it is necessary to ensure that the first reference threshold is greater than the second reference threshold.
When the light brightness of the road where the vehicle is located is low, the running lamp is controlled to be turned on at the first brightness, and when the light brightness of the road where the vehicle is located is extremely low, the running lamp is controlled to be turned on at the second brightness, so that proper illumination is provided for the road in front when the vehicle runs, and proper visibility is provided for a driver.
Optionally, the ultraviolet sensor may measure the ultraviolet intensity of the road where the vehicle is located according to the measurement frequency, calculate the difference between the ultraviolet intensity measured this time and the ultraviolet intensity measured last time, if the difference exceeds a third reference threshold and the ultraviolet intensity measured this time is lower than the ultraviolet intensity measured last time, indicate that the light brightness of the road where the vehicle is located changes greatly and gets dark, control the running lamp of the vehicle to be turned on with the first brightness, and prompt the driver that the light brightness of the road where the vehicle is located changes greatly, so that attention is required to be paid to safety. In one possible implementation, the measurement frequency may be set as desired.
In step 203, a class of radar to be used for detecting a traffic state of a road on which the vehicle is located is determined based on the weather class.
Illustratively, after acquiring the weather category of the road on which the vehicle is located, determining the category of the radar to be used for detecting the traffic state of the road on which the vehicle is located based on the weather category includes: responding to weather category not being any one of rainy days, snowy days, foggy days and sand storm, selecting a laser radar to detect traffic state of a road where a vehicle is located; and selecting the millimeter wave radar to detect the traffic state of the road where the vehicle is located in response to the weather category being at least one of rainy days, snowy days, foggy days and sand storm.
Alternatively, if the weather category is not any of rainy days, snowy days, foggy days, and sand storm, the ECU selects the lidar to detect the traffic state of the road on which the vehicle is located, indicating that the current weather has less influence on the radar. If the weather category is at least one of rainy days, snowy days, foggy days and sand storm, the influence of the current weather on the radar is indicated to be large, and the ECU selects the millimeter wave radar to detect the traffic state of the road where the vehicle is located.
When the laser radar and the millimeter wave radar are selected, the laser radar has high precision and strong directivity when measuring the distance, and can rapidly detect the shapes and the types of pedestrians, other vehicles or obstacles, but the laser radar is greatly influenced by weather, and the precision, the directivity and the detection speed can be reduced in the weather states of rainy days, snowy days, foggy days and sand storm, so that the laser radar is preferentially selected to detect the traffic state of the road where the vehicle is located in the weather states of rainy days, snowy days, foggy days and sand storm, and the millimeter wave radar is selected to detect the traffic state of the road where the vehicle is located in the weather states of rainy days, snowy days, foggy days and sand storm.
In one possible implementation, if it is determined that the radar of the category for detecting the traffic state of the road on which the vehicle is located is wrong, the ECU selects, after receiving the wrong information reported by the radar, another radar of the category that is not wrong as the radar for detecting the traffic state of the road on which the vehicle is located. For example, if it is determined that the radar for detecting the traffic state of the road on which the vehicle is located is a lidar, but the ECU receives error information reported by the lidar, the ECU switches the radar for detecting the traffic state of the road on which the vehicle is located to a millimeter wave radar. If the radar for detecting the traffic state of the road where the vehicle is located is determined to be the millimeter wave radar, but the ECU receives error information reported by the millimeter wave radar, the ECU switches the radar for detecting the traffic state of the road where the vehicle is located to the laser radar.
In step 204, the traffic state of the road on which the vehicle is located is detected by the radar of the determined category.
The traffic state of the road on which the vehicle is located includes, for example, whether or not there is a target object in front of the vehicle, and the distance of the target object from the vehicle. After determining a radar for detecting a traffic state of a road on which a vehicle is located, detecting the traffic state of the road on which the vehicle is located by the radar of the determined category, comprising: controlling the laser radar to emit laser pulses in response to the determined class of radar being the laser radar; in response to receiving a reflected signal of the laser pulse, calculating a first distance from a target object to the vehicle, the target object being an object that reflects the laser pulse; in response to the first distance being less than or equal to the first reference distance, indicating that a target object is present within the first reference distance of the road on which the vehicle is located, the target object including at least one of a pedestrian, a remaining vehicle, or an obstacle.
Alternatively, if the radar for detecting the traffic state of the road on which the vehicle is located is a lidar, the ECU controls the lidar to emit a laser pulse, and when the laser pulse irradiates a target object, reflection occurs to generate a first reflected signal, and the first reflected signal returns to the lidar along the emitted path. In one possible implementation, a receiving lens of the lidar receives the first reflected signal. When the laser radar emits laser pulses, a quartz clock inside the laser radar records the laser radar emitted laser pulses and a first time interval when a first reflected signal is received. The first distance from the laser radar to the reflection point on the target object can be calculated through the first time interval, and the formula for calculating the first distance is as follows:
first distance = (first time interval x speed of light)/(2)
Wherein the speed of light may be 300,000 kilometers per second, the first distance may be in kilometers, and the first time interval may be in seconds.
In one possible implementation, the first distance from the laser radar of the reflection point corresponding to each received first reflection signal is calculated according to the same method, and the category of the target object is determined as a pedestrian, the rest of vehicles or an obstacle and the first distance from the laser radar of the target object is combined with the angle of each reflection signal received by the receiving lens.
Illustratively, in response to the determined class of radar being millimeter wave radar, the ECU controls the lidar to emit millimeter waves; calculating a second distance from the target object to the vehicle in response to receiving the reflected signal of the millimeter wave, the target object being an object that reflects the millimeter wave; in response to the second distance being less than or equal to the second reference distance, indicating the presence of a target object within the second reference distance of the road on which the vehicle is located, the target object including at least one of a pedestrian, a remaining vehicle, or an obstacle.
Alternatively, if the determined class of radar is a millimeter wave radar, the millimeter wave radar is controlled to emit millimeter waves through an antenna of the millimeter wave radar, and when the millimeter waves are irradiated onto the target object, reflection occurs to generate a second reflected signal, and the second reflected signal returns to the millimeter wave radar along the emitted path. In one possible implementation, the receiver of the millimeter wave radar receives the second reflected signal. And when the millimeter wave radar emits millimeter waves, recording a second time interval when the millimeter wave radar emits millimeter waves and receives a second reflected signal. The second distance from the millimeter wave radar to the reflection point on the target object can be calculated through the second time interval, and the formula for calculating the second distance is as follows:
Second distance = (second time interval×millimeter wave speed)/(2)
Wherein the millimeter wave speed may be 300,000 kilometers per second, the second distance may be in kilometers, and the second time interval may be in seconds.
Illustratively, the second distance of the reflection point corresponding to each received second reflection signal from the millimeter wave radar is calculated in the same way, and the category of the target object is determined as a pedestrian, the remaining vehicle, or an obstacle in combination with the angle of each reflection signal received by the receiver, and the second distance of the target object from the millimeter wave radar.
Optionally, if the vehicle is in the process of detecting the traffic state of the road where the vehicle is located by using the laser radar, the weather category of the road where the vehicle is located becomes any one of rainy days, snowy days, foggy days and sand storm, the millimeter wave radar is started to detect the traffic state of the road where the vehicle is located together with the laser radar, and the target object detected by the laser radar and the first distance between the target object and the vehicle are compared with the target object detected by the millimeter wave radar and the second distance between the target object and the vehicle. And if the target object detected by the millimeter wave radar is consistent with the target object detected by the laser radar and the difference value between the first distance and the second distance is smaller than the difference value threshold value, closing the laser radar. If the target object detected by the millimeter wave radar is inconsistent with the target object detected by the laser radar or at least one of the difference value of the first distance and the second distance is larger than or equal to the difference value threshold value, continuing to detect the target object detected by the millimeter wave radar and the laser radar until the target object detected by the millimeter wave radar is consistent with the target object detected by the laser radar and the first distance is equal to the second distance, and closing the laser radar.
In one possible implementation manner, if the vehicle is in the process of detecting the traffic state of the road where the vehicle is located by adopting the millimeter wave radar, when the weather type of the road where the vehicle is located is changed from any one of a rainy day, a snowy day, a foggy day and a sand storm to the rest weather which does not affect the function of the laser radar, the laser radar and the millimeter wave radar are started to detect the traffic state of the road where the vehicle is located together, and the target object detected by the laser radar and the first distance between the target object and the vehicle are compared with the target object detected by the millimeter wave radar and the second distance between the target object and the vehicle. Optionally, the remainder are weather that does not affect lidar functionality, including but not limited to: cloudy or sunny days.
Illustratively, if the target object detected by the millimeter wave radar coincides with the target object detected by the laser radar and the difference between the first distance and the second distance is less than the difference threshold, the millimeter wave radar is turned off. If the target object detected by the millimeter wave radar is inconsistent with the target object detected by the laser radar or at least one of the difference value of the first distance and the second distance is larger than or equal to the difference value threshold value, continuing to detect by the millimeter wave radar and the laser radar until the target object detected by the millimeter wave radar is consistent with the target object detected by the laser radar and the first distance is equal to the second distance, and closing the millimeter wave radar. Alternatively, the difference threshold may be empirically set.
In step 205, the on/off state of the overtaking lamp of the vehicle is controlled based on the on/off state of the running lamp and the traffic state of the road on which the vehicle is located.
In one possible implementation manner, after determining the traffic state of the road where the vehicle is located, controlling the on/off condition of the overtaking light of the vehicle based on the on/off condition of the running light and the traffic state of the road where the vehicle is located includes: and responding to the condition that the target object exists in the first reference distance of the road where the vehicle is located or the target object exists in the second reference distance of the road where the vehicle is located, and the running lamp is not started or is started with the first brightness when the running lamp is started, and controlling the super-lamp to start and flash.
For example, if the radar for detecting the traffic state of the road on which the vehicle is located is a lidar, the first distance is compared with a first reference distance, and if the first distance is smaller than the first reference distance, it is indicated that the target object exists in the first reference distance of the road on which the vehicle is located. If the radar for detecting the traffic state of the road on which the vehicle is located is a millimeter wave radar, comparing the second distance with a second reference distance, and if the second distance is smaller than the second reference distance, indicating that a target object exists in the second reference distance of the road on which the vehicle is located.
Optionally, if the target object exists in the first reference distance of the road where the vehicle is located or the target object exists in the second reference distance of the road where the vehicle is located, and the running light is turned on or turned on with the first brightness when the running light is not turned on, controlling the super-light to turn on and flash, including: and controlling the super-vehicle lamp to turn on and flash for a preset period at a preset frequency. Wherein the overtaking lamp is positioned on the vehicle. In one possible implementation, the preset frequency and the preset period may be set according to the requirement, for example, the preset frequency may be set to 5Hz (hertz) and the preset period may be set to 3 periods.
For example, if the target object exists in the first reference distance of the road where the vehicle is located or the target object exists in the second reference distance of the road where the vehicle is located, and the running light is turned on at the second brightness when the running light is turned on, the running light is kept on at the second brightness until the target object exists in the first reference distance of the road where the vehicle is located and the target object does not exist in the second reference distance of the road where the vehicle is located.
The overtaking lamp is controlled to be turned on and flash when at least one of the pedestrian, the other vehicle or the obstacle exists in front of the vehicle, and the driver is reminded of early warning of the pedestrian or the other vehicle in front of the vehicle at the same time when the at least one of the pedestrian, the other vehicle or the obstacle exists in front of the vehicle. When the ambient light of the road on which the vehicle is positioned is dim or the traffic state is complex, the danger caused by untimely response to pedestrians, other vehicles or obstacles in front of the vehicle because the sight of the driver is disturbed is reduced, so that the driving safety is improved, and the occurrence of traffic accidents is reduced.
According to the embodiment of the application, the opening and closing conditions of the running lamp are determined according to the ultraviolet intensity of the road where the vehicle is located, and the type of the radar used for detecting the traffic state of the road where the vehicle is located is determined according to the weather type of the road where the vehicle is located, so that the type of the radar suitable for detecting the traffic state of the road where the vehicle is located under the current weather condition can be selected, and the accuracy in detecting the traffic state of the road where the vehicle is located is improved.
After the type of the radar is selected, the radar is started to detect the traffic state of the road where the vehicle is located, the on-off condition of the overtaking lamp of the vehicle is controlled through the on-off condition of the running lamp and the traffic state of the road where the vehicle is located, when at least one of pedestrians, other vehicles or obstacles exists in front of the vehicle, the overtaking lamp is controlled to be started and flash, the driver is reminded of at least one of pedestrians, other vehicles or obstacles exists in front of the vehicle, and meanwhile early warning is carried out on the pedestrians or other vehicles in front of the vehicle. When the ambient light of the road on which the vehicle is located is dim or the traffic state is complex, the application can reduce the danger caused by the interference of the sight of the driver, thereby improving the driving safety.
In connection with the above-described method procedure, a block diagram of a millimeter wave radar according to an embodiment of the present application shown in fig. 3 is taken as an example for illustration. The millimeter wave radar includes a voltage-controlled oscillator 301, a transmitter 302, a transmitting antenna 303, a receiving antenna 304, a receiver 305, an amplifier 306, and an arithmetic unit 307. The voltage-controlled oscillator 301 generates millimeter waves, which are emitted by the transmitting antenna 303 of the transmitter 302, and reflected by the target object, to generate a second reflected signal. The receiving antenna 304 of the receiver 305 receives the second reflected signal, amplifies the second reflected signal by the amplifier 306, and transmits the second reflected signal to the operation unit 307, and the operation unit 307 identifies the type and the position of the target object and the distance from the millimeter wave radar through the second reflected signal, so as to provide the electric control unit 308 with reference, and the electric control unit 308 sends out a control instruction based on the type and the position of the target object and the distance from the millimeter wave radar.
In connection with the above-mentioned method procedure, a structural diagram of a lidar according to an embodiment of the present application shown in fig. 4 is taken as an example for illustration. The laser radar includes a laser pulse generator 401, a transmitting lens 402, a scanning mirror 403, a receiving lens 404, a photodetector 405, a photodiode 406, and a quartz clock 407. The laser pulse generator 401 generates a laser beam, and the laser beam is focused by the emission lens 402 through the emission lens 402, so that the energy density of the laser beam is enhanced, and the laser beam can be propagated over a longer distance. After the laser beam is focused by the emission lens 402, it reaches the scanning mirror 403, and the scanning direction and range of the laser beam can be controlled by the scanning mirror 403. The laser beam is emitted by the scanning mirror 403, and after reaching the target object 408, is reflected by the emission, producing a first reflected signal.
The receiving lens 404 receives the first reflected signal, and the receiving lens 404 focuses the first reflected signal so as to accurately detect the distance of the target object. The first reflected signal passes through the receiving lens 404 to reach the photodetector 405 and the photodiode 406, and the photodetector 405 and the photodiode 406 convert the first reflected signal from an optical signal into an electrical signal for processing and analysis. The first time interval between the emission of the laser beam from the scanning mirror 403 and the arrival of the first reflected signal at the receiving lens 404 is recorded by the quartz clock 407 for recording the first distance of the target object from the lidar.
Referring to fig. 5, an embodiment of the present application provides a control device for a lamp of a vehicle, the device including:
the acquiring module 501 is configured to acquire an environmental state of a road on which a vehicle is located, where the environmental state includes an ultraviolet intensity and a weather category;
a first determining module 502 for determining an on/off condition of a running light of the vehicle based on the ultraviolet intensity;
A second determining module 503 for determining a category of radar to be used for detecting a traffic state of a road on which the vehicle is located based on the weather category;
The detection module 504 is configured to detect a traffic state of a road on which the vehicle is located through the determined radar of the category;
and a control module 505 for controlling the on/off of the overtaking lamp of the vehicle based on the on/off of the running lamp and the traffic state of the road on which the vehicle is located.
In one possible implementation, the first determining module 502 is configured to control the running light to be turned on at the first brightness in response to the ultraviolet intensity being less than the first reference threshold and greater than or equal to the second reference threshold; and controlling the running lamp to be turned on at a second brightness in response to the ultraviolet intensity being smaller than a second reference threshold, wherein the second brightness is larger than the first brightness.
In one possible implementation, weather categories include rain, snow fog, and sand storm; the class of radars includes lidar and millimeter wave radars; a second determining module 503, configured to select, in response to the weather category not being any one of a rainy day, a snowy day, a foggy day, and a sand storm, the lidar to detect a traffic state of a road on which the vehicle is located; and selecting the millimeter wave radar to detect the traffic state of the road where the vehicle is located in response to the weather category being at least one of rainy days, snowy days, foggy days and sand storm.
In one possible implementation, the detection module 504 is configured to control the lidar to emit a laser pulse in response to the determined class of radar being the lidar; in response to receiving a reflected signal of the laser pulse, calculating a first distance from a target object to the vehicle, the target object being an object that reflects the laser pulse; in response to the first distance being less than or equal to the first reference distance, indicating that a target object is present within the first reference distance of the road on which the vehicle is located, the target object including at least one of a pedestrian, a remaining vehicle, or an obstacle.
In one possible implementation, the detection module 504 is configured to control the lidar to emit millimeter waves in response to the determined class of radar being millimeter wave radar; calculating a second distance from the target object to the vehicle in response to receiving the reflected signal of the millimeter wave, the target object being an object that reflects the millimeter wave; and in response to the second distance being less than or equal to the second reference distance, indicating a second reference distance of a road on which the vehicle is located to store a target object, the target object being included in at least one of the pedestrian, the remaining vehicle, or the obstacle.
In one possible implementation, the control module 505 is configured to control the super-light to turn on and flash in response to the presence of the target object within the first reference distance of the road on which the vehicle is located or the presence of the target object within the second reference distance of the road on which the vehicle is located, and the running light is turned on or not turned on with the first brightness.
In one possible implementation, the control module 505 is configured to control the overtaking light to turn on and flash for a preset period at a preset frequency.
The device determines the opening and closing conditions of the running lamp of the vehicle through the ultraviolet intensity of the road where the vehicle is located, and determines the type of the radar for detecting the traffic state of the road where the vehicle is located through the weather type of the road where the vehicle is located, so that the type of the radar suitable for detecting the traffic state of the road where the vehicle is located under the current weather condition can be selected, and the accuracy of detecting the traffic state of the road where the vehicle is located is improved.
After the type of the radar is selected, the radar is started to detect the traffic state of the road where the vehicle is located, the on-off condition of the overtaking lamp of the vehicle is controlled through the on-off condition of the running lamp and the traffic state of the road where the vehicle is located, when at least one of pedestrians, other vehicles or obstacles exists in front of the vehicle, the overtaking lamp is controlled to be started and flash, the driver is reminded of at least one of pedestrians, other vehicles or obstacles exists in front of the vehicle, and meanwhile early warning is carried out on the pedestrians or other vehicles in front of the vehicle. When the ambient light of the road on which the vehicle is located is dim or the traffic state is complex, the application can reduce the danger caused by the interference of the sight of the driver, thereby improving the driving safety.
It should be noted that, when the apparatus provided in the foregoing embodiment performs the functions thereof, only the division of the foregoing functional modules is used as an example, in practical application, the foregoing functional allocation may be performed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules, so as to perform all or part of the functions described above. In addition, the apparatus and the method embodiments provided in the foregoing embodiments belong to the same concept, and specific implementation processes of the apparatus and the method embodiments are detailed in the method embodiments and are not repeated herein.
In an exemplary embodiment, there is also provided a non-transitory computer-readable storage medium having stored therein at least one computer program loaded and executed by a processor of a computer device to cause the computer to implement a method of controlling a lamp of any one of the vehicles described above.
In one possible implementation, the computer readable storage medium may be a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a CD-ROM (Compact Disc Read-Only Memory), a magnetic tape, a floppy disk, an optical data storage device, and so on.
In an exemplary embodiment, a computer program product or a computer program is also provided, the computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions so that the computer device performs the method of controlling the lamp of any one of the vehicles described above.
It should be noted that, the information (including but not limited to user equipment information, user personal information, etc.), data (including but not limited to data for analysis, stored data, presented data, etc.), and signals related to the present application are all authorized by the user or are fully authorized by the parties, and the collection, use, and processing of the related data is required to comply with the relevant laws and regulations and standards of the relevant countries and regions. For example, the environmental state of the road on which the vehicle is located, the traffic state of the road on which the vehicle is located, the on-off condition of the running light of the vehicle, and the on-off condition of the super lamp of the vehicle are all acquired under the condition of sufficient authorization.
It should be understood that references herein to "a plurality" are to two or more. "and/or", describes an association relationship of an association object, and indicates that there may be three relationships, for example, a and/or B, and may indicate: a exists alone, A and B exist together, and B exists alone. The character "/" generally indicates that the context-dependent object is an "or" relationship.
It should be noted that the terms "first," "second," and the like in the description and in the claims, if any, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the application described herein may be implemented in sequences other than those illustrated or otherwise described herein. The implementations described in the following exemplary examples do not represent all implementations consistent with the application. Rather, they are merely examples of apparatus and methods consistent with aspects of the application as detailed in the accompanying claims.
The above embodiments are merely exemplary embodiments of the present application and are not intended to limit the present application, any modifications, equivalent substitutions, improvements, etc. that fall within the principles of the present application should be included in the scope of the present application.

Claims (10)

1. A method of controlling a lamp of a vehicle, the method comprising:
Acquiring the environmental state of a road where a vehicle is located, wherein the environmental state comprises ultraviolet intensity and weather category;
Determining the on-off condition of a running lamp of the vehicle based on the ultraviolet intensity;
Determining a category of radar to be used for detecting a traffic state of a road on which the vehicle is located based on the weather category;
detecting the traffic state of the road where the vehicle is located through the determined radar of the category;
and controlling the on-off condition of the super-vehicle lamp of the vehicle based on the on-off condition of the running lamp and the traffic state of the road where the vehicle is located.
2. The method according to claim 1, wherein the determining the on/off condition of the running light of the vehicle based on the ultraviolet intensity includes:
Controlling the running lamp to be turned on at a first brightness in response to the ultraviolet intensity being less than a first reference threshold and greater than or equal to a second reference threshold;
And controlling the running lamp to be turned on at a second brightness in response to the ultraviolet intensity being smaller than the second reference threshold, wherein the second brightness is larger than the first brightness.
3. The method of claim 1, wherein the weather categories include rain, snow, and sand storms; the class of the radars comprises a laser radar and a millimeter wave radar; the determining a category of radar to be used for detecting traffic states of a road on which a vehicle is located based on the weather category includes:
selecting the lidar to detect a traffic state of a road on which the vehicle is located in response to the weather category not being any one of the rainy day, the snowy day, the foggy day, and the sand storm;
and responding to the weather category being at least one of the rainy day, the snowy day, the foggy day and the sand storm, and selecting the millimeter wave radar to detect the traffic state of the road where the vehicle is located.
4. A method according to claim 3, wherein said detecting the traffic state of the road on which the vehicle is located by the determined radar of the category comprises:
Controlling the lidar to emit laser pulses in response to the determined class of radar being the lidar;
In response to receiving a reflected signal of the laser pulse, calculating a first distance from a target object to the vehicle, the target object being an object that reflects the laser pulse;
and indicating that the target object exists in the first reference distance of the road where the vehicle is located in response to the first distance being smaller than or equal to the first reference distance, wherein the target object comprises at least one of pedestrians, other vehicles or obstacles.
5. A method according to claim 3, wherein said detecting the traffic state of the road on which the vehicle is located by the determined radar of the category comprises:
controlling the laser radar to emit millimeter waves in response to the determined radar of the category being the millimeter wave radar;
Calculating a second distance from a target object to the vehicle in response to receiving the reflected signal of the millimeter wave, the target object being an object that reflects the millimeter wave;
And in response to the second distance being less than or equal to a second reference distance, indicating a second reference distance of a road on which the vehicle is located to store the target object, wherein the target object is included in at least one of pedestrians, remaining vehicles or obstacles.
6. The method according to claim 4 or 5, wherein the controlling the on/off condition of the super lamp of the vehicle based on the on/off condition of the running lamp and the traffic state of the road on which the vehicle is located, comprises:
and responding to the condition that the target object exists in the first reference distance of the road where the vehicle is located or the target object exists in the second reference distance of the road where the vehicle is located, and the running lamp is not started or is started with first brightness when the running lamp is started, and controlling the overtaking lamp to be started and flash.
7. The method of claim 6, wherein the controlling the overtaking light to turn on and flash comprises:
and controlling the overtaking lamp to be started and flashing for a preset period at a preset frequency.
8. A control device of a lamp of a vehicle, characterized in that the device comprises:
the acquisition module is used for acquiring the environmental state of the road where the vehicle is located, wherein the environmental state comprises ultraviolet intensity and weather category;
A first determining module for determining the on/off condition of a running lamp of the vehicle based on the ultraviolet intensity;
A second determining module for determining a category of radar to be used for detecting a traffic state of a road on which the vehicle is located based on the weather category;
The detection module is used for detecting the traffic state of the road where the vehicle is located through the determined radar of the category;
And the control module is used for controlling the on-off condition of the superlamps of the vehicle based on the on-off condition of the running lamps and the traffic condition of the road where the vehicle is located.
9. The apparatus of claim 8, wherein the first determination module is configured to control the running light to turn on at a first brightness in response to the ultraviolet intensity being less than a first reference threshold and greater than or equal to a second reference threshold; and controlling the running lamp to be turned on at a second brightness in response to the ultraviolet intensity being smaller than the second reference threshold, wherein the second brightness is larger than the first brightness.
10. A non-transitory computer-readable storage medium, characterized in that at least one computer program is stored in the computer-readable storage medium, the at least one computer program being loaded and executed by a processor to cause the computer to implement the method of controlling a lamp of a vehicle according to any one of claims 1 to 7.
CN202410575408.5A 2024-05-10 Method and device for controlling lamp of vehicle and storage medium Pending CN118254665A (en)

Publications (1)

Publication Number Publication Date
CN118254665A true CN118254665A (en) 2024-06-28

Family

ID=

Similar Documents

Publication Publication Date Title
JP7072628B2 (en) Methods and systems for detecting weather conditions using in-vehicle sensors
KR100874461B1 (en) External lighting control device of vehicle and automatic control device of vehicle
US7838836B2 (en) Method for detecting a spray of water at the rear of a vehicle
US7920250B2 (en) System for the detection by a motor vehicle of a phenomenon that interferes with visibility
EP2537709B1 (en) Image processing apparatus and light distribution control method
US9340148B2 (en) Method and control unit for distance-dependent adjustment of the illumination range of a lighting system for a vehicle
JP2019125372A (en) Radar for detecting weather, dynamically control of vehicle system, and operation
EP3021109A1 (en) Adhering detection apparatus, adhering substance detection method, carrier medium, and device control system for controlling vehicle-mounted devices
CN209248021U (en) The detection device that mist for vehicle detects
JPH06286521A (en) Method and device for automatic shifting of car head light to low beam
JP2005043201A (en) Radar device for vehicle
US11961306B2 (en) Object detection device
JP2002022831A (en) Method and apparatus for recognizing object, recording medium
JP2002257934A (en) Road surface condition detector for vehicle and range- finder for vehicle
JP2007038954A (en) Periphery warning device for vehicle
KR101172954B1 (en) Apparatus and method for automatically controling a vehicle lamp
US7108179B2 (en) Object detecting apparatus and irregularity detecting device for the same
CN113650553A (en) Intelligent adjusting control device and method for automobile headlamp
US9330552B2 (en) Detection of ice on a vehicle window by means of an internal temperature sensor
JPH07129900A (en) Obstacle detecting device for vehicle
JP2004184333A (en) Distance measuring apparatus
JP3841047B2 (en) Vehicle distance control device
JP3932623B2 (en) Auto fog lamp device
CN118254665A (en) Method and device for controlling lamp of vehicle and storage medium
JPH1096694A (en) Road surface state detector and vehicle loading the apparatus, and road surface information control system using the apparatus

Legal Events

Date Code Title Description
PB01 Publication