Independent latch switch high voltage control method and electronic device

By detecting the reset flag and fault information in real time in the independent latching switch and controlling the on and off of the relay, the safety and reliability issues of the high-voltage control of the independent latching switch are solved, ensuring the stability and safety of the high-voltage link.

CN118969559BActive Publication Date: 2025-09-30ZHUHAI PILOT TECH
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410986964.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-23
Publication Date
2025-09-30
Estimated Expiration
2044-07-23

AI Technical Summary

Technical Problem

In the existing technology, the high-voltage control of the independent latching switch lacks the ability to judge and handle abnormal conditions, resulting in poor safety and reliability. In particular, when the status information at the battery end or the inverter end is abnormal, improper control of the high-voltage link may cause safety accidents.

Method used

By obtaining the reset flag information, circuit breaker status, battery voltage and insulation value, inverter side voltage and relay feedback status in the reset flag register in real time, it is determined whether the independent latch switch has an abnormal reset or fault, and the on and off of the relay is controlled in real time according to the detection results to ensure the stability and safety of the high-voltage link.

Benefits of technology

The system realizes fault detection and real-time processing during high-voltage power-on or power-off of independent latch switches, improves the safety and reliability of high-voltage control, and prevents the influence of abnormal reset and fault on the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118969559B_ABST
    Figure CN118969559B_ABST
Patent Text Reader

Abstract

The present application provides a high-voltage control method and electronic device for an independent latching switch, which belongs to the field of relay control technology. The method includes: obtaining the reset flag information in the reset flag register to determine whether the independent latching switch has an abnormal reset; if not, triggering the main positive relay and the main negative relay to disconnect, and performing fault detection on the independent latching switch according to the status information of the circuit breaker, the voltage and insulation value of the battery, the inverter side voltage and the feedback status information of each relay, and controlling the independent latching switch to complete high-voltage power-on or high-voltage power-off; if so, determining whether the main positive relay and the main negative relay are both in a closed state, and if so, maintaining the closed state to maintain the output before the independent latching switch is abnormally reset. The present application can achieve real-time detection of faults in the high-voltage power-on or high-voltage power-off process of the independent latching switch, and handle the faults in real time to improve the safety and reliability of the high-voltage control of the independent latching switch.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of relay control technology, and in particular to an independent latching switch high-voltage control method and electronic equipment. Background Art

[0002] High-voltage control of an independent latching switch essentially refers to high-voltage control of a relay. This control involves controlling the on / off state of the high-voltage link connected to the independent latching switch during power-up or power-down. In the event of an abnormal reset of the independent latching switch, maintaining the output state of the high-voltage link prior to the abnormal reset is a key performance indicator of the independent latching switch.

[0003] In related technologies, high-voltage control of independent latching switches relies solely on traditional high-voltage power-up and power-down management methods, controlling the on / off of the high-voltage link of the independent latching switch based on status information data from the battery and inverter. If the battery or inverter status information data is abnormal, the high-voltage link is disconnected. Alternatively, if the inverter is charging or discharging the battery, software failure, watchdog reset, or electromagnetic interference causes the independent latching switch software to reset abnormally, the independent latching switch controls the closing of the high-voltage link, ensuring that the high-voltage link maintains the output status information from before the abnormal reset.

[0004] However, when controlling the high-voltage power-up and power-down of independent latching switches based on related technologies, there is a lack of abnormality detection and processing for these conditions. Instead, the high-voltage link is controlled solely based on abnormal data from the battery or inverter side. Therefore, related technology solutions lack the ability to detect and process abnormal conditions of independent latching switches, resulting in low safety and reliability in high-voltage control of independent latching switches. Summary of the Invention

[0005] The purpose of this application is to provide an independent latching switch high-voltage control method and electronic equipment, which can detect faults in the high-voltage power-on or high-voltage power-off process of the independent latching switch in real time and handle the faults in real time to improve the safety and reliability of the high-voltage control of the independent latching switch.

[0006] The embodiment of the present application is implemented as follows:

[0007] In a first aspect of an embodiment of the present application, a high-voltage control method for an independent latching switch is provided, for performing high-voltage control on the independent latching switch. The independent latching switch includes: a reset flag register, multiple relays, a circuit breaker, a battery, and an inverter. The multiple relays include: a main positive relay, a main negative relay, and a pre-charge relay. The high-voltage control method for the independent latching switch includes:

[0008] Acquire reset flag information in the reset flag register, circuit breaker status information, battery voltage and insulation value, inverter side voltage, and feedback status information of each relay in real time. The reset flag information is used to indicate an abnormal reset flag in an independent latch switch.

[0009] Determine whether the independent latch switch has an abnormal reset according to the reset flag information;

[0010] If not, a control instruction is sent to the main positive relay, the main negative relay and the pre-charge relay to trigger the main positive relay, the main negative relay and the pre-charge relay to disconnect, and a fault detection is performed on the independent latching switch according to the status information of the circuit breaker, the voltage and insulation value of the battery, the inverter side voltage and the feedback status information of each relay, and when there is no fault in the independent latching switch, the independent latching switch is controlled to complete the high voltage power-on, or the independent latching switch is controlled to complete the high voltage power-off;

[0011] If so, determine whether the main positive relay and the main negative relay are both in the closed state based on the feedback status information of the main positive relay and the main negative relay. If so, maintain the closed state of the main positive relay and the main negative relay to maintain the output state before the independent latch switch is abnormally reset.

[0012] As a possible implementation, determining whether the independent latch switch has an abnormal reset according to the reset flag information includes:

[0013] If the reset flag information contains an abnormal reset flag, the independent latch switch has an abnormal reset;

[0014] If the reset flag information does not include the abnormal reset flag, the independent latch switch does not have an abnormal reset.

[0015] As a possible implementation method, based on the status information of the circuit breaker, the voltage and insulation value of the battery, the voltage on the inverter side, and the feedback status information of each relay, the independent latching switch is detected for faults, and when the independent latching switch is not faulty, the independent latching switch is controlled to complete high-voltage power-up, including:

[0016] Performing a first fault detection based on the battery voltage, the inverter side voltage, the feedback status of each relay, and the status of the circuit breaker, and determining a first fault detection result;

[0017] If the first fault detection result is that there is no fault, performing a second fault detection based on the insulation value of the battery to determine the second fault detection result;

[0018] If the second fault detection result is that no fault exists, performing a third fault detection based on the inverter side voltage to determine the third fault detection result;

[0019] If the third fault detection result is that there is no fault, the main negative relay is controlled to close, and the independent latch switch is controlled to complete high voltage power-on according to the battery voltage, the inverter side voltage and the feedback status of each relay.

[0020] As a possible implementation, performing a first fault detection based on the battery voltage, the inverter side voltage, the feedback status of each relay, and the status of the circuit breaker to determine the first fault detection result includes:

[0021] determining whether the battery voltage is less than a first preset threshold, and if so, determining that the first fault detection result is a fault, and the fault level is a level corresponding to the battery voltage;

