Inverter and main controller of photovoltaic power generation system, and method of operating photovoltaic system

The method addresses firmware update instability in solar power systems by synchronizing MLPE firmware versions, ensuring data integrity and system stability through version management and unit-based data transmission.

WO2024196196A1PCT designated stage expired Publication Date: 2024-09-26HANWHA SOLUTIONS CORP

Patent Information

Application Number
PCT/KR2024/003710
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-23
Filing Date
2024-03-25
Publication Date
2024-09-26

AI Technical Summary

Technical Problem

In solar power generation systems, firmware updates for Module Level Power Electronics (MLPE) can be interrupted, leading to version discrepancies between stored and received firmware data, causing instability and invalidity during the update process.

Method used

A method is implemented to ensure data validity by setting and comparing firmware versions, dividing data into units, and retransmitting only when versions match, with the main controller managing the update process and MLPE handling version checks and data storage.

Benefits of technology

This approach guarantees data integrity and system stability by ensuring firmware versions are synchronized during updates, preventing failures and ensuring continuous operation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure KR2024003710_26092024_PF_FP
    Figure KR2024003710_26092024_PF_FP
Patent Text Reader

Abstract

According to one embodiment of the present invention, provided is a method of operating a photovoltaic power generation system for updating module level power electronics (MLPE) firmware, the method of operating the photovoltaic power generation system comprising the operations of: acquiring firmware data; setting a version of the firmware data upon completion of acquiring the firmware data; transmitting, to each of a plurality of MLPEs, the firmware data in which the version is set; receiving a reset ready signal from the MLPEs after completion of transmitting the firmware data; and transmitting a firmware reset and update command to the MLPEs.
Need to check novelty before this filing date? Find Prior Art

Description

Inverter and main controller of a solar power generation system, and method of operation of the solar power system

[0001] The present invention relates to an inverter and a main controller of a solar power generation system, and an operating method of the solar power generation system, and more particularly, to an inverter and a main controller of a solar power generation system capable of ensuring the stability and effectiveness of an MLPE firmware update, and an operating method of the solar power generation system.

[0002]

[0003] In general, a solar power generation system is a system that converts solar energy into electrical energy using photovoltaic cells and transmits it to a commercial power grid. In the process, no environmental pollution occurs and it can be used semi-permanently.

[0004] These solar power systems include multiple solar panels, multiple Module Level Power Electronics (MLPEs), a master controller, and a server.

[0005] The plurality of solar panels can be connected in at least one of series and parallel, and the plurality of MLPEs are respectively provided for the plurality of solar panels.

[0006] Multiple MLPEs are configured to include an optimizer capable of optimizing the efficiency of power generated from solar panels. The optimizer optimizes the efficiency of the solar panels and transmits power generation information, including the amount of power generated, temperature, and fault information, to the master controller.

[0007] The main controller controls multiple optimizers, collects development information received from multiple optimizers, and transmits it to the server.

[0008] The server monitors the power generation status of multiple solar panels using power generation information from multiple solar panels.

[0009] Meanwhile, the MLPE, including the optimizer, is implemented on a printed circuit board (PCB) and molded inside the MLPE case. Consequently, if changes are needed to the MLPE's operation and control after the product is shipped and installed on a solar panel, direct physical manipulation of the PCB is impossible. Therefore, remote firmware updates are used to address this issue. "Firmware" here refers to the software responsible for controlling and operating the MLPE.

[0010] However, if an error occurs during the remote firmware update process, the MLPE will fail to reboot. Specifically, if the firmware update is interrupted and then re-received, the validity of the data cannot be guaranteed if the previously stored firmware data and the subsequently received firmware data have different versions.

[0011] In order to solve the problems of the prior art as described above, the present invention aims to ensure the validity of data by making the versions of previously stored firmware data and subsequently received firmware data identical when firmware data is re-received after being interrupted during firmware update.

[0012] The technical problems to be achieved in the present invention are not limited to the technical problems mentioned above, and other technical problems not mentioned can be clearly understood by a person having ordinary skill in the technical field to which the present invention belongs from the description below.

[0013] According to one embodiment of the present invention, a method of operating a solar power generation system for MLPE firmware update is provided, the method comprising: acquiring firmware data; setting a version of the firmware data when acquisition of the firmware data is completed; transmitting the firmware data with the version set to each of a plurality of module level power electronics (MLPE); receiving a reset preparation signal from the MLPE after transmission of the firmware data is completed; and transmitting a firmware reset and update command to the MPLE.

[0014]

[0015] In the present invention, after the operation of setting the version of the firmware data, the operation of transmitting an update command to the MLPE; the operation of receiving an update preparation signal including a result of checking the memory space and version information of the pre-stored firmware data from the MLPE; and the operation of determining whether to transmit the firmware data based on the result of checking the memory space and the version information of the pre-stored firmware data may be additionally included.

[0016] In the present invention, the operation of determining whether to transmit the firmware data may be performed by comparing the set version of the acquired firmware data with the version of the firmware data pre-stored in the MLPE, and determining not to transmit the firmware data if the versions are the same or the version of the pre-stored firmware data is higher.

[0017] In the present invention, the operation of setting the version of the firmware data can be set so that the version of the firmware data increases each time the entire data acquisition of the firmware data is completed.

