Headlight control method, apparatus, vehicle, and storage medium

By calculating the vehicle speed influence coefficient and steering wheel rotation angle, and using interpolation functions and preset curve functions to control the headlight deflection angle, the problem of blind spots in the vehicle's headlights when turning is solved, thus improving the safety of drivers driving at night.

CN118288889BActive Publication Date: 2026-11-24GUANGZHOU AUTOMOBILE GROUP CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310004234.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-01-03
Publication Date
2026-11-24
Estimated Expiration
2043-01-03

AI Technical Summary

Technical Problem

The headlights of existing vehicles cannot adjust their illumination angle when turning, resulting in blind spots on the inside of curves and reducing the safety of drivers when driving at night.

Method used

By acquiring vehicle speed and steering wheel rotation angle, calculating the vehicle speed influence coefficient, and using interpolation functions and preset curve functions to determine the headlight deflection angle, precise steering control of the headlights is achieved.

Benefits of technology

It improves the precision of headlight steering control, reduces blind spots on the inside of curves, and enhances driver safety at night.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118288889B_ABST
    Figure CN118288889B_ABST
Patent Text Reader

Abstract

This application discloses a headlight control method, device, vehicle, and readable storage medium. The method includes: acquiring the vehicle speed and steering wheel rotation angle of a target vehicle; determining a vehicle speed influence coefficient based on the vehicle speed; determining the headlight deflection angle based on the vehicle speed influence coefficient and steering wheel rotation angle; and controlling the headlight deflection based on the headlight deflection angle. In this application, the vehicle speed and steering wheel rotation angle of the target vehicle are acquired, and a vehicle speed influence coefficient corresponding to the vehicle speed is determined based on these data. Furthermore, the headlight deflection angle is determined using the vehicle speed influence coefficient and steering wheel rotation angle. By using the vehicle speed influence coefficient, the headlight response sensitivity to steering wheel rotation is matched with the current vehicle speed, thereby making the headlight steering control more reasonable and accurate. This significantly reduces the blind spot on the inside of curves and improves the driver's safety during nighttime driving.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of vehicle control technology, and more specifically, to a headlight control method, device, vehicle, and computer-readable storage medium. Background Technology

[0002] When driving at night, the headlights of a vehicle have a fixed illumination range. When turning, the headlights cannot adjust their angle, resulting in a limited area illuminated and often creating blind spots on the inside of curves, thus reducing driver safety at night. To improve driver safety at night, adaptive headlights have been developed.

[0003] Currently, it is possible to install a mechanical rotating structure in the vehicle's headlights. This mechanical rotating structure will drive the headlights to rotate as the steering wheel is turned, thereby controlling the direction of the vehicle's headlights.

[0004] However, with this mechanical structure, the headlights rotate with the steering wheel, but the accuracy of the headlight rotation angle is low. This results in blind spots on the inside of curves during the turning process, and the safety of night driving remains low. Summary of the Invention

[0005] This application proposes a headlight control method, device, vehicle, and computer-readable storage medium to improve the above-mentioned deficiencies.

[0006] In a first aspect, embodiments of this application provide a headlight control method, the method comprising: acquiring the vehicle speed of a target vehicle and the steering wheel rotation angle of the target vehicle; determining a vehicle speed influence coefficient based on the vehicle speed of the target vehicle; determining a headlight deflection angle of the target vehicle based on the vehicle speed influence coefficient and the steering wheel rotation angle; and controlling the headlight deflection based on the headlight deflection angle.

[0007] Secondly, embodiments of this application also provide a headlight control device, the device comprising: an acquisition unit for acquiring the vehicle speed of a target vehicle and the steering wheel rotation angle of the target vehicle; a first determination unit for determining a vehicle speed influence coefficient of the target vehicle based on the vehicle speed; a second determination unit for determining a headlight deflection angle of the target vehicle based on the vehicle speed influence coefficient and the steering wheel rotation angle; and a control unit for controlling the headlight deflection based on the headlight deflection angle.

[0008] Thirdly, embodiments of this application also provide a vehicle, characterized in that the vehicle includes: one or more processors; a memory; one or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs are configured to perform the above-described methods.

[0009] Fourthly, embodiments of this application also provide a computer-readable storage medium storing processor-executable program code, which, when executed by the processor, causes the processor to perform the above-described method.

[0010] This application provides a headlight control method, device, vehicle, and computer-readable storage medium. In this application, the vehicle speed and steering wheel rotation angle of the target vehicle are obtained from the target vehicle. Based on these data, a speed influence coefficient corresponding to the vehicle speed is determined. Furthermore, the headlight deflection angle of the target vehicle is determined by the speed influence coefficient and the steering wheel rotation angle. By using the speed influence coefficient, the sensitivity of the headlight response to steering wheel rotation is matched with the current vehicle speed, thereby making the headlight steering control more reasonable and accurate. This greatly reduces the blind spot on the inside of the curve and improves the safety of the driver when driving at night.

