Compensation method and device for wire harness voltage drop and vehicle

By predicting the voltage drop of the wiring harness and adjusting the supply voltage, the undervoltage problem of the power supply module caused by the voltage drop of the wiring harness was solved, and the stability and reliability of the power supply were achieved.

CN121799321APending Publication Date: 2026-04-07SHANGHAI KOSTAL HUAYANG AUTOMOTIVE ELECTRIC +1
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-01-15
Publication Date
2026-04-07

AI Technical Summary

Technical Problem

The problem of the power supply module failing to work properly due to excessive voltage drop in the automotive wiring harness.

Method used

By predicting the voltage drop of the wiring harness, the supply voltage is adjusted to compensate for the voltage drop, ensuring that the supply voltage is always higher than the minimum threshold. A wiring harness voltage drop compensation device and method, including a memory and a processor, are used to monitor and adjust the supply voltage in real time.

Benefits of technology

This improves the stability of power supply, avoids prolonged undervoltage situations, and ensures the normal operation of the power supply module.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121799321A_ABST
    Figure CN121799321A_ABST
Patent Text Reader

Abstract

The invention discloses a wire harness voltage drop compensation method and device and a vehicle, and relates to the field of voltage control, and the method comprises the steps: determining the voltage drop of a wire harness in an environment where the current vehicle is located; when the powered module is powered, the power supply module is controlled to output power supply voltage to the powered module based on the voltage drop; if the working voltage is lower than or equal to the minimum threshold voltage, the power supply voltage is adjusted; if the working voltage is higher than the minimum threshold voltage, the power supply voltage is kept unchanged. The voltage drop of the wire harness is determined in advance based on the environment where the vehicle is located, the voltage drop of the wire harness can be compensated by adjusting the power supply voltage based on the voltage drop, and then the voltage output to the powered module can meet the target voltage. The working voltage of the powered module is collected, whether the compensated voltage meets the requirement or not is determined, and follow-up continuous adjustment is carried out till the lowest threshold voltage is met. When power is supplied to the powered module, the voltage drop of the wire harness is considered, compensation is carried out in advance, the long-time undervoltage condition is avoided, and the power supply stability is improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of voltage control, in particular to a harness voltage drop compensation method and device and vehicle. BACKGROUND

[0002] At present, the application of interior atmosphere lamps in the automobile market is more and more popular, and the vehicle controller is more and more integrated, and the size of the vehicle is getting larger and larger, which makes the harness of the vehicle longer. When controlling the atmosphere lamp to emit light, the voltage drop on the harness will be large when a large current flows through the harness, which may cause the powered module to not work due to under-voltage. SUMMARY

[0003] The purpose of the present application is to provide a harness voltage drop compensation method, device and vehicle, which considers the voltage drop of the harness when powering the powered module, and compensates in advance to avoid the existence of under-voltage for a long time and improve the stability of power supply.

[0004] To solve the above technical problems, the present application provides a harness voltage drop compensation method, comprising:

[0005] determining the voltage drop of the harness in the environment where the current vehicle is located;

[0006] when powering the powered module, controlling the power supply voltage output by the power supply module to the powered module based on the voltage drop, the power supply voltage being greater than the target voltage of the powered module;

[0007] obtaining the working voltage of the powered module;

[0008] if the working voltage is lower than or equal to the minimum threshold voltage, adjusting the power supply voltage;

[0009] if the working voltage is higher than the minimum threshold voltage, maintaining the power supply voltage unchanged.

[0010] On the other hand, determining the voltage drop of the harness in the environment where the current vehicle is located, comprising:

[0011] determining the temperature of the environment where the harness is located;

[0012] obtaining the vehicle model information of the vehicle;

[0013] determining the length, cross-sectional area and wire material of the harness based on the vehicle model information;

[0014] determining the impedance of the harness in the environment where the current vehicle is located based on the temperature of the vehicle, the length, cross-sectional area and wire material of the harness.

[0015] On the other hand, determining the impedance of the wiring harness in the current vehicle environment based on the vehicle's temperature, the harness's length, cross-sectional area, and conductor material includes:

