Adaptive access method and system of inverter

By calling and matching inverter feature data through an inverter feature template library, the problem of narrow inverter access adaptability in traditional methods is solved, enabling adaptive access for multiple types of inverters, reducing development workload and cost, and improving grid connection efficiency.

CN121689489APending Publication Date: 2026-03-17NANJING LINGSHU INTELLIGENT TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511810005.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-12-03
Publication Date
2026-03-17

AI Technical Summary

Technical Problem

Traditional inverter grid connection methods are only applicable to a fixed manufacturer and a small number of inverters. They cannot be adapted to inverters from multiple manufacturers and with multiple protocols, resulting in a large workload and high cost when adding or adjusting inverters, and there is also the risk of improper adaptation.

Method used

Based on a pre-configured inverter feature template library, inverter feature data is retrieved by querying commands, the matching rules in the feature template library are used to determine the appropriate configuration, and data reading, writing and association control operations are performed to achieve adaptive access of the inverter.

Benefits of technology

It enables flexible access to multiple types and protocols of inverters, reduces development workload, reduces rework costs, improves grid connection efficiency and flexibility, and adapts to the grid connection needs of multi-source heterogeneous inverters.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121689489A_ABST
    Figure CN121689489A_ABST
Patent Text Reader

Abstract

The invention provides a self-adaptive access method and system for an inverter, and the method comprises the steps: transmitting a query instruction to a to-be-accessed inverter based on a pre-configured inverter feature template library, and calling the feature data of the to-be-accessed inverter; matching the measured feature data with feature identification information in an inverter feature template library, and determining adaptive configuration of the inverter to be accessed; based on the adaptive configuration, executing data reading, data writing and association control operations on the inverter to be accessed, and completing grid-connected access of the inverter to be accessed; according to the method, the uniform format template library integrating the characteristic information of the inverters of multiple manufacturers is pre-constructed, and the adaptive configuration is determined by matching the interrogation characteristic data with the template library, so that flexible access of the inverters of multiple types and multiple protocols can be realized, the development workload during access of the newly added or stored inverters can be reduced, and the development efficiency of the inverters of multiple manufacturers can be improved. And the rework cost caused by improper adaptation is reduced, so that the grid-connected access efficiency and flexibility of the multi-source heterogeneous inverter are remarkably improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of photovoltaic new energy technology, specifically to an adaptive access method and system for inverters. Background Technology

[0002] Currently, with the rapid development of new energy industries such as photovoltaics, inverters, as core energy conversion equipment, are finding increasingly wider applications, leading to a diversification of inverter manufacturers and product models on the market. Traditional grid connection methods for inverters often employ customized adaptation methods involving protocol conversion. This approach requires developing separate adaptation programs for specific manufacturers and models of inverters, and can only meet the needs of connection scenarios with fixed manufacturers and limited product types.

[0003] Inverter protocols include standard and non-standard MODBUS protocols. When general-purpose protocol converters process such inverter-side equipment, traditional methods involve using specific protocol programming to achieve one-to-one matching with each inverter manufacturer's model. Each inverter's telemetry data collection, tele-signaling quantity collection, event-based data processing and judgment, as well as flexible adjustments to photovoltaic active and reactive power, power factor, etc., all require a single protocol. Adding different inverters to the network and processing requires upgrading the equipment program; fine-tuning the data items connected to the inverter also requires modifying the program and upgrading, resulting in poor flexibility and maintainability.

[0004] Furthermore, the communication protocols of inverters from different manufacturers vary significantly. There are different variations of common protocols like Modbus, as well as manufacturer-specific proprietary protocols. Moreover, the access parameter descriptions in some manufacturers' technical documentation deviate from the actual access requirements of the devices. This makes traditional protocol conversion methods difficult to adapt to the access needs of multiple types and protocols of inverters. When adding or adjusting inverters in a grid-connected system, technicians must re-parse protocols, develop programs, and debug them. This not only involves a huge workload but also often results in repeated rework due to inadequate adaptation, significantly increasing project implementation costs and timelines. This severely restricts the flexible expansion and efficient operation of new energy grid-connected systems. Summary of the Invention

[0005] To address the limitations of traditional protocol conversion methods for connecting inverters to grid-connected systems, which are only suitable for scenarios with fixed manufacturers and limited types of inverters, and cannot adapt to the diverse range of inverters, complex communication protocols, and discrepancies between documentation and actual connection, leading to significant workload and rework costs when adding or adjusting inverter connections, this invention proposes an adaptive inverter connection method, comprising:

[0006] Based on a pre-configured inverter feature template library, a query command is sent to the inverter to be connected to retrieve the feature data of the inverter to be connected.

[0007] The detected feature data is matched with the matching rules corresponding to the feature recognition information in the inverter feature template library to determine the adaptation configuration of the inverter to be connected.

[0008] Based on the adaptation configuration, data reading, data writing and associated control operations are performed on the inverter to be connected to complete the grid connection of the inverter to be connected.

[0009] The inverter feature template library integrates feature identification information, data item access parameters, and control strategy parameters of inverters from different manufacturers in advance, and configures them in JSON format to form a unified template file.

[0010] Optionally, the step of matching the recalled feature data with the matching rules corresponding to the feature recognition information in the inverter feature template library to determine the adaptation configuration of the inverter to be connected includes:

[0011] The feature identification information of a target inverter is retrieved from the inverter feature template library in a preset order; wherein, the target inverter is any inverter from any manufacturer to be matched in the inverter feature template library.

[0012] Based on the feature identification information of the target inverter, extract the key feature items and non-key feature items from the feature identification information;

[0013] The feature data to be recalled is matched with the matching rules corresponding to the key feature items, and the adaptation configuration of the inverter to be connected is determined based on the matching results of the feature data to be recalled and the matching rules corresponding to the key feature items.

[0014] The key features include any one of the following: manufacturer code, dedicated feature register address, and fixed feature value; the non-key features include any one of the following: model derivative identifier and feature value fluctuation range.

[0015] Optionally, determining the adaptation configuration of the inverter to be connected based on the matching result of the matching rules corresponding to the key feature items and the recalled feature data includes:

[0016] If the detected feature data fails to match the matching rule corresponding to the key feature item, the target inverter configuration is determined to be failed.

[0017] When the detected feature data successfully matches the matching rule corresponding to the key feature item, the non-key feature data corresponding to the detected feature data is compared with the feature value fluctuation range in the non-key feature item to obtain the comparison result of whether the non-key feature data falls within the feature value fluctuation range.

[0018] Based on the comparison results, the adaptation configuration of the inverter to be connected is determined.

[0019] Optionally, determining the adaptation configuration of the inverter to be connected based on the comparison result includes:

[0020] When the comparison result shows that the non-critical feature data does not fall within the feature value fluctuation range, it is determined that the target inverter configuration has failed.

[0021] When the comparison result shows that the non-critical feature data falls within the feature value fluctuation range, the configuration corresponding to the feature identification information of the target inverter is determined as the adaptation configuration of the inverter to be connected.

[0022] Optionally, based on the adaptation configuration, performing data reading, data writing, and associated control operations on the inverter to be connected to complete the grid connection of the inverter to be connected includes:

[0023] Extract core configuration information from the adaptation configuration;

[0024] Based on the core configuration information, data is read from the inverter to be connected to obtain standard configuration data;

[0025] Based on the standard configuration data, data is written to the inverter to be connected to obtain the configuration parameter activation confirmation information and real-time operation data of the inverter to be connected.

[0026] Based on the configuration parameter activation confirmation information and real-time operating data, the inverter to be connected is associated with the control, and the stable operating status of the inverter to be connected that meets the national standard power quality association threshold and the grid connection success feedback signal are obtained.

