CN115593303A - Vehicle lamp control method, device, equipment and storage medium - Google Patents
Vehicle lamp control method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN115593303A CN115593303A CN202211307081.0A CN202211307081A CN115593303A CN 115593303 A CN115593303 A CN 115593303A CN 202211307081 A CN202211307081 A CN 202211307081A CN 115593303 A CN115593303 A CN 115593303A
- Authority
- CN
- China
- Prior art keywords
- vehicle
- brightness
- signboard
- lamp
- information
- 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
Links
Images
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60Q—ARRANGEMENT OF SIGNALLING OR LIGHTING DEVICES, THE MOUNTING OR SUPPORTING THEREOF OR CIRCUITS THEREFOR, FOR VEHICLES IN GENERAL
- B60Q1/00—Arrangement of optical signalling or lighting devices, the mounting or supporting thereof or circuits therefor
- B60Q1/02—Arrangement of optical signalling or lighting devices, the mounting or supporting thereof or circuits therefor the devices being primarily intended to illuminate the way ahead or to illuminate other areas of way or environments
- B60Q1/04—Arrangement of optical signalling or lighting devices, the mounting or supporting thereof or circuits therefor the devices being primarily intended to illuminate the way ahead or to illuminate other areas of way or environments the devices being headlights
- B60Q1/06—Arrangement of optical signalling or lighting devices, the mounting or supporting thereof or circuits therefor the devices being primarily intended to illuminate the way ahead or to illuminate other areas of way or environments the devices being headlights adjustable, e.g. remotely-controlled from inside vehicle
- B60Q1/08—Arrangement of optical signalling or lighting devices, the mounting or supporting thereof or circuits therefor the devices being primarily intended to illuminate the way ahead or to illuminate other areas of way or environments the devices being headlights adjustable, e.g. remotely-controlled from inside vehicle automatically
- B60Q1/085—Arrangement of optical signalling or lighting devices, the mounting or supporting thereof or circuits therefor the devices being primarily intended to illuminate the way ahead or to illuminate other areas of way or environments the devices being headlights adjustable, e.g. remotely-controlled from inside vehicle automatically due to special conditions, e.g. adverse weather, type of road, badly illuminated road signs or potential dangers
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60Q—ARRANGEMENT OF SIGNALLING OR LIGHTING DEVICES, THE MOUNTING OR SUPPORTING THEREOF OR CIRCUITS THEREFOR, FOR VEHICLES IN GENERAL
- B60Q1/00—Arrangement of optical signalling or lighting devices, the mounting or supporting thereof or circuits therefor
- B60Q1/02—Arrangement of optical signalling or lighting devices, the mounting or supporting thereof or circuits therefor the devices being primarily intended to illuminate the way ahead or to illuminate other areas of way or environments
- B60Q1/04—Arrangement of optical signalling or lighting devices, the mounting or supporting thereof or circuits therefor the devices being primarily intended to illuminate the way ahead or to illuminate other areas of way or environments the devices being headlights
- B60Q1/14—Arrangement of optical signalling or lighting devices, the mounting or supporting thereof or circuits therefor the devices being primarily intended to illuminate the way ahead or to illuminate other areas of way or environments the devices being headlights having dimming means
Landscapes
- Engineering & Computer Science (AREA)
- Mechanical Engineering (AREA)
- Lighting Device Outwards From Vehicle And Optical Signal (AREA)
Abstract
The invention belongs to the technical field of vehicle control, and discloses a vehicle lamp control method, a vehicle lamp control device, vehicle lamp control equipment and a storage medium. According to the invention, when the information signboard is detected, the vehicle lamp to be adjusted is determined according to the relative position between the information signboard and the vehicle; adjusting the brightness of the vehicle lamp to be adjusted to the first brightness; acquiring signboard specification information corresponding to the information signboard, and determining second vehicle lamp brightness according to the first vehicle lamp brightness and the signboard specification information; and adjusting the brightness of the vehicle lamp to be adjusted for the second time according to the second brightness of the vehicle lamp. Because the brightness of the vehicle lamp to be adjusted in the vehicle is adjusted when the information signboard is detected, the brightness of the vehicle lamp is reduced, the reflection intensity of the far light of the vehicle on the signboard is reduced, and a driver can normally read information from the information signboard.
Description
Technical Field
The present invention relates to the field of vehicle control technologies, and in particular, to a method, an apparatus, a device, and a storage medium for controlling a vehicle lamp.
Background
At present, when a vehicle driver drives at night, in order to conveniently see the road condition clearly and ensure safety, a high beam mode is generally used, and in an actual driving scene (such as a highway or a part of road sections with construction), information signboards (guideboards, obstacle signboards and the like) on the roadside need to be observed inevitably to adjust the travel.
The above is only for the purpose of assisting understanding of the technical solution of the present invention, and does not represent an admission that the above is the prior art.
Disclosure of Invention
The invention mainly aims to provide a car light control method, a car light control device, car light control equipment and a car light control storage medium, and aims to solve the technical problem that a driver is difficult to read information from an information signboard due to reflection of a high beam mode.
In order to achieve the above object, the present invention provides a vehicle lamp control method, comprising the steps of:
when the information signboard is detected, determining the vehicle lamp to be adjusted according to the relative position between the information signboard and the vehicle;
adjusting the lamp brightness of the lamp to be adjusted to a first lamp brightness;
acquiring signboard specification information corresponding to the information signboard, and determining second vehicle lamp brightness according to the first vehicle lamp brightness and the signboard specification information;
and adjusting the brightness of the vehicle lamp to be adjusted for the second time according to the second vehicle lamp brightness.
Optionally, the step of determining the second vehicle light brightness according to the first vehicle light brightness and the signboard specification information includes:
determining the size of the signboard and the height of the signboard from the ground according to the specification information of the signboard;
determining a first correction coefficient according to the size of the signboard, and determining a second correction coefficient according to the height of the signboard above the ground;
acquiring a voltage duty ratio corresponding to a lamp to be adjusted in a current vehicle;
and determining second vehicle lamp brightness according to the first correction coefficient, the second correction coefficient, the voltage duty ratio and the first vehicle lamp brightness.
Optionally, when the information signboard is detected, the step of determining the vehicle lamp to be adjusted according to the relative position between the information signboard and the vehicle includes:
when the information signboard is detected, determining the angle value of the signboard according to the relative position between the information signboard and the vehicle;
acquiring a matrix specification of a car lamp matrix installed in the vehicle, and determining a target area according to the angle value of the signboard and the matrix specification;
and taking part of the vehicle lamps in the target area in the vehicle lamp matrix as vehicle lamps to be adjusted.
Optionally, before the step of adjusting the brightness of the vehicle lamp twice according to the second brightness of the vehicle lamp, the method further includes:
acquiring the current running speed of the vehicle, acquiring the distance between the information signboard and the vehicle, and acquiring a mark spacing distance;
determining the brightness adjustment duration according to the running speed and the identification interval distance;
correspondingly, the step of adjusting the brightness of the vehicle lamp twice according to the second brightness of the vehicle lamp comprises the following steps:
determining a brightness adjustment rate according to the first vehicle lamp brightness, the second vehicle lamp brightness and the brightness adjustment duration;
and adjusting the brightness of the vehicle lamp to be adjusted for the second time according to the brightness adjusting rate.
Optionally, before the step of determining the vehicle light to be adjusted according to the relative position between the information signboard and the vehicle when the information signboard is detected, the method further includes:
when the driving control signal is detected, acquiring a previous driving signal;
determining whether to start an automatic regulation mode according to the previous drive signal and the drive control signal;
if the automatic adjusting mode is started, acquiring an image in front of the vehicle;
and detecting the image in front of the vehicle to determine whether the information signboard is detected.
Optionally, the step of detecting the image in front of the vehicle and determining whether the information signboard is detected includes:
carrying out target detection on the image in front of the vehicle to determine whether an information signboard exists;
if the information signboard exists, the distance between the information signboard and the vehicle is acquired;
and if the distance between the information signboard and the vehicle is smaller than or equal to a preset distance threshold value, judging that the information signboard is detected.
Optionally, after the step of adjusting the brightness of the vehicle lamp twice according to the second brightness of the vehicle lamp, the method further includes:
collecting an image in front of a vehicle;
detecting whether the information signboard exists in the image in front of the vehicle;
and if the information signboard does not exist in the image in front of the vehicle, restoring the brightness of the vehicle lamp to be adjusted to the initial brightness.
In addition, in order to achieve the above object, the present invention further provides a vehicle lamp control device, including the following modules:
the identification detection module is used for determining the vehicle lamp to be adjusted according to the relative position between the information signboard and the vehicle when the information signboard is detected;
the brightness adjusting module is used for adjusting the vehicle lamp brightness of the vehicle lamp to be adjusted to a first vehicle lamp brightness;
the brightness determining module is used for acquiring signboard specification information corresponding to the information signboard and determining second vehicle lamp brightness according to the first vehicle lamp brightness and the signboard specification information;
and the secondary brightness adjusting module is used for adjusting the brightness of the vehicle lamp to be adjusted for the second time according to the second vehicle lamp brightness.
Further, to achieve the above object, the present invention also proposes a vehicle lamp control device comprising: a processor, a memory and a vehicle light control program stored on said memory and executable on said processor, said vehicle light control program when executed by the processor implementing the steps of the vehicle light control method as described above.
In addition, to achieve the above object, the present invention further provides a computer readable storage medium, which stores a vehicle lamp control program, and when the vehicle lamp control program is executed, the vehicle lamp control program implements the steps of the vehicle lamp control method as described above.
According to the invention, when the information signboard is detected, the vehicle lamp to be adjusted is determined according to the relative position between the information signboard and the vehicle; adjusting the brightness of the vehicle lamp to be adjusted to the first brightness; acquiring signboard specification information corresponding to the information signboard, and determining second vehicle lamp brightness according to the first vehicle lamp brightness and the signboard specification information; and secondarily adjusting the lamp brightness of the lamp to be adjusted according to the second lamp brightness. Because the brightness of the vehicle lamp to be adjusted in the vehicle is adjusted when the information signboard is detected, the brightness of the vehicle lamp is reduced, the reflection intensity of the far light of the vehicle on the signboard is reduced, and a driver can normally read information from the information signboard.
Drawings
Fig. 1 is a schematic structural diagram of an electronic device in a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of a vehicular lamp control method according to a first embodiment of the present invention;
FIG. 3 is a schematic diagram of the position of a signboard according to an embodiment of the vehicular lamp control method of the present invention;
FIG. 4 is a schematic flow chart illustrating a vehicular lamp control method according to a second embodiment of the present invention;
FIG. 5 is a graph illustrating a luminance variation of a vehicular lamp according to an embodiment of the vehicular lamp control method of the present invention;
FIG. 6 is a flow chart illustrating brightness control according to an embodiment of the present invention;
fig. 7 is a block diagram showing the structure of the first embodiment of the vehicular lamp control apparatus according to the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and do not limit the invention.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a vehicle lamp control device in a hardware operating environment according to an embodiment of the present invention.
As shown in fig. 1, the electronic device may include: a processor 1001, such as a Central Processing Unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a WIreless interface (e.g., a WIreless-FIdelity (WI-FI) interface). The Memory 1005 may be a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as a disk Memory. The memory 1005 may alternatively be a storage device separate from the processor 1001 described previously.
Those skilled in the art will appreciate that the configuration shown in fig. 1 does not constitute a limitation of the electronic device and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a storage medium, may include therein an operating system, a network communication module, a user interface module, and a vehicle lamp control program.
In the electronic device shown in fig. 1, the network interface 1004 is mainly used for data communication with a network server; the user interface 1003 is mainly used for data interaction with a user; the processor 1001 and the memory 1005 in the electronic device of the present invention may be provided in a vehicle lamp control device, and the electronic device calls a vehicle lamp control program stored in the memory 1005 through the processor 1001 and executes the vehicle lamp control method provided by the embodiment of the present invention.
An embodiment of the present invention provides a vehicle lamp control method, and referring to fig. 2, fig. 2 is a schematic flow chart of a first embodiment of a vehicle lamp control method according to the present invention.
In this embodiment, the vehicle lamp control method includes the following steps:
step S10: and when the information signboard is detected, determining the vehicle lamp to be adjusted according to the relative position between the information signboard and the vehicle.
It should be noted that the executing subject of the present embodiment may be the vehicle lamp control device, and the vehicle lamp control device may be a controller installed in a vehicle, and of course, may also be other devices capable of adjusting the brightness of a vehicle lamp.
It should be noted that the information signboard may be a signboard that is set at the roadside and used for identifying information, for example: road signs, fault signs, steering signs, etc.
In actual use, the vehicle can be provided with an image acquisition device in advance, the image acquired by the image acquisition device can be identified, whether the information signboard exists in the acquired image or not is determined, and if the information signboard exists, the information signboard can be determined to be detected.
In a specific implementation, the vehicle lights in the vehicle are not individual vehicle lights, but are a vehicle light matrix (such as an Led light matrix), and determining the vehicle lights to be adjusted according to the relative position between the information signboard and the vehicle may be determining a part of the vehicle light matrix, which can irradiate the information signboard according to the relative position between the information signboard and the vehicle, and using the part of the vehicle lights in the vehicle light matrix as the vehicle lights to be adjusted.
Further, in order to quickly determine the vehicle lamp to be adjusted, step S10 in this embodiment may include:
when the information signboard is detected, determining the angle value of the signboard according to the relative position between the information signboard and a vehicle;
acquiring a matrix specification of a car lamp matrix installed in the vehicle, and determining a target area according to the angle value of the signboard and the matrix specification;
and taking part of the vehicle lamps in the target area in the vehicle lamp matrix as the vehicle lamps to be adjusted.
It should be noted that the angle value of the signboard may be an included angle formed between two ends of the signboard and a vehicle marking line. The vehicle identification line may be a center line of the vehicle, and of course, may also be a center line of a range viewed from the front of the driver, which is depicted according to a cab position of the vehicle.
It should be noted that, the determining of the target area according to the signboard angle value and the matrix specification may be determining an area where the car light, which can illuminate the position corresponding to the signboard angle value in the car light matrix, is located according to the matrix specification, so as to obtain the target area.
It can be understood that the part of the lights in the target area in the light matrix is the part of the lights that can affect the driver to observe the information signboard, and therefore, the part of the lights in the target area in the light matrix can be used as the lights to be adjusted.
In practical use, because the irradiation range of the vehicle lights in the vehicle is generally fixed, a driver can calibrate the vehicle lights in each area in the vehicle light matrix according to the irradiation range of the vehicle lights and map the vehicle lights with the angle value of the signboard so as to construct an angle area mapping table, and at the moment, determining the target area according to the angle value of the signboard and the matrix specification can be to search the target area corresponding to the angle value of the signboard in the angle area mapping table.
For convenience of understanding, the determination of the vehicle lamp to be adjusted is now described with reference to fig. 3, but the present solution is not limited thereto, fig. 3 is a schematic diagram of the position of the signboard when the angle value of the signboard is obtained, in fig. 3, an x axis is a vehicle sign line, and α is the angle value of the signboard.
Step S20: and adjusting the brightness of the vehicle lamp to be adjusted to the first brightness.
It should be noted that, when the information signboard is detected, in order to avoid the reflection caused by the irradiation of the information signboard when the vehicle is in the high beam mode, the brightness of the vehicle lamp may be reduced, and thus, the brightness of the vehicle lamp to be adjusted may be adjusted to the first brightness. The first vehicle lamp brightness can be preset by a manager of the vehicle lamp control device, and the first vehicle lamp brightness is smaller than the vehicle lamp brightness in the vehicle high beam mode.
In a specific implementation, adjusting the brightness of the vehicle lamp may adjust the brightness by adjusting a voltage duty cycle (PWM) of a vehicle lamp matrix, where adjusting the vehicle lamp brightness of the vehicle lamp to be adjusted to the first vehicle lamp brightness may be determining a voltage duty cycle corresponding to the first vehicle lamp brightness, and then adjusting the voltage duty cycle of the vehicle lamp to be adjusted in the vehicle lamp matrix of the vehicle to the voltage duty cycle corresponding to the first vehicle lamp brightness.
In practical use, because the luminance of car light if in the very short time abrupt change, may make driver's visual sense fall to uncomfortable, may cause the accident, in order to avoid this kind of phenomenon, when will wait to adjust the car light luminance adjustment of car light to first car light luminance, can set up light and adjust duration, then adjust car light luminance to first car light luminance gradually in adjusting duration according to light. For example: suppose that the voltage duty ratio corresponding to the first vehicle lamp brightness is a max The voltage duty ratio corresponding to the first lamp brightness is a 1 The light adjustment duration is t 1 Then the voltage duty ratio adjustment rate of the vehicle lamp to be adjusted is = (a) max -a 1 )/t 1 。
Step S30: and acquiring signboard specification information corresponding to the information signboard, and determining second vehicle lamp brightness according to the first vehicle lamp brightness and the signboard specification information.
It should be noted that the signboard specification information may include signboard dimensions (such as length, width, diameter, etc.) and signboard height from the ground, etc. Because the vehicle can be constantly close to the information signboard, and along with the vehicle constantly is close to the information signboard, the influence of irradiant reflection of light to the driver can increase gradually, consequently, need constantly adjust the car light luminance of treating the adjustment car light of vehicle in the process of being close to guarantee that the driver can normally read the information on the information signboard. The second vehicle light brightness can be the vehicle light brightness which can still ensure that the driver can normally read the information on the information signboard when the driver and the information signboard are positioned at the position with the maximum influence of the illumination intensity.
In actual use, a corresponding reference object can be preset according to the specification and the collection angle of an image collection device installed on a vehicle, and when the condition that an information signboard is collected in an image collected by the image collection device is identified, the information signboard can be compared with the reference object, so that the signboard specification information of the information signboard is determined.
Further, in order to reasonably determine the second vehicle light brightness, step S30 in this embodiment may include:
determining the size of the signboard and the ground clearance of the signboard according to the specification information of the signboard;
determining a first correction coefficient according to the size of the signboard and determining a second correction coefficient according to the height of the signboard from the ground;
acquiring a voltage duty ratio corresponding to a lamp to be adjusted in a current vehicle;
and determining second vehicle lamp brightness according to the first correction coefficient, the second correction coefficient, the voltage duty ratio and the first vehicle lamp brightness.
It should be noted that, determining the signboard size and the signboard ground clearance according to the signboard specification information may be analyzing the signboard specification information, and extracting the signboard size and the signboard ground clearance from the signboard specification information. Determining the first correction coefficient according to the signboard size may be to search a correction coefficient corresponding to the signboard size in a coefficient size mapping table, and use the searched correction coefficient as the first correction coefficient; determining the second correction coefficient according to the height of the signboard from the ground may be to search the correction coefficient corresponding to the height of the signboard from the ground in the height coefficient mapping table, and use the searched correction coefficient as the second correction coefficient. Since the lamp brightness of the lamp to be adjusted is adjusted to the first lamp brightness in advance, the voltage duty ratio corresponding to the lamp to be adjusted in the current vehicle is actually the voltage duty ratio corresponding to the first lamp brightness.
The coefficient size mapping table comprises a mapping relation between the size of the signboard and the correction coefficient, the height coefficient mapping table comprises a mapping relation between the ground clearance of the signboard and the correction coefficient, and the coefficient size mapping table and the height coefficient mapping table can be preset by a manager of the vehicle lamp control equipment according to actual needs.
In a specific implementation, the second vehicle lamp brightness can be calculated according to the first correction coefficient, the second correction coefficient, the voltage duty cycle and the first vehicle lamp brightness through a brightness calculation formula;
the brightness calculation formula is:
T2=k1*k2*a%(T1)
wherein T2 is the second vehicle light brightness; k1 is a first correction coefficient, and the value range is (0, 1); k2 is a second correction coefficient, and the value range is (0, 1); a% is the voltage duty cycle; and T1 is the brightness of the first vehicle lamp.
Since the larger the size of the signboard, the less the driver is affected by the reflection of light when reading the information on the signboard, the signboard size is proportional to the first correction factor. Similarly, the higher the height from the ground of the signboard is, the less the driver is affected by the reflection when reading the information on the signboard, and therefore, the height from the ground of the signboard is in direct proportion to the second correction factor.
In practical use, when the vehicle is driven at night, if the brightness of the lamp is too low, the driver may not recognize the road surface condition, so the minimum value of the first correction coefficient and the second correction coefficient may be set, for example: the minimum value of the first correction coefficient is set to 0.3, and the minimum value of the second correction coefficient is set to 0.4.
Step S40: and adjusting the brightness of the vehicle lamp to be adjusted for the second time according to the second vehicle lamp brightness.
It should be noted that, the secondary adjustment of the lamp brightness of the lamp to be adjusted according to the second lamp brightness may be performed by directly adjusting the lamp brightness of the lamp to be adjusted to the second lamp brightness on the basis of the first lamp brightness.
In a specific implementation, in order to avoid that the vehicle lamp suddenly changes in a short time and causes a visual discomfort to a driver, a light adjustment time period may also be set, and then the brightness of the vehicle lamp to be adjusted is gradually adjusted to the second brightness in the light adjustment time period, at this time, before step S40 in this embodiment, the method may further include:
acquiring the current running speed of the vehicle, acquiring the distance between the information signboard and the vehicle, and acquiring a mark spacing distance;
determining the brightness adjustment duration according to the running speed and the identification interval distance;
correspondingly, the step S40 may include:
determining a brightness adjustment rate according to the first vehicle lamp brightness, the second vehicle lamp brightness and the brightness adjustment duration;
and carrying out secondary adjustment on the brightness of the vehicle lamp to be adjusted according to the brightness adjustment rate.
It should be noted that, the distance between the information signboard and the vehicle is obtained, and the obtaining of the sign separation distance may be obtaining the distance between the vehicle and the information signboard, and taking the obtained distance as the sign separation distance. Determining the brightness adjustment duration according to the driving speed and the identifier interval distance may be to obtain a ratio between the identifier interval distance and the driving speed, and use the ratio as the brightness adjustment duration.
Determining the brightness adjustment rate according to the first vehicle light brightness, the second vehicle light brightness, and the brightness adjustment time period may be calculating a difference between the first vehicle light brightness and the second vehicle light brightness, and using a ratio of the difference to the brightness adjustment time period as the brightness adjustment rate.
In practical use, the secondary adjustment of the vehicle lamp brightness of the vehicle lamp to be adjusted according to the brightness adjustment rate may be to gradually reduce the vehicle lamp brightness of the vehicle lamp to be adjusted according to the brightness adjustment rate until the vehicle lamp brightness is reduced to the second vehicle lamp brightness.
For example: assuming that the first lamp brightness is T1, the corresponding voltage duty ratio is a%, the second lamp brightness is T2, the mark separation distance is L2, and the current running speed of the vehicle is v, at this time, the brightness adjustment time length T2= L2/v, and the brightness adjustment rate = (T1-T2)/T2.
In the embodiment, when the information signboard is detected, the vehicle lamp to be adjusted is determined according to the relative position between the information signboard and the vehicle; adjusting the brightness of the vehicle lamp to be adjusted to the first brightness; acquiring signboard specification information corresponding to the information signboard, and determining second vehicle lamp brightness according to the first vehicle lamp brightness and the signboard specification information; and adjusting the brightness of the vehicle lamp to be adjusted for the second time according to the second brightness of the vehicle lamp. Because the brightness of the vehicle lamp to be adjusted in the vehicle is adjusted when the information signboard is detected, the brightness of the vehicle lamp is reduced, the reflection intensity of the far light of the vehicle on the signboard is reduced, and a driver can normally read information from the information signboard.
Referring to fig. 4, fig. 4 is a schematic flow chart of a vehicle lamp control method according to a second embodiment of the present invention.
Based on the foregoing first embodiment, before the step S10 of the vehicle lamp control method according to the present embodiment, the method further includes:
step S01: when the drive control signal is detected, the previous drive signal is acquired.
It should be noted that the driving control signal may be a control signal for adjusting a light mode of the vehicle, and the driving control signal may be a signal generated by a controller in another vehicle and sent to the vehicle light control device after the user operates the vehicle to adjust the light mode, for example: when a user operates the vehicle to adjust the light mode, the vehicle body controller in the vehicle generates a driving control signal according to the operation of the user, and then sends the generated driving control signal to the vehicle lamp control device.
In a specific implementation, the driving control signals can be divided into four types, as shown in the following table:
signal name | Meaning of a Signal |
Low Beam ON | Dipped headlight on |
Manual High Beam | The high beam is in a manual state |
ADB ON | ADB function opening |
ADB&High Beam OFF | High beam off |
The previous driving signal may be a control signal for adjusting the light pattern last time. The ADB function is a function of automatically adjusting the brightness of the vehicle lamp in the high beam mode.
Step S02: and determining whether to start an automatic regulation mode according to the previous driving signal and the driving control signal.
In practical use, when switching between the low beam and the ADB function, the system status change of the vehicle can be shown in the following table according to different previous driving signals and driving control signals, because the system status change of the vehicle is more friendly to the sight of the driver of the coming vehicle by adopting the mode of immediately turning on and off when switching between the low beam and the ADB function:
it should be noted that if the system state determined by the previous driving signal and the driving control signal changes, and when the change is completed, the ADB function is in the start state (just started or maintained), it may be determined that the automatic adjustment mode is started; if the ADB function is in the off state, it may be determined that the auto-adjustment mode is not turned on.
Step S03: if the automatic adjustment mode is started, an image in front of the vehicle is acquired.
It can be understood that if the automatic adjustment mode is turned on, it indicates that the brightness of the vehicle lamp needs to be automatically adjusted in the high beam mode, so that an image in front of the vehicle can be collected by an image collecting device installed on the vehicle at this time, so as to determine whether the information signboard is detected.
Step S04: and detecting the image in front of the vehicle, and determining whether the information signboard is detected.
It should be noted that, the detecting the image in front of the vehicle and determining whether the information signboard is detected may be detecting the image in front of the vehicle through a preset target recognition model and determining whether the information signboard is detected. The target recognition model can be a pre-trained neural network model, and can recognize and mark the information signboard in the image.
Further, since the observation ability of the human eye is different from that of the machine, in some cases, the machine may detect the information signboard, but the human eye cannot see the information signboard, if the brightness of the vehicle lamp is adjusted, the actual experience of the user may be reduced, and even the vehicle may be mistaken for a failure, in order to avoid this, step S04 in this embodiment may include:
carrying out target detection on the image in front of the vehicle to determine whether an information signboard exists or not;
if the information signboard exists, the distance between the information signboard and the vehicle is acquired;
and if the distance between the information signboard and the vehicle is smaller than or equal to a preset distance threshold value, judging that the information signboard is detected.
It should be noted that, the target detection is performed on the image in front of the vehicle, and it is determined whether the information signboard exists, the target detection may be performed on the image in front of the vehicle through a pre-trained target recognition model, and it is determined whether the information signboard exists in the image in front of the vehicle. The preset distance threshold may be preset by a manager of the vehicle lamp control device according to the observable distance of the driver.
In a specific implementation, even if the information signboard exists in the image in front of the vehicle, if the distance between the information signboard and the vehicle is far, the driver cannot see the information signboard, so when the information signboard exists in the image in front of the vehicle, the distance between the information signboard and the vehicle can be acquired first, and then the distance between the information signboard and the vehicle is compared with a preset distance threshold value to determine whether to continue to execute the subsequent steps to adjust the brightness of the vehicle lamp.
It can be understood that, if the distance between the information signboard and the vehicle is less than or equal to the preset distance threshold, it indicates that the driver can normally see the information signboard, so that it can be determined that the information signboard is detected, and the subsequent steps are performed to adjust the brightness of the vehicle lamp.
Further, in order to ensure the actual use experience of the user, after the vehicle passes through the information signboard, the brightness of the vehicle light of the vehicle may be restored to the original state, and then after the step S40 in this embodiment, the method may further include:
collecting an image in front of a vehicle;
detecting whether the information signboard exists in the image in front of the vehicle;
and if the information signboard does not exist in the image in front of the vehicle, restoring the brightness of the vehicle lamp to be adjusted to the initial brightness.
It should be noted that the image in front of the vehicle may be captured by an image capturing device mounted in the vehicle. The initial brightness may be a brightness before the brightness of the lamp to be adjusted is adjusted to the first lamp brightness. Of course, in order to avoid the subsequent influence on the automatic adjustment of the brightness of the car light, the data related to the information signboard may also be cleared, for example: and clearing or zeroing the data such as the signboard size, the signboard ground clearance, the signboard angle value and the like corresponding to the information signboard.
It can be understood that if it is detected that the previously detected information signboard is not present in the image in front of the vehicle, this indicates that the driver has passed the information signboard as the vehicle advances, and the driver can no longer observe the information signboard, and the information signboard is moved out of the field of view of the driver of the vehicle, so that the brightness of the vehicle lamp can be restored to the initial brightness, and the vehicle can be kept running before encountering the information signboard.
In a specific implementation, in order to avoid visual discomfort of a driver caused by too fast change of the brightness of the vehicle lamp in a short time, a brightness adjustment time period may be preset, and then when the brightness of the vehicle lamp to be adjusted is restored to the initial brightness, the brightness of the vehicle lamp to be adjusted may be gradually adjusted in the brightness adjustment time period, and the brightness of the vehicle lamp to be adjusted is gradually restored to the initial brightness. For example: assuming that the initial brightness is Tmax, the brightness of the vehicle lamp to be adjusted is Tnow, and the preset brightness adjustment duration is tc, the brightness adjustment speed = (Tmax-Tnow)/tc when the brightness of the vehicle lamp to be adjusted is restored to the initial brightness.
For convenience of understanding, the method for controlling a vehicle lamp according to the present invention will now be described with reference to fig. 5 and 6, but the present invention is not limited thereto, wherein fig. 5 is a vehicle lamp brightness variation curve, and fig. 6 is a brightness control flowchart. In fig. 5 and 6, L1 is a preset distance threshold, T1 is first vehicle lamp brightness, T2 is second vehicle lamp brightness, T1 is a brightness adjustment time length for adjusting the vehicle lamp brightness to the first vehicle lamp brightness, T2 is a brightness adjustment time length for adjusting the vehicle lamp brightness from the first vehicle lamp brightness to the second vehicle lamp brightness, T3 is a brightness adjustment time length T3 for restoring the vehicle lamp brightness from the second vehicle lamp brightness to the initial brightness, the ADB controller is the vehicle lamp control device in this embodiment, and the LED is the vehicle lamp to be adjusted in the foregoing embodiments. The contents of calculating T2, T2 and dimming rate in fig. 5 are already described in the above embodiments, and are not described here again.
In the embodiment, when the driving control signal is detected, the previous driving signal is acquired; determining whether to start an automatic regulation mode according to the previous drive signal and the drive control signal; if the automatic adjusting mode is started, acquiring an image in front of the vehicle; and detecting the image in front of the vehicle, and determining whether the information signboard is detected. The method for controlling the vehicle lamp determines the specific system state change condition according to the driving control signal and the previous driving information, determines whether to start the automatic adjusting mode according to the system state change condition, and identifies the image in front of the vehicle when the automatic adjusting mode is started, so as to determine whether the information signboard is detected and whether the brightness of the vehicle lamp needs to be adjusted, and the method for controlling the vehicle lamp provided by the invention is more suitable for the actual use condition.
Furthermore, an embodiment of the present invention further provides a storage medium, where a vehicle light control program is stored, and the vehicle light control program, when executed by a processor, implements the steps of the vehicle light control method as described above.
Referring to fig. 7, fig. 7 is a block diagram of a first embodiment of a vehicular lamp control device according to the present invention.
As shown in fig. 7, a vehicle lamp control device according to an embodiment of the present invention includes:
the identification detection module 10 is used for determining the vehicle lamp to be adjusted according to the relative position between the information signboard and the vehicle when the information signboard is detected;
the brightness adjusting module 20 is configured to adjust the vehicle lamp brightness of the vehicle lamp to be adjusted to a first vehicle lamp brightness;
the brightness determining module 30 is configured to obtain signboard specification information corresponding to the information signboard, and determine second vehicle lamp brightness according to the first vehicle lamp brightness and the signboard specification information;
and the secondary brightness adjusting module 40 is configured to perform secondary adjustment on the brightness of the vehicle lamp to be adjusted according to the second brightness of the vehicle lamp.
In the embodiment, when the information signboard is detected, the vehicle lamp to be adjusted is determined according to the relative position between the information signboard and the vehicle; adjusting the brightness of the vehicle lamp to be adjusted to the first brightness; acquiring signboard specification information corresponding to the information signboard, and determining second vehicle lamp brightness according to the first vehicle lamp brightness and the signboard specification information; and secondarily adjusting the lamp brightness of the lamp to be adjusted according to the second lamp brightness. Because the brightness of the vehicle lamp to be adjusted in the vehicle is adjusted when the information signboard is detected, the brightness of the vehicle lamp is reduced, the reflection intensity of the far light of the vehicle on the signboard is reduced, and a driver can normally read information from the information signboard.
Further, the brightness determining module 30 is further configured to determine a signboard size and a signboard ground clearance according to the signboard specification information; determining a first correction coefficient according to the size of the signboard and determining a second correction coefficient according to the height of the signboard from the ground; acquiring a voltage duty ratio corresponding to a lamp to be adjusted in a current vehicle; and determining second vehicle lamp brightness according to the first correction coefficient, the second correction coefficient, the voltage duty ratio and the first vehicle lamp brightness.
Further, the sign detection module 10 is further configured to determine, when the information sign is detected, an angle value of the sign according to a relative position between the information sign and the vehicle; acquiring a matrix specification of a car lamp matrix installed in the vehicle, and determining a target area according to the angle value of the signboard and the matrix specification; and taking part of the vehicle lamps in the target area in the vehicle lamp matrix as the vehicle lamps to be adjusted.
Further, the secondary brightening module 40 is further configured to obtain a current running speed of the vehicle, obtain a distance between the information signboard and the vehicle, and obtain a sign separation distance; determining the brightness adjustment duration according to the running speed and the identification interval distance;
the secondary brightness adjusting module 40 is further configured to determine a brightness adjustment rate according to the first vehicle light brightness, the second vehicle light brightness, and the brightness adjustment duration; and carrying out secondary adjustment on the brightness of the vehicle lamp to be adjusted according to the brightness adjustment rate.
Further, the identifier detecting module 10 is further configured to obtain a previous driving signal when the driving control signal is detected; determining whether to start an automatic regulation mode according to the previous driving signal and the driving control signal; if the automatic adjusting mode is started, acquiring an image in front of the vehicle; and detecting the image in front of the vehicle, and determining whether the information signboard is detected.
Further, the sign detection module 10 is further configured to perform target detection on the image in front of the vehicle, and determine whether an information sign board exists; if the information signboard exists, the distance between the information signboard and the vehicle is acquired; and if the distance between the information signboard and the vehicle is smaller than or equal to a preset distance threshold value, judging that the information signboard is detected.
Further, the secondary brightness adjusting module 40 is further configured to acquire an image in front of the vehicle; detecting whether the information signboard exists in the image in front of the vehicle; and if the information signboard does not exist in the image in front of the vehicle, restoring the brightness of the vehicle lamp to be adjusted to the initial brightness.
It should be understood that the above is only an example, and the technical solution of the present invention is not limited in any way, and in a specific application, a person skilled in the art may set the technical solution as needed, and the present invention is not limited in this respect.
It should be noted that the above-mentioned work flows are only illustrative and do not limit the scope of the present invention, and in practical applications, those skilled in the art may select some or all of them according to actual needs to implement the purpose of the solution of the present embodiment, and the present invention is not limited herein.
In addition, the technical details that are not described in detail in this embodiment can be referred to a vehicle lamp control method provided in any embodiment of the present invention, and are not described herein again.
Further, it is to be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrases "comprising a," "8230," "8230," or "comprising" does not exclude the presence of other like elements in a process, method, article, or system comprising the element.
The above-mentioned serial numbers of the embodiments of the present invention are only for description, and do not represent the advantages and disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention or portions thereof that contribute to the prior art may be embodied in the form of a software product, where the computer software product is stored in a storage medium (e.g. a Read Only Memory (ROM)/RAM, a magnetic disk, and an optical disk), and includes several instructions for enabling a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.
Claims (10)
1. A vehicle lamp control method is characterized by comprising the following steps:
when the information signboard is detected, determining the vehicle lamp to be adjusted according to the relative position between the information signboard and the vehicle;
adjusting the lamp brightness of the lamp to be adjusted to a first lamp brightness;
acquiring signboard specification information corresponding to the information signboard, and determining second vehicle lamp brightness according to the first vehicle lamp brightness and the signboard specification information;
and adjusting the brightness of the vehicle lamp to be adjusted for the second time according to the second brightness of the vehicle lamp.
2. The vehicle light control method according to claim 1, wherein the step of determining a second vehicle light brightness based on the first vehicle light brightness and the signboard specification information comprises:
determining the size of the signboard and the height of the signboard from the ground according to the specification information of the signboard;
determining a first correction coefficient according to the size of the signboard, and determining a second correction coefficient according to the height of the signboard above the ground;
acquiring a voltage duty ratio corresponding to a lamp to be adjusted in a current vehicle;
and determining second vehicle lamp brightness according to the first correction coefficient, the second correction coefficient, the voltage duty ratio and the first vehicle lamp brightness.
3. The vehicular lamp control method according to claim 1, wherein the step of determining the vehicular lamp to be adjusted based on the relative position between the information signboard and the vehicle when the information signboard is detected comprises:
when the information signboard is detected, determining the angle value of the signboard according to the relative position between the information signboard and the vehicle;
acquiring a matrix specification of a car lamp matrix installed in the vehicle, and determining a target area according to the angle value of the signboard and the matrix specification;
and taking part of the vehicle lamps in the target area in the vehicle lamp matrix as the vehicle lamps to be adjusted.
4. The lamp control method according to claim 1, wherein the step of adjusting the lamp brightness twice according to the second lamp brightness is preceded by the step of:
acquiring the current running speed of the vehicle, acquiring the distance between the information signboard and the vehicle, and acquiring a mark spacing distance;
determining brightness adjustment duration according to the driving speed and the identification interval distance;
correspondingly, the step of adjusting the brightness of the vehicle lamp twice according to the second brightness of the vehicle lamp includes:
determining a brightness adjustment rate according to the first vehicle lamp brightness, the second vehicle lamp brightness and the brightness adjustment duration;
and carrying out secondary adjustment on the brightness of the vehicle lamp to be adjusted according to the brightness adjustment rate.
5. The method for controlling vehicle lights according to claim 1, wherein before the step of determining the vehicle lights to be adjusted according to the relative position between the information signboard and the vehicle when the information signboard is detected, further comprising:
when the driving control signal is detected, acquiring a previous driving signal;
determining whether to start an automatic regulation mode according to the previous driving signal and the driving control signal;
if the automatic adjusting mode is started, acquiring an image in front of the vehicle;
and detecting the image in front of the vehicle to determine whether the information signboard is detected.
6. The vehicular lamp control method according to claim 5, wherein the step of detecting the image in front of the vehicle to determine whether the information signboard is detected comprises:
carrying out target detection on the image in front of the vehicle to determine whether an information signboard exists or not;
if the information signboard exists, the distance between the information signboard and the vehicle is acquired;
and if the distance between the information signboard and the vehicle is smaller than or equal to a preset distance threshold value, judging that the information signboard is detected.
7. The lamp control method according to any one of claims 1 to 6, further comprising, after the step of adjusting the lamp brightness twice according to the second lamp brightness:
collecting an image in front of a vehicle;
detecting whether the information signboard exists in the image in front of the vehicle;
and if the information signboard does not exist in the image in front of the vehicle, restoring the vehicle lamp brightness of the vehicle lamp to be adjusted to the initial brightness.
8. A vehicle lamp control device is characterized by comprising the following modules:
the identification detection module is used for determining the vehicle lamp to be adjusted according to the relative position between the information signboard and the vehicle when the information signboard is detected;
the brightness adjusting module is used for adjusting the vehicle lamp brightness of the vehicle lamp to be adjusted to a first vehicle lamp brightness;
the brightness determining module is used for acquiring signboard specification information corresponding to the information signboard and determining second vehicle lamp brightness according to the first vehicle lamp brightness and the signboard specification information;
and the secondary brightness adjusting module is used for adjusting the brightness of the vehicle lamp to be adjusted for the second time according to the second vehicle lamp brightness.
9. A vehicular lamp control apparatus characterized in that said vehicular lamp control device comprises: processor, memory and a vehicle light control program stored on the memory and executable on the processor, the vehicle light control program when executed by the processor implementing the steps of the vehicle light control method according to any one of claims 1-7.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a vehicle lamp control program that, when executed, implements the steps of the vehicle lamp control method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211307081.0A CN115593303A (en) | 2022-10-24 | 2022-10-24 | Vehicle lamp control method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211307081.0A CN115593303A (en) | 2022-10-24 | 2022-10-24 | Vehicle lamp control method, device, equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115593303A true CN115593303A (en) | 2023-01-13 |
Family
ID=84849841
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211307081.0A Pending CN115593303A (en) | 2022-10-24 | 2022-10-24 | Vehicle lamp control method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115593303A (en) |
-
2022
- 2022-10-24 CN CN202211307081.0A patent/CN115593303A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6762439B2 (en) | A camera system that uses filters and exposure time to detect flickering illuminated objects | |
CN102881186B (en) | Environment recognizing device for a vehicle and vehicle control system using the same | |
US8543254B1 (en) | Vehicular imaging system and method for determining roadway width | |
CN112078475B (en) | Method and vehicle for assisting a driver in view of objects important for traffic conditions | |
DE102016216000B4 (en) | Vehicle approach detection device and vehicle approach detection method | |
JP2014515893A (en) | Method and apparatus for evaluating an image taken by a camera of a vehicle | |
CN113246846B (en) | Vehicle light control method and device and vehicle | |
DE102008058386A1 (en) | Method for controlling headlamps, involves detecting environment of motor vehicle and interpreting environment for object recognition, where light distribution of headlamp is adjusted depending on recognized object | |
CN113547978B (en) | Driving light warning method, device, equipment and storage medium | |
CN114688506B (en) | Intelligent street lamp illumination control method and device, electronic equipment and storage medium | |
CN113306565B (en) | Driving support device | |
JP6335037B2 (en) | Outside environment recognition device | |
CN110634324A (en) | Vehicle-mounted terminal based reminding method and system for courtesy pedestrians and vehicle-mounted terminal | |
CN111660920A (en) | Vehicle-mounted light adjusting method and device, vehicle and storage medium | |
US9367749B2 (en) | Object detection apparatus | |
CN114368342B (en) | Driving support method, storage medium, and vehicle | |
JP6929481B1 (en) | Light distribution control device, light distribution control method and light distribution control program | |
CN115593303A (en) | Vehicle lamp control method, device, equipment and storage medium | |
CN113370991A (en) | Driving assistance method, device, equipment, storage medium and computer program product | |
CN114312566A (en) | Vehicle starting prompting method, device, equipment and storage medium | |
CN112991775A (en) | Intelligent zebra crossing traffic guidance system | |
EP4180271A1 (en) | Light distribution control device, vehicular lamp system, and light distribution control method | |
CN115376092B (en) | Image recognition method and device in auxiliary driving | |
CN118124589B (en) | Safety induction method and related equipment for curve driving | |
CN111176289B (en) | Unmanned vehicle, control method thereof, electronic device and readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |