Independent latch switch high-voltage control method and electronic equipment

By real-time detection of the reset flag and fault information of the independent latch switch, the on and off of the relay is solved, and the safety of the high-voltage control in the existing technology is achieved, and the safety of the high-voltage link of the independent latch switch is achieved. and reliability improvement.

CN118969559AActive Publication Date: 2024-11-15ZHUHAI PILOT TECH

Patent Information

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

AI Technical Summary

Technical Problem

The prior art lacks the ability to judge and handle abnormalities of high voltage power on and under high voltage power in the high voltage control of independent latch switches, resulting in low safety and reliability.

Method used

By obtaining the reset flag information in the reset flag register in real time, the status information of the circuit breaker, the battery voltage and insulation value, the inverter side voltage and the feedback status information of each relay in real time, we can judge whether there is an abnormal reset or a fault in the independent latch switch. And control the on and off of the relay according to the detection results to ensure the safety and reliability of the high-voltage link.

Benefits of technology

Real-time detection and processing of faults during high-voltage power-on or power-off of independent latch switches is realized, which improves the safety and reliability of high-voltage control, and avoids faults caused by abnormal software reset or electromagnetic interference.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118969559A_ABST
    Figure CN118969559A_ABST
Patent Text Reader

Abstract

The invention provides an independent latch switch high-voltage control method and electronic equipment, and belongs to the technical field of relay control. The method comprises the following steps: acquiring reset mark information in a reset mark register, and determining whether the independent latch switch is abnormally reset or not; if not, triggering the main positive relay and the main negative relay to be disconnected, performing fault detection on the independent latch switch according to the state information of the circuit breaker, the voltage and the insulation value of the battery, the inverter side voltage and the feedback state information of each relay, and controlling the independent latch switch to complete high-voltage power-on or high-voltage power-off; if yes, whether the main positive relay and the main negative relay are both in a closed state or not is determined, and if yes, the closed state is kept so as to maintain output of the independent latch switch before abnormal reset. According to the invention, the fault in the high-voltage power-on or high-voltage power-off process of the independent latch switch can be detected in real time, and the fault can be processed in real time, so that the safety and reliability of the high-voltage control of the independent latch switch can be improved.
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 latch switch high voltage control method and electronic equipment. Background Art

[0002] The high voltage control of the independent latch switch actually refers to the high voltage control of the relay. The high voltage control of the independent latch switch refers to controlling the on and off of the high voltage link of the independent latch switch when the high voltage is powered on or off. Among them, when the independent latch switch is abnormally reset, the output state information of the high voltage link before the abnormal reset is maintained, which is an important performance indicator of the independent latch switch.

[0003] In the related art, the high voltage control of the independent latch switch only relies on the traditional high voltage power-on and high voltage power-off management methods, and controls the on and off of the high voltage link of the independent latch switch based on the status information data of the battery end and the status information data of the inverter end. If the status information data of the battery end is abnormal or the status information data of the inverter end is abnormal, the high voltage link is controlled to be disconnected; or when the inverter end is charging and discharging the battery end, the software runs away, the watchdog resets, and electromagnetic interference cause the independent latch switch software to be abnormally reset, and the independent latch switch controls the closing of the high voltage link so that the high voltage link maintains the output status information before the abnormal reset.

[0004] However, when controlling the high voltage power-on and high voltage power-off of the independent latch switch based on the related technology, there is a lack of abnormal judgment and processing of the high voltage power-on and high voltage power-off of the independent latch switch, and the on and off of the high voltage link is controlled based solely on abnormal data at the battery end or the inverter end. Therefore, the solution of the related technology has the problem of lacking the ability to judge and process the abnormal conditions of the independent latch switch, resulting in low safety and poor reliability of the high voltage control of the independent latch switch. Summary of the invention

