Vehicle lighting control methods and systems for multiple scenarios

By automatically adjusting the headlights based on vehicle status and environmental information, the problem of untimely and inaccurate headlight adjustment in existing technologies has been solved, realizing intelligent lighting control of vehicles in different scenarios and improving driving safety and user experience.

CN116238410BActive Publication Date: 2026-07-17SHANGHAI JINGYAO LIGHT TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
SHANGHAI JINGYAO LIGHT TECH CO LTD
Filing Date
2023-03-08
Publication Date
2026-07-17

Smart Images

  • Figure CN116238410B_ABST
    Figure CN116238410B_ABST
Patent Text Reader

Abstract

This invention provides a vehicle lighting control method and system for multiple scenarios. Based on the vehicle's current driving mode, it determines whether the vehicle is in a parked or driving state. In both parked and driving states, based on the current status of the vehicle doors, the current external environment, and the current driving scenario, it adjusts the lighting state of at least one of the vehicle's cabin lights, headlights, and taillights. This enables the vehicle to provide timely, accurate, and automatic appropriate lighting in different scenarios, preventing driver distraction due to headlight adjustments and improving driving safety and the intelligence of headlight adjustment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the technical field of vehicle lighting control, and particularly to vehicle lighting control methods and systems for various scenarios. Background Technology

[0002] Vehicle lights include driving lights and non-driving lights. Driving lights consist of headlights and taillights, primarily used to provide different modes of illumination such as low beam, high beam, brake lights, turn signals, and hazard lights during vehicle operation, ensuring driving safety. Non-driving lights mainly include reading lights and door lights installed inside the vehicle cabin, used to provide reading light or entry / exit indicator light for occupants. Vehicles encounter complex and changing scenarios during driving, requiring drivers to manually adjust the lights based on their judgment. This not only demands extensive driving experience but also easily leads to driver distraction, reducing driving safety. Existing headlight adjustment methods do not provide timely and accurate operation for different driving scenarios and cannot achieve automatic intelligent adjustment of headlights in multiple scenarios. Summary of the Invention

[0003] To address the shortcomings of existing technologies, this invention provides a vehicle lighting control method and system for multiple scenarios. Based on the vehicle's current driving mode, it determines whether the vehicle is in a parked or driving state. In both parked and driving states, based on the current status of the vehicle doors, the current external environment, and the current driving scenario, it adjusts the lighting state of at least one of the vehicle's cabin lights, headlights, and taillights. This enables the vehicle to provide timely, accurate, and automatic appropriate lighting in different scenarios, preventing driver distraction due to headlight adjustments and improving driving safety and the intelligence of headlight adjustment.

[0004] This invention provides a vehicle lighting control method for multiple scenarios, comprising the following steps:

[0005] Once the vehicle is started, it is determined whether the vehicle is in a parked or driving state based on the current driving mode.

[0006] When the vehicle is parked, the system determines whether to activate the vehicle's cabin lights and the headlights and / or taillights based on the current status of the vehicle's doors.

[0007] When the vehicle is parked and the headlights and / or taillights are illuminated, the illumination status of the headlights and / or taillights is adjusted according to the current external environment information.

[0008] When the vehicle is in motion, the lighting status of the headlights and / or taillights is adjusted according to the current driving scenario until the vehicle switches out of the current driving scenario.

[0009] Furthermore, when the vehicle is not started, the relative distance between the vehicle and the electronic key is determined, or it is determined whether the vehicle receives a remote control signal from the electronic key.

[0010] If the relative distance is greater than the first preset distance threshold, or if the vehicle does not receive the remote control signal, then the vehicle's headlights and / or taillights will be kept off.

[0011] When the relative distance is less than or equal to a first preset distance threshold, or when the vehicle receives the remote control signal, the vehicle's headlights and / or taillights are controlled to enter the lighting state.

[0012] Further, determining the relative distance between the vehicle and the electronic key, or determining whether the vehicle receives a remote control signal from the electronic key, includes:

[0013] Step S1: The electronic key sends out a dedicated communication signal at a preset period. The dedicated communication signal and the remote control signal are two different types of signals. The dedicated communication signal contains the electronic key's unique identification code, which is located at the very beginning of the data in the dedicated communication signal. Before the electronic key sends the dedicated communication signal, it adds the current time data to the dedicated communication signal and then immediately sends it. After receiving the signal, the vehicle's signal receiving device uses the following formula (1) to analyze whether the received signal is a signal sent by the electronic key corresponding to the vehicle.

[0014]

[0015] In the above formula (1), M(D2) represents the determination value of whether the signal D2 received by the vehicle is a signal sent by the electronic key corresponding to the vehicle; D2 represents the binary form of the signal data received by the vehicle; A2 represents the binary form of the unique identification code of the electronic key corresponding to the vehicle; len() represents calculating the number of bits of data in parentheses; >> represents right shift; J{} represents the zero check function. If the value in parentheses is 0 in binary form, the function value of the zero check function is 1 in decimal form; if the value in parentheses is not 0 in binary form, the function value of the zero check function is 0 in decimal form.

[0016] If M(D2) = 0, it means that the signal D2 received by the vehicle is not the signal sent by the electronic key corresponding to the vehicle.

[0017] If M(D2) = 1, it means that the signal D2 received by the vehicle is a signal sent by the electronic key corresponding to the vehicle.

[0018] Step S2: If the vehicle receives three signals sent by the electronic key corresponding to the vehicle, then using the following formula (2), based on the time information in each signal, determine whether the three signals sent by the electronic key corresponding to the vehicle received by the vehicle are consecutive signals sent by the corresponding electronic key.

[0019]

