Headlamp height adjustment fault processing method and device, headlamp controller and vehicle

By determining the fault type based on multi-dimensional signals and performing differentiated processing by the headlight controller, the problem of excessive functional failure caused by the existing headlight height adjustment fault handling method is solved, and high availability and driving safety are achieved in fault scenarios.

CN121106010APending Publication Date: 2025-12-12ZHEJIANG SMART INTELLIGENCE TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202511452934.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-10-11
Publication Date
2025-12-12

AI Technical Summary

Technical Problem

The existing headlight height adjustment fault handling method is a "one-size-fits-all" approach, which leads to excessive functional failure and makes it impossible to maintain high availability and driving safety in fault scenarios.

Method used

The headlight controller determines the fault type based on the power supply voltage, vehicle front overhang height, vehicle rear overhang height, vehicle suspension vertical angle, and vehicle speed signal, and implements differentiated fault handling measures, including handling intermittent power failure faults, overvoltage/undervoltage faults, vehicle speed signal verification faults, and suspension faults.

Benefits of technology

This effectively avoids excessive functional failures, improves the functionality and driving safety of the headlight height adjustment system, reduces unnecessary functional failures, and enhances the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121106010A_ABST
    Figure CN121106010A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a headlamp height adjustment fault processing method and device, a headlamp controller and a vehicle, and relates to the technical field of vehicles. The method is applied to a headlamp controller and comprises the steps that the fault type of headlamp height adjustment is determined based on the power supply voltage of the headlamp controller, the vehicle front overhang height, the vehicle rear overhang height, the vertical direction angle of a vehicle suspension and a vehicle speed signal, and fault processing is executed based on processing measures corresponding to the fault type. Wherein the fault type comprises at least one of an accidental power-off fault, an overvoltage / undervoltage fault, a vehicle speed signal verification fault and a suspension fault, and the suspension fault comprises a suspension signal loss fault and / or a suspension vertical direction angle verification fault. Through the method, the problem of excessive function failure caused by a one-step headlamp height adjustment fault processing method in the prior art is effectively solved, and the function availability and the driving safety of a headlamp height adjustment system are improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of vehicles, in particular to a headlight height adjustment fault processing method and device, a headlight controller and a vehicle. BACKGROUND

[0002] With the iteration of automobile intelligentization and active safety technology, the headlight has been upgraded from a single lighting tool to a dynamic lighting system. The headlight height adjustment is one of the essential functions of an automobile, and its performance is directly related to the night driving field of view and vehicle safety.

[0003] The current industry generally adopts a "one-size-fits-all" logic for headlight height adjustment fault processing strategy, that is, as long as a fault signal is detected, the function is immediately stopped or reset to the default position, regardless of whether the fault type is motor jamming, sensor transient drift or line temporary interference. The fault level and type are not distinguished, resulting in the same treatment of minor transient faults and fatal hardware faults, causing excessive failure of the function and unnecessary loss of basic adjustment function.

[0004] Therefore, how to realize the high availability and driving safety of the headlight height adjustment function in the fault scene is a technical problem to be solved. SUMMARY

[0005] The embodiments of the present application provide a headlight height adjustment fault processing method, device, headlight controller and vehicle to solve the technical problem of excessive failure of the function caused by the "one-size-fits-all" headlight height adjustment fault processing method in the prior art, and further improve the function availability and driving safety of the headlight height adjustment system.

[0006] In a first aspect, the embodiments of the present application provide a headlight height adjustment fault processing method applied to a headlight controller, and the method comprises:

[0007] Based on the supply voltage of the headlight controller, the front suspension height of the vehicle, the rear suspension height of the vehicle, the vertical direction angle of the suspension of the vehicle and the vehicle speed signal, the fault type of the headlight height adjustment is determined, the fault type comprises at least one of an occasional power failure fault, an overvoltage / undervoltage fault, a vehicle speed signal verification fault and a suspension fault, and the suspension fault comprises a suspension signal loss fault and / or a suspension vertical direction angle verification fault;

[0008] Based on the processing measures corresponding to the fault type, the fault processing is performed.

[0009] In a possible implementation, the headlight controller comprises a motor drive chip for controlling a front headlight assembly, and the front headlight assembly comprises an adjustment motor for controlling the height of the front headlight.

[0010] If the fault type includes an occasional power-off fault, based on the corresponding processing measure of the fault type, fault processing is performed, including:

[0011] According to the running state of the adjusting motor and the vehicle driving speed, the motor drive chip is processed, and an occasional power-off fault is sent to the instrument panel.

[0012] In a possible implementation, the headlamp controller includes a motor drive chip;

[0013] If the fault type includes an overvoltage / undervoltage fault, based on the corresponding processing measure of the fault type, fault processing is performed, including:

[0014] According to the power supply voltage of the headlamp controller, the motor drive chip is processed in stages, and an overvoltage / undervoltage fault is sent to the instrument panel.

[0015] In a possible implementation, the headlamp controller includes a motor drive chip for controlling a front headlamp assembly, and the front headlamp assembly includes an adjusting motor for controlling the height of the front headlamp;

[0016] If the fault type includes a vehicle speed signal verification fault, based on the corresponding processing measure of the fault type, fault processing is performed, including:

[0017] According to the initialization state of the adjusting motor and the vehicle use mode, the motor drive chip is processed, and a vehicle speed signal verification fault is sent to the instrument panel.

[0018] In a possible implementation, the headlamp controller includes a motor drive chip;

[0019] If the fault type includes a suspension fault, based on the corresponding processing measure of the fault type, fault processing is performed, including:

[0020] According to the front suspension height of the vehicle, the rear suspension height of the vehicle, and the vertical angle of the suspension of the vehicle, the motor drive chip is processed, and a suspension fault is sent to the instrument panel.

[0021] In a possible implementation, the processing of the motor drive chip according to the running state of the adjusting motor and the vehicle driving speed includes:

[0022] If the adjusting motor is in a static state, the motor drive chip is initialized and no diagnostic fault record is stored;

[0023] If the adjusting motor is in a running state and the vehicle running speed is greater than a preset running speed, the motor drive chip is controlled to prohibit the adjusting motor from moving, and a diagnostic fault record is stored; after the vehicle running speed is less than or equal to the preset running speed, the motor drive chip is initialized, the adjusting motor is controlled to move for initialization, and the stored diagnostic fault record is cleared;

[0024] If the adjusting motor is in a running state and the vehicle running speed is less than or equal to a preset running speed, the motor drive chip is initialized, the adjusting motor is controlled to move for initialization, and no diagnostic fault record is stored.

[0025] In a possible implementation, the headlamp controller comprises a plurality of timers, and the motor drive chip is processed in stages according to the supply voltage of the headlamp controller, comprising:

[0026] The voltage stage of the supply voltage of the headlamp controller is determined, and the voltage stage is an overvoltage stage or an undervoltage stage;

[0027] In the overvoltage stage, if the supply voltage is greater than a first preset value and less than a second preset value, a first timer is started and the motor drive chip is driven, wherein the first preset value is less than the second preset value;

[0028] After the motor drive chip is driven for a first preset time length, if the supply voltage is still greater than the first preset value and less than the second preset value, the motor drive chip is turned off;

[0029] During the process of driving the motor drive chip for the first preset time length, if the supply voltage is less than or equal to the first preset value, the first timer is controlled to reset and restart timing;

[0030] During the process of driving the motor drive chip for the first preset time length, if the supply voltage is greater than or equal to the second preset value, the first timer is controlled to continue timing.

[0031] In a possible implementation, the motor drive chip is processed in stages according to the supply voltage of the headlamp controller, and further comprising:

[0032] In the overvoltage stage, if the supply voltage is greater than or equal to the second preset value and less than a third preset value, a second timer is started and the motor drive chip is driven, wherein the second preset value is less than the third preset value;

[0033] After the motor drive chip is driven for a second preset time length, if the supply voltage is still greater than or equal to the second preset value and less than the third preset value, the motor drive chip is turned off;

[0034] In the process of driving the motor drive chip for the second preset time length, if the power supply voltage is less than the second preset value, the second timer is controlled to reset and restart timing;

[0035] In the process of driving the motor drive chip for the second preset time length, if the power supply voltage is greater than or equal to the third preset value, the second timer is controlled to continue timing;

[0036] The second preset time length is less than the first preset time length.

[0037] In a possible implementation, the processing of the motor drive chip in stages according to the power supply voltage of the headlamp controller further includes:

[0038] In the overvoltage stage, if the power supply voltage is greater than or equal to the third preset value, a third timer is started and the motor drive chip is driven;

[0039] After driving the motor drive chip for the third preset time length, if the power supply voltage is still greater than or equal to the third preset value, the motor drive chip is turned off;

[0040] In the process of driving the motor drive chip for the third preset time length, if the power supply voltage is less than the third preset value, the third timer is controlled to reset and restart timing;

[0041] The third preset time length is less than the second preset time length.

[0042] In a possible implementation, the processing of the motor drive chip in stages according to the power supply voltage of the headlamp controller further includes:

[0043] In the under-voltage stage, if the power supply voltage is greater than a fourth preset value and less than a fifth preset value, a fourth timer is started and the motor drive chip is driven, wherein the fourth preset value is less than the fifth preset value, and the fifth preset value is less than the first preset value;

[0044] After driving the motor drive chip for the fourth preset time length, if the power supply voltage is still greater than the fourth preset value and less than the fifth preset value, the motor drive chip is turned off;

[0045] In the process of driving the motor drive chip for the fourth preset time length, if the power supply voltage is greater than or equal to the fifth preset value, the fourth timer is controlled to reset and restart timing;

[0046] In the process of driving the motor drive chip for the fourth preset time length, if the power supply voltage is less than or equal to the fourth preset value, the fourth timer is controlled to continue timing.

[0047] In a possible implementation, the processing of the motor drive chip in stages according to the power supply voltage of the headlamp controller further includes:

[0048] In the under-voltage stage, if the power supply voltage is less than or equal to the fourth preset value, a fifth timer is started and the motor drive chip is driven;

[0049] After the motor drive chip is driven for the fifth preset time length, if the power supply voltage is still less than or equal to the fourth preset value, the motor drive chip is turned off;

[0050] In the process of driving the motor drive chip for the fifth preset time length, if the power supply voltage is greater than the fourth preset value, the fifth timer is controlled to reset and re-time;

[0051] The fifth preset time length is less than the fourth preset time length.

[0052] In a possible implementation, the processing of the motor drive chip according to the initialization state of the adjusting motor and the vehicle use mode includes:

[0053] After it is determined that the adjusting motor completes the initialization movement, if the vehicle use mode is a driving mode or a starting mode, the motor drive chip is driven;

