A method for detecting relay faults and related equipment

CN117554800BActive Publication Date: 2026-08-14SHINRY TECH
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-04
Publication Date
2026-08-14

AI Technical Summary

Technical Problem

这会导致快充口带高压电,造成触电风险的同时还会导致充电功能无法正常使用,造成无法充电

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117554800B_ABST
    Figure CN117554800B_ABST
Patent Text Reader

Abstract

This application discloses a relay fault detection method and related equipment. The method includes: continuously monitoring a first voltage value across the relay and a first high voltage value of the vehicle between a first time and a second time; determining a first open / closed state of the relay based on the first voltage value and the first high voltage value; determining first information about the relay based on the first open / closed state; if the first information indicates a relay fault, then detecting a second voltage value across the relay and a second high voltage value of the vehicle between a second time and a third time; determining a second open / closed state of the relay based on the second voltage value and the second high voltage value; determining second information about the relay based on the second open / closed state; if the second information indicates a relay fault, then reporting the second information and stopping the detection of the second voltage value across the relay and the second high voltage value of the vehicle. Using this application embodiment can accurately detect the true state of the relay and avoid false fault reports.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of automotive technology, and in particular to a method for detecting relay faults and related equipment. Background Technology

[0002] Direct Current Fast Charging (DCFC) is an important method for charging electric vehicles. Because DCFC uses relatively high voltage and current, a relay is typically used to control the circuit's on / off state between the battery and the charging port. However, relays can become stuck during charging, for example, failing to close properly when controlled to close or failing to open properly when controlled to open. This can result in high voltage at the charging port, posing a risk of electric shock and rendering the charging function unusable. Therefore, checking for relay sticking is crucial.

[0003] However, in the existing technology, relay detection is usually performed by detecting relay sticking faults within a preset time, and it requires the cooperation between multiple controllers. Therefore, it is easily affected by DC charging piles or vehicle internal control, causing relay detection timing to be disordered, resulting in problems such as incorrect detection results and false faults. Therefore, how to accurately detect the state of relays and avoid false faults as much as possible is an urgent problem to be solved. Summary of the Invention

[0004] This application provides a method and related equipment for detecting relay faults, which can accurately detect the true state of the relay and avoid false fault reports.

[0005] In a first aspect, embodiments of this application provide a method for fault detection of a relay, wherein the relay is an internal relay of a vehicle, and the method is applied to a relay detection device, and may include: continuously monitoring a first voltage value across the relay and a first high voltage value of the vehicle between a first moment and a second moment; the first moment being the moment when high voltage is detected on the vehicle, and the second moment being the moment when the controller inside the vehicle issues a command to close the relay; determining a first open / closed state of the relay based on the first voltage value and the first high voltage value; determining first information of the relay based on the first open / closed state; if the first information indicates that the relay has failed, then detecting a second voltage value across the relay and a second high voltage value of the vehicle between the second moment and a third moment; the third moment being the moment when the relay begins to close; determining a second open / closed state of the relay based on the second voltage value and the second high voltage value; determining second information of the relay based on the second open / closed state; if the second information indicates that the relay has failed, then reporting the second information and stopping the detection of the second voltage value across the relay and the second high voltage value of the vehicle.

[0006] In this embodiment, from the moment high voltage is detected on the vehicle (i.e., the first moment) until the moment the controller (e.g., the vehicle controller) issues a command to close the relay (i.e., the second moment), the high voltage values ​​at both ends of the relay and on the vehicle are continuously monitored to detect the first voltage value at both ends of the relay and the first high voltage value of the vehicle. Based on the detected first voltage value and the first high voltage value, a first open / closed state of the relay is determined. Further, based on the first open / closed state, first information about the relay is determined. When the first information indicates a relay malfunction, i.e., the relay is stuck, then between the moment the controller (e.g., the vehicle controller) issues a command to close the relay (i.e., the second moment) and the moment the relay begins to close (i.e., the third moment), a second voltage value at both ends of the relay and the second high voltage value of the vehicle are continuously monitored. Then, based on the detected second voltage value and the second high voltage value, a second open / closed state of the relay is determined. Further, based on this second open / closed state, second information about the relay is determined. When the second information indicates that the relay is not malfunctioning, i.e., the first information indicates that the relay is normal (not stuck), then the second information is reported, and the monitoring of the second voltage value at both ends of the relay and the second high voltage value of the vehicle is stopped. This embodiment of the application performs fault detection on the relay before the relay closure begins to determine whether the relay is stuck. Since the relay may have stuck after the previous charging completion, meaning the relay is in an unopened state, and the voltage value of the fast charging port is unstable and fluctuates, the detected voltage values ​​across the relay may be inconsistent. This can lead to a false judgment that the relay is not stuck (when in fact it is), causing charging to continue, posing a risk of electric shock and preventing the vehicle from charging normally. Therefore, this embodiment of the application automatically starts detecting the first high voltage value of the vehicle and the first voltage value across the relay at the moment the high voltage is applied to the vehicle (i.e., the first moment), and continues to detect until the relay closure command is issued (i.e., the second moment). During this period, fault detection is continuously performed on the relay to confirm whether the relay has stuck after the previous charging completion. Since the duration from the first moment to the second moment can be customized, the detection duration can be set independently, and the relay can be continuously tested multiple times to fully determine the true state of the relay. Once the voltage across the relay is equal, the first information indicating that the relay has a sticking fault is determined, and the detection stops. Furthermore, when the first information indicates that the relay has a fault, from the second moment to the moment when the relay begins to close (i.e., the third moment), the second voltage value across the relay and the second high voltage value of the vehicle are continuously detected (the number of detections is not less than once) to further determine the second opening and closing state of the relay.Based on the second open / closed state, the second information of the relay is determined. When the second information indicates that the relay has failed, the second information is reported and the detection of the second voltage value across the relay and the second high voltage value of the vehicle is stopped. This reconfirms whether the relay has failed, avoiding false alarms caused by incorrect fault information detected from the first to the second moment. Furthermore, this embodiment can be applied to a relay detection device, which can perform relay fault detection. Therefore, this embodiment does not require the cooperation of multiple controllers during relay detection, making it less susceptible to the influence of DC charging piles or vehicle internal controls. The detection logic is simple, thus avoiding false alarms caused by disordered detection timing of multiple controllers.

[0007] In one possible implementation, the method further includes: if the first information indicates that the relay has not failed, then reporting the first information and stopping the detection of the first voltage value across the relay and the first high voltage value of the vehicle.

[0008] This embodiment of the application continuously monitors the high voltage values ​​across the relay and the high voltage value of the vehicle before charging begins (i.e., the first moment) until the moment the vehicle controller (e.g., the vehicle control unit) issues a command to close the relay (i.e., the second moment). This allows for the detection of the first voltage value across the relay and the first high voltage value of the vehicle, thereby determining the first open / closed state of the relay. Based on this first open / closed state, first information about the relay is determined. If the first information indicates that the relay is not faulty, this information is directly reported, ensuring that the relay is not stuck and guaranteeing normal vehicle charging.

[0009] In one possible implementation, the method further includes: if the first information and / or the second information indicates that the relay has not malfunctioned, between a fourth time and a fifth time, detecting a third voltage value across the relay and a third high voltage value of the vehicle; the fourth time being the time when the relay is closed and the fifth time being the time when the detection is completed after the relay is closed; determining a third open / closed state of the relay based on the third voltage value and the third high voltage value; determining third information of the relay based on the third open / closed state; reporting the third information and stopping the detection of the third voltage value across the relay and the third high voltage value of the vehicle.

[0010] In this embodiment, when the fault information (i.e., the first information and / or the second information) detected before charging begins indicates that the relay has not malfunctioned, the vehicle continues charging. Therefore, from the moment the relay completes closing (i.e., the fourth moment) to the moment the detection after the relay closes (i.e., the fifth moment), the voltage values ​​across the relay and the high voltage value of the vehicle can be detected again. Since the time between the fourth and fifth moments is uncertain, meaning the relay detection time can be customized, this embodiment can continuously detect the voltage across the relay and the vehicle during this time period until the fifth moment arrives, with at least one detection. The result of the most recent detection is used as the third voltage value and the third high voltage value. Based on the most recent detected third voltage value and the third high voltage value, the open / closed state of the relay during the most recent detection is determined as the third open / closed state. Based on this third open / closed state, the third information of the relay during the most recent detection is determined and reported. Through this embodiment, it is possible to detect whether the relay is properly closed during charging, thereby further ensuring that the vehicle can charge normally.

