A distributed power access unit photovoltaic protocol adaptive method

By prioritizing the matching of addresses and baud rates of manufacturers with a larger proportion and combining it with an adaptive method for the characteristic data range, the difficulty of inverter protocol identification is solved, the identification accuracy and efficiency are improved, and the time cost is reduced.

CN119520492BActive Publication Date: 2025-10-10QINGDAO ITECHENE TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411769368.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-04
Publication Date
2025-10-10
Estimated Expiration
2044-12-04

AI Technical Summary

Technical Problem

The existing technology has problems in inverter protocol matching, such as the inability to identify devices with unconventional addresses, long adaptation time, and baud rate mismatch leading to identification failure. In addition, inverter protocols from different manufacturers have shared register locations but different meanings, which increases the difficulty of matching.

Method used

The protocol comparison module, address matching module, baud rate matching module and roll call maintenance module are used to prioritize matching the manufacturer addresses and baud rates with a larger proportion, and adaptively identify based on the data acceptance range of the feature data. The matched protocols are periodically maintained to improve recognition accuracy and efficiency.

Benefits of technology

It improves the success rate of protocol matching for inverters from different manufacturers, reduces the time cost of adaptation, and ensures the accuracy and efficiency of identification.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119520492B_ABST
    Figure CN119520492B_ABST
Patent Text Reader

Abstract

The application relates to the field of inverter adaptive protocol matching, in particular to a photovoltaic protocol adaptive method of a distributed power access unit, which comprises the following steps: collecting communication protocols of inverters of existing manufacturers and calculating the proportion of supply of different manufacturers to form a comparison library; setting the matching order of address fields and baud rates; sequentially matching the to-be-compared protocol with existing protocols in the protocol library; if the matching is not successful, traversing the address fields and the baud rate fields in the comparison library in a polling incremental mode; and if the matching is completed, periodically matching and verifying by a roll call maintenance module. The address matching module and the baud rate matching module are added, the protocol matching success rate is improved, the address fields and the baud rates of the manufacturers with large proportions are preferentially adopted, the matching success probability is improved, the time cost in the matching process is reduced, characteristic data is adopted for comparison in the protocol adaptive process, the response data is required to be in an acceptance range, and therefore the accuracy of protocol identification is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of inverter adaptive protocol matching, and in particular to a photovoltaic protocol adaptive method for a distributed power supply access unit. Background Art

[0002] In the current photovoltaic inverter market, inverters are generally designed using the Modbus protocol. Modbus has a host address range of 0x00 to 0xFF, offers flexibility in data storage content and format, and is not constrained by industry regulations. Consequently, different manufacturers have different inverter communication protocols.

[0003] The currently widely used protocol matching solution involves traversing and validating each manufacturer's protocol to achieve protocol adaptation. However, this approach has the following drawbacks: Using only the protocol adaptation algorithm prevents correct identification of devices with unconventional addresses; adding both the address adaptation algorithm and the protocol adaptation process increases the adaptation time exponentially as the protocol library expands; some manufacturers' inverters use unique baud rates without baud rate adaptation, resulting in protocol identification failures. Furthermore, some manufacturers' inverter protocols share register locations, but with different meanings, further complicating protocol matching. Summary of the Invention

[0004] The present invention aims to solve the above problems and provides a distributed power supply access unit photovoltaic protocol adaptive method, which adopts the following technical solutions:

[0005] A photovoltaic protocol self-adaptation method for a distributed power access unit includes a protocol comparison module, an address matching module, a baud rate matching module, and a roll call maintenance module, including the following steps:

[0006] S1. Collect inverter communication protocols from existing manufacturers and form a protocol library;

[0007] S2. Calculate the proportion of supply from different manufacturers in the protocol library to form a comparison library;

[0008] S3. Set the address field and baud rate to be matched first, and the matching order of the address field and baud rate, in descending order of the manufacturer proportion in the comparison library;

[0009] S4 pre-address adaptation and baud rate adaptation in accordance with the matching order of the address field and the baud rate;

