Power supply method and related product

CN122535536APending Publication Date: 2026-08-07YINWANG INTELLIGENT TECHNOLOGIES CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
YINWANG INTELLIGENT TECHNOLOGIES CO LTD
Filing Date
2025-07-31
Publication Date
2026-08-07

Smart Images

  • Figure CN122535536A_ABST
    Figure CN122535536A_ABST
Patent Text Reader

Abstract

The power supply method and related products can be applied to a terminal relay controller (102) of a terminal. The terminal relay controller (102) identifies the load type of connected electronic devices (1, 2, 3), and adaptively adjusts the power supply parameters according to the identified load type, aiming to provide a fine power supply and protection mechanism to avoid abnormal conditions such as overvoltage and overcurrent, thereby maximizing the safe operation of the electronic devices (1, 2, 3) and improving the reliability of the electronic devices (1, 2, 3).
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of intelligent vehicle technology, and in particular to power supply methods and related products. Background Technology

[0002] New energy vehicles are rapidly developing towards intelligence and electrification. With the surge in the number of electronic components in vehicles, and the increasing shift of subsystem solutions from traditional mechanical parts to electronic components, how to efficiently integrate these electronic components in automotive electronic system design and ensure the safe and reliable connection is an urgent problem to be solved. Summary of the Invention

[0003] This application provides a power supply method and related products that enable rapid connection of electronic devices, thereby avoiding potential electrical risks and significantly improving the reliability and safety of electronic devices.

[0004] Firstly, this application provides a power supply method that can be executed by an end-of-line relay controller. This controller, acting as a regional controller for the terminal, includes a drive unit with at least one power supply interface for supplying power to at least one electronic device. To improve the reliability and flexibility of intelligent driving equipment and reduce the impact of single-area failures, this application adopts a regional control design scheme, dividing the equipment into multiple areas based on physical spatial location. Electronic devices within each area are relatively concentrated and independently controlled by an end-of-line relay controller, achieving independent power supply management and fault isolation. Through this regional division and refined management, independent power supply and management of electronic devices in each area of ​​the intelligent driving equipment can be achieved, thereby improving the reliability and flexibility of the equipment. It should be understood that the end-of-line relay controller is only an exemplary execution entity; this method can also be executed by other devices with computing capabilities, such as chip systems, terminals, etc.

[0005] The power supply method includes: the end-point relay controller collecting power consumption data of the electronic devices through the drive unit; wherein, the power consumption data includes current data. Further, the end-point relay controller determines the load type of the electronic devices based on the power consumption data. Then, the end-point relay controller determines the drive parameters of the electronic devices based on the load type. Finally, the end-point relay controller supplies power to the electronic devices based on the drive parameters; the drive parameters are used to constrain the range of power supply parameters when supplying power to the electronic devices.

[0006] The power supply mode of electronic devices directly affects the safety and reliability of the terminal. For example, a fixed power supply mode may not meet the needs of different loads, leading to degraded device performance or damage. Therefore, the above implementation proposes an adaptive power supply scheme: the end-point relay controller identifies the load type of the connected electronic devices and adaptively adjusts the power supply parameters according to the identified load type. This aims to provide a refined power supply and protection mechanism, avoiding abnormal situations such as overvoltage and overcurrent, thereby maximizing the safe operation of the terminal and improving the reliability of electronic devices. Specifically, when a new electronic device is connected to the end-point relay controller, power is first supplied to the electronic device and its power consumption data is collected. Then, based on the power consumption data, the load type of the electronic device is determined to select an appropriate power supply mode, thereby protecting the electronic device. This process requires no manual intervention, achieving plug-and-play functionality for electronic devices. Its core lies in the aforementioned adaptive power supply mechanism, which significantly enhances the compatibility and convenience of the terminal.

[0007] Consider a possible solution: each time a new electronic device is connected, manual consultation of manual manuals and parameter configuration are required, which is time-consuming and prone to errors. This solution, through its plug-and-play feature, eliminates the tedious manual configuration process, greatly improving deployment and maintenance efficiency and reducing labor costs. More importantly, the adaptive power supply mechanism enables the terminal to automatically identify and be compatible with various types of electronic devices without pre-configuration, greatly expanding the device's functionality and application scenarios.

[0008] In one possible implementation, the end-point relay controller analyzes the current variation characteristics of electronic devices based on current data from power consumption data. Further, the end-point relay controller can determine the load type of the electronic devices based on these current variation characteristics. Different load types have different current variation characteristics. These current variation characteristics refer to various quantifiable and identifiable characteristic parameters of how the current of an electronic device changes over time during operation. In this embodiment, by analyzing current variation characteristics, the end-point relay controller can more accurately identify the load type and avoid misjudgment. Furthermore, the end-point relay controller can adaptively adjust the power supply strategy according to the identified load type. For example, the end-point relay controller can adjust power supply parameters or constrain the range of power supply parameters based on the load type. By optimizing the power supply strategy, the stability and reliability of electronic devices can be effectively improved, and the failure rate can be reduced.

[0009] In one possible implementation, the load type is one of capacitive, inductive, and resistive loads. The end-point relay controller can identify the load type by analyzing the power consumption data of electronic devices. Different load types have different power requirements, so the controller can provide power according to the identified load type, thereby improving the stability and reliability of the electronic devices' operation.

[0010] One possible implementation involves identifying resistive loads by analyzing current variation characteristics. Specifically, within a given time period, if the absolute value of the difference between the instantaneous current value and the average current value is less than a first threshold, the load type is determined to be resistive. Here, the instantaneous value refers to the current value at a specific moment, the average current value refers to the average current level within that time period, and the absolute value of the difference reflects the current fluctuation range. The first threshold is a pre-set value used to measure the upper limit of the current fluctuation range. Another approach is to identify capacitive loads by analyzing current variation characteristics. Specifically, if at startup, the instantaneous current value exceeds the average current value within the corresponding time period, and the exceedance is greater than a second threshold, and the current value gradually decays to a stable value after startup, the load type is determined to be capacitive. Here, startup refers to the extremely short period of time at which the electronic device just begins to start; the instantaneous current value exceeding the average current value within the corresponding time period indicates a significant current peak at startup; the exceedance being greater than the second threshold indicates that this peak value must exceed the average value to a certain extent; and the current value gradually decaying to a stable value after startup represents the current variation trend after capacitive load startup. The second threshold is a pre-set value used to measure the magnitude by which the current exceeds the average value at startup. Inductive loads are identified by analyzing current variation characteristics. Specifically, if the current value exhibits periodic changes within a corresponding time period, the load type is determined to be inductive. Periodic changes refer to the current value exhibiting regular, repetitive fluctuations over time, such as sine waves or square waves.

[0011] In one possible implementation, the end-of-line relay controller acquires a drive parameter library. Further, the end-of-line relay controller determines the drive parameters based on power consumption data, the load type of the electronic device, and the drive parameter library. The drive parameter library is a pre-defined database storing drive parameter characteristics for various common load types (e.g., inductive loads, capacitive loads, resistive loads, etc.). Each load type corresponds to different drive parameter characteristics, which describe the characteristics of key parameters such as voltage and current under normal operating conditions. For example, the drive parameter characteristics of an inductive load may include a higher starting current. These characteristics provide a reference for the end-of-line relay controller to select appropriate drive parameters. It should be noted that even with the same load type, different electronic devices require adjustments to the specific drive parameters based on the actual conditions of the device to achieve the best driving effect. In this embodiment, to protect the electronic device from potential damage, the end-of-line relay controller determines the final drive parameters by comprehensively analyzing power consumption data and referring to the drive parameter library, thereby ensuring that the electronic device operates safely and efficiently.

[0012] In one possible implementation, the end-of-line relay controller acquires the operating condition parameters of the electronic devices and updates the drive parameters based on these parameters. This is done to adapt the power supply strategy to the actual operating environment of the electronic devices, optimizing their performance and improving device reliability. However, the operating conditions of electronic devices are not static; for example, temperature increases and voltage fluctuations can affect their optimal drive parameters. If the drive parameters remain unchanged, it may lead to reduced efficiency or even malfunction of the electronic devices. Therefore, it is necessary to dynamically adjust the drive parameters based on the real-time acquired operating condition parameters to ensure that the electronic devices always operate in optimal condition. For example, when an increase in the temperature of the electronic devices is detected, the supply voltage or current can be appropriately reduced to avoid overheating damage. Finally, the end-of-line relay controller supplies power to the electronic devices based on the updated drive parameters, thereby achieving smarter and more reliable power supply control.