[0022] If not, determining whether the inverter side voltage is greater than a second preset threshold; if so, determining that the first fault detection result is a fault, and the fault level is the level corresponding to the inverter side voltage;

[0023] If not, determine whether there is at least one relay whose feedback state is closed or the circuit breaker state is open. If there is at least one relay whose feedback state is closed or the circuit breaker state is open, determine that the first fault detection result is that a fault exists, and the fault level is the highest level. Wait for the fault to automatically recover and then re-apply high voltage power. Otherwise, determine that the first fault detection result is that no fault exists.

[0024] As a possible implementation, performing a second fault detection based on the insulation value of the battery and determining a second fault detection result include:

[0025] determining whether the insulation value of the battery is less than a third preset threshold value, and if so, determining that the second fault detection result is a fault, and the fault level is the level corresponding to the insulation value;

[0026] If not, it is determined that the second fault detection result is that no fault exists.

[0027] As a possible implementation, performing the third fault detection based on the inverter-side voltage and determining the third fault detection result includes:

[0028] determining whether the inverter-side voltage is less than a fourth preset threshold; if not, determining that the third fault detection result is a fault, and the fault level is a level corresponding to the inverter-side voltage;

[0029] If so, the third fault detection result is determined to be that no fault exists, and the main negative relay is controlled to close.

[0030] As a possible implementation method, based on the battery voltage, the inverter side voltage, and the feedback status of each relay, independent latch switches are controlled to complete high-voltage power-up, including:

[0031] Waiting for a first waiting time, and determining a feedback state of the main negative relay after waiting for the first waiting time;

[0032] According to the feedback state of the main negative relay, the control state of the main negative relay and the voltage on the inverter side, the pre-charge relay is controlled to close;

[0033] After the second waiting time, the feedback state of the pre-charge relay is determined;

[0034] According to the feedback state of the pre-charging relay, the control state of the pre-charging relay and the difference between the battery voltage and the inverter side voltage, the main positive relay is controlled to close;

[0035] After the third waiting period, the feedback state of the main positive relay is determined;

[0036] According to the feedback state of the main positive relay, the control state of the main positive relay and the difference between the battery voltage and the inverter side voltage, the pre-charge relay is controlled to disconnect to complete the high-voltage power-up.

[0037] As a possible implementation, controlling the pre-charge relay to close according to the feedback state of the main negative relay, the control state of the main negative relay, and the inverter side voltage includes:

[0038] A. Determine whether the feedback state of the main negative relay is consistent with the control state. If so, go to step B; otherwise, go to step C.

[0039] B. Determine whether the inverter side voltage is less than a second preset threshold value. If so, execute step D; otherwise, execute step C.

[0040] C. Control the independent latch switch to complete high voltage power-off;

[0041] D. Control the pre-charge relay to close.

[0042] As a possible implementation method, controlling an independent latch switch to complete high voltage power-down includes:

[0043] Waiting for a fourth waiting time, and determining whether the current between the inverter and the battery is less than a fifth preset threshold after waiting for the fourth waiting time;

[0044] If so, based on the preset control times and the preset interval time, the main positive relay, the main negative relay and the pre-charge relay are intermittently controlled to be disconnected until the intermittent control times reach the preset control times to complete the high voltage power-off;

[0045] If not, determine whether the feedback status of the main positive relay, the main negative relay and the pre-charge relay is consistent with the control status. If so, based on the preset control times and the preset interval time, intermittently control the main positive relay, the main negative relay and the pre-charge relay to be disconnected until the intermittent control times reach the preset control times to complete the high voltage power-off;

[0046] If not, based on the preset control times and the preset interval time, the circuit breaker, main positive relay, main negative relay and pre-charge relay are disconnected intermittently until the intermittent control times reach the preset control times to complete the high voltage power-off.

[0047] According to a second aspect of an embodiment of the present application, an electronic device is provided, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, the independent latch switch high-voltage control method described in the first aspect is implemented.

[0048] The beneficial effects of the embodiments of the present application include:

[0049] An embodiment of the present application provides a high-voltage control method for an independent latch switch, which determines whether there is an abnormal reset in the independent latch switch by collecting reset flag information in a reset flag register when the independent latch switch is powered on again; if the reset flag information contains an abnormal reset flag, the feedback status of the main positive relay and the main negative relay in the independent latch switch is obtained in real time to determine whether the main positive relay and the main negative relay are both in a closed state. When the feedback status of the main positive relay and the main negative relay are both in a closed state, the independent latch switch maintains the closed state of the main positive relay and the closed state of the main negative relay to maintain the output state of the independent latch switch before the abnormal reset; if the reset flag information does not contain the abnormal reset flag , the independent latching switch sends a control instruction to the main positive relay, main negative relay, and pre-charge relay to trigger the main positive relay, main negative relay, and pre-charge relay to disconnect. The independent latching switch is then detected in real time based on the circuit breaker status information, the real-time battery voltage and insulation value, the voltage of the inverter charging or discharging the battery, and the feedback status of each relay. If the independent latching switch is faulty, the corresponding protection measures are determined based on the detected fault type to eliminate the fault of the independent latching switch. If the independent latching switch is not faulty, the operating status of each relay in the independent latching switch is controlled based on the operating status of the independent latching switch to enable the independent latching switch to complete high-voltage power-up or high-voltage power-down. Priority is given to determining whether there is an abnormal reset flag in the independent latching switch to eliminate the impact of software abnormal reset and watchdog software reset on the independent latching switch. Furthermore, when there is no abnormal reset, the fault of the independent latching switch is detected to eliminate the fault of the independent latching switch in real time, thereby improving the safety and reliability of the operation of the independent latching switch. In this way, it is possible to detect faults during high voltage power-up or power-down in the independent latching switch in real time and handle the faults in real time, thereby improving the safety and reliability of high voltage control of the independent latching switch. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other relevant drawings can be obtained based on these drawings without creative work.

[0051] Figure 1 A flow chart of a first independent latch switch high voltage control method provided in an embodiment of the present application;

[0052] Figure 2 A flow chart of a second independent latch switch high voltage control method provided in an embodiment of the present application;

[0053] Figure 3A flowchart of a third independent latch switch high voltage control method provided in an embodiment of the present application;

[0054] Figure 4 A flowchart of a fourth independent latch switch high voltage control method provided in an embodiment of the present application;

[0055] Figure 5 A flowchart of a fifth independent latch switch high voltage control method provided in an embodiment of the present application;

[0056] Figure 6 A flowchart of a sixth independent latch switch high voltage control method provided in an embodiment of the present application;

[0057] Figure 7 A flowchart of a seventh independent latch switch high voltage control method provided in an embodiment of the present application;

[0058] Figure 8 A flowchart of an eighth independent latch switch high voltage control method provided in an embodiment of the present application;

[0059] Figure 9 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0060] To make the objectives, technical solutions, and advantages of the embodiments of the present application more clear, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings of the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Generally, the components of the embodiments of the present application described and shown in the drawings herein can be arranged and designed in various different configurations.