[0011] In one possible implementation, the method further includes: if the third information indicates that the relay has not malfunctioned, detecting a fourth voltage value across the relay and a fourth high voltage value of the vehicle between a seventh time and an eighth time; the seventh time being the time when the relay is disconnected; the eighth time being the time when the detection is completed after the relay is disconnected; determining a fourth open / closed state of the relay based on the fourth voltage value and the fourth high voltage value; determining fourth information of the relay based on the fourth open / closed state; if the fourth information indicates that the relay has not malfunctioned, reporting the fourth information; or, if the fourth information indicates that the relay has malfunctioned, storing the fourth information.

[0012] In this embodiment, when the third information indicating relay is not faulty (i.e., not stuck), the voltage values ​​at both ends of the relay and the high voltage value of the vehicle can be detected between the moment the relay is disconnected (i.e., the seventh moment) and the moment the detection after the relay is disconnected is completed (i.e., the eighth moment). Since the time between the seventh and eighth moments is uncertain, meaning the relay detection time can be customized, this embodiment can continuously detect the voltage at both ends of the relay and the vehicle during this time period until the eighth moment arrives. The detection is performed at least once, and the result of the most recent detection is used as the fourth voltage value and the fourth high voltage value. Based on the most recent fourth voltage value and the fourth high voltage value, the open / closed state of the relay at the time of the most recent detection is determined as the fourth open / closed state. The fourth information at the time of the most recent relay detection is determined based on this fourth open / closed state. If the fourth information indicates that the relay is not faulty, the fourth information is reported; if the fourth information indicates that the relay is faulty, the fault information is stored so that the relay can be detected again during the next charging to further confirm whether the relay is faulty. In this embodiment, the true state of the relay is detected by checking whether the relay is properly disconnected after charging is completed. The fault information of the relay is stored and reported after further confirmation during the next charging, thereby reducing the probability of false fault reports.

[0013] In one possible implementation, the relay includes the positive relay and the negative relay, and the first open / closed state, or the second open / closed state, or the third open / closed state, or the fourth open / closed state includes one of the following: both the positive relay and the negative relay are open, the positive relay is open and the negative relay is closed, the positive relay is closed and the negative relay is open, and both the positive relay and the negative relay are closed.

[0014] In this embodiment of the application, since the relay may include a positive relay and a negative relay, the first, second, third, or fourth open / closed state of the relay, determined based on the voltage value across the relay and the high voltage value of the vehicle, may include one of the following: both the positive and negative relays are open; the positive relay is open and the negative relay is closed; the positive relay is closed and the negative relay is open; and both the positive and negative relays are closed.

[0015] In one possible implementation, the relay includes the positive relay and the negative relay, and the first information, or the second information, or the third information, or the fourth information includes one of the following: both the positive relay and the negative relay are normal, the positive relay is normal and the negative relay is stuck, the positive relay is stuck and the negative relay is normal, and both the positive relay and the negative relay are stuck.

[0016] In this embodiment of the application, since the relay may include a positive relay and a negative relay, the first, second, third, or fourth information determined based on the open / closed state of the relay may include one of the following: both the positive and negative relays are normal; the positive relay is normal and the negative relay is stuck; the positive relay is stuck and the negative relay is normal; or both the positive and negative relays are stuck. Specifically, when both the positive and negative relays are normal, it indicates that the relay is not faulty; when the positive relay is normal and the negative relay is stuck, or the positive relay is stuck and the negative relay is normal, or both the positive and negative relays are stuck, it indicates that the relay is faulty.

[0017] In one possible implementation, determining the first information based on the first open / closed state, or determining the second information based on the second open / closed state, or determining the fourth information based on the fourth open / closed state, may include: if the corresponding open / closed state is that both the positive relay and the negative relay are open, then determining the corresponding fault information is that both the positive relay and the negative relay are normal; or, if the corresponding open / closed state is that the positive relay is open and the negative relay is closed, then determining the corresponding fault information is that the positive relay is normal and the negative relay is stuck; or, if the corresponding open / closed state is that the positive relay is closed and the negative relay is open, then determining the corresponding fault information is that the positive relay is stuck and the negative relay is normal; or, if the corresponding open / closed state is that both the positive relay and the negative relay are closed, then determining the corresponding fault information is that both the positive relay and the negative relay are stuck.

[0018] In this embodiment, when a relay is disconnected, how to determine first information based on a first open / closed state of the relay, or second information based on a second open / closed state of the relay, or fourth information based on a fourth open / closed state of the relay, is specifically addressed as follows: when both the positive and negative relays are disconnected, the corresponding fault information is determined to be that both the positive and negative relays are normal; when the positive relay is disconnected and the negative relay is closed, the corresponding fault information is determined to be that the positive relay is normal and the negative relay is stuck; when the positive relay is closed and the negative relay is disconnected, the corresponding fault information is determined to be that the positive relay is stuck and the negative relay is normal; when both the positive and negative relays are closed, the corresponding fault information is determined to be that both the positive and negative relays are stuck. This embodiment allows for the determination of corresponding fault information based on different open / closed states of the relay when it is disconnected, thereby enabling appropriate handling of relay faults.

[0019] In one possible implementation, determining the third information based on the third opening / closing state may include: if the third opening / closing state is that both the positive relay and the negative relay are open, then the third information is determined to be that both the positive relay and the negative relay are stuck; or, if the third opening / closing state is that the positive relay is open and the negative relay is closed, then the third information is determined to be that the positive relay is stuck and the negative relay is normal; or, if the third opening / closing state is that the positive relay is closed and the negative relay is open, then the third information is determined to be that the positive relay is normal and the negative relay is stuck; or, if the third opening / closing state is that both the positive relay and the negative relay are closed, then the third information is determined to be that both the positive relay and the negative relay are normal.

[0020] In this embodiment, when the relay is closed, how to determine third information based on the third opening and closing state of the relay is described. Specifically, when the third opening and closing state is that both the positive and negative relays are open, the third information is determined to be that both the positive and negative relays are stuck; when the third opening and closing state is that the positive relay is open and the negative relay is closed, the third information is determined to be that the positive relay is stuck and the negative relay is normal; when the third opening and closing state is that the positive relay is closed and the negative relay is open, the third information is determined to be that the positive relay is normal and the negative relay is stuck; when the third opening and closing state is that both the positive and negative relays are closed, the third information is determined to be that both the positive and negative relays are normal. This embodiment can determine the corresponding fault information of the relay based on different opening and closing states when the relay is closed, thereby enabling corresponding handling of relay faults.

[0021] Secondly, embodiments of this application provide a relay detection device, which may include:

[0022] The first detection unit is used to continuously monitor the first voltage value across the relay and the first high voltage value of the vehicle between a first moment and a second moment; the first moment is the moment when the high voltage on the vehicle is detected, and the second moment is the moment when the controller in the vehicle issues a command to close the relay;

[0023] The first determining unit is configured to determine the first open / closed state of the relay based on the first voltage value and the first high voltage value.

[0024] The second determining unit is used to determine the first information of the relay based on the first open / closed state;

[0025] The second detection unit is used to detect the second voltage value across the relay and the second high voltage value of the vehicle between the second and third moments if the first information indicates that the relay has failed; the third moment is the moment when the relay begins to close.

[0026] The third determining unit is used to determine the second open / closed state of the relay based on the second voltage value and the second high voltage value;

[0027] The fourth determining unit is used to determine the second information of the relay based on the second open / closed state;

[0028] The first reporting unit is configured to report the second information if the second information indicates that the relay has not malfunctioned, and to stop detecting the second voltage value at both ends of the relay and the second high voltage value of the vehicle.

