A hardware DC wind power generation system simulation method and device based on FPGA

Through the hardware simulation method based on FPGA, a wind power generation system model is built and a vector control method is adopted, and the real-time simulation problem of DC wind power generation system is solved, efficient and low-cost simulation effect is achieved, and the gap in the existing technology is filled.

CN114595550BActive Publication Date: 2024-11-05TIANJIN UNIV +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111326322.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-10
Publication Date
2024-11-05
Estimated Expiration
2041-11-10

AI Technical Summary

Technical Problem

The existing technology still lacks results in the research of real-time simulators for DC distributed power supplies, and it is difficult to effectively simulate real-time DC wind power generation systems, resulting in high costs and waste of resources.

Method used

Using the hardware simulation method based on FPGA, the power capture model, permanent magnet synchronous generator model, rectifier model, controller model and SVPWM model are constructed, and real-time simulation of the wind power system is realized through vector control methods.

Benefits of technology

It reduces cost and saves internal resources, and efficient real-time simulation of DC distributed power supplies is carried out, improving simulation accuracy and speed.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114595550B_ABST
    Figure CN114595550B_ABST
Patent Text Reader

Abstract

The present invention provides a method and device for simulating a hardware DC wind power generation system based on FPGA, which relates to the technical field of wind power simulation. The method includes: obtaining wind turbine group parameters and constructing a wind power generation system power capture model based on the wind turbine group parameters to simulate the wind turbine group aerodynamic system; constructing a permanent magnet synchronous generator model to convert wind energy captured by the wind turbine group aerodynamic system into electrical energy, simulating the hardware models of power electronic switch devices and passive components in the rectifier model, simulating the hardware calculation models of transfer function elements in the first controller model and the second controller model; and using a vector control method to adjust the SVPWM model output duty cycle to control the constructed permanent magnet synchronous generator model. The method and device provided by the present invention can reduce the cost while saving internal resources, and perform real-time simulation of DC distributed power sources.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of wind power simulation, and in particular to a FPGA-based hardware DC wind power generation system simulation method and device. Background Art

[0002] The DC distribution network is a new type of power distribution network proposed to more widely accept distributed power sources and more reliably supply DC loads. Compared with the AC distribution network, the DC distribution network has many advantages such as large transmission capacity and low transmission loss rate.

[0003] As the real-time simulation technology of large power grids becomes more mature, many scholars have begun to focus on the research of real-time simulation of distribution networks. Compared with traditional AC distribution networks, DC distribution networks contain more diverse energy forms, faster energy flow and information flow, and higher coupling. DC distribution networks can directly accept distributed energy such as wind power generation, photovoltaic power generation and energy storage devices. At the same time, one of the main application areas of real-time simulation technology is hardware-in-the-loop testing of distributed power sources. Among the many forms of distributed power sources, wind power generation has developed rapidly and has a wide range of applications. Wind power generation systems can be directly connected to DC distribution networks through flexible devices, thereby eliminating more complex inverter devices, which can save a lot of initial investment. The real-time simulator of DC wind power generation systems can realize the numerical simulation of wind power generation devices and their corresponding power electronic devices at real-time or even super real-time numerical calculation speeds. However, there is still a lack of certain results in the research of real-time simulators of DC distributed power sources. Summary of the invention

[0004] In view of this, the purpose of the present invention is to provide a hardware DC wind power generation system simulation method and device based on FPGA, so as to reduce the cost while saving internal resources and perform real-time simulation of DC distributed power sources.

[0005] The present invention provides a hardware DC wind power generation system simulation method based on FPGA.

[0006] The DC wind power generation system includes a wind power generation system power capture model, a permanent magnet synchronous generator model, a rectifier model, a first controller model, a second controller model, a SVPWM model, a PWM model and a DC / DC converter model;

[0007] The wind power generation system power capture model, the permanent magnet synchronous generator model, the rectifier model and the DC / DC converter model are connected in sequence, the SVPWM model is connected to the first controller and controls the rectifier model, and the second controller model is connected to the PWM model and controls the PWM model DC / DC converter model;

[0008] The simulation method is specifically carried out in the following steps:

[0009] Acquiring wind turbine group parameters and constructing a wind power generation system power capture model based on the wind turbine group parameters to simulate the wind turbine group aerodynamic system;