[0011] Other features and advantages of the embodiments of this application will be set forth in the following description, and will be apparent in part from the description, or may be learned by practicing the embodiments of this application. The objects and other advantages of the embodiments of this application may be realized and obtained by means of the structures particularly pointed out in the written description, claims, and drawings. Attached Figure Description

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

[0013] Figure 1 A schematic diagram of a vehicle hardware environment applicable to embodiments of this application is shown.

[0014] Figure 2 A flowchart of a headlight control method according to an embodiment of this application is shown.

[0015] Figure 3 A schematic diagram of a preset interpolation function curve is shown in an embodiment of this application.

[0016] Figure 4 A flowchart of a headlight control method according to yet another embodiment of this application is shown.

[0017] Figure 5 A schematic diagram of a preset curve function curve of a target vehicle in an embodiment of this application is shown.

[0018] Figure 6 A flowchart of a headlight control method according to another embodiment of this application is shown.

[0019] Figure 7 A structural block diagram of a headlight control device according to an embodiment of this application is shown.

[0020] Figure 8 A structural block diagram of a computer-readable storage medium provided in an embodiment of this application is shown. Detailed Implementation

[0021] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present application, and not all of them. The components of the embodiments of the present application described and shown in the accompanying drawings can generally be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely represents selected embodiments of the present application. All other embodiments obtained by those skilled in the art based on the embodiments of the present application without inventive effort are within the scope of protection of the present application.

[0022] It should be noted that similar reference numerals and letters in the following figures indicate similar items; therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures. Furthermore, in the description of this application, terms such as "first," "second," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.

[0023] When driving at night, the headlights of a vehicle have a fixed illumination range. When turning, the headlights cannot adjust their angle, resulting in a limited area illuminated and often creating blind spots on the inside of curves, thus reducing driver safety at night. To improve driver safety at night, adaptive headlights have been developed.

[0024] Currently, it is possible to install a mechanical rotating structure in the vehicle's headlights. This mechanical rotating structure will drive the headlights to rotate as the steering wheel is turned, thereby controlling the direction of the vehicle's headlights.

[0025] However, the inventors discovered in their research that the headlights had low precision in rotation angle when using this mechanical structure, resulting in blind spots on the inside of curves during vehicle turns, and thus low safety for drivers at night.

[0026] Therefore, in order to overcome the above-mentioned defects, the inventors have proposed a headlight control method, device, vehicle and computer-readable storage medium that can determine the speed influence coefficient of the target vehicle based on the vehicle speed and steering wheel rotation angle, thereby making the determined headlight deflection angle of the target vehicle more accurate and improving the safety of night driving.

[0027] Please see Figure 1 , Figure 1 A schematic diagram of a vehicle hardware environment applicable to an embodiment of this application is shown. The vehicle 100 includes one or more (only one is shown in the figure) processors 110 and memory 111.

[0028] The processor 110 may be a microcontroller unit (MCU) with a built-in memory 111 containing a program that can execute the contents of the following embodiments, and the processor 110 can execute the program stored in the memory 111.

[0029] The processor 110 may include one or more processors. The processor 110 connects to various parts of the vehicle 100 via various interfaces and lines, and performs various functions and processes data of the vehicle 10 by running or executing instructions, programs, code sets, or instruction sets stored in the memory 111, and by calling data stored in the memory 111. Optionally, the processor 110 may be implemented using at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), or Programmable Logic Array (PLA). The processor 12 may integrate one or a combination of several of the following: Central Processing Unit (CPU), Graphics Processing Unit (GPU), and modem. The CPU primarily handles the operating system, user interface, and applications; the GPU is responsible for rendering and drawing the displayed content; and the modem handles wireless communication. It is understood that the modem may also not be integrated into the processor 110 and may be implemented separately using a communication chip.

[0030] Memory 111 may include random access memory (RAM) or read-only memory (ROM). Memory 15 may be used to store instructions, programs, code, code sets, or instruction sets. Memory 15 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as touch functionality, sound playback functionality, image playback functionality, etc.), instructions for implementing the various method embodiments described below, etc.

[0031] Please see Figure 2 , Figure 2 A flowchart of a headlight control method according to an embodiment of this application is shown, for a vehicle, the method comprising:

[0032] S201. Obtain the target vehicle's speed and the target vehicle's steering wheel rotation angle.

[0033] The target vehicle can be an electric vehicle or a gasoline-powered vehicle, and can be a sedan, SUV, bus, or truck, etc. The vehicle speed and steering wheel rotation angle can be obtained from the Electronic Stability Program (ESP). The ESP system consists of a control unit and steering sensors, wheel sensors, yaw rate sensors, and lateral acceleration sensors. The steering sensors monitor the steering wheel rotation angle, and the wheel sensors monitor the speed of each wheel.

