Frequency converter software upgrading method, frequency converter and frequency converter software upgrading system

By using the operator and main control chip in the frequency converter to determine the target upgrade program, a software upgrade of the frequency converter without the need for dedicated hardware is realized, which solves the problem of hardware dependence in the existing technology and reduces the complexity and cost of the upgrade.

CN121523700APending Publication Date: 2026-02-13CHANGSHA SUNYE ELECTRIC CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411113151.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-13
Publication Date
2026-02-13

AI Technical Summary

Technical Problem

Upgrading existing frequency converter software requires dedicated hardware connections and control boot pins, making the upgrade process complex and costly.

Method used

The main control chip obtains data detection information from the host computer through the operator, determines the target upgrade program based on the upgrade detection information and data parameter information, and performs software upgrade using the main control chip and operator built into the frequency converter, thus avoiding the use of dedicated hardware.

Benefits of technology

This reduces the complexity and cost of inverter software upgrades, enabling software upgrades without the use of dedicated hardware.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121523700A_ABST
    Figure CN121523700A_ABST
Patent Text Reader

Abstract

The invention discloses a frequency converter software upgrading method, a frequency converter and a frequency converter software upgrading system, relates to the technical field of software upgrading, and discloses the frequency converter software upgrading method which is applied to the frequency converter comprising a main body and an operator arranged on the main body, and the main body comprises a main control chip and is in communication connection with the operator. The operation device comprises an application program area, a boot program area and a boot mark area. The method comprises the steps that the operation device obtains data parameter information of the application program area and upgrade detection information of the boot mark area of an upper computer; on the main control chip, determining a target upgrading program comprising an application program in an application program area or a boot program in a boot program area according to the upgrading detection information and the data parameter information; and determining a corresponding to-be-upgraded file, and performing software upgrading on the frequency converter according to one of the application program and the boot program and the to-be-upgraded file. According to the invention, on the premise of not using special hardware, the software upgrading of the frequency converter is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of software upgrade technology, and in particular to a method for upgrading inverter software, an inverter, and an inverter software upgrade system. Background Technology

[0002] With the development of frequency converters, users have also put forward higher requirements for the software upgrades of frequency converters.

[0003] Traditional inverter software upgrades involve connecting the inverter chip's specific programming software to the inverter's boot port via a dedicated download cable. The download cable then controls the boot pin to put the inverter into boot mode. The upgrade program is then programmed into the inverter using the specific programming software. This method requires a dedicated download cable to connect the programming software and the inverter's boot port, and the boot pin must be controlled via the download cable to enter boot mode before the upgrade can be performed (involving at least the manual unplugging and replugging of the download cable, and the process of controlling and waiting to enter boot mode). This necessitates the use of dedicated hardware for the inverter software upgrade. Therefore, there is an urgent need for an inverter software upgrade method that can achieve upgrades without using dedicated hardware.

[0004] The above content is only used to help understand the technical solution of this application and does not represent an admission that the above content is prior art. Summary of the Invention

[0005] The main purpose of this application is to provide a method, system, and method for upgrading inverter software, thereby solving the technical problem of upgrading inverter software without using dedicated hardware.

[0006] To achieve the above objectives, this application provides a method for upgrading inverter software. The inverter software upgrade method is applied to an inverter, which includes a main body and an operator disposed on the main body. The main body includes a main control chip, and the operator is communicatively connected to the main control chip. The operator includes an application program area, a boot program area, and a boot flag area. The inverter software upgrade method includes:

[0007] The operator acquires data detection information from the host computer, wherein the data detection information includes data parameter information in the application area and upgrade detection information in the boot flag area;

[0008] On the main control chip, a target upgrade program is determined based on the upgrade detection information and the data parameter information, wherein the target upgrade program includes an application in the application area or a boot program in the boot program area;

[0009] The corresponding upgrade file is determined, and the inverter is upgraded using either the application program or the boot program, along with the upgrade file.

[0010] In one embodiment, the upgrade detection information includes an upgrade flag, and the data parameter information includes the data address of the application area, verification code information, and upgrade terminal information of the main control chip. The step of determining the target upgrade program based on the upgrade detection information and the data parameter information includes:

[0011] If the upgrade flag does not match the preset upgrade flag, and the data address matches the preset valid address, then the target upgrade program is determined based on the verification code information and the upgrade terminal information.

[0012] If the upgrade flag matches the preset upgrade flag, or the data address does not match the preset valid address, then the boot program in the boot program area is determined as the target upgrade program.

[0013] In one embodiment, the verification code information includes a read verification code for the application area and read file characteristics. The step of determining the target upgrade program based on the verification code information and the upgrade terminal information includes:

[0014] If a target upgrade terminal matching the upgrade terminal information exists in the preset historical upgrade terminal information table, then the file verification code corresponding to the read file feature is determined; or, if a target upgrade terminal matching the upgrade terminal information does not exist in the preset historical upgrade terminal information table, then the file verification code corresponding to the preset file feature is determined.

[0015] If the file verification code matches the read verification code, the application in the application area is determined as the target upgrade program; or, if the file verification code does not match the read verification code, the boot program in the boot program area is determined as the target upgrade program.

[0016] In one embodiment, when the target upgrade program is the application, after the step of determining the target upgrade program based on the upgrade detection information and the data parameter information, the method includes:

[0017] Within a first preset time period, the boot program is controlled to jump to execute the application program.

[0018] When the application receives a preset first upgrade command, the application is controlled to jump to execute the boot program, and the boot program is controlled to detect whether there is a preset upgrade request;

[0019] If a preset upgrade request exists, then the step of determining the upgrade file corresponding to the main control chip is executed;

[0020] If there is no preset upgrade request, then the step of obtaining the data detection information of the main control chip is executed.

[0021] In one embodiment, when the target upgrade program is the boot program, after the step of determining the target upgrade program based on the upgrade detection information and the data parameter information, the following steps are included:

[0022] If a preset second upgrade command is received within the second preset time period, then the step of determining the upgrade file corresponding to the main control chip is executed;

[0023] If no preset second upgrade command is received within the second preset time period, then the step of obtaining the data detection information of the main control chip is executed.

[0024] In one embodiment, the operator is also communicatively connected to a host computer, and before the step of acquiring data detection information from the host computer, the method further includes:

[0025] If an upgrade file data packet is received from the host computer, the upgrade file data packet is stored in a specified storage sector, wherein the specified storage sector includes the sector at the specified storage address after the operator erases the data.

