Data interaction method, device and equipment for circuit breaker and inverter and storage medium

By incorporating the characteristic variables of the inverter in the circuit breaker and identifying it, data interaction is achieved between the circuit breaker and the inverter, which solves the problem that the main station cannot fully grasp the operating status of the inverter and relying on the cloud platform for data interaction, and improves the flexibility and stability of data interaction.

CN119543593APending Publication Date: 2025-02-28CHINT LOW VOLTAGE ELECTRICAL TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411574042.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-05
Publication Date
2025-02-28

AI Technical Summary

Technical Problem

In the power and photovoltaic industries, the main station cannot fully grasp the operating status of the inverter, resulting in information blind spots in the system and increasing monitoring and maintenance costs. The existing master station and inverter depend on the cloud platform for data interaction, resulting in poor flexibility and greater difficulty in data interaction when it is unable to communicate with the cloud platform.

Method used

By obtaining the feature variables of the inverter and building them into the circuit breaker, when the circuit breaker is powered on, identifying the inverter to be connected by identifying the feature variables, establishing data interaction between the circuit breaker and the inverter, realizing data interaction without relying on the cloud platform.

Benefits of technology

It improves the flexibility and stability of data interaction between the circuit breaker and the inverter, reduces the difficulty of data interaction, and ensures that data interaction can still be achieved without communicating with the cloud platform.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119543593A_ABST
    Figure CN119543593A_ABST
Patent Text Reader

Abstract

The invention provides a data interaction method and device for a circuit breaker and an inverter, equipment and a storage medium, firstly obtaining a characteristic variable of the inverter, setting the characteristic variable in the circuit breaker, after the circuit breaker is powered on, then obtaining an identification result of the circuit breaker on the to-be-connected inverter according to the characteristic variable, and finally according to the identification result, determining whether the to-be-connected inverter is connected with the to-be-connected inverter according to the identification result. And connecting the circuit breaker with the identified inverter so as to establish data interaction between the circuit breaker and the inverter. According to the invention, data interaction between the circuit breaker and the inverter can be realized, the flexibility of data interaction with the inverter is improved, and the interaction difficulty is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and in particular to a method, device, equipment and readable storage medium for data interaction between a circuit breaker and an inverter. Background Art

[0002] In the power and photovoltaic industries, the master station cannot fully grasp the operating status of the inverter, resulting in information blind spots in the system and increased monitoring and maintenance costs. Therefore, the circuit breaker not only needs to protect the circuit, but also needs to obtain inverter data and upload it to the master station to achieve comprehensive monitoring and data interaction with the inverter.

[0003] However, due to the wide variety of inverters and different communication protocols, data interaction between existing master stations and inverters is completely dependent on cloud platform support. When field equipment cannot communicate with the cloud platform, it is difficult to interact with the inverter, resulting in poor flexibility and difficulty in data interaction with the inverter. Summary of the invention

[0004] The present application provides a data interaction method, device, equipment and readable storage medium between a circuit breaker and an inverter, which can realize data interaction between the circuit breaker and the inverter, improve the flexibility of data interaction with the inverter, and reduce the difficulty of interaction.

[0005] In a first aspect, the present application provides a method for data interaction between a circuit breaker and an inverter, the method comprising:

[0006] Acquire characteristic variables of the inverter, and embed the characteristic variables into the circuit breaker;

[0007] When the circuit breaker is powered on, obtaining an identification result of the circuit breaker for the inverter to be connected according to the characteristic variable;

[0008] According to the identification result, the circuit breaker is connected to the inverter that has passed the identification, so as to establish data interaction between the circuit breaker and the inverter.

[0009] Optionally, obtaining the recognition result of the circuit breaker on the inverter to be connected according to the characteristic variable includes:

[0010] Identifying the register address of each inverter to be connected by polling;

[0011] When the register address of the inverter to be connected is recognized, the characteristic information of each inverter to be connected is read with a preset data length;

[0012] Receiving response information returned by each of the inverters to be connected;

[0013] According to the response information, an identification result of each inverter to be connected is determined.

[0014] Optionally, determining, according to the response information, an identification result of each inverter to be connected includes:

[0015] Obtaining a first variable value corresponding to a characteristic variable built into the circuit breaker;

[0016] Acquire a second variable value corresponding to the characteristic variable of the inverter to be connected, and use the second variable value as the response information;

[0017] The recognition result is determined according to a comparison result of the first variable value and the second variable value.

[0018] Optionally, determining the recognition result according to a comparison result of the first variable value and the second variable value includes:

[0019] If the second variable value is equal to any of the first variable values, the identification result is that the inverter to be connected is identified successfully, and the adaptive mode is started to automatically connect the circuit breaker to the inverter, and data is exchanged with the inverter after the circuit breaker is powered on again;

[0020] If the second variable value is not equal to all the first variable values, the identification result is that the inverter to be connected has not passed, and the non-adaptive mode is started to burn the characteristic variables of the inverter to the circuit breaker through an external device, and data is interacted with the inverter after the circuit breaker is powered on again.