[0061] Therefore, the following detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the present application for protection, but merely represents selected embodiments of the present application. All other embodiments obtained by persons of ordinary skill in the art based on the embodiments in the present application without creative work are within the scope of protection of the present application.

[0062] Currently, the high-voltage control mechanism of an independent latching switch is based on the status information data of the battery end and the status information data of the inverter end in the independent latching switch to control the on / off of the high-voltage link in the independent latching switch, thereby achieving high-voltage control of the independent latching switch. Specifically, if the status information data of the battery end or the status information data of the inverter end is abnormal, the independent latching switch controls the high-voltage link to be disconnected; if the software of the independent latching switch is abnormally reset due to software error, watchdog reset, electromagnetic interference, etc. when the inverter end is charging or discharging the battery end, the independent latching switch controls the high-voltage link to be closed, so that the high-voltage link maintains the output status information before the abnormal reset. However, this solution lacks the ability to judge and handle abnormalities during the high-voltage power-up and power-down of the independent latching switch. The on / off of the high-voltage link is controlled solely based on abnormal data from the battery end or the inverter end. This results in low safety and poor reliability of the high-voltage control of the independent latching switch.

[0063] To this end, an embodiment of the present application provides a high-voltage control method for an independent latching switch. When the independent latching switch is powered on again, the reset flag information in the reset flag register is collected to determine whether the independent latching switch is currently abnormally reset; if so, the main positive relay and the main negative relay are controlled to continue to be closed to maintain the output state before the abnormal reset and complete the high-voltage power-on; if not, the main positive relay and the main negative relay are controlled to be disconnected, and the status information of the circuit breaker, the voltage and insulation value of the battery, the inverter side voltage and the feedback status of each relay are obtained to determine whether the independent latching switch has other faults. After the fault of the independent latching switch is cleared, the independent latching switch is controlled to complete the high-voltage power-on, or the independent latching switch is controlled to complete the high-voltage power-off. In this way, it is possible to achieve real-time detection of faults in the high-voltage power-on or high-voltage power-off process of the independent latching switch and handle the faults in real time to improve the safety and reliability of the high-voltage control of the independent latching switch.

[0064] The independent latch switch high voltage control method and electronic device provided in the embodiments of the present application are explained in detail below with reference to the accompanying drawings.

[0065] Figure 1 This is a flow chart of a high-voltage control method for an independent latching switch provided by the present application. The method is used to control the high voltage of an independent latching switch. The independent latching switch includes: a reset flag register, multiple relays, a circuit breaker, a battery, and an inverter. The relays are respectively a main positive relay, a main negative relay, and a pre-charge relay. Figure 1 , an embodiment of the present application provides a high-voltage control method for an independent latching switch, comprising:

[0066] Optionally, the independent latching switch is composed of multiple relays, a circuit breaker, a battery, an inverter, and a reset flag register. The multiple relays include a main positive relay, a main negative relay, and a pre-charge charger. The main positive relay and the main negative relay serve as bilateral drive relays for the independent latching switch. The main positive relay and the main negative relay work together to ensure effective output and maintain output of the independent latching switch. The pre-charge relay is used to pre-start the high-voltage power-up of the independent latching switch.

[0067] Optionally, when both the main positive relay and the main negative relay are closed, the high-voltage link in the independent latching switch is turned on; when either the main positive relay or the main negative relay is turned off, the high-voltage link in the independent latching switch is turned off.

[0068] Optionally, both the main positive relay and the main negative relay are double-ended drive relays, each with two output pins. When the output pins output 1 and 0, the double-ended drive relay closes; when the output pins output 0 and 1, the double-ended drive relay opens; when the output pins output 1 and 1, the double-ended drive relay maintains the output state, and the independent latching switch does not need to be powered. Double-ended drive relays offer advantages such as power conservation, stable performance, and long life. After the control is switched on and off, the double-ended drive relays continue to output. If the independent latching switch is abnormally reset, the main positive relay and main negative relay maintain the output state prior to the abnormal reset.

[0069] Optionally, if the independent latching switch cannot maintain the charge and discharge output state before the abnormal reset, that is, the main positive relay and the main negative relay are disconnected, the high-voltage link of the independent latching switch is disconnected, and the voltage on the inverter side cannot be discharged, the inverter will explode and cause a safety accident.

[0070] Optionally, a pre-charge relay is used to ensure voltage balance at the battery terminals in the independent latching switch, allowing the independent latching switch to follow the principle of pre-charging before powering up. This ensures that when the high-voltage link of the independent latching switch is turned on, there will be no high-voltage or low-voltage surges. Furthermore, the pre-charge relay can prevent single-cell batteries from overcharging or over-discharging, effectively extending battery life and ensuring the safety of the high-voltage link in the independent latching switch.

[0071] S101. Acquire reset flag information in a reset flag register, circuit breaker status information, battery voltage and insulation value, inverter side voltage, and feedback status information of each relay. The reset flag information is used to indicate an abnormal reset flag in an independent latch switch.

[0072] Optionally, software is introduced into the independent latching switch to control the on / off of each relay in the independent latching switch based on the software's operating logic, thereby completing the high-voltage power-up and high-voltage power-down of the independent latching switch. Specifically, a software watchdog mechanism is introduced into the independent latching switch. The software watchdog mechanism is used to monitor the software's operating status in real time. If the software watchdog mechanism is not fed for a preset time, the software watchdog mechanism is triggered to reset. This ensures that the software can still be safely reset under abnormal operating conditions. Abnormal software operation or electromagnetic interference will cause the independent latching switch software to reset abnormally. When the software is reset and the software watchdog is reset, a reset flag is written to the reset flag register.

[0073] Optionally, the reset flag register is used to read the reset flag of the software watchdog and the software reset flag in real time when the independent latch switch is powered on again. The reset flag register is used to store the abnormal reset flag in the independent latch switch. The reset flag information includes the reset flag of the software watchdog and the reset flag of the software.

[0074] Optionally, the status information of the circuit breaker is used to indicate the real-time operating status of the circuit breaker in the independent latching switch. The status information of the circuit breaker may be the circuit breaker being closed or the circuit breaker being disconnected. The status information of the circuit breaker is determined by the working status of the circuit breaker. The voltage of the battery is used to indicate the real-time voltage value of the battery. The insulation value of the battery is used to indicate the insulation value corresponding to the battery being in an insulating state. The voltage on the inverter side is used to indicate the voltage value of charging or discharging from the inverter end to the battery end. The feedback status information of the relay is used to indicate the actual operating status of the relay, that is, the operating status data fed back by the relay to the software. The feedback status of the relay includes the relay being closed or the relay being disconnected.

[0075] S102: Determine whether the independent latch switch is abnormally reset according to the reset flag information.