[0010] Constructing a permanent magnet synchronous generator model to convert wind energy captured by the wind turbine aerodynamic system into electrical energy, simulating the hardware models of power electronic switch devices and passive components in the rectifier model, and simulating the hardware calculation models of transfer function elements in the first controller model and the second controller model;

[0011] A vector control method is used to adjust the output duty cycle of the SVPWM model to control the constructed permanent magnet synchronous generator model.

[0012] Preferably, acquiring wind turbine group parameters and constructing a wind power generation system power capture model based on the wind turbine group parameters to simulate the wind turbine group aerodynamic system comprises:

[0013] The wind power generation system power capture model satisfies the following formula:

[0014]

[0015] C p (λ,β)=0.5176(116 / λ i -0.4β-5)exp(-21 / λ i )+0.0068λ

[0016]

[0017] λ=ω r R a / V w

[0018] P m — Wind turbines capture power;

[0019] P w — the total power blowing through the wind turbine;

[0020] V w — wind speed;

[0021] S—the swept area of ​​the wind wheel;

[0022] C p (λ,β)—wind energy utilization coefficient;

[0023] λ—tip speed ratio;

[0024] β—blade pitch angle;

[0025] The mechanical torque output by the wind turbine is obtained

[0026] T m =P m / ω r .

[0027] T m — mechanical torque;

[0028] Preferably, the step of constructing a permanent magnet synchronous generator model to convert wind energy captured by the aerodynamic system of the wind turbine into electrical energy comprises:

[0029]

[0030] s—differential operator;

[0031] i d 、i q — respectively the d-axis and q-axis currents of the permanent magnet motor;

[0032] u d 、u q —d-axis and q-axis voltage components;

[0033] ω e is the electrical angular velocity and ω e =N p ω r ;

[0034] ω r is the rotor speed;

[0035] N p is the number of pole pairs of the permanent magnet motor;

[0036] R a is the stator resistance;

[0037] L d , L q —d-axis and q-axis inductance components;

[0038] λ0—permanent magnet flux;

[0039] Preferably, the step of simulating the power electronic switch device and the passive component hardware model in the rectifier model comprises:

[0040] The power electronic switch devices and passive component hardware models in the rectifier model are simulated using the trapezoidal difference method, using the following formula:

[0041] i(t)=G eq u(t)+A1u(t-Δt)+A2i(t-Δt)

[0042] u(t)—line voltage at the current moment;

[0043] u(t-Δt)—line voltage at the previous moment;

[0044] i(t-Δt)—the current flowing through the line at a certain moment;

[0045] The G eq , A1 and A2 satisfy the following Table 1:

[0046] Table 1: G under trapezoidal difference method eq , A1 and A2 value summary

[0047]

[0048] C—capacitor capacitance value;

[0049] L—inductance value of inductor;

[0050] R s —Switching device simulated resistance value;

[0051] C s —Switching device simulation capacitance value;

[0052] L s —Switching device simulated inductance value;

[0053]

[0054] Preferably, the step of simulating the hardware calculation model of the transfer function element in the first controller model and the second controller model comprises:

[0055] The first controller model and the second controller model are modeled using the trapezoidal difference method:

[0056] The transfer function of a general first-order inertia link commonly used in control loops is as follows:

[0057]

[0058] T0, T1, and K0 are all setting coefficients;

[0059] u(t)=A[e(t)+e(t-Δt)]+Bu(t-Δt);

[0060]

[0061] B = 1;

[0062] e(t), e(t-Δt)—input signals of the inertia link at the current moment and the previous moment;

[0063] u(t-Δt)—output signal at the previous moment.

[0064] Preferably, the step of using the vector control method to adjust the output duty cycle of the SVPWM model to control the constructed permanent magnet synchronous generator model includes:

[0065] Obtaining the output voltage of the first controller to perform sector determination:

[0066] Obtaining a first intermediate quantity T1 and a second intermediate quantity T2 based on the result of the sector determination;

[0067] The first intermediate quantity T1 and the second intermediate quantity T2 are shown in Table 2:

[0068] Table 2: First intermediate quantity T1 and second intermediate quantity T2

[0069] Sector I II III IV V VI T1 Z Y -Z -X X -Y T2 Y -X X Z -Y -Z

[0070]

[0071] V α 、V β —The voltage on the α and β axes after coordinate transformation; V dc - Line DC side voltage;