[0021] Optionally, the starting non-adaptive mode burns the characteristic variables of the inverter into the circuit breaker through an external device, including:

[0022] Inputting the characteristic variables of the inverter to be connected into the external device to generate a target file containing the characteristic variables;

[0023] The target file is transmitted to the circuit breaker, so that the circuit breaker obtains the characteristic variable by parsing the target file and saves the characteristic variable.

[0024] Optionally, the method further includes:

[0025] Obtaining an identifier of a characteristic variable built into the circuit breaker;

[0026] According to the identification of the characteristic variable, the circuit breaker uses the first characteristic variable stored by default to identify and exchange data with the inverter, or uses the second characteristic variable that has been burned to identify and exchange data with the inverter.

[0027] Optionally, the characteristic variables of the inverter include one or more of a register address, a function code and a data length.

[0028] In a second aspect, the present application further provides a data interaction device between a circuit breaker and an inverter, comprising:

[0029] An information acquisition module, used for acquiring characteristic variables of the inverter and embedding the characteristic variables into the circuit breaker;

[0030] An object identification module, used for obtaining an identification result of the circuit breaker for the inverter to be connected according to the characteristic variable after the circuit breaker is powered on;

[0031] A data interaction module is used to connect the circuit breaker with the inverter that has passed the identification according to the identification result, so as to establish data interaction between the circuit breaker and the inverter.

[0032] In a third aspect, the present application also provides a computer device, comprising a processor and a memory; the memory is used to store a computer program; the processor is used to execute the computer program stored in the memory to implement the steps of the data interaction method between the circuit breaker and the inverter as described above.

[0033] In a fourth aspect, the present application further provides a computer-readable storage medium storing a computer program, wherein the computer program is loaded by a processor to perform the steps of the method for data interaction between a circuit breaker and an inverter as described above.

[0034] The data interaction method between the circuit breaker and the inverter provided in the present application first obtains the characteristic variables of the inverter and builds the characteristic variables into the circuit breaker. This process does not require manual configuration, so that the circuit breaker can be compatible with multiple protocols and inverter types, and has good adaptability and versatility. Then, when the circuit breaker is powered on, the recognition result of the circuit breaker for the connected inverter based on the characteristic variables is obtained, so that the local acquisition and reporting of the inverter data can be achieved through the circuit breaker. Finally, according to the recognition result, the circuit breaker is connected to the inverter that has passed the recognition to establish data interaction between the circuit breaker and the inverter. Data interaction is directly performed between the circuit breaker and the inverter, so there is no need to rely on the cloud platform. Even in the scenario where it is impossible to communicate with the cloud platform, the flexibility, stability and continuity of data interaction with the inverter can still be guaranteed, reducing the difficulty of data interaction. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0036] Figure 1 is an application scenario diagram of the data interaction method between a circuit breaker and an inverter provided in an embodiment of the present application;

[0037] Figure 2 is a flow chart of a data interaction method between a circuit breaker and an inverter provided in an embodiment of the present application;

[0038] Figure 3 It is a schematic diagram of a process of polling and identifying an inverter by a circuit breaker provided in an embodiment of the present application;

[0039] Figure 4 It is a schematic diagram of the process of transmitting the target file provided in the embodiment of the present application;

[0040] Figure 5 It is a schematic diagram of a flow chart for determining a data interaction mode provided in an embodiment of the present application;

[0041] Figure 6 It is a functional module schematic diagram of a data interaction device between a circuit breaker and an inverter provided in an embodiment of the present application;

[0042] Figure 7 It is a schematic diagram of the structure of the computer device provided in the embodiment of the present application. DETAILED DESCRIPTION

[0043] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of this application.

[0044] In the description of the present application, it should be understood that the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the feature. In the description of the present application, "plurality" means two or more, unless otherwise clearly and specifically defined.

[0045] In this application, the word "exemplary" is used to mean "used as an example, illustration or description". Any embodiment described as "exemplary" in this application is not necessarily to be construed as being more preferred or advantageous than other embodiments. At the same time, it is to be understood that in the specific implementation of this application, when user information, user data and other related data are involved, when the above embodiments of this application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of relevant data shall comply with relevant laws, regulations and standards of relevant countries and regions.

[0046] In order to enable any person skilled in the art to implement and use the present application, the following description is provided. In the following description, details are listed for the purpose of explanation. It should be understood that those of ordinary skill in the art will recognize that the present application can be implemented without using these specific details. In other examples, known structures and processes will not be elaborated in detail to avoid unnecessary details that make the description of the present application obscure. Therefore, the present application is not intended to be limited to the embodiments shown, but is consistent with the widest range of principles and features disclosed in the present application.