[0054] If the vehicle use mode is a static mode, the motor drive chip is turned off.

[0055] In a possible implementation, the processing of the motor drive chip according to the front suspension height of the vehicle, the rear suspension height of the vehicle and the vertical direction angle of the vehicle suspension includes:

[0056] The vertical direction angle of the suspension is obtained based on the front suspension height of the vehicle, the rear suspension height of the vehicle and the center distance between the front and rear of the vehicle;

[0057] If the vertical direction angle of the suspension is equal to the vertical direction angle of the vehicle suspension and the vertical direction angle of the suspension is within a preset headlamp height logic value range, the motor drive chip is driven;

[0058] If the vertical direction angle of the suspension is not equal to the vertical direction angle of the vehicle suspension, or the vertical direction angle of the suspension is outside the headlamp height logic value range, the headlamp height is adjusted to a default position;

[0059] If any of the signals for the vehicle's front overhang height, rear overhang height, or vertical angle of the vehicle's suspension are lost, the headlight height will be adjusted to the default position.

[0060] Secondly, embodiments of this application provide a headlight height adjustment fault handling device, applied to a headlight controller, the device comprising:

[0061] The first processing module is used to determine the fault type of headlight height adjustment based on the power supply voltage of the headlight controller, the front overhang height of the vehicle, the rear overhang height of the vehicle, the vertical angle of the vehicle suspension, and the vehicle speed signal. The fault type includes at least one of the following: intermittent power failure, overvoltage / undervoltage fault, vehicle speed signal verification fault, and suspension fault. The suspension fault includes suspension signal loss fault and / or suspension vertical angle verification fault.

[0062] The second processing module is used to perform fault processing based on the processing measures corresponding to the fault type.

[0063] Thirdly, embodiments of this application provide a headlight controller, including: a memory and a processor;

[0064] The memory stores computer-executed instructions;

[0065] The processor executes computer execution instructions stored in the memory, causing the processor to perform the first aspect and / or various possible implementations of the first aspect as described above.

[0066] Fourthly, embodiments of this application provide a vehicle, including a vehicle body and the headlight controller described in the third aspect.

[0067] This application provides a headlight height adjustment fault handling method, device, headlight controller, and vehicle. The method, applied to the headlight controller, includes: determining the headlight height adjustment fault type based on the headlight controller's power supply voltage, vehicle front overhang height, vehicle rear overhang height, vehicle suspension vertical angle, and vehicle speed signal; and executing fault handling based on the corresponding handling measures for the fault type. The fault types include at least one of intermittent power outage faults, overvoltage / undervoltage faults, vehicle speed signal verification faults, and suspension faults. Suspension faults include suspension signal loss faults and / or suspension vertical angle verification faults. This method effectively solves the technical problem of excessive functional failure caused by the "one-size-fits-all" headlight height adjustment fault handling method in the prior art, improving the functional availability and driving safety of the headlight height adjustment system. Attached Figure Description

[0068] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0069] Figure 1 A schematic diagram illustrating a scenario for a headlight height adjustment fault handling method provided in this application;

[0070] Figure 2 A flowchart illustrating a headlight height adjustment fault handling method provided in this application. Figure 1 ;

[0071] Figure 3 A flowchart illustrating a headlight height adjustment fault handling method provided in this application. Figure 2 ;

[0072] Figure 4(a) is a flowchart illustrating a headlight height adjustment overvoltage fault handling method provided in this application. Figure 1 ;

[0073] Figure 4(b) is a flowchart illustrating a headlight height adjustment overvoltage fault handling method provided in this application. Figure 2 ;

[0074] Figure 4(c) is a flowchart illustrating a headlight height adjustment overvoltage fault handling method provided in this application. Figure 3 ;

[0075] Figure 5(a) is a flowchart illustrating a headlight height adjustment undervoltage fault handling method provided in this application. Figure 1 ;

[0076] Figure 5(b) is a flowchart illustrating a headlight height adjustment undervoltage fault handling method provided in this application. Figure 2 ;

[0077] Figure 6 A flowchart illustrating a headlight height adjustment fault handling method provided in this application. Figure 3 ;

[0078] Figure 7 Flowchart 4 of a headlight height adjustment fault handling method provided in this application;

[0079] Figure 8 A schematic diagram of a headlight height adjustment fault handling device provided in this application;

[0080] Figure 9 This is a schematic diagram of the structure of a headlight controller provided in this application.

[0081] The accompanying drawings have illustrated specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to specific embodiments. Detailed Implementation

[0082] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.

[0083] The application background of this application is explained as follows:

[0084] With the development of automotive intelligence, headlights have been upgraded from a single lighting tool to a dynamic lighting system. Headlight height adjustment is a core and essential function for ensuring driving safety at night and in low visibility environments. Its operational stability is directly related to the accuracy of vehicle lighting and road traffic safety.

[0085] During vehicle operation, headlight height needs to be dynamically adjusted based on multiple factors, including vehicle load, road conditions, suspension status, power supply voltage, motor status, and vehicle speed, to ensure optimal lighting for the driver under various conditions. For example, when the vehicle is fully loaded or traveling on bumpy roads, the headlight height needs to be lowered to avoid glare; when the vehicle is unloaded or traveling at high speed, the headlight height needs to be raised appropriately to expand the illumination range. Therefore, the reliability of the headlight height adjustment function directly affects driving safety and the user's driving experience.

[0086] Currently, the common headlight height adjustment fault handling strategies adopted in the industry are mostly "one-size-fits-all" logic, that is, once the headlight height adjustment function malfunctions, the function is immediately stopped or reset to the default position. This means that any fault will cause the headlight height adjustment function to fail, and there is no necessary self-recovery strategy. The headlight height adjustment function can only be restored by repair or vehicle restart.

[0087] Therefore, how to achieve high availability and driving safety of the headlight height adjustment function in fault scenarios is a technical problem that urgently needs to be solved.

[0088] Based on the aforementioned technical problems, the inventors, in researching how to achieve high availability and driving safety of the headlight height adjustment function under fault scenarios, discovered that by classifying headlight height adjustment faults according to factors such as vehicle suspension height, suspension angle, usage mode, driving speed, and the power supply voltage of the headlight controller, and implementing corresponding handling measures based on different fault types, this effectively solves the problem of excessive failure of the headlight height adjustment function and the difficulty in balancing functional availability and driving safety caused by a "one-size-fits-all" fault handling method. Based on this, this application provides a headlight height adjustment fault handling method, device, headlight controller, and vehicle.

[0089] Figure 1 This application provides a schematic diagram of a scenario for handling headlight height adjustment malfunctions, as shown in the example. Figure 1 As shown, the specific application scenarios of this application include a Vehicle Dynamics Domain Controller Module (VDDM), a Headlamp Control Module (HCM), a Body Domain Controller Module (CDM), a vehicle power supply, and a headlight assembly. Specifically, the chassis domain controller periodically sends the vehicle's front overhang height (SuspPosnVertLvlFrnt), rear overhang height (SuspPosnVertLvlRe), vertical suspension angle (SuspPosnVertAg), and vehicle speed (VehSpdLgt) to the body domain controller. The body domain controller sends control commands and the vehicle usage mode (usagemode) and forwards the suspension height, suspension angle, and vehicle speed to the headlight controller. The headlight controller includes a microcontroller unit and a motor drive chip, used to control the headlight assembly according to the control logic of the specified control commands. The headlight assembly includes a low beam headlight and an adjustment motor for controlling the headlight height. The vehicle power supply provides power to the headlight controller.

[0090] Specifically, the headlight controller automatically controls the headlight height based on signals such as the vehicle's front overhang height, rear overhang height, vertical angle of the vehicle's suspension, vehicle speed, vehicle usage mode, and the current headlight on status. Various faults can occur during headlight height adjustment, including external and internal system faults. The headlight controller executes corresponding fault handling measures according to the fault type, avoiding the technical problem of excessive functional failure caused by the "one-size-fits-all" headlight height adjustment fault handling method in the prior art.

[0091] The technical solution of this application and how it solves the above-mentioned technical problems will be described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of this application will be described below with reference to the accompanying drawings.

[0092] Figure 2 A flowchart illustrating a headlight height adjustment fault handling method provided in this application. Figure 1 This method is applied to headlight controllers, such as... Figure 2 As shown, the method includes:

[0093] S201: Based on the power supply voltage of the headlight controller, the vehicle's front overhang height, the vehicle's rear overhang height, the vehicle's suspension vertical angle, and the vehicle speed signal, determine the fault type of the headlight height adjustment. The fault type includes at least one of the following: intermittent power failure, overvoltage / undervoltage fault, vehicle speed signal verification fault, and suspension fault. The suspension fault includes suspension signal loss fault and / or suspension vertical angle verification fault.

[0094] In this step, the headlight controller's power supply voltage refers to the operating voltage provided by the vehicle's power supply to the headlight controller. This is the fundamental energy input ensuring the normal operation of the headlight height adjustment function, and its voltage range must comply with the vehicle's electrical system standards. The vehicle's front and rear overhang heights refer to the vertical distance between the bottom of the vehicle body and the ground when the front and rear suspensions are in operation, respectively. This data reflects the vehicle's attitude and is an important reference standard for headlight height adjustment. The vehicle suspension vertical angle refers to the tilt angle of the suspension system in the vertical direction, used to assist in judging the vehicle's attitude and further optimize the accuracy of the headlight height adjustment.

[0095] Specifically, the headlight controller receives real-time signals from the chassis domain controller, forwarded by the body domain controller, regarding the vehicle's front overhang height, rear overhang height, vertical suspension angle, and vehicle speed. These signals are transmitted via the vehicle's internal communication bus and its own hardware interface. The headlight controller also uses its internal voltage detection circuit to monitor the supply voltage in real-time (the monitoring frequency is typically 10Hz~100Hz to ensure the capture of instantaneous voltage fluctuations). The front overhang height, rear overhang height, and vertical suspension angle are collected by suspension height sensors (such as Hall effect sensors or ultrasonic sensors), while the vehicle speed signal includes real-time speed data and signal verification information.

[0096] Upon detecting a headlight height adjustment fault signal, the headlight controller determines the fault type based on the received suspension height information, suspension angle information, power supply voltage, and vehicle speed signal. The fault type includes at least one of the following: intermittent power failure, overvoltage / undervoltage fault, vehicle speed signal verification fault, and suspension fault. Suspension faults include suspension signal loss fault and / or suspension vertical angle verification fault.

[0097] S202: Based on the handling measures corresponding to the fault type, perform fault handling.

[0098] In this step, the handling measures corresponding to the fault type refer to the standardized response measures that are pre-set to match the different fault types identified in S201.

