Data acquisition method and device based on multi-machine parallel connection of inverters
By adopting a data acquisition method based on multi-machine parallel connection in the photovoltaic power generation system, the problem of data processing burden and high acquisition cost caused by the increase in the number of inverters is solved, and convenient and flexible data acquisition and cost reduction are achieved.
Patent Information
- Application Number
- CN202411779038.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-05
- Publication Date
- 2025-04-25
AI Technical Summary
During photovoltaic power generation, as the number of inverters increases, existing solutions lead to an increase in data processing burden and higher acquisition costs, especially when the data acquisition points and inverters change.
The data acquisition method based on inverter multi-machine parallel connection is adopted. By determining the extension instructions to communicate with multiple inverters, the multi-machine parallel connection of the inverter is realized, and the total registration information is reported to the target platform, and configuration information is dynamically sent to read the collected data in the inverter.
Dynamic distribution of configuration information is realized, making data collection more convenient and flexible, reducing hardware costs, and reducing the data processing burden of the target platform.
Smart Images

Figure CN119891523A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data acquisition technology, and in particular to a data acquisition method and device based on multiple inverters connected in parallel. Background Art
[0002] With the advancement of photovoltaic power generation technology, more and more industrial plants and individual businesses are choosing to replace non-renewable electricity sources with renewable photovoltaic energy. In the photovoltaic power generation process, traditional inverters and collectors use a one-to-one connection, with cloud platforms communicating with collector sticks for data collection. As the number of inverters increases, the number of collectors also increases. To address this increasing number of inverters and collectors, existing solutions pre-configure the inverter's device address and collection point information in the collector to achieve data collection.
[0003] However, this solution will cause a large data processing burden and high collection costs when the data collection points and inverters are subsequently changed. Summary of the Invention
[0004] To address the aforementioned issues of heavy data processing burden and high acquisition costs caused by changes in data acquisition points and inverters, the present invention provides a data acquisition method and device based on multiple inverters in parallel. The technical solution is as follows: In a first aspect, an embodiment of the present application provides a data collection method based on multiple inverters in parallel, comprising: Determine an extended instruction based on the number of inverters and the standard instruction, and read the registration information of the inverter according to the extended instruction; Reporting total registration information to the target platform; wherein the total registration information includes registration information of at least two inverters; Receive configuration information corresponding to the total registration information issued by the target platform, and read the collected data in each inverter based on the configuration information; wherein the configuration information includes configuration information of at least two data points; The collected data is parsed and processed to obtain the target data, and the target data is reported to the target platform.
[0005] In an optional solution of the first aspect, the registration information of the inverter includes a device address, a device serial number, a device type, and a device manufacturer; Report total registration information to the target platform, including: Send the device address and serial number of each inverter to the target platform to identify the different data collected by different inverters; The device type and manufacturer of each inverter are sent to the target platform so that the target platform can determine the location information of each inverter.
[0006] In yet another optional solution of the first aspect, the total registration information further includes registration information of the collector; Reporting total registration information to the target platform also includes: Count the number of all inverters connected to the collector as the mounted number; Obtain the collector serial number and collector firmware version, and report the collector serial number, collector firmware version and mount quantity as the collector registration information to the target platform to generate upgrade instructions.
[0007] In yet another optional solution of the first aspect, reading the collected data in each inverter based on the configuration information includes: Determine a read instruction for each data point based on the configuration information of each data point; All data points in each inverter are read based on the read instruction to obtain collected data.
[0008] In yet another optional solution of the first aspect, determining a read instruction for each data point based on configuration information of each data point includes: Obtain the function code, offset address, data size and splicing order in the configuration information of each data point; The function code, offset address, and data size are spliced according to the splicing order to obtain the reading instruction for each data point.
[0009] In another optional solution of the first aspect, parsing the collected data to obtain target data includes: Based on the read instruction of each data point, valid data is extracted from each data point; Get the data type and coefficient in the configuration information of each data point; The valid data is converted based on the data type to obtain the intermediate data, and the target data is calculated based on the coefficients and the intermediate data.
[0010] In another optional solution of the first aspect, after reporting the target data to the target platform, the method further includes: When receiving an upgrade instruction sent by the target platform, the upgrade data is sent to each inverter according to the upgrade instruction, so that each inverter completes the firmware upgrade according to the upgrade data; When receiving the upgrade result sent by the inverter, obtaining the point information of each inverter stored in the target platform; Evaluate the upgrade effect based on the upgrade results and point information.
[0011] In a second aspect, an embodiment of the present application provides a data acquisition device based on multiple inverters connected in parallel, comprising: A first processing module, configured to determine an extended instruction based on the number of inverters and the standard instruction, and read registration information of the inverter according to the extended instruction; A second processing module is configured to report total registration information to a target platform; wherein the total registration information includes registration information of at least two inverters; a third processing module, configured to receive configuration information corresponding to the total registration information issued by the target platform, and read the collected data in each inverter based on the configuration information; wherein the configuration information includes configuration information of at least two data points; The fourth processing module is used to parse and process the collected data to obtain target data, and report the target data to the target platform.
[0012] In a third aspect, an embodiment of the present application further provides a data acquisition device based on multiple inverters in parallel, comprising a processor and a memory; The processor is connected to the memory; a memory for storing executable program code; The processor runs the program corresponding to the executable program code by reading the executable program code stored in the memory, so as to implement the data collection method based on inverter multi-machine parallel connection provided by the first aspect of the embodiment of the present application or any implementation method of the first aspect.
[0013] In a fourth aspect, an embodiment of the present application provides a computer storage medium, which stores a computer program. The computer program includes program instructions. When the program instructions are executed by a processor, the data acquisition method based on parallel connection of multiple inverters provided by the first aspect of the embodiment of the present application or any implementation method of the first aspect can be implemented.
[0014] The beneficial effects of the technical solutions provided by some embodiments of this specification include at least: In the data collection process based on multi-machine parallel connection of inverters, communication with multiple inverters is carried out through the determined extended instructions to realize multi-machine parallel connection of inverters, and then the total registration information is reported to the target platform, so that the target platform sends configuration information according to the total registration information, and then reads the collected data in the inverter according to the configuration information, and reports the parsed collected data (i.e., target data) to the target platform, realizing dynamic distribution of configuration information, making data collection more convenient and flexible, not only reducing hardware costs, but also alleviating the data processing burden of the target platform. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0016] Figure 1 This is an overall flow chart of a data acquisition method based on multiple inverters in parallel provided in an embodiment of the present application; Figure 2 A schematic diagram of the connection between a collector and an inverter provided in an embodiment of the present application; Figure 3 This is an overall flow chart of another data acquisition method based on multiple inverters in parallel provided in an embodiment of the present application; Figure 4 A schematic diagram of the structure of a data acquisition device based on multiple inverters in parallel provided in an embodiment of the present application; Figure 5 A structural diagram of another data acquisition device based on multiple inverters in parallel provided in an embodiment of the present application. DETAILED DESCRIPTION
[0017] The technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application.
[0018] In the following introduction, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance. The following introduction provides multiple embodiments of the present application. Different embodiments can be replaced or combined, so the present application can also be considered to include all possible combinations of the same and / or different embodiments described. Therefore, if one embodiment includes features A, B, and C, and another embodiment includes features B and D, then the present application should also be considered to include embodiments containing one or more of all other possible combinations of A, B, C, and D, even though the embodiment may not be clearly described in the following text.
[0019] The following description provides examples and does not limit the scope, applicability, or examples set forth in the claims. Changes may be made to the function and arrangement of the elements described without departing from the scope of the present application. Various examples may appropriately omit, replace, or add various processes or components. For example, the described method may be performed in an order different from the order described, and various steps may be added, omitted, or combined. In addition, features described in some examples may be combined in other examples.
[0020] See also Figure 1 , Figure 1The figure shows an overall flow chart of a data acquisition method based on multiple inverters in parallel provided by an embodiment of the present application.
[0021] like Figure 1 As shown, the data acquisition method based on multiple inverters in parallel may include at least the following steps: Step 101: Determine an extended instruction based on the number of inverters and standard instructions, and read registration information of the inverter according to the extended instruction.
[0022] In an embodiment of the present application, a data collection method based on multiple inverters in parallel is applied to a collector. During the data collection process based on multiple inverters in parallel, communication with multiple inverters is performed using a determined extended instruction to achieve multiple inverters in parallel. This allows the collector to report total registration information to a target platform, which then issues configuration information based on the total registration information. The target platform then reads the collected data from the inverters based on the configuration information and reports the parsed collected data (i.e., target data) to the target platform. This allows for dynamic distribution of configuration information, making data collection more convenient and flexible, reducing hardware costs, and alleviating the data processing burden on the target platform.
[0023] Specifically, in the data collection process based on multiple inverters in parallel, physical connections can be made with multiple inverters through RS485 cascade, and then communication with multiple inverters can be carried out through the determined extended instructions, and communication can be carried out with the target platform (i.e., the collection system, cloud platform) through the MQTT protocol.
[0024] It's understandable that the communication protocol between the data collector and the inverter is based on the Modbus protocol, which includes basic data reading, parameter setting, and device upgrades. However, in the standard Modbus protocol, a single read / write instruction can only read and write data within a continuous address range, and the Modbus protocol lacks a dedicated function code for upgrades. Therefore, in order to improve communication efficiency between the data collector and the inverter when multiple inverters are cascaded, custom extensions to the Modbus protocol, such as read instruction extensions, are required. Without these extensions, a single instruction can only read and write data within a continuous address range, resulting in lower data collection efficiency. Therefore, expanding the protocol to multiple read instructions is necessary to address this issue.
[0025] It should be noted that the extension method can be, but is not limited to, customized extension based on the cascade situation of the inverter (such as the number, model, and manufacturer of the inverter), the standard instructions of the Modbus protocol, and actual application requirements. The implementation method can be, but is not limited to: selecting Modbus customized function codes as the function codes of multi-segment data read and write instructions, defining the data reading and data writing of multi-segment data, and the response of the inverter device to read the data, the frame format of the data writing response, etc., so that one read and write instruction can read and write more data, greatly improving the efficiency of data acquisition.
[0026] Furthermore, after the extended instruction is determined, the registration information of the inverter may be read according to the extended instruction, wherein the registration information of the inverter may include, but is not limited to, the following four contents: (1) Inverter serial number: Each inverter has a unique serial number, which is used by the acquisition system to distinguish different inverter devices; (2) Inverter device address: Use the Modbus slave address as the inverter device address. The collector device address is defined as 0; (3) Inverter type: The type of inverter device is a grid-connected machine, an energy storage machine, or an off-grid machine. The data points of different types of devices will be different. The acquisition system needs to determine the data collection points of the inverter device based on the type of inverter; (4) Inverter manufacturer category: The data points of inverters from different manufacturers may also be different, so the acquisition system also needs to adjust the data points according to the inverter manufacturer.
[0027] Step 102: Report the total registration information to the target platform.
[0028] Specifically, after reading the inverter's registration information, the target platform can report the total registration information, which includes the registration information of at least two inverters. This allows the target platform to distribute configuration information based on the inverter's registration information and the collection points configured on the target platform. Furthermore, the target platform can also dynamically update the distributed configuration information based on changes in the total registration information reported by the collector, making the data collection process more convenient and flexible.
[0029] As an option in the embodiment of the present application, the registration information of the inverter includes a device address, a device serial number, a device type, and a device manufacturer; Report total registration information to the target platform, including: Send the device address and serial number of each inverter to the target platform to identify the different data collected by different inverters; The device type and manufacturer of each inverter are sent to the target platform so that the target platform can determine the location information of each inverter.
[0030] Specifically, the registration information of the inverter may include the device address, device serial number, device type, and device manufacturer. In the process of reporting the total registration information to the target platform, the device address and device serial number of each inverter may be sent to the target platform first, so that the target platform can identify the data collected by the inverter based on the device address and device serial number of the inverter. For example, there are three inverters A, B, and C, whose device addresses are 0x01, 0x02, and 0x03, respectively, and whose device serial numbers are SN123, SN456, and SN789, respectively. Inverter A is located on the east side of a building, inverter B is located on the west side of a building, and inverter C is located on the south side of a building. The number and specifications of photovoltaic modules connected to the three are the same. If the target platform receives certain data, and the device address corresponding to the data is 0x02 and the device serial number is SN456, it can be determined that the data was collected on the east side of the building; if the device address corresponding to the data received by the target platform is 0x03, it can be determined that the data was collected on the south side of the building; if the device serial number corresponding to the data received by the target platform is SN123, it can be determined that the data was collected on the east side of the building.
[0031] It can be understood that the method of determining the collected data through the device address and device serial number of the inverter can be, but is not limited to, the three methods mentioned in the above examples, namely, determined by the device address and device serial number together, determined by the device address alone, and determined by the device serial number alone.
[0032] Next, the device type and device manufacturer of each inverter can be sent to the target platform. The target platform can then query the user manual or communication protocol document of the inverter in a preset database or network based on the device type of the inverter and the device manufacturer, and then obtain the point information of the inverter from the user manual or communication protocol document. The point information includes at least the following four items: 1) Register address: Each register has a unique address that identifies a specific data point; 2) Data type: The data in the register can be integer, floating point number, Boolean value, etc. 3) Function code: command code used to specify read or write operations (such as 0x03 in Modbus to read holding registers); 4) Units and ranges: Understand the units and valid range of each register data.
[0033] Here, you can refer to the following table, which is an example point table for an inverter: The description indicates the data stored at the register address. Null indicates no unit. The note "two registers" indicates that the float32 data type requires two registers to store. The note "0: Stop, 1: Run" indicates that a value of 0 indicates the inverter is stopped, while a value of 1 indicates the inverter is running. The note "write operation" indicates that data can be written to a specific register address of the inverter via the Modbus protocol to set or modify inverter parameters. These register addresses are typically used to configure the inverter's operating mode, set protection thresholds, and send control commands.
[0034] It's understandable that an inverter typically contains multiple register addresses. Each register address corresponds to a specific data point or parameter. These data points can include information such as the inverter's input voltage, input current, output power, and operating status. These register addresses can be used to read the inverter's current status or set its parameters.
[0035] As another option in the embodiment of the present application, the total registration information also includes registration information of the collector; Reporting total registration information to the target platform also includes: Count the number of all inverters connected to the collector as the mounted number; Obtain the collector serial number and collector firmware version, and report the collector serial number, collector firmware version and mount quantity as the collector registration information to the target platform to generate upgrade instructions.
[0036] Specifically, the total registration information may also include the registration information of the collector. In the process of reporting the total registration information to the target platform, the number of all inverters connected to the collector may also be counted, and the counted value may be used as the value of the mounted quantity.
[0037] Next, you can obtain your own serial number and version information (i.e., collector serial number and collector firmware version), and then report the collector serial number, collector version information, and mount quantity as the collector's registration information to the target platform, so that the target platform can generate an upgrade instruction based on this, ensuring that the collector can update its firmware or software in the predetermined manner and steps.
[0038] Step 103: Receive configuration information corresponding to the total registration information issued by the target platform, and read the collected data in each inverter based on the configuration information.
[0039] Specifically, after reporting the total registration information to the target platform, the target platform may determine corresponding configuration information based on the total registration information and send it to the collector, wherein the configuration information includes configuration information of at least two data points.
[0040] Furthermore, after receiving the configuration information, the data collected by the inverter may be read according to the data point information in the configuration information.
[0041] As another optional embodiment of the present application, reading the collected data in each inverter based on the configuration information includes: Determine a read instruction for each data point based on the configuration information of each data point; All data points in each inverter are read based on the read instruction to obtain collected data.
[0042] Specifically, in the process of reading the collected data from each inverter based on the configuration information, the reading instructions for each data point can be determined based on the configuration information of each data point. For example, there are two data points representing the data measured by the current sensor and the voltage sensor respectively. The configuration information of the data points is as follows: Next, the read instruction for each data point can be determined based on the command format of the preset communication protocol and the table above. If the instruction format is: device address + function code + storage address + number of registers, and the two data points in the table above come from the same inverter, with a device address of 0x05, the function code for both data points is 0x03, and the corresponding register number is 1, then the generated read instructions are 050300010001 (i.e., device address 05 + function code 03 + storage address 0001 + number of registers 0001) and 050300020001.
[0043] Thereafter, all data points in each inverter may be read according to the determined reading instructions, and then integrated into a complete data set to form collected data.
[0044] As another option of the embodiment of the present application, determining a read instruction for each data point based on the configuration information of each data point includes: Obtain the function code, offset address, data size and splicing order in the configuration information of each data point; The function code, offset address, and data size are spliced according to the splicing order to obtain the reading instruction for each data point.
[0045] Specifically, in the process of determining the read instructions for each data point based on the configuration information of each data point, the function code, offset address, data size, and splicing order in the configuration information of each data point can also be obtained, and read instructions for different data points can be flexibly generated according to this splicing order. For example, most industrial technology fields stipulate a standard splicing order of "function code + offset address + data size" so that the receiver can parse the data according to the standard format and reduce the error rate; in some scenarios, transmitting the offset address first can reduce latency or increase the transmission rate; in some application scenarios, transmitting the data size first can facilitate the receiver to allocate a buffer in advance.
[0046] Step 104: parse and process the collected data to obtain target data, and report the target data to the target platform.
[0047] Specifically, after reading the collected data in each inverter according to the configuration information, the collected data can be parsed and processed to obtain the target data. The parsing and processing methods may include, but are not limited to, formatting (converting the original data into a unified format for subsequent processing and storage), verification (checking the integrity and accuracy of the data, and excluding abnormal values or erroneous data), filtering (removing unnecessary data fields to reduce the transmission burden), decoding (if the data is sent in a specific encoding format, it needs to be decoded before further processing), calculation (calculating more meaningful information based on the original data, such as total power generation, daily average power generation, system efficiency, etc.), mapping (converting certain specific codes or identifiers into human-readable form, such as mapping error codes to specific error descriptions), etc.
[0048] Furthermore, after obtaining the target data, the target data can be grouped and reported to the target platform according to the collection interval and inverter device. The collection interval can be, but is not limited to, a pre-set fixed value or a flexible value determined according to different inverter devices (such as the collection interval of inverter A is 1s, and the collection interval of inverter B is 0.1s).
[0049] As another option of the embodiment of the present application, parsing and processing the collected data to obtain target data includes: Based on the read instruction of each data point, valid data is extracted from each data point; Get the data type and coefficient in the configuration information of each data point; The valid data is converted based on the data type to obtain the intermediate data, and the target data is calculated based on the coefficients and the intermediate data.
[0050] Specifically, in the process of parsing the collected data to obtain the target data, valid data can be extracted from each data point according to the reading instruction of each data point. It is understood that when the data in the data point has the following six conditions, but not limited to, it is considered invalid data, otherwise it is considered valid data: 1) The length of a data point does not match the length in the configuration information; 2) The data exceeds the reasonable range (for example, the temperature value is negative or exceeds the physical limit); 3) The value of a data point fluctuates dramatically within a short period of time, which may be due to sensor failure or transmission error; 4) Data integrity check fails (e.g. some fields are empty or missing); 5) If the same data point value is received within a short period of time, it will be considered as duplicate data and only one will be retained.
[0051] 6) If the data point contains a timestamp, but the timestamp is invalid (for example, in the future or expired).
[0052] Next, the data type and coefficients in the configuration information for each data point can be obtained. The extracted valid data can then be converted (e.g., to a specified data type) based on the data type to obtain intermediate data. After obtaining the intermediate data, the target data can be calculated based on the obtained coefficients and the intermediate data. This calculation method can include, but is not limited to, multiplying or dividing the intermediate data by the coefficients.
[0053] It's important to note that data type conversion not only optimizes program performance and resource usage but also ensures data interface compatibility between different systems or modules, ensuring correct data transmission and processing. For example, when storing and transferring data, data type conversion may be necessary to accommodate different needs. By selecting the appropriate data type, memory usage can be reduced and program execution efficiency improved. Furthermore, coefficients are used for unit conversion, scaling, precision adjustment, standardization, and normalization, resulting in more accurate and reliable data. For example, if a data collector receives current values from an inverter expressed in a standard unit (such as a fraction of an ampere), applying a coefficient can convert this value to standard amperes.
[0054] As another option of the embodiment of the present application, after reporting the target data to the target platform, the method further includes: When receiving an upgrade instruction sent by the target platform, the upgrade data is sent to each inverter according to the upgrade instruction, so that each inverter completes the firmware upgrade according to the upgrade data; When receiving the upgrade result sent by the inverter, obtaining the point information of each inverter stored in the target platform; Evaluate the upgrade effect based on the upgrade results and point information.
[0055] Specifically, after the target data is reported to the target platform, when an upgrade instruction sent by the target platform is received, an upgrade request can be first issued to each inverter according to the upgrade instruction. When the upgrade request reply of the inverter device is received, firmware data is issued to each inverter so that the inverter can complete the firmware upgrade locally through the firmware data, wherein the upgrade data includes at least an upgrade request and firmware data.
[0056] Then, after the inverter completes the upgrade, it can send the upgrade results to the collector. When the collector receives the upgrade results, it obtains the point information of each inverter stored in the target platform. Based on this point information, it can query the corresponding pre-upgrade status information in the preset database. After that, it can compare this status information with the upgrade results, and estimate the upgrade effect by comparing multiple parameters and their corresponding weights. For example, if the output power comparison result is a 10% increase with a weight of 4, and the efficiency comparison result is a 5% increase with a weight of 6, then the upgrade effect can be 10%*4+5%*6=0.7, which means the upgrade effect is a 70% performance increase.
[0057] See also Figure 2 , Figure 2 A schematic diagram of the connection between a collector and an inverter provided in an embodiment of the present application is shown.
[0058] like Figure 2 As shown in the figure, the collector and multiple inverters are connected through the RS485 bus, so that one collector can be connected to multiple inverters through one RS485 interface. Compared with the traditional one-to-one connection (that is, one collector interface is only connected to one inverter interface), this connection method realizes the parallel connection of multiple inverters, greatly reducing the collection cost.
[0059] See also Figure 3 , Figure 3 The figure shows an overall flow chart of another data collection method based on multiple inverters in parallel provided by an embodiment of the present application.
[0060] like Figure 3 As shown in the figure, the flowchart includes the communication process of four stages in the data collection process based on multiple inverters in parallel: the collector reports registration information and sends configuration (first stage), the collector executes the data collection task (second stage), parameter setting (third stage) and firmware upgrade (fourth stage).
[0061] It can be understood that the collector and the collection system (i.e., cloud platform, target platform) are connected through the network, and the collector and the inverter device are connected through the RS485 bus.
[0062] In the first phase, the collector subscribes to messages from the collection system via the MQTT communication protocol and is responsible for reading information from the inverter (such as the inverter's registration information). Upon receiving the inverter's reply, the collector reports the inverter's registration information and its own registration information (i.e., the overall registration information) to the collection system. The collection system then issues the corresponding initialization and collection configuration (i.e., configuration information) based on the overall registration information. It's worth noting that this solution requires the collection system to pre-create archives for the collector and inverter within the system and configure the data collection points for the inverter device mounted on the collector in the database. If the collection system fails to locate the archive for the collector (i.e., no archive has been created in the collection system), it indicates that the collector is not managed by the collection system, and no configuration information will be issued, and the connection to the collector will be disconnected (i.e., the collector will be offlined).
[0063] In the second stage, the collector will read the collected data from the inverter through multiple read instructions, and parse the data replied by the inverter when it is received, converting it into data that is easier for the collection system to process, namely the target data, and then report the parsed target data to the collection system to reduce the pressure on the collection system to process data.
[0064] In the third phase, if the operating parameters, protection parameters, etc. of the device need to be modified, the acquisition system needs to issue a parameter setting instruction. For all inverter devices under the same collector, the acquisition system supports simultaneous setting of a certain parameter for all devices. When the collector receives the parameter setting instruction, it sets the inverter parameters according to the instruction through the RS485 broadcast address. After all inverter devices respond with the setting results, the collector reports the parameter setting results for all devices to the acquisition system. Compared to setting parameters for each inverter device one by one, batch setting of inverter device parameters is more efficient. Only one read and write instruction is required to complete the parameter setting operation for all inverter devices under a collector, greatly reducing the time required to set parameters.
[0065] In the fourth phase, when an inverter device needs to correct a software error, the acquisition system needs to issue an upgrade command to complete the upgrade. The acquisition system can also perform batch upgrades for all inverter devices under the collector. After receiving the upgrade command, the collector will issue an upgrade request to all inverter devices. After receiving the inverter's response, it will then issue the firmware data required for the upgrade and report the upgrade progress to the acquisition system, allowing the acquisition system to promptly understand the inverter device upgrade status. When the collector completes sending the firmware data, the inverter will perform the upgrade locally based on this firmware data and, after the upgrade is complete, reply to the collector with the upgrade results. The collector then reports the upgrade results to the acquisition system. Compared to upgrading a single inverter device, batch upgrading of inverter devices can significantly reduce the time required for device upgrades and maintenance.
[0066] It should be noted that between the second and third stages, since the collector's time may deviate, the collection system must send the current time to the collector at regular intervals while the collector is online for time calibration.
[0067] See also Figure 4 , Figure 4 A structural schematic diagram of a data acquisition device based on multiple inverters in parallel provided in an embodiment of the present application is shown.
[0068] like Figure 4 As shown, the data acquisition device based on multiple inverters in parallel may include at least a first processing module 401, a second processing module 402, a third processing module 403 and a fourth processing module 404, wherein: The first processing module 401 is configured to determine an extended instruction based on the number of inverters and the standard instruction, and read registration information of the inverter according to the extended instruction; The second processing module 402 is configured to report total registration information to the target platform; wherein the total registration information includes registration information of at least two inverters; The third processing module 403 is configured to receive configuration information corresponding to the total registration information issued by the target platform, and read the collected data in each inverter based on the configuration information; wherein the configuration information includes configuration information of at least two data points; The fourth processing module 404 is used to parse and process the collected data to obtain target data, and report the target data to the target platform.
[0069] In some possible embodiments, the registration information of the inverter includes a device address, a device serial number, a device type, and a device manufacturer; Report total registration information to the target platform, including: The second processing module 402 is specifically configured to: Send the device address and serial number of each inverter to the target platform to identify the different data collected by different inverters; The device type and manufacturer of each inverter are sent to the target platform so that the target platform can determine the location information of each inverter.
[0070] In some possible embodiments, the total registration information also includes the registration information of the collector; Reporting total registration information to the target platform also includes: The second processing module 402 is specifically configured to: Count the number of all inverters connected to the collector as the mounted number; Obtain the collector serial number and collector firmware version, and report the collector serial number, collector firmware version and mount quantity as the collector registration information to the target platform to generate upgrade instructions.
[0071] In some possible embodiments, reading the collected data in each inverter based on the configuration information includes: The third processing module 403 is specifically configured to: Determine a read instruction for each data point based on the configuration information of each data point; All data points in each inverter are read based on the read instruction to obtain collected data.
[0072] In some possible embodiments, determining a read instruction for each data point based on configuration information of each data point includes: The third processing module 403 is specifically configured to: Obtain the function code, offset address, data size and splicing order in the configuration information of each data point; The function code, offset address, and data size are spliced according to the splicing order to obtain the reading instruction for each data point.
[0073] In some possible embodiments, parsing the collected data to obtain target data includes: The fourth processing module 404 is specifically configured to: Based on the read instruction of each data point, valid data is extracted from each data point; Get the data type and coefficient in the configuration information of each data point; The valid data is converted based on the data type to obtain the intermediate data, and the target data is calculated based on the coefficients and the intermediate data.
[0074] In some possible embodiments, after reporting the target data to the target platform, the method further includes: The fourth processing module 404 is specifically configured to: When receiving an upgrade instruction sent by the target platform, the upgrade data is sent to each inverter according to the upgrade instruction, so that each inverter completes the firmware upgrade according to the upgrade data; When receiving the upgrade result sent by the inverter, obtaining the point information of each inverter stored in the target platform; Evaluate the upgrade effect based on the upgrade results and point information.
[0075] See also Figure 5 , Figure 5 A structural schematic diagram of another data acquisition device based on multiple inverters in parallel provided in an embodiment of the present application is shown.
[0076] like Figure 5 As shown, the data acquisition device 500 based on multiple inverters in parallel may include at least one processor 501 , at least one network interface 504 , a user interface 503 , a memory 505 and at least one communication bus 502 .
[0077] The communication bus 502 may be used to implement connection and communication among the above components.
[0078] The user interface 503 may include buttons, and the optional user interface may also include a standard wired interface or a wireless interface.
[0079] The network interface 504 may include, but is not limited to, a Bluetooth module, an NFC module, a Wi-Fi module, and the like.
[0080] The processor 501 may include one or more processing cores. The processor 501 utilizes various interfaces and circuits to connect the various components of the data acquisition device 500 based on multiple inverters in parallel. By running or executing instructions, programs, code sets, or instruction sets stored in the memory 505, and accessing data stored in the memory 505, the processor 501 performs various functions and processes data of the data acquisition device 500 based on multiple inverters in parallel. Optionally, the processor 501 may be implemented in at least one hardware form selected from the group consisting of a DSP, an FPGA, and a PLA. The processor 501 may integrate one or a combination of a CPU, a GPU, and a modem. The CPU primarily processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; and the modem is responsible for handling wireless communications. It is understood that the modem may not be integrated into the processor 501 and may be implemented separately via a separate chip.
[0081] Among them, the memory 505 may include RAM and may also include ROM. Optionally, the memory 505 includes a non-transitory computer-readable medium. The memory 505 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 505 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc.; the data storage area may store data involved in the above-mentioned various method embodiments, etc. The memory 505 may also be optionally at least one storage device located away from the aforementioned processor 501. As Figure 5 As shown, the memory 505 as a computer storage medium may include an operating system, a network communication module, a user interface module, and a data acquisition application based on multiple inverters in parallel.
[0082] Specifically, the processor 501 may be used to call a data acquisition application based on multiple inverters in parallel stored in the memory 505, and specifically perform the following operations: Determine an extended instruction based on the number of inverters and the standard instruction, and read the registration information of the inverter according to the extended instruction; Reporting total registration information to the target platform; wherein the total registration information includes registration information of at least two inverters; Receive configuration information corresponding to the total registration information issued by the target platform, and read the collected data in each inverter based on the configuration information; wherein the configuration information includes configuration information of at least two data points; The collected data is parsed and processed to obtain the target data, and the target data is reported to the target platform.
[0083] The present application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the above method. The computer-readable storage medium may include, but is not limited to, any type of disk, including a floppy disk, an optical disk, a DVD, a CD-ROM, a microdrive, a magneto-optical disk, a ROM, a RAM, an EPROM, an EEPROM, a DRAM, a VRAM, a flash memory device, a magnetic card or an optical card, a nanosystem (including a molecular memory IC), or any type of medium or device suitable for storing instructions and / or data.
[0084] It should be noted that for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that this application is not limited by the order of the actions described, because according to this application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by this application.
[0085] In the above embodiments, the description of each embodiment has its own focus. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0086] In the several embodiments provided in this application, it should be understood that the disclosed devices can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of units is only a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some service interface, and the indirect coupling or communication connection of devices or units can be electrical or other forms.
[0087] Units described as separate components may or may not be physically separate, and components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.
[0088] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.
[0089] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a memory and includes a number of instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the various embodiments of the present application. The aforementioned memory includes: U disk, read-only memory (ROM), random access memory (RAM), mobile hard disk, magnetic disk, or optical disk, etc., various media that can store program code.
[0090] Those skilled in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be performed by instructing related hardware through a program, and the program may be stored in a computer-readable memory, which may include a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, etc.
[0091] The above are merely exemplary embodiments of the present disclosure and are not intended to limit the scope of the present disclosure. That is, any equivalent changes and modifications made in accordance with the teachings of the present disclosure are still within the scope of the present disclosure. After considering the specification and practicing the disclosure herein, those skilled in the art will easily think of the implementation scheme of the present disclosure. This application is intended to cover any variations, uses or adaptations of the present disclosure, which follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not recorded in the present disclosure. The description and examples are to be regarded as exemplary only, and the scope and spirit of the present disclosure are defined by the claims.
Claims
1. A data collection method based on multiple inverters in parallel, characterized in that: include: Determining an extended instruction based on the number of inverters and the standard instruction, and reading registration information of the inverter according to the extended instruction; Reporting total registration information to a target platform; wherein the total registration information includes at least registration information of the two inverters; Receiving configuration information corresponding to the total registration information issued by the target platform, and reading the collected data in each of the inverters based on the configuration information; wherein the configuration information includes configuration information of at least two data points; The collected data is parsed to obtain target data, and the target data is reported to the target platform.
2. The method according to claim 1, characterized in that The registration information of the inverter includes the device address, device serial number, device type and device manufacturer; The reporting of total registration information to the target platform includes: Sending the device address and device serial number of each inverter to the target platform to identify different data collected by different inverters; The device type and device manufacturer of each inverter are sent to the target platform, so that the target platform can determine the location information of each inverter.
3. The method according to claim 1, characterized in that: The total registration information also includes the registration information of the collector; The reporting of the total registration information to the target platform also includes: Counting the number of all the inverters connected to the collector as the mounted number; The collector serial number and the collector firmware version are obtained, and the collector serial number, the collector firmware version and the mount quantity are reported to the target platform as the registration information of the collector to generate an upgrade instruction.
4. The method according to claim 1, characterized in that The step of reading the collected data in each inverter based on the configuration information includes: Based on the configuration information of each of the data points, determining a read instruction for each of the data points; All data points in each of the inverters are read based on the read instruction to obtain collected data.
5. The method according to claim 4, characterized in that The step of determining a read instruction for each of the data points based on the configuration information of each of the data points includes: Obtaining the function code, offset address, data size and splicing order in the configuration information of each of the data points; The function code, the offset address, and the data size are spliced according to the splicing order to obtain a read instruction for each of the data points.
6. The method according to claim 4, characterized in that The step of analyzing the collected data to obtain target data includes: Extracting valid data from each of the data points based on a read instruction of each of the data points; Obtaining the data type and coefficient in the configuration information of each of the data points; The effective data is converted based on the data type to obtain intermediate data, and the target data is calculated according to the coefficient and the intermediate data.
7. The method according to claim 1, characterized in that After reporting the target data to the target platform, the method further includes: When receiving an upgrade instruction sent by the target platform, sending upgrade data to each inverter according to the upgrade instruction, so that each inverter completes the firmware upgrade according to the upgrade data; When receiving the upgrade result sent by the inverter, acquiring the point information of each inverter stored in the target platform; Based on the upgrade result and the point information, the upgrade effect is evaluated.
8. A data acquisition device based on multiple inverters in parallel, characterized in that: include: A first processing module, configured to determine an extended instruction based on the number of inverters and a standard instruction, and read registration information of the inverter according to the extended instruction; A second processing module, configured to report total registration information to a target platform; wherein the total registration information includes at least registration information of the two inverters; A third processing module is used to receive configuration information corresponding to the total registration information issued by the target platform, and read the collected data in each inverter based on the configuration information; wherein the configuration information includes configuration information of at least two data points; The fourth processing module is used to parse the collected data to obtain target data, and report the target data to the target platform.
9. A data acquisition device based on multiple inverters in parallel, characterized in that: including a processor and a memory; The processor is connected to the memory; The memory is used to store executable program code; The processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to execute the steps of the method according to any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: The computer-readable storage medium stores instructions, and when the instructions are executed on a computer or a processor, the computer or the processor executes the steps of the method according to any one of claims 1 to 7.
Citation Information
Cited By
Data acquisition method and device, equipment and medium
CN120915854A
Distributed energy storage equipment data acquisition method, system, equipment and medium
CN121239713A
Data acquisition methods, systems, equipment and media for distributed energy storage devices
CN121239713B