[0047] In the current power and photovoltaic industries, the master station system cannot fully grasp the operating status of the inverter, resulting in information blind spots in the system and increasing the cost of monitoring and maintenance. Since the circuit breaker is in an important position between the upper and lower parts of the system, in addition to protecting the circuit, it can also play an important role in the data interaction of the equipment. Specifically, the circuit breaker needs to take on the task of obtaining the inverter operation data in the system and report this data to the master station system in order to achieve centralized monitoring of important information of the entire system.

[0048] However, there are many types of inverters, and the communication protocols and data structures between different devices vary greatly, which increases the complexity of data acquisition. In addition, most of the data interaction solutions currently on the market rely on cloud platforms for data transmission and management, but in some special scenarios, it may be difficult to achieve stable communication with the cloud platform at the equipment installation site, or the on-site equipment is not convenient for manual contact and maintenance, which makes these solutions difficult to apply effectively. Therefore, there are certain limitations in the interaction between the circuit breaker and the inverter. To address these problems, this method proposes a solution suitable for on-site scenarios, aiming to improve the collaborative working efficiency of the circuit breaker and the inverter. The method of this application aims to solve these problems by directly interacting data between the circuit breaker and the inverter, thereby eliminating the need to rely on the cloud platform. Even in scenarios where communication with the cloud platform is impossible, the flexibility, stability and continuity of data interaction with the inverter can still be guaranteed, reducing the difficulty of data interaction.

[0049] Figure 1This is an application scenario diagram of the data interaction method between the circuit breaker and the inverter provided in the embodiment of the present application. For example, in a large power system or photovoltaic power generation station, there may be inverters from multiple manufacturers, and their communication protocols and data formats are different. Figure 1 As shown, this application scenario may include at least one circuit breaker and multiple inverters to be connected. Characteristic variables of inverters of various manufacturers may be built into the circuit breaker first, so that the circuit breaker can subsequently collect data of each inverter to be connected by polling, and then adaptively identify important information such as the register address and manufacturer of the inverter by comparing the characteristic variables built into the circuit breaker with the collected inverter data, and control the circuit breaker to connect with the inverter that has been identified, thereby realizing data interaction with the inverter without relying on the cloud platform, improving the flexibility and accuracy of data interaction with the inverter, and reducing the difficulty of data interaction.

[0050] The present application provides a method, device, equipment and readable storage medium for data interaction between a circuit breaker and an inverter, which are described in detail below.

[0051] Figure 2 FIG. 1 is a flow chart of a data interaction method between a circuit breaker and an inverter in an embodiment of the present application. Figure 2 As shown, the data interaction method between the circuit breaker and the inverter may include the following steps 101 to 103.

[0052] Step 101: Acquire characteristic variables of the inverter, and embed the characteristic variables into the circuit breaker.

[0053] The characteristic variables of the inverter may include one or more of a register address, a function code and a data length. The characteristic variables of the inverter are mainly used to identify and distinguish inverters of different manufacturers and models, and to perform data communication and interaction.

[0054] Specifically, the register address can be a specific location inside the inverter for storing device parameters or operating status. Each register corresponds to a piece of data of the device, such as voltage, current, power, etc. The circuit breaker can read the key data of the inverter by querying the register address. Inverters of different brands and models can use different register addresses, and the system can use these addresses to determine how to communicate with each inverter. In the present application, the circuit breaker has built-in register addresses of different inverters, which can automatically identify and access the corresponding data storage location, thereby realizing adaptive data reading and interaction.

[0055] Function codes are used to indicate the specific type of operation that the circuit breaker performs on the inverter. Common function codes include reading registers, writing registers, diagnostic commands, etc. For example, in the Modbus protocol, function code "03" represents reading holding registers, and "04" represents reading input registers. In this application, function codes can be used in conjunction with register addresses to help the circuit breaker clarify what type of data it wants to obtain from the inverter, or what data to operate on. Different function codes can correspond to different data operation methods, such as reading voltage data, setting operating parameters, etc.

[0056] Data length refers to the amount of data read by the circuit breaker from the specified register address, usually in bytes or words. For example, if the data length is 1, it means that one word of data is read from the register; if the data length is 2, it means that two words of data are read. The data length can be used to determine the range and accuracy of the read data. In the inverter, different data items (such as voltage, current) may occupy different storage lengths, so the setting of data length is crucial for accurately reading and parsing device information. In this application, through the characteristic variables of the built-in inverter, the circuit breaker can automatically and accurately obtain the operating status or other parameters of the equipment according to the specific data lengths of different inverters.

[0057] In some embodiments, different inverters may have different characteristic variables. For example, characteristic variables of three different inverters are shown in Table 1 below.

[0058]

[0059] Table 1

[0060] For example, in Table 1, the names of the inverters are "limited power switch", "no power switch", "daytime PID switch", the data length is U16, the register address is U16, and the characteristic values ​​are 0xAA, 0x55, etc.

[0061] Step 102: After the circuit breaker is powered on, obtain the recognition result of the circuit breaker for the inverter to be connected according to the characteristic variables.