[0029] In this embodiment of the application, in the relay detection device, firstly, a first detection unit continuously monitors the first voltage value across the relay and the first high voltage value of the vehicle between the moment when the high voltage on the vehicle is detected (i.e., the first moment) and the moment when the controller in the vehicle issues a command to close the relay (i.e., the second moment). Then, a first determination unit determines the first open / closed state of the relay based on the first voltage value and the first high voltage value. Next, a second determination unit determines the first information of the relay based on the first open / closed state. When the first information indicates that the relay has malfunctioned, the second detection unit further monitors the second voltage value across the relay and the second high voltage value of the vehicle between the moment when the controller in the vehicle (e.g., the vehicle controller) issues a command to close the relay (i.e., the second moment) and the moment when the relay begins to close (i.e., the third moment). Then, a third determination unit determines the second open / closed state of the relay based on the detected second voltage value and the second high voltage value. Furthermore, the fourth determining unit determines the second information of the relay based on the second open / closed state. When the second information indicates that the relay has not malfunctioned, that is, when the first information indicates that the relay is normal (not stuck), the second information is reported by the first reporting unit, and the detection of the second voltage value at both ends of the relay and the second high voltage value of the vehicle is stopped. Since the relay may have stuck after the last charging is completed, that is, the relay is in an open state, and the voltage value of the fast charging port is unstable and fluctuates easily, the detected voltage values ​​at both ends of the relay are not equal, which may lead to a misjudgment that the relay has not stuck (when in fact the relay has stuck), thus continuing to charge, causing the risk of electric shock and preventing the vehicle from charging normally. Therefore, in this embodiment, the first high voltage value of the vehicle and the first voltage value at both ends of the relay are automatically detected when the high voltage is applied to the vehicle (i.e., the first moment), and the detection continues until the relay closing command is issued (i.e., the second moment). During this period, the relay is continuously detected for faults to confirm whether the relay has stuck after the last charging is completed. Since the duration from the first moment to the second moment can be customized, the detection duration can be set independently, and the relay can be continuously tested multiple times to fully determine the true state of the relay. Once the voltage across the relay is equal, the first information indicating that the relay has a sticking fault is determined, and the detection stops. Furthermore, when the first information indicates that the relay has a fault, from the second moment to the moment when the relay begins to close (i.e., the third moment), the second voltage value across the relay and the second high voltage value of the vehicle are continuously detected (the number of detections is not less than once) to further determine the second opening and closing state of the relay.Based on the second open / closed state, the second information of the relay is determined. When the second information indicates that the relay has failed, the second information is reported and the detection of the second voltage value across the relay and the second high voltage value of the vehicle is stopped. This reconfirms whether the relay has failed, avoiding false alarms caused by incorrect fault information detected from the first to the second moment. Furthermore, this embodiment can be applied to a relay detection device, which can perform relay fault detection. Therefore, this embodiment does not require the cooperation of multiple controllers during relay detection, making it less susceptible to the influence of DC charging piles or vehicle internal controls. The detection logic is simple, thus avoiding false alarms caused by disordered detection timing of multiple controllers.

[0030] In one possible implementation, the relay detection device further includes:

[0031] The second reporting unit is used to report the first information if the first information indicates that the relay has not failed, and to stop detecting the first voltage value at both ends of the relay and the first high voltage value of the vehicle.

[0032] In one possible implementation, the relay detection device further includes:

[0033] The third detection unit is used to detect the third voltage value across the relay and the third high voltage value of the vehicle between the fourth and fifth times if the first information and / or the second information indicate that the relay has not malfunctioned; the fourth time is the time when the relay is closed and the fifth time is the time when the detection is completed after the relay is closed.

[0034] The fifth determining unit is used to: determine the third open / closed state of the relay based on the third voltage value and the third high voltage value;

[0035] The sixth determining unit is used to: determine the third information of the relay based on the third open / closed state;

[0036] The third reporting unit is used to: report the third information and stop detecting the third voltage value at both ends of the relay and the third high voltage value of the vehicle.

[0037] In one possible implementation, the relay detection device further includes:

[0038] The fourth detection unit is used to detect the fourth voltage value across the relay and the fourth high voltage value of the vehicle between the seventh and eighth times, if the third information indicates that the relay has not malfunctioned; the seventh time is the time when the relay is disconnected and the eighth time is the time when the detection is completed after the relay is disconnected.

[0039] The seventh determining unit is used to: determine the fourth open / closed state of the relay based on the fourth voltage value and the fourth high voltage value;

[0040] The eighth determining unit is used to: determine the fourth information of the relay based on the fourth open / closed state;

[0041] The fourth reporting unit is used to: report the fourth information if the fourth information indicates that the relay has not failed; or, store the fourth information if the fourth information indicates that the relay has failed.

[0042] In one possible implementation, the relay includes the positive relay and the negative relay, and the first open / closed state, or the second open / closed state, or the third open / closed state, or the fourth open / closed state includes one of the following: both the positive relay and the negative relay are open, the positive relay is open and the negative relay is closed, the positive relay is closed and the negative relay is open, and both the positive relay and the negative relay are closed.

[0043] In one possible implementation, the relay includes the positive relay and the negative relay, and the first information, or the second information, or the third information, or the fourth information includes one of the following: both the positive relay and the negative relay are normal, the positive relay is normal and the negative relay is stuck, the positive relay is stuck and the negative relay is normal, and both the positive relay and the negative relay are stuck.

[0044] In one possible implementation, the second determining unit, or the fourth determining unit, or the eighth determining unit, is specifically used for:

[0045] If the corresponding open / closed state is that both the positive relay and the negative relay are open, then the corresponding fault information is determined to be that both the positive relay and the negative relay are normal.

[0046] Alternatively, if the corresponding open / closed state is that the positive relay is open and the negative relay is closed, then the corresponding fault information is determined to be that the positive relay is normal and the negative relay is stuck.

[0047] Alternatively, if the corresponding open / closed state is that the positive relay is closed and the negative relay is open, then the corresponding fault information is determined to be that the positive relay is stuck and the negative relay is normal.

[0048] Alternatively, if the corresponding open / closed state is that both the positive relay and the negative relay are closed, then the corresponding fault information is determined to be that both the positive relay and the negative relay are stuck together.

[0049] In one possible implementation, the sixth determining unit is specifically used for:

[0050] If the third opening / closing state is that both the positive relay and the negative relay are open, then the third information is determined to be that both the positive relay and the negative relay are stuck together.

[0051] Alternatively, if the third opening / closing state is that the positive relay is open and the negative relay is closed, then the third information is determined to be that the positive relay is stuck and the negative relay is normal.

[0052] Alternatively, if the third opening / closing state is that the positive relay is closed and the negative relay is open, then the third information is determined to be that the positive relay is normal and the negative relay is stuck.

[0053] Alternatively, if the third opening / closing state is that both the positive relay and the negative relay are closed, then the third information is determined to be that both the positive relay and the negative relay are normal.

[0054] Thirdly, embodiments of this application provide a relay detection device, which may include a memory and a processor, wherein the memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory, causing the device to perform the method described in any one of the first aspects above.

[0055] Fourthly, embodiments of this application provide a computer-readable storage medium storing a computer program that is executed by the processor to implement the method described in any of the first aspects above. Attached Figure Description

[0056] To more clearly illustrate the technical solutions in the embodiments of this application or the background art, the accompanying drawings used in the embodiments of this application or the background art will be described below.

[0057] Figure 1 This is an example diagram of a relay detection system provided in an embodiment of this application.

[0058] Figure 2 This is a practical environmental example diagram of voltage detection provided in the embodiments of this application.

[0059] Figure 3A This is a schematic diagram illustrating the correspondence between corresponding open / closed states and corresponding fault information, provided in an embodiment of this application.

[0060] Figure 3B This is a schematic diagram illustrating the correspondence between another opening / closing state and corresponding fault information provided in an embodiment of this application.

[0061] Figure 4 This is a flowchart illustrating a relay fault detection method provided in an embodiment of this application.

[0062] Figure 5 This is a possible timing diagram for relay adhesion detection provided in an embodiment of this application.

[0063] Figure 6 This is a schematic diagram of the structure of a relay detection device provided in an embodiment of this application.

[0064] Figure 7 This is a schematic diagram of the structure of a relay detection device provided in an embodiment of this application. Detailed Implementation

[0065] The embodiments of this application are described below with reference to the accompanying drawings.

[0066] The terminology used in the following embodiments of this application is for the purpose of describing particular embodiments only and is not intended to be limiting of the embodiments of this application. As used in the specification and appended claims of the embodiments of this application, the singular expressions “a,” “an,” “the,” “the,” “the,” and “this” are intended to include the plural expressions as well, unless the context clearly indicates otherwise. It should also be understood that the term “and / or” as used in the embodiments of this application refers to and includes any or all possible combinations of one or more of the listed items.

[0067] The terms "first," "second," "third," and "fourth," etc., used in the specification, claims, and accompanying drawings of this application are used to distinguish different objects, not to describe a specific order. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or apparatus that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products, or apparatuses.

[0068] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.