[0034] The vehicle speed and steering wheel rotation angle of the target vehicle can be obtained periodically. The acquisition period can be 0.1s or 0.2s, and the period size can be selected according to the needs.

[0035] S202. Determine the speed influence coefficient of the target vehicle based on its speed.

[0036] The vehicle speed influence coefficient refers to the coefficient by which the target vehicle's speed affects the steering wheel rotation angle. When the target vehicle enters a curve at a higher speed, the headlights need to respond more sensitively to the vehicle's steering to provide a wider field of vision, so the vehicle speed influence coefficient is larger. When the target vehicle enters a curve at a lower speed, the headlights do not need to respond quickly to the vehicle's steering, so the vehicle speed influence coefficient is smaller. Here, vehicle steering is the rotation of the steering wheel. Therefore, the steering wheel rotation angle is corrected by the vehicle speed influence coefficient to match the headlight deflection angle with the steering wheel rotation angle corrected by the vehicle speed influence coefficient.

[0037] As one implementation method, if the target vehicle's speed is less than or equal to a first preset speed, a first speed influence coefficient is obtained and used as the speed influence coefficient. The first preset speed can be selected within the range of 0–10 km / h, and the specific value needs to be calibrated according to different vehicle models. When the target vehicle's speed is less than or equal to the first preset speed, that is, when the target vehicle's speed is in an extremely low speed range, the deflection of the turn signals does not need to respond to the rotation of the steering wheel, and the first speed influence coefficient can be 0.

[0038] In another implementation method, if the target vehicle's speed is greater than or equal to a second preset speed, a second speed influence coefficient is obtained and used as the speed influence coefficient. The first preset speed is less than the second preset speed. The second preset speed can be selected within the range of 10–50 km / h, and the specific value needs to be calibrated according to different vehicle models. When the target vehicle's speed is greater than or equal to the second preset speed, that is, when the target vehicle's speed is in the high-speed range, the headlight deflection needs to be extremely sensitive to the steering wheel rotation; in this case, the second speed influence coefficient can be 1.

[0039] As another implementation, if the target vehicle's speed is greater than a first preset speed and less than a second preset speed, a speed influence coefficient is determined based on the target vehicle's speed and a preset interpolation function. When the target vehicle's speed is greater than the first preset speed and less than the second preset speed—that is, when the target vehicle's speed is in the medium speed range—the headlight deflection needs to respond sensitively to steering wheel rotation. A linear relationship between vehicle speed and the speed influence coefficient can be established. By acquiring the target vehicle's speed in real time, the speed influence coefficient is determined based on the acquired target vehicle speed and the established linear relationship.

[0040] In some implementations, a linear interpolation function can be constructed based on the first preset vehicle speed, the second preset vehicle speed, the first vehicle speed influence coefficient, and the second vehicle speed influence coefficient, and used as a preset interpolation function to represent the linear relationship between vehicle speed and vehicle speed influence coefficient.

[0041] Interpolation is an approximate calculation method for calculating unknown points from known points. It involves constructing a polynomial function that passes through all known points, and then using the obtained function to predict the location point. Commonly used interpolation methods include Lagrange interpolation, Hermite interpolation, and Newton interpolation.

[0042] Please see Figure 3 , Figure 3 A schematic diagram of a preset interpolation function curve is shown in an embodiment of this application.

[0043] In this embodiment, a linear interpolation function is constructed using the Lagrange interpolation method. This readily yields the first preset vehicle speed and its corresponding first speed influence coefficient, the second preset vehicle speed and its corresponding second speed influence coefficient, thus constructing the preset interpolation function as follows:

[0044]

[0045] Where z is the target vehicle speed, C0 is the speed influence coefficient, z0 is the first preset speed, w0 is the first speed influence coefficient, z1 is the second preset speed, and w1 is the second speed influence coefficient corresponding to the second preset speed.

[0046] From the above description, we know that the first vehicle speed influence coefficient can be 0, and the second vehicle speed influence coefficient can be 1. Therefore, the preset interpolation function can be:

[0047]

[0048] S203. Determine the headlight deflection angle of the target vehicle based on the vehicle speed influence coefficient and the steering wheel rotation angle.

[0049] Headlight deflection angle refers to the angle at which the headlights need to deflect when a vehicle enters a curve to ensure optimal lighting. The required adjustment and response speed of the headlights vary depending on the target vehicle's speed. Headlight adjustment refers to adjusting the headlight deflection angle, while headlight response speed refers to the sensitivity of the headlight deflection to steering wheel rotation at different target vehicle speeds.