[0013] In one possible implementation, operating condition parameters include the operating temperature of the electronic devices. The end-of-line relay controller updates the drive parameters based on the operating temperature of the electronic devices. This is to address the impact of temperature changes on the performance of the electronic devices, ensuring stable and efficient operation under different temperatures. However, the drive parameters of electronic devices are often very sensitive to temperature; excessively high or low temperatures can lead to performance degradation or even damage. If the drive parameters cannot be adjusted according to temperature, it cannot be guaranteed that the electronic devices are always in optimal operating condition. Therefore, the end-of-line relay controller needs to monitor the operating temperature of the electronic devices in real time and dynamically adjust the drive parameters according to a preset temperature-drive parameter mapping relationship. For example, when the temperature rises, it may be necessary to reduce the supply voltage to prevent overheating; while when the temperature drops, it may be necessary to appropriately increase the voltage to maintain normal operation of the devices. Ultimately, by dynamically updating the drive parameters according to the operating temperature, the end-of-line relay controller can ensure that the electronic devices operate safely and reliably under various temperature conditions.

[0014] In one possible implementation, operating condition parameters include the aging level of electronic components. The end-of-line relay controller updates the drive parameters based on the aging level of the electronic components. This is done to compensate for the performance degradation caused by aging, extend their lifespan, and maintain the overall stability of the system performance. However, as electronic components are used for longer periods, their internal components gradually age, leading to performance degradation, such as slower response times and increased power consumption. If the drive parameters remain unchanged, they cannot meet the needs of aging components and may even accelerate their failure. Therefore, the end-of-line relay controller needs to assess the aging level of the electronic components and adjust the drive parameters accordingly to compensate for performance degradation. For example, for severely aged components, the end-of-line relay controller can use self-learning to dynamically adjust the load drive current to appropriately increase the current, i.e., the new load drive current can be greater than the original load drive current to maintain its output power; at the same time, protection thresholds can also be adjusted to prevent abnormal situations caused by aging. Ultimately, by dynamically updating the drive parameters according to the aging level, the end-of-line relay controller can maximize the lifespan of the electronic components and ensure that the system maintains good performance throughout its entire lifespan.

[0015] In one possible implementation, the end-point relay controller acquires historical power consumption data of electronic devices and updates drive parameters based on this data. This is done to optimize the power supply strategy according to the actual power consumption habits and performance trends of the electronic devices, improving energy efficiency and extending device lifespan. However, the power consumption patterns of electronic devices are not static; they may be affected by various factors such as workload, ambient temperature, and usage time. If the drive parameters remain unchanged, they cannot adapt to these changes, leading to energy waste or device performance degradation. Therefore, the end-point relay controller needs to analyze the historical power consumption data of the electronic devices to extract useful information, such as average power consumption, peak current, and power consumption cycle, and adjust the drive parameters accordingly. For example, if historical data shows that the device's power consumption is low during a specific period, the supply voltage during that period can be appropriately reduced to save energy; if historical data shows that the device's peak current is gradually increasing, the current limit may need to be adjusted to prevent overload damage. Ultimately, the end-point relay controller supplies power to the electronic devices based on the updated drive parameters, thereby achieving smarter and more efficient power supply control and improving the overall system performance.

[0016] In one possible implementation, the power consumption data also includes data on the electronic device's operating stroke. Based on the power consumption data, the end-point relay controller determines a first stroke segment within the operating stroke; that is, the electronic device's operating stroke may include multiple stroke segments, and the first stroke segment is one of these multiple segments. Based on the electronic device's load type and the first stroke segment, the end-point relay controller can determine the electronic device's drive parameters. These drive parameters are also used to constrain the power supply parameter range within the first stroke segment. In this embodiment, if the electronic device's operating stroke has multiple stroke segments, corresponding drive parameters can be determined for each stroke segment, enabling fine-grained control of the power supply parameters and better adapting to the electronic device's power requirements at different operating stages.

[0017] In one possible implementation, the end-point relay controller can first perform initial power supply and data acquisition. Specifically, the end-point relay controller can supply power to the electronic device based on first power supply parameters (i.e., perform initial power supply), while simultaneously acquiring the power consumption data of the electronic device through the drive unit. The first power supply parameter can be set to the maximum current range allowed by the power supply interface. During the learning process, this range may be overridden or excluded by actual operating data. Before learning, the first power supply parameter can be set to a preset maximum current range or other initial parameters. When a new electronic device is first connected to the terminal, the terminal cannot initially determine the device's power consumption characteristics. To ensure that the electronic device can reliably start and operate normally, it can initially be powered at the maximum power of the power supply interface to fully meet its potential maximum power requirements.

[0018] Secondly, this application provides an end-of-line relay controller. The end-of-line interrupt controller includes a drive unit, which includes at least one power supply interface. The end-of-line interrupt controller is connected to at least one electronic device through the at least one power supply interface. The drive unit is used to: collect power consumption data of the electronic device; determine the load type of the electronic device based on the power consumption data; determine the drive parameters of the electronic device based on the load type of the electronic device; and supply power to the electronic device based on the drive parameters. The drive parameters are used to constrain the range of power supply parameters when the end-of-line interrupt controller supplies power to the electronic device.

[0019] In one possible implementation, the driving unit is specifically used to: analyze the current change characteristics of the electronic device based on the current data of the power consumption data; and determine the load type of the electronic device based on the current change characteristics of the electronic device.

[0020] In one possible implementation, the load type is one of capacitive load, inductive load, and resistive load.

[0021] In one possible implementation, the driving unit is specifically configured to: determine the load type as a resistive load when the absolute value of the difference between the instantaneous value and the average value of the current value within a corresponding time period is less than a first threshold; determine the load type as a capacitive load when the instantaneous value of the current value exceeds the average value within the corresponding time period at the moment of startup, and the exceedance is greater than a second threshold, and the current value gradually decays to a stable value after startup; and determine the load type as an inductive load when the current value exhibits periodic changes within a corresponding time period.

[0022] In one possible implementation, the driving unit is specifically used to: acquire a driving parameter library, which includes multiple load types and driving parameter characteristics corresponding to each load type; and determine driving parameters based on power consumption data, the load type of electronic devices, and the driving parameter library.

[0023] In one possible implementation, the driving unit is specifically used for: acquiring the operating condition parameters of the electronic device, updating the driving parameters based on the operating condition parameters, and supplying power to the electronic device based on the updated driving parameters.

[0024] In one possible implementation, the operating condition parameters include the operating temperature of the electronic device; the driving unit is specifically used to update the driving parameters according to the operating temperature of the electronic device.

[0025] In one possible implementation, the operating condition parameters include the aging degree of the electronic device; the driving unit is specifically used to update the driving parameters according to the aging degree of the electronic device.

[0026] In one possible implementation, the driving unit is specifically used for: acquiring historical power consumption data of the electronic device, updating driving parameters based on the historical power consumption data, and supplying power to the electronic device based on the updated driving parameters.

[0027] In one possible implementation, the power consumption data also includes data on the electronic device during its operating stroke; the drive unit is specifically used to: determine a first stroke segment in the operating stroke based on the power consumption data; determine the drive parameters of the electronic device based on the load type of the electronic device and the first stroke segment; the drive parameters are also used to constrain the range of power supply parameters within the first stroke segment.

[0028] In one possible implementation, the driving unit is specifically used to: supply power to the electronic device based on a first power supply parameter, and collect the power consumption data of the electronic device through the driving unit; the first power supply parameter is the maximum power supply parameter of the power supply interface.

[0029] Thirdly, this application provides a chip system including at least one processor and a communication interface, the communication interface being used for inputting and / or outputting data, and at least one processor being used for calling computer instructions to cause the chip system to implement any of the methods in the first aspect above.

[0030] Fourthly, this application provides a vehicle that includes the end relay controller described in the second aspect above, or the vehicle includes the chip system described in the third aspect above.

[0031] Fifthly, this application provides a computer-readable storage medium including computer program instructions that, when executed by at least one processor, implement the method of any one of the first aspects described above.

[0032] In a sixth aspect, this application provides a computer program product containing instructions that, when executed by at least one processor, implement the method of any one of the first aspects described above. Attached Figure Description

[0033] The accompanying drawings used in the description of the embodiments will be briefly introduced below.

[0034] Figure 1 This is a schematic diagram of a system architecture of an intelligent driving device provided in an embodiment of this application;

[0035] Figure 2 This is a schematic diagram of the structure of an end relay controller provided in an embodiment of this application;

[0036] Figure 3 A schematic flowchart illustrating the power supply method provided in an embodiment of this application;

[0037] Figure 4 A schematic diagram of multiple areas of the intelligent driving device provided in the embodiments of this application;

[0038] Figure 5 A schematic diagram of a drive unit for an end relay controller provided in an embodiment of this application;

[0039] Figure 6 A schematic diagram of electricity consumption data provided in an embodiment of this application;