[0026] In one embodiment, the file to be upgraded includes a first upgrade file obtained at the current moment, and the step of determining the corresponding file to be upgraded includes:

[0027] The upgrade file data packets of the specified storage sectors of the operator are obtained sequentially, and the upgrade file data packets are written to the application area;

[0028] If the upgrade file data packet in the application area matches the upgrade file data packet in the specified storage sector of the operator, then the upgrade file data packet in the application area is used as the first upgrade file.

[0029] In one embodiment, the upgrade file further includes a second upgrade file obtained at the previous moment, and the step of upgrading the inverter software based on one of the application program and the boot program, and the upgrade file, includes at least one of the following:

[0030] When the target upgrade program is the boot program, and the upgrade flag in the upgrade detection information matches the preset upgrade flag, the boot program and the second upgrade file are controlled to perform a software upgrade on the frequency converter, wherein the second upgrade file includes the upgrade file data packet in the application area obtained at the previous moment;

[0031] When the target upgrade program is the boot program, and the upgrade flag in the upgrade detection information does not match the preset upgrade flag, the application program and the first upgrade file are controlled to perform a software upgrade on the frequency converter.

[0032] When the target upgrade program is the application, the application and the first upgrade file are controlled to perform a software upgrade on the frequency converter.

[0033] In addition, to achieve the above objectives, this application also provides a frequency converter, which includes a main body and an operator disposed on the main body. The main body includes a main control chip, and the operator is communicatively connected to the main control chip. The operator includes an application program area, a boot program area, and a boot flag area. The operator is used to acquire data detection information from a host computer, wherein the data detection information includes data parameter information from the application program area and upgrade detection information from the boot flag area.

[0034] The main control chip is used to determine the target upgrade program based on the upgrade detection information and the data parameter information, wherein the target upgrade program includes the application program in the application program area or the boot program in the boot program area;

[0035] The main control chip is also used to determine the corresponding upgrade file and to perform a software upgrade on the frequency converter based on one of the application program and the boot program, as well as the upgrade file.

[0036] This application also provides a frequency converter software upgrade system, which includes a host computer and a frequency converter. The host computer is communicatively connected to the frequency converter, and the frequency converter performs the above-described frequency converter software upgrade method.

[0037] This application provides a method for upgrading inverter software. The inverter includes a main body and an operator mounted on the main body. The main body includes a main control chip, and the operator is communicatively connected to the main control chip. The operator includes an application program area, a boot program area, and a boot flag area. The operator acquires data detection information from a host computer, including data parameter information from the application program area and upgrade detection information from the boot flag area. On the main control chip, a target upgrade program is determined based on the upgrade detection information and the data parameter information. The target upgrade program includes either an application program in the application program area or a program in the boot program area. The OUT program determines the corresponding upgrade file and performs a software upgrade on the inverter based on either the application program or the boot program, along with the upgrade file. On the main control chip, the target upgrade program is determined using data parameters from the application program area and upgrade detection information from the boot flag area in the operator. After determining the target upgrade program, the corresponding upgrade file is determined. The inverter can then be directly upgraded based on the upgrade file and either the application program or the boot program in the operator. This avoids the need to use a dedicated download cable to connect the programming software to the inverter's boot port and then control the boot pin to put the inverter into boot mode before the upgrade can be performed. This inverter software upgrade method reduces the complexity of the upgrade process by directly upgrading the inverter based on the upgrade file and either the application program or the boot program in the operator. It allows for software upgrades without the use of dedicated hardware. Furthermore, the entire upgrade process only requires the inverter's main control chip and the operator (which are built into the inverter), further reducing the cost of the software upgrade. Attached Figure Description

[0038] Figure 1 This is a flowchart illustrating the first embodiment of the inverter software upgrade method of this application;

[0039] Figure 2 This is a schematic diagram illustrating a usage scenario of the inverter software upgrade method of this application;

[0040] Figure 3 This is a schematic diagram of a storage scenario for the inverter software upgrade method of this application;

[0041] Figure 4 This is a schematic diagram of the inverter module in this application;

[0042] Figure 5 This is a schematic diagram of the hardware operating environment involved in the device in this application;

[0043] Figure 6 This is a schematic diagram of a storage process for the inverter software upgrade method of this application;

[0044] Figure 7 This is a schematic diagram of the upgrade process for the inverter software upgrade method of this application;

[0045] Figure 8 This is a schematic diagram of a testing process for the inverter software upgrade method of this application.

[0046] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation

[0047] It should be understood that the specific embodiments described herein are merely illustrative of this application and are not intended to limit this application.

[0048] To better understand the technical solution of this application, a detailed description will be provided below in conjunction with the accompanying drawings and specific implementation methods.

[0049] Inverter software upgrades may be required at any time depending on the user's specific needs. Currently, there are three common methods for inverter software upgrades: The first method involves connecting a emulator to a PC (Personal Computer) and programming software for flashing. However, this method requires the user to download the official programming software provided by the chip (inverter control chip) and purchase a dedicated emulator, making inverter upgrades and maintenance inconvenient and indirectly increasing maintenance costs. The second method utilizes the official programming software provided by the chip (inverter control chip). The chip and PC are upgraded via a USB (Universal Serial Bus) to serial port download cable. However, this method also requires the user to download the official programming software. Before the upgrade, the MCU (Microcontroller Unit) boot pin needs to be connected to a 3.3V high level to put the chip into system boot mode, and then the program is downloaded and updated via serial port. After the upgrade is complete, the boot pin is then connected to a low level to allow the chip to start and operate normally. Therefore, this method is limited by the official chip programming software, boot programming port, and dedicated download cable; the third method is to save the upgrade file to a USB flash drive, and the inverter firmware recognizes and loads the USB driver, and completes the upgrade by reading the upgrade program from the USB flash drive. This method requires the inverter main control chip to have a USB peripheral, and the software also needs to support the USB driver that the USB flash drive can recognize. For mass-produced economical products, this undoubtedly increases the hardware cost, and also increases the development time and difficulty of the software. At the same time, although USB flash drives are convenient to carry, they are also easy to lose, and there is a risk that the upgrade file stored on the USB flash drive can be decrypted.