[0076] Optionally, whether the independent latch switch has been abnormally reset is determined based on whether the reset flag information stored in the reset flag register includes a reset flag. If the reset flag information stored in the reset flag register includes the reset flag, it is determined that the independent latch switch has been abnormally reset; if the reset flag information stored in the reset flag register does not include the reset flag, it is determined that the independent latch switch has not been abnormally reset.

[0077] S103. If not, send a control instruction to the main positive relay, the main negative relay and the pre-charge relay to trigger the main positive relay, the main negative relay and the pre-charge relay to disconnect, and perform fault detection on the independent latching switch according to the status information of the circuit breaker, the voltage and insulation value of the battery, the inverter side voltage and the feedback status information of each relay, and control the independent latching switch to complete the high-voltage power-on when there is no fault in the independent latching switch, or control the independent latching switch to complete the high-voltage power-off.

[0078] Optionally, if it is determined that there is no abnormal reset flag in the independent latching switch, the independent latching switch sends a control instruction to the main positive relay, the main negative relay and the pre-filling relay, and the control instruction is used to control the instructions for disconnecting the main positive relay, the main negative relay and the pre-filling relay. Among them, under the action of the control instruction, the main positive relay, the main negative relay and the pre-filling relay are disconnected, and the disconnection of the main positive relay, the main negative relay and the pre-filling relay is controlled. It is worth noting that the state in which the control instruction indicates that the main positive relay is disconnected is the control state corresponding to the main positive relay, the state in which the control instruction indicates that the main negative relay is disconnected is the control state corresponding to the main negative relay, and the state in which the control instruction indicates that the pre-filling relay is disconnected is the control state corresponding to the pre-filling relay.

[0079] Optionally, after the independent latching switch controls the main positive relay, the main negative relay and the pre-charge relay to disconnect, the independent latching switch monitors the fault status in the independent latching switch according to the status information of the circuit breaker, the real-time voltage of the battery and the insulation value of the battery, the real-time voltage of the inverter charging or discharging the battery and the actual operating status of each relay, and then takes corresponding measures to eliminate the fault in a targeted manner according to the detected fault.

[0080] Optionally, if it is determined that neither an abnormal reset flag nor other faults exist in the independent latching switch, the operating state of the independent latching switch is detected, and the state of the independent latching switch to be operated is determined to be high-voltage power-on or high-voltage power-off. The operating state of each relay is controlled according to the operating state of the independent latching switch to complete the high-voltage power-on or high-voltage power-off of the independent latching switch. Among them, high-voltage power-on is used to indicate that the high-voltage link in the independent latching switch is conductive, allowing the inverter to control the charging and discharging of the battery; high-voltage power-off refers to the case where the highest level of fault occurs in the independent latching switch during or after the high-voltage power-on process, and the high-voltage link in the independent latching switch is disconnected, the fault is repaired and repaired, and the high-voltage power is re-applied after the fault is eliminated.

[0081] S104. If yes, determine whether the main positive relay and the main negative relay are both in the closed state based on the feedback status information of the main positive relay and the main negative relay. If yes, maintain the closed state of the main positive relay and the main negative relay to maintain the output state of the independent latch switch before the abnormal reset.

[0082] Optionally, if it is determined that the independent latching switch has been abnormally reset, it is necessary to control the independent latching switch to maintain the output state before the abnormal reset. The independent latching switch determines whether the actual operating state of the main positive relay is closed based on the actual operating state fed back by the main positive relay; the independent latching switch also determines whether the actual operating state of the main negative relay is closed based on the actual operating state fed back by the main negative relay.

[0083] Optionally, if the independent latching switch determines that the feedback state of the main positive relay is in a closed state, and the feedback state of the main negative relay is also in a closed state, the independent latching switch maintains the closed state of the main positive relay and the closed state of the main negative relay to maintain the output state before the abnormal reset of the independent latching switch, thereby improving the stability and reliability of the operation of the independent latching switch.

[0084] In the embodiment of the present application, by collecting the reset flag information in the reset flag register when the independent latch switch is powered on again, it is determined whether the independent latch switch is currently abnormally reset; if the reset flag information contains the abnormal reset flag, the feedback status of the main positive relay and the main negative relay in the independent latch switch is obtained in real time to determine whether the main positive relay and the main negative relay are both in the closed state. When the feedback status of the main positive relay and the main negative relay are both in the closed state, the independent latch switch maintains the closed state of the main positive relay and the closed state of the main negative relay to maintain the output state of the independent latch switch before the abnormal reset; if the reset flag information does not contain the abnormal reset flag, the independent The latching switch sends control instructions to the main positive relay, main negative relay, and pre-charge relay to trigger the main positive relay, main negative relay, and pre-charge relay to disconnect. The latching switch also detects faults in the independent latching switch in real time based on circuit breaker status information, the real-time battery voltage and insulation value, the voltage at which the inverter charges or discharges the battery, and the feedback status of each relay. If the independent latching switch is faulty, the corresponding protection measures are determined based on the detected fault type to eliminate the fault. If the independent latching switch is not faulty, the operating status of each relay in the independent latching switch is controlled based on the operating status of the independent latching switch to enable the independent latching switch to complete high-voltage power-up. When the independent latching switch is powered on again, the system prioritizes determining whether an abnormal reset flag is present in the independent latching switch to eliminate the impact of software abnormal resets and watchdog software resets on the independent latching switch. If no abnormal reset occurs, the system detects faults in the independent latching switch to eliminate the faults in real time, thereby improving the safety and reliability of the independent latching switch's operation. In this way, it is possible to detect faults during high voltage power-up or power-down in the independent latching switch in real time and handle the faults in real time, thereby improving the safety and reliability of high voltage control of the independent latching switch.

[0085] In one possible implementation, see Figure 2 The operation of step S102 may specifically be:

[0086] S201: If the reset flag information includes an abnormal reset flag, the independent latch switch has an abnormal reset.

[0087] Optionally, when the independent latch switch is powered on again at high voltage, a software abnormal reset or a watchdog software reset may occur in the independent latch switch to generate an abnormal reset flag, and the reset flag register reads the abnormal reset flag in real time.

[0088] Optionally, if the reset flag information stored in the reset flag register in the independent latch switch includes an abnormal reset flag, that is, a software abnormal reset may occur in the independent latch switch, a watchdog software reset may also occur, or a software abnormal reset and a watchdog software reset may occur simultaneously.

[0089] Optionally, if the reset flag information stored in the reset flag register in the independent latch switch includes an abnormal reset flag, the independent latch switch has an abnormal reset, and the independent latch switch needs to quickly maintain the output state before the abnormal reset to prevent the independent latch switch from suddenly losing power under abnormal reset and damaging other electronic devices.

[0090] S202: If the reset flag information does not include an abnormal reset flag, the independent latch switch does not have an abnormal reset.

[0091] Optionally, if the reset flag information stored in the reset flag register of the independent latch switch does not include an abnormal reset flag, that is, neither a software abnormal reset nor a watchdog software reset occurs in the independent latch switch.

