Protocol adaptive photovoltaic regulation and control method, system and device
By introducing a protocol adaptive module in the photovoltaic control system, it automatically recognizes and adapts to the communication protocols of different inverters, the problem of inefficiency caused by incompatibility of existing photovoltaic control devices is solved, and more efficient photovoltaic power generation is achieved and energy management.
Patent Information
- Application Number
- CN202411732250.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-29
- Publication Date
- 2025-02-18
AI Technical Summary
Due to incompatible communication protocols, existing photovoltaic control devices cannot communicate effectively between devices, affecting the overall performance and operation and maintenance efficiency of the photovoltaic system.
Design a protocol adaptive photovoltaic control method and system, built-in inverter and intelligent control module, which can be compatible with multiple communication protocols and interface standards, and automatically identify and adapt to communication protocols of different inverters through the protocol adaptive module to realize Data storage and conversion in a unified format.
It improves the overall compatibility of the photovoltaic system, ensures that the photovoltaic system always operates in the best state, improves power generation efficiency and energy utilization, and solves the problem of incompatibility of communication protocols.
Smart Images

Figure CN119482741A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of energy regulation and control, and in particular to a protocol-adaptive photovoltaic regulation and control method, system and device. Background Art
[0002] In recent years, with the rapid development of distributed photovoltaic power generation facilities based on renewable energy, their share in the installed capacity of the power system has gradually increased. With the rapid growth of photovoltaic installed capacity, how to effectively regulate and manage these distributed photovoltaic power generation facilities has become an urgent problem to be solved. The demand for photovoltaic regulation is not only reflected in the accurate prediction and scheduling of power generation, but also includes the guarantee of grid stability, rapid response to faults, and intelligent operation and maintenance. Therefore, the development of efficient, intelligent, and compatible photovoltaic regulation devices and systems is of great significance to improving the reliability and economy of photovoltaic power generation.
[0003] Existing photovoltaic control devices come from different manufacturers. Each manufacturer follows its own communication standards and specifications when designing photovoltaic control devices, which makes these devices different in data transmission, command control, etc., making it difficult to achieve seamless docking. Different communication protocols are used, resulting in protocol incompatibility in actual applications. This incompatibility may result in the inability to communicate effectively between devices, thereby affecting the overall performance and operation and maintenance efficiency of the photovoltaic system. Summary of the invention
[0004] The purpose of the present invention is to provide a protocol-adaptive photovoltaic control method, system and device. The device has a built-in inverter and an intelligent control module, is compatible with a variety of communication protocols and interface standards, and can flexibly control photovoltaic power generation facilities, making energy management prediction more scientific and efficient.
[0005] The technical solution adopted by the present invention to achieve the above-mentioned purpose is: a protocol-adaptive photovoltaic control method, comprising the following steps:
[0006] The data acquisition module collects the power data generated by the inverter in real time and sends it to the data reading module;
[0007] The data reading module acquires the power data and performs preprocessing by establishing a communication connection with the data acquisition module;
[0008] The protocol adaptive module obtains the inverter protocol data in the external device for parsing, matches it in the protocol library, determines the protocol used by the protocol data, and stores the used protocol in a set data format; converts and stores the pre-processed power data using the converted data format, and sends the converted power data to the communication module;
[0009] The communication module sends the pre-processed power data to the instruction generation module through the serial port;
[0010] The instruction generation module creates corresponding instructions based on the data from the communication module to control the photovoltaic system.
[0011] The power data includes voltage, current, inverter status, and inverter temperature.
[0012] The protocol adaptation module performs the following steps:
[0013] After receiving the inverter protocol data, find the protocol that matches the protocol data by comparing the protocols in the protocol library, and convert the protocol data into a unified data format;
[0014] Among them, the protocol library is a communication protocol library for multiple inverters, including the communication protocols used by inverters of different manufacturers and models;
[0015] The preprocessed power data is converted and stored using the converted data format, and the converted power data is sent to the communication module.
[0016] After receiving the inverter protocol data, the protocol matching the protocol data is found by comparing the protocols in the protocol library, and the protocol data is converted into a unified data format, including the following steps:
[0017] After receiving the inverter protocol data, parse and identify the various fields in it, including device address, function code, data field and check code;
[0018] Map the fields in the protocol data to the set data structure and perform format conversion;
[0019] The data structure includes inverter ID, operation time, voltage, current, power, status, and fault information.
[0020] The instruction generation module performs the following steps:
[0021] Receive input power data from the communication function module, including voltage, current, inverter status, and inverter temperature;
[0022] Analyze and verify the input power data information;
[0023] Create corresponding control instructions based on the parsed and verified power data.
[0024] A protocol-adaptive photovoltaic control system, comprising:
[0025] A data acquisition module is used to collect the power data generated by the inverter in real time and send it to the data reading module;
[0026] A data reading module is used to acquire power data and perform preprocessing by establishing a communication connection with the data acquisition module;
[0027] The protocol adaptive module is used to obtain the inverter protocol data in the external device for parsing, match it in the protocol library, determine the protocol used by the protocol data, and store the used protocol in a set data format; convert and store the pre-processed power data using the converted data format, and send the converted power data to the communication module;
[0028] The communication module is used to send the power data obtained after preprocessing to the instruction generation module through the serial port;
[0029] The instruction generation module is used to create corresponding instructions according to the data of the communication module to control the photovoltaic system.
[0030] The protocol adaptation module comprises:
[0031] The protocol matching module is used to find a protocol matching the protocol data after receiving the inverter protocol data by comparing the protocols in the protocol library, and convert the protocol data into a unified data format;
[0032] The protocol library is a communication protocol library for various inverters, including the communication protocols used by inverters of different manufacturers and models;
[0033] The format conversion module is used to convert and store the preprocessed power data using the converted data format, and send the converted power data to the communication module.
[0034] The protocol matching module performs the following steps:
[0035] After receiving the inverter protocol data, parse and identify the various fields in it, including the device address, function code, data field and check code; map the fields in the protocol data to the set data structure and perform format conversion;
[0036] The data structure includes inverter ID, operation time, voltage, current, power, status, and fault information.
[0037] A protocol-adaptive photovoltaic control device comprises a memory and a processor; the memory is used to store a computer program; the processor is used to implement the protocol-adaptive photovoltaic control method when executing the computer program.
[0038] A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the protocol-adaptive photovoltaic control method is implemented.
[0039] Beneficial effects of the present invention:
[0040] By realizing the protocol adaptation function, it can automatically identify and adapt to the communication protocols of different photovoltaic inverters or related equipment, thereby improving the overall compatibility of the photovoltaic system; by accurately adjusting the operating parameters of the photovoltaic equipment, the device can ensure that the photovoltaic system always operates in the best state, thereby improving power generation efficiency and energy utilization; this invention solves the problems of communication protocol incompatibility faced by current photovoltaic systems, and promotes the innovation and development of energy regulation technology. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] Figure 1 A schematic diagram of the workflow of a protocol-adaptive photovoltaic control method proposed in the present invention;
[0042] Figure 2 It is a schematic diagram of the working process of the protocol adaptive system;
[0043] Figure 3 The circuit block diagram of a protocol-adaptive photovoltaic control device. DETAILED DESCRIPTION
[0044] The present invention is described in detail below with reference to the accompanying drawings.
[0045] like Figure 1 , Figure 2 , Figure 3 As shown, a protocol-adaptive photovoltaic control method includes the following steps:
[0046] Control the inverter on and off, and control the active power, reactive power and power factor output by the inverter.
[0047] The data acquisition module communicates with the inverter to collect the power data generated by the inverter in real time, the power data including voltage, current, inverter status, inverter temperature, and inverter protocol key information, and stores the collected data in the data acquisition module.
[0048] The data reading module establishes a communication connection with the acquisition module to read and process the data captured by the acquisition module from sensors or other intelligent devices in real time and accurately.
[0049] The protocol adaptation module obtains the inverter protocol through the chip, uses the built-in protocol library to parse the extracted power data protocol, and matches it in the protocol library to determine the specific protocol used by the data and store the data in a standardized format.
[0050] The communication module has a low-voltage power line carrier to communicate with the concentrator and forward the master station commands;
[0051] The instruction generation module obtains input information from the communication function module and creates corresponding instructions.
[0052] The protocol adaptation module parses the extracted data and matches it in the protocol library to determine the specific protocol used by the data, and stores the data in a standardized format, including the following steps:
[0053] 1) Use chip transmission to obtain the inverter protocol;
[0054] 2) Parse the extracted protocol and match it in the protocol library to determine the specific protocol used by the data;
[0055] 3) Convert data from its original format to a protocol standard format for subsequent processing and analysis.
[0056] When the inverter in the photovoltaic system is connected to the network, the chip in the protocol adaptation module in the device is used to upload the inverter protocol to the protocol adaptation system. The system has a built-in protocol library to identify the communication protocol of the device. The protocol adaptation module will convert these protocols into a unified communication protocol used within the photovoltaic system according to the preset conversion rules or algorithms. After the protocol conversion is completed, the protocol adaptation module is responsible for transmitting and exchanging the converted data within the photovoltaic system. The power generation data of the photovoltaic panels, the SOC (state of charge) data of the energy storage battery, and the operating status data of the inverter are transmitted to the control center of the photovoltaic system in real time. The specific steps are as follows
[0057] 1) Agreement upload
[0058] The chip in the protocol adaptive module is the communication bridge between the inverter and the network, responsible for data collection, processing and transmission; the chip can identify the communication protocol of the inverter and convert it into a data format recognizable by the network; obtain the communication protocol of the inverter by reading the register and configuration information of the inverter; upload the obtained inverter protocol data to the protocol adaptive system through the network;
[0059] 2) Protocol Adaptive System Processing
[0060] The protocol adaptation module uses an ASIC chip, which functions as a single-chip protocol converter integrated circuit. It can receive packets generated according to a first protocol type, process the packets to achieve protocol conversion, generate converted packets of a second protocol type for output, and perform protocol conversion processing entirely within the core.
[0061] The protocol adaptive system has built-in communication protocol libraries for multiple inverters. These protocol libraries contain the communication protocols used by inverters of different manufacturers and models. After receiving the inverter protocol data uploaded by the chip, the system performs protocol identification. The system finds the protocol that matches the uploaded protocol data by comparing the protocols in the built-in protocol library. After identifying the matching protocol, the protocol adaptive system converts the uploaded inverter protocol data into a unified data format within the system. Other devices or modules within the system can directly read and process this data to achieve communication and data interaction with the inverter.
[0062] For example: the inverter uses the Modbus protocol for communication. The data of this inverter is uploaded to the protocol adaptive system using the chip. The system parses the data packet and identifies the various fields in it, including the device address, function code, data field and check code.
[0063] Map the fields in the Modbus protocol to the data structure inside the system, for example, map the "device address" field in the Modbus protocol to the "inverter ID" field inside the system;
[0064] The system converts the data format in the Modbus protocol according to the internal unified data format requirements;
[0065] The standard structure includes:
[0066] Inverter ID: an identifier used to uniquely identify the inverter device;
[0067] Operation time: record the timestamp of data upload;
[0068] Voltage: represents the voltage value output by the inverter. The data type is a floating point number and the unit is volt (V).
[0069] Current: represents the current value output by the inverter. The data type is a floating point number, the unit is ampere (A), and contains the direction information of the current (positive or negative).
[0070] Power: indicates the power value output by the inverter. The data type is a floating point number and the unit is kilowatt (kW) or watt (W).
[0071] Status: indicates the current operating status of the inverter, such as "Normal", "Fault" or "Maintenance";
[0072] Fault information: If the inverter fails, the specific information and code of the fault will be recorded;
[0073] Fault information: If the inverter fails, the specific information and code of the fault will be recorded;
[0074] By adopting this conversion rule, algorithm and internal unified data format, the photovoltaic system can automatically identify, convert and process the communication protocols of different inverters, thereby achieving stable operation and data interaction of the system.
[0075] 3) The instruction generation module obtains input information from the communication function module and creates corresponding instructions, including the following steps:
[0076] 1) Receive input information from the communication function module, including sensor data, user commands, system status updates, etc.;
[0077] 2) The received input information is first parsed into a format recognizable by the system, and the integrity and accuracy of the input information is verified;
[0078] 3) Based on the parsed and verified input information, the instruction generation module creates corresponding control instructions.
[0079] The protocol-adaptive photovoltaic control system is:
[0080] Initialize all information of the protocol adaptation module, including device information, serial port information, communication type information, photovoltaic inverter statistics and photovoltaic inverter fault information;
[0081] Serial port acquisition, data communication with serial port devices, correctly configure the serial port according to the serial port parameters of the device (such as baud rate, data bit, stop bit, check bit, etc.), and start the corresponding thread to read the serial port data;
[0082] Data collection, reading device information, serial port information, and communication type information;
[0083] Through the power carrier connection, the data from the device is sent to the data center and the sent data in the queue is deleted;
[0084] Parse the data and match it in the protocol library to determine the specific protocol used by the data, and store the data in a standardized format;
[0085] The serial port acquisition process includes the following steps:
[0086] 1) Configure the serial port according to the serial port parameters of the device (baud rate, data bit, stop bit, check bit, etc.);
[0087] 2) Open one or more threads for each serial port device to continuously read serial port data. These threads will monitor the serial port input and store the received data in a buffer or queue for subsequent processing;
[0088] 3) Read data from the serial port.
[0089] The following steps are used to send data from the device to the data center via the power carrier connection and delete the data that has been sent in the queue:
[0090] 1) Encapsulate the collected data;
[0091] 2) Send data to the data center via the power carrier network;
[0092] 3) Delete the sent data from the queue to prevent repeated sending.
[0093] The data is parsed and matched in the protocol library to determine the specific protocol used by the data, and the data is stored in a standardized format, including the following steps:
[0094] 1) Analyze the data
[0095] 2) Match data based on the built-in protocol library;
[0096] 3) After successfully matching and parsing the control data, the system will perform corresponding operations based on the parsed instruction type and parameter value.
[0097] The execution of corresponding operations according to the instruction type and parameter value is to determine the specific protocol used by the data and store the data in a standardized format.
[0098] The system receives control data from a data center or other functional modules for data sharing between various functional modules, and the control data includes:
[0099] 1) Start, stop and adjust parameters;
[0100] 2) Update device configuration and serial port parameters;
[0101] 3) Request device data for a specific time period or condition.
[0102] The protocol-adaptive photovoltaic control device comprises:
[0103] The inverter control module controls the inverter on and off, and controls the active power, reactive power and power factor output by the inverter.
[0104] The data acquisition module communicates with the inverter, reads and processes the power data generated by the inverter in real time, the power data including key information of voltage, current, inverter status, inverter temperature, and stores the collected data in the data acquisition module.
[0105] The data reading module establishes a communication connection with the acquisition module to read and process the data captured by the acquisition module from sensors or other intelligent devices in real time and accurately.
[0106] The protocol adaptation module parses the extracted data through the built-in protocol library and matches it in the protocol library to determine the specific protocol used by the data and store the data in a standardized format.
[0107] Communication module, this module has two forms, one with low-voltage power line carrier, communicating with the concentrator and forwarding the master station command; and a Bluetooth connection form for on-site maintenance.
[0108] The instruction generation module has a built-in control instruction path, obtains input information from the communication function module, and creates corresponding instructions.
Claims
1. A protocol-adaptive photovoltaic control method, characterized in that: The following steps are involved: The data acquisition module collects the power data generated by the inverter in real time and sends it to the data reading module; The data reading module acquires the power data and performs preprocessing by establishing a communication connection with the data acquisition module; The protocol adaptation module obtains the inverter protocol data from the external device for parsing, matches it in the protocol library, determines the protocol used by the protocol data, and stores the used protocol in a set data format; The pre-processed power data is converted and stored using the converted data format, and the converted power data is sent to the communication module; The communication module sends the pre-processed power data to the instruction generation module through the serial port; The instruction generation module creates corresponding instructions based on the data from the communication module to control the photovoltaic system.
2. A protocol-adaptive photovoltaic control method according to claim 1, characterized in that: The power data includes voltage, current, inverter status, and inverter temperature.
3. A protocol-adaptive photovoltaic control method according to claim 1, characterized in that: The protocol adaptation module performs the following steps: After receiving the inverter protocol data, find the protocol that matches the protocol data by comparing the protocols in the protocol library, and convert the protocol data into a unified data format; Among them, the protocol library is a communication protocol library for multiple inverters, including the communication protocols used by inverters of different manufacturers and models; The preprocessed power data is converted and stored using the converted data format, and the converted power data is sent to the communication module.
4. A protocol-adaptive photovoltaic control method according to claim 1, characterized in that: After receiving the inverter protocol data, the protocol matching the protocol data is found by comparing the protocols in the protocol library, and the protocol data is converted into a unified data format, including the following steps: After receiving the inverter protocol data, parse and identify the various fields in it, including device address, function code, data field and check code; Map the fields in the protocol data to the set data structure and perform format conversion; The data structure includes inverter ID, operation time, voltage, current, power, status, and fault information.
5. The protocol-adaptive photovoltaic control method according to claim 1, characterized in that: The instruction generation module performs the following steps: Receive input power data from the communication function module, including voltage, current, inverter status, and inverter temperature; Analyze and verify the input power data information; Create corresponding control instructions based on the parsed and verified power data.
6. A protocol-adaptive photovoltaic control system, characterized in that: include: A data acquisition module is used to collect the power data generated by the inverter in real time and send it to the data reading module; A data reading module is used to acquire power data and perform preprocessing by establishing a communication connection with the data acquisition module; The protocol adaptation module is used to obtain the inverter protocol data in the external device for parsing, match it in the protocol library, determine the protocol used by the protocol data, and store the used protocol in a set data format; The pre-processed power data is converted and stored using the converted data format, and the converted power data is sent to the communication module; The communication module is used to send the power data obtained after preprocessing to the instruction generation module through the serial port; The instruction generation module is used to create corresponding instructions according to the data of the communication module to control the photovoltaic system.
7. A protocol-adaptive photovoltaic control system according to claim 6, characterized in that: The protocol adaptation module comprises: The protocol matching module is used to find a protocol matching the protocol data after receiving the inverter protocol data by comparing the protocols in the protocol library, and convert the protocol data into a unified data format; The protocol library is a communication protocol library for various inverters, including the communication protocols used by inverters of different manufacturers and models; The format conversion module is used to convert and store the preprocessed power data using the converted data format, and send the converted power data to the communication module.
8. A protocol-adaptive photovoltaic control system according to claim 1, characterized in that: The protocol matching module performs the following steps: After receiving the inverter protocol data, parse and identify the various fields in it, including the device address, function code, data field and check code; map the fields in the protocol data to the set data structure and perform format conversion; The data structure includes inverter ID, operation time, voltage, current, power, status, and fault information.
9. A protocol-adaptive photovoltaic control device, characterized in that: It comprises a memory and a processor; the memory is used to store a computer program; the processor is used to implement a protocol-adaptive photovoltaic control method as described in any one of claims 1 to 5 when executing the computer program.
10. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, a protocol-adaptive photovoltaic control method as described in any one of claims 1 to 5 is implemented.
Citation Information
Cited By
Data interaction adaptive method of photovoltaic protocol converter
CN120638314A