[0016] The impedance of the wiring harness in the current vehicle environment is determined based on the impedance determination formula, the vehicle temperature, the length, cross-sectional area, and wire material of the wiring harness. The impedance determination formula is as follows:

[0017] ;

[0018] in, For the wire harness Impedance at temperature The temperature coefficient of resistance of the conductor material at 20°C. The initial impedance of the wire harness at 20℃. Given the vehicle's internal temperature, the expression for the initial impedance is: ρ is the resistivity of the conductor material, L is the length, and S is the cross-sectional area;

[0019] Determine the current on the wire harness;

[0020] The voltage drop of the wiring harness in the current vehicle environment is determined based on the impedance of the wiring harness and the current in the wiring harness. The expression for the voltage drop is:

[0021] ;

[0022] in, The initial voltage drop of the wire harness. The current in the wire harness is denoted as .

[0023] On the other hand, determining the current on the wiring harness includes:

[0024] When the powered module is a light-emitting device, the current on the wiring harness is determined according to the light-emitting command sent by the vehicle controller, and the expression for the current is:

[0025] ;

[0026] in,, The current on the wire harness, The current required for the red light. The PWM duty cycle for the red LED. The current required for the green light, The PWM duty cycle for the green light. The current required for the blue light. Where N is the PWM duty cycle of the blue LED, and N is the total number of LEDs in the powered module. This refers to the total current consumed by the non-light-emitting components on the powered module.

[0027] On the other hand, when supplying power to the powered module, the power supply voltage output by the power supply module to the powered module is controlled based on the voltage drop, including:

[0028] When supplying power to the powered module, the power supply voltage output by the power supply module to the powered module is controlled based on the voltage drop. The expression for the power supply voltage is:

[0029] ;

[0030] in, The power supply voltage, The target voltage is denoted as .

[0031] On the other hand, when supplying power to the powered module, the power supply voltage output by the power supply module to the powered module is controlled based on the voltage drop, including:

[0032] When the powered module is a light-emitting device, and the brightness of the powered module is controlled to increase, a lighting signal is first sent to the powered module, and then the power supply voltage output by the power supply module to the powered module is controlled based on the voltage drop.

[0033] When the powered module is a light-emitting device, and the brightness of the powered module is controlled to decrease, the power supply voltage output by the power supply module to the powered module is first controlled based on the voltage drop, and then a lighting signal is sent to the powered module.

[0034] The maximum output voltage of the power supply module is positively correlated with the maximum voltage drop on the wiring harness, the normal operating voltage range of the powered module, and the maximum withstand voltage of the devices on the powered module.

[0035] On the other hand, if the operating voltage is lower than or equal to the minimum threshold voltage, the supply voltage is adjusted, including:

[0036] If the operating voltage is lower than or equal to the minimum threshold voltage, a compensation voltage is determined, and the expression for the compensation voltage is:

[0037] ;

[0038] in, The compensation voltage is... , Operating voltage The target voltage, The minimum threshold voltage;

[0039] The supply voltage is adjusted according to the compensation voltage, and the expression for the adjusted supply voltage is:

[0040] ;

[0041] in, The adjusted power supply voltage;

[0042] If the operating voltage is lower than or equal to the minimum threshold voltage, then after adjusting the supply voltage, the method further includes:

[0043] Return to the step of obtaining the operating voltage of the powered module.

[0044] On the other hand, it also includes:

[0045] If the operating voltage is lower than or equal to the undervoltage fault voltage, the harness voltage drop is adjusted, and the expression for the adjusted harness voltage drop is:

[0046] ;

[0047] in, The adjusted power supply voltage. The adjusted harness voltage drop, This is the undervoltage fault voltage;

[0048] The new harness impedance is determined based on the adjusted harness voltage drop, and the expression for the new harness impedance is as follows:

[0049] ;

[0050] in, The new harness impedance. The current on the wire harness;

[0051] The voltage drop of the wiring harness in the current vehicle environment is updated using the new wiring harness impedance.

[0052] To address the aforementioned technical problems, the present invention also provides a wire harness voltage drop compensation device, comprising:

[0053] Memory, used to store computer programs;

[0054] A processor is used to implement the above-described method for compensating for the voltage drop of the wiring harness when executing the computer program.