[0072] Table 3 is used to obtain the sector vector switching point based on the first intermediate quantity T1, the second intermediate quantity T2, and the result of the sector determination to obtain the target vector voltage;

[0073] Table 3: Sector vector switching point values

[0074] Sector I II III IV V VI <![CDATA[T cm1 ]]> <![CDATA[T b ]]> <![CDATA[T a ]]> <![CDATA[T a ]]> <![CDATA[T c ]]> <![CDATA[T c ]]> <![CDATA[T b ]]> <![CDATA[T cm2 ]]> <![CDATA[T a ]]> <![CDATA[T c ]]> <![CDATA[T b ]]> <![CDATA[T b ]]> <![CDATA[T a ]]> <![CDATA[T c ]]> <![CDATA[T cm3 ]]> <![CDATA[T c ]]> <![CDATA[T b ]]> <![CDATA[T c ]]> <![CDATA[T a ]]> <![CDATA[T b ]]> <![CDATA[T a ]]>

[0075] Among them, T a , T b and T c The values ​​are as follows:

[0076]

[0077] T - PWM period.

[0078] On the other hand, the present invention provides a hardware DC wind power generation system simulation device based on FPGA, comprising:

[0079] A first simulation module: used for acquiring wind turbine group parameters and constructing a wind power generation system power capture model based on the wind turbine group parameters to simulate the wind turbine group aerodynamic system;

[0080] The second simulation module is used to construct a permanent magnet synchronous generator model to convert wind energy captured by the aerodynamic system of the wind turbine into electrical energy, simulate the hardware models of the power electronic switch devices and passive components in the rectifier model, and simulate the hardware calculation models of the transfer function elements in the first controller model and the second controller model;

[0081] The third simulation module is used to adjust the output duty cycle of the SVPWM model by adopting a vector control method to control the constructed permanent magnet synchronous generator model.

[0082] The embodiments of the present invention bring the following beneficial effects: The present invention provides a method and device for simulating a hardware DC wind power generation system based on FPGA, the method comprising: obtaining wind turbine group parameters and constructing a wind power generation system power capture model based on the wind turbine group parameters to simulate the wind turbine group aerodynamic system; constructing a permanent magnet synchronous generator model to convert wind energy captured by the wind turbine group aerodynamic system into electrical energy, simulating the hardware models of power electronic switch devices and passive components in the rectifier model, simulating the hardware calculation models of transfer function elements in the first controller model and the second controller model; using a vector control method to adjust the SVPWM model output duty cycle to control the constructed permanent magnet synchronous generator model. The method and device provided by the present invention can reduce the cost while saving internal resources, and perform real-time simulation of DC distributed power sources.

[0083] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention are realized and obtained by the structures particularly pointed out in the description, claims and drawings.

[0084] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0085] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0086] Figure 1 A wind power generation system power capture model based on an FPGA hardware DC wind power generation system simulation method provided by an embodiment of the present invention;

[0087] Figure 2 A FPGA-based hardware DC wind power generation system simulation method provided by the embodiment of the present invention is a dq coordinate system equivalent circuit model of a permanent magnet synchronous generator of a wind power generation system;

[0088] Figure 3 A hardware DC wind power generation system simulation method based on FPGA and a permanent magnet synchronous generator model hardware circuit of a wind power generation system are provided in an embodiment of the present invention;

[0089] Figure 4 A hardware DC wind power generation system simulation method based on FPGA and an equivalent model of the switch circuit of the wind power generation system provided by the embodiment of the present invention;

[0090] Figure 5 A hardware DC wind power generation system simulation method based on FPGA provided by the embodiment of the present invention is a hardware model of the first-order inertia link of the wind power generation system;

[0091] Figure 6 A hardware DC wind power generation system simulation method based on FPGA provided by an embodiment of the present invention; a spatial vector distribution diagram of a wind power generation system;

[0092] Figure 7 A hardware DC wind power generation system simulation method based on FPGA and a wind power generation system sector judgment hardware model are provided in an embodiment of the present invention;

[0093] Figure 8 A hardware calculation model T1 and T2 of a FPGA-based hardware DC wind power generation system simulation method provided in an embodiment of the present invention;

[0094] Fig. 9 A hardware calculation model T1 and T2 of a FPGA-based hardware DC wind power generation system simulation method provided in an embodiment of the present invention;

