CN115469910B - Photovoltaic inverter firmware updating method, device, system and storage medium - Google Patents

Photovoltaic inverter firmware updating method, device, system and storage medium Download PDF

Info

Publication number
CN115469910B
CN115469910B CN202211420555.2A CN202211420555A CN115469910B CN 115469910 B CN115469910 B CN 115469910B CN 202211420555 A CN202211420555 A CN 202211420555A CN 115469910 B CN115469910 B CN 115469910B
Authority
CN
China
Prior art keywords
firmware
burned
updating
chip
new
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202211420555.2A
Other languages
Chinese (zh)
Other versions
CN115469910A (en
Inventor
胡勇涛
陈建明
吴志朋
卢钢
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZHEJIANG HRV ELECTRIC CO Ltd
Original Assignee
ZHEJIANG HRV ELECTRIC CO Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZHEJIANG HRV ELECTRIC CO Ltd filed Critical ZHEJIANG HRV ELECTRIC CO Ltd
Priority to CN202211420555.2A priority Critical patent/CN115469910B/en
Publication of CN115469910A publication Critical patent/CN115469910A/en
Application granted granted Critical
Publication of CN115469910B publication Critical patent/CN115469910B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • G06F8/63Image based installation; Cloning; Build to order

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a method, a device and a system for updating firmware of a photovoltaic inverter and a storage medium, which relate to the technical field of firmware updating, and the method comprises the following steps: receiving firmware update information; the firmware updating information comprises a firmware identification and a firmware version number; judging whether the internal communication is normal or not; when the internal communication is normal, reading the firmware to be burned from the memory according to the firmware version number; sending the firmware to be burned to the chip to be updated according to the firmware identification so that the chip to be updated performs firmware update based on the firmware to be burned; the invention reads the firmware from the memory according to the firmware version number when the firmware is updated, and then sends the firmware to the chip needing firmware updating for burning through the firmware identifier, thereby avoiding the situation that all chips finish the updating process together, simplifying the whole process, and effectively improving the updating speed and the portability of the system.

Description

Photovoltaic inverter firmware updating method, device, system and storage medium
Technical Field
The invention relates to the technical field of firmware updating, in particular to a method, a device and a system for updating firmware of a photovoltaic inverter and a computer readable storage medium.
Background
With the update iteration of the power technology, the photovoltaic industry develops rapidly, and the photovoltaic inverter, as an important device in a photovoltaic power generation system, contributes a great force to the development of the photovoltaic technology. In order to maintain the normal operation of the photovoltaic inverter, it is inevitable to update certain firmware of the photovoltaic inverter, in the existing firmware updating method, all chips in the SYSTEM are updated together as a whole, and the updated chips sequentially need to reach a Digital Signal Processing (DSP) chip after passing through an upper computer, a SYSTEM chip (communication board chip) and a Complex Programmable Logic Device (CPLD) chip, and when updating the firmware of the CPLD chip, the DSP chip needs to be ensured to be in an operating state, so the involved circuit Logic mashup and updating Process is Complex, and a large amount of data interaction is also needed among the chips. Therefore, when the firmware of a part of chips needs to be changed, a complex overall updating process must be executed, and the updating speed of the system is slow and the portability is poor. In addition, the data exchange between the chips is too numerous, which causes the burn failure of the machine with poor stability to cause downtime, and increases the burden for the operation and maintenance of technicians.
Disclosure of Invention
The invention aims to provide a method, a device and a system for updating photovoltaic inverter firmware, so that the process of updating the photovoltaic inverter firmware becomes simpler, more convenient and quicker, and the stability and the portability of the system are improved.
In order to solve the above technical problem, the present invention provides a method for updating a firmware of a photovoltaic inverter, including:
receiving firmware update information; the firmware updating information comprises a firmware identification and a firmware version number;
judging whether the internal communication is normal or not;
when the internal communication is normal, reading the firmware to be burned from a memory according to the firmware version number;
and sending the firmware to be burned to a chip to be updated according to the firmware identification so as to update the firmware of the chip to be updated based on the firmware to be burned.
Optionally, the method further includes:
receiving a new firmware version sent by an upper computer;
and storing the new firmware to the memory, and recording the firmware identification and the firmware version number of the new firmware.
Optionally, when the internal communication is normal, reading the firmware to be burned from the memory according to the firmware version number, including:
and when the internal communication is normal, determining the partition of the memory according to the firmware identification, and reading the firmware to be burned from the partition according to the firmware version number.
Optionally, before receiving the new firmware version sent by the upper computer, the method further includes:
the upper computer judges whether a JED format file exists in the new firmware;
and if so, converting the JED format file in the new firmware version into an HEX format file and then transmitting the new firmware version.
Optionally, the sending the new firmware version after converting the JED format file in the new firmware version into the HEX format file includes:
the upper computer removes note data in the JED format file in the new firmware;
and carrying out binary transcoding on the JED format file from which the note data is removed, generating the HEX format file, and then sending the new firmware.
Optionally, the receiving of the new firmware version sent by the upper computer includes:
and when detecting that all the chips except the SYSTEM chip are in a non-running state, receiving the new firmware version sent by the upper computer.
Optionally, the sending the firmware to be burned to a chip to be updated according to the firmware identifier, so that the chip to be updated performs firmware update based on the firmware to be burned includes:
and sending the firmware to be burned to a chip to be updated according to the firmware identification so as to update the firmware of the chip to be updated based on the firmware to be burned, and calculating and displaying the firmware updating progress in real time based on the burned line number and the total line number of the firmware to be burned.
In order to achieve the above object, the present invention further provides an apparatus for updating firmware of a photovoltaic inverter, including:
the determining chip module is used for receiving firmware updating information; the firmware updating information comprises a firmware identification and a firmware version number;
the communication judging module is used for judging whether the internal communication is normal or not;
the reading firmware module is used for reading the firmware to be burned from the memory according to the firmware version number when the internal communication is normal;
and the firmware burning module is used for sending the firmware to be burned to the chip to be updated according to the firmware identification so as to update the firmware of the chip to be updated based on the firmware to be burned.
To achieve the above object, the present invention further provides a system for updating firmware of a photovoltaic inverter, including:
the upper computer is used for sending firmware updating information to the photovoltaic inverter; the firmware updating information comprises a firmware identification and a firmware version number;
the photovoltaic inverter is used for judging whether internal communication is normal or not, when the internal communication is normal, the firmware to be burned is read from a memory according to the firmware version number, and is sent to the chip to be updated according to the firmware identification, so that the chip to be updated carries out firmware updating based on the firmware to be burned.
To achieve the above object, the present invention further provides a computer readable storage medium having a computer program stored thereon, which when executed by a processor, implements the steps of the method for updating photovoltaic inverter firmware as described above.
The invention provides a method for updating firmware of a photovoltaic inverter, which comprises the following steps: receiving firmware update information; the firmware updating information comprises a firmware identification and a firmware version number; judging whether the internal communication is normal or not; when the internal communication is normal, reading the firmware to be burned from a memory according to the firmware version number; and sending the firmware to be burned to a chip to be updated according to the firmware identification so as to update the firmware of the chip to be updated based on the firmware to be burned.
Therefore, after the firmware updating information is received at night, the probability of downtime is greatly reduced in the simplified updating process, the stability of system firmware updating is improved, and after the communication is judged to be normal, the updating can be continued when the photovoltaic inverter is electrified to restore the internal communication in the early morning, so that the time occupied by the firmware updating in the daytime is shortened, and the generated energy is improved. The invention also provides a device and a system for updating the firmware of the photovoltaic inverter and a computer readable storage medium, which have the beneficial effects.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the prior art descriptions will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart illustrating firmware update of a photovoltaic inverter according to an embodiment of the present invention;
fig. 2 is a flowchart of another pv inverter firmware update provided in an embodiment of the invention;
fig. 3 is a block diagram of a photovoltaic inverter firmware updating apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, belong to the protection scope of the present invention.
The control part of the photovoltaic inverter is composed of a DSP chip, a CPLD chip and other chips, the existing firmware updating process needs all chips in the system to participate together, and the DSP chip needs to be kept in a running state when the CPLD firmware is updated, all steps in the whole process are buckled, and the process is not available, and the process of updating the whole system needs to be finished with great expense and complexity even if the versions of the firmware of part of the chips are required to be updated. The invention distinguishes the firmware of different chips according to the firmware identification, reads corresponding firmware from the firmware of different versions of different chips stored in the memory according to the version number of the firmware when the internal communication is normal, and sends the firmware identification to the chip to be updated which needs to be updated for burning to complete the firmware updating process, thereby avoiding the complex steps of updating each chip one by one and performing necessary data interaction among the chips in the traditional photovoltaic inverter firmware updating process, and greatly saving the time required by firmware updating.
Referring to fig. 1, fig. 1 is a flowchart illustrating a firmware update method for a photovoltaic inverter according to an embodiment of the present invention, where the method includes:
s101, receiving firmware updating information.
In this step, the photovoltaic inverter receives the firmware update information, the chip to be updated, which needs to be updated with the firmware, can be determined according to the firmware identifier in the firmware update information, and the firmware to be burned into the chip to be updated can be determined according to the version number in the firmware update information.
It should be noted that the firmware identifier is used to distinguish the firmware of each chip, and the embodiment does not limit the form of the firmware identifier as long as the photovoltaic inverter can distinguish each chip, for example, the firmware ID may be used as the firmware identifier. The firmware version number is used to distinguish each firmware, and the corresponding firmware can be read in the memory by the memory address of the corresponding firmware. The firmware update information is mainly used to convey related information of the firmware to be burned in the current update, where the number of the firmware to be burned may be one or multiple, and the firmware identifier and the firmware version number of the firmware to be burned are included in the firmware update information. The present embodiment is not limited to the type of the photovoltaic inverter, and may be a concentrated inverter, a string inverter, or a micro inverter. The source of the firmware update information is not limited in this embodiment, and may be from an upper computer or from a photovoltaic inverter. Further, the source of the firmware update information in the upper computer is not limited in this embodiment, and the firmware update information may be remotely entered or locally entered.
The present embodiment does not limit the content of the chip to be updated, and may be any one or more chips in the photovoltaic inverter, and also does not limit the kind of the chip to be updated, for example, the chip may be one or more of chips such as an ARM (Advanced RISC Machine), a DSP, a CPLD, and an FPGA (Field Programmable Gate Array).
S102, judging whether the internal communication is normal or not.
In the step, the photovoltaic inverter judges whether the internal communication is normal or not so as to ensure that a firmware burning link can be carried out.
It should be noted that, when the photovoltaic inverter does not perform normal light emitting operation, the SYSTEM chips are all in a non-operating state except for the SYSTEM chip, and since the communication board is powered by the power grid, the SYSTEM chip can continue to operate after the photovoltaic inverter is disconnected from the power grid and stops light emitting operation, and when the other chips do not operate, the SYSTEM chip cannot send the firmware to be burned to the chip to be updated through internal communication to complete burning operation. When the photovoltaic power generation is detected to start, the internal communication is recovered to be normal, the self-updating of the photovoltaic inverter can be started according to the obtained firmware updating information, the time occupied by the firmware updating in the daytime is shortened, and the power generation capacity is improved.
And S103, reading the firmware to be burned from the memory according to the firmware version number when the internal communication is normal.
In the step, when the photovoltaic inverter judges that the internal communication is in a normal working state, the firmware to be burned is read in the memory according to the firmware version number.
For example, in order to more quickly read the position of the firmware in the memory, the memory may be divided into different partitions according to different firmware identifiers, each partition includes different versions of the firmware of the same chip, when the firmware to be burned is read, the partition where the firmware to be burned is located is determined by the firmware identifier, and then the firmware to be burned is read from the partition by the firmware version number. Further, in order to enable the photovoltaic inverter to switch between multiple firmware functions, the present embodiment does not limit the number of different versions of firmware stored in the memory, which may be one or multiple, and the present embodiment also does not limit the type of the memory, as long as the memory can store and erase, for example, the memory may be an external flash memory of the photovoltaic inverter communication board with fast erasing and storing functions.
The embodiment does not limit the firmware storage manner in the memory, for example, the photovoltaic inverter receives a new firmware version sent by the upper computer, stores the new firmware version in the memory, and records the firmware identifier and the firmware version number of the new firmware version. It should be noted that before storing the new firmware version, it is necessary to determine whether there is a storable space in the memory, and if so, the storable space is directly stored; if not, a portion of the space in memory needs to be erased to enable a new version of firmware to be stored in memory. The version of the firmware that needs to be erased is not limited in this embodiment, and for example, the lowest version of the firmware of the corresponding chip may be erased according to the firmware identifier. The present embodiment does not limit the determination of the receiving completion, for example, it may be determined whether the receiving completion is completed by determining whether the number of firmware receiving lines is equal to the total number of firmware lines, and when the number of firmware receiving lines is equal to the total number of firmware lines, the receiving completion of the firmware is completed; and when the firmware receiving line number is not equal to the total line number, continuing to receive the firmware and storing the firmware in the memory until the firmware receiving line number is equal to the total firmware line number. Further, the source of the total number of rows of firmware is not limited in this embodiment, and for example, the total number of rows of firmware may be received together when a new version of firmware is received. The number of the received new firmware versions is not limited in this embodiment, and may be one or more, and the version of the new firmware version is not limited in this embodiment as compared with the version of the existing firmware version. Further, the embodiment does not limit the burning condition after receiving the new firmware, may wait for a call command after receiving the new firmware, and temporarily does not update, or directly updates after receiving the new firmware, and further, the embodiment does not limit the burning content of direct updating, and may directly use the firmware identifier and the firmware version number of the stored new firmware as firmware update information, read the new firmware through the firmware version number, and send the firmware identifier to the corresponding chip for burning according to the firmware identifier, and cover the current firmware version of the corresponding chip, or only burn the chip requiring firmware updating, compare the firmware version number of the new firmware with the current version number, retrieve the firmware version number and the firmware identifier higher than the current version number as firmware update information, and burn the chip requiring firmware updating.
Further, the embodiment does not limit the receiving timing of the new firmware, and the new firmware can be received at any time, for example, in order to not affect the photovoltaic power generation operation of the photovoltaic inverter and increase the power generation amount, the new firmware sent by the upper computer can be received when all the chips except the SYSTEM chip are in the non-operating state. The file format included in the new firmware version is not limited in this embodiment, and may be any one or both of a HEX format file and a JED format file. For example, in order to simplify the burning operation, before receiving the new version of firmware sent by the upper computer, the file format of the new version of firmware may be unified into an HEX format file by the conversion tool and then sent to the photovoltaic inverter, and further, the embodiment does not limit the specific conversion process of the conversion tool, for example, a version number may be manually input after the JED format file is input, and then the conversion tool automatically fills the firmware identifier according to the firmware files of different chips, and then removes the note (text) data, and performs binary format transcoding on the JED format file from which the note data is removed, thereby generating the HEX format file.
And S104, sending the firmware to be burned to the chip to be updated according to the firmware identifier so that the chip to be updated performs firmware update based on the firmware to be burned.
In the step, the photovoltaic inverter sends the firmware to be burned to the chip to be updated according to the firmware identification, so that the chip to be updated can update the firmware based on the firmware to be burned.
The embodiment does not limit the writing-completed flag, for example, it can be determined whether the number of rows of the written firmware is equal to the total number of rows of the firmware to be written, and if so, the writing is completed; and if not, continuing to read the firmware to be burned from the memory for burning until the number of rows of the burned firmware is equal to the total number of rows of the firmware to be burned, wherein the total number of rows of the firmware to be burned can be obtained when the firmware to be burned is obtained. Furthermore, the embodiment can observe the internal burning progress externally, but the embodiment does not limit the way of observing the internal burning progress, as long as the completion of burning and burning can be distinguished, for example, the progress of firmware update can be calculated and displayed in real time based on the burnt line number and the total line number of the firmware to be burned, and a signal lamp can be arranged on the photovoltaic inverter, so that the firmware is on when in the burning state and off when the burning is finished by reading the internal progress, and whether the burning is finished or not can be observed.
In the embodiment, the photovoltaic inverter reads the firmware from the memory according to the firmware version number, and then directly sends the firmware to the chip needing firmware updating through the firmware identifier for burning, so that the interaction process between the chips is avoided, the chip to be updated can complete firmware updating only by independently performing data interaction with the SYSTEM chip, and unnecessary chip data processing operation is optimized. Therefore, the chips are used as modules for distinguishing when the firmware is updated, when a new machine type is matched and the chip is changed, the whole is not required to be changed, and only the related chip is required to be updated, so that the development difficulty is reduced, the downtime probability is reduced, the development period is shortened, and the stability and the transportability of the system are improved. In the prior art, when the firmware of the photovoltaic inverter is updated, the firmware in the upper computer needs to be acquired first, and then the firmware is burned in when the updating steps are sequentially executed by each chip, but the embodiment optimizes the originally acquired firmware in the upper computer to acquire and store a new version of firmware from the upper computer, and can directly burn or wait for burning, so that the step of acquiring the firmware in the firmware updating is divided into the step of flexibly executing, and the step of uniformly transmitting the firmware file to the memory can be carried out at any time. Because the power supply of the chip needs to be ensured when the firmware is updated, and the traditional photovoltaic inverter can only supply power to other chips except the SYSTEM chip when photovoltaic power generation is carried out, the whole process of firmware updating can only be carried out in the daytime, and the updating environment has great limitation. The firmware can be flexibly acquired in time and stored in the memory, the firmware can be acquired at night when photovoltaic power generation cannot be performed, the internal communication state is repeatedly detected after the firmware updating information is determined until power supply of each chip recovers internal communication in the daytime, and the steps related to subsequent burning can be automatically processed according to the firmware updating information, so that the time consumed by firmware updating in the daytime can be greatly shortened, and the generated energy is improved. In this embodiment, the SYSTEM in the photovoltaic inverter plays a role of a bridge, can receive firmware data and instruction information from an upper computer, can also interact with a memory to realize storage and reading of firmware, and can also directly send the firmware data and the instruction information to each chip, so that unnecessary chip interaction operation is not needed, and manual updating of technicians is completely concentrated on interaction with only the SYSTEM chip, and subsequent processing is completely automatically completed by the photovoltaic inverter, thereby shortening the time for updating the whole firmware. In the embodiment, the memory can store firmware of a plurality of versions of a unified chip, and when needed, the specified chip is burned according to the instruction, so that the chip can be quickly switched when different functional requirements are met. In the embodiment, by unifying the multiple burning formats into the method for burning the HEX format, multiple burning tools are not needed during the burning of the firmware, the operation burden of operation and maintenance or technical personnel is reduced, and the HEX format file comprises the firmware identification and the firmware version number, so that the firmware identification and the firmware version number are convenient to store and read. In addition, the method for calculating and displaying the burning progress enables technicians to externally observe the updating state of the internal firmware and timely respond to the updating condition.
The above process is explained with reference to a specific example, and with reference to fig. 2, the process is as follows:
1. the photovoltaic inverter receives the total number of rows of the firmware;
2. receiving a firmware ID and a version number;
3. erasing the designated flash area according to the firmware ID;
4. receiving firmware and storing the firmware in a flash;
5. judging whether the receiving line number is equal to the total line number or not, and if not, turning to 4;
6. if yes, circularly judging that the internal communication is normal after the receiving is finished;
7. reading a firmware burning line from the flash according to the firmware ID and the version number;
8. issuing a burning frame through internal communication;
9. judging whether the number of issued lines is equal to the total number of lines, and if not, turning to 7;
10. if yes, the updating is completed.
It should be noted that, in this embodiment, the firmware ID is a firmware identifier, and the flash is a memory.
The following describes an apparatus, a system, and a computer readable storage medium for firmware update of a photovoltaic inverter according to embodiments of the present invention, and the apparatus, the system, and the computer readable storage medium for firmware update of a photovoltaic inverter described below and the method for firmware update of a photovoltaic inverter described above may be referred to correspondingly.
Referring to fig. 3, fig. 3 is a block diagram of an apparatus for updating firmware of a photovoltaic inverter according to an embodiment of the present invention, where the apparatus includes:
a determination chip module 100 for receiving firmware update information; the firmware updating information comprises a firmware identification and a firmware version number;
a communication judging module 200, configured to judge whether internal communication is normal;
a read firmware module 300, configured to read a firmware to be burned from a memory according to a firmware version number when internal communication is normal;
the firmware burning module 400 is configured to send the firmware to be burned to the chip to be updated according to the firmware identifier, so that the chip to be updated performs firmware updating based on the firmware to be burned.
Based on the embodiment, the invention simplifies the complex flow of the prior art that the chips perform data interaction with each other in the firmware updating process and update as a whole by directly reading the firmware to be burned from the memory and sending the firmware to be burned to the chip to be updated in the firmware updating process, does not need to acquire all the firmware of the chips from the upper computer for updating when the firmware is updated, and directly calls the firmware to be burned to send the firmware to be burned to the chip to be updated for burning in the memory in which the firmware is stored.
Based on the above embodiments, the apparatus may further include:
the firmware receiving module is used for receiving the new firmware version sent by the upper computer;
and the firmware storage module is used for storing the new firmware to the memory and recording the firmware identification and the firmware version number of the new firmware.
Based on the above embodiments, the reading of the firmware module 300 may include:
and the partition storage unit is used for determining the partition of the memory according to the firmware identifier when the internal communication is normal, and reading the firmware to be burned from the partition according to the firmware version number.
Based on the above embodiment, the receiving the firmware module may include:
and the detection chip unit is used for receiving the new firmware version sent by the upper computer when all the other chips except the SYSTEM chip are in a non-running state.
Based on the foregoing embodiments, the firmware burning module 400 may include:
and the progress display unit is used for sending the firmware to be burned to the chip to be updated according to the firmware identification so as to update the firmware of the chip to be updated based on the firmware to be burned, and calculating and displaying the progress of firmware update in real time based on the burned line number and the total line number of the firmware to be burned.
The invention also provides a system for updating the firmware of the photovoltaic inverter, which comprises the following steps:
the upper computer is used for sending firmware updating information to the photovoltaic inverter; the firmware updating information comprises a firmware identification and a firmware version number;
and the photovoltaic inverter is used for judging whether the internal communication is normal or not, reading the firmware to be burned from the memory according to the firmware version number when the internal communication is normal, and sending the firmware to be burned to the chip to be updated according to the firmware identifier so as to update the firmware of the chip to be updated based on the firmware to be burned.
Optionally, the upper computer is further used for sending the new firmware to the photovoltaic inverter;
and the photovoltaic inverter stores the new firmware to the memory and records the firmware identification and the firmware version number of the new firmware.
Optionally, the photovoltaic inverter is specifically configured to determine a partition of the memory according to the firmware identifier when the internal communication is normal, and read the firmware to be burned from the partition according to the firmware version number.
Optionally, the upper computer is further configured to determine whether a JED format file exists in the new firmware before sending the new firmware to the photovoltaic inverter, and if not, send the new firmware after converting the JED format file in the new firmware into an HEX format file.
Optionally, the upper computer is specifically configured to remove note data in the JED format file in the new firmware, perform binary transcoding on the JED format file from which the note data is removed, generate an HEX format file, and send the new firmware.
Optionally, the photovoltaic inverter is specifically configured to receive a new version of firmware sent by the upper computer when all chips except the SYSTEM chip are in a non-operating state.
Optionally, the photovoltaic inverter is specifically configured to send the firmware to be burned to the chip to be updated according to the firmware identifier, so that the chip to be updated performs firmware update based on the firmware to be burned, and calculate and display the progress of firmware update in real time based on the burned number of rows and the total number of rows of the firmware to be burned.
The present invention also provides a computer readable storage medium having a computer program stored thereon, which, when being executed by a processor, implements the steps of the above-mentioned method for updating a firmware of a photovoltaic inverter. The computer-readable storage medium may include: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed in the embodiment corresponds to the method disclosed in the embodiment, so that the description is simple, and the relevant points can be referred to the description of the method part.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The method, the apparatus, the system and the computer readable storage medium for updating the firmware of the photovoltaic inverter provided by the present invention are described in detail above. The principles and embodiments of the present invention have been described herein using specific examples, which are presented only to assist in understanding the method and its core concepts of the present invention. It should be noted that, for those skilled in the art, it is possible to make various improvements and modifications to the present invention without departing from the principle of the present invention, and those improvements and modifications also fall within the scope of the claims of the present invention.

Claims (9)

1. A method of photovoltaic inverter firmware update, comprising:
receiving firmware update information; the firmware updating information comprises a firmware identification and a firmware version number;
judging whether the internal communication is normal or not;
when the internal communication is normal, reading the firmware to be burned from a memory according to the firmware version number;
and sending the firmware to be burned to a chip to be updated according to the firmware identification so as to update the firmware of the chip to be updated based on the firmware to be burned, and calculating and displaying the firmware updating progress in real time based on the burned line number and the total line number of the firmware to be burned.
2. The method for firmware update according to claim 1, further comprising:
receiving a new firmware version sent by an upper computer;
and storing the new firmware to the memory, and recording the firmware identification and the firmware version number of the new firmware.
3. The method of claim 1, wherein reading the firmware to be burned from the memory according to the firmware version number when the internal communication is normal comprises:
and when the internal communication is normal, determining the partition of the memory according to the firmware identification, and reading the firmware to be burned from the partition according to the firmware version number.
4. The method for updating firmware according to claim 2, wherein before receiving the new firmware version sent by the upper computer, the method further comprises:
the upper computer judges whether a JED format file exists in the new firmware;
and if so, converting the JED format file in the new firmware version into an HEX format file and then sending the new firmware version.
5. The method for updating firmware of claim 4, wherein the step of sending the new firmware after converting the JED format file in the new firmware into a HEX format file comprises:
the upper computer removes note data in the JED format file in the new firmware;
and performing binary transcoding on the JED format file from which the note data is removed, generating the HEX format file, and then sending the new firmware.
6. The method for updating firmware according to claim 2, wherein the receiving of the new firmware version sent by the upper computer comprises:
and when detecting that all the chips except the SYSTEM chip are in a non-running state, receiving the new firmware version sent by the upper computer.
7. An apparatus for photovoltaic inverter firmware update, comprising:
the determining chip module is used for receiving firmware updating information; the firmware updating information comprises a firmware identification and a firmware version number;
the communication judging module is used for judging whether the internal communication is normal or not;
the reading firmware module is used for reading the firmware to be burned from the memory according to the firmware version number when the internal communication is normal;
and the firmware burning module is used for sending the firmware to be burned to a chip to be updated according to the firmware identification so as to update the firmware of the chip to be updated based on the firmware to be burned, and calculating and displaying the progress of firmware update in real time based on the burned line number and the total line number of the firmware to be burned.
8. A system for photovoltaic inverter firmware update, comprising:
the upper computer is used for sending firmware updating information to the photovoltaic inverter; the firmware updating information comprises a firmware identification and a firmware version number;
the photovoltaic inverter is used for judging whether internal communication is normal or not, when the internal communication is normal, the firmware to be burned is read from a memory according to the firmware version number, and is sent to a chip to be updated according to the firmware identification, so that the chip to be updated carries out firmware updating based on the firmware to be burned, and the firmware updating progress is calculated in real time and displayed based on the burned row number and the total row number of the firmware to be burned.
9. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a computer program which, when being executed by a processor, carries out the steps of the method of photovoltaic inverter firmware update of any one of claims 1 to 6.
CN202211420555.2A 2022-11-15 2022-11-15 Photovoltaic inverter firmware updating method, device, system and storage medium Active CN115469910B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211420555.2A CN115469910B (en) 2022-11-15 2022-11-15 Photovoltaic inverter firmware updating method, device, system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211420555.2A CN115469910B (en) 2022-11-15 2022-11-15 Photovoltaic inverter firmware updating method, device, system and storage medium

Publications (2)

Publication Number Publication Date
CN115469910A CN115469910A (en) 2022-12-13
CN115469910B true CN115469910B (en) 2023-02-03

Family

ID=84338063

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211420555.2A Active CN115469910B (en) 2022-11-15 2022-11-15 Photovoltaic inverter firmware updating method, device, system and storage medium

Country Status (1)

Country Link
CN (1) CN115469910B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013143334A1 (en) * 2012-03-27 2013-10-03 惠州Tcl移动通信有限公司 Method for updating nfc firmware of mobile terminal and mobile terminal
WO2021120327A1 (en) * 2019-12-19 2021-06-24 歌尔股份有限公司 Firmware updating method and apparatus, and headset and computer readable storage medium
CN114385199A (en) * 2021-12-29 2022-04-22 深圳市豪恩声学股份有限公司 Chip burning method and device, electronic equipment and storage medium
CN115098139A (en) * 2022-07-20 2022-09-23 深圳市普渡科技有限公司 Firmware updating method and system, lower computer and storage medium

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103984581A (en) * 2014-05-30 2014-08-13 乐视致新电子科技(天津)有限公司 Firmware upgrading method and device of chip
CN107168750B (en) * 2017-06-08 2021-03-12 苏州浪潮智能科技有限公司 Firmware upgrade protection method and system
CN107391187A (en) * 2017-07-13 2017-11-24 郑州云海信息技术有限公司 A kind of firmware burning method, baseboard management controller and firmware burning system
CN111506318A (en) * 2019-01-31 2020-08-07 广州慧睿思通信息科技有限公司 Circuit board chip burning method, device, terminal and computer readable storage medium
CN110032377A (en) * 2019-03-19 2019-07-19 芯讯通无线科技(上海)有限公司 Communication module method for upgrading software, system and communication module
CN110347414A (en) * 2019-07-15 2019-10-18 西安易朴通讯技术有限公司 Firmware update, device, equipment and computer readable storage medium
CN111142947B (en) * 2019-12-21 2023-09-12 广州小鹏汽车科技有限公司 Chip firmware presetting method and device, presetting equipment and server
CN111949285B (en) * 2020-09-25 2023-01-10 苏州浪潮智能科技有限公司 Method, device, equipment and storage medium for upgrading firmware of expansion chip
CN112947964A (en) * 2021-02-26 2021-06-11 浪潮电子信息产业股份有限公司 Chip firmware updating method, device, equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013143334A1 (en) * 2012-03-27 2013-10-03 惠州Tcl移动通信有限公司 Method for updating nfc firmware of mobile terminal and mobile terminal
WO2021120327A1 (en) * 2019-12-19 2021-06-24 歌尔股份有限公司 Firmware updating method and apparatus, and headset and computer readable storage medium
CN114385199A (en) * 2021-12-29 2022-04-22 深圳市豪恩声学股份有限公司 Chip burning method and device, electronic equipment and storage medium
CN115098139A (en) * 2022-07-20 2022-09-23 深圳市普渡科技有限公司 Firmware updating method and system, lower computer and storage medium

Also Published As

Publication number Publication date
CN115469910A (en) 2022-12-13

Similar Documents

Publication Publication Date Title
CN105183497A (en) Method for automatically refreshing basic input/output systems (BIOSs) in batches by universal server
CN101017457A (en) Automatically testing method of computer software
CN106708586B (en) A kind of handheld instrument and method for the update of embedded system program automatic on-line
CN105260208A (en) RAID card driver automatic batch refreshing method for servers
CN109408097A (en) A kind of firmware upgrade method, device, system and a kind of electronic equipment
CN1485740A (en) General purpose testing arrangement for embedded module and subsystem based on host machine platform
CN109358865A (en) A kind of industrial vehicle car networking instrument and upgrade method with remote upgrade function
CN115469910B (en) Photovoltaic inverter firmware updating method, device, system and storage medium
CN105630661A (en) Automatic cross-system program debugging method and device
CN102594591A (en) Log collection method and device
CN113885899A (en) Solid state disk firmware burning method, device, equipment and storage medium
CN110704075B (en) Multi-chip firmware burning method, system, device and storage medium
CN111459839A (en) Online debugging system and method
CN106997199A (en) Trapezoid program display device
CN112052031B (en) Method and device for automatically matching and upgrading CPLD (complex programmable logic device) by service board card
CN201804319U (en) Embedded type chip writing system
CN109034331A (en) A kind of board MAC bar code All-in-One label, bar code recognition and system
CN113094071B (en) Micro control unit, control method thereof and firmware upgrading method thereof
CN217034732U (en) Multichannel off-line programmer
CN115129661B (en) Data migration method and system after power-off restart of wind field monitoring system server
CN113064617B (en) Method, system and storage medium for updating SMBIOS information
CN114860245A (en) Automatic compiling device and method for server CPLD
CN117370187A (en) Code optimization method and system based on software component interface tracking
CN109710145A (en) A kind of VPD information method for burn-recording and system based on storage product
CN109445772B (en) Software application framework oriented to smart phone and development system thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: A method, device, system, and storage medium for updating firmware of photovoltaic inverters

Granted publication date: 20230203

Pledgee: Zhejiang Hangzhou Yuhang Rural Commercial Bank Co.,Ltd. Science and Technology City Branch

Pledgor: ZHEJIANG HRV ELECTRIC Co.,Ltd.

Registration number: Y2024980009884