[0092] Optionally, if the reset flag information stored in the reset flag register of the independent latch switch does not include an abnormal reset flag, the independent latch switch does not have an abnormal reset, and the independent latch switch does not need to maintain the output state before the abnormal reset.

[0093] In one possible implementation, see Figure 3 The operation of step S103 may specifically be:

[0094] S301: Perform a first fault detection based on the battery voltage, the inverter side voltage, the feedback status of each relay, and the status of the circuit breaker to determine a first fault detection result.

[0095] Optionally, the first fault detection is used to detect whether there is a fault in the battery voltage in the independent latching switch, or to detect whether there is a fault in the inverter side voltage in the independent latching switch, or to detect whether there is a fault in the feedback status of each relay in the independent latching switch and the real-time status of the circuit breaker.

[0096] Optionally, the first fault detection result includes a fault detection result of the voltage of the battery in the independent latching switch, a fault detection result of the inverter side voltage, and a fault detection result of the feedback status of each relay and the real-time status of the circuit breaker.

[0097] Optionally, if any of the fault detection results of the battery voltage in the independent latching switch, the fault detection results of the inverter side voltage, and the fault detection results of the feedback status of each relay and the real-time status of the circuit breaker is faulty, the first fault detection result is that a fault exists; if none of the fault detection results of the battery voltage in the independent latching switch, the fault detection results of the inverter side voltage, and the fault detection results of the feedback status of each relay and the real-time status of the circuit breaker is faulty, the first fault detection result is that no fault exists.

[0098] S302: If the first fault detection result is that no fault exists, perform a second fault detection based on the insulation value of the battery to determine a second fault detection result.

[0099] Optionally, when no fault exists in the first fault detection result of the independent latching switch, whether there is an insulation fault in the battery in the independent latching switch is further detected according to the insulation value of the battery in the independent latching switch.

[0100] Optionally, the second fault detection is used to indicate insulation fault detection of a battery in the independent latching switch, and the second fault detection result is used to indicate the insulation fault detection result of the battery in the independent latching switch. If an insulation fault exists in the battery in the independent latching switch, the second fault detection result is a fault exists; if an insulation fault does not exist in the battery in the independent latching switch, the second fault detection result is a fault does not exist.

[0101] S303: If the second fault detection result is that no fault exists, perform a third fault detection based on the inverter side voltage to determine a third fault detection result.

[0102] Optionally, after the first fault detection result in the independent latching switch is that there is no fault and the second fault detection result also shows that there is no fault, a third fault detection is performed based on the inverter side voltage. The third fault detection is used to detect whether the inverter side voltage meets the high-voltage power-on requirement. The third fault detection result is used to indicate whether the inverter side voltage meets or does not meet the high-voltage power-on requirement.

[0103] Optionally, if the voltage on the inverter side meets the high-voltage power-on requirement, the third fault detection result is that no fault exists; if the voltage on the inverter side does not meet the high-voltage power-on requirement, the third fault detection result is that a fault exists.

[0104] S304: If the third fault detection result is no fault, the main negative relay is controlled to close, and the independent latching switch is controlled to complete high voltage power-on according to the battery voltage, the inverter side voltage and the feedback status of each relay.

[0105] Optionally, after determining that the inverter side voltage meets high-voltage charging requirements, the main negative relay is controlled to close to ensure the safety of the operation of the independent latching switch. According to the battery voltage, the inverter side voltage and the feedback status of each relay, the independent latching switch is controlled to complete high-voltage power-on.

[0106] In one possible implementation, see Figure 4 The operation of step S301 may specifically be:

[0107] S401. Determine whether the battery voltage is less than a first preset threshold. If so, determine that a first fault detection result indicates a fault exists, and the fault level is a level corresponding to the battery voltage.

[0108] Optionally, the first preset threshold is a battery voltage threshold set in advance by an operator or manufacturer, and the first preset threshold is used to indicate the minimum voltage limit of the battery when each relay in the independent latching switch is disconnected, and based on the comparison result of the battery voltage value with the first preset threshold, it is determined whether the battery voltage is abnormal when each relay is disconnected.

[0109] Optionally, if the voltage of the battery in the independent latching switch is less than a first preset threshold, it is determined that there is a fault in the first fault detection result, and the fault is a battery fault. The level of the battery fault is determined according to the voltage value of the battery. The smaller the voltage value of the battery, the more serious the battery fault.

[0110] S402: If not, determine whether the inverter side voltage is greater than a second preset threshold; if so, determine that the first fault detection result is that a fault exists, and the fault level is the level corresponding to the inverter side voltage.

[0111] Optionally, the second preset threshold is an inverter side voltage threshold set in advance by an operator or manufacturer, and the second preset threshold is used to indicate the maximum limit of the inverter side voltage when each relay in the independent latching switch is disconnected, and based on the comparison result of the voltage value of the inverter side voltage with the second preset threshold, it is determined whether the inverter side voltage is abnormal under the condition that each relay is disconnected.

[0112] Optionally, if the inverter side voltage in the independent latching switch is greater than a second preset threshold, it is determined that there is a fault in the first fault detection result, and the fault is an inverter side voltage fault. The level of the inverter side voltage fault is determined according to the inverter side voltage. The larger the inverter side voltage value, the more serious the inverter side voltage fault.

[0113] S403. If not, determine whether there is at least one relay whose feedback state is closed or the circuit breaker whose state is open. If there is at least one relay whose feedback state is closed or the circuit breaker whose state is open, determine that the first fault detection result is that a fault exists and the fault level is the highest level. Wait for the fault to automatically recover and then re-apply high voltage power. Otherwise, determine that the first fault detection result is that no fault exists.

[0114] Optionally, it is determined whether the actual operating status fed back by each relay is consistent with the disconnected status indicated by the control instruction, and whether the operating status of the circuit breaker is the disconnected state. If the feedback status of at least one of the main positive relay, the main negative relay and the pre-charge relay is in the closed state, that is, the feedback status of at least one of the main positive relay, the main negative relay and the pre-charge relay is inconsistent with the control status, or the operating status of the circuit breaker is the disconnected state, then at least one relay or circuit breaker in the independent latching switch is not controlled, and the first fault detection result of the independent latching switch is the highest level fault, and the highest level fault is used to indicate the most serious fault in the independent latching switch.

[0115] Optionally, when the highest level fault exists in the independent latching switch and before the independent latching switch enters insulation detection, the independent latching switch waits for the highest level fault to be automatically eliminated before controlling the independent latching switch to be powered on again.

[0116] Optionally, if the feedback status of the main positive relay, the main negative relay, and the pre-charge relay are all disconnected, that is, the feedback status of the main positive relay, the main negative relay, and the pre-charge relay are consistent with the control status, and the operating status of the circuit breaker is closed, then each relay in the independent latching switch operates normally, and the independent latching switch does not have the highest level of fault.

[0117] In one possible implementation, see Figure 5 The operation of step S302 may specifically be:

[0118] S501. Determine whether the insulation value of the battery is less than a third preset threshold. If so, determine that the second fault detection result is a fault, and the fault level is the level corresponding to the insulation value.