[0040] Figure 7 This is a schematic diagram illustrating the initialization of power supply to an electronic device, as provided in an embodiment of this application.

[0041] Figure 8 A schematic diagram of an operational test provided for an embodiment of this application;

[0042] Figure 9 A schematic diagram illustrating the detection of electrical parameters for an electrical appliance, provided as an embodiment of this application;

[0043] Figure 10 A schematic diagram of the current curve of a resistive load provided in an embodiment of this application;

[0044] Figure 11 A schematic diagram of the current curve of a capacitive load provided for an embodiment of this application;

[0045] Figure 12 A schematic diagram of the current curve of an inductive load provided for an embodiment of this application;

[0046] Figure 13 A schematic diagram illustrating a temperature correction method provided in an embodiment of this application;

[0047] Figure 14 A schematic diagram of an aging-corrected current waveform provided in an embodiment of this application;

[0048] Figure 15 A schematic diagram of the working stroke of an electronic device provided in an embodiment of this application;

[0049] Figure 16 A schematic flowchart illustrating another power supply method provided in an embodiment of this application;

[0050] Figure 17 This is a schematic diagram of the structure of an end relay controller provided in an embodiment of this application. Detailed Implementation

[0051] The following provides an example of an intelligent driving device that may be involved in the embodiments of this application.

[0052] For example, see Figure 1 , Figure 1 This is a schematic diagram of a system architecture for an intelligent driving device provided in an embodiment of this application. For example... Figure 1As shown, the intelligent driving device 100 may include a central controller 101, multiple end relay controllers 102, a sensing system 103, a display device 104, and multiple electronic devices. In some embodiments, the intelligent driving device 100 can be connected to a cloud device 200 to achieve data exchange. In some embodiments, to improve the reliability and flexibility of the intelligent driving device 100 and reduce the impact of a single area failure on the overall system, the intelligent driving device 100 can be divided into multiple areas according to physical spatial location, with the electronic devices in each area relatively concentrated. Each area is individually controlled by an end relay controller 102, realizing independent power supply management and fault isolation of the electronic devices in that area, thereby reducing the impact of a single area failure on the overall system. For example, each door can be treated as an independent area. The end relay controller 102 of the left front door area can connect to and control the electronic devices on that door, such as door locks, window regulator motors, window regulator switches, door lights, etc. Similarly, the right front door area, left rear door area, and right rear door area are also controlled by their respective end relay controllers 102. For example, the cabin interior can be divided into multiple areas, such as the front cabin area and the rear cabin area. The end relay controller 102 in the front cabin area can be connected to electronic devices such as the electric seats, seat position sensors, and seat heaters of the front seats to realize intelligent seat adjustment and comfort control. The central controller 101 can be connected to multiple end relay controllers 102 to centrally manage and control the electronic devices in each area, such as receiving operating status data from each area and issuing control commands. By dividing the intelligent driving device 100 into multiple physical space areas and performing refined management of the electronic devices in each area, independent power supply and management of the electronic devices in each area of ​​the intelligent driving device 100 can be achieved, improving the reliability and flexibility of the intelligent driving device 100. In some existing technologies, the intelligent driving device 100 directly utilizes the battery of the intelligent driving device 100 through the power management unit (PMU). Figure 1 (Not shown in the image) This centralized power supply provides power to all electronic components on the intelligent driving device 100. However, this centralized power supply method has many drawbacks, such as excessive power requirements for the power management unit, complex wiring, difficult maintenance, weak anti-interference capability, and low security.

[0053] Some or all of the functions of the intelligent driving device 100 can be controlled by the central controller 101. The central controller 101 may be composed of a processor, which is a circuit with signal processing capabilities. In one implementation, the processor can be a circuit with instruction read and execute capabilities, such as a central processing unit (CPU), microprocessor, graphics processing unit (GPU) (which can be understood as a type of microprocessor), or digital signal processor (DSP). In another implementation, the processor can implement certain functions through the logical relationships of hardware circuits. These logical relationships are fixed or reconfigurable. For example, the processor may be a hardware circuit implemented using an application-specific integrated circuit (ASIC) or a programmable logic device (PLD), such as a field-programmable gate array (FPGA). In a reconfigurable hardware circuit, the process of the processor loading a configuration document and configuring the hardware circuit can be understood as the processor loading instructions to implement some or all of the functions of the aforementioned units. Furthermore, the processor can also be a hardware circuit designed for artificial intelligence, which can be understood as an ASIC, such as a neural network processing unit (NPU), tensor processing unit (TPU), or deep learning processing unit (DPU). In addition, the central controller 101 may include a memory for storing instructions, which the processor can call to implement corresponding functions. As the core control unit of the intelligent driving device 100, the central controller 101 is not only responsible for executing the control strategy of the intelligent driving device 100, but also undertakes data processing, decision-making, and communication tasks with other modules (such as the cloud device 200, the end relay controller 102, etc.). It can adjust the vehicle's driving state in real time based on preset algorithms and sensor data, such as controlling the vehicle's acceleration, deceleration, and steering. Furthermore, the central controller 101 can also implement advanced driver assistance functions such as automatic parking, lane keeping, and adaptive cruise control. In some embodiments, in order to meet the high-performance computing requirements of intelligent driving, the central controller 101 may adopt a heterogeneous computing architecture, that is, integrate multiple types of processors (such as CPU, GPU, NPU, etc.) to give full play to the advantages of various processors, thereby improving computing efficiency and reducing power consumption.

[0054] The end-point relay controller 102 is a core component of the intelligent driving device 100, capable of providing an independent power supply to the area it is responsible for. It possesses independent power conversion and control capabilities, and can dynamically adjust voltage, current, and power according to the actual needs of electronic components, achieving refined power management. Please refer to [link / reference]. Figure 2 The end-point relay controller 102 typically includes key components such as a driver chip, a microcontroller unit (MCU), and a communication chip (e.g., a CAN chip). It enables core functions such as efficient voltage conversion, precise logic control, real-time monitoring of electronic device power consumption data (e.g., current, voltage, power consumption, and temperature), and stable data communication (e.g., communication with the vehicle). Optionally, the end-point relay controller 102 can receive instructions from the central controller 101 to precisely distribute and manage power to electronic devices in various areas, achieving refined control over each device. In this application, the intelligent driving device 100 identifies the load type of the connected electronic devices through the end-point relay controller 102 and adaptively adjusts the power supply parameters based on the identified load type. This aims to provide a refined power supply and protection mechanism, avoiding abnormal conditions such as overvoltage and overcurrent, thereby maximizing the safe operation of the intelligent driving device 100 and improving the reliability of the electronic devices. Specific power supply methods will be described in detail later and will not be elaborated here.

[0055] The perception system 103 may include several sensors for sensing information about the environment surrounding the intelligent driving device 100. For example, the perception system 103 may include a positioning system, which may be a global navigation satellite system (GNSS), such as the Global Positioning System (GPS) or the BeiDou system. As another example, the perception system 120 may also include one or more of the following: an inertial measurement unit (IMU), lidar, millimeter-wave radar, ultrasonic radar, and a camera device.

[0056] The display devices 104 in the cockpit of the intelligent driving equipment 100 are mainly divided into two categories: the first is in-vehicle displays; the second is projection displays, such as head-up displays (HUDs). In-vehicle displays are physical displays and an important component of in-vehicle infotainment systems. Multiple displays can be installed in the cockpit, such as digital instrument cluster displays and central control screens. In some possible implementations, one or more of the aforementioned in-vehicle displays can be human-machine interfaces (HMIs), for example, the central control screen can be an HMI. Head-up displays, also known as head-up display systems, are mainly used to display driving information such as speed and navigation on a display device in front of the driver (e.g., the windshield). This reduces the driver's eye-shifting time, avoids pupil changes caused by eye-shifting, and improves driving safety and comfort. HUDs include, for example, combiner-HUD (C-HUD) systems, windshield-HUD (W-HUD) systems, and augmented reality HUD (AR-HUD) systems.