[0027] Based on the stable operating status of the inverter to be connected that meets the relevant threshold of the national standard power quality and the successful grid connection feedback signal, the grid connection of the inverter to be connected is completed.

[0028] The core configuration information includes one or more of the following: data item access parameters, control strategy parameters, and the associated threshold of national standard power quality.

[0029] The data item access parameters include: the register address, read / write function code, data type, data length, and unit conversion factor corresponding to each data item.

[0030] Optionally, the step of reading data from the inverter to be connected based on the core configuration information includes:

[0031] Based on the register address and read function code in the data item access parameters, the data read instruction is encapsulated and sent using the MODBUS protocol, and the reply message from the inverter to be connected is received.

[0032] The reply message is parsed according to the data type and the data length, and the parsed reply message is converted into standard configuration data by combining the unit conversion factor.

[0033] The standard configuration data includes one or more of the following: grid-connected power factor lower limit and voltage protection threshold.

[0034] Optionally, the step of writing data to the inverter to be connected according to the standard configuration data to obtain the configuration parameter activation confirmation information and real-time operation data of the inverter to be connected includes:

[0035] Based on the standard configuration data and the data item access parameters in the core configuration information, extract the data to be written; wherein, the data to be written includes: register address, write function code and data type;

[0036] Convert the actual values ​​in the standard configuration data into byte sequences that conform to the preset data type requirements;

[0037] The byte sequence is encapsulated into a data write instruction according to the MODBUS protocol format;

[0038] The system sends the data writing command to the inverter to be connected through a preset communication link and receives the write confirmation message returned by the inverter to be connected.

[0039] The write confirmation message is verified. If the verification is successful, a read instruction for the target register is sent to the inverter to be connected. After comparing the read value with the standard configuration data, the configuration parameter effective confirmation information of the inverter to be connected is generated, and the real-time running data is read.

[0040] Optionally, the step of performing associated control on the inverter to be connected based on the configuration parameter activation confirmation information and real-time operating data to obtain the stable operating status of the inverter to be connected meeting the national standard power quality associated threshold and the grid connection success feedback signal includes:

[0041] Based on the configuration parameter confirmation information and real-time operation data of the inverter to be connected, determine whether the inverter to be connected meets the relevant threshold of the national standard power quality.

[0042] When the inverter to be connected meets the relevant threshold of the national standard power quality, the operating status data of the inverter to be connected is monitored and acquired in real time.

[0043] When the operating status data of the inverter to be connected is within the preset control strategy parameter range, it is determined that the inverter to be connected has reached a stable operating state, and a grid connection success feedback signal is generated.

[0044] Based on the same inventive concept, the present invention also provides an adaptive access system for an inverter, comprising:

[0045] The instruction reading module is used to send a query instruction to the inverter to be connected based on a pre-configured inverter feature template library, and to retrieve the feature data of the inverter to be connected.

[0046] The feature matching module is used to match the recalled feature data with the association rules corresponding to the feature recognition information in the inverter feature template library to determine the adaptation configuration of the inverter to be connected.

[0047] The grid connection module is used to perform data reading, data writing and associated control operations on the inverter to be connected based on the adaptation configuration, so as to complete the grid connection of the inverter to be connected;

[0048] The inverter feature template library integrates feature identification information, data item access parameters, and control strategy parameters of inverters from different manufacturers in advance, and configures them in JSON format to form a unified template file.

[0049] Optionally, the feature matching module includes:

[0050] The template retrieval submodule is used to retrieve a set of feature identification information of a target inverter from the inverter feature template library in a preset order; wherein, the target inverter is any inverter from any manufacturer to be matched in the inverter feature template library;

[0051] The feature extraction submodule is used to extract key and non-key feature items from the feature identification information of the target inverter.

[0052] The feature configuration submodule is used to match the recalled feature data with the matching rules corresponding to the key feature items, and determine the adaptation configuration of the inverter to be connected based on the matching result of the recalled feature data and the matching rules corresponding to the key feature items.

[0053] The key features include any one of the following: manufacturer code, dedicated feature register address, and fixed feature value; the non-key features include any one of the following: model derivative identifier and feature value fluctuation range.

[0054] Optionally, the feature configuration submodule includes:

[0055] The first configuration unit is used to determine that the target inverter configuration has failed when the recalled feature data fails to match the matching rule corresponding to the key feature item.

[0056] The second configuration unit is used to compare the non-key feature data in the recalled feature data with the feature value fluctuation range in the non-key feature item when the recalled feature data successfully matches the matching rule corresponding to the key feature item, and obtain the comparison result of whether the non-key feature data falls within the feature value fluctuation range.

[0057] The configuration result output unit is used to determine the adaptation configuration of the inverter to be connected based on the comparison result.

[0058] Optionally, the configuration result output unit includes:

[0059] The first result judgment subunit is used to determine that the target inverter configuration has failed when the comparison result shows that the non-critical feature data does not fall within the feature value fluctuation range.

[0060] The second result judgment subunit is used to determine the configuration corresponding to the feature identification information of the target inverter as the adaptation configuration of the inverter to be connected when the comparison result shows that the non-critical feature data falls within the feature value fluctuation range.

[0061] Optionally, the grid connection module includes:

[0062] The information extraction submodule is used to extract core configuration information from the adaptation configuration;

[0063] The data reading submodule is used to read data from the inverter to be connected based on the core configuration information to obtain standard configuration data;

[0064] The data writing submodule is used to write data to the inverter to be connected according to the standard configuration data, and obtain the configuration parameter effective confirmation information and real-time operation data of the inverter to be connected.

[0065] The associated control submodule is used to perform associated control on the inverter to be connected based on the configuration parameter activation confirmation information and real-time operation data, so as to obtain the stable operation status of the inverter to be connected that meets the national standard power quality associated threshold and the grid connection success feedback signal.

[0066] The information feedback submodule is used to complete the grid connection of the inverter to be connected based on the stable operating status of the inverter to be connected that meets the relevant threshold of the national standard power quality and the grid connection success feedback signal.

[0067] The core configuration information includes one or more of the following: data item access parameters, control strategy parameters, and the associated threshold of national standard power quality.

[0068] The data item access parameters include: the register address, read / write function code, data type, data length, and unit conversion factor corresponding to each data item.

[0069] Optionally, the data reading submodule includes:

[0070] The protocol encapsulation unit is used to encapsulate and send data reading instructions using the MODBUS protocol according to the register address and read function code in the data item access parameters, and to receive the reply message from the inverter to be connected.

[0071] The message parsing unit is used to parse the reply message according to the data type and the data length, and convert the parsed reply message into standard configuration data by combining the unit conversion factor.

[0072] The standard configuration data includes one or more of the following: grid-connected power factor lower limit and voltage protection threshold.

[0073] Optionally, the data writing submodule includes:

[0074] The configuration writing unit is used to extract the data to be written based on the data item access parameters in the standard configuration data and the core configuration information; wherein, the data to be written includes: register address, write function code and data type;

[0075] A data conversion unit is used to convert the actual values ​​in the standard configuration data into byte sequences that conform to preset data type requirements;

[0076] A byte encapsulation unit is used to encapsulate the byte sequence into a data write instruction according to the MODBUS protocol format;

[0077] The instruction issuing unit is used to issue the data writing instruction to the inverter to be connected through a preset communication link, and to receive the write confirmation message returned by the inverter to be connected.

[0078] The write verification unit is used to verify the write confirmation message. If the verification is successful, it sends a read instruction of the target register to the inverter to be connected. After comparing the read value with the standard configuration data, it generates configuration parameter activation confirmation information for the inverter to be connected and reads the real-time running data.

[0079] Optionally, the association control submodule includes:

[0080] The grid connection judgment unit is used to determine whether the inverter to be connected meets the national standard power quality correlation threshold based on the configuration parameter effective confirmation information and real-time operation data of the inverter to be connected.

[0081] The status monitoring unit is used to monitor and acquire the operating status data of the inverter to be connected in real time when the inverter to be connected meets the relevant threshold of the national standard power quality.

[0082] The signal generation unit is used to determine that the inverter to be connected has reached a stable operating state and generate a grid connection success feedback signal when the operating status data of the inverter to be connected is within the range of preset control strategy parameters.

[0083] In another aspect, the present invention also provides an electronic device, comprising: at least one processor and a memory; the memory and the processor are connected via a bus;

[0084] The memory is used to store one or more programs;

[0085] When the one or more programs are executed by the at least one processor, an adaptive access method for an inverter as described above is implemented.

[0086] In another aspect, the present invention also provides a computer device readable storage medium having an executable program stored thereon, wherein when the executable program is executed, it implements an adaptive access method for an inverter as described above.

[0087] Compared with the prior art, the beneficial effects of the present invention are as follows:

[0088] This invention provides an adaptive grid connection method and system for inverters, comprising: sending a query command to an inverter to be connected based on a pre-configured inverter feature template library to retrieve feature data of the inverter to be connected; matching the retrieved feature data with matching rules corresponding to feature identification information in the inverter feature template library to determine the adaptation configuration of the inverter to be connected; and performing data reading, data writing, and associated control operations on the inverter to be connected based on the adaptation configuration to complete the grid connection of the inverter to be connected; wherein, the inverter feature template library integrates feature identification information and data item access parameters of inverters from different manufacturers in advance. This invention pre-constructs a unified format template library that integrates the characteristic identification information, access parameters, and control strategy parameters of inverters from multiple manufacturers. By matching the template library with the recall feature data, it can determine the appropriate configuration, enabling flexible access for inverters of multiple types and protocols. This effectively solves the problems of narrow compatibility, difficulty in dealing with complex protocols, and inconsistencies between documentation and actual access in traditional protocol conversion methods. It significantly reduces the development workload when adding or connecting existing inverters, reduces rework costs caused by improper adaptation, and significantly improves the grid connection efficiency and flexibility of multi-source heterogeneous inverters, adapting to the diverse equipment access needs of large-scale power plants. Attached Figure Description

[0089] Figure 1 A flowchart illustrating an adaptive access method for an inverter provided by the present invention;

[0090] Figure 2 A schematic diagram of the overall framework of an adaptive access method for an inverter provided by the present invention;

[0091] Figure 3 A strategy flowchart of an adaptive access method for an inverter provided for a specific embodiment of the present invention;

[0092] Figure 4 A schematic diagram of the structural composition of an adaptive access system for an inverter provided by the present invention;

[0093] Figure 5 This is a schematic diagram of the structure of an electronic device provided by the present invention. Detailed Implementation

[0094] This invention proposes an adaptive access method, system, device, and medium for inverters. The specific embodiments of this invention will be further described in detail below with reference to the accompanying drawings.

[0095] Example 1:

[0096] This invention provides an adaptive access method for inverters, the flowchart of which is shown below. Figure 1 As shown, it includes:

[0097] Step 1: Based on the pre-configured inverter feature template library, send a query command to the inverter to be connected to retrieve the feature data of the inverter to be connected;

[0098] Step 2: Match the detected feature data with the matching rules corresponding to the feature recognition information in the inverter feature template library to determine the adaptation configuration of the inverter to be connected;

[0099] Step 3: Based on the adaptation configuration, perform data reading, data writing and association control operations on the inverter to be connected to complete the grid connection of the inverter to be connected;

[0100] The inverter feature template library integrates feature identification information, data item access parameters, and control strategy parameters of inverters from different manufacturers in advance, and configures them in JSON format to form a unified template file.

[0101] Generally, existing inverters can only be adapted to scenarios with fixed manufacturers and limited types when connected to the grid. Given the diverse range of inverter manufacturers and models on the market, significant differences in communication protocols between manufacturers (including standard and non-standard MODBUS protocol variants and proprietary protocols), and discrepancies between the access parameter descriptions in some manufacturers' technical documents and the actual access requirements of the equipment, adding or adjusting inverters requires re-interpreting protocols, developing programs, and debugging. This not only involves a huge workload but also often results in repeated rework due to incompatibility, significantly increasing project implementation costs and timelines. To solve this problem, this invention considers pre-integrating the characteristic identification information, data access parameters, and control parameters of inverters from different manufacturers. The strategy parameters construct a unified format inverter feature template library, providing core support for adaptive access. Based on this template library, standardized query commands are sent to the inverters to be accessed, accurately recalling feature data that can characterize the inverter's identity and core attributes. This data can include key identification information such as manufacturer codes, dedicated feature register addresses, and fixed feature values, as well as auxiliary information such as model-derived identifiers and feature value fluctuation ranges. Command issuance and data feedback are completed through a preset communication link, ensuring that the collected feature data is comprehensive and accurate. This lays a solid foundation for efficient matching with the feature recognition information in the template library, avoiding the adaptation failure problem caused by non-standard data collection in traditional methods from the source.

[0102] Through the feature data retrieval based on the unified format template library, the core identity and attribute information of the inverter to be connected can be obtained. To achieve accurate inverter adaptation, the retrieval data can be matched with the feature recognition information in the template library to determine the adaptation configuration. Specifically:

[0103] In one implementation, step 2 above, which involves matching the detected feature data with the matching rules corresponding to the feature recognition information in the inverter feature template library to determine the adaptation configuration of the inverter to be connected, may include:

[0104] The feature identification information of a target inverter is retrieved from the inverter feature template library in a preset order; wherein, the target inverter is any inverter from any manufacturer to be matched in the inverter feature template library.

[0105] Based on the feature identification information of the target inverter, extract the key feature items and non-key feature items from the feature identification information;

[0106] The feature data to be recalled is matched with the matching rules corresponding to the key feature items, and the adaptation configuration of the inverter to be connected is determined based on the matching results of the feature data to be recalled and the matching rules corresponding to the key feature items.

[0107] The key features include any one of the following: manufacturer code, dedicated feature register address, and fixed feature value; the non-key features include any one of the following: model derivative identifier and feature value fluctuation range; uniqueness is required when extracting key and non-key features, otherwise multiple features need to be added.

[0108] In this implementation, the design of retrieving target inverter feature identification information in a preset order allows for setting matching priorities based on factors such as inverter usage frequency and manufacturer market share in actual application scenarios (e.g., prioritizing commonly used manufacturers and high-percentage models). This significantly reduces invalid matching attempts and avoids the time-consuming problem caused by traversing the entire template library in traditional random matching modes, thus significantly improving feature matching efficiency. This efficiency advantage is even more pronounced when the template library covers dozens or even hundreds of inverter models. By using a hierarchical identification logic for key and non-key features, not only can key items such as manufacturer codes and dedicated feature register addresses ensure the uniqueness and accuracy of device identification, but the flexible adaptability of non-key items such as model-derived identifiers and feature value fluctuation ranges can also accommodate parameter fluctuations caused by slight differences in manufacturing processes between different batches of equipment from the same manufacturer. The system avoids issues like misjudgment and adaptation failures due to minor parameter differences in traditional full-feature strict matching modes, such as slight attribute adjustments in fixed characteristic values ​​of some inverters (e.g., ±2% factory deviation) and minor attribute adjustments in derivative models within the same series. It also eliminates the need to create separate templates for each batch and each derivative model, significantly reducing the maintenance complexity and update costs of the inverter feature template library. Furthermore, by combining and matching key feature items across multiple dimensions (rather than identifying a single feature), it effectively avoids occasional conflicts of single features between devices from different manufacturers (e.g., a fixed characteristic value of a certain model from manufacturer A overlaps with a certain model from manufacturer B). Cross-verification using multi-dimensional information such as manufacturer codes and dedicated register addresses further improves the accuracy of device identification, fundamentally reducing subsequent data reading / writing and control operation anomalies caused by identification deviations, and indirectly lowering the cost of troubleshooting after grid connection.