[0099] Specifically, the headlight controller determines the preset processing logic that matches the current fault type based on the mapping relationship between fault type and handling measures. Then, based on the processing logic, it performs fault handling operations in collaboration with the software module through the hardware interface to ensure the availability of the headlight height adjustment function and driving safety.

[0100] The headlight height adjustment fault handling method provided in this application embodiment is applied to a headlight controller. The method includes: upon detecting a headlight height adjustment fault signal, determining the fault type of the headlight height adjustment based on the headlight controller's power supply voltage, the vehicle's front overhang height, rear overhang height, vertical angle of the vehicle suspension forwarded by the chassis domain controller via the body domain controller, and a vehicle speed signal containing real-time vehicle speed data and verification information. The fault types include intermittent power failure, overvoltage / undervoltage fault, vehicle speed signal verification fault, and suspension fault (suspension signal loss fault and / or vertical angle verification fault). Subsequently, the headlight controller determines the matching processing logic based on the mapping relationship between the fault type and preset handling measures, and executes the fault handling operation collaboratively through a hardware interface and software module. By employing the above methods, through multi-dimensional signal acquisition and precise fault type determination, the "one-size-fits-all" approach that is often lacking in fault type differentiation in existing technologies is avoided. This approach can specifically identify faults with different causes and then implement differentiated handling measures. This not only effectively avoids secondary risks caused by the escalation of faults and ensures driving safety, but also maintains the availability of the headlight height adjustment function as much as possible in scenarios where the fault does not affect core safety, reducing unnecessary functional failures and improving the user experience.

[0101] Figure 3 A flowchart illustrating a headlight height adjustment fault handling method provided in this application. Figure 2 ,like Figure 2 As shown, in Figure 2Based on the implementation examples, if the fault type includes intermittent power outage faults, then fault handling is performed based on the handling measures corresponding to the fault type, specifically including:

[0102] In one possible implementation, the headlight controller includes a motor driver chip for controlling the headlight assembly, which includes an adjustment motor for controlling the headlight height. If the fault type includes intermittent power failure, the motor driver chip processes the information based on the operating status of the adjustment motor and the vehicle speed, and sends an intermittent power failure message to the instrument panel.

[0103] Intermittent power outage faults refer to a brief interruption of the vehicle's power supply during driving, without warning or continuity (usually lasting less than 100ms). This causes a short-term power outage in the headlight controller, and the motor drive chip, as the core component for headlight height adjustment, will also enter a short-term power outage state simultaneously due to the headlight controller's brief power outage. However, the vehicle's power supply, headlight controller, and motor drive chip can all quickly restore normal power supply afterward.

[0104] Meanwhile, the headlight controller will send occasional power failures to the instrument panel via the vehicle's internal communication bus, allowing the driver to be directly aware of the malfunction and ensuring that the driver can promptly grasp the abnormal status of the vehicle's headlight system.

[0105] S301: Determine the fault type of headlight height adjustment, including intermittent power failure.

[0106] S302: Determine whether the operating status of the regulating motor is in a stationary state.

[0107] If yes, then execute S303; otherwise, execute S304.

[0108] S303: Initializes the motor drive chip but does not store diagnostic fault records.

[0109] In other words, if the motor is stationary, the motor drive chip is initialized, and no diagnostic fault records are stored.

[0110] In this step, the adjustment motor is the core actuator that performs the headlight height adjustment action, and its operating status directly determines whether the headlight can achieve height change; the motor drive chip is a key electronic component that outputs drive signals (such as current and voltage control signals) to the adjustment motor, and is responsible for converting the adjustment command of the headlight controller into action signals that the motor can execute.

[0111] Specifically, due to an intermittent power outage in the vehicle's power supply, the motor drive chip also enters a short-term power outage state (a minor, non-continuous, non-faulty issue). During this time, the adjustment motor is stationary, but it does not lose steps and its position is controllable. Therefore, after the power is restored, simply initializing the motor drive chip—that is, the microcontroller unit inside the headlight controller rewrites the initial values ​​into the registers of the motor drive chip—ensures that it can subsequently receive and execute drive commands normally. This resolves the headlight height adjustment fault when the adjustment motor is stationary during an intermittent power outage. Simultaneously, this abnormal situation is not recorded in the diagnostic fault log to avoid unnecessary redundancy and reduce ineffective troubleshooting during subsequent maintenance.

[0112] S304: Determine whether the vehicle speed is greater than the preset speed.

[0113] If yes, then execute S305; otherwise, execute S306.

[0114] Understandably, the prerequisite for headlight height adjustment is that the adjustment motor completes its initial movement. This means the motor moves from its current position to its physical limit, then to its lower physical limit, and finally returns to the default position according to the set parameters. This allows the headlight controller to accurately grasp the movement range boundaries and current absolute position of the adjustment motor. One of the prerequisites for completing the adjustment motor's initial movement is that the vehicle must be operating at a low speed to ensure basic driving safety.

[0115] Specifically, during the initialization process of the adjustment motor, the headlight height changes drastically within a short period (rapidly rising from the lower physical limit to the upper physical limit, which can momentarily stun drivers in the opposite lane, or rapidly descending from the upper physical limit to the lower physical limit, making it impossible for drivers to see the road ahead), posing a safety hazard. Low-speed driving can mitigate safety risks in high-speed scenarios and stabilize the vehicle's posture, which is a prerequisite for ensuring the safety of the adjustment motor's initialization process. Therefore, the preset driving speed in this step must meet the requirements of low-speed vehicle operation; generally, most automakers set the preset driving speed to 4 km / h.

[0116] S305: Control the motor drive chip to prevent the motor from moving and store diagnostic fault records; after the vehicle speed is less than or equal to the preset speed, initialize the motor drive chip, then control the motor to move in the initialization mode and clear the stored diagnostic fault records.

[0117] In other words, if the regulating motor is running and the vehicle speed is greater than the preset speed, the motor drive chip will prevent the regulating motor from moving and store the diagnostic fault record. After the vehicle speed is less than or equal to the preset speed, the motor drive chip will be initialized, and the regulating motor will be initialized and the stored diagnostic fault record will be cleared.

[0118] Due to an intermittent power outage in the vehicle's power supply, the motor drive chip also enters a short-term power-off state. During this time, the regulating motor is running. After the intermittent power outage, the microcontroller unit inside the headlight controller cannot determine the position of the regulating motor when the motor drive chip lost power, causing the regulating motor to lose steps and become uncontrollable. Therefore, when an intermittent power outage occurs, the headlight controller needs to control the motor drive chip to prevent the regulating motor from moving, cut off the drive signal to the motor drive chip, lock the current state to prevent the uncontrolled position from escalating, and simultaneously store fault diagnosis records for quick fault location. Since the intermittent power outage previously prevented the headlight controller from determining the regulating motor's position, the motor drive chip is initialized after the vehicle speed is less than or equal to 4 km / h. Then, the regulating motor is controlled to perform initialization movement (moving from the currently locked position to the physical limit position, then to the physical lower limit position, and finally to the default position according to the set parameters). After the headlight controller finds the regulating motor's position, it controls the motor drive chip to resume the regulating motor's movement and clears the fault diagnosis records to avoid redundant fault information affecting subsequent diagnosis.

[0119] S306: Initializes the motor drive chip, then controls and adjusts the motor to perform initialization motion, without storing diagnostic fault records.

[0120] In other words, if the regulating motor is in operation and the vehicle speed is less than or equal to the preset speed, the motor drive chip is initialized, and then the regulating motor is controlled to perform initialization movement, without storing diagnostic fault records.

[0121] As mentioned in S305, when the regulating motor is running and there is an occasional power outage, the microcontroller unit inside the headlight controller cannot determine the position of the regulating motor when the motor drive chip was powered off. At this time, the vehicle speed is less than or equal to 4 km / h, which meets the prerequisite for the regulating motor to initialize its movement. Therefore, the headlight controller initializes the motor drive chip and then controls the regulating motor to initialize its movement, thus regaining the position of the regulating motor. This allows the headlight controller to calculate the required rotation angle and direction of the regulating motor based on real-time operating conditions during vehicle movement (such as changes in suspension height and vehicle speed). The headlight controller then uses the motor drive chip to adjust and control the motor to control the headlight height, ensuring that the headlight height always matches the current driving requirements. Simultaneously, this abnormal situation is not recorded in the diagnostic fault log, avoiding unnecessary redundancy in fault records and reducing ineffective troubleshooting work during subsequent maintenance.

[0122] The headlight height adjustment fault handling method provided in this application embodiment, if the fault type includes intermittent power failure, first determines the operating status of the adjustment motor. If the adjustment motor is stationary, the adjustment motor will not lose steps and its position is controllable. Only the motor driver chip is initialized and no diagnostic fault record is stored. If the adjustment motor is running, it further determines whether the vehicle speed is greater than a preset low-speed threshold. If the vehicle speed is greater than the threshold, the motor driver chip is first controlled to prevent the adjustment motor from moving and the fault record is stored. After the vehicle speed drops below the threshold, the motor driver chip is initialized and the adjustment motor is controlled to perform initialization movement. After completion, the fault record is cleared. If the vehicle speed is less than or equal to the threshold, the motor driver chip is directly initialized and the adjustment motor is controlled to perform initialization movement. No fault record is stored. At the same time, throughout the process, the headlight controller will send the intermittent power failure fault to the instrument panel through the vehicle's internal communication bus so that the driver is aware of the fault status. By using the above methods, different recovery strategies were formulated based on the operating status of the regulating motor and the vehicle's driving speed, realizing differentiated handling of occasional power outage faults. This ensures the self-recovery of the regulating motor under occasional power outage faults without having to wait for the next driving cycle, improving the headlight system's fault tolerance to momentary faults and maximizing the stable operation of the headlight height adjustment function.

[0123] exist Figure 1 Based on the implementation examples, if the fault type includes overvoltage / undervoltage faults, then fault handling is performed based on the handling measures corresponding to the fault type, specifically including:

[0124] like Figure 2 As mentioned in the embodiment, the headlight controller includes a motor drive chip. If the fault type includes overvoltage / undervoltage fault, the motor drive chip is processed in stages according to the power supply voltage of the headlight controller, and an overvoltage / undervoltage fault is sent to the instrument panel.

[0125] Overvoltage / undervoltage faults refer to situations where the headlight controller's supply voltage is outside the normal supply voltage range. Overvoltage faults mean the headlight controller's supply voltage exceeds the upper limit of its safe operating voltage. Excessively high voltage may exceed the withstand voltage threshold of the motor drive chip and microcontroller unit, easily leading to component breakdown, burnout, or malfunction. Undervoltage faults mean the headlight controller's supply voltage is below the lower limit of its safe operating voltage. Insufficient voltage may not provide enough driving force for the electronic components, causing the motor drive chip to fail to output a normal drive signal, resulting in the motor operating weakly, stalling, or even failing to start. An example headlight controller with a supply voltage within the normal supply voltage range is defined as: [9V, 16V].