[0020] In the above formula (2), X represents the determination value of whether the three signals sent by the electronic key corresponding to the vehicle received by the vehicle are continuous signals sent by the corresponding electronic key; D(1)2 represents the binary form of the first signal sent by the electronic key corresponding to the vehicle received by the vehicle; D(2)2 represents the binary form of the second signal sent by the electronic key corresponding to the vehicle received by the vehicle; D(3)2 represents the binary form of the third signal sent by the electronic key corresponding to the vehicle received by the vehicle; T represents the preset value of the specific exclusive communication signal sent by the electronic key. Period; t[D(1)2] represents the time data extracted from data D(1)2 and converted into decimal data, which is also the time when data D(1)2 is sent out from the electronic key; t[D(2)2] represents the time data extracted from data D(2)2 and converted into decimal data, which is also the time when data D(2)2 is sent out from the electronic key; t[D(3)2] represents the time data extracted from data D(3)2 and converted into decimal data, which is also the time when data D(3)2 is sent out from the electronic key.

[0021] If X = 1, it means that the three signals received by the vehicle from the electronic key corresponding to the vehicle are consecutive signals sent by the corresponding electronic key.

[0022] If X = 0, it means that the three signals received by the vehicle from the electronic key corresponding to the vehicle are not consecutive signals sent by the corresponding electronic key.

[0023] If it is determined that the three signals received by the vehicle from the electronic key corresponding to the vehicle are consecutive signals sent by the corresponding electronic key, then proceed directly to step S3 below.

[0024] If it is determined that the three signals received by the vehicle from the electronic key corresponding to the vehicle are not consecutive signals sent by the corresponding electronic key, then wait for the vehicle to receive two more signals from the electronic key corresponding to the vehicle before proceeding to step S3.

[0025] Step S3: Using the formula (3) below, based on the time information in the signal sent by the corresponding electronic key received in step S2 and the time when the vehicle receives the signal, the relative distance between the vehicle and the electronic key is obtained.

[0026]

[0027] In the above formula (3), S represents the relative distance between the vehicle and the electronic key; C represents the speed of light; n represents the total number of signals sent by the corresponding electronic key received by the vehicle in step S2 above. If X = 1, then n = 3; if X = 0, then n = 5; t0[D(i)2] represents the time when the vehicle receives the i-th signal sent by the electronic key corresponding to the vehicle; t[D(i)2] represents the time data extracted from data D(i)2 and converted into decimal data, which is also the time when data D(i)2 is sent out by the electronic key.

[0028] Once the vehicle is started, the current driving mode is determined based on the currently selected gear and whether the brakes are engaged.

[0029] If the vehicle is currently in neutral, park, or braking mode, then the vehicle is in a parked state.

[0030] If the vehicle is currently in D or R driving mode and is not in braking mode, then the vehicle is considered to be in motion.

[0031] Furthermore, when the vehicle is parked, the system determines, based on the current state of the vehicle's doors, whether to activate the vehicle's cabin lights, and whether to activate the headlights and / or taillights, including...

[0032] When the vehicle is parked, determine whether the vehicle door is currently open or closed.

[0033] If the vehicle door is currently open, the vehicle's cabin lights and headlights will be activated.

[0034] If the vehicle doors are currently closed, the headlights and / or taillights will be activated to illuminate.

[0035] Furthermore, if the vehicle door is currently open, the vehicle's cabin lights and headlights will be activated, including:

[0036] Get the position of the currently open door in the vehicle, and based on the position of the open door, trigger the corresponding cabin lights to enter the lighting state, and trigger the headlights to switch to low beam lighting state.

[0037] Once the cabin lights at the corresponding location of the vehicle are illuminated, the number of people and their movement status at that location are obtained.

[0038] When the number of personnel is greater than or equal to a preset threshold, the brightness of the cabin lights at the corresponding location is increased or the color temperature of the cabin lights at the corresponding location is changed.

[0039] When the personnel action status indicates that the personnel are currently in the process of getting on or off the vehicle, the brightness or range of the lighting in the corresponding cabin lights is increased.

[0040] Furthermore, if the vehicle doors are currently closed, the vehicle's headlights and / or taillights are activated to illuminate, including:

[0041] Obtain the relative distances between the front and rear of the vehicle and the front and rear of external objects, respectively;

[0042] If the relative distance in front is less than the second preset distance threshold, the vehicle's headlights will be switched to low beam mode.

[0043] If the relative distance behind is less than a third preset distance threshold, the vehicle's headlights are triggered to switch to low beam illumination, and the vehicle's taillights are triggered to enter hazard light illumination.

[0044] Furthermore, when the vehicle is parked and the headlights and / or taillights are illuminated, the illumination status of the headlights and / or taillights is adjusted based on the current external environment information, including:

[0045] When the vehicle is parked and the headlights and / or taillights are illuminated, the ambient illuminance and visibility of the vehicle's current surroundings are obtained.

[0046] If the ambient illuminance is less than a preset illuminance threshold, the vehicle's headlights will be switched to low beam mode.

[0047] If the ambient visibility is less than a preset visibility threshold, the vehicle's headlights will be switched to high beam mode and the vehicle's taillights will be switched to hazard lights mode.

[0048] Furthermore, when the vehicle is in motion, the lighting status of the vehicle's headlights and / or taillights is adjusted according to the current driving scenario until the vehicle switches out of the current driving scenario, including:

[0049] When the vehicle is in motion, images of the surrounding environment of the road where the vehicle is currently traveling are collected; the surrounding environment images are analyzed and processed to obtain information on the relative positional relationship between the vehicle and other vehicles in the surrounding area during the driving process.

