Method and device for adjusting lighting of car lamp

文档序号:1046 发布日期:2021-09-17 浏览:24次 中文

阅读说明:本技术 车灯照明调节方法及装置 (Method and device for adjusting lighting of car lamp ) 是由 曾晓宏 于 2021-08-04 设计创作,主要内容包括:本发明实施例提供一种车灯照明调节方法及装置,其中,方法包括:在所述车辆处于熄火状态的情况下,获取用户与所述车辆之间的距离;根据所述距离与第一预设阈值之间的关系,对所述车辆的车灯的照明模式进行调节,即基于用户与车辆之间的距离,对车灯的照明模式进行调节,可提高车灯的照明模式调节的灵活性。(The embodiment of the invention provides a method and a device for adjusting the lighting of a car lamp, wherein the method comprises the following steps: acquiring a distance between a user and the vehicle when the vehicle is in a flameout state; according to the relation between the distance and the first preset threshold value, the illumination mode of the vehicle lamp of the vehicle is adjusted, namely the illumination mode of the vehicle lamp is adjusted based on the distance between the user and the vehicle, so that the flexibility of adjusting the illumination mode of the vehicle lamp can be improved.)

1. A car light illumination adjusting method is applied to a vehicle and is characterized by comprising the following steps:

acquiring a distance between a user and the vehicle when the vehicle is in a flameout state;

and adjusting the illumination mode of the lamp of the vehicle according to the relation between the distance and a first preset threshold value.

2. The method according to claim 1, wherein said adjusting an illumination pattern of a lamp of said vehicle according to a relation between said distance and a first preset threshold value comprises:

determining whether the user carries a key of the vehicle;

and under the condition that the user carries the key of the vehicle, adjusting the lighting mode of the lamp of the vehicle according to the relation between the distance and a first preset threshold value.

3. The method according to claim 1, wherein said adjusting an illumination pattern of a light of said vehicle according to a relation between said distance and a first preset threshold value in case said user carries a key of said vehicle comprises:

under the condition that the user carries a key of the vehicle, if the distance is smaller than a first preset threshold value and larger than a second preset threshold value and the user is located within a camera shooting range of the vehicle, adjusting an illumination mode of a lamp of the vehicle to be a first mode;

alternatively, the first and second electrodes may be,

under the condition that the user carries a key of the vehicle, if the distance is smaller than the first preset threshold and larger than the second preset threshold and the user is not located in the shooting range of the camera of the vehicle, adjusting the lighting mode of the lamp of the vehicle to be a second mode;

alternatively, the first and second electrodes may be,

under the condition that the user carries a key of the vehicle, if the distance is larger than or equal to the first preset threshold value and the user is located within a camera shooting range of the vehicle, adjusting an illumination mode of a lamp of the vehicle to be a third mode;

alternatively, the first and second electrodes may be,

and under the condition that the user carries the key of the vehicle, if the distance is greater than or equal to the first preset threshold value and the user is not located in the camera shooting range of the vehicle, adjusting the lighting mode of the vehicle lamp of the vehicle to be a fourth mode.

4. The method of claim 3 wherein the illumination time of the vehicle light in the first mode is greater than the illumination time of the vehicle light in the second mode;

and/or the presence of a gas in the gas,

the illumination time of the vehicle lamp in the third mode is longer than the illumination time of the vehicle lamp in the fourth mode.

5. The method of claim 1, wherein obtaining the distance between the user and the vehicle with the vehicle in a key-off state comprises:

and under the condition that the vehicle is in a flameout state, determining the distance between the user and the vehicle according to a millimeter wave radar arranged in the vehicle.

6. The method according to claim 1, characterized in that before said adjusting the lighting pattern of the lights of the vehicle according to the relation between the distance and a first preset threshold, it further comprises:

determining whether the user is located within the vehicle;

adjusting an illumination mode of a lamp of the vehicle according to a relationship between the distance and a first preset threshold, comprising:

and if the user is not located in the vehicle and the distance between the key of the vehicle and the vehicle is smaller than a second preset threshold value, adjusting the lighting mode of the vehicle lamp of the vehicle to be a fifth mode.

7. The method of claim 2, wherein the determining whether the user carries a key of the vehicle comprises:

determining a first distance between the user and the vehicle according to a millimeter wave radar arranged in the vehicle;

and if the absolute value of the difference value between the first distance and the second distance is smaller than a third preset threshold value, determining that the user carries the key, wherein the second distance is the distance between the key and the vehicle.

8. A car light illumination adjusting device is applied to a vehicle and is characterized by comprising:

the acquisition module is used for acquiring the distance between a user and the vehicle under the condition that the vehicle is in a flameout state;

and the first adjusting module is used for adjusting the illumination mode of the vehicle lamp of the vehicle according to the relation between the distance and a first preset threshold value.

9. The vehicular lamp illumination adjustment device according to claim 8, wherein the first adjustment module comprises:

a first determination submodule for determining whether the user carries a key of the vehicle;

and the first adjusting submodule is used for adjusting the lighting mode of the vehicle lamp of the vehicle according to the relation between the distance and a first preset threshold value under the condition that the user carries the key of the vehicle.

10. The vehicular lamp illumination adjustment device according to claim 9, wherein the adjustment sub-module comprises:

the first adjusting unit is used for adjusting the lighting mode of the vehicle lamp of the vehicle to be a first mode under the condition that the user carries the key of the vehicle and if the distance is smaller than a first preset threshold value and larger than a second preset threshold value and the user is located in the shooting range of the camera of the vehicle;

alternatively, the first and second electrodes may be,

the second adjusting unit is used for adjusting the lighting mode of the vehicle lamp of the vehicle to be a second mode under the condition that the user carries the key of the vehicle and if the distance is smaller than the first preset threshold and larger than the second preset threshold and the user is not located in the shooting range of the camera of the vehicle;

alternatively, the first and second electrodes may be,

a third adjusting unit, configured to adjust an illumination mode of a vehicle lamp of the vehicle to a third mode when the user carries a key of the vehicle and the distance is greater than or equal to the first preset threshold and the user is located within a camera shooting range of the vehicle;

alternatively, the first and second electrodes may be,

and the fourth adjusting unit is used for adjusting the lighting mode of the vehicle lamp of the vehicle to a fourth mode under the condition that the user carries the key of the vehicle and if the distance is greater than or equal to the first preset threshold and the user is not located in the shooting range of the camera of the vehicle.

Technical Field

The invention relates to the field of vehicle control, in particular to a method and a device for adjusting the lighting of a vehicle lamp.

Background

With the progress of science and technology, people have higher and higher requirements on the intellectualization and the convenience of the whole automobile, and an electric control system of the automobile is more and more complex. At present, most of vehicles are equipped with a low beam light function of returning home along with the passing of me, namely, at night, after a user leaves the vehicle, the low beam light is turned off in a delayed mode, and a way of returning home is illuminated for the user.

In the prior art, a user needs to set the delay time, and the flexibility is lacked.

Disclosure of Invention

The embodiment of the invention provides a method and a device for adjusting vehicle lamp illumination, which can solve the problem that the existing vehicle lamp illumination is lack of flexibility.

In order to solve the technical problem, the present application is implemented as follows:

in a first aspect, an embodiment of the present invention provides a vehicle lamp illumination adjusting method, applied to a vehicle, including:

acquiring a distance between a user and the vehicle when the vehicle is in a flameout state;

and adjusting the illumination mode of the lamp of the vehicle according to the relation between the distance and a first preset threshold value.

In a second aspect, an embodiment of the present invention provides a vehicle lamp illumination adjusting device, which is applied to a vehicle, and includes:

the acquisition module is used for acquiring the distance between a user and the vehicle under the condition that the vehicle is in a flameout state;

and the adjusting module is used for adjusting the lighting mode of the vehicle lamp of the vehicle according to the relation between the distance and a first preset threshold value.

In the embodiment of the invention, the distance between the user and the vehicle is acquired under the condition that the vehicle is in a flameout state, and the lighting mode of the vehicle lamp of the vehicle is adjusted according to the relation between the distance and the first preset threshold value, namely the lighting mode of the vehicle lamp is adjusted based on the distance between the user and the vehicle, so that the flexibility of adjusting the lighting mode of the vehicle lamp can be improved.

Drawings

Fig. 1 is a flowchart of a method for adjusting illumination of a vehicle lamp according to an embodiment of the present invention;

fig. 2 is another flowchart of a method for adjusting illumination of a vehicle lamp according to an embodiment of the present invention;

fig. 3 is a structural diagram of a lighting adjustment device for a vehicle lamp according to an embodiment of the present invention.

Detailed Description

The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.

Unless defined otherwise, technical or scientific terms used herein shall have the ordinary meaning as understood by one of ordinary skill in the art to which this invention belongs. The use of "first," "second," and similar terms in the present application do not denote any order, quantity, or importance, but rather the terms are used to distinguish one element from another. Also, the use of the terms "a" or "an" and the like do not denote a limitation of quantity, but rather denote the presence of at least one. The terms "connected" or "coupled" and the like are not restricted to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "upper", "lower", "left", "right", and the like are used merely to indicate relative positional relationships, and when the absolute position of the object being described is changed, the relative positional relationships are changed accordingly.