[0062] It can be understood that the characteristic variables of the above inverters are stored in the circuit breaker, and the circuit breaker can subsequently infer the model and characteristics of the inverter to be connected by comparing the read inverter data with the built-in characteristic variable information.

[0063] In some embodiments, step 102 may include:

[0064] First, the register address of each inverter to be connected is identified by polling;

[0065] Next, when the register address of the inverter to be connected is recognized, the characteristic information of each inverter to be connected is read with a preset data length;

[0066] Then, receiving the response information returned by each inverter to be connected;

[0067] Finally, the identification result of each inverter to be connected is determined according to the response information.

[0068] like Figure 3 As shown, in some embodiments, the register address of each inverter to be connected can be first identified by polling. Polling is a detection method that checks and tries one by one. In the polling stage, the circuit breaker can cyclically query the register address to identify the communication address of the inverter. Since the register addresses of different inverters are different, the circuit breaker cannot know the specific address of each inverter in advance, so multiple addresses can be tried in sequence. Through the polling method, the circuit breaker can check each possible register address one by one until a valid address that can communicate with the inverter is found.

[0069] In some embodiments, when the circuit breaker identifies the register address of a certain inverter, it can continue to read the characteristic variables of the inverter through the address to identify the key data of the inverter, such as the manufacturer and model of the inverter. The data length is a preset value, indicating the size of the data read from the register. For example, the system may read 4 bytes or 8 bytes of data to obtain characteristic information.

[0070] Among them, the solidified register address and data length indicate that these parameters are set in advance. In this application, the solidified data refers to the characteristic variables of inverters from major manufacturers that are pre-built into the circuit breaker. The circuit breaker can access the specific data of each inverter according to fixed reading rules, which will not change due to different inverter types.

[0071] In some embodiments, after the circuit breaker sends a query request to the inverter, the inverter may return a response message. If the correct response message is received, it means that the address is valid and the circuit breaker can read the data of the inverter. If the correct response message is not received, the circuit breaker considers that the register address is invalid and continues to poll the next register address until an address that can communicate is found.

[0072] In some embodiments, after the circuit breaker receives the response information from the inverter, it can compare the value of the returned characteristic variable (such as manufacturer ID, model, etc.) with the built-in characteristic value. The characteristic value built into the circuit breaker is pre-stored inside the circuit breaker and is used to match and identify the manufacturer and model of the inverter. If the returned characteristic information is consistent with the characteristic value built into the circuit breaker, it means that the circuit breaker can successfully identify the manufacturer and model of the inverter and complete the identification process. If the characteristic value does not match, the circuit breaker can continue to poll other addresses or information until it finds an inverter that can be connected and completes the identification.

[0073] Through the above method, the embodiment of the present application enables the circuit breaker to adaptively identify the manufacturers and models of multiple inverters without relying on manual configuration, thereby effectively improving the degree of automation of equipment access and management.

[0074] In some embodiments, the recognition result may be determined by:

[0075] First, obtain the first variable value corresponding to the characteristic variable built into the circuit breaker;

[0076] Next, a second variable value corresponding to the characteristic variable of the inverter to be connected is obtained, and the second variable value is used as response information;

[0077] Finally, the recognition result is determined according to the comparison result of the first variable value and the second variable value.

[0078] The first variable value refers to the characteristic value of the characteristic variable of the inverter stored inside the circuit breaker, which is key data used to determine whether the current inverter belongs to a specific manufacturer. When the circuit breaker identifies the inverter, it can first extract these preset characteristic variable values ​​(first variable values) from the internally stored database as a reference standard for identification.

[0079] Among them, the second variable value is the value of the characteristic variables such as the manufacturer ID, device model, and communication protocol of the inverter, which is stored in the register of the inverter. When the circuit breaker sends a query command, the inverter can read and return the above data. The second variable value returned by the inverter is passed to the circuit breaker as response information, and the circuit breaker uses it to verify the information of the inverter.

[0080] In some embodiments, the circuit breaker can compare its built-in first variable value with the second variable value returned by the inverter. If the two values ​​match, it means that the characteristics of the inverter are consistent with the characteristics built into the circuit breaker, and the circuit breaker can confirm the manufacturer and model of the inverter and successfully complete the identification. Correspondingly, if the first variable value and the second variable value do not match, it means that the inverter does not belong to the range of inverters that the current circuit breaker can identify, and the circuit breaker continues to perform other operations, such as trying to identify other devices or reporting identification failure.

[0081] In some embodiments, the recognition result may also be determined by:

[0082] First, if the value of the second variable is equal to any value of the first variable, the identification result is that the inverter to be connected has been identified, and the adaptive mode is started to automatically connect the circuit breaker to the inverter, and data is exchanged with the inverter after the circuit breaker is powered on again;

[0083] Secondly, if the second variable value is not equal to all the first variable values, the recognition result is that the inverter to be connected has not passed, and the non-adaptive mode is started to burn the characteristic variables of the inverter to the circuit breaker through an external device, and data is exchanged with the inverter after the circuit breaker is powered on again.

