New energy battery management system and control method adapted to inverter

By using control modules, switch modules and XOR gates in the new energy battery management system, the signal ports and line sequence of the inverter are automatically judged and adapted to the inverter, the problem of low efficiency of the new energy battery adaptation inverter is solved, and the realization of the realization of the realization of the inverter An efficient adaptation process.

CN115276172BActive Publication Date: 2024-11-26SHENZHEN XINGDING NEW ENERGY TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210970431.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-12
Publication Date
2024-11-26
Estimated Expiration
2042-08-12

AI Technical Summary

Technical Problem

New energy batteries are inefficient when adapting to inverters, mainly due to the large number of inverter manufacturers and the lack of unified standards, which requires the production of different cables and identification of different software protocol interfaces.

Method used

A new energy battery management system adapted to the inverter is designed, including a control module, a switch module and an XOR gate. By obtaining and filtering the level signals of the inverter, the effective signal port is judged, and by switching the switch module and Line-sequence exchange realizes automatic adaptation to the inverter.

Benefits of technology

The efficiency of adapting new energy batteries to inverters is improved, and the matching of different cables is avoided, the adaptation process is simplified, and the adaptation efficiency is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115276172B_ABST
    Figure CN115276172B_ABST
Patent Text Reader

Abstract

The present application relates to a new energy battery management system and control method adapted to an inverter, wherein the new energy battery management system adapted to the inverter comprises: a control module, a first switch module, a second switch module and an XOR gate; the input end of the first switch module and the second switch module are connected to the output end of the inverter for inputting a first level signal and a second level signal, the output end of the first switch module and the second switch module are connected to the input end of the XOR gate for outputting a first level signal and a second level signal; the output end of the XOR gate is connected to the input end of the control module for outputting a third level signal; the control module is used to determine a valid signal according to the third level signal to determine the valid signal end of the inverter. The present invention avoids one-to-one matching of different cables, which is conducive to improving the efficiency of adapting the inverter to the new energy battery.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of new energy battery technology, and in particular to a new energy battery management system and control method adapted to an inverter. Background Art

[0002] In today's society, the new energy industry is developing rapidly. In the entire industry chain, new energy batteries need to be matched with inverters, so how to adapt new energy batteries to inverters has become an urgent problem to be solved.

[0003] As there are many inverter manufacturers and there is no unified national standard, the cable sequence and communication protocols are also different. Battery manufacturers need to make different cables to match them one by one, and need to identify different software protocol interfaces, which leads to low efficiency in adapting new energy batteries to inverters. Summary of the invention

[0004] The purpose of the embodiments of the present application is to provide a new energy battery management system and control method adapted to an inverter, so as to improve the efficiency of adapting the new energy battery to the inverter.

[0005] In order to solve the above technical problems, the embodiment of the present application provides a new energy battery management system adapted to an inverter, comprising: a control module, a first switch module, a second switch module, and an XOR gate;

[0006] The input ends of the first switch module and the second switch module are connected to the output end of the inverter for inputting a first level signal and a second level signal, and the output ends of the first switch module and the second switch module are connected to the input end of the XOR gate for outputting the first level signal and the second level signal;

[0007] The output end of the XOR gate is connected to the input end of the control module, and is used to output a third level signal;

[0008] The control module is used to determine a valid signal according to the third level signal to determine a valid signal end of the inverter.

[0009] Furthermore, the new energy battery management system adapted to the inverter further includes a conversion module;

[0010] The input end of the conversion module is connected to the first switch module and the second switch module, and the output end of the conversion module is connected to the input end of the control module, for determining the line sequence of the first switch module and the second switch module.

[0011] Furthermore, the new energy battery management system adapted to the inverter further includes a storage module;

[0012] The storage module is connected to the control module and is used to store the adaptation result of the inverter.

[0013] Furthermore, the first switch module and the second switch module further include a control port;

[0014] The control port is connected to the control module, and is used to select the input end to the output end of the first switch module and the second switch module, and is used to control the valid signal when the control module determines that the valid signal is valid.

[0015] Furthermore, the first switch module and the second switch module further include a level port, and the level port is used to output a low level signal.

[0016] In order to solve the above technical problems, the present application provides a control method, including:

[0017] Acquire a first level signal and a second level signal from the inverter through the first switch module and the second switch module;