[0095] Fig.10 A hardware DC wind power generation system simulation method based on FPGA provided by the embodiment of the present invention System structure and segmentation diagram

[0096] Fig.11 A hardware DC wind power generation system simulation method based on FPGA provided by the embodiment of the present invention, each sub-module solution and data retention timing diagram

[0097] Fig.12 The present invention provides a controller settlement structure and data management unit for various simulation methods of a hardware DC wind power generation system based on FPGA. DETAILED DESCRIPTION

[0098] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0099] At present, real-time simulation devices based on Field Programmable Gate Array (FPGA) have outstanding multi-threaded parallel computing performance. Compared with mainstream commercial transient simulation platforms, they have many advantages such as low cost and rich internal resources. Based on this, an FPGA-based hardware DC wind power generation system simulation method and device provided in an embodiment of the present invention can reduce the cost while saving internal resources and perform real-time simulation of DC distributed power sources.

[0100] To facilitate understanding of this embodiment, a FPGA-based hardware DC wind power generation system simulation method disclosed in an embodiment of the present invention is first introduced in detail.

[0101] Embodiment 1

[0102] The present invention provides a hardware DC wind power generation system simulation method based on FPGA.

[0103] The DC wind power generation system includes a wind power generation system power capture model, a permanent magnet synchronous generator model, a rectifier model, a first controller model, a second controller model, a SVPWM model, a PWM model and a DC / DC converter model;

[0104] The wind power generation system power capture model, the permanent magnet synchronous generator model, the rectifier model and the DC / DC converter model are connected in sequence, the SVPWM model is connected to the first controller and controls the rectifier model, and the second controller model is connected to the PWM model and controls the PWM model DC / DC converter model;

[0105] The simulation method is specifically carried out in the following steps:

[0106] Acquiring wind turbine group parameters and constructing a wind power generation system power capture model based on the wind turbine group parameters to simulate the wind turbine group aerodynamic system;

[0107] Combination Figure 1 Furthermore, the wind turbine group parameters include the wind turbine radius (R t ), rotational inertia constant (J t )wait;

[0108] Constructing a permanent magnet synchronous generator model to convert wind energy captured by the wind turbine aerodynamic system into electrical energy, simulating the hardware models of power electronic switch devices and passive components in the rectifier model, and simulating the hardware calculation models of transfer function elements in the first controller model and the second controller model;

[0109] Furthermore, the construction of the permanent magnet synchronous generator model requires the d and q axis inductances (L d , L q )、stator resistance (R a ), permanent magnet flux (λ0), etc.

[0110] A vector control method is used to adjust the output duty cycle of the SVPWM model to control the constructed permanent magnet synchronous generator model.

[0111] Preferably, acquiring wind turbine group parameters and constructing a wind power generation system power capture model based on the wind turbine group parameters to simulate the wind turbine group aerodynamic system comprises:

[0112] The wind power generation system power capture model satisfies the following formula:

[0113]

[0114] C p (λ,β)=0.5176(116 / λ i -0.4β-5)exp(-21 / λ i )+0.0068λ

[0115]

[0116] λ=ω r R a / V w

[0117] P m — Wind turbines capture power;

[0118] P w — the total power blowing through the wind turbine;

[0119] V w — wind speed;

[0120] S—the swept area of ​​the wind wheel;

[0121] C p (λ,β)—wind energy utilization coefficient;

[0122] λ—tip speed ratio;

[0123] β—blade pitch angle;

[0124] The mechanical torque output by the wind turbine is obtained

[0125] T m =P m / ω r .

[0126] T m — mechanical torque;

[0127] According to the aerodynamic characteristics of the wind turbine, the parallel computing model and simulation computing architecture of the FPGA-based wind energy capture system are determined. In order to save FPGA hardware resources, the constant terms are pre-stored in the on-chip RAM of the FPGA with sufficient storage units. When the calculation is to be performed, the required corresponding data is read from the RAM and used in the calculation.

[0128] Combination Figure 2 as well as Figure 3 Preferably, the step of constructing a permanent magnet synchronous generator model to convert wind energy captured by the aerodynamic system of the wind turbine into electrical energy comprises:

[0129]

[0130] s—differential operator;

[0131] i d 、i q — respectively the d-axis and q-axis currents of the permanent magnet motor;

[0132] u d 、u q —d-axis and q-axis voltage components;

[0133] ω e is the electrical angular velocity and ω e =N p ω r ;