[0055] To solve the above-mentioned technical problems, the present invention also provides a vehicle including the above-mentioned wiring harness voltage drop compensation device.

[0056] This application provides a method, apparatus, and vehicle for compensating for wiring harness voltage drop, relating to the field of voltage control. The method includes determining the voltage drop of the wiring harness in the current vehicle environment; when supplying power to a powered module, controlling the power supply voltage output from the power supply module to the powered module based on the voltage drop; adjusting the power supply voltage if the operating voltage is lower than or equal to a minimum threshold voltage; and maintaining the power supply voltage if the operating voltage is higher than the minimum threshold voltage. By pre-determining the wiring harness voltage drop based on the vehicle's environment and adjusting the power supply voltage accordingly, the voltage drop of the wiring harness can be compensated, thereby ensuring that the voltage output to the powered module meets the target voltage. The operating voltage of the powered module is then collected to determine whether the compensated voltage meets the requirements, and subsequent continuous adjustments are made until the minimum threshold voltage is met. By considering the wiring harness voltage drop and compensating in advance when supplying power to the powered module, prolonged undervoltage situations are avoided, improving the stability of the power supply. Attached Figure Description

[0057] To more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the prior art and embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0058] Figure 1 A flowchart of a method for compensating for voltage drop in a wire harness provided by the present invention;

[0059] Figure 2 A schematic diagram of the structure of a vehicle provided by the present invention;

[0060] Figure 3 A framework diagram of a method for compensating voltage drop in a wire harness provided by the present invention;

[0061] Figure 4 An algorithm model diagram of a method for compensating for voltage drop in a wire harness provided by the present invention;

[0062] Figure 5 This is a schematic diagram of a wire harness voltage drop compensation device provided by the present invention. Detailed Implementation

[0063] The core of this invention is to provide a method, device, and vehicle for compensating for wiring harness voltage drop. When supplying power to the powered module, the voltage drop of the wiring harness is taken into account and compensation is performed in advance to avoid undervoltage for a long time and improve the stability of power supply.

[0064] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0065] Figure 1 The flowchart illustrates a method for compensating voltage drop in a wiring harness according to the present invention. The method includes:

[0066] S11: Determine the voltage drop of the wiring harness in the current vehicle environment;

[0067] Given the increasing use of ambient lighting in the automotive market and the growing integration of vehicle controllers, coupled with the increasing size of vehicles, the wiring harnesses are becoming longer. When controlling the ambient lighting, a large current flows through the wiring harness, resulting in a significant voltage drop. This could cause the powered modules to malfunction due to undervoltage.

[0068] The voltage drop of a wiring harness is essentially caused by the resistance of the harness. The resistance varies mainly due to differences in the material, cross-sectional area, and length of the harness. The length of the harness is related to the layout in different vehicle models, which in turn leads to different voltage drops in different vehicle models. Therefore, when determining the voltage drop of a wiring harness, it is necessary to first determine the vehicle model information.

[0069] Furthermore, environmental factors such as temperature can also affect the resistance, so these factors also need to be considered within the voltage drop calculation range.

[0070] S12: When supplying power to the powered module, the power supply voltage output by the power supply module to the powered module is controlled based on the voltage drop, and the power supply voltage is greater than the target voltage of the powered module;

[0071] When supplying power to the powered module, the voltage that finally reaches the powered module is the target voltage. The difference in the power supply process is the voltage drop of the wiring harness. When the power supply module supplies power to the powered module, the voltage is increased in advance. During the transmission process in the wiring harness, the voltage will decrease due to the resistance of the wiring harness. Finally, the voltage that reaches the powered module can reach the target voltage. Therefore, the supply voltage is greater than the target voltage.

[0072] S13: Obtain the operating voltage of the powered module;

[0073] S14: If the operating voltage is lower than or equal to the minimum threshold voltage, adjust the power supply voltage;

[0074] S15: If the operating voltage is higher than the minimum threshold voltage, the supply voltage will remain unchanged.