[0057] Multiple electronic devices refer to various electronic components, assemblies, and / or subsystems with different functions within the intelligent driving device 100. For example, in the left front door area, electronic devices may include door locks, window regulator motors, window regulator switches, door lights, etc.; in the front passenger cabin area, electronic devices may include power seats, seat position sensors, seat heaters, etc. Electronic devices contained in the same physical space area can be powered and managed by the same end relay controller 102. This regionalized power supply method effectively simplifies wiring design, facilitates centralized management and maintenance, and avoids the problem of the entire area being paralyzed due to a single line failure, thereby improving the reliability and safety of the system. Furthermore, in this application, the power supply mode of the electronic devices is directly related to the safety and reliability of the intelligent driving device 100. For example, a fixed power supply mode may not meet the needs of different loads, leading to a decrease in device performance or damage. Therefore, this application proposes an adaptive power supply scheme: the intelligent driving device 100 identifies the load type of the connected electronic devices through the end relay controller 102, and adaptively adjusts the power supply parameters according to the identified load type. This aims to provide a refined power supply and protection mechanism, avoiding abnormal situations such as overvoltage and overcurrent, thereby maximizing the safe operation of the intelligent driving device 100 and improving the reliability of the electronic devices. Specifically, when a new electronic device is connected to the intelligent driving device 100, the end relay controller 102 can, within the maximum power supply capacity of the power supply interface, first supply power to the electronic device and collect its power consumption data. Then, based on this power consumption data, it determines the load type of the electronic device and selects an appropriate power supply mode to protect the electronic device. This process requires no manual intervention, achieving plug-and-play functionality for the electronic devices. Its core lies in the aforementioned adaptive power supply mechanism, which significantly enhances the compatibility and convenience of the intelligent driving device 100. Compared to traditional solutions where manual manual consultation and parameter configuration are required for each new electronic device connection—a time-consuming and error-prone process—this solution, with its plug-and-play feature, eliminates the tedious manual configuration process, significantly improving deployment and maintenance efficiency and reducing labor costs. More importantly, the adaptive power supply mechanism enables the intelligent driving device 100 to automatically identify and be compatible with various types of electronic devices without pre-configuration, greatly expanding the device's functionality and application scenarios. In some possible embodiments, the multiple electronic devices can be those in the sensing system 103 and the display device 104.

[0058] It should be understood that the above module is only an example, and in actual applications, the above module may be added or deleted according to actual needs.

[0059] This application provides a power supply method that identifies the load type of connected electronic devices through an end-point relay controller and adaptively adjusts power supply parameters based on the identified load type. This aims to provide a refined power supply and protection mechanism, avoiding abnormal conditions such as overvoltage and overcurrent, thereby maximizing the safe operation of electronic devices and improving their reliability. Figure 3 The diagram shown is a flowchart illustrating a power supply method provided in an embodiment of this application. This method can be applied to the end relay controller of a terminal, such as the one described above. Figure 1 The terminal relay controller 102 of the intelligent driving device 100.

[0060] To facilitate management and control, this application primarily divides the terminal into multiple areas based on the physical location of the electronic devices, thereby enabling each area to be uniformly managed by the same end-relay controller. For example, as Figure 4 As shown, Figure 4 The example shows five areas: Area 1 (right front door area) is equipped with end-of-line repeater controller 1; Area 2 (right rear door area) is equipped with end-of-line repeater controller 2; Area 3 (left front door area) is equipped with end-of-line repeater controller 3; Area 4 (left rear door area) is equipped with end-of-line repeater controller 4; and Area 5 (windshield area) is equipped with end-of-line repeater controller 5. It should be noted that... Figure 4 For example only, intelligent driving devices can also divide the four seating areas into four independent zones according to actual needs.

[0061] As a regional controller for terminals, the core function of the end-point relay controller is to distribute and control power to electronic devices within a specific area, ensuring their stable operation. For example... Figure 5 As shown, the end-point relay controller includes a drive unit capable of controlling and regulating the power supply to electronic devices within the area to meet their varying power demands. The drive unit includes at least one power supply interface, each capable of establishing an electrical connection with an electronic device, such as... Figure 5 Electronic devices 1, 2, 3, etc. are powered by this.

[0062] Next, the specific steps of the power supply method provided in the embodiments of this application will be described in detail. For ease of description, the end relay controller will be used as the execution subject in the following description.

[0063] S201, the end relay controller collects power consumption data of electronic devices through the drive unit.

[0064] Specifically, the end-point relay controller continuously monitors the power consumption of connected electronic devices through the power supply interface of the drive unit and acquires power consumption data that reflects its real-time power consumption characteristics. This power consumption data may include the current data of the electronic devices. Unlike traditional solutions, this application adopts a method of directly acquiring power consumption data from the power supply interface, avoiding reliance on additional sensors or complex circuits, thereby simplifying circuit design and improving the accuracy of data acquisition.

[0065] For example, such as Figure 6 As shown, the current data can include the current variation curve of electronic devices within a preset time period to more comprehensively reflect their power consumption characteristics. The current variation curve can be understood as the curve of the current consumption of electronic devices changing over time, graphically displaying the trend and characteristics of current changes over time.

[0066] It should be noted that the power consumption data of electronic devices can include multiple sets of current variation curves. Each set of curves corresponds to the current data record of the device within one power supply cycle. These data records help to conduct a more comprehensive analysis of the power consumption characteristics of electronic devices.

[0067] Optionally, the current data may also include the average current, peak current, and quiescent current of the electronic device. The average current refers to the average current value over a period of time, reflecting the average power consumption of the electronic device over that period. The peak current refers to the maximum current value over a period of time, reflecting the maximum power demand of the electronic device during startup, switching, or load changes. The quiescent current refers to the current value of the electronic device in standby or idle state, reflecting the power consumption level of the electronic device.

[0068] One possible implementation, such as Figure 7 As shown, before executing S201, the end-point relay controller can perform initial power supply and data acquisition. Specifically, the end-point relay controller can supply power to the electronic device based on the first power supply parameters (i.e., perform initial power supply), and simultaneously acquire the power consumption data of the electronic device through the drive unit. The first power supply parameter can be set to the maximum current range allowed by the power supply interface. During the learning process, this range may be overridden or excluded by actual operating data. Before learning, the first power supply parameter can be set to a preset maximum current range or other initial parameters. When a new electronic device is first connected to the terminal, the terminal cannot initially determine the device's power consumption characteristics. To ensure that the electronic device can reliably start and operate normally, it can initially be powered at the maximum power of the power supply interface to fully meet its potential maximum power requirements.

[0069] For example, suppose the electronic device newly connected to the vehicle is an onboard compressor refrigerator. Initially, the vehicle itself cannot know the refrigerator's power consumption characteristics, such as its rated power, starting current, and cooling power consumption under different ambient temperatures. The end-point relay controller can initially supply power at the maximum capacity allowed by the power supply interface to ensure the refrigerator can start normally and quickly enter working condition, avoiding impact on the user experience due to insufficient power supply. Simultaneously, it collects the refrigerator's power consumption data to understand its actual power usage.

[0070] In one possible implementation, before executing S201, the hardware interface requirements of the electronic component to the end-of-line repeater controller can be clarified according to the electronic component's Interface Control Document (ICD), and the electrical matching design and connection between the electronic component and the end-of-line repeater controller can be completed. Specifically, the power supply and drive type of the electronic component's required electrical interface can be identified and confirmed first, such as high-side driver (HSD) and high-side driver with Pulse Width Modulation (HSD-PWM); then, the electrical interface of the same specification on the end-of-line repeater controller can be calculated, and the electrical interface matching design can be completed; finally, the wiring harness connection design can be performed, such as... Figure 5 The diagram shows the connection of the end relay controller and electronic components via a wiring harness that matches the current parameters.

[0071] One possible implementation, such as Figure 4 As shown, the end-of-line relay controller is a zone controller for the vehicle, and one end-of-line relay controller can be installed in each zone of the vehicle. This controller is responsible for managing the power supply of various electronic devices within the zone. Because the electronic devices within the zone are physically close together, the controller can directly connect to these devices to achieve precise power supply control. Applying this type of zone controller to vehicles enables refined power management, simplifies wiring harness design, and improves safety, thereby enhancing the overall reliability of the vehicle.

[0072] Optionally, the end-point relay controller undergoes periodic power-on / off cycles and operational tests, such as... Figure 8 As shown, the end-point relay controller simultaneously samples the operating current a corresponding number of times. After completing the sampling, the end-point relay controller self-learns and performs periodic averaging of the signal to obtain the actual current waveform of the electronic component. Finally, after acquiring the actual current waveform of the electronic component, it is stored in the corresponding storage area.

[0073] S202, the end-of-line relay controller determines the load type of electronic devices based on power consumption data.

[0074] Here, load type refers to the electrical characteristics of electronic devices, indicating their demand patterns for current and voltage. In this application, as... Figure 9 As shown, the end-point relay controller aims to identify the load type of electronic devices by monitoring and analyzing their power consumption data in real time. Specifically, during the initial stage (i.e., when an electronic device is newly connected to the terminal), the end-point relay controller supplies power to the electronic device at maximum capacity while continuously collecting its power consumption data. By conducting in-depth analysis of this data, the controller determines the load type of the electronic device. Furthermore, the end-point relay controller can optimize the power supply strategy based on the identified load type, thereby improving the stability and reliability of the electronic device's operation.