[0010] S5. The protocol comparison module reads and compares constant fixed value data, matches the protocol to be compared with the existing protocols in the protocol library in sequence, and identifies the inverter information;

[0011] S6. If no match is successful after step S5 comparison is completed, the address matching module changes the address field in accordance with the address field matching order, and then repeats step S5 until the address field in the comparison library is traversed in an incremental manner or the protocol match is completed in a round-robin manner;

[0012] S7. If no match is successful after step S6 comparison is completed, the baud rate matching module changes the baud rate in accordance with the baud rate matching order, repeating steps S5 and S6 until the baud rate field in the comparison library is traversed in an incremental manner or the protocol match is completed;

[0013] S8. If the protocol matching is completed, after the preset equipment operation cycle, the roll call maintenance module will match the protocol that was successfully matched in the previous cycle with the currently connected inverter. If the match is successful, the device continues to operate. If the match is unsuccessful, steps S5 to S7 are repeated to re-match the protocol.

[0014] On the basis of the above solution, the protocol comparison module presets a data acceptance range, which is ±102.5% of the rated value.

[0015] Based on the above scheme, the workflow of the protocol comparison module includes the following steps:

[0016] A1. Read all protocols in the protocol library;

[0017] A2 determines whether the comparison of all manufacturer protocols in the protocol library is completed. If the comparison is completed but the protocol match is not achieved, the comparison is determined to have failed. If not completed, proceed to step A3.

[0018] A3. Obtain the signature word of the current inverter manufacturer's protocol;

[0019] A4. Framing based on acquired feature words;

[0020] A5 access unit sends the content of the frame in step A4 to the inverter using the downlink channel;

[0021] A6. The access unit determines whether the inverter has data reply. If no data reply is received, the protocol match is determined to have failed, and the process is repeated from step A2. If data reply is received, the process proceeds to step A7.

[0022] A7. Determine whether the reply data is within the acceptable data range. If not, the protocol match fails and the process is repeated from step A2. If it is within the acceptable data range, the protocol match succeeds.

[0023] A8. Store the protocol information of the successfully matched inverter.

[0024] Preferably, the workflow of the roll call maintenance module includes the following steps:

[0025] B1. The access unit reads the inverter information saved during the previous device operation cycle;

[0026] B2. If the reading is not successful, it indicates that the protocol comparison has failed and the matching process is repeated; if the reading is successful, proceed to step B3;

[0027] B3. Use the read inverter information for framing;

[0028] B4. The access unit sends the framed content to the currently connected inverter using a downlink channel;

[0029] B5. The access unit determines whether the inverter has data reply. If no data reply is received, the unit outputs a protocol comparison failure result. If data reply is received, the unit proceeds to step B6.

[0030] B6. Determine whether the reply data is within the acceptable data range. If not, output a protocol match failure result. If within the acceptable data range, it indicates that the protocol match is successful.

[0031] Preferably, the constant fixed value data is grid frequency or voltage.

[0032] The beneficial effects of the present invention are:

[0033] 1. Added address matching module and baud rate matching module, which can also recognize the protocol with modified address and baud rate in the existing protocol, thus improving the success rate of protocol matching;

[0034] 2. Sort the matching order of address adaptation and baud rate adaptation based on the proportion of manufacturers, giving priority to the address fields and baud rates of manufacturers with a larger proportion, thereby increasing the probability of successful matching and reducing the time cost of the matching process;

[0035] 3. The protocol comparison module not only sets the rated value of the data for comparison, but also provides an acceptable range for the data. During the protocol adaptation process, characteristic data is used for comparison. The comparison process requires not only that the inverter has data response, but also that the response data is within the acceptable range, thus ensuring the accuracy of protocol recognition.

[0036] 4. The equipment will perform periodic self-maintenance during operation to identify and determine whether an inverter with a different protocol has been replaced during operation. During maintenance, the protocol that has been matched in the previous cycle will be used for comparison to shorten the maintenance time. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Figure 1 : Overall flow chart of the adaptive method of the present invention;