[0050] When the vehicle is currently in a meeting scene, the first straight-line distance between the vehicle and the vehicle corresponding to the current meeting scene is extracted from the relative position relationship information; if the first straight-line distance is less than or equal to the fourth preset distance threshold, the vehicle's headlights are switched to hazard flashing mode until the vehicle leaves the current meeting scene.

[0051] When the vehicle is currently in a tangent scenario, the second straight-line distance between the vehicle and the vehicle in the lane to which it needs to cut is extracted from the relative position relationship information; if the second straight-line distance is greater than or equal to the fifth preset distance threshold, the vehicle's taillights are switched to turn signal lighting mode until the vehicle leaves the current tangent scenario.

[0052] The present invention also provides a vehicle lighting control system for multiple scenarios, including:

[0053] The vehicle status recognition module is used to determine whether the vehicle is in a parked or driving state based on the current driving mode after the vehicle is started.

[0054] The door motion detection module is used to detect the current motion state of the vehicle's doors;

[0055] The external environment detection module is used to detect the current external environment status information of the vehicle;

[0056] The vehicle lighting control module is used to determine, when the vehicle is in a parked state, whether to trigger the vehicle's cabin lights to enter the lighting state, and whether to trigger the vehicle's headlights and / or taillights to enter the lighting state, based on the current action state of the vehicle's doors.

[0057] The vehicle lighting control module is also used to adjust the lighting status of the vehicle's headlights and / or taillights based on the current external environment information when the vehicle is in a parked state and the headlights and / or taillights are in the lighting state.

[0058] The headlight control module is also used to adjust the lighting status of the vehicle's headlights and / or taillights according to the current driving scenario when the vehicle is in motion, until the vehicle switches out of the current driving scenario.

[0059] Compared to existing technologies, this multi-scenario vehicle lighting control method and system determines whether the vehicle is in a parked or driving state based on its current driving mode. In both parked and driving states, it adjusts the lighting status of at least one of the vehicle's cabin lights, headlights, and taillights based on the current status of the vehicle's doors, the external environment, and the driving scenario. This allows the vehicle to provide timely, accurate, and automatic appropriate lighting in different scenarios, preventing driver distraction due to headlight adjustments and improving driving safety and the intelligence of headlight adjustment.

[0060] Other features and advantages of the invention will be set forth in the description which follows, and will be apparent in part from the description, or may be learned by practicing the invention. The objects and other advantages of the invention may be realized and obtained by means of the structures particularly pointed out in the written description, claims, and drawings.

[0061] The technical solution of the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. Attached Figure Description

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

[0063] Figure 1 This is a flowchart illustrating the vehicle lighting control method for multiple scenarios provided by the present invention.

[0064] Figure 2 This is a schematic diagram of the structure of the vehicle lighting control system for multiple scenarios provided by the present invention. Detailed Implementation

[0065] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0066] See Figure 1 This is a flowchart illustrating a vehicle headlight control method for multiple scenarios provided in an embodiment of the present invention. The vehicle headlight control method for multiple scenarios includes the following steps:

[0067] Once the vehicle is started, it is determined whether the vehicle is in a parked or driving state based on the current driving mode.

[0068] When the vehicle is parked, the system determines whether to activate the vehicle's cabin lights and the headlights and / or taillights based on the current status of the vehicle's doors.

[0069] When the vehicle is parked and the headlights and / or taillights are illuminated, the illumination status of the headlights and / or taillights is adjusted according to the current external environment information.

[0070] When the vehicle is in motion, the lighting status of the headlights and / or taillights is adjusted according to the current driving scenario until the vehicle switches out of the current driving scenario.

[0071] The beneficial effects of the above technical solution are as follows: the multi-scenario vehicle lighting control method determines whether the vehicle is in a parked or driving state based on the vehicle's current driving mode; and in both parked and driving states, it adjusts the lighting state of at least one of the vehicle's cabin lights, headlights, and taillights based on the current action state of the vehicle's doors, the current external environment, and the current driving scenario. This enables the vehicle to provide appropriate lighting in a timely, accurate, and automatic manner in different scenarios, avoiding driver distraction due to adjusting the lights, and improving driving safety and the intelligence level of the lighting adjustment.

[0072] Preferably, when the vehicle is not started, the relative distance between the vehicle and the electronic key is determined, or it is determined whether the vehicle receives a remote control signal from the electronic key.

[0073] If the relative distance is greater than the first preset distance threshold, or if the vehicle does not receive the remote control signal, the headlights and / or taillights of the vehicle will be kept off.

[0074] When the relative distance is less than or equal to a first preset distance threshold, or when the vehicle receives the remote control signal, the headlights and / or taillights of the vehicle are controlled to enter the lighting state.

[0075] The beneficial effects of the above technical solution are as follows: Existing vehicles are all equipped with electronic keys, which enable remote, contactless unlocking and locking operations, as well as door opening and closing operations. In practice, the electronic key and the vehicle interact via wireless remote control signals. By determining the relative distance between the vehicle and the electronic key, and based on the relative distance and whether the vehicle receives the remote control signal from the electronic key, the operating status of the vehicle's headlights and / or taillights is controlled. This allows the vehicle to provide appropriate welcome lighting when the driver approaches or uses the electronic key to send a remote control signal, improving the user experience and providing sufficient lighting guidance for the driver approaching the vehicle.

[0076] Preferably, determining the relative distance between the vehicle and the electronic key, or determining whether the vehicle receives a remote control signal from the electronic key, includes:

[0077] Step S1: The electronic key sends out a dedicated communication signal at a preset period. This dedicated communication signal is different from the remote control signal. The dedicated communication signal contains the electronic key's unique identification code, which is located at the very beginning of the data in the dedicated communication signal. Before sending the dedicated communication signal, the electronic key adds the current time data to the dedicated communication signal and then immediately sends it. After receiving the signal, the vehicle's signal receiving device uses the following formula (1) to analyze whether the received signal is a signal sent by the electronic key corresponding to the vehicle.

[0078]

[0079] In the above formula (1), M(D2) represents the judgment value of whether the signal D2 received by the vehicle is the signal sent by the electronic key corresponding to the vehicle; D2 represents the binary form of the signal data received by the vehicle; A2 represents the binary form of the unique identification code of the electronic key corresponding to the vehicle; len() represents the number of bits of data in the parentheses; >> represents right shift; J{} represents the 0 check function. If the value in the parentheses is 0 in binary form, the function value of the 0 check function is 1 in decimal form. If the value in the parentheses is not 0 in binary form, the function value of the 0 check function is 0 in decimal form.

[0080] If M(D2) = 0, it means that the signal D2 received by the vehicle is not the signal sent by the electronic key corresponding to the vehicle.

[0081] If M(D2) = 1, it means that the signal D2 received by the vehicle is a signal sent by the electronic key corresponding to the vehicle.

[0082] Step S2: If the vehicle receives three signals sent by the electronic key corresponding to the vehicle, then using the following formula (2), based on the time information in each signal, determine whether the three signals sent by the electronic key corresponding to the vehicle received by the vehicle are consecutive signals sent by the corresponding electronic key.

[0083]

[0084] In the above formula (2), X represents the determination value of whether the three signals sent by the electronic key corresponding to the vehicle are consecutive signals sent by the corresponding electronic key; D(1)2 represents the binary form of the first signal sent by the electronic key corresponding to the vehicle received by the vehicle; D(2)2 represents the binary form of the second signal sent by the electronic key corresponding to the vehicle received by the vehicle; D(3)2 represents the binary form of the third signal sent by the electronic key corresponding to the vehicle received by the vehicle; T represents the preset period for the electronic key to send specific exclusive communication signals. t[D(1)2] represents the binary time data extracted from data D(1)2 and converted into decimal data, which is also the time when data D(1)2 is sent out by the electronic key; t[D(2)2] represents the binary time data extracted from data D(2)2 and converted into decimal data, which is also the time when data D(2)2 is sent out by the electronic key; t[D(3)2] represents the binary time data extracted from data D(3)2 and converted into decimal data, which is also the time when data D(3)2 is sent out by the electronic key.

[0085] If X = 1, it means that the three signals received by the vehicle from the electronic key corresponding to the vehicle are consecutive signals sent by the corresponding electronic key.

[0086] If X = 0, it means that the three signals received by the vehicle from the electronic key corresponding to the vehicle are not consecutive signals sent by the corresponding electronic key.

[0087] If it is determined that the three signals received by the vehicle from the electronic key corresponding to the vehicle are consecutive signals sent by the corresponding electronic key, then proceed directly to step S3 below.

[0088] If it is determined that the three signals received by the vehicle from the electronic key corresponding to the vehicle are not consecutive signals from the corresponding electronic key, then wait for the vehicle to receive two more signals from the electronic key corresponding to the vehicle before proceeding to step S3.

[0089] Step S3: Using the formula (3) below, based on the time information in the signal sent by the corresponding electronic key received in step S2 and the time when the vehicle receives the signal, the relative distance between the vehicle and the electronic key is obtained.

[0090]

[0091] In the above formula (3), S represents the relative distance between the vehicle and the electronic key; C represents the speed of light; n represents the total number of signals sent by the corresponding electronic key received by the vehicle in step S2 above. If X = 1, then n = 3; if X = 0, then n = 5; t0[D(i)2] represents the time when the vehicle receives the i-th signal sent by the electronic key corresponding to the vehicle; t[D(i)2] represents the time data extracted from data D(i)2 and converted into decimal data, which is also the time when data D(i)2 is sent out by the electronic key.

[0092] The beneficial effects of the above technical solution are as follows: Using the above formula (1), the received signal is analyzed to determine whether it is a signal sent by the electronic key corresponding to the vehicle, thereby eliminating signals that are not sent by the corresponding electronic key and useless signals, thus improving the efficiency of the system in analyzing useful data; then, using the above formula (2), based on the time information in each signal, it is determined whether the three signals sent by the electronic key corresponding to the vehicle received by the vehicle are continuous signals sent by the corresponding electronic key, thereby directly calculating the distance when they are continuous signals, and calculating the distance after receiving two more signals when they are not continuous signals, ensuring that the number of signals is increased to ensure the accuracy of the subsequent relative distance value when there is signal loss; finally, using the above formula (3), based on the time information in the signals sent by the corresponding electronic key received in the above steps and the time when the vehicle receives the signal respectively, the relative distance value between the vehicle and the electronic key is obtained, which reflects the automation characteristics of the system.

[0093] Preferably, after the vehicle starts, the current driving mode of the vehicle is determined based on the currently selected gear information and whether the brakes are engaged or not.

[0094] If the vehicle is currently in neutral, park, or braking mode, then the vehicle is in a parked state.

[0095] If the vehicle is currently in D or R driving mode and is not in braking mode, then the vehicle is considered to be in motion.

[0096] The beneficial effects of the above technical solution are as follows: when the vehicle starts, the information of the currently selected gear type and whether the vehicle's brake is pressed can be obtained in real time to distinguish whether the vehicle is currently in a parking state or a driving state, so as to carry out targeted control of the vehicle lights in different states of the vehicle.