[0018] Screening the first level signal and the second level signal through an XOR gate to output a third level signal;

[0019] The control module judges the third level signal to obtain a judgment result;

[0020] If the judgment result is that the third level signal is at a high level, the third level signal is judged as a valid signal, and the current control ports of the first switch module and the second switch module are used as valid signal terminals of the inverter;

[0021] If the judgment result is that the third level signal is at a low level, the third level signal is used as an invalid signal, and the current pins of the first switch module and the second switch module are switched in sequence, and the steps of obtaining the first level signal and the second level signal from the inverter through the first switch module and the second switch module are re-executed until the third level signal is judged to be a valid signal, and the current control ports of the first switch module and the second switch module are used as the valid signal ends of the inverter.

[0022] Further, if the judgment result is that the third level signal is at a low level, the third level signal is used as an invalid signal, and the current pins of the first switch module and the second switch module are switched in sequence, and the step of obtaining the first level signal and the second level signal from the inverter through the first switch module and the second switch module is re-executed until the third level signal is determined to be a valid signal, and the current control ports of the first switch module and the second switch module are used as the valid signal terminals of the inverter, including:

[0023] If the judgment result is that the third level signal is at a low level, the third level signal is regarded as an invalid signal;

[0024] Switching the current pin of the second switch module in sequence, reacquiring the first level signal and the second level signal from the first switch module and the second switch module after each pin switching, and re-determining the third level signal;

[0025] If all current pins of the second switch module are switched, and the judgment result is that the third level signal is at a low level, the current pins of the first switch module are switched, and the first level signal and the second level signal are reacquired until the first switch module and the second switch module are all switched or the third level signal is determined to be a valid signal;

[0026] If the third level signal is determined to be a valid signal, the current control ports of the first switch module and the second switch module are used as valid signal terminals of the inverter;

[0027] If the first switch module and the second switch module are all switched, and the third level signal is determined to be an invalid signal, matching failure information is output.

[0028] Further, if the judgment result is that the third level signal is at a high level, the third level signal is judged as a valid signal, and the current control ports of the first switch module and the second switch module are used as the valid signal terminals of the inverter, the control method further includes:

[0029] Acquire, by a conversion module, data frames output by current control ports of the first switch module and the second switch module;

[0030] If the data frame is garbled, the line sequence of the current control ends of the first switch module and the second switch module is exchanged.

[0031] Furthermore, if the data frame is garbled or the data frame does not conform to the pre-protocol list, after swapping the line sequence of the current control ends of the first switch module and the second switch module, the method further includes:

[0032] The adaptation result of the current inverter is obtained, and the adaptation result is stored through the storage module.

[0033] Furthermore, after obtaining the adaptation result of the current inverter and storing the adaptation result by the adaptation module through the storage module, the control method further includes:

[0034] If a new energy battery management system restart request is received, obtaining the adaptation result from the storage module;

[0035] By reading the adaptation result, the inverter is adapted so that the inverter establishes a communication connection with the new energy battery.

[0036] The embodiment of the present invention provides a new energy battery management system and control method adapted to an inverter. The embodiment of the present invention obtains a first level signal and a second level signal from an inverter through a first switch module and a second switch module, and screens the first level signal and the second level signal through an XOR gate to generate a third level signal, and then judges the third level signal through a control module. If a valid signal is not judged, the pins of the first switch module and the second switch module are switched in sequence, and the valid signal is judged again until a valid signal is judged, thereby achieving adaptation of the inverter, avoiding one-to-one matching of different cables, and being conducive to improving the efficiency of adapting the new energy battery to the inverter. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] In order to more clearly illustrate the scheme in the present application, a brief introduction is given below to the drawings required for use in the description of the embodiments of the present application. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0038] Figure 1 It is a block diagram of a new energy battery management system adapted to an inverter provided in an embodiment of the present application;

[0039] Figure 2 is a circuit diagram of a new energy battery management system adapted to an inverter provided in an embodiment of the present application;

[0040] Figure 3 It is a flow chart of an implementation of the control method provided in an embodiment of the present application;

[0041] Figure 4 This is another implementation flow chart of the new energy battery management system adapted to the inverter provided in the embodiment of the present application. DETAILED DESCRIPTION