[0075] In one possible implementation, the load type is one of capacitive, inductive, and resistive loads. A resistive load exhibits resistive characteristics, where current is directly proportional to voltage. Examples of resistive loads include automotive lighting (such as halogen bulbs) and resistive heaters (such as seat heaters). An inductive load exhibits inductive characteristics, where changes in current generate a back electromotive force, hindering sudden changes in current. Examples of inductive loads include windshield wiper motors and window regulator motors. A capacitive load exhibits capacitive characteristics, capable of storing charge and buffering voltage changes. Examples of capacitive loads include control displays and dashboard displays. The end-point relay controller analyzes the power consumption data of electronic devices to identify their load type. Different load types have different power requirements, therefore, the controller can provide power according to the identified load type, thereby improving the stability and reliability of the electronic devices.

[0076] In one possible implementation, the end-of-line relay controller analyzes the current variation characteristics of electronic devices based on current data from power consumption data. Further, the end-of-line relay controller can determine the load type of the electronic devices based on these current variation characteristics. Different load types have different current variation characteristics. These current variation characteristics refer to various quantifiable and identifiable characteristic parameters of the current change over time during the operation of the electronic device. For example, current variation characteristics may include inrush current, steady-state current, and current waveform, where the inrush current is the peak current at the moment the electronic device starts; the steady-state current is the current value during normal operation; and the current waveform is the shape of the current change over time, such as a sine wave or a square wave. In this embodiment, by analyzing current variation characteristics, the end-of-line relay controller can more accurately identify the load type and avoid misjudgment. Furthermore, the end-of-line relay controller can adaptively adjust the power supply strategy according to the identified load type. For example, the end-of-line relay controller can adjust the power supply parameters or constrain the range of the power supply parameters according to the load type. By optimizing the power supply strategy, the stability and reliability of the electronic devices can be effectively improved, and the failure rate can be reduced.

[0077] Optionally, the end-of-line relay controller can compare the analyzed current change characteristics with pre-stored current change characteristics of various known load types to calculate a similarity score. The load type with the highest similarity score is selected as the identification result. This similarity-based method can handle devices whose current characteristics do not perfectly match the preset type, improving the robustness of identification.

[0078] One possible implementation, such as Figure 10 As shown, resistive loads are identified by analyzing current variation characteristics. Specifically, within a given time period, if the absolute value of the difference between the instantaneous current value and the average current value is less than a first threshold, the load type is determined to be resistive. Here, the instantaneous value refers to the current value at a specific moment, the average current value refers to the average current value over that time period, and the absolute value of the difference reflects the current fluctuation range. The first threshold is a pre-set value used to measure the upper limit of the current fluctuation range. In other words, if the instantaneous current value is always very close to its average value within a time period, with a small fluctuation range (less than the first threshold), then the load can be considered a resistive load. This method can effectively identify resistive loads because the current and voltage of a resistive load have a linear relationship, the current waveform is stable, and the fluctuation range is small. By setting an appropriate threshold, interference from other types of loads can be effectively eliminated, improving the accuracy of identification. Therefore, by analyzing the absolute value of the difference between the instantaneous current value and the average current value and comparing it with a preset threshold, resistive loads can be effectively identified.

[0079] One possible implementation, such as Figure 11As shown, capacitive loads are identified by analyzing current change characteristics. Specifically, if, at startup, the instantaneous current value exceeds the average value over the corresponding time period, and the exceedance is greater than a second threshold, and the current value gradually decays to a stable value after startup, the load type is determined to be capacitive. Here, "startup instantaneous" refers to the extremely short period when the electronic device just begins to start up; the instantaneous current value exceeding the average value over the corresponding time period indicates a significant current peak at startup; the exceedance being greater than the second threshold indicates that this peak value must exceed the average value to a certain extent; and the current value gradually decaying to a stable value after startup represents the current change trend of a capacitive load after startup. The second threshold is a pre-set value used to measure the magnitude by which the current exceeds the average value at startup. In other words, a typical characteristic of a capacitive load is that it generates a large current surge at startup, then gradually returns to normal operating conditions. This method can effectively identify capacitive loads because they have charging characteristics; they require a large current for rapid charging at startup, and then the current gradually decreases. By setting an appropriate second threshold, interference from other types of loads can be effectively eliminated, improving the accuracy of identification. Therefore, by analyzing the peak current at startup and the current decay trend after startup, and comparing it with a preset second threshold, capacitive loads can be effectively identified.

[0080] One possible implementation, such as Figure 12 As shown, inductive loads are identified by analyzing current variation characteristics. Specifically, if the current value exhibits periodic changes within a corresponding time period, the load type is determined to be inductive. Periodic changes refer to the current value exhibiting regular, repetitive fluctuations over time, such as sine waves or square waves. In other words, a typical characteristic of inductive loads is that their current waveform has a clear periodicity. This method can effectively identify inductive loads because inductive loads contain inductive elements, which impede changes in current, causing the current to exhibit periodic variations. Optionally, by analyzing parameters such as the frequency and amplitude of the current waveform, different types of inductive loads can be further distinguished. Therefore, analyzing whether the current value exhibits periodic changes can effectively identify inductive loads.

[0081] S203, the end-of-line relay controller determines the drive parameters of the electronic devices based on the load type of the electronic devices.

[0082] Specifically, end-point relay controllers can employ refined power supply management methods, using drive parameters to constrain the range of power supply parameters when supplying power to electronic devices, thereby achieving safe and efficient control of these devices. Drive parameters refer to a series of parameter configurations used by the end-point relay controller to adjust and limit power supply behavior. These configurations are not direct voltage or current values, but rather constraints on the range of power supply parameters. For example, drive parameters include voltage range, current upper limit, and frequency range. This method can effectively improve the stability and reliability of electronic devices.

[0083] For example, when a car wiper motor is first connected to the end relay controller, to determine its load type, the end relay controller may not initially limit the power supply, but instead supply power according to its maximum capacity, while continuously collecting power consumption data of the wiper motor under different operating states. Further, based on the collected power consumption data, the end relay controller determines that the wiper motor's load type is an inductive load. After determining the load type, the end relay controller will set the drive parameters to an appropriate range according to the wiper motor's load type and take corresponding protection measures. For example, the operating voltage range of the wiper motor may be set to 12V-14V.

[0084] In one possible implementation, the end-of-line relay controller acquires a drive parameter library. Further, the end-of-line relay controller determines the drive parameters based on power consumption data, the load type of the electronic device, and the drive parameter library. The drive parameter library is a pre-defined database storing drive parameter characteristics for various common load types (e.g., inductive loads, capacitive loads, resistive loads, etc.). Each load type corresponds to different drive parameter characteristics, which describe the characteristics of key parameters such as voltage and current under normal operating conditions. For example, the drive parameter characteristics of an inductive load may include a higher starting current. These characteristics provide a reference for the end-of-line relay controller to select appropriate drive parameters. It should be noted that even with the same load type, different electronic devices require adjustments to the specific drive parameters based on the actual conditions of the device to achieve the best driving effect. In this embodiment, to protect the electronic device from potential damage, the end-of-line relay controller determines the final drive parameters by comprehensively analyzing power consumption data and referring to the drive parameter library, thereby ensuring that the electronic device operates safely and efficiently.

[0085] For example, suppose the end-point relay controller is connected to a car wiper motor. The end-point relay controller first retrieves a drive parameter library, which contains various load types and their corresponding drive parameter characteristics. When the wiper motor is operating, the end-point relay controller collects its power consumption data. Based on this data, the end-point relay controller can determine that the wiper motor is an inductive load. The end-point relay controller then finds the drive parameter characteristics corresponding to inductive loads from the drive parameter library, such as a voltage range of 12V-14V, a starting current limit of 10A, and a normal operating current limit of 5A. Finally, the controller fine-tunes these parameters based on the actual power consumption data of the wiper motor to achieve optimal power supply performance.

[0086] Optionally, the end relay controller includes a storage area, which can be composed of electrically erasable programmable read-only memory (EEPROM). This storage area is non-volatile to ensure that data is not lost after power failure. The storage area stores a drive parameter library.

[0087] S204, the end-of-line relay controller, supplies power to electronic devices based on drive parameters.

[0088] Specifically, the end-of-line relay controller supplies power to electronic devices based on drive parameters. These drive parameters are not directly provided voltage or current values, but rather a series of parameter configurations used by the end-of-line relay controller to regulate and limit power supply behavior, constraining the range of power supply parameters. Through these parameters, the end-of-line controller can act like a "safety valve," ensuring that the power supply fluctuates within a reasonable range, thereby effectively improving the stability and reliability of electronic devices. This provides a more flexible and safer power supply control method than directly setting fixed voltage or current values.

[0089] Optionally, the end-of-line relay controller can adjust the power supply parameters of the electronic components based on the drive parameters to optimize the performance of the electronic components.