[0126] At the same time, the headlight controller sends overvoltage / undervoltage faults to the instrument panel through the vehicle's internal communication bus, so that the driver can intuitively know that the vehicle has the fault and ensure that the driver can keep abreast of the abnormal status of the vehicle's headlight system.

[0127] In one possible implementation, determining the fault type of the headlight height adjustment includes an overvoltage / undervoltage fault, and determining the voltage stage of the headlight controller's power supply voltage, which is either an overvoltage stage or an undervoltage stage.

[0128] If the power supply voltage of the headlight controller exceeds the upper limit of the safe operating voltage, the fault type of the headlight height adjustment is determined to be an overvoltage fault, that is, the power supply voltage of the headlight controller is in the overvoltage stage; if the power supply voltage of the headlight controller is lower than the lower limit of the safe operating voltage, the fault type of the headlight height adjustment is determined to be an undervoltage fault, that is, the power supply voltage of the headlight controller is in the undervoltage stage.

[0129] If the headlight height adjustment fault type is an overvoltage fault, that is, the power supply voltage of the headlight controller is in the overvoltage stage, the specific fault handling measures include any one of the following three situations (Figures 4(a) to 4(c)):

[0130] Figure 4(a) is a flowchart illustrating a headlight height adjustment overvoltage fault handling method provided in this application. Figure 3 As shown in Figure 4(a), the specific measures for handling overvoltage faults include:

[0131] S401: Determine the overvoltage stage of the supply voltage.

[0132] S402: If the power supply voltage is greater than the first preset value and less than the second preset value, then start the first timer and drive the motor driver chip, wherein the first preset value is less than the second preset value.

[0133] The headlight controller includes multiple timers, which can be implemented using hardware timing chips or software program timing units. Each timer has its own independent timing cycle setting and start / stop control logic, and can be used simultaneously or separately as needed.

[0134] In one specific implementation of this solution, if the power supply voltage is greater than a first preset value and less than a second preset value, then the power supply voltage of the headlight controller is determined to be in the first overvoltage stage. It can be understood that the first and second preset values ​​are two pre-set power supply voltage thresholds, and the first preset value is less than the second preset value. Together, they constitute a voltage range used to determine whether the current power supply voltage is in the first overvoltage stage.

[0135] For example, the first preset value can be the upper limit of the normal power supply voltage range, such as 16V, and the second preset value can be the internal setting parameter pHSDMaxVlt of the headlight controller, such as 20.2V. If the power supply voltage is in the first overvoltage stage, the first timer is started and the motor driver chip is driven to ensure that the headlight height adjustment function is not affected and to avoid function interruption due to a brief overvoltage that does not exceed the safety limit.

[0136] S403: During the first preset duration of the drive motor drive chip, determine whether the supply voltage exceeds the supply voltage range of the first overvoltage stage.

[0137] If yes, execute S4041 or S4042; otherwise, execute S405.

[0138] The first preset duration refers to the pre-set timing period of the first timer during the first overvoltage stage. Although the first overvoltage stage exceeds the normal supply voltage range, the deviation is relatively small, falling within the range of minor overvoltage. It is unlikely to cause headlight height adjustment malfunction in a short time. Therefore, there is no need to set an excessively short timing period to trigger the protection action immediately. Based on this, the first preset duration can be set slightly longer, such as 60 minutes + 3 seconds. This allows the vehicle sufficient time to recover (e.g., overvoltage caused by brief load fluctuations, followed by the voltage returning to the normal supply voltage range), preventing unnecessary interruptions to the headlight height adjustment function due to frequent triggering of the protection mechanism caused by brief, non-continuous minor overvoltages. Simultaneously, through continuous monitoring over a longer period, it ensures that the voltage remains within the minor overvoltage range (beyond the possibility of self-recovery) before triggering the protection mechanism. This achieves a balance between ensuring hardware safety and maintaining functional availability, neither ignoring overvoltage risks nor over-handling minor anomalies.

[0139] S4041: If the power supply voltage is less than or equal to the first preset value, control the first timer to reset and restart the timing.

[0140] During the first preset duration of the drive motor drive chip, if the supply voltage is less than or equal to 16V (first preset value), it indicates that the overvoltage condition of the headlight controller's supply voltage has temporarily returned to the normal supply voltage range. To avoid accidental triggering of subsequent protection mechanisms due to non-continuous overvoltage, and to ensure accurate re-monitoring of overvoltage conditions, the first timer is reset and restarted, returning to its initial state. When the supply voltage reaches the first overvoltage stage range again, the timer restarts from 0. This ensures the accuracy of monitoring and avoids interference with the judgment of the true continuous overvoltage condition due to a brief drop in voltage. It ensures that subsequent protection logic is only executed when the supply voltage is indeed continuously in the first overvoltage stage and reaches the first preset duration, thus protecting hardware safety while reducing unnecessary functional interruptions.

[0141] S4042: If the power supply voltage is greater than or equal to the second preset value, control the first timer to continue counting.

[0142] If, during the first preset duration of the drive motor driver chip, the supply voltage is greater than or equal to the pHSDMaxVlt value of 20.2V (the second preset value), it indicates that the voltage abnormality that was originally in the first overvoltage stage has further intensified. In this case, the first timer is controlled to continue counting without resetting, so as to avoid the previously accumulated overvoltage duration being cleared, missing the timely judgment of long-term overvoltage, and increasing the risk of damage to hardware such as the motor driver chip.

[0143] S405: If, after a first preset time period, the power supply voltage is still greater than the first preset value and less than the second preset value, then the motor drive chip is turned off.

[0144] After the first preset timeout period for the drive motor driver chip ends, if the supply voltage remains greater than 16V (first preset value) and less than 20.2V (second preset value), meaning that within the 60min + 3s timeout period of the first timer, the headlight controller's supply voltage neither drops back to the normal voltage range nor escalates to a more severe overvoltage state, it indicates that the overvoltage fault in the first overvoltage stage is a continuous, slight overvoltage. Although it will not immediately damage core components such as the motor driver chip and microcontroller unit in a short period of time, prolonged overvoltage can lead to increased heat generation in the motor driver chip, accelerated component aging, and even potential risks such as decreased circuit stability. Therefore, if the supply voltage remains greater than the first preset value and less than the second preset value after the first preset timeout period for the drive motor driver chip, the motor driver chip is shut down, the motor stops working, and an overvoltage fault is reported to the instrument panel.

[0145] Figure 4(b) is a flowchart illustrating a headlight height adjustment overvoltage fault handling method provided in this application. Figure 1 As shown in Figure 4(b), the specific measures for handling overvoltage faults include:

[0146] S401: Determine the overvoltage stage of the supply voltage.

[0147] S412: If the power supply voltage is greater than or equal to the second preset value and less than the third preset value, then start the second timer and drive the motor driver chip, wherein the second preset value is less than the third preset value.

[0148] In one specific implementation of this solution, if the supply voltage is greater than or equal to a second preset value and less than a third preset value, the headlight controller's supply voltage is determined to be in the second overvoltage stage. It is understood that the third preset value is also a pre-set supply voltage threshold, and the second preset value is less than the third preset value; together, they constitute a voltage range used to determine whether the current supply voltage is in the second overvoltage stage. For example, the third preset value can be a value greater than 20.2V, such as 26.5V. If the supply voltage is in the second overvoltage stage, a second timer is started and the motor driver chip is driven to ensure that the headlight height adjustment function is not affected, avoiding functional interruption due to a brief overvoltage that does not exceed the safety limit.

[0149] S413: During the second preset duration of the drive motor drive chip, determine whether the supply voltage exceeds the supply voltage range of the second overvoltage stage.

[0150] If yes, execute S4141 or S4142; otherwise, execute S415.

[0151] The second preset duration refers to the timing period of the second timer set in advance during the second overvoltage stage. Since the lower limit of the voltage in the second overvoltage stage is greater than or equal to the second preset value, the deviation from the normal power supply voltage range is relatively large, and the potential risk of damage to core components such as motor drive chips and microcomputer control units is also relatively high. Therefore, the second preset duration is shorter than the first preset duration, for example, 1 min + 3 s. This can, to some extent, avoid the immediate triggering of protection actions due to instantaneous and extremely short voltage jumps, and can also activate subsequent protection mechanisms more quickly when it is confirmed that the power supply voltage is indeed continuously in the second overvoltage stage.

[0152] S4141: If the power supply voltage is less than the second preset value, control the second timer to reset and start timing again.

[0153] S4142: If the power supply voltage is greater than or equal to the third preset value, control the second timer to continue counting.

[0154] S415: If, after a second preset time period, the power supply voltage is still greater than or equal to the second preset value and less than the third preset value, then the motor drive chip is turned off.

[0155] It is understandable that the technical principles and effects of S4141 and S4041, S4142 and S4042, and S405 and S415 are similar, so they will not be elaborated here.

[0156] Figure 4(c) is a flowchart illustrating a headlight height adjustment overvoltage fault handling method provided in this application. Figure 2 As shown in Figure 4(c), the specific measures for handling overvoltage faults include:

[0157] S401: Determine the overvoltage stage of the supply voltage.

[0158] S422: If the power supply voltage is greater than or equal to the third preset value, the third timer is started and the motor driver chip is driven.

[0159] In one specific implementation of this solution, if the power supply voltage is greater than or equal to a third preset value, the power supply voltage of the headlight controller is determined to be in the third overvoltage stage. If the power supply voltage is in the third overvoltage stage, the third timer is started and the motor driver chip is driven to ensure that the headlight height adjustment function is not affected, and to avoid functional interruption due to a brief overvoltage that does not exceed the safety limit.

[0160] S423: During the third preset duration of the drive motor driver chip, determine whether the supply voltage exceeds the supply voltage range of the third overvoltage stage.

[0161] If yes, then execute S424; otherwise, execute S425.

[0162] The third preset duration refers to the pre-set timing period of the third timer during the third overvoltage stage. Since the lower voltage limit of the third overvoltage stage is greater than or equal to the third preset value, it represents the stage with the largest deviation from the normal supply voltage range among all overvoltage stages. The risk of damage to core components such as the motor drive chip and microcontroller unit is far higher than in the first and second overvoltage stages. Even a very short duration of this deviation can lead to irreversible failures such as hardware breakdown and burnout. Therefore, the third preset duration is shorter than the second preset duration. That is, compared to the first preset duration (suitable for minor overvoltage, longer duration) and the second preset duration (suitable for moderate overvoltage, shorter duration), the third preset duration is the shortest, for example, 400ms, to minimize the time the high voltage affects the hardware and activate the protection mechanism.