[0075] To enhance the reliability of the entire system, the powered unit monitors the voltage of the powered module. When undervoltage occurs, it detects the undervoltage information and feeds it back to the controller, thereby adjusting the output voltage of the power supply module. Furthermore, to prevent excessive voltage compensation that could damage the powered module, the process from detecting the undervoltage state to adjusting the voltage output can be iterated multiple times. This involves increasing the number of voltage compensation cycles and decreasing the compensation voltage step size, thus avoiding overvoltage damage caused by excessive voltage compensation.

[0076] Figure 2 This invention provides a structural diagram of a vehicle, including a main control unit and a controlled unit. The main control unit primarily collects relevant vehicle information, such as temperature, vehicle model, and lighting commands, and sends it to the controller. The controller analyzes and calculates the collected information to predict potential voltage drops in the wiring harness, thereby controlling the output voltage of the power supply module to compensate for the voltage drop in the wiring harness. The controlled unit mainly comprises two parts: the powered module and the voltage monitoring module. The powered module refers to the load and its driver; in this application, it mainly refers to ambient lighting and its driver. The voltage detection module monitors the input voltage of the powered module. When undervoltage is detected, it sends an undervoltage signal to the controller in the main control unit. The controller then sends a voltage adjustment signal to the power supply module, thereby increasing the output voltage VCC of the power supply module to restore the powered module to its normal operating voltage. If undervoltage is still detected, the same process continues iteratively until undervoltage is no longer reported.

[0077] This application provides a method for compensating for wiring harness voltage drop, relating to the field of voltage control. The method includes determining the voltage drop of the wiring harness in the current vehicle environment; when supplying power to a powered module, controlling the power supply voltage output from the power supply module to the powered module based on the voltage drop; adjusting the power supply voltage if the operating voltage is lower than or equal to a minimum threshold voltage; and maintaining the power supply voltage if the operating voltage is higher than the minimum threshold voltage. By pre-determining the wiring harness voltage drop based on the vehicle's environment and adjusting the power supply voltage accordingly, the voltage drop of the wiring harness can be compensated, ensuring that the voltage output to the powered module meets the target voltage. The operating voltage of the powered module is then collected to determine if the compensated voltage meets the requirements, and subsequent continuous adjustments are made until the minimum threshold voltage is met. By considering the wiring harness voltage drop and compensating in advance when supplying power to the powered module, prolonged undervoltage situations are avoided, improving the stability of the power supply.

[0078] Based on the above embodiments:

[0079] Figure 3 A framework diagram of a method for compensating voltage drop in a wire harness provided by the present invention;

[0080] Figure 4 An algorithm model diagram of a method for compensating for voltage drop in a wire harness provided by the present invention;

[0081] This invention comprises three units, such as Figure 1 As shown, the system comprises a prediction unit, a power supply unit, and a powered unit. The prediction unit can predict the potential voltage drop on the wiring harness by collecting information such as the vehicle's ambient temperature, wiring harness specifications, and ambient light color and brightness. This voltage drop information is then sent to the power supply unit, which presets and adjusts the output voltage of the power supply module. This makes the solution described in this invention more applicable, meaning it can be used for different vehicle models, different wiring harness specifications, dynamically changing ambient temperatures, and dynamically changing ambient light states.

[0082] To enhance the reliability of the entire solution, the powered unit monitors the voltage of the powered module. When undervoltage occurs, the voltage monitoring module detects the undervoltage information and feeds it back to the power supply unit's voltage controller module, thereby adjusting the output voltage of the powered module. Simultaneously, based on the undervoltage information, the power supply unit's line resistance learning module updates the line resistance value to ensure more accurate prediction of subsequent wiring harness voltage drop. Furthermore, to prevent excessive voltage compensation that could damage the powered module due to overvoltage, the process from detecting the undervoltage state to adjusting the voltage output can be iterated multiple times. This involves increasing the number of voltage compensation cycles and decreasing the compensation voltage step size, thus avoiding overvoltage damage caused by excessive voltage compensation.

[0083] The prediction model is used to predict voltage drop, the undervoltage detection model is used to detect voltage, and the line resistance learning model is used to adjust the calculated line resistance.

[0084] In some embodiments, determining the voltage drop of the wiring harness in the current vehicle environment includes:

[0085] Determine the temperature of the environment where the wiring harness is located;