[0090] Here are several ways to update driver parameters:

[0091] In one possible implementation, the end-of-line relay controller acquires the operating condition parameters of the electronic devices and updates the drive parameters based on these parameters. This is done to adapt the power supply strategy to the actual operating environment of the electronic devices, optimizing their performance and improving device reliability. However, the operating conditions of electronic devices are not static; for example, temperature increases and voltage fluctuations can affect their optimal drive parameters. If the drive parameters remain unchanged, it may lead to reduced efficiency or even malfunction of the electronic devices. Therefore, it is necessary to dynamically adjust the drive parameters based on the real-time acquired operating condition parameters to ensure that the electronic devices always operate in optimal condition. For example, when an increase in the temperature of the electronic devices is detected, the supply voltage or current can be appropriately reduced to avoid overheating damage. Finally, the end-of-line relay controller supplies power to the electronic devices based on the updated drive parameters, thereby achieving smarter and more reliable power supply control.

[0092] Furthermore, in one possible implementation, the operating condition parameters include the operating temperature of the electronic devices. The end-relay controller updates the drive parameters based on the operating temperature of the electronic devices. This is to address the impact of temperature changes on the performance of the electronic devices, ensuring stable and efficient operation under different temperatures. However, the drive parameters of electronic devices are often very sensitive to temperature; excessively high or low temperatures can lead to performance degradation or even damage. If the drive parameters cannot be adjusted according to temperature, it cannot be guaranteed that the electronic devices are always in optimal operating condition. Therefore, the end-relay controller needs to monitor the operating temperature of the electronic devices in real time and dynamically adjust the drive parameters according to a preset temperature-drive parameter mapping relationship. For example, when the temperature rises, it may be necessary to reduce the supply voltage to prevent overheating; while when the temperature drops, it may be necessary to appropriately increase the voltage to maintain normal device operation. Ultimately, by dynamically updating the drive parameters according to the operating temperature, the end-relay controller can ensure that the electronic devices operate safely and reliably under various temperature conditions.

[0093] For example, such as Figure 13 As shown, electronic components may experience abnormal operating current during operation due to low ambient temperature. To address this, a self-learning correction method for drive current can be employed. First, the end-point relay controller needs to acquire ambient temperature information, which can be obtained through temperature sensors installed throughout the vehicle or local temperature data acquired from the cloud. Then, the end-point relay controller queries a pre-calibrated temperature coefficient table and corrects the drive current using the corresponding temperature coefficient, sending the corrected drive current parameters to the end-point relay electrical interface. Simultaneously, the end-point relay controller needs to monitor the operating current parameters of the electronic components in real time during actual operation. If abnormal operating current is detected, the above steps are repeated for drive current self-learning correction to ensure the electronic components function normally under varying ambient temperatures.

[0094] Furthermore, in another possible implementation, the operating condition parameters include the degree of aging of the electronic components. For example... Figure 14 As shown, the end-of-line repeater controller updates its drive parameters based on the aging level of electronic components. This is done to compensate for the performance degradation caused by aging, extend the lifespan of the electronic components, and maintain the overall stability of the system. However, as electronic components are used for longer periods, their internal components gradually age, leading to performance degradation, such as slower response times and increased power consumption. If the drive parameters remain unchanged, they will not meet the needs of aging components and may even accelerate their failure. Therefore, the end-of-line repeater controller needs to assess the aging level of the electronic components and adjust the drive parameters accordingly to compensate for performance degradation. For example, as... Figure 14 As shown, for severely aged devices, the end-of-line relay controller can dynamically adjust the load drive current through self-learning to appropriately increase the current, meaning the new load drive current can be greater than the original load drive current to maintain its output power. Simultaneously, it can also adjust protection thresholds to prevent abnormal situations caused by aging. Ultimately, by dynamically updating drive parameters based on the degree of aging, the end-of-line relay controller can maximize the lifespan of electronic devices and ensure that the system maintains good performance throughout its entire lifespan.

[0095] In one possible implementation, the end-point relay controller acquires historical power consumption data of electronic devices and updates drive parameters based on this data. This is done to optimize the power supply strategy according to the actual power consumption habits and performance trends of the electronic devices, improving energy efficiency and extending device lifespan. However, the power consumption patterns of electronic devices are not static; they may be affected by various factors such as workload, ambient temperature, and usage time. If the drive parameters remain unchanged, they cannot adapt to these changes, leading to energy waste or device performance degradation. Therefore, the end-point relay controller needs to analyze the historical power consumption data of the electronic devices to extract useful information, such as average power consumption, peak current, and power consumption cycle, and adjust the drive parameters accordingly. For example, if historical data shows that the device's power consumption is low during a specific period, the supply voltage during that period can be appropriately reduced to save energy; if historical data shows that the device's peak current is gradually increasing, the current limit may need to be adjusted to prevent overload damage. Ultimately, the end-point relay controller supplies power to the electronic devices based on the updated drive parameters, thereby achieving smarter and more efficient power supply control and improving the overall system performance.

[0096] In one possible implementation, the power consumption data also includes data on the electronic device's operating stroke. Based on the power consumption data, the end-point relay controller determines a first stroke segment within the operating stroke; that is, the electronic device's operating stroke may include multiple stroke segments, and the first stroke segment is one of these multiple segments. Based on the electronic device's load type and the first stroke segment, the end-point relay controller can determine the electronic device's drive parameters. These drive parameters are also used to constrain the power supply parameter range within the first stroke segment. In this embodiment, if the electronic device's operating stroke has multiple stroke segments, corresponding drive parameters can be determined for each stroke segment, enabling fine-grained control of the power supply parameters and better adapting to the electronic device's power requirements at different operating stages.

[0097] Optionally, the power supply parameters within the first stroke segment are lower than the power supply parameters of the first device during its operating stroke outside the first stroke segment. For example, such as... Figure 15 As shown, some electronic components (such as sunroof motors and sunshade motors) generate noise, vibration, and acoustic roughness (NVH) abnormalities during operation due to impacts and other reasons. To reduce these abnormalities, the working stroke of the electronic component can be divided into at least two segments. For example, the first half is a stable operating stroke segment where the component runs at a normal speed; the second half is a deceleration stroke segment where the component slows down at the end of the stroke to reduce noise from impacts with hard stops. To achieve the deceleration effect, the power supply parameters within the first stroke segment (e.g., the second half of the deceleration stroke segment) can be selectively reduced to be lower than the power supply parameters of the component during its working stroke outside the first stroke segment. This is because reducing the power supply parameters (e.g., voltage or current) directly reduces the motor's output power and torque, thereby reducing the speed and achieving the deceleration effect.

[0098] Optionally, the power supply parameters within the first stroke segment can be higher than the power supply parameters of the electronic device during its operating stroke outside the first stroke segment. For example, some electronic devices may require higher power or speed within specific stroke segments. For instance, when lifting heavy objects, a crane motor may need to provide higher power during the initial phase of lifting. To achieve acceleration or high power output, the operating stroke of the electronic device can be divided into at least two segments: a first stroke segment (acceleration / high power segment), where the device needs to start quickly or provide greater power; and a second stroke segment (stable operation segment), where the device operates at normal speed or power. To achieve acceleration or high power output, the power supply parameters within the first stroke segment can be selectively increased to be higher than the power supply parameters of the device during its operating stroke outside the first stroke segment. This is because increasing the power supply parameters (e.g., voltage or current) directly increases the motor's output power and torque, thereby increasing the speed or providing greater force.

[0099] In one possible implementation, the stroke is divided into multiple segments. These segments can be divided based on various factors, such as current jump points and rotational speed. Current jump points may exist between different segments.

[0100] For example, please see Figure 16 When electronic devices are first connected to the end-point relay controller, load current parameters can be calibrated first. After calibration, the parameter library can be stored. Then, the current parameter type is dynamically matched to determine the load type of the electronic device. If it matches the resistive load parameters, the resistive load parameters are used for power supply; if it matches the inductive load parameters, the inductive load parameters are used for power supply; if it matches the capacitive load parameters, the capacitive load parameters are used for power supply. Furthermore, temperature coefficient compensation, aging coefficient compensation, etc., can be performed to ultimately complete driver self-learning. The power supply mode of electronic devices is directly related to the safety and reliability of the terminal. For example, a fixed power supply mode may not meet the needs of different loads, leading to equipment performance degradation or damage. Therefore, this application proposes an adaptive power supply scheme: the end-point relay controller identifies the load type of the connected electronic devices and adaptively adjusts the power supply parameters according to the identified load type, aiming to provide a refined power supply and protection mechanism to avoid abnormal situations such as overvoltage and overcurrent, thereby maximizing the safe operation of the terminal and improving the reliability of electronic devices. Specifically, when a new electronic device is connected to the end-point relay controller, the controller can, within the maximum power supply capacity of the power supply interface, first supply power to the electronic device and collect its power consumption data. Based on this data, the controller determines the load type of the electronic device and selects an appropriate power supply mode to protect it. This process requires no manual intervention, achieving plug-and-play functionality. The core of this system lies in the aforementioned adaptive power supply mechanism, which significantly enhances the compatibility and convenience of the terminal. Compared to traditional solutions where manual manual consultation and parameter configuration are required for each new electronic device connection—a time-consuming and error-prone process—this solution eliminates the tedious manual configuration process through its plug-and-play feature, greatly improving deployment and maintenance efficiency and reducing labor costs. More importantly, the adaptive power supply mechanism enables the terminal to automatically identify and be compatible with various types of electronic devices without pre-configuration, greatly expanding the device's functionality and application scenarios.