[0163] S424: If the power supply voltage is less than the third preset value, control the third timer to reset and start timing again.

[0164] S425: If the power supply voltage is still greater than or equal to the third preset value after the third preset time period of the motor drive chip, the motor drive chip will be turned off.

[0165] It is understandable that the technical principles and effects of S424 and S4041, and S425 and S405 are similar, so they will not be elaborated here.

[0166] The embodiments in Figures 4(a) to 4(c) all employ a layered approach to handle overvoltage faults in headlight height adjustment. Multiple preset voltage thresholds are used to divide the overvoltage fault into three stages: a first overvoltage stage, a second overvoltage stage, and a third overvoltage stage. Based on the overvoltage stage of the headlight controller's power supply voltage, a corresponding timer is activated, and the motor drive chip is temporarily kept running normally. During the timer's counting process, the power supply voltage is continuously monitored to ensure it does not deviate from the current overvoltage stage's voltage range. If the power supply voltage falls below the lower limit of the current overvoltage stage, the corresponding timer is reset and restarted. If the power supply voltage rises above the upper limit of the current overvoltage stage, the corresponding timer continues counting without interrupting the accumulation of overvoltage duration. If the power supply voltage remains stable within the current overvoltage stage range after the counting process ends, the motor drive chip is shut down, and an overvoltage fault is reported, terminating the continued impact of overvoltage on core components such as the microcontroller unit and the motor drive chip. By using the above method, the working time of the motor drive chip is controlled according to the severity of the overvoltage of the headlight controller's power supply voltage. This avoids the continuous impact on the hardware under overvoltage faults and reduces unnecessary shutdowns of the motor drive chip through layered processing and dynamic monitoring. This ensures the normal operation of the headlight height adjustment function under non-extreme overvoltage conditions and achieves a balance between the accuracy of overvoltage fault handling and functional protection.

[0167] If the headlight height adjustment fault type is an undervoltage fault, that is, the power supply voltage of the headlight controller is in the undervoltage stage, the specific fault handling measures include either of the following two situations (Figure 5(a) and Figure 5(b)):

[0168] Figure 5(a) is a flowchart illustrating a headlight height adjustment undervoltage fault handling method provided in this application. Figure 6 As shown in Figure 5(a), the specific measures for handling undervoltage faults include:

[0169] S501: Determines the undervoltage stage of the supply voltage.

[0170] S502: If the power supply voltage is greater than the fourth preset value and less than the fifth preset value, then start the fourth timer and drive the motor driver chip, wherein the fourth preset value is less than the fifth preset value and the fifth preset value is less than the first preset value.

[0171] In one specific implementation of this scheme, if the supply voltage is greater than a fourth preset value but less than a fifth preset value, then the supply voltage of the headlight controller is determined to be in the first undervoltage stage. It can be understood that the fourth and fifth preset values ​​are two pre-set supply voltage thresholds, and the fourth preset value is less than the fifth preset value. Together, they constitute a voltage range used to determine whether the current supply voltage is in the first undervoltage stage. Since the fifth preset value is the upper limit of the first undervoltage stage and the first preset value is the lower limit of the first overvoltage stage, it is clear that the fifth preset value is less than the first preset value.

[0172] For example, the fifth preset value can be the lower limit of the normal power supply voltage range, such as 9V, and the fourth preset value can be another internal setting parameter of the headlight controller, pHSDMinvolt, such as 8V. If the power supply voltage is in the first undervoltage stage, the fourth timer is started and the motor driver chip is driven to ensure that the headlight height adjustment function is not affected, and to avoid function interruption due to a brief undervoltage that does not exceed the safety lower limit.

[0173] S503: During the fourth preset duration of the drive motor driver chip, determine whether the supply voltage exceeds the supply voltage range of the first undervoltage stage.

[0174] If yes, execute S5041 or S5042; otherwise, execute S505.

[0175] The fourth preset duration refers to the pre-set timing period of the fourth timer during the first undervoltage stage. Although the first undervoltage stage exceeds the normal power supply voltage range, the deviation is relatively small, falling within the range of slight undervoltage, and will not cause abnormal headlight height adjustment function in a short period of time. Similar to the setting logic of the first preset duration mentioned in S4031, the fourth preset duration can also be set slightly longer, such as 60min + 3s, which neither ignores the risk of undervoltage nor over-handles slight abnormalities.

[0176] S5041: If the power supply voltage is greater than or equal to the fifth preset value, the fourth timer will be reset and the timing will restart.

[0177] During the fourth preset duration of the drive motor drive chip, if the supply voltage is greater than or equal to 9V (the fifth preset value), it indicates that the undervoltage condition of the headlight controller's supply voltage has temporarily returned to the normal supply voltage range. In order to avoid the subsequent protection mechanism being triggered due to non-continuous undervoltage, and to ensure that the undervoltage condition can be accurately monitored again, the fourth timer is reset and starts counting again, so that the fourth timer returns to its initial state. When the supply voltage reaches the range of the first undervoltage stage again, the timer starts counting again from 0. This ensures the accuracy of monitoring and avoids interference with the judgment of the true continuous undervoltage condition due to the brief increase in voltage. It ensures that the subsequent protection logic will only be executed when the supply voltage is indeed continuously in the first undervoltage stage and reaches the fourth preset duration.

[0178] S5042: If the power supply voltage is less than or equal to the fourth preset value, control the fourth timer to continue counting.

[0179] If the power supply voltage is less than or equal to the pHSDMinvolt value of 8V (fourth preset value) during the first preset duration of the drive motor driver chip, it indicates that the voltage abnormality that was originally in the first undervoltage stage has further intensified. In this case, the fourth timer is controlled to continue timing without resetting, so as to avoid the previously accumulated undervoltage duration being cleared and missing the timely judgment of long-term undervoltage. This would cause the motor driver chip to experience malfunctions such as stunted operation, insufficient driving force, or even component damage due to insufficient power supply under continuous low voltage, thus affecting the safety of vehicle lighting.

[0180] S505: If the power supply voltage is still greater than the fourth preset value and less than the fifth preset value after the fourth preset time period of the motor drive chip, then the motor drive chip will be turned off.

[0181] If, after the fourth preset timeout period for the drive motor driver chip ends, the supply voltage remains greater than the fourth preset value but less than the fifth preset value (meaning that during the 60min + 3s timeout period of the fourth timer), the headlight controller's supply voltage neither rises to the normal voltage range nor falls back to a more severe undervoltage state, this indicates that the undervoltage fault in the first undervoltage stage is a persistent, slight undervoltage. While this may not cause operational stalling, insufficient driving force, or even component damage in the short term due to insufficient power supply, prolonged, slight undervoltage will prevent the motor driver chip from obtaining sufficient driving energy, leading to a decrease in the stability of the output motor drive signal. This, in turn, causes the regulating motor to slow down, stall, or even intermittently stop, resulting in deviations in headlight height adjustment accuracy and affecting the adaptability of headlight illumination during driving. Furthermore, prolonged low voltage supply may also lead to unstable internal circuit operation, accelerate the aging and wear of electronic components, and shorten the lifespan of the motor driver chip and headlight controller. Therefore, if, after the fourth preset timeout period for the drive motor driver chip, the supply voltage remains greater than the fourth preset value but less than the fifth preset value, the motor driver chip is shut down, the regulating motor stops working, and an undervoltage fault is reported to the instrument panel.

[0182] Figure 5(b) is a flowchart illustrating a headlight height adjustment undervoltage fault handling method provided in this application. Figure 3 As shown in Figure 5(b), the specific measures for handling undervoltage faults include:

[0183] S501: Determines the undervoltage stage of the supply voltage.

[0184] S512: If the power supply voltage is less than or equal to the fourth preset value, then start the fifth timer and drive the motor driver chip.

[0185] In one specific implementation of this solution, if the power supply voltage is less than or equal to the fourth preset value, the power supply voltage of the headlight controller is determined to be in the second undervoltage stage. If the power supply voltage is in the second undervoltage stage, the fifth timer is started and the motor driver chip is driven to ensure that the headlight height adjustment function is not affected, and to avoid functional interruption due to a brief undervoltage that does not exceed the safety lower limit.

[0186] S513: During the fifth preset duration of the drive motor driver chip, determine whether the supply voltage exceeds the supply voltage range of the second undervoltage stage.

[0187] If yes, then execute S514; otherwise, execute S515.

[0188] The fifth preset duration refers to the pre-set timing period of the fifth timer during the second undervoltage phase. Since the upper voltage limit of the second undervoltage phase is less than or equal to the fourth preset value, it represents the phase with the largest deviation from the normal supply voltage range during the current undervoltage phase. Its continued existence for a very short time could cause malfunctions such as motor drive chip malfunction and insufficient driving force. Therefore, the fifth preset duration is shorter than the fourth preset duration, for example, 1 second, to minimize the impact time of low voltage on core components such as the motor drive chip and microcontroller unit, thus activating the protection mechanism.

[0189] S514: If the power supply voltage is greater than the fourth preset value, control the fifth timer to reset and start timing again.

[0190] S515: If the power supply voltage is still less than or equal to the fourth preset value after the fifth preset time period of the motor driver chip, the motor driver chip will be turned off.

[0191] It is understandable that the technical principles and effects of S514 and S5041, and S515 and S505 are similar, so they will not be elaborated here.

[0192] Both the embodiments in Figure 5(a) and Figure 5(b) employ a layered processing approach for undervoltage faults in headlight height adjustment. Undervoltage faults are divided into a first undervoltage stage and a second undervoltage stage based on preset voltage thresholds. Then, depending on the undervoltage stage of the headlight controller's power supply voltage, a corresponding timer is started, and the motor drive chip is temporarily kept running normally. During the timer's counting process, the power supply voltage is continuously monitored to ensure it does not deviate from the current undervoltage stage's voltage range. If the power supply voltage falls below the lower limit of the current undervoltage stage, the corresponding timer continues counting without interrupting the accumulation of undervoltage duration. If the power supply voltage rises above the upper limit of the current undervoltage stage, the corresponding timer is reset and starts counting again. If the power supply voltage remains stable within the current undervoltage stage range after the counting ends, the motor drive chip is shut down and an undervoltage fault is reported, terminating the continued impact of undervoltage on the microcontroller unit and the motor drive chip. By using the above method, the working time of the motor drive chip is controlled according to the severity of the undervoltage of the headlight controller's power supply voltage. This avoids the continuous impact on the hardware under undervoltage faults and reduces unnecessary shutdowns of the motor drive chip through layered processing and dynamic monitoring. This ensures the normal operation of the headlight height adjustment function under non-extreme undervoltage conditions and achieves a balance between the accuracy of undervoltage fault handling and functional protection.