[0018] In the present invention, the operation of transmitting the firmware data divides the firmware data into N (wherein N is a natural number greater than or equal to 2) unit data, sequentially transmits the N unit data to the MLPE, sets an index to the N unit data, and increases the index by 1 each time the MLPE sequentially receives and stores the plurality of unit data, and the value of the index may be 0 to (N-1).

[0019]

[0020] In the present invention, the MLPE receives the firmware reset and update command, deletes the pre-stored first firmware data, receives the second firmware data from the main controller, and stores the second firmware data, and the version of the second firmware data may be different from the version of the first firmware data.

[0021] In the present invention, the MLPE receives third firmware data based on the interruption of receiving the second firmware data, and the third firmware data can be received as second unit data.

[0022] In the present invention, the MLPE can receive the second unit data starting from the (i+1)th second unit data based on the fact that the reception of the i-th first unit data (where i is a natural number greater than or equal to 1 and less than N) among the first unit data was interrupted.

[0023] In the present invention, the MLPE is

[0024] It is determined whether the version of the second unit data is the same as the version of the first unit data, and the firmware data can be received only when the version of the second unit data is the same as the version of the first unit data.

[0025] In the present invention, the MLPE transmits index information of the i-th first unit data to the main controller based on the version of the second unit data being the same as the version of the first unit data, and the main controller can check the index information of the i-th first unit data and transmit the (i+1)-th second unit data among the second unit data to the MLPE.

[0026] In the present invention, the MLPE deletes the second firmware data based on the fact that the version of the second unit data is different from the version of the first unit data, and the main controller can transmit the first second unit data among the second unit data to the MLPE.

[0027] According to one embodiment of the present invention, an inverter of a solar power generation system including a primary controller; a communication unit for obtaining firmware data and transmitting the received firmware data to each of a plurality of module level power electronics (MLPE); and a processor for setting a version of the firmware data, determining whether to transmit the firmware data based on the version of the firmware data, and transmitting a firmware reset and update command to the MPLE in response to receiving a reset preparation signal from the MLPE after the firmware data transmission to the MLPE is completed; is provided.

[0028] In the present invention, after setting the version of the firmware data, the processor can transmit an update command to the MLPE, receive an update preparation signal including a memory space verification result and version information of pre-stored firmware data from the MLPE, and determine whether to transmit the firmware data based on the memory space verification result and the version information of the pre-stored firmware data.

[0029] In the present invention, the processor may compare the set version of the acquired firmware data with the version of the pre-stored firmware data, and determine not to transmit the firmware data if the versions are the same or the version of the pre-stored firmware data is higher.

[0030] In the present invention, the processor may be set to increase the version of the firmware data each time the entire data acquisition of the firmware data is completed when setting the version of the firmware data.

[0031] In the present invention, the processor may determine to sequentially transmit firmware data that includes version information and is divided into N (wherein, N is a natural number greater than or equal to 2) unit data, perform an update of the firmware data based on the version of the firmware data and the index of the N unit data, set an index to each of the N unit data, and increase the index by 1 each time the unit data is sequentially received by the MLPE.

[0032] In the present invention, the processor generates the firmware reset and update command, and the MLPE that receives the firmware reset and update command deletes the first firmware data that has been previously stored, receives the second firmware data from the main controller, and stores the second firmware data, and the version of the second firmware data may be different from the version of the first firmware data.

[0033] In the present invention, the processor transmits third firmware data based on the interruption of receiving the second firmware data, and the third firmware data can be transmitted as second unit data.

[0034] In the present invention, the processor can transmit the second unit data starting from the (i+1)th second unit data based on the fact that transmission of the first unit data up to the i-th first unit data (where i is a natural number greater than or equal to 1 and less than N) was interrupted.

[0035] According to one embodiment of the present invention, an inverter of a solar power generation system for MLPE firmware update is provided, comprising: a primary controller of a solar power generation system capable of performing MLPE firmware update, a communication unit receiving firmware data from a server and transmitting the received firmware data to each of a plurality of module level power electronics (MLPE); and a processor transmitting a firmware reset and update command to the MPLE in response to completion of firmware data transmission to the MLPE and receipt of a reset preparation signal from the MLPE;

[0036]

[0037] According to the present invention, when firmware data is re-received after being interrupted during a firmware update, the validity of the data can be guaranteed by making the versions of the previously stored firmware data and the subsequently received firmware data identical.

[0038] In addition, according to the present invention, when firmware update is interrupted and firmware data having a different version from the previously stored firmware data is received, the previously stored firmware data is deleted and updated with new firmware data to make the versions the same, thereby ensuring the validity of the data.

[0039] The effects that can be obtained from the present invention are not limited to the effects mentioned above, and other effects not mentioned can be clearly understood by a person having ordinary skill in the art to which the present invention belongs from the description below.

[0040]

[0041] FIG. 1a and FIG. 1b are schematic diagrams showing an example of a solar power generation system according to an embodiment of the present invention.

[0042] Figure 2 is a flowchart of an example of a solar power generation method according to one embodiment of the present invention.

[0043] FIG. 3 is an example of firmware data according to one embodiment of the present invention.

[0044] FIG. 4 is a diagram for explaining a case where an error occurs during firmware data transmission according to one embodiment of the present invention.

[0045] Figure 5 is a block diagram of an MLPE according to an embodiment of the present invention.

[0046] FIG. 6 is a diagram illustrating a firmware update sequence of an MLPE according to an embodiment of the present invention.

