A real-time simulation platform and method for wind turbines based on heterogeneous hardware
Through a real-time simulation platform for wind turbines based on heterogeneous hardware, combined with a central processor and a field programmable logic gate array computing board, high-precision real-time simulation of wind turbines is achieved, solving the problem of high simulation costs and model simplification in the existing technology. problems, improving simulation performance and versatility.
Patent Information
- Application Number
- CN202211053344.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-31
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2042-08-31
AI Technical Summary
Existing technology cannot effectively realize high-precision real-time simulation of wind turbines, resulting in high algorithm verification costs and low development efficiency. Moreover, the existing single-architecture computing platform cannot meet the computing needs of large-scale wind farms, resulting in simplified models that lose characteristics and lack versatility. .
A real-time simulation platform for wind turbines based on heterogeneous hardware is used, combined with a central processor and a field programmable logic gate array computing board, to achieve efficient communication through the user datagram protocol. It is equipped with a real-time simulation model developed by OpenFAST and a parallel electromagnetic Transient model, using Xenomai extended Linux hard real-time operating system and ARM built-in controller, to achieve second-level aerodynamics and microsecond-level electromagnetic transient simulation.
It achieves high-precision real-time simulation of wind turbines, reduces platform construction costs, improves simulation performance and versatility, breaks the monopoly of high-cost simulation platforms, simplifies the development process, and supports advanced algorithm verification and hardware controller interfaces.
Smart Images