[0042] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by technicians in the technical field of the present application; the terms used in the specification of the application herein are only for the purpose of describing specific embodiments and are not intended to limit the present application; the terms "including" and "having" and any variations thereof in the specification and claims of the present application and the above-mentioned drawings are intended to cover non-exclusive inclusions. The terms "first", "second", etc. in the specification and claims of the present application or the above-mentioned drawings are used to distinguish different objects, not to describe a specific order.

[0043] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0044] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings.

[0045] See also Figure 1 and Figure 2 , Figure 1 It is a block diagram of a new energy battery management system adapted to an inverter provided in an embodiment of the present application; Figure 2 It is a circuit diagram of a new energy battery management system adapted to an inverter provided in an embodiment of the present application.

[0046] like Figure 1 As shown, a new energy battery management system adapted to an inverter includes: a control module 40, a first switch module 10, a second switch module 20 and an XOR gate 30; the input ends of the first switch module 10 and the second switch module 20 are connected to the output end of the inverter 50 for inputting a first level signal and a second level signal, and the output ends of the first switch module 10 and the second switch module 20 are connected to the input end of the XOR gate 30 for outputting a first level signal and a second level signal; the output end of the XOR gate 30 is connected to the input end of the control module 40 for outputting a third level signal; the control module 40 is used to determine a valid signal according to the third level signal to determine the valid signal end of the inverter 50.

[0047] like Figure 2As shown, in the embodiment of the present application, one end of the network cable is connected to the RJ45 port, and the other end of the network cable is connected to the new energy battery to achieve the connection between the new energy battery and the inverter 50. The purpose of the embodiment of the present application is to determine which two pins of the eight pins of the network cable are the effective signal terminals of the inverter 50.

[0048] In this embodiment, the RJ45 port is connected to the inverter 50 at one end of the network cable, and the other end is connected to the battery management system. The pins and definitions of the battery management system are constant. Due to different manufacturers, the valid signals of the inverter 50 are on different pins. The first switch module 10 and the second switch module 20 are both 8-to-1 modules, and each 8-to-1 module is divided into eight pins, namely Y0, Y1, Y2, Y3, Y4, Y5, Y6, and Y7. The pins are used as input terminals, and all pins are connected to the RJ45 port through a network cable for inputting first level signals and second level signals. The output terminal Z of the first switch module 10 and the second switch module 20 is connected to the XOR gate 30. The first switch module 10 and the second switch module 20 also include three control ports, A0, A1, and A2, which are used to select the input to Y0-Y7 to the output terminal Z. The XOR gate 30 is connected to the first switch module 10 and the second switch module 20, and is used to receive the first level signal and the second level signal. The output end of the XOR gate 30 is related to the control module 40, and is used to screen the first level signal and the second level signal, generate a third level signal, and transmit the third level signal to the control module 40, so that the control module 40 receives the third level signal of the XOR gate 30 through the GPIO7 port, and determines whether it is a valid signal. If it is a low level, this group of signals is invalid; if it is a high level, this group of signals is valid. Among them, the control module 40 is a microcontroller unit (MCU).

[0049] In a specific embodiment, since the signals of the inverter 50 are all differential signals, in the non-communication state, the signal levels of the first switch module 10 and the second switch module 20 without a signal end are basically in-phase levels (generally low levels), and the signal levels of the differential first switch module 10 and the second switch module 20 are basically inverted levels. At this time, the XOR gate 30 is used to filter out the valid signal by scanning, that is, the GPIO7 port of the control module 40 receives the third level signal of the XOR gate 30 and makes a judgment. If the third level signal is low, it means that this group of signals is invalid; after a period of time, the first switch module 10 and the second switch module 20 are switched to other pins. The switching method can be performed in the following order: for example, the first group of pins is Y1Y2, and the second group of pins is Y1Y3, Y1Y4, ..., Y7Y8. In a scanning manner, until the third level signal after the XOR gate 30 is high, it means that it is a valid signal. Once a valid signal is found, the control ports A0, A1, and A2 of the first switch module 10 and the second switch module 20 are fixed to control the signals, thereby determining the pins of the valid signals of the inverter 50.

[0050] Furthermore, the control logic truth table of the first switch module 10 and the second switch module 20 is shown in Table 1:

[0051]

[0052] Table 1