[0047] Figure 7 is a flowchart of a firmware update method of MLPE according to an embodiment of the present invention.

[0048] The terms used in the examples are selected from widely used, current terms, as much as possible. However, these terms may vary depending on the intentions of those skilled in the art, precedents, the emergence of new technologies, etc. Furthermore, in certain cases, the applicant may arbitrarily select terms, in which case their meanings will be described in detail in the relevant description. Therefore, the terms used in the specification should be defined based on their intended meaning and the overall content of the specification, rather than simply their names.

[0049] When a part of a specification is said to "include" a component, this does not mean that it excludes other components, but rather that it may include other components, unless otherwise stated.

[0050] Additionally, terms including ordinal numbers, such as "first" or "second," used in the specification may be used to describe various components, but the components should not be limited by the terms. The terms may be used to distinguish one component from another.

[0051] Below, embodiments are described in detail with reference to the attached drawings. However, the embodiments may be implemented in various different forms and are not limited to the examples described herein.

[0052]

[0053] FIG. 1a and FIG. 1b are schematic diagrams showing an example of a solar power generation system according to an embodiment of the present invention.

[0054] As illustrated in FIG. 1a, a solar power generation system according to an embodiment of the present invention may be configured to include a plurality of solar panels (10), an inverter (400) including a main controller (100), a plurality of MLPEs (Module Level Power Electronics) (200), and a server (300). Alternatively, as illustrated in FIG. 1b, a solar power generation system according to another embodiment of the present invention may be configured to include a plurality of solar panels (10), a main controller (100), a plurality of MLPEs (Module Level Power Electronics) (200), an inverter (400), and a server (300).

[0055] That is, a solar power generation system according to one embodiment may be configured to include a main controller (100) in an inverter (400) as in FIG. 1a, or according to another embodiment, may be configured to include an inverter (400) between the main controller (100) and the grid (20) as in FIG. 1b. Here, the inverter (400) may convert direct current power generated from a plurality of solar panels (10) into alternating current power and transmit the converted alternating current power to the grid (20).

[0056] For convenience of explanation, the following description will be based on an embodiment in which a main controller (100) is included in an inverter (40) as shown in Fig. 1a. In addition, although a plurality of solar panels (10) and a plurality of MLPEs (200) are collectively referred to below, the solar panels (10) and MLPEs (200) are separate from each other and may be composed of different types or models.

[0057] According to one embodiment, each of the plurality of solar panels (10) may mean a solar power generation panel in a module unit. In addition, the plurality of solar panels (10) may be connected in at least one of series and parallel, and the plurality of MLPEs (200) may be provided on each of the plurality of solar panels (10). In addition, one MLPE (200) may be connected to one solar panel (10), or one MLPE (200) may be connected to multiple solar panels (10).

[0058] According to one embodiment, a plurality of MLPEs (200) may be provided with a module-level inverter to convert power generated from each solar panel (10) into alternating current.

[0059] In addition, according to one embodiment, a plurality of MLPEs (200) may be configured to include an optimizer (210) capable of optimizing the efficiency of power generated from the solar panels (10). Although referred to as an optimizer (210) in this specification, the optimizer (210) does not refer to a specific type of device, but may be understood as a device including a power efficiency optimization or maximum power point tracking (MPPT) function. Here, the optimizer (210) may operate in a buck mode to lower the output voltage when the output voltage of the connected solar panels (10) is higher than the maximum power point, and may operate in a boost mode to increase the output voltage when the output voltage is lower than the maximum power point, thereby optimizing power efficiency.

[0060] According to one embodiment, a plurality of optimizers (210) can perform an emergency shutdown (Rapid Shutdown) to stop the power generation of the solar panel (10) in an emergency situation. In addition, the plurality of optimizers (210) can transmit power generation information including the power generation amount, temperature, and fault information of the solar panel (10) to the master controller (100) and receive an operation command for optimizing power efficiency from the master controller (100).

[0061] Here, information transmission and reception between multiple optimizers (210) and the main controller (100) can be performed using Power Line Communication (PLC). When using Power Line Communication, separate communication cables or wireless communication technology for information transmission and reception between multiple MLPEs (200) and the main controller (100) are not required, thereby facilitating the installation and maintenance of the solar power generation system. However, since Power Line Communication utilizes power lines, it may be more susceptible to the influence of line conditions or the environment than when using communication cables.

[0062] According to one embodiment, the main controller (100) can collect power generation information received from a plurality of optimizers (210) and transmit it to the server (300), and the server (300) can monitor the power generation status of the plurality of solar panels (10) using the power generation information of the plurality of solar panels (10).

[0063] Here, information transmission and reception between the main controller (100) and the server (300) can be performed in a wired or wireless manner (e.g., serial communication).

[0064] The master controller (100) can control multiple optimizers (210), i.e., MLPEs (200), depending on the power generation status of the solar panel (10). In addition, the master controller (100) can receive firmware data from the server (300), set version information, and then transmit it to the MLPE, thereby ensuring the stability and validity of the firmware update by transmitting a firmware update command to the MPLE.

[0065] According to one embodiment of the present invention, in order to monitor the power generation status of a plurality of solar panels (10), a master controller (100) transmits command data to a plurality of optimizers (210), and the plurality of optimizers (210) transmit response data including power generation information of the solar panels (10) to the master controller (100) in response to the command data. In addition, the master controller (100) collects power generation information of a plurality of solar panels (10) and transmits the collected information to a server.

