Fault detection method and device, vehicle and storage medium
By checking the status of the power distribution ports in the ZCU power distribution system, analyzing the causes of current overload, and performing a preset number of overload fault detections, the problem of accidental shutdown of the ZCU power distribution ports was solved, improving the safety and reliability of vehicle power supply.
Patent Information
- Application Number
- CN202510366426.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-25
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2045-03-25
AI Technical Summary
In the existing technology, the overload current misjudgment of the ZCU power distribution port leads to false shutdown, which affects the safety and reliability of vehicle power supply.
By checking the status of the power distribution ports, analyzing the causes of abnormalities, especially current overload, performing a preset number of overload fault detections, and shutting down the port after confirming current overload, the detection strategy is adjusted according to the port type to reduce the false shutdown rate.
It effectively reduced the false shutdown rate due to power distribution overload, ensuring the safety and reliability of vehicle power supply.
Smart Images

Figure CN120405255B_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of vehicle technology, specifically relating to a fault detection method, device, vehicle, and storage medium. Background Technology
[0002] The Zone Control Unit (ZCU) is a crucial component of the new automotive electronic architecture, primarily responsible for acquiring input signals and driving output loads. Intelligent power distribution mainly involves intelligently managing the power supply to all electrical devices connected to the ZCU under different vehicle modes and usage patterns, combining network management and function requests. Simultaneously, it monitors the power grid status, promptly detects power distribution anomalies, and takes timely measures to ensure the orderly and safe operation of the vehicle's power supply.
[0003] A conventional intelligent power distribution diagnostic strategy is used to cover the power distribution ports on the ZCU. When an overload current occurs at a port, the port is immediately shut down according to the I2T curve, the electronic fuse is cut off, and the electronic fuse is restored after the current drops and returns to normal, and the corresponding port is then reactivated. In this method, there is a possibility that the port may misjudge the overload current and shut down incorrectly. Summary of the Invention
[0004] In view of the above problems, this application proposes a fault detection method, apparatus, vehicle, and storage medium to improve the above problems.
[0005] In a first aspect, embodiments of this application provide a fault detection method for vehicle-mounted intelligent power distribution. The method includes: checking whether the power distribution of each power distribution port is normal; if abnormal power distribution is detected, analyzing the cause of the abnormal power distribution of a target power distribution port based on acquired configuration parameters, wherein the target power distribution port is the power distribution port with abnormal power distribution; if the cause of the abnormal power distribution of the target power distribution port is current overload, obtaining the port type of the target power distribution port; based on the port type, performing overload fault detection on the target power distribution port a preset number of times; if the cause of the abnormal power distribution of the target power distribution port is still current overload, shutting off the target power distribution port.
[0006] Secondly, embodiments of this application provide a fault detection device for vehicle-mounted intelligent power distribution. The device includes: an inspection unit for inspecting whether the power distribution of each power distribution port is normal; an analysis unit for analyzing the cause of the power distribution abnormality of a target power distribution port based on acquired configuration parameters if an abnormal power distribution is detected, wherein the target power distribution port is the power distribution port with abnormal power distribution; an acquisition unit for acquiring the port type of the target power distribution port if the cause of the power distribution abnormality of the target power distribution port is current overload; a detection unit for performing overload fault detection on the target power distribution port a preset number of times based on the port type; and a control unit for shutting down the target power distribution port if the cause of the power distribution abnormality of the target power distribution port is still current overload.
[0007] Thirdly, embodiments of this application provide a vehicle including one or more processors and a memory; one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs are configured to perform the methods described above.
[0008] Fourthly, embodiments of this application provide a computer-readable storage medium storing program code, wherein the above-described method is executed when the program code is run.
[0009] This application provides a fault detection method, device, vehicle, and storage medium. First, the power distribution of each distribution port is checked for normality. If abnormal power distribution is detected, the cause of the abnormality at the target distribution port is analyzed based on the acquired configuration parameters. If the cause of the abnormality is current overload, the port type of the target distribution port is obtained. Based on the port type, a preset number of overload fault detections are performed on the target distribution port. If the cause of the abnormality is still current overload, the target distribution port is shut down. Through this method, when a port experiences a real overload, the overloaded port can be shut down more effectively and accurately, reducing the false shutdown rate due to power distribution overload. Attached Figure Description
[0010] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0011] Figure 1 A block diagram of a ZCU power distribution system capable of performing a fault detection method according to an embodiment of this application is shown;
[0012] Figure 2A flowchart of a fault detection method according to an embodiment of this application is shown;
[0013] Figure 3 A flowchart of a fault detection method according to another embodiment of this application is shown;
[0014] Figure 4 A timing diagram of the power distribution overload fault diagnosis described in steps S210-S230 of another embodiment of this application is shown;
[0015] Figure 5 A timing diagram of the power distribution port redrive is shown in another embodiment of this application;
[0016] Figure 6 A flowchart of a fault detection method according to another embodiment of this application is shown;
[0017] Figure 7 This paper shows a structural block diagram of a fault detection device according to an embodiment of the present application;
[0018] Figure 8 A structural block diagram of a vehicle for performing a fault detection method according to an embodiment of this application is shown;
[0019] Figure 9 A storage unit for storing or carrying program code implementing the fault detection method according to an embodiment of the present application is shown. Detailed Implementation
[0020] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.
[0021] This application proposes a fault detection method, device, vehicle, and storage medium. First, the power distribution of each distribution port is checked for normality. If abnormal power distribution is detected, the cause of the abnormality at the target distribution port is analyzed based on the acquired configuration parameters. If the cause of the abnormality is current overload, the port type of the target distribution port is obtained. Based on the port type, a preset number of overload fault detections are performed on the target distribution port. If the cause of the abnormality is still current overload, the target distribution port is shut down. Through this method, when a port experiences a genuine overload, the overloaded port can be shut down more effectively and accurately, reducing the false shutdown rate due to power distribution overload.
[0022] Please see Figure 1The fault detection method provided in this application embodiment can be applied to Figure 1 The ZCU power distribution system 100 shown may include three modules: a port configuration management module 110, a port output control module 120, and a port fault diagnosis module 130. The ZCU is a crucial component of the new automotive electronic architecture, primarily responsible for acquiring input signals and driving output loads. Intelligent power distribution mainly achieves intelligent management of the power supply to all electrical devices connected to the ZCU under different vehicle modes and usage patterns, combining network management and function requests. Simultaneously, it monitors the power grid status, promptly detects power distribution anomalies, and takes timely measures to ensure the orderly and safe operation of the vehicle's power supply.
[0023] The port configuration management module 110 can match hardware ports with functional signals by changing and adjusting the diagnostic configuration code through the diagnostic service.
[0024] The port output control module 120 executes the power-on / power-off control command set sent by the Central Computing Unit (CCU) and the handling strategy in case of message abnormality. The ZCU determines the user mode status input by the CCU (i.e.,...). Figure 1 The usage mode and power distribution request information in the data are used to determine the corresponding power distribution port (i.e., Figure 1 Configure each power port in the system; when the ZCU receives a value of 1 for a port that requires intelligent power distribution, it controls the corresponding port to power on; when it receives a value of 0 for a port that requires intelligent power distribution, it controls the corresponding port to power off.
[0025] The port fault diagnosis module 130 is responsible for collecting the opening and closing status of the power drive port from the ZCU's internal hardware. Based on the real-time monitoring and recording of the power drive port current by the ZCU's internal hardware, it disconnects the drive port when a condition is met (this condition can refer to a port disconnection condition) and records the port status and fault signal (i.e., ...). Figure 1 The power distribution status is fed back to the CCU.
[0026] The embodiments of this application will now be described in detail with reference to the accompanying drawings.
[0027] Please see Figure 2 This application provides a fault detection method for vehicle-mounted intelligent power distribution, the method comprising:
[0028] Step S110: Check whether the power distribution at each power distribution port is normal.
[0029] In the embodiments of this application, each power distribution port refers to all power distribution ports in the ZCU.
[0030] The ZCU can monitor the power distribution status and current of each power distribution port in real time through the port fault diagnosis module. Specifically, when the ZCU configures the corresponding power distribution port according to the usage mode and power distribution request input by the CCU, it monitors the power distribution status of each power distribution port in real time after the power distribution is completed. Different usage modes indicate different numbers of power distribution ports to be configured, and the power distribution request is used to configure the power supply to or from the power distribution port.
[0031] In this embodiment of the application, the power distribution status of each power distribution port is traversed to determine whether the power distribution of each power distribution port is normal.
[0032] Step S120: If abnormal power distribution is detected, analyze the cause of the abnormal power distribution at the target power distribution port based on the obtained configuration parameters. The target power distribution port is the power distribution port with abnormal power distribution.
[0033] In this embodiment, abnormal power distribution refers to the detection of abnormal power distribution status at a power distribution port. The configuration parameters are pre-set parameters used to analyze the causes of abnormal power distribution at the power distribution port. These configuration parameters may include key parameters involved in diagnosing overload faults at the power distribution port, as well as fault identifiers for various causes of abnormal power distribution. Different causes of abnormal power distribution can be identified using different fault identifiers.
[0034] The main parameters involved in overload fault diagnosis of power distribution ports include overload shutdown time, detection coefficient and detection interval, port drive open duration, I2T protection start time and shutdown time adjustment range. Overload shutdown time refers to the time on the I2T curve corresponding to when the port current reaches a certain overload value; that is, the time required to cut off the power supply when an overload is detected at the power distribution port. This overload shutdown time can be adjusted within a certain range to adapt to different circuit and equipment requirements. Detection interval is the time interval between each re-drive. Port drive open duration is the duration of each attempt to open the power distribution port after re-drive; that is, the time the port should remain open under normal operating conditions. This helps the system assess the port's operating status and load, thus indirectly affecting the diagnosis and handling of overload faults. I2T protection start time is the time it takes for I2T protection to start during the port drive open process; that is, the time it takes for the I2T protection mechanism to start working when the transient current exceeds a set threshold, such as 200ms. The shutdown time adjustment range refers to the allowable adjustment range of the overload shutdown time, such as 60%-100%.
[0035] One approach is to first determine the distribution port in an abnormal distribution state (i.e., the target distribution port) based on the obtained distribution status of each distribution port. Then, based on the fault identifier of the abnormal distribution cause of each distribution port in an abnormal distribution state and the main parameters involved in the overload fault diagnosis of the distribution port, the cause of the abnormal distribution of the target distribution port can be determined.
[0036] Step S130: If the cause of the power distribution abnormality of the target power distribution port is current overload, obtain the port type of the target power distribution port.
[0037] In this embodiment, the target power distribution port can be understood as a power distribution port currently identified as experiencing a power distribution anomaly. The target power distribution port may include at least one power distribution port currently identified as experiencing a power distribution anomaly. The port type of the target power distribution port can be a normally powered port and / or a non-normally powered port.
[0038] In one approach, different types of power distribution ports are assigned different port identifiers. Therefore, once the target power distribution port is determined, its type can be identified based on the port identifier of the target power distribution port.
[0039] Step S140: Based on the port type, perform overload fault detection on the target power distribution port a preset number of times.
[0040] In this embodiment, the preset number of times refers to a key parameter involved in the diagnosis of overload faults at power distribution ports. This preset number of times can be understood as the number of tests performed; specifically, it is a pre-set number of times that a preliminary judgment indicates the cause of the power distribution anomaly is current overload, requiring a re-test.
[0041] Once the target power distribution port and its port type are determined using preset rules, the cause of any power distribution anomalies at the target power distribution port can be further determined. The preset rules are pre-defined rules used to identify the target power distribution port.
[0042] If the initial determination is that the power distribution anomaly at the target distribution port is due to current overload, in order to reduce the false shutdown rate of the distribution port, the target distribution port can be re-tested for overload faults a preset number of times. Overload fault testing refers to determining whether the cause of the power distribution anomaly at the target port is still current overload.
[0043] Step S150: If the cause of the power distribution abnormality at the target power distribution port is still current overload, shut down the target power distribution port.
[0044] In this embodiment, if the current overload fault of the target power distribution port still exists after a preset number of overload fault detections, the target power distribution port is shut down; if the current overload fault of the target power distribution port disappears after a preset number of overload fault detections, the current of the power distribution port is monitored and recorded in real time. The aforementioned shutdown means that no further attempts will be made to reopen the target port.
[0045] This application provides a fault detection method that first checks whether the power distribution of each distribution port is normal. If abnormal power distribution is detected, the method analyzes the cause of the abnormal power distribution at the target distribution port based on the obtained configuration parameters. If the cause of the abnormal power distribution at the target distribution port is current overload, the method obtains the port type of the target distribution port and performs a preset number of overload fault detections based on the port type. If the cause of the abnormal power distribution at the target distribution port is still current overload, the target distribution port is shut down. Through this method, when a port experiences a real overload, the overloaded port can be shut down more effectively and accurately, reducing the false shutdown rate due to power distribution overload.
[0046] Please see Figure 3 This application provides a fault detection method for vehicle-mounted intelligent power distribution, the method comprising:
[0047] Step S210: Check whether the power distribution at each power distribution port is normal.
[0048] Step S220: If abnormal power distribution is detected, analyze the cause of the abnormal power distribution at the target power distribution port based on the obtained configuration parameters. The target power distribution port is the power distribution port with abnormal power distribution.
[0049] Step S230: If the cause of the power distribution abnormality of the target power distribution port is current overload, obtain the port type of the target power distribution port.
[0050] Step S240: Based on the port type, perform a preset number of shutdowns of the target power distribution port and then retry opening the target power distribution port.
[0051] In this embodiment of the application, the process of closing the target power distribution port and then retrying to open it a preset number of times is considered as one execution.
[0052] If it is initially determined that the cause of the power distribution abnormality at the target power distribution port is current overload, then the behavior of closing the target power distribution port a preset number of times and then retrying to open the target power distribution port can be executed. That is, when the target power distribution port is detected to trigger I2T protection shutdown, the target power distribution port needs to be closed and then the target power distribution port needs to be reopened a defined number of times to determine whether it is still overloaded.
[0053] Step S250: Perform overload fault detection on the target power distribution port each time it is reopened, so as to perform overload fault detection on the target power distribution port a preset number of times.
[0054] In this embodiment, the interval between adjacent overload fault detections in the preset number of overload fault detections is a preset time. The preset time is the aforementioned detection interval, which can be set according to actual needs; for example, it can be set to 150ms. The interval between adjacent overload fault detections refers to the time interval of the target power distribution port's retry opening process. To avoid erroneous shutdown of the target power distribution port, during the retry opening process, the I2T protection is not activated for the first Tp (i.e., the aforementioned I2T protection start time) of each retry; calculation only starts after Tp. Here, "start calculation" refers to calculating the integral of the current current of the target power distribution port with time.
[0055] Overload fault detection refers to calculating whether the integral of the current and time at the target power distribution port exceeds a set threshold each time the target power distribution port is reopened.
[0056] The process described in steps S240 and S250 may further include: if the port type is a constant power port, performing a first number of overload fault detections on the target power distribution port; if the port type is a non-constant power port, performing a second number of overload fault detections on the target power distribution port, wherein the first number of detections is different from the second number of detections.
[0057] In this embodiment, the first count is a preset number of times to re-detect the normally powered port, and the second count is a preset number of times to re-detect the non-normally powered port. It can be understood that different types of power distribution ports can be set with different numbers of detection times.
[0058] Once the type of the target power distribution port is determined, the number of tests pre-set for that type can be obtained. Then, when it is initially determined that the cause of the power distribution abnormality of the target power distribution port is current overload, the target power distribution port of that type can be subjected to a preset number of overload fault tests.
[0059] Furthermore, the cause of power distribution anomalies in this embodiment can be determined based on power distribution anomaly identifiers. Different power distribution anomaly causes can correspond to different power distribution anomaly identifiers. Optionally, before obtaining the power distribution anomaly cause identifier of the target power distribution port, it is necessary to determine the target power distribution port first. In this embodiment, the target power distribution port can be determined by the port power distribution status. Specifically, all power distribution ports are traversed, and the port power distribution status of all power distribution ports is obtained. If the port power distribution status of any power distribution port is FAIL, it can be determined that the power distribution of that power distribution port has failed, and the power distribution port with failed power distribution is determined as the target power distribution port. Conversely, if the port power distribution status of a power distribution port is SUCCESS, it can be determined that the power distribution of that power distribution port has succeeded.
[0060] Step S260: If the cause of the power distribution abnormality at the target power distribution port is still current overload, shut down the target power distribution port.
[0061] In this embodiment of the application, the process described in steps S210-S240 refers to performing a series of retry and judgment operations after the I2T protection is triggered and shut down at the target power distribution port, in order to confirm whether an overload situation still exists:
[0062] Triggering I2T protection shutdown: First, the power distribution port triggers protection and automatically cuts off the power supply when the combination of current and time integral (I2T value) exceeds a set threshold. The set threshold is a pre-set threshold representing current overload. That is, if the target power distribution port triggers I2T protection shutdown, it can be further determined that the cause of the power distribution abnormality at the target power distribution port is current overload.
[0063] Close the port and wait: After the protection is triggered, the system immediately closes the target power distribution port and waits for a period of time (time interval Td) to perform subsequent retry operations. Here, time interval Td refers to the aforementioned detection interval.
[0064] Retry opening the port: After the waiting time expires, the system attempts to reopen the target power distribution port, but does not immediately activate the I2T protection. Instead, an initial opening time Tp is set to ensure that the port can operate stably and is not mistakenly shut down due to transient current. The initial opening time Tp refers to the aforementioned I2T protection activation time.
[0065] Overload detection: After time Tp, the system begins calculating the current and time integral to determine if an overload still exists. If the combination of current and time integral exceeds the set threshold again, the port will be shut down again.
[0066] The subsequent operation is determined based on the retry result: If the port does not trigger I2T protection shutdown again within the specified number of detections Cd, it indicates that the overload fault may have been eliminated, and the system continues to monitor the status of the distribution port. If the port still triggers I2T protection shutdown after the specified number of detections Cd, it indicates that the overload fault still exists. In this case, the system records the actual shutdown time of the port (excluding the detection time) and proceeds to further fault handling or alarm operations.
[0067] Through the above process, the system can accurately determine whether there is an overload at the target power distribution port and take corresponding protective measures to ensure the safe operation of the circuit and equipment.
[0068] For example, the timing diagram for power distribution overload fault diagnosis described in steps S210-S240 can be as follows: Figure 4 As shown, Figure 4 The process can be described as follows: First, if the power distribution port receives a control signal, the power distribution port opens (Sup). The ZCU monitors the current of the power distribution port in real time through the port fault diagnosis module. If an overload fault is detected according to the I2T threshold, the power distribution port is designated as the target power distribution port and shut down to further determine the cause of the power distribution anomaly. At this time, the drive of the target power distribution port will be repeatedly opened for re-detection (the number of times will be repeated according to the type of the target power distribution port, for example, 5 times for non-electrical ports and 10 times for normal power ports). If the target power distribution port still triggers I2T protection after the target power distribution port has been re-detected a preset number of times, the cause of the power distribution anomaly of the target power distribution port is officially determined to be port overload (i.e., current overload), and then the ZCU can send a fault message to the CCU.
[0069] Furthermore, the timing diagram for the power distribution port re-drive can be as follows: Figure 5 As shown. In Figure 5 In this process, when the initial determination of the power distribution anomaly at the target power distribution port as being caused by current overload, the target power distribution port is shut down. Then, after a 150ms interval, the process of retrying to open the target power distribution port is performed for the first, second, third, ..., Cdth time within each port drive open duration. During each retry to open the target power distribution port, the I2T protection will not be activated for the first 200ms (i.e., the aforementioned I2T protection start time), and will only be activated after 200ms. Furthermore, the time interval between adjacent retryes to open the target power distribution port (i.e., the aforementioned detection interval) is 150ms.
[0070] Using the above method, as shown in Table 1, when the number of repeated detections is greater than or equal to 4, the overload false shutdown rate of the power distribution port will decrease to less than or equal to 20%.
[0071] Table 1. Number of Re-drives and Overload Misoperation Rate of Distribution Ports
[0072]
[0073]
[0074] This application provides a fault detection method. First, it checks whether the power distribution at each distribution port is normal. If abnormal power distribution is detected, it analyzes the cause of the abnormality at the target distribution port based on the obtained configuration parameters. If the cause is current overload, it obtains the port type of the target distribution port. Based on the port type, it performs a preset number of shutdowns and reopenings of the target distribution port. Then, it performs overload fault detection on each reopened target distribution port for a preset number of times. If the cause of the abnormality is still current overload, it shuts down the target distribution port. When a port experiences a real overload, this method can more effectively and accurately shut down the overloaded port, reducing the false shutdown rate due to power distribution overload.
[0075] Please see Figure 6 This application provides a fault detection method, the method comprising:
[0076] Step S310: Obtain the power distribution identifier of each power distribution port.
[0077] In this embodiment, the power distribution identifier is used to characterize the power distribution status of the power distribution port. Different power distribution ports can be represented by different power distribution identifiers. Each power distribution port refers to all power distribution ports in the ZCU.
[0078] Step S320: Based on the power distribution identifier, determine whether the power distribution status of each power distribution port is normal.
[0079] In this embodiment of the application, the power distribution identifier may include SUCCESS and FAIL. When the power distribution identifier of a power distribution port is determined to be FAIL, it indicates that the power distribution status of the power distribution port is abnormal; when the power distribution identifier of a power distribution port is determined to be SUCCESS, it indicates that the power distribution status of the power distribution port is normal.
[0080] Step S330: If it is determined that the power distribution status of a power distribution port is abnormal, the power distribution port with the abnormal power distribution status is identified as the target power distribution port.
[0081] In this embodiment of the application, the power distribution port marked as FAIL is determined as the target power distribution port.
[0082] Step S340: Determine the cause of the power distribution anomaly at the target power distribution port based on the obtained configuration parameters.
[0083] One approach is to obtain the fault identifier of the target power distribution port; based on the fault identifier, determine the cause of the power distribution anomaly at the target power distribution port.
[0084] In this embodiment, different fault causes of a power distribution port can be represented by different fault identifiers. Therefore, when determining the target power distribution port and the cause of its power distribution anomaly, the fault identifier of the target power distribution port can be obtained.
[0085] If the fault identifier of the target power distribution port is an identifier indicating current overload, the cause of the power distribution abnormality of the target power distribution port can be determined to be current overload; if the fault identifier of the target power distribution port is an identifier indicating ground fault, the cause of the power distribution abnormality of the target power distribution port can be determined to be short ground fault; if the fault identifier of the target power distribution port is an identifier indicating other faults, the cause of the power distribution abnormality of the target power distribution port can be determined to be other faults.
[0086] When it is initially determined that the cause of the power distribution abnormality of the target power distribution port is current overload, the detection of the target power distribution port is repeated a preset number of times; when it is initially determined that the cause of the power distribution abnormality of the target power distribution port is other faults, the target power distribution port can be processed based on the processing logic of other faults.
[0087] Alternatively, the current current value of the target power distribution port is obtained; based on the current current value, the cause of the power distribution anomaly at the target power distribution port is determined.
[0088] In this embodiment, the cause of the power distribution anomaly at the target power distribution port can also be determined based on the current current value of the target power distribution port. Specifically, if the current current value of the target power distribution port is detected to be greater than or equal to a preset current value, the cause of the power distribution anomaly at the target power distribution port can be preliminarily determined to be a current overload; conversely, if the current current value of the target power distribution port is detected to be less than the preset current value, the cause of the power distribution anomaly at the target power distribution port can be determined to be another fault. The preset current value is a pre-set minimum current value to characterize port current overload.
[0089] Step S350: If the cause of the power distribution abnormality at the target power distribution port is current overload, obtain the port type of the power distribution port.
[0090] Step S360: Based on the port type, perform overload fault detection on the target power distribution port a preset number of times.
[0091] Step S370: If the cause of the power distribution abnormality at the target power distribution port is still current overload, shut down the target power distribution port.
[0092] In this embodiment of the application, after the process described in steps S310-S320 is completed, the main parameters involved in the overload fault diagnosis of the aforementioned pre-set power distribution port can be adjusted, and then the overload fault of the power distribution port can be diagnosed based on the adjusted main parameters.
[0093] Optionally, after completing the process described in steps S310-S320, it is possible to check if there is a new power distribution request. If there is, return to step S310; otherwise, end the process.
[0094] This application provides a fault detection method that relies on the port fault diagnosis module of the ZCU to provide a configurable intelligent power distribution fault diagnosis strategy. It can configure the main parameters of the fault diagnosis strategy based on different operating conditions: shutdown time, number of detections and detection interval. When an overload current occurs, it can shut down the problematic port more flexibly to ensure the normal operation of the ZCU power supply.
[0095] Please see Figure 7 This application provides a fault detection device 400, which includes:
[0096] Inspection unit 410 is used to check whether the power distribution at each power distribution port is normal.
[0097] In one approach, the inspection unit 410 is specifically used to obtain the power distribution identifier of each power distribution port; based on the power distribution identifier, it determines whether the power distribution status of each power distribution port is normal.
[0098] The analysis unit 420 is used to analyze the cause of the power distribution abnormality of the target power distribution port based on the obtained configuration parameters if an abnormal power distribution is detected. The target power distribution port is the power distribution port with abnormal power distribution.
[0099] In one approach, the analysis unit 420 is specifically used to determine, if it is determined that the power distribution status of a power distribution port is abnormal, the power distribution port with the abnormal power distribution status is identified as the target power distribution port; and to determine the cause of the power distribution abnormality of the target power distribution port based on the acquired configuration parameters.
[0100] In one approach, the analysis unit 420 is specifically used to obtain the fault identifier of the target power distribution port; and based on the fault identifier, to determine the cause of the power distribution anomaly of the target power distribution port.
[0101] As another approach, the analysis unit 420 is specifically used to obtain the current current value of the target power distribution port; and based on the current current value, to determine the cause of the power distribution anomaly of the target power distribution port.
[0102] The acquisition unit 430 is used to acquire the port type of the target power distribution port if the cause of the power distribution abnormality of the target power distribution port is current overload.
[0103] The detection unit 440 is used to perform overload fault detection on the target power distribution port a preset number of times based on the port type.
[0104] In one approach, the detection unit 440 is specifically used to perform a preset number of times to close the target power distribution port and then retry opening the target power distribution port; and to perform overload fault detection on the target power distribution port each time it is reopened, so as to perform overload fault detection on the target power distribution port a preset number of times.
[0105] Alternatively, the detection unit 440 is specifically used to perform a first number of overload fault detections on the target power distribution port if the port type is a normally powered port; and to perform a second number of overload fault detections on the target power distribution port if the port type is a non-normally powered port, wherein the first number of detections is different from the second number of detections.
[0106] The control unit 450 is used to shut down the target power distribution port if the cause of the power distribution abnormality at the target power distribution port is still current overload.
[0107] It should be noted that the device embodiments in this application correspond to the aforementioned method embodiments. The specific principles in the device embodiments can be found in the content of the aforementioned method embodiments, and will not be repeated here.
[0108] The following will combine Figure 8 This application describes one type of vehicle.
[0109] Please see Figure 8 Based on the aforementioned fault detection method and apparatus, this application embodiment also provides another vehicle 800 capable of executing the aforementioned fault detection method. The vehicle 800 includes one or more (only one shown in the figure) processors 802, a memory 804, a millimeter-wave radar 806, and a network module 806 coupled together. The memory 804 stores programs capable of executing the contents of the aforementioned embodiments, and the processor 802 can execute the programs stored in the memory 804.
[0110] The processor 802 may include one or more processing cores. The processor 802 connects to various parts of the vehicle 800 via various interfaces and lines, and performs various functions and processes data of the vehicle 800 by running or executing instructions, programs, code sets, or instruction sets stored in the memory 804, and by calling data stored in the memory 804. Optionally, the processor 802 may be implemented using at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), or Programmable Logic Array (PLA). The processor 802 may integrate one or a combination of several of the following: Central Processing Unit (CPU), Graphics Processing Unit (GPU), and modem. The CPU primarily handles the operating system, user interface, and applications; the GPU is responsible for rendering and drawing the displayed content; and the modem handles wireless communication. It is understood that the modem may also not be integrated into the processor 802 and may be implemented separately through a communication chip.
[0111] The memory 804 may include random access memory (RAM) or read-only memory (ROM). The memory 804 can be used to store instructions, programs, code, code sets, or instruction sets. The memory 804 may include a program storage area and a data storage area. The program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as touch functionality, sound playback functionality, image playback functionality, etc.), and instructions for implementing the various method embodiments described below. The data storage area may also store data created by the vehicle 800 during use (such as phonebooks, audio and video data, chat log data, etc.).
[0112] The network module 806 is used to receive and transmit electromagnetic waves, realizing the mutual conversion between electromagnetic waves and electrical signals, thereby communicating with communication networks or other devices, such as communicating with vehicles. The network module 806 may include various existing circuit elements for performing these functions, such as antennas, radio frequency transceivers, digital signal processors, encryption / decryption chips, user identity modules (SIM cards), memory, etc. The network module 806 can communicate with various networks such as the Internet, corporate intranets, and wireless networks, or communicate with other devices through wireless networks. The aforementioned wireless networks may include cellular telephone networks, wireless local area networks (WLANs), or metropolitan area networks (MANs). For example, the network module 806 can interact with base stations.
[0113] Please refer to Figure 9 This diagram illustrates a structural block diagram of a computer-readable storage medium provided in an embodiment of this application. The computer-readable storage medium 900 stores program code that can be called by a processor to execute the methods described in the above method embodiments.
[0114] The computer-readable storage medium 900 may be an electronic memory such as flash memory, EEPROM (Electrically Erasable Programmable Read-Only Memory), EPROM, hard disk, or ROM. Optionally, the computer-readable storage medium 900 includes a non-transitory computer-readable storage medium. The computer-readable storage medium 900 has storage space for program code 910 that performs any of the method steps described above. This program code can be read from or written to one or more computer program products. The program code 910 may be compressed, for example, in a suitable form.
[0115] This application provides a fault detection method, device, vehicle, and storage medium. First, it checks whether the power distribution at each power distribution port is normal. If abnormal power distribution is detected, it analyzes the cause of the abnormal power distribution at the target power distribution port based on the acquired configuration parameters. If the cause of the abnormal power distribution at the target power distribution port is current overload, it obtains the port type of the target power distribution port. Based on the port type, it performs a preset number of overload fault detections on the target power distribution port. If the cause of the abnormal power distribution at the target power distribution port is still current overload, it shuts down the target power distribution port. Through this method, when a port experiences a real overload, it can more effectively and accurately shut down the overloaded port, reducing the false shutdown rate due to power distribution overload.
[0116] The embodiments of the present invention have been described above with reference to the accompanying drawings. However, the present invention is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of the present invention without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of the present invention.
Claims
1. A fault detection method, characterized in that, For intelligent power distribution in vehicles, the method includes: Check whether the power distribution at each power distribution port is normal; If abnormal power distribution is detected, the cause of the abnormal power distribution at the target power distribution port is analyzed based on the obtained configuration parameters. The target power distribution port is the power distribution port with abnormal power distribution. If the cause of the power distribution abnormality at the target power distribution port is current overload, obtain the port type of the target power distribution port, wherein the port type includes a constant power port and / or a non-constant power port; Based on the port type, the target power distribution port is subjected to a preset number of overload fault detections, wherein the number of detections varies for power distribution ports of different port types; The overload fault detection of the target power distribution port a preset number of times includes: After closing the target power distribution port a preset number of times, the target power distribution port is then reopened. Overload fault detection is performed on the target power distribution port each time it is reopened, so as to perform overload fault detection on the target power distribution port a preset number of times; If the cause of the power distribution abnormality at the target power distribution port is still current overload, shut down the target power distribution port.
2. The method according to claim 1, characterized in that, In the preset number of overload fault detections, the interval between adjacent overload fault detections is a preset time.
3. The method according to claim 1, characterized in that, The step of performing overload fault detection on the target power distribution port a preset number of times based on the port type includes: If the port type is a constant power port, perform the first overload fault detection on the target power distribution port; If the port type is an unelectric port, a second overload fault detection is performed on the target power distribution port, and the first number of detections is different from the second number of detections.
4. The method according to claim 1, characterized in that, The check of whether the power distribution at each power distribution port is normal includes: Obtain the power distribution identifier for each power distribution port; Based on the power distribution identifier, determine whether the power distribution status of each power distribution port is normal; If abnormal power distribution is detected, the cause of the power distribution abnormality at the target power distribution port is analyzed based on the obtained configuration parameters, including: If it is determined that the power distribution status of a power distribution port is abnormal, the power distribution port with the abnormal power distribution status will be identified as the target power distribution port. Based on the obtained configuration parameters, determine the cause of the power distribution anomaly at the target power distribution port.
5. The method according to claim 4, characterized in that, The step of determining the cause of the power distribution anomaly at the target power distribution port based on the acquired configuration parameters includes: Obtain the fault identifier of the target power distribution port; Based on the fault identifier, the cause of the power distribution anomaly at the target power distribution port is determined.
6. The method according to claim 4, characterized in that, The step of determining the cause of the power distribution anomaly at the target power distribution port based on the acquired configuration parameters includes: Obtain the current current value of the target power distribution port; Based on the current current value, determine the cause of the power distribution anomaly at the target power distribution port.
7. A fault detection device, characterized in that, For vehicle-mounted intelligent power distribution, the device includes: The inspection unit is used to check whether the power distribution at each power distribution port is normal. An analysis unit is used to analyze the cause of the power distribution abnormality of the target power distribution port based on the obtained configuration parameters if an abnormal power distribution is detected. The target power distribution port is the power distribution port with abnormal power distribution. The acquisition unit is used to acquire the port type of the target power distribution port if the cause of the power distribution abnormality of the target power distribution port is current overload. The port type includes a constant power port and / or a non-constant power port. The detection unit is configured to perform overload fault detection on the target power distribution port a preset number of times based on the port type, wherein the number of detections corresponds to different port types; the preset number of overload fault detections on the target power distribution port includes: performing a preset number of shutdowns and retryes to open the target power distribution port; and performing overload fault detection on the target power distribution port each time it is reopened, thereby performing the preset number of overload fault detections on the target power distribution port. The control unit is used to shut down the target power distribution port if the cause of the power distribution abnormality is still current overload.
8. A vehicle, characterized in that, It includes one or more processors and memory; one or more programs are stored in the memory and configured to be executed by the one or more processors according to any one of claims 1-6.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores program code, wherein the program code, when executed by a processor, performs the method according to any one of claims 1-6.
Citation Information
Patent Citations
CAN bus system and control method thereof
CN105955244A
Fault diagnosis method and device for vehicle power supply, power supply control system and vehicle
CN118311939A