[0134] ω r is the rotor speed;

[0135] N p is the number of pole pairs of the permanent magnet motor;

[0136] R a is the stator resistance;

[0137] L d , L q —d-axis and q-axis inductance components;

[0138] λ0—permanent magnet flux;

[0139] Because the d-axis and q-axis are naturally decoupled, the parallel computing performance of FPGA can be fully utilized. FPGA can calculate the two axes in parallel at the same time, thus saving computing time.

[0140] The switch element modeling method adopted in the present invention is the Associated Discrete Circuit (ADC) method, that is, when the switch is open, a capacitor and a resistor are used in series for simulation; when the switch is closed, an inductor is used for simulation;

[0141] Combination Figure 4 Preferably, the step of simulating the power electronic switch device and the passive component hardware model in the rectifier model comprises:

[0142] i(t)=G eq u(t)+A1u(t-Δt)+A2i(t-Δt)

[0143] u(t)—line voltage at the current moment;

[0144] u(t-Δt)—line voltage at the previous moment;

[0145] i(t-Δt)—the current flowing through the line at a certain moment;

[0146] The G eq , A1 and A2 satisfy the following Table 1:

[0147] Table 1: G under trapezoidal difference method eq , A1 and A2 value summary

[0148]

[0149] C—capacitor capacitance value;

[0150] L—inductance value of inductor;

[0151] R s —Switching device simulated resistance value;

[0152] C s —Switching device simulation capacitance value;

[0153] L s —Switching device simulated inductance value;

[0154]

[0155] In order to save internal hardware resources and the computational pressure of obtaining the inverse matrix of node admittance, specific parameters are selected to make The node admittance matrix of the entire system is a fixed value. Then the inverse matrix of the node admittance matrix can be pre-stored in the on-chip RAM of the FPGA for calling, which can save clock resources and reduce the consumption of hardware resources;

[0156] Preferably, the step of simulating the hardware calculation model of the transfer function element in the first controller model and the second controller model comprises:

[0157] The first controller model and the second controller model are modeled using the trapezoidal difference method:

[0158] Combination Figure 5 , the transfer function of the general first-order inertia link commonly used in the control loop is as follows:

[0159]

[0160] T0, T1, and K0 are all setting coefficients;

[0161] In the numerical simulation process, it needs to be discretized according to the simulation step length Δt. The present invention adopts the trapezoidal difference method, specifically:

[0162] u(t)=A[e(t)+e(t-Δt)]+Bu(t-Δt);

[0163]

[0164] B = 1;

[0165] e(t), e(t-Δt)—input signals of the inertia link at the current moment and the previous moment;

[0166] u(t-Δt)—output signal at the previous moment.

[0167] In order to make full use of the parallel computing performance of FPGA, after the inertia link is determined, its corresponding coefficients A and B can be pre-stored in the on-chip RAM of FPGA, and then read out from RAM to participate in numerical calculation when calculation is to be performed;

[0168] Preferably, combined Figure 6 , Figure 7 The step of using the vector control method to adjust the output duty cycle of the SVPWM model to control the constructed permanent magnet synchronous generator model includes:

[0169] The permanent magnet motor can realize dq axis decoupling control and transform the voltage signal output by the dq axis into dq-αβ coordinates to make sector determination:

[0170] Further, obtaining the output voltage of the first controller to perform sector determination;

[0171] SVPWM is developed on the basis of the control concept of magnetic flux trajectory of AC motor. It has clear physical concepts and is suitable for digital realization. It produces fewer harmonics in the output voltage and current. Therefore, SVPWM is superior to sinusoidal pulse width modulation (SPWM). The pulse width modulation method adopted in the present invention is SVPWM. The calculation of SVPWM is completed based on the input voltage in the two-phase stationary coordinate system (αβ coordinate system);

[0172] Optionally, the sector where the synthesized voltage vector is located is determined according to the input voltage. The sector determination hardware model is such as dividing the plane into 6 different sectors according to the switch state of each bridge arm, where the values ​​of A, B and C can be obtained simultaneously by parallel calculation. In addition, N can be defined as three-bit data, A, B and C correspond to the low, middle and high bits of N respectively, and the sector number is obtained by bit splicing operation, thereby achieving the purpose of saving hardware resources and clock time consumption;

[0173] Obtaining a first intermediate quantity T1 and a second intermediate quantity T2 based on the result of the sector determination;