[0086] Obtain vehicle model information;

[0087] The length, cross-sectional area, and wire material of the wiring harness are determined based on the vehicle model information;

[0088] The impedance of the wiring harness in the current vehicle environment is determined based on the vehicle's temperature, harness length, cross-sectional area, and conductor material.

[0089] By collecting information such as the vehicle's ambient temperature, wiring harness specifications, and ambient light color and brightness, the potential voltage drop on the wiring harness can be predicted. This voltage drop information is then sent to the power supply unit, which presets and adjusts the output voltage of the power supply module. This makes the solution more adaptable, meaning it can be applied to different vehicle models, different wiring harness specifications, dynamically changing ambient temperatures, and dynamically changing ambient light states.

[0090] In some embodiments, determining the impedance of the wiring harness in the current vehicle environment based on the vehicle's temperature, harness length, cross-sectional area, and conductor material includes:

[0091] The impedance of the wiring harness in the current vehicle environment is determined based on the impedance determination formula, the vehicle's temperature, the length and cross-sectional area of ​​the wiring harness, and the wire material. The impedance determination formula is as follows:

[0092] ;

[0093] in, For the wire harness Impedance at temperature The temperature coefficient of resistance of the conductor material at 20°C. The initial impedance of the wire harness at 20℃. Given the vehicle's internal temperature, the expression for the initial impedance is: ρ is the resistivity of the conductor material, L is the length, and S is the cross-sectional area;

[0094] Determine the current in the wire harness;

[0095] The voltage drop of the wiring harness in the current vehicle environment is determined based on the harness impedance and the current in the harness. The expression for the voltage drop is:

[0096] ;

[0097] in, This represents the initial voltage drop of the wiring harness. The current in the wire harness.

[0098] On the vehicle assembly line, the ambient lighting control system is powered on for the first time after it has been installed on the vehicle. Figure 2 The controller shown obtains vehicle model information via LIN, CAN, or other means, thereby acquiring... Figure 2 The specifications of the wire harness shown include parameters such as wire length L, cross-sectional area S, and conductor material, from which the initial impedance R of the wire harness at 20℃ can be obtained. 20 This parameter will be bound to the software suite and used in all subsequent dynamic compensation algorithm logic calculations. When the ambient lighting system is powered on or activated, the controller will immediately obtain the in-vehicle ambient temperature information Ta from the vehicle via LIN, CAN, or other means, thereby obtaining the impedance R of the wiring harness at temperature Ta. Initial .

[0099] In some embodiments, determining the current on the wire harness includes:

[0100] When the powered module is a light-emitting device, the current on the wiring harness is determined according to the light-emitting command sent by the vehicle controller. The expression for the current is:

[0101] ;

[0102] in, For the current on the wire harness, The current required for the red light. The PWM duty cycle for the red LED. The current required for the green light, The PWM duty cycle for the green light. The current required for the blue light. Here, N represents the PWM duty cycle for the blue LED, and N is the total number of LEDs in the powered module. This represents the total current consumed by the non-light-emitting components on the powered module.

[0103] The vehicle sends a lighting command to the controller, specifying the ambient light's color and brightness. Since the ambient light uses RGB tri-color LEDs, determining the current requires considering how the three colors of light mix to achieve the target color. Specifically, this involves obtaining the PWM duty cycle that drives the RGB tri-color LEDs of the ambient light. , , The currents of R, G, and B color LEDs when driven at 100% duty cycle are respectively... , , If the total number of RGB lights on the light board is N, then the magnitude of the current flowing through the wiring harness can be predicted to be... .

[0104] In some embodiments, when supplying power to the powered module, controlling the supply voltage output by the power supply module to the powered module based on the voltage drop includes:

[0105] When supplying power to the powered module, the power supply voltage output by the power supply module to the powered module is controlled based on the voltage drop. The expression for the power supply voltage is:

[0106] ;

[0107] in, The power supply voltage, The target voltage.