Referring to fig. 1, fig. 1 is a flowchart of a method for adjusting illumination of a vehicle lamp according to an embodiment of the present invention, where as shown in the figure, the method includes:

step 110, acquiring a distance between a user and the vehicle under the condition that the vehicle is in a flameout state;

in a specific implementation, at this time, the vehicle is in a dark environment, and the distance between the user and the vehicle refers to the distance between the last user who does not get off or has got off the vehicle and the vehicle after the vehicle is turned off, wherein the user may be any one of a driver and a passenger.

And step 120, adjusting the illumination mode of the vehicle lamp of the vehicle according to the relation between the distance and a first preset threshold value.

In a specific implementation, the illumination mode of the lamps of the vehicle is adjusted according to different comparison relations by comparing the distance obtained in step 110 with a first preset threshold, wherein the first preset threshold is a preset distance value, and the lamps of the vehicle are low beam lamps. The adjusting of the illumination mode of the vehicle lamp may refer to adjusting the illumination duration of the vehicle lamp, the brightness of the vehicle lamp, or the color of the vehicle lamp, and the embodiment is not limited thereto.

In the embodiment of the invention, the distance between the user and the vehicle is acquired under the condition that the vehicle is in a flameout state, and the lighting mode of the vehicle lamp of the vehicle is adjusted according to the relation between the distance and the first preset threshold value, namely the lighting mode of the vehicle lamp is adjusted based on the distance between the user and the vehicle, so that the flexibility of adjusting the lighting mode of the vehicle lamp can be improved.

Optionally, the adjusting the illumination mode of the vehicle lamp according to the relationship between the distance and the first preset threshold includes:

determining whether the user carries a key of the vehicle;

and under the condition that the user carries the key of the vehicle, adjusting the lighting mode of the lamp of the vehicle according to the relation between the distance and a first preset threshold value.

In a specific implementation, the distance is a distance between the key and the vehicle, and in this case, the distance may be any one of a distance between the key carried by the driver and a distance between the key carried by the passenger. And comparing the distance with a first preset threshold value, and adjusting the illumination mode of the lamp of the vehicle according to different comparison relations between the distance and the first preset threshold value. The lighting mode of the vehicle lamp can refer to the lighting duration of the vehicle lamp, the brightness of the vehicle lamp, the color of the vehicle lamp, or the like, and in addition, in a special case, the turning on or off of the light can be controlled through a key.

Optionally, when the user carries a key of the vehicle, adjusting an illumination mode of a lamp of the vehicle according to a relationship between the distance and a first preset threshold, including:

under the condition that the user carries a key of the vehicle, if the distance is smaller than a first preset threshold value and larger than a second preset threshold value and the user is located within a camera shooting range of the vehicle, adjusting an illumination mode of a lamp of the vehicle to be a first mode;

the second preset threshold is a value smaller than the first preset threshold, and the second threshold can be set according to the length and the width of the vehicle.

The camera can be mounted at the front windshield, the vehicle instrument desk and other positions in the vehicle, and is a rotatable camera, and the specific rotation angle is not limited in the embodiment.

In specific implementation, at this time, the user leaves the vehicle with the vehicle key, but the distance between the user and the vehicle with the vehicle key is still within the first preset threshold, and the user is within the shooting range of the camera, and the lighting mode of the vehicle lamp is adjusted to the first mode, for example: in the first mode, the illumination duration of the lamp may be 30 s.

Alternatively, the first and second electrodes may be,

under the condition that the user carries a key of the vehicle, if the distance is smaller than the first preset threshold and larger than the second preset threshold and the user is not located in the shooting range of the camera of the vehicle, adjusting the lighting mode of the lamp of the vehicle to be a second mode;

in a specific implementation, at this time, the user does not leave the vehicle with the vehicle key, but the distance between the user and the vehicle with the vehicle key is still within the first preset threshold, and the user is not within the shooting range of the camera, the lighting mode of the vehicle lamp is adjusted to the second mode, for example: in the second mode, the illumination duration of the lamp may be 10 s.

Alternatively, the first and second electrodes may be,

under the condition that the user carries a key of the vehicle, if the distance is larger than or equal to the first preset threshold value and the user is located within a camera shooting range of the vehicle, adjusting an illumination mode of a lamp of the vehicle to be a third mode;