[0066] Meanwhile, the MLPE (200) is provided in a molded state inside the case of the MLPE (200) with various components including the optimizer (210) implemented on a printed circuit board. Accordingly, when the product is finally shipped and installed on a solar panel (10), if a change is required in the operation and control of the MLPE (200) and the optimizer (210), the printed circuit board cannot be physically directly manipulated, so this is resolved through a remote firmware update. Here, firmware refers to the software responsible for the control and operation of the MLPE (200).

[0067] However, if an error occurs during the firmware remote update process, it will lead to a reboot failure of the MLPE (200). In particular, if the firmware update is interrupted and then the firmware data is re-received, the validity of the data cannot be guaranteed if the versions of the previously stored firmware data and the subsequently received firmware data are different.

[0068] Accordingly, the solar power generation system of the present invention proposes a technology for checking the version of firmware data and proceeding with the update when firmware data is re-received after being interrupted during firmware update.

[0069] Figure 2 is a flowchart of an example of a solar power generation method according to one embodiment of the present invention.

[0070] Referring to Fig. 2, first, the main controller (100) receives firmware data from the server (201).

[0071] Next, when the reception of firmware data is completed, the main controller (100) sets the version in the firmware data (202).

[0072] Next, the main controller (100) transmits firmware data with a set version to each of the plurality of MLPEs (203).

[0073] Next, after the transmission of the above firmware data is completed, the main controller (100) receives an update preparation completion signal from the MLPE (200) and transmits a firmware update command to the MPLE (200) (204).

[0074] Next, the firmware update of MLPE (200) is performed (205).

[0075] In Aha, we will look at the specific operations of the solar power generation method for MLPE firmware update for each operation.

[0076] Specifically, when a firmware update is required, the server (300) transmits firmware data to the main controller (100), and the main controller (100) receives the firmware update (201). Accordingly, the main controller (100) receives the firmware data from the server (300), and upon completion of receiving the firmware data, sets a version in the firmware data.

[0077] Here, the main controller (100) can increase the firmware data version each time the reception and storage of firmware data is completed. In this case, the completion of the reception and storage of firmware data means that the data constituting a single firmware software as a whole has been received and stored without any missing portions.

[0078] In more detail, as described above, the main controller (100) may be present within the inverter (400) or may be provided separately from the inverter (400), and may include a processor. According to one embodiment of the present invention, the main controller (100) and the inverter (400) may be integrated to be referred to as a control unit of a solar power generation system, and the control unit may additionally include an Energy Management System (EMS) board.

[0079] According to one embodiment of the present invention, within the control unit of a solar power generation system, the main controller (100) can communicate directly with the MLPE via PLC communication, and the EMS board can communicate with the main controller (100) via serial communication (in a more specific example, RS-485). That is, in the solar power generation system, the main controller (100) can communicate with other devices such as an inverter and an EMS board via serial communication such as RS-485.

[0080] Returning to step 201 of FIG. 2, according to one embodiment of the present invention, the main controller (100) obtaining a firmware update may mean transferring firmware data provided by the server (300) from the EMS board to the main controller (100), or transferring firmware data already stored in the EMS board to the main controller (100).

[0081] Continuing, the main controller (100) can set the version of the firmware data when the reception of the firmware data is completed (202). More specifically, according to one embodiment of the present invention, the main controller (100) stores the firmware data in a binary format in the flash memory of the main controller (100) when receiving the firmware data from the EMS board. In addition, when receiving the entire firmware data, the version of the corresponding firmware data can be determined by reflecting the number of times. More specifically, the main controller (100) can designate an SND (Serial Number Digit) number for one piece of firmware data.

[0082] Continuing, according to one embodiment of the present invention, the main controller (100) transmits a firmware update with a set version to each of a plurality of MLPEs (200) (203). More specifically, the main controller (100) divides the firmware data into N (wherein, N is a natural number greater than or equal to 2) unit data and sequentially transmits the N unit data to the MLPEs (200). Here, the main controller (100) can divide the firmware data of several tens of kbytes in size into multiple units and transmit them.

[0083] Alternatively, according to another embodiment of the present invention, the main controller (100) may divide firmware data into n units of data of a preset size and sequentially transmit the n units of data to the MLPE (200). That is, since the firmware capacity may vary depending on the version of the firmware data, rather than dividing the entire data into N units at once, the unit data may be generated with a preset size depending on the communication environment.

[0084] Continuing, according to one embodiment of the present invention, after transmission of all divided unit data of firmware data is completed, the main controller (100) receives an update preparation completion signal from the MLPE (200) (204). Furthermore, the main controller (100), which has received the update preparation completion signal from the MLPE (200), transmits a firmware update command to the MLPE (200).

[0085] Meanwhile, according to one embodiment of the present invention, the main controller (100) obtains the version of the pre-stored firmware data from the MLPE (200) and compares it with the version of the newly transmitted firmware data. If the version of the pre-stored firmware data is equal to or older than the version of the newly transmitted firmware data as a result of the comparison, the main controller (100) does not transmit an update command to the MLPE (200).

[0086] The MLPE (200), which receives a firmware update command from the main controller (100), checks the version of the firmware data received from the main controller (100) and performs an update of the firmware data. More specifically, the MLPE compares the set version of the acquired firmware data with the version of the pre-stored firmware data, and if the versions are the same or the version of the pre-stored firmware data is higher, the firmware update is not performed.