[0050] Therefore, based on the shortcomings of the above-mentioned inverter software upgrade solutions, this application proposes an inverter software upgrade method. The main solution of this application embodiment is as follows: On the main control chip, the target upgrade program is determined by the data parameter information in the application area of ​​the operator and the upgrade detection information in the boot flag area. After determining the target upgrade program, the corresponding upgrade file is determined. The inverter can then be directly upgraded based on the upgrade file and the application or boot program in the operator. This avoids the problem of having to use a dedicated download cable to connect the programming software and the inverter's boot port, and then control the boot pin through the dedicated download cable to put the entire inverter into boot mode before the upgrade can be performed. This inverter software upgrade method can directly upgrade the inverter based on the upgrade file and the application or boot program in the operator, thus reducing the complexity of inverter software upgrades. It can achieve inverter software upgrades without using dedicated hardware. Furthermore, the entire upgrade process only requires the inverter's main control chip and operator (which are built into the inverter itself), thus reducing the cost of inverter software upgrades.

[0051] It should be noted that the executing entity in this embodiment can be a computing service device with data processing, network communication, and program execution functions, such as a tablet computer, personal computer, or mobile phone, or a device capable of performing the above functions, such as a frequency converter software upgrade device. The following description uses a frequency converter software upgrade device as an example to illustrate this embodiment and the subsequent embodiments.

[0052] Based on this, this application provides a method for upgrading inverter software. The inverter software upgrade method is applied to an inverter, which includes a main body and an operator disposed on the main body. The main body includes a main control chip, and the operator is communicatively connected to the main control chip. The operator includes an application program area, a boot program area, and a boot flag area. (Refer to...) Figure 1 , Figure 1 This is a flowchart illustrating the first embodiment of the inverter software upgrade method of this application.

[0053] Reference Figure 1 This application provides a method for upgrading inverter software. In a first embodiment of the inverter software upgrade method, the method includes:

[0054] Step S10: Obtain the data detection information of the main control chip, including the data parameter information of the application area and the upgrade detection information of the boot flag area;

[0055] In this embodiment, the inverter software upgrade method is applied to an inverter, which includes a main body and an operator mounted on the main body. The main body includes a main control chip, and the operator is communicatively connected to the main control chip. That is, the control flow for implementing the inverter software upgrade by applying the inverter software upgrade method to the operator and main control chip of the inverter can be referred to... Figure 2 , Figure 2 This diagram illustrates a usage scenario of the inverter software upgrade method of this application. Communication between the operator (i.e., keypad) and the host computer is possible. For example, the keypad can be connected to a PC via RS485 Modbus communication. The upgrade file can then be saved to the keypad's internal SPI-flash memory (i.e., external memory, a non-volatile storage device for storing upgrade files; the MCU reads and writes data to the memory via a full-duplex serial SPI bus interface). The operator can then directly communicate with the inverter. For instance, the keypad's control chip 1 transmits data to the inverter via Modbus, and the inverter's MCU (control chip 2 in the inverter control board) is programmed with its on-chip flash, enabling online inverter software upgrades. Control chip 2 and control chip 1 can also be controlled by a single large chip, or the control chip 2 in the inverter control board can be directly connected to the host computer for inverter software upgrades. Since the keypad is a built-in peripheral of the inverter, it can also be used as an intermediary. Further details can be found in the following sections. Figure 3 , Figure 3 This diagram illustrates a storage scenario for the inverter software upgrade method of this application. The inverter's main control MCU flash is divided into three storage areas. Based on an external keypad upgrade request or the stored value of the inverter's boot (the boot program before the inverter software runs, mainly responsible for starting or upgrading the application) flag area, a boot upgrade is performed: the keypad reads upgrade file data from the internal SPI-flash and performs the inverter software upgrade by writing the upgrade file data or through other means. The inverter's main control MCU flash also includes a bootloader program storage area for executing the boot program and an application storage area for executing the application program (APP). At this time, the upgrade process can be executed based on the application storage area, the boot loader program storage area, and the boot flag storage area. That is, the program in the boot loader program storage area determines whether the inverter needs to be upgraded and completes the upgrade by receiving data sent by the keypad through the serial port. The program in the application storage area is the application program that the inverter is running normally. Therefore, the inverter can be directly upgraded based on the inverter's main control MCU flash, avoiding the use of existing hardware and reducing the cost of inverter software upgrades.

[0056] In one embodiment, when upgrading the frequency converter, data detection information from the host computer is obtained through the operator. This data detection information includes data parameter information from the application program area (application program storage area) and upgrade detection information from the boot flag area (boot flag storage area). Specifically, the data parameter information from the application program area checks the validity of the data, which can be detected using a specific data validity detection method. The upgrade detection information indicates whether there are any un-upgraded programs. If an un-upgraded program exists, the upgrade detection information flag is 1; if no un-upgraded program exists, the flag is 0. This allows for quick determination of whether to continue upgrading incomplete programs, ensuring the accuracy of the upgrade. (See also...) Figure 7 , Figure 7 This is a schematic diagram of the upgrade process of the inverter software upgrade method of this application. The entire process involves running the boot program after the inverter MCU (i.e., the main control chip) is powered on, and then executing the process of obtaining the data detection information of the main control chip. This ensures that the software upgrade can be intelligently performed every time the inverter is powered on, avoiding the phenomenon of unsuccessful software upgrade due to external factors.

[0057] Step S20: On the main control chip, the target upgrade program is determined according to the upgrade detection information and data parameter information, wherein the target upgrade program includes the application program in the application area or the boot program in the boot program area.

[0058] In this embodiment, after determining the upgrade detection information and data parameter information, the target upgrade program is determined on the main control chip based on the upgrade detection information and data parameter information, referring to... Figure 7 Based on upgrade detection information and data parameter information, it determines whether to execute the application program in the application area or the boot program in the boot program area, thus executing the inverter upgrade process in two branches: either performing the software upgrade in the application area or performing the software upgrade in the boot program. It does not directly perform upgrade control without considering the actual situation (e.g., if the data in the application is invalid in the data detection information, it will still use the application to perform the software upgrade, or if the upgrade detection information shows that the upgrade is incomplete, it will directly perform the next software upgrade). In other words, at this time, the software upgrade control is based on the upgrade detection information and data detection information to judge the legality of the data and the upgrade status. On the one hand, it can upgrade the inverter software without using dedicated hardware, and on the other hand, it can ensure the accuracy of the inverter software upgrade.

[0059] Step S30: Determine the corresponding upgrade file and perform a software upgrade on the frequency converter based on one of the application program and the boot program, as well as the upgrade file.

