Vehicle headlamp control method, device, equipment, storage medium and program product
By comprehensively considering a variety of vehicle and environmental parameters, the headlight parameters are accurately determined, which solves the problem of insufficient calculation accuracy of headlight deflection angle in the existing AFS system, and intelligent control of headlights is realized, improving the safety and visibility of vehicle driving at night.
Patent Information
- Application Number
- CN202510343566.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-21
- Publication Date
- 2025-04-25
AI Technical Summary
The existing adaptive headlight system (AFS) calculates the headlight deflection angle by monitoring the steering wheel angle only, resulting in insufficient calculation accuracy and inability to ensure the safety of vehicle driving at night.
Taking into account the vehicle speed, steering wheel angle, ambient light intensity, ambient rainfall and vehicle height, the headlight parameters are accurately determined, such as headlight deflection angle, pitch angle and intensity, so as to achieve intelligent control of the headlight.
Through the comprehensive consideration of multiple factors, the headlights are controlled more accurately, improving the safety and visibility of the vehicle when driving at night, and providing users with a more reliable and comfortable driving experience.
Smart Images

Figure CN119872400A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle lighting technology, and in particular to a vehicle headlight control method, device, equipment, storage medium and program product. Background Art
[0002] The Adaptive Front-lighting System (AFS) in the vehicle can automatically adjust the illumination angle of the headlights according to the driving status of the vehicle, thereby improving the safety and visibility of the vehicle during night driving.
[0003] In the prior art, AFS usually calculates the headlight deflection angle by monitoring the steering wheel angle. When the vehicle is driving on a curve, the steering wheel angle is obtained to analyze the vehicle's operating status and adjust the headlight deflection angle accordingly.
[0004] However, calculating the headlight deflection angle only based on the steering wheel angle may easily lead to insufficient accuracy of the calculated headlight deflection angle, which cannot ensure the safety of the vehicle driving at night. Summary of the invention
[0005] The present application provides a vehicle headlight control method, device, equipment, storage medium and program product, which are used to more accurately determine the headlight parameters by comprehensively considering multiple vehicle parameters such as vehicle speed, steering wheel angle, ambient light intensity, ambient rainfall and vehicle height, so as to more effectively control the headlights and improve the safety of vehicle driving at night.
[0006] In a first aspect, the present application provides a vehicle headlamp control method, the method comprising:
[0007] Obtaining vehicle target parameters, the vehicle target parameters including at least one of the following: vehicle speed, steering wheel angle, ambient light intensity, ambient rainfall, vehicle height, vehicle front axle load, and vehicle rear axle load;
[0008] Determine headlight parameters according to vehicle target parameters, the headlight parameters including at least one of the following: headlight deflection angle, headlight pitch angle, headlight intensity, the headlight deflection angle is related to vehicle speed and steering wheel angle, the headlight pitch angle is related to vehicle height, vehicle front axle load, and vehicle rear axle load, the headlight intensity is negatively correlated to ambient light intensity, and the headlight intensity is positively correlated to ambient rainfall;
[0009] The headlights are controlled according to the headlight parameters.
[0010] In a possible design, headlamp parameters are determined according to vehicle target parameters, including:
[0011] When the ambient rainfall is greater than or equal to a first rainfall threshold, and / or the ambient light intensity is less than or equal to a preset light threshold, setting the headlamp intensity to a first intensity;
[0012] When the ambient rainfall is less than the first rainfall threshold, the ambient rainfall is greater than or equal to the second rainfall threshold, and the ambient light intensity is greater than the preset light threshold, the headlamp intensity is set to the second intensity, the second rainfall threshold is less than the first rainfall threshold, and the second intensity is less than the first intensity;
[0013] When the ambient rainfall is less than the second rainfall threshold and the ambient light intensity is greater than the preset light threshold, the headlamp intensity is set to a third intensity, which is less than the second intensity.
[0014] In a possible design, headlamp parameters are determined according to vehicle target parameters, including:
[0015] Determine the center of mass position of the vehicle according to the front axle load and the rear axle load of the vehicle;
[0016] Calculate the pitch angle of the front of the vehicle according to the position of the center of mass of the vehicle, the wheelbase of the vehicle, and the height difference between the front and rear axles of the vehicle;
[0017] Determine the headlight pitch angle according to the vehicle front pitch angle.
[0018] In a possible design, headlamp parameters are determined according to vehicle target parameters, including:
[0019] When the vehicle speed is less than or equal to a first vehicle speed threshold, and / or the steering wheel angle is less than or equal to a first angle threshold, setting the headlamp deflection angle to 0;
[0020] When the vehicle speed is greater than a first vehicle speed threshold and the magnitude of the steering wheel angle is greater than or equal to a second turning angle threshold, setting the magnitude of the headlight deflection angle to a maximum deflection angle of the headlight deflection angle, and the second turning angle threshold is greater than the first turning angle threshold;
[0021] When the vehicle speed is between the first vehicle speed threshold and the second vehicle speed threshold, and the magnitude of the steering wheel angle is between the first turning angle threshold and the second turning angle threshold, the magnitude of the headlight deflection angle is determined according to the vehicle speed and the steering wheel angle, the second vehicle speed threshold is greater than the first vehicle speed threshold, and the magnitude of the headlight deflection angle is positively correlated with the vehicle speed and the magnitude of the steering wheel angle;
[0022] When the vehicle speed is greater than the second vehicle speed threshold and the magnitude of the steering wheel angle is between the first angle threshold and the second angle threshold, the magnitude of the headlight deflection angle is determined according to the vehicle speed and the steering wheel angle, the magnitude of the headlight deflection angle is positively correlated to the magnitude of the steering wheel angle, and the headlight deflection angle is negatively correlated to the vehicle speed;
[0023] Among them, the direction of the headlight deflection angle is consistent with the direction of the steering wheel angle.
[0024] In a possible design, the headlamp is controlled according to the headlamp parameters, including:
[0025] Obtaining the actual deflection angle and actual pitch angle of the headlight;
[0026] When a first difference between the actual deflection angle of the headlamp and the deflection angle of the headlamp is greater than or equal to an error threshold, adjusting the actual deflection angle of the headlamp according to the first difference;
[0027] When a second difference between the actual pitch angle of the headlamp and the pitch angle of the headlamp is greater than or equal to the error threshold, the actual pitch angle of the headlamp is adjusted according to the second difference.
[0028] In one possible design, the method further includes:
[0029] Get vehicle speed, current gear and headlight status;
[0030] When the vehicle speed is greater than 0, the current gear is not reverse, and the headlights are on, the headlight intelligent control mode is entered;
[0031] Get vehicle target parameters, including:
[0032] In the headlamp intelligent control mode, the vehicle target parameters are obtained.
[0033] In a second aspect, the present application provides a vehicle headlamp control device, the device comprising:
[0034] An acquisition module, used for acquiring vehicle target parameters, the vehicle target parameters including at least one of the following: vehicle speed, steering wheel angle, ambient light intensity, ambient rainfall, vehicle height, vehicle front axle load and vehicle rear axle load;
[0035] a determination module, used to determine headlamp parameters according to the vehicle target parameters, the headlamp parameters including at least one of the following: a headlamp deflection angle, a headlamp pitch angle, and a headlamp intensity, the headlamp deflection angle is related to the vehicle speed and the steering wheel angle, the headlamp pitch angle is related to the vehicle height, the vehicle front axle load, and the vehicle rear axle load, the headlamp intensity is negatively correlated to the ambient light intensity, and the headlamp intensity is positively correlated to the ambient rainfall;
[0036] The control module is used for controlling the headlight according to the headlight parameters.
[0037] In one possible design, the determination module includes: a first strength module, a second strength module, and a third strength module;
[0038] A first intensity module, configured to set the headlamp intensity to a first intensity when the ambient rainfall is greater than or equal to a first rainfall threshold, and / or the ambient light intensity is less than or equal to a preset light threshold;
[0039] A second intensity module, configured to set the headlamp intensity to a second intensity when the ambient rainfall is less than the first rainfall threshold, the ambient rainfall is greater than or equal to the second rainfall threshold, and the ambient light intensity is greater than a preset light threshold, the second rainfall threshold is less than the first rainfall threshold, and the second intensity is less than the first intensity;
[0040] The third intensity module is used to set the headlamp intensity to a third intensity that is lower than the second intensity when the ambient rainfall is lower than the second rainfall threshold and the ambient light intensity is higher than a preset light threshold.
[0041] In one possible design, the determination module further includes: a module for determining a center of mass, a module for determining a front pitch angle, and a module for determining a headlight pitch angle;
[0042] A center of mass determination module, used for determining the center of mass position of the vehicle according to the front axle load of the vehicle and the rear axle load of the vehicle;
[0043] The front pitch angle module is used to calculate the front pitch angle of the vehicle according to the vehicle center of mass position, vehicle wheelbase, and the height difference between the front and rear axles of the vehicle;
[0044] The headlamp pitch angle module is used to determine the headlamp pitch angle according to the vehicle front pitch angle.
[0045] In a possible design, the determination module further includes: a zeroing module, a maximum deflection angle module, a deflection angle determination module, and an angle magnitude determination module;
[0046] a zeroing module, configured to set the headlamp deflection angle to 0 when the vehicle speed is less than or equal to a first vehicle speed threshold, and / or when the steering wheel angle is less than or equal to a first angle threshold;
[0047] a maximum deflection angle module, used to set the size of the headlight deflection angle to the maximum deflection angle of the headlight deflection angle when the vehicle speed is greater than a first vehicle speed threshold and the size of the steering wheel angle is greater than or equal to a second angle threshold, and the second angle threshold is greater than the first angle threshold;
[0048] a deflection angle determination module, configured to determine the magnitude of the headlamp deflection angle according to the vehicle speed and the steering wheel angle when the vehicle speed is between a first vehicle speed threshold and a second vehicle speed threshold and the magnitude of the steering wheel angle is between the first steering wheel angle threshold and the second steering wheel angle threshold, the second vehicle speed threshold being greater than the first vehicle speed threshold, and the magnitude of the headlamp deflection angle being positively correlated to the vehicle speed and the magnitude of the steering wheel angle;
[0049] an angle determination module, for determining the size of the headlight deflection angle according to the vehicle speed and the steering wheel angle when the vehicle speed is greater than the second vehicle speed threshold and the size of the steering wheel angle is between the first angle threshold and the second angle threshold, wherein the size of the headlight deflection angle is positively correlated to the size of the steering wheel angle and negatively correlated to the vehicle speed;
[0050] Among them, the direction of the headlight deflection angle is consistent with the direction of the steering wheel angle.
[0051] In one possible design, the control module includes: an actual angle acquisition module, a first difference module, and a second difference module;
[0052] An actual angle acquisition module is used to acquire an actual deflection angle and an actual pitch angle of a headlamp;
[0053] A first difference module, configured to adjust the actual deflection angle of the headlamp according to the first difference when a first difference between the actual deflection angle of the headlamp and the deflection angle of the headlamp is greater than or equal to an error threshold;
[0054] The second difference module is used to adjust the actual pitch angle of the headlight according to the second difference when a second difference between the actual pitch angle of the headlight and the pitch angle of the headlight is greater than or equal to an error threshold.
[0055] In one possible design, the device further includes: a vehicle status acquisition module and an intelligent control module;
[0056] The vehicle status acquisition module is used to obtain the vehicle speed, current gear position and headlight status;
[0057] An intelligent control module is used to enter a headlamp intelligent control mode when the vehicle speed is greater than 0, the current gear is not reverse gear, and the headlamp state is on;
[0058] The acquisition module is also used to obtain vehicle target parameters in the headlight intelligent control mode.
[0059] In a third aspect, the present application provides an electronic device, comprising: a processor, and a memory communicatively connected to the processor;
[0060] Memory stores computer-executable instructions;
[0061] The processor executes the computer-executable instructions stored in the memory to implement a vehicle headlamp control method according to the first aspect of the invention.
[0062] In a fourth aspect, the present application provides a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement a vehicle headlight control method according to the invention content of the first aspect.
[0063] In a fifth aspect, the present application provides a computer program product, including a computer program, which, when executed by a processor, is used to implement a vehicle headlight control method according to the invention content of the first aspect.
[0064] The present application provides a vehicle headlight control method, device, equipment, storage medium and program product, the method comprising: first, obtaining vehicle target parameters, the vehicle target parameters including at least one of the following: vehicle speed, steering wheel angle, ambient light intensity, ambient rainfall, vehicle height, vehicle front axle load and vehicle rear axle load; then, determining headlight parameters according to the vehicle target parameters, the headlight parameters including at least one of the following: headlight deflection angle, headlight pitch angle and headlight intensity, the headlight deflection angle is related to vehicle speed and steering wheel angle, the headlight pitch angle is related to vehicle height, vehicle front axle load and vehicle rear axle load, the headlight intensity is negatively correlated to ambient light intensity, and the headlight intensity is positively correlated to ambient rainfall; then, controlling the headlight according to the headlight parameters. The following technical effects are achieved: by acquiring multiple vehicle factors and environmental factors such as vehicle speed, steering wheel angle, ambient light intensity, ambient rainfall, vehicle height, vehicle front axle load and vehicle rear axle load collected by multiple sensors, the headlight parameters can be determined more comprehensively and accurately, thereby realizing intelligent control of the headlights, improving the safety and visibility of the vehicle when driving at night, and providing users with a more reliable and comfortable driving experience; by utilizing data collected by multiple sensors, a variety of vehicle target parameters can be obtained, providing reliable data guarantee for calculating the vehicle's headlight parameters. BRIEF DESCRIPTION OF THE DRAWINGS
[0065] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0066] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0067] Figure 1 A schematic diagram of a vehicle headlight control method provided in an embodiment of the present application Figure 1 ;
[0068] Figure 2 A schematic diagram of a vehicle headlight control method provided in an embodiment of the present application Figure 2 ;
[0069] Figure 3 A schematic diagram of a motion framework of a vehicle headlight dimming motor group provided in an embodiment of the present application;
[0070] Figure 4 A schematic diagram of the structure of a vehicle headlight control device provided in an embodiment of the present application;
[0071] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.
[0072] Reference numerals:
[0073] 30-dimming motor group; 301-mechanical zero position; 302-right mechanical stop point; 303-left mechanical stop point;
[0074] 410-acquisition module; 420-determination module; 430-control module;
[0075] 510 - processor; 520 - memory; 530 - communication component; 540 - bus. DETAILED DESCRIPTION
[0076] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0077] In the embodiments of the present application, words such as "first" and "second" are used to distinguish between identical or similar items with substantially the same functions and effects. Those skilled in the art will appreciate that words such as "first" and "second" do not limit the quantity and execution order, and words such as "first" and "second" do not necessarily limit the difference. It should be noted that in the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplary" or "for example" in the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way. In the embodiments of the present application, "at least one" refers to one or more, and "more" refers to two or more.
[0078] It should be noted that the "at..." in the embodiment of the present application can be the instant when a certain situation occurs, or can be a period of time after the situation occurs, and the embodiment of the present application does not specifically limit this. In addition, the vehicle headlight control method provided in the embodiment of the present application is only used as an example, and the vehicle headlight control method can also include more or less content.
[0079] The vehicle is equipped with an AFS system with intelligent adjustment function. It is an advanced lighting technology that can automatically adjust the direction and range of the headlight beam according to the vehicle's speed and steering angle to improve the safety and visibility of the vehicle when driving at night.
[0080] Traditional AFS systems usually rely on the steering wheel angle to adjust the deflection angle of the headlights to adapt to the vehicle's driving on a curve. When the vehicle enters a curve, the steering wheel angle is monitored to analyze the vehicle's driving status and the deflection angle of the headlights is adjusted accordingly.
[0081] However, relying solely on the steering wheel angle may result in inaccurate calculation of the headlight deflection angle, thereby affecting the safety of the vehicle's nighttime driving.
[0082] Based on this, the embodiments of the present application propose a vehicle headlight control method, device, equipment, storage medium and program product, which can be used in the field of vehicle lighting technology, aiming to solve the above technical problems of the prior art. By comprehensively considering multiple vehicle factors and environmental factors such as vehicle speed, steering wheel angle, ambient light intensity, ambient rainfall and vehicle height, the headlight parameters can be determined more comprehensively and accurately, and the intelligent control of the headlight can be achieved, thereby improving the safety and visibility of the vehicle when driving at night, and providing users with a more reliable and comfortable driving experience.
[0083] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0084] Figure 1 A schematic diagram of a vehicle headlight control method provided in an embodiment of the present application Figure 1 .like Figure 1 As shown, the method includes:
[0085] S101. Obtain vehicle target parameters.
[0086] In an embodiment of the present application, an executor of a vehicle headlight control method may be an electronic control unit (ECU) in a vehicle. This control unit may be a controller specially designed for the vehicle headlight control method, or may be an existing AFS control unit in the vehicle, and no specific limitation is made here.
[0087] The vehicle target parameter includes at least one of the following: vehicle speed, steering wheel angle, ambient light intensity, ambient rainfall, vehicle height, vehicle front axle load, and vehicle rear axle load.
[0088] Specifically, the ECU can obtain data collected by multiple sensors through the Controller Area Network (CAN) bus, such as vehicle speed collected by the vehicle speed sensor; steering wheel angle collected by the steering wheel angle sensor; ambient light intensity collected by the photosensitive sensor; ambient rainfall collected by the rain sensor; vehicle height collected by the vehicle height sensor; vehicle front axle load and vehicle rear axle load collected by the axle load sensor (load sensor or pressure sensor) and other vehicle target parameters.
[0089] S102: Determine headlamp parameters according to vehicle target parameters.
[0090] In the embodiment of the present application, the headlight parameters include at least one of the following: headlight deflection angle, headlight pitch angle, and headlight intensity. The headlight deflection angle is related to the vehicle speed and the steering wheel angle. The headlight pitch angle is related to the vehicle height, the vehicle front axle load, and the vehicle rear axle load. The headlight intensity is negatively correlated with the ambient light intensity, and the headlight intensity is positively correlated with the ambient rainfall.
[0091] The headlamp deflection angle specifically refers to the angle at which the headlamp's emitted light is deflected to the left or right compared to the front of the vehicle body; the headlamp pitch angle specifically refers to the angle at which the headlamp's emitted light is deflected to the up or down direction compared to the front of the vehicle body; the headlamp intensity specifically refers to the light intensity of the headlamp.
[0092] Specifically, the ECU can determine the headlight deflection angle based on the vehicle speed and steering wheel angle; determine the headlight pitch angle based on the vehicle height, the vehicle front axle load and the vehicle rear axle load; and determine the headlight intensity based on the ambient light intensity and ambient rainfall.
[0093] S103: Control the headlights according to the headlight parameters.
[0094] Specifically, the ECU can control the deflection angle, pitch angle and light intensity of the headlights according to the headlight parameters, thereby improving the safety of the vehicle's night driving.
[0095] The present embodiment provides a vehicle headlight control method, the method comprising: first, obtaining vehicle target parameters, the vehicle target parameters including at least one of the following: vehicle speed, steering wheel angle, ambient light intensity, ambient rainfall, vehicle height, vehicle front axle load and vehicle rear axle load; then, determining headlight parameters according to the vehicle target parameters, the headlight parameters including at least one of the following: headlight deflection angle, headlight pitch angle and headlight intensity, the headlight deflection angle is related to vehicle speed and steering wheel angle, the headlight pitch angle is related to vehicle height, vehicle front axle load and vehicle rear axle load, the headlight intensity is negatively correlated to ambient light intensity, and the headlight intensity is positively correlated to ambient rainfall; then, controlling the headlight according to the headlight parameters.
[0096] The following technical effects are achieved: by acquiring multiple vehicle factors and environmental factors such as vehicle speed, steering wheel angle, ambient light intensity, ambient rainfall, vehicle height, vehicle front axle load and vehicle rear axle load collected by multiple sensors, the headlight parameters can be determined more comprehensively and accurately, thereby realizing intelligent control of the headlights, improving the safety and visibility of the vehicle when driving at night, and providing users with a more reliable and comfortable driving experience; by utilizing data collected by multiple sensors, a variety of vehicle target parameters can be obtained, providing reliable data guarantee for calculating the vehicle's headlight parameters.
[0097] Figure 2 A schematic diagram of a vehicle headlight control method provided in an embodiment of the present application Figure 2 In one possible example, Figure 2 As shown, in this embodiment Figure 1 Based on the embodiment, how to determine the headlamp parameters and how to control the headlamp according to the headlamp parameters are described in detail. Figure 2 As shown, the method includes:
[0098] S201. Obtain vehicle speed, current gear position, and headlight status.
[0099] Specifically, to ensure that the operation of AFS does not affect the normal driving of the vehicle, before obtaining the vehicle's target parameters, the ECU can first obtain the vehicle's current speed, the vehicle's current gear, and the status of the vehicle's headlights through the CAN bus to determine whether the vehicle's headlights can be intelligently controlled.
[0100] S202: When the vehicle speed is greater than 0, the current gear is not reverse gear, and the headlight state is on, enter the headlight intelligent control mode.
[0101] Specifically, when the vehicle speed is 0, or the current gear is reverse gear, or the headlight status is off, the ECU does not control the AFS to work, that is, the vehicle's AFS function is in the off state to ensure the normal driving safety of the vehicle.
[0102] When the vehicle's headlights are on and the vehicle is moving forward, the ECU can control the AFS to work, that is, control the vehicle's AFS function to turn on and put the vehicle into the headlight intelligent control mode.
[0103] Furthermore, in order to ensure the accuracy of the headlamp angle adjustment when the ECU controls the AFS, a fault detection process can be performed on the headlamp each time the AFS is turned on. The fault detection process includes: driving the headlamp to the right to the maximum right deflection angle, driving the headlamp to the left to the maximum left deflection angle, and driving the headlamp to the right to 0 degree. If an abnormality occurs during the fault detection process, a fault prompt message is displayed on the vehicle's display device. That is, after the AFS is started, the ECU can be initialized.
[0104] Figure 3 This is a schematic diagram of a vehicle headlight dimming motor group motion framework provided in an embodiment of the present application. Figure 3 As shown in the figure, the specific steps of performing the fault detection process on the headlight, that is, initializing the ECU, are as follows:
[0105] First, the ECU drives the dimming motor groups 30 of the left and right headlights to move to the right at the same time, until they reach the right mechanical stop point 302 of the dimming motor group 30; then, the ECU drives the dimming motor groups 30 of the left and right headlights to move to the left at the same time, until they reach the left mechanical stop point 303 of the dimming motor group 30; then, the ECU drives the dimming motor groups 30 of the left and right headlights to move to the right at the same time, until they reach the mechanical zero position 301 of the dimming motor group 30.
[0106] Among them, the right mechanical stop point 302 refers to the rightmost position when the dimming motor group 30 runs to the right; the left mechanical stop point 303 refers to the leftmost position when the dimming motor group 30 runs to the left; the mechanical zero point position 301 refers to the position when the output light of the headlamp can be directed to the front of the vehicle body, that is, the position where the deflection angle of the turn signal is 0.
[0107] Furthermore, during the operation of AFS, the ECU can simultaneously detect whether the operation of AFS and related components are working properly. If a fault occurs, the dimming motor group 30 can be controlled to move to the mechanical zero position 301 to prevent the deflection of the headlights from affecting the drivers of other vehicles on the road. The ECU can also send messages to display devices such as the dashboard of the vehicle through the CAN bus to activate corresponding warning lights or voice prompts on the display devices such as the dashboard to remind the driver that the AFS system has a fault and ask the driver to drive carefully and repair it as soon as possible, thereby improving the driving safety of the vehicle.
[0108] S203: Under the headlamp intelligent control mode, obtain vehicle target parameters.
[0109] S203 is similar to S101 and will not be described in detail in this embodiment.
[0110] S204: When the ambient rainfall is greater than or equal to a first rainfall threshold, and / or the ambient light intensity is less than or equal to a preset light threshold, set the headlight intensity to a first intensity.
[0111] Specifically, the ECU can set the headlamp intensity to the first intensity, the second intensity, and the third intensity in the order of the intensity of the emitted light from strong to weak; and can divide the ambient light intensity into three levels of weak, medium, and strong according to the preset standard; and can also divide the ambient rainfall into three levels of small, medium, and large according to the preset standard. Then, the ECU can control the headlamp intensity according to the ambient light intensity and ambient rainfall actually collected by the sensor around the vehicle body.
[0112] Specifically, when the ambient rainfall is greater than or equal to the first rainfall threshold, it indicates that the ambient rainfall around the vehicle body belongs to the heavy rainfall level. In this case, no matter how much the ambient light intensity is or what level it belongs to, the headlamp intensity is set to the first intensity. When the ambient light intensity is less than or equal to the preset light threshold, it indicates that the ambient light intensity around the vehicle body belongs to the weak light level. In this case, no matter how much the ambient rainfall is or what level it belongs to, the headlamp intensity can be set to the first intensity.
[0113] S205: When the ambient rainfall is less than the first rainfall threshold, the ambient rainfall is greater than or equal to the second rainfall threshold, and the ambient light intensity is greater than the preset light threshold, set the headlight intensity to the second intensity.
[0114] In the embodiment of the present application, the second rainfall threshold is smaller than the first rainfall threshold, and the second intensity is smaller than the first intensity.
[0115] Specifically, when the ambient rainfall is less than the first rainfall threshold and the ambient rainfall is greater than or equal to the second rainfall threshold, it indicates that the ambient rainfall around the vehicle body belongs to this level of rainfall; when the ambient light intensity is greater than the preset light threshold, it indicates that the ambient light intensity around the vehicle body belongs to either the medium light level or the strong light level.
[0116] That is, when the ambient rainfall is medium and the ambient light intensity is medium or strong, the ECU can set the headlight intensity to the second intensity.
[0117] S206: When the ambient rainfall is less than the second rainfall threshold and the ambient light intensity is greater than the preset light threshold, set the headlight intensity to a third intensity.
[0118] In the embodiment of the present application, the third strength is less than the second strength.
[0119] Specifically, when the ambient rainfall is less than the second rainfall threshold, it indicates that the ambient rainfall around the vehicle body belongs to the small rainfall level; when the ambient light intensity is greater than the preset light threshold, it indicates that the ambient light intensity around the vehicle body belongs to either the medium light level or the strong light level.
[0120] That is to say, when the ambient rainfall is small and the ambient light intensity is medium or strong, the ECU can set the headlight intensity to the third intensity.
[0121] S207: Determine the center of mass position of the vehicle according to the front axle load and the rear axle load of the vehicle.
[0122] Specifically, the ECU can determine the headlight pitch angle according to the vehicle front axle load and the vehicle rear axle load. Specifically, first, the vehicle wheelbase L can be obtained through the CAN bus; then, the vehicle rear axle load W can be calculated. r The product of the vehicle's wheelbase L and the vehicle's front axle load W f The vehicle rear axle load W r Finally, by calculating the first ratio of the product to the sum of the front and rear axle loads of the vehicle, the center of mass position d of the vehicle, that is, the distance of the center of mass position relative to the front axle, is obtained. The specific calculation of the center of mass position is as follows:
[0123]
[0124] S208, calculating the pitch angle of the vehicle head according to the position of the vehicle center of mass, the vehicle wheelbase, and the height difference between the front and rear axles of the vehicle.
[0125] Specifically, the ECU can also obtain the height difference h between the front and rear axles of the vehicle through the CAN bus, and the specific calculation formula for the pitch angle of the vehicle head is as follows:
[0126]
[0127] in, is the pitch angle of the vehicle front.
[0128] S209: Determine the pitch angle of the headlight according to the pitch angle of the vehicle front.
[0129] Specifically, the ECU can adjust the pitch angle of the headlights according to the pitch angle of the vehicle front to ensure the appropriate lighting range and angle of the headlights.
[0130] In a possible implementation, the pitch angle of the headlights may change synchronously with the pitch angle of the front of the vehicle, that is, the pitch angle of the headlights is consistent with the calculated pitch angle of the front of the vehicle.
[0131] S210: When the vehicle speed is less than or equal to a first vehicle speed threshold, and / or the steering wheel angle is less than or equal to a first angle threshold, setting the headlight deflection angle to 0.
[0132] Specifically, the ECU can determine the deflection angle of the headlights in the left and right directions based on the vehicle speed and steering wheel angle.
[0133] Table 1 Correspondence between headlight deflection angle, vehicle speed and steering wheel angle
[0134]
[0135] Table 1 schematically shows the corresponding headlight deflection angle at different vehicle speeds and different steering wheel angles. The direction of the headlight deflection angle is consistent with the direction of the steering wheel angle. The steering wheel angle in the table is the steering wheel angle. The positive and negative signs before the steering wheel angle are used to indicate the left and right directions of the steering wheel angle. It can be positive for turning left and negative for turning right; or positive for turning right and negative for turning left. There is no specific restriction here. The vehicle speed unit is kilometers per hour (Km / h).
[0136] Specifically, as shown in Table 1, when the vehicle speed is less than or equal to 10 km / h, and / or the steering wheel angle is less than or equal to 20 degrees, the ECU may set the headlight deflection angle to 0 degrees.
[0137] S211. When the vehicle speed is greater than a first vehicle speed threshold and the steering wheel angle is greater than or equal to a second steering angle threshold, setting the headlight deflection angle to a maximum deflection angle of the headlight deflection angle.
[0138] In the embodiment of the present application, the second turning angle threshold is greater than the first turning angle threshold.
[0139] Specifically, as shown in Table 1, when the vehicle speed is greater than 10 km / h and the steering wheel angle is greater than or equal to 140 degrees, the ECU can set the headlight deflection angle to the maximum deflection angle of the headlight deflection angle (ie, 13 degrees).
[0140] S212: When the vehicle speed is between the first vehicle speed threshold and the second vehicle speed threshold, and the steering wheel angle is between the first turning angle threshold and the second turning angle threshold, determine the headlight deflection angle according to the vehicle speed and the steering wheel angle.
[0141] In the embodiment of the present application, the second vehicle speed threshold is greater than the first vehicle speed threshold, and the magnitude of the headlight deflection angle is positively correlated to the vehicle speed and the magnitude of the steering wheel angle.
[0142] Specifically, as shown in Table 1, when the vehicle speed is between 10Km / h and 30Km / h, and the steering wheel angle is between 20 degrees and 140 degrees, the ECU can determine the size of the headlight deflection angle according to the vehicle speed and the steering wheel angle. At this time, the size of the headlight deflection angle is positively correlated with the vehicle speed and the steering wheel angle.
[0143] S213: When the vehicle speed is greater than the second vehicle speed threshold and the steering wheel angle is between the first angle threshold and the second angle threshold, determine the headlight deflection angle according to the vehicle speed and the steering wheel angle.
[0144] In the embodiment of the present application, the size of the headlight deflection angle is positively correlated to the size of the steering wheel angle, and the headlight deflection angle is negatively correlated to the vehicle speed.
[0145] Specifically, as shown in Table 1, when the vehicle speed is greater than 30 km / h and the steering wheel angle is between 20 and 140 degrees, the ECU can determine the size of the headlight deflection angle according to the vehicle speed and the steering wheel angle. At this time, the size of the headlight deflection angle is positively correlated with the size of the steering wheel angle, and the size of the headlight deflection angle is negatively correlated with the vehicle speed.
[0146] S214: Acquire an actual deflection angle and an actual pitch angle of the headlight.
[0147] Specifically, after determining the headlamp intensity, the headlamp pitch angle and the headlamp deflection angle, the ECU can control the headlamp according to the headlamp parameters. Specifically, first, the ECU can obtain the actual deflection angle and the actual pitch angle of the headlamp through the CAN bus to compare with the headlamp pitch angle and the headlamp deflection angle determined by the ECU.
[0148] S215: When a first difference between the actual deflection angle of the headlight and the deflection angle of the headlight is greater than or equal to an error threshold, adjust the actual deflection angle of the headlight according to the first difference.
[0149] Specifically, the ECU may then calculate a first difference between the actual deflection angle of the headlight and the determined deflection angle of the headlight, and when the first difference is greater than or equal to an error threshold, adjust the actual deflection angle of the headlight by the angle indicated by the first difference.
[0150] Furthermore, the adjustment process of the actual deflection angle of the headlamp may be implemented once or multiple times. For example, after the adjustment is completed, the actual deflection angle of the headlamp may be obtained again, and the first difference may be calculated again. If the first difference is still greater than or equal to the error threshold, the actual deflection angle of the headlamp may be adjusted again until the first difference is less than the error threshold.
[0151] S216: When a second difference between the actual pitch angle of the headlight and the pitch angle of the headlight is greater than or equal to an error threshold, adjust the actual pitch angle of the headlight according to the second difference.
[0152] Specifically, the ECU may calculate a second difference between the actual pitch angle of the headlight and the determined pitch angle of the headlight, and when the second difference is greater than or equal to the error threshold, adjust the actual pitch angle of the headlight by the angle indicated by the second difference.
[0153] Furthermore, the adjustment process of the actual pitch angle of the headlamp may be implemented once or multiple times. For example, after the adjustment is completed, the actual pitch angle of the headlamp may be obtained again, and the second difference may be calculated again. If the second difference is still greater than or equal to the error threshold, the actual pitch angle of the headlamp may be adjusted again until the second difference is less than the error threshold.
[0154] A vehicle headlamp control method provided in an embodiment of the present application ensures the normal driving safety of the vehicle by controlling the AFS function of the vehicle to be in a turned-off state when the vehicle is not in a forward state or the headlamp state is in a turned-off state; ensures the accuracy of the headlamp angle adjustment when the AFS is controlled by performing a fault detection process on the headlamp each time the AFS is turned on; during the operation of the AFS, the operation process of the AFS and whether related components are working normally are simultaneously detected, and when a fault state occurs, the dimming motor group is controlled to move to a mechanical zero position, thereby avoiding the deflection of the headlamp to affect the drivers of other vehicles driving on the road; sends a message to a display device such as a dashboard of the vehicle through a CAN bus, and on the display device such as the dashboard, activates a corresponding prompt light or voice prompt information, etc., to remind the driver that the AFS system has a fault, thereby improving the driving safety of the vehicle.
[0155] The embodiment of the present invention can divide the electronic device or the main control device into functional modules according to the above method example. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing unit. The above integrated unit can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiment of the present invention is schematic and is only a logical function division. There may be other division methods in actual implementation.
[0156] Figure 4 This is a schematic diagram of the structure of a vehicle headlight control device provided in an embodiment of the present application. Figure 4 As shown, the device includes: an acquisition module 410; a determination module 420; and a control module 430.
[0157] The acquisition module 410 is used to acquire vehicle target parameters, where the vehicle target parameters include at least one of the following: vehicle speed, steering wheel angle, ambient light intensity, ambient rainfall, vehicle height, vehicle front axle load, and vehicle rear axle load;
[0158] a determination module 420, configured to determine headlamp parameters according to the vehicle target parameters, the headlamp parameters including at least one of the following: a headlamp deflection angle, a headlamp pitch angle, and a headlamp intensity, the headlamp deflection angle is related to the vehicle speed and the steering wheel angle, the headlamp pitch angle is related to the vehicle height, the vehicle front axle load, and the vehicle rear axle load, the headlamp intensity is negatively correlated to the ambient light intensity, and the headlamp intensity is positively correlated to the ambient rainfall;
[0159] The control module 430 is used to control the headlight according to the headlight parameters.
[0160] In one possible design, the determination module 420 includes: a first strength module, a second strength module, and a third strength module;
[0161] A first intensity module, configured to set the headlamp intensity to a first intensity when the ambient rainfall is greater than or equal to a first rainfall threshold, and / or the ambient light intensity is less than or equal to a preset light threshold;
[0162] A second intensity module, configured to set the headlamp intensity to a second intensity when the ambient rainfall is less than the first rainfall threshold, the ambient rainfall is greater than or equal to the second rainfall threshold, and the ambient light intensity is greater than a preset light threshold, the second rainfall threshold is less than the first rainfall threshold, and the second intensity is less than the first intensity;
[0163] The third intensity module is used to set the headlamp intensity to a third intensity that is lower than the second intensity when the ambient rainfall is lower than the second rainfall threshold and the ambient light intensity is higher than a preset light threshold.
[0164] In one possible design, the determination module 420 further includes: a center of mass determination module, a front pitch angle determination module, and a headlight pitch angle determination module;
[0165] A center of mass determination module, used for determining the center of mass position of the vehicle according to the front axle load of the vehicle and the rear axle load of the vehicle;
[0166] The front pitch angle module is used to calculate the front pitch angle of the vehicle according to the vehicle center of mass position, vehicle wheelbase, and the height difference between the front and rear axles of the vehicle;
[0167] The headlamp pitch angle module is used to determine the headlamp pitch angle according to the vehicle front pitch angle.
[0168] In one possible design, the determination module 420 further includes: a zeroing module, a maximum deflection angle module, a deflection angle determination module, and an angle magnitude determination module;
[0169] a zeroing module, configured to set the headlamp deflection angle to 0 when the vehicle speed is less than or equal to a first vehicle speed threshold, and / or when the steering wheel angle is less than or equal to a first angle threshold;
[0170] a maximum deflection angle module, used to set the size of the headlight deflection angle to the maximum deflection angle of the headlight deflection angle when the vehicle speed is greater than a first vehicle speed threshold and the size of the steering wheel angle is greater than or equal to a second angle threshold, and the second angle threshold is greater than the first angle threshold;
[0171] a deflection angle determination module, configured to determine the magnitude of the headlamp deflection angle according to the vehicle speed and the steering wheel angle when the vehicle speed is between a first vehicle speed threshold and a second vehicle speed threshold and the magnitude of the steering wheel angle is between the first steering wheel angle threshold and the second steering wheel angle threshold, the second vehicle speed threshold being greater than the first vehicle speed threshold, and the magnitude of the headlamp deflection angle being positively correlated to the vehicle speed and the magnitude of the steering wheel angle;
[0172] an angle determination module, for determining the size of the headlight deflection angle according to the vehicle speed and the steering wheel angle when the vehicle speed is greater than the second vehicle speed threshold and the size of the steering wheel angle is between the first angle threshold and the second angle threshold, wherein the size of the headlight deflection angle is positively correlated to the size of the steering wheel angle and negatively correlated to the vehicle speed;
[0173] Among them, the direction of the headlight deflection angle is consistent with the direction of the steering wheel angle.
[0174] In one possible design, the control module 430 includes: an actual angle acquisition module, a first difference module, and a second difference module;
[0175] An actual angle acquisition module is used to acquire an actual deflection angle and an actual pitch angle of a headlamp;
[0176] A first difference module, configured to adjust the actual deflection angle of the headlamp according to the first difference when a first difference between the actual deflection angle of the headlamp and the deflection angle of the headlamp is greater than or equal to an error threshold;
[0177] The second difference module is used to adjust the actual pitch angle of the headlight according to the second difference when a second difference between the actual pitch angle of the headlight and the pitch angle of the headlight is greater than or equal to an error threshold.
[0178] In one possible design, the device further includes: a vehicle status acquisition module and an intelligent control module;
[0179] The vehicle status acquisition module is used to obtain the vehicle speed, current gear position and headlight status;
[0180] An intelligent control module is used to enter a headlamp intelligent control mode when the vehicle speed is greater than 0, the current gear is not reverse gear, and the headlamp state is on;
[0181] The acquisition module 410 is also used to acquire vehicle target parameters in the headlight intelligent control mode.
[0182] A vehicle headlight control device provided in this embodiment can execute a vehicle headlight control method of the above embodiment, and its implementation principle and technical effect are similar, which will not be described in detail in this embodiment.
[0183] In the specific implementation of the aforementioned vehicle headlight control device, each module can be implemented as a processor, and the processor can execute computer-executable instructions stored in the memory, so that the processor executes the aforementioned vehicle headlight control method.
[0184] Figure 5 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Figure 5 As shown, the electronic device includes: at least one processor 510 and a memory 520. The electronic device also includes a communication component 530. The processor 510, the memory 520 and the communication component 530 are connected via a bus 540.
[0185] In a specific implementation process, at least one processor 510 executes the computer-executable instructions stored in the memory 520, so that at least one processor 510 executes a vehicle headlight control method executed by the electronic device side as above.
[0186] The specific implementation process of the processor 510 can be found in the above method embodiment, and its implementation principle and technical effect are similar, so this embodiment will not be repeated here.
[0187] In the above embodiments, it should be understood that the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. A general-purpose processor may be a microprocessor or any conventional processor. The steps of the method disclosed in the invention may be directly implemented as being executed by a hardware processor, or may be executed by a combination of hardware and software modules in the processor.
[0188] The memory may include a high-speed RAM memory, and may also include a non-volatile storage NVM, such as at least one disk storage.
[0189] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the bus in the drawings of this application is not limited to only one bus or one type of bus.
[0190] The above-mentioned functions implemented by the electronic device and the main control device introduce the scheme provided by the embodiment of the present invention. It can be understood that in order to implement the above-mentioned functions, the electronic device or the main control device includes a hardware structure and / or software module corresponding to the execution of each function. In combination with the units and algorithm steps of each example described in the embodiment disclosed in the embodiment of the present invention, the embodiment of the present invention can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the technical solution of the embodiment of the present invention.
[0191] The present application also provides a computer-readable storage medium, in which computer-executable instructions are stored. When a processor executes the computer-executable instructions, it is used to implement the above vehicle headlight control method.
[0192] The above-mentioned readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The readable storage medium can be any available medium that can be accessed by a general or special-purpose computer.
[0193] An exemplary readable storage medium is coupled to a processor so that the processor can read information from the readable storage medium and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can be located in an application specific integrated circuit (Application Specific Integrated Circuits, referred to as: ASIC). Of course, the processor and the readable storage medium can also exist as discrete components in an electronic device or a main control device.
[0194] The present application also provides a computer program product, which includes a computer program. The computer program is stored in a readable storage medium. At least one processor of an electronic device can read the computer program from the readable storage medium. At least one processor executes the computer program so that the electronic device executes the solution provided by the above embodiment.
[0195] Those skilled in the art can understand that all or part of the steps of the above method embodiments can be completed by hardware related to program instructions. The above program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above method embodiments are executed; and the above storage medium includes: ROM, RAM, disk or optical disk and other media that can store program codes.
[0196] So far, the technical solution of the present application has been described in conjunction with the preferred embodiments shown in the accompanying drawings. However, it is easy for those skilled in the art to understand that the protection scope of the present application is obviously not limited to these specific embodiments, and the above embodiments are only used to illustrate the technical solution of the present application rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein by equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.
Claims
1. A vehicle headlamp control method, characterized in that: include: Acquire vehicle target parameters, where the vehicle target parameters include at least one of the following: vehicle speed, steering wheel angle, ambient light intensity, ambient rainfall, vehicle height, vehicle front axle load, and vehicle rear axle load; Determine headlamp parameters according to the vehicle target parameters, the headlamp parameters including at least one of the following: headlamp deflection angle, headlamp pitch angle, and headlamp intensity, the headlamp deflection angle is related to the vehicle speed and the steering wheel angle, the headlamp pitch angle is related to the vehicle height, the vehicle front axle load, and the vehicle rear axle load, the headlamp intensity is negatively correlated to the ambient light intensity, and the headlamp intensity is positively correlated to the ambient rainfall; The headlight is controlled according to the headlight parameters.
2. The method according to claim 1, characterized in that: The step of determining the headlamp parameters according to the vehicle target parameters comprises: When the ambient rainfall is greater than or equal to a first rainfall threshold, and / or the ambient light intensity is less than or equal to a preset light threshold, setting the headlamp intensity to a first intensity; When the ambient rainfall is less than the first rainfall threshold, the ambient rainfall is greater than or equal to the second rainfall threshold, and the ambient light intensity is greater than the preset light threshold, the headlamp intensity is set to a second intensity, the second rainfall threshold is less than the first rainfall threshold, and the second intensity is less than the first intensity; When the ambient rainfall is less than the second rainfall threshold and the ambient light intensity is greater than the preset light threshold, the headlamp intensity is set to a third intensity, which is less than the second intensity.
3. The method according to claim 1, characterized in that The step of determining the headlamp parameters according to the vehicle target parameters comprises: Determining the center of mass position of the vehicle according to the front axle load of the vehicle and the rear axle load of the vehicle; Calculating the pitch angle of the vehicle head according to the vehicle center of mass position, the vehicle wheelbase, and the height difference between the front and rear axles of the vehicle; The headlamp pitch angle is determined according to the vehicle front pitch angle.
4. The method according to claim 1, characterized in that: The step of determining the headlamp parameters according to the vehicle target parameters comprises: When the vehicle speed is less than or equal to a first vehicle speed threshold, and / or the steering wheel angle is less than or equal to a first angle threshold, setting the headlamp deflection angle to 0; When the vehicle speed is greater than the first vehicle speed threshold and the magnitude of the steering wheel angle is greater than or equal to a second steering angle threshold, setting the magnitude of the headlight deflection angle to a maximum deflection angle of the headlight deflection angle, and the second steering angle threshold is greater than the first steering angle threshold; When the vehicle speed is between the first vehicle speed threshold and the second vehicle speed threshold, and the magnitude of the steering wheel angle is between the first turning angle threshold and the second turning angle threshold, the magnitude of the headlight deflection angle is determined according to the vehicle speed and the steering wheel angle, the second vehicle speed threshold is greater than the first vehicle speed threshold, and the magnitude of the headlight deflection angle is positively correlated to the vehicle speed and the magnitude of the steering wheel angle; When the vehicle speed is greater than the second vehicle speed threshold, and the magnitude of the steering wheel angle is between the first angle threshold and the second angle threshold, the magnitude of the headlight deflection angle is determined according to the vehicle speed and the steering wheel angle, the magnitude of the headlight deflection angle is positively correlated to the magnitude of the steering wheel angle, and the headlight deflection angle is negatively correlated to the vehicle speed; Wherein, the direction of the headlamp deflection angle is consistent with the direction of the steering wheel angle.
5. The method according to any one of claims 1 to 4, characterized in that The controlling the headlamp according to the headlamp parameter comprises: Obtaining the actual deflection angle and actual pitch angle of the headlight; When a first difference between the actual deflection angle of the headlamp and the deflection angle of the headlamp is greater than or equal to an error threshold, adjusting the actual deflection angle of the headlamp according to the first difference; When a second difference between the actual pitch angle of the headlight and the pitch angle of the headlight is greater than or equal to the error threshold, the actual pitch angle of the headlight is adjusted according to the second difference.
6. The method according to any one of claims 1 to 4, characterized in that The method further comprises: Get vehicle speed, current gear and headlight status; When the vehicle speed is greater than 0, the current gear is not reverse gear, and the headlamp state is on, entering the headlamp intelligent control mode; The obtaining of vehicle target parameters comprises: In the headlamp intelligent control mode, vehicle target parameters are obtained.
7. A vehicle headlight control device, characterized in that: The device comprises: An acquisition module, used for acquiring a vehicle target parameter, wherein the vehicle target parameter includes at least one of the following: vehicle speed, steering wheel angle, ambient light intensity, ambient rainfall, vehicle height, vehicle front axle load, and vehicle rear axle load; a determination module, configured to determine headlamp parameters according to the vehicle target parameters, the headlamp parameters including at least one of the following: a headlamp deflection angle, a headlamp pitch angle, and a headlamp intensity, the headlamp deflection angle being related to the vehicle speed and the steering wheel angle, the headlamp pitch angle being related to the vehicle height, the vehicle front axle load, and the vehicle rear axle load, the headlamp intensity being negatively correlated to the ambient light intensity, and the headlamp intensity being positively correlated to the ambient rainfall; A control module is used to control the headlight according to the headlight parameters.
8. An electronic device, characterized in that: include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the vehicle headlamp control method according to any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, they are used to implement the vehicle headlight control method according to any one of claims 1 to 6.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the vehicle headlamp control method according to any one of claims 1 to 6 is implemented.
Citation Information
Patent Citations
Headlamp adaptive control method and device
CN102029941A
Vehicle headlamp angle control method based on safety equation
CN108638954A
System capable of adaptively adjusting brightness according to external environment
CN111031644A
Vehicle lamp control system and vehicle that has it
CN207842788U
Vehicle lighting apparatus
US20050018437A1