[0193] Figure 6 A flowchart illustrating a headlight height adjustment fault handling method provided in this application. Figure 2 ,like Figure 7 As shown, in Figure 7Based on the implementation examples, if the fault type includes a vehicle speed signal verification fault, then fault handling will be performed based on the handling measures corresponding to the fault type, specifically including:

[0194] In one possible implementation, the headlight controller includes a motor driver chip for controlling the headlight assembly, which includes an adjustment motor for controlling the headlight height. Based on the initialization state of the adjustment motor and the vehicle usage mode, the motor driver chip processes the data and sends a vehicle speed signal to the instrument panel to check for faults.

[0195] Vehicle speed signal verification failure refers to a type of fault that occurs when the headlight controller acquires and verifies the vehicle speed signal, such as the loss of the vehicle speed signal, which makes it impossible to accurately determine the actual speed of the vehicle.

[0196] As mentioned in S304, the prerequisite for headlight height adjustment is that the adjustment motor completes its initial movement. One of the prerequisites for completing the adjustment motor's initial movement is that the vehicle must be running at a low speed, such as 4 km / h. Another prerequisite is to ensure that the vehicle speed signal verification is successful.

[0197] Specifically, the headlight controller performs E2E verification on the vehicle speed signal using an end-to-end (E2E) verification algorithm. As mentioned in S201, the vehicle speed signal received by the headlight controller includes real-time vehicle speed data and signal verification information. The verification information includes a checksum, an incrementing counter, and a unique signal identifier. The headlight controller performs E2E verification on the vehicle speed signal in the following four aspects: 1) Checking whether the unique signal identifier matches the preset vehicle speed signal identifier, and confirming whether the vehicle speed value is within a reasonable range (e.g., 0 km / h to 250 km / h), ruling out incorrect reception of other signals or abnormal values; 2) Comparing the currently received counter with the previously received counter to determine if it is continuous. If there is a jump or repetition, it is identified as data loss or duplication; 3) Recalculating the checksum for the original vehicle speed data and comparing it with the received checksum. If they are inconsistent, it is determined that an error occurred in the signal transmission; 4) Monitoring the vehicle speed signal reception time interval. If no new vehicle speed signal is received within the preset time limit, it is determined that the vehicle speed signal is lost. If any of the above checks fails, the vehicle speed signal E2E check is deemed to have failed.

[0198] Therefore, when the headlight controller determines that the vehicle speed signal E2E verification has failed, i.e., the vehicle speed signal verification is faulty, the adjustment motor cannot complete the initialization movement. Consequently, the headlight height adjustment function will also fail. At this time, the headlight controller processes the motor drive chip according to the initialization status of the adjustment motor and the vehicle usage mode, and sends the vehicle speed signal verification fault to the instrument panel through the vehicle's internal communication bus, so that the driver can intuitively know that the vehicle has this fault and ensure that the driver can promptly grasp the abnormal status of the vehicle's headlight system.

[0199] S601: Determine the fault type for headlight height adjustment, including vehicle speed signal verification fault.

[0200] S602: After confirming that the regulating motor has completed the initialization motion, determine whether the vehicle usage mode is stationary mode.

[0201] If yes, then execute S603; otherwise, execute S604.

[0202] S603: Disable motor driver chip.

[0203] In other words, if the vehicle is in stationary mode, the motor drive chip will be turned off.

[0204] When the vehicle is in a stationary mode, such as when parked and the engine is off or while waiting, the headlight height does not need to be dynamically adjusted according to the vehicle's status. It can remain at a fixed position suitable for stationary scenarios. However, due to a vehicle speed signal verification fault, the basis for headlight height adjustment is lost, which would compromise the headlight height's adaptability to stationary lighting conditions. Therefore, when the fault type for headlight height adjustment is determined to include a vehicle speed signal verification fault, and the vehicle is in a stationary mode, the headlight controller shuts down the motor drive chip and sends both the vehicle speed signal verification fault and headlight height adjustment fault information to the instrument panel. This avoids unnecessary power consumption and prevents abnormal operation of the adjustment motor without proper control commands, ensuring the headlight system remains in a stable, low-power, and safe state in stationary mode, avoiding unnecessary fault risks or functional abnormalities.

[0205] S604: Motor driver chip.

[0206] In other words, if the vehicle is in driving mode or start-up mode, then the drive motor drive chip will be activated.

[0207] When the vehicle is in driving or start mode, headlight height adjustment is a necessary function to ensure driving safety. Therefore, this function should not be interrupted directly due to a single signal anomaly (vehicle speed signal verification fault). Although the vehicle acceleration defaults to 0 due to the vehicle speed signal verification fault, rendering acceleration a useless reference for headlight height adjustment, the vehicle suspension height and angle signals still serve as important references. In other words, the basic headlight height adjustment function is normal. Therefore, the headlight controller needs to control the drive motor chip and send the vehicle speed signal verification fault to the instrument panel. This achieves a balance between ensuring driving safety and timely fault feedback, prioritizing the basic lighting needs during dynamic vehicle operation.

[0208] The headlight height adjustment fault handling method provided in this application embodiment, if the fault type includes a vehicle speed signal verification fault, after confirming that the adjustment motor has completed its initialization movement, controls the motor drive chip according to the vehicle usage mode. If the vehicle usage mode is driving mode or starting mode, the motor drive chip is driven; if the vehicle usage mode is stationary mode, the motor drive chip is turned off. Simultaneously, throughout the process, the headlight controller sends the vehicle speed verification fault to the instrument panel via the vehicle's internal communication bus, allowing the driver to be aware of the fault status. Through this method, a balance is achieved between accurate handling of vehicle speed verification faults and driving safety and functional availability.

[0209] Figure 2 The flowchart of a headlight height adjustment fault handling method provided in this application is shown in Figure 4. Figure 8 As shown, in Figure 8 Based on the implementation examples, if the fault type includes a suspension fault, then fault handling is performed based on the handling measures corresponding to the fault type, specifically including:

[0210] In one possible implementation, the headlight controller includes a motor drive chip. The motor drive chip processes information based on the vehicle's front overhang height, rear overhang height, and vertical angle of the suspension, and sends a suspension fault report to the instrument panel.

[0211] As mentioned in S201, suspension faults include suspension signal loss faults and / or suspension vertical angle verification faults. A suspension signal loss fault refers to the loss of any one of the signals received by the headlight controller when receiving the vehicle's front overhang height, rear overhang height, or suspension vertical angle. This may be caused by sensor malfunctions, wiring problems, etc. A suspension vertical angle verification fault refers to a situation where the vertical angle calculated by the headlight controller based on the received front and rear overhang heights is inconsistent with the received vertical angle, making the suspension vertical angle unusable as a valid reference. When a suspension fault is included, the headlight controller processes the motor drive chip based on the vehicle's front and rear overhang heights and suspension vertical angle, and sends the suspension fault information to the instrument panel via the vehicle's internal communication bus. This allows the driver to be directly aware of the fault and ensures timely understanding of any abnormalities in the vehicle's headlight system.

[0212] S701: Determine the type of fault in headlight height adjustment, including suspension faults.

[0213] S702: Determine if any of the following signals is lost: vehicle front overhang height, vehicle rear overhang height, and vehicle suspension vertical angle.

[0214] If yes, then determine that the suspension fault is a suspension signal loss fault and execute S703; if no, then execute S704.

[0215] S703: Controls headlight height adjustment to the default position.

[0216] In other words, if any of the signals for the vehicle's front overhang height, rear overhang height, or vertical angle of the vehicle's suspension is lost, the headlight height will be adjusted to the default position.

[0217] In this step, the default position refers to the fixed lighting angle or height value pre-calibrated before the vehicle leaves the factory. It is used to provide a stable lighting angle that meets the basic safety lighting requirements of the vehicle when there is a lack of real-time vehicle body posture and suspension status. This avoids lighting deviations caused by unfounded adjustments and ensures that the core lighting function is not interrupted. It is a safety backup setting in the event of suspension signal loss.

[0218] When any of the signals for the vehicle's front overhang height, rear overhang height, or vertical suspension angle is lost, the headlight controller lacks sufficient suspension status reference data and cannot accurately calculate the impact of the current vehicle posture on the headlight height. Continued adjustment may lead to deviations in the lighting angle. In this situation, adjusting the headlight height to the default position while simultaneously sending a suspension signal loss fault report to the instrument panel is a safety fallback strategy implemented in the event of signal loss. This avoids the safety risks caused by unfounded adjustments while ensuring basic lighting functions and preventing excessive impact from signal loss on driving illumination.

[0219] S704: Obtain the vertical angle of the suspension based on the vehicle's front overhang height, rear overhang height, and front and rear center wheelbase.

[0220] The vertical angle of the suspension refers to the angle formed between the vehicle's suspension system and a baseline (usually the horizontal reference line when the vehicle is stationary or the longitudinal centerline of the vehicle body) in the vertical direction. It is used to quantitatively reflect the tilt state of the vehicle body caused by factors such as load changes and road surface undulations, and is an important parameter for achieving precise lighting adjustment. The front and rear wheelbase refers to the horizontal distance between the centers of the front and rear wheels in the longitudinal plane of symmetry of the vehicle. It is used to help determine the tilt state of the vehicle body, thereby providing data support for headlight height adjustment.

[0221] Specifically, the vertical angle of the suspension The calculation formula is:

[0222]

[0223] Where H1 represents the front overhang height of the vehicle; H2 represents the rear overhang height of the vehicle; and L represents the front and rear center wheelbase of the vehicle.

[0224] S705: Determine whether the vertical angle of the suspension is equal to the vertical angle of the vehicle suspension, and whether the vertical angle of the suspension is within the preset headlight height logic value range.

[0225] If yes, then execute S706; otherwise, execute S707.

[0226] The headlight height logic value range refers to a vehicle-specific attribute parameter that is fixed in the headlight control system before the vehicle leaves the factory. Essentially, it is a set of specific numerical ranges that are pre-calibrated based on core factors such as the vehicle chassis structure characteristics, suspension system operating range, and safety lighting standards. It is used to determine whether the vertical angle of the suspension is within a safe and effective range for adjusting the headlight height.

[0227] S706: Motor driver chip.

[0228] In other words, if the vertical angle of the suspension is equal to the vertical angle of the vehicle suspension, and the vertical angle of the suspension is within the preset headlight height logic value range, then the drive motor drive chip will be activated.