[0069] First, some terms used in this application will be explained to help those skilled in the art understand the embodiments of this application.

[0070] (1) Direct Current Fast Charging (DCFC): This is a charging technology for electric vehicles that achieves rapid charging by directly transmitting direct current to the vehicle's battery. In DC fast charging, high-power direct current is transmitted to the electric vehicle through specific charging equipment (such as fast charging piles or charging stations). Compared to AC slow charging, DC fast charging can output higher power, thus charging the electric vehicle's battery much faster.

[0071] (2) Vehicle Control Unit (VCU): This is a key control unit used in electric and hybrid vehicles. The VCU is responsible for managing and coordinating the various subsystems of the vehicle to achieve overall vehicle control and coordination.

[0072] (3) Battery Management System (BMS): This is a key component used in battery systems such as electric vehicles and hybrid vehicles. The main function of the BMS is to monitor, control, and protect the battery pack to ensure the safety, performance, and lifespan of the battery.

[0073] (4) Drive Control Unit (DCU): This is a key control unit used in electric and hybrid vehicles. The DCU is responsible for monitoring, controlling, and coordinating the various components of the vehicle's powertrain to achieve motor drive, energy conversion, and vehicle power control.

[0074] (5) On-Board Charger (OBC): This is a device installed in an electric vehicle that is responsible for converting external AC power into DC power suitable for charging the electric vehicle battery pack.

[0075] The following is an example diagram of a relay detection system provided in an embodiment of this application.

[0076] Please see Figure 1 , Figure 1This is an example diagram of a relay testing system provided in an embodiment of this application. The relay testing system may include a fast-charging DC high-voltage charging pile 120, a vehicle controller (VCU) 110, a relay testing device 130, fast-charging relays (positive relay 141 and negative relay 142), and a power battery 150, etc. Optionally, the fast-charging DC high-voltage charging pile 120 can provide high-voltage current to the electric vehicle via DC charging. This charging pile 120 supports fast charging and provides a high voltage output for efficient charging of the electric vehicle. The vehicle controller (VCU) 110 can receive inputs from various vehicle subsystems and perform real-time control and coordination of these systems according to preset algorithms and logic. The fast-charging relay and power battery 150 are typically located within the vehicle. The fast-charging relay typically includes a positive relay 141 and a negative relay 142, used to control the current flow during fast charging to ensure charging safety and effectiveness. The relay detection device 130 can be installed in different control units within the vehicle to receive commands or conditions from the vehicle controller, detect the status of the positive and negative relays, drive and control the opening and closing of the positive and negative relays, and report detected fault information to the vehicle controller. Examples include the battery management system (BMS), drive control unit (DCU), and on-board charging module (OBC), etc., which are not specifically limited in this embodiment.

[0077] Furthermore, the relay detection device may include a processor 131, a memory 136, a voltage acquisition module 132, a relay control module 135, etc. The voltage acquisition module 132 and the relay control module 135 may be located internally or externally within the relay detection device. The device may also include or couple other functional units, such as a user interface 133 and a communication interface 134. The user interface 133 may connect to a touchscreen, loudspeaker, keyboard, microphone, camera, or other devices / units for user-controller interaction. The various unit modules can communicate via bus 137 or other connection methods; this embodiment does not specifically limit this.

[0078] For example, the processor 131 may be a general-purpose central processing unit (CPU), microprocessor, application specific integrated circuit (ASIC), graphics processing unit (GPU), or one or more integrated circuits to execute relevant programs to perform the relay detection method described in the method embodiments of this application.

[0079] Processor 131 can also be an integrated circuit chip with signal processing capabilities. In implementation, each step of the relay detection method described in this application embodiment can be completed by the integrated logic circuitry in the hardware of processor 131 or by software instructions. The processor 131 can also be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. Processor 131 can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this application. A general-purpose processor can be a microprocessor or any conventional processor. Software modules can reside in random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, or other mature storage media in the art. This storage medium is located in memory 136. Processor 131 reads information from memory 136 and, in conjunction with its hardware, executes the relay adhesion detection method described in the method embodiments of this application.

[0080] For example, the memory 136 may include, but is not limited to, read-only memory (ROM), static random access memory (SRAM), synchronous dynamic random access memory (SDRAM), or random access memory (RAM). The memory 136 may store a program, and when the program stored in the memory 136 is executed by the processor 131, the processor 131 performs the various steps of the relay detection method described in the embodiments of this application.

[0081] For example, the voltage acquisition module 132 may, but is not limited to, use one or more of the following methods to detect the voltage of the fast charging relay: a microcontroller, a sensor, or an electronic control unit. The voltage acquisition module typically detects the voltage at the output terminal of the relay (e.g., a positive relay or a negative relay), and then the processor converts the acquired voltage into the voltage at the input terminal of the relay. The processor then uses preset logic or algorithms to determine the state of the relay in order to monitor whether the voltage difference across the relay is within the normal range.

[0082] For example, the relay control module 135 can be used to control the opening and closing of the relay. This module typically has a logic circuit that can receive signals, commands or conditions from a control signal source (e.g., a vehicle control unit, VCU, or other control device) and convert them into appropriate electrical signals to control the switching state of the relay.

[0083] Bus 137 may include a path for transmitting information between various components of the aforementioned relay detection system (e.g., fast-charging DC high-voltage charging pile 120, vehicle controller VCU 110, relay detection device 130, positive relay 141 and negative relay 142, etc.) and various components within the relay detection device 130 (e.g., memory 136, processor 131, communication interface 134, voltage acquisition module 132, relay control module 135, etc.).

[0084] It is understood that the system architecture illustrated in the embodiments of this application does not constitute a specific limitation on the relay detection device 130. In other embodiments of this application, the relay detection device 130 may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0085] For instructions on how to acquire voltage using the aforementioned voltage acquisition module, please refer to [link / reference]. Figure 2 , Figure 2 This is a practical environment example diagram for voltage detection provided in an embodiment of this application. The circuit in this example diagram is a possible implementation of voltage detection in an embodiment of this application. It should be understood that the voltage detection method provided in an embodiment of this application may include, but is not limited to, the following implementations.

[0086] like Figure 2As shown, the battery positive terminal BAT+201 and the battery negative terminal BAT-202 are the battery voltages at the high-voltage battery terminals of the vehicle. The fast charging port positive terminal HVDC+203 and the fast charging port negative terminal HVDC-204 are the voltages at the fast charging port. R1-R7 are voltage divider resistors. Control switches 211 and 212 control the positive relay K5 and the negative relay K6, respectively. In this configuration, R1 and R2 are connected in series between the battery positive terminal BAT+201 and the battery negative terminal BAT-202. Positive relay K5 is connected between the battery positive terminal BAT+201 and the fast charging port positive terminal HVDC+203. Negative relay K6 is connected between the battery negative terminal BAT-202 and the fast charging port negative terminal HVDC-204. The endpoint of positive relay K5 closest to the battery positive terminal BAT+201 is point A, and the endpoint closest to the fast charging port positive terminal HVDC+203 is point B. The endpoint of negative relay K6 closest to the battery negative terminal BAT-202 is point C, and the endpoint closest to the fast charging port negative terminal HVDC-204 is point D. R3 is connected in series with R4 between points A and C, R3 is connected in series with R5 between points A and D, and R6 is connected in series with R7 between points B and C. Voltage detection 205 can detect the high voltage of the whole vehicle by detecting the voltage between R1 and R2. Voltage detection 207 can detect the voltage at the lower end of R6. Voltage detection 209 can detect the voltage at the lower end of R3, R4 and R5, and thus calculate the absolute value of the voltage difference between points B and C, i.e., detect the BC voltage 208; and calculate the absolute value of the voltage difference between points A and D, i.e., detect the AD voltage 210.

[0087] It should be noted that there are multiple ways to implement voltage detection in the embodiments of this application. The above practical environment example is only used to illustrate one way of voltage detection. In other embodiments, the circuit for voltage detection may also have other implementations. Correspondingly, the method for determining the open and closed state of the relay based on the voltage detection result may also include multiple implementations. The embodiments of this application do not limit this.

[0088] For example, when R4 = R5, according to Figure 2 As shown in the example diagram, determining the open / closed state of the relay in step S202 above may include the following steps:

[0089] Step S201: Detect the voltage values ​​at points A, B, C, and D as shown in the figure.

[0090] Step S202: Calculate the absolute value of the voltage difference between AD and BC based on the detected voltage values ​​to obtain the AD voltage and BC voltage.