[0050] At higher vehicle speeds, the headlights need to be more responsive to vehicle steering, which means responding to steering wheel rotation. Based on the vehicle speed influence coefficient and the steering wheel rotation angle, the headlight deflection angle of the target vehicle can be obtained.

[0051] As one implementation method, the product of the vehicle speed influence coefficient and the steering wheel rotation angle can be calculated as the headlight deflection angle of the target vehicle.

[0052] S204. Control the headlight deflection according to the headlight deflection angle.

[0053] The target vehicle has a headlight control unit. The headlight deflection angle value is sent to the headlight control unit of the target vehicle to control the low beam light source of the headlight and realize the headlight following the turn.

[0054] In this embodiment, the vehicle speed and steering wheel rotation angle of the target vehicle are periodically obtained. Based on the vehicle speed, the speed influence coefficient corresponding to the current vehicle speed is determined. Furthermore, the headlight deflection angle of the target vehicle is determined by the speed influence coefficient and the steering wheel rotation angle. By using the speed influence coefficient, the sensitivity of the headlight response to steering wheel rotation is matched with the current vehicle speed, resulting in high accuracy of the headlight deflection angle. This greatly reduces the blind spot on the inside of the curve and improves the safety of the driver when driving at night.

[0055] Please see Figure 4 , Figure 4 A flowchart of a headlight control method according to another embodiment of this application is shown, for a vehicle, the method comprising:

[0056] S401. Obtain the target vehicle's speed and the target vehicle's steering wheel rotation angle.

[0057] S402. Determine the speed influence coefficient of the target vehicle based on its speed.

[0058] The descriptions of S401 to S402 are the same as those of S101 to S102 above, and will not be repeated here.

[0059] S403. Determine the normalized steering wheel rotation angle based on the vehicle speed influence coefficient and the steering wheel rotation angle.

[0060] After obtaining the vehicle speed influence coefficient and the steering wheel rotation angle, the normalized steering wheel rotation angle can be calculated using the vehicle speed influence coefficient and the steering wheel rotation angle.

[0061] In one implementation, S403 may include: calculating the product of the vehicle speed influence coefficient and the steering wheel rotation angle; obtaining the maximum steering wheel rotation angle of the target vehicle's steering wheel, and calculating the quotient of the product and the maximum steering wheel rotation angle; calculating the product of the quotient and a preset constant as the normalized steering wheel rotation angle.

[0062] In this embodiment, the maximum steering wheel rotation angle refers to the maximum angle the steering wheel can rotate. Different vehicle models correspond to different maximum steering wheel rotation angles, requiring normalization correction. This involves calculating the product of the vehicle speed influence coefficient and the steering wheel rotation angle, then calculating the quotient of this product with the maximum steering wheel rotation angle, and finally calculating the product of this quotient with a preset constant to obtain the normalized steering wheel rotation angle. This preset constant is in degrees and can be 360°. The correction formula is:

[0063]

[0064] Where x is the normalized steering wheel rotation angle, C0 is the vehicle speed influence coefficient, and θ is the steering wheel rotation angle. maxdenoted as the maximum rotation angle of the steering wheel, and 'a' as a preset constant.

[0065] S404. Based on the naturalized steering wheel rotation angle, obtain the initial headlight deflection angle.

[0066] After obtaining the normalized steering wheel rotation angle, the initial headlight deflection angle can be determined using the normalized steering wheel rotation angle. For example, the normalized steering wheel rotation angle can be fitted using a preset curve function to obtain the initial headlight deflection angle.

[0067] Fitting refers to the process of knowing several discrete function values ​​{f1,f2,…,fn} of a certain function, and adjusting several undetermined coefficients f(λ1,λ2,…,λn) in the function to minimize the difference (in the least squares sense) between the function and the known point set.

[0068] Please see Figure 5 , Figure 5 This illustration shows a schematic diagram of a preset curve function for a target vehicle according to an embodiment of this application. The preset curve function is:

[0069] y = A6x 6 +A5x 5 +A4x 4 +A3x 3 +A2x 2 +A1x+A0,

[0070] Where A0 to A6 are calibration coefficients, x is the normalized steering wheel rotation angle, and y is the initial headlight deflection angle.

[0071] Among them, the calibration coefficients A0 to A6 determine the curve of the headlight deflection angle, which need to be calibrated according to different vehicle models. This application does not limit the specific values ​​of A0 to A6.

[0072] S405. Determine the headlight deflection angle based on the initial headlight deflection angle and the steering wheel rotation angle.

[0073] In this embodiment, the initial headlight deflection angle can refer to the determined initial headlight deflection angle. Then, based on the steering wheel rotation angle, the initial headlight deflection angle can be finely adjusted to obtain the headlight deflection angle.