[0109] In one implementation, the process of determining the adaptation configuration of the inverter to be connected based on the matching result of the matching rules corresponding to the key feature items and the recalled feature data may include:

[0110] If the detected feature data fails to match the matching rule corresponding to the key feature item, the target inverter configuration is determined to be failed.

[0111] When the detected feature data successfully matches the matching rule corresponding to the key feature item, the non-key feature data corresponding to the detected feature data is compared with the feature value fluctuation range in the non-key feature item to obtain the comparison result of whether the non-key feature data falls within the feature value fluctuation range.

[0112] Based on the comparison results, the adaptation configuration of the inverter to be connected is determined.

[0113] In this implementation, the process of determining the adaptation configuration of the inverter to be connected based on the comparison result may include:

[0114] When the comparison result shows that the non-critical feature data does not fall within the feature value fluctuation range, it is determined that the target inverter configuration has failed.

[0115] When the comparison result shows that the non-critical feature data falls within the feature value fluctuation range, the configuration corresponding to the feature identification information of the target inverter is determined as the adaptation configuration of the inverter to be connected.

[0116] In the above implementation, the design of prioritizing failures based on key feature items can directly exclude completely mismatched target inverters (such as devices with completely different manufacturer codes and dedicated register addresses) from subsequent verification processes. This significantly improves matching efficiency, especially when the inverter feature template library covers multiple manufacturers and models. Furthermore, by pre-screening with core identity information (key feature items), the risk of misjudging completely incompatible configurations as compatible can be avoided from the outset, reducing the probability of abnormal data read / write and control operations. Moreover, the verification method that uses a floating range of feature values ​​rather than strictly matching fixed values ​​for non-key feature items can accommodate fluctuations in non-core parameters caused by production batches and minor hardware iterations within the same manufacturer and series of inverters (such as minor differences in model derivative identifiers and factory deviations within ±3% of feature values), without requiring verification for each derivative model. Adding separate templates for each model or batch significantly reduces the maintenance complexity and update frequency of the inverter feature template library, avoiding the problem of template library expansion in the traditional one-device-one-template model. Furthermore, by establishing precise fault tolerance boundaries through two-tiered failure judgments (direct failure for critical mismatches and failure only for non-critical out-of-range issues), it is beneficial to ensure the core compatibility between the adapted configuration and the inverter to be connected (key feature items are locked), and also provides solutions for common problems in practical applications where there are slight deviations between the document description and the actual parameters of the device (non-critical feature items are allowed to fluctuate reasonably). This avoids adaptation failures caused by inaccurate documentation or minor differences in the device, indirectly reducing the workload of repeated debugging by technicians. At the same time, it ensures that the final adapted configuration meets the grid connection control requirements without limiting the adaptation flexibility due to overly stringent matching standards.

[0117] By matching the summoned data with the feature identification information in the template library in the above steps, the adaptation configuration of the inverter to be connected can be determined. In order to implement this adaptation configuration into the actual grid connection action, data reading, writing, and associated control can be performed on the inverter to be connected based on this adaptation configuration to complete the grid connection. Specifically:

[0118] In one implementation, step 3 above, based on the adaptation configuration, involves performing data reading, data writing, and associated control operations on the inverter to be connected, thereby completing the grid connection process of the inverter to be connected. This process may include:

[0119] Extract core configuration information from the adaptation configuration;

[0120] Based on the core configuration information, data is read from the inverter to be connected to obtain standard configuration data;

[0121] Based on the standard configuration data, data is written to the inverter to be connected to obtain the configuration parameter activation confirmation information and real-time operation data of the inverter to be connected.

[0122] Based on the configuration parameter activation confirmation information and real-time operating data, the inverter to be connected is associated with the control, and the stable operating status of the inverter to be connected that meets the national standard power quality association threshold and the grid connection success feedback signal are obtained.

[0123] Based on the stable operating status of the inverter to be connected that meets the relevant threshold of the national standard power quality and the successful grid connection feedback signal, the grid connection of the inverter to be connected is completed.

[0124] The core configuration information includes one or more of the following: data item access parameters, control strategy parameters, and the associated threshold of national standard power quality.

[0125] The data item access parameters include: the register address, read / write function code, data type, data length, and unit conversion factor corresponding to each data item;

[0126] In this implementation, the core configuration information integrates data item access parameters, control strategy parameters, and the correlation threshold of the national standard power quality into a unified execution basis, constructing a complete logical chain of configuration, execution, and verification. This not only avoids the mismatch of read / write instructions (such as mismatch between register addresses and function codes) or control logic gaps (such as the disconnect between control strategies and grid connection requirements) caused by scattered parameters in traditional methods, but also supports configuration reuse across projects and scenarios. For example, when inverters from different batches of the same manufacturer are connected to grids with different voltage levels, only the correlation threshold or unit conversion factor of the national standard power quality needs to be fine-tuned. No need to redevelop the underlying read / write and control programs, which significantly reduces the development cost and cycle time for multi-scenario applications. Furthermore, through the process design of data reading (acquiring standard configuration data), data writing (generating effective confirmation), and associated control (adjusting based on real-time data), a dynamic mechanism of data feedback-driven control is formed. When real-time operating data experiences small fluctuations (such as output power approaching the grid connection threshold), it can automatically trigger fine-tuning based on pre-stored control strategy parameters (such as fine-tuning reactive power compensation), maintaining stable operation without manual intervention. This avoids frequent shutdowns or grid adaptation deviations after grid connection due to parameter fixation. Especially in scenarios with large grid load fluctuations, this dynamic adjustment capability can significantly improve the grid connection stability of the inverter. The explicit configuration of unit conversion factors in the data item access parameters directly solves the industry pain point of requiring additional development of conversion logic when connecting inverters from multiple manufacturers due to inconsistent data units. It achieves unified processing of data formats from different manufacturers at the configuration level. For example, when manufacturer A's power data is in kW and manufacturer B's is in W, only the corresponding conversion factor needs to be configured to achieve unified parsing of the master station data, which not only reduces the amount of master station data... The reduced computational power consumption ensures compatibility between operational data and grid dispatch requirements. Furthermore, this implementation uses the national standard power quality threshold as an adjustable core configuration item, rather than a fixed value. It can be flexibly adapted to the technical standards of different regional power grids (e.g., a certain region requires voltage fluctuation ≤2%, another region requires ≤1.5%). This helps to overcome the limitations of grid environment adaptation caused by the fixed threshold in traditional methods. The solution can meet the needs of different regions without reconstructing the control logic due to differences in grid standards, thus significantly improving the cross-regional universality and practical value of the solution.

[0127] Specifically, in the above implementation, the process of reading data from the inverter to be connected based on the core configuration information may include:

[0128] Based on the register address and read function code in the data item access parameters, the data read instruction is encapsulated and sent using the MODBUS protocol, and the reply message from the inverter to be connected is received.

[0129] The reply message is parsed according to the data type and the data length, and the parsed reply message is converted into standard configuration data by combining the unit conversion factor.