[0108] The controller obtains the predicted voltage. Afterwards, a voltage regulation signal is sent to the power supply module in advance to adjust the output voltage of the power supply module, so that the ambient light can be lit correctly and will not fail to light up or light up abnormally due to undervoltage, thus playing a role in pre-compensating for the voltage drop of the wiring harness. This power supply module is a voltage regulator, such as a step-down DC-DC converter. After power-on initialization, this voltage regulator will have a default output voltage of... Meanwhile, it is assumed that the typical operating voltage of the ambient lighting module is when there is no voltage drop in the wiring harness. .

[0109] In some embodiments, when supplying power to the powered module, controlling the supply voltage output by the power supply module to the powered module based on the voltage drop includes:

[0110] When the powered module is a light-emitting device, and the brightness of the powered module is controlled to increase, a lighting signal is first sent to the powered module, and then the power supply voltage output by the power supply module to the powered module is controlled based on the voltage drop.

[0111] When the powered module is a light-emitting device, and the brightness of the powered module is controlled to decrease, the power supply voltage output by the power supply module to the powered module is first controlled based on the voltage drop, and then a lighting signal is sent to the powered module.

[0112] Among them, the maximum output voltage of the power supply module is positively correlated with the maximum voltage drop on the wiring harness, the normal operating voltage range of the powered module, and the maximum withstand voltage of the devices on the powered module.

[0113] When the system has certain limitations, such as the lack of overvoltage detection, the controller needs to impose certain restrictions to prevent the ambient lighting module from experiencing overvoltage risks.

[0114] When the vehicle sends a lighting command that increases the overall brightness of the ambient lighting, meaning the current in the wiring harness will increase, the controller needs to send the lighting command to the ambient lighting module first, and then send a voltage adjustment command to the power supply module. This is because if the voltage adjustment command is sent first, the input voltage of the ambient lighting module will increase before the current, potentially leading to overvoltage in the ambient lighting module.

[0115] When the vehicle sends a lighting command that causes the ambient lighting to dim (i.e., the current in the wiring harness decreases), the controller needs to first send a voltage adjustment command to the power supply module before sending the lighting command to the ambient lighting module. This is because if the lighting command is sent first, the current in the wiring harness will decrease before the voltage drops, meaning a smaller current in the wiring harness and a smaller voltage drop. This would raise the input voltage to the ambient lighting module, potentially causing overvoltage issues.

[0116] The maximum output voltage of the power supply module needs to be limited, and this maximum voltage setting often needs to be determined based on the actual system conditions. It is necessary to comprehensively consider the maximum voltage drop that may occur on the wiring harness, the normal operating voltage range of the components on the ambient light module, and the maximum withstand voltage of the components on the ambient light control module.

[0117] In some embodiments, if the operating voltage is lower than or equal to a minimum threshold voltage, the supply voltage is adjusted, including:

[0118] If the operating voltage is lower than or equal to the minimum threshold voltage, then a compensation voltage is determined. The expression for the compensation voltage is:

[0119] ;

[0120] in, To compensate for voltage, , Operating voltage For the target voltage, The minimum threshold voltage;

[0121] The supply voltage is adjusted based on the compensation voltage, and the expression for the adjusted supply voltage is:

[0122] ;

[0123] in, The adjusted power supply voltage;

[0124] If the operating voltage is lower than or equal to the minimum threshold voltage, then after adjusting the supply voltage, the following steps are also included:

[0125] Return to the step of obtaining the operating voltage of the powered module.

[0126] Theoretically, if the prediction model is accurate, undervoltage should no longer occur. However, due to environmental and other factors, there are often errors between theory and reality, and the line resistance prediction may be inaccurate. To make the harness voltage drop compensation scheme more reliable and achieve closed-loop control of undervoltage compensation, the harness voltage drop compensation scheme described in this invention adds an undervoltage monitoring model.

[0127] The minimum operating voltage of the ambient lighting module is That is, when the supply voltage is less than At that time, it was considered that the ambient lighting module had an undervoltage fault; the typical operating voltage was... At the same time, it is required When the ambient lighting module experiences an undervoltage fault, Figure 2 The voltage monitoring module shown will collect this undervoltage fault information and report it to the controller of the main control unit. At this time, the controller will assume that the input voltage of the ambient light module has dropped to... The new compensation voltage can then be obtained. .