[0119] Optionally, the third preset threshold is an insulation threshold set in advance by an operator or a manufacturer, and the insulation detection result of the battery is determined based on a comparison result between the insulation value of the battery and the third preset threshold.

[0120] Optionally, the second fault detection result is used to indicate the insulation detection result of the battery. When the insulation value of the battery is less than a pre-set insulation value threshold, it is determined that an insulation fault occurs in the battery in the independent latching switch. The fault level of the battery insulation fault is determined by the insulation value of the battery.

[0121] Optionally, the fault level of the battery insulation fault is used to indicate the severity of the insulation fault of the battery in the independent latching switch. The insulation value of the battery exceeds a third preset threshold, and the smaller the insulation value of the battery, the more serious the insulation fault of the battery.

[0122] S502: If not, determine that the second fault detection result is that there is no fault.

[0123] Optionally, if the insulation value of the battery in the independent latching switch is greater than or equal to a preset insulation threshold, the insulation of the battery in the independent latching switch is normal, and the battery insulation detection result of the independent latching switch does not contain an insulation fault.

[0124] In one possible implementation, see Figure 6 The operation of step S303 may specifically be:

[0125] S601. Determine whether the inverter side voltage is less than a fourth preset threshold. If not, determine that the third fault detection result is that a fault exists, and the fault level is the level corresponding to the inverter side voltage.

[0126] Optionally, the fourth preset threshold is a voltage threshold of the inverter side voltage set in advance by an operator or manufacturer, and the fourth preset threshold is used to indicate the voltage limit of the inverter side voltage when each relay in the independent latching switch is disconnected, and based on the comparison result of the voltage value of the inverter side voltage and the fourth preset threshold, it is determined whether the inverter side voltage meets the high-voltage power-on condition of the independent latching switch when each relay is disconnected.

[0127] Optionally, if the inverter side voltage in the independent latching switch is greater than or equal to a fourth preset threshold, it is determined that a fault exists in the third fault detection result, and the level of the fault is determined according to the voltage value of the inverter side voltage. The larger the voltage value of the inverter side voltage, the more serious the fault.

[0128] S602: If yes, determine that the third fault detection result is that no fault exists, and control the main negative relay to close.

[0129] Optionally, if the inverter side voltage in the independent latching switch is less than a fourth preset threshold, the independent latching switch meets the initial conditions for high-voltage power-on, controls the main negative relay to close, and grounds the independent latching switch, thereby ensuring stable operation of the high-voltage power-on of the independent latching switch.

[0130] In one possible implementation, see Figure 7 The operation of step S304 may specifically be:

[0131] S701: Wait for a first waiting time, and determine the feedback state of the main negative relay after waiting for the first waiting time.

[0132] Optionally, the first waiting time is an artificially set waiting time for judging the state of the main negative relay. The first waiting time may be 1 second, 1.5 seconds, etc. This application does not make any specific limitation on this.

[0133] Optionally, after waiting for the first waiting period, the independent latching switch reacquires the feedback state of the main negative relay and compares the reacquired feedback state of the main negative relay with the control state of the main negative relay. The feedback state of the main negative relay is the real-time operating state of the main negative relay.

[0134] S702 : Control the pre-charge relay to close according to the feedback state of the main negative relay, the control state of the main negative relay, and the inverter side voltage.

[0135] Optionally, based on the comparison result of the feedback state of the main negative relay and the control state of the main negative relay, it is determined whether the feedback state and the control state of the main negative relay are consistent, and the process is repeated until it is determined that the feedback state and the control state of the main negative relay are consistent, and then it is further judged whether the voltage on the inverter side meets the high-voltage power-on requirement of the independent latching switch, and when the voltage on the inverter side meets the high-voltage power-on requirement of the independent latching switch, the pre-charging relay is controlled to close, and the independent latching switch is started to enter the high-voltage charging preparation stage.

[0136] S703: After the second waiting period, determine the feedback status of the pre-charging relay.

[0137] Optionally, the second waiting time is a pre-charge relay status judgment waiting time set manually. The second waiting time can be 1 second, 2 seconds, etc., and this application does not make specific limitations on this.

[0138] Optionally, after waiting for the second waiting period, the independent latching switch reacquires the feedback state of the pre-filling relay and compares the reacquired feedback state of the pre-filling relay with the control state of the pre-filling relay. The feedback state of the pre-filling relay is the real-time operating state of the pre-filling relay.

[0139] S704 , controlling the main positive relay to close according to the feedback state of the pre-charging relay, the control state of the pre-charging relay, and the difference between the battery voltage and the inverter side voltage.

[0140] Optionally, based on the comparison result of the feedback state of the pre-charging relay and the control state of the pre-charging relay, it is determined whether the feedback state and the control state of the pre-charging relay are consistent, and the traversal is repeated until it is determined that the feedback state of the pre-charging relay is consistent with the control state, and then it is further judged whether the difference between the battery voltage and the inverter side voltage meets the high-voltage power-on state of the independent latching switch, and when the difference between the battery voltage and the inverter side voltage meets the high-voltage power-on state of the independent latching switch, the main positive relay is controlled to close, and the independent latching switch starts to start the high-voltage power-on.

[0141] S705: After the third waiting period, determine the feedback status of the main positive relay.

[0142] Optionally, the third waiting time is a manually set waiting time for judging the state of the main positive relay. The third waiting time can be 1 second, 1.5 seconds, 2 seconds, etc., and this application does not make any specific restrictions on this. It is worth noting that the first waiting time, the second waiting time, and the third waiting time can be set to be the same or different, and can be set according to the response time of each relay. This application does not make any specific restrictions on this.

[0143] Optionally, after waiting for the third waiting period, the independent latching switch reacquires the feedback state of the main positive relay and compares the reacquired feedback state of the main positive relay with the control state of the main positive relay. The feedback state of the main positive relay is the real-time operating state of the main positive relay.

[0144] S706 , according to the feedback state of the main positive relay, the control state of the main positive relay, and the difference between the battery voltage and the inverter side voltage, control the pre-charge relay to disconnect to complete high-voltage power-up.

[0145] Optionally, based on the comparison result of the feedback state of the main positive relay and the control state of the main positive relay, it is determined whether the feedback state and the control state of the main positive relay are consistent, and the traversal is repeated until it is determined that the feedback state of the main positive relay is consistent with the control state, and the difference between the battery voltage and the inverter side voltage is further judged. When the difference between the battery voltage and the inverter side voltage meets the high-voltage power-on of the independent latching switch, the pre-charge relay is controlled to disconnect, the independent latching switch starts the high-voltage power-on, and the independent latching switch completes the high-voltage power-on.

[0146] In a possible implementation, the operation of step S702 may specifically be:

[0147] A. Determine whether the feedback state of the main negative relay is consistent with the control state. If so, execute step B; otherwise, execute step C.