[0229] If the vertical angle of the suspension equals the vertical angle of the vehicle suspension, it indicates that the vertical angle of the suspension calculated by the headlight controller using the vehicle's front overhang height, rear overhang height, and center wheelbase matches the received vertical angle of the vehicle suspension, eliminating errors in angle data caused by calculation deviations or signal distortion. Simultaneously, the calculated vertical angle of the suspension falling within the preset headlight height logic value range serves as a judgment of adjustment feasibility, indicating that the vehicle's current body tilt is within a reasonable adjustment range.

[0230] Therefore, when both conditions are met, it indicates that the suspension angle data is accurate and the adjustment is safe and feasible. As a result, the headlight controller will drive the motor drive chip to control the adjustment motor, thereby achieving headlight height adjustment that matches the current vehicle posture and ensuring that the driving lighting is adapted to the actual vehicle conditions.

[0231] S707: Controls headlight height adjustment to the default position.

[0232] In other words, if the vertical angle of the suspension is not equal to the vertical angle of the vehicle suspension, or if the vertical angle of the suspension is outside the logical value range of the headlight height, then the headlight height will be adjusted to the default position.

[0233] S707, the corresponding step to S706, is a safety fallback control measure taken by the headlight controller when suspension angle-related conditions are not met. Specifically, if the suspension vertical angle is not equal to the vehicle's vertical angle, it indicates a discrepancy between the vertical angle calculated by the headlight controller using the vehicle's front overhang height, rear overhang height, and center wheelbase, and the received vertical angle. This discrepancy may be due to signal transmission errors, abnormal calculation logic, or other reasons causing distorted angle data. Adjusting the headlight height based on this vertical angle could easily lead to lighting deviations. Furthermore, if the suspension vertical angle is outside the headlight height logic range, it indicates that the current vehicle tilt exceeds the safety adjustment range specified before the vehicle left the factory. Even if the suspension vertical angle equals the vehicle's vertical angle, continued adjustment may cause glare or insufficient headlight illumination, which does not comply with safety regulations.

[0234] Therefore, when either of these two conditions is met, it indicates that the premise for precise and safe adjustment based on the current suspension angle is no longer available. As a result, the headlight controller will abandon the conventional adjustment logic and control the headlight height adjustment to the preset default position. At the same time, it will send a vertical angle verification fault of the suspension to the instrument panel. This can avoid the risks caused by incorrect adjustment, ensure basic lighting functions, and achieve a balance between functional safety and lighting requirements by cooperating with fault feedback.

[0235] The headlight height adjustment fault handling method provided in this application embodiment, if the fault type includes suspension fault, and if any of the signals for the vehicle's front overhang height, rear overhang height, or vertical angle of the suspension is lost, then the headlight height is adjusted to the default position. Otherwise, the vertical angle of the suspension is calculated by combining the vehicle's front overhang height, rear overhang height, and front and rear center wheelbase. It is then determined whether the calculated vertical angle matches the received vertical angle of the vehicle's suspension and whether it falls within the preset headlight height logic value range. If both conditions are met, the drive motor drive chip performs precise adjustment; otherwise, it remains adjusted to the default position. Throughout the process, the suspension fault (suspension signal loss fault or suspension vertical angle verification fault) is simultaneously sent to the instrument panel. This method avoids lighting deviations caused by unfounded adjustments, ensures basic lighting safety by relying on the factory-calibrated default position and logic value range, and provides real-time fault feedback for timely repair. It achieves a balance between safety, reliability, and fault traceability in headlight height adjustment under suspension fault conditions, adapting to the lighting needs of vehicles with different suspension states.

[0236] Figure 9 This application provides a schematic diagram of a headlight height adjustment fault handling device, which is applied to a headlight controller, such as... Figure 9 As shown, the headlight height adjustment fault handling device 80 provided in this embodiment includes:

[0237] The first processing module 801 is used to determine the fault type of headlight height adjustment based on the power supply voltage of the headlight controller, the front overhang height of the vehicle, the rear overhang height of the vehicle, the vertical angle of the vehicle suspension, and the vehicle speed signal. The fault type includes at least one of the following: intermittent power failure, overvoltage / undervoltage fault, vehicle speed signal verification fault, and suspension fault. The suspension fault includes suspension signal loss fault and / or suspension vertical angle verification fault.

[0238] The second processing module 802 is used to perform fault processing based on the processing measures corresponding to the fault type.

[0239] In one possible implementation, the headlight controller includes a motor drive chip for controlling the headlight assembly, which includes an adjustment motor for controlling the headlight height.

[0240] If the fault type includes intermittent power outage faults, then the second processing module 802 is specifically used for:

[0241] Based on the operating status of the motor and the vehicle speed, the motor drive chip is processed, and an intermittent power failure is sent to the instrument panel.

[0242] In one possible implementation, the headlight controller includes a motor drive chip;

[0243] If the fault type includes overvoltage / undervoltage fault, then the second processing module 802 is specifically used for:

[0244] Based on the power supply voltage of the headlight controller, the motor drive chip is processed in stages, and an overvoltage / undervoltage fault is sent to the instrument panel.

[0245] In one possible implementation, the headlight controller includes a motor drive chip for controlling the headlight assembly, which includes an adjustment motor for controlling the headlight height.

[0246] If the fault type includes a vehicle speed signal verification fault, then the second processing module 802 is specifically used for:

[0247] Based on the initialization state of the motor and the vehicle usage mode, the motor drive chip is processed, and a vehicle speed signal is sent to the instrument panel to verify faults.

[0248] In one possible implementation, the headlight controller includes a motor drive chip;

[0249] If the fault type includes suspension fault, then the second processing module 802 is specifically used for:

[0250] The motor drive chip is processed based on the vehicle's front overhang height, rear overhang height, and vertical angle of the suspension, and a suspension fault is sent to the instrument panel.

[0251] In one possible implementation, the second processing module 802 is specifically used for:

[0252] If the motor is stationary, the motor drive chip is initialized and no diagnostic fault records are stored.

[0253] If the regulating motor is running and the vehicle speed is greater than the preset speed, the motor driver chip will prevent the regulating motor from moving and store the diagnostic fault record. After the vehicle speed is less than or equal to the preset speed, the motor driver chip will be initialized, and the regulating motor will be initialized again, clearing the stored diagnostic fault record.

[0254] If the regulating motor is running and the vehicle speed is less than or equal to the preset speed, the motor drive chip is initialized, and then the regulating motor is controlled to perform initialization movement without storing diagnostic fault records.

[0255] In one possible implementation, the second processing module 802 is specifically used for:

[0256] Determine the voltage stage of the headlight controller's power supply voltage, whether it is an overvoltage stage or an undervoltage stage;

[0257] During the overvoltage phase, if the supply voltage is greater than the first preset value and less than the second preset value, the first timer is started and the motor driver chip is driven, wherein the first preset value is less than the second preset value.

[0258] If, after a first preset time period, the power supply voltage is still greater than the first preset value and less than the second preset value, the motor drive chip is turned off.

[0259] If the power supply voltage is less than or equal to the first preset value during the first preset duration of the drive motor drive chip, the first timer is reset and the timing restarts.

[0260] If the power supply voltage is greater than or equal to the second preset value during the first preset duration of the drive motor drive chip, the first timer will be controlled to continue counting.

[0261] In one possible implementation, the second processing module 802 is specifically used for:

[0262] During the overvoltage phase, if the supply voltage is greater than or equal to the second preset value and less than the third preset value, the second timer is started and the motor driver chip is driven, wherein the second preset value is less than the third preset value.

[0263] If, after a second preset time period, the power supply voltage is still greater than or equal to the second preset value and less than the third preset value, the motor drive chip is turned off.

[0264] If the power supply voltage is less than the second preset value during the second preset duration of the drive motor drive chip, the second timer will be reset and the timing will restart.

[0265] If the power supply voltage is greater than or equal to the third preset value during the second preset duration of the drive motor drive chip, the second timer will be controlled to continue counting.

[0266] The second preset duration is shorter than the first preset duration.

[0267] In one possible implementation, the second processing module 802 is specifically used for:

[0268] During the overvoltage phase, if the supply voltage is greater than or equal to the third preset value, the third timer is started and the motor driver chip is driven.

[0269] If the power supply voltage is still greater than or equal to the third preset value after the third preset time period of the motor driver chip, the motor driver chip will be turned off.

[0270] If the power supply voltage is less than the third preset value during the third preset duration of the drive motor drive chip, the third timer will be reset and the timing will restart.

[0271] The third preset duration is shorter than the second preset duration.

[0272] In one possible implementation, the second processing module 802 is specifically used for:

[0273] During the undervoltage phase, if the supply voltage is greater than the fourth preset value and less than the fifth preset value, the fourth timer is started and the motor driver chip is driven, wherein the fourth preset value is less than the fifth preset value and the fifth preset value is less than the first preset value.

[0274] If, after the fourth preset time period of the motor drive chip, the power supply voltage is still greater than the fourth preset value and less than the fifth preset value, the motor drive chip will be turned off.

[0275] If the power supply voltage is greater than or equal to the fifth preset value during the fourth preset duration of the drive motor drive chip, the fourth timer will be reset and the timing will restart.

[0276] If the power supply voltage is less than or equal to the fourth preset value during the fourth preset duration of the drive motor drive chip, the fourth timer will continue to count down.

[0277] In one possible implementation, the second processing module 802 is specifically used for:

[0278] During the undervoltage phase, if the supply voltage is less than or equal to the fourth preset value, the fifth timer is started and the motor driver chip is driven.

[0279] If the power supply voltage is still less than or equal to the fourth preset value after the fifth preset time period of the motor drive chip, the motor drive chip will be turned off.

[0280] If the power supply voltage is greater than the fourth preset value during the fifth preset duration of the drive motor drive chip, the fifth timer will be reset and the timing will restart.

[0281] The fifth preset duration is shorter than the fourth preset duration.

[0282] In one possible implementation, the second processing module 802 is specifically used for:

[0283] After confirming that the motor has completed its initialization motion, if the vehicle is in driving mode or start mode, then drive the motor driver chip.

[0284] If the vehicle is in stationary mode, the motor drive chip will be turned off.

[0285] In one possible implementation, the second processing module 802 is specifically used for:

[0286] The vertical angle of the suspension is obtained based on the vehicle's front overhang height, rear overhang height, and front and rear center wheelbase.

[0287] If the vertical angle of the suspension is equal to the vertical angle of the vehicle suspension, and the vertical angle of the suspension is within the preset headlight height logic value range, then the drive motor drive chip will be activated.

[0288] If the vertical angle of the suspension is not equal to the vertical angle of the vehicle suspension, or if the vertical angle of the suspension is outside the logical value range of the headlight height, then the headlight height will be adjusted to the default position.