[0097] Preferably, when the vehicle is parked, the system determines whether to activate the vehicle's cabin lights and the headlights and / or taillights based on the current state of the vehicle's doors.

[0098] When the vehicle is parked, determine whether the vehicle door is currently open or closed.

[0099] If the vehicle door is currently open, the vehicle's cabin lights and headlights will be activated.

[0100] If the vehicle doors are currently closed, the headlights and / or taillights will be activated to illuminate.

[0101] The beneficial effects of the above technical solution are as follows: By using the above method, when the vehicle is parked, the system identifies whether the vehicle doors are open or not; the vehicle doors may include, but are not limited to, the front doors, rear doors, and the trunk door. When the doors are open, the vehicle's cabin lights and headlights are activated, thus illuminating the interior and exterior environments. When the doors are closed, indicating that there is no activity inside or outside the vehicle, only the headlights and / or taillights are activated, illuminating the exterior environment without requiring the cabin lights, effectively saving vehicle battery power.

[0102] Preferably, if the vehicle door is currently open, triggering the vehicle's cabin lights and headlights to enter illumination mode includes:

[0103] Get the position of the currently open door in the vehicle, and based on the position of the open door, trigger the corresponding cabin lights to enter the lighting state, and trigger the headlights to switch to low beam lighting state.

[0104] Once the cabin lights at the corresponding location of the vehicle are illuminated, the number of people and their movement status at that location are obtained.

[0105] When the number of personnel is greater than or equal to the preset threshold, the brightness of the cabin lights at the corresponding location will be increased or the color temperature of the cabin lights at the corresponding location will be changed.

[0106] When the person's action status indicates that the person is currently getting on or off the vehicle, the brightness or range of the corresponding cabin lights will be increased.

[0107] The beneficial effects of the above technical solution are as follows: By using the position of the currently open door within the vehicle as a reference, the corresponding cabin lights are triggered to illuminate, and the vehicle's headlights are activated for low-beam illumination. This provides targeted lighting for occupants inside the vehicle and sufficient lighting for occupants outside the vehicle, while also providing directional lighting when not all cabin lights are needed. Furthermore, once the cabin lights at the corresponding position are activated, the brightness, color temperature, and range of the lights are adaptively adjusted based on the number of occupants and their movements, providing a suitable lighting atmosphere for all occupants and enabling personalized adjustment of the cabin lights.

[0108] Preferably, if the vehicle doors are currently closed, the headlights and / or taillights are triggered to enter the lighting state, including:

[0109] Obtain the relative distances between the front and rear of the vehicle and the front and rear of external objects, respectively;

[0110] If the relative distance in front is less than the second preset distance threshold, the vehicle's headlights will be switched to low beam mode.

[0111] If the relative distance behind is less than the third preset distance threshold, the vehicle's headlights will be switched to low beam mode, and the vehicle's taillights will be switched to hazard lights mode.

[0112] The beneficial effects of the above technical solution are as follows: When the vehicle doors are closed, the relative distances between the front and rear of the vehicle and external objects are compared with preset distance thresholds based on the relative distances between the front and rear of the vehicle and external objects, respectively. If the distance between the front or rear of the vehicle and external objects is too small, the headlights or taillights are triggered to switch to low beam or hazard lights, respectively. This can remind the occupants of obstacles in front of or behind the vehicle, allowing them to know the presence of obstacles without having to get out of the vehicle to check, thus facilitating adaptive adjustments to driving strategies.

[0113] Preferably, when the vehicle is parked and the headlights and / or taillights are illuminated, the illumination status of the headlights and / or taillights is adjusted according to the current external environment information, including:

[0114] When the vehicle is parked and the headlights and / or taillights are illuminated, the ambient illuminance and visibility of the vehicle's current surroundings are obtained.

[0115] If the ambient illuminance is less than the preset illuminance threshold, the vehicle's headlights will be switched to low beam mode.

[0116] If the visibility in the environment is less than a preset visibility threshold, the vehicle's headlights will be switched to high beam mode and the vehicle's taillights will be switched to hazard lights mode.

[0117] The beneficial effects of the above technical solution are as follows: In the above manner, when the vehicle is in a parked state and the vehicle's headlights and / or taillights are in the lighting state, the lighting mode of the headlights and the lighting mode of the taillights are switched based on the ambient illuminance and visibility of the current external environment where the vehicle is located. This allows the vehicle to provide a conspicuous light indication to other vehicles when driving in poor environmental conditions, thereby improving the vehicle's driving safety.

[0118] Preferably, when the vehicle is in motion, the illumination status of the vehicle's headlights and / or taillights is adjusted according to the current driving scenario until the vehicle switches out of the current driving scenario, including:

[0119] When the vehicle is in motion, images of the surrounding environment of the road where the vehicle is currently traveling are collected; the surrounding environment images are analyzed and processed to obtain information on the relative positional relationship between the vehicle and other vehicles in the surrounding area during the driving process.

[0120] When the vehicle is currently in a meeting scene, the first straight-line distance between the vehicle and the vehicle corresponding to the current meeting is extracted from the relative position relationship information; if the first straight-line distance is less than or equal to the fourth preset distance threshold, the vehicle's headlights are switched to hazard flashing mode until the vehicle leaves the current meeting scene.

[0121] When the vehicle is currently in a tangent scenario, the second straight-line distance between the vehicle and the vehicle in the lane to which it needs to cut is extracted from the relative position relationship information; if the second straight-line distance is greater than or equal to the fifth preset distance threshold, the vehicle's taillights are switched to turn signal lighting mode until the vehicle leaves the current tangent scenario.

