Power supply system of vehicle controller and power supply system control method of vehicle controller
Through the design of the dual redundant power supply system, the power supply state switching is achieved using relays and isolators, which solves the problem of inaccurate power supply failure simulation in the ring test, and improves the confidence and efficiency of the test results.
Patent Information
- Application Number
- CN202510779942.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-11
- Publication Date
- 2025-08-19
AI Technical Summary
The existing hardware in-ring testing environment cannot accurately simulate and respond to power supply failures, resulting in inconfidence in vehicle controller test results and inefficiency in test results.
A dual redundant power supply system is adopted, including a first distribution circuit and a second distribution circuit, the first distribution circuit is used as the main power supply module, and the second distribution circuit is used as a backup module. Through the combination of relays and isolators, the power supply status is switched and monitored to ensure that the power supply needs are promptly responded to the power supply needs in a timely manner in the event of a fault.
It realizes the timely and accurate simulation and response of power supply failures in hardware in ring testing, improving the confidence and testing efficiency of test results.
Smart Images

Figure CN120503725A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of vehicle technology, and in particular to a power supply system of a vehicle controller and a method for controlling the power supply system of a vehicle controller. Background Art
[0002] With the increasing adoption of autonomous driving features in vehicles, dual-redundant power supply controllers are increasingly being used, particularly in critical regional controllers. Hardware-in-the-Loop (HIL) testing requires simulating vehicle operating conditions to thoroughly verify the performance of dual-redundant power supply controllers and ensure their proper function under various operating conditions.
[0003] However, existing HIL test environments cannot accurately test the power supply conditions encountered by controllers with dual redundant power supplies in real vehicles during simulation testing. Specifically, they cannot accurately test how the controller quickly and seamlessly switches to the backup power supply when the primary power supply fails, nor can they accurately test the controller's ability to maintain stability and accuracy in both power supply modes. For example, existing HIL test environments cannot simulate high-current switching, power supply failure scenarios, or obtain real-time voltage feedback. This makes it impossible to fully evaluate the controller's performance under complex power supply conditions, thereby reducing the confidence in test results and test efficiency.
[0004] To address the above-mentioned problems, no effective solutions have been proposed so far. Summary of the Invention
[0005] An embodiment of the present invention provides a power supply system for a vehicle controller and a method for controlling the power supply system of a vehicle controller, so as to at least solve the technical problem of low confidence in test results and low test efficiency due to the inability to timely and accurately simulate and respond to power supply failures during hardware-in-the-loop testing of a vehicle controller.
[0006] According to one aspect of an embodiment of the present invention, a power supply system for a vehicle controller is provided, comprising: a first power distribution circuit, the first power distribution circuit being electrically connected to a first port of a target controller and being used to control the power supply status of the target controller; and a second power distribution circuit, the second power distribution circuit being electrically connected to a second port of the target controller and being used to supply power to the target controller in the event of a failure of the first power distribution circuit, wherein the power supply power of the second power distribution circuit is less than the power supply power of the first power distribution circuit.
[0007] Optionally, the first distribution circuit includes: a first relay, a first port of the first relay is electrically connected to the first port of the first DC power supply, for controlling the working state of the first DC power supply; a first power switching board, a first port of the first power switching board is electrically connected to the second port of the first DC power supply, and the second port of the first power switching board is electrically connected to the second port of the first relay, for controlling the working state of the first relay; a second relay, a first port of the second relay is electrically connected to the second port of the first relay, the second port of the second relay is electrically connected to the first analog isolator, and the third port of the second relay is electrically connected to the first real isolator, for switching the path between the first analog isolator and the first real isolator, wherein the second port of the first analog isolator is electrically connected to the second port of the first real isolator, and the second port of the first real isolator is electrically connected to the first port of the target controller; a first input and output board channel, the first input and output board channel is electrically connected to the fourth port of the second relay, for controlling the conduction state between the second relay and the first analog isolator or the first real isolator; a second input and output board channel, the second input and output board channel is electrically connected to the second port of the first analog isolator, for collecting status information of the target controller.
[0008] Optionally, the second distribution circuit includes: a second power switching board, the first port of the second power switching board is electrically connected to the second DC power supply, for controlling the working state of the second DC power supply; a third relay, the first port of the third relay is electrically connected to the second port of the second power switching board, the second port of the third relay is electrically connected to the second analog isolator, and the third port of the third relay is electrically connected to the second real isolator, for switching the path between the second analog isolator and the second real isolator, wherein the second port of the second analog isolator is electrically connected to the second port of the second real isolator, and the second port of the second real isolator is electrically connected to the second port of the target controller; a third input and output board channel, the third input and output board channel is electrically connected to the fourth port of the third relay, for controlling the conduction state between the third relay and the second analog isolator or the second real isolator; a fourth input and output board channel, the fourth input and output board channel is electrically connected to the second port of the second analog isolator, for collecting status information of the target controller.
[0009] According to one embodiment of the present invention, a method for controlling a power supply system of a vehicle controller is also provided, which is applied to the power supply system of the above-mentioned vehicle controller, including: obtaining a first working state of a first distribution circuit and a second working state of a target controller; controlling a third working state of the second distribution circuit based on the first working state and the second working state; in response to the third working state indicating that the second distribution circuit is in a power supply state, controlling the second distribution circuit to supply power to the target controller.
[0010] Optionally, the third working state includes: a power supply state, and the third working state of controlling the second distribution circuit based on the first working state and the second working state includes: in response to determining based on the first working state that the second input and output board card channel in the first distribution circuit receives an abnormal signal, and determining based on the second working state that the target controller is in a test state, controlling the second power switching board card in the second distribution circuit to connect to the second DC power supply, and using the third input and output board card channel in the second distribution circuit to control the third control relay to select the second real isolator or the second simulated isolator to control the second distribution circuit to be in a power supply state.
[0011] Optionally, the third working state includes: a power-off state, and the third working state of controlling the second distribution circuit based on the first working state and the second working state includes: in response to determining based on the first working state that the second input-output board channel has not received an abnormal signal, and determining based on the second working state that the target controller is in a test state, controlling the second power switching board to be in a disconnected state to control the second distribution circuit to be in a power-off state.
[0012] Optionally, the triggering condition of the abnormal signal includes at least one of the following: the voltage of the first DC power supply in the first distribution circuit is lower than a preset voltage threshold, and the voltage of the first DC power supply is not in a preset voltage operating range.
[0013] Optionally, the method further includes: in response to the second distribution circuit being in a power supply state, controlling the fourth input and output board channel in the second distribution circuit to monitor a second working state; and determining a test result of the target controller based on the second working state.
[0014] According to one embodiment of the present invention, a power supply system control device for a vehicle controller is also provided, which is applied to the power supply system of the above-mentioned vehicle controller. The device includes: an acquisition module, used to obtain a first working state of a first distribution circuit and a second working state of a target controller; a first control module, used to control a third working state of a second distribution circuit based on the first working state and the second working state; and a second control module, used to control the second distribution circuit to supply power to the target controller in response to the third working state indicating that the second distribution circuit is in a power supply state.
[0015] Optionally, the first control module is also used to: in response to determining that the second input-output board channel in the first distribution circuit has received an abnormal signal based on the first working state, and determining that the target controller is in a test state based on the second working state, control the second power switching board in the second distribution circuit to connect to the second DC power supply, and use the third input-output board channel in the second distribution circuit to control the third control relay to select the second real isolator or the second simulated isolator to control the second distribution circuit to be in a power supply state.
[0016] Optionally, the second control module is also used to: in response to determining that the second input and output board channel has not received an abnormal signal based on the first working state, and determining that the target controller is in a test state based on the second working state, control the second power switching board to be in a disconnected state to control the second distribution circuit to be in a power-off state.
[0017] Optionally, the triggering condition of the abnormal signal includes at least one of the following: the voltage of the first DC power supply in the first distribution circuit is lower than a preset voltage threshold, and the voltage of the first DC power supply is not in a preset voltage operating range.
[0018] Optionally, the power supply system control device of the above-mentioned vehicle controller also includes a determination module, which is used to: in response to the second distribution circuit being in a power supply state, control the fourth input and output board channel in the second distribution circuit to monitor the second working state; and determine the test result of the target controller based on the second working state.
[0019] According to one embodiment of the present invention, a computer-readable storage medium is further provided, in which a computer program is stored, wherein the computer program is configured to execute the above-mentioned power supply system control method of the vehicle controller when running on a computer or processor.
[0020] According to one embodiment of the present invention, an electronic device is further provided, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the above-mentioned power supply system control method of the vehicle controller.
[0021] According to one embodiment of the present invention, a computer program product is further provided, comprising a computer program, which implements the above-mentioned method for controlling a power supply system of a vehicle controller when executed by a processor.
[0022] In an embodiment of the present invention, a method of obtaining a first working state of a first distribution circuit and a second working state of a target controller is adopted, and a third working state of the second distribution circuit is controlled based on the first working state and the second working state. In response to the third working state indicating that the second distribution circuit is in a power supply state, the second distribution circuit is controlled to supply power to the target controller, thereby achieving the purpose of being able to timely and accurately simulate and respond to power supply failures during the hardware-in-the-loop test of the vehicle controller, thereby achieving the technical effect of improving the confidence of the test results and the test efficiency of the hardware-in-the-loop test of the vehicle controller, and further solving the technical problem of low confidence in the test results and low test efficiency due to the inability to timely and accurately simulate and respond to power supply failures during the hardware-in-the-loop test of the vehicle controller. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0024] Figure 1 This is a schematic structural diagram of a power supply system for a vehicle controller according to one embodiment of the present invention;
[0025] Figure 2 is a schematic structural diagram of a power supply system of another vehicle controller according to one embodiment of the present invention;
[0026] Figure 3 is a schematic structural diagram of a power supply system of another vehicle controller according to one embodiment of the present invention;
[0027] Figure 4 is a flow chart of a method for controlling a vehicle controller power supply system according to one embodiment of the present invention;
[0028] Figure 5 is a flow chart of a control method of a vehicle controller power supply system according to one embodiment of the present invention;
[0029] Figure 6 4 is a structural diagram of a power supply system control device of a vehicle controller according to one embodiment of the present invention. DETAILED DESCRIPTION
[0030] In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the embodiments described are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of the present invention.
[0031] It should be noted that the terms "first", "second", etc. in the description and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. 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 clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0032] The method embodiment can be executed in an electronic device or similar computing device that includes a memory and a processor. Taking running on a vehicle terminal as an example, the vehicle terminal may include one or more processors (processors may include but are not limited to central processing units (CPUs), graphics processing units (GPUs), digital signal processing (DSP) chips, microcontroller units (MCUs), field programmable gate arrays (FPGAs), neural network processors (NPUs), tensor processing units (TPUs), artificial intelligence (AI) type processors, etc.) and a memory for storing data. Optionally, the vehicle terminal may also include transmission equipment, input and output equipment, and display equipment for communication functions. Those skilled in the art will understand that the above structural description is only illustrative and does not limit the structure of the vehicle terminal. For example, the vehicle terminal may also include more or fewer components than described above, or have a configuration different from that described above.
[0033] The memory can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the power supply system control method of the vehicle controller in the embodiment of the present invention. The processor executes various functional applications and data processing by running the computer program stored in the memory, that is, realizes the above-mentioned power supply system control method of the vehicle controller. The memory may include a high-speed random access memory and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory may further include a memory remotely located relative to the processor, and these remote memories may be connected to the mobile terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0034] The transmission device is used to receive or send data via a network. Specific examples of the aforementioned network may include a wireless network provided by the mobile terminal's communications provider. In one embodiment, the transmission device includes a network interface controller (NIC), which can be connected to other network devices via a base station to enable communication with the Internet. In one embodiment, the transmission device may be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0035] The display device can be, for example, a touch-screen liquid crystal display (LCD) and a touch display (also known as a "touch screen" or "touch display"). The LCD can enable the user to interact with the user interface of the mobile terminal. In some embodiments, the mobile terminal has a graphical user interface (GUI), and the user can interact with the GUI by finger contacts and / or gestures on the touch-sensitive surface. The human-computer interaction functions here optionally include the following interactions: creating web pages, drawing, word processing, making electronic documents, games, video conferencing, instant messaging, sending and receiving emails, call interfaces, playing digital videos, playing digital music and / or web browsing, etc. The executable instructions for performing the above-mentioned human-computer interaction functions are configured / stored in a computer program product or readable storage medium executable by one or more processors.
[0036] According to an embodiment of the present invention, a method for controlling a power supply system of a vehicle controller is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0037] In this embodiment, a power supply system for a vehicle controller is provided. Figure 1 FIG. 1 is a schematic diagram of a power supply system structure of a vehicle controller according to one embodiment of the present invention. Figure 1 As shown, the power supply system of the vehicle controller includes:
[0038] a first power distribution circuit 10, the first power distribution circuit being electrically connected to a first port of a target controller 20 and being used to control a power supply state of the target controller;
[0039] The second distribution circuit 30 is electrically connected to the second port of the target controller and is used to supply power to the target controller when the first distribution circuit fails, wherein the power supply of the second distribution circuit is less than the power supply of the first distribution circuit.
[0040] Specifically, the target controller is used to characterize the vehicle controller under test. The vehicle controller receives data from sensors, executes predefined algorithms or control logic, and sends commands to actuators to adjust the vehicle's various subsystems. The vehicle controller includes a regional controller (responsible for controlling multiple subsystems within a specific area) and a central control unit (coordinating the operation of the entire vehicle's electronic system).
[0041] Specifically, the target controller is connected to a first power distribution circuit via a primary power line and to a second power distribution circuit via a secondary power line. The first power distribution circuit is a high-power power supply module, while the second power distribution circuit is a low-power power supply module. The first power distribution circuit serves as the primary power supply module, while the second power distribution circuit serves as the backup power supply module. This dual-redundant connection ensures that if one power distribution circuit fails, the other can seamlessly take over and continue to provide a stable power supply to the target controller.
[0042] Specifically, in the vehicle hardware-in-the-loop (HIL) test environment, the controller's functionality, performance, and stability can be fully tested without using an actual vehicle. By controlling the first and second distribution circuits, test engineers can simulate the controller's behavior under different power supply conditions, including normal power supply and power failure scenarios. This simulation test can verify the controller's power supply and functionality in a laboratory environment, thereby discovering and resolving potential problems during the design phase, saving manpower and material costs of actual vehicle testing, and improving test efficiency.
[0043] Optionally, the first distribution circuit includes: a first relay, a first port of the first relay being electrically connected to a first port of the first DC power supply, for controlling a working state of the first DC power supply;
[0044] a first power switching board, wherein a first port of the first power switching board is electrically connected to a second port of the first DC power supply, and a second port of the first power switching board is electrically connected to a second port of the first relay, for controlling a working state of the first relay;
[0045] a second relay, wherein a first port of the second relay is electrically connected to a second port of the first relay, the second port of the second relay is electrically connected to the first simulated isolator, and a third port of the second relay is electrically connected to the first real isolator, for switching paths between the first simulated isolator and the first real isolator, wherein the second port of the first simulated isolator is electrically connected to the second port of the first real isolator, and the second port of the first real isolator is electrically connected to the first port of the target controller;
[0046] a first input / output card channel, the first input / output card channel being electrically connected to a fourth port of the second relay and being used to control a conduction state between the second relay and the first simulated isolator or the first real isolator;
[0047] The second input and output board channel is electrically connected to the second port of the first analog isolator and is used to collect status information of the target controller.
[0048] Specifically, Figure 2 FIG. 1 is a schematic diagram of a power supply system structure of another vehicle controller according to one embodiment of the present invention. Figure 2 As shown, the first distribution circuit includes: a first DC power supply 201, a first power switching board 202, a first relay 203, a second relay 204, a first analog isolator 205, a first real isolator 206, a first input and output board channel 207 and a second input and output board channel 208.
[0049] Specifically, the first DC power supply 201 serves as the power source for the first distribution circuit, providing basic electrical energy for the target controller's test environment. Since the first distribution circuit is a high-power power supply module, the first power switching board 202 has a relatively small current limit. Directly using the first power switching board 202 to control the on / off state of the first DC power supply 201 would affect the power supply current to the target controller. Therefore, a first relay 203 is provided in the first distribution circuit, and the first power switching board 202 controls the first relay 203 so that the first distribution circuit can provide a stable current to the target controller. The first relay 203 is an on / off relay. In other words, the first relay 202 controls the on / off state of the first distribution circuit according to the instructions of the first power switching board 202, thereby achieving conduction and disconnection between the first distribution circuit and the target controller through control of the first relay 203.
[0050] Specifically, the second relay 204 has a selection function. For example, the second relay 204 can be a two-choose-one relay. The first input / output board channel 207 controls the second relay 204 to switch between the first simulated isolator 205 and the first real isolator 206, thereby determining the current transmission path. The first simulated isolator 205 and the first real isolator 206 are used to simulate and implement real electrical isolation functions, respectively, enhancing the anti-interference capability and safety of the target controller.
[0051] Specifically, the second input / output board channel 208 is used to collect the operating voltage of the target controller, monitor the operating status of the target controller, and thereby determine the test result according to the operating status of the target controller.
[0052] For example, suppose a control module for a car's powertrain is tested, which is responsible for regulating engine output, monitoring battery status, and managing on-board power distribution. Since this module is critical to the safety and performance of the car, its anti-interference ability and power supply stability need to be verified under various extreme conditions. The first analog isolator 205 plays a key role in HIL testing. It can simulate various electrical interferences and power supply conditions that may be encountered in a real vehicle environment. For example: simulate power supply fluctuations and failures: During the driving of the car, the power supply system may suffer from voltage mutations or instantaneous power failures. The first analog isolator 205 can reproduce these power supply fluctuations and failures to test the performance of the control module under unstable power supply conditions. The analog isolator can adjust the power supply voltage and current without disconnecting to verify the robustness of the control module.
[0053] During actual vehicle operation or system integration testing, the first real isolator 206 provides physical electrical isolation to protect the control module from external electrical interference, ensuring safe and stable operation in complex electrical environments. For example, it isolates large battery current fluctuations: A car battery experiences large current fluctuations during startup or high-speed operation. Without proper isolation, these large current fluctuations could damage the control module's circuitry. By disconnecting the electrical connection and transmitting only signals, the real isolator 206 effectively isolates the control module from the effects of these large current fluctuations, protecting its circuitry from damage.
[0054] Furthermore, during HIL testing, the first simulated isolator 205 and the first real isolator 206 can work together. The first simulated isolator is used to create various simulated power supply and interference scenarios, while the second real isolator provides realistic electrical isolation within these simulated scenarios, simulating the controller's performance in a real vehicle environment. For example, when the test system attempts to simulate a high current surge during engine startup, the first simulated isolator 205 adjusts the power supply to simulate this event. Simultaneously, the first real isolator 206 provides the necessary isolation between the control module and the first DC power supply 201, ensuring that the control module is not actually damaged even under the simulated extreme conditions.
[0055] Optionally, the second power distribution circuit includes: a second power switching board, a first port of the second power switching board being electrically connected to the second DC power supply and configured to control the working state of the second DC power supply;
[0056] a third relay, wherein a first port of the third relay is electrically connected to a second port of the second power switching board, a second port of the third relay is electrically connected to the second analog isolator, and a third port of the third relay is electrically connected to the second real isolator, for switching paths between the second analog isolator and the second real isolator, wherein the second port of the second analog isolator is electrically connected to the second port of the second real isolator, and the second port of the second real isolator is electrically connected to the second port of the target controller;
[0057] a third input / output card channel, the third input / output card channel being electrically connected to a fourth port of the third relay and being used to control a conduction state between the third relay and the second simulated isolator or the second real isolator;
[0058] A fourth input / output board card channel is electrically connected to the second port of the second analog isolator and is used to collect status information of the target controller.
[0059] Specifically, Figure 3 FIG. 1 is a schematic diagram of a power supply system structure of another vehicle controller according to one embodiment of the present invention. Figure 3 As shown, the second distribution circuit includes: a second DC power supply 301, a second power switching board 302, a third relay 303, a second analog isolator 304, a second real isolator 305, a third input and output board channel 306 and a fourth input and output board channel 307.
[0060] Specifically, the second DC power supply 301 provides independent power to the second distribution circuit, forming a redundant backup with the first distribution circuit. The second power switching board 302 is similar to the first power switching board 202 in the first distribution circuit, but the control logic between the two is different. The second power switching board 302 is used to directly control the on / off state between the second DC power supply 301 and the third relay 303.
[0061] Specifically, the third relay 303 has a selection function. For example, the third relay 303 can be a two-choice relay. The third relay 303 is controlled by the third input / output board channel 306 to switch between the second simulated isolator 304 and the second real isolator 305, thereby determining the current transmission path. The second simulated isolator 304 and the second real isolator 305 are respectively used to simulate and implement real electrical isolation functions, enhancing the anti-interference capability and security of the target controller. The second simulated isolator 304 and the second real isolator 305 operate in the same manner as the first simulated isolator 205 and the first real isolator 206, and will not be further described here.
[0062] Specifically, the fourth input / output board channel 307 is used to collect the operating voltage of the target controller, monitor the operating state of the target controller, and thereby determine the test result according to the operating state of the target controller.
[0063] It is understandable that the circuit structures in the embodiments of the present invention can be combined according to needs and are not limited here.
[0064] In this embodiment, a control method for operating in the above-mentioned vehicle controller power supply system is provided. Figure 4 FIG. 1 is a flow chart of a method for controlling a vehicle controller power supply system according to one embodiment of the present invention. Figure 4 As shown, the process includes the following steps:
[0065] Step S40, obtaining a first working state of the first distribution circuit and a second working state of the target controller;
[0066] In step S40, the above-mentioned first working state is used to characterize the state of each component in the first distribution circuit, including but not limited to: the first DC power supply in the first distribution circuit controls the first relay to be turned on through the first power switching board, and the second relay selects the first real isolator or the first simulated isolator.
[0067] The second working state is used to represent the current working state of the target controller. For example, the target controller is in a running state in the current test environment, that is, under test.
[0068] Step S42, controlling the third working state of the second distribution circuit based on the first working state and the second working state;
[0069] Specifically, after obtaining the working status of the first distribution circuit and the target controller, it is determined how to adjust the working status of the second distribution circuit according to the first working status and the second working status. In the process of adjusting the working status of the second distribution circuit, it includes: analyzing the status data of the first distribution circuit to determine whether a fault has occurred; and judging whether additional power support is required based on the current status of the target controller. If a fault is found in the first distribution circuit and the target controller requires power support, the second distribution circuit is triggered to enter the power supply state, that is, the third working state. In the process of triggering the second distribution circuit to enter the power supply state, the third relay is activated and the second power switching board is adjusted to ensure that the second distribution circuit can respond immediately and provide the required power to the target controller.
[0070] Step S44 , in response to the third working state indicating that the second distribution circuit is in a power supply state, controlling the second distribution circuit to supply power to the target controller.
[0071] Specifically, once the second distribution circuit is confirmed to be ready for power, the next step is to actually switch the power supply. The second relay is controlled to smoothly transition the target controller's power supply from the first distribution circuit to the second. The relay, acting as a physical switch, enables instant switching of the power supply path, ensuring a continuous power supply to the target controller without the controller noticing. After the second distribution circuit begins supplying power, the fourth I / O card channel continues to monitor the target controller's voltage feedback to confirm the success of the power supply process and that the target controller's status after powering on meets expectations.
[0072] Based on the above steps S40 to S44, a method of obtaining the first working state of the first distribution circuit and the second working state of the target controller is adopted, and the third working state of the second distribution circuit is controlled based on the first working state and the second working state, and in response to the third working state indicating that the second distribution circuit is in a power supply state, the second distribution circuit is controlled to supply power to the target controller, thereby achieving the purpose of being able to timely and accurately simulate and respond to power supply failures during the hardware-in-the-loop test of the vehicle controller, thereby achieving the technical effect of improving the test result confidence and test efficiency of the hardware-in-the-loop test of the vehicle controller, and further solving the technical problem of low test result confidence and test efficiency due to the inability to timely and accurately simulate and respond to power supply failures during the hardware-in-the-loop test of the vehicle controller.
[0073] Optionally, the third working state includes: a power supply state. In step S42, controlling the third working state of the second distribution circuit based on the first working state and the second working state includes:
[0074] Step S201: In response to determining that a second input / output board channel in a first distribution circuit receives an abnormal signal based on a first working state, and determining that a target controller is in a test state based on a second working state, controlling a second power supply switching board in a second distribution circuit to connect to a second DC power supply, and
[0075] Step S202: Using the third input / output card channel in the second distribution circuit to control the third control relay to select the second real isolator or the second simulated isolator, so as to control the second distribution circuit to be in a power supply state.
[0076] Specifically, when it is determined based on the first working state that the second input and output board channel in the first distribution circuit receives an abnormal signal, and when it is determined based on the second working state that the target controller is in the test state, the second power switching board in the second distribution circuit is controlled to connect to the second DC power supply.
[0077] Specifically, the first working state of the first distribution circuit is continuously monitored through the second input and output board channel of the first distribution circuit. When an abnormal signal is detected, it indicates that the first distribution circuit has failed or is underpowered. At the same time, the current state of the target controller is checked to ensure that the target controller is in a test state ready to accept power switching. If the target controller is performing critical operations or is in a state that is not suitable for switching, the switching can be temporarily delayed to avoid affecting the function or data integrity of the target controller. Once it is confirmed that the first distribution circuit has an abnormality and the target controller is in a switchable state, the second power switching board of the second distribution circuit will be activated to connect the second DC power supply, so that the second distribution circuit can start immediately and smoothly to provide the required power to the target controller.
[0078] Furthermore, before connecting the second distribution circuit, a decision must be made as to whether to use a second real isolator or a second simulated isolator. This step is accomplished using the third I / O card channel in the second distribution circuit, which controls the selection of the third control relay. The decision on which isolator to use can be based on a variety of factors, such as the current electromagnetic environment, the sensitivity of the controller, or the specific requirements of the test.
[0079] For example, the use of a second real isolator can provide physical electrical isolation and enhance the anti-interference ability of the system, especially in an environment with strong electromagnetic interference. This isolation is crucial for protecting the circuit and data integrity of the controller. On the other hand, the selection of a second simulated isolator is suitable for simulating different power supply scenarios during the test, such as power fluctuations, power outage recovery, etc., so as to evaluate the performance of the target controller under these conditions and ensure that it can operate stably in a real vehicle environment. Regardless of which isolator is selected, the on and off of the third control relay will ultimately determine whether the second distribution circuit is in a power supply state, that is, whether it starts to provide power to the target controller. Once the selection is completed and the corresponding isolator is activated, the third relay will turn on the circuit between the second power switching board and the target controller, realizing the power supply from the second distribution circuit to the target controller.
[0080] Based on the above steps S201 to S202, the status of the target controller is judged before switching the power supply to avoid sudden switching of the power supply when it is performing critical tasks, prevent data loss or abnormal operation, and ensure the stability and security of the test environment.
[0081] Optionally, the third working state includes: a power-off state. In step S42, controlling the third working state of the second distribution circuit based on the first working state and the second working state includes:
[0082] Step S203, in response to determining based on the first working state that the second input and output board channel does not receive an abnormal signal, and determining based on the second working state that the target controller is in a test state, controlling the second power switching board to be in a disconnected state to control the second distribution circuit to be in a power-off state.
[0083] Specifically, when it is determined based on the first working state that the second input and output board channel has not received an abnormal signal, and when it is determined based on the second working state that the target controller is in a test state, the second power switching board is controlled to be in a disconnected state to control the second distribution circuit to be in a power-off state.
[0084] Specifically, when the first distribution circuit is operating normally, meaning the second input / output board channel is not receiving any abnormal signals, and the target controller is in a test state, the second power switching board is controlled to be disconnected, thereby de-energizing the second distribution circuit. In other words, the second DC power supply is not activated, and the second distribution circuit remains inactive and "powered off" at this stage.
[0085] Furthermore, in the initial state, the first distribution circuit serves as the primary power supply module, and the target controller is powered by the first distribution circuit. The first DC power supply in the first distribution circuit, through the first power switching card, controls the first relay to conduct. Current flows through the second relay, selecting either the first real isolator or the first simulated isolator, providing stable power to the target controller. At this point, the second distribution circuit is in standby mode, and its second power switching card is disconnected.
[0086] Based on the above step S203, in response to determining that the second input and output board channel has not received an abnormal signal based on the first working state, and determining that the target controller is in a test state based on the second working state, the second power switching board is controlled to be in a disconnected state to control the second distribution circuit to be in a power-off state, which can avoid erroneous switching of redundant power supplies or unnecessary power supply, reduce interference, save energy consumption, and improve the autonomous controllability of the power supply path of the enhanced test system.
[0087] Optionally, the triggering condition of the abnormal signal includes at least one of the following: the voltage of the first DC power supply in the first distribution circuit is lower than a preset voltage threshold, and the voltage of the first DC power supply is not in a preset voltage operating range.
[0088] Specifically, the voltage of the first DC power supply being lower than a preset voltage threshold is used to indicate that when it is detected that the voltage of the first DC power supply is lower than a preset lower limit, the first distribution circuit is determined to be "voltage dropped" or "underpowered".
[0089] The voltage of the first DC power supply is not within the preset voltage operating range, which indicates that when it is detected that the voltage fluctuation of the first DC power supply is not within a certain range, it is determined that the voltage fluctuation of the first distribution circuit is too large.
[0090] For example, if the output voltage of the first DC power supply is lower than the set voltage threshold (such as 10.5V), it is considered that the main power supply is insufficient; if the output voltage of the first DC power supply is not within the set normal operating voltage range (such as 11.0V~14.0V), it is considered that the power supply fluctuation is abnormal.
[0091] Through the above judgment, accurate monitoring of the working status of the power supply can be achieved, providing a trigger basis for the subsequent startup of the second distribution circuit.
[0092] Optionally, the control method of the vehicle controller power supply system further includes:
[0093] Step S45, in response to the second distribution circuit being in the power supply state, controlling the fourth input and output board channel in the second distribution circuit to monitor the second working state;
[0094] Specifically, when the second power distribution circuit is activated and providing power to the target controller, meaning the backup power supply is connected, data is collected using the fourth input / output card channel. This ensures the controller remains stable while powered by the backup power supply, providing real-time visibility into its operating status and providing essential data for further testing and judgment. For example, data such as the target controller's supply voltage, output signal, current, and power status feedback can be collected.
[0095] Step S46: determining a test result of the target controller based on the second working state.
[0096] Specifically, based on the second working state, the operating performance of the target controller in the backup power supply state is analyzed, such as: whether it is successfully started; whether it responds to the test platform within the set time; whether the expected functional signal is output; whether the error code, reset flag or failure status is recorded, etc.
[0097] Furthermore, based on the monitoring data, target controller test result information is generated, such as whether the target controller operates normally under the backup power supply; whether the target controller has performance degradation or malfunction; or whether the target controller is incompatible with or fails the redundant power supply.
[0098] Based on the above steps S45 to S46, in response to the second distribution circuit being in the power supply state, the fourth input and output board channel in the second distribution circuit is controlled to monitor the second working state; the test result of the target controller is determined based on the second working state, and the working state of the target controller is continued to be tracked after the power supply switching is completed to ensure the integrity and effectiveness of the entire test process.
[0099] Figure 5FIG. 1 is a flow chart of another method for controlling a vehicle controller power supply system according to one embodiment of the present invention. Figure 5 As shown, the process includes the following steps:
[0100] Step S501, obtaining a first working state of a first distribution circuit and a second working state of a target controller;
[0101] Step S502: In response to determining that the second input / output card channel in the first distribution circuit receives an abnormal signal based on the first working state, and determining that the target controller is in the test state based on the second working state, controlling the second power switching card in the second distribution circuit to connect to the second DC power supply, and controlling the third control relay to select the second real isolator or the second simulated isolator using the third input / output card channel in the second distribution circuit to control the second distribution circuit to be in the power supply state;
[0102] Step S503, in response to the third working state indicating that the second distribution circuit is in a power supply state, controlling the second distribution circuit to supply power to the target controller;
[0103] Step S504, in response to the second distribution circuit being in the power supply state, controlling the fourth input and output board channel in the second distribution circuit to monitor the second working state;
[0104] Step S505: In response to determining that the second input / output board channel does not receive an abnormal signal based on the first working state, and determining that the target controller is in a test state based on the second working state, controlling the second power switching board to be in a disconnected state to control the second power distribution circuit to be in a power-off state;
[0105] Step S506, controlling the first input and output board channel in the first distribution circuit to monitor the second working state;
[0106] Step S507: determining a test result of the target controller based on the second working state.
[0107] For example, the above-described vehicle controller power supply system control method is applied in a hardware-in-the-loop simulation test system for an automotive zone controller. Initially, the first distribution circuit serves as the primary power supply module. The first DC power supply, through the first power switching card, controls the first relay to conduct. Current flows through the first relay, selecting either the first real isolator or the first simulated isolator, providing stable power to the target controller. At this point, the second distribution circuit is in standby mode, and its second power switching card is disconnected.
[0108] When the first DC power supply in the first distribution circuit experiences excessive voltage fluctuations or a sudden power outage, the second I / O card channel detects the abnormal signal, and the HIL device controls the second power switching card in the second distribution circuit to connect the second DC power supply. In the second distribution circuit, the third I / O card channel controls the third relay to select either the second real isolator or the second simulated isolator, controlling the second DC power supply to power the target controller. This achieves seamless power switching and ensures testing of the target controller on the HIL test bench. The target controller can also perform voltage sampling via the fourth I / O card channel in the second distribution circuit, monitoring the voltage status of the second distribution circuit in real time.
[0109] Based on the above steps S501 to S507, a method of obtaining the first working state of the first distribution circuit and the second working state of the target controller is adopted, and the third working state of the second distribution circuit is controlled based on the first working state and the second working state. In response to the third working state indicating that the second distribution circuit is in a power supply state, the second distribution circuit is controlled to supply power to the target controller, thereby achieving the purpose of being able to timely and accurately simulate and respond to power supply failures during the hardware-in-the-loop test of the vehicle controller, thereby achieving the technical effect of improving the test result confidence and test efficiency of the hardware-in-the-loop test of the vehicle controller, and further solving the technical problem of low test result confidence and test efficiency due to the inability to timely and accurately simulate and respond to power supply failures during the hardware-in-the-loop test of the vehicle controller.
[0110] Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus the necessary general hardware platform, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for enabling a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present invention.
[0111] In this embodiment, a power supply system control device for a vehicle controller is also provided, which is used to implement the above-mentioned embodiments and preferred embodiments. The details that have been described will not be repeated here. As used below, the term "module" can be a combination of software and / or hardware that implements a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated.
[0112] Figure 61 is a structural diagram of a power supply system control device for a vehicle controller according to one embodiment of the present invention, which is applied to the power supply system of the vehicle controller described above. The device includes:
[0113] An acquisition module 601 is configured to acquire a first operating state of a first distribution circuit and a second operating state of a target controller;
[0114] A first control module 602 is configured to control a third operating state of the second distribution circuit based on the first operating state and the second operating state;
[0115] The second control module 603 is configured to control the second distribution circuit to supply power to the target controller in response to the third working state indicating that the second distribution circuit is in a power supply state.
[0116] Optionally, the first control module 602 is also used to: in response to determining that the second input-output board card channel in the first distribution circuit has received an abnormal signal based on the first working state, and determining that the target controller is in a test state based on the second working state, control the second power switching board card in the second distribution circuit to connect to the second DC power supply, and use the third input-output board card channel in the second distribution circuit to control the third control relay to select the second real isolator or the second simulated isolator to control the second distribution circuit to be in a power supply state.
[0117] Optionally, the second control module 603 is also used to: in response to determining that the second input and output board channel has not received an abnormal signal based on the first working state, and determining that the target controller is in a test state based on the second working state, control the second power switching board to be in a disconnected state to control the second distribution circuit to be in a power-off state.
[0118] Optionally, the triggering condition of the abnormal signal includes at least one of the following: the voltage of the first DC power supply in the first distribution circuit is lower than a preset voltage threshold, and the voltage of the first DC power supply is not in a preset voltage operating range.
[0119] Optionally, the power supply system control device of the above-mentioned vehicle controller also includes a determination module 604, which is used to: in response to the second distribution circuit being in a power supply state, control the fourth input and output board channel in the second distribution circuit to monitor the second working state; and determine the test result of the target controller based on the second working state.
[0120] It should be noted that the above modules can be implemented through software or hardware. For the latter, it can be implemented in the following ways, but not limited to: the above modules are all located in the same processor; or the above modules are located in different processors in any combination.
[0121] An embodiment of the present invention further provides a computer-readable storage medium, in which a computer program is stored. The computer program is configured to execute the steps of any of the above method embodiments when running on a computer or a processor.
[0122] Optionally, in this embodiment, the computer-readable storage medium may be configured to store a computer program for performing the following steps:
[0123] Step S1, obtaining a first working state of a first distribution circuit and a second working state of a target controller;
[0124] Step S2, controlling a third working state of the second distribution circuit based on the first working state and the second working state;
[0125] Step S3 , in response to the third working state indicating that the second distribution circuit is in a power supply state, controlling the second distribution circuit to supply power to the target controller.
[0126] Optionally, the above-mentioned computer-readable storage medium can be configured to store a computer program for performing the following steps: in response to determining that the second input-output board channel in the first distribution circuit receives an abnormal signal based on the first working state, and determining that the target controller is in a test state based on the second working state, controlling the second power switching board in the second distribution circuit to connect to the second DC power supply, and using the third input-output board channel in the second distribution circuit to control the third control relay to select the second real isolator or the second simulated isolator to control the second distribution circuit to be in a power supply state.
[0127] Optionally, the above-mentioned computer-readable storage medium can be configured to store a computer program for performing the following steps: in response to determining that the second input-output board channel does not receive an abnormal signal based on the first working state, and determining that the target controller is in a test state based on the second working state, controlling the second power switching board to be in a disconnected state to control the second distribution circuit to be in a power-off state.
[0128] Optionally, the above-mentioned computer-readable storage medium can be configured to store a computer program for performing the following steps: in response to the second distribution circuit being in a power supply state, controlling the fourth input and output board channel in the second distribution circuit to monitor the second working state; and determining the test result of the target controller based on the second working state.
[0129] Optionally, in this embodiment, the above-mentioned computer-readable storage medium may include but is not limited to: a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and other media that can store computer programs.
[0130] An embodiment of the present invention further provides an electronic device, comprising a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.
[0131] Optionally, in this embodiment, the processor in the electronic device may be configured to run a computer program to perform the following steps:
[0132] Step S1, obtaining a first working state of a first distribution circuit and a second working state of a target controller;
[0133] Step S2, controlling a third working state of the second distribution circuit based on the first working state and the second working state;
[0134] Step S3 , in response to the third working state indicating that the second distribution circuit is in a power supply state, controlling the second distribution circuit to supply power to the target controller.
[0135] Optionally, the processor in the above-mentioned electronic device can be configured to run a computer program to perform the following steps: in response to determining that the second input-output board card channel in the first distribution circuit receives an abnormal signal based on the first working state, and determining that the target controller is in a test state based on the second working state, controlling the second power switching board card in the second distribution circuit to connect to the second DC power supply, and using the third input-output board card channel in the second distribution circuit to control the third control relay to select the second real isolator or the second simulated isolator to control the second distribution circuit to be in a power supply state.
[0136] Optionally, the processor in the above-mentioned electronic device can be configured to run a computer program to perform the following steps: in response to determining that the second input-output board channel has not received an abnormal signal based on the first working state, and determining that the target controller is in a test state based on the second working state, controlling the second power switching board to be in a disconnected state to control the second distribution circuit to be in a power-off state.
[0137] Optionally, the processor in the above-mentioned electronic device can be configured to run a computer program to perform the following steps: in response to the second distribution circuit being in a power supply state, controlling the fourth input and output board channel in the second distribution circuit to monitor the second working state; and determining the test result of the target controller based on the second working state.
[0138] An embodiment of the present invention further provides a computer program product, including a computer program, which executes the steps of any of the above method embodiments when executed by a processor.
[0139] Optionally, in this embodiment, the computer program in the above computer program product may be configured to perform the following steps when executed by a processor:
[0140] Step S1, obtaining a first working state of a first distribution circuit and a second working state of a target controller;
[0141] Step S2, controlling a third working state of the second distribution circuit based on the first working state and the second working state;
[0142] Step S3 , in response to the third working state indicating that the second distribution circuit is in a power supply state, controlling the second distribution circuit to supply power to the target controller.
[0143] Optionally, the computer program in the above-mentioned computer program product can be configured to perform the following steps when executed by the processor: in response to determining that the second input-output board card channel in the first distribution circuit receives an abnormal signal based on the first working state, and determining that the target controller is in the test state based on the second working state, controlling the second power switching board card in the second distribution circuit to connect to the second DC power supply, and using the third input-output board card channel in the second distribution circuit to control the third control relay to select the second real isolator or the second simulated isolator to control the second distribution circuit to be in the power supply state.
[0144] Optionally, the computer program in the above-mentioned computer program product can be configured to perform the following steps when executed by the processor: in response to determining that the second input-output board channel does not receive an abnormal signal based on the first working state, and determining that the target controller is in a test state based on the second working state, controlling the second power switching board to be in a disconnected state to control the second distribution circuit to be in a power-off state.
[0145] Optionally, the computer program in the above-mentioned computer program product can be configured to perform the following steps when executed by the processor: in response to the second distribution circuit being in a power supply state, controlling the fourth input and output board channel in the second distribution circuit to monitor the second working state; and determining the test result of the target controller based on the second working state.
[0146] Optionally, specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation modes, and this embodiment will not be described in detail here.
[0147] The serial numbers of the above embodiments of the present invention are for description only and do not represent the advantages or disadvantages of the embodiments.
[0148] In the above embodiments of the present invention, the description of each embodiment has its own focus. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0149] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only exemplary. For example, the division of the units can be a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0150] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0151] In addition, the functional units in the various embodiments of the present invention may be integrated into a single processing unit, each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.
[0152] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, server or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk, etc. Various media that can store program codes.
[0153] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as within the scope of protection of the present invention.
Claims
1. A power supply system for a vehicle controller, characterized in that: include: a first power distribution circuit, the first power distribution circuit being electrically connected to a first port of a target controller and configured to control a power supply state of the target controller; A second distribution circuit is electrically connected to the second port of the target controller and is used to supply power to the target controller when the first distribution circuit fails, wherein the power supply of the second distribution circuit is less than the power supply of the first distribution circuit.
2. The system according to claim 1, wherein: The first distribution circuit includes: a first relay, wherein a first port of the first relay is electrically connected to a first port of the first DC power supply, and is used to control a working state of the first DC power supply; a first power switching board, wherein a first port of the first power switching board is electrically connected to a second port of the first DC power supply, and a second port of the first power switching board is electrically connected to a second port of the first relay, for controlling a working state of the first relay; a second relay, wherein a first port of the second relay is electrically connected to a second port of the first relay, the second port of the second relay is electrically connected to a first simulated isolator, and a third port of the second relay is electrically connected to a first real isolator, for switching paths between the first simulated isolator and the first real isolator, wherein the second port of the first simulated isolator is electrically connected to the second port of the first real isolator, and the second port of the first real isolator is electrically connected to the first port of the target controller; a first input / output card channel, the first input / output card channel being electrically connected to the fourth port of the second relay and being used to control a conduction state between the second relay and the first simulated isolator or the first real isolator; A second input / output board card channel is electrically connected to the second port of the first analog isolator and is used to collect status information of the target controller.
3. The system according to claim 1, characterized in that The second distribution circuit includes: a second power switching board, wherein the first port of the second power switching board is electrically connected to the second DC power supply and is used to control the working state of the second DC power supply; a third relay, wherein a first port of the third relay is electrically connected to a second port of the second power switching board, a second port of the third relay is electrically connected to a second analog isolator, and a third port of the third relay is electrically connected to a second real isolator, for switching a path between the second analog isolator and the second real isolator, wherein the second port of the second analog isolator is electrically connected to the second port of the second real isolator, and the second port of the second real isolator is electrically connected to the second port of the target controller; a third input / output card channel, the third input / output card channel being electrically connected to the fourth port of the third relay and being used to control a conduction state between the third relay and the second simulated isolator or the second real isolator; A fourth input / output board card channel is electrically connected to the second port of the second analog isolator and is used to collect status information of the target controller.
4. A method for controlling a power supply system of a vehicle controller, characterized in that: A power supply system for a vehicle controller according to any one of claims 1 to 3, the method comprising: Acquire a first working state of the first distribution circuit and a second working state of the target controller; controlling a third operating state of the second distribution circuit based on the first operating state and the second operating state; In response to the third working state indicating that the second distribution circuit is in a power supply state, the second distribution circuit is controlled to supply power to the target controller.
5. The method according to claim 4, characterized in that The third working state includes: a power supply state, and the third working state of controlling the second distribution circuit based on the first working state and the second working state includes: In response to determining, based on the first working state, that a second input / output board channel in the first distribution circuit receives an abnormal signal, and determining, based on the second working state, that the target controller is in a test state, controlling a second power switching board in the second distribution circuit to turn on a second DC power supply, and, The third input / output board channel in the second distribution circuit is used to control the third control relay to select the second real isolator or the second simulation isolator, so as to control the second distribution circuit to be in a power supply state.
6. The method according to claim 5, characterized in that The third working state includes: a power-off state, and the third working state of controlling the second distribution circuit based on the first working state and the second working state includes: In response to determining based on the first working state that the second input-output board channel has not received the abnormal signal, and determining based on the second working state that the target controller is in a test state, the second power switching board is controlled to be in a disconnected state to control the second distribution circuit to be in a power-off state.
7. The method according to claim 5, characterized in that The triggering condition of the abnormal signal includes at least one of the following: the voltage of the first DC power supply in the first distribution circuit is lower than a preset voltage threshold, and the voltage of the first DC power supply is not in a preset voltage operating range.
8. The method according to claim 5, characterized in that The method further comprises: In response to the second distribution circuit being in a power supply state, controlling a fourth input / output board channel in the second distribution circuit to monitor the second working state; A test result of the target controller is determined based on the second operating state.
9. A power supply system control device for a vehicle controller, characterized in that: A power supply system for a vehicle controller according to any one of claims 1 to 3, the device comprising: an acquisition module, configured to acquire a first working state of the first distribution circuit and a second working state of the target controller; a first control module, configured to control a third operating state of the second distribution circuit based on the first operating state and the second operating state; The second control module is configured to control the second distribution circuit to supply power to the target controller in response to the third working state indicating that the second distribution circuit is in a power supply state.
10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, wherein the computer program is configured to execute the power supply system control method of the vehicle controller described in any one of claims 4 to 8 when running on a computer or a processor.
11. An electronic device comprising a memory and a processor, characterized in that: The memory stores a computer program, and the processor is configured to run the computer program to execute the power supply system control method of the vehicle controller as claimed in any one of claims 4 to 8.
12. A computer program product, characterized in that The invention comprises a computer program which, when executed by a processor, implements the power supply system control method of the vehicle controller as claimed in any one of claims 4 to 8.