[0289] If any of the signals for the vehicle's front overhang height, rear overhang height, or vertical angle of the vehicle's suspension are lost, the headlight height will be adjusted to the default position.

[0290] The headlight height adjustment fault handling device provided in this embodiment can execute the method provided in the above method embodiment. Its implementation principle and technical effect are similar, and will not be described again in this embodiment.

[0291] ​ This application provides a schematic diagram of the structure of a headlight controller, as shown below. ​ As shown, the headlight controller 90 provided in this embodiment includes at least one processor 901 and a memory 902. Optionally, the headlight controller 90 further includes a communication component 903. The processor 901, memory 902, and communication component 903 are connected via a bus 904.

[0292] In a specific implementation, at least one processor 901 executes computer execution instructions stored in memory 902, causing at least one processor 901 to perform the above-described method.

[0293] The specific implementation process of processor 901 can be found in the above method embodiments, and its implementation principle and technical effect are similar. It will not be repeated here.

[0294] In the above embodiments, it should be understood that the processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), etc. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in this invention can be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules within the processor.

[0295] The memory may include random access memory (RAM) and may also include non-volatile memory (NVM), such as at least one disk storage device.

[0296] 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. Buses can be categorized as address buses, data buses, control buses, etc. For ease of illustration, the buses shown in the accompanying drawings are not limited to a single bus or a single type of bus.

[0297] This application also provides a vehicle, including a vehicle body and the headlight controller mentioned in the previous embodiment.

[0298] Finally, it should be noted that other embodiments of the invention will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This invention is intended to cover any variations, uses, or adaptations of the invention that follow the general principles of the invention and include common knowledge or customary techniques in the art not disclosed herein, and is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of the invention is limited only by the appended claims.

Claims

1. A method for handling headlight height adjustment malfunctions, characterized in that, Applied to a headlight controller, the method includes: Based on the power supply voltage of the headlight controller, the front overhang height of the vehicle, the rear overhang height of the vehicle, the vertical angle of the vehicle suspension, and the vehicle speed signal, the fault type of the headlight height adjustment is determined. The fault type includes at least one of the following: intermittent power failure, overvoltage / undervoltage fault, vehicle speed signal verification fault, and suspension fault. The suspension fault includes suspension signal loss fault and / or suspension vertical angle verification fault. Based on the handling measures corresponding to the fault type, fault handling is performed.

2. The method according to claim 1, characterized in that, The headlight controller includes a motor drive chip for controlling the headlight assembly, the headlight assembly including an adjustment motor for controlling the headlight height; If the fault type includes intermittent power outage faults, then fault handling is performed based on the handling measures corresponding to the fault type, including: Based on the operating status of the motor and the vehicle speed, the motor drive chip is processed, and an intermittent power failure is sent to the instrument panel.

3. The method according to claim 1, characterized in that, The headlight controller includes a motor drive chip; If the fault type includes overvoltage / undervoltage fault, then fault handling is performed based on the handling measures corresponding to the fault type, including: Based on the power supply voltage of the headlight controller, the motor drive chip is processed in stages, and an overvoltage / undervoltage fault is sent to the instrument panel.

4. The method according to claim 1, characterized in that, The headlight controller includes a motor drive chip for controlling the headlight assembly, the headlight assembly including an adjustment motor for controlling the headlight height; If the fault type includes a vehicle speed signal verification fault, then based on the handling measures corresponding to the fault type, fault handling is performed, including: Based on the initialization state of the motor and the vehicle usage mode, the motor drive chip is processed, and a vehicle speed signal is sent to the instrument panel to verify faults.

5. The method according to claim 1, characterized in that, The headlight controller includes a motor drive chip; If the fault type includes a suspension fault, then fault handling is performed based on the handling measures corresponding to the fault type, including: The motor drive chip is processed based on the vehicle's front overhang height, rear overhang height, and vertical angle of the vehicle's suspension, and a suspension fault is sent to the instrument panel.

6. The method according to claim 2, characterized in that, The step of processing the motor drive chip based on the operating state of the motor and the vehicle speed includes: If the regulating motor is in a stationary state, the motor drive chip is initialized and no diagnostic fault records are stored. If the regulating motor is running and the vehicle speed is greater than the preset speed, the motor driver chip is controlled to prevent the regulating motor from moving and the diagnostic fault record is stored. After the vehicle speed is less than or equal to the preset speed, the motor driver chip is initialized and the regulating motor is then controlled to perform initialization movement, and the stored diagnostic fault record is cleared. If the regulating motor is in operation and the vehicle speed is less than or equal to the preset speed, the motor drive chip is initialized, and then the regulating motor is controlled to perform initialization movement, without storing diagnostic fault records.

7. The method according to claim 3, characterized in that, The headlight controller includes multiple timers. The step of processing the motor drive chip in stages according to the power supply voltage of the headlight controller includes: Determine the voltage stage of the power supply voltage of the headlight controller, wherein the voltage stage is either an overvoltage stage or an undervoltage stage; During the overvoltage phase, if the supply voltage is greater than a first preset value and less than a second preset value, then the first timer is started and the motor driver chip is driven, wherein the first preset value is less than the second preset value. If, after driving the motor driver chip for a first preset time, the power supply voltage is still greater than the first preset value and less than the second preset value, then the motor driver chip is turned off. During the first preset duration of driving the motor driver chip, if the power supply voltage is less than or equal to the first preset value, the first timer is controlled to reset and start timing again. During the first preset duration of driving the motor drive chip, if the power supply voltage is greater than or equal to a second preset value, the first timer is controlled to continue timing.

8. The method according to claim 7, characterized in that, The step of processing the motor drive chip in stages according to the power supply voltage of the headlight controller also includes: During the overvoltage phase, if the supply voltage is greater than or equal to the second preset value and less than the third preset value, then the second timer is started and the motor driver chip is driven, wherein the second preset value is less than the third preset value; If, after driving the motor driver chip for a second preset time, the power supply voltage is still greater than or equal to the second preset value and less than the third preset value, then the motor driver chip is turned off. During the second preset duration of driving the motor driver chip, if the power supply voltage is less than the second preset value, the second timer is controlled to reset and start timing again. During the second preset duration of driving the motor driver chip, if the power supply voltage is greater than or equal to a third preset value, the second timer is controlled to continue timing. The second preset duration is less than the first preset duration.

9. The method according to claim 8, characterized in that, The step of processing the motor drive chip in stages according to the power supply voltage of the headlight controller also includes: During the overvoltage phase, if the supply voltage is greater than or equal to the third preset value, the third timer is started and the motor drive chip is driven. If the power supply voltage is still greater than or equal to the third preset value after driving the motor driver chip for a third preset time, then the motor driver chip is turned off. If the power supply voltage is less than the third preset value during the process of driving the motor driver chip for a third preset duration, the third timer is controlled to reset and start timing again. The third preset duration is less than the second preset duration.

10. The method according to any one of claims 7 to 9, characterized in that, The step of processing the motor drive chip in stages according to the power supply voltage of the headlight controller also includes: During the undervoltage phase, if the supply voltage is greater than the fourth preset value and less than the fifth preset value, then the fourth timer is started and the motor driver chip is driven, wherein the fourth preset value is less than the fifth preset value and the fifth preset value is less than the first preset value; If, after driving the motor driver chip for a fourth preset time, the power supply voltage is still greater than the fourth preset value and less than the fifth preset value, then the motor driver chip is turned off. During the fourth preset duration of driving the motor driver chip, if the power supply voltage is greater than or equal to the fifth preset value, the fourth timer is controlled to reset and start timing again. During the process of driving the motor driver chip for a fourth preset duration, if the power supply voltage is less than or equal to the fourth preset value, the fourth timer is controlled to continue counting.

11. The method according to claim 10, characterized in that, The step of processing the motor drive chip in stages according to the power supply voltage of the headlight controller also includes: During the undervoltage phase, if the supply voltage is less than or equal to the fourth preset value, the fifth timer is started and the motor drive chip is driven. If the power supply voltage is still less than or equal to the fourth preset value after driving the motor driver chip for a fifth preset time, then the motor driver chip is turned off. If the power supply voltage is greater than the fourth preset value during the fifth preset duration of driving the motor driver chip, the fifth timer is controlled to reset and start timing again. The fifth preset duration is less than the fourth preset duration.

12. The method according to claim 4, characterized in that, The step of processing the motor drive chip based on the initialization state of the motor and the vehicle usage mode includes: After the adjustment motor completes its initialization motion, if the vehicle is in driving mode or starting mode, then the motor driver chip is driven. If the vehicle is in stationary mode, then the motor drive chip is turned off.

13. The method according to claim 5, characterized in that, The step of processing the motor drive chip based on the vehicle's front overhang height, rear overhang height, and vertical angle of the vehicle's suspension includes: Based on the vehicle's front overhang height, the vehicle's rear overhang height, and the vehicle's front and rear center wheelbase, the vertical angle of the suspension is obtained. If the vertical angle of the suspension is equal to the vertical angle of the vehicle suspension, and the vertical angle of the suspension is within the preset headlight height logic value range, then the motor drive chip is driven. If the vertical angle of the suspension is not equal to the vertical angle of the vehicle suspension, or if the vertical angle of the suspension is outside the logical value range of the headlight height, then the headlight height is adjusted to the default position. If any of the signals for the vehicle's front overhang height, rear overhang height, or vertical angle of the vehicle's suspension are lost, the headlight height will be adjusted to the default position.

14. A headlight height adjustment fault handling device, characterized in that, Applied to a headlight controller, the device includes: The first processing module is used to determine the fault type of headlight height adjustment based on the power supply voltage of the headlight controller, the front overhang height of the vehicle, the rear overhang height of the vehicle, the vertical angle of the vehicle suspension, and the vehicle speed signal. The fault type includes at least one of the following: intermittent power failure, overvoltage / undervoltage fault, vehicle speed signal verification fault, and suspension fault. The suspension fault includes suspension signal loss fault and / or suspension vertical angle verification fault. The second processing module is used to perform fault processing based on the processing measures corresponding to the fault type.

15. A headlight controller, characterized in that, include: Memory, processor; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory, causing the processor to perform the method as described in any one of claims 1 to 13.

16. A vehicle, characterized in that, Includes the vehicle body and the headlight controller as described in claim 15.

Citation Information

Patent Citations

  • Fault treating method of self-adaptive headlamp system

    CN101823458A

  • Limp control method and system for vehicle height adjustment fault and controller

    CN118769790A

  • Multi-stage overvoltage protection circuit used for electric automobile motor control system

    CN203722208U

  • Motor power protection module for adjusting position of automobile headlamp

    CN222785763U

  • Automatic leveling device for automotive vehicle headlamps

    US6305823B1