[0087] Specifically, based on the need for updating the previously stored first firmware data, the MLPE (200) can delete the first firmware data and receive and store second firmware data having a different version from the first firmware data from the main controller (100). That is, the firmware data is reset and updated. Here, the second firmware data may have a higher version than the first firmware data.

[0088] FIG. 3 is an example of firmware data according to one embodiment of the present invention.

[0089] Referring to Fig. 3, the version of the firmware data acquired by the primary controller (100) is Ver_003, the firmware data is divided into 10 unit data, and each of the divided data is assigned an index from 01 to 09.

[0090] Additionally, the version of the firmware data pre-stored in MLPE#1 is Ver_002, and the firmware data is divided into 10 unit data, and each unit data is assigned an index from 01 to 09. In other words, the firmware data pre-stored in MLPE#1 may be divided into 10 units and sequentially transmitted and installed.

[0091] In addition, the version of the firmware data pre-stored in MLPE#2 is Ver_004, the firmware data is divided into 12 unit data, and each of the divided data is assigned an index from 01 to 11. That is, the firmware data pre-stored in MLPE#2 may be divided into 12 and sequentially transmitted and installed data, and may have a higher version and larger size than the data acquired by the main controller (100).

[0092] In addition, the version of the firmware data pre-stored in MLPE#3 is Ver_001, the firmware data is divided into 10 unit data, and each of the divided data is assigned an index from 01 to 19. That is, the firmware data pre-stored in MLPE#3 may be divided into 10 units and sequentially transmitted and installed data, and may have a lower version and smaller size than the data acquired by the main controller (100).

[0093] In the embodiment of FIG. 3, the main controller (100) may transmit an update command to each MLPE (200) based on the acquired firmware data, and may receive version information of the pre-stored firmware data from each MLPE (200). At this time, the main controller (100) may not transmit the firmware data if the versions are the same or if the version of the pre-stored firmware data is higher. More specifically, the main controller (100) may transmit the acquired firmware data of Ver_003 to MLPE#1 and MLPE#3, and not transmit it to MLPE#2.

[0094] FIG. 4 is a diagram for explaining a case where an error occurs during firmware data transmission according to one embodiment of the present invention.

[0095] FIG. 4 is a continuation of the embodiment of FIG. 3, and is an example of a case where the main controller (100) divides the acquired firmware data of Ver_003 and sequentially transmits it to MLPE#1 and MLPE#3.

[0096] As described above, the main controller (100) can divide the second firmware data (acquired firmware data, Ver_003 firmware data in the embodiment of FIG. 4) into N (N=10 in the embodiment of FIG. 4) first unit data and sequentially transmit the N first unit data to MLPE#1 and MLPE#3. At this time, the main controller (100) can set an index to the N first unit data, and increase the index by 1 each time the MLPE (200) sequentially receives the N first unit data of the second firmware data. Here, the value of the index can be 0 to (N-1). That is, the initial value of the index can be 0, and the final value can be (N-1).

[0097] For example, the main controller (100) may set the index to 0 before the first unit data of the second firmware data is received, set the index of the second unit data to 1 when the MLPE (200) confirms that the first unit data has been received, and set the index to 2 when the MLPE (200) confirms that the second unit data has been received, thereby increasing the index until the last unit data is received.

[0098] The N first unit data may include version information and index information. For example, the version information and index information may be included in a certain field on a packet of the first unit data.

[0099] Meanwhile, while the main controller (100) is sequentially transmitting the second firmware data, a transmission error may occur in the first unit data (index=04) corresponding to the fifth index. In this case, MLPE#1 may receive the third firmware data based on the interruption in receiving the second firmware data. Here, the third firmware data may be received as the second unit data, and the second unit data may include version information and index information.

[0100] For example, MLPE (200) can receive second unit data based on the fact that it stopped receiving the i-th first unit data (where i is a natural number greater than or equal to 1 less than N, i=5 in the embodiment of FIG. 4) among the first unit data.

[0101] Here, MLPE (200) can determine whether the version of the second unit data is the same as the version of the previously stored first unit data.

[0102] MLPE (200) can transmit index information of the i-th first unit data to the main controller (100) based on the fact that the version of the second unit data is the same as the version of the first unit data.

[0103] And, the main controller (100) can check the index information of the i-th first unit data and transmit the (i+1)-th second unit data among the second unit data to the MLPE (200).

[0104] In the embodiment of Fig. 4, both MLPE#1 and MLPE#3 have the same version of the second unit data as the version of the previously stored first unit data. In this case, MLPE#1 transmits the index information (i=4) of the ith first unit data whose transmission failed to the main controller (100), and MLPE#3 transmits the index information (i=1) of the ith first unit data whose transmission failed to the main controller (100). In addition, MLPE#1 and MLPE#3 receive again from the main controller (100) starting from the 5th and 2nd data, respectively.

[0105] Accordingly, MLPE (200) can ensure the validity of data by maintaining the same version between the first unit data stored and the second unit data received subsequently when the data is interrupted during a firmware update and then re-received, thereby maintaining continuity.

[0106] MLPE (200) deletes the second firmware data based on the fact that the version of the second unit data is different from the version of the first unit data, and the main controller (200) can transmit the first second unit data among the second unit data to MLPE (200). Here, the third firmware data may have a higher version than the second firmware data.