[0084] In some embodiments, when the second variable value returned by the inverter to be connected matches the first variable value built into the circuit breaker, it indicates that the circuit breaker can successfully identify the model or manufacturer of the inverter. In this case, the circuit breaker can confirm that the identification result is passed, that is, the inverter is a device supported by the circuit breaker.

[0085] It can be understood that the adaptive mode means that the circuit breaker can automatically adjust the communication parameters according to the characteristic values ​​of the inverter, so that the circuit breaker can automatically configure the parameters required for communication without manual intervention, and seamlessly interact with the inverter. After the circuit breaker is powered on again, it can automatically interact with the inverter to read or write the operating parameters of the device, such as voltage, current, etc., so as to achieve normal monitoring and control of the system.

[0086] In some embodiments, if the second variable value returned by the inverter to be connected does not match all the first variable values ​​built into the circuit breaker, it means that the inverter is not supported by the circuit breaker by default, and the circuit breaker cannot automatically identify the device. The circuit breaker cannot connect and communicate through automatic identification, so it will start the backup non-adaptive mode. In the non-adaptive mode, the circuit breaker cannot automatically adjust the parameters to communicate with the inverter, so manual intervention is required with the help of external equipment.

[0087] Specifically, users can use external devices such as mobile phones and computers to burn the characteristic variables of the inverter into the circuit breaker, such as register addresses, function codes, data lengths, etc., which is similar to manually entering the "ID card" information of the inverter into the circuit breaker. After the burning is completed, the circuit breaker can be powered on again. At this point, the circuit breaker already has the parameters required to communicate with the inverter, and can exchange data with the inverter to ensure the normal operation of the system.

[0088] By adopting adaptive mode and non-adaptive mode, the flexibility and adaptability of the circuit breaker in identifying inverters can be improved. It can not only automatically adapt to common inverters on the market, but also support new device types through manual configuration, ensuring the stable operation of the system in various complex environments.

[0089] In some embodiments, the characteristic variables of the inverter are burned in the following manner:

[0090] First, the characteristic variables of the inverter to be connected are input into the external device to generate a target file containing the characteristic variables;

[0091] Next, the target file is transmitted to the circuit breaker, so that the circuit breaker obtains the characteristic variables by parsing the target file and saves them.

[0092] The target file may be a bin format file, and the specific data of an exemplary target file may be expressed as:

[0093] {

[0094] "Flag":1,

[0095] "M":"KeShiDa",

[0096] "PM":"no",

[0097] "HybridProtocol":1,

[0098] "Data":[

[0099] {

[0100] "DataName":"Ua",

[0101] "Addr":3014,

[0102] "FunCode":4,

[0103] "Length":1,

[0104] "Rate":1

[0105] },

[0106] {

[0107] "DataName":"Ub",

[0108] "Addr":3015,

[0109] "FunCode":4,

[0110] "Length":1,

[0111] "Rate":1

[0112] },

[0113] {

[0114] "DataName":"Uc",

[0115] "Addr":3016,

[0116] "FunCode":4,

[0117] "Length":1,

[0118] "Rate":1

[0119] } ]

[0121] }.

[0122] In the target file, Flag is a flag indicating whether the inverter is adaptive, 1 means enabled. M is the inverter manufacturer, here it is "KeShiDa", representing an inverter from a specific manufacturer. PM is the inverter mode (may be "yes" or "no"), here it is "no". HybridProtocol is the model or communication protocol of the inverter. DataName is the variable name, such as "Ua" (may represent voltage or other parameters). Addr is the address of the variable, similar to the location where data is stored, such as "3014". FunCode is the function code of the variable, which is used to identify specific operations, such as reading and writing. Length is the variable length, indicating the data length of the variable, such as 4 bytes. Rate is the variable multiplier, indicating the multiplier or unit conversion of the variable. For example, the value here is 1, which means there is no multiplier change.

[0123] like Figure 4 As shown, in some embodiments, the configured target file (e.g., a bin file in JSON format) can be imported into the circuit breaker through the host computer, and upgraded to the circuit breaker using a specific communication protocol (e.g., Mod bus, DLT645, or DLT698). The circuit breaker can parse the target file, extract the necessary communication parameters, and finally achieve automatic reset and restart.

[0124] Among them, the host computer is a computer or device used to communicate and manage the circuit breaker. Users can import the bin file in JSON format through the host computer. The target file can include the characteristic information of the inverter, including register address, function code, data length and other necessary communication data. The bin file is a binary file that stores the data that the system needs to identify and communicate, and is used to tell the circuit breaker how to interact with the inverter to be connected.

[0125] After importing the bin file, the host computer transmits data with the circuit breaker through the specified communication protocol, such as Modbus, DLT645 or DLT698. Figure 4 The upgrade method in this article refers to transferring the data in the bin file to the circuit breaker through these communication protocols. After the circuit breaker receives the target file, it can parse the data in the target file.