[0091] Step S203: Determine whether the positive relay K5 is closed by calculating the absolute value of the difference between the AD voltage and the BC voltage; determine whether the negative relay K6 is closed by comparing the AD voltage with the vehicle's high voltage.

[0092] Step S204: When the absolute value of the difference between the AD voltage and the BC voltage is greater than the preset voltage value (e.g., 20V), the positive relay K5 is determined to be open. When the absolute value of the difference between the AD voltage and the BC voltage is less than or equal to the preset voltage value (e.g., 20V), the positive relay K5 is determined to be closed. When the AD voltage is the first preset multiple of the vehicle's high voltage (e.g., when R4 = R5, the AD voltage is twice the vehicle's high voltage), the negative relay K6 is determined to be open. When the AD voltage is the second preset multiple of the vehicle's high voltage (e.g., when R4 = R5, the AD voltage is the same as the vehicle's high voltage), the negative relay K6 is determined to be closed.

[0093] It is understood that all or part of the above process for determining the open or closed state of the relay is only possible in the embodiments of this application. In other possible implementations, the conditions for determining whether the relay is closed (e.g., preset voltage value, first preset multiple, and second preset multiple) will change depending on the size of the resistor (e.g., R4, R5, etc.). The embodiments of this application do not specifically limit this.

[0094] For instructions on how to determine the corresponding fault information based on the corresponding open / closed state of a relay, please refer to [link to relevant documentation]. Figure 3A and Figure 3B , Figure 3A This is a schematic diagram illustrating the correspondence between corresponding open / closed states and corresponding fault information, provided in an embodiment of this application.

[0095] like Figure 3A As shown, before the relay closes or after the relay opens, if both the positive and negative relays are open in the corresponding open / closed state, the corresponding fault information is determined to be that both the positive and negative relays are normal; if the positive relay is open and the negative relay is closed in the corresponding open / closed state, the corresponding fault information is determined to be that the positive relay is normal and the negative relay is stuck; if the positive relay is closed and the negative relay is open in the corresponding open / closed state, the corresponding fault information is determined to be that the positive relay is stuck and the negative relay is normal; if both the positive and negative relays are closed in the corresponding open / closed state, the corresponding fault information is determined to be that both the positive and negative relays are stuck.

[0096] Figure 3B This is a schematic diagram illustrating the correspondence between another opening / closing state and corresponding fault information, provided in an embodiment of this application.

[0097] like Figure 3BAs shown, after the relay is closed, if both the positive and negative relays are open in the corresponding open / closed state, the corresponding fault information is determined to be that both the positive and negative relays are stuck; if the positive relay is open and the negative relay is closed in the corresponding open / closed state, the corresponding fault information is determined to be that the positive relay is stuck and the negative relay is normal; if the positive relay is closed and the negative relay is open in the corresponding open / closed state, the corresponding fault information is determined to be that the positive relay is normal and the negative relay is stuck; if both the positive and negative relays are closed in the corresponding open / closed state, the corresponding fault information is determined to be that both the positive and negative relays are normal.

[0098] To facilitate understanding of the detection method for relay sticking, please refer to the example provided. Figure 4 , Figure 4 This is a flowchart illustrating a relay fault detection method provided in an embodiment of this application. The method includes, but is not limited to, the following steps:

[0099] Step S401: Between the first moment and the second moment, continuously monitor the first voltage value across the relay and the first high voltage value of the vehicle; the first moment is the moment when the high voltage on the vehicle is detected, and the second moment is the moment when the controller in the vehicle issues a command to close the relay or issues a condition for closing the relay.

[0100] Specifically, from the moment when high voltage is detected on the vehicle (i.e., the first moment), until the moment when the controller inside the vehicle (e.g., the vehicle controller) issues a command to close the relay or issues a condition to close the relay (i.e., the second moment), the high voltage value at both ends of the relay and the high voltage on the vehicle are detected to detect the first voltage value at both ends of the relay and the first high voltage value of the vehicle.

[0101] For example, when a car is ready to charge, after the main relay closes, voltage detection begins at both ends of the relay and at the high-voltage battery terminals when high voltage is detected across the vehicle. Detection stops when the vehicle controller issues a command to close the relay or a condition for relay closure, thereby detecting the voltage value across the relay and the high-voltage value of the vehicle. Since the time from the first moment to the second moment is uncertain, the voltage detection at both ends of the relay and the high-voltage battery is performed at least once during this period. This continuously detects the first voltage value across the relay and the first high-voltage value of the vehicle to ensure that the actual voltage across the relay can be detected at the second moment and the true state of the relay can be determined.

[0102] Optionally, in the embodiments of this application, the relay may include a positive relay and a negative relay. Since the voltage value at both ends of the relay and the high voltage value of the whole vehicle are continuously detected from the first moment to the second moment, and the number of detections is not less than once, the first voltage value at both ends of the relay may include the set of the detected voltage values ​​at both ends of the positive relay and the voltage values ​​at both ends of the negative relay.

[0103] It is understood that the voltage detection method in this application embodiment can be one or more of the following: microcontroller, sensor or electronic control unit. Different manufacturers may design different detection methods for voltage detection according to different vehicle models, and this application embodiment does not limit this.

[0104] Step S402: Based on the first voltage value and the first high voltage value, determine the first open / closed state of the relay.

[0105] Specifically, based on the first voltage value across the relay detected in step S401 and the first high voltage value of the vehicle, the opening / closing state of the relay is determined to be the first opening / closing state. Optionally, in this embodiment, the relay may include a positive relay and a negative relay, and the first opening / closing state may include one of the following: both the positive and negative relays are open, the positive relay is open and the negative relay is closed, the positive relay is closed and the negative relay is open, and both the positive and negative relays are closed.

[0106] For example, in this application embodiment, the first open / closed state of the positive and negative relays is determined based on the first voltage values ​​at both ends of the positive and negative relays detected in step S401 above, as well as the first high voltage value of the vehicle, so as to ensure that the true open / closed state of the positive and negative relays can be continuously determined when the second moment arrives.

[0107] Step S403: Determine the first information of the relay based on the first open / closed state. If the first information indicates that the relay has failed, then between the second time and the third time, detect the second voltage value at both ends of the relay and the second high voltage value of the vehicle; the third time is the time when the relay begins to close.

[0108] Specifically, based on the first open / closed state of the relay determined in step S402 above, the corresponding first information is determined. When the first information indicates that the relay has malfunctioned, that is, when the first information indicates that the relay has stuck, the second voltage value at both ends of the relay and the second high voltage value of the vehicle are continuously detected between the moment when the controller in the vehicle (e.g., the vehicle controller) issues the command to close the relay (i.e., the second moment) and the moment when the relay begins to close (i.e., the third moment) so as to reconfirm the second open / closed state of the relay, thereby determining whether the relay has malfunctioned, and avoiding the situation where the fault information detected from the first moment to the second moment is incorrect and causes a false fault report.

[0109] Optionally, in the embodiments of this application, the relay may include a positive relay and a negative relay, and the second opening and closing state may include one of the following: both the positive relay and the negative relay are open, the positive relay is open and the negative relay is closed, the positive relay is closed and the negative relay is open, and both the positive relay and the negative relay are closed.

[0110] Step S404: Determine the second open / closed state of the relay based on the second voltage value and the second high voltage value.

[0111] Specifically, based on the second voltage value across the relay detected in step S403 and the second high voltage value of the vehicle, the relay's opening / closing state is determined to be the second opening / closing state. For example, in this embodiment, the second opening / closing state of the positive and negative relays is determined based on the second voltage values ​​across the positive and negative relays detected in step S403 and the second high voltage value of the vehicle. This allows for a re-determination of the true opening / closing state of the positive and negative relays, thereby reconfirming whether a relay malfunction has occurred and preventing false alarms due to incorrect fault information detected between the first and second moments.

[0112] Step S405: Determine the second information of the relay based on the second open / closed state. If the second information indicates that the relay has failed, report the second information and stop detecting the second voltage value at both ends of the relay and the second high voltage value of the vehicle.