[0074] In one implementation, the target vehicle includes headlights in different positions, and the headlight deflection angles of the headlights in different positions are different. Based on the initial headlight deflection angle and the steering wheel rotation angle, the headlight deflection angles of the headlights in different positions are then determined.

[0075] S406. Control the headlight deflection according to the headlight deflection angle.

[0076] The description of S406 is the same as that of S204 above, and will not be repeated here.

[0077] In this embodiment, the steering wheel rotation angle is normalized to obtain a normalized steering wheel rotation angle. The normalized steering wheel rotation angle is then fitted according to a preset curve function to obtain an initial headlight deflection angle. This allows for a more accurate determination of the headlight deflection angle of the target vehicle and makes the method applicable to different vehicle models, thus enhancing its versatility.

[0078] Please see Figure 6 , Figure 6 A flowchart of a headlight control method according to another embodiment of this application is shown, for a vehicle, the method comprising:

[0079] S601. Obtain the target vehicle's speed and the target vehicle's steering wheel rotation angle.

[0080] S602. Determine the speed influence coefficient of the target vehicle based on its speed.

[0081] The descriptions of S601 to S602 are the same as those of S201 to S202 above, and will not be repeated here.

[0082] S603. Determine the normalized steering wheel rotation angle based on the vehicle speed influence coefficient and the steering wheel rotation angle.

[0083] S604. Based on the naturalized steering wheel rotation angle, obtain the initial headlight deflection angle.

[0084] The descriptions of S603 to S604 are the same as those of S403 to S404 above, and will not be repeated here.

[0085] S605. Based on the steering wheel rotation angle, determine the deflection direction of the target vehicle as the target deflection direction, and select the sub-headlight corresponding to the target deflection direction from among multiple sub-headlights as the target sub-headlight.

[0086] In this embodiment, the vehicle's headlights include multiple sub-headlights. The multiple sub-headlights deflect in different directions depending on the vehicle's turning direction. In order to ensure the brightness in front of the vehicle, the sub-headlights that deflect inwards have a smaller headlight deflection angle, while the sub-headlights that deflect outwards in the same direction as the vehicle's turning direction have a larger headlight deflection angle. The sub-headlight that deflects in the same direction as the vehicle's turning direction is selected as the target sub-headlight.

[0087] S606. Determine the headlamp deflection angle of the target sub-headlamp based on the initial headlamp deflection angle.

[0088] After obtaining the initial headlight deflection angle and the target sub-headlight's headlight deviation angle at the previous moment, the headlight deflection angle of the target sub-headlight can be determined by using the initial headlight deflection angle and the target sub-headlight's headlight deviation angle at the previous moment.

[0089] In one implementation, S606 may include: obtaining an initial headlight deflection angle as the first intermediate headlight deflection angle of the target sub-headlight; obtaining the headlight deflection angle of the target sub-headlight at the previous moment; calculating the difference between the headlight deflection angle of the target sub-headlight at the previous moment and the first intermediate headlight deflection angle as a first result; calculating the product of the preset low-pass filter coefficient of the target sub-headlight and the first result as a second result; and calculating the sum of the first intermediate headlight deflection angle of the target sub-headlight and the second result as the headlight deflection angle of the target sub-headlight.

[0090] In this embodiment, a low-pass filter is added to the headlight deflection angle of the target sub-headlight to smooth the headlight deflection angle, reduce abnormal data interference, and ensure the accuracy of headlight deflection. A low-pass filter is an electronic filter that allows signals below the cutoff frequency to pass through, but blocks signals above the cutoff frequency. The calculation formula for the filtering process is:

[0091] Sy′=y′+C s1 ×(Sy′ n-1 -y′),

[0092] Where Sy′ is the headlight deflection angle of the target sub-headlight, y′ is the deflection angle of the first intermediate headlight, and C s1 Let Sy′ be the filter coefficient of the low-pass filter for the target headlight. n-1 The target headlight's deflection angle at the previous moment.

[0093] S607. Based on the initial headlight deflection angle and the deflection coefficients of other sub-headlights, determine the headlight deflection angles of the other sub-headlights. The other sub-headlights are the sub-headlights other than the target sub-headlight among the multiple sub-headlights.

[0094] After obtaining the initial headlight deflection angle and the headlight deviation angle of other sub-headlights at the previous moment, the headlight deflection angle of the other sub-headlights can be determined by using the initial headlight deflection angle and the headlight deviation angle of other sub-headlights at the previous moment.

[0095] In one implementation, S607 may include: obtaining the initial headlight deflection angle and the deflection coefficients of other sub-headlights; calculating the product of the initial headlight deflection angle and the deflection coefficients of other sub-headlights as the second intermediate headlight deflection angle of the other sub-headlights; calculating the difference between the second intermediate headlight deflection angle and the headlight deflection angle of other sub-headlights at the previous moment as a third result; calculating the product of the preset low-pass filter coefficient of other sub-headlights and the third result as a fourth result; and calculating the sum of the second intermediate headlight deflection angle of other sub-headlights and the fourth result as the headlight deflection angle of other sub-headlights.