[0126] In some embodiments, after the circuit breaker receives and reads the imported bin file, it can parse the file. The parsing process can be to convert the binary data in the bin file into specific, usable variables, such as register addresses, function codes, and data lengths, etc., to tell the circuit breaker how to communicate with the inverter. For example, a bin file can contain the register address of a certain inverter (used to store voltage information), function codes (used to read register data), and data length (telling the circuit breaker how many bytes of data to read).

[0127] During the parsing process, the circuit breaker can extract the communication parameters contained in the bin file. After the parsing is completed, the circuit breaker can save these extracted parameter data to its own storage system for subsequent communication. The saved data may include one or more of the register address, function code, and data length, which will be used to interact with the inverter. The purpose of saving is to allow the circuit breaker to automatically communicate with the inverter according to these parameters after restarting without the need to configure it again. After parsing and saving the data, the circuit breaker will automatically reset and restart. The purpose of resetting and restarting is to allow the circuit breaker to reload the configuration and prepare to communicate with the inverter according to the new parameters.

[0128] Step 103: According to the identification result, the circuit breaker is connected to the inverter that has passed the identification, so as to establish data interaction between the circuit breaker and the inverter.

[0129] In some embodiments, after the circuit breaker is restarted, the circuit breaker can establish a communication link with the identified inverter according to the saved register address and function code to achieve data interaction, such as reading operating data such as voltage and current, or sending control instructions.

[0130] In some embodiments, the method of the present application may further include:

[0131] First, obtain the identifier of the circuit breaker's built-in feature variable;

[0132] Next, according to the identification of the characteristic variable, the circuit breaker uses the first characteristic variable stored by default to identify and exchange data with the inverter, or uses the second characteristic variable that has been burned to identify and exchange data with the inverter.

[0133] like Figure 5 As shown, the circuit breaker can first read the previously saved JSON format data from its internal memory. The above read data can be transmitted or burned by the circuit breaker through an external device (such as a host computer), and contains the characteristic variable information required for communication with the inverter, such as the register address, function code, data length and other necessary parameters of the inverter, to help the circuit breaker identify and communicate.

[0134] After reading the stored data, the circuit breaker can extract an important field, which is the representation of the characteristic variable, also known as the "flag". The value of the flag is used to determine whether the circuit breaker uses the default characteristic variable or the burned-in characteristic variable to interact with the inverter. Specifically, when the circuit breaker then checks the value of the flag, if the flag is equal to 1, it means that the circuit breaker needs to use the characteristic variable burned in by the external device. If the flag is not equal to 1, for example, when the flag is equal to 0, it means that the circuit breaker will use the default characteristic variable.

[0135] Specifically, when the flag value is equal to 1, the circuit breaker can use the preset first characteristic variable to identify and communicate with the inverter. In this case, the circuit breaker can perform polling identification according to the fixed register address and read length. In other words, the circuit breaker can query each fixed register address in turn, check whether it can communicate with the inverter to be connected, and read relevant data. This adaptive mode is the normal default identification and interaction process with the inverter.

[0136] When the flag value is equal to 1, it means that the system has burned new inverter characteristic variables into the circuit breaker through an external device (such as a host computer). In this case, the circuit breaker will no longer use the default first characteristic variable, but will use the burned second characteristic variable for identification and data exchange. The second characteristic variable is burned in by an external device specifically for a specific inverter, and can include a new register address, function code, and data length to help the circuit breaker identify and communicate with inverters that are not in the default list. The circuit breaker can continue to read the burned data, establish communication with the inverter based on these characteristic variables, and exchange data. At this point, the circuit breaker can communicate normally with the inverter that was previously unrecognizable.

[0137] It can be understood that the circuit breaker can exchange data with the inverter regardless of whether the default first characteristic variable is used or the second characteristic variable is burned externally. By reading the register address and using the function code for query, the circuit breaker can obtain the required operating data (such as voltage, current, etc.) from the inverter and transmit the data to the master station or other systems for monitoring and control.

[0138] In actual applications, you can first confirm whether the inverter on site belongs to the factory level and model that is already supported by the circuit breaker. If so, connect the circuit breaker and inverter normally. After the circuit breaker is powered on again, normal data interaction can be established. If the circuit breaker has a display function, you can view the read inverter data or view it on the master station.

[0139] In another scenario, you can first confirm whether the inverter on site belongs to the factory level and model that is already supported by the circuit breaker, and then use the mobile phone Bluetooth APP or wireless handheld device to generate the bin file of the inverter according to the data manual of the inverter on site, and burn the above bin file into the circuit breaker through the mobile phone Bluetooth, RS485, 4G and other communication interfaces. When the circuit breaker is powered on again, normal data interaction can be established with the inverter. If the circuit breaker has a display function, the inverter data read can be viewed or viewed on the master station.