in specific implementation, at this time, the user leaves the vehicle with the vehicle key, the distance between the user and the vehicle with the vehicle key is greater than or equal to a first preset threshold, and the user is in the shooting range of the camera, and the lighting mode of the vehicle lamp is adjusted to be a third mode, for example: in the third mode, the illumination duration of the lamp may be 30 s.

Alternatively, the first and second electrodes may be,

and under the condition that the user carries the key of the vehicle, if the distance is greater than or equal to the first preset threshold value and the user is not located in the camera shooting range of the vehicle, adjusting the lighting mode of the vehicle lamp of the vehicle to be a fourth mode.

In specific implementation, at this time, the user leaves the vehicle with the vehicle key, the distance between the user and the vehicle with the vehicle key is greater than or equal to the first preset threshold, and the user is not within the shooting range of the camera, and the lighting mode of the vehicle lamp is adjusted to be the fourth mode, for example: in the fourth mode, the vehicle lights are immediately turned off.

In this embodiment, different illumination modes are set to correspond to different illumination durations, so that the method and the device can be applied to different scenes.

Optionally, the illumination time of the vehicle lamp in the first mode is longer than the illumination time of the vehicle lamp in the second mode;

and/or the presence of a gas in the gas,

the illumination time of the vehicle lamp in the third mode is longer than the illumination time of the vehicle lamp in the fourth mode.

In a specific implementation, the lighting mode of the vehicle lamp is set as the lighting duration of the vehicle lamp, and the specific lighting duration corresponding to different lighting modes is not limited in this embodiment.

Optionally, the acquiring a distance between a user and the vehicle when the vehicle is in a flameout state includes:

and under the condition that the vehicle is in a flameout state, determining the distance between the user and the vehicle according to a millimeter wave radar arranged in the vehicle.

The millimeter wave radar is a radar which works in a millimeter wave band for detection. Usually, the millimeter wave is in the frequency domain of 30 to 300GHz (with a wavelength of 1 to 10 mm). The wavelength of the millimeter wave is between the microwave and the centimeter wave, and the wavelength of the millimeter wave is between the centimeter wave and the light wave, so the millimeter wave has the advantages of microwave guidance and photoelectric guidance. Compared with the centimeter wave seeker, the millimeter wave seeker has the characteristics of small volume, light weight and high spatial resolution. Compared with optical probes such as infrared, laser and television, the millimeter wave probe has strong capability of penetrating fog, smoke and dust and has the characteristics of all weather (except heavy rainy days) all day long. In addition, the anti-interference and anti-stealth capabilities of the millimeter wave seeker are also superior to those of other microwave seekers.

In specific implementation, the distance between a user and a vehicle is measured by arranging the millimeter wave radar in the vehicle, so that the measurement precision is improved.

Optionally, before the adjusting the illumination mode of the vehicle lamp according to the relationship between the distance and the first preset threshold, the method further includes:

determining whether the user is located within the vehicle;

adjusting an illumination mode of a lamp of the vehicle according to a relationship between the distance and a first preset threshold, comprising:

and if the user is not located in the vehicle and the distance between the key of the vehicle and the vehicle is smaller than a second preset threshold value, adjusting the lighting mode of the vehicle lamp of the vehicle to be a fifth mode.

In one implementation, when the user leaves the vehicle while the key is still in the vehicle, the light is adjusted to a fifth mode, which is when the light is on and will last for a period of time.

Optionally, the determining whether the user carries a key of the vehicle includes:

determining a first distance between the user and the vehicle according to a millimeter wave radar arranged in the vehicle;

and if the absolute value of the difference value between the first distance and the second distance is smaller than a third preset threshold value, determining that the user carries the key, wherein the second distance is the distance between the key and the vehicle.

And when the absolute value of the difference value between the first distance and the second distance is within a third preset threshold value, the fact that the user carries the key is determined.

Referring to fig. 2, fig. 2 is another flowchart of a method for adjusting lighting of a vehicle lamp according to an embodiment of the present invention, and as shown in fig. 2, the following explanation takes a lighting mode as a duration of lighting of the vehicle lamp and a user as an owner of the vehicle as an example:

the vehicle is in an environment with dark light, and the vehicle is flamed out, and the dipped headlight is turned on;

when the owner carries the key of the vehicle to leave the vehicle, the distance between the owner and the vehicle is the distance between the key and the vehicle, for example, the first preset threshold value is set to be 5 meters, when the distance between the owner and the vehicle is less than 5 meters and the owner is within a shooting range of a camera arranged on the vehicle, the lighting mode of the vehicle lamp is adjusted to be the first mode, for example, in the first mode, the dipped headlight lighting duration of the vehicle can be 30 s;