[0096] Among them, the target headlight is deflected in the same direction as the target vehicle, and its headlight deflection angle is relatively large. The headlight deflection angles of the other headlights are relatively small compared to the target headlight. A deflection coefficient is introduced, which is the deviation coefficient between the headlight deflection angles of the other headlights and the headlight deflection angle of the target headlight. The deflection coefficient ranges from 0 to 1. The product of the initial headlight deflection angle and the deflection coefficients of the other headlights is calculated as the second intermediate headlight deflection angle of the other headlights. The formula for calculating the second intermediate headlight deflection angle of the other headlights is as follows:

[0097] y″=C l ×y,

[0098] Where y″ is the deflection angle of the second middle headlight, and C l y is the deflection coefficient, and y is the initial headlight deflection angle.

[0099] In this embodiment, a low-pass filter is added to the headlight deflection angle of other sub-headlights to smooth their deflection angles, reduce abnormal data interference, and ensure the accuracy of headlight deflection. A low-pass filter is an electronic filter that allows signals below the cutoff frequency to pass through, but blocks signals above the cutoff frequency. The calculation formula for the filtering process is:

[0100] Sy″=y″+C s2 ×(Sy″ n-1 -y″),

[0101] Where Sy″ represents the headlight deflection angle of the other sub-headlights, y″ represents the deflection angle of the second middle headlight, and C s2 Sy″ represents the filter coefficients of the low-pass filter for the other sub-headlights. n-1 This refers to the headlight deflection angle of the other sub-headlights at the previous moment.

[0102] Among them, C s2 With C s1 They can be the same, C s2 With C s1 They can also be different.

[0103] S608. Control the headlight deflection according to the headlight deflection angle.

[0104] The description of S608 is the same as that of S104 above, and will not be repeated here.

[0105] In this embodiment, the initial headlight deflection angle is determined based on the target vehicle's speed and steering wheel rotation angle. The initial headlight deflection angle is then smoothed, and the headlight deflection angles of the target sub-headlight and other sub-headlights are calculated separately. The headlight deflection angle of the sub-headlights has a high degree of matching with the vehicle's steering wheel rotation angle and speed, resulting in high accuracy of the headlight deflection angle. This makes the headlight deflection smoother during vehicle movement, providing users with a better user experience.

[0106] See appendix Figure 7 , Figure 7 This illustration shows a structural block diagram of a headlight control device according to one embodiment of this application. For use in a vehicle, the device 700 includes:

[0107] The acquisition unit 701 is used to acquire the vehicle speed and the steering wheel rotation angle of the target vehicle.

[0108] The first determining unit 702 is used to determine the speed influence coefficient of the target vehicle based on the speed of the target vehicle.

[0109] The second determining unit 703 is used to determine the headlight deflection angle of the target vehicle based on the vehicle speed influence coefficient and the steering wheel rotation angle.

[0110] Control unit 704 is used to control the headlight deflection according to the headlight deflection angle.

[0111] Optionally, the first determining unit 702 is further configured to: if the speed of the target vehicle is less than or equal to a first preset speed, obtain a first speed influence coefficient as the speed influence coefficient; if the speed of the target vehicle is greater than or equal to a second preset speed, obtain a second speed influence coefficient as the speed influence coefficient, wherein the first preset speed is less than the second preset speed; if the speed of the target vehicle is greater than the first preset speed and less than the second preset speed, determine the speed influence coefficient based on the speed of the target vehicle and a preset interpolation function.

[0112] Optionally, the first determining unit 702 is further configured to construct a linear interpolation function based on the first preset vehicle speed, the second preset vehicle speed, the first vehicle speed influence coefficient, and the second vehicle speed influence coefficient, as a preset interpolation function.

[0113] The second determining unit 703 is also used to determine the normalized steering wheel rotation angle based on the vehicle speed influence coefficient and the steering wheel rotation angle; to obtain the initial headlight deflection angle of the headlight based on the normalized steering wheel rotation angle; and to determine the headlight deflection angle based on the initial headlight deflection angle and the steering wheel rotation angle.

[0114] The second determining unit 703 is also used to calculate the product of the vehicle speed influence coefficient and the steering wheel rotation angle; obtain the maximum steering wheel rotation angle of the target vehicle's steering wheel, calculate the quotient of the product and the maximum steering wheel rotation angle; calculate the product of the quotient and a preset constant as the normalized steering wheel rotation angle.

[0115] The second determining unit 703 is also used to fit the normalized steering wheel rotation angle according to the preset curve function to obtain the initial headlight deflection angle.