Figure CN115356950B
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of simulation, and in particular relates to a real-time simulation platform and method for a wind turbine generator set based on heterogeneous hardware. Background Art
[0002] With the development of society, the output of wind power generation has shown a doubling trend, and the scale of wind power development has continued to expand. It can be seen that wind power development will continue to maintain rapid growth in the next few years, and the level of wind power utilization will be further improved. However, the increase in wind power penetration has also brought a series of problems. For large-scale wind farms, the actual verification cost of advanced algorithms such as the impact of wind power grid connection on power system stability, wind turbine control strategies, and fault prediction is getting higher and higher. Therefore, there is an urgent need for a real-time simulation platform that can carry high-precision simulation models to reduce the cost of algorithm verification and improve the efficiency of algorithm development.
[0003] The inventors found that, at present, for high-precision real-time simulation platforms, on the one hand, high-precision wind turbine models have nonlinear, multi-physics field coupling and multi-time scale computing characteristics, which require high computing power; on the other hand, the existing single-architecture computing platform cannot achieve real-time simulation under such a large amount of computing, resulting in most existing studies simplifying wind turbine models for different research fields, causing the models to lose some significant characteristics of wind turbines. In addition, some existing simplified wind turbine models that use static power coefficient models instead of aerodynamic models, simulation models that only consider the main vibration modes, and simplify the generator and converter models of wind turbines into first-order lag links are not universal, and cannot develop and verify advanced algorithms involving multiple physical fields. Some models have the problem of high cost, which is not conducive to the promotion and use of simulation platforms in the wind power industry. Summary of the invention
[0004] In order to solve the above problems, the present invention proposes a real-time simulation platform and method for wind turbines based on heterogeneous hardware, and establishes a low-cost real-time simulation platform capable of carrying high-precision wind turbine models, which is beneficial to the healthy development of the wind power industry and breaks the barrier of high-cost real-time simulation platform design technology.
[0005] In order to achieve the above objectives, in a first aspect, the present invention provides a real-time simulation platform for wind turbines based on heterogeneous hardware, which adopts the following technical solutions:
[0006] A real-time simulation platform for wind turbines based on heterogeneous hardware, comprising a central processing unit computing board and a field programmable logic gate array computing board; the central processing unit computing board and the field programmable logic gate array computing board communicate with each other via a user datagram protocol;
[0007] The central processing unit computing board stores a secondary developed real-time simulation model, which is used to realize aerodynamic simulation and mechanical dynamics simulation of wind turbines with an update speed of seconds;
[0008] The field programmable logic gate array computing board stores an electrical part model of the wind turbine generator set, and the electrical part model is used to realize electromagnetic transient simulation with a data update speed of microsecond level.
[0009] Furthermore, the central processing unit computing board uses a Linux hard real-time operating system extended by Xenomai.
[0010] Furthermore, the pneumatic model and the fan mechanical model in the real-time simulation model based on the secondary development of OpenFAST are run in the central processing unit computing board.
[0011] Furthermore, in the field programmable logic gate array computing board, a parallelized electromagnetic transient model of the wind turbine is established, and the computing time of each step is constrained to within a preset microsecond through decoupled computing and hardware circuit optimization.
[0012] Furthermore, the central processing unit computing board and the field programmable gate array computing board perform bidirectional data exchange via a user datagram protocol implemented under a real-time network protocol stack.
[0013] Furthermore, ARM is used as the built-in controller for wind turbine simulation.
[0014] Furthermore, the wind turbine control strategy is implemented in the ARM, and pitch, yaw and converter switch instructions are issued to the models in the central processing unit computing board and the field programmable logic gate array computing board.
[0015] Furthermore, the field programmable gate array computing board reserves interfaces for RT-Lab and PLC hardware controller.
[0016] Furthermore, a timer is provided in the field programmable logic gate array computing board, and the timer generates a pulse at each designated time point, thereby controlling the opening of the electromagnetic transient model and the reception and transmission of data.
[0017] In order to achieve the above-mentioned purpose, in a second aspect, the present invention further provides a real-time simulation method for a wind turbine generator system based on heterogeneous hardware, which adopts the following technical solution:
[0018] A real-time simulation method for a wind turbine generator system based on heterogeneous hardware adopts the real-time simulation platform for a wind turbine generator system based on heterogeneous hardware as described in the first aspect, comprising:
[0019] Obtain a simulation task, and determine whether the simulation task is an aerodynamic simulation, a mechanical dynamics simulation, or an electromagnetic transient simulation;
[0020] If the simulation task is aerodynamic simulation and / or mechanical dynamics simulation, the real-time simulation model based on OpenFAST secondary development in the central processing unit computing board is used to realize the aerodynamic simulation and / or mechanical dynamics simulation of the wind turbine with an update speed of seconds;
[0021] If the simulation task is electromagnetic transient simulation, the electrical part model of the wind turbine in the field programmable logic gate array calculation board is used to implement electromagnetic transient simulation with a data update speed of microseconds.
[0022] Compared with the prior art, the present invention has the following beneficial effects:
[0023] 1. The real-time simulation platform for wind turbines in the present invention comprises a central processing unit computing board and a field programmable logic gate array computing board communicating through a user datagram protocol. If the simulation task is aerodynamic simulation and / or mechanical dynamics simulation, the real-time simulation model based on OpenFAST secondary development in the central processing unit computing board is used to realize aerodynamic simulation and / or mechanical dynamics simulation of wind turbines with an update speed of seconds; if the simulation task is electromagnetic transient simulation, the electrical part model of the wind turbine in the field programmable logic gate array computing board is used to realize electromagnetic transient simulation with a data update speed of microseconds; the present invention can realize high-precision real-time simulation of wind turbines through a self-designed heterogeneous hardware platform, breaking the monopoly of high-cost real-time simulation technology of wind turbines, placing simulation models with different computing power requirements in computing boards with different computing powers, achieving optimal real-time performance, reducing platform construction costs, and realizing the versatility of the simulation platform;
[0024] 2. The CPU computing board in the present invention has good universality and is convenient for adding advanced algorithm interfaces;
[0025] 3. In the present invention, the CPU computing board and the FPGA computing board use the User Datagram Protocol communication protocol implemented under RTnet, without the need to add an additional communication module, thereby reducing the complexity of the platform structure, improving the reliability of the platform operation, and reducing the development cost;
[0026] 4. The wind turbine control strategy developed based on Simulink in the present invention can be directly burned into the ARM computing board after packaging, which greatly reduces the development workload and simplifies the development process;
[0027] 5. In the present invention, one set of simulation platforms corresponds to one wind turbine. The number of simulation platforms can be freely increased or decreased according to the scale of the wind farm without affecting the simulation performance;
[0028] 6. The present invention reserves an external hardware controller interface, which can be easily connected to include but not limited to actual converters, PLC controllers and wind turbine pitch angle controllers, thereby realizing functions such as hardware-in-the-loop simulation and hardware controller performance testing. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] The drawings in the specification that constitute a part of this embodiment are used to provide a further understanding of this embodiment. The schematic embodiments of this embodiment and their descriptions are used to explain this embodiment and do not constitute improper limitations on this embodiment.
[0030] Figure 1 This is a schematic diagram of the structure of Example 1 of the present invention. DETAILED DESCRIPTION
[0031] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.
[0032] It should be noted that the following detailed descriptions are exemplary and are intended to provide further explanation of the present application. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present application belongs.
[0033] Embodiment 1:
[0034] like Figure 1 As shown, this embodiment provides a real-time simulation platform for wind turbines based on heterogeneous hardware. This platform places the calculation of the wind turbine simulation model in computing boards with different computing powers according to the computing power requirements of different physical fields, specifically including a central processing unit (CPU) computing board and a field programmable gate array (FPGA) computing board;
[0035] A real-time simulation model based on the secondary development of OpenFAST runs on the CPU computing board to realize aerodynamic simulation and / or mechanical dynamic simulation of wind turbines with an update speed of seconds;
[0036] The FPGA computing board runs a model of the electrical part of the wind turbine generator set to achieve electromagnetic transient simulation with a data update speed of microseconds;
[0037] The CPU and FPGA achieve real-time communication through the User Datagram Protocol (UDP) communication protocol implemented under the open source real-time network protocol stack (RTnet).
[0038] The ARM controller can be selected as the built-in controller for wind turbine simulation, and hardware controller interfaces such as RT-Lab and PLC can be reserved.
[0039] In this embodiment, the CPU computing board uses a Linux hard real-time operating system extended by Xenomai. According to the real-time simulation model based on the secondary development of OpenFAST, the wind turbine aerodynamic model and the wind turbine mechanical model are partially run in the CPU computing board.
[0040] A parallelized electromagnetic transient model of a wind turbine is established in the FPGA computing board. Through decoupling calculation and hardware circuit optimization, the calculation time of each step is constrained to within a preset microsecond, for example, the calculation time of each step is constrained to within 10 microseconds to meet the needs of real-time simulation. Specifically, in some embodiments, the decoupling calculation can use the MNA model to divide the electrical network of the double-fed wind turbine model into a converter network module and two electrical network modules; after the division, each module can perform a certain degree of parallel operation through coding. Hardware circuit optimization can be understood as: matrix calculation requires a large number of addition and multiplication operations. This platform reasonably configures the number of adders and multipliers in each matrix operation according to the amount of FPGA resources and the amount of model calculation, and maximizes the calculation efficiency while saving limited computing resources; matrix calculation also requires a large number of loop operations. This platform reasonably divides each network matrix to increase the number of read and write pins of data in RAM, so that the original single loop calculation is upgraded from only being able to read and write one matrix data each time to multiple matrix data at the same time, thereby improving the parallelism of matrix loop operations. Currently, the core algorithm in the FPGA board occupies about 30% of the computing resources, and the single operation time is less than 10 microseconds.
[0041] The CPU computing board and the FPGA computing board can perform bidirectional data exchange through the UDP communication protocol implemented under RTnet, realize "mechanical-electromagnetic" coupling, and maintain the overall operation of the heterogeneous simulation platform.
[0042] An ARM computing board is selected to implement the wind turbine control strategy developed based on Simulink, and pitch, yaw and converter switch instructions are issued to the models in the CPU computing board and the FPGA computing board.
[0043] The FPGA computing board has reserved interfaces for hardware controllers such as RT-Lab and PLC, and users can switch between the built-in ARM controller and the external hardware controller according to simulation requirements.
[0044] The CPU computing board and the FPGA computing board achieve two-way communication through RTnet to form a complete closed-loop simulation; through the open source real-time operating system extension, the open source OpenFAST software that has passed GL certification, the open source real-time network protocol framework, the independently developed parallel decoupled electromagnetic transient simulation model, and the heterogeneous hardware platform design, the platform cost can be greatly reduced while ensuring the real-time simulation of Kyoto.
[0045] The working principle or process of this embodiment is as follows:
[0046] The CPU computing board sends the calculated wind turbine speed to the FPGA computing board through the UDP communication protocol implemented under RTnet, and the electromagnetic torque is calculated by the electromagnetic transient model in the FPGA, and the calculated data is returned to the CPU computing board to form a complete closed-loop simulation.
[0047] The hard real-time operating system embedded in the CPU computing board can ensure that the internal real-time threads strictly run under hard real-time conditions.
[0048] The electromagnetic transient model in the FPGA computing board includes a step-up transformer, a three-phase line, a fault simulation circuit, a grid load, a generator, and a converter model, etc. The model simulation step is 10 microseconds, which can fully meet the needs of real-time simulation while ensuring the simulation accuracy.
[0049] The FPGA computing board may be provided with a timer, which generates a pulse at each specified time point, thereby controlling the start of the electromagnetic transient model and the reception and transmission of data to ensure real-time performance.
[0050] The wind turbine control strategy in the ARM computing board sends a converter switching instruction to the FPGA through the SPWM modulation chip, and then the FPGA calculates the admittance matrix according to the converter switching instruction.
[0051] Embodiment 2:
[0052] A real-time simulation method for a wind turbine generator system based on heterogeneous hardware, using the real-time simulation platform for a wind turbine generator system based on heterogeneous hardware as described in Example 1, comprising:
[0053] Obtain a simulation task, and determine whether the simulation task is an aerodynamic simulation, a mechanical dynamics simulation, or an electromagnetic transient simulation;
[0054] If the simulation task is aerodynamic simulation and / or mechanical dynamics simulation, the real-time simulation model based on OpenFAST secondary development in the central processing unit computing board is used to realize the aerodynamic simulation and / or mechanical dynamics simulation of the wind turbine with an update speed of seconds;
[0055] If the simulation task is electromagnetic transient simulation, the electrical part model of the wind turbine in the field programmable logic gate array calculation board is used to implement electromagnetic transient simulation with a data update speed of microseconds.
[0056] The above description is only a preferred embodiment of the present embodiment and is not intended to limit the present embodiment. For those skilled in the art, the present embodiment may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present embodiment shall be included in the protection scope of the present embodiment.
Claims
1. A real-time simulation platform for wind turbines based on heterogeneous hardware, characterized in that: It includes a central processing unit computing board and a field programmable logic gate array computing board; the central processing unit computing board and the field programmable logic gate array computing board communicate with each other through a user datagram protocol; The central processing unit computing board stores a secondary developed real-time simulation model, which is used to realize aerodynamic simulation and mechanical dynamics simulation of wind turbines with an update speed of seconds; The field programmable logic gate array computing board stores an electrical part model of the wind turbine generator set, and the electrical part model is used to realize electromagnetic transient simulation with a data update speed of microseconds; ARM is used as a built-in controller for wind turbine simulation; wind turbine control strategy is implemented in ARM, and pitch, yaw and converter switch instructions are issued to the models in the central processing unit computing board and the field programmable logic gate array computing board; The wind turbine control strategy in the ARM computing board sends a converter switch instruction to the FPGA through the SPWM modulation chip, and then the FPGA calculates the admittance matrix according to the converter switch instruction; The field programmable logic gate array computing board reserves interfaces for RT-Lab and PLC hardware controller.
2. A wind turbine real-time simulation platform based on heterogeneous hardware as claimed in claim 1, characterized in that: The central processing unit computing board uses the Linux hard real-time operating system expanded by Xenomai.
3. A real-time simulation platform for wind turbines based on heterogeneous hardware as claimed in claim 1, characterized in that: The pneumatic model and the fan mechanical model in the real-time simulation model based on the secondary development of OpenFAST are run in the central processing unit computing board.
4. A real-time simulation platform for wind turbines based on heterogeneous hardware as claimed in claim 1, characterized in that: In the field programmable logic gate array computing board, a parallelized electromagnetic transient model of the wind turbine is established, and the computing time of each step is constrained to within a preset microsecond through decoupling calculation and hardware circuit optimization.
5. A real-time simulation platform for wind turbines based on heterogeneous hardware as claimed in claim 1, characterized in that: The central processing unit computing board and the field programmable logic gate array computing board perform bidirectional data exchange via a user datagram protocol implemented under a real-time network protocol stack.
6. A real-time simulation platform for wind turbines based on heterogeneous hardware as claimed in claim 1, characterized in that: The field programmable logic gate array computing board is provided with a timer, and the timer generates a pulse at each designated time point, thereby controlling the opening of the electromagnetic transient model and the reception and transmission of data.
7. A real-time simulation method for wind turbines based on heterogeneous hardware, characterized in that: A wind turbine real-time simulation platform based on heterogeneous hardware as described in any one of claims 1 to 6 is adopted, comprising: Obtain a simulation task, and determine whether the simulation task is an aerodynamic simulation, a mechanical dynamics simulation, or an electromagnetic transient simulation; If the simulation task is aerodynamic simulation and / or mechanical dynamics simulation, the real-time simulation model based on OpenFAST secondary development in the central processing unit computing board is used to realize the aerodynamic simulation and / or mechanical dynamics simulation of the wind turbine with an update speed of seconds; If the simulation task is electromagnetic transient simulation, the electrical part model of the wind turbine in the field programmable logic gate array calculation board is used to implement electromagnetic transient simulation with a data update speed of microseconds.
Citation Information
Patent Citations
Wind power controller grid-connected testing system based on real-time simulation
CN106054854A
Configurable wind farm three-dimensional simulation secondary development platform
CN106407537A
Wind turbine generator control system hardware in-loop simulation and test platform
CN106980272A
Parallel heterogeneous simulation method for ADPSS double-fed fan closed-loop test
CN109190320A
Power distribution network transient real-time simulation system and method
CN109991874A