[0122] The beneficial effects of the above technical solution are as follows: By using the above method, when the vehicle is in motion, the vehicle's built-in 360-degree camera device collects images of the surrounding environment of the road where the vehicle is currently driving, and analyzes the surrounding environment images to determine the relative positional relationship between the vehicle and other vehicles in the surrounding area. This can provide real-time and accurate references for the vehicle in oncoming traffic and lane-changing scenarios, ensuring timely and automatic switching of the lighting modes of the headlights and / or taillights, and ensuring the driving safety of the vehicle in different scenarios.

[0123] See Figure 2 This is a schematic diagram of a vehicle lighting control system for multiple scenarios provided in an embodiment of the present invention. The vehicle lighting control system for multiple scenarios includes:

[0124] The vehicle status recognition module is used to determine whether the vehicle is in a parked or driving state based on the current driving mode after the vehicle is started.

[0125] The door motion detection module is used to detect the current motion state of the vehicle's doors;

[0126] The external environment detection module is used to detect the current external environment status information of the vehicle;

[0127] The vehicle lighting control module is used to determine, when the vehicle is in a parked state, whether to trigger the vehicle's cabin lights to enter the lighting state, and whether to trigger the vehicle's headlights and / or taillights to enter the lighting state, based on the current action state of the vehicle's doors.

[0128] The vehicle lighting control module is also used to adjust the lighting status of the vehicle's headlights and / or taillights based on the current external environment information when the vehicle is in a parked state and the headlights and / or taillights are in the lighting state.

[0129] The headlight control module is also used to adjust the lighting status of the vehicle's headlights and / or taillights according to the current driving scenario when the vehicle is in motion, until the vehicle switches out of the current driving scenario.

[0130] The working process and effect of this multi-scenario vehicle lighting control system are the same as those of the aforementioned multi-scenario vehicle lighting control method, and will not be repeated here.

[0131] As can be seen from the above embodiments, the vehicle lighting control method and system for multiple scenarios determines whether the vehicle is in a parked or driving state based on the vehicle's current driving mode; and in both parked and driving states, the system adjusts the lighting state of at least one of the vehicle's cabin lights, headlights, and taillights based on the current action state of the vehicle's doors, the current external environment, and the current driving scenario. This enables the vehicle to provide appropriate lighting in a timely, accurate, and automatic manner in different scenarios, avoiding driver distraction due to adjusting the lights, and improving driving safety and the intelligence of the lighting adjustment.

[0132] Obviously, those skilled in the art can make various modifications and variations to this invention without departing from its spirit and scope. Therefore, if these modifications and variations fall within the scope of the claims of this invention and their equivalents, this invention also intends to include these modifications and variations.

Claims

1. A vehicle headlight control method for multiple scenarios, characterized in that, Includes the following steps: Once the vehicle is started, it is determined whether the vehicle is in a parked or driving state based on the current driving mode. When the vehicle is parked, the system determines whether to activate the vehicle's cabin lights and the headlights and / or taillights based on the current status of the vehicle's doors. When the vehicle is parked and the headlights and / or taillights are illuminated, the illumination status of the headlights and / or taillights is adjusted according to the current external environment information. When the vehicle is in motion, adjust the lighting status of the headlights and / or taillights according to the current driving scenario until the vehicle switches out of the current driving scenario. When the vehicle is not started, determine the relative distance between the vehicle and the electronic key, or determine whether the vehicle receives a remote control signal from the electronic key; If the relative distance is greater than the first preset distance threshold, or if the vehicle does not receive the remote control signal, then the vehicle's headlights and / or taillights will be kept off. When the relative distance is less than or equal to a first preset distance threshold, or when the vehicle receives the remote control signal, the vehicle's headlights and / or taillights are controlled to enter the lighting state. Determining the relative distance between the vehicle and the electronic key, or determining whether the vehicle receives a remote control signal from the electronic key, includes: Step S1: The electronic key sends out a dedicated communication signal at a preset period. The dedicated communication signal and the remote control signal are two different types of signals. The dedicated communication signal contains the dedicated identification code of the electronic key, which is located at the beginning of the data of the dedicated communication signal. Before the electronic key sends the dedicated communication signal, it adds the current time data to the dedicated communication signal and then immediately sends it. After the vehicle's signal receiving device receives the signal, it uses the following formula (1) to analyze whether the received signal is a signal sent by the electronic key corresponding to the vehicle. (1) In the above formula (1), Indicates the signal received by the vehicle The determination value is whether the signal sent by the electronic key corresponding to the vehicle is valid. This represents the binary form of the signal data received by the vehicle. The binary form of the unique identification code for the electronic key corresponding to the vehicle; This indicates the number of digits in the data within the parentheses; Indicates to move to the right; This represents the zero-test function. If the value inside the parentheses is 0 in binary form, the function value of the zero-test function is 1 in decimal form; if the value inside the parentheses is not 0 in binary form, the function value of the zero-test function is 0 in decimal form. like This indicates that the vehicle received the signal. The signal was not sent by the electronic key corresponding to the vehicle. like This indicates that the vehicle received the signal. It is a signal sent by the electronic key corresponding to the vehicle; Step S2: If the vehicle receives three signals sent by the electronic key corresponding to the vehicle, then using the following formula (2), based on the time information in each signal, determine whether the three signals sent by the electronic key corresponding to the vehicle received by the vehicle are consecutive signals sent by the corresponding electronic key. (2) In the above formula (2), This indicates a determination value indicating whether the three signals received by the vehicle from the electronic key corresponding to the vehicle are consecutive signals sent by the corresponding electronic key. This represents the binary form of the first signal sent by the electronic key corresponding to the vehicle received by the vehicle. This represents the binary form of the signal sent by the electronic key corresponding to the vehicle for the second time, which is received by the vehicle. This represents the binary form of the signal sent by the electronic key corresponding to the vehicle for the third time, which the vehicle has received. This indicates the preset period during which the electronic key sends out specific, dedicated communication signals. Indicates from data The binary time data is extracted and then converted into decimal data, which is also the data mentioned above. The moment when the electronic key sends a message outward; Indicates from data The binary time data is extracted and then converted into decimal data, which is also the data mentioned above. The moment when the electronic key sends a message outward; Indicates from data The binary time data is extracted and then converted into decimal data, which is also the data mentioned above. The moment when the electronic key sends a message outward; like This indicates that the three signals received by the vehicle from the electronic key corresponding to the vehicle are consecutive signals sent by the corresponding electronic key. like If so, it means that the three signals received by the vehicle from the electronic key corresponding to the vehicle are not consecutive signals sent by the corresponding electronic key. If it is determined that the three signals received by the vehicle from the electronic key corresponding to the vehicle are consecutive signals sent by the corresponding electronic key, then proceed directly to step S3 below. If it is determined that the three signals received by the vehicle from the electronic key corresponding to the vehicle are not consecutive signals sent by the corresponding electronic key, then wait for the vehicle to receive two more signals from the electronic key corresponding to the vehicle before proceeding to step S3. Step S3: Using the formula (3) below, based on the time information in the signal sent by the corresponding electronic key received in step S2 and the time when the vehicle receives the signal, the relative distance between the vehicle and the electronic key is obtained. (3) In the above formula (3), This indicates the relative distance between the vehicle and the electronic key; Represents the speed of light; This indicates the total number of signals received by the vehicle from the corresponding electronic key in step S2 above. ,but ,like ,but ; Indicates that the vehicle received the first The moment when the electronic key corresponding to the vehicle sends the signal; Indicates from data The binary time data is extracted and then converted into decimal data, which is also the data mentioned above. The moment the electronic key sends something out.

