Vehicle lamp control method and device, vehicle and storage medium
By obtaining and adjusting the output power of the headlight driving circuit, the problem of excessive changes in the headlight brightness is solved and the user's visual experience is improved.
Patent Information
- Application Number
- CN202510339635.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-20
- Publication Date
- 2025-06-27
AI Technical Summary
In the prior art, when environmental parameters change greatly, the brightness of the car lights changes more significantly, affecting the user's visual experience.
By obtaining the power influence parameters of the target light driving circuit, determining the desired output power based on the preset mapping relationship, and adjusting the historical output power to determine the target output power, the vehicle light driving circuit is controlled to operate according to the target output power.
This makes the brightness changes of the headlights smoother and enhances the user's visual experience.
Smart Images

Figure CN120207214A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of vehicle control, and in particular, to a vehicle lamp control method, device, vehicle, and storage medium. Background Art
[0002] A variety of vehicle lamps are usually provided on a vehicle, such as turn signals, headlamps, rear tail lamps, etc., which can be used to provide night driving illumination and emit various vehicle driving signals.
[0003] In a vehicle, a vehicle lamp driving circuit inside the vehicle is electrically connected to a corresponding vehicle lamp to drive the vehicle lamp to emit light. When the vehicle lamp emits light, the output power of the corresponding vehicle lamp driving circuit can be adjusted to adjust the light emission brightness of the vehicle lamp. In the related art, a vehicle includes a pre-set derating curve, which describes the relationship between different environmental parameters and the vehicle lamp driving circuit. The vehicle can query the above derating curve to determine the expected output power of the vehicle lamp driving circuit and control the vehicle lamp driving circuit to work according to the determined expected output power.
[0004] In the related art, when the environmental parameters change greatly, the difference between the expected output power determined according to the derating curve and the current output power of the vehicle lamp driving circuit is large. At this time, the brightness change of the vehicle lamp is relatively obvious, affecting the user's visual experience. Summary of the Invention
[0005] This application provides a vehicle lamp control method, device, vehicle, and storage medium.
[0006] In a first aspect, an embodiment of this application provides a vehicle lamp control method, which is applied to a vehicle. The vehicle includes a vehicle lamp system. The vehicle lamp includes at least one vehicle lamp and a vehicle lamp driving circuit for driving at least one vehicle lamp. The method includes: when a target vehicle lamp among at least one vehicle lamp is in a light-emitting state, obtaining a power influence parameter of the target vehicle lamp driving circuit; where the target vehicle lamp driving circuit is used to drive the target vehicle lamp, and the power influence parameter refers to a parameter that affects the output power of the target vehicle lamp driving circuit; determining the expected output power of the target vehicle lamp driving circuit based on the power influence parameter and a preset mapping relationship, where the preset mapping relationship represents the mapping relationship between different power influence parameters and the output power of the target vehicle lamp driving circuit; determining a target output power based on the expected output power and the historical output power of the target vehicle lamp driving circuit; where the historical output power represents the output power of the target vehicle lamp driving circuit in the most recent at least one cycle; the difference between the expected output power and the historical output power is greater than the difference between the target output power and the historical output power; controlling the target vehicle lamp driving circuit to work according to the target output power.
[0007] Second aspect, an embodiment of the present application provides a vehicle lamp control device, which includes: a parameter acquisition module, configured to acquire a power influence parameter of a target vehicle lamp driving circuit when the target vehicle lamp in at least one vehicle lamp is in a lighting state; wherein, the target vehicle lamp driving circuit is used to drive the target vehicle lamp, and the power influence parameter refers to a parameter that affects the output power of the target vehicle lamp driving circuit; a first determination module, configured to determine the expected output power of the target vehicle lamp driving circuit based on the power influence parameter and a preset mapping relationship, wherein the preset mapping relationship represents the mapping relationship between different power influence parameters and the output power of the target vehicle lamp driving circuit; a second determination module, configured to determine the target output power based on the expected output power and the historical output power of the target vehicle lamp driving circuit; wherein, the historical output power represents the output power of the target vehicle lamp driving circuit in at least one recent period; the difference between the expected output power and the historical output power is greater than the difference between the target output power and the historical output power; a vehicle lamp control module, configured to control the target vehicle lamp driving circuit to operate according to the target output power.
[0008] Third aspect, an embodiment of the present application provides a vehicle, which includes: a vehicle lamp system, the vehicle lamp includes at least one vehicle lamp and a vehicle lamp driving circuit for driving at least one vehicle lamp; one or more processors; a memory; one or more application programs, wherein one or more application programs are stored in the memory and configured to be executed by one or more processors, and one or more application programs are configured to execute the method as described in the first aspect.
[0009] Fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which computer program instructions are stored, and the computer program instructions can be called by a processor to execute the method as described in the first aspect.
[0010] Fifth aspect, an embodiment of the present application provides a computer program product, when the instructions in the computer program product are executed, it is used to implement the method as described in the first aspect.
[0011] Compared with the prior art, in the technical solution provided by the embodiment of the present application, when the target vehicle lamp is in the lighting state, the vehicle obtains the power influence parameter of the target vehicle lamp drive circuit to determine the expected output power of the target vehicle lamp drive circuit, and then determines the target output power according to the historical output power of the target vehicle lamp drive circuit (that is, the output power in at least the most recent one cycle) and the expected output power. Finally, the vehicle controls the target vehicle lamp drive circuit to work according to the target output power. In the embodiment of the present application, the vehicle adjusts the determined expected output power based on the historical output power to obtain the target output power, and the difference between the target output power and the historical output power is smaller than the difference between the expected output power and the historical output power, making the change of the output power of the target vehicle lamp drive circuit smoother, and further making the brightness change of the vehicle lamp smoother, improving the user's visual experience. Description of the Drawings
[0012] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. For those skilled in the art, without creative efforts, other drawings can be obtained based on these drawings.
[0013] Figure 1 It is a schematic diagram of the implementation environment provided by the embodiment of the present application.
[0014] Figure 2 It is a flowchart of a vehicle lamp control method provided by an embodiment of the present application.
[0015] Figure 3 It is a flowchart of a file control method provided by another embodiment of the present application.
[0016] Figure 4 It is a flowchart of a file control method provided by another embodiment of the present application.
[0017] Figure 5 It is a curve graph of the first mapping relationship provided by an embodiment of the present application.
[0018] Figure 6 It is a curve graph of the second mapping relationship provided by an embodiment of the present application.
[0019] Figure 7 It is a curve graph of the third mapping relationship provided by an embodiment of the present application.
[0020] Figure 8 It is a block diagram of a vehicle lamp control device provided by an embodiment of the present application.
[0021] Figure 9 It is a structural block diagram of an electronic device provided by an embodiment of the present application. Detailed implementation manners
[0022] The following describes in detail the implementation manners of the present application. Examples of the implementation manners are shown in the accompanying drawings, where the same or similar reference numerals represent the same or similar elements or elements with the same or similar functions throughout. The implementation manners described below by referring to the accompanying drawings are exemplary and are only used to explain the present application and should not be construed as a limitation to the present application.
[0023] In order to enable those skilled in the art of this technology to better understand the solution of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without making creative efforts belong to the scope of protection of the present application.
[0024] Please refer to Figure 1 , which shows a schematic diagram of an implementation environment provided by an embodiment of the present application. The implementation environment includes a vehicle 100. In this embodiment, the vehicle 100 includes a headlight system.
[0025] The headlight system includes at least one headlight and a headlight driving circuit for driving at least one headlight. Each headlight is electrically connected to its corresponding headlight driving circuit. The at least one headlight includes a rear taillight, a turn signal light, a headlight, a safety warning light, etc. The headlight driving circuit is used to drive the headlight to emit light. When the output powers of the headlight driving circuits are different, the brightness of the headlights is different. The headlight driving circuits for driving different headlights may be the same or different. The present application does not limit the circuit structure of the headlight driving circuit.
[0026] When the external environment of the vehicle changes, it is necessary to adjust the brightness of the headlights in the working state. In the embodiment of the present application, when the vehicle is in a state where the target headlight is emitting light, the vehicle obtains the power influence parameter of the target headlight driving circuit to determine the expected output power of the target headlight driving circuit, and then determines the target output power according to the historical output power (i.e., the output power in at least one recent cycle) of the target headlight driving circuit and the expected output power. Finally, the vehicle controls the target headlight driving circuit to work according to the target output power. In the embodiment of the present application, the vehicle adjusts the determined expected output power based on the historical output power to obtain the target output power. The difference between the target output power and the historical output power is less than the difference between the expected output power and the historical output power, making the change in the output power of the target headlight driving circuit smoother, and thus making the change in the brightness of the headlight smoother and improving the user's visual experience.
[0027] In some embodiments, the vehicle is further provided with a plurality of on-vehicle sensors. For example, a temperature sensor is arranged on the periphery of the vehicle lamp to detect the operating temperature of the vehicle lamp. Another example is a temperature sensor arranged on the periphery of the vehicle lamp driving circuit, which can be used to detect the operating temperature of the vehicle lamp driving circuit. In some embodiments, a voltage detection device is arranged on the vehicle lamp driving circuit to detect the input voltage of the vehicle lamp driving circuit.
[0028] Please refer to Figure 2 , which shows a flowchart of a vehicle lamp control method provided by an embodiment of the present application. The method includes the following processes.
[0029] S201, when the target vehicle lamp in at least one vehicle lamp is in a lighting state, obtain the power influence parameters of the target vehicle lamp driving circuit.
[0030] The target vehicle lamp driving circuit is used to drive the target vehicle lamp. The power influence parameters of the target vehicle lamp driving circuit refer to the parameters that affect the output power of the target vehicle lamp driving circuit. The above power influence parameters include: the first operating temperature of the target vehicle lamp, the second operating temperature of the target vehicle lamp driving circuit, and the input voltage of the target vehicle lamp driving circuit.
[0031] In some embodiments, a first temperature detection device (such as a temperature sensor) is arranged on the periphery of the target vehicle lamp, and the first operating temperature of the target vehicle lamp can be detected through the first temperature detection device. In some embodiments, a second temperature detection device is arranged on the periphery of the target vehicle lamp driving circuit, and the second operating temperature of the target vehicle lamp driving circuit can be detected through the second temperature detection device. In some embodiments, a voltage detection device is arranged on the target vehicle lamp driving circuit, and the input voltage of the vehicle lamp driving circuit is detected through the voltage detection device.
[0032] In other possible embodiments, the above power influence parameters further include the ambient brightness of the vehicle, which can be detected by a brightness detection device arranged on the vehicle.
[0033] In this embodiment, the vehicle periodically collects the power influence parameters of the target vehicle lamp driving circuit so that the output power of the vehicle lamp driving circuit can be adjusted in a timely manner according to the above power influence parameters subsequently. The collection period can be a preset fixed value, such as 2 seconds.
[0034] S202, determine the expected output power of the target vehicle lamp driving circuit based on the power influence parameters and the preset mapping relationship.
[0035] The preset mapping relationship represents the mapping relationship between different power influence parameters and the output power of the target vehicle lamp driving circuit. The preset mapping relationship can be set according to experiments or experience, and the embodiments of the present application do not limit this.
[0036] In some embodiments, when the power influence parameter of the vehicle satisfies the power adjustment condition, the expected output power of the target headlight driving circuit is determined based on the power influence parameter and the preset mapping relationship. When the power adjustment condition is not satisfied, the vehicle keeps the power of the target headlight driving circuit unchanged. The power adjustment condition refers to the condition that needs to be satisfied for adjusting the output power of the target headlight driving circuit. The specific content of the power adjustment condition will be introduced in the following embodiments.
[0037] S203. Determine the target output power based on the expected output power and the historical output power of the target headlight driving circuit.
[0038] The historical output power represents the output power of the target headlight driving circuit in at least the most recent one cycle. When the historical output power represents the output powers of the target headlight driving circuit in multiple recent cycles, the historical output power can be the average value of the output powers of the target headlight driving circuit in multiple recent cycles. The difference between the expected output power and the historical output power is greater than the difference between the target output power and the historical output power.
[0039] S204. Control the target headlight driving circuit to operate according to the target output power.
[0040] Optionally, the vehicle determines the ratio of the target output power to the specified voltage as the operating current of the target headlight driving circuit, and then controls the current of the target headlight driving circuit to be the above-mentioned target current, so as to control the target headlight driving circuit to operate according to the target output power. The specified voltage is the output voltage of the target headlight driving circuit detected in real time.
[0041] In summary, for the technical solution provided by the embodiments of the present application, when the target headlight is in the lighting state, the vehicle obtains the power influence parameter of the target headlight driving circuit to determine the expected output power of the target headlight driving circuit, then determines the target output power according to the historical output power (i.e., the output power in at least the most recent one cycle) of the target headlight driving circuit and the expected output power, and finally controls the target headlight driving circuit to operate according to the target output power. In the embodiments of the present application, the vehicle adjusts the determined expected output power based on the historical output power to obtain the target output power. The difference between the target output power and the historical output power is less than the difference between the expected output power and the historical output power, making the change of the output power of the target headlight driving circuit smoother, and further making the brightness change of the headlight smoother, improving the visual experience of the user.
[0042] Please refer to Figure 3 , which shows the flowchart of the headlight control method provided by an embodiment of the present application. In the optional embodiment provided by the embodiment shown in Figure 2 , S203 is replaced and implemented as S303 - S305. The method includes the following processes.
[0043] S301. When the target headlight among at least one headlight is in a lighting state, obtain the power influence parameters of the target headlight drive circuit.
[0044] The target headlight drive circuit is used to drive the target headlight. The power influence parameters of the target headlight drive circuit refer to the parameters that affect the output power of the target headlight drive circuit. The above power influence parameters include: the first operating temperature of the target headlight, the second operating temperature of the target headlight drive circuit, and the input voltage of the target headlight drive circuit.
[0045] S302. Based on the power influence parameters and the preset mapping relationship, determine the expected output power of the target headlight drive circuit.
[0046] The preset mapping relationship represents the mapping relationship between different power influence parameters and the output power of the target headlight drive circuit.
[0047] S303. Obtain the difference between the expected output power and the historical output power.
[0048] The historical output power represents the output power of the target headlight drive circuit in at least the most recent cycle. In this embodiment, the historical output power is the output power of the target headlight drive circuit in the most recent cycle, denoted as P out_act (t - 1). Optionally, the vehicle calculates the output power of the target headlight drive circuit in the most recent cycle through the following calculation formula: P out_act (t - 1) = U out_act (t - 1) * I out_act (t - 1). U out_act (t - 1) is the output voltage of the target headlight drive circuit in the most recent cycle, and I out_act (t - 1) is the output current of the target headlight drive circuit in the most recent cycle.
[0049] The vehicle calculates the difference between the expected output power and the historical output power through the following calculation formula: P out_error (t) = P out_target (t) - P out_act (t - 1). P out_error (t) is the difference, and P out_target (t) is the expected output power.
[0050] S304. Based on the difference, determine the target power change value.
[0051] The difference is greater than the target power change value. In some embodiments, the vehicle obtains the target relational expression and determines the target power change value through the target relational expression and the difference.
[0052] The target relationship is determined based on a preset feedback control algorithm, and the target relationship is used to describe the relationship between the difference and the power change value. The preset feedback control algorithms include: Proportional-Integral-Derivative (PID) algorithm, adaptive control algorithm, model predictive control algorithm, and so on. In the embodiments of the present application, only the PID algorithm is taken as an example of the preset feedback control algorithm for illustration. In this embodiment, the vehicle determines the following calculation formula based on the PID algorithm: P out_command (t) = K P *(P out_error (t) - P out_error (t - 1)) + K i *P out_error (t) + K d *(P out_error (t) - 2 * P out_error (t - 1) + P out_error (t - 2)).
[0053] P out_command (t) is the power change value. K P is the proportional coefficient, and its range is 0 to 100. P out_error (t) is the difference of the determined target headlight drive circuit in this cycle (i.e., the t-th cycle); P out_error (t - 1) is the difference of the determined target headlight drive circuit in the (t - 1)-th cycle, K i is the integral coefficient, and its range is 0 to 1, K d is the differential coefficient, and its range is 0 to 100, P out_error (t - 2) is the difference of the determined target headlight drive circuit in the (t - 2)-th cycle.
[0054] S305. Determine the target output power based on the historical output power and the target power change value.
[0055] In some embodiments, the vehicle determines the sum of the historical output power and the target power change value as the target output power.
[0056] In some embodiments, when the difference is greater than the preset value, start from S304. When the difference is less than or equal to the preset value, the vehicle directly determines the difference as the target power change value, and at this time, the desired output power is also the target output power. The preset value is set according to experiments or experience, and the embodiments of the present application do not limit this. By the above method, the energy consumption of the vehicle can be saved on the premise that the change of the output power of the target headlight drive circuit is smooth.
[0057] S306. Control the target headlight drive circuit to work according to the target output power.
[0058] In summary, in the technical solution provided by the embodiment of the present application, when the target vehicle lamp is in the lighting state, the vehicle obtains the power influence parameter of the target vehicle lamp driving circuit to determine the expected output power of the target vehicle lamp driving circuit, and then determines the target output power according to the historical output power of the target vehicle lamp driving circuit (that is, the output power of at least the most recent one cycle), and finally controls the target vehicle lamp driving circuit to work according to the target output power. In the embodiment of the present application, the vehicle adjusts the determined expected output power based on the historical output power to obtain the target output power, and the difference between the target output power and the historical output power is smaller than the difference between the expected output power and the historical output power, making the change of the output power of the target vehicle lamp driving circuit smoother, and further making the brightness change of the vehicle lamp smoother, improving the user's visual experience.
[0059] Please refer to Figure 4 , which shows the flowchart of the vehicle lamp control method proposed in an embodiment of the present application. In the optional embodiment provided by the embodiment shown in Figure 2 , S202 is replaced and implemented as S402 - S404. The method includes the following processes.
[0060] S401, when the target vehicle lamp in at least one vehicle lamp is in the lighting state, obtain the power influence parameter of the target vehicle lamp driving circuit.
[0061] The target vehicle lamp driving circuit is used to drive the target vehicle lamp. The power influence parameter of the target vehicle lamp driving circuit refers to the parameter that affects the output power of the target vehicle lamp driving circuit. The above power influence parameters include: the first operating temperature of the target vehicle lamp, the second operating temperature of the target vehicle lamp driving circuit, and the input voltage of the target vehicle lamp driving circuit.
[0062] S402, determine the first power based on the first operating temperature and the first mapping relationship.
[0063] When the power influence parameter includes the first operating temperature of the target vehicle lamp, the preset mapping relationship includes the first mapping relationship, that is, the mapping relationship between the operating temperature of the target vehicle lamp and the output power of the target vehicle lamp driving circuit. The vehicle searches for the above first mapping relationship to determine the first power corresponding to the first operating temperature.
[0064] Optionally, the first mapping relationship can be expressed as the following calculation formula:
[0065]
[0066] where P1 is the first power, and its value ranges from 0 to 300W; T L is the first operating temperature of the target vehicle lamp, and its value ranges from 0 to 150 °C.
[0067] Reference Figure 5 , which shows a schematic diagram of the first mapping relationship provided by an embodiment of the present application. In Figure 5 the embodiment, when the operating temperature of the target vehicle lamp is greater than 0 and less than or equal to T1, the power of the target vehicle lamp drive circuit is always P1. When the operating temperature of the target vehicle lamp is greater than T1 and less than T2, the power of the target vehicle lamp drive circuit changes linearly, which can be calculated by the interpolation method. When the operating temperature of the target vehicle lamp is greater than or equal to T2, the power of the target vehicle lamp drive circuit is always P2. Among them, P1 is greater than P2. The values of T1, T2, P1, and P2 are set according to experiments or experience.
[0068] In Figure 2 the embodiment, it is mentioned that the vehicle starts to execute from S202 when the power adjustment condition is met. When the power influence parameter includes the operating temperature of the target vehicle lamp, when the operating temperature of the target vehicle lamp switches from the first interval to the second interval, or when switching from the third interval to the second interval, it is determined that the power adjustment condition is met. The first interval is greater than 0 and less than or equal to T1, the second interval is greater than T1 and less than T2, and the third interval is greater than or equal to T2.
[0069] S403, determine the second power based on the second operating temperature.
[0070] When the power influence parameter includes the second operating temperature of the target vehicle lamp drive circuit, the preset mapping relationship includes the second mapping relationship, that is, the mapping relationship between the operating temperature of the target vehicle lamp drive circuit and the output power of the target vehicle lamp drive circuit.
[0071] Optionally, the second mapping relationship can be expressed as the following calculation formula:
[0072]
[0073] Among them, P2 is the first power, and its value is 0 - 300W; T C is the first operating temperature of the target vehicle lamp drive circuit, and its value is 0 - 150°C.
[0074] Combined with reference Figure 6 , which shows a schematic diagram of the second mapping relationship provided by an embodiment of the present application. In Figure 6In the embodiment, when the operating temperature of the target headlight driving circuit is greater than 0 and less than or equal to T3, the power of the target headlight driving circuit is always P4. When the operating temperature of the target headlight is greater than T3 and less than T4, the power of the target headlight driving circuit changes linearly and can be calculated by the interpolation method. When the operating temperature of the target headlight is greater than or equal to T4, the power of the target headlight driving circuit is always P3. Among them, P3 is greater than P4. The values of T3, T4, P3, and P4 are set according to experiments or experience.
[0075] In Figure 2 As mentioned in the embodiment, when the vehicle meets the power adjustment condition, it starts to execute from S202. When the power influence parameter includes the operating temperature of the target headlight driving circuit, when the operating temperature of the target headlight driving circuit switches from the fourth interval to the fifth interval, or when it switches from the sixth interval to the fifth interval, it is determined that the power adjustment condition is met. The fourth interval is greater than 0 and less than or equal to T3, the fifth interval is greater than T3 and less than T4, and the sixth interval is greater than or equal to T4.
[0076] S404, determine the third power based on the input voltage of the target headlight driving circuit.
[0077] When the power influence parameter includes the input voltage of the target headlight driving circuit, the preset mapping relationship includes the third mapping relationship, that is, the mapping relationship between the input voltage of the target headlight driving circuit and the output power of the target headlight driving circuit.
[0078] Optionally, the third mapping relationship can be expressed as the following calculation formula:
[0079]
[0080] P3 is the third power, and its value ranges from 0 to 300W. V in is the input voltage of the target headlight driving circuit, and its value ranges from 0 to 24V.
[0081] Combined with reference Figure 7 , which shows a schematic diagram of the third mapping relationship provided by an embodiment of the present application. In Figure 7 the embodiment, when the input voltage of the target headlight driving circuit is greater than 0 and less than or equal to V1, the power of the target headlight driving circuit is always P5. When the input voltage of the target headlight driving circuit is greater than V1 and less than V2, the power of the target headlight driving circuit changes linearly and can be calculated by the interpolation method. When the input voltage of the target headlight driving circuit is greater than or equal to V2, the power of the target headlight driving circuit is always P6. Among them, P5 is less than P6. The values of V1, V2, P5, and P6 are set according to experiments or experience.
[0082] InFigure 2 As mentioned in the embodiments, when the vehicle meets the power adjustment conditions, it starts to execute from S202. When the power influence parameter includes the input voltage of the target headlight drive circuit, when the input voltage of the target headlight drive circuit switches from the seventh interval to the eighth interval, or when it switches from the ninth interval to the eighth interval, it is determined that the power adjustment conditions are met. The seventh interval is greater than 0 and less than or equal to V1, the fifth interval is greater than V1 and less than V2, and the sixth interval is greater than or equal to V2.
[0083] The embodiments of the present application do not limit the execution order of S402 - S404.
[0084] S405, Determine the desired output power based on the first power, the second power, and the third power.
[0085] In some embodiments, the vehicle determines the minimum value among the first power, the second power, and the third power as the desired output power.
[0086] In other possible embodiments, the vehicle can also determine the average value of the first power, the second power, and the third power as the desired output power. Alternatively, the vehicle obtains a specified relationship, and the vehicle performs a weighted sum of the first power, the second power, and the third power according to the specified relationship to obtain the desired output power.
[0087] S406, Determine the target output power based on the desired output power and the historical output power of the target headlight drive circuit.
[0088] The historical output power represents the output power of the target headlight drive circuit in at least the most recent one cycle; the difference between the desired output power and the historical output power is greater than the difference between the target output power and the historical output power.
[0089] S407, Control the target headlight drive circuit to operate according to the target output power.
[0090] In summary, in the technical solution provided by the embodiments of the present application, when the target headlight is in the lit state, the vehicle obtains the power influence parameter of the target headlight drive circuit to determine the desired output power of the target headlight drive circuit, then determines the target output power according to the historical output power (i.e., the output power in at least the most recent one cycle) of the target headlight drive circuit and the desired output power, and finally controls the target headlight drive circuit to operate according to the target output power. In the embodiments of the present application, the vehicle adjusts the determined desired output power based on the historical output power to obtain the target output power, and the difference between the target output power and the historical output power is less than the difference between the desired output power and the historical output power, making the change in the output power of the target headlight drive circuit smoother, and further making the change in the brightness of the headlight smoother, improving the user's visual experience.
[0091] Please refer to Figure 8 , which shows a structural block diagram of a vehicle headlight control device provided by an embodiment of the present application. The device includes: a parameter acquisition module 810, a first determination module 820, a second determination module 830, and a vehicle headlight control module 840.
[0092] The parameter acquisition module 810 is configured to acquire a power influence parameter of a target headlight drive circuit when at least one target headlight among at least one vehicle headlight is in a lighting state; wherein, the target headlight drive circuit is used to drive the target headlight, and the power influence parameter refers to a parameter that affects the output power of the target headlight drive circuit.
[0093] The first determination module 820 is configured to determine an expected output power of the target headlight drive circuit based on the power influence parameter and a preset mapping relationship, wherein the preset mapping relationship represents the mapping relationship between different power influence parameters and the output power of the target headlight drive circuit.
[0094] The second determination module 830 is configured to determine a target output power based on the expected output power and the historical output power of the target headlight drive circuit; wherein, the historical output power represents the output power of the target headlight drive circuit in at least one recent period; the difference between the expected output power and the historical output power is greater than the difference between the target output power and the historical output power.
[0095] The vehicle headlight control module 840 is configured to control the target headlight drive circuit to work according to the target output power.
[0096] In some embodiments, the second determination module 830 is configured to obtain the difference between the expected output power and the historical output power; determine a target power change value based on the difference, and the difference is greater than the target power change value; determine the target output power based on the historical output power and the target power change value.
[0097] In some embodiments, the second determination module 830 is configured to obtain a target relational expression; and determine the target power change value through the target relational expression and the difference; wherein, the target relational expression is determined based on a preset feedback control algorithm, and the target relational expression is used to describe the relationship between the difference and the power change value.
[0098] In some embodiments, the second determination module 830 is configured to obtain the target relational expression when the difference is greater than a preset value; and determine the target power change value through the target relational expression and the difference; when the difference is less than or equal to the preset value, determine the difference as the target power change value.
[0099] In some embodiments, the power influence parameters include at least one of the following: the first operating temperature of the target vehicle lamp, the second operating temperature of the driving circuit of the target vehicle lamp, and the input voltage of the driving circuit of the target vehicle lamp; a first determination module 820 configured to determine a first power based on the first operating temperature and a first mapping relationship, where the first mapping relationship represents the mapping relationship between the operating temperature of the target vehicle lamp and the output power of the driving circuit of the target vehicle lamp; determine a second power based on the second operating temperature and a second mapping relationship, where the second mapping relationship represents the mapping relationship between the operating temperature of the driving circuit of the target vehicle lamp and the output power of the driving circuit of the target vehicle lamp; determine a third power based on the input voltage and a third mapping relationship, where the third mapping relationship represents the mapping relationship between the input voltage of the driving circuit of the target lane and the output power of the driving circuit of the target vehicle lamp; and determine an expected output power based on the first power, the second power, and the third power.
[0100] In some embodiments, the first determination module 820 is configured to determine the minimum value among the first power, the second power, and the third power as the expected output power.
[0101] In some embodiments, the first determination module 820 is configured to determine the expected output power of the driving circuit of the target vehicle lamp based on the power influence parameters when the power influence parameters meet the power adjustment condition; the power adjustment condition refers to the condition that needs to be satisfied for adjusting the output power of the driving circuit of the target vehicle lamp.
[0102] In summary, in the technical solution provided by the embodiments of the present application, when the target vehicle lamp is in the lighting state, the vehicle obtains the power influence parameters of the driving circuit of the target vehicle lamp to determine the expected output power of the driving circuit of the target vehicle lamp, then determines the target output power according to the historical output power of the driving circuit of the target vehicle lamp (i.e., the output power in at least the most recent one cycle) and the expected output power, and finally controls the driving circuit of the target vehicle lamp to operate according to the target output power. In the embodiments of the present application, the vehicle adjusts the determined expected output power based on the historical output power to obtain the target output power, and the difference between the target output power and the historical output power is less than the difference between the expected output power and the historical output power, making the change of the output power of the driving circuit of the target vehicle lamp smoother, and further making the change of the brightness of the vehicle lamp smoother, improving the visual experience of the user.
[0103] Those skilled in the art can clearly understand that for the convenience and brevity of description, the specific working processes of the above-described devices and modules can refer to the corresponding processes in the foregoing method embodiments and will not be described herein again.
[0104] In several embodiments provided in the present application, the coupling between modules can be electrical, mechanical, or other forms of coupling.
[0105] In addition, in each embodiment of the present application, the functional modules can be integrated into one processing module, or each module can exist physically alone, or two or more modules can be integrated into one module. The above integrated module can be implemented in the form of hardware or in the form of a software functional module.
[0106] Please refer to Figure 9 , which shows that an embodiment of the present application further provides a vehicle 900. The vehicle 900 includes: one or more processors 910, a memory 920, and one or more application programs. Among them, the one or more application programs are stored in the memory 920 and are configured to be executed by the one or more processors 910. The one or more application programs are configured to execute the methods described in the above embodiments.
[0107] The processor 910 may include one or more processing cores. The processor 910 uses various interfaces and lines to connect various parts within the entire battery management system. By running or executing instructions, programs, code sets, or instruction sets stored in the memory 920, and by calling data stored in the memory 920, the processor 910 executes various functions of the battery management system and processes data. Optionally, the processor 910 can be implemented in at least one of the hardware forms of digital signal processing (DSP), field-programmable gate array (FPGA), and programmable logic array (PLA). The processor 910 can integrate one or a combination of several of a central processing unit 910 (CPU), a graphics processing unit 910 (GPU), and a modem. Among them, the CPU mainly processes the operating system, user interface, and application programs, etc.; the GPU is responsible for rendering and drawing the display content; the modem is used to process wireless communication. It can be understood that the above modem may not be integrated into the processor 910 and can be implemented separately through a communication chip.
[0108] The memory 920 may include a Random Access Memory (RAM), and may also include a Read-Only Memory. The memory 920 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 920 may include a program storage area and a data storage area. Among them, the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the following various method embodiments, etc. The data storage area may also store data created during the use of the vehicle map (such as a phone book, audio and video data, chat record data), etc.
[0109] An embodiment of the present application also provides a computer-readable storage medium, in which computer program instructions are stored, and the computer program instructions can be called by a processor to execute the methods described in the above embodiments.
[0110] The computer-readable storage medium may be an electronic memory such as a flash memory, an EEPROM (Electrically Erasable Programmable Read-Only Memory), an EPROM, a hard disk or a ROM. Optionally, the computer-readable storage medium includes a non-transitory computer-readable storage medium. The computer-readable storage medium has a storage space for computer program instructions for performing any method step in the above methods. These computer program instructions can be read out from or written into one or more computer program products. The computer program instructions can be compressed in a suitable form.
[0111] The above are only the preferred embodiments of the present application, and do not impose any form of limitation on the present application. Although the present application has been disclosed above with preferred embodiments, it is not intended to limit the present application. Any person skilled in the art can make some changes or modifications to equivalent embodiments with equivalent changes within the scope of the technical solution of the present application. However, as long as it does not depart from the content of the technical solution of the present application, any brief modifications, equivalent changes and modifications made to the above embodiments based on the technical essence of the present application still fall within the scope of the technical solution of the present application.
Claims
1. A vehicle light control method, characterized in that: Applied to a vehicle, the vehicle includes a vehicle light system, the vehicle light includes at least one vehicle light and a vehicle light driving circuit for driving at least one of the vehicle lights, the method includes: When a target headlight among at least one of the headlights is in a light-emitting state, obtaining a power-influencing parameter of a driving circuit of the target headlight; wherein the driving circuit of the target headlight is used to drive the target headlight, and the power-influencing parameter refers to a parameter that has an influence on the output power of the driving circuit of the target headlight; Determining the expected output power of the target headlight driving circuit based on the power influencing parameter and a preset mapping relationship, wherein the preset mapping relationship represents a mapping relationship between different power influencing parameters and the output power of the target headlight driving circuit; Determine a target output power based on the expected output power and the historical output power of the target headlight driving circuit; wherein the historical output power represents the output power of the target headlight driving circuit in at least one recent cycle; and the difference between the expected output power and the historical output power is greater than the difference between the target output power and the historical output power; The target vehicle lamp driving circuit is controlled to operate according to the target output power.
2. The method according to claim 1, characterized in that The determining the target output power based on the expected output power and the historical output power of the target vehicle light driving circuit comprises: Obtaining a difference between the expected output power and the historical output power; determining a target power change value based on the difference, the difference being greater than the target power change value; The target output power is determined based on the historical output power and the target power change value.
3. The method according to claim 2, characterized in that The determining the target power change value based on the difference includes: Obtaining a target relationship expression; and determining the target power change value through the target relationship expression and the difference; The target relationship is determined based on a preset feedback control algorithm, and the target relationship is used to describe the relationship between the difference and the power change value.
4. The method according to claim 3, characterized in that The obtaining of the target relational expression; and determining the target power change value by using the target relational expression and the difference, comprises: When the difference is greater than a preset value, obtaining a target relationship; and determining the target power change value through the target relationship and the difference; The determining of the target power change value based on the difference further includes: When the difference is less than or equal to a preset value, the difference is determined as the target power change value.
5. The method according to any one of claims 1 to 4, characterized in that: The power influencing parameter includes at least one of the following: a first operating temperature of the target vehicle lamp, a second operating temperature of the target vehicle lamp driving circuit, and an input voltage of the target vehicle lamp driving circuit; The determining the expected output power of the target vehicle lamp driving circuit based on the power influencing parameter and a preset mapping relationship includes: determining a first power based on the first operating temperature and a first mapping relationship, wherein the first mapping relationship represents a mapping relationship between the operating temperature of the target vehicle lamp and the output power of the target vehicle lamp driving circuit; determining a second power based on the second operating temperature and a second mapping relationship, wherein the second mapping relationship represents a mapping relationship between the operating temperature of the target vehicle lamp driving circuit and the output power of the target vehicle lamp driving circuit; determining a third power based on the input voltage and a third mapping relationship, wherein the third mapping relationship represents a mapping relationship between an input voltage of the target lane driving circuit and an output power of the target vehicle light driving circuit; The expected output power is determined based on the first power, the second power and the third power.
6. The method according to claim 5, characterized in that The determining the expected output power based on the first power, the second power and the third power includes: The minimum value among the first power, the second power and the third power is determined as the expected output power.
7. The method according to any one of claims 1 to 4, characterized in that The determining the expected output power of the target vehicle lamp driving circuit based on the power influencing parameter further includes: When the power influencing parameter satisfies the power adjustment condition, the expected output power of the target headlight driving circuit is determined based on the power influencing parameter and a preset mapping relationship; the power adjustment condition refers to the condition that needs to be met to adjust the output power of the target headlight driving circuit.
8. A vehicle light control device, characterized in that: The device comprises: a parameter acquisition module, configured to acquire a power influence parameter of a target headlight driving circuit when a target headlight among at least one of the headlights is in a light-emitting state; wherein the target headlight driving circuit is used to drive the target headlight, and the power influence parameter refers to a parameter that has an influence on the output power of the target headlight driving circuit; A first determination module, configured to determine the expected output power of the target headlight driving circuit based on the power influencing parameter and a preset mapping relationship, wherein the preset mapping relationship represents a mapping relationship between different power influencing parameters and the output power of the target headlight driving circuit; A second determination module is configured to determine a target output power based on the expected output power and a historical output power of the target headlight driving circuit; wherein the historical output power represents the output power of the target headlight driving circuit in at least one recent cycle; and a difference between the expected output power and the historical output power is greater than a difference between the target output power and the historical output power; The vehicle light control module is used to control the target vehicle light driving circuit to operate according to the target output power.
9. A vehicle, characterized in that: include: A vehicle lamp system, wherein the vehicle lamp comprises at least one vehicle lamp and a vehicle lamp driving circuit for driving the at least one vehicle lamp; one or more processors; Memory; One or more applications, wherein one or more of the applications are stored in the memory and configured to be executed by one or more of the processors, and one or more of the applications are configured to execute the method according to any one of claims 1-7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer program instructions, and the computer program instructions can be called by a processor to execute the method according to any one of claims 1 to 7.