Method and device for controlling vehicle atmosphere lamp, vehicle and storage medium
By obtaining the working parameters or environmental parameters of the vehicle's external headlights, determining the target luminous parameters of the ambient lights, so that they work in coordination with other lighting systems of the vehicle, solving the problem of reasonable use of the vehicle's external ambient lights and ensuring driving safety.
Patent Information
- Application Number
- CN202311244309.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-25
- Publication Date
- 2025-03-25
AI Technical Summary
How to reasonably use the ambient lights installed outside the vehicle to ensure that they work in coordination with other lighting systems of the vehicle, especially when the target lights cannot work properly, to ensure driving safety.
By obtaining the working parameters or environmental parameters of the vehicle's external headlights, the target luminous parameters of the ambient light can be determined so that it can match or replace the target luminous lights that need to be emitted, ensuring that the ambient light does not interfere with the normal operation of the headlights during operation, and providing alternative functions when the target luminous lights fail.
The coordination between the ambient light and other lighting systems of the vehicle is achieved, ensuring the normal operation and driving safety of the external lights of the vehicle. Especially when the target light fails, alternative functions are provided through the ambient lights to avoid driving safety risks.
Smart Images

Figure CN119682637A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle lamp technology, and more specifically, to a method, device, vehicle and storage medium for controlling vehicle ambient lamps in the field of vehicle lamp technology. Background Art
[0002] Vehicles are usually equipped with various types of lights, which can play different roles in the driving process. For example, when the vehicle needs to turn, the user can turn on the turn signal in the vehicle; when the vehicle is waiting for the traffic light, the user can turn on the brake light (also called the emergency brake light) in the vehicle; when the vehicle is in an accident, the user can turn on the hazard warning light in the vehicle.
[0003] In order to further improve the vehicle experience, users can also install ambient lights on the vehicle later to achieve entertainment and practical purposes.
[0004] For vehicles equipped with ambient lights, how to reasonably use the ambient lights has become an issue that needs to be addressed urgently. Summary of the invention
[0005] The present application provides a method, device, vehicle and storage medium for controlling vehicle ambient lights. When an ambient light is installed on the outside of the vehicle, the method can determine the target lighting parameters of the ambient light to make it cooperate with or replace the target headlight on the outside of the vehicle that needs to be illuminated, so that the ambient light will not affect the normal operation of the headlight during operation. In addition, the ambient light replaces the target headlight to ensure that the driving safety of the vehicle is not affected when the target headlight fails to work normally.
[0006] In a first aspect, a method for controlling a vehicle ambient light is provided, the method comprising: obtaining working parameters of a lamp that is currently emitting light outside the vehicle or environmental parameters of the vehicle's environment, the working parameters being used to indicate the working state of the lamp that is currently emitting light, and the environmental parameters being used to indicate the environmental state of the vehicle during driving; determining target luminous parameters of an ambient light installed on the outside of the vehicle based on the working parameters of the lamp that is currently emitting light or the environmental parameters, the target luminous parameters being used to indicate the luminous state of the ambient light during the luminous process; and controlling the ambient light to emit light in coordination with or in place of a target lamp that needs to emit light among a plurality of lamps based on the target luminous parameters.
[0007] In the above technical solution, when an ambient light is installed on the outside of the vehicle, the present application proposes a method for controlling the ambient light of the vehicle, which can specifically determine the target luminous parameters required by the ambient light when working according to the working parameters of multiple lights outside the vehicle or the environmental parameters of the vehicle during driving. The operation of the ambient light is controlled based on the target luminous parameters, so that the ambient light can play a role in cooperating with or replacing the target light that needs to be illuminated among multiple lights. Among them, when the ambient light replaces the target light, it can ensure that when the target light cannot work normally, the same effect as the target light is achieved through the ambient light. When the ambient light cooperates with the target light to illuminate, it can increase the luminous effect of the target light when the target light illuminates, so as to achieve the effect of conspicuously reminding the vehicles on the side.
[0008] In combination with the first aspect, in some possible implementations, the target luminous parameters of the ambient light installed on the outside of the vehicle are determined based on the working parameters of the multiple headlights or the environmental parameters, including: determining whether the headlight that is luminous is a faulty headlight based on the working parameters of the headlight that is luminous; if the headlight that is luminous is a faulty headlight, determining the luminous parameters of the headlight that is luminous as the target luminous parameters.
[0009] In the above technical solution, in one way, when determining the target luminous parameters of the atmosphere light, it is possible to determine whether the luminous light is a faulty light according to the working parameters of the luminous light. When the luminous light is a faulty light, it means that the light cannot work normally. At this time, the present application can determine the luminous parameters of the faulty light as the target luminous parameters, and use the atmosphere light to replace the faulty light to emit light, so as to solve the vehicle safety problem caused by the faulty light not being able to emit light normally.
[0010] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, the working parameter includes at least one of the working current and the working voltage of the light being emitted, and determining whether the light being emitted is a faulty light based on the working parameter of the light being emitted includes: when the working current is less than a preset current or the working voltage is less than a preset voltage, determining that the light being emitted is a faulty light; when the working current is greater than or equal to the preset current and the working voltage is greater than or equal to the preset voltage, determining that the light being emitted is not a faulty light.
[0011] In the above technical solution, when determining whether the illuminated headlight is a faulty headlight specifically through the working parameters of the illuminated headlight, since the working current and working voltage of the headlight may affect the brightness of the headlight, the present application can determine it through the working voltage and working current of the illuminated headlight. Specifically, when the working current is less than the preset current or the working voltage is less than the preset voltage, it is determined that the illuminated headlight is a faulty headlight. On the contrary, if the working current is greater than or equal to the preset current and the working voltage is greater than or equal to the preset voltage, it is determined that the illuminated headlight is not a faulty headlight. The above process can quickly determine whether the headlight can work normally in combination with the actual working status of the illuminated headlight.
[0012] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, the environmental parameters include weather type or traffic conditions on the road where the vehicle is located, and the traffic conditions are used to indicate the congestion situation on the road where the vehicle is located. The target lighting parameters of the ambient light installed on the outside of the vehicle are determined based on the working parameters of the lighting lamp that is emitting light or the environmental parameters, including any of the following: when the weather type meets the preset weather type, the lighting parameters of the target lighting lamp are determined as the target lighting parameters; when the traffic conditions indicate that the road where the vehicle is located is congested, the lighting parameters of the emergency brake light among the multiple lighting lamps are determined as the target lighting parameters, and the emergency brake light is the target lighting lamp.
[0013] In the above technical solution, in another way, when determining the target luminous parameters of the atmosphere lamp, it can also be determined by environmental parameters. Specifically, the environmental parameters include weather type or traffic conditions of the road where the vehicle is located, wherein the traffic conditions of the road where the vehicle is located can indicate the congestion situation of the road where the vehicle is located. When the weather type meets the preset weather type, the luminous parameters of the target lamps that need to be illuminated among multiple lamps can be determined as the target luminous parameters. Among them, the preset weather type can be understood as weather with relatively low visibility, such as foggy days, rainy days, etc. The above process can ensure that when the weather is bad (for example, when visibility is low on foggy days and rainy days), in addition to emitting light through the target lamps, the function of the target lamps can also be realized through the atmosphere lamps. The effect achieved by the above process is to increase the luminous area of the target lamps to achieve a more eye-catching effect.
[0014] When the traffic condition indicates that the vehicle is on a congested road, the luminous parameters of the emergency brake lights among the multiple lights are determined as the target luminous parameters. Normally, when the vehicle is on a congested road, it means that the vehicle may be in an emergency braking state, and the emergency brake lights of the vehicle will light up. In this case, the luminous parameters of the emergency brake lights are determined as the target luminous parameters. Similarly to the above, when the same function of the emergency brake lights is achieved through ambient lights, the luminous area of the emergency brake lights can be increased, making it easier for the following vehicles to recognize that the vehicle is in a braking state.
[0015] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, when the weather type is the preset weather type, the atmosphere light is controlled to cooperate with or replace the target light that needs to be illuminated among multiple lights according to the target luminous parameters, including: when the weather type is the preset weather type, if the distance between the target light and the atmosphere light is less than a first preset distance, the atmosphere light is controlled to emit light according to the luminous parameters of the target light.
[0016] In the above technical solution, when the weather type is the preset weather type, according to the target lighting parameters, when the ambient light is controlled to cooperate with or replace the target light that needs to be lit among multiple lights, if the distance between the target light and the ambient light is less than the first preset distance, it means that the target light and the ambient light are installed close to each other. In this case, the target light and the ambient light can be turned on at the same time and the two functions can be considered to be the same function. Therefore, when the target light is already turned on, the ambient light can be further controlled to operate with the lighting parameters of the target light, so that the functions realized by the target light and the ambient light are the same, thereby increasing the lighting area of the target light and making it easier for the vehicles next to it to identify the status of the vehicle.
[0017] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, when the traffic condition indicates that the vehicle is on a congested road, the ambient light is controlled to cooperate with or replace the target light among the multiple lights that needs to be illuminated to emit light according to the target lighting parameters, including: when the traffic condition indicates that the vehicle is on a congested road, if the distance between the emergency brake light and the ambient light is less than a second preset distance, the ambient light is controlled to emit light according to the lighting parameters of the emergency brake light.
[0018] In the above technical solution, when the vehicle is in a congested road section, it is usually necessary to turn on the emergency brake light outside the vehicle. At this time, the emergency brake light is the target light that needs to be illuminated. In this case, when the distance between the emergency brake light and the ambient light is less than the second preset distance, it means that the installation position of the ambient light is close to the emergency brake light. When the emergency brake light is already turned on, in order to increase the luminous area of the emergency brake light, the ambient light can also be controlled to turn on according to the luminous parameters of the emergency brake light to achieve the same function as the emergency brake light.
[0019] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, the atmosphere light is controlled to cooperate with or replace the target light among multiple lights that need to be illuminated according to the target luminous parameters, including: generating a target control instruction according to the target luminous parameters; sending the target control instruction to the atmosphere light controller, so that the atmosphere light controller controls the atmosphere light to cooperate with or replace the target light to be illuminated according to the target control instruction.
[0020] In the above technical scheme, when controlling the ambient light to emit light according to the target light-emitting parameters, a corresponding target control instruction can be generated according to the target light-emitting parameters, and the target control instruction can be sent to the ambient light controller in the vehicle, so that the ambient light controller controls the ambient light to cooperate with or replace the target vehicle light according to the target control instruction.
[0021] In summary, in the case where an ambient light is installed on the outside of the vehicle, the present application proposes a method for controlling the ambient light of the vehicle, which can specifically determine the target luminous parameters required for the ambient light when working according to the working parameters of multiple lights outside the vehicle or the environmental parameters of the vehicle during driving. The operation of the ambient light is controlled based on the target luminous parameters, so that the ambient light can play a role in cooperating with or replacing the target light that needs to be illuminated among multiple lights. Among them, when the ambient light replaces the target light to illuminate, it can ensure that when the target light cannot work normally, the ambient light can achieve the same effect as the target light. When the ambient light cooperates with the target light to illuminate, it can increase the luminous effect of the target light when the target light illuminates, so as to achieve the effect of conspicuously reminding the vehicles on the side.
[0022] In one way, when determining the target lighting parameters of the ambient light, it is possible to determine whether the lighting is a faulty light according to the working parameters of the lighting. When the lighting is a faulty light, it means that the light cannot work properly. In this case, the present application can determine the lighting parameters of the faulty light as the target lighting parameters, and use the ambient light to replace the faulty light to solve the vehicle safety problem caused by the faulty light not being able to work properly.
[0023] Specifically, when determining whether a light is a faulty light through the working parameters of the light, the working current and working voltage of the light may affect the brightness of the light, so the present application can determine it through the working voltage and working current of the light. Specifically, when the working current is less than the preset current or the working voltage is less than the preset voltage, the light is determined to be a faulty light. On the contrary, if the working current is greater than or equal to the preset current and the working voltage is greater than or equal to the preset voltage, the light is determined not to be a faulty light. The above process can quickly determine whether the light is working properly in combination with the actual working status of the light.
[0024] In another way, when determining the target luminous parameters of the atmosphere lamp, it can also be determined by environmental parameters. Specifically, the environmental parameters include the weather type or the traffic conditions of the road on which the vehicle is located, wherein the traffic conditions of the road on which the vehicle is located can indicate the congestion situation of the road on which the vehicle is located. When the weather type meets the preset weather type, the luminous parameters of the target lamps that need to be illuminated among multiple lamps can be determined as the target luminous parameters. Among them, the preset weather type can be understood as weather with relatively low visibility, such as foggy days, rainy days, etc. The above process can ensure that when the weather is bad (for example, when the visibility is low on foggy days or rainy days), in addition to emitting light through the target lamps, the function of the target lamps can also be realized through the atmosphere lamps. The effect achieved by the above process is to increase the luminous area of the target lamps to achieve a more eye-catching effect.
[0025] When the traffic condition indicates that the vehicle is on a congested road, the luminous parameters of the emergency brake lights among the multiple lights are determined as the target luminous parameters. Normally, when the vehicle is on a congested road, it means that the vehicle may be in an emergency braking state, and the emergency brake lights of the vehicle will light up. In this case, the luminous parameters of the emergency brake lights are determined as the target luminous parameters. Similarly to the above, when the same function of the emergency brake lights is achieved through ambient lights, the luminous area of the emergency brake lights can be increased, making it easier for the following vehicles to recognize that the vehicle is in a braking state.
[0026] When the weather type is the preset weather type, according to the target lighting parameters, when the ambient light is controlled to cooperate with or replace the target light that needs to be lit among multiple lights, if the distance between the target light and the ambient light is less than the first preset distance, it means that the target light and the ambient light are installed close to each other. In this case, the target light and the ambient light can be turned on at the same time and the two functions can be considered to be the same function. Therefore, when the target light is already turned on, the ambient light can be further controlled to operate with the lighting parameters of the target light, so that the functions realized by the target light and the ambient light are the same, thereby increasing the lighting area of the target light and making it easier for the vehicles next to it to identify the status of the vehicle.
[0027] When a vehicle is in a congested road, it is usually necessary to turn on the emergency brake light on the outside of the vehicle. At this time, the emergency brake light is the target light that needs to be illuminated. In this case, when the distance between the emergency brake light and the ambient light is less than the second preset distance, it means that the ambient light is installed closer to the emergency brake light. When the emergency brake light is already turned on, in order to increase the luminous area of the emergency brake light, the ambient light can also be controlled to turn on according to the luminous parameters of the emergency brake light to achieve the same function as the emergency brake light.
[0028] Specifically, when controlling the ambient light to emit light according to the target light-emitting parameters, corresponding target control instructions can be generated according to the target light-emitting parameters, and the target control instructions can be sent to the ambient light controller in the vehicle, so that the ambient light controller controls the ambient light to cooperate with or replace the target vehicle light according to the target control instructions.
[0029] In a second aspect, a device for controlling a vehicle ambient light is provided, the device comprising: an acquisition module for acquiring working parameters of a headlight that is currently emitting light outside the vehicle or environmental parameters of the vehicle's environment, the working parameters being used to indicate the working state of the headlight that is currently emitting light, and the environmental parameters being used to indicate the environmental state of the vehicle during driving; a determination module for determining target luminous parameters of an ambient light installed on the outside of the vehicle based on the working parameters of the headlight that is currently emitting light or the environmental parameters, the target luminous parameters being used to indicate the luminous state of the ambient light during the luminous process; and a control module for controlling the ambient light to emit light in coordination with or in place of a target headlight that needs to emit light among a plurality of headlights based on the target luminous parameters.
[0030] In combination with the second aspect, in some possible implementations, the determination module is specifically used to: determine whether the illuminated headlight is a faulty headlight based on the working parameters of the illuminated headlight; if the illuminated headlight is a faulty headlight, determine the luminous parameters of the illuminated headlight as the target luminous parameters.
[0031] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, the operating parameter includes at least one of the operating current and the operating voltage of the illuminated headlight, and the determination module is also used to: when the operating current is less than a preset current or the operating voltage is less than a preset voltage, determine that the illuminated headlight is a faulty headlight; when the operating current is greater than or equal to the preset current and the operating voltage is greater than or equal to the preset voltage, determine that the illuminated headlight is not a faulty headlight.
[0032] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, the environmental parameters include weather type or traffic conditions on the road where the vehicle is located, and the traffic conditions are used to indicate the congestion situation on the road where the vehicle is located. The determination module is also used to perform any of the following: when the weather type meets the preset weather type, the luminous parameters of the target headlights are determined as the target luminous parameters; when the traffic conditions indicate that the road where the vehicle is located is congested, the luminous parameters of the emergency brake light among the multiple headlights are determined as the target luminous parameters, and the emergency brake light is the target headlight.
[0033] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, when the weather type is the preset weather type, the control module is specifically used to: when the weather type is the preset weather type, if the distance between the target car light and the atmosphere light is less than the first preset distance, control the atmosphere light to emit light according to the light-emitting parameters of the target car light.
[0034] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, when the traffic condition indicates that the vehicle is on a congested road, the control module is also used to: when the traffic condition indicates that the vehicle is on a congested road, if the distance between the emergency brake light and the ambient light is less than a second preset distance, control the ambient light to emit light according to the light-emitting parameters of the emergency brake light.
[0035] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, the control module is also used to: generate a target control instruction based on the target luminous parameters; send the target control instruction to the atmosphere light controller, so that the atmosphere light controller controls the atmosphere light according to the target control instruction to cooperate with or replace the target car light to emit light.
[0036] In a third aspect, a vehicle is provided, comprising a memory and a processor. The memory is used to store executable program code, and the processor is used to call and run the executable program code from the memory, so that the vehicle executes the method in the first aspect or any possible implementation of the first aspect.
[0037] In a fourth aspect, a computer program product is provided, comprising: a computer program code, which, when executed on a computer, enables the computer to execute the method in the first aspect or any possible implementation of the first aspect.
[0038] In a fifth aspect, a computer-readable storage medium is provided, which stores a computer program code. When the computer program code runs on a computer, the computer executes the method in the above-mentioned first aspect or any possible implementation manner of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figure 1 is a schematic diagram of a vehicle driving scenario provided by an embodiment of the present application;
[0040] Figure 2 is a schematic diagram of the structure of a BCM of a vehicle provided in an embodiment of the present application;
[0041] Figure 3 is a schematic flow chart of a method for controlling vehicle atmosphere lights provided in an embodiment of the present application;
[0042] Figure 4 is a schematic flow chart of another method for controlling vehicle ambient lights provided in an embodiment of the present application;
[0043] Figure 5 is a schematic flow chart of another method for controlling vehicle ambient lights provided in an embodiment of the present application;
[0044] Figure 6 is a schematic diagram of the structure of a device for controlling vehicle atmosphere lights provided in an embodiment of the present application;
[0045] Figure 7 It is a structural schematic diagram of a vehicle provided in an embodiment of the present application. DETAILED DESCRIPTION
[0046] The technical solution in the present application will be described clearly and in detail below in conjunction with the accompanying drawings. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B: "and / or" in the text is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.
[0047] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features.
[0048] Figure 1 It is a schematic diagram of a vehicle driving scenario provided in an embodiment of the present application.
[0049] For example, Figure 1As shown, a plurality of lights are usually arranged at the rear of the vehicle 101, and the plurality of lights play different roles during the driving process of the vehicle 101. The plurality of lights include fog lights, brake lights, reversing lights, hazard warning lights and other different types of lights. When the vehicle 101 is driving on the road 102, it is affected by various factors such as weather, environment, traffic flow, pedestrians, road conditions, etc., and the above-mentioned different types of lights need to be turned on to achieve the purpose of alerting the following vehicles.
[0050] For example, when vehicle 101 needs to turn while driving on road 102, the turn signal at the rear of vehicle 101 can be turned on; when vehicle 101 is waiting for a traffic light, the brake light at the rear of vehicle 101 can be turned on; when vehicle 101 encounters a traffic accident while driving, the hazard warning light at the rear of vehicle 101 can be turned on.
[0051] At present, with the continuous increase in user demands, users can also install some configuration components in the vehicle 101 to make the vehicle 101 more functional and provide users with a more comfortable experience.
[0052] For example, the user can install an interior atmosphere light inside the vehicle 101. The interior atmosphere light can provide different riding atmospheres for the user by adjusting the working mode in different scenes. For example, the common interior atmosphere lights can be divided into warm colors (such as red) and cold colors (blue, purple, etc.) according to the color tone of the light, and can be divided into embracing starry sky atmosphere lights, color-changing music atmosphere lights, and induction atmosphere lights according to the working mode. During the working process, the interior atmosphere light can play a role in decorating the interior environment of the vehicle and bring a good experience to the user.
[0053] As another example, corresponding to the interior ambient lights, the user can also configure ambient lights outside the vehicle 101 (eg, in front and behind the vehicle 101) to enhance the user's riding experience.
[0054] For the ambient lights installed on the outside of the vehicle, how to reasonably control the ambient lights so that they work together with multiple lights to provide users with a more comfortable experience has become an urgent issue.
[0055] In response to the above problems, an embodiment of the present application proposes a method for controlling vehicle ambient lights. When an ambient light is installed on the outside of the vehicle, the method can determine the target lighting parameters of the ambient light to coordinate with or replace the target lights on the outside of the vehicle that need to be illuminated, so that the ambient light will not affect the normal operation of the lights during operation. In addition, the ambient light replaces the target lights to ensure that the driving safety of the vehicle is not affected when the target lights cannot work normally.
[0056] After introducing the application scenarios of the embodiments of the present application, the following describes a method for controlling a vehicle atmosphere light provided by the embodiments of the present application. It should be understood that the method can be applied to Figure 1 The scenario shown can be applied to Figure 1 Any electronic control unit (ECU) in the vehicle 101. Any ECU may be, for example, a vehicle control unit (VCU), an engine control module (ECM, also known as an engine controller), a transmission control unit (TCU), a body control module (BCM, also known as a body controller), etc., which is not limited in the present embodiment of the application.
[0057] It should be understood that multiple ECUs in a vehicle can be communicatively connected to achieve data transmission.
[0058] Optionally, the connection methods between multiple ECUs include controller area network (CAN) bus connection, local interconnect network (LIN) bus connection, Flex Ray bus connection, media oriented systems transport (MOST) bus connection, and Ethernet connection. Correspondingly, the communication methods between ECUs include CAN bus communication, LIN bus communication, Flex Ray bus communication, MOST bus communication, and Ethernet communication. The embodiments of this application are described using CAN communication as an example.
[0059] In the following, the embodiment of the present application takes any ECU as a BCM as an example to introduce in detail a method for controlling a vehicle atmosphere light provided in the embodiment of the present application.
[0060] In the process of controlling vehicle ambient lights, the internal structure of BCM can be divided into different units according to their different functions.
[0061] Before introducing the method, the embodiment of the present application first introduces the structure of the BCM.
[0062] Figure 2 It is a schematic diagram of the structure of a BCM of a vehicle provided in an embodiment of the present application.
[0063] For example, Figure 2As shown, the BCM 201 in the vehicle 101 is composed of four units, namely a detection unit 2011, a communication unit 2012, a processing unit 2013 and a control unit 2014. Among them:
[0064] The detection unit 2011 usually includes various control switches, sensors and collectors. The detection unit 2011 is mainly used to collect or detect the status and parameters of the components controlled by the BCM201. For example, taking the electric window as an example, the detection unit 2011 may include a switch for the electric window to detect whether the electric window is in an open state or a closed state. Taking the hazard warning light as an example, the detection unit 2011 may also include a current collector and a voltage collector to detect the operating current and operating voltage of the hazard warning light during the hazard warning light emitting (or lighting) process.
[0065] After acquiring the status and parameters of the components controlled by BCM201, the detection unit 2011 can send them to the processing unit 2013 for analysis and processing.
[0066] The communication unit 2012 is used to enable the BCM 201 to communicate with other ECUs in the vehicle 101, and is mainly used to receive data sent by other ECUs and forward the data to the processing unit 2013. Alternatively, it can also be used to send the status and parameters of the components obtained by the detection unit 2011 to other ECUs for decision-making and processing by other ECUs.
[0067] The processing unit 2013 is used to receive the data sent by the detection unit 2011 and the communication unit 2012, analyze and process them, obtain the final control result, and send the control result to the control unit 2014.
[0068] The control unit 2014 is used to receive the control result sent by the processing unit 2013, and control the ambient light or other components in the vehicle 101 according to the control result.
[0069] After introducing the structure of the BCM, a method for controlling a vehicle ambient light provided in an embodiment of the present application is described below.
[0070] Figure 3 It is a schematic flow chart of a method for controlling vehicle ambient lighting provided in an embodiment of the present application.
[0071] For example, Figure 3 As shown, the method 300 includes:
[0072] 301, obtaining working parameters of a headlight that is emitting light outside the vehicle or environmental parameters of the environment in which the vehicle is located, wherein the working parameters are used to indicate the working state of the headlight that is emitting light, and the environmental parameters are used to indicate the environmental state during the driving process of the vehicle.
[0073] For example, Figure 2 As shown, step 301 can be specifically performed by Figure 2 It is executed by the detection unit 2011 and the communication unit 2012.
[0074] It should be understood that the atmosphere light in the embodiment of the present application mainly refers to the atmosphere light installed on the outside of the vehicle. Based on this installation method of the atmosphere light, the application scenarios of the atmosphere light in the embodiment of the present application can be roughly divided into three types: the first is when the lighting state of the headlights that are glowing in the vehicle is unstable and the headlights that are glowing cannot work normally, the atmosphere light can replace the headlights that are glowing and achieve the same function as the headlights that are glowing. The second is that in some special weather or special road sections, in order to ensure that the target headlights that need to be illuminated can be more eye-catching, the atmosphere light can also achieve the same function as the target headlights.
[0075] It should also be understood that the atmosphere light provided in the embodiment of the present application is specifically a dot matrix three-primary color (Red, Green, Blue, RGB) light emitting diode (Light Emitting Diode, LED) lamp bead.
[0076] Optionally, the installation form of the atmosphere light can realize a combination of various graphics and lines according to the needs and user preferences. The embodiment of the present application does not limit the installation method of the atmosphere light.
[0077] Based on the application scenario of the above-mentioned ambient light proposed in the embodiment of the present application, the BCM can obtain the working parameters of the headlights outside the vehicle or the environmental parameters of the vehicle's environment during the driving process, and control the operation of the ambient light according to the above-mentioned different parameters.
[0078] Optionally, the lights on the outside of the vehicle that are emitting light include reversing lights, turn signal lights, rear fog lights, hazard warning lights, emergency brake lights, etc. The embodiment of the present application does not limit the type and number of the lights that are emitting light.
[0079] Optionally, the operating parameters of the emitting vehicle lamp include an operating voltage and an operating current.
[0080] For a headlight that is lighting up, the headlight has a corresponding brightness during the lighting process, and the brightness of the headlight mainly depends on the working voltage and working current during the lighting process of the headlight. In the embodiment of the present application, the BCM can obtain the working voltage and working current of the headlight that is lighting up, so as to judge whether the headlight that is currently lighting up can operate normally (that is, whether the headlight that is currently lighting up is a faulty headlight).
[0081] For example, for the operating voltage and the operating current, the BCM can collect the operating voltage of the illuminated headlight through a voltage collector connected to the illuminated headlight. Similarly, the BCM can collect the operating current of the illuminated headlight through a current collector connected to the illuminated headlight.
[0082] The vehicle's environmental parameters can represent the environmental conditions during the vehicle's driving process, such as weather, visibility, etc.
[0083] Optionally, the environmental parameters include weather type and traffic conditions of the road where the vehicle is located, wherein the traffic conditions of the road where the vehicle is located may indicate congestion conditions of the road where the vehicle is located, that is, whether the road where the vehicle is located is congested.
[0084] Exemplarily, for the weather type, the BCM may obtain the current weather conditions displayed in the display area of the multimedia host through the multimedia controller in the vehicle, thereby obtaining the weather type.
[0085] Optionally, weather types include sunny days, rainy days, snowy days, foggy days, cloudy days, etc., which are not limited in the embodiments of the present application.
[0086] Among them, the embodiment of the present application is mainly used to determine whether the current weather type is a foggy day or a rainy day with poor visibility. Therefore, in addition to obtaining the weather type through the multimedia controller, for the judgment of foggy days, the BCM can also obtain the visibility data collected by the visibility observation instrument in the vehicle, so as to judge whether the weather type is foggy day according to the visibility data. For the judgment of rainy days, the BCM can obtain the rainfall collected by the rain sensor in the vehicle, so as to judge whether the weather type is rainy day according to the rainfall.
[0087] Exemplarily, the traffic condition of the road on which the vehicle is located can be obtained in the following ways.
[0088] First, BCM first obtains the current positioning information of the vehicle through the navigation system controller. Based on the vehicle's positioning information, BCM can obtain the traffic conditions of the road on which the vehicle is located from the navigation system controller. For example, obtain the navigation path signal of the road on which the vehicle is currently located. In the display interface of the navigation system, navigation path signals of different colors can represent different traffic conditions; for example, a navigation path signal of red represents traffic congestion, yellow represents slow traffic and possible congestion, and green represents smooth traffic. Based on this, after obtaining the vehicle's positioning information, BCM can obtain the navigation path signal of the road on which the vehicle is currently located to determine the traffic conditions of the road on which the vehicle is currently located. Specifically, when the colors corresponding to the navigation path signal are red and yellow, BCM determines that the road on which the vehicle is currently located is congested; when the color corresponding to the navigation path signal is green, BCM determines that the road on which the vehicle is currently located is not congested.
[0089] Secondly, BCM can obtain the traffic conditions of the road where the vehicle is located through the vehicle's positioning information within a fixed time. For example, BCM can periodically (for example, every 1 minute) obtain the vehicle's positioning information from the navigation system controller. If the vehicle's positioning information does not change within a certain period of time (for example, within 10 minutes), BCM determines that the road where the vehicle is currently located is congested.
[0090] The third method is to determine the traffic conditions of the road on which the vehicle is located based on the positioning information. BCM can also obtain the traffic conditions of the road on which the vehicle is located by the distance between the vehicle and the vehicle in front and the vehicle behind. For example, if BCM determines through the distance measuring device in the vehicle (such as laser radar) that the distance between the vehicle and the vehicle in front and the vehicle behind is less than or equal to the preset distance (such as 1.5m), it means that the distance between the vehicle and the vehicle in front and the vehicle behind is close, and BCM determines that the road on which the vehicle is located is congested.
[0091] The above methods of obtaining the traffic conditions of the road on which the vehicle is located are illustrative examples of the embodiments of the present application. All methods that can be used to obtain the traffic conditions of the road on which the vehicle is located can be applied to the embodiments of the present application.
[0092] 302 , determining a target lighting parameter of an ambient light installed outside the vehicle according to the working parameter or environmental parameter of the vehicle lamp being lit, wherein the target lighting parameter is used to indicate a lighting state of the ambient light during the lighting process.
[0093] For example, Figure 2 As shown, step 302 can be specifically performed by Figure 2 The processing unit 2013 in is executed.
[0094] Specifically, in step 301, the detection unit 2011 and the communication unit 2012 may send the acquired working parameters of the emitting vehicle lights and the environmental parameters of the vehicle environment to the processing unit 2013, so that the processing unit 2013 may perform analysis and processing.
[0095] After obtaining the working parameters of the lights being lit or the environmental parameters of the vehicle's environment, the BCM can determine the target lighting parameters of the ambient light installed on the outside of the vehicle based on the above two parameters. This process can be specifically understood as follows: on the one hand, based on the working parameters of the lights being lit, it is determined that the lights being lit can operate normally. If they cannot operate normally, the ambient light will replace the lights. On the other hand, based on the environmental parameters, it can be determined whether the current weather type is poor in visibility. If so, the ambient light needs to be turned on to play a more eye-catching role.
[0096] In a possible implementation, the target luminous parameters of the ambient light installed outside the vehicle are determined according to the working parameters or environmental parameters of the luminous headlights. The target luminous parameters of the ambient light can be determined according to the working parameters of the luminous headlights, including:
[0097] Determine whether the headlight being illuminated is a faulty headlight according to the working parameters of the headlight being illuminated;
[0098] In the case that the vehicle lamp that is lighting is a faulty vehicle lamp, the lighting parameters of the vehicle lamp that is lighting are determined as target lighting parameters.
[0099] Exemplarily, after obtaining the operating current and the operating voltage of the illuminated headlight, the BCM can determine whether the illuminated headlight is a faulty headlight based on the operating voltage and the operating current, that is, determine whether the illuminated headlight can operate normally.
[0100] In a possible implementation, when judging whether the vehicle lamp being illuminated can operate normally according to the operating voltage and the operating current of the vehicle lamp being illuminated, the method includes:
[0101] When the working current is less than a preset current or the working voltage is less than a preset voltage, determining that the lighted headlight is a faulty headlight;
[0102] When the operating current is greater than or equal to the preset current, and the operating voltage is greater than or equal to the preset voltage, it is determined that the illuminated vehicle lamp is not a faulty vehicle lamp.
[0103] The preset current can be understood as the minimum current when the headlight works normally, and the preset voltage can be understood as the minimum voltage when the headlight works normally. Optionally, the preset current can be 2A, and the preset voltage can be 12V.
[0104] For example, assuming that the light that is glowing is the hazard warning light, if the BCM obtains that the operating voltage of the hazard warning light is 9V and the operating current is 0.5A, then the BCM can determine that the hazard warning light is a faulty light; if the BCM obtains that the operating voltage of the hazard warning light is 12V and the operating current is 2A, then the BCM can determine that the hazard warning light is not a faulty light.
[0105] In the above technical solution, when determining whether the illuminated headlight is a faulty headlight specifically through the working parameters of the illuminated headlight, since the working current and working voltage of the headlight may affect the brightness of the headlight, the present application can determine it through the working voltage and working current of the illuminated headlight. Specifically, when the working current is less than the preset current or the working voltage is less than the preset voltage, it is determined that the illuminated headlight is a faulty headlight. On the contrary, if the working current is greater than or equal to the preset current and the working voltage is greater than or equal to the preset voltage, it is determined that the illuminated headlight is not a faulty headlight. The above process can quickly determine whether the headlight can work normally in combination with the actual working status of the illuminated headlight.
[0106] In another scenario, in addition to determining whether the illuminated headlight is a faulty headlight based on the operating voltage and current of the illuminated headlight, the BCM can also determine whether a fault code of the illuminated headlight is detected.
[0107] The fault code, also known as the vehicle's diagnostic trouble code (DTC), is mainly used to determine whether certain functions of the vehicle have control conditions and can characterize the abnormal state of the vehicle.
[0108] Specifically, when the BCM can obtain the fault code of the headlight being illuminated, it can be determined that the headlight being illuminated is a faulty headlight. If the BCM does not obtain the fault code of the headlight being illuminated, it can be determined that the headlight being illuminated is not a faulty headlight.
[0109] In one case, when it is determined that the light that is glowing is a faulty light, it means that the light that is glowing cannot operate normally. In order to ensure the driving safety of the vehicle, the BCM can control the light to turn off and stop running, and the ambient light will replace the light.
[0110] Specifically, taking the hazard warning light as an example, when the hazard warning light is a faulty light, the BCM can control the hazard warning light to turn off, obtain the luminous parameters of the hazard warning light, and use the luminous parameters as the target luminous parameters of the ambient light.
[0111] Optionally, the lighting parameters of the headlights may include the color of the headlights, the brightness of the headlights when they are lit, the lighting mode (for example, whether it is continuous lighting or flashing), etc.
[0112] For example, the color of the hazard warning lights is amber, the color of the rear fog lights is red, the color of the backup lights is white, the color of the emergency brake lights is amber or red, and the color of the turn signal lights is amber.
[0113] The brightness of a headlight can generally be expressed in lumens, which is a unit of luminous flux that represents the visible light output of a light source. The brighter the light source, the more lumens it produces.
[0114] These lighting parameters are stored in the BCM in the form of signals and have a one-to-one correspondence with the vehicle lights.
[0115] When it is determined that the hazard warning light is a faulty light, the BCM can obtain the lighting parameters of the hazard warning light and use them as the target lighting parameters of the ambient light.
[0116] In another case, when the headlight that is emitting light is not a faulty headlight, it indicates that the headlight that is emitting light is a headlight that can operate normally. In one way, the ambient light can be used to provide an entertainment experience for the user during the driving process of the vehicle, and the original luminous parameters of the ambient light (preset luminous parameters) are used as the target luminous parameters of the ambient light. In another way, since the ambient light is installed in accordance with regulations, it is necessary to meet certain distance conditions with the original headlights in the vehicle. When the distance between the ambient light and the hazard warning light is less than or equal to the preset distance, it means that the distance between the ambient light and the hazard warning light is relatively close. At this time, the luminous parameters of the hazard warning light can also be used as the target luminous parameters of the ambient light, so that the ambient light is used as a hazard warning light. When the ambient light is turned on at the same time as the original hazard warning light on the outside of the vehicle, the ambient light and the hazard warning light can be regarded as a whole to emit light, which will not mislead users of other vehicles, and can also play a more eye-catching role. When the distance between the ambient light and the hazard warning light is far, in order to avoid misleading users of other vehicles, the ambient light cannot be used as a hazard warning light, and either the ambient light is turned off or the preset luminous parameters of the ambient light are used as the target luminous parameters.
[0117] In the above technical solution, in one way, when determining the target luminous parameters of the atmosphere light, it is possible to determine whether the luminous light is a faulty light according to the working parameters of the luminous light. When the luminous light is a faulty light, it means that the light cannot work normally. At this time, the present application can determine the luminous parameters of the faulty light as the target luminous parameters, and use the atmosphere light to replace the faulty light to emit light, so as to solve the vehicle safety problem caused by the faulty light not being able to emit light normally.
[0118] In another possible implementation, the target luminous parameters of the ambient light installed outside the vehicle are determined according to the working parameters or environmental parameters of the luminous vehicle lamp, and the target luminous parameters of the ambient light can be determined according to the environmental parameters, including any of the following:
[0119] When the weather type meets the preset weather type, the luminous parameters of the target vehicle lamp are determined as the target luminous parameters;
[0120] When the traffic condition indicates that the road where the vehicle is located is congested, the lighting parameters of the emergency brake light among the multiple vehicle lights are determined as the target lighting parameters, and the emergency brake light is the target vehicle light.
[0121] Optionally, the preset weather types include rainy day and foggy day.
[0122] Specifically, when determining the target luminous parameters of the atmosphere light according to the environmental parameters, there are two corresponding situations:
[0123] Exemplarily, when the weather type obtained by the BCM is the preset weather type, it means that the visibility during the current driving of the vehicle is low. At this time, in order to ensure the driving safety of the vehicle, the luminous parameters of the target lights that need to be illuminated in the vehicle can be determined as the target luminous parameters of the atmosphere lights.
[0124] For example, when the weather type is foggy and the vehicle needs to turn on the rear fog lights during driving, the lighting parameters of the rear fog lights can be determined as the target lighting parameters; when the vehicle needs to turn on the hazard warning lights during driving, the lighting parameters of the hazard warning lights can be determined as the target lighting parameters.
[0125] As another example, when the traffic condition acquired by the BCM indicates that the road where the vehicle is located is congested, generally in this case, the vehicle needs to turn on the emergency brake lights. Therefore, in this case, the lighting parameters of the emergency brake lights can be determined as the target lighting parameters.
[0126] It should be understood that, in general, when a vehicle is driving, it will give priority to lighting up the vehicle's original lights (these lights are also the target lights). In bad weather, in order to make it easier for the following vehicles to identify the status of the vehicle, the ambient lights on the outside of the vehicle can also be used to achieve the same function as the target lights, that is, the luminous parameters of the target lights are used as the luminous parameters of the ambient lights, thereby increasing the luminous area of the target lights and serving as a warning to the following vehicles. Similarly, when traffic conditions are bad, since the target lights are the emergency brake lights, the luminous parameters of the emergency brake lights can be used as the luminous parameters of the ambient lights.
[0127] In addition, the above-mentioned weather type and the traffic condition of the road where the vehicle is located can also be combined with each other. For example, when the weather type does not meet the preset weather type and the traffic condition indicates that the road where the vehicle is located is not congested, it means that the visibility in the current weather is good and the vehicle is not traveling on a congested road. In this case, you can choose to use the ambient light to replace the lighting parameters of the target lights that need to be illuminated in the vehicle, or you can choose to make the ambient light emit according to its own preset lighting parameters.
[0128] In addition, the environmental parameters can also be combined with the working parameters of the headlights that are currently emitting light. For example, when the traffic conditions on the road where the vehicle is located are congested and the headlights that are currently emitting light are emergency brake lights, in this case, after the emitting parameters of the emergency brake lights are determined as the target emitting parameters and the ambient lights are controlled to achieve the same functions as the emergency brake lights, if it is detected that the working voltage of the emergency brake lights is less than 12V, the emergency brake lights can be controlled to stop emitting light and the emergency brake lights can be retained. The above process can achieve the effect of replacing the faulty headlights with the ambient lights on the one hand, and on the other hand, when there are a large number of ambient lights, it can also achieve the effect of increasing the emitting area of the emergency brake lights.
[0129] In the above technical solution, in another way, when determining the target luminous parameters of the atmosphere lamp, it can also be determined by environmental parameters. Specifically, the environmental parameters include weather type or traffic conditions of the road where the vehicle is located, wherein the traffic conditions of the road where the vehicle is located can indicate the congestion situation of the road where the vehicle is located. When the weather type meets the preset weather type, the luminous parameters of the target lamps that need to be illuminated among multiple lamps can be determined as the target luminous parameters. Among them, the preset weather type can be understood as weather with relatively low visibility, such as foggy days, rainy days, etc. The above process can ensure that when the weather is bad (for example, when visibility is low on foggy days and rainy days), in addition to emitting light through the target lamps, the function of the target lamps can also be realized through the atmosphere lamps. The effect achieved by the above process is to increase the luminous area of the target lamps to achieve a more eye-catching effect.
[0130] When the traffic condition indicates that the vehicle is on a congested road, the luminous parameters of the emergency brake lights among the multiple lights are determined as the target luminous parameters. Normally, when the vehicle is on a congested road, it means that the vehicle may be in an emergency braking state, and the emergency brake lights of the vehicle will light up. In this case, the luminous parameters of the emergency brake lights are determined as the target luminous parameters. Similarly to the above, when the same function of the emergency brake lights is achieved through ambient lights, the luminous area of the emergency brake lights can be increased, making it easier for the following vehicles to recognize that the vehicle is in a braking state.
[0131] 303 , according to the target light emitting parameter, controlling the ambient light to emit light in coordination with or in place of the target light that needs to emit light among the multiple lights.
[0132] For example, Figure 2 As shown, step 303 is specifically performed by Figure 2 The processing unit 2012 and the control unit 2013 in the embodiment are executed. Specifically, the processing unit 2012 determines the target lighting parameters of the atmosphere light, and sends the target lighting parameters to the control unit 2013, which controls the atmosphere light to cooperate with or replace the target vehicle light to emit light.
[0133] Furthermore, after determining the target lighting parameters of the ambient light, the BCM may control the operation of the ambient light according to the target lighting parameters.
[0134] It should be understood that multiple ECUs in a vehicle communicate with each other through CAN bus connections and CAN signals. Therefore, the BCM can convert specific target lighting parameters into corresponding CAN signals to control the operation of the ambient light through CAN signals.
[0135] In a possible implementation, according to the target light emitting parameters, the ambient light is controlled to cooperate with or replace the target light that needs to be emitted among the multiple lights to emit light, including:
[0136] Generate target control instructions according to target luminous parameters;
[0137] The target control instruction is sent to the ambient light controller, so that the ambient light controller controls the ambient light to emit light in coordination with or in place of the target vehicle light according to the target control instruction.
[0138] For the atmosphere light controller, optionally, each lamp bead can correspond to a separate atmosphere light controller, which is responsible for controlling each lamp bead individually, or all the lamp beads can be controlled by one atmosphere light controller, which is not limited in the embodiments of the present application.
[0139] The following embodiment of the present application is introduced by taking an example where all lamp beads are controlled by one atmosphere light controller.
[0140] After the BCM determines the target lighting parameters of the ambient light, it can generate corresponding target control instructions (i.e., CAN signals) according to the target lighting parameters, and send the target lighting parameters to the ambient light controller via the CAN bus. After receiving the target lighting parameters, the ambient light controller can control the operation of the ambient light.
[0141] In a special scenario, when the target light that needs to be illuminated is an emergency brake light that needs to be illuminated on both sides, after receiving the target lighting parameters, the ambient light controller can control each ambient light to illuminate according to the target lighting parameters, including the lighting mode and lighting color.
[0142] In another special scenario, when the target light that needs to be illuminated is a light that is turned on one side, such as a turn signal or a rear fog light, after receiving the target light parameters, the ambient light controller can determine the local ambient light that needs to be controlled based on the target light parameters. For example, when the target light is a left turn signal, the target light parameters can also specifically include the position of the target light (such as the left or right side). Further, the ambient light controller can determine the local ambient light that needs to be illuminated from the target light parameters, and then control the local ambient light to operate with the target light parameters.
[0143] In the above technical scheme, when controlling the ambient light to emit light according to the target light-emitting parameters, a corresponding target control instruction can be generated according to the target light-emitting parameters, and the target control instruction can be sent to the ambient light controller in the vehicle, so that the ambient light controller controls the ambient light to cooperate with or replace the target vehicle light according to the target control instruction.
[0144] Further, when the weather type is a preset weather type, when controlling the ambient light to cooperate with or replace the target headlight that needs to be illuminated among multiple headlights to illuminate according to the target illumination parameter, it can be specifically determined whether the illumination parameter of the target headlight needs to be determined as the target illumination parameter in combination with the distance between the ambient light and the target headlight, including:
[0145] When the distance between the target vehicle light and the ambient light is less than the first preset distance, the ambient light is controlled to emit light according to the light-emitting parameters of the target vehicle light.
[0146] For example, assuming that the first preset distance is 20 mm, and assuming that the target vehicle light is a hazard warning light, the BCM can obtain the distance between the hazard warning light and the ambient light through the distance sensor, for example, 10 mm. In this case, the hazard warning light and the ambient light are turned on at the same time as the hazard warning light, which will not mislead the user of the adjacent vehicle. Therefore, the ambient light can be further controlled to turn on so that the hazard warning light and the ambient light can both realize the function of the hazard warning light.
[0147] At the same time, when the hazard warning lights are on, the BCM can monitor the operating voltage and current of the hazard warning lights in real time. When it is determined that the hazard warning lights are faulty lights, the BCM can promptly control the hazard warning lights to turn off and keep the ambient lights on.
[0148] In the above technical solution, when the weather type is the preset weather type, according to the target lighting parameters, when the ambient light is controlled to cooperate with or replace the target light that needs to be lit among multiple lights, if the distance between the target light and the ambient light is less than the first preset distance, it means that the target light and the ambient light are installed close to each other. In this case, the target light and the ambient light can be turned on at the same time and the two functions can be considered to be the same function. Therefore, when the target light is already turned on, the ambient light can be further controlled to operate with the lighting parameters of the target light, so that the functions realized by the target light and the ambient light are the same, thereby increasing the lighting area of the target light and making it easier for the vehicles next to it to identify the status of the vehicle.
[0149] In another scenario, when the distance between the target headlight and the ambient headlight is greater than or equal to the first distance, if the ambient headlight is controlled to achieve the same function as the target headlight according to the lighting parameters of the target headlight, it may mislead the vehicles beside. In this case, you can choose not to turn on the ambient headlight, or you can choose to control the ambient headlight to operate according to the preset lighting parameters of the ambient headlight.
[0150] Correspondingly, when the traffic condition indicates that the road where the vehicle is located is congested, the ambient light is controlled to cooperate with or replace the target light that needs to be illuminated among the multiple lights according to the target lighting parameters, specifically including:
[0151] When the distance between the emergency brake light and the ambient light is less than the second preset distance, the ambient light is controlled to emit light according to the light-emitting parameters of the emergency brake light.
[0152] Optionally, the second preset distance may be the same as or different from the first preset distance, which is not limited in the present embodiment. The present embodiment is described as if the two are the same.
[0153] For example, assuming that the first preset distance is 20 mm, the BCM can obtain the distance between the emergency brake light and the ambient light through the distance sensor, for example, 10 mm. Similar to the previous process, in this case, the emergency brake light and the ambient light are turned on at the same time as the emergency brake light, which will not mislead the user of the adjacent car. Therefore, the ambient light can be further controlled to turn on so that the emergency brake light and the ambient light can both realize the function of the emergency brake light.
[0154] At the same time, in the process of controlling the emergency brake lights to turn on, the BCM can monitor the operating voltage and current of the emergency brake lights in real time. When it is determined that the emergency brake lights are faulty lights, the emergency brake lights can be promptly controlled to turn off, and the ambient lights can be kept on.
[0155] In the above technical solution, when the vehicle is in a congested road section, it is usually necessary to turn on the emergency brake light outside the vehicle. At this time, the emergency brake light is the target light that needs to be illuminated. In this case, when the distance between the emergency brake light and the ambient light is less than the second preset distance, it means that the installation position of the ambient light is close to the emergency brake light. When the emergency brake light is already turned on, in order to increase the luminous area of the emergency brake light, the ambient light can also be controlled to turn on according to the luminous parameters of the emergency brake light to achieve the same function as the emergency brake light.
[0156] Similarly, when the distance between the emergency brake light and the ambient light is greater than or equal to the second distance, if the ambient light is controlled to achieve the same function as the emergency brake light according to the lighting parameters of the emergency brake light, it may mislead the vehicles beside. In this case, you can choose not to turn on the ambient light, or you can choose to control the ambient light to operate according to the preset lighting parameters of the ambient light.
[0157] For ease of understanding, the following briefly introduces the processes of two application scenarios of ambient lighting.
[0158] Figure 4 It is a schematic flow chart of another method for controlling vehicle ambient lighting provided in an embodiment of the present application.
[0159] For example, Figure 4 As shown, the method 400 includes:
[0160] 401, a detection unit obtains working parameters of a lighting lamp and sends the parameters to a processing unit.
[0161] Exemplary, combined Figure 2 The step 401 and the step 301 belong to the same inventive concept. For details, please refer to the step of obtaining the working parameters of the emitting vehicle lamp in the aforementioned step 301, which will not be repeated here.
[0162] 402, the processing unit determines whether the lighted headlight is a faulty headlight.
[0163] If the processing unit determines that the lighted headlight is a faulty headlight, step 403 is executed.
[0164] Exemplary, combined Figure 2 In step 402, the processing unit determines whether the lighted headlight is a faulty headlight, which is the same inventive concept as the step in step 302 where the BCM determines whether the lighted headlight is a faulty headlight based on the working voltage and the working current. For details, please refer to the aforementioned step 302, which will not be repeated here.
[0165] 403, the processing unit determines the lighting parameters of the lighting headlight as the target lighting parameters, and sends them to the control unit.
[0166] 404, the control unit controls the operation of the ambient light according to the target light emitting parameters.
[0167] Exemplary, combined Figure 2 The step 404 and the step 303 belong to the same inventive concept, and the details can be found in the aforementioned step 303, which will not be described again here.
[0168] Figure 5 It is a schematic flow chart of another method for controlling vehicle ambient lighting provided in an embodiment of the present application.
[0169] For example, Figure 5 As shown, the method 500 includes:
[0170] 501, the communication unit obtains environmental parameters and sends them to the processing unit.
[0171] Exemplary, combined Figure 2 and Figure 3 The step 501 and the step 301 belong to the same inventive concept. For details, please refer to the step of obtaining environmental parameters in the aforementioned step 301, which will not be repeated here.
[0172] 502, the processing unit determines whether the environmental parameters meet the preset conditions.
[0173] The preset conditions here can be specifically understood as preset weather types or road congestion on which the vehicle is located.
[0174] Exemplary, combined Figure 2 and Figure 3 The step 502 and the step 302 belong to the same inventive concept, and the details can be referred to the aforementioned step 302, which will not be described again. Specifically, it is to determine whether the weather type is a preset weather type, or to determine whether the traffic condition of the road where the vehicle is located is congested.
[0175] If the processing unit determines that the environmental parameters meet the preset conditions, step 503 is specifically executed.
[0176] 503, determining the lighting parameters of the target vehicle headlights that need to be illuminated as target lighting parameters, and sending them to the control unit.
[0177] Specifically, when the environmental parameter is the weather type, when the processing unit determines that the weather type is the preset weather type, the lighting parameters of the target headlights that need to be lit are determined as the target lighting parameters. When the environmental parameter is the traffic condition of the road where the vehicle is located, when the processing unit determines that the traffic condition of the road where the vehicle is located is congested, the lighting parameters of the emergency brake lights are determined as the target lighting parameters.
[0178] Further, the processing unit sends the target light emitting parameters to the control unit.
[0179] 504, the control unit controls the operation of the atmosphere light according to the target light emitting parameters.
[0180] Exemplary, combined Figure 2 , step 504 and step 303 belong to the same inventive concept, and details can be found in the aforementioned step 303, which will not be repeated here.
[0181] Figure 6 It is a structural schematic diagram of a device for controlling vehicle atmosphere lights provided in an embodiment of the present application.
[0182] For example, Figure 6 As shown, the device 600 includes:
[0183] An acquisition module 601 is used to acquire working parameters of a headlight that is emitting light outside the vehicle or environmental parameters of the environment in which the vehicle is located, wherein the working parameters are used to indicate the working state of the headlight that is emitting light, and the environmental parameters are used to indicate the environmental state during the driving process of the vehicle;
[0184] A determination module 602 is used to determine a target lighting parameter of an ambient light installed outside the vehicle according to the working parameter of the vehicle light being lit or the environmental parameter, wherein the target lighting parameter is used to indicate a lighting state of the ambient light during lighting;
[0185] The control module 603 is used to control the ambient light to emit light in coordination with or in place of a target light that needs to emit light among the multiple lights according to the target light-emitting parameters.
[0186] In one possible implementation, the determination module 602 is specifically used to: determine whether the illuminated headlight is a faulty headlight based on the working parameters of the illuminated headlight; if the illuminated headlight is a faulty headlight, determine the luminous parameters of the illuminated headlight as the target luminous parameters.
[0187] In one possible implementation, the operating parameter includes at least one of an operating current and an operating voltage of the illuminated headlight, and the determination module 602 is further used to: determine that the illuminated headlight is a faulty headlight when the operating current is less than a preset current or the operating voltage is less than a preset voltage; and determine that the illuminated headlight is not a faulty headlight when the operating current is greater than or equal to the preset current and the operating voltage is greater than or equal to the preset voltage.
[0188] In one possible implementation, the environmental parameter includes a weather type or a traffic condition of the road on which the vehicle is located, and the traffic condition is used to indicate a congestion condition of the road on which the vehicle is located. The determination module 602 is further used to perform any of the following: when the weather type meets a preset weather type, the luminous parameters of the target headlight are determined as the target luminous parameters; when the traffic condition indicates that the road on which the vehicle is located is congested, the luminous parameters of the emergency brake light among the multiple headlights are determined as the target luminous parameters, and the emergency brake light is the target headlight.
[0189] In a possible implementation, when the weather type is the preset weather type, the control module 603 is specifically used to: when the distance between the target car light and the atmosphere light is less than a first preset distance, control the atmosphere light to emit light according to the light-emitting parameters of the target car light.
[0190] In one possible implementation, when the traffic condition indicates that the vehicle is on a congested road, the control module 603 is also used to: when the distance between the emergency brake light and the ambient light is less than a second preset distance, control the ambient light to emit light according to the light-emitting parameters of the emergency brake light.
[0191] In one possible implementation, the control module 603 is also used to: generate a target control instruction based on the target luminous parameters; send the target control instruction to the atmosphere light controller, so that the atmosphere light controller controls the atmosphere light to cooperate with or replace the target vehicle light to emit light according to the target control instruction.
[0192] Figure 7 It is a structural schematic diagram of a vehicle provided in an embodiment of the present application.
[0193] For example, Figure 7 As shown, the vehicle 101 includes: a memory 701 and a processor 702, wherein the memory 701 stores an executable program code 7011, and the processor 702 is used to call and execute the executable program code 7011 to perform a method for controlling a vehicle ambient light.
[0194] In addition, an embodiment of the present application also protects a device, which may include a memory and a processor, wherein the memory stores an executable program code, and the processor is used to call and execute the executable program code to execute a method for controlling a vehicle atmosphere light provided in an embodiment of the present application.
[0195] In this embodiment, the functional modules of the device can be divided according to the above method example. For example, each functional module can be corresponded, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is schematic and is only a logical function division. There may be other division methods in actual implementation.
[0196] In the case of dividing each functional module according to each function, the device may also include an acquisition module, a determination module, a first control module, etc. It should be noted that all relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module, which will not be repeated here.
[0197] It should be understood that the device provided in this embodiment is used to execute the above-mentioned method of controlling vehicle atmosphere lights, and thus can achieve the same effect as the above-mentioned implementation method.
[0198] In the case of an integrated unit, the device may include a processing module and a storage module. When the device is applied to a vehicle, the processing module may be used to control and manage the actions of the vehicle. The storage module may be used to support the vehicle in executing mutual program codes, etc.
[0199] The processing module may be a processor or a controller, which may implement or execute various exemplary logic blocks, modules and circuits disclosed in the present application. The processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, etc. The storage module may be a memory.
[0200] In addition, the device provided in the embodiments of the present application may specifically be a chip, component or module, and the chip may include a connected processor and memory; wherein the memory is used to store instructions, and when the processor calls and executes the instructions, the chip can execute a method for controlling vehicle atmosphere lights provided in the above embodiments.
[0201] This embodiment also provides a computer-readable storage medium, in which a computer program code is stored. When the computer program code is run on a computer, the computer executes the above-mentioned related method steps to implement a method for controlling a vehicle atmosphere light provided in the above embodiment.
[0202] This embodiment also provides a computer program product. When the computer program product is run on a computer, the computer is caused to execute the above-mentioned related steps to implement a method for controlling a vehicle atmosphere light provided in the above embodiment.
[0203] Among them, the device, computer-readable storage medium, computer program product or chip provided in this embodiment is used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above, and will not be repeated here.
[0204] Through the description of the above implementation methods, technical personnel in the relevant field can understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0205] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0206] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A method for controlling vehicle atmosphere lighting, characterized in that: The method comprises: Acquire working parameters of a headlight that is emitting light outside the vehicle or environmental parameters of the environment in which the vehicle is located, wherein the working parameters are used to indicate the working state of the headlight that is emitting light, and the environmental parameters are used to indicate the environmental state during the driving process of the vehicle; Determining a target lighting parameter of an ambient light installed outside the vehicle according to the working parameter of the emitting vehicle lamp or the environmental parameter, wherein the target lighting parameter is used to indicate a lighting state of the ambient light during the lighting process; According to the target light emitting parameters, the ambient light is controlled to emit light in coordination with or in place of a target light that needs to emit light among a plurality of lights.
2. The method according to claim 1, characterized in that The step of determining a target luminous parameter of an ambient light installed outside the vehicle according to the operating parameter of the luminous vehicle light or the environmental parameter comprises: Determining whether the emitting headlight is a faulty headlight according to the working parameters of the emitting headlight; In a case where the emitting vehicle lamp is a faulty vehicle lamp, the emitting parameters of the emitting vehicle lamp are determined as the target emitting parameters.
3. The method according to claim 2, characterized in that The operating parameter includes at least one of an operating current and an operating voltage of the emitting headlight, and determining whether the emitting headlight is a faulty headlight according to the operating parameter of the emitting headlight includes: When the working current is less than a preset current or the working voltage is less than a preset voltage, determining that the emitting vehicle lamp is a faulty vehicle lamp; When the operating current is greater than or equal to the preset current, and the operating voltage is greater than or equal to the preset voltage, it is determined that the emitting vehicle lamp is not a faulty vehicle lamp.
4. The method according to claim 1, characterized in that The environmental parameters include weather type or traffic conditions of the road where the vehicle is located, and the traffic conditions are used to indicate congestion on the road where the vehicle is located. The determining of target luminous parameters of the ambient light installed on the outside of the vehicle according to the working parameters of the luminous headlight or the environmental parameters includes any of the following: In a case where the weather type satisfies a preset weather type, determining the luminous parameters of the target vehicle lamp as the target luminous parameters; When the traffic condition indicates that the road where the vehicle is located is congested, the lighting parameters of the emergency brake light among the plurality of vehicle lights are determined as the target lighting parameters, and the emergency brake light is the target vehicle light.
5. The method according to claim 4, characterized in that When the weather type is the preset weather type, controlling the ambient light to emit light in coordination with or in place of a target light among a plurality of lights that needs to emit light according to the target light emitting parameter includes: In a case where the weather type is the preset weather type, if the distance between the target vehicle light and the ambient light is less than a first preset distance, the ambient light is controlled to emit light according to the light-emitting parameters of the target vehicle light.
6. The method according to claim 4, characterized in that When the traffic condition indicates that the road where the vehicle is located is congested, controlling the ambient light to illuminate in coordination with or in place of a target light among a plurality of lights that needs to illuminate according to the target illumination parameter includes: In a case where the traffic condition indicates that the road where the vehicle is located is congested, if the distance between the emergency brake light and the ambient light is less than a second preset distance, the ambient light is controlled to emit light according to the light emitting parameters of the emergency brake light.
7. The method according to claim 1, characterized in that According to the target light emitting parameter, controlling the ambient light to emit light in coordination with or in place of a target light that needs to emit light among a plurality of lights includes: Generating a target control instruction according to the target light emitting parameters; The target control instruction is sent to the ambient light controller, so that the ambient light controller controls the ambient light to emit light in cooperation with or in place of the target vehicle light according to the target control instruction.
8. A device for controlling vehicle atmosphere lights, characterized in that: The device comprises: An acquisition module, used to acquire working parameters of a headlight that is emitting light outside the vehicle or environmental parameters of the environment in which the vehicle is located, wherein the working parameters are used to indicate the working state of the headlight that is emitting light, and the environmental parameters are used to indicate the environmental state during the driving process of the vehicle; A determination module, used to determine a target lighting parameter of an ambient light installed outside the vehicle according to the working parameter of the emitting vehicle lamp or the environmental parameter, wherein the target lighting parameter is used to represent a lighting state of the ambient light during the lighting process; The control module is used to control the ambient light to emit light in coordination with or in place of a target light that needs to emit light among a plurality of lights according to the target light-emitting parameters.
9. A vehicle, characterized in that: The vehicle comprises: A memory for storing executable program codes; A processor, configured to call and run the executable program code from the memory, so that the vehicle executes the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed, the method according to any one of claims 1 to 7 is implemented.