[0116] The preset curve function is:

[0117] y = A6x 6 +A5x 5 +A4x 4 +A3x 3 +A2x 2 +A1x+A0,

[0118] Where A0 to A6 are calibration coefficients, x is the normalized steering wheel rotation angle, and y is the initial headlight deflection angle.

[0119] The second determining unit 703 is further configured to determine the deflection direction of the target vehicle as the target deflection direction based on the steering wheel rotation angle; determine the sub-headlight corresponding to the target deflection direction among the multiple sub-headlights as the target sub-headlight; determine the headlight deflection angle of the target sub-headlight based on the initial headlight deflection angle; and determine the headlight deflection angle of other sub-headlights based on the initial headlight deflection angle and the deflection coefficients of other sub-headlights, wherein the other sub-headlights are the sub-headlights other than the target sub-headlight among the multiple sub-headlights.

[0120] The second determining unit 703 is further configured to: obtain the initial headlight deflection angle as the first intermediate headlight deflection angle of the target sub-headlight; obtain the headlight deflection angle of the target sub-headlight at the previous moment; calculate the difference between the first intermediate headlight deflection angle and the headlight deflection angle of the target sub-headlight at the previous moment as the first result; calculate the product of the preset low-pass filter coefficient of the target sub-headlight and the first result as the second result; and calculate the sum of the first intermediate headlight deflection angle of the target sub-headlight and the second result as the headlight deflection angle of the target sub-headlight.

[0121] The second determining unit 703 is further configured to obtain the initial headlight deflection angle and the deflection coefficients of other sub-headlights; calculate the product of the initial headlight deflection angle and the deflection coefficients of other sub-headlights as the second intermediate headlight deflection angle of the other sub-headlights; calculate the difference between the second intermediate headlight deflection angle and the headlight deflection angle of other sub-headlights at the previous moment as the third result; calculate the product of the preset low-pass filter coefficient of other sub-headlights and the third result as the fourth result; and calculate the sum of the second intermediate headlight deflection angle of other sub-headlights and the fourth result as the headlight deflection angle of other sub-headlights.

[0122] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working process of the above-described device and module can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.

[0123] Furthermore, the functions in the various embodiments of this application can be integrated into one processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The integrated module can be implemented in hardware or as a software functional module.

[0124] See appendix Figure 8 , Figure 8 This diagram illustrates a structural block diagram of a computer-readable storage medium according to an embodiment of this application. The computer-readable storage medium 800 stores program code that can be called by a processor to execute the methods described in the above method embodiments.

[0125] The computer-readable storage medium 800 may be an electronic memory such as flash memory, EEPROM (Electrically Erasable Programmable Read-Only Memory), EPROM, hard disk, or ROM. Optionally, the computer-readable storage medium 800 includes a non-transitory computer-readable storage medium. The computer-readable storage medium 800 has storage space for program code 810 that performs any of the method steps described above. This program code can be read from or written to one or more computer program products. The program code 810 may, for example, be compressed in a suitable form.

[0126] In summary, the headlight control method, device, vehicle, and computer-readable storage medium provided in this application, in this embodiment, periodically acquire the vehicle speed and steering wheel rotation angle of the target vehicle from the vehicle's electronic stability system. Based on a first preset vehicle speed, a second preset vehicle speed, a first vehicle speed influence coefficient, and a second vehicle speed influence coefficient, the steering wheel rotation angle is normalized to obtain a normalized steering wheel rotation angle. The normalized steering wheel rotation angle is then fitted using a preset curve function to obtain an initial headlight deflection angle. This initial headlight deflection angle is then smoothed, and the headlight deflection angles of the target sub-headlight and other sub-headlights are calculated separately. This more accurately determines the headlight deflection angle of the target vehicle, resulting in smoother headlight deflection and a better user experience.

[0127] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application.

Claims

1. A headlamp control method, characterized in that, The method includes: Obtain the speed of the target vehicle and the steering wheel rotation angle of the target vehicle; Based on the speed of the target vehicle, determine the speed influence coefficient of the target vehicle; calculate the product of the speed influence coefficient and the steering wheel rotation angle; Obtain the maximum rotation angle of the steering wheel of the target vehicle, and calculate the quotient of the product and the maximum rotation angle of the steering wheel; Calculate the product of the quotient and the preset constant, and use it as the normalized steering wheel rotation angle; The initial headlight deflection angle is obtained based on the naturalized steering wheel rotation angle. The headlight deflection angle is determined based on the initial headlight deflection angle and the steering wheel rotation angle. The headlight deflection is controlled based on the headlight deflection angle.

