Software upgrading method and device of variable pitch system and electronic equipment
Through the automated software upgrade method, the fan control equipment communicates with the target equipment for software upgrades, and ensures the upgrade success through paddle verification, solving the problem of time-consuming, labor-intensive and poor results in the existing technology, and achieving automation and efficiency of the software upgrade of the pitch system.
Patent Information
- Application Number
- CN202510004118.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-02
- Publication Date
- 2025-05-02
AI Technical Summary
The software upgrade method of the existing wind turbine pitch system requires manual tower up, which is time-consuming and labor-intensive, and there may be problems such as poor upgrade effect, resulting in abnormal fan operation.
It provides an automated software upgrade method, communicates with the target device through fan control equipment, sends program packages and receives upgrade status description information, and performs paddle verification after success to ensure the success and stability of software upgrades.
The automation and efficiency of the software upgrade of the pitch system is realized, reducing the abnormal fan operation situation caused by the upgrade failure, and avoiding the time and labor costs of manual upgrades.
Smart Images

Figure CN119917138A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of wind power generation, and in particular to a software upgrade method, device and electronic equipment for a variable pitch system. Background Art
[0002] A wind turbine is an electric device that converts wind energy into mechanical work, which drives the rotor to rotate and finally outputs alternating current. The wind turbine's pitch system includes many devices with MCU programs, such as pitch controllers. The software in these devices needs to be upgraded from time to time. The current software upgrade of the wind turbine pitch system generally adopts the following method: manually climb the tower, then directly connect to the device to be upgraded (such as the pitch controller), copy the program package to the device to be upgraded, and then go down the tower. When implementing this tower upgrade method, the tower conditions must be met, including weather, personnel, materials, etc. This method is time-consuming and labor-intensive, and there may be a situation where the upgrade effect is not good. For example, after confirming that the upgrade is successful, the subsequent wind turbine operation is abnormal due to problems with the program package. Summary of the invention
[0003] The embodiments of the present application provide a software upgrade method, device, electronic device and readable storage medium for a variable pitch system, which can automatically and efficiently complete the software upgrade of the variable pitch system. Compared with the manual upgrade method, it is not affected by the on-site environment and equipment tools, etc., and because the pitch check is performed during the upgrade process, it can reduce the situation where the wind turbine operates abnormally due to problems with the upgraded software after confirming that the upgrade is successful.
[0004] The embodiments of the present application can be implemented as follows:
[0005] In a first aspect, an embodiment of the present application provides a method for upgrading software of a pitch control system, which is applied to a wind turbine control device of a wind turbine generator, and the method includes:
[0006] Obtaining a target upgrade task, wherein the target upgrade task includes a program package and task description information for indicating a target device to be upgraded, and the target device is in communication connection with the wind turbine control device;
[0007] Sending the program package to the target device to enable the target device to perform software upgrade, and receiving upgrade description information returned by the target device;
[0008] When the upgrade description information indicates success, controlling the target device to perform paddling based on the program package, and receiving paddling process description information returned by the target device;
[0009] According to the pitching verification result obtained from the pitching process description information, the upgrade result of this software upgrade is obtained, wherein when the pitching verification result indicates that the pitching verification has not passed, the upgrade result indicates that this software upgrade has failed.
[0010] In a second aspect, an embodiment of the present application provides a software upgrade device for a pitch control system, which is applied to a wind turbine control device of a wind turbine generator, and the device includes:
[0011] A task acquisition module, used to acquire a target upgrade task, wherein the target upgrade task includes a program package and task description information for indicating a target device to be upgraded, and the target device is in communication connection with the wind turbine control device;
[0012] A processing module, configured to send the program package to the target device to enable the target device to perform software upgrade, and receive upgrade status description information returned by the target device;
[0013] The processing module is further configured to control the target device to perform paddling based on the program package when the upgrade description information indicates success, and receive paddling process description information returned by the target device;
[0014] The processing module is further used to obtain an upgrade result of this software upgrade based on a pitch verification result obtained from the pitch process description information, wherein when the pitch verification result indicates that the pitch verification has not passed, the upgrade result indicates that this software upgrade has failed.
[0015] In a third aspect, an embodiment of the present application provides an electronic device, including a processor and a memory, wherein the memory stores machine executable instructions that can be executed by the processor, and the processor can execute the machine executable instructions to implement the software upgrade method of the variable pitch system described in the aforementioned embodiment.
[0016] In a fourth aspect, an embodiment of the present application provides a readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the software upgrade method of the variable pitch system as described in the aforementioned embodiment is implemented.
[0017] The software upgrade method, device, electronic device and readable storage medium of the variable pitch system provided by the embodiment of the present application, when the wind turbine control device of the wind turbine obtains the target upgrade task, sends the program package in the target upgrade task to the target device to be upgraded which is connected to the local machine and indicated by the task description information in the target upgrade task, so that the target device performs software upgrade and receives the upgrade situation description information returned by the target device; when the upgrade situation description information indicates that the target device confirms that the local machine has successfully completed the software upgrade, the target device is controlled to perform the pitch walking based on the program package, and the pitch walking process description information returned by the target device is received; finally, according to the pitch walking verification result obtained from the pitch walking process description information, the upgrade result of this software upgrade is obtained, wherein when the pitch walking verification result indicates that the pitch walking verification has not passed, the upgrade result indicates that this software upgrade has failed. In this way, the software upgrade of the variable pitch system can be automatically and efficiently completed, which is not affected by the on-site environment and equipment tools, and because the pitch walking verification is performed during the upgrade process, it can reduce the situation where the wind turbine has abnormal operation due to problems with the upgraded software after confirming that the upgrade is successful. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0019] Figure 1 A block diagram of a communication system provided in an embodiment of the present application;
[0020] Figure 2 A block diagram of an electronic device provided in an embodiment of the present application;
[0021] Figure 3 One of the flowcharts of the software upgrade method of the pitch system provided in the embodiment of the present application;
[0022] Figure 4 A second flowchart of a method for upgrading the software of a pitch system provided in an embodiment of the present application;
[0023] Figure 5 A third flowchart of a method for upgrading the software of a pitch system provided in an embodiment of the present application;
[0024] Figure 6 A fourth flowchart of a method for upgrading the software of a pitch system provided in an embodiment of the present application;
[0025] Figure 7A schematic diagram of a pitch system upgrade process provided in an embodiment of the present application;
[0026] Figure 8 A block diagram of a software upgrade device for a pitch control system provided in an embodiment of the present application.
[0027] Icons: 10-communication system; 11-wind turbine control device; 110-electronic device; 111-memory; 112-processor; 113-communication unit; 12-wind farm control device; 13-server; 14-client device; 200-software upgrade device of variable pitch system; 210-task acquisition module; 220-processing module. DETAILED DESCRIPTION
[0028] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various different configurations.
[0029] Therefore, the following detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the present application for which protection is sought, but merely represents selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present application.
[0030] It should be noted that relational terms such as "first" and "second" are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0031] In conjunction with the accompanying drawings, some embodiments of the present application are described in detail below. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.
[0032] Please refer to Figure 1 , Figure 1A block diagram of a communication system 10 provided for an embodiment of the present application. In this embodiment, the communication system 10 may include a wind turbine control device 11 and at least one device that is communicatively connected to the wind turbine control device, wherein the wind turbine control device 11 and the at least one device are devices in a wind turbine (i.e., a wind turbine). Each device of the at least one device may be a device with an MCU (Micro Control Unit) program, and the device is a device in a frequency conversion system, such as a frequency converter, a pitch controller, a controller, etc. The wind turbine control device 11 may perform a software upgrade on the corresponding device connected thereto (i.e., the target device for the upgrade task) according to the received upgrade task, so as to complete the software upgrade of the pitch system.
[0033] In this embodiment, if Figure 1 As shown, the communication system 10 may also include a client device 14, a server 13, and a wind farm control device 12 that are in communication connection. The client device 14 is used to set tasks, such as software publishing tasks, software deployment changes, and other tasks, and may also set software version inspection tasks. The client device 14 may be used to publish tasks, display task contents, etc. The server 13 may be used to store software upgrade packages uploaded by the client device 14, and to find inspection results, etc. The wind farm control device 12 is linked to the server 13, and downloads the firmware upgrade package (i.e., software upgrade package, program package) from the server 13 to the local. The wind turbine control device 11 is the main controller at the wind turbine end, generally acting as a master station, distributing pitch upgrade tasks to the corresponding devices to be upgraded. For example, if the pitch upgrade task requires software upgrades for multiple pitch controllers of a wind turbine, the wind turbine control end needs to send the program package to the multiple pitch controllers so that the multiple pitch controllers complete the software upgrade. The pitch controller is the main controller of the wind turbine pitch motor. The software of the pitch controller is the pitch control software. The pitch control software is divided into the bottom layer and the application layer. The bottom layer is responsible for software startup and upgrade, and the application layer is responsible for the logic of pitch control. The device to be upgraded is a slave station, which receives upgrade instructions, upgrade packages, and performs two-way communication from the wind turbine control device 11 as the master station.
[0034] wherein, optionally, Figure 1 The communication mode among the wind turbine control device 11, the device (i.e., the device that may be the target device to be upgraded), the wind farm control device 12, the server 13, and the client device 14 can be determined in combination with actual needs. The client device 14 and the server 13 can be connected wirelessly or by wire; the wind farm control device 12 and the server 13 can be connected wirelessly or by wire, which is not specifically limited here.
[0035] The wind turbine control device 11, the device (i.e., the device that may be the target device to be upgraded), and the wind farm control device 12 may be connected wirelessly or by wire. The inventor of the present application has found through research that when the WiFi function of the device to be upgraded is connected to the upgraded main station for upgrading, the upgrade result will be poor due to the following reasons: the WiFi signal transmission distance is limited; the WiFi signal is interfered by the on-site electromagnetic environment; and the hub (the device where the device to be upgraded is located) is in the process of rotation, making it difficult to connect to the hub. That is, the WiFi upgrade method has the following shortcomings: it cannot stably and reliably connect to the pitch system. In order to avoid the above situation, in the present embodiment, the wind turbine control device 11, the device (i.e., the device that may be the target device to be upgraded), and the wind farm control device 12 are connected by wire, so that a stable and reliable connection can be ensured. Optionally, the above-mentioned wired connection method can be a bus method, such as the Profibus bus, CAN bus and other buses that the wind turbine currently has.
[0036] The inventor of the present application also found that the wireless upgrade method has problems such as difficulty in authority management, difficulty in connecting terminal management, easy misoperation, easy to be cracked, etc. Optionally, in this embodiment, the wind turbine control device 11, the device (i.e., the device that may be the target device to be upgraded), and the wind farm control device 12 are also located in the intranet, so that operations can be performed in the dedicated wind turbine intranet. The dedicated intranet has special protection measures such as operation authority and firewall, which can prevent misoperation, abnormal upgrade, virus, external network invasion, etc., and has the advantage of high security.
[0037] Please refer to Figure 2 , Figure 2 The electronic device 110 provided in the embodiment of the present application is a block diagram. The electronic device 110 can be used as Figure 1 The wind turbine control device 11 in the embodiment of the present invention. The electronic device 110 includes a memory 111, a processor 112 and a communication unit 113. The memory 111, the processor 112 and the communication unit 113 are electrically connected to each other directly or indirectly to achieve data transmission or interaction. For example, these components can be electrically connected to each other through one or more communication buses or signal lines.
[0038] The memory 111 is used to store programs or data. The memory 111 may be, but is not limited to, a random access memory (RAM), a read only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), etc.
[0039] The processor 112 is used to read / write data or programs stored in the memory 111 and execute corresponding functions. For example, the memory 111 stores a software upgrade device 200 for a variable pitch system, and the software upgrade device 200 for a variable pitch system includes at least one software function module that can be stored in the memory 111 in the form of software or firmware. The processor 112 executes various functional applications and data processing by running software programs and modules stored in the memory 111, such as the software upgrade device 200 for a variable pitch system in the embodiment of the present application, that is, implementing the software upgrade method for a variable pitch system in the embodiment of the present application.
[0040] The communication unit 113 is used to establish a communication connection between the electronic device 110 and other communication terminals through a network, and to send and receive data through the network.
[0041] It should be understood that Figure 2 The structure shown is only a schematic diagram of the structure of the electronic device 110. The electronic device 110 may also include Figure 2 More or fewer components as shown, or with Figure 2 Different configurations are shown. Figure 2 Each component shown in the figure can be implemented by hardware, software or a combination thereof.
[0042] Please refer to Figure 3 , Figure 3 One of the flow diagrams of the software upgrade method for the variable pitch system provided in the embodiment of the present application. The method is applied to a fan control device of a wind turbine, and the fan control device is connected to a communication device of the wind turbine including a program that may need to be upgraded later. The specific process of the software upgrade method for the variable pitch system is described in detail below. In this embodiment, the method may include step S110, step S140, and step S160 to step S170.
[0043] Step S110, obtaining a target upgrade task.
[0044] In this embodiment, the wind turbine control device may first obtain an upgrade task that needs to be executed locally as a target upgrade task. The target upgrade task may be obtained by the wind turbine control device from the wind farm control device. The target upgrade task includes task description information and a program package. The task description information is used to indicate the target device to be upgraded. The target device indicated by the task description information may be one or more, which is determined by the actual situation. The task description information may indicate the target device in the form of a device identifier or an IP address, which is not specifically limited here. The program package is an upgrade package, which is software used to perform software upgrades on devices in the pitch control system. The target device is communicatively connected to the wind turbine control device.
[0045] Step S140: sending the program package to the target device to enable the target device to perform software upgrade, and receiving upgrade status description information returned by the target device.
[0046] In this embodiment, the wind turbine control device may send the program package to the target device when the target device is determined. After receiving the program package, the target device may perform a program upgrade and transmit upgrade description information back to the wind turbine control device. The upgrade description information is used to indicate whether the target device confirms that it has successfully completed the software upgrade based on the received program. If the upgrade description information indicates that the target device confirms that it has not successfully completed the software upgrade, the upgrade result of this time may be directly regarded as an upgrade failure.
[0047] Step S150, when the upgrade description information indicates success, control the target device to perform the upgrade based on the program package, and receive the upgrade process description information returned by the target device.
[0048] When the upgrade status description information indicates that the target device confirms that it has successfully completed the software upgrade, the wind turbine control device controls the target device to perform pitch movement based on the program package, and records various information of the wind turbine during the pitch movement process as pitch movement process description information; after the pitch movement process is completed, the pitch movement process description information is sent to the wind turbine control device.
[0049] Step S160, obtaining the upgrade result of this software upgrade based on the paddling verification result obtained from the paddling process description information.
[0050] In this embodiment, upon receiving the pitching process description information of the target device, the wind turbine control device analyzes the pitching process description information to obtain a pitching verification result. The pitching verification result is used to indicate whether the pitching verification has passed. Afterwards, the upgrade result of the current software upgrade of the target device can be obtained based on the pitching verification result. Among them, when the pitching verification result indicates that the pitching verification has not passed, the upgrade result indicates that the current software upgrade has failed. It can be understood that if there are multiple target devices, an upgrade result can be obtained for each target device.
[0051] If the upgrade result of the current software upgrade of a target device is a failure, it can be fed back to the corresponding personnel for timely processing. If the upgrade result of the current software upgrade of the target device is a success, it can be used normally.
[0052] In this way, the software upgrade of the variable pitch system can be completed automatically and efficiently. Compared with the manual upgrade method, it is not affected by the on-site environment, equipment tools, etc.; and, since the pitch check is performed during the upgrade process, it can reduce the situation where the wind turbine operates abnormally due to problems with the upgraded software after the upgrade is confirmed to be successful.
[0053] In this embodiment, in order to ensure that the upgrade can proceed normally, a version check can also be performed first. Figure 4 , Figure 4 The second flowchart of the method for software upgrading of the pitch system provided in the embodiment of the present application is as follows. In the present embodiment, after step S110 and before step S140, the method may further include step S120.
[0054] Step S120, determining whether the target device passes the version parameter verification.
[0055] In this embodiment, it is possible to first determine whether the current software version of the target device supports the preset upgrade method and whether a version upgrade is required to obtain a version verification result. Among them, the preset upgrade method is a wired method or a wireless method, which is the method used in this solution. The specific method for determining whether the current software version of the target device supports the preset upgrade method can be determined in combination with actual needs, and is not specifically limited here. For example, it can be determined in combination with the version identifier of the current software version. The task description information may also include the version identifier of the program package, and it can be determined whether the version identifier of the program package is the same as the version identifier of the current software version. If they are different, it can be determined that an upgrade is required; otherwise, it is determined that an upgrade is not required. The above method for determining the need for a version upgrade is only an example, and other methods can also be used for determination.
[0056] The device parameters of the target device may also be included, and the device parameters may be verified. The device parameters may include machine type, machine position, and axis position information, wind turbine parameter verification (including at least any one of machine type parameters, motor parameters, and pitch information), etc. Whether the above device parameters are normal may be determined in combination with preset normal parameters to obtain the verification results of the device parameters.
[0057] Afterwards, the version parameter verification result can be obtained based on the verification result of the above-mentioned device parameters and the version verification result. The version parameter verification result is used to indicate whether the target device has passed the version parameter verification. If one of the verification result of the device parameters and the version verification result fails, the version parameter verification result is that the target device has failed the version parameter verification. If the verification result of the device parameters and the version verification result are both passed, the version parameter verification result is that the target device has passed the version parameter verification. Among them, passing the verification can also be described as a successful verification, and failing the verification can also be described as a failed verification.
[0058] In the process of version parameter verification, the version verification can be performed first. If the version verification result is that the version verification has not been passed, the device parameter verification can be stopped, and the upgrade process can be exited, and feedback that the upgrade conditions are not met can be given. If the version verification result is that the version verification has been passed, the device parameter verification can be performed.
[0059] Optionally, when the version parameter verification result indicates that the version parameter verification has passed, step S140 may be directly executed.
[0060] Optionally, to ensure the safety of the upgrade, a pre-upgrade safety check can be performed. Figure 4 As shown, in this embodiment, after step S110 and before step S140, the method may further include step S130.
[0061] Step S130, determining whether the target device passes the pre-upgrade security check.
[0062] In this embodiment, a pre-upgrade security check may be performed on the target device to obtain a pre-upgrade security check result. The specific pre-upgrade security check may be determined in combination with actual needs.
[0063] As a possible implementation method, at least any one of the current blade position, input voltage, backup power supply voltage, pitch controller status, etc. of the wind turbine can be obtained as device status information. Afterwards, determine whether the device status information meets the preset upgrade conditions to obtain the pre-upgrade safety verification result. Among them, if the device status information meets the preset upgrade conditions, the pre-upgrade safety verification result is that the target device passes the pre-upgrade safety verification. If the device status information does not meet the preset upgrade conditions, the pre-upgrade safety verification result is that the target device does not pass the pre-upgrade safety verification. Among them, the preset upgrade conditions can be set based on the state when the wind turbine is shut down or the wind turbine is in maintenance mode. In this way, it can be ensured that the software upgrade is performed when the wind turbine is shut down or the wind turbine is in maintenance mode to ensure safety.
[0064] If the pre-upgrade security check result is that the target device passes the pre-upgrade security check, step S140 may be directly executed.
[0065] Optionally, in order to ensure that the upgrade can proceed normally, a version check and a pre-upgrade safety check may be performed simultaneously, that is, after step S110, a Figure 4 Step S120 and step S130 in the above are executed. If the results of both step S120 and step S130 are passed, step S140 is executed. If there is a failure in step S120 or step S130, it can be determined that the result of the current software upgrade of the target device is a failure, and the upgrade process is exited. Among them, step S120 can be executed first. If the version parameter verification result obtained in step S120 indicates that the version parameter verification has passed, step S130 is executed. Otherwise, it is determined that the result of the current software upgrade of the target device is a failure, and the upgrade process is exited.
[0066] In this embodiment, when the results of step S130 and step S140 are both passed, the wind turbine control device sends the program package to the target device. The target device can complete the entire upgrade process by performing program upgrade file storage, verification, burning and startup. Among them, the data is backed up before the upgrade, and then the firmware is updated. After the firmware update is completed, the program is initialized. After the initialization is completed, the data is configured according to the data backed up before the upgrade. After the configuration is successfully verified, it can be determined that the burning action is completed. After burning, the updated program can be transferred to the program running area, loaded and run, and the upgrade status description information is sent back to the wind turbine control device.
[0067] In this embodiment, after the target device is upgraded based on the software package, parameter configuration is required. Figure 5 , Figure 5The third flowchart of the method for software upgrading of the pitch system provided in the embodiment of the present application. In this embodiment, after step S140, the method may further include step S150. Wherein, in the case of including step S140, step S150 is located after step S140.
[0068] Step S150: When the upgrade description information indicates that the target device software has been successfully upgraded, determine whether the target device has passed the parameter writing verification.
[0069] Generally, after manually copying the program package to the device to be upgraded, the staff is required to manually configure the parameters, which may result in incorrect parameter configuration and consume a certain amount of manpower. In this embodiment, the parameters can be automatically written back, which can avoid the situation where the manual configuration of parameters causes incorrect parameter settings and save manpower.
[0070] In this embodiment, when the upgrade description information indicates that the target device software upgrade is successful, the device parameters of the target device obtained before the upgrade can be sent to the target device. When the target device receives the device parameters, it writes back the device parameters, generates first parameter verification information for the written-back device parameters after completing the write-back, and sends the first parameter verification information to the fan control device. It can be understood that the parameter writing and the first parameter verification information of the target device are all performed under the control of the fan control device. Among them, the device parameters are obtained from the target device and are the device parameters obtained during the device parameter verification in step 120.
[0071] The fan control device also generates second parameter verification information based on the device parameters obtained from the target device. When the first parameter verification information sent by the target device is received, the first parameter verification information is compared with the second parameter verification information. If the two are different, it can be determined that the target device has not passed the parameter write verification; if the two are the same, it can be determined that the target device has passed the parameter write verification. Optionally, the first parameter verification information and the second parameter verification information can be CRC (Cyclic Redundancy Check) check codes.
[0072] If the parameter writing verification result indicates that the target device has passed the parameter writing verification, step S160 can be executed. If the parameter writing verification result indicates that the target device has failed the parameter writing verification, the software upgrade result of the target device can be determined as an upgrade failure, and the upgrade process is exited.
[0073] When the parameter write verification result indicates that the target device has passed the parameter write verification, the wind turbine control device can control the target device to perform pitch walking based on the program package to verify whether the program is normal through the pitch walking action, which is similar to a self-test process; the target device performs pitch walking and sends pitch walking process description information to the wind turbine control device after the pitch walking is completed.
[0074] Optionally, in this embodiment, the wind turbine control device can control the target device so that the target device sends a position command signal so that the blade first moves from a safe position to a target angle and then returns to a safe position. During the propeller movement, the target device can obtain at least any one of the blade position information, current information, and voltage information during the propeller movement process, and send it to the wind turbine control device as the propeller movement process description information.
[0075] The wind turbine control device obtains a pitching verification result according to the pitching process description information and the preset pitching information, wherein the pitching verification result is used to indicate whether the pitching verification has been passed. The preset pitching information is used to determine whether the pitching process description information is within a normal range. If it is not within the normal range, it can be determined that the pitching verification has not been passed; if it is within the normal range, it can be determined that the pitching verification has been passed.
[0076] In this embodiment, when the pitch verification result indicates that the pitch verification fails, it can be determined that the upgrade result of the target device is an upgrade failure.
[0077] In this embodiment, when the pitch verification result indicates that the pitch verification has passed, it is also possible to determine whether the target device has passed the safety position verification to obtain a safety position verification result. The safety position verification is used to verify whether the blade is in a safe position. Optionally, the current angle of the encoder and the signal emitted when the blade passes through the position of the limit switch, proximity switch, etc. during the pitching process can be used to synchronously verify whether it is in a safe position. Afterwards, the upgrade result can be obtained based on the safety position verification result.
[0078] If the security location check result indicates that the security location check fails, the upgrade result of the current software upgrade of the target device can be determined to be an upgrade failure. If the security location check result indicates that the security location check passes, the upgrade result of the current software upgrade of the target device can be determined to be an upgrade success.
[0079] Please refer to Figure 6 , Figure 6 The fourth flowchart of the method for software upgrading of the pitch system provided in the embodiment of the present application is as follows. In this embodiment, the method may further include steps S181 to S182.
[0080] Step S181, obtaining upgrade process description information according to the upgrade situation description information and the verification result obtained in the process of obtaining the upgrade result.
[0081] Step S182: Send the upgrade process description information and the upgrade result to a wind farm control device.
[0082] In this embodiment, the wind turbine control device can obtain the upgrade process description information based on the upgrade situation description information obtained in the process of obtaining the upgrade result and the verification results of various verifications performed. The upgrade process description information is used to indicate the various processing performed in the process of obtaining the upgrade result and the results corresponding to the various processing, and the results corresponding to the various processing include success and failure. The wind turbine control device can send the above-mentioned upgrade process description information and upgrade results to the wind farm control device. The wind farm control device can display and save the above-mentioned upgrade process description information and upgrade results, and can also send the above-mentioned upgrade process description information and upgrade results to other devices for display and saving. In this way, it is convenient for users to monitor the situation, and it is also convenient to check the cause of failure (that is, which step failed) when the upgrade fails, and it is also convenient to backtrack.
[0083] Optionally, as a possible implementation manner, the wind turbine control device may also send the information to the wind farm control device for display after obtaining the verification result after each verification or obtaining the upgrade description information, so that the user can monitor the upgrade progress.
[0084] Optionally, when the upgrade is successful, the information sent back by the fan control device may also include a version identifier of the software version, some important parameters (eg, motor configuration, transformation ratio configuration), etc.
[0085] In this embodiment, the wind turbine control device, the wind farm control device and the target device can be located in the intranet and connected by wired communication, and the preferred method can be a bus. The above-mentioned software upgrade of the variable pitch system through the remote bus solves the pain point of having to climb the tower to directly connect to the device for upgrading, has low upgrade costs, and has the advantages of fast and high efficiency; and solves the problems of poor connection stability and unknown upgrade status of wireless solutions; and also solves the problems of difficulty in authority management, difficulty in connection terminal management, easy misoperation, and easy cracking when upgrading through other wireless solutions, and has the advantage of high security.
[0086] In this embodiment, the user can publish the firmware task that needs to be upgraded through the client device, and the firmware is matched to the machine position that needs to be upgraded, that is, it is matched to which device of which wind turbine in which wind farm; the program is transferred through the server, and a flag is added during the transfer process. The wind farm control device downloads the corresponding task including the program through the network. The wind farm control device is connected to the wind turbine control device through the intranet, and the software is upgraded at the wind turbine control device. Among them, the wind farm control device first performs a communication handshake with the wind turbine control device, and then starts downloading and transferring the upgrade package, etc., so that the wind turbine control device obtains the target upgrade task. Afterwards, the wind turbine control device can control the software upgrade in the above manner to obtain the software upgrade result of the target device.
[0087] Combine the following Figure 7 , the software upgrade method of the above-mentioned variable pitch system is illustrated by examples.
[0088] The wind turbine control device performs software upgrades for the variable pitch system in the following manner. First, the wind turbine control device performs a version parameter check on the target device to obtain a version parameter check result. If the version parameter check result indicates that the check has not passed (i.e., the check has failed), the subsequent steps may no longer be performed, and the upgrade result of the target device this time is determined to be an upgrade failure, and the result of the failed upgrade and the reason for the failure to pass the version parameter check are transmitted back to the wind farm control device. If the version parameter check result indicates that the version parameter check has passed (i.e., the check has succeeded), a pre-upgrade safety check is performed on the target device.
[0089] If the pre-upgrade safety check result indicates that the pre-upgrade safety check has not been passed, the subsequent steps may not be performed, and the upgrade result of the target device is determined to be an upgrade failure, and the upgrade failure result and the information that the version parameter check has been passed and the pre-upgrade safety check has not been passed are returned to the wind farm control device. If the pre-upgrade safety check result indicates that the pre-upgrade safety check has been passed, the program package is sent to the target device so that the target device performs a program upgrade, and the upgrade status description information returned by the target device is obtained.
[0090] If the upgrade description information indicates that the target device confirms that its own program upgrade has failed (i.e., the corresponding Figure 7 If the upgrade is completed in the determination of whether the upgrade is completed (N), the subsequent steps may not be executed, and the upgrade result of the target device is determined to be an upgrade failure. The upgrade failure result and the information that the target device has passed the version parameter verification and the pre-upgrade safety verification and confirmed that the program upgrade failed are returned to the wind farm control device. If the upgrade description information indicates that the target device confirms that the program upgrade is successful (i.e., the corresponding Figure 7 In the case of Y in determining whether the upgrade is completed), a parameter write check can be performed on the target device.
[0091] If the parameter write verification result indicates that the target device has not passed the parameter write verification, the subsequent steps can be discontinued, and the upgrade result of the target device is determined to be an upgrade failure. The upgrade failure result and the information that the version parameter verification and pre-upgrade safety verification have been passed, the target device confirms that its own program upgrade has been successful, and the parameter write verification has failed are returned to the wind farm control device. If the parameter write verification result indicates that the target device has passed the parameter write verification, a propeller walking verification can be performed on the target device.
[0092] If the pitching verification result indicates that the target device has not passed the pitching verification, the subsequent steps may not be executed, and the upgrade result of the target device is determined to be an upgrade failure. The result of the upgrade failure and the information that the version parameter verification and pre-upgrade safety verification have been passed, the target device confirms that its own program upgrade has been successful, the parameter write verification has been passed, and the pitching verification has failed are returned to the wind farm control device. If the pitching verification result indicates that the target device has passed the pitching verification, a safety position verification may be performed on the target device.
[0093] If the result of the safety position check indicates that the target device has not passed the safety position check, the subsequent steps may not be executed, and the upgrade result of the target device this time may be determined to be an upgrade failure, and the result of the upgrade failure and the information that the version parameter check and the pre-upgrade safety check have been passed, the target device confirms that its own program upgrade has been successful, the parameter write check has been passed, the pitch check has been passed, and the safety position check has failed may be returned to the wind farm control device. If the result of the safety position check indicates that the target device has passed the safety position check, it may be determined that the upgrade result of the target device's software upgrade this time is a successful upgrade, and the result of the successful upgrade and the information that the version parameter check and the pre-upgrade safety check have been passed, the target device confirms that its own program upgrade has been successful, the parameter write check has been passed, the pitch check has been passed, and the safety position check has failed may be returned to the wind farm control device.
[0094] The software upgrade method of the above-mentioned variable pitch system can be used for variable pitch system firmware upgrade, variable pitch system firmware rollback, software testing and verification, etc. Among them, the software upgrade method of the above-mentioned variable pitch system is used for variable pitch system firmware upgrade, which means that the above-mentioned method can be used when the variable pitch software needs to be upgraded for updating or repairing problems of the variable pitch system, so there is no need to climb the tower to use the network cable or the cabin to use the wifi upgrade method. The above-mentioned method can be used to upgrade at the booster station or remotely, and multiple units can be upgraded at the same time. The software upgrade method of the above-mentioned variable pitch system is used for variable pitch system firmware rollback, which means that after a problem occurs in the new software of the variable pitch system, the above-mentioned method can be used to roll back the software version, and the original software solution can be used for rollback. The software upgrade method of the above-mentioned variable pitch system is used for software testing and verification, which means that after the new variable pitch software is launched, it needs to be tested and verified, or the software upgrade method is used to solve on-site problems. The above-mentioned method can be used, which is simple and fast and is not affected by abnormal factors such as on-site wind speed and thunderstorms.
[0095] The software upgrade method of the above-mentioned variable pitch system provided in the present embodiment can complete the transformation of the bus upgrade scheme by relying on the bus scheme of the existing wind turbine, and the transformation is fast and simple; and, compared with the on-site tower climbing upgrade to connect the drive, and the upgrade through WiFi in the cabin or at the bottom of the tower, which is affected by the on-site environmental conditions, the software upgrade task can be completed quickly and efficiently, and is not affected by the on-site environment, equipment and tools; at the same time, compared with the wireless scheme, the data transmission in this scheme through the bus is stable and reliable and can be monitored and verified, and the upgrade process and upgrade results can be monitored, and the upgrade process can be traced back; and, since the operation can be performed in the dedicated wind turbine intranet, the dedicated intranet has special protection measures such as operation permissions and firewalls, which can prevent abnormal upgrades due to misoperation, as well as prevent viruses and external network intrusions.
[0096] In order to execute the corresponding steps in the above embodiments and various possible methods, an implementation method of a software upgrade device 200 for a pitch control system is provided below. Optionally, the software upgrade device 200 for a pitch control system can adopt the above Figure 2 The device structure of the electronic device 110 is shown. Figure 8 , Figure 8 A block diagram of a software upgrade device 200 for a variable pitch system provided in an embodiment of the present application. It should be noted that the basic principle and technical effects of the software upgrade device 200 for a variable pitch system provided in this embodiment are the same as those in the above-mentioned embodiments. For the sake of brief description, for parts not mentioned in this embodiment, reference may be made to the corresponding contents in the above-mentioned embodiments. In this embodiment, the software upgrade device 200 for a variable pitch system is applied to a wind turbine control device of a wind turbine. The software upgrade device 200 for a variable pitch system may include: a task acquisition module 210 and a processing module 220.
[0097] The task acquisition module 210 is used to acquire a target upgrade task, wherein the target upgrade task includes a program package and task description information for indicating a target device to be upgraded, and the target device is in communication connection with the wind turbine control device.
[0098] The processing module 220 is used to send the program package to the target device to enable the target device to perform software upgrade, and receive upgrade status description information returned by the target device.
[0099] The processing module 220 is further configured to control the target device to perform the upgrade based on the program package when the upgrade description information indicates success, and receive the upgrade process description information returned by the target device.
[0100] The processing module 220 is further configured to obtain an upgrade result of the current software upgrade according to a pitching verification result obtained from the pitching process description information. When the pitching verification result indicates that the pitching verification has not passed, the upgrade result indicates that the current software upgrade has failed.
[0101] Optionally, the above modules can be stored in the form of software or firmware. Figure 2 The memory 111 shown in the figure may be fixed in the operating system (OS) of the electronic device 110 and may be Figure 2 The processor 112 in the processor 112 is executed. Meanwhile, the data, program codes, etc. required to execute the above modules can be stored in the memory 111.
[0102] An embodiment of the present application further provides a readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the software upgrade method of the variable pitch system is implemented.
[0103] In summary, the embodiment of the present application provides a method, device, electronic device and readable storage medium for software upgrading of a variable pitch system. When the wind turbine control device of the wind turbine obtains the target upgrade task, the program package in the target upgrade task is sent to the target device to be upgraded which is connected to the local machine and indicated by the task description information in the target upgrade task, so that the target device performs software upgrading and receives the upgrade situation description information returned by the target device; when the upgrade situation description information indicates that the target device confirms that the local machine has successfully completed the software upgrade, the target device is controlled to perform the paddle walking based on the program package, and the paddle walking process description information returned by the target device is received; finally, according to the paddle walking verification result obtained from the paddle walking process description information, the upgrade result of this software upgrade is obtained, wherein when the paddle walking verification result indicates that the paddle walking verification has not passed, the upgrade result indicates that this software upgrade has failed. In this way, the software upgrade of the variable pitch system can be automatically and efficiently completed, which is not affected by the on-site environment and equipment tools, and because the paddle walking verification is performed during the upgrade process, it can reduce the situation where the wind turbine has abnormal operation due to problems with the upgraded software after confirming that the upgrade is successful.
[0104] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are merely schematic. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to multiple embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of a code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.
[0105] In addition, the functional modules in the various embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
[0106] If the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0107] The above description is only an optional embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. A method for upgrading the software of a pitch control system, characterized in that: A wind turbine control device applied to a wind turbine generator, the method comprising: Obtaining a target upgrade task, wherein the target upgrade task includes a program package and task description information for indicating a target device to be upgraded, and the target device is in communication connection with the wind turbine control device; Sending the program package to the target device to enable the target device to perform software upgrade, and receiving upgrade description information returned by the target device; When the upgrade description information indicates success, controlling the target device to perform paddling based on the program package, and receiving paddling process description information returned by the target device; According to the pitching verification result obtained from the pitching process description information, the upgrade result of this software upgrade is obtained, wherein when the pitching verification result indicates that the pitching verification has not passed, the upgrade result indicates that this software upgrade has failed.
2. The method according to claim 1, characterized in that: The controlling the target device to perform paddling based on the program package and receiving paddling process description information returned by the target device includes: The target device is controlled so that the target device controls the blades to first move from a safe position to a target angle and then return to a safe position, wherein the moving blade process description information includes at least any one of the blade position information, current information, and voltage information during the moving blade process.
3. The method according to claim 1, characterized in that Before controlling the target device to perform paddling based on the program package, the method further includes: When the upgrade description information indicates that the target device software is successfully upgraded, sending the device parameters of the target device obtained before the upgrade to the target device so that the target device completes the write-back of the device parameters, and receiving first parameter verification information sent by the target device after the write-back is completed, wherein the device parameters are obtained from the target device; Comparing the first parameter verification information with second parameter verification information corresponding to the device parameters obtained before the upgrade to obtain a parameter write verification result; In a case where the parameter writing verification result indicates that the parameter writing verification has passed, the step of controlling the target device to perform a paddle move based on the program package is performed.
4. The method according to claim 1, characterized in that Before sending the program package to the target device to upgrade the software of the target device, and receiving the upgrade description information returned by the target device, the method further includes: Performing a pre-upgrade security check on the target device to obtain a pre-upgrade security check result; When the pre-upgrade security check result indicates that the pre-upgrade security check has passed, the steps of sending the program package to the target device to upgrade the software of the target device and receiving the upgrade status description information returned by the target device are performed.
5. The method according to claim 4, characterized in that The performing a pre-upgrade security check on the target device to obtain a pre-upgrade security check result includes: Obtaining at least any one of a blade position, an input voltage, a backup power supply voltage, and a pitch controller state as device state information; Determine whether the device status information meets the preset upgrade conditions to obtain the pre-upgrade safety verification result.
6. The method according to claim 4, characterized in that The method further comprises: Determine whether the current software version of the target device supports a preset upgrade method and whether a version upgrade is required, and obtain a version verification result; Obtaining device parameters of the target device and verifying the device parameters; Obtaining a version parameter verification result according to the device parameter verification result and the version verification result; When the version parameter verification result indicates that the version parameter verification has passed, the step of performing a pre-upgrade security verification on the target device to obtain a pre-upgrade security verification result is performed.
7. The method according to claim 1, characterized in that The upgrade result of this software upgrade is obtained according to the pitch verification result obtained from the pitch process description information, including: Obtaining the paddling verification result according to the preset paddling information and the paddling process description information, wherein the paddling verification result is used to indicate whether the paddling verification has passed; If the pitching verification result indicates that the pitching verification has passed, verifying whether the blade is in a safe position to obtain a safe position verification result; Obtaining the upgrade result according to the safety position verification result; In a case where the pitching verification result indicates that the pitching verification fails, the upgrade result is obtained according to the pitching verification result.
8. The method according to any one of claims 1 to 7, characterized in that: The wind turbine control device, the wind farm control device and the target device are located in an intranet and are connected to each other by wired communication; and / or, the method further includes: Obtaining upgrade process description information according to the upgrade situation description information and the verification result obtained in the process of obtaining the upgrade result, wherein the upgrade process description information is used to indicate various processes performed in the process of obtaining the upgrade result and the results corresponding to the various processes, and the results corresponding to the various processes include success and failure; The upgrade process description information and the upgrade result are sent to a wind farm control device, wherein the upgrade process description information and the upgrade result are used for display and storage.
9. A software upgrade device for a pitch control system, characterized in that: A fan control device applied to a wind turbine generator, the device comprising: A task acquisition module, used to acquire a target upgrade task, wherein the target upgrade task includes a program package and task description information for indicating a target device to be upgraded, and the target device is in communication connection with the wind turbine control device; A processing module, configured to send the program package to the target device to enable the target device to perform software upgrade, and receive upgrade status description information returned by the target device; The processing module is further configured to control the target device to perform paddling based on the program package when the upgrade description information indicates success, and receive paddling process description information returned by the target device; The processing module is further used to obtain an upgrade result of this software upgrade based on a pitch verification result obtained from the pitch process description information, wherein when the pitch verification result indicates that the pitch verification has not passed, the upgrade result indicates that this software upgrade has failed.
10. An electronic device, characterized in that: It comprises a processor and a memory, wherein the memory stores machine executable instructions that can be executed by the processor, and the processor can execute the machine executable instructions to implement the software upgrade method of the pitch system according to any one of claims 1 to 8.