[0128] Then the controller sends a voltage regulation signal to the power supply module to adjust the output voltage of the power supply module. At this time, the output voltage becomes... .

[0129] If the power supply voltage is adjusted to If an undervoltage fault is subsequently detected, the above process will continue to iterate. That is, the line resistance learning model will be activated again to update the line resistance, then the new harness voltage drop will be predicted, and the voltage will be adjusted again. This process will continue to iterate until the undervoltage fault no longer occurs.

[0130] In some embodiments, it also includes:

[0131] If the operating voltage is lower than or equal to the undervoltage fault voltage, adjust the harness voltage drop. The expression for the adjusted harness voltage drop is:

[0132] ;

[0133] in, The adjusted power supply voltage. The adjusted harness voltage drop, This is the undervoltage fault voltage;

[0134] The new harness impedance is determined based on the adjusted harness voltage drop, and the expression for the new harness impedance is:

[0135] ;

[0136] in, For the new harness impedance, The current in the wire harness;

[0137] Update the voltage drop of the wiring harness in the current vehicle environment using the new wiring harness impedance.

[0138] The line resistance learning model is only activated when an undervoltage fault occurs, whereas normally the input voltage drops to... The following will not cause an undervoltage fault immediately; it will generally drop to a certain undervoltage fault threshold voltage. Only then will an undervoltage fault be triggered and reported to the controller. This undervoltage fault threshold voltage... In reality, it's an unknown quantity, as different devices will have individual differences. Therefore, the software will set a value less than [a certain value] based on practical experience. The voltage value is used as When an undervoltage fault is detected, it indicates that the ambient lighting module's input voltage is currently... This also indicates that the previously predicted line resistance was inaccurate and needs to be updated. Then, the controller of the main control unit will receive the undervoltage fault information and immediately activate the line resistance learning model, from which the new line harness impedance can be obtained.

[0139] Figure 5 This is a schematic diagram of a wire harness voltage drop compensation device provided by the present invention. The wire harness voltage drop compensation device includes:

[0140] Memory 21 is used to store computer programs;

[0141] The processor 22 is used to implement the above-described method for compensating for the voltage drop of the wiring harness when executing a computer program.

[0142] The description of the wire harness voltage drop compensation device provided in this application is similar to the above embodiments and will not be repeated here.

[0143] Figure 2 This is a schematic diagram of a vehicle structure provided by the present invention, the vehicle including the aforementioned wiring harness voltage drop compensation device.

[0144] Please refer to the above embodiments for a description of the vehicle provided in this application; it will not be repeated here.

[0145] It should also be noted that, in this specification, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0146] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this invention.

[0147] The above description of the disclosed embodiments enables those skilled in the art to make or use the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Therefore, the invention is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A method for compensating for voltage drop in a wiring harness, characterized in that, include: Determine the voltage drop of the wiring harness in the current vehicle environment; When supplying power to the powered module, the power supply voltage output by the power supply module to the powered module is controlled based on the voltage drop, and the power supply voltage is greater than the target voltage of the powered module; Obtain the operating voltage of the powered module; If the operating voltage is lower than or equal to the minimum threshold voltage, then the power supply voltage is adjusted; If the operating voltage is higher than the minimum threshold voltage, the supply voltage is maintained unchanged.

2. The method for compensating for voltage drop in a wiring harness as described in claim 1, characterized in that, Determine the voltage drop of the wiring harness in the current vehicle environment, including: Determine the temperature of the environment in which the wiring harness is located; Obtain the vehicle model information; The length, cross-sectional area, and wire material of the wiring harness are determined based on the vehicle model information; The impedance of the wiring harness in the current vehicle environment is determined based on the vehicle's temperature, the length of the wiring harness, the cross-sectional area, and the conductor material. The voltage drop of the wiring harness in the current vehicle environment is determined based on the impedance of the wiring harness and the current in the wiring harness.