[0107] Accordingly, MLPE (200) can receive and store multiple units of third firmware data from beginning to end instead of second firmware data to ensure the validity of the data by keeping the version the same and maintaining continuity.

[0108]

[0109] Figure 5 is a block diagram of an MLPE according to an embodiment of the present invention.

[0110] Referring to FIG. 5, the MLPE according to an embodiment of the present invention may be configured to include a memory (220), a processor (230), and a communication unit (240). Meanwhile, these configurations may be implemented as the MLPE's (200) own configuration.

[0111] The memory (220) may store firmware data and algorithms necessary for the control operation of the MLPE (200). Here, the memory (220) may be a flash memory (ROM) and may include an application (222) that operates according to previously stored firmware data and a bootloader (221) that receives firmware data from the main controller (100).

[0112] The communication unit (240) can sequentially receive firmware data, which is divided into N units of data and has a set version, from the main controller (100). According to one embodiment of the present invention, the communication unit (240) of the MLPE (200) can transmit and receive data with the main controller (100) via power line communication.

[0113] In addition, the processor (230) can check the version of the index and firmware data to perform an update of the firmware data. More specifically, the processor (230) checks the memory (220) space according to a request from the main controller (100), confirms that the memory space is secured, transmits an update preparation signal to the main controller (100), stores the firmware data divided into N unit data received from the main controller (100) in the memory, and performs an existing firmware reset and a new firmware update based on the received reset and update signals.

[0114] Here, the N unit data have an index set, and the index increases by 1 each time the N unit data are sequentially received and stored, and the value of the index can be 0 to (N-1). In addition, the N unit data can include version information and index information.

[0115] Specifically, the processor (230) may delete the first firmware data based on the need for an update of the first firmware data stored in the memory (220), and receive and store second firmware data having a different version from the first firmware data from the main controller (100). Here, the second firmware data may be received as N pieces of first unit data.

[0116] The processor (230) may receive third firmware data based on the interruption in receiving second firmware data. Here, the third firmware data may be received as second unit data.

[0117] Specifically, the processor (230) can receive the second unit data based on the fact that the first unit data up to the i-th (where i is a natural number greater than or equal to 1 and less than N) first unit data was stopped from being received.

[0118] Additionally, the processor (230) can determine whether the version of the second unit data is the same as the version of the previously stored first unit data.

[0119] The processor (230) can transmit the index information of the i-th first unit data to the main controller (100) based on the version of the second unit data being the same as the version of the first unit data.

[0120] And, the main controller (100) can check the index information of the i-th first unit data and transmit the (i+1)-th second unit data among the second unit data to the MLPE (200).

[0121] Accordingly, the firmware update device of the MLPE according to the embodiment of the present invention can ensure the validity of data by maintaining the same version and continuity between the first unit data stored in advance and the second unit data that is subsequently re-received when the first unit data is received during the second firmware update and then stopped and then re-received.

[0122] In contrast, the processor (230) may delete the second firmware data based on the fact that the version of the second unit data is different from the version of the first unit data, and the main controller (200) may transmit the first second unit data among the second unit data to the MLPE (200). Accordingly, the firmware update device of the MLPE according to the embodiment of the present invention may receive and store multiple unit data of the third firmware data from beginning to end instead of the second firmware data to ensure the validity of the data by making the version the same and maintaining continuity.

[0123]

[0124] FIG. 6 is a diagram illustrating a firmware update sequence of an MLPE according to an embodiment of the present invention.

[0125] Referring to FIG. 6, the server (300) and the main controller (100) can transmit and receive data and signals through serial communication (e.g., RS485), and the main controller (100) and MLPE (200) can transmit and receive data and signals through power line communication (PLC).

[0126] First, when the server (300) transmits firmware data to the main controller (100), the main controller (100) stores it in memory (e.g., flash memory (ROM)). At this time, when the main controller (100) completes receiving and storing the firmware data, it sets a version in the firmware data.

[0127] Next, when the main controller (100) completes receiving and storing firmware data in the memory, it transmits a storage completion signal to the server (300). Then, the server (300) transmits an update command to the main controller (100). Here, the update command may include unique information of the MLPE (200) whose firmware data requires updating.

[0128] Next, the main controller (100) checks the unique information of the MLPE (200) and transmits an update command to the MLPE (200) that requires firmware data update. Then, the MLPE (200) checks the space of the memory (220) and, if the space of the memory (220) is sufficient, transmits an update preparation signal to the main controller (100).

[0129] Next, the main controller (100) transmits firmware data with a set version to the MLPE (200). Then, the MLPE (200) stores the firmware data with a set version.

[0130] Next, the MLPE (200) transmits a firmware data reset preparation signal to the main controller (100) when an update of previously stored firmware data is required. Then, the main controller (100) transmits a reset and update command to the MLPE (200).

[0131] Next, MLPE (200) deletes previously stored firmware data according to the reset and update command, and receives and stores new firmware data from the main controller (100) to perform an update.

[0132]

[0133] Figure 7 is a flowchart of a firmware update method of MLPE according to an embodiment of the present invention.

[0134] Referring to FIG. 7, a method for updating firmware of an MLPE according to an embodiment of the present invention first controls the MLPE (200) by executing an application (222) that operates according to first firmware data stored in a memory (220) by a processor (230) (S10).

[0135] Next, the processor (230) determines whether an update of the first firmware data is required (S20).

[0136] Next, if an update of the first firmware data stored in advance is required, the processor (230) resets the application (S30) and executes the bootloader (221) (S40).