[0148] Optionally, the feedback state of the main negative relay is the actual operating state of the main negative relay, and the control state of the main negative relay is the operating state indicated by the most recent control instruction on the timeline of the main negative relay. It is determined whether the actual operating state of the main negative relay is a closed state. If so, the feedback state of the main negative relay is consistent with the control state, and step B is further executed; if so, the feedback state of the main negative relay is inconsistent with the control state, and the independent latching switch has the highest level of fault. Step C is executed to control the independent latching switch to enter the high-voltage power-off stage.

[0149] B. Determine whether the inverter side voltage is less than a second preset threshold. If so, execute step D; otherwise, execute step C.

[0150] Optionally, determine whether the voltage on the inverter side meets the second preset threshold. If so, determine that the independent latching switch meets the initial conditions for high-voltage power-on, execute step D, and the independent latching switch controls the pre-charge relay to close, so that the independent latching switch enters the high-voltage power-on preparation stage; if not, determine that the independent latching switch does not meet the high-voltage power-on process, and report a serious fault, and execute step C.

[0151] C. Control the independent latch switch to complete high voltage power-off.

[0152] D. Control the pre-charge relay to close.

[0153] It is worth noting that when the independent latch switch is powered on, the independent latch switch is in the initialization stage. During the initialization stage, the reset flag information in the reset flag register of the independent latch switch is read. If there is an abnormal reset flag in the independent latch switch, it is further determined whether the feedback status of the main positive relay and the main negative relay is consistent with the closed state indicated by the control state. If they are consistent, the high-voltage power-on of the independent latch switch is completed. If they are inconsistent, it is further determined whether there is a relay among the main positive relay, the main negative relay, and the pre-charge relay whose feedback status is inconsistent with the closed state indicated by the control state, or whether the state of the circuit breaker is closed, or whether the voltage at the battery end meets the battery voltage threshold, or whether the voltage on the inverter side meets the inverter voltage threshold, and the corresponding fault information is reported. The independent latch switch The switch is turned off and waits for the fault to be eliminated. If the fault is eliminated, the independent latch switch is powered on again. If there is no problem in the initialization phase of high-voltage power-on of the independent latch switch, the insulation value of the battery end of the independent latch switch is further detected to determine whether the insulation value of the battery end meets the preset insulation threshold. If it meets the threshold, high-voltage power-on is continued. If it does not meet the threshold, the corresponding fault is reported and the switch waits for the fault to be eliminated. If the fault is eliminated, the independent latch switch is powered on again. If there is no problem in the initialization phase and insulation detection of high-voltage power-on of the independent latch switch, the independent latch switch starts the high-voltage power-on process. If there is no fault in the high-voltage power-on process, the high-voltage power-on is completed. If the highest level fault occurs during the high-voltage power-on process, the high-voltage power-off process is entered, or if the highest level fault occurs in the independent latch switch after the high-voltage power-on is completed, the independent latch switch enters the high-voltage power-off process.

[0154] In one possible implementation, see Figure 8 The operation of step S103 may specifically be:

[0155] S801: Wait for a fourth waiting time, and after waiting for the fourth waiting time, determine whether the current between the inverter and the battery is less than a fifth preset threshold.

[0156] Optionally, the fourth waiting time is an artificially set high voltage power-down waiting time. The fourth waiting time may be 3 seconds, 5 seconds, etc., and this application does not make any specific limitation on this.

[0157] Optionally, after waiting for a fourth waiting period, it is determined whether the transmission current value between the inverter and the battery is less than a fifth preset threshold value. The fifth preset threshold value is used to indicate a minimum limit of the transmission current between the inverter and the battery when the independent latching switch is powered off at high voltage.

[0158] S802: If yes, then based on the preset control times and the preset interval time, the main positive relay, the main negative relay and the pre-charge relay are intermittently controlled to be disconnected until the intermittent control times reach the preset control times to complete the high voltage power-off.

[0159] Optionally, the preset number of controls is used to indicate the number of times each relay is controlled to be disconnected. Each relay must be controlled to be disconnected through the preset number of controls in order to complete the discharge of high voltage electricity in the independent latching switch; the preset interval duration is used to indicate the duration of the interval between each control of the relay disconnection. The preset number of controls can be 3 times, 5 times, etc., and the preset interval duration can be 1 second, 2 seconds, 3 seconds, etc. This application does not make any specific restrictions on this.

[0160] Optionally, if the transmission current between the inverter and the battery is less than the fifth preset threshold, the independent latching switch meets the high-voltage power-off state, and then repeatedly controls the disconnection of each relay based on the duration indicated by the preset interval duration until the number of controls reaches the preset number of controls, and the independent latching switch completes the high-voltage power-off.

[0161] S803. If not, determine whether the feedback status of the main positive relay, main negative relay and pre-charge relay is consistent with the control status. If so, based on the preset control times and the preset interval time, intermittently control the main positive relay, main negative relay and pre-charge relay to be disconnected until the intermittent control times reaches the preset control times to complete the high voltage power-off.

[0162] Optionally, if the transmission current between the inverter and the battery is greater than or equal to the fifth preset threshold, it is further determined whether the comparison result of the feedback state and the control state of each relay is the highest level of fault. If the fault detection result of the independent latching switch shows the highest level of fault, and the transmission current between the inverter and the battery in the independent latching switch indicates that the independent latching switch is not in the high-voltage power-on state, then the disconnection of each relay is repeatedly controlled based on the duration indicated by the preset interval duration until the number of controls reaches the preset number of controls, and the independent latching switch completes the high-voltage power-off.

[0163] S804: If not, based on the preset control times and the preset interval time, the circuit breaker, the main positive relay, the main negative relay and the pre-charge relay are intermittently controlled to be disconnected until the intermittent control times reach the preset control times to complete the high voltage power-off.

[0164] Optionally, if the transmission current between the inverter and the battery is greater than or equal to the fifth preset threshold, and the fault detection result of the independent latching switch does not have the highest level of fault, the disconnection of each relay is repeatedly controlled based on the duration indicated by the preset interval duration until the number of controls reaches the preset number of controls, and the independent latching switch completes the high-voltage power-off.

[0165] Figure 9 This is a schematic diagram of the structure of an electronic device provided by an embodiment of the present application. Figure 9 The electronic device includes: a memory 901 and a processor 902. The memory 901 stores a computer program that can be run on the processor 902. When the processor 902 executes the computer program, the steps in any of the above method embodiments are implemented.

[0166] The above are only specific embodiments of the present application, but the scope of protection of this application is not limited to them. Any changes or substitutions that can be easily conceived by any person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.

[0167] The above description is merely a preferred embodiment of the present application and is not intended to limit the present application. Various modifications and variations are possible for those skilled in the art. Any modifications, equivalent substitutions, or improvements made within the spirit and principles of the present application shall be included within the scope of protection of the present application.

Claims