[0053] As a further embodiment, a new energy battery management system adapted to the inverter further includes a conversion module 60. The conversion module 60 is selected as Max485, and the 485_A and 485_B signal pins of the conversion module 60 are connected to the output terminal Z of the first switch module 10 and the second switch module 20. Since the two differential signals of the first switch module 10 and the second switch module 20 have been determined in this example, it is necessary to further determine the line sequence of the 485_A and 485_B signal pins of the inverter 50, that is, to determine the line sequence of the output terminal Z of the first switch module 10 and the second switch module 20.

[0054] As a further embodiment, a new energy battery management system adapted to the inverter also includes a storage module 70; the storage module 70 is selected as EEPROM (Programmable read-only memory), and the storage module 70 is connected to 12C_SOA and 12C_SCL of the control module 40 for storing the adaptation results of the inverter 50.

[0055] As a further embodiment, the first switch module 10 and the second switch module 20 also include control ports A0, A1, and A2, respectively; the control ports are connected to GPIO1 to GPUIO6 of the control module 40, and are used to select the input end to the output end of the first switch module 10 and the second switch module 20, and are used to control the valid signal when the control module 40 determines a valid signal.

[0056] As a further embodiment, the first switch module 10 and the second switch module 20 further include a level port E respectively, and the level port is used to output a low level signal.

[0057] The embodiment of the present invention obtains the first level signal and the second level signal from the inverter 50 through the first switch module 10 and the second switch module 20, and filters the first level signal and the second level signal through the XOR gate 30 to generate a third level signal, and then judges the third level signal through the control module 40. If no valid signal is judged, the pins of the first switch module 10 and the second switch module 20 are switched in sequence, and the valid signal is judged again until a valid signal is judged, thereby achieving adaptation of the inverter 50, avoiding one-to-one matching of different cables, and is beneficial to improving the efficiency of adapting the new energy battery to the inverter 50.

[0058] See also Figure 3 , Figure 3 A specific implementation of a control method is shown, which is used to implement the new energy battery management system of the inverter adaptation of the present application.

[0059] It should be noted that if there are substantially the same results, the method of the present invention is not limited to Figure 3 The process sequence shown is limited to the following steps:

[0060] S11: Obtain a first level signal and a second level signal from an inverter through a first switch module and a second switch module.

[0061] Specifically, the first switch module and the second switch module are connected to the network cable corresponding to the inverter to obtain the first level signal and the second level signal input by the inverter. The first level signal and the second level signal are used to subsequently determine the effective port of the inverter.

[0062] S12: screening the first level signal and the second level signal through an XOR gate to output a third level signal.

[0063] Specifically, the input end of the XOR gate is connected to the output end of the first switch module and the second switch module, the XOR gate receives the first level signal and the second level signal input by the first switch module and the second switch module, and then the XOR gate filters the first level signal and the second level signal, and sends a third level signal to the control module. It should be noted that the third level signal can be a low level or a high level.

[0064] S13: The control module judges the third level signal to obtain a judgment result.

[0065] Specifically, since the third level signal can be a low level or a high level, the control module judges the third level signal to obtain a judgment result. If the judgment result is that the third level signal is a high level, the third level signal is judged as a valid signal; if the judgment result is that the third level signal is a low level, the third level signal is regarded as an invalid signal.

[0066] S14: If the judgment result is that the third level signal is at a high level, the third level signal is judged as a valid signal, and the current control ports of the first switch module and the second switch module are used as valid signal terminals of the inverter.

[0067] Specifically, if the judgment result is that the third level signal is a high level, the third level signal is judged as a valid signal, and the current control ports of the first switch module and the second switch module are fixed, so that the current control ports of the first switch module and the second switch module are used as the effective signal ends of the inverter, thereby realizing the adaptation of the new energy battery and the inverter.

[0068] S15: If the judgment result is that the third level signal is a low level, the third level signal is used as an invalid signal, and the current pins of the first switch module and the second switch module are switched in sequence, and the steps of obtaining the first level signal and the second level signal from the inverter through the first switch module and the second switch module are re-executed until the third level signal is judged to be a valid signal, and the current control ports of the first switch module and the second switch module are used as the valid signal terminals of the inverter.

[0069] See also Figure 4 , Figure 4 A specific implementation of step S15 is shown, which is described in detail as follows:

[0070] S151: If the determination result is that the third level signal is at a low level, the third level signal is regarded as an invalid signal.