2. The headlamp control method according to claim 1, characterized in that, The step of obtaining the speed influence coefficient of the target vehicle based on the target vehicle's speed includes: If the speed of the target vehicle is less than or equal to the first preset speed, the first speed influence coefficient is obtained and used as the speed influence coefficient. If the speed of the target vehicle is greater than or equal to the second preset speed, the second speed influence coefficient is obtained and used as the speed influence coefficient, and the first preset speed is less than the second preset speed. If the target vehicle's speed is greater than a first preset speed and less than a second preset speed, the speed influence coefficient is determined based on the target vehicle's speed and the preset interpolation function.

3. The headlamp control method according to claim 2, characterized in that, The method for obtaining the preset interpolation function includes: A linear interpolation function is constructed based on the first preset vehicle speed, the second preset vehicle speed, the first vehicle speed influence coefficient, and the second vehicle speed influence coefficient, and is used as the preset interpolation function.

4. The headlamp control method according to claim 1, characterized in that, The initial headlight deflection angle is obtained based on the naturalized steering wheel rotation angle, including: The initial headlight deflection angle is obtained by fitting the normalized steering wheel rotation angle according to a preset curve function. The preset curve function is: , in, to All are calibration coefficients, where x is the normalized steering wheel rotation angle and y is the initial headlight deflection angle.

5. The headlamp control method according to claim 1, characterized in that, The headlight includes multiple sub-headlights corresponding to different deflection directions; determining the headlight deflection angle based on the initial headlight deflection angle and the steering wheel rotation angle includes: Based on the steering wheel rotation angle, the deflection direction of the target vehicle is determined as the target deflection direction; Among multiple sub-headlights, the sub-headlight corresponding to the target deflection direction is identified as the target sub-headlight; Based on the initial headlamp deflection angle, determine the headlamp deflection angle of the target sub-headlamp; Based on the initial headlight deflection angle and the deflection coefficients of other sub-headlights, the headlight deflection angles of the other sub-headlights are determined. The other sub-headlights are the sub-headlights other than the target sub-headlight among a plurality of sub-headlights.

6. The headlight control method according to claim 5, characterized in that, Determining the headlight deflection angle of the target sub-headlight based on the initial headlight deflection angle includes: The initial headlight deflection angle is obtained and used as the first intermediate headlight deflection angle of the target sub-headlight; Obtain the headlight deflection angle of the target sub-headlight at the previous moment; The difference between the first intermediate headlight deflection angle and the target sub-headlight deflection angle at the previous moment is calculated as the first result; The product of the preset low-pass filter coefficient of the target sub-headlight and the first result is calculated as the second result; The sum of the first intermediate headlight deflection angle of the target sub-headlight and the second result is calculated as the headlight deflection angle of the target sub-headlight.

7. The headlamp control method according to claim 5, characterized in that, The step of determining the headlight deflection angle of the other sub-headlights based on the initial headlight deflection angle and the deflection coefficients of the other sub-headlights includes: Obtain the initial headlight deflection angle and the deflection coefficients of other sub-headlights; Calculate the product of the initial headlight deflection angle and the deflection coefficients of the other sub-headlights, and use it as the second intermediate headlight deflection angle of the other sub-headlights; The difference between the deflection angle of the second intermediate headlight and the deflection angle of the other sub-headlights at the previous moment is calculated as the third result; The product of the preset low-pass filter coefficients of the other sub-headlights and the third result is calculated as the fourth result; The sum of the second intermediate headlight deflection angle of the other sub-headlights and the fourth result is calculated as the headlight deflection angle of the other sub-headlights.

8. A headlamp control device, characterized in that, The device includes: The acquisition unit is used to acquire the vehicle speed of the target vehicle and the steering wheel rotation angle of the target vehicle; The first determining unit is used to determine the speed influence coefficient of the target vehicle based on the speed of the target vehicle. The second determining unit is used to calculate the product of the vehicle speed influence coefficient and the steering wheel rotation angle; obtain the maximum steering wheel rotation angle of the target vehicle's steering wheel; calculate the quotient of the product and the maximum steering wheel rotation angle; calculate the product of the quotient and a preset constant as the normalized steering wheel rotation angle; obtain the initial headlight deflection angle of the headlights based on the normalized steering wheel rotation angle; and determine the headlight deflection angle based on the initial headlight deflection angle and the steering wheel rotation angle. A control unit is used to control the headlight deflection based on the headlight deflection angle.

9. A vehicle, characterized in that, The vehicles include: One or more processors; Memory; One or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, the one or more applications being configured to perform the method as described in any one of claims 1-7.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores processor-executable program code, which, when executed by the processor, causes the processor to perform the method according to any one of claims 1-7.

Citation Information

Patent Citations

  • Active steering head lamp lighting safety system and head lamp modules thereof

    CN103568934A

  • Headlamp rotation control method, device and system

    CN106828287A