[0005] The purpose of the present application is to provide an independent latching switch high-voltage control method and electronic device, 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, so as 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 latch switch is provided, which is used to perform high-voltage control on an independent latch switch, wherein the independent latch switch includes: a reset flag register, a plurality of relays, a circuit breaker, a battery, and an inverter, wherein the plurality of relays include: a main positive relay, a main negative relay, and a pre-charge relay; the high-voltage control method for the independent latch 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 is abnormally 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-charging relay to trigger the main positive relay, the main negative relay and the pre-charging 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 voltage on the inverter side 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 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.

[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 includes an abnormal reset flag, the independent latch switch has an abnormal reset;

[0014] If the reset flag information does not include an abnormal reset flag, there is no abnormal reset of the independent latch switch.

[0015] As a possible implementation method, according to 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 latch switch is detected for fault, and when the independent latch switch does not have a fault, the independent latch switch is controlled to complete high voltage power-on, including:

[0016] 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;

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

[0018] If the second fault detection result is that there is no fault, performing a third fault detection according to 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 according to the battery voltage, the inverter side voltage and the feedback status of each relay, the independent latch switch is controlled to complete the high voltage power-on.

[0020] As a possible implementation manner, performing a first fault detection according to the battery voltage, the inverter side voltage, the feedback state of each relay, and the state of the circuit breaker, and determining the first fault detection result includes:

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

[0022] If not, determining whether the inverter side voltage is greater than a second preset threshold value, and if so, determining that the first fault detection result is that a fault exists, 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 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 recover automatically and then re-apply high voltage. Otherwise, determine that the first fault detection result is that there is no fault.

[0024] As a possible implementation manner, performing a second fault detection according to the insulation value of the battery and determining a second fault detection result includes:

[0025] Determine whether the insulation value of the battery is less than a third preset threshold value, and if so, determine that the second fault detection result is that a fault exists, 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 there is no fault.

[0027] As a possible implementation manner, performing the third fault detection according to the inverter side voltage and determining the third fault detection result includes:

[0028] Determine whether the inverter side voltage is less than a fourth preset threshold value, and 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;

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

[0030] As a possible implementation method, according to the battery voltage, the inverter side voltage and the feedback status of each relay, the independent latch switch is controlled to complete the high voltage power-on, 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-charging relay is controlled to close;

[0033] After the second waiting time, judging the feedback state of the pre-charging relay;

[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 time, judging the feedback state of the main positive relay;

[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-on.

[0037] As a possible implementation, according to the feedback state of the main negative relay, the control state of the main negative relay and the inverter side voltage, the pre-charging relay is controlled to close, including:

[0038] 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;

[0039] B. Determine whether the voltage on the inverter side 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-off 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 state of the main positive relay, the main negative relay and the pre-charging relay is consistent with the control state. 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-charging 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 intermittently controlled to be disconnected 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, comprising 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 independent latch switch high-voltage control method provided in an embodiment of the present application 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 states of the main positive relay and the main negative relay in the independent latch switch are 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 states 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 latch switch sends 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 detects the fault of the independent latch switch in real time according to the status information of the circuit breaker, the real-time voltage and insulation value of the battery, the voltage of the inverter charging or discharging the battery and the feedback status of each relay. If the independent latch switch has a fault, the corresponding protection measures are determined according to the detected fault type to eliminate the fault of the independent latch switch; if the independent latch switch does not have a fault, the operating state of each relay in the independent latch switch is controlled according to the operating state of the independent latch switch, so that the independent latch switch completes high-voltage power-on or high-voltage power-off. Among them, it is preferred to determine whether there is an abnormal reset flag in the independent latch switch, eliminate the influence of software abnormal reset and watchdog software reset on the independent latch switch, and detect the fault of the independent latch switch when there is no abnormal reset, so as to eliminate the fault of the independent latch switch in real time, thereby improving the safety and reliability of the operation of the independent latch switch. In this way, it is possible to 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, thereby improving the safety and reliability of the 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 drawings required for use in the embodiments will be briefly introduced below. 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 related drawings can be obtained based on these drawings without paying 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 flow chart 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 flow chart 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] Fig. 9 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0060] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here 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 which protection is sought, but merely represents selected embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.

[0062] At present, the high-voltage control mechanism of the independent latch switch is to control the on-off of the high-voltage link in the independent latch switch based on the status information data of the battery end and the status information data of the inverter end in the independent latch switch, so as to realize the high-voltage control of the independent latch switch. Among them, if the status information data of the battery end is abnormal or the status information data of the inverter end is abnormal, the independent latch switch controls the high-voltage link to be disconnected; if the software of the independent latch switch is abnormally reset due to software runaway, watchdog reset and electromagnetic interference when the inverter end is charging and discharging the battery end, the independent latch 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 scheme lacks abnormal judgment and processing of high-voltage power-on and high-voltage power-off of the independent latch switch, and simply controls the on-off of the high-voltage link based on the abnormal data of the battery end or the inverter end, which causes the problem of low safety and poor reliability of the high-voltage control of the independent latch switch.

[0063] To this end, the embodiment of the present application provides a high-voltage control method for an independent latch switch, by collecting the reset flag information in the reset flag register when the independent latch switch is powered on again, determining whether the independent latch switch is currently abnormally reset; if so, controlling the main positive relay and the main negative relay to continue to close, so as to maintain the output state before the abnormal reset, and complete the high-voltage power-on; if not, controlling the main positive relay and the main negative relay to be disconnected, and obtaining the status information of the circuit breaker, the voltage and insulation value of the battery, the voltage on the inverter side, and the feedback state of each relay, to determine whether the independent latch switch has other faults, and controlling the independent latch switch to complete the high-voltage power-on after the fault of the independent latch switch is cleared, or controlling the independent latch switch 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 latch switch, and handle the faults in real time, so as to improve the safety and reliability of the high-voltage control of the independent latch 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 in conjunction with the accompanying drawings.

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

[0066] Optionally, the independent latch switch is composed of multiple relays, circuit breakers, batteries, inverters, and reset flag registers. 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 of the independent latch switch. The main positive relay and the main negative relay work together to ensure the effective output and output retention of the independent latch switch. The pre-charge relay is used to pre-start the high-voltage power-on of the independent latch 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, and 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 bilateral drive relays, and the bilateral drive relay has two output pins. When the output pin outputs 1 and 0, the bilateral drive relay is closed; when the output pin outputs 0 and 1, the bilateral drive relay is disconnected; when the output pin outputs 1 and 1, the bilateral drive relay maintains the output state, and the independent latch switch does not need to be powered on at this time. The bilateral drive relay has the characteristics of power saving, stable performance, and long life. The bilateral drive relay will continue to maintain output after the control is turned on and off. When the independent latch switch is abnormally reset, the main positive relay and the main negative relay will maintain the output state before 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, the pre-charge relay is used to ensure the voltage balance of the battery terminal in the independent latch switch, so that the independent latch switch follows the principle of pre-charging before powering on, ensuring that when the high-voltage link of the independent latch switch is turned on, there will be no high voltage or low voltage shock. At the same time, the pre-charge relay can also prevent the single battery from being overcharged or over-discharged, which can effectively extend the battery life and ensure the safety of the high-voltage link in the independent latch switch.

[0071] S101, obtaining reset flag information in a reset flag register, status information of a circuit breaker, voltage and insulation value of a 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 an independent latch switch.

[0072] Optionally, software is introduced into the independent latch switch, and the on and off of each relay in the independent latch switch is controlled based on the running logic of the software to complete the high-voltage power-on and high-voltage power-off of the independent latch switch. Among them, a software watchdog mechanism is introduced into the independent latch switch. The software watchdog mechanism is used to monitor the running status of the software in real time, and trigger the reset of the software watchdog mechanism when the software watchdog mechanism is not fed for a preset time to ensure that the software can still be safely reset in an abnormal running state. When the software runs abnormally or electromagnetic interference occurs, the independent latch switch software will be abnormally reset. When the software is reset and the software watchdog is reset, a reset flag will be 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 that the circuit breaker is closed or that the circuit breaker is 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, and 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, and the feedback status of the relay includes the relay being closed or the relay being disconnected.

[0075] S102: Determine whether the independent latch switch has an abnormal reset according to the reset flag information.

[0076] Optionally, whether the independent latch switch has an abnormal reset is determined based on whether the reset flag information stored in the reset flag register contains a reset flag. If the reset flag information stored in the reset flag register contains a reset flag, it is determined that the independent latch switch has an abnormal reset; if the reset flag information stored in the reset flag register does not contain a reset flag, it is determined that the independent latch switch has not an abnormal reset.

[0077] S103. If not, send a control instruction to the main positive relay, the main negative relay and the pre-charging relay to trigger the main positive relay, the main negative relay and the pre-charging 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 mark 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 disconnection of 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 to control the disconnection of the main positive relay, the main negative relay and the pre-filling relay. 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-charging relay to disconnect, the independent latching switch monitors the fault state 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 there is neither an abnormal reset mark nor other faults in the independent latch switch, the working state of the independent latch switch is detected, and the state of the independent latch switch to be operated is determined to be high-voltage power-on or high-voltage power-off, and the operating state of each relay is controlled according to the operating state of the independent latch switch to complete the high-voltage power-on or high-voltage power-off of the independent latch switch. Among them, high-voltage power-on is used to indicate that the high-voltage link in the independent latch switch is turned on, so that the inverter can control the charging and discharging of the battery; high-voltage power-off means that when the independent latch switch has the highest level of fault during the high-voltage power-on process or after the high-voltage power-on is completed, the high-voltage link in the independent latch switch is disconnected, the fault is checked and repaired, and the high-voltage power is turned on again after the fault is eliminated.

[0081] S104. If yes, 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 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 latch switch has an abnormal reset, it is necessary to control the independent latch switch to maintain the output state before the abnormal reset. The independent latch switch determines whether the actual operating state of the main positive relay is a closed state based on the actual operating state fed back by the main positive relay; the independent latch switch also determines whether the actual operating state of the main negative relay is a closed state 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 a closed state, and the feedback state of the main negative relay is also 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 of the independent latching switch before the abnormal reset, 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 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 an abnormal reset flag, the independent The latch switch sends 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 detects the fault of the independent latch switch in real time according to the status information of the circuit breaker, the real-time voltage and insulation value of the battery, the voltage of the inverter charging or discharging the battery and the feedback status of each relay. If the independent latch switch has a fault, the corresponding protection measures are determined according to the detected fault type to eliminate the fault of the independent latch switch; if the independent latch switch does not have a fault, the operating state of each relay in the independent latch switch is controlled according to the operating state of the independent latch switch, so that the independent latch switch completes the high-voltage power-on. Among them, when the independent latch switch is powered on again, it is first determined whether there is an abnormal reset flag in the independent latch switch, and the influence of the software abnormal reset and the watchdog software reset on the independent latch switch is eliminated. The fault of the independent latch switch is detected when there is no abnormal reset, so as to eliminate the fault of the independent latch switch in real time, thereby improving the safety and reliability of the operation of the independent latch switch. In this way, it is possible to 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, thereby improving the safety and reliability of the high voltage control of the independent latching switch.

[0085] For a 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, an abnormal reset occurs in the independent latch switch.

[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 causing damage to other electronic devices.

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

[0091] Optionally, if the reset flag information stored in the reset flag register in 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 in 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] For a possible implementation, see Figure 3 The operation of step S103 may specifically be:

[0094] S301, 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.

[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 a voltage of a battery in an independent latching switch, a fault detection result of a voltage on an inverter side, and a fault detection result of a feedback state of each relay and a real-time state of a 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 there is no fault.

[0098] S302: If the first fault detection result is that no fault exists, perform a second fault detection according to 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 latch switch, it is further detected whether there is an insulation fault in the battery in the independent latch switch according to the insulation value of the battery in the independent latch switch.

[0100] Optionally, the second fault detection is used to indicate the insulation fault detection of the 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 the battery in the independent latching switch has an insulation fault, the second fault detection result is that the fault exists; if the battery in the independent latching switch does not have an insulation fault, the second fault detection result is that the fault does not exist.

[0101] S303: If the second fault detection result is that no fault exists, perform a third fault detection according to 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 is also 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 there is no fault; if the voltage on the inverter side does not meet the high-voltage power-on requirement, the third fault detection result is that there is a fault.

[0104] S304: 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.

[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, and the independent latching switch is controlled to complete high-voltage power-on based on the battery voltage, the inverter side voltage and the feedback status of each relay.

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

[0107] S401. Determine whether the voltage of the battery is less than a first preset threshold value. If so, determine that the first fault detection result is that a fault exists, and the fault level is the 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 under the condition that each relay is disconnected.

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

[0110] S402: If not, determine whether the inverter side voltage is greater than a second preset threshold value; 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-energize the high voltage. Otherwise, determine that the first fault detection result is that there is no fault.

[0114] Optionally, it is determined whether the actual operating state fed back by each relay is consistent with the disconnected state indicated by the control instruction, and whether the operating state of the circuit breaker is in the disconnected state. If the feedback state of at least one of the main positive relay, the main negative relay and the pre-charging relay is in a closed state, that is, the feedback state of at least one of the main positive relay, the main negative relay and the pre-charging relay is inconsistent with the control state, or the operating state of the circuit breaker is in the disconnected state, then at least one relay or the 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 of fault, and the highest level of 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 and then controls the independent latching switch to be powered on again.

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

[0117] For a 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 value. If so, determine that the second fault detection result is that a fault exists, 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 according to 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 latch 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 battery insulation fault in the independent latching switch, and the battery insulation value exceeds a third preset threshold, and the smaller the battery insulation value, the more serious the battery insulation fault.

[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 have an insulation fault.

[0124] For a 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 value. 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 with the fourth preset threshold, it is determined whether the inverter side voltage meets the high-voltage power-on condition of the independent latching switch under the condition that 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 the third fault detection result has a fault, 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 there is no fault, 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] For a possible implementation, see Figure 7 The operation of step S304 may specifically be:

[0131] S701, waiting for a first waiting time, and determining 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., and this application does not make any specific limitation on this.

[0133] Optionally, after waiting for the first waiting time, the independent latch 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-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.

[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: Determine the feedback status of the pre-charging relay after the second waiting period.

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

[0138] Optionally, after waiting for the second waiting time, the independent latch 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: Control 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 between 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 process is repeated until it is determined that the feedback state and the control state of the pre-charging relay are consistent, and then it is further determined 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. Determine the feedback state of the main positive relay after the third waiting period.

[0142] Optionally, the third waiting time is a manually set waiting time for judging the state of the main positive relay, and the third waiting time can be 1 second, 1.5 seconds, 2 seconds, etc., and this application does not make 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, and this application does not make specific restrictions on this.

[0143] Optionally, after waiting for the third waiting time, 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, the pre-charge relay is controlled to be disconnected to complete the high voltage power-on.

[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, and 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-charging 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, and step C is executed to control the independent latching switch to enter the high-voltage power-off stage.

[0149] B. Determine whether the voltage on the inverter side is less than a second preset threshold value. 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 and started, the independent latch switch is in the initialization stage. During the initialization stage of the independent latch switch, 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 independent latch 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 the 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, the high-voltage power-on continues. If it does not meet the threshold, the corresponding fault is reported and the fault is waited for 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 the high-voltage power-on of the independent latch switch, the independent latch switch starts the high-voltage power-on process. When 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 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] For a possible implementation, see Figure 8 The operation of step S103 may specifically be:

[0155] S801, 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.

[0156] Optionally, the fourth waiting time is an artificially set high voltage power-down waiting time, and 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 the fourth waiting time, 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 the minimum limit value of the transmission current between the inverter and the battery when the independent latch 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 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., and this application does not make any specific limitations 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 the disconnection of each relay is repeatedly controlled based on the time indicated by the preset interval duration until the control number reaches the preset control number, 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, the main negative relay and the pre-charging 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-charging 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 time indicated by the preset interval duration until the number of control times reaches the preset number of control times, and the independent latching switch completes the high-voltage power-off.

[0163] S804, if not, then 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 disconnected by intermittent control 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 control times reaches the preset number of control times, and the independent latching switch completes the high voltage power-off.

[0165] Fig. 9 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Fig. 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 is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

[0167] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims

1. A high voltage control method for an independent latch switch, characterized in that: The invention is used for high voltage control of an independent latch switch, wherein the independent latch switch comprises: a reset flag register, a plurality of relays, a circuit breaker, a battery and an inverter, wherein the plurality of relays comprises: a main positive relay, a main negative relay and a pre-charge relay; the method comprises: 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 whether the independent latch switch is abnormally reset according to the reset flag information; If not, a control instruction is sent to the main positive relay, the main negative relay and the pre-charging relay to trigger the main positive relay, the main negative relay and the pre-charging 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 of the relays, 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, according to the reset flag information, whether the independent latch switch has an abnormal 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 have an 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 latch switch according to the state information of the circuit breaker, the voltage and insulation value of the battery, the voltage on the inverter side, and the feedback state information of each relay, and controlling the independent latch switch to complete high voltage power-on when there is no fault in the independent latch switch, comprises: Performing a first fault detection according to the voltage of the battery, the voltage on the inverter side, the feedback status of each of the relays, and the status of the circuit breaker, and determining a first fault detection result; If the first fault detection result is that there is no fault, 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 there is no fault, 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 according to the battery voltage, the inverter side voltage and the feedback status of each relay, the independent latch switch is controlled to complete high voltage power-on.

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 voltage of the battery, the voltage on the inverter side, the feedback state of each relay and the state of the circuit breaker to determine a first fault detection result includes: Determine whether the voltage of the battery is less than a first preset threshold value, and if so, determine that the first fault detection result is a fault, and the fault level is the level corresponding to the voltage of the battery; If not, determining whether the inverter side voltage is greater than a second preset threshold value, and 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 there is at least one relay whose feedback state is closed or the state of the circuit breaker is open. If there is at least one relay whose feedback state 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 recover automatically and then re-power on the high voltage. Otherwise, determine that the first fault detection result is that there is no fault.

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: Determine whether the insulation value of the battery is less than a third preset threshold value, and if so, determine 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: Determine whether the inverter side voltage is less than a fourth preset threshold value, and if not, determine that the third fault detection result is a fault, and the fault level is the 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 close.

7. The independent latch switch high voltage control method according to claim 3, characterized in that: The controlling the independent latching switch to complete high voltage power-on according to the voltage of the battery, the voltage on the inverter side and the feedback state of each relay comprises: 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 voltage of the battery and the voltage on the inverter side; 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-charging relay is controlled to be disconnected to complete high-voltage power-on.

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 comprises: 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 value, if so, execute step D, otherwise, execute step C; C. Control the independent latch switch to complete high voltage power-off; D. Control the pre-charging 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 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; If not, determine whether the feedback state of the main positive relay, the main negative relay and the pre-charging relay is consistent with the control state. 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-charging relay to be disconnected until the intermittent control times reaches 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-charging 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 comprises: 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

  • Vehicle control method, control device and relay control system

    CN115626058A

  • High-voltage relay diagnosis method and circuit, high-voltage control system and automobile

    CN117723957A

  • Relay state detection method and device, vehicle and storage medium

    CN118348399A

Cited By

  • Charging protection circuit and protection device of portable charger and portable charger

    CN120914719A

  • The charging protection circuit and protection device of the portable charger and the portable charger itself.

    CN120914719B