[0113] Specifically, based on the second open / closed state of the relay determined in step S404 above, corresponding second information is determined. When the second information indicates that the relay has failed, the second information is reported and the detection of the second voltage value across the relay and the second high voltage value of the vehicle is stopped. For example, based on the second open / closed states of the positive and negative relays determined in step S404 above, second information for the positive and negative relays is determined. When the second information indicates that the relay has failed, the second information is reported and the detection of the second voltage value across the relay and the second high voltage value of the vehicle is stopped. After receiving the second information, the vehicle controller sends relevant instructions to perform the operation of disconnecting the vehicle relays and then stops charging. Simultaneously, it can also prompt the user to take the vehicle to a professional repair shop for repair through a display screen or indicator light, allowing professional repair personnel to diagnose and repair the fault. Through this embodiment, it is possible to determine again whether the positive and negative relays have failed, avoiding false fault reports caused by incorrect fault information detected from the first to the second moment.

[0114] Optionally, since the first or second open / closed state may have different conditions, such as both the positive and negative relays being open, the positive relay being open and the negative relay being closed, the positive relay being closed and the negative relay being open, or both the positive and negative relays being closed, the determined first or second information may also have different conditions, such as both the positive and negative relays being normal, the positive relay being normal and the negative relay having a sticking fault, the positive relay having a sticking fault and the negative relay being normal, or both the positive and negative relays having a sticking fault. Further, when the first or second information includes both the positive and negative relays being normal, the determined fault information can be used to indicate that the relay is not faulty; correspondingly, when the first or second information includes one of the following: the positive relay is normal and the negative relay is sticking, the positive relay is sticking and the negative relay is normal, or both the positive and negative relays are sticking, the determined fault information is used to indicate that the relay has faulted.

[0115] It should be noted that since the first or second information is determined before the relay is closed, i.e., when the relay is open, the method for determining the corresponding first information based on the first opening / closing state, or the method for determining the corresponding second information based on the second opening / closing state, can be found by referring to... Figure 3A The method described at this time Figure 3A The corresponding open / closed state is either the first open / closed state or the second open / closed state, and the corresponding fault information is either the first information or the second information. Thus, the corresponding fault information is determined based on different open / closed states. The specific steps will not be elaborated here.

[0116] The steps S401-S405 described above all involve detecting whether the relay is stuck before it closes. If no fault occurs before the relay closes, in order to further detect whether the relay is stuck during or after charging, thereby further ensuring charging safety, the relay sticking detection method provided in this application embodiment can continue to detect the relay sticking after the above steps S401-S405.

[0117] Optionally, when the fault information of the relay detected before charging begins (i.e., the first and / or second information) indicates that the relay is not faulty, relay adhesion detection can be performed during vehicle charging. That is, from the moment the relay closes (i.e., the fourth moment) to the moment the relay closure detection is completed (i.e., the fifth moment), the voltage values ​​across the relay and the high voltage value of the vehicle can be detected again. Furthermore, since the time between the fourth and fifth moments is uncertain, the relay detection time can be customized, typically 1 second. Therefore, voltage detection can be continuously performed across the relay and on the vehicle during this period until the fifth moment, with at least one detection. The result of the most recent detection is used as the third voltage value and the third high voltage value. Based on the most recent third voltage value and the third high voltage value, the open / closed state of the relay during the most recent detection is determined as the third open / closed state. The third information of the relay during the most recent detection is determined based on this third open / closed state, and this third information is reported. When the third information indicates that the relay is not faulty, that is, when both the positive and negative relays are normal, the vehicle controller receives the third information and sends relevant instructions to ensure the vehicle continues charging. When the third information indicates that the relay is faulty, that is, when the third information includes one of the following: the positive relay is normal but the negative relay is stuck, the positive relay is stuck and the negative relay is normal, or both the positive and negative relays are stuck, the vehicle controller receives the third information and sends relevant instructions to disconnect the vehicle relays and stop charging. Simultaneously, it can also prompt the user to take the vehicle to a professional repair shop for maintenance through a display screen or indicator lights, allowing professional mechanics to diagnose and repair the fault. Through this embodiment, it is possible to detect whether the relay is properly closed during charging, thereby further ensuring that the vehicle can charge normally.

[0118] Optionally, when the aforementioned third information indicating relay does not malfunction, that is, when the reported third information indicating relay does not stick, the voltage values ​​at both ends of the relay and the high voltage value of the vehicle can be detected between the moment the relay is disconnected (i.e., the seventh moment) and the moment the detection after the relay is disconnected is completed (i.e., the eighth moment). Since the time from the seventh moment to the eighth moment is uncertain, that is, the time for detecting the relay can be customized, the embodiments of this application can continuously detect the voltage at both ends of the relay and the vehicle during this time period until the eighth moment arrives, and the detection will stop. The number of detections is not less than once, and the result of the most recent detection is used as the fourth voltage value and the fourth high voltage value. Based on the aforementioned most recent fourth voltage value and the fourth high voltage value, the opening and closing state of the relay at the time of the most recent detection is determined to be the fourth opening and closing state. Based on the fourth open / closed state, the fourth information from the most recent relay detection is determined. If the fourth information indicates that the relay is not faulty, that is, if both the positive and negative relays are normal, the fourth information is reported. Upon receiving the fourth information, the vehicle controller sends relevant instructions to ensure the vehicle properly disconnects the relay and ends charging. If the fourth information indicates that the relay is faulty, that is, if the third information includes one of the following: the positive relay is normal but the negative relay is stuck, the positive relay is stuck and the negative relay is normal, or both the positive and negative relays are stuck, the fault information is stored for re-detection during the next charging cycle to further confirm whether the relay is faulty. In this embodiment, by detecting whether the relay is properly disconnected after charging, the true state of the relay is detected, and the relay fault information is stored. This information is then further confirmed and reported during the next charging cycle, thereby reducing the probability of false fault reports.

[0119] For example, since the third or fourth opening / closing state may have different conditions, such as both the positive and negative relays being open, the positive relay being open and the negative relay being closed, the positive relay being closed and the negative relay being open, or both the positive and negative relays being closed, the determined third or fourth information may also have different conditions, such as both the positive and negative relays being normal, the positive relay being normal and the negative relay having a sticking fault, the positive relay having a sticking fault and the negative relay being normal, or both the positive and negative relays having a sticking fault. Further, when the third or fourth information includes both the positive and negative relays being normal, the determined fault information can be used to indicate that the relay is not faulty; correspondingly, when the third or fourth information includes one of the following: the positive relay being normal and the negative relay being sticky, the positive relay being sticky and the negative relay being normal, or both the positive and negative relays being sticky, the determined fault information is used to indicate that the relay has faulted.

[0120] Understandably, since the third information is determined during the charging process, i.e., when the relay is closed, the method for determining the corresponding third information based on the aforementioned third opening and closing state can be referred to... Figure 3A The method described at this time Figure 3A The corresponding open / closed state is the third open / closed state, and the corresponding fault information is the third information. The fourth information is determined after charging is complete, that is, when the relay is open. Therefore, to determine the corresponding fourth information based on the above fourth open / closed state, you can refer to... Figure 3B The method described at this time Figure 3B The corresponding open / closed state is the fourth open / closed state, and the corresponding fault information is the fourth information. Therefore, the corresponding fault information is determined based on the corresponding open / closed state. The specific steps will not be described in detail here.

[0121] It should be noted that the above steps are all performed after the high voltage on the vehicle is detected (i.e., the first moment) and under the premise that the vehicle's main relay is closed. The time for detecting the sticking of the relay between different moments can be customized, usually tens of milliseconds. Different manufacturers may set this when setting the vehicle at the factory according to different models. This application embodiment does not specifically limit this.

[0122] Please see Figure 5 , Figure 5This is a possible timing diagram for relay adhesion detection provided in an embodiment of this application. In this diagram, t1 begins when high voltage is detected on the vehicle (first moment), and ends when the vehicle controller (e.g., the vehicle controller) issues a command to close the relay (second moment); t2 and t1 are continuous, with the start of t2 being the end of t1, and the end of t2 being the moment the relay begins to close (third moment); t3 and t2 are continuous, with the start of t3 being the end of t2, and the end of t3 being the moment the relay closes completely (fourth moment); t4 and t3 are continuous... The start time of t4 is the end time of t3, and the end time of t4 is the time when the relay is closed and the detection is completed (the fifth time). t5 and t4 are discontinuous; the start time of t5 is the time when the relay begins to open, and the end time of t5 is the time when the relay is closed and the detection is completed (the seventh time). t7 or t6 is continuous with t5; the start time of t7 or t6 is the end time of t5, and the end time of t7 is the time when the relay is closed and the detection is completed (the eighth time). The end time of t6 is the time when the negative relay is closed and the detection is completed. Since the detection time of the negative relay is usually shorter than that of the positive relay, t6 is shorter than t7, and the end time of t7 can be the time when the positive relay is closed and the detection is completed. That is, the time from the first time to the second time is t1; the time from the second time to the third time is t2; the time from the fourth time to the fifth time is t4; and the time from the seventh time to the eighth time is t7.