[0174] Combination Figure 8 , the first intermediate quantity T1 and the second intermediate quantity T2 are shown in Table 2:

[0175] Table 2: First intermediate quantity T1 and second intermediate quantity T2

[0176] Sector I II III IV V VI T1 Z Y -Z -X X -Y T2 Y -X X Z -Y -Z

[0177]

[0178] V α 、V β - Voltage on α and β axes after coordinate transformation;

[0179] V dc - Line DC side voltage;

[0180] Combination Fig. 9 , using Table 3 based on the first intermediate quantity T1, the second intermediate quantity T2, and the result of the sector determination to obtain the sector vector switching point to obtain the target vector voltage;

[0181] Table 3: Sector vector switching point values

[0182] Sector I II III IV V VI <![CDATA[T cm1 ]]> <![CDATA[T b ]]> <![CDATA[T a ]]> <![CDATA[T a ]]> <![CDATA[T c ]]> <![CDATA[T c ]]> <![CDATA[T b ]]> <![CDATA[T cm2 ]]> <![CDATA[T a ]]> <![CDATA[T c ]]> <![CDATA[T b ]]> <![CDATA[T b ]]> <![CDATA[T a ]]> <![CDATA[T c ]]> <![CDATA[T cm3 ]]> <![CDATA[T c ]]> <![CDATA[T b ]]> <![CDATA[T c ]]> <![CDATA[T a ]]> <![CDATA[T b ]]> <![CDATA[T a ]]>

[0183] Among them, T a , T b and T c The values ​​of are as follows.

[0184]

[0185] T—PWM period.

[0186] Embodiment 2:

[0187] Embodiment 2 of the present invention introduces the simulation hardware

[0188] Combination Fig.10 , Fig.11 ,as well as Fig.12 In order to make full use of the parallel computing performance of FPGA, the entire simulation system needs to be divided. Decoupled subsystems that do not affect each other can be calculated in parallel, thereby realizing system-level parallel computing to reduce clock consumption; at the same time, the subsystem can be subdivided again, and the subsystems that have no coupling items can realize module-level parallel computing, thereby further reducing clock consumption. On the other hand, there are a large number of components distributed inside the subsystem, including operators, registers, etc. These massive components occupy a large amount of hardware computing resources and memory inside the FPGA. As the scale of the simulation system gradually expands, the occupancy rate of hardware resources is gradually increased, while the hardware resources inside the FPGA are limited and cannot be allocated on demand. In order to achieve the purpose of reducing clock consumption while saving hardware resources, the present invention adopts Algorithm Architecture Adequation, A Plane (Algorithm Architecture Adequation, A Plane) in the component-level calculation process inside the subsystem. 3 ) method, and developed a flattened computing structure. This method makes full use of the time-consuming gaps in operator calculations, combining the pipeline structure and A 3 The modeling idea consumes very little clock cost to realize component-level simulation calculation. The specific simulation architecture design steps are as follows.

[0189] a) First, the overall simulation system is initially divided according to different functions. The initially divided subsystems run in parallel, and then the subsystems are further divided according to functions and running sequences to form smaller subsystems. The present invention initially divides the DC wind power generation system into an electrical subsystem and a control subsystem to achieve system-level segmentation. The subsystems included in the electrical subsystem mainly include: aerodynamic system, permanent magnet motor system, and power electronics flexible energy conversion system, etc.; the subsystems included in the control subsystem mainly include: PI control system, SVPWM system, and coordinate transformation system, etc., to achieve module-level segmentation. The specific system structure and its segmentation are shown in the figure. Fig.10 shown.

[0190] b) Design system-level and module-level parallel simulation computing architectures corresponding to each subsystem and grand system. The present invention divides the DC wind power generation system as a whole into an electrical subsystem and a control subsystem, and each subsystem adopts a completely parallel solution method. It should be specially pointed out that the electrical subsystem is divided into a historical data calculation system and a flexible electric energy conversion device solution system. In order to give full play to the parallel computing performance of FPGA and reduce the calculation step length, the historical data calculation system and the wind turbine aerodynamic system are partially calculated in parallel. When the calculation is completed, the data can be transmitted to the flexible electric energy conversion device for solution. Due to the limitations of the digital control itself, the control system delays the output of one simulation step, and the control signal applied to the controlled electrical subsystem is the calculation output of the previous time step. The solution and data are kept in sequence as shown in the figure. Fig.11 The figure shows the enable signals of each subsystem, where high means solving operation and low means data holding operation.