when the distance between the vehicle owner and the vehicle is less than 5 meters and the vehicle owner is not in the shooting range of the camera, the lighting mode of the vehicle lamp is adjusted to be the second mode, for example, the dipped headlight lighting duration of the vehicle in the second mode can be 10 s;

when the distance between the vehicle owner and the vehicle is more than 5 meters and the vehicle owner is within the shooting range of the camera, the lighting mode of the vehicle lamp is adjusted to be the third mode, for example, the low beam lighting duration of the vehicle in the third mode can be 30 s;

when the distance between the vehicle owner and the vehicle is greater than 5 meters and the vehicle owner is not in the shooting range of the camera, the lighting mode of the vehicle lamp is adjusted to be the fourth mode, for example, the dipped headlight of the vehicle is immediately turned off in the fourth mode.

When the owner leaves the vehicle and the key is in the vehicle, the lighting mode of the lamp is adjusted to be the fifth mode, for example, in the fifth mode, the low beam lighting duration of the vehicle can be 30 s;

in this embodiment, based on the distance between car owner and the vehicle, carry out nimble regulation to vehicle passing lamp illumination duration.

As shown in fig. 3, the present embodiment provides a vehicle lamp lighting adjustment device, including:

the obtaining module 210 is configured to obtain a distance between a user and a vehicle when the vehicle is in a flameout state;

a first adjusting module 220, configured to adjust an illumination mode of a lamp of the vehicle according to a relationship between the distance and a first preset threshold.

Optionally, the first adjusting module 220 includes:

a first determination sub-module 221 for determining whether the user carries a key of the vehicle;

the first adjusting sub-module 222 is configured to, when the user carries a key of the vehicle, adjust an illumination mode of a lamp of the vehicle according to a relationship between the distance and a first preset threshold.

Optionally, the first adjusting sub-module 222 includes:

the first adjusting unit is used for adjusting the lighting mode of the vehicle lamp of the vehicle to be a first mode under the condition that the user carries the key of the vehicle and if the distance is smaller than a first preset threshold value and larger than a second preset threshold value and the user is located in the shooting range of the camera of the vehicle;

alternatively, the first and second electrodes may be,

the second adjusting unit is used for adjusting the lighting mode of the vehicle lamp of the vehicle to be a second mode under the condition that the user carries the key of the vehicle and if the distance is smaller than the first preset threshold and larger than the second preset threshold and the user is not located in the shooting range of the camera of the vehicle;

alternatively, the first and second electrodes may be,

a third adjusting unit, configured to adjust an illumination mode of a vehicle lamp of the vehicle to a third mode when the user carries a key of the vehicle and the distance is greater than or equal to the first preset threshold and the user is located within a camera shooting range of the vehicle;

alternatively, the first and second electrodes may be,

and the fourth adjusting unit is used for adjusting the lighting mode of the vehicle lamp of the vehicle to a fourth mode under the condition that the user carries the key of the vehicle and if the distance is greater than or equal to the first preset threshold and the user is not located in the shooting range of the camera of the vehicle.

Optionally, the illumination time of the vehicle lamp in the first mode is longer than the illumination time of the vehicle lamp in the second mode;

and/or the presence of a gas in the gas,

the illumination time of the vehicle lamp in the third mode is longer than the illumination time of the vehicle lamp in the fourth mode.

Optionally, the obtaining module 210 includes:

the acquisition unit is used for acquiring the distance between the user and the vehicle according to a millimeter wave radar arranged in the vehicle under the condition that the vehicle is in a flameout state.

Optionally, before the first adjusting module, the method further includes:

a second determination submodule for determining whether the user is located within the vehicle;

a second adjusting submodule, configured to adjust an illumination mode of a lamp of the vehicle according to a relationship between the distance and a first preset threshold, where the second adjusting submodule includes:

and the fifth adjusting unit is used for adjusting the lighting mode of the vehicle lamp of the vehicle to a fifth mode if the user is not positioned in the vehicle and the distance between the key of the vehicle and the vehicle is less than a second preset threshold value.

Optionally, the first determining sub-module 230 includes:

a first determination unit configured to determine a first distance between the user and the vehicle according to a millimeter wave radar provided in the vehicle;

a second determining unit, configured to determine that the user carries the key if an absolute value of a difference between the first distance and a second distance is smaller than a third preset threshold, where the second distance is a distance between the key and the vehicle.

It should be noted that the apparatus is an apparatus corresponding to the information query method shown in fig. 1, and all embodiments of the information query method shown in fig. 1 are applicable to the embodiment of the apparatus and can achieve the same technical effects.

While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

11页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种具有灯语功能的多用途车用投影灯系统及方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!