[0101] The foregoing has described the application scenarios and methods provided by the embodiments of this application. The apparatus of the embodiments of this application is provided below. It is understood that the various apparatuses provided in the embodiments of this application, such as end-relay controllers and chip systems, include hardware structures, software units, or combinations of hardware and software structures to perform the functions described in the above method embodiments. Those skilled in the art should readily recognize that the apparatus and its modules can be implemented in hardware or a combination of hardware and computer software in conjunction with the various functions described in the embodiments disclosed herein. Whether a function is executed by hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different apparatus implementations in different application scenarios to implement the aforementioned method embodiments, and different implementations of the apparatus should not be considered beyond the scope of the embodiments of this application.

[0102] Several possible devices are listed below.

[0103] Please see Figure 17 , Figure 17 This is a schematic diagram of the structure of an end-of-line relay controller provided in an embodiment of this application. The end-of-line relay controller 50 includes a drive unit 501, which includes at least one power supply interface. The end-of-line relay controller 50 supplies power to at least one electronic device through the at least one power supply interface. The at least one electronic device can be a standalone device, or it can be a software module and / or hardware module in a standalone device, such as a chip or a computer program.

[0104] The end relay controller 50 is used to implement the aforementioned power supply diagnostic method, for example, to implement... Figure 3 The method performed by the end relay controller device in the illustrated embodiment and its possible implementation methods.

[0105] In one possible implementation, the drive unit 501 collects power consumption data of the electronic device; determines the load type of the electronic device based on the power consumption data; determines the drive parameters of the electronic device based on the load type of the electronic device; and supplies power to the electronic device based on the drive parameters. The drive parameters are used to constrain the power supply parameter range when the end interrupt controller supplies power to the electronic device.

[0106] In one possible implementation, the drive unit 501 is specifically used to: analyze the current change characteristics of the electronic device based on the current data of the power consumption data; and determine the load type of the electronic device based on the current change characteristics of the electronic device.

[0107] In one possible implementation, the load type is one of capacitive load, inductive load, and resistive load.

[0108] In one possible implementation, the drive unit 501 is specifically configured to: determine the load type as a resistive load when the absolute value of the difference between the instantaneous value and the average value of the current value is less than a first threshold during the corresponding time period; determine the load type as a capacitive load when the instantaneous value of the current value exceeds the average value during the corresponding time period at the moment of startup, and the exceedance is greater than a second threshold, and the current value gradually decays to a stable value after startup; and determine the load type as an inductive load when the current value exhibits periodic changes during the corresponding time period.

[0109] In one possible implementation, the drive unit 501 is specifically used to: acquire a drive parameter library, which includes multiple load types and drive parameter characteristics corresponding to each load type; and determine drive parameters based on power consumption data, the load type of electronic devices, and the drive parameter library.

[0110] In one possible implementation, the driving unit 501 is specifically used for: acquiring the operating condition parameters of the electronic device, updating the driving parameters based on the operating condition parameters, and supplying power to the electronic device based on the updated driving parameters.

[0111] In one possible implementation, the operating condition parameters include the operating temperature of the electronic device; the driving unit 501 is specifically used to update the driving parameters according to the operating temperature of the electronic device.

[0112] In one possible implementation, the operating condition parameters include the aging degree of the electronic device; the driving unit 501 is specifically used to update the driving parameters according to the aging degree of the electronic device.

[0113] In one possible implementation, the driving unit 501 is specifically used for: acquiring historical power consumption data of the electronic device, updating driving parameters based on the historical power consumption data, and supplying power to the electronic device based on the updated driving parameters.

[0114] In one possible implementation, the power consumption data also includes data on the electronic device during its operating stroke; the drive unit 501 is specifically used to: determine a first stroke segment in the operating stroke based on the power consumption data; determine the drive parameters of the electronic device based on the load type of the electronic device and the first stroke segment; the drive parameters are also used to constrain the range of power supply parameters within the first stroke segment.

[0115] In one possible implementation, the drive unit 501 is specifically used to: supply power to the electronic device based on a first power supply parameter, and collect the power consumption data of the electronic device through the drive unit; the first power supply parameter is the maximum power supply parameter of the power supply interface.

[0116] The specific operations performed by the end interrupt controller can be found in the description of the foregoing embodiments, for example, referring to... Figure 3 The method embodiments shown are described.

[0117] This application also provides a chip system, which includes at least one processor and a communication interface. The communication interface is used for inputting and / or outputting data, and the at least one processor is used for calling computer instructions to enable the chip system to implement... Figure 3 The method performed by the end relay controller in the illustrated embodiment and its possible implementation methods.

[0118] This application also provides a computer-readable storage medium storing instructions that, when executed by at least one processor, implement the aforementioned control method, for example, implementing... Figure 3 The illustrated embodiment describes the method executed by the end relay controller and its possible implementations. The computer-readable storage medium can be any available medium capable of being stored by a computing device, or a data storage device such as a data center containing one or more available media. The computer-readable storage medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid-state drive).

[0119] This application provides a computer program product including computer instructions that, when executed on at least one processor, implement the aforementioned control method, for example, implementing... Figure 3 The method performed by the end relay controller in the illustrated embodiment and its possible implementation methods are shown. Optionally, the computer program product can be a software installation package or image package. When the aforementioned method is required, the computer program product can be downloaded and executed on a computing device.

[0120] This application provides a vehicle that includes the aforementioned end interrupt controller, or the vehicle includes the aforementioned chip system, or the vehicle includes the aforementioned computer storage medium, or the vehicle is equipped with the aforementioned computer program product.

[0121] Optimization notes:

[0122] In addition, a few additional points need to be made regarding this application:

[0123] 1. Unless otherwise stated, “multiple” means two or more.

[0124] 2. Unless otherwise specified or in case of logical conflict, the terms and / or descriptions in different embodiments of this application are consistent and can be referenced in each other. The technical features in different embodiments can be combined to form new embodiments according to their inherent logical relationships.

[0125] III. The various numerical designations used in this application are merely for descriptive convenience and are not intended to limit the scope of protection of this application. The magnitude of the serial numbers used in this application does not imply a sequential order of execution; the execution order of each process should be determined by its function and internal logic. For example, the terms "first," "second," "third," "fourth," and other various terminology (if present) in the specification, claims, and drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. Such data can be interchanged where appropriate so that the embodiments described herein can be implemented in a sequence other than that illustrated or described herein.

[0126] Furthermore, any embodiment or design described in this application as "exemplary" or "for example" should not be construed as being more preferred or advantageous than other embodiments or designs. Specifically, the use of terms such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner for ease of understanding.

[0127] IV. The terms “comprising” and “having” and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are expressly listed, but may include other steps or units that are not expressly listed or that are inherent to such process, method, product or device.

[0128] V. In this application, "for indicating" can be understood as "enabling". "Enabling" can include direct enabling and indirect enabling. When describing information for enabling A, it can include whether the information directly enables A or indirectly enables A, but it does not mean that the information necessarily carries A.

[0129] The information that enables the information is called the information to be enabled. In the specific implementation process, there are many ways to enable the information to be enabled, such as, but not limited to, directly enabling the information to be enabled, such as the information to be enabled itself or its index. It can also be indirectly enabled by enabling other information, where there is a relationship between the other information and the information to be enabled. It can also enable only a part of the information to be enabled, while the other parts are known or pre-agreed upon. For example, enabling specific information can be achieved by using a pre-agreed (e.g., protocol-defined) arrangement of various pieces of information, thereby reducing enabling overhead to some extent. Simultaneously, common parts of various pieces of information can be identified and enabled uniformly to reduce the enabling overhead caused by individually enabling the same information.

[0130] VI. In this application, "predefined" may include preconfiguration. For example, predefining certain information means that the information is calculated or received in advance before performing an action that uses the information. The "predefined" can be implemented by pre-storing corresponding codes, tables, or other means that can be used to indicate relevant information in the device (e.g., in a controller or vehicle). This application does not limit the specific implementation method.