[0191] c) Design component level based on pipeline and A 3 The hardware model solution of the method. There are a large number of registers and operation units at the component-level computing level, among which the hardware resource rate occupied by the operation units is very high compared to the registers. The reasonable allocation and use of these underlying hardware resources, especially the operation units, is the key to reducing the hardware resource occupancy rate. The present invention customizes a data management unit inside each subsystem, reasonably allocates the internal data flow, and decomposes the operations that consume more resources to achieve the purpose of saving hardware resources. The data management unit exists in the form of a finite state machine. When there are multiple identical operations in the same time period, the data required for the operation can be transmitted to the operation unit in time periods to perform the operation. The operator adopts a pipeline design, and the results of multiple operations are also output in time periods to participate in the next operation. Fig.12 As shown in the figure, the specific steps of the solution are explained by taking the first-order inertia transfer function as an example. Fig.12 As shown, at the component level of the first-order inertia link, the local serial solution saves two multiplication units and one addition unit compared to the fully parallel structure, but only consumes one more clock, thus achieving the original intention of saving internal hardware resources.

[0192] Embodiment 3

[0193] Embodiment 3 of the present invention provides a hardware DC wind power generation system simulation device based on FPGA, including:

[0194] A first simulation module: used for acquiring wind turbine group parameters and constructing a wind power generation system power capture model based on the wind turbine group parameters to simulate the wind turbine group aerodynamic system;

[0195] The second simulation module is used to construct a permanent magnet synchronous generator model to convert wind energy captured by the aerodynamic system of the wind turbine into electrical energy, simulate the hardware models of the power electronic switch devices and passive components in the rectifier model, and simulate the hardware calculation models of the transfer function elements in the first controller model and the second controller model;

[0196] The third simulation module is used to adjust the output duty cycle of the SVPWM model by adopting a vector control method to control the constructed permanent magnet synchronous generator model.

[0197] The present invention has the following advantages: constructing a real-time simulation device for a novel DC wind power generation system based on FPGA can provide technical support for the advancement of new energy undertakings and play an important supporting role for the distribution network.

[0198] Unless otherwise specifically stated, the relative steps, numerical expressions and values ​​of the components and steps set forth in these embodiments do not limit the scope of the present invention.

[0199] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.

[0200] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the system and device described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0201] In addition, in the description of the embodiments of the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0202] In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicating the orientation or positional relationship, are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first", "second", and "third" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance.

[0203] Finally, it should be noted that the above-described embodiments are only specific implementations of the present invention, which are used to illustrate the technical solutions of the present invention, rather than to limit them. The protection scope of the present invention is not limited thereto. Although the present invention is described in detail with reference to the above-described embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-described embodiments within the technical scope disclosed by the present invention, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims

1. A hardware DC wind power generation system simulation method based on FPGA, characterized in that: The DC wind power generation system includes a wind power generation system power capture model, a permanent magnet synchronous generator model, a rectifier model, a first controller model, a second controller model, a SVPWM model, a PWM model and a DC / DC converter model; The wind power generation system power capture model, the permanent magnet synchronous generator model, the rectifier model and the DC / DC converter model are connected in sequence, the SVPWM model is connected to the first controller and controls the rectifier model, and the second controller model is connected to the PWM model and controls the PWM model DC / DC converter model; The simulation method is specifically carried out in the following steps: Acquiring wind turbine group parameters and constructing a wind power generation system power capture model based on the wind turbine group parameters to simulate the wind turbine group aerodynamic system; Constructing a permanent magnet synchronous generator model to convert wind energy captured by the wind turbine aerodynamic system into electrical energy, simulating the hardware models of power electronic switch devices and passive components in the rectifier model, and simulating the hardware calculation models of transfer function elements in the first controller model and the second controller model; A vector control method is used to adjust the output duty cycle of the SVPWM model to control the constructed permanent magnet synchronous generator model.

