Controller, power distribution communication coordination system, vehicle, control method, and control device
By adopting a controller with an integrated communication-control-power distribution structure in the vehicle, which integrates a processing unit, a power line carrier communication unit, and an intelligent power distribution unit, the high cost and low efficiency problems caused by the independent design of the vehicle power distribution system are solved, and the synchronous optimization of power supply and communication is achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- BYD CO LTD
- Filing Date
- 2026-02-03
- Publication Date
- 2026-06-23
AI Technical Summary
In existing technologies, the independent design of vehicle power distribution systems and communication dispatch systems results in large node size, high cost, slow response, and low efficiency in power supply and communication coordination.
The controller adopts an integrated communication-control-power distribution structure, which integrates a processing unit, a power line carrier communication unit, and an intelligent power distribution unit to realize the synchronous generation and execution of power supply control commands and communication dispatch commands.
It reduces cabling and hardware costs, improves node response speed and power supply and communication coordination efficiency, and enhances system flexibility and reliability.
Smart Images

Figure CN122268013A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of power distribution communication technology, and in particular to a controller, a power distribution communication coordination system, a vehicle, a control method, a control device, a control system, and a computer-readable storage medium. Background Technology
[0002] In the field of modern vehicle technology, with the rapid development of automotive intelligence and connectivity, the number of Electronic Control Units (ECUs) inside vehicles is constantly increasing. These ECUs play a crucial control role in various vehicle functions, such as power control, safety systems, and comfort features. The power distribution system and communication scheduling system, as the foundation for ensuring the normal operation of the ECUs, directly affect the overall performance and safety of the vehicle. In related technologies, communication and power distribution functions are often designed independently, resulting in large, costly, and slow-responding power distribution system nodes, and low efficiency in node power supply and communication coordination. Summary of the Invention
[0003] This application provides a controller, a power distribution communication coordination system, a vehicle, a control method, a control device, a control system, and a computer-readable storage medium to solve at least one of the aforementioned technical problems.
[0004] The controller according to the embodiments of this application is applied to a power distribution communication coordination system, the power distribution communication coordination system including at least one slave control module, and the controller includes: The processing unit is used to generate power supply control commands and communication scheduling commands; A power line carrier communication unit is connected to the processing unit and at least one of the slave control modules, respectively, and is used to perform communication between the processing unit and at least one of the slave control modules according to the communication scheduling instructions; The intelligent power distribution unit is connected to the processing unit and at least one of the slave control modules, respectively, and is used to distribute power to at least one of the slave control modules according to the power supply control command.
[0005] In some embodiments, the intelligent power distribution unit includes a drive circuit and multiple switching circuits, the drive circuit being connected to the processing unit, and the multiple switching circuits being respectively connected to multiple slave control modules; The drive circuit is used to control the on / off state of multiple switching circuits according to the power supply control command, so as to distribute power to multiple slave control modules.
[0006] The power distribution communication coordination system according to the embodiments of this application includes: Power module; At least one main control module is connected to the power module, and the power module is used to supply power to at least one of the main control modules; At least one slave control module is connected to at least one of the master control modules, and the at least one master control module is used to supply power to at least one of the slave control modules; The main control module employs a controller from any of the above embodiments.
[0007] In some embodiments, the main control module includes a first control unit and a second control unit, wherein the first control unit is connected to the second control unit; The number of the second control unit is one; or, the number of the second control unit is multiple, and the multiple second control units are connected in series; Both the first control unit and the second control unit employ the controller described above.
[0008] The vehicle described in this application includes the power distribution communication coordination system of any of the above embodiments.
[0009] The control method of this application, applied to a power distribution communication coordination system according to any of the above embodiments, includes: Initialize the number of power outages and the power outage time of the control module; The communication status of the control module is monitored. If an abnormal communication status is detected in the slave control module, power supply and communication to the slave control module are suspended, and the number of power outages and the duration of power outages are recorded. Whether to restore power to the slave control module is determined based on the number of power outages and the duration of the power outages.
[0010] In some implementations, determining whether to restore power to the slave control module based on the number of power outages and the power outage duration includes: If the number of power outages exceeds a preset number, power supply and communication to the slave control module are cut off, abnormal data is recorded, and the steps of initializing the number of power outages and power outage time for the slave control module are returned. If the number of power outages is less than the preset number and the power outage time is greater than the preset time, power supply and communication to the slave control module are restored, and the slave control module is controlled to perform power-on self-test and self-repair.
[0011] In some embodiments, after the control module performs power-on self-test and self-repair, the control method further includes: If the power-on, self-test, and self-repair of the slave control module are confirmed to be successful, return to the step of monitoring the communication status of the slave control module; If the power-on, self-test, and self-repair of the slave control module are determined to be unsuccessful, the process returns to the step of suspending power supply and communication to the slave control module and recording the number of power outages and the duration of power outages.
[0012] The control device of this application embodiment is applied to the power distribution communication coordination system of any of the above embodiments, and the control device includes: An initialization module is used to initialize the number of power outages and the power outage time of the slave control module; The monitoring module is used to monitor the communication status of the slave control module; The processing module is used to suspend power supply to the slave control module when an abnormal communication status is detected, and to record the number of power outages and the duration of the power outages of the slave control module. A determining module is used to determine whether to restore power supply to the slave control module based on the number of power outages and the power outage duration.
[0013] The control system of this application includes one or more processors and a memory, the memory storing a computer program, which, when executed by the processor, implements the control method of any of the above embodiments.
[0014] The computer-readable storage medium of the present application embodiments stores a computer program thereon, which, when executed by a processor, implements the control method of any of the above embodiments.
[0015] In the controller, power distribution communication coordination system, vehicle, control method, control device, control system, and computer-readable storage medium of this application, the controller includes a processing unit, a power line carrier communication unit, and an intelligent power distribution unit. The processing unit generates power supply control commands and communication scheduling commands. The power line carrier communication unit communicates between the processing unit and at least one slave control module according to the communication scheduling commands. The intelligent power distribution unit distributes power to at least one slave control module according to the power supply control commands. Thus, the integrated communication-control-power distribution structure reduces wiring and hardware costs, thereby reducing the complexity and cost of the power distribution communication coordination system. Simultaneously, the synchronous generation of power supply control commands and communication scheduling commands improves node response speed and thus enhances the efficiency of node power supply and communication coordination.
[0016] Additional aspects and advantages of embodiments of this application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of embodiments of this application. Attached Figure Description
[0017] The above and / or additional aspects and advantages of this application will become apparent and readily understood from the description of the embodiments taken in conjunction with the following drawings, wherein: Figure 1 This is a schematic diagram of the controller structure according to some embodiments of this application; Figure 2 This is a schematic diagram of the structure of a power distribution communication coordination system according to certain embodiments of this application; Figure 3 This is a structural schematic diagram of a vehicle according to certain embodiments of this application; Figure 4 This is a flowchart illustrating the control method of certain embodiments of this application; Figure 5 This is a flowchart illustrating the control method of certain embodiments of this application; Figure 6 This is a flowchart illustrating the control method of certain embodiments of this application; Figure 7 This is a flowchart illustrating the control method of certain embodiments of this application; Figure 8 This is a schematic diagram of the control device according to certain embodiments of this application; Figure 9 This is a schematic diagram of the control system according to certain embodiments of this application; Figure 10 This is a schematic diagram illustrating the connection state between a computer-readable storage medium and a processor according to certain embodiments of this application.
[0018] Explanation of reference numerals in the attached figures: Controller 100, processing unit 10, power line carrier communication unit 20, intelligent power distribution unit 30, drive circuit 31, switching circuit 32, power distribution communication coordination system 200, main control module 210, slave control module 220, control device 300, initialization module 310, monitoring module 320, processing module 330, determination module 340, control system 400, processor 410, memory 420, computer-readable storage medium 500, computer program 510, processor 520, vehicle 1000. Detailed Implementation
[0019] The embodiments of this application will be further described below with reference to the accompanying drawings. The same or similar reference numerals in the drawings denote the same or similar elements or elements having the same or similar functions throughout. Furthermore, the embodiments of this application described below with reference to the accompanying drawings are exemplary and are only used to explain the embodiments of this application, and should not be construed as limiting this application.
[0020] Please see Figure 1 and Figure 2 This application provides a controller 100. The controller 100 is applied to a power distribution communication coordination system 200, which includes at least one slave control module 220. The controller 100 includes a processing unit 10, a power line carrier communication unit 20, and an intelligent power distribution unit 30. The processing unit 10 generates power supply control commands and communication scheduling commands. The power line carrier communication unit 20 is connected to the processing unit 10 and the at least one slave control module 220, respectively, and is used to perform communication between the processing unit 10 and the at least one slave control module 220 according to the communication scheduling commands. The intelligent power distribution unit 30 is connected to the processing unit 10 and the at least one slave control module 220, respectively, and is used to distribute power to the at least one slave control module 220 according to the power supply control commands.
[0021] In the controller 100 of this embodiment, the controller 100 includes a processing unit 10, a power line carrier communication unit 20, and an intelligent power distribution unit 30. The processing unit 10 generates power supply control commands and communication scheduling commands. The power line carrier communication unit 20 performs communication between the processing unit 10 and at least one slave control module 220 according to the communication scheduling commands. The intelligent power distribution unit 30 distributes power to at least one slave control module 220 according to the power supply control commands. Thus, the integrated communication-control-power distribution structure reduces wiring and hardware costs, thereby reducing the complexity and cost of the power distribution communication coordination system 200. Simultaneously, the synchronous generation of power supply control commands and communication scheduling commands improves node response speed and thus enhances the efficiency of node power supply and communication coordination.
[0022] Specifically, the processing unit 10 may be a central processing unit (CPU), which can run scheduling algorithms and generate power supply control instructions and communication scheduling instructions.
[0023] The power line carrier communication unit 20 supports power line carrier (PLC) communication. Connected to the processing unit 10, the PLC communication unit 20 encodes and modulates the instructions issued by the processing unit 10 into high-frequency carrier signals, which are then coupled to the power line. The PLC communication unit 20 is also connected to at least one slave control module 220 in the power distribution communication coordination system 200 via the power line to receive carrier signals transmitted by the slave control module 220 through the power line, and to demodulate and decode the carrier signals, thereby enabling communication between the processing unit 10 and the at least one slave control module 220, and thus communication between the controller 100 and the at least one slave control module 220.
[0024] The intelligent power distribution unit 30 is connected to the processing unit 10 and at least one slave control module 220 respectively. The intelligent power distribution unit 30 can receive power supply control commands sent by the processing unit 10 to distribute power to at least one slave control module 220 according to the power supply control commands. The power distribution operation includes performing power-on or power-off operations on the slave control module 220.
[0025] In related technologies, the controller and slave ECU communicate via unidirectional signals, requiring additional communication interfaces (such as CAN or Ethernet), which increases system complexity and cost. Furthermore, even in a low-power state, the microcontroller and DC-DC converter of the slave ECU consume power to maintain the detection function during sleep mode in order to detect signals sent by the controller.
[0026] In this embodiment, a controller 100 that deeply integrates intelligent power distribution and power line carrier communication is proposed. The controller 100 integrates a processing unit 10, a power line carrier communication unit 20, and an intelligent power distribution unit 30, forming an integrated communication-control-power distribution structure. This eliminates the need for additional external communication units and power distribution units, reducing wiring and hardware costs, thereby reducing the complexity and cost of the power distribution communication coordination system 200, and also helping to reduce system power consumption. Simultaneously, the synchronous generation of power supply control commands and communication scheduling commands improves node response speed, thereby enhancing the efficiency of node power supply and communication coordination.
[0027] Please see Figure 1 and Figure 2 In some embodiments, the intelligent power distribution unit 30 includes a drive circuit 31 and multiple switching circuits 32. The drive circuit 31 is connected to the processing unit 10, and the multiple switching circuits 32 are respectively connected to multiple slave control modules 220. The drive circuit 31 is used to control the on / off state of the multiple switching circuits 32 according to the power supply control command, so as to distribute power to the multiple slave control modules 220.
[0028] Specifically, the intelligent power distribution unit 30 integrates multiple independently controllable switching circuits 32 to independently distribute power to multiple slave control modules 220. The switching circuits 32 can use semiconductor switches, such as metal-oxide-semiconductor field-effect transistors (MOSFETs), which have a faster response speed and avoid the delay problem of mechanical relays.
[0029] In the intelligent power distribution unit 30, each switching circuit 32 controls a power supply loop leading to the slave control module 220. The intelligent power distribution unit 30 receives power supply control commands from the processing unit 10 and executes power supply (i.e., power-on) or power-off (i.e. power-off) operations on the slave control module 220 through the drive circuit 31.
[0030] It should be noted that the power line connecting the controller 100 and the slave control module 220 can also serve as a communication line, such as... Figure 2 As shown, the power line carrier communication unit 20 is connected to the switching circuit 32 of the intelligent power distribution unit 30, and the carrier signal output by the power line carrier communication unit 20 is transmitted to the corresponding slave control module 220 via the switching circuit 32.
[0031] Please see Figure 1 and Figure 2 This application also provides a power distribution communication coordination system 200. The power distribution communication coordination system 200 includes a power supply module, at least one main control module 210, and at least one slave control module 220. The at least one main control module 210 is connected to the power supply module, which supplies power to the at least one main control module 210. The at least one slave control module 220 is connected to the at least one main control module 210, which supplies power to the at least one slave control module 220. The main control module 210 employs the controller 100 of any of the above embodiments.
[0032] In the power distribution communication coordination system 200 of this application embodiment, the main control module 210 adopts a controller 100. The controller 100 includes a processing unit 10, a power line carrier communication unit 20, and an intelligent power distribution unit 30. The processing unit 10 generates power supply control commands and communication scheduling commands. The power line carrier communication unit 20 communicates between the processing unit 10 and at least one slave control module 220 according to the communication scheduling commands. The intelligent power distribution unit 30 distributes power to at least one slave control module 220 according to the power supply control commands. In this way, an integrated communication-control-power distribution structure is formed, reducing wiring and hardware costs. At the same time, the synchronous generation of power supply control commands and communication scheduling commands is realized, which is beneficial to improving the node response speed.
[0033] Specifically, such as Figure 3As shown, the power distribution and communication coordination system 200 can be applied to vehicle 1000. The power module can be a battery. The main control module 210 is connected to the power module and is directly powered by the power module. There can be one or more main control modules 210. The main control module 210 can be a body domain controller 100, power domain controller 100, chassis domain controller 100, intelligent driving domain controller 100, cockpit domain controller 100, etc. in vehicle 1000, and the main control module 210 adopts the communication-control-power distribution integrated structure of the controller 100 in the aforementioned embodiment.
[0034] The number of slave control modules 220 can be one or more, and each master control module 210 can be connected to one or more slave control modules 220. The master control module 210 is used to supply power to the connected slave control modules 220. Specifically, in the master control module 210, the switching circuit 32 in the intelligent power distribution unit 30 is connected to the slave control module 220, and the intelligent power distribution unit 30 controls the power supply to the slave control module 220.
[0035] Since the main control module 210 adopts the controller 100 in the aforementioned embodiment, the power line connecting the main control module 210 and the slave control module 220 can also be used as a communication line to communicate based on PLC technology.
[0036] In related technologies, vehicle power distribution often uses a combination of fuses and relays. However, this approach suffers from poor accuracy and flexibility in delay control, making it unsuitable for complex vehicle operating conditions. Furthermore, this solution results in heavy wiring harnesses, increasing vehicle weight and energy consumption, while also making wiring harness installation difficult, requiring significant interior space, and leading to higher costs. In terms of communication, vehicle data communication primarily utilizes traditional Controller Area Network (CAN) buses. As the number of vehicle ECUs increases and functions are upgraded, wiring harness costs rise accordingly.
[0037] In this embodiment, the intelligent power distribution unit 30 supports multiple independent power distributions, offering good accuracy and flexibility. In the event of a fault, the intelligent power distribution unit 30 only disconnects the faulty branch, reducing the fault isolation range to the smallest unit (a single slave control module 220), thus avoiding large-scale power outages from affecting normal nodes and enhancing system robustness. Power line reuse for both power supply and communication reduces wiring costs and space requirements, making it suitable for distributed scenarios such as intelligent buildings and industrial production lines.
[0038] While some studies have explored using PLC technology to reduce wiring harnesses, they primarily focus on the communication function itself and lack a unified management mechanism that deeply integrates power supply control and communication scheduling. This fails to fundamentally address system-level anomalies caused by faulty ECUs, and even if an abnormal node is detected, it may continue to occupy the channel, leading to a decrease in system communication efficiency.
[0039] In this embodiment, the main control module 210 and the slave control module 220 are connected via multiple independent and controllable power lines. Once an anomaly is confirmed, the power supply to the node is immediately cut off through the intelligent power distribution unit 30. In this way, the impact of the abnormal node on the communication channel is completely removed at the physical level. Compared with simple software reset or channel avoidance, channel resources can be released more quickly and thoroughly, significantly improving channel utilization and system reliability.
[0040] Please see Figure 1 and Figure 2 In some embodiments, the main control module 210 includes a first control unit and a second control unit, with the first control unit connected to the second control unit. The number of second control units is one; alternatively, the number of second control units may be multiple, connected in series. Both the first and second control units utilize a controller 100.
[0041] Specifically, the main control module 210 may include a first control unit and a second control unit, both of which may be the controller 100 described in the foregoing embodiments. The first control unit and the second control unit are connected in series.
[0042] There can be one or more second control units. If there are multiple second control units, they are connected in series. Each second control unit can be used to connect to at least one slave control module 220. The first control unit acts as the master ECU, the second control unit acts as the intermediate ECU, and the slave control module 220 acts as the slave ECU, forming a hierarchical communication and power distribution collaborative architecture. The second control units can share the communication and power distribution load, significantly improving system scalability.
[0043] Please see Figure 3 This application also provides a vehicle 1000. The vehicle 1000 includes a power distribution communication coordination system 200 according to any of the above embodiments. Through the power distribution communication coordination system 200, the vehicle 1000 improves the flexibility of power distribution control, the efficiency and reliability of communication, and the precise management of ECUs, so as to meet the growing demand for intelligent development of the vehicle 1000.
[0044] Please see Figure 2 , Figure 4 and Figure 5 This application also provides a control method, which is applied to the power distribution communication coordination system 200 of any of the above embodiments. The control method includes: 010: Initialize the number of power-offs and the power-off time from the control module 220; 020: Monitor the communication status of the slave control module 220; 030: If an abnormal communication status is detected in the slave control module 220, the power supply and communication to the slave control module 220 shall be suspended, and the number of power outages and the power outage time of the slave control module 220 shall be recorded. 040: Determine whether to restore power supply to the slave control module 220 based on the number of power outages and the duration of the power outages.
[0045] In the control method of this application, the communication status of the slave control module 220 is monitored. When an abnormal communication status of the slave control module 220 is detected, power supply to the slave control module 220 is suspended. Whether to restore power supply to the slave control module 220 is determined based on the number of power outages and the duration of the outages. This achieves rapid isolation of communication anomalies and a closed-loop power supply control, preventing the channel from being occupied for extended periods, effectively preventing network congestion, and significantly improving the system's security and stability.
[0046] Specifically, during normal operation of the power distribution communication coordination system 200, the main control module 210 and the slave control module 220 communicate via PLC, and can forward normal communication information according to the routing table. The processing unit 10 allocates communication time slots or channels according to a predetermined scheduling strategy. When the slave control module 220 malfunctions, the main control module 210, which detects the communication abnormality, will not forward the abnormal communication data, but instead controls the disconnection of power supply to the malfunctioning slave control module 220.
[0047] The specific power outage strategy is as follows: First, the main control module 210 initializes the number of power outages and the power outage time of the lower-level slave control module 220, setting them to initial values, such as zero. During the operation of the power distribution communication coordination system 200, the processing unit 10 in the main control module 210 continuously monitors the communication status of the slave control module 220.
[0048] If the control module 220 is detected to be unresponsive for an extended period, continuously sending abnormal data packets, or occupying the channel for an extended period, it indicates an abnormal communication status of the control module 220. Upon detecting this abnormality, the processing unit 10 sends a power supply control command to the intelligent power distribution unit 30, instructing the intelligent power distribution unit 30 to shut off the power supply to the control module 220. At this time, the count of power outages of the control module 220 is incremented, and the recording of the power outage time begins.
[0049] After the slave control module 220 is powered off, the power supply to the slave control module 220 is determined based on the number of power outages and the power outage time. The conditions for determining whether to restore power supply can be determined according to the actual application situation. If the number of power outages and the power outage time meet the conditions, the power supply to the slave control module 220 can be restored.
[0050] In related technologies, communication control mechanisms lack effective strategies to deal with abnormal communication from a particular ECU. When communication from an ECU goes out of control, it can easily lead to prolonged channel occupancy, causing bus paralysis. For example, in some time-slot scheduling schemes based on fixed paths, the inability to flexibly adjust according to real-time communication needs and network conditions makes it difficult to ensure reliable transmission of diverse data streams in the vehicle network, and network congestion is particularly severe under high load conditions.
[0051] In this embodiment, based on communication behavior awareness-based power supply disconnection and power supply closed-loop self-recovery, the main control module 210 monitors the communication status of the lower-level slave control modules 220 in real time. When any slave control module 220 is detected to have a communication anomaly, the intelligent power distribution module immediately disconnects the power supply to that slave control module 220. After the abnormal node recovers, the power supply can be automatically re-closed to attempt self-recovery of the abnormal node. In this way, rapid isolation of communication anomalies and closed-loop power supply control are achieved, avoiding prolonged channel occupation, effectively preventing network congestion, and significantly improving the security and stability of the system.
[0052] Please see Figure 2 , Figure 5 and Figure 6 In some implementations, determining whether to restore power to the slave control module 220 (i.e., 040) based on the number of power outages and the duration of the power outages includes: 041: If the number of power outages exceeds the preset number, shut off the power supply and communication to the slave control module 220, record the abnormal data, and return to the steps of initializing the number of power outages and the power outage time of the slave control module 220. 042: If the number of power outages is less than the preset number and the power outage time is greater than the preset time, restore power supply and communication to the slave control module 220, and control the slave control module 220 to perform power-on self-test and self-repair.
[0053] Specifically, the number of power outages is compared with the preset number. If the number of power outages exceeds the preset number, it indicates that the control module 220 has experienced an unrepairable fault, and the communication anomaly is not caused by transient interference. In this case, power supply and communication to the control module 220 are cut off without restoration, and the abnormal data is recorded. Afterward, the process returns to the steps of initializing the number of power outages and power outage time of the control module 220, and a new round of monitoring is restarted.
[0054] If the number of power outages is less than the preset number, it indicates that the fault in the slave control module 220 may be resolved through self-repair, or that the communication anomaly is caused by transient interference. In this case, the power outage time is further compared with the preset time. If the power outage time is greater than the preset time, power supply and communication to the slave control module 220 can be restored, and the processing unit 10 sends self-test and self-repair commands via power line carrier communication to control the slave control module 220 to perform power-on self-test and self-repair. The communication scheduling commands in the aforementioned embodiment include self-test and self-repair commands.
[0055] If the power outage time is less than the preset time, the power outage time is re-compared with the preset time until the power outage time is greater than the preset time. This ensures that there is sufficient time for communication anomalies caused by momentary interference to recover. This avoids misjudgments caused by momentary interference.
[0056] The preset number of times and preset time can be determined according to the actual application. In one example, the preset number of times can be set to 5-10 times, and the preset time can be set to 10 seconds-2 minutes.
[0057] In this embodiment, while setting a self-recovery mechanism, the number of self-recoveries is limited, ensuring that the power restoration strategy is intelligent and cautious, effectively avoiding network oscillation interference caused by repeated on / off cycles, and further enhancing the stability and availability of the system.
[0058] Please see Figure 2 , Figure 5 and Figure 7 In some implementations, after the control module 220 performs a power-on self-test and self-repair (i.e., 042), the control method further includes: 050: If the power-on, self-test and self-repair of the control module 220 are confirmed to be successful, return to the step of monitoring the communication status of the control module 220; 060: If it is determined that the power-on, self-test and self-repair of the control module 220 are unsuccessful, return to the step of pausing power supply to the control module 220 and recording the number of power outages and the power outage time of the control module 220.
[0059] Specifically, after the processing unit 10 sends self-test and self-repair commands via power line carrier communication, it determines whether the power-on, self-test, and self-repair of the slave control module 220 are successful by whether a positive response is received from the slave control module 220. If a positive response is received, it is determined that the power-on, self-test, and self-repair of the slave control module 220 are successful, and the process returns to the step of monitoring the communication status of the slave control module 220 to monitor its current communication status.
[0060] If no positive response is received, it is determined that the power-on, self-test and self-repair of the control module 220 failed. The process is to return to suspend power supply to the control module 220, record the number of power outages and the power outage time of the control module 220, and then perform the power outage again.
[0061] Please see Figure 2 and Figure 8 This application also provides a control device 300. The control device 300 is applied to the power distribution communication coordination system 200 of any of the above embodiments. The control device 300 includes an initialization module 310, a monitoring module 320, a processing module 330, and a determination module 340. The initialization module 310 initializes the power outage count and power outage timing of the slave control module 220. The monitoring module 320 monitors the communication status of the slave control module 220. The processing module 330, upon detecting an abnormal communication status of the slave control module 220, suspends power supply to the slave control module 220 and records the power outage count and power outage time of the slave control module 220. The determination module 340 determines whether to restore power supply to the slave control module 220 based on the power outage count and power outage time.
[0062] In some implementations, the determining module 340 is specifically used to shut down the power supply and communication to the slave control module 220, record abnormal data, and return to the steps of initializing the number of power outages and the power outage time of the slave control module 220 when the number of power outages is greater than a preset number; and to restore the power supply and communication to the slave control module 220 and control the slave control module 220 to perform power-on self-test and self-repair when the number of power outages is less than the preset number and the power outage time is greater than the preset time.
[0063] In some implementations, after the control module 220 performs power-on self-test and self-repair, the determining module 340 is further configured to, if it determines that the power-on, self-test and self-repair of the control module 220 is successful, return to the step of monitoring the communication status of the control module 220; if it determines that the power-on, self-test and self-repair of the control module 220 is unsuccessful, return to the step of suspending power supply and communication to the control module 220, and recording the number of power outages and the power outage time of the control module 220.
[0064] It should be noted that the explanation of the control method in the foregoing embodiments also applies to the control device 300 in the embodiments of this application, and will not be elaborated here.
[0065] Please see Figure 9 This application also provides a control system 400. The control system 400 includes one or more processors 410 and a memory 420. The memory 420 stores a computer program, which, when executed by the processor 410, implements the control method of any of the above embodiments.
[0066] For example, when a computer program is executed by processor 410, the following control method is implemented: 010: Initialize the number of power-offs and the power-off time from the control module 220; 020: Monitor the communication status of the slave control module 220; 030: If an abnormal communication status is detected in the slave control module 220, the power supply and communication to the slave control module 220 shall be suspended, and the number of power outages and the power outage time of the slave control module 220 shall be recorded. 040: Determine whether to restore power supply to the slave control module 220 based on the number of power outages and the duration of the power outages.
[0067] For example, when a computer program is executed by processor 410, the following control method is implemented: 041: If the number of power outages exceeds the preset number, shut off the power supply and communication to the slave control module 220, record the abnormal data, and return to the steps of initializing the number of power outages and the power outage time of the slave control module 220. 042: If the number of power outages is less than the preset number and the power outage time is greater than the preset time, restore power supply and communication to the slave control module 220, and control the slave control module 220 to perform power-on self-test and self-repair.
[0068] It should be noted that the explanation of the control method in the foregoing embodiments also applies to the control system 400 of the embodiments of this application, and will not be elaborated here.
[0069] Please see Figure 10 This application also provides a computer-readable storage medium 500 storing a computer program 510 thereon. When the program is executed by the processor 520, it implements the control method of any of the above embodiments.
[0070] For example, when the program is executed by processor 520, the following control method is implemented: 010: Initialize the number of power-offs and the power-off time from the control module 220; 020: Monitor the communication status of the slave control module 220; 030: If an abnormal communication status is detected in the slave control module 220, the power supply and communication to the slave control module 220 shall be suspended, and the number of power outages and the power outage time of the slave control module 220 shall be recorded. 040: Determine whether to restore power supply to the slave control module 220 based on the number of power outages and the duration of the power outages.
[0071] For example, when the program is executed by processor 520, the following control method is implemented: 041: If the number of power outages exceeds the preset number, shut off the power supply and communication to the slave control module 220, record the abnormal data, and return to the steps of initializing the number of power outages and the power outage time of the slave control module 220. 042: If the number of power outages is less than the preset number and the power outage time is greater than the preset time, restore power supply and communication to the slave control module 220, and control the slave control module 220 to perform power-on self-test and self-repair.
[0072] It should be noted that the explanation of the control method in the foregoing embodiments also applies to the computer-readable storage medium 500 of the embodiments of this application, and will not be elaborated here.
[0073] In summary, in the controller 100, power distribution communication coordination system 200, vehicle 1000, control method, control device 300, control system 400, and computer-readable storage medium of the embodiments of this application, the controller 100 includes a processing unit 10, a power line carrier communication unit 20, and an intelligent power distribution unit 30. The processing unit 10 generates power supply control commands and communication scheduling commands. The power line carrier communication unit 20 performs communication between the processing unit 10 and at least one slave control module 220 according to the communication scheduling commands. The intelligent power distribution unit 30 distributes power to at least one slave control module 220 according to the power supply control commands. Thus, the integrated communication-control-power distribution structure reduces wiring and hardware costs, thereby reducing the complexity and cost of the power distribution communication coordination system 200. At the same time, the synchronous generation of power supply control commands and communication scheduling commands is achieved, which helps to improve node response speed and thus improve the efficiency of node power supply and communication coordination.
[0074] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., refer to specific features, structures, materials, or characteristics described in connection with that embodiment or example, which are included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.
[0075] Any process or method described in the flowchart or otherwise herein can be understood as representing a module, segment, or portion of code comprising one or more executable instructions for implementing a particular logical function or process, and the scope of the preferred embodiments of this application includes additional implementations in which functions may be performed not in the order shown or discussed, including substantially simultaneously or in reverse order depending on the function involved, as will be understood by those skilled in the art to which embodiments of this application pertain.
[0076] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be embodied in any computer-readable storage medium for use by, or in conjunction with, an instruction execution system, apparatus, or device (such as a computer-based system, a processor-included system, or other system that can fetch and execute instructions from, an instruction execution system, apparatus, or device). For the purposes of this specification, a computer-readable storage medium can be any means that can contain, store, communicate, propagate, or transmit programs for use by, or in conjunction with, an instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of computer-readable storage media include: an electrical connection having one or more wires (electronic device), a portable computer disk drive (magnetic device), random access memory (RAM), read-only memory (ROM), erasable and programmable read-only memory (EPROM or flash memory), fiber optic devices, and portable optical disc read-only memory (CDROM). Alternatively, the computer-readable storage medium could be paper or other suitable media on which the program can be printed, since the program can be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, interpreting, or otherwise processing as necessary, and then stored in a computer memory.
[0077] It should be understood that various parts of this application can be implemented using hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented using software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented using any one or a combination of the following techniques known in the art: discrete logic circuits having logic gates for implementing logical functions on data signals, application-specific integrated circuits (ASICs) having suitable combinational logic gates, programmable gate arrays (PGAs), field-programmable gate arrays (FPGAs), etc.
[0078] Those skilled in the art will understand that all or part of the steps of the methods in the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, it includes one or a combination of the steps of the method embodiments. Furthermore, the functional units in the various embodiments of this application can be integrated into a processing module, or each unit can exist physically separately, or two or more units can be integrated into a module. The integrated module can be implemented in hardware or as a software functional module. If the integrated module is implemented as a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. The storage medium mentioned above can be a read-only memory, a disk, or an optical disk, etc.
[0079] Although embodiments of this application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting this application. Those skilled in the art can make changes, modifications, substitutions and variations to the above embodiments within the scope of this application, the scope of which is defined by the claims and their equivalents.
Claims
1. A controller (100), characterized in that, Applied to a power distribution communication coordination system (200), the power distribution communication coordination system (200) includes at least one slave control module (220), the controller (100) includes: Processing unit (10) is used to generate power supply control instructions and communication scheduling instructions; A power line carrier communication unit (20) is connected to the processing unit (10) and at least one of the slave control modules (220) respectively, and is used to perform communication between the processing unit (10) and at least one of the slave control modules (220) according to the communication scheduling instructions; The intelligent power distribution unit (30) is connected to the processing unit (10) and at least one of the slave control modules (220) respectively, and is used to distribute power to at least one of the slave control modules (220) according to the power supply control command.
2. The controller (100) according to claim 1, characterized in that, The intelligent power distribution unit (30) includes a drive circuit (31) and multiple switch circuits (32). The drive circuit (31) is connected to the processing unit (10), and the multiple switch circuits (32) are respectively connected to multiple slave control modules (220). The drive circuit (31) is used to control the on / off state of multiple switching circuits (32) according to the power supply control command, so as to distribute power to multiple slave control modules (220).
3. A power distribution communication coordination system (200), characterized in that, include: Power module; At least one main control module (210) is connected to the power supply module, the power supply module being used to supply power to at least one of the main control modules (210); At least one slave control module (220) is connected to at least one master control module (210), and the at least one master control module (210) is used to supply power to at least one slave control module (220); The main control module (210) adopts the controller (100) described in claim 1 or 2.
4. The power distribution communication coordination system (200) according to claim 3, characterized in that, The main control module (210) includes a first control unit and a second control unit, wherein the first control unit is connected to the second control unit; The number of the second control unit is one; or, the number of the second control unit is multiple, and the multiple second control units are connected in series; Both the first control unit and the second control unit employ the controller (100).
5. A vehicle (1000), characterized in that, Includes the power distribution communication coordination system (200) as described in claim 3 or 4.
6. A control method, characterized in that, The control method, applied to the power distribution communication coordination system (200) according to claim 3 or 4, includes: Initialize the number of power outages and the power outage time of the control module (220); The communication status of the control module (220) is monitored. If an abnormal communication status is detected in the slave control module (220), the power supply and communication to the slave control module (220) are suspended, and the number of power outages and the power outage time of the slave control module (220) are recorded. Whether to restore power supply to the slave control module (220) is determined based on the number of power outages and the duration of the power outages.
7. The control method according to claim 6, characterized in that, The step of determining whether to restore power supply to the slave control module (220) based on the number of power outages and the power outage time includes: If the number of power outages exceeds a preset number, power supply and communication to the slave control module (220) are cut off, abnormal data is recorded, and the steps of initializing the slave control module (220) for the number of power outages and the power outage time are returned. If the number of power outages is less than the preset number and the power outage time is greater than the preset time, power supply and communication to the slave control module (220) are restored, and the slave control module (220) is controlled to perform power-on self-test and self-repair.
8. The control method according to claim 7, characterized in that, After the control module (220) performs power-on self-test and self-repair, the control method further includes: If it is confirmed that the slave control module (220) has successfully powered on, performed a self-test, and completed a self-repair, return to the step of monitoring the communication status of the slave control module (220); If the power-on, self-test and self-repair of the slave control module (220) are unsuccessful, return to the steps of suspending power supply and communication to the slave control module (220) and recording the number of power outages and the power outage time of the slave control module (220).
9. A control device (300), characterized in that, Applied to the power distribution communication coordination system (200) of claim 3 or 4, the control device (300) includes: An initialization module (310) is used to initialize the number of power outages and the power outage time of the slave control module (220); The monitoring module (320) is used to monitor the communication status of the slave control module (220); The processing module (330) is used to suspend power supply to the slave control module (220) when an abnormal communication status is detected in the slave control module (220), and to record the number of power outages and the power outage time of the slave control module (220); The determining module (340) is used to determine whether to restore power supply to the slave control module (220) based on the number of power outages and the power outage time.
10. A control system (400), characterized in that, The control system (400) includes one or more processors (410) and a memory (420), the memory (420) storing a computer program that, when executed by the processor (410), implements the control method according to any one of claims 6-8.