A power transmitter simulation system and method for semi-physical simulation platform
By introducing a power transmitter simulation system on the semi-physical simulation platform, the problem of incomplete grid status information of the main control system is solved, and more accurate main controller performance testing and evaluation is achieved, which is suitable for different types of wind turbines.
Patent Information
- Application Number
- CN201910884627.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-09-19
- Publication Date
- 2025-08-26
- Estimated Expiration
- 2039-09-19
AI Technical Summary
In the prior art, the power grid status information obtained by the main control system is incomplete, and it is impossible to accurately simulate the abnormal operating conditions of the power grid, and the field bus transmission delay problem is not considered, resulting in inaccurate performance testing of the main controller and is not universal.
It provides a power transmitter simulation system for a semi-physical simulation platform, including an analog quantity acquisition module, a real-time calculation module and a communication module. By collecting low-voltage side phase voltage and current instantaneous value data of the electrical model of the wind turbine, real-time calculation and generation of the main controller demand variables, and transmitting them to the main controller through the field bus.
It realizes the accurate simulation of the main controller operating environment while the hardware and software remains unchanged, solves the testing and evaluation problems of the main controllers of different types of wind turbines, and improves the credibility and accuracy of the test results.
Smart Images

Figure CN110673509B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to new energy access and control, and in particular to an electric quantity transmitter simulation system and method for a semi-physical simulation platform. Background Art
[0002] As the core system for wind turbine control, the main control system needs to collect and monitor the electrical state of the power grid to control the operating status and working mode of the wind turbine and achieve reliable and safe grid-connected power generation. Currently, mainstream wind turbine main control systems generally obtain electrical quantities related to the power grid status through two methods: the first method uses an external power transmitter, and the other method obtains them through collection and calculation by the current converter controller. The second method obtains less information, generally only including line voltage and frequency information, while the first method includes multiple signals such as voltage, current, phase, frequency, power, and electrical energy. These signals are important information for the main control system to obtain the power grid status. At the same time, in the event of frequency or voltage anomalies in the power grid, they can serve as control targets in closed-loop control to effectively support the power grid.
[0003] To reduce development costs and on-site debugging time, verify and evaluate the control performance of the main controller, and currently utilize controller hardware-in-the-loop simulation technology to test the main functions of the main controller in a laboratory environment. Chinese invention patent application CN106842985A discloses a software testing method and device for a wind turbine control system based on hardware-in-the-loop (SIL). This method utilizes a SIL module to simulate the converter system, and a data communication module to exchange data between the SIL simulation module and the PLC under test. In this system, the PLC under test only obtains partial grid status information through the converter's internal status. Chinese invention patent CN106980272A discloses a hardware-in-the-loop simulation and testing platform for a wind turbine control system. This patent utilizes RTDS to establish an electrical model capable of simulating grid fault conditions, but the electrical status information transmitted to the main controller is primarily implemented using analog channels.
[0004] In the aforementioned patent disclosures, the master control system's electrical state monitoring method differs significantly from field applications. Incomplete state measurements may limit the master control system's control strategy. The analog transmission method fails to account for fieldbus transmission delays in actual applications and lacks universality. The PLC peripheral interfaces and programming of different wind turbine master controllers require modification. Consequently, performance testing and simulation results of the master controller under abnormal grid operation are inaccurate. Summary of the Invention
[0005] The technical solution provided by the present invention is:
[0006] A power transmitter simulation system for a hardware-in-the-loop simulation platform, wherein the power transmitter simulation system is connected to a wind turbine electrical model and a main controller, and comprises:
[0007] Analog quantity acquisition module, real-time calculation module and communication module;
[0008] The analog quantity acquisition module is used to: collect instantaneous value data of low-voltage side phase voltage and current from the electrical model of the wind turbine generator set;
[0009] The real-time calculation module is used to: calculate and generate the value of the demand variable based on the set main controller demand variable according to the collected instantaneous value data;
[0010] The communication module is used to transmit the value of the main controller requirement variable to the main controller via a field bus.
[0011] Preferably, the analog quantity acquisition module is further used for:
[0012] The instantaneous value data is reduced to a signal within the analog signal output level range through a transformation ratio.
[0013] Preferably, the real-time calculation module includes:
[0014] Cache submodule, fundamental frequency Fourier coefficient calculation submodule and frequency, amplitude and angle detection submodule;
[0015] The cache submodule is used to cache the instantaneous value data of the phase voltage and current;
[0016] The fundamental frequency Fourier coefficient calculation submodule is used to calculate the effective values of the phase voltage and current, as well as the positive sequence voltage and current components according to the instantaneous values of the phase voltage and current, and then obtain the positive sequence active power, reactive power and power factor;
[0017] The frequency, amplitude and angle detection submodule is used to obtain a voltage vector from the instantaneous value of the phase voltage, calculate the positive sequence, negative sequence and zero sequence components of the three-phase voltage based on the voltage vector, and then obtain the imbalance of the three-phase voltage, and calculate the line voltage and the phase angle difference between the voltage and the current.
[0018] A method for simulating an electric quantity transmitter for a hardware-in-the-loop simulation platform, comprising:
[0019] The instantaneous value data of the low-voltage side phase voltage and current are collected from the electrical model of the wind turbine through the analog quantity acquisition module;
[0020] The real-time calculation module calculates and generates the value of the demand variable based on the set main controller demand variable and the collected instantaneous value data;
[0021] The value of the master controller requirement variable is transmitted to the master controller via the field bus.
[0022] Preferably, the step of collecting the instantaneous value data of the low-voltage side phase voltage and current from the electrical model of the wind turbine generator set through the analog quantity acquisition module further includes:
[0023] The instantaneous value data is reduced to a signal within the analog signal output level range through a transformation ratio.
[0024] Preferably, the real-time calculation module calculates and generates the value of the demand variable based on the set main controller demand variable and the collected instantaneous value data, including:
[0025] Cache the instantaneous value data of the phase voltage and current;
[0026] Collecting and caching the instantaneous value data of the phase voltage and current;
[0027] Based on the collected phase voltage and current instantaneous value data, fundamental frequency Fourier coefficient calculation and frequency, amplitude and angle detection are performed respectively.
[0028] Preferably, the collecting and caching of the instantaneous value data of the phase voltage and current further includes:
[0029] Determine whether the number of collection points for cached data has reached the set number of collection points;
[0030] If the number of collection points is not set, the process returns to collecting and caching the instantaneous value data of the phase voltage and current;
[0031] If the set number of acquisition points is reached, the fundamental frequency Fourier coefficient calculation and frequency, amplitude and angle detection are performed.
[0032] Preferably, the fundamental frequency Fourier coefficient calculation based on the collected phase voltage and current instantaneous value data respectively includes:
[0033] Based on the cached phase voltage and current instantaneous value data, the effective values of the phase voltage and current can be calculated through the fundamental frequency Fourier coefficient;
[0034] Based on the effective values of the phase voltage and current, the positive sequence active power, reactive power and power factor are obtained by calculation;
[0035] Based on the pre-set transmission direction, the forward and reverse power are time-integrated to obtain the total forward and negative electrical energy.
[0036] Preferably, the preset transmission direction includes:
[0037] The direction of electric energy transmission to the grid is positive;
[0038] When the generated power is greater than zero, the transmission direction is forward power;
[0039] When the generated power is less than zero, the transmission direction is reverse power;
[0040] The forward power is the generated power, and the reverse power is the power absorbed from the power grid.
[0041] Preferably, transmitting the value of the master controller demand variable to the master controller via a field bus comprises:
[0042] The transmission variables in the communication module are associated with the values of the real-time simulation calculation variables to transmit each electrical variable to the main controller through the communication module.
[0043] Preferably, before transmitting the value of the master controller demand variable to the master controller via the field bus, the method further comprises:
[0044] Determine the communication protocol and key parameters based on the communication board of the semi-physical simulation platform;
[0045] Establish a communication connection between the semi-physical simulation platform and the main controller PLC;
[0046] The key parameters include communication variables, data types, data length, data address and baud rate.
[0047] Compared with the prior art, the present invention has the following beneficial effects:
[0048] 1. A power transmitter simulation system for a semi-physical simulation platform, wherein the power transmitter simulation system is connected to a wind turbine electrical model and a main controller respectively, and comprises: an analog quantity acquisition module, a real-time calculation module, and a communication module; the analog quantity acquisition module is used to collect instantaneous value data of low-voltage side phase voltage and current from the wind turbine electrical model; the real-time calculation module is used to calculate and generate the value of the demand variable based on the collected instantaneous value data based on the set main controller demand variable; the communication module is used to transmit the value of the main controller demand variable to the main controller via a field bus. The technical solution provided by the present invention solves the problem of modifying the peripheral interface and program of the main controller PLC, making the test and evaluation results more accurate and more reliable, and being suitable for different types of wind turbine main controllers. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] Figure 1 This is a schematic structural diagram of an electrical quantity transmitter simulation system for a hardware-in-the-loop simulation platform of the present invention;
[0050] Figure 2This is a flow chart of the calculation steps of the real-time calculation module of the present invention; DETAILED DESCRIPTION
[0051] When testing and evaluating wind turbine main controllers on a hardware-in-the-loop simulation platform, any changes to the controller's hardware and software will disrupt consistency with the on-site operating environment and software code, significantly impacting the test and evaluation results. Therefore, to address existing technical deficiencies, the present invention provides a method for implementing a wind turbine power transmitter based on a hardware-in-the-loop simulation platform. This method, without changing the hardware modules or software programs, replicates the main controller's operating environment in a laboratory environment, meeting the power monitoring interface and variable requirements, and taking into account communication delays, facilitating more accurate simulation of the main controller's communications and electrical control logic.
[0052] In order to better understand the present invention, the present invention is further described below with reference to the accompanying drawings and examples.
[0053] Example 1:
[0054] The present invention provides a power grid status monitoring function for the main controller of the access platform based on a real-time simulation device. The real-time simulation device includes a real-time simulation controller, an analog quantity acquisition module and a serial communication module. The modules are connected through a PCIe bus. The real-time simulation controller realizes the real-time calculation function of the collected quantity and can manage the analog quantity acquisition module and the serial communication module at the same time.
[0055] A real-time simulation system is used in the semi-physical simulation platform to establish an electromagnetic transient electrical system model. Figure 1 As shown, the transmitter can output analog values for three-phase voltage and current. The communication interface between the main controller and the power transmitter is a Modbus serial RS485 interface. The power transmitter transmits variables such as total energy, power, voltage and current RMS values, voltage imbalance, power factor, and phase angle to the main controller PLC. The specific variables monitored by the main controller for power are shown in Table 1.
[0056] Serial number name Serial number name 1 Total forward active energy 14 Phase C current 2 Total reverse active energy 15 Active power 3 Total forward reactive energy 16 Reactive power 4 Total reverse reactive energy 17 Apparent power 5 Voltage imbalance 18 Power Factor 6 Phase A voltage 19 frequency 7 Phase B voltage 20 AB phase voltage phase angle 8 Phase C voltage 21 BC phase voltage phase angle 9 AB phase voltage 22 CA phase voltage phase angle 10 BC phase voltage 23 Phase A voltage and current phase angle 11 CA phase voltage 24 Phase B voltage and current phase angle 12 Phase A current 25 Phase angle of voltage and current of phase C 13 Phase B current
[0057] Table 1
[0058] The specific steps for implementing the main controller power monitoring based on the semi-physical simulation platform are as follows:
[0059] (1) Use the analog acquisition module to collect the three-phase voltage and current output by the electrical model real-time simulation equipment, set the sampling rate to 10kHz, and multiply the collected signal by a certain multiple to achieve data restoration from the signal to the model simulation variable;
[0060] (2) In the real-time simulation controller, that is, Figure 2In the real-time calculation module, the number of data cache points is set to 1000, and the Fourier coefficient of the fundamental frequency of phase A is calculated using formula (1-2), where T represents the period corresponding to the fundamental frequency, f1 represents the fundamental frequency, and the effective value of the phase voltage of phase A is calculated using formula (3). The calculation formulas for the other two phases are the same, and the effective value of the line voltage is the effective value of the phase voltage. times; using formulas (4-7) to calculate the components of positive sequence voltage and positive sequence current respectively, using formulas (8-9) to calculate the positive sequence active and reactive power, according to the positive and negative classification of power, and then integrating the time to obtain the positive and reverse total electric energy respectively; using formula (10) to obtain the power factor; performing frequency, amplitude and angle detection on the data stream, the vector expression of each phase voltage can be obtained, and the positive sequence and negative sequence voltage effective values can be obtained by the symmetrical component method, and the voltage unbalance degree can be obtained by using formula (11), where U1 and U2 represent the positive sequence voltage effective value and the negative sequence voltage effective value respectively; according to the angles of each phase voltage and current, the phase angle of the line voltage and the phase angle difference between the voltage and current of a certain phase can be calculated;
[0061] (3) Communication module parameter setting: According to the specific transmission variable address set in the main controller PLC, configure the communication protocol in the communication module, mainly including the communication variable name, data type, data length, data address, and set the key parameters of the communication module, such as the baud rate. In this case, the baud rate is 19200 bps;
[0062] (4) Communication module data association setting: In the real-time simulation controller, the real-time calculation results in Table 1 are associated with the transmission variables in the communication module to achieve the communication transmission amount to obtain the specific value from the address set in the real-time calculation module.
[0063] The present invention has been verified by experiments and has high feasibility. According to tests, the virtual power transmitter module can complete one data transmission within one refresh cycle of the main controller PLC.
[0064]
[0065] Where, T is the period corresponding to the fundamental frequency; f1 is the fundamental frequency; t represents time; u a Indicates the voltage of phase a; u a,sin and u a,cos is the Fourier coefficient of the fundamental component of the voltage on phase A within one fundamental wave period; (here only the formula for the voltage on phase A is given; the calculation methods for the voltages and currents on other phases are the same)
[0066]
[0067]
[0068] Where Ua1 is the effective value of the fundamental phase voltage;
[0069]
[0070]
[0071] Where U 1+,cos and U 1+,sin is the voltage vector component of the fundamental positive sequence component;
[0072]
[0073]
[0074] Where i 1+,cos andi 1+,sin is the current vector component of the fundamental positive sequence component;
[0075]
[0076] Where, P 1+ is the active power of the fundamental positive sequence component;
[0077]
[0078] Where Q 1+ is the reactive power of the fundamental positive sequence component;
[0079]
[0080] Where, is the power factor of the fundamental positive sequence component;
[0081]
[0082] Where U1 is the effective value of the positive sequence voltage; U2 is the effective value of the negative sequence voltage.
[0083] Example 2:
[0084] A power transmitter simulation system for a hardware-in-the-loop simulation platform, wherein the power transmitter simulation system is connected to a wind turbine electrical model and a main controller, and comprises:
[0085] Analog quantity acquisition module, real-time calculation module and communication module;
[0086] The analog quantity acquisition module is used to: collect instantaneous value data of low-voltage side phase voltage and current from the electrical model of the wind turbine generator set;
[0087] The real-time calculation module is used to: calculate and generate the value of the demand variable based on the set main controller demand variable according to the collected instantaneous value data;
[0088] The communication module is used to transmit the value of the main controller requirement variable to the main controller via a field bus.
[0089] The analog quantity acquisition module is further used for:
[0090] The instantaneous value data is reduced to a signal within the analog signal output level range through a transformation ratio.
[0091] The real-time calculation module includes:
[0092] Cache submodule, fundamental frequency Fourier coefficient calculation submodule and frequency, amplitude and angle detection submodule;
[0093] The cache submodule is used to cache the instantaneous value data of the phase voltage and current;
[0094] The fundamental frequency Fourier coefficient calculation submodule is used to calculate the effective values of the phase voltage and current, as well as the positive sequence voltage and current components according to the instantaneous values of the phase voltage and current, and then obtain the positive sequence active power, reactive power and power factor;
[0095] The frequency, amplitude and angle detection submodule is used to obtain a voltage vector from the instantaneous value of the phase voltage, calculate the positive sequence, negative sequence and zero sequence components of the three-phase voltage based on the voltage vector, and then obtain the imbalance of the three-phase voltage, and calculate the line voltage and the phase angle difference between the voltage and the current.
[0096] Example 3
[0097] Based on a hardware-in-the-loop simulation platform, this invention provides an electric quantity transmitter simulation module to assist the main controller in implementing grid status monitoring. The electrical component of the hardware-in-the-loop simulation platform must include wind turbine, transformer, and grid models, capable of performing electromagnetic transient or electromechanical transient simulations, and equipped with an analog output module. The electric quantity transmitter simulation module primarily consists of an analog quantity acquisition module, a real-time calculation module, and a communication module. It can be implemented using a PLC architecture or hardware devices with real-time computing capabilities.
[0098] The analog acquisition module in the power transmitter simulation module collects instantaneous phase voltage and current data on the low-voltage side from the wind turbine electrical model in the real-time simulation system. This instantaneous data is scaled down to within the analog signal output level range using a certain transformation ratio. The sampling rate should be no less than 2kHz, as required by IEC 61400-21 field testing requirements.
[0099] The real-time calculation module in the power transmitter simulation module realizes the real-time calculation and generation of the main controller demand data based on the collected analog quantity. The data to be calculated includes but is not limited to the content shown in Table 1. The steps of the real-time calculation are as follows: Figure 2 As shown in the figure, the collected data is first cached. The cached data length must be greater than one cycle. The higher the number of acquisition points in one cycle, the more accurate the real-time calculation results. When the set number of acquisition points is reached, the data greater than one cycle is calculated separately, including the calculation of the fundamental frequency Fourier coefficients and the detection of frequency, amplitude, and angle.
[0100] According to the voltage and power calculation method provided in Appendix C of IEC 61400-21, the fundamental frequency Fourier coefficients can be used to calculate the effective values of the phase voltages and currents, as well as the positive-sequence voltage and current components, and thus the positive-sequence active and reactive power and power factor. The direction of electrical energy transmission into the grid is defined as the positive direction. Power greater than zero is considered positive power, indicating generated power, while power less than zero is considered reverse power, indicating power absorbed from the grid. By integrating the positive and reverse powers over time, we can obtain the total positive and negative energy.
[0101] The frequency, amplitude, and angle detection modules can be used to determine the voltage frequency. The amplitude and angle can be used to synthesize the voltage vector. Based on the international standard GB / T 15543-2008 for power quality three-phase voltage imbalance, the positive, negative, and zero-sequence components of the three-phase voltage can be calculated, thereby determining the degree of three-phase voltage imbalance. Furthermore, based on the angles of each phase voltage and current, the line voltage and the phase angle difference between the voltage and current can be calculated.
[0102] The communication module in the power transmitter simulation module realizes the transmission of the calculated variables to the main controller PLC via the field bus. The field bus method can be configured according to the needs of the controller PLC. The field bus method of the power transmitter currently adopted by the main controller PLC is mostly Modbus RS485 serial communication. The implementation steps include two parts. First, based on the communication board of the semi-physical simulation platform, the communication protocol and key parameters are determined, including communication variables, data types, data lengths, data addresses and baud rates, so as to establish a communication connection between the semi-physical simulation platform and the main controller PLC; secondly, data association settings are performed to associate the transmission variables in the communication module with the real-time simulation calculation variable values, so as to realize the transmission of each electrical variable to the main controller through the communication module.
[0103] Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0104] Those skilled in the art will appreciate that the embodiments of the present application can be provided as methods, systems, or computer program products. Therefore, the present application can adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0105] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the steps in the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0106] These computer program instructions may also be stored in a computer readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 a process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.
[0107] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing the instructions executed on the computer or other programmable device for implementing the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0108] The above are merely embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention are included in the scope of the claims of the present invention to be approved.
Claims
1. A power transmitter simulation system for a hardware-in-the-loop simulation platform, characterized in that: The power transmitter simulation system is connected to the wind turbine electrical model and the main controller respectively, and the power transmitter simulation system includes: Analog quantity acquisition module, real-time calculation module and communication module; The analog quantity acquisition module is used to: collect instantaneous value data of low-voltage side phase voltage and current from the electrical model of the wind turbine generator set; The real-time calculation module is used to: calculate and generate the value of the demand variable based on the set main controller demand variable according to the collected instantaneous value data; The communication module is used to: transmit the value of the main controller demand variable to the main controller via the field bus; The analog quantity acquisition module is further used for: reducing the instantaneous value data to a signal within the analog signal output level range through a transformation ratio; The real-time calculation module includes: Cache submodule, fundamental frequency Fourier coefficient calculation submodule and frequency, amplitude and angle detection submodule; The cache submodule is used to cache the instantaneous value data of the phase voltage and current; The fundamental frequency Fourier coefficient calculation submodule is used to calculate the effective values of the phase voltage and current, as well as the positive sequence voltage and current components according to the instantaneous values of the phase voltage and current, and then obtain the positive sequence active power, reactive power and power factor; The frequency, amplitude and angle detection submodule is used to obtain a voltage vector from the instantaneous value of the phase voltage, calculate the positive sequence, negative sequence and zero sequence components of the three-phase voltage based on the voltage vector, and then obtain the imbalance of the three-phase voltage, and calculate the line voltage and the phase angle difference between the voltage and the current; Cache processing is performed on the instantaneous value data of the phase voltage and current, further comprising: Determine whether the number of collection points for cached data has reached the set number of collection points; If the number of acquisition points is not set, it returns to the acquisition based on the instantaneous value data of the phase voltage and current. If the set number of acquisition points is reached, the fundamental frequency Fourier coefficient calculation and frequency, amplitude and angle detection are performed.
2. A method for simulating an electric quantity transmitter for a hardware-in-the-loop simulation platform, characterized in that: include: The instantaneous value data of the low-voltage side phase voltage and current are collected from the electrical model of the wind turbine through the analog quantity acquisition module; The real-time calculation module calculates and generates the value of the demand variable based on the set main controller demand variable and the collected instantaneous value data; Transmitting the value of the master controller demand variable to the master controller via a fieldbus; The method of collecting instantaneous value data of low-voltage side phase voltage and current from the electrical model of the wind turbine generator set through the analog quantity acquisition module further includes: reducing the instantaneous value data to a signal within the analog signal output level range through a transformation ratio; The real-time calculation module calculates and generates the value of the demand variable based on the set main controller demand variable and the collected instantaneous value data, including: Cache the instantaneous value data of the phase voltage and current; Collecting and caching the instantaneous value data of the phase voltage and current; Calculating the fundamental frequency Fourier coefficients and detecting the frequency, amplitude and angle are performed based on the collected phase voltage and current instantaneous value data; The collecting and caching of the instantaneous value data of the phase voltage and current further includes: Determine whether the number of collection points for cached data has reached the set number of collection points; If the number of collection points is not set, the process returns to collecting and caching the instantaneous value data of the phase voltage and current; If the set number of acquisition points is reached, the fundamental frequency Fourier coefficient calculation and frequency, amplitude and angle detection are performed.
3. The method for simulating an electric quantity transmitter for a hardware-in-the-loop simulation platform according to claim 2, wherein: The fundamental frequency Fourier coefficient calculation based on the collected phase voltage and current instantaneous value data respectively includes: Based on the cached phase voltage and current instantaneous value data, the effective values of the phase voltage and current can be calculated through the fundamental frequency Fourier coefficient; Based on the effective values of the phase voltage and current, the positive sequence active power, reactive power and power factor are obtained by calculation; Based on the pre-set transmission direction, the forward and reverse powers are time-integrated to obtain the total forward and negative electrical energy.
4. The method for simulating an electric quantity transmitter for a hardware-in-the-loop simulation platform according to claim 3, wherein: The preset transmission direction includes: The direction of electric energy transmission to the grid is positive; When the generated power is greater than zero, the transmission direction is forward power; When the generated power is less than zero, the transmission direction is reverse power; The forward power is the generated power, and the reverse power is the power absorbed from the power grid.
5. The method for simulating an electric quantity transmitter for a hardware-in-the-loop simulation platform according to claim 2, wherein: The step of transmitting the value of the master controller requirement variable to the master controller via a field bus comprises: The transmission variables in the communication module are associated with the values of the real-time simulation calculation variables to transmit each electrical variable to the main controller through the communication module.
6. The method for simulating an electric quantity transmitter for a hardware-in-the-loop simulation platform according to claim 2, wherein: Before transmitting the value of the master controller requirement variable to the master controller via the field bus, the method further includes: Determine the communication protocol and key parameters based on the communication board of the semi-physical simulation platform; Establish a communication connection between the semi-physical simulation platform and the main controller PLC; The key parameters include communication variables, data types, data length, data address and baud rate.
Citation Information
Patent Citations
Wind turbine generator control system software testing method and device based on software and hardware loop
CN106842985A
Wind turbine generator control system hardware in-loop simulation and test platform
CN106980272A
Method and system for three-phase PQ control based on adaptive notch filter under condition of three-phase imbalance
CN104868499A