[0060] In this embodiment, as Figure 7As shown, after the target upgrade program is determined, the main control chip receives the upgrade file (which can be a newly received upgrade file or an existing file that has not yet been upgraded) when the target upgrade program is determined. This process involves each program receiving the upgrade command response and executing the process to determine the upgrade file corresponding to the main control chip. This can be done by directly obtaining the upgrade file from the host computer or via a keypad. The upgrade file refers to the data package used for software upgrades of the frequency converter. After obtaining the upgrade file, the frequency converter is upgraded based on the upgrade file and the application program or the upgrade file and the boot program. Taking the application program as an example, the upgrade method can be to compile the program from the upgrade file into the frequency converter based on the application program, or directly store it into the application program for subsequent frequency converter operation, or other operations, which are not limited here. Therefore, the frequency converter can be upgraded based on the application program and the upgrade file. The entire frequency converter software upgrade process can be performed without using dedicated hardware.

[0061] In one embodiment, the method of upgrading the inverter application by connecting an external keypad to the inverter and partitioning the internal memory overcomes the limitation that product upgrades can only be performed through the system BOOT programming port and a dedicated download cable. The upgrade process is simple and convenient, and avoids disassembling the device casing. Furthermore, the keypad allows for serial port upgrades directly through the inverter's built-in keypad in scenarios where using a laptop is inconvenient. While the inverter is in standby mode, no other hardware or software is required, facilitating product upgrades and maintenance, improving production efficiency, and reducing maintenance costs.

[0062] In this embodiment, a method for upgrading inverter software is provided. This method is applied to an inverter, which includes a main body and an operator mounted on the main body. The main body includes a main control chip, and the operator is communicatively connected to the main control chip. The operator includes an application program area, a boot program area, and a boot flag area. Data detection information from a host computer is acquired through the operator, wherein the data detection information includes data parameter information from the application program area and upgrade detection information from the boot flag area. On the main control chip, a target upgrade program is determined based on the upgrade detection information and the data parameter information, wherein the target upgrade program includes an application program in the application program area or a program in the boot program area. The OUT program determines the corresponding upgrade file and performs a software upgrade on the inverter based on either the application program or the boot program, along with the upgrade file. On the main control chip, the target upgrade program is determined using data parameters from the application program area and upgrade detection information from the boot flag area in the operator. After determining the target upgrade program, the corresponding upgrade file is determined. The inverter can then be directly upgraded based on the upgrade file and either the application program or the boot program in the operator. This avoids the need to use a dedicated download cable to connect the programming software to the inverter's boot port and then control the boot pin to put the inverter into boot mode before the upgrade can be performed. This inverter software upgrade method reduces the complexity of the upgrade process by directly upgrading the inverter based on the upgrade file and either the application program or the boot program in the operator. It allows for software upgrades without the use of dedicated hardware. Furthermore, the entire upgrade process only requires the inverter's main control chip and the operator (which are built into the inverter), further reducing the cost of the software upgrade.

[0063] Furthermore, based on the first embodiment of this application described above, a second embodiment of the inverter software upgrade method of this application is proposed. In this embodiment, step S20, where the upgrade detection information includes an upgrade flag and the data parameter information includes the data address of the application area, the checksum information, and the upgrade terminal information of the main control chip, and the step of determining the target upgrade program based on the upgrade detection information and the data parameter information, includes:

[0064] Step S21: If the upgrade flag does not match the preset upgrade flag, but the data address matches the preset valid address, then the target upgrade program is determined based on the verification code information and the upgrade terminal information.

[0065] Step S212: If the upgrade flag matches the preset upgrade flag, or the data address does not match the preset valid address, then the boot program in the boot program area is determined as the target upgrade program.

[0066] In this embodiment, when determining the target upgrade program, the boot program in the boot program area or the application program in the application program area is used as the target upgrade program based on information. Upgrade detection information includes an upgrade flag, and data parameter information includes the data address in the application program area, checksum information, and upgrade terminal information of the main control chip. The upgrade flag indicates whether the program upgrade is complete; a value of 1 indicates incomplete upgrade, and 0 indicates complete upgrade. The data address refers to various addresses in the application program, such as the stack top address and reset address. The checksum information verifies the validity of the data, such as a checksum. The upgrade terminal information refers to the terminal that sends the software upgrade data packet, i.e., the upgrade file, which can be a host computer or a keypad. Furthermore, if the upgrade flag matches a preset upgrade flag, or the data address does not match a preset valid address, the boot program in the boot program area is determined as the target upgrade program. The preset upgrade flag indicates the existence of an incomplete upgrade program. The preset valid address is a defined valid address; for example, stack top address A indicates valid data, and reset address B indicates valid data. Other methods can also be used to determine data validity. Conversely, if the upgrade flag does not match the preset upgrade flag, but the data address matches the preset valid address, it is necessary to further determine the target upgrade program based on the verification code information and the upgrade terminal information to ensure the accuracy of determining the target upgrade program and subsequent software upgrades.

[0067] In one embodiment, the user only needs to access the keypad firmware upgrade option menu, select the file to be upgraded, and click download while the inverter is in standby mode to upgrade the inverter software. See also... Figure 8 , Figure 8This is a schematic diagram of a detection process for the inverter software upgrade method of this application. Upon power-on upgrade request and data validity check in the APP storage area, the system first checks whether the MCU flash stores a flag indicating an incomplete upgrade request from the previous iteration. If the upgrade flag indicates an incomplete upgrade, the previous upgrade will continue. This allows for handling of upgrade failures caused by unforeseen events such as power outages, Modbus communication timeouts, user errors (e.g., loading an invalid upgrade file stored in the keypad as the target file), or other anomalies. In such cases, the system re-powers on and runs the Bootloader program, verifying the data in the boot flag area for anomalies. The inverter then stops at the boot program, waiting for the keypad to send an upgrade command frame, ensuring smooth software upgrade exception handling. If the flag indicating an incomplete upgrade request from the previous iteration is not found, the system checks the validity of the data in the program based on the application stack top address and reset address. Other detection methods are also possible and are not limited here. Taking the application stack top address and reset address as an example, if either the application stack top address or the reset address is invalid, the inverter will stop at the boot program and wait for the keypad to send an upgrade command frame. Conversely, if both the application stack top address and the reset address are valid (and there is no flag indicating an incomplete upgrade request from the previous time), subsequent judgments will be made. That is, the target upgrade program will be determined by checking the verification code information and the upgrade terminal information to ensure the accuracy of the target upgrade program and further ensure the accuracy of the inverter software upgrade.

[0068] Furthermore, the verification code information includes the read verification code for the application area and the file size to be read. The steps for determining the target upgrade program based on the verification code information and the upgrade terminal information include:

[0069] Step S211: If there is a target upgrade terminal that matches the upgrade terminal information in the preset historical upgrade terminal information table, then determine the file verification code corresponding to the file size; or, if there is no target upgrade terminal that matches the upgrade terminal information in the preset historical upgrade terminal information table, then determine the file verification code corresponding to the preset file size.

[0070] Step S212: If the file verification code matches the read verification code, the application in the application area is determined as the target upgrade program; or, if the file verification code does not match the read verification code, the boot program in the boot program area is determined as the target upgrade program.

[0071] In this embodiment, the verification code information includes the read verification code and read file size in the application area. The read verification code refers to directly reading the verification code in the application, and the read file size refers to reading the file size in the application. At this time, it can be determined whether a target upgrade terminal matching the upgrade terminal information exists in the preset historical upgrade terminal information table. That is, it can be determined whether the host computer or keypad in the upgrade terminal information has performed an upgrade operation with the inverter. Different verification code calculation methods can be selected, which can be determined by the unique identifier of the upgrade terminal. That is, the upgrade terminal information includes the identifier of the terminal that is currently communicating with the inverter. The preset historical upgrade terminal information table refers to the information of terminals that have already communicated and upgraded with the inverter, such as the identifier of each terminal. If it is determined that the terminal (taking the keypad as an example) has already performed a software upgrade communication with the inverter, then the file verification code corresponding to the read file size will be directly determined. That is, there is a relationship between the file size and the file verification code. For example, the file size corresponds to the file verification code S1, which can be directly looked up using a lookup table. If the keypad has not performed a software upgrade communication with the inverter, then the file verification code corresponding to the preset file size will be determined. The preset file size refers to the file size set by the user. At this point, the relationship between the file checksum and the read checksum will be determined. If they are the same or similar, the file checksum and the read checksum match, indicating that the data in the application is valid. In this case, the application in the application area can be used as the target upgrade program. Conversely, if the file checksum and the read checksum do not match, the data in the application is invalid, and the boot program in the boot program area can be used as the target upgrade program to ensure the accuracy of subsequent inverter software upgrade operations.

[0072] In one embodiment, reference is made to Figure 8The process involves reading file information from the on-chip flash memory of the MCU (in the diagram, MCU refers to the main control chip of the frequency converter). This information includes at least the file size (actual file size), i.e., reading the file size. Taking the MD5 (Message-Digest Algorithm 5) detection algorithm as an example, the file information also includes the MD5 checksum, i.e., reading the checksum. At this point, it checks whether the MCU has been upgraded via the keypad. If it has been upgraded, the application's MD5 checksum is calculated based on the actual file size read from the flash memory. There is a corresponding relationship between the file size and the checksum. Conversely, if it hasn't been upgraded, a default upgrade file size is set, and the application's MD5 checksum is calculated based on this size and stored in the MCU flash memory. Finally, it checks whether the calculated application MD5 checksum and the MD5 checksum read from the MCU flash memory are the same. If they are the same, the application is considered valid, and the MCU jumps from the boot program to the application. Otherwise, if they are different, it stops at the boot program, waiting for an upgrade, to improve the accuracy of subsequent frequency converter software upgrades. Meanwhile, upgrade error prevention measures are added. The MD5 detection algorithm is used to ensure the correctness of upgrade data. When the upgrade process fails (such as sudden power failure of the system, abnormal device communication, etc.), the probability of chip lockup can be greatly reduced (no need to use password verification in the programming software), thus enhancing the security and reliability of the system.

[0073] Furthermore, based on the first and / or second embodiments of this application described above, a third embodiment of the inverter software upgrade method of this application is proposed. In this embodiment, step S30, after determining the target upgrade program based on upgrade detection information and data parameter information when the target upgrade program is an application program, includes:

[0074] Step S301: Within a first preset time period, control the boot program to jump to execute the application program;

[0075] Step S302: When the application receives the preset first upgrade command, control the application to jump to execute the boot program, and control the boot program to detect whether there is a preset upgrade request;

[0076] Step S303: If a preset upgrade request exists, proceed to determine the upgrade file corresponding to the main control chip.

[0077] Step S304: If there is no preset upgrade request, then execute the step of obtaining the data detection information of the main control chip.

[0078] In this embodiment, if the data in the inverter's (APP) storage area is deemed valid and there is no upgrade request, it is identified as an application program, and control of the application program is executed. At this time, within a first preset time period (a user-defined time, significantly shorter than a second preset time period), the control jumps from the boot program to execute the application program. During this time, the application program can receive a preset first upgrade command, which is an upgrade request sent by the keypad to the inverter during the application program. The application program then jumps to execute the boot program, resetting the MCU and checking for the existence of a preset upgrade request. If a preset upgrade request exists, the step of obtaining the upgrade file received by the main control chip is executed; otherwise, if no preset upgrade request exists, the step of determining the upgrade file corresponding to the main control chip is executed, ensuring the accuracy of the control flow during application program control.

[0079] In one embodiment, reference is made to Figure 7 After the power-on delay (t1s) ends, the MCU jumps from the Boot program area to the APP application area, and the inverter enters standby mode. When the application receives a keypad upgrade command, the MCU resets and enters the Bootloader upgrade stage. That is, when the application receives the keypad upgrade command and a response, it controls the MCU to reset, at which point it jumps from the application to the boot program. If the boot program detects an upgrade request, it re-establishes a communication connection with the keypad. During communication, the keypad cyclically reads the upgrade file data packet from the on-chip SPI-flash and sends it to the inverter. This enables software upgrade control via the application, ensuring the accuracy of the inverter software upgrade operation by allowing for software upgrade control based on different program controls.

[0080] Furthermore, based on the first, second, and / or third embodiments of this application described above, a fourth embodiment of the inverter software upgrade method of this application is proposed. In this embodiment, after determining the target upgrade program based on upgrade detection information and data parameter information when the target upgrade program is a boot program, the method includes:

[0081] Step S311: If a preset second upgrade command is received within the second preset time period, then the step of determining the upgrade file corresponding to the main control chip is executed.

[0082] Step S312: If no preset second upgrade command is received within the second preset time period, then the step of obtaining the data detection information of the main control chip is executed.

[0083] In this embodiment, if the data in the inverter (APP) storage area is determined to be invalid or there is an incomplete upgrade request, it will be identified as a boot program, and the boot program control will be executed. At this time, the system waits for the keypad to send an upgrade command within a second preset time period. The second preset time period is a user-defined time, which is much longer than the first preset time period. During this time, the boot program can receive the preset second upgrade command, which refers to the upgrade request sent by the keypad to the inverter during the boot program. At this time, the boot program can be controlled to execute the corresponding process (i.e., the step of determining the upgrade file corresponding to the main control chip) to ensure the accuracy of the control flow during the boot program control.