[0140] The data interaction method between the circuit breaker and the inverter provided in the present application first obtains the characteristic variables of the inverter and builds the characteristic variables into the circuit breaker. This process does not require manual configuration, so that the circuit breaker can be compatible with multiple protocols and inverter types, and has good adaptability and versatility. Then, when the circuit breaker is powered on, the recognition result of the circuit breaker for the connected inverter based on the characteristic variables is obtained, so that the local acquisition and reporting of the inverter data can be achieved through the circuit breaker. Finally, according to the recognition result, the circuit breaker is connected to the inverter that has passed the recognition to establish data interaction between the circuit breaker and the inverter. Data interaction is directly performed between the circuit breaker and the inverter, so there is no need to rely on the cloud platform. Even in the scenario where it is impossible to communicate with the cloud platform, the flexibility, stability and continuity of data interaction with the inverter can still be guaranteed, reducing the difficulty of data interaction.

[0141] In a possible example, in order to better implement the data interaction method between the circuit breaker and the inverter in the embodiment of the present application, on top of the data interaction method between the circuit breaker and the inverter, the embodiment of the present application further provides a data interaction device 200 between the circuit breaker and the inverter, such as Figure 6 As shown, the data interaction device 200 between the circuit breaker and the inverter includes:

[0142] An information acquisition module 201 is used to acquire characteristic variables of the inverter and embed the characteristic variables into the circuit breaker;

[0143] The object identification module 202 is used to obtain the identification result of the circuit breaker for the connected inverter according to the characteristic variables after the circuit breaker is powered on;

[0144] The data interaction module 203 is used to connect the circuit breaker with the inverter that has passed the identification according to the identification result, so as to establish data interaction between the circuit breaker and the inverter.

[0145] In an embodiment of the present application, the information acquisition module 201, the object recognition module 202 and the data interaction module 203 can be used to execute steps 101-103 of the aforementioned method embodiment respectively. For more detailed contents or specific implementation methods of each functional module, please refer to the description of the corresponding method steps, which will not be repeated here.

[0146] The data interaction device 200 between the circuit breaker and the inverter provided in the present application first obtains the characteristic variables of the inverter through the information acquisition module 201, and the characteristic variables are built into the circuit breaker. Then, when the circuit breaker is powered on, the object recognition module 202 obtains the recognition result of the circuit breaker for the inverter to be connected according to the characteristic variables. Finally, according to the recognition result, the data interaction module 203 connects the circuit breaker with the inverter that has passed the recognition to establish data interaction between the circuit breaker and the inverter.

[0147] The present application also provides a computer device. Figure 7 , Figure 7 This is a basic structural block diagram of the computer device in this embodiment.

[0148] The computer device includes a memory 310 and a processor 320 that are connected to each other through a system bus. It should be noted that the figure only shows a computer device with components 310-320, but it should be understood that it is not required to implement all the components shown, and more or fewer components can be implemented instead. Among them, those skilled in the art can understand that the computer device here is a device that can automatically perform numerical calculations and / or information processing according to pre-set or stored instructions, and its hardware includes but is not limited to microprocessors, application specific integrated circuits (Application Specific Integrated Circuit, ASIC), programmable gate arrays (Field-Programmable Gate Array, FPGA), digital processors (Digital Signal Processor, DSP), embedded devices, etc.

[0149] Computer devices can be computing devices such as desktop computers, notebooks, PDAs, and cloud servers. Computer devices can interact with users through keyboards, mice, remote controls, touch pads, or voice control devices.

[0150] The memory 310 includes at least one type of readable storage medium, and the readable storage medium includes a non-volatile memory or a volatile memory, such as a flash memory, a hard disk, a multimedia card, a card-type memory (such as an SD or DX memory, etc.), a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, etc., and the RAM may include a static RAM or a dynamic RAM. In some embodiments, the memory 310 may be an internal storage unit of a computer device, such as a hard disk or a memory of the computer device. In other embodiments, the memory 310 may also be an external storage device of the computer device, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card or a flash card (Flash Card) equipped on the computer device. Of course, the memory 310 may also include both the internal storage unit of the computer device and its external storage device. In this embodiment, the memory 310 is generally used to store the operating system and various application software installed on the computer device, such as the program code of the above method. In addition, the memory 310 may also be used to temporarily store various data that have been output or are to be output. In some embodiments, the memory 310 may also be a register.

[0151] The processor 320 is generally used to perform the overall operation of the computer device. In this embodiment, the memory 310 is used to store program codes or instructions, the program code includes computer operation instructions, and the processor 320 is used to execute the program codes or instructions stored in the memory 310 or process data, such as running the program code of the above method.

[0152] In this article, the bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus system can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.

[0153] Another embodiment of the present application also provides a computer-readable medium, which may be a computer-readable signal medium or a computer-readable medium. A processor in a computer reads a computer-readable program code stored in the computer-readable medium, so that the processor can execute the functional actions specified in each step or a combination of steps in the above method; and generate a device for implementing the functional actions specified in each block or a combination of blocks in the block diagram.

[0154] Computer-readable media include but are not limited to electronic, magnetic, optical, electromagnetic, infrared memory or semiconductor systems, devices or apparatuses, or any appropriate combination of the foregoing, the memory is used to store program codes or instructions, the program codes include computer operating instructions, and the processor is used to execute the program codes or instructions of the above methods stored in the memory.

[0155] For the definitions of memory and processor, please refer to the description of the aforementioned computer device embodiment and will not be repeated here.

[0156] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0157] Each functional unit or module in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0158] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) or a processor (processor) to perform all or part of the steps of each embodiment method of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), disk or optical disk and other media that can store program code.

[0159] In the claims, any reference symbols placed between brackets shall not be construed as limiting the claims. The word "comprising" described in the present application does not exclude the presence of elements or steps not listed in the claims. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The present application can be implemented with the aid of hardware comprising several different elements and with the aid of a suitably programmed computer. In a unit claim that lists a number of devices, several units of these devices may be embodied by the same hardware item. The use of first, second, and third, etc. does not indicate any order, and these words may be interpreted as names. The steps in the above embodiments, unless otherwise specified, should not be understood as limitations on the order of execution.

[0160] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A data interaction method between a circuit breaker and an inverter, characterized in that: The method comprises: Acquire characteristic variables of the inverter, and embed the characteristic variables into the circuit breaker; When the circuit breaker is powered on, obtaining an identification result of the circuit breaker for the inverter to be connected according to the characteristic variable; According to the identification result, the circuit breaker is connected to the inverter that has passed the identification, so as to establish data interaction between the circuit breaker and the inverter.

2. The data interaction method between a circuit breaker and an inverter according to claim 1, characterized in that: The obtaining, by the circuit breaker, an identification result of the inverter to be connected according to the characteristic variable comprises: Identifying the register address of each inverter to be connected by polling; When the register address of the inverter to be connected is recognized, the characteristic information of each inverter to be connected is read with a preset data length; Receiving response information returned by each of the inverters to be connected; According to the response information, an identification result of each inverter to be connected is determined.

3. The data interaction method between a circuit breaker and an inverter according to claim 2, characterized in that: The step of determining the identification result of each inverter to be connected according to the response information includes: Obtaining a first variable value corresponding to a characteristic variable built into the circuit breaker; Acquire a second variable value corresponding to the characteristic variable of the inverter to be connected, and use the second variable value as the response information; The recognition result is determined according to a comparison result of the first variable value and the second variable value.

4. The data interaction method between a circuit breaker and an inverter according to claim 3, characterized in that: The determining the recognition result according to the comparison result between the first variable value and the second variable value includes: If the second variable value is equal to any of the first variable values, the identification result is that the inverter to be connected is identified successfully, and the adaptive mode is started to automatically connect the circuit breaker to the inverter, and data is exchanged with the inverter after the circuit breaker is powered on again; If the second variable value is not equal to all the first variable values, the identification result is that the inverter to be connected has not passed, and the non-adaptive mode is started to burn the characteristic variables of the inverter to the circuit breaker through an external device, and data is interacted with the inverter after the circuit breaker is powered on again.

5. The data interaction method between a circuit breaker and an inverter according to claim 4, characterized in that: The starting non-adaptive mode burns the characteristic variables of the inverter into the circuit breaker through an external device, including: Inputting the characteristic variables of the inverter to be connected into the external device to generate a target file containing the characteristic variables; The target file is transmitted to the circuit breaker, so that the circuit breaker obtains the characteristic variable by parsing the target file and saves the characteristic variable.

6. The data interaction method between a circuit breaker and an inverter according to any one of claims 2 to 5, characterized in that: The method further comprises: Obtaining an identifier of a characteristic variable built into the circuit breaker; According to the identification of the characteristic variable, the circuit breaker uses the first characteristic variable stored by default to identify and exchange data with the inverter, or uses the second characteristic variable that has been burned to identify and exchange data with the inverter.

7. The data interaction method between a circuit breaker and an inverter according to claim 1, characterized in that: The characteristic variables of the inverter include one or more of a register address, a function code and a data length.

8. A data interaction device between a circuit breaker and an inverter, characterized in that: The device comprises: An information acquisition module, used for acquiring characteristic variables of the inverter and embedding the characteristic variables into the circuit breaker; An object identification module, used for obtaining an identification result of the circuit breaker for the inverter to be connected according to the characteristic variable after the circuit breaker is powered on; A data interaction module is used to connect the circuit breaker with the inverter that has passed the identification according to the identification result, so as to establish data interaction between the circuit breaker and the inverter.

9. A computer device, characterized in that: include: Processor and memory; The memory is used to store computer programs; The processor is used to execute the computer program stored in the memory to implement the steps of the data interaction method between the circuit breaker and the inverter according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: A computer program is stored, and the computer program is loaded by a processor to execute the steps of the data interaction method between a circuit breaker and an inverter as described in any one of claims 1 to 7.