2. The vehicle lighting control method for multiple scenarios as described in claim 1, characterized in that: Once the vehicle is started, the current driving mode is determined based on the currently selected gear and whether the brakes are engaged. If the vehicle is currently in neutral, park, or braking mode, then the vehicle is in a parked state. If the vehicle is currently in D or R driving mode and is not in braking mode, then the vehicle is considered to be in motion.

3. The vehicle headlight control method for multiple scenarios as described in claim 1, characterized in that: When the vehicle is parked, the system determines whether to activate the vehicle's cabin lights, headlights, and / or taillights based on the current status of the vehicle's doors. When the vehicle is parked, determine whether the vehicle door is currently open or closed. If the vehicle door is currently open, the vehicle's cabin lights and headlights will be activated. If the vehicle doors are currently closed, the headlights and / or taillights will be activated to illuminate.

4. The vehicle lighting control method for multiple scenarios as described in claim 3, characterized in that: If the vehicle door is currently open, the vehicle's cabin lights and headlights will be activated, including: Get the position of the currently open door in the vehicle, and based on the position of the open door, trigger the corresponding cabin lights to enter the lighting state, and trigger the headlights to switch to low beam lighting state. Once the cabin lights at the corresponding location of the vehicle are illuminated, the number of people and their movement status at that location are obtained. When the number of personnel is greater than or equal to a preset threshold, the illumination brightness of the cabin lights at the corresponding position is increased or the color temperature of the cabin lights at the corresponding position is changed. When the personnel action status indicates that the personnel are currently in the process of getting on or off the vehicle, the brightness or range of the cabin lights at the corresponding location is increased.

5. The vehicle lighting control method for multiple scenarios as described in claim 3, characterized in that: If the vehicle doors are currently closed, the headlights and / or taillights will be activated, including: Obtain the relative distances between the front and rear of the vehicle and the front and rear of external objects, respectively; If the relative distance in front is less than the second preset distance threshold, the vehicle's headlights will be switched to low beam mode. If the relative distance behind is less than a third preset distance threshold, the vehicle's headlights are triggered to switch to low beam illumination, and the vehicle's taillights are triggered to enter hazard light illumination.

6. The vehicle lighting control method for multiple scenarios as described in claim 1, characterized in that: When the vehicle is parked and the headlights and / or taillights are illuminated, the illumination status of the headlights and / or taillights is adjusted according to the current external environment information, including: When the vehicle is parked and the headlights and / or taillights are illuminated, the ambient illuminance and visibility of the vehicle's current surroundings are obtained. If the ambient illuminance is less than a preset illuminance threshold, the vehicle's headlights will be switched to low beam mode. If the ambient visibility is less than a preset visibility threshold, the vehicle's headlights will be switched to high beam mode and the vehicle's taillights will be switched to hazard lights mode.

7. The vehicle lighting control method for multiple scenarios as described in claim 1, characterized in that: When the vehicle is in motion, adjust the lighting status of the headlights and / or taillights according to the current driving scenario until the vehicle switches out of the current driving scenario, including: When the vehicle is in motion, images of the surrounding environment of the road where the vehicle is currently traveling are collected; the surrounding environment images are analyzed and processed to obtain information on the relative positional relationship between the vehicle and other vehicles in the surrounding area during the driving process. When the vehicle is currently in a meeting scene, the first straight-line distance between the vehicle and the vehicle corresponding to the current meeting scene is extracted from the relative position relationship information; if the first straight-line distance is less than or equal to the fourth preset distance threshold, the vehicle's headlights are switched to hazard flashing mode until the vehicle leaves the current meeting scene. When the vehicle is currently in a tangent scenario, the second straight-line distance between the vehicle and the vehicle in the lane to which it needs to cut is extracted from the relative position relationship information; if the second straight-line distance is greater than or equal to the fifth preset distance threshold, the vehicle's taillights are switched to turn signal lighting mode until the vehicle leaves the current tangent scenario.