3. The method for compensating for voltage drop in a wiring harness as described in claim 2, characterized in that, Determining the impedance of the wiring harness in the current vehicle environment based on the vehicle's temperature, the harness's length, cross-sectional area, and conductor material includes: The impedance of the wiring harness in the current vehicle environment is determined based on the impedance determination formula, the vehicle temperature, the length, cross-sectional area, and wire material of the wiring harness. The impedance determination formula is as follows: ; in, For the wire harness Impedance at temperature The temperature coefficient of resistance of the conductor material at 20°C. The initial impedance of the wire harness at 20℃. Given the vehicle's internal temperature, the expression for the initial impedance is: ρ is the resistivity of the conductor material, L is the length, and S is the cross-sectional area; Determine the current on the wire harness; The voltage drop of the wiring harness in the current vehicle environment is determined based on the impedance of the wiring harness and the current in the wiring harness. The expression for the voltage drop is: ; in, The initial voltage drop of the wire harness. The current in the wire harness is denoted as .

4. The method for compensating for voltage drop in a wiring harness as described in claim 3, characterized in that, Determining the current on the harness includes: When the powered module is a light-emitting device, the current on the wiring harness is determined according to the light-emitting command sent by the vehicle controller, and the expression for the current is: ; in, The current on the wire harness, The current required for the red light. The PWM duty cycle for the red LED. The current required for the green light, The PWM duty cycle for the green light. The current required for the blue light. Where N is the PWM duty cycle of the blue LED, and N is the total number of LEDs in the powered module. This refers to the total current consumed by the non-light-emitting components on the powered module.

5. The method for compensating for voltage drop in a wiring harness as described in claim 3, characterized in that, When supplying power to the powered module, the power supply voltage output by the power supply module to the powered module is controlled based on the voltage drop, including: When supplying power to the powered module, the power supply voltage output by the power supply module to the powered module is controlled based on the voltage drop. The expression for the power supply voltage is: ; in, The power supply voltage, The target voltage is denoted as .

6. The method for compensating for voltage drop in a wiring harness as described in claim 1, characterized in that, When supplying power to the powered module, the power supply voltage output by the power supply module to the powered module is controlled based on the voltage drop, including: When the powered module is a light-emitting device, and the brightness of the powered module is controlled to increase, a lighting signal is first sent to the powered module, and then the power supply voltage output by the power supply module to the powered module is controlled based on the voltage drop. When the powered module is a light-emitting device, and the brightness of the powered module is controlled to decrease, the power supply voltage output by the power supply module to the powered module is first controlled based on the voltage drop, and then a lighting signal is sent to the powered module. The maximum output voltage of the power supply module is positively correlated with the maximum voltage drop on the wiring harness, the normal operating voltage range of the powered module, and the maximum withstand voltage of the devices on the powered module.

7. The method for compensating for voltage drop in a wiring harness as described in claim 1, characterized in that, If the operating voltage is lower than or equal to the minimum threshold voltage, then the supply voltage is adjusted, including: If the operating voltage is lower than or equal to the minimum threshold voltage, a compensation voltage is determined, and the expression for the compensation voltage is: ; in, The compensation voltage is... , Operating voltage The target voltage, The minimum threshold voltage; The supply voltage is adjusted according to the compensation voltage, and the expression for the adjusted supply voltage is: ; in, The adjusted power supply voltage; If the operating voltage is lower than or equal to the minimum threshold voltage, then after adjusting the supply voltage, the method further includes: Return to the step of obtaining the operating voltage of the powered module.

8. The method for compensating for voltage drop in a wiring harness as described in any one of claims 1 to 7, characterized in that, Also includes: If the operating voltage is lower than or equal to the undervoltage fault voltage, the harness voltage drop is adjusted, and the expression for the adjusted harness voltage drop is: ; in, The adjusted power supply voltage. The adjusted harness voltage drop, This is the undervoltage fault voltage; The new harness impedance is determined based on the adjusted harness voltage drop, and the expression for the new harness impedance is as follows: ; in, The new harness impedance. The current on the wire harness; The voltage drop of the wiring harness in the current vehicle environment is updated using the new wiring harness impedance.

9. A device for compensating for voltage drop in a wiring harness, characterized in that, include: Memory, used to store computer programs; A processor, configured to implement the steps of the harness voltage drop compensation method as described in any one of claims 1 to 8 when executing the computer program.

10. A vehicle, characterized in that, Includes the wiring harness voltage drop compensation device as described in claim 9.