[0071] S152: Switch the current pin of the second switch module in sequence, reacquire the first level signal and the second level signal from the first switch module and the second switch module after each pin switching, and re-judge the third level signal.

[0072] S153: If all current pins of the second switch module are switched, and the judgment result is that the third level signal is at a low level, the current pin of the first switch module is switched, and the first level signal and the second level signal are reacquired until the first switch module and the second switch module are all switched or the third level signal is judged to be a valid signal.

[0073] S154: If there is a third level signal that is determined to be a valid signal, the current control ports of the first switch module and the second switch module are used as valid signal terminals of the inverter.

[0074] S155: If the third level signal is determined to be an invalid signal when both the first switch module and the second switch module are switched, a matching failure message is output.

[0075] Specifically, the first switch module and the second switch module both have eight input ports, and the input ports are selected to the output ports through the control ports of the first switch module and the second switch module. First, the current pin of the first switch module is Y0, and the current pin of the second switch module is Y1. At this time, the third level signal output by the XOR gate is used to determine whether the third level signal is high level. If so, the adaptation process of the inverter is stopped to obtain the effective port of the adapter; if not, the current pin of the second switch module is sequentially changed from Y1 to Y2, Y3, Y4, 5Y, Y6, and Y7. Each switching determines whether the third level signal output by the XOR gate is high level. If there is a third level signal of high level, the adaptation of the inverter is stopped; if it is low level each time, the current pin of the first switch module is switched from Y0 to Y1, and the pins of the second switch module are switched in sequence. Repeat the above steps until all the pins of the first switch module and the second switch module are switched. That is, the pins of the first switch module and the second switch module are Y0Y1, Y0Y2, Y0Y3...Y6Y7 in sequence. If the third level signal is determined to be an invalid signal when both the first switch module and the second switch module are switched, a matching failure message is output and the adaptation of the inverter is stopped.

[0076] Furthermore, after step S14, the present application also provides another embodiment:

[0077] Acquire the data frames output by the current control ports of the first switch module and the second switch module through the conversion module;

[0078] If the data frame is garbled, the line sequence of the current control ends of the first switch module and the second switch module is exchanged.

[0079] Specifically, since the two differential signals of the first switch module and the second switch module have been determined in this example, but it has not yet been determined which end of the XOR gate the first switch module and the second switch module are connected to, the data frame output by the current control port of the first switch module and the second switch module is obtained through the conversion module; if the data frame is garbled, the line sequence of the current control end of the first switch module and the second switch module is swapped.

[0080] Furthermore, in the step of exchanging the line sequence of the current control ends of the first switch module and the second switch module if the data frame is garbled or the data frame does not conform to the pre-protocol list, the present application also provides another embodiment:

[0081] The adaptation result of the current inverter is obtained and stored in the storage module.

[0082] Specifically, after the inverter is successfully adapted, the adaptation result of the current inverter is obtained, and the adaptation result is stored by the adaptation module through the storage module, wherein the storage module is EEPROM (Programmable read-only memory).

[0083] Further, after the step of obtaining the adaptation result of the current inverter and storing the adaptation result by the adaptation module through the storage module, the present application also provides another embodiment:

[0084] If a restart request of the new energy battery management system is received, the adaptation result is obtained from the storage module;

[0085] By reading the adaptation result, the inverter is adapted so that the inverter and the new energy battery establish a communication connection.

[0086] Specifically, since the inverter has been successfully adapted before and its adaptation results are stored in the storage module, if a restart request of the new energy battery management system is received, the adaptation results are obtained from the storage module; by reading the adaptation results, the inverter is adapted so that the inverter and the new energy battery establish a communication connection, thereby achieving rapid adaptation of the inverter and providing adaptation efficiency.

[0087] The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.

Claims

1. A new energy battery management system adapted to an inverter, characterized in that: include: A control module, a first switch module, a second switch module, and an XOR gate; The input ends of the first switch module and the second switch module are connected to the output end of the inverter for inputting a first level signal and a second level signal, and the output ends of the first switch module and the second switch module are connected to the input end of the XOR gate for outputting the first level signal and the second level signal; The output end of the XOR gate is connected to the input end of the control module, and is used to output a third level signal; The control module is used to determine a valid signal according to the third level signal to determine the valid signal end of the inverter, wherein the first level signal and the second level signal are obtained from the inverter through the first switch module and the second switch module, and the first level signal and the second level signal are screened through the XOR gate to generate the third level signal; The third level signal is judged by the control module. If the valid signal is not judged, the pins of the first switch module and the second switch module are switched in sequence, and the valid signal is judged again until the valid signal is judged, so as to achieve adaptation of the inverter.