2. The method according to claim 1, characterized in that Acquiring wind turbine group parameters and constructing a wind power generation system power capture model based on the wind turbine group parameters to simulate the wind turbine group aerodynamic system includes: The wind power generation system power capture model satisfies the following formula: C p (λ,β)=0.5176(116 / λ i -0.4β-5)exp(-21 / l i )+0.0068l λ=ω r R a / V w P m — Wind turbines capture power; P w — the total power blowing through the wind turbine; V w — wind speed; S—the swept area of ​​the wind wheel; C p (λ,β)—wind energy utilization coefficient; λ—tip speed ratio; β—blade pitch angle; The mechanical torque output by the wind turbine is obtained T m =P m / h r ; T m —Mechanical torque.

3. The method according to claim 1, characterized in that The steps to build a permanent magnet synchronous generator model to convert wind energy captured by the wind turbine aerodynamic system into electrical energy include: s—differential operator; i d 、i q — respectively the d-axis and q-axis currents of the permanent magnet motor; u d 、u q —d-axis and q-axis voltage components; ω e is the electrical angular velocity and ω e =N p ω r ; ω r is the rotor speed; N p is the number of pole pairs of the permanent magnet motor; R a is the stator resistance; L d , L q —d-axis and q-axis inductance components; λ0—permanent magnet flux.

4. The method according to claim 3, characterized in that The step of simulating the power electronic switch device and the passive component hardware model in the rectifier model comprises: The power electronic switch devices and passive component hardware models in the rectifier model are simulated using the trapezoidal difference method, using the following formula: i(t)=G eq u(t)+A1u(t-Δt)+A2i(t-Δt) u(t)—line voltage at the current moment; u(t-Δt)—line voltage at the previous moment; i(t-Δt)—the current flowing through the line at a certain moment; The G eq , A1 and A2 satisfy the following Table 1: Table 1: G under trapezoidal difference method eq , A1 and A2 value summary C—capacitor capacitance value; L—inductance value of inductor; R s —Switching device simulated resistance value; C s —Switching device simulation capacitance value; L s —Switching device simulated inductance value; 5. The method according to claim 1, characterized in that The step of simulating the hardware calculation model of the transfer function element in the first controller model and the second controller model comprises: The first controller model and the second controller model are modeled using the trapezoidal difference method: The transfer function of the first-order inertia link is as follows: T0, T1, and K0 are all setting coefficients; u(t)=A[e(t)+e(t-Δt)]+Bu(t-Δt); B=1; e(t), e(t-Δt)—input signals of the inertia link at the current moment and the previous moment; u(t-Δt)—output signal at the previous moment.

6. The method according to claim 1, characterized in that The step of using the vector control method to adjust the output duty cycle of the SVPWM model to control the constructed permanent magnet synchronous generator model includes: Obtaining the output voltage of the first controller to perform sector determination: Obtaining a first intermediate quantity T1 and a second intermediate quantity T2 based on the result of the sector determination; The first intermediate quantity T1 and the second intermediate quantity T2 are shown in Table 2: Table 2: First intermediate quantity T1 and second intermediate quantity T2 V α 、V β —The voltage on the α and β axes after coordinate transformation; V dc —line DC side voltage; Table 3 is used to obtain the sector vector switching point based on the first intermediate quantity T1, the second intermediate quantity T2, and the result of the sector determination to obtain the target vector voltage; Table 3: Sector vector switching point values Among them, T a 、T b and T c The values ​​of are as follows: T—PWM period.

7. A hardware DC wind power generation system simulation device based on FPGA, characterized in that: include: A first simulation module: used for acquiring wind turbine group parameters and constructing a wind power generation system power capture model based on the wind turbine group parameters to simulate the wind turbine group aerodynamic system; The second simulation module is used to construct a permanent magnet synchronous generator model to convert wind energy captured by the aerodynamic system of the wind turbine into electrical energy, simulate the hardware models of the power electronic switch devices and passive components in the rectifier model, and simulate the hardware calculation models of the transfer function elements in the first controller model and the second controller model; The third simulation module is used to adjust the output duty cycle of the SVPWM model by using a vector control method to control the constructed permanent magnet synchronous generator model; The DC wind power generation system includes a wind power generation system power capture model, a permanent magnet synchronous generator model, a rectifier model, a first controller model, a second controller model, a SVPWM model, a PWM model and a DC / DC converter model; The wind power generation system power capture model, permanent magnet synchronous generator model, rectifier model and DC / DC converter model are connected in sequence, the SVPWM model is connected to the first controller and controls the rectifier model, and the second controller model is connected to the PWM model and controls the PWM model DC / DC converter model.