[0084] In one embodiment, reference is made to Figure 7 When the keypad upgrade command is received within the power-on delay (t2s), i.e., when the boot program receives the keypad upgrade command and simultaneously receives the command response, a communication connection is established between the inverter and the keypad. During communication, the keypad cyclically reads the upgrade file data packet from the on-chip SPI-flash and sends it to the inverter. This enables software upgrade control of the boot program, ensuring the accuracy of the inverter software upgrade operation by allowing for software upgrade control based on different program controls.

[0085] Furthermore, based on the first, second, third, and / or fourth embodiments of this application described above, a fifth embodiment of the inverter software upgrade method of this application is proposed. In this embodiment, the operator is also communicatively connected to a host computer, and before the step of obtaining data detection information from the host computer, the method further includes:

[0086] Step S40: If an upgrade file data packet is received from the host computer, the upgrade file data packet is stored in a specified storage sector, wherein the specified storage sector includes the sector at the specified storage address after the operator erases the data.

[0087] In this embodiment, before the upgrade, the upgrade file data packet contained in the upgrade file can be stored on an operator that communicates with the main control chip. The operator can be the inverter's built-in hardware, and it also communicates with a host computer. Upon receiving the upgrade file data packet from the host computer, the operator stores the upgrade file data packet in a designated storage sector. The designated storage sector includes the sector at a designated storage address after the operator erases the data. The upgrade file data packet refers to the program data packet of the file to be upgraded, so that the data packet in the operator can be directly read for upgrades during subsequent inverter upgrades.

[0088] In one embodiment, reference is made to Figure 6 , Figure 6This is a schematic diagram of the storage process for the inverter software upgrade method of this application. Before performing the software upgrade, the upgrade file (data packets in the file) needs to be saved to the SPI-flash memory in the keypad. The keypad is connected to a PC (host computer, such as an internal computer) and files are transferred via RS485 Modbus communication. When the file storage function is selected in the keypad menu, the keypad writes a file storage flag to a specified location in the external SPI-flash of the keypad module. This allows for re-performing file storage if the upgrade file fails to be saved to the keypad due to unforeseen circumstances during data transmission. Simultaneously, the keypad software switches to file transfer and storage mode and increases the communication rate to speed up file download. At this point, the keypad begins to prepare to receive file data from the host computer. According to the file transfer protocol, the host computer sends corresponding message commands at different stages of transmission. The keypad first receives the file information sent by the host computer, including the number of upgrade files, file names, file sizes, total number of current file data packets, and total number of bytes in a single packet, extracts the relevant information, and replies to the host computer. After the keypad verification data passes, the specified file storage sector in the external SPI-flash is erased. The file data packets from each transmission and retrieval are then written to the SPI-flash memory in a loop until the upgrade file transfer is complete. Finally, a successful file storage flag is stored in the SPI-flash. Using the keypad enables file storage and subsequent file retrieval and upgrades during inverter software upgrades. When it's not feasible to carry or use a laptop on-site, the keypad panel can be removed and the upgrade file stored in another location, making it safe and convenient.

[0089] Furthermore, the file to be upgraded includes the first upgrade file obtained at the current moment. The steps for determining the corresponding file to be upgraded include:

[0090] Step S321: Sequentially obtain the upgrade file data packet of the specified storage sector of the operator, and write the upgrade file data packet into the application area;

[0091] Step S322: If the upgrade file data packet in the application area matches the upgrade file data packet in the specified storage sector of the operator, then the upgrade file data packet in the application area is used as the first upgrade file.

[0092] In this embodiment, when acquiring the upgrade file received by the main control chip, the upgrade file data packets of the specified storage sector of the operator are acquired sequentially, and the upgrade file data packets are written to the application area. If the upgrade file data packets in the application area are matched with the upgrade file data packets in the specified storage sector of the operator, the upgrade file data packets in the application area are taken as the first upgrade file. That is, it is determined whether the data writing is complete. The upgrade file data packet refers to the data packet in the upgrade file. By judging the two, it can be determined whether the reading is complete, so as to ensure the accuracy of subsequent inverter software upgrades.

[0093] In one embodiment, reference is made to Figure 7 The inverter receives the upgrade data packet (i.e., upgrade file information, including at least file type, file name, and size) sent by the keypad. It then writes this data to the APP storage area of ​​the MCU's on-chip flash memory, erasing the APP storage area and storing an upgrade flag in the MCU's on-chip flash memory. This indicates that the application upgrade is incomplete. The application then receives the keypad upgrade file data packet and writes it to the APP storage area. The completion of the upgrade file transfer can be determined by checking if the total number of upgrade data packets sent by the keypad matches the total number of data packets received by the APP. Other methods can also be used, which are not limited here. Once the download is complete, the upgrade file information data is fully stored in the MCU's on-chip flash memory. At this point, the application is a valid program and not yet requiring an upgrade. The MCU then jumps from the boot program to the application execution, executing the process of receiving the preset first upgrade command from the application. Finally, because the upgrade file information data (such as file size, MD5 checksum, etc.) is saved to the boot flag area of ​​the on-chip flash memory, the inverter's program is upgraded via the keypad.

[0094] Furthermore, the upgrade file also includes a second upgrade file obtained at the previous moment, and steps for software upgrade of the inverter based on one of the application program and the boot program, and the upgrade file, including at least one of the following:

[0095] Step S310: When the target upgrade program is the boot program and the upgrade flag in the upgrade detection information matches the preset upgrade flag, control the boot program and the second upgrade file to perform a software upgrade on the frequency converter. The second upgrade file includes the upgrade file data packet in the application area obtained at the previous moment.

[0096] Step S320: When the target upgrade program is the boot program and the upgrade flag in the upgrade detection information does not match the preset upgrade flag, control the application program and the first upgrade file to perform a software upgrade on the frequency converter.

[0097] Step S330: When the target upgrade program is an application program, control the application program and the first upgrade file to perform a software upgrade on the frequency converter.