[0123] It should be noted that the method and steps for detecting adhesion faults in fast-charging relays (including positive and negative relays) during one or more of the time periods t1, t2, t4, or t7 mentioned above can refer to the methods described above. Figure 4 The methods and steps described herein will not be repeated here. Furthermore, the time for detecting relay adhesion using t1, t2, t4, or t7 can be customized, typically to tens of milliseconds. Different manufacturers may set this value during factory configuration for different vehicle models; this application does not impose specific limitations on this.

[0124] The methods of the embodiments of this application have been described in detail above. The related devices of the embodiments of this application are described below.

[0125] Please see Figure 6 , Figure 6 This is a schematic diagram of the structure of a relay detection device provided in an embodiment of this application. The relay detection device 600 may include a first detection unit 601, a first determination unit 602, a second determination unit 603, a second detection unit 604, a third determination unit 605, a fourth determination unit 606, and a first reporting unit 607, wherein each unit is described in detail below.

[0126] The first detection unit 601 is used to continuously monitor the first voltage value across the relay and the first high voltage value of the vehicle between a first moment and a second moment; the first moment is the moment when the high voltage on the vehicle is detected, and the second moment is the moment when the controller in the vehicle issues a command to close the relay;

[0127] The first determining unit 602 is used to determine the first opening and closing state of the relay based on the first voltage value and the first high voltage value;

[0128] The second determining unit 603 is used to determine the first information of the relay based on the first open / closed state;

[0129] The second detection unit 604 is used to detect the second voltage value across the relay and the second high voltage value of the vehicle between the second and third moments if the first information indicates that the relay has failed; the third moment is the moment when the relay begins to close.

[0130] The third determining unit 605 is used to determine the second open / closed state of the relay based on the second voltage value and the second high voltage value;

[0131] The fourth determining unit 606 is used to determine the second information of the relay based on the second open / closed state;

[0132] The first reporting unit 607 is used to report the second information and stop detecting the second voltage value at both ends of the relay and the second high voltage value of the vehicle if the second information indicates that the relay has not failed.

[0133] In one possible implementation, the relay detection device further includes:

[0134] The second reporting unit is used to report the first information if the first information indicates that the relay has not failed, and to stop detecting the first voltage value at both ends of the relay and the first high voltage value of the vehicle.

[0135] In one possible implementation, the relay detection device further includes:

[0136] The third detection unit is used to detect the third voltage value across the relay and the third high voltage value of the vehicle between the fourth and fifth times if the first information and / or the second information indicate that the relay has not malfunctioned; the fourth time is the time when the relay is closed and the fifth time is the time when the detection is completed after the relay is closed.

[0137] The fifth determining unit is used to: determine the third open / closed state of the relay based on the third voltage value and the third high voltage value;

[0138] The sixth determining unit is used to: determine the third information of the relay based on the third open / closed state;

[0139] The third reporting unit is used to: report the third information and stop detecting the third voltage value at both ends of the relay and the third high voltage value of the vehicle.

[0140] In one possible implementation, the relay detection device further includes:

[0141] The fourth detection unit is used to detect the fourth voltage value across the relay and the fourth high voltage value of the vehicle between the seventh and eighth times, if the third information indicates that the relay has not malfunctioned; the seventh time is the time when the relay is disconnected and the eighth time is the time when the detection is completed after the relay is disconnected.

[0142] The seventh determining unit is used to: determine the fourth open / closed state of the relay based on the fourth voltage value and the fourth high voltage value;

[0143] The eighth determining unit is used to: determine the fourth information of the relay based on the fourth open / closed state;

[0144] The fourth reporting unit is used to: report the fourth information if the fourth information indicates that the relay has not failed; or, store the fourth information if the fourth information indicates that the relay has failed.

[0145] In one possible implementation, the relay includes the positive relay and the negative relay, and the first open / closed state, or the second open / closed state, or the third open / closed state, or the fourth open / closed state includes one of the following: both the positive relay and the negative relay are open, the positive relay is open and the negative relay is closed, the positive relay is closed and the negative relay is open, and both the positive relay and the negative relay are closed.

[0146] In one possible implementation, the relay includes the positive relay and the negative relay, and the first information, or the second information, or the third information, or the fourth information includes one of the following: both the positive relay and the negative relay are normal, the positive relay is normal and the negative relay is stuck, the positive relay is stuck and the negative relay is normal, and both the positive relay and the negative relay are stuck.

[0147] In one possible implementation, the second determining unit, or the fourth determining unit, or the eighth determining unit, is specifically used for:

[0148] If the corresponding open / closed state is that both the positive relay and the negative relay are open, then the corresponding fault information is determined to be that both the positive relay and the negative relay are normal.

[0149] Alternatively, if the corresponding open / closed state is that the positive relay is open and the negative relay is closed, then the corresponding fault information is determined to be that the positive relay is normal and the negative relay is stuck.

[0150] Alternatively, if the corresponding open / closed state is that the positive relay is closed and the negative relay is open, then the corresponding fault information is determined to be that the positive relay is stuck and the negative relay is normal.

[0151] Alternatively, if the corresponding open / closed state is that both the positive relay and the negative relay are closed, then the corresponding fault information is determined to be that both the positive relay and the negative relay are stuck together.

[0152] In one possible implementation, the sixth determining unit is specifically used for:

[0153] If the third opening / closing state is that both the positive relay and the negative relay are open, then the third information is determined to be that both the positive relay and the negative relay are stuck together.

[0154] Alternatively, if the third opening / closing state is that the positive relay is open and the negative relay is closed, then the third information is determined to be that the positive relay is stuck and the negative relay is normal.

[0155] Alternatively, if the third opening / closing state is that the positive relay is closed and the negative relay is open, then the third information is determined to be that the positive relay is normal and the negative relay is stuck.

[0156] Alternatively, if the third opening / closing state is that both the positive relay and the negative relay are closed, then the third information is determined to be that both the positive relay and the negative relay are normal.

[0157] It should be noted that the functions of each unit in the relay detection device 600 described in this application embodiment can be found in the relevant descriptions of steps S401-S405 in the above method embodiment, and will not be repeated here.

[0158] Please see Figure 7 , Figure 7 This is a schematic diagram of the structure of a relay detection device provided in an embodiment of this application.

[0159] The relay detection device 130 may include a processor 131, a memory 136, a voltage acquisition module 132, a relay control module 135, etc. The voltage acquisition module is not a necessary unit for this detection device, and the voltage acquisition circuit can also be located outside the controller. The relay detection device 130 may also include or couple other functional units, such as a user interface 133, a communication interface 134, etc. The user interface 133 can connect to a touch screen, loudspeaker, keyboard, microphone, camera, etc., for user interaction with the controller. The various unit modules can communicate with each other via bus 137, or through other connection methods; this embodiment does not specifically limit this. Detailed descriptions of each unit are as follows.

[0160] For example, the processor 131 may be a general-purpose central processing unit (CPU), microprocessor, application specific integrated circuit (ASIC), graphics processing unit (GPU), or one or more integrated circuits to execute relevant programs to perform the relay detection method described in the method embodiments of this application.

[0161] Processor 131 can also be an integrated circuit chip with signal processing capabilities. In implementation, each step of the relay detection method described in this application embodiment can be completed by the integrated logic circuitry in the hardware of processor 131 or by software instructions. The processor 131 can also be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. Processor 131 can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this application. A general-purpose processor can be a microprocessor or any conventional processor. Software modules can reside in random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, or other mature storage media in the art. This storage medium is located in memory 131. Processor 131 reads information from memory 136 and, in conjunction with its hardware, executes the relay detection method described in the method embodiments of this application.

[0162] For example, the memory 136 may include, but is not limited to, read-only memory (ROM), static random access memory (SRAM), synchronous dynamic random access memory (SDRAM), or random access memory (RAM). The memory 136 may store a program, and when the program stored in the memory 136 is executed by the processor 131, the processor 131 performs the various steps of the relay detection method described in the embodiments of this application.

