Distributed photovoltaic system intelligently matched with photovoltaic inverter communication protocol
By setting up protocol matching modules in the collection main station of the distributed photovoltaic system, the protocol matching and verification rules are obtained according to the IP and port information of the photovoltaic inverter, which solves the problem of the difference between the communication protocol of the photovoltaic inverter and the main station communication protocol. The accuracy of the intelligent matching and data transmission of photovoltaic inverters and collecting main stations are realized.
Patent Information
- Application Number
- CN202411535026.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-31
- Publication Date
- 2025-01-28
AI Technical Summary
In distributed photovoltaic systems, the difference in communication protocol between the photovoltaic inverter and the acquisition main station leads to inability to match data transmission, resulting in inverter and main station in the photovoltaic system being unable to communicate effectively.
A distributed photovoltaic system with intelligent matching of photovoltaic inverter communication protocols is designed. By setting up a protocol matching module in the collection main station, the protocol matching is performed according to the IP and port information of the photovoltaic inverter to obtain the corresponding verification rules. And check the data data through the verification rules, and realize the intelligent matching of different protocol photovoltaic inverters and the collection of main stations.
The normal communication and data transmission of the photovoltaic inverter and the collection of the main station are implemented, and the photovoltaic inverter is suitable for different protocols to ensure the accuracy of data transmission and the stability of the system.
Smart Images