[0137] When the bootloader (221) is executed, the second firmware data is divided into N first unit data and received sequentially.

[0138] Here, the N first unit data have an index set, and the index increases by 1 each time the MLPE (200) sequentially receives and stores the N first unit data, and the value of the index can be 0 to (N-1). In addition, the N first unit data can include version information and index information.

[0139] In contrast, if an update of the first firmware data is not required, the processor (230) controls the MLPE (200) by executing an application (222) that operates according to the first firmware data (S10).

[0140] The processor (230) may receive third firmware data based on the interruption in receiving second firmware data. Here, the third firmware data may be received as second unit data.

[0141] Specifically, the processor (230) can receive the second unit data based on the fact that the first unit data up to the i-th (where i is a natural number greater than or equal to 1 and less than N) first unit data was stopped from being received.

[0142] Next, the processor (230) determines whether the version of the first unit data stored in advance is the same as the version of the second unit data (S50).

[0143] Here, the processor (230), if the version of the second unit data is different from the version of the first unit data, reports this to the main controller (100) (S60). Then, the application (222) is reset (S30) and the bootloader (221) is executed (S40) so that third firmware data having the same version as the second unit data can be received and stored from the beginning. At this time, the first unit data of the previously stored second firmware data is deleted.

[0144] Next, the index information of the second unit data is checked to determine whether the index value is 0 (S70), and if the index value is 0, the third firmware data is received from the beginning and the update is started again (S90).

[0145] Next, whether the update is successful is determined (S100), and if the update is successful, the application is executed (S10).

[0146] Accordingly, the firmware update method of the MLPE according to the embodiment of the present invention can ensure the validity of the data by receiving and storing N second unit data of the third firmware data from beginning to end instead of the second firmware data, thereby making the versions of the N unit data the same and maintaining continuity.

[0147] In contrast, the processor (230) may transmit the index information of the i-th first unit data to the main controller (100) based on the version of the second unit data being the same as the version of the first unit data.

[0148] Next, the main controller (100) checks the index information of the i-th first unit data and transmits the (i+1)-th second unit data among the second unit data to the MLPE (200).

[0149] Next, MLPE (200) resets the application (222) (S30) and executes bootload (221) (S40) to receive the (i+1)th second unit data among the second unit data to MLPE (200). At this time, since the (i+1)th second unit data has the same version as the first unit data and the index value is not 0, the (i+1)th second unit data is inserted following the i-th first unit data (S80), and the update begins (S90).

[0150] Accordingly, the firmware update device of the MLPE according to the embodiment of the present invention can ensure the validity of data by maintaining the same version and continuity between the first unit data stored in advance and the second unit data that is subsequently re-received when the first unit data is received during the second firmware update and then stopped and then re-received.

[0151] Next, it is determined whether the update of the second firmware data was successful (S100). At this time, if the update is successful, the application (222) operating with the second firmware data is executed (S10). If the update fails, the application (222) is reset and the boot loader (221) is executed (S40).

[0152] Accordingly, the firmware update method of MLPE according to an embodiment of the present invention can ensure the validity of data by maintaining the same version and continuity between the first unit data stored in advance and the second unit data received subsequently when the second firmware update is interrupted and then re-received.

[0153] Meanwhile, the above-described method can be written as a program that can be executed on a computer, and can be implemented on a general-purpose digital computer that runs the program using a computer-readable recording medium. In addition, the structure of the data used in the above-described method can be recorded on a computer-readable recording medium through various means. The computer-readable recording medium includes storage media such as magnetic storage media (e.g., ROM, RAM, USB, floppy disk, hard disk, etc.) and optical reading media (e.g., CD-ROM, DVD, etc.).

[0154] Those skilled in the art will appreciate that the present invention can be implemented in modified forms without departing from the essential characteristics of the above-described invention. Therefore, the disclosed methods should be considered illustrative rather than restrictive. The scope of the claims, not the foregoing description, is defined by the scope of the patent, and should be interpreted to encompass all differences within the scope equivalent thereto.

[0155]

[0156] [Explanation of symbols]

[0157] 100: Subject

[0158] 200: MLPE

[0159] 210: Optimizer

[0160] 220: Memory

[0161] 230: Processor

[0162] 240: Communications Department

[0163] 300: Server

[0164] 400: Inverter

Claims

1. As an operating method of a solar power generation system for MLPE firmware update, The action of obtaining firmware data; An operation of setting the version of the firmware data when acquisition of the firmware data is completed; An operation of transmitting firmware data having the above version set to each of a plurality of module level power electronics (MLPE); After the transmission of the above firmware data is completed, an operation of receiving a reset preparation signal from the MLPE; and An action of sending a firmware reset and update command to the above MPLE; A method of operating a solar power generation system including:

2. In paragraph 1, After the operation of setting the version of the above firmware data, An action of sending an update command to the above MLPE; An operation of receiving an update preparation signal including a memory space verification result and version information of pre-stored firmware data from the MLPE; and An operation of determining whether to transmit firmware data based on the result of the above memory space verification and the version information of the previously stored firmware data; A method of operating a solar power generation system, additionally including:

3. In paragraph 1, The action of determining whether to transmit the above firmware data is: An operating method of a solar power generation system, wherein the set version of the acquired firmware data is compared with the version of the firmware data pre-stored in the MLPE, and if the versions are the same or the version of the pre-stored firmware data is higher, the firmware data is determined not to be transmitted.