8. A vehicle lighting control system implementing the vehicle lighting control method for multiple scenarios as described in any one of claims 1-7, characterized in that, include: The vehicle status recognition module is used to determine whether the vehicle is in a parked or driving state based on the current driving mode after the vehicle is started. The door motion detection module is used to detect the current motion state of the vehicle's doors. The external environment detection module is used to detect the current external environment status information of the vehicle; The vehicle lighting control module is used to determine, when the vehicle is in a parked state, whether to trigger the vehicle's cabin lights to enter the lighting state, and whether to trigger the vehicle's headlights and / or taillights to enter the lighting state, based on the current action state of the vehicle's doors. The vehicle lighting control module is also used to adjust the lighting status of the vehicle's headlights and / or taillights based on the current external environment information when the vehicle is in a parked state and the headlights and / or taillights are in the lighting state. The headlight control module is also used to adjust the lighting status of the vehicle's headlights and / or taillights according to the current driving scenario when the vehicle is in motion, until the vehicle switches out of the current driving scenario. When the vehicle is not started, determine the relative distance between the vehicle and the electronic key, or determine whether the vehicle receives a remote control signal from the electronic key; If the relative distance is greater than the first preset distance threshold, or if the vehicle does not receive the remote control signal, then the vehicle's headlights and / or taillights will be kept off. When the relative distance is less than or equal to a first preset distance threshold, or when the vehicle receives the remote control signal, the vehicle's headlights and / or taillights are controlled to enter the lighting state. Determining the relative distance between the vehicle and the electronic key, or determining whether the vehicle receives a remote control signal from the electronic key, includes: Step S1: The electronic key sends out a dedicated communication signal at a preset period. The dedicated communication signal and the remote control signal are two different types of signals. The dedicated communication signal contains the dedicated identification code of the electronic key, which is located at the beginning of the data of the dedicated communication signal. Before the electronic key sends the dedicated communication signal, it adds the current time data to the dedicated communication signal and then immediately sends it. After the vehicle's signal receiving device receives the signal, it uses the following formula (1) to analyze whether the received signal is a signal sent by the electronic key corresponding to the vehicle. (1) In the above formula (1), Indicates the signal received by the vehicle The determination value is whether the signal sent by the electronic key corresponding to the vehicle is valid. This represents the binary form of the signal data received by the vehicle. The binary form of the unique identification code for the electronic key corresponding to the vehicle; This indicates the number of digits in the data within the parentheses; Indicates to move to the right; This represents the zero-test function. If the value inside the parentheses is 0 in binary form, the function value of the zero-test function is 1 in decimal form; if the value inside the parentheses is not 0 in binary form, the function value of the zero-test function is 0 in decimal form. like This indicates that the vehicle received the signal. The signal was not sent by the electronic key corresponding to the vehicle. like This indicates that the vehicle received the signal. It is a signal sent by the electronic key corresponding to the vehicle; Step S2: If the vehicle receives three signals sent by the electronic key corresponding to the vehicle, then using the following formula (2), based on the time information in each signal, determine whether the three signals sent by the electronic key corresponding to the vehicle received by the vehicle are consecutive signals sent by the corresponding electronic key. (2) In the above formula (2), This indicates a determination value indicating whether the three signals received by the vehicle from the electronic key corresponding to the vehicle are consecutive signals sent by the corresponding electronic key. This represents the binary form of the first signal sent by the electronic key corresponding to the vehicle received by the vehicle. This represents the binary form of the signal sent by the electronic key corresponding to the vehicle for the second time, which is received by the vehicle. This represents the binary form of the signal sent by the electronic key corresponding to the vehicle for the third time, which the vehicle has received. This indicates the preset period during which the electronic key sends out specific, dedicated communication signals. This means extracting binary time data from the data and then converting it into decimal data, which is also the data mentioned above. The moment when the electronic key sends a message outward; Indicates from data The binary time data is extracted and then converted into decimal data, which is also the data mentioned above. The moment when the electronic key sends a message outward; Indicates from data The binary time data is extracted and then converted into decimal data, which is also the data mentioned above. The moment when the electronic key sends a message outward; like This indicates that the three signals received by the vehicle from the electronic key corresponding to the vehicle are consecutive signals sent by the corresponding electronic key. like If so, it means that the three signals received by the vehicle from the electronic key corresponding to the vehicle are not consecutive signals sent by the corresponding electronic key. If it is determined that the three signals received by the vehicle from the electronic key corresponding to the vehicle are consecutive signals sent by the corresponding electronic key, then proceed directly to step S3 below. If it is determined that the three signals received by the vehicle from the electronic key corresponding to the vehicle are not consecutive signals sent by the corresponding electronic key, then wait for the vehicle to receive two more signals from the electronic key corresponding to the vehicle before proceeding to step S3. Step S3: Using the formula (3) below, based on the time information in the signal sent by the corresponding electronic key received in step S2 and the time when the vehicle receives the signal, the relative distance between the vehicle and the electronic key is obtained. (3) In the above formula (3), This indicates the relative distance between the vehicle and the electronic key; Represents the speed of light; This indicates the total number of signals received by the vehicle from the corresponding electronic key in step S2 above. ,but ,like ,but ; Indicates that the vehicle received the first The moment when the electronic key corresponding to the vehicle sends the signal; Indicates from data The binary time data is extracted and then converted into decimal data, which is also the data mentioned above. The moment the electronic key sends something out.