[0098] In this embodiment, when the target upgrade program is the boot program and the upgrade flag in the upgrade detection information does not match the preset upgrade flag (i.e., there are no incomplete upgrade tasks as described above), or when the target upgrade program is the application program, the application program will be directly controlled to perform a software upgrade on the inverter based on the first upgrade file. Conversely, when the upgrade flag in the upgrade detection information matches the preset upgrade flag (i.e., there are incomplete upgrade tasks as described above, and the target upgrade program is the boot program), the boot program will be controlled to perform a software upgrade on the inverter based on the second upgrade file. The software upgrade method can be to write or compile the upgrade file into the inverter based on different programs to complete the inverter software upgrade. The second upgrade file includes the upgrade file data packet obtained in the application area at the previous moment. That is, if there are incomplete upgrade tasks, the next upgrade task will only be performed after the boot program completes the previous incomplete upgrade task to ensure the accuracy of the inverter software upgrade.

[0099] It should be noted that the above examples are only for understanding this application and do not constitute a limitation on the inverter software upgrade method of this application. Any simple modifications based on this technical concept are within the protection scope of this application.

[0100] This application also provides a frequency converter software upgrade device. The frequency converter includes a main body and an operator disposed on the main body. The main body includes a main control chip, and the operator is communicatively connected to the main control chip. The operator includes an application program area, a boot program area, and a boot flag area. Please refer to [reference needed]. Figure 4 The inverter software upgrade device includes:

[0101] The operator A10 is used to acquire data detection information from the host computer, wherein the data detection information includes data parameter information of the application area and upgrade detection information of the boot flag area;

[0102] The main control chip A20 is used to determine the target upgrade program based on the upgrade detection information and the data parameter information, wherein the target upgrade program includes the application program in the application program area or the boot program in the boot program area;

[0103] The main control chip A20 is also used to determine the corresponding upgrade file and to perform a software upgrade on the frequency converter based on one of the application program and the boot program, as well as the upgrade file.

[0104] The frequency converter provided in this application, employing the frequency converter software upgrade method in the above embodiments, can solve the technical problem of how to upgrade the frequency converter software without using dedicated hardware. Compared with the prior art, the beneficial effects of the frequency converter provided in this application are the same as those of the frequency converter software upgrade method provided in the above embodiments, and other technical features in the frequency converter are the same as those disclosed in the methods of the above embodiments, and will not be repeated here.

[0105] This application provides a frequency converter software upgrade device (i.e., a frequency converter), which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, which are executed by the at least one processor to enable the at least one processor to perform the frequency converter software upgrade method in the above embodiment 1.

[0106] The following is for reference. Figure 5 The diagram illustrates a structural schematic of an inverter software upgrade device suitable for implementing embodiments of this application. The inverter software upgrade device in this application may include, but is not limited to, mobile terminals such as mobile phones, laptops, digital radio receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Description), PMPs (Portable Media Players), vehicle terminals (e.g., vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. Figure 5 The inverter software upgrade device shown is merely an example and should not impose any limitations on the functionality and scope of use of the embodiments of this application.

[0107] like Figure 5As shown, the inverter software upgrade device may include a processing unit 1001 (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1002 or a program loaded from a storage device 1003 into a random access memory (RAM) 1004. The RAM 1004 also stores various programs and data required for the operation of the inverter software upgrade device. The processing unit 1001, ROM 1002, and RAM 1004 are interconnected via a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Typically, the following devices can be connected to I / O interface 1006: input devices 1007 including, for example, touchscreens, touchpads, keyboards, mice, image sensors, microphones, accelerometers, gyroscopes, etc.; output devices 1008 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 1003 including, for example, magnetic tapes, hard disks, etc.; and communication devices 1009. Communication device 1009 allows the inverter software upgrade device to communicate wirelessly or wiredly with other devices to exchange data. Although an inverter software upgrade device with various devices is shown in the figure, it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed alternatively.

[0108] Specifically, according to the embodiments disclosed in this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments disclosed in this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device, or installed from storage device 1003, or installed from ROM 1002. When the computer program is executed by processing device 1001, it performs the functions defined in the methods of the embodiments disclosed in this application.

[0109] The inverter software upgrade device provided in this application, employing the inverter software upgrade method in the above embodiments, can solve the technical problem of how to achieve inverter software upgrades without using dedicated hardware. Compared with the prior art, the beneficial effects of the inverter software upgrade device provided in this application are the same as those of the inverter software upgrade method provided in the above embodiments, and other technical features in this inverter software upgrade device are the same as those disclosed in the previous embodiment method, and will not be repeated here.

[0110] It should be understood that the various parts disclosed in this application can be implemented using hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics can be combined in any suitable manner in one or more embodiments or examples.

[0111] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

[0112] This application also provides a frequency converter software upgrade system, including a host computer and a frequency converter, wherein the host computer is communicatively connected to the frequency converter, and the frequency converter performs the above-described frequency converter software upgrade method.

[0113] The inverter software upgrade system provided in this application solves the technical problem of how to upgrade inverter software without using dedicated hardware. Compared with the prior art, the beneficial effects of the inverter software upgrade system provided in this application are the same as those of the inverter software upgrade method provided in the above embodiments, and will not be repeated here.

[0114] This application provides a computer-readable storage medium having computer-readable program instructions (i.e., a computer program) stored thereon, the computer-readable program instructions being used to execute the inverter software upgrade method in the above embodiments.

[0115] The computer-readable storage medium provided in this application may be, for example, a USB flash drive, but is not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor devices, apparatuses, or components, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections having one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution apparatus, device, or device. The program code contained on the computer-readable storage medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination thereof.

[0116] The aforementioned computer-readable storage medium may be included in the inverter software upgrade device; or it may exist independently and not be installed in the inverter software upgrade device.

[0117] The aforementioned computer-readable storage medium carries one or more programs that, when executed by the inverter software upgrade device, cause the inverter software upgrade device to:

[0118] Obtain the data detection information of the main control chip, wherein the data detection information includes the data parameter information of the application area and the upgrade detection information of the boot flag area;

[0119] The target upgrade program is determined based on the upgrade detection information and the data parameter information, wherein the target upgrade program includes the application in the application area or the boot program in the boot program area;

[0120] The upgrade file corresponding to the main control chip is determined, and the inverter is upgraded using software based on one of the application program and the boot program, as well as the upgrade file.

[0121] Computer program code for performing the operations of this application can be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, and C++, and conventional procedural programming languages ​​such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a Local Area Network (LAN) or a Wide Area Network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0122] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using dedicated hardware-based apparatus to perform the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0123] The modules described in the embodiments of this application can be implemented in software or hardware. The names of the modules do not necessarily limit the functionality of the unit itself.

[0124] The readable storage medium provided in this application is a computer-readable storage medium that stores computer-readable program instructions (i.e., a computer program) for executing the above-described inverter software upgrade method. This solves the technical problem of how to upgrade inverter software without using dedicated hardware. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in this application are the same as those of the inverter software upgrade method provided in the above embodiments, and will not be repeated here.