[0130] The standard configuration data includes one or more of the following: grid-connected power factor lower limit and voltage protection threshold. In this implementation, based on the explicitly defined register address and read function code in the data item access parameters, when encapsulating instructions using the MODBUS protocol, for different manufacturers' MODBUS protocol variants—for example, one manufacturer sets the voltage protection threshold register address to 0x0030 and the read function code to 0x03, while another sets it to 0x0060 and the function code to 0x04—this implementation can generate adaptation instructions by calling the corresponding parameters, avoiding instruction failure or data misreading caused by parameter mismatch in traditional general MODBUS reading, achieving seamless compatibility with multiple manufacturer protocol variants. On the other hand, during the parsing process, the response message is accurately disassembled by combining data type (such as U16, Float) and data length. Simultaneously, the original data from different manufacturers is uniformly converted to standard configuration data using unit conversion factors. This ensures that the output grid-connected power factor lower limit, voltage protection threshold, and other core parameters have uniform dimensions and accuracy, which helps avoid grid-connected control deviations caused by differences in data units or accuracy (such as mistakenly converting 2200 (0.1V) to standard configuration data). (Unit) is judged to be 220V and triggers false protection); In addition, this implementation method selectively reads the core parameters that directly affect grid connection safety, rather than traversing and reading all data. This can reduce the transmission of redundant data in the communication link and save the master station from filtering redundant data, which is conducive to improving reading efficiency and control response speed.

[0131] Specifically, in the above implementation, the process of writing data to the inverter to be connected according to the standard configuration data to obtain the configuration parameter activation confirmation information and real-time operation data of the inverter to be connected may include:

[0132] Based on the standard configuration data and the data item access parameters in the core configuration information, extract the data to be written; wherein, the data to be written includes: register address, write function code and data type;

[0133] Convert the actual values ​​in the standard configuration data into byte sequences that conform to the preset data type requirements;

[0134] The byte sequence is encapsulated into a data write instruction according to the MODBUS protocol format;

[0135] The system sends the data writing command to the inverter to be connected through a preset communication link and receives the write confirmation message returned by the inverter to be connected.

[0136] The write confirmation message is verified. If the verification passes, a read instruction for the target register is sent to the inverter to be connected. After comparing the read value with the standard configuration data, configuration parameter activation confirmation information for the inverter to be connected is generated, and real-time operating data is read. In this implementation, by adopting a dual verification mechanism of receiving confirmation messages and reading target registers for comparison in the write process, the limitation of traditional methods that rely solely on write confirmation messages to determine configuration activation can be overcome. This effectively avoids write deviations caused by communication interference (such as message loss or byte misalignment) or inverter hardware malfunctions, raising the reliability of configuration activation confirmation from the instruction receiving level to the actual numerical level. Furthermore, in confirming the configuration... By acquiring real-time data at the correct moment, it can be directly used to determine the correlation threshold of the national standard power quality, reducing efficiency losses caused by process breakpoints. Especially in the scenario of parallel access of large-scale inverters, this seamless connection can shorten the overall grid connection process time. At the same time, the process of converting the value into a byte sequence that conforms to the preset data type and encapsulating the instruction according to the MODBUS protocol forms a closed loop of write-read data format with the parsing logic of the previous data reading stage. This helps to ensure that the write data format of the same inverter is consistent with the read parsing rules, avoids configuration confusion caused by incompatibility of data formats between the preceding and following stages, and further enhances the reliability of multi-stage collaboration.

[0137] Specifically, in the above implementation method, the process of performing associated control on the inverter to be connected based on the configuration parameter activation confirmation information and real-time operating data to obtain the stable operating state of the inverter to be connected meeting the national standard power quality associated threshold and the grid connection success feedback signal may include:

[0138] Based on the configuration parameter confirmation information and real-time operation data of the inverter to be connected, determine whether the inverter to be connected meets the relevant threshold of the national standard power quality.

[0139] When the inverter to be connected meets the relevant threshold of the national standard power quality, the operating status data of the inverter to be connected is monitored and acquired in real time.

[0140] When the operating status data of the inverter to be connected is within the preset control strategy parameter range, it is determined that the inverter to be connected has reached a stable operating state, and a grid connection success feedback signal is generated. After grid connection, the operating status data is monitored in real time and compared with the preset control strategy parameter range. When the grid load fluctuates or the inverter's own state deviates slightly (such as the output power factor approaching the lower limit of the strategy parameter, or the voltage exceeding the upper or lower limit), this implementation method can capture changes in a timely manner through continuous monitoring, avoiding grid connection failure due to instantaneous compliance but subsequent instability. At the same time, it provides data support for potential dynamic adjustment (such as fine-tuning reactive power), upgrading the judgment standard for grid connection success from instantaneous compliance to continuous stability, thereby improving the operational reliability of the inverter after grid connection. Furthermore, this implementation method forms a complete closed loop of configuration confirmation, threshold judgment, monitoring, and stability feedback. The configuration activation information provides a reliable basis for threshold judgment. Real-time data after grid connection is used for stability determination and can also be used to verify the rationality of configuration parameters (such as the compatibility between configuration parameters and actual operation). At the same time, this closed-loop logic can complete the entire process from preparation to stable grid connection without manual intervention. In large-scale inverter cluster access scenarios, it can reduce the cost of manual intervention and achieve consistency of grid connection standards for multiple inverters through a unified range of strategy parameters, avoiding inconsistent grid connection quality caused by differences in manual operation. This further enhances the compatibility of multi-source heterogeneous inverters with the power grid and adapts to the stable operation requirements in complex power grid environments.

[0141] In summary, traditional protocol conversion methods for connecting inverters to grid-connected systems are only suitable for scenarios with fixed manufacturers and limited types, failing to adapt to the diverse range of inverters on the market, complex communication protocols, and inconsistencies between documentation descriptions and actual connections. This leads to significant workload and high rework costs when adding or adjusting inverter connections. Therefore, this invention proposes an adaptive inverter connection method. This method configures the register address, read / write function code, data length, data type, and control strategy for each data item of the inverter. Specifically, for example... Figure 2As shown, this invention relates to a configuration-based universal adaptive access method for inverters. First, by loading inverter feature configuration and policy configuration, it prioritizes matching identified inverters. If no identified device is found, matching proceeds sequentially, and messages corresponding to the grouped feature values ​​are sent. Then, it enters the receiving and processing stage. If no response is received within a timeout period, it checks whether the query has ended. If not, it returns to the matching stage; if it ends, identification is considered a failure. If a message is successfully received, it logically verifies whether a match has occurred. If not, it again checks whether the query has ended to decide whether to continue the process or consider identification a failure. If a match is successful, it loads the corresponding inverter configuration file and records its information for priority identification next time. Then, it sequentially reads analog, discrete, parameter, and event data. Finally, the master station sends out flexible control / control policies and CTR control policies. This process completes the inverter feature registration. The invention employs mathematical logic for inverter identification and uses a logic language to automatically recognize inverters from different manufacturers. This editable logic language is also applicable to operations on each register of the inverter, enabling read, write, and judgment operations on inverter registers, as well as linkage with related registers and data items. This allows for flexible configuration of each data item for each inverter, achieving plug-and-play functionality for new inverters without requiring additional development or program upgrades. Photovoltaic products can achieve inverter self-identification and connection through a single configuration, achieving "observable, measurable, controllable, and adjustable" photovoltaic products. It is not only flexible and configurable but also features a simple and efficient algorithm, transforming the connection of inverters from different manufacturers into a universal configuration, thus enabling configurable photovoltaic products. Furthermore, the universal adaptive connection method for inverters implemented in this invention can also connect to photovoltaic inverter products, such as sensor-type, capacitor control-type, and gateway-type inverters that support MODBUS. This product not only further expands the applicable scenarios of the method of the present invention, but also avoids the cost of developing adaptation logic separately for different types of photovoltaic associated devices that support MODBUS, so as to form a unified configuration system for the access management of multiple types of devices in the entire photovoltaic grid-connected system, thereby improving the overall compatibility and operation and maintenance efficiency.

[0142] Example 2:

[0143] The adaptive access method for inverters proposed in this invention is illustrated by a specific embodiment. The method involves pre-organizing and configuring inverter products and models on the market according to the principle of maximizing access. After identifying the characteristic code of each inverter via JSON configuration, the method sequentially sends and reads the inverter's response information. After identifying the inverter via the identification code, the method reads each inverter's data item via JSON configuration and writes it into the database for processing. The control strategy is then distributed to the inverter for processing via the master station's flexible control of the inverter.

[0144] For example, the inverter characteristic file (such as inverter_characteristic.json) contains an array list of inverter identification information. The inverter information is read sequentially, and the inverter characteristic values ​​are read and analyzed. Logical judgment is used to determine whether the requirements of these characteristic values ​​are met. The inverter_characteristic.json file provides a detailed description of the inverter characteristic configuration of a certain manufacturer, containing the following JSON data. Detailed explanations of the corresponding fields are shown in Tables 1-2:

[0145] {

[0146] "list": [{

[0147] "fileName": "INVERTER_XX Company XX Series VXX Version.json",

[0148] "devAddr": XX,

[0149] "characteristic": [{

[0150] "registerAddr": "",

[0151] "functionCode": "",

[0152] "length": "",

[0153] "valueType": "",

[0154] "endianness": "",

[0155] "name": "",

[0156] "desc": "",

[0157] "infoAddr": "",

[0158] "unitSymbol": "",

[0159] "valueLogic":[{

[0160] "op": "",

[0161] "inAttr": "",

[0162] "inPara": "",

[0163] "outAttr": "",

[0164] "value": "",

[0165] "logicAttr": ""

[0166] }]

[0167] }]

[0168] }]

[0169] }

[0170] Table 1. Detailed Explanation of Fields in the Inverter Characteristic File (inverter_characteristic.json)

[0171]

[0172] Table 2. Detailed Explanation of the ValueLogic Field in the Inverter Feature File

[0173]

[0174] The structured feature recognition information and field configuration defined in the aforementioned inverter_characteristic.json file provide standardized and callable data for the inverter's self-identification. The file contains a list, a feature array, and valueLogic configurations, clarifying the basic rules of "which features need to be identified" and "how the feature data is defined." However, to transform this static configuration data into identification actions for the actual inverter to be connected, a complete self-identification algorithm is needed to implement the invocation of feature parameters, interaction with query messages, and feature matching judgments. The specific self-identification algorithm execution flow is as follows:

[0175] a) Self-identification algorithm logic

[0176] 1) Initialize and load the inverter characteristic parameters and corresponding strategies in the valueLogic from the list;

[0177] 2) Read the characteristic parameters in the list sequentially and send them as a group to the inverter query message, and send a standard Modbus message;

[0178] 3) Process the inverter's reply message. If the inverter fails to reply successfully, a timeout may occur and no reply is received. In this case, the matching is considered to have failed, and the process returns to 1) Continue operation.

[0179] 4) After receiving the reply message, parse the message and write it to the temporary database at the address corresponding to infoAddr for use by the logic algorithm. The logic in valueLogic will determine whether the feature quantity is satisfied.

[0180] Specifically, such as Figure 3 As shown, the execution process of the valueLogic algorithm is as follows:

[0181] Step 1: Load the strategy from ValueLogic, passing in the data parameter pointer, the register address parameter pointer, and the database address parameter pointer. Execute the strategy sequentially and read the operators. <op>Input value attributes <inattr>and input parameters <inpara>The read values ​​will then be used by the next logical step (through the data unit to be processed, specifically including the logical processing unit and the logical judgment unit). The detailed configuration process can be as follows:

[0182] 1. Read operator <op>Configured for reading by 'r', where 'r' indicates no logic;

[0183] 2. Read input parameter attributes <inattr>Configured to 4;

[0184] 3. Input parameter values <inpara>Configure it as the infoAddr address;

[0185] 4. Output value parameter attributes <outattr>Configured to 1;

[0186] 5. Output value <value>Since this step is read from the data center, it is configured with 0 (empty);

[0187] 6. Logical attributes of this step <logicattr>Configure it to 0x01, and use the read result for the next step;

[0188] Step 2: Determine if the output value from the previous step is within the range [min, max], and output TRUE or FALSE. The specific configuration process is as follows:

[0189] 1. Read operator <op>Configured as >= or greater than or equal to;

[0190] 2. Read input parameter attributes <inattr>Configured to 1;

[0191] 3. Input parameter values <inpara>Configured to min;

[0192] 4. Output value parameter attributes <outattr>If configured to 0, this step only performs a judgment and does not output a value; subsequent steps will continue to use the output value of the previous step.

[0193] 5. Output value <value>Since this step only makes a judgment and does not output a value, it is filled with 0 (empty);

[0194] 6. Logical attributes of this step <logicattr>Configure to 0x04, not in line with the logic to jump out of the steps, output results FALSE, no need to continue to execute the following logic, in line with the output results TRUE;

[0195] Steps three, four, five can be configured to modify the data center address and [min, max] value; to achieve a range of judgment, corresponding to the inverter characteristic quantity year, month, day, time, second matching.

[0196] In addition, step two can also be configured to match multiple sets of character matching strategy, corresponding to the inverter string characteristic quantity (version, type, name, etc. String characteristic quantity) matching;

[0197] Logical judgment results (through the logic result processing unit) output TRUE, then match successfully, load the inverter configuration file, inverter operation logic, otherwise return to continue operation in a) 1).

[0198] b) after successful identification load inverter configuration file: INVERTER_XX company XX series VXX version. json configuration, json as follows, corresponding field details as shown in table 3:

[0199] {

[0200] "manuName": "INVERTER_XX company XX series",

[0201] "Version": "VXX",

[0202] "body": [{

[0203] "analog": [{

[0204] "name": "",

[0205] "desc": "",

[0206] "unitSymbol": "",

[0207] "infoAddr": "",

[0208] "registerAddr": "",

[0209] "functionCode": "",

[0210] "length": "",

[0211] "valueType": "",

[0212] "endianness": "",

[0213] "valueLogic": [{

[0214] "op": "",

[0215] "inAttr": "",

[0216] "inPara": "",

[0217] "outAttr": "",

[0218] "value": "",

[0219] "logicAttr": ""

[0220] }]

[0221] }],

[0222] "discrete": [],

[0223] "parameter": [],

[0224] "ctrl": [],

[0225] "event": []

[0226] }]

[0227] }

[0228] Table 3 Field details in the inverter configuration file INVERTER_XX Company XX series VXX version.json

[0229]

[0230] The embodiment fully illustrates that the method of the application can effectively solve the pain points of the traditional protocol conversion method, such as few types of inverters adapted, mixed protocols, and inconsistency between documents and actual access, without the need to repeatedly perform protocol analysis and program development for newly added or adjusted inverters, and only by means of JSON configuration, the self-identification and access of inverters of different manufacturers and different models can be realized, and the plug-and-play of newly added inverters is truly achieved; at the same time, the access of inverters is transformed from relying on customized algorithms to general configuration, which can greatly reduce the configuration workload of technical personnel and the rework cost caused by improper adaptation.

[0231] Embodiment 3

[0232] The application based on the same inventive concept also provides a self-adaptive access system of an inverter, a structural composition schematic diagram of which is shown in Figure 4 The self-adaptive access system comprises:

[0233] An instruction reading module, configured to send a query instruction to a to-be-accessed inverter based on a pre-configured inverter characteristic template library, and to call the characteristic data of the to-be-accessed inverter;

[0234] A characteristic matching module, configured to match the called characteristic data with a matching rule corresponding to the characteristic identification information in the inverter characteristic template library, and to determine the adaptive configuration of the to-be-accessed inverter;