[0163] For example, the voltage acquisition module 132 may, but is not limited to, using one or more of the following methods: microcontroller, sensor or electronic control unit, to detect the voltage of the fast charging relay. The voltage acquisition module 132 typically detects the voltage at the output terminal of the relay (e.g., positive relay or negative relay), and then the processor converts the acquired voltage into the voltage at the input terminal of the relay. The processor then uses preset logic or algorithm to determine the state of the relay in order to monitor whether the voltage difference across the relay is within the normal range.

[0164] For example, the relay control module 135 can be used to control the opening and closing of the relay. The relay control module 135 typically has a logic circuit that can receive signals, commands or conditions from a control signal source (e.g., a vehicle control unit, VCU or other control device) and convert them into appropriate electrical signals to control the switching state of the relay.

[0165] Bus 137 may include a path for transmitting information between various components of relay detection device 130 (e.g., memory 136, processor 131, communication interface 134, voltage acquisition module 132, etc.).

[0166] It should be noted that the relay detection device 130 provided in this application embodiment may include more or fewer components than shown in the figure, or combine some components, or split some components, or have different component arrangements. The components shown in the figure can be implemented in hardware, software, or any combination of software and hardware.

[0167] This application also provides a computer-readable storage medium that can store a computer program. When the program is executed by a computing device, it implements some or all of the steps of any of the memory allocation methods described in the above method embodiments.

[0168] This application also provides a computer program product, which, when read and executed by a computer, executes the operations performed by the electronic device in any of the above embodiments and their possible embodiments.

[0169] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.

[0170] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that this application is not limited to the described order of actions, because according to this application, some steps may be performed in other orders or simultaneously, or some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps. Secondly, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions and modules involved are not necessarily essential to this application. It should also be noted that the features and functions of two or more devices according to this disclosure can be embodied in one device. Conversely, the features and functions of one device described above can be further divided and embodied by multiple devices.

[0171] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented, in whole or in part, as a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium accessible to a computer or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid-state disk (SSD)).

[0172] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. This program can be stored in a computer-readable storage medium, and when executed, it can include the processes described in the above method embodiments. The aforementioned storage medium includes various media capable of storing program code, such as ROM or random access memory (RAM), magnetic disks, or optical disks.

[0173] In summary, the above description is merely an embodiment of the technical solution of this application and is not intended to limit the scope of protection of this application. Any modifications, equivalent substitutions, improvements, etc., made based on the disclosure of this application should be included within the scope of protection of this application.

Claims

1. A method for detecting relay faults, characterized in that, The relay is an internal relay of a vehicle, and the method is applied to a relay testing device, including: Between the first moment and the second moment, the first voltage value across the relay and the first high voltage value of the vehicle are continuously monitored; the first moment is the moment when the high voltage on the vehicle is detected, and the second moment is the moment when the controller inside the vehicle issues a command to close the relay; Based on the first voltage value and the first high voltage value, the first open / closed state of the relay is determined; Based on the first open / closed state, the first information of the relay is determined. If the first information indicates that the relay has failed, then between the second time and the third time, the second voltage value across the relay and the second high voltage value of the vehicle are detected; the third time is the time when the relay begins to close. Based on the second voltage value and the second high voltage value, the second open / closed state of the relay is determined; Based on the second open / closed state, the second information of the relay is determined. If the second information indicates that the relay has malfunctioned, the second information is reported and the detection of the second voltage value at both ends of the relay and the second high voltage value of the vehicle is stopped.

2. The method according to claim 1, characterized in that, The method further includes: If the first information indicates that the relay has not malfunctioned, then the first information is reported, and the detection of the first voltage value at both ends of the relay and the first high voltage value of the vehicle is stopped.

3. The method according to claim 1, characterized in that, The method further includes: If the first information and / or the second information indicate that the relay has not malfunctioned, between the fourth and fifth time points, the third voltage value across the relay and the third high voltage value of the vehicle are detected; the fourth time point is the time when the relay is closed and the fifth time point is the time when the detection is completed after the relay is closed; Based on the third voltage value and the third high voltage value, the third open / closed state of the relay is determined; The third information of the relay is determined based on the third open / closed state; The third information is reported, and the detection of the third voltage value at both ends of the relay and the third high voltage value of the vehicle is stopped.

4. The method according to claim 3, characterized in that, The method further includes: If the third information indicates that the relay has not malfunctioned, between the seventh and eighth moments, the fourth voltage value across the relay and the fourth high voltage value of the vehicle are detected; the seventh moment is the moment when the relay is disconnected; the eighth moment is the moment when the detection is completed after the relay is disconnected. Based on the fourth voltage value and the fourth high voltage value, the fourth open / closed state of the relay is determined; The fourth information of the relay is determined based on the fourth open / closed state; If the fourth information indicates that the relay has not malfunctioned, then the fourth information is reported; or, if the fourth information indicates that the relay has malfunctioned, then the fourth information is stored.

5. The method according to claim 4, characterized in that, The relay includes a positive relay and a negative relay. The first open / closed state, or the second open / closed state, or the third open / closed state, or the fourth open / closed state includes one of the following: both the positive relay and the negative relay are open; the positive relay is open and the negative relay is closed; the positive relay is closed and the negative relay is open; and both the positive relay and the negative relay are closed.

6. The method according to claim 4, characterized in that, The relay includes a positive relay and a negative relay. The first information, or the second information, or the third information, or the fourth information includes one of the following: both the positive relay and the negative relay are normal; the positive relay is normal and the negative relay is stuck; the positive relay is stuck and the negative relay is normal; and both the positive relay and the negative relay are stuck.

7. The method according to claim 4, characterized in that, The relay includes a positive relay and a negative relay; determining the first information based on the first open / closed state, or determining the second information based on the second open / closed state, or determining the fourth information based on the fourth open / closed state, includes: If the corresponding open / closed state is that both the positive relay and the negative relay are open, then the corresponding fault information is determined to be that both the positive relay and the negative relay are normal. Alternatively, if the corresponding open / closed state is that the positive relay is open and the negative relay is closed, then the corresponding fault information is determined to be that the positive relay is normal and the negative relay is stuck. Alternatively, if the corresponding open / closed state is that the positive relay is closed and the negative relay is open, then the corresponding fault information is determined to be that the positive relay is stuck and the negative relay is normal. Alternatively, if the corresponding open / closed state is that both the positive relay and the negative relay are closed, then the corresponding fault information is determined to be that both the positive relay and the negative relay are stuck together.

8. The method according to claim 3, characterized in that, The relay includes a positive relay and a negative relay; the determination of the third information based on the third open / closed state includes: If the third opening / closing state is that both the positive relay and the negative relay are open, then the third information is determined to be that both the positive relay and the negative relay are stuck together. Alternatively, if the third opening / closing state is that the positive relay is open and the negative relay is closed, then the third information is determined to be that the positive relay is stuck and the negative relay is normal. Alternatively, if the third opening / closing state is that the positive relay is closed and the negative relay is open, then the third information is determined to be that the positive relay is normal and the negative relay is stuck. Alternatively, if the third opening / closing state is that both the positive relay and the negative relay are closed, then the third information is determined to be that both the positive relay and the negative relay are normal.

9. A relay detection device, characterized in that, The relay is an internal relay of the vehicle, and the device includes: The first detection unit is used to continuously monitor the first voltage value across the relay and the first high voltage value of the vehicle between a first moment and a second moment; the first moment is the moment when the high voltage on the vehicle is detected, and the second moment is the moment when the controller in the vehicle issues a command to close the relay; The first determining unit is configured to determine the first open / closed state of the relay based on the first voltage value and the first high voltage value. The second determining unit is used to determine the first information of the relay based on the first open / closed state; The second detection unit is used to detect the second voltage value across the relay and the second high voltage value of the vehicle between the second and third moments if the first information indicates that the relay has failed; the third moment is the moment when the relay begins to close. The third determining unit is used to determine the second open / closed state of the relay based on the second voltage value and the second high voltage value; The fourth determining unit is used to determine the second information of the relay based on the second open / closed state; The first reporting unit is configured to report the second information if the second information indicates that the relay has not malfunctioned, and to stop detecting the second voltage value at both ends of the relay and the second high voltage value of the vehicle.

10. A relay testing device, characterized in that, The device includes a memory and a processor, wherein the memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory, causing the device to perform the method according to any one of claims 1-8.

Citation Information

Patent Citations

  • Method for judging adhesion of high-voltage relay

    CN104442406A

  • Relay adhesion detection method

    CN107561436A