[0125] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the inverter software upgrade method described above.

[0126] The computer program product provided in this application solves the technical problem of how to upgrade inverter software without using dedicated hardware. Compared with the prior art, the beneficial effects of the computer program product provided in this application are the same as those of the inverter software upgrade method provided in the above embodiments, and will not be repeated here.

[0127] The above description is only a part of the embodiments of this application and does not limit the patent scope of this application. All equivalent structural transformations made under the technical concept of this application and using the contents of the specification and drawings of this application, or direct / indirect applications in other related technical fields, are included in the patent protection scope of this application.

Claims

1. A method of software upgrade for a frequency converter, characterized in that, The variable frequency converter software upgrading method is applied to a variable frequency converter, the variable frequency converter comprises a main body and an operator arranged on the main body, the main body comprises a main control chip, the operator is in communication connection with the main control chip, the operator comprises an application program area, a boot program area and a boot flag area, and the variable frequency converter software upgrading method comprises the following steps of: The operator acquires data detection information of an upper computer, wherein the data detection information comprises data parameter information of the application program area and upgrading detection information of the boot flag area; On the main control chip, a target upgrading program is determined according to the upgrading detection information and the data parameter information, wherein the target upgrading program comprises an application program in the application program area or a boot program in the boot program area; Corresponding to-be-upgraded files are determined, and the variable frequency converter is subjected to software upgrading according to one of the application program and the boot program and the to-be-upgraded files.

2. The frequency converter software upgrade method of claim 1, wherein, The upgrading detection information comprises an upgrading flag, the data parameter information comprises data addresses of the application program area, verification code information and upgrading terminal information of the main control chip, and the step of determining the target upgrading program according to the upgrading detection information and the data parameter information comprises the following steps of: If the upgrading flag does not match a preset to-be-upgraded flag and the data addresses match preset legal addresses, a target upgrading program is determined according to the verification code information and the upgrading terminal information; If the upgrading flag matches the preset to-be-upgraded flag or the data addresses do not match the preset legal addresses, the boot program in the boot program area is determined as the target upgrading program.

3. The frequency converter software upgrade method of claim 2, wherein, The verification code information comprises read verification code and read file features of the application program area, and the step of determining the target upgrading program according to the verification code information and the upgrading terminal information comprises the following steps of: If a target upgrading terminal matching the upgrading terminal information exists in a preset historical upgrading terminal information table, a file verification code corresponding to the read file features is determined, or if a target upgrading terminal matching the upgrading terminal information does not exist in the preset historical upgrading terminal information table, a preset file feature corresponding to a file verification code is determined; If the file verification code matches the read verification code, the application program in the application program area is determined as the target upgrading program, or if the file verification code does not match the read verification code, the boot program in the boot program area is determined as the target upgrading program.

4. The frequency converter software upgrade method of claim 1, wherein, When the target upgrading program is the application program, after the step of determining the target upgrading program according to the upgrading detection information and the data parameter information, the following steps are further included: The boot program is controlled to jump and execute the application program within a first preset time length; When the application program receives a preset first upgrading command, the application program is controlled to jump and execute the boot program, and the boot program is controlled to detect whether a preset upgrading request exists; If the preset upgrading request exists, the step of determining the to-be-upgraded files corresponding to the main control chip is executed; If the preset upgrade request does not exist, the step of obtaining the data detection information of the master chip is performed.

5. The frequency converter software upgrade method of claim 1, wherein, When the target upgrade program is the boot program, after the step of determining the target upgrade program according to the upgrade detection information and the data parameter information, the method comprises If a preset second upgrade command is received within a second preset time period, the step of determining the to-be-upgraded file corresponding to the master chip is performed. If a preset second upgrade command is not received within a second preset time period, the step of obtaining the data detection information of the master chip is performed.

6. The frequency converter software upgrade method of claim 1, wherein, The operator is further in communication connection with the upper computer, and before the step of obtaining the data detection information of the upper computer, the method further comprises: If the upgrade file data packet sent by the upper computer is received, the upgrade file data packet is stored in a specified storage sector, wherein the specified storage sector comprises a sector of a specified storage address after the operator erases data.

7. The frequency converter software upgrade method of claim 6, wherein, The to-be-upgraded file comprises a first upgrade file obtained at a current time, and the step of determining the corresponding to-be-upgraded file comprises: The upgrade file data packet of the specified storage sector of the operator is obtained in sequence, and the upgrade file data packet is written into the application program area; If the upgrade file data packet in the application program area matches the upgrade file data packet in the specified storage sector of the operator, the upgrade file data packet in the application program area is taken as the first upgrade file.

8. The frequency converter software upgrade method of claim 7, wherein, The to-be-upgraded file further comprises a second upgrade file obtained at a previous time, and the step of performing software upgrade on the frequency converter according to one of the application program and the boot program and the to-be-upgraded file comprises at least one of the following: When the target upgrade program is the boot program and the upgrade flag in the upgrade detection information matches a preset to-be-upgraded flag, the boot program and the second upgrade file are controlled to perform software upgrade on the frequency converter, wherein the second upgrade file comprises an upgrade file data packet in the application program area obtained at a previous time; When the target upgrade program is the boot program and the upgrade flag in the upgrade detection information does not match a preset to-be-upgraded flag, the application program and the first upgrade file are controlled to perform software upgrade on the frequency converter; When the target upgrade program is the application program, the application program and the first upgrade file are controlled to perform software upgrade on the frequency converter.

9. A frequency converter, characterized in that The frequency converter comprises a main body and an operator arranged on the main body, the main body comprises a master chip, the operator is in communication connection with the master chip, and the operator comprises an application program area, a boot program area and a boot flag area, wherein the operator is configured to obtain data detection information of an upper computer, wherein the data detection information comprises data parameter information of the application program area and upgrade detection information of the boot flag area. The master control chip is configured to determine a target upgrade program according to the upgrade detection information and the data parameter information, wherein the target upgrade program comprises an application program in the application program area or a boot program in the boot program area. The master control chip is further configured to determine a corresponding file to be upgraded, and perform software upgrade on the frequency converter according to one of the application program and the boot program and the file to be upgraded.

10. A frequency converter software upgrade system, characterized by The frequency converter software upgrade system comprises an upper computer and a frequency converter, the upper computer is in communication connection with the frequency converter, and the frequency converter executes the frequency converter software upgrade method in any one of claims 1 to 8.