[0235] A grid-connected access module, configured to perform data reading, data writing and associated control operations on the to-be-accessed inverter based on the adaptive configuration, and to complete the grid-connected access of the to-be-accessed inverter.

[0236] In the self-adaptive access system, the inverter characteristic template library is formed by pre-integrating the characteristic identification information, data item access parameters and control strategy parameters of inverters of different manufacturers, and configuring the parameters in a JSON format to form a unified template file.

[0237] In an implementation manner, the characteristic matching module can comprise:

[0238] A template calling sub-module, configured to call the characteristic identification information of a group of target inverters from the inverter characteristic template library in a preset order; wherein the target inverter is any manufacturer's inverter to be matched in the inverter characteristic template library.

[0239] a feature extraction submodule, configured to extract key feature items and non-key feature items from feature identification information of the target inverter according to the feature identification information;

[0240] a feature configuration submodule, configured to match the summoned feature data with matching rules corresponding to the key feature items, and determine an adaptive configuration of the inverter to be accessed according to a matching result of the summoned feature data and the matching rules corresponding to the key feature items;

[0241] The key feature items include any one of the following: a manufacturer code, an exclusive feature register address, and a fixed feature value; and the non-key feature items include any one of the following: a model derivation identifier and a feature value floating range.

[0242] In an implementation manner, the feature configuration submodule can include:

[0243] a first configuration unit, configured to determine that the target inverter fails to be configured when the summoned feature data fails to match the matching rules corresponding to the key feature items;

[0244] a second configuration unit, configured to compare corresponding non-key feature data in the summoned feature data with a feature value floating range in the non-key feature items to obtain a comparison result of whether the non-key feature data falls into the feature value floating range when the summoned feature data matches the matching rules corresponding to the key feature items;

[0245] a configuration result output unit, configured to determine the adaptive configuration of the inverter to be accessed according to the comparison result.

[0246] In the implementation manner, the configuration result output unit can include:

[0247] a first result judgment subunit, configured to determine that the target inverter fails to be configured when the comparison result shows that the non-key feature data does not fall into the feature value floating range;

[0248] a second result judgment subunit, configured to determine the adaptive configuration of the inverter to be accessed according to the comparison result shows that the non-key feature data falls into the feature value floating range.

[0249] In an implementation manner, the grid-connected access module can include:

[0250] an information extraction submodule, configured to extract core configuration information from the adaptive configuration;

[0251] a data reading submodule, configured to perform data reading on the to-be-connected inverter according to the core configuration information, to obtain standard configuration data;

[0252] a data writing submodule, configured to perform data writing on the to-be-connected inverter according to the standard configuration data, to obtain configuration parameter validation information and real-time running data of the to-be-connected inverter;

[0253] an association control submodule, configured to perform association control on the to-be-connected inverter according to the configuration parameter validation information and the real-time running data, to obtain a stable running state of the to-be-connected inverter satisfying an association threshold of the national standard power quality and a grid-connected success feedback signal;

[0254] an information feedback submodule, configured to complete grid connection of the to-be-connected inverter according to the stable running state of the to-be-connected inverter satisfying the association threshold of the national standard power quality and the grid-connected success feedback signal;

[0255] The core configuration information includes one or more of the following: data item access parameters, control strategy parameters, and an association threshold of the national standard power quality.

[0256] The data item access parameters include: register addresses corresponding to respective data items, read-write function codes, data types, data lengths, and unit conversion coefficients.

[0257] In an implementation manner, the data reading submodule can include:

[0258] a protocol packaging unit, configured to package data reading instructions using a MODBUS protocol according to register addresses and read function codes in the data item access parameters and to send the data reading instructions, and to receive a reply message of the to-be-connected inverter;

[0259] a message analysis unit, configured to analyze the reply message according to the data types and the data lengths, and to convert the analyzed reply message into standard configuration data in combination with the unit conversion coefficients;

[0260] The standard configuration data includes one or more of the following: a lower limit of grid-connected power factor and a voltage protection threshold.

[0261] In an implementation manner, the data writing submodule can include:

[0262] a configuration writing unit, configured to extract to-be-written data according to the standard configuration data and data item access parameters in the core configuration information; the to-be-written data includes: register addresses, write function codes, and data types.

[0263] The data conversion unit is configured to convert actual numerical values in the standard configuration data into a byte sequence meeting preset data type requirements.

[0264] The byte packaging unit is configured to package the byte sequence into a data write instruction according to a MODBUS protocol format.

[0265] The instruction issuing unit is configured to issue the data write instruction to the to-be-connected inverter through a preset communication link and receive a write confirmation message returned by the to-be-connected inverter.

[0266] The write verification unit is configured to verify the write confirmation message, and if the verification is passed, send a read instruction of the target register to the to-be-connected inverter, compare a read value with the standard configuration data, and generate configuration parameter validation information of the to-be-connected inverter and read real-time running data after the comparison is passed.

[0267] In an implementation manner, the association control submodule can include:

[0268] The grid-connected judgment unit is configured to judge whether the to-be-connected inverter meets a preset national standard power quality association threshold according to the configuration parameter validation information and the real-time running data of the to-be-connected inverter.

[0269] The national standard power quality association threshold state monitoring unit is configured to monitor and acquire running state data of the to-be-connected inverter in real time when the to-be-connected inverter meets the national standard power quality association threshold.

[0270] The signal generation unit is configured to determine that the to-be-connected inverter reaches a stable running state and generate a grid-connected success feedback signal when the running state data of the to-be-connected inverter is in a preset control strategy parameter range.

[0271] Embodiment 4:

[0272] As shown in Figure 5 The electronic device in the embodiment can include a processor, a memory, a transceiver component, and the like. The memory, the processor, and the transceiver component are connected through a bus; the memory can be used to store an execution program, and an example of the execution program can include an instruction; the processor is used to execute the instruction stored in the memory. The memory can also be used to store data, which can be called and / or modified when the instruction is executed.

[0273] The processor can be a central processing unit (CPU), and can also be other general-purpose processors, application specific integrated circuits (ASIC), or the like, which are the computing core and control core of the terminal, and are suitable for implementing one or more instructions, and are suitable for loading and executing one or more instructions in the storage medium to implement a corresponding method process or a corresponding function, so as to implement the steps of the adaptive access method of the inverter in the above embodiment.

[0274] Embodiment 5:

[0275] Based on the same inventive concept, the application further provides a readable storage medium, specifically an electronic device readable storage medium (Memory). The electronic device readable storage medium is a memory device in the electronic device, and is used to store programs and data. It can be understood that the storage medium herein can include a built-in storage medium in the electronic device, and of course can also include an expansion storage medium supported by the electronic device. The storage medium provides a storage space, and the storage space stores an operating system of the terminal. In addition, one or more instructions suitable for being loaded and executed by the processor are also stored in the storage space, and the instructions can be one or more execution programs (including program codes). It should be noted that the storage medium herein can be a high-speed RAM memory, or a non-volatile memory such as at least one disk memory. The processor loads and executes one or more instructions stored in the storage medium, and the steps of the adaptive access method of the inverter in the above embodiment can be implemented.

[0276] Those skilled in the art should understand that the embodiments of the application can be provided as a method, a system, or a computer program product. Therefore, the application can adopt a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Moreover, the application can adopt the form of a computer program product implemented on one or more computer usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer usable program codes.

[0277] The computer program instructions can also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer-implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart block or blocks. Figure 1 one or more flow or blocks. Figure 1 one or more flow or blocks.

[0278] These computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture including instructions which implement the function specified in the flowchart block or blocks. Figure 1 one or more flow or blocks. Figure 1 one or more flow or blocks.

[0279] The computer program instructions can also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer-implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart block or blocks. Figure 1 one or more flow or blocks. Figure 1 one or more flow or blocks.