Figure CN119383244A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of photovoltaic equipment and communication technology, and in particular to a distributed photovoltaic system with intelligent matching of photovoltaic inverter communication protocols. Background Art
[0002] Global energy shortage and environmental pollution problems are becoming increasingly serious. As a safe, clean energy with huge reserves, solar energy is increasingly being utilized. Photovoltaic power generation is becoming more and more popular as a new type of power generation. Photovoltaic power generation uses solar energy to convert into electrical energy. It is environmentally friendly, safe, and economical, meeting the requirements of sustainable development. Today in the power industry, the conversion of variable DC voltage generated by photovoltaic (PV) solar panels into alternating current (AC) at the mains frequency mainly relies on photovoltaic inverters.
[0003] However, due to the large number of manufacturers and brands of photovoltaic inverters, the communication protocols supported by different photovoltaic inverters are different. The acquisition master station can usually only adapt to the protocols of a few more mainstream inverter manufacturers, and it is difficult to apply to inverters with various protocols. Especially in the field of distributed photovoltaic systems, each distributed photovoltaic is an individual device, and new distributed photovoltaics are constantly being connected to the network, which makes the types of photovoltaic inverters used in distributed photovoltaics more complicated. It is often the case that the inverter and the acquisition master station cannot match for data transmission, which leads to the photovoltaic inverter and the master station in the photovoltaic system being unable to communicate effectively. Summary of the invention
[0004] In view of this, in order to address the above shortcomings, it is necessary to propose a distributed photovoltaic system with intelligent matching of photovoltaic inverter communication protocols to achieve intelligent matching of photovoltaic inverters and master stations, thereby ensuring normal communication and data transmission between photovoltaic inverters and master stations in the photovoltaic system.
[0005] In a first aspect, the present invention provides a distributed photovoltaic system with intelligent matching of photovoltaic inverter communication protocols, the system comprising: a plurality of photovoltaic inverters and a data collection master station; each photovoltaic inverter is communicatively connected to the data collection master station; Each of the photovoltaic inverters is used to collect photovoltaic data and upload it to the collection master station in the form of message data; wherein the end of the message data carries a check code generated by a check rule; The acquisition master station includes: a data acquisition module, a protocol matching module, a message parsing module, a message checking module and a data domain parsing module; The data acquisition module is used to acquire the message data sent by the photovoltaic inverter and the IP and port information of the photovoltaic inverter after the port is opened; The protocol matching module is used to perform protocol matching according to the IP and port information of the photovoltaic inverter to obtain a verification rule corresponding to the current photovoltaic inverter; The message verification module is used to verify the accuracy of the message data according to the verification rules; The message parsing module is used to parse the meaning of each field in the message data when the message data is verified to be correct, and obtain the function code and data field; The data domain parsing module is used to parse the meaning of the data field obtained by parsing to obtain photovoltaic data of the photovoltaic inverter.
[0006] Preferably, the communication connection mode between the photovoltaic inverter and the data collection master station includes: one or more of GPRS, 3G, and 4G.
[0007] Preferably, the protocol matching module includes: a device information matching unit, a protocol information calling unit and a protocol information loading unit; The device information matching unit is used to match the acquired IP and port information of the inverter with the device information in the cache database; The protocol information calling unit is used to call the corresponding protocol information from the cache database when the match is successful, and obtain the matching feature value and verification rule information of the protocol information; The protocol information loading unit is used to load the current inverter matching characteristic value and verification rule information as a new protocol when the matching is unsuccessful.
[0008] Preferably, the message verification module is used to perform verification calculation on the message data carrying the verification code at the end according to the verification rule of the current photovoltaic inverter, so as to determine the accuracy of the acquired message data.
[0009] Preferably, the verification rule includes one of CRC16, CRC8 and XOR operation.
[0010] Preferably, the data domain analysis module includes: an archive information search unit, a data domain loading unit and an information interpretation unit; The file information search unit is used to search for the file information of the corresponding inverter according to the IP and port information of the photovoltaic inverter; wherein the file information includes: device model, device parameters and device number; The data field loading unit is used to load the data field obtained by the message parsing module; The information interpretation unit is used to interpret the meaning expressed by the bytes in each data field to obtain photovoltaic data of the photovoltaic inverter; wherein the meaning expressed by the bytes includes: current, voltage, and power.
[0011] Preferably, the acquisition master station further includes a data processing module, and the data processing module is used to classify and calculate the obtained photovoltaic data.
[0012] Preferably, the message data is a hexadecimal string.
[0013] In a second aspect, the present invention further provides a computing device, including a memory and a processor, wherein the memory stores executable code, and when the processor executes the executable code, it runs the distributed photovoltaic system with intelligent matching of photovoltaic inverter communication protocols as described in the first aspect.
[0014] In a third aspect, the present invention further provides a computer-readable storage medium having a computer program stored thereon, which, when executed in a computer, enables the computer to run a distributed photovoltaic system with intelligent matching of photovoltaic inverter communication protocols as described in the first aspect.
[0015] It can be seen from the above technical scheme that the distributed photovoltaic system with intelligent matching of photovoltaic inverter communication protocol provided by the present invention includes several photovoltaic inverters and a collection master station connected to the photovoltaic inverters in communication; each photovoltaic inverter can collect photovoltaic data and upload it to the collection master station in the form of a message after carrying the verification code generated by the verification rule. The collection master station includes a data acquisition module, a protocol matching module, a message parsing module, a message verification module and a data domain parsing module. The data acquisition module can obtain the message data sent by the photovoltaic inverter and the IP and port information of the photovoltaic inverter after the port is opened. The protocol matching module can perform protocol matching according to the IP and port information of the photovoltaic inverter to obtain the verification rules corresponding to the current photovoltaic inverter, and the message verification module can verify the accuracy of the message data through the verification rules. The message parsing module can parse the meaning of each field in the message data, and the data domain parsing module can parse the meaning of the parsed data field to obtain the photovoltaic data of the photovoltaic inverter. It can be seen that this solution can match the protocol according to the IP and port information of the photovoltaic inverter through the protocol matching module, and then obtain the verification rules of the corresponding photovoltaic inverter, and then verify and parse the message data according to the verification rules, so that it can be applied to the intelligent matching of photovoltaic inverters with different protocols and the acquisition master station, thereby ensuring the normal communication and data transmission between the photovoltaic inverter and the acquisition master station in the photovoltaic system. In addition, this solution verifies the accuracy of the message data through the verification rules to ensure the accuracy of data transmission. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 A schematic diagram of a distributed photovoltaic system with intelligent matching of photovoltaic inverter communication protocols provided by an embodiment of the present invention.
[0017] Figure 2A schematic diagram of a protocol matching module provided by an embodiment of the present invention.
[0018] Figure 3 A schematic diagram of a data domain parsing module provided in an embodiment of the present invention.
[0019] In the figure: photovoltaic inverter 10, collection master station 20, data acquisition module 21, protocol matching module 22, device information matching unit 221, protocol information calling unit 222, protocol information loading unit 223, message parsing module 23, message verification module 24, data domain parsing module 25, archive information search unit 251, data domain loading unit 252, information interpretation unit 253, data processing module 26. DETAILED DESCRIPTION
[0020] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0021] like Figure 1 As shown, the present invention provides a distributed photovoltaic system with intelligent matching of photovoltaic inverter communication protocols, the system comprising: a plurality of photovoltaic inverters 10 and a collection master station 20; each photovoltaic inverter 10 is in communication connection with the collection master station 20; Each of the photovoltaic inverters 10 is used to collect photovoltaic data and upload it to the collection master station 20 in the form of message data; wherein the end of the message data carries a check code generated by a check rule; The acquisition master station 20 includes: a data acquisition module 21, a protocol matching module 22, a message parsing module 23, a message checking module 24 and a data domain parsing module 25; The data acquisition module 21 is used to acquire the message data sent by the photovoltaic inverter 10 and the IP and port information of the photovoltaic inverter 10 after the port is opened; The protocol matching module 22 is used to perform protocol matching according to the IP and port information of the photovoltaic inverter 10 to obtain a verification rule corresponding to the current photovoltaic inverter 10; The message verification module 24 is used to verify the accuracy of the message data according to the verification rules; The message parsing module 23 is used to parse the meaning of each field in the message data when the message data is verified to be correct, and obtain the function code and data field; The data field analysis module 25 is used to analyze the meaning of the data field obtained by analysis to obtain the photovoltaic data of the photovoltaic inverter 10 .
[0022] In this embodiment, the photovoltaic inverter 10 and the data collection main station 20 are connected to each other by means of GPRS, 3G, 4G, etc., so as to send the collected message data to the data collection main station 20, and finally the data collection main station 20 verifies and analyzes the message data.
[0023] The data collected by the photovoltaic inverter 10 can be converted into a hexadecimal string, or formed into message data in binary form for transmission.
[0024] The protocol matching module 22 is used to perform protocol matching using the acquired IP and port information of the inverter. Specifically, Figure 2 As shown, the protocol matching module 22 may further include: a device information matching unit 221, a protocol information calling unit 222 and a protocol information loading unit 223; The device information matching unit 221 is used to match the acquired IP and port information of the inverter with the device information in the cache database; The protocol information calling unit 222 is used to call the corresponding protocol information from the cache database when the match is successful, and obtain the matching feature value and verification rule information of the protocol information; When the match is unsuccessful, it means that the database does not store the protocol information corresponding to the access device. At this time, the protocol information loading unit 223 is used to load the current inverter matching feature value and verification rule information as a new protocol. For example, the new protocol can be loaded through a program block or manually configured.
[0025] The message verification module 24 is specifically used to perform verification calculation on the message data carrying the verification code at the end according to the verification rules of the current photovoltaic inverter 10 to determine the accuracy of the acquired message data. The verification rules may include CRC16, CRC8 and XOR operation.
[0026] For example, in CRC verification, when the photovoltaic inverter 10 forms the message data carrying the check code, it can first select a binary representation of the generating polynomial, whose order determines the number of bits of the CRC; then append the same number of zero bits as the order of the generating polynomial to the binary message data to be verified. For example, if the generating polynomial is 8 bits, 8 zeros are added to the message data; further, binary division is used to divide the expanded message data by the generating polynomial, and only the remainder is retained. This process can be completed by replacing the traditional division with an XOR operation; the remainder is the CRC check code, which is attached to the original message data to form the completed message data. After receiving the message data, the acquisition master station 20 uses the same polynomial for division. If the remainder is zero, it means that the data is correct; if the remainder is not zero, it means that an error occurred in the message data during transmission.
[0027] The message parsing module 23 is mainly used to collect the message data sent by the photovoltaic inverter 10 and its IP, port (device MAC address) information from the master station 20 after the port is opened, and then parse the obtained message data. At this stage, the specific meaning represented by each field in the entire message data is mainly restored, and the message data field is specifically parsed into function codes and data fields.
[0028] The data field analysis module 25 is used to analyze the meaning of the data field. Figure 3 As shown, the data domain analysis module 25 includes: an archive information search unit 251, a data domain loading unit 252 and an information interpretation unit 253; The file information search unit 251 is used to search for the file information of the corresponding inverter according to the IP and port information of the photovoltaic inverter 10; wherein the file information includes: device model, device parameters and device number; The data field loading unit 252 is used to load the data field obtained by the message parsing module 23; The information interpretation unit 253 is used to interpret the meaning expressed by the bytes in each data field to obtain photovoltaic data of the photovoltaic inverter 10; wherein the meaning expressed by the bytes includes: current, voltage, and power.
[0029] In one embodiment, the data collection master station 20 may further include a data processing module 26, and the data processing module 26 is used to classify and calculate the obtained photovoltaic data.
[0030] The present invention also provides a computing device, including a memory and a processor, wherein the memory stores executable code, and when the processor executes the executable code, it runs a distributed photovoltaic system with intelligent matching of photovoltaic inverter communication protocols as described above.
[0031] The present invention also provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed in a computer, the computer is caused to run a distributed photovoltaic system with intelligent matching of photovoltaic inverter communication protocols as described above.
[0032] Since the device embodiment provided by the present invention is based on the same inventive concept as the system embodiment of this specification, the specific content can be found in the description of the system embodiment of this specification, and will not be repeated here.
[0033] The modules or units in the device of the embodiment of the present invention can be combined, divided and deleted according to actual needs. The above disclosure is only the preferred embodiment of the present invention, and of course it cannot be used to limit the scope of the rights of the present invention. Those skilled in the art can understand that all or part of the processes of the above embodiment are implemented, and the equivalent changes made according to the claims of the present invention still fall within the scope of the invention.
Claims
1. A distributed photovoltaic system with intelligent matching of photovoltaic inverter communication protocols, characterized in that: The system includes: a number of photovoltaic inverters and a collection master station; each photovoltaic inverter is connected to the collection master station for communication; Each of the photovoltaic inverters is used to collect photovoltaic data and upload it to the collection master station in the form of message data; wherein the end of the message data carries a check code generated by a check rule; The acquisition master station includes: a data acquisition module, a protocol matching module, a message parsing module, a message checking module and a data domain parsing module; The data acquisition module is used to acquire the message data sent by the photovoltaic inverter and the IP and port information of the photovoltaic inverter after the port is opened; The protocol matching module is used to perform protocol matching according to the IP and port information of the photovoltaic inverter to obtain a verification rule corresponding to the current photovoltaic inverter; The message verification module is used to verify the accuracy of the message data according to the verification rules; The message parsing module is used to parse the meaning of each field in the message data when the message data is verified to be correct, and obtain the function code and data field; The data domain parsing module is used to parse the meaning of the data field obtained by parsing to obtain photovoltaic data of the photovoltaic inverter.
2. The distributed photovoltaic system with intelligent matching of photovoltaic inverter communication protocol according to claim 1, characterized in that: The communication connection mode between the photovoltaic inverter and the acquisition master station includes: one or more of GPRS, 3G, and 4G.
3. The distributed photovoltaic system with intelligent matching of photovoltaic inverter communication protocol according to claim 1, characterized in that: The protocol matching module includes: a device information matching unit, a protocol information calling unit and a protocol information loading unit; The device information matching unit is used to match the acquired IP and port information of the inverter with the device information in the cache database; The protocol information calling unit is used to call the corresponding protocol information from the cache database when the match is successful, and obtain the matching feature value and verification rule information of the protocol information; The protocol information loading unit is used to load the current inverter matching characteristic value and verification rule information as a new protocol when the matching is unsuccessful.
4. The distributed photovoltaic system with intelligent matching of photovoltaic inverter communication protocol according to claim 1, characterized in that: The message verification module is used to perform verification calculation on the message data carrying the verification code at the end according to the verification rule of the current photovoltaic inverter to determine the accuracy of the acquired message data.
5. The distributed photovoltaic system with intelligent matching of photovoltaic inverter communication protocol according to claim 4, characterized in that: The verification rule includes one of CRC16, CRC8 and XOR operation.
6. The distributed photovoltaic system with intelligent matching of photovoltaic inverter communication protocol according to claim 1, characterized in that: The data domain analysis module includes: an archive information search unit, a data domain loading unit and an information interpretation unit; The file information search unit is used to search for the file information of the corresponding inverter according to the IP and port information of the photovoltaic inverter; wherein the file information includes: device model, device parameters and device number; The data field loading unit is used to load the data field obtained by the message parsing module; The information interpretation unit is used to interpret the meaning expressed by the bytes in each data field to obtain photovoltaic data of the photovoltaic inverter; wherein the meaning expressed by the bytes includes: current, voltage, and power.
7. The distributed photovoltaic system with intelligent matching of photovoltaic inverter communication protocol according to claim 1, characterized in that: The acquisition master station also includes a data processing module, which is used to classify and calculate the obtained photovoltaic data.
8. The distributed photovoltaic system with intelligent matching of photovoltaic inverter communication protocol according to claim 1, characterized in that: The message data is a hexadecimal character string.
9. A computing device, comprising a memory and a processor, wherein the memory stores executable code, and when the processor executes the executable code, it runs the distributed photovoltaic system with intelligent matching of photovoltaic inverter communication protocol as described in claims 1-8.
10. A computer-readable storage medium having a computer program stored thereon, which, when executed in a computer, enables the computer to run the distributed photovoltaic system with intelligent matching of photovoltaic inverter communication protocols as described in claims 1-8.
Citation Information
Patent Citations
Internet of Things meter reading method, system and device based on photovoltaic inverter
CN115175023A
Protocol intelligent matching device and method of photovoltaic inverter
CN118612320A
Method and apparatus for providing a service for verifying stock trading
KR102035318B1
Cited By
Dynamic protocol analysis method, device and equipment for electric power communication terminal
CN120499296A
Efficient photovoltaic inverter communication monitoring conversion method and system
CN120915415A
A high-efficiency photovoltaic inverter communication monitoring and conversion method and system
CN120915415B