2. The new energy battery management system adapted to the inverter according to claim 1, characterized in that: The new energy battery management system adapted to the inverter also includes a conversion module; The input end of the conversion module is connected to the first switch module and the second switch module, and the output end of the conversion module is connected to the input end of the control module, for determining the line sequence of the first switch module and the second switch module.

3. The new energy battery management system adapted to the inverter according to claim 1, characterized in that: The new energy battery management system adapted to the inverter also includes a storage module; The storage module is connected to the control module and is used to store the adaptation result of the inverter.

4. The new energy battery management system adapted to the inverter according to claim 1, characterized in that: The first switch module and the second switch module further include a control port; The control port is connected to the control module, and is used to select the input end to the output end of the first switch module and the second switch module, and is used to control the valid signal when the control module determines that the valid signal is valid.

5. The new energy battery management system adapted to the inverter according to any one of claims 1 to 4, characterized in that: The first switch module and the second switch module further include a level port, and the level port is used to output a low level signal.

6. A control method, characterized in that: include: Acquire a first level signal and a second level signal from the inverter through the first switch module and the second switch module; Screening the first level signal and the second level signal through an XOR gate to output a third level signal; The control module judges the third level signal to obtain a judgment result; If the judgment result is that the third level signal is at a high level, the third level signal is judged as a valid signal, and the current control ports of the first switch module and the second switch module are used as valid signal terminals of the inverter; If the judgment result is that the third level signal is at a low level, the third level signal is used as an invalid signal, and the current pins of the first switch module and the second switch module are switched in sequence, and the steps of obtaining the first level signal and the second level signal from the inverter through the first switch module and the second switch module are re-executed until the third level signal is judged to be a valid signal, and the current control ports of the first switch module and the second switch module are used as the valid signal ends of the inverter.

7. The control method according to claim 6, characterized in that: If the judgment result is that the third level signal is at a low level, the third level signal is used as an invalid signal, and the current pins of the first switch module and the second switch module are switched in sequence, and the steps of obtaining the first level signal and the second level signal from the inverter through the first switch module and the second switch module are re-executed until the third level signal is judged to be a valid signal, and the current control ports of the first switch module and the second switch module are used as the valid signal terminals of the inverter, including: If the judgment result is that the third level signal is at a low level, the third level signal is regarded as an invalid signal; Switching the current pin of the second switch module in sequence, reacquiring the first level signal and the second level signal from the first switch module and the second switch module after each pin switching, and re-determining the third level signal; If all current pins of the second switch module are switched, and the judgment result is that the third level signal is at a low level, the current pins of the first switch module are switched, and the first level signal and the second level signal are reacquired until the first switch module and the second switch module are all switched or the third level signal is determined to be a valid signal; If the third level signal is determined to be a valid signal, the current control ports of the first switch module and the second switch module are used as valid signal terminals of the inverter; If the first switch module and the second switch module are all switched, and the third level signal is determined to be an invalid signal, matching failure information is output.

8. The control method according to claim 6 or 7, characterized in that: If the judgment result is that the third level signal is at a high level, the third level signal is judged as a valid signal, and the current control ports of the first switch module and the second switch module are used as the valid signal terminals of the inverter, the control method further includes: Acquire, by a conversion module, data frames output by current control ports of the first switch module and the second switch module; If the data frame is garbled or the data frame does not conform to the pre-protocol list, the line sequence of the current control ends of the first switch module and the second switch module is exchanged.

9. The control method according to claim 8, characterized in that: If the data frame is garbled, after swapping the line sequence of the current control ends of the first switch module and the second switch module, the method further includes: The adaptation result of the current inverter is obtained, and the adaptation result is stored through a storage module.

10. The control method according to claim 9, characterized in that: After obtaining the adaptation result of the current inverter and storing the adaptation result through the storage module, the control method further includes: If a new energy battery management system restart request is received, obtaining the adaptation result from the storage module; By reading the adaptation result, the inverter is adapted so that the inverter establishes a communication connection with the new energy battery.