[0280] Finally, it should be noted that the above embodiments are merely used to illustrate the technical solutions of the present application, but not to limit the scope of protection of the present application. Although the present application has been described in detail with reference to the above embodiments, those skilled in the art should understand that they can make various changes and modifications to the specific embodiments, or equivalent replacements, after understanding the present application. However, these changes, modifications, or equivalent replacements should be considered to be within the scope of the protection of the present application.< / logicattr> < / value> < / outattr> < / inpara> < / inattr> < / op> < / logicattr> < / value> < / outattr> < / inpara> < / inattr> < / op> < / inpara> < / inattr> < / op>

Claims

1. An adaptive access method for an inverter, characterized in that, include: Based on a pre-configured inverter feature template library, a query command is sent to the inverter to be connected to retrieve the feature data of the inverter to be connected. The detected feature data is matched with the matching rules corresponding to the feature recognition information in the inverter feature template library to determine the adaptation configuration of the inverter to be connected. Based on the adaptation configuration, data reading, data writing and associated control operations are performed on the inverter to be connected to complete the grid connection of the inverter to be connected. The inverter feature template library integrates feature identification information, data item access parameters, and control strategy parameters of inverters from different manufacturers in advance, and configures them in JSON format to form a unified template file.

2. The method as described in claim 1, characterized in that, The step of matching the detected feature data with the matching rules corresponding to the feature recognition information in the inverter feature template library to determine the adaptation configuration of the inverter to be connected includes: The feature identification information of a target inverter is retrieved from the inverter feature template library in a preset order; wherein, the target inverter is any inverter from any manufacturer to be matched in the inverter feature template library. Based on the feature identification information of the target inverter, extract the key feature items and non-key feature items from the feature identification information; The feature data to be recalled is matched with the matching rules corresponding to the key feature items, and the adaptation configuration of the inverter to be connected is determined based on the matching results of the feature data to be recalled and the matching rules corresponding to the key feature items. The key features include any one of the following: manufacturer code, dedicated feature register address, and fixed feature value; the non-key features include any one of the following: model derivative identifier and feature value fluctuation range.

3. The method as described in claim 2, characterized in that, The step of determining the adaptation configuration of the inverter to be connected based on the matching result of the matching rules corresponding to the key feature items and the recalled feature data includes: If the detected feature data fails to match the matching rule corresponding to the key feature item, the target inverter configuration is determined to be failed. When the detected feature data successfully matches the matching rule corresponding to the key feature item, the non-key feature data corresponding to the detected feature data is compared with the feature value fluctuation range in the non-key feature item to obtain the comparison result of whether the non-key feature data falls within the feature value fluctuation range. Based on the comparison results, the adaptation configuration of the inverter to be connected is determined.

4. The method as described in claim 3, characterized in that, The step of determining the adaptation configuration of the inverter to be connected based on the comparison result includes: When the comparison result shows that the non-critical feature data does not fall within the feature value fluctuation range, it is determined that the target inverter configuration has failed. When the comparison result shows that the non-critical feature data falls within the feature value fluctuation range, the configuration corresponding to the feature identification information of the target inverter is determined as the adaptation configuration of the inverter to be connected.

5. The method as described in claim 1, characterized in that, Based on the adaptation configuration, the process of performing data reading, data writing, and associated control operations on the inverter to be connected, thereby completing the grid connection of the inverter to be connected, includes: Extract core configuration information from the adaptation configuration; Based on the core configuration information, data is read from the inverter to be connected to obtain standard configuration data; Based on the standard configuration data, data is written to the inverter to be connected to obtain the configuration parameter activation confirmation information and real-time operation data of the inverter to be connected. Based on the configuration parameter activation confirmation information and real-time operating data, the inverter to be connected is associated with the control, and the stable operating status of the inverter to be connected that meets the national standard power quality association threshold and the grid connection success feedback signal are obtained. Based on the stable operating status of the inverter to be connected that meets the relevant threshold of the national standard power quality and the successful grid connection feedback signal, the grid connection of the inverter to be connected is completed. The core configuration information includes one or more of the following: data item access parameters, control strategy parameters, and the associated threshold of national standard power quality. The data item access parameters include: the register address, read / write function code, data type, data length, and unit conversion factor corresponding to each data item.

6. The method as described in claim 5, characterized in that, The step of reading data from the inverter to be connected based on the core configuration information includes: Based on the register address and read function code in the data item access parameters, the data read instruction is encapsulated and sent using the MODBUS protocol, and the reply message from the inverter to be connected is received. The reply message is parsed according to the data type and the data length, and the parsed reply message is converted into standard configuration data by combining the unit conversion factor. The standard configuration data includes one or more of the following: grid-connected power factor lower limit and voltage protection threshold.

7. The method as described in claim 5, characterized in that, The step involves writing data to the inverter to be connected based on the standard configuration data to obtain configuration parameter confirmation information and real-time operating data of the inverter to be connected, including: Based on the standard configuration data and the data item access parameters in the core configuration information, extract the data to be written; wherein, the data to be written includes: register address, write function code and data type; Convert the actual values ​​in the standard configuration data into byte sequences that conform to the preset data type requirements; The byte sequence is encapsulated into a data write instruction according to the MODBUS protocol format; The system sends the data writing command to the inverter to be connected through a preset communication link and receives the write confirmation message returned by the inverter to be connected. The write confirmation message is verified. If the verification is successful, a read instruction for the target register is sent to the inverter to be connected. After comparing the read value with the standard configuration data, the configuration parameter effective confirmation information of the inverter to be connected is generated, and the real-time running data is read.

8. The method as described in claim 5, characterized in that, The step of performing associated control on the inverter to be connected based on the configuration parameter activation confirmation information and real-time operating data, to obtain the stable operating status of the inverter to be connected meeting the national standard power quality associated threshold and the grid connection success feedback signal, includes: Based on the configuration parameter confirmation information and real-time operation data of the inverter to be connected, determine whether the inverter to be connected meets the relevant threshold of the national standard power quality. When the inverter to be connected meets the relevant threshold of the national standard power quality, the operating status data of the inverter to be connected is monitored and acquired in real time. When the operating status data of the inverter to be connected is within the preset control strategy parameter range, it is determined that the inverter to be connected has reached a stable operating state, and a grid connection success feedback signal is generated.

9. An adaptive access system for an inverter, characterized in that, include: The instruction reading module is used to send a query instruction to the inverter to be connected based on a pre-configured inverter feature template library, and to retrieve the feature data of the inverter to be connected. The feature matching module is used to match the recalled feature data with the association rules corresponding to the feature recognition information in the inverter feature template library to determine the adaptation configuration of the inverter to be connected. The grid connection module is used to perform data reading, data writing and associated control operations on the inverter to be connected based on the adaptation configuration, so as to complete the grid connection of the inverter to be connected; The inverter feature template library integrates feature identification information, data item access parameters, and control strategy parameters of inverters from different manufacturers in advance, and configures them in JSON format to form a unified template file.

10. The system as described in claim 9, characterized in that, The feature matching module includes: The template retrieval submodule is used to retrieve a set of feature identification information of a target inverter from the inverter feature template library in a preset order; wherein, the target inverter is any inverter from any manufacturer to be matched in the inverter feature template library; The feature extraction submodule is used to extract key and non-key feature items from the feature identification information of the target inverter. The feature configuration submodule is used to match the recalled feature data with the matching rules corresponding to the key feature items, and determine the adaptation configuration of the inverter to be connected based on the matching result of the recalled feature data and the matching rules corresponding to the key feature items. The key features include any one of the following: manufacturer code, dedicated feature register address, and fixed feature value; the non-key features include any one of the following: model derivative identifier and feature value fluctuation range.