1. A high voltage control method for an independent latch switch, characterized in that: The method is used to perform high voltage control on an independent latching switch, wherein the independent latching switch includes: a reset flag register, multiple relays, a circuit breaker, a battery, and an inverter, wherein the multiple relays include: a main positive relay, a main negative relay, and a pre-charge relay; and the method includes: Acquire reset flag information in the reset flag register, status information of the circuit breaker, voltage and insulation value of the battery, voltage on the inverter side, and feedback status information of each relay, wherein the reset flag information is used to indicate an abnormal reset flag in the independent latch switch; determining, based on the reset flag information, whether the independent latch switch has been abnormally reset; If not, a control instruction is sent to the main positive relay, the main negative relay and the pre-charge relay to trigger the main positive relay, the main negative relay and the pre-charge relay to be disconnected, and a fault detection is performed on the independent latching switch according to the status information of the circuit breaker, the voltage and insulation value of the battery, the inverter side voltage and the feedback status information of each relay, and when there is no fault in the independent latching switch, the independent latching switch is controlled to complete high-voltage power-on, or the independent latching switch is controlled to complete high-voltage power-off; If so, determine whether the main positive relay and the main negative relay are both in a closed state based on the feedback status information of the main positive relay and the main negative relay. If so, maintain the closed state of the main positive relay and the main negative relay to maintain the output state before the independent latch switch is abnormally reset.

2. The independent latch switch high voltage control method according to claim 1, characterized in that: The determining, based on the reset flag information, whether the independent latch switch has been abnormally reset includes: If the reset flag information includes an abnormal reset flag, the independent latch switch has an abnormal reset; If the reset flag information does not include an abnormal reset flag, the independent latch switch does not undergo abnormal reset.

3. The independent latch switch high voltage control method according to claim 1, characterized in that: The method of performing fault detection on the independent latching switch according to the status information of the circuit breaker, the voltage and insulation value of the battery, the inverter side voltage, and the feedback status information of each relay, and controlling the independent latching switch to complete high-voltage power-on when no fault occurs in the independent latching switch, includes: performing a first fault detection according to the battery voltage, the inverter side voltage, the feedback status of each relay, and the status of the circuit breaker, and determining a first fault detection result; If the first fault detection result is that no fault exists, performing a second fault detection according to the insulation value of the battery to determine a second fault detection result; If the second fault detection result is that no fault exists, performing a third fault detection according to the inverter side voltage to determine a third fault detection result; If the third fault detection result is that there is no fault, the main negative relay is controlled to close, and the independent latching switch is controlled to complete high voltage power-on according to the battery voltage, the inverter side voltage and the feedback status of each relay.

4. The independent latch switch high voltage control method according to claim 3, characterized in that: The performing a first fault detection according to the battery voltage, the inverter side voltage, the feedback status of each relay, and the status of the circuit breaker, and determining a first fault detection result includes: determining whether the voltage of the battery is less than a first preset threshold, and if so, determining that the first fault detection result is a fault, and the fault level is a level corresponding to the voltage of the battery; If not, determining whether the inverter side voltage is greater than a second preset threshold; if so, determining that the first fault detection result is a fault, and the fault level is the level corresponding to the inverter side voltage; If not, determine whether the feedback state of at least one relay is closed or the state of the circuit breaker is open. If the feedback state of at least one relay is closed or the state of the circuit breaker is open, determine that the first fault detection result is that a fault exists, and the fault level is the highest level. Wait for the fault to automatically recover and then re-apply high voltage power. Otherwise, determine that the first fault detection result is that no fault exists.

5. The independent latch switch high voltage control method according to claim 3, characterized in that: The performing a second fault detection according to the insulation value of the battery and determining a second fault detection result includes: determining whether the insulation value of the battery is less than a third preset threshold, and if so, determining that the second fault detection result is a fault, and the fault level is the level corresponding to the insulation value; If not, it is determined that the second fault detection result is that there is no fault.

6. The independent latch switch high voltage control method according to claim 3, characterized in that: The performing a third fault detection according to the inverter side voltage and determining a third fault detection result includes: determining whether the inverter-side voltage is less than a fourth preset threshold; if not, determining that the third fault detection result is a fault, and the fault level is a level corresponding to the inverter-side voltage; If so, it is determined that the third fault detection result is that there is no fault, and the main negative relay is controlled to be closed.

7. The independent latch switch high voltage control method according to claim 3, characterized in that: The controlling of the independent latching switch to complete high-voltage power-up according to the battery voltage, the inverter side voltage, and the feedback status of each relay includes: Waiting for a first waiting time, and determining the feedback state of the main negative relay after waiting for the first waiting time; Controlling the pre-charging relay to close according to the feedback state of the main negative relay, the control state of the main negative relay, and the inverter side voltage; Determining the feedback state of the pre-charging relay after a second waiting period; Controlling the main positive relay to close according to the feedback state of the pre-charging relay, the control state of the pre-charging relay, and the difference between the battery voltage and the inverter side voltage; After a third waiting period, determining a feedback state of the main positive relay; According to the feedback state of the main positive relay, the control state of the main positive relay, and the difference between the battery voltage and the inverter side voltage, the pre-charge relay is controlled to be disconnected to complete high-voltage power-up.

8. The independent latch switch high voltage control method according to claim 7, characterized in that: The controlling the pre-charging relay to close according to the feedback state of the main negative relay, the control state of the main negative relay, and the inverter side voltage includes: A. Determine whether the feedback state of the main negative relay is consistent with the control state. If so, execute step B; otherwise, execute step C; B. Determine whether the inverter side voltage is less than a second preset threshold; if so, execute step D; otherwise, execute step C; C. Controlling the independent latch switch to complete high voltage power-off; D. Control the pre-charge relay to close.

9. The independent latch switch high voltage control method according to any one of claims 1 to 8, characterized in that: The controlling the independent latch switch to complete high voltage power-off includes: Waiting for a fourth waiting time, and determining whether the current between the inverter and the battery is less than a fifth preset threshold after waiting for the fourth waiting time; If so, based on a preset number of control times and a preset interval time, the main positive relay, the main negative relay and the pre-charge relay are intermittently controlled to be disconnected until the number of intermittent control times reaches the preset number of control times, so as to complete the high voltage power-off; If not, determine whether the feedback status of the main positive relay, the main negative relay and the pre-charge relay is consistent with the control status. If so, based on the preset control times and the preset interval time, intermittently control the main positive relay, the main negative relay and the pre-charge relay to be disconnected until the intermittent control times reach the preset control times to complete the high voltage power-off; If not, based on the preset control times and the preset interval time, the circuit breaker, the main positive relay, the main negative relay and the pre-charge relay are intermittently controlled to be disconnected until the intermittent control times reach the preset control times to complete the high voltage power-off.

10. An electronic device, characterized in that: The electronic device includes: a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and when the processor executes the computer program, the steps of the method described in any one of claims 1 to 9 are implemented.

Citation Information

Patent Citations

  • Power-on automatic switching circuit of magnetic latching relay

    CN110148543A

  • Vehicle power supply system fault diagnosis method, system, device and medium

    CN114047454A