[0131] VII. The term "storage" or "preservation" in this application can refer to storage in one or more memory devices. These memory devices can be separately configured or integrated into an encoder, decoder, processor, or communication device. Alternatively, some memory devices can be separately configured, while others can be integrated into a decoder, processor, or communication device. The type of memory can be any form of storage medium, and this is not limited.

[0132] 8. In the schematic diagrams in the accompanying drawings of this application, the dashed arrows or boxes indicate optional steps or optional modules.

[0133] 9. Unless otherwise stated, " / " indicates that the objects before and after are in an "or" relationship. For example, A / B can mean A or B. In this application, "and / or" is merely a description of the relationship between the related objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist simultaneously, and B exists alone. A and B can be singular or plural.

[0134] 10. The names of devices, equipment, modules, information, and parameters in this application are merely examples. In actual implementation, the names of the above-mentioned things may be designed in other ways. For example, a vehicle control device may be replaced with a control device, etc.

Claims

1. A power supply method, characterized in that, An application is made in an end-of-line interrupt controller, the end-of-line interrupt controller including a drive unit, the drive unit including at least one power supply interface, the end-of-line interrupt controller being connected to at least one electronic device through the at least one power supply interface, the method comprising: The power consumption data of the electronic device is collected through the driving unit; wherein, the power consumption data includes current data; Based on the power consumption data, the load type of the electronic device is determined; Based on the load type of the electronic device, determine the driving parameters of the electronic device; The electronic device is powered based on the driving parameters; the driving parameters are used to constrain the range of power supply parameters when powering the electronic device.

2. The power supply method according to claim 1, characterized in that, Determining the load type of the electronic device based on the power consumption data includes: Based on the current data from the power consumption data, the current variation characteristics of the electronic device are analyzed. Based on the current variation characteristics of the electronic device, the load type of the electronic device is determined.

3. The power supply method according to claim 1 or 2, characterized in that, The load type is one of capacitive load, inductive load, and resistive load.

4. The power supply method according to claim 3, characterized in that, Determining the load type of the electronic device based on its current variation characteristics includes: When the current change characteristic is that the absolute value of the difference between the instantaneous value and the average value of the current value is less than a first threshold within the corresponding time period, the load type is determined to be a resistive load. When the current change characteristic is that at the moment of startup, the instantaneous value of the current exceeds the average value within the corresponding time period, and the magnitude of the exceedance is greater than the second threshold, and the current value gradually decays to a stable value after startup, the load type is determined to be a capacitive load. When the current change characteristic is that the current value changes periodically within the corresponding time period, the load type is determined to be an inductive load.

5. The power supply method according to any one of claims 1-4, characterized in that, Determining the driving parameters of the electronic device based on its load type includes: Obtain the driver parameter library, which includes multiple load types and the corresponding driver parameter features for each load type; The driving parameters are determined based on the power consumption data, the load type of the electronic device, and the driving parameter library.

6. The power supply method according to any one of claims 1-5, characterized in that, The step of supplying power to the electronic device based on the driving parameters includes: Obtain the operating condition parameters of the electronic device, and update the driving parameters based on the operating condition parameters; Power is supplied to the electronic device based on the updated driving parameters.

7. The power supply method according to claim 6, characterized in that, The operating condition parameters include the operating temperature of the electronic device; updating the driving parameters based on the operating condition parameters includes: The driving parameters are updated based on the operating temperature of the electronic device.

8. The power supply method according to claim 6 or 7, characterized in that, The operating condition parameters include the aging degree of the electronic device; updating the driving parameters based on the operating condition parameters includes: The driving parameters are updated based on the aging degree of the electronic devices.

9. The power supply method according to any one of claims 1-8, characterized in that, The step of supplying power to the electronic device based on the driving parameters includes: Obtain historical power consumption data of the electronic device, and update the driving parameters based on the historical power consumption data; Power is supplied to the electronic device based on the updated driving parameters.

10. The power supply method according to any one of claims 1-9, characterized in that, The power consumption data also includes data on the electronic devices during their operating cycle; Determining the driving parameters of the electronic device based on its load type includes: Based on the electricity consumption data, the first stroke segment in the working stroke is determined; Based on the load type of the electronic device and the first stroke segment, the driving parameters of the electronic device are determined; the driving parameters are also used to constrain the range of power supply parameters within the first stroke segment.

11. The power supply method according to any one of claims 1-10, characterized in that, The step of collecting power consumption data of the electronic device through the driving unit includes: Power is supplied to the electronic device based on the first power supply parameter, and the power consumption data of the electronic device is collected through the drive unit; the first power supply parameter is the maximum power supply parameter of the power supply interface.

12. An end-of-line interrupt controller, characterized in that, The end-of-line interrupt controller includes a drive unit, the drive unit including at least one power supply interface, the end-of-line interrupt controller being connected to at least one electronic device through the at least one power supply interface, the drive unit being used for: Collect the power consumption data of the electronic devices; Based on the power consumption data, the load type of the electronic device is determined; Based on the load type of the electronic device, determine the driving parameters of the electronic device; The electronic device is powered based on the driving parameters; the driving parameters are used to constrain the range of power supply parameters when the end interrupt controller powers the electronic device.

13. The power supply controller according to claim 12, characterized in that, The driving unit is specifically used for: Based on the current data from the power consumption data, the current variation characteristics of the electronic device are analyzed. Based on the current variation characteristics of the electronic device, the load type of the electronic device is determined.

14. The power supply controller according to claim 12 or 13, characterized in that, The load type is one of capacitive load, inductive load, and resistive load.

15. The power supply controller according to claim 14, characterized in that, The driving unit is specifically used for: When the current change characteristic is that the absolute value of the difference between the instantaneous value and the average value of the current value is less than a first threshold within the corresponding time period, the load type is determined to be a resistive load. When the current change characteristic is that at the moment of startup, the instantaneous value of the current exceeds the average value within the corresponding time period, and the magnitude of the exceedance is greater than the second threshold, and the current value gradually decays to a stable value after startup, the load type is determined to be a capacitive load. When the current change characteristic is that the current value changes periodically within the corresponding time period, the load type is determined to be an inductive load.

16. The power supply controller according to any one of claims 12-15, characterized in that, The driving unit is specifically used for: Obtain the driver parameter library, which includes multiple load types and the corresponding driver parameter features for each load type; The driving parameters are determined based on the power consumption data, the load type of the electronic device, and the driving parameter library.

17. The power supply controller according to any one of claims 12-16, characterized in that, The driving unit is specifically used for: Obtain the operating condition parameters of the electronic device, and update the driving parameters based on the operating condition parameters; Power is supplied to the electronic device based on the updated driving parameters.

18. The power supply controller according to claim 17, characterized in that, The operating condition parameters include the operating temperature of the electronic device; the driving unit is specifically used for: The driving parameters are updated based on the operating temperature of the electronic device.

19. The power supply controller according to claim 17 or 18, characterized in that, The operating condition parameters include the aging degree of the electronic device; the driving unit is specifically used for: The driving parameters are updated based on the aging degree of the electronic devices.

20. The power supply controller according to any one of claims 12-19, characterized in that, The driving unit is specifically used for: Obtain historical power consumption data of the electronic device, and update the driving parameters based on the historical power consumption data; Power is supplied to the electronic device based on the updated driving parameters.

21. The power supply controller according to any one of claims 11-20, characterized in that, The power consumption data also includes data on the electronic device during its operating stroke; the drive unit is specifically used for: Based on the electricity consumption data, the first stroke segment in the working stroke is determined; Based on the load type of the electronic device and the first stroke segment, the driving parameters of the electronic device are determined; the driving parameters are also used to constrain the range of power supply parameters within the first stroke segment.

22. The power supply controller according to any one of claims 12-21, characterized in that, The driving unit is specifically used for; Power is supplied to the electronic device based on the first power supply parameter, and the power consumption data of the electronic device is collected through the drive unit; the first power supply parameter is the maximum power supply parameter of the power supply interface.

23. A chip system, characterized in that, The chip system includes at least one processor and a communication interface, the communication interface being used for inputting and / or outputting data, and the at least one processor being used to invoke computer instructions to cause the chip system to implement the method according to any one of claims 1-11.

24. A vehicle, characterized in that, The vehicle includes the power supply controller as described in claim 12. Alternatively, the vehicle may include the chip system of claim 23.

25. A computer-readable storage medium, characterized in that, It includes computer program instructions that, when executed by at least one processor, implement the method of any one of claims 1-11.

26. A computer program product containing instructions, characterized in that, When the instructions are executed by at least one processor, the method described in any one of claims 1-11 is implemented.