4. In paragraph 1, The action of setting the version of the above firmware data is: An operating method of a solar power generation system, wherein the version of the firmware data is set to increase each time the entire data acquisition of the firmware data is completed.

5. In paragraph 1, The operation of transmitting the above firmware data is as follows: Divide the above firmware data into N (where N is a natural number greater than or equal to 2) unit data, and sequentially transmit the N unit data to the MLPE, An index is set for the above N unit data, and the index is increased by 1 each time the MLPE sequentially receives and stores the plurality of unit data. A method of operating a solar power generation system, wherein the value of the above index is 0 to (N-1).

6. In paragraph 1, The above MLPE is, Upon receiving the above firmware reset and update command, the pre-stored first firmware data is deleted, and the second firmware data is received from the main controller and stored, A method of operating a solar power generation system, wherein the version of the second firmware data is different from the version of the first firmware data.

7. In paragraph 6, The above MLPE is Receive third firmware data based on the interruption in receiving the second firmware data, and the third firmware data is received as second unit data. How a solar power generation system works.

8. In paragraph 7, The above MLPE is An operating method of a solar power generation system, wherein the second unit data is received from the (i+1)th second unit data based on the fact that the reception of the i-th first unit data (where i is a natural number greater than or equal to 1 and less than N) among the first unit data was interrupted.

9. In paragraph 7, The above MLPE is A solar power generation system that determines whether the version of the second unit data is the same as the version of the first unit data, and receives the firmware data only when the version of the second unit data is the same as the version of the first unit data.

10. In paragraph 7, The above MLPE is Transmitting the index information of the i-th first unit data to the main controller based on the version of the second unit data being the same as the version of the first unit data, The above subject is By checking the index information of the i-th first unit data, the (i+1)-th second unit data among the second unit data is transmitted to the MLPE. Solar power generation system.

11. In paragraph 10, The above MLPE is Based on the fact that the version of the second unit data is different from the version of the first unit data, the second firmware data is deleted, The above subject is Transmitting the first second unit data among the above second unit data to the MLPE How a solar power generation system works.

12. As an inverter of a solar power generation system including a primary controller; A communication unit that obtains firmware data and transmits the received firmware data to each of a plurality of module level power electronics (MLPE); and A processor that sets a version of the firmware data, determines whether to transmit firmware data based on the version of the firmware data, and transmits a firmware reset and update command to the MPLE in response to receiving a reset preparation signal from the MLPE after the firmware data transmission to the MLPE is completed; Inverter of solar power generation system for MLPE firmware update including.

13. In paragraph 12, The above processor, After setting the version of the above firmware data, An inverter of a solar power generation system, which transmits an update command to the MLPE, receives an update preparation signal including a result of checking a memory space and version information of pre-stored firmware data from the MLPE, and determines whether to transmit firmware data based on the result of checking the memory space and the version information of the pre-stored firmware data.

14. In paragraph 12, The above processor, An inverter of a solar power generation system that compares the set version of the acquired firmware data with the version of the pre-stored firmware data and determines not to transmit the firmware data if the versions are the same or the version of the pre-stored firmware data is higher.

15. In paragraph 12, The above processor, An inverter of a solar power generation system, wherein the version of the firmware data is set to increase each time the entire data acquisition of the firmware data is completed when setting the version of the firmware data.

16. In paragraph 12, The above processor, Determine to sequentially transmit firmware data that includes version information and is divided into N (where N is a natural number greater than or equal to 2) unit data, and perform an update of the firmware data based on the version of the firmware data and the index of the N unit data, An index is set for each of the N unit data, and the index is increased by 1 each time the unit data is sequentially received by the MLPE. Inverter for solar power generation system.

17. In paragraph 12, The above processor generates the firmware reset and update commands, The MLPE, which receives the above firmware reset and update command, deletes the pre-stored first firmware data, receives the second firmware data from the main controller, and stores it. An inverter of a solar power generation system, wherein the version of the second firmware data is different from the version of the first firmware data.

18. In paragraph 17, The above processor, An inverter of a solar power generation system, wherein third firmware data is transmitted based on the interruption in receiving the second firmware data, and the third firmware data is transmitted as second unit data.

19. In paragraph 18, The above processor, An operating method of a solar power generation system, wherein the second unit data is transmitted from the (i+1)th second unit data based on the fact that transmission of the i-th first unit data (where i is a natural number greater than or equal to 1 and less than N) among the first unit data is interrupted. As the primary controller of the solar power generation system capable of performing 20.MLPE firmware updates, A communication unit that receives firmware data from a server and transmits the received firmware data to each of a plurality of module level power electronics (MLPE); and A processor that transmits a firmware reset and update command to the MPLE in response to completion of firmware data transmission to the MLPE and receipt of a reset preparation signal from the MLPE; Inverter of solar power generation system for MLPE firmware update including.

Citation Information

Patent Citations

  • Photovoltaic module and photovoltaic system including the same

    KR1020180058100A

  • Apparatus for posture correction

    KR1020240011972A

  • Wireless autonomous solar-powered outdoor lighting and energy and information management network

    US20100029268A1

  • Photovoltaic management and module-level power electronics

    US20200235699A1

  • A micro inverter for a solar panel

    WO2015065291A1

Cited By

  • Data updating method and system for multi-chip multi-level architecture of inverter

    CN121117002A