[0038] Figure 2 : Workflow diagram of the protocol comparison module of the present invention;

[0039] Figure 3 : Workflow diagram of the address matching module of the present invention;

[0040] Figure 4 : Baud rate matching module workflow diagram of the present invention;

[0041] Figure 5 : Roll call maintenance module workflow diagram of the present invention. DETAILED DESCRIPTION

[0042] The present invention will be further described below with reference to the accompanying drawings and examples:

[0043] like Figures 1 to 5 As shown, a photovoltaic protocol adaptation method for a distributed power access unit includes a protocol comparison module, an address matching module, a baud rate matching module and a roll call maintenance module, including the following steps:

[0044] S1. Collect inverter communication protocols from existing manufacturers and form a protocol library;

[0045] S2. Calculate the proportion of supply from different manufacturers in the protocol library to form a comparison library;

[0046] S3. Set the address field and baud rate to be matched first, and the matching order of the address field and baud rate, in descending order of the manufacturer proportion in the comparison library;

[0047] S4 pre-address adaptation and baud rate adaptation in accordance with the matching order of the address field and the baud rate;

[0048] S5. The protocol comparison module reads and compares the constant fixed value data, matches the protocol to be compared with the existing protocol in the protocol library in sequence, and identifies the inverter information; the constant fixed value data is the grid frequency or voltage, or other characteristic parameters;

[0049] S6. If no match is successful after step S5 comparison is completed, the address matching module changes the address field in accordance with the address field matching order, and then repeats step S5 until the address field in the comparison library is traversed in an incremental manner or the protocol match is completed in a round-robin manner;

[0050] S7. If no match is successful after step S6 comparison is completed, the baud rate matching module changes the baud rate in accordance with the baud rate matching order, repeating steps S5 and S6 until the baud rate field in the comparison library is traversed in an incremental manner or the protocol match is completed;

[0051] S8. If the protocol matching is completed, after the preset equipment operation cycle, the roll call maintenance module will match the protocol that was successfully matched in the previous cycle with the currently connected inverter. If the match is successful, the device continues to operate. If the match is unsuccessful, steps S5 to S7 are repeated to re-match the protocol.

[0052] The protocol comparison module presets a data acceptance range, and the data acceptance range is ±102.5% of the rated value.

[0053] The workflow of the protocol comparison module includes the following steps:

[0054] A1. Read all protocols in the protocol library;

[0055] A2 determines whether the comparison of all manufacturer protocols in the protocol library is completed. If the comparison is completed but the protocol match is not achieved, the comparison is determined to have failed. If not completed, proceed to step A3.

[0056] A3. Obtain the signature word of the current inverter manufacturer's protocol;

[0057] A4. Framing based on acquired feature words;

[0058] A5 access unit sends the content of the frame in step A4 to the inverter using the downlink channel;

[0059] A6. The access unit determines whether the inverter has data reply. If no data reply is received, the protocol match is determined to have failed, and the process is repeated from step A2. If data reply is received, the process proceeds to step A7.

[0060] A7. Determine whether the reply data is within the acceptable data range. If not, the protocol match fails and the process is repeated from step A2. If it is within the acceptable data range, the protocol match succeeds.

[0061] A8. Store the protocol information of the successfully matched inverter.

[0062] The workflow of the roll call maintenance module includes the following steps:

[0063] B1. The access unit reads the inverter information saved during the previous device operation cycle;

[0064] B2. If the reading is not successful, it indicates that the protocol comparison has failed, and the matching process starts again from step S1; if the reading is successful, proceed to step B3;

[0065] B3. Use the read inverter information for framing;

[0066] B4. The access unit sends the framed content to the currently connected inverter using a downlink channel;

[0067] B5. The access unit determines whether the current inverter has data reply. If there is no data reply, the result of protocol comparison failure is outputted. If there is data reply, step B6 is continued;

[0068] B6. It is determined whether the replied data is within the data acceptance range. If it is not within the range, the result of protocol comparison failure is outputted. If it is within the data acceptance range, it indicates that the protocol matching is successful.

[0069] The application is described above by way of example, but the application is not limited to the above specific embodiments, and any modification or change made on the basis of the application falls within the scope of the application.

Claims

1. A distributed power supply access unit photovoltaic protocol adaptive method, characterized in that: The following steps are involved: S1. Collect inverter communication protocols from existing manufacturers and form a protocol library; S2. Calculate the proportion of supply from different manufacturers in the protocol library to form a comparison library; S3. Set the address field and baud rate to be matched first, and the matching order of the address field and baud rate, in descending order of the manufacturer proportion in the comparison library; S4 pre-address adaptation and baud rate adaptation in accordance with the matching order of the address field and the baud rate; S5. The protocol comparison module reads and compares constant fixed value data, matches the protocol to be compared with the existing protocols in the protocol library in sequence, and identifies the inverter information; S6. If no match is successful after step S5 comparison is completed, the address matching module changes the address field in accordance with the address field matching order, and then repeats step S5 until the address field in the comparison library is traversed in an incremental manner or the protocol match is completed in a round-robin manner; S7. If no match is successful after step S6 comparison is completed, the baud rate matching module changes the baud rate in accordance with the baud rate matching order, repeating steps S5 and S6 until the baud rate field in the comparison library is traversed in an incremental manner or the protocol match is completed; S8. If the protocol matching is completed, after the pre-set device operation cycle, the maintenance module will match the protocol successfully matched in the previous cycle with the currently connected inverter. If the match is successful, the device continues to operate. If the match is unsuccessful, steps S5 to S7 are repeated to re-match the protocol. The protocol comparison module presets a data acceptance range, and the data acceptance range is ±102.5% of the rated value; The workflow of the roll call maintenance module includes the following steps: B1. The access unit reads the inverter information saved during the previous device operation cycle; B2. If the reading is not successful, it indicates that the protocol comparison has failed and the matching process is repeated; if the reading is successful, proceed to step B3; B3. Use the read inverter information for framing; B4. The access unit sends the framed content to the currently connected inverter using a downlink channel; B5. The access unit determines whether the inverter has data reply. If no data reply is received, the unit outputs a protocol comparison failure result. If data reply is received, the unit proceeds to step B6. B6. Determine whether the reply data is within the acceptable data range. If not, output a protocol match failure result. If within the acceptable data range, it indicates that the protocol match is successful.

2. A distributed power access unit photovoltaic protocol adaptive method according to claim 1, characterized in that: The workflow of the protocol comparison module includes the following steps: A1. Read all protocols in the protocol library; A2 determines whether the comparison of all manufacturer protocols in the protocol library is completed. If the comparison is completed but the protocol match is not achieved, the comparison is determined to have failed. If not completed, proceed to step A3. A3. Obtain the signature word of the current inverter manufacturer's protocol; A4. Framing based on acquired feature words; A5 access unit sends the content of the frame in step A4 to the inverter using the downlink channel; A6. The access unit determines whether the inverter has data reply. If no data reply is received, the protocol match is determined to have failed, and the process is repeated from step A2. If data reply is received, the process proceeds to step A7. A7. Determine whether the reply data is within the acceptable data range. If not, the protocol match fails and the process is repeated from step A2. If it is within the acceptable data range, the protocol match succeeds. A8. Store the protocol information of the successfully matched inverter.

3. A distributed power access unit photovoltaic protocol adaptive method according to claim 1, characterized in that: The constant fixed value data is the grid frequency or voltage.

Citation Information

Patent Citations

  • Network protocol address-regional information matching method and system

    CN107124480A

  • Method and system for accessing smart device

    CN108235801A

  • Distributed photovoltaic anti-islanding system and method

    CN117439266A

  • Photovoltaic equipment communication protocol self-adaption method

    CN117749900A