Test methods and apparatus for grid connection characteristics of wind, solar and energy storage grid converters
By generating a multi-dimensional operating condition matrix on a hardware-in-the-loop real-time simulation test platform, the problem of incomplete test coverage for grid-connected converters is solved, realizing automated and standardized testing of full grid-connected characteristics, and improving test efficiency and result consistency.
Patent Information
- Application Number
- CN202611268879.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-20
- Publication Date
- 2026-11-17
AI Technical Summary
Existing technologies cannot form a multi-dimensional operating condition matrix that is fully grid-connected to the characteristics of grid-connected converters, resulting in incomplete test coverage and low test efficiency.
Based on a hardware-in-the-loop real-time simulation test platform, a multi-dimensional operating condition matrix covering the full grid-connected characteristics of the grid-type converter is generated. By completing the switching of operating states, disturbance injection and data acquisition for each operating condition, an operating condition database is formed. The evaluation index values are calculated according to the pre-established mapping relationship table to determine the qualification of the operating conditions.
It achieves full coverage testing of the grid-connected characteristics of grid-connected converters, eliminates subjective errors in manual interpretation, and improves testing efficiency and consistency of conclusions.
Smart Images

Figure CN123116578A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of power distribution network technology, and in particular to a method and apparatus for testing the grid connection characteristics of wind, solar and energy storage grid-type converters. Background Technology
[0002] With the continuous increase in installed capacity of new energy power generation such as wind power and photovoltaics, the power system is gradually showing characteristics such as a high proportion of new energy, a high proportion of power electronic equipment, and low short-circuit capacity. Traditional grid-connected converters rely on grid voltage phase for phase-locking and current tracking, and their grid-connected performance evaluation mainly focuses on current tracking, power control, and fault ride-through. In contrast, grid-built converters have external voltage source characteristics, enabling them to actively establish or support grid voltage and frequency, and provide dynamic support capabilities such as inertia support and damping control. Unlike grid-connected converters, the grid-connected characteristics verification of grid-built converters needs to simultaneously examine their stable operation under weak grid conditions, their active support capability for grid frequency and voltage, their tolerance to phase angle changes, their damping and suppression capability for low-frequency oscillations, and their ability to operate without disconnecting from the grid and provide dynamic support under fault conditions.
[0003] Current grid-connection characteristic testing for grid-connected converters suffers from incomplete test coverage and low testing efficiency because it is impossible to form a multi-dimensional operating condition matrix that covers all grid-connection characteristics of grid-connected converters. Summary of the Invention
[0004] This invention provides a method and apparatus for testing the grid connection characteristics of wind-solar-storage grid-connected converters, in order to solve the problem that existing technologies cannot form a multi-dimensional operating condition matrix that covers all grid connection characteristics of grid-connected converters, resulting in incomplete test coverage and low test efficiency.
[0005] According to one aspect of the present invention, a method for testing the grid connection characteristics of a wind-solar-storage grid-type converter is provided, comprising:
[0006] Based on the pre-built hardware-in-the-loop real-time simulation test platform, load the pre-set test basic parameters and operating status set of the hardware-in-the-loop real-time simulation test platform to generate a multi-dimensional operating condition matrix covering the full grid-connected characteristics of the grid-type converter.
[0007] Using the multidimensional operating condition matrix as input, the operating condition database is formed on the hardware-in-the-loop real-time simulation test platform by performing the operation state switching, disturbance injection and data acquisition for each operating condition according to the arrangement order of the operating condition numbers in the multidimensional operating condition matrix.
[0008] Based on the operating condition database and the pre-established "operating condition item-evaluation index" mapping table, the evaluation index value corresponding to each operating condition is calculated. The evaluation index value is compared with the qualified judgment thresholds pre-configured in the "operating condition item-evaluation index" mapping table to determine the qualifiedness of the operating condition. After summarizing the evaluation results of all operating conditions, a comprehensive grid connection characteristic test report is output.
[0009] Optionally, based on a pre-built hardware-in-the-loop real-time simulation test platform, the pre-set test basic parameters and operating status set of the hardware-in-the-loop real-time simulation test platform are loaded to generate a multi-dimensional operating condition matrix covering the full grid-connected characteristics of the grid-type converter, including:
[0010] Based on the pre-built hardware-in-the-loop real-time simulation test platform, load the pre-set set of test basic parameters and operating status of the hardware-in-the-loop real-time simulation test platform;
[0011] Configure corresponding exclusive perturbation parameter dimensions and parameter values for each predefined test item;
[0012] The specific disturbance parameter dimension of each test item is combined with the pre-determined common dimension by Cartesian product to generate the operating condition entries for each test item; the operating condition entries include the following fields: operating condition number, test item name, current operating mode, current load level, disturbance type, disturbance parameter value, duration, fault phase and corresponding evaluation criterion name;
[0013] All test item operating condition entries are arranged sequentially according to the test item number, and a unique operating condition number is assigned to each operating condition entry, forming a multi-dimensional operating condition matrix that covers the full grid-connected characteristics of the grid-type converter.
[0014] Optionally, after arranging all test item operating condition entries sequentially according to test item number and assigning a unique operating condition number to each operating condition entry to form a multi-dimensional operating condition matrix covering the full grid-connected characteristics of the grid-type converter, the following may also be included:
[0015] For each working condition item, a corresponding list of data acquisition channels, evaluation index calculation rules, and qualification criterion thresholds are pre-configured, and a mapping relationship table of "working condition item - evaluation index" is established.
[0016] Optionally, using the multi-dimensional operating condition matrix as input, on the hardware-in-the-loop real-time simulation test platform, the operating state switching, disturbance injection, and data acquisition are performed condition by condition according to the arrangement order of the operating condition numbers in the multi-dimensional operating condition matrix, forming an operating condition database including:
[0017] Read the current operating condition entry from the multi-dimensional operating condition matrix to obtain the current operating mode, current load level, disturbance type, and disturbance parameter value corresponding to the current operating condition;
[0018] The active power command and reactive power command corresponding to the current operating condition item are issued to the controller of the grid-type converter under test, so that the controller adjusts the grid-type converter under test to the target operating mode and target load level. After the system meets the steady-state judgment rules, the corresponding disturbance is injected into the primary system simulation model in the hardware-in-the-loop real-time simulation test platform according to the disturbance type and disturbance parameter value of the current operating condition.
[0019] Electrical and status data are collected based on a preset sampling period and stored using the operating condition number as an index.
[0020] Iterate through all operating condition entries, perform corresponding operating state switching, disturbance injection, and data acquisition and storage to form an operating condition database.
[0021] Optionally, based on the operating condition database and the pre-established "operating condition item-evaluation index" mapping table, the evaluation index value corresponding to each operating condition is calculated. The evaluation index value is then compared one by one with the pre-configured pass / fail threshold in the "operating condition item-evaluation index" mapping table to determine the pass / fail status of the operating condition. After summarizing the evaluation results of all operating conditions, a comprehensive grid connection characteristic test report is output, including:
[0022] Read the electrical and status data of each working condition and the data acquisition time point in the working condition database in order of working condition number;
[0023] Based on the pre-established mapping table of "working condition items - evaluation indicators", find the calculation rules for the evaluation indicators corresponding to each working condition;
[0024] Based on the electrical and status data for each working condition, as well as the data acquisition time point and evaluation index calculation rules, calculate the evaluation index value corresponding to each working condition.
[0025] The evaluation index values are compared one by one with the pre-configured pass / fail thresholds in the mapping table of "Working Condition Items - Evaluation Indicators". If all evaluation index values meet the pass / fail thresholds, the working condition is judged as qualified; if any evaluation index value does not meet the thresholds, the working condition is judged as unqualified, and the name of the unqualified index and the deviation between the evaluation index value and the pass / fail threshold are marked.
[0026] After all operating conditions have been evaluated, the evaluation results for all operating conditions are summarized, and a comprehensive test report on the grid-connected characteristics of the grid-connected converter is output.
[0027] Optionally, before loading the pre-set test base parameters and operating state set of the pre-built hardware-in-the-loop real-time simulation test platform to generate a multi-dimensional operating condition matrix covering the full grid-connected characteristics of the grid-connected converter, the following steps are also included:
[0028] Build a hardware-in-the-loop real-time simulation test platform;
[0029] Set the test base parameters and operating status set of the hardware-in-the-loop real-time simulation test platform.
[0030] Optionally, building a hardware-in-the-loop real-time simulation test platform includes:
[0031] A primary system simulation model is constructed in a real-time digital simulation system. The primary system simulation model includes an AC equivalent power source, a variable AC equivalent impedance, a step-up transformer, and a grid-type converter under test.
[0032] The controller of the grid converter under test is connected to the real-time digital simulation system through the IO interface to establish a closed-loop interaction channel for analog, digital and PWM signals.
[0033] Optionally, the controller of the grid-type converter under test is connected to the real-time digital simulation system via an I / O interface to establish a closed-loop interaction channel for analog, digital, and PWM signals, including:
[0034] The controller of the grid-type converter under test is connected to the real-time digital simulation system through the IO interface. The real-time digital simulation system converts the three-phase voltage, three-phase current and DC bus voltage at the grid connection point into analog voltage signals and outputs them to the controller of the grid-type converter under test, thereby establishing an analog output channel.
[0035] The real-time digital simulation system receives grid-connected switch, protection action, and control enable status signals output by the controller of the grid-connected converter under test, and sends simulation system status and test enable signals to the controller of the grid-connected converter under test, thereby establishing a digital quantity interaction channel.
[0036] The real-time digital simulation system receives the PWM drive pulse output by the controller of the grid converter under test and applies the pulse to the power unit integrated inside the grid converter under test in real time, thereby establishing a PWM signal channel and forming a control closed loop.
[0037] Optionally, setting the set of basic test parameters and operating states for the hardware-in-the-loop real-time simulation test platform includes:
[0038] Set the basic test parameters for the grid-type converter under test; wherein, the basic test parameters include: rated parameters, grid rated parameters and step-up transformer rated parameters, define the set of operating states consisting of cross combinations of operating modes and load levels, and determine the steady-state determination rules for the operating states.
[0039] According to another aspect of the present invention, a grid connection characteristic testing device suitable for wind-solar-storage grid-type converters is provided, comprising:
[0040] A multi-dimensional operating condition matrix generation module is used to generate a multi-dimensional operating condition matrix covering the full grid-connected characteristics of a grid-connected converter by loading a pre-set set of test basic parameters and operating statuses of the hardware-in-the-loop real-time simulation test platform based on a pre-built hardware-in-the-loop real-time simulation test platform.
[0041] The working condition database generation module is used to take the multi-dimensional working condition matrix as input and, on the hardware-in-the-loop real-time simulation test platform, complete the operation state switching, disturbance injection and data acquisition for each working condition according to the arrangement order of the working condition numbers in the multi-dimensional working condition matrix to form a working condition database.
[0042] The report output module is used to calculate the evaluation index value corresponding to each working condition based on the working condition database and the pre-established "working condition item-evaluation index" mapping relationship table, compare the evaluation index value with the pre-configured pass / fail criterion threshold in the "working condition item-evaluation index" mapping relationship table one by one to determine the pass / fail status of the working condition, and output a comprehensive grid connection characteristic test report after summarizing the evaluation results of all working conditions.
[0043] The technical solution provided by this invention is based on a pre-built hardware-in-the-loop real-time simulation test platform. It loads pre-set test basic parameters and operating state sets from the hardware-in-the-loop real-time simulation test platform to generate a multi-dimensional operating condition matrix covering the full grid-connected characteristics of a grid-type converter. Using the multi-dimensional operating condition matrix as input, the operating state switching, disturbance injection, and data acquisition are performed on the hardware-in-the-loop real-time simulation test platform according to the order of the operating condition numbers in the multi-dimensional operating condition matrix, forming an operating condition database. This solves the problem of incomplete test coverage caused by the inability to form a multi-dimensional operating condition matrix covering the full grid-connected characteristics of grid-type converters in existing technologies. Based on the operating condition database and a pre-established mapping table of "operating condition items - evaluation indicators," the evaluation indicator values corresponding to each operating condition are calculated. The evaluation indicator values are compared one by one with the pre-configured pass / fail threshold values in the mapping table to determine the pass / fail status of the operating condition, eliminating subjective errors from manual interpretation and improving test efficiency and consistency of conclusions.
[0044] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of the present invention, nor is it intended to limit the scope of the invention. Other features of the invention will become readily apparent from the following description. Attached Figure Description
[0045] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0046] Figure 1 A flowchart of a grid-connection characteristic test method for wind-solar-storage grid converters provided in an embodiment of the present invention;
[0047] Figure 2 A flowchart of another grid-connection characteristic testing method for wind-solar-storage grid converters provided in an embodiment of the present invention;
[0048] Figure 3 This is a schematic diagram of a primary system simulation model structure provided in an embodiment of the present invention;
[0049] Figure 4 A schematic diagram of the closed-loop interaction channel established between the controller of the grid converter under test and the real-time digital simulation system provided in an embodiment of the present invention;
[0050] Figure 5 This invention provides another method for testing the grid connection characteristics of wind-solar-storage grid-type converters.
[0051] Figure 6 This is a schematic diagram of a grid-connection characteristic testing device for a wind-solar-storage grid converter, provided in an embodiment of the present invention.
[0052] Figure 7 This is a schematic diagram of an electronic device for testing the grid connection characteristics of a wind-solar-storage grid converter, as provided in an embodiment of the present invention. Detailed Implementation
[0053] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.
[0054] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0055] Figure 1 The flowchart illustrates a method for testing the grid connection characteristics of a wind-solar-storage grid-type converter, as provided in an embodiment of the present invention. This method can be executed by a grid connection characteristic testing device suitable for wind-solar-storage grid-type converters. This device can be implemented in hardware and / or software and can be configured in any electronic device with communication capabilities. See also... Figure 1 The method includes:
[0056] S110. Based on the pre-built hardware-in-the-loop real-time simulation test platform, load the pre-set test basic parameters and operating status set of the hardware-in-the-loop real-time simulation test platform to generate a multi-dimensional operating condition matrix covering the full grid-connected characteristics of the grid-type converter.
[0057] The basic test parameters include the rated capacity (PN), rated AC voltage, rated frequency, DC bus voltage range, and topology type of the grid-type converter under test; the rated voltage and frequency of the power grid; and the rated capacity, primary side rated voltage, secondary side rated voltage, winding connection method, and short-circuit impedance percentage of the step-up transformer. The operating state set is a combination of operating modes (discharging, charging) and load levels (light load, full load): full load discharge, light load discharge, full load charging, and light load charging. Steady-state determination rules are also defined to limit the initial operating state range of all test conditions. After loading, all test conditions are generated within the rated operating range of the tested object, ensuring the consistency and effectiveness of the test conditions. The multi-dimensional operating condition matrix is a standardized set of test conditions formed by combining multiple dimensions of parameters such as test items, operating modes, load levels, disturbance types, disturbance parameter values, duration, and fault phase.
[0058] Specifically, based on a pre-built hardware-in-the-loop real-time simulation test platform, the pre-set test basic parameters and operating state set of the hardware-in-the-loop real-time simulation test platform are loaded. First, all categories of grid-connected characteristic test items are divided, including grid strength adaptability, phase angle change tolerance, primary frequency regulation, reactive power voltage regulation, rotational inertia, damping control, power control, low voltage ride-through, and high voltage ride-through. For each type of test item, a dedicated disturbance parameter dimension is configured, including disturbance type, disturbance parameter value, duration, and fault phase. Using the test basic parameters and operating state set as the common dimension, the dedicated disturbance parameter dimension of each test item is cross-combined with the common dimension through a Cartesian product to obtain all test conditions for each type of test item. The number of conditions is equal to the product of the number of values in each dimension. For example, taking the grid strength adaptability test as an example: the operating mode in the common dimension has two values: {discharge, charge}, and the load level has two values: {light load, full load}. The SCR sequence in the dedicated disturbance parameter dimension has two values: {sequence one, sequence two}. After cross-combination, 2×2×2=8 conditions are obtained. Taking the phase angle sudden change tolerance test as an example: 2 types of operating modes × 2 types of load levels × 3 types of short-circuit ratios × 3 types of step amplitudes × 2 types of step directions = 72 operating conditions.
[0059] Finally, all test conditions of all test items are arranged in order of test item number, and a unique test condition number is assigned to each test condition, forming a standardized set of test cases covering all grid-connected performance dimensions of grid-connected converters, namely a multi-dimensional test condition matrix.
[0060] This process solves the problems of incomplete test condition coverage, inconsistent parameter benchmarks for various test items, and inability to conduct comprehensive evaluation of full grid connection characteristics in existing technologies, providing a standardized execution basis for subsequent automated testing and unified evaluation based on each test condition.
[0061] S120. Using the multi-dimensional operating condition matrix as input, the system performs operation state switching, disturbance injection, and data acquisition for each operating condition in the order of the operating condition numbers in the multi-dimensional operating condition matrix on the hardware-in-the-loop real-time simulation test platform, forming an operating condition database.
[0062] The method of executing tests in sequence according to the operating condition number ensures that all test conditions are traversed without omission, guaranteeing the completeness of test coverage. At the same time, it makes the test process highly repeatable and reproducible, allowing different models and power levels of grid-type converters under test to complete the test under a completely consistent execution sequence.
[0063] Specifically, the current operating condition entry is read from the multi-dimensional operating condition matrix to obtain the current operating mode, current load level, disturbance type, and disturbance parameter value corresponding to the current operating condition. Based on the operating mode and load level requirements of the current operating condition, the corresponding active power command and reactive power command are sent to the controller of the grid-connected converter under test through the IO channel to monitor the active power and reactive power at the grid connection point in real time. When the power fluctuation amplitude is less than ±2% of the rated power for 1 consecutive second, the system is determined to have entered a steady state. The current electrical quantity is recorded as the initial reference value for this operating condition to ensure that the system is in a stable operating state before disturbance injection. After the system reaches steady state, based on the disturbance type and disturbance parameter values under the current operating conditions, the corresponding parameters of the primary system simulation model on the hardware-in-the-loop real-time simulation test platform are modified in real time to apply the corresponding type of grid disturbance at the grid connection point. Different disturbance injection methods are adopted for different test items. For example, the equivalent impedance is adjusted to simulate changes in grid strength, the phase angle change / frequency disturbance / voltage disturbance is simulated by modifying the AC equivalent power supply parameters, and the grid fault ride-through condition is simulated by the controlled voltage source, so as to accurately reproduce various grid connection disturbance scenarios.
[0064] During disturbance injection, electrical quantities such as three-phase voltage, three-phase current, positive sequence voltage, active power, reactive power, and frequency at the grid connection point are synchronously collected at a sampling rate of no less than 1kHz, as well as status quantities such as controller switch status and protection action signals. The collection time range fully covers the steady-state period of no less than 5 seconds before the disturbance, the disturbance duration, and the recovery period of no less than 10 seconds after the disturbance is cleared, completely recording the dynamic response waveform of the entire disturbance process. The raw waveform time series data collected for each operating condition are classified and stored using the operating condition number as a unique index, forming a structured operating condition database. The data in the operating condition database corresponds one-to-one with the operating condition entries in the multi-dimensional operating condition matrix and can be directly called upon in subsequent evaluation stages.
[0065] This step automates and standardizes the execution of full grid-connected characteristic testing, replacing the traditional manual configuration and testing method. It avoids parameter deviations and interpretation errors introduced by manual operation, while ensuring that the initial conditions, disturbance application, and data acquisition rules for all test conditions are consistent, providing a reliable and consistent data foundation for subsequent comprehensive evaluation.
[0066] S130. Based on the operating condition database and the pre-established "operating condition item - evaluation index" mapping relationship table, calculate the evaluation index value corresponding to each operating condition, compare the evaluation index value with the pre-configured qualification criterion threshold in the "operating condition item - evaluation index" mapping relationship table one by one to determine the qualification of the operating condition, and output a comprehensive test report on grid connection characteristics after summarizing the evaluation results of all operating conditions.
[0067] Wherein, the working condition database stores the original waveform time series with timestamps of all working conditions, and each set of waveform data uses the working condition number as the unique index, which corresponds one-to-one with the working condition entries in the multi-dimensional working condition matrix. The "working condition entry - evaluation indicator" mapping relation table is constructed synchronously during the generation phase of the multi-dimensional working condition matrix, and pre-matches the corresponding evaluation indicator calculation rules, data acquisition channel list and qualification criterion threshold for each working condition entry; different types of test items correspond to differentiated evaluation indicator systems, and all indicators are defined under a unified evaluation framework to ensure consistent evaluation calibers for each test item.
[0068] Specifically, for a single working condition, the original waveform time series of the corresponding working condition is first retrieved from the working condition database, and key characteristic time points such as the steady-state moment before disturbance, the disturbance start moment, the disturbance end moment, and the system recovery steady-state moment are identified and extracted; then, all evaluation indicator values corresponding to this working condition are calculated according to the evaluation indicator calculation rules matched by the "working condition entry - evaluation indicator" mapping relation table. Different test items correspond to differentiated indicator calculation dimensions: power grid strength indicators include voltage and current stability and power oscillation divergence state determination; frequency modulation indicators include frequency modulation dead band, start-up time, response time, adjustment time, and active power response error; fault ride-through indicators include non-off-grid state determination, dynamic reactive current amplitude, active power recovery rate, etc., to realize quantitative evaluation of all grid-connected characteristics. After completing the calculation of all indicators for a single working condition, the calculated value of each indicator is compared one by one with the pre-configured qualification criterion threshold for this working condition in the mapping relation table: if all evaluation indicators under this working condition meet the requirements of the criterion threshold, the working condition is determined to be qualified; if any indicator does not meet the criterion requirements, the working condition is determined to be unqualified, and the deviation between the name of the unqualified indicator, the evaluation indicator value and the qualification criterion threshold is marked at the same time, so as to realize the accurate positioning of performance defects. After traversing all working conditions and completing the qualification determination of all working conditions, the evaluation results of all working conditions are summarized to generate a structured comprehensive test report for grid-connected characteristics. The content of the report includes information of the tested object, simulation platform information, primary system parameters, multi-dimensional working condition matrix, response waveform curve of each working condition, details of comparison between calculated values of each working condition indicator and the criteria, summary of unqualified working conditions and cause analysis, and comprehensive conclusion of overall grid-connected characteristics.
[0069] The technical solution provided by this invention is based on a pre-built hardware-in-the-loop real-time simulation test platform. It loads pre-set test basic parameters and operating state sets from the hardware-in-the-loop real-time simulation test platform to generate a multi-dimensional operating condition matrix covering the full grid-connected characteristics of a grid-type converter. Using the multi-dimensional operating condition matrix as input, the operating state switching, disturbance injection, and data acquisition are performed on the hardware-in-the-loop real-time simulation test platform according to the order of the operating condition numbers in the multi-dimensional operating condition matrix, forming an operating condition database. This solves the problem of incomplete test coverage caused by the inability to form a multi-dimensional operating condition matrix covering the full grid-connected characteristics of grid-type converters in existing technologies. Based on the operating condition database and a pre-established mapping table of "operating condition items - evaluation indicators," the evaluation indicator values corresponding to each operating condition are calculated. The evaluation indicator values are compared one by one with the pre-configured pass / fail threshold values in the mapping table to determine the pass / fail status of the operating condition, eliminating subjective errors from manual interpretation and improving test efficiency and consistency of conclusions.
[0070] In some other embodiments, optionally, S110 includes:
[0071] S1101. Based on the pre-built hardware-in-the-loop real-time simulation test platform, load the pre-set set of test basic parameters and operating status of the hardware-in-the-loop real-time simulation test platform.
[0072] S1102. Configure the corresponding exclusive perturbation parameter dimensions and parameter values for each predefined test item.
[0073] The test items can be predefined based on the grid connection characteristics of the grid-connected converter. The test items include the following eleven categories: grid strength adaptability test, phase angle change tolerance test, primary frequency regulation dead zone test, primary frequency regulation dynamic performance test, primary frequency regulation limiting test, reactive power voltage regulation capability test, rotational inertia characteristic test, damping control characteristic test, power control accuracy test, low voltage ride-through test, and high voltage ride-through test.
[0074] Specifically, each predefined test item is configured with its own dedicated perturbation parameter dimension and parameter values. The dedicated perturbation parameter dimensions for each test item are defined as follows:
[0075] (1) The specific disturbance parameter dimensions for the power grid strength adaptability test include: the target short-circuit ratio sequence. Sequence 1 is SCR=5.0→2.5→1.0→2.5→5.0, covering the recovery process from a strong grid to a weak grid; Sequence 2 is SCR=20.0→10.0→5.0→10.0→20.0, covering the recovery process from an extremely strong grid to a medium-strength grid. The variable AC equivalent impedance corresponding to each target short-circuit ratio (SCR) is determined by the formula... Calculate and adjust online. In the formula, The impedance value is the equivalent impedance of the variable AC circuit. This is the rated voltage on the primary side of the step-up transformer. The rated power of the grid-type converter under test. The target short-circuit ratio.
[0076] (2) The specific disturbance parameter dimensions of the phase angle change tolerance test include: phase angle step direction (forward, reverse), phase angle step amplitude (30°, 45°, 60°) and test short-circuit ratio (5.0, 2.5, 1.5).
[0077] (3) The specific disturbance parameter dimensions of the first frequency modulation dead zone test include: frequency ramp change sequence (50.00Hz gradually shifted to 50.06Hz and then returned to 50.00Hz, and 50.00Hz gradually shifted to 49.94Hz and then returned to 50.00Hz), with a frequency change rate not exceeding 0.01Hz / s.
[0078] (4) The specific disturbance parameter dimensions for the primary frequency modulation dynamic performance test include: frequency step amplitude (+0.15Hz, -0.15Hz, +0.20Hz, -0.20Hz, +0.25Hz, -0.25Hz), and the frequency is maintained after the step until 30 seconds after the primary frequency modulation power reaches the theoretical calculated value before recovering.
[0079] (5) The specific disturbance parameter dimensions of the first frequency modulation limiting test include: frequency step amplitude (+1.5Hz, -1.5Hz).
[0080] (6) The specific disturbance parameter dimension of the reactive voltage regulation capability test includes: voltage step sequence (1.0pu→0.9pu→1.0pu→1.1pu→1.0pu), where the reference voltage 1.0pu is the pre-set rated AC voltage UN_ac of the grid-type converter under test.
[0081] (7) The specific disturbance parameter dimension for the rotational inertia characteristic test includes: frequency change sequence (50.0Hz→48.1Hz→50.0Hz→51.4Hz→50.0Hz), and the frequency change rate is set according to the standard.
[0082] (8) The specific disturbance parameter dimensions for the damping control characteristic test include: frequency fluctuation amplitude Afreq (0.01Hz, 0.02Hz) and frequency fluctuation frequency ffreq (0.1Hz, 1.0Hz, 1.6Hz). There are a total of 6 disturbance combinations after the two sets of dimensions are cross-combined. The frequency disturbance is achieved by superimposing a square wave with an amplitude of Afreq and a frequency of ffreq on the rated frequency command of the grid-type converter under test.
[0083] (9) The specific disturbance parameter dimensions for the power control accuracy test include: the power command step sequence and the direction of change. The power increase test sequence is 0→-0.25PN→0.25PN→-0.5PN→0.5PN→-0.75PN→0.75PN→-PN→PN; the power decrease test sequence is PN→-PN→0.75PN→-0.75PN→0.5PN→-0.5PN→0.25PN→-0.25PN→0, and each power point is maintained for at least 30 seconds.
[0084] (10) The specific disturbance parameters for the low voltage ride-through test include: voltage sag depth (0%Un, 20%Un, 40%Un, 60%Un, 75%Un), corresponding durations as specified in GB / T 34120 standard (150ms, 625ms, 1048ms, 1471ms, 1788ms respectively), fault phase (three-phase symmetrical sag, phase A sag, phase B sag, phase C sag), and operating state set (no load, full charge, full discharge). Among them, Un is the rated line voltage of the grid-type converter under test.
[0085] (11) The specific disturbance parameters for high voltage ride-through tests include: voltage rise amplitude (112%Un, 115%Un, 118%Un, 122%Un, 125%Un), fault phase (three-phase symmetrical rise, A-phase rise, B-phase rise, C-phase rise), and operating state set (no load, full charge, full discharge).
[0086] S1103. Combine the unique disturbance parameter dimension of each test item with the pre-determined common dimension through Cartesian product to generate the operating condition entries for each test item. The operating condition entries include the following fields: operating condition number, test item name, operating mode, load level, disturbance type, disturbance parameter value, duration, fault phase, and corresponding evaluation criterion name.
[0087] The common dimensions are those shared by all or most test items, including: operating mode (discharge, charge) and load level (light load, full load). For phase angle change tolerance tests, the common dimensions additionally include short-circuit ratio (5.0, 2.5, 1.5). For low voltage ride-through and high voltage ride-through tests, the load level dimension is expanded to include no-load, full-load charging, and full-load discharging.
[0088] Specifically, for each test item, its specific disturbance parameter dimension and common dimension are cross-combined using a Cartesian product to generate operating condition entries for each test item. The number of operating conditions is equal to the product of the number of values for each dimension. Taking the grid strength adaptability test as an example: the common dimension has two operating modes ({discharging, charging}) and two load levels ({light load, full load}), and the specific disturbance parameter dimension has two SCR sequences ({sequence one, sequence two}). After cross-combination, 2×2×2=8 operating conditions are obtained. Taking the phase angle sudden change tolerance test as an example: 2 operating modes × 2 load levels × 3 short-circuit ratios × 3 step amplitudes × 2 step directions = 72 operating conditions.
[0089] S1104. Arrange all test item operating condition entries in the order of test item numbers, and assign a unique operating condition number to each operating condition entry to form a multi-dimensional operating condition matrix covering the full grid-connected characteristics of the grid-type converter.
[0090] Specifically, all test item operating condition entries are arranged sequentially according to their test item numbers. Within the same test item, operating condition entries can be further arranged in an orderly manner according to dimensions such as disturbance parameter level and operating mode. This arrangement ensures that the test process is executed in an orderly manner according to grid connection characteristic categories, avoiding omissions or disordered order of operating conditions. At the same time, it ensures that different models and power levels of the converters under test can follow a completely consistent test sequence for benchmarking tests, guaranteeing the comparability of test results.
[0091] Each operating condition entry is assigned a globally unique operating condition number. This number serves as a unique identifier for the corresponding operating condition and is used throughout the entire process of test execution, data storage, indicator calculation, and result determination. The operating condition number can adopt a coding rule of "test item category code + operating condition sequence number," possessing both category identification and globally unique attributes. Through the unique operating condition number, a one-to-one mapping relationship can be established between operating condition parameter configuration, raw waveform data, and evaluation indicator results, achieving data traceability throughout the entire testing chain and precise location of faulty operating conditions.
[0092] After being arranged in an orderly manner and uniformly numbered, all operating condition entries together constitute a multi-dimensional operating condition matrix. This matrix covers all core grid-connected performance dimensions of the grid-connected converter, including grid adaptability characteristics such as grid strength adaptability and phase angle change tolerance, as well as grid support characteristics such as frequency support, voltage support, inertia response, and damping suppression. It also includes operation and fault characteristics such as power control accuracy and high and low voltage ride-through. Furthermore, the operating condition entries in the matrix cover the cross-combination of multiple dimensions of parameters such as operating mode, load level, disturbance type, disturbance amplitude, duration, and fault phase, eliminating blind spots in the test scenarios and comprehensively and systematically reflecting the comprehensive adaptability of the grid-connected converter in complex grid-connected scenarios.
[0093] This step integrates the originally scattered individual test cases into a systematic set of full-feature test cases through structured integration and coding, which solves the defects of existing technologies such as scattered test cases, incomplete coverage, and non-reusable test conditions.
[0094] In some other embodiments, optionally, after S1104, the following is also included:
[0095] S1105. Pre-configure the corresponding data acquisition channel list, evaluation index calculation rules and qualification criterion thresholds for each working condition item, and establish a mapping relationship table of "working condition item - evaluation index".
[0096] The mapping table of "operating condition items - evaluation indicators" can be used for the calculation of evaluation indicators and the comparison of criteria when calculating evaluation indicator values.
[0097] Specifically, the data acquisition channel list defines the electrical and status quantity channels, sampling parameters, and acquisition timing required for each operating condition. Different types of test items have different performance dimensions to assess, resulting in variations in the physical quantities required for acquisition: for example, frequency-based tests require the acquisition of grid-connected frequency and active power waveforms; fault ride-through tests require additional acquisition of grid-connected switch status, fault phase voltage and current, and protection action signals; and power control tests require the acquisition of power command values and measured power waveforms. By pre-configuring the acquisition channel list for each operating condition, the corresponding acquisition channel can be automatically activated during test execution. This ensures that the acquired data fully matches the evaluation requirements of the operating condition, avoiding redundant invalid data, and also ensures consistent acquisition standards across all operating conditions under the same test item, providing a unified data foundation for subsequent indicator calculations.
[0098] The evaluation index calculation rules define the calculation methods, feature extraction logic, and calculation formulas for various performance indicators corresponding to a single operating condition. Different test items correspond to differentiated evaluation index systems: the power grid strength adaptability test corresponds to voltage and current stability and power oscillation divergence judgment rules; the primary frequency regulation test corresponds to the calculation methods for frequency regulation dead zone, start-up time, response time, adjustment time, and active power response error; the damping control characteristic test corresponds to the integral calculation logic for oscillation energy; and the voltage ride-through test corresponds to the calculation methods for dynamic reactive current and active power recovery rate. These calculation rules are pre-bound to the operating condition entries, allowing subsequent evaluation stages to directly extract feature time points from the original waveform and automatically calculate index values based on the rules. This eliminates the need for manual algorithm configuration for each operating condition, fundamentally unifying the index calculation criteria for all operating conditions and eliminating subjective biases from manual calculations.
[0099] The pass / fail threshold is a quantitative standard for determining the pass / fail status of each evaluation indicator, pre-set according to relevant grid connection standards, technical specifications, and product performance requirements. Different operating conditions, due to variations in disturbance levels and operating states, correspond to different thresholds: for example, low-voltage ride-through conditions with different voltage drop depths correspond to different durations and reactive current requirements, and frequency modulation conditions with different frequency step amplitudes correspond to different power response deviation requirements. Pre-binding the thresholds to the operating condition items enables automated evaluation, avoiding the subjectivity and randomness of manual interpretation, and ensuring consistent standards and comparable results for all operating conditions.
[0100] Each working condition item is bound one by one to its corresponding data acquisition channel list, evaluation index calculation rules, and qualification criterion threshold to form a structured mapping table.
[0101] In some other embodiments, optionally, S120 includes:
[0102] S1201. Read the current operating condition entry from the multi-dimensional operating condition matrix to obtain the current operating mode, current load level, disturbance type, and disturbance parameter value corresponding to the current operating condition.
[0103] S1202: Issue active power and reactive power commands corresponding to the current operating condition to the controller of the grid-type converter under test, so that the controller adjusts the grid-type converter under test to the target operating mode and target load level. After the system meets the steady-state judgment rules, inject the corresponding disturbance into the primary system simulation model in the hardware-in-the-loop real-time simulation test platform according to the disturbance type and disturbance parameter value of the current operating condition.
[0104] Specifically, based on the current operating mode and load level requirements, active power and reactive power commands corresponding to the current operating condition are sent to the controller under test (DUT) via analog and digital channels. This enables the DUT to adjust the grid-connected converter to the target operating mode and target load level. The active and reactive power at the grid connection point (PCC) are continuously monitored through a hardware-in-the-loop real-time simulation test platform. When the fluctuation range of active and reactive power at the PCC is less than ±2%PN within one consecutive second (PN is the rated capacity of the grid-connected converter under test), the system is considered to have entered a steady state. The active and reactive power values at this point are recorded and used as the initial reference values for this operating condition.
[0105] Based on the disturbance type and parameter values under the current operating conditions, the corresponding disturbance is injected into the primary system simulation model through the disturbance injection unit of the hardware-in-the-loop real-time simulation test platform. Disturbance injection is achieved by modifying the parameters of the primary system simulation model. The injection methods for different test items are as follows:
[0106] (a) For grid strength adaptability tests, the variable AC equivalent impedance is gradually adjusted according to the SCR sequence specified in the operating condition entry, and the adjustment timing and duration are performed according to the specific disturbance parameter dimension of the grid strength adaptability test.
[0107] (b) For the phase angle sudden change withstand test, the voltage phase angle of the AC equivalent power supply is instantaneously stepped according to the step direction and amplitude specified in the operating condition item.
[0108] (c) For frequency-related tests (first-order frequency dead zone, dynamic performance, amplitude limiting, moment of inertia, damping control), modify the frequency output value of the AC equivalent power supply: for dead zone tests, use a ramp method to change the frequency, and for dynamic performance and amplitude limiting tests, use a step method to change the frequency.
[0109] (d) For the reactive voltage regulation capability test, modify the output voltage amplitude of the AC equivalent power supply S1 and adjust it sequentially according to the voltage step sequence specified in the operating condition item.
[0110] (e) For power control accuracy tests, modify the active power command and reactive power command issued to the controller of the grid converter under test, and adjust them step by step according to the power command step sequence specified in the operating condition item.
[0111] (f) For voltage ride-through tests, a voltage drop or rise is simulated on the high-voltage side of the step-up transformer using a configured controlled voltage source. The drop / rise depth, duration, and phase are specified in the operating condition entry.
[0112] S1203. Collect electrical and status data based on a preset sampling period and store them with the operating condition number as an index.
[0113] The preset sampling period can be pre-set according to sampling requirements. Electrical and status quantities include: three-phase voltage Upcc, three-phase current Ipcc, positive sequence voltage U1, active power P, reactive power Q, active current Id, reactive current Iq, frequency fpcc, target short-circuit ratio, phase angle change Δθ, fault voltage drop amplitude, and controller status word at the grid connection point PCC.
[0114] Specifically, throughout the entire disturbance injection process, electrical and state quantities are continuously acquired at a sampling rate of not less than 1 kHz. The recorded time window covers: the steady-state period before disturbance injection (not less than 5 seconds), the disturbance duration (the duration specified by the operating condition entry), and the recovery period after disturbance clearance (not less than 10 seconds or until the system returns to steady state). The acquired raw waveform data is stored indexed by the operating condition number.
[0115] S1204. Traverse all operating condition entries, perform corresponding operating state switching, disturbance injection, and data acquisition and storage to form an operating condition database.
[0116] Specifically, after the disturbance injection, data acquisition, and data storage for the current operating condition are completed, it is determined whether there are any unexecuted operating condition entries in the multi-dimensional operating condition matrix. If there are, S1201 is returned to read the next operating condition entry; if not, all operating conditions are executed, and the operating condition database is finally formed.
[0117] Optionally, S130 includes:
[0118] S1301. Read the electrical and status data of each working condition and the data acquisition time point in the working condition database according to the working condition number.
[0119] S1302. Based on the pre-established mapping relationship table of "operating condition items - evaluation indicators", find the calculation rules of the evaluation indicators corresponding to each operating condition.
[0120] S1303. Calculate the evaluation index value corresponding to each working condition based on the electrical and status data of each working condition, the data acquisition time point, and the evaluation index calculation rules.
[0121] Specifically, the calculation rules for the evaluation indicators corresponding to each test item are as follows:
[0122] (1) Power grid strength adaptability: Under each SCR value, whether the amplitude of the three-phase voltage Upcc and the three-phase current Ipcc at the grid connection point PCC remains stable, and whether the active power P and reactive power Q show continuous divergence and oscillation. If no divergence or instability occurs under all SCR values, it is deemed qualified.
[0123] (2) Phase angle sudden change tolerance: After the phase angle step, whether the fluctuations of the three-phase voltage Upcc, the three-phase current Ipcc and the active power P at the grid connection point PCC decay to near the steady state value within 2 seconds. If they recover to stability within the specified time, they are deemed qualified.
[0124] (3) Primary frequency regulation dead zone: Extract the frequency value corresponding to the moment when the active power P begins to be regularly adjusted from the operating condition database. The dead zone value for primary frequency regulation of a grid-type converter is calculated using the following formula:
[0125] In the formula, The dead zone value for primary frequency regulation of a grid-type converter. This represents the frequency value corresponding to the moment when the active power P begins to adjust regularly. The rated frequency is the frequency of the grid-type converter under test.
[0126] Primary frequency regulation dynamic performance: Extract the following from the operating condition database: active power frequency regulation start-up time tp (time difference from the moment of frequency step occurrence to the moment when active power P begins to change regularly), response time tr (time difference from the moment of frequency step occurrence to the moment when active power P first reaches 90% of the target change), settling time ts (time difference from the moment of frequency step occurrence to the moment when active power P enters the steady-state allowable error band ±2%PN and no longer exceeds it), and active power response error. .
[0127] Wherein, the start-up time tp represents the time difference between the moment the frequency step occurs and the moment when the active power P begins to change regularly; the response time tr represents the time difference between the moment the frequency step occurs and the moment when the active power P first reaches 90% of the target change; and the settling time ts represents the time difference between the moment the frequency step occurs and the moment when the active power P enters the steady-state allowable error band ±2%PN and no longer exceeds it.
[0128] The active response error is calculated using the following formula:
[0129] In the formula, This represents the steady-state value of active power. The initial baseline active power, The rated capacity of the grid-type converter under test. The target power change, calculated based on the active power frequency regulation coefficient Kf and the frequency change Δf, is determined using the following formula:
[0130] ;
[0131] (5) Primary frequency regulation limiting: Extract the steady-state value of active power after the frequency step from the operating condition database. ,calculate ,judge Whether it does not exceed the set limit value (100%PN). Among them, This represents the absolute value of the change in active power output of the grid-connected converter after a step change in grid frequency.
[0132] (6) Reactive power voltage regulation capability: The reactive power voltage regulation coefficient Kv is extracted from the operating condition database and calculated using the following formula:
[0133] In the formula, This represents the change in reactive power. The rated apparent power of the grid-type converter, This represents the change in voltage amplitude at the grid connection point. The nominal voltage at the grid connection point PCC), reactive power response time (the time difference between the voltage step and Q reaching 90% of the target change for the first time), and reactive power control deviation.
[0134] (7) Rotational inertia characteristics: The inertia response time, the maximum active power change ΔPmax and the control deviation of active power P are extracted from the operating condition database; where the inertia response time is the time difference between the moment the frequency change occurs and the moment P begins to provide inertia support.
[0135] (8) Damping control characteristics: The damping control response time, oscillation energy, and damped active power change ΔPDmax are extracted from the operating condition database; where the damping control response time is the time difference between the start of the frequency oscillation and the start of the damping response in the active power P. The oscillation energy is calculated using the formula... The calculation is performed, where the integration interval is the duration of the frequency oscillation. This refers to the change in active power caused by damping control. The frequency deviation is indicated by the frequency deviation. When the oscillation energy W < 0, it means that the converter absorbs oscillation energy from the system, and the damping is deemed effective.
[0136] (9) Power control accuracy: Extract the charging and discharging response time (the time difference between the moment the power command changes and the moment P first enters the target value ±2%PN error band), adjustment time, control deviation and measured power factor values at each power factor point from the P(t) waveform.
[0137] (10) Low voltage ride-through: Extract from the operating condition database whether the system remains connected to the grid during voltage dips (judgment is based on whether the switch status at the PCC does not change to open), and the dynamic reactive current injected during the dip. Does it meet the requirements? After the fault is cleared, is the recovery rate dP / dt of the active power P during the recovery period not less than 30%PN / s? The effective value of the line voltage at the grid connection point, The rated line voltage of the grid-type converter under test, This is the rated phase current of the grid-type converter under test.
[0138] (11) High voltage ride-through: Extract whether the grid-connected operation is maintained during the voltage rise period and the three-phase current of the grid-connected converter under test from the operating condition database. Whether a continuous overcurrent occurs and whether the controller of the grid-connected converter under test issues a protection action signal are checked. Specifically, the continuous overcurrent refers to the three-phase current of the grid-connected converter under test. Greater than 1.5 times its rated phase current The time is longer than the protection setting time, which can be preset according to requirements.
[0139] S1304. Compare the evaluation index values with the pre-configured pass / fail threshold values in the "Working Condition Item - Evaluation Index" mapping table one by one. If all evaluation index values meet the pass / fail threshold values, the working condition is judged as qualified; if any evaluation index value does not meet the threshold values, the working condition is judged as unqualified, and the name of the unqualified index and the deviation between the evaluation index value and the pass / fail threshold value are marked.
[0140] S1305. After all operating conditions have been evaluated, summarize the evaluation results of all operating conditions and output a comprehensive test report on the grid-connected characteristics of the grid-connected converter.
[0141] The report includes: test object information (model of grid-type converter, rated parameters, controller firmware version), simulation platform information (model of real-time simulator, simulation step size, I / O board model and configuration parameters), primary system parameters (variable AC equivalent impedance, step-up transformer parameters), multi-dimensional operating condition matrix (including all operating condition numbers, parameter values and evaluation results), waveform curves of each operating condition, detailed comparison table of calculated values and criteria for each operating condition index, summary of unqualified operating conditions and analysis of the reasons for unqualified conditions, and comprehensive conclusions.
[0142] Figure 2 This is a flowchart illustrating another grid-connection characteristic testing method for wind-solar-storage grid-type converters, provided by an embodiment of the present invention. This embodiment further refines the aforementioned embodiments. See also... Figure 2 Optionally, prior to S110, it also includes:
[0143] S210. Build a hardware-in-the-loop real-time simulation test platform.
[0144] Optionally, S210 includes:
[0145] S2101. Construct a primary system simulation model in the real-time digital simulation system. The primary system simulation model includes an AC equivalent power source, a variable AC equivalent impedance, a step-up transformer, and a grid-type converter under test.
[0146] Specifically, Figure 3 This is a schematic diagram of a primary system simulation model structure provided in an embodiment of the present invention. See also... Figure 3 The specific structure of a system simulation model includes the following:
[0147] The AC equivalent power supply S1 is used to output three-phase AC voltages Ua, Ub and Uc and system frequency f. It serves as the voltage and frequency reference source for the entire primary system. The grid disturbances of each test item are achieved by modifying the output parameters of the AC equivalent power supply.
[0148] A variable AC equivalent impedance is connected in series between the AC equivalent power source and the primary side of the step-up transformer to simulate different grid strengths. Its impedance value is adjusted online according to the target short-circuit ratio using the following formula.
[0149] In the formula, The impedance value is the equivalent impedance of the variable AC circuit. This is the rated voltage on the primary side of the step-up transformer. The rated power of the grid-type converter under test. The target short-circuit ratio.
[0150] The step-up transformer T1 has its primary side connected to the output terminal of the variable AC equivalent impedance and its secondary side connected to the grid connection point PCC. It is used to transform the grid side voltage to the AC port voltage level of the converter.
[0151] The grid connection point measurement module is installed at the grid connection point PCC to collect the three-phase voltage Upcc and three-phase current Ipcc in real time, and to calculate the positive sequence voltage U1, active power P, reactive power Q, active current Id, reactive current Iq and frequency fpcc.
[0152] The grid-type converter under test has a built-in power unit, filter reactance Lf, filter capacitor Cf and DC bus. Its AC port is connected to the grid connection point PCC and its DC port is connected to the DC bus. The power unit receives PWM drive signals from the controller.
[0153] S2102. The controller of the grid converter under test is connected to the real-time digital simulation system through the IO interface to establish a closed-loop interaction channel for analog, digital and PWM signals.
[0154] Optionally, S2102 includes:
[0155] The real-time digital simulation system converts the three-phase voltage, three-phase current and DC bus voltage at the grid connection point into analog voltage signals and outputs them to the controller of the grid-type converter under test, thereby establishing an analog output channel.
[0156] Specifically, Figure 4 This diagram illustrates the closed-loop interaction channel established between the controller of the grid-type converter under test and the real-time digital simulation system, as provided in an embodiment of the present invention. (See also...) Figure 4 The real-time digital simulation system uses the GTAO board to output the three-phase voltage Upcc, three-phase current Ipcc, and DC bus voltage Udc calculated by the primary system model at the grid connection point PCC as analog voltage signals to the analog sampling terminals of the controller of the grid-connected converter under test. The signal amplitude is scaled according to the IO parameter configuration principle to ensure the sampling coefficient of the controller of the grid-connected converter under test. Distortionless reproduction of primary system variables in a real-time digital simulation system Furthermore, the GTAO output should not exceed ±10V to avoid saturation distortion. The IO parameter configuration principle is as follows: ; ;in, The controller sampling coefficients of the grid converter under test Provided by the controller manufacturer. The output size of the GTAO board. The magnitude of the variable in the controller of the grid-type converter under test. This is the multiplication factor between the output of the GTAO board and the variables in the host computer of the real-time digital simulation system.
[0157] The controller of the grid-type converter under test is connected to the real-time digital simulation system through the IO interface. The real-time digital simulation system receives the grid-connection switch, protection action, and control enable status signals output by the controller of the grid-type converter under test, and sends the simulation system status and test enable signals to the controller of the grid-type converter under test, thereby establishing a digital quantity interaction channel.
[0158] Specifically, the real-time digital simulation system receives the grid-connected switch status, protection action status, and control enable status output by the controller of the grid-connected converter under test through the GTDI board, and sends the simulation system status and test enable status to the controller through the GTDO board.
[0159] The real-time digital simulation system receives the PWM drive pulse output by the controller of the grid converter under test and applies the pulse to the power unit integrated inside the grid converter under test in real time, thereby establishing a PWM signal channel and forming a control closed loop.
[0160] Specifically, the real-time digital simulation system receives the PWM drive pulse generated by the controller based on its internal control algorithm and the grid connection point data collected in S2101 through the PWM acquisition interface, and applies the pulse to the power unit integrated inside the grid-connected converter under test in real time. After the power unit responds, it changes its output voltage and current, thereby changing the three-phase voltage Upcc and three-phase current Ipcc at the grid connection point PCC, thus completing the control closed loop.
[0161] A data acquisition and evaluation unit is configured. This unit establishes a data link with the grid-connected point measurement module and the controller of the grid-connected converter under test, synchronously acquiring the following electrical and status quantities: three-phase voltage Upcc, three-phase current Ipcc, positive sequence voltage U1, active power P, reactive power Q, active current Id, reactive current Iq, frequency fpcc, target short-circuit ratio, phase angle change Δθ, fault voltage drop amplitude, and controller status word at the grid-connected point PCC. These acquired quantities are categorized by test item and stored in the operating condition database for use in calculating evaluation indicators.
[0162] For the specific structure of the aforementioned hardware-in-the-loop real-time simulation test platform, please refer to [link / reference]. Figure 4 .
[0163] S220. Set the basic test parameters and operating status set of the hardware-in-the-loop real-time simulation test platform.
[0164] Optionally, S220 includes:
[0165] S2201. Set the test basic parameters of the grid-type converter under test; wherein, the test basic parameters include: rated parameters, grid rated parameters and step-up transformer rated parameters, define the set of operating states composed of cross combinations of operating modes and load levels, and determine the steady-state determination rules of the operating states.
[0166] Specifically, set the rated parameters of the grid-type converter under test. The rated parameters include: rated capacity PN, rated AC voltage UN_ac, rated frequency fN, DC bus voltage range Udc_min to Udc_max, and converter topology type.
[0167] S2202. Set the rated parameters of the power grid and the rated parameters of the step-up transformer. The rated parameters of the power grid include the rated voltage Ug and the rated frequency fg; the rated parameters of the step-up transformer include the rated capacity ST1, the rated voltage of the primary side Upri, the rated voltage of the secondary side Usec, the winding connection method, and the short-circuit impedance percentage Uk.
[0168] S2203. Define the set of operating states. The set of operating states consists of two dimensions: operating mode and load level. Operating modes include discharging and charging; load levels include light load and full load. The combined dimensions result in the following set of operating states: full load discharging, light load discharging, full load charging, and light load charging. For fault ride-through tests, an additional no-load state is added.
[0169] S2204. Set the operating state switching rules. Before each test condition is executed, the active power command Pref and reactive power command Qref are sent to the controller of the grid-connected converter under test through the digital channel to make the converter operate in the target operating mode. By continuously monitoring the active power P and reactive power Q at the grid connection point PCC, when the fluctuation range of active power P and reactive power Q is less than ±2%PN for 1 consecutive second, it is determined that the system has entered a steady state. This steady state value is recorded as the initial reference value of active power P0 and the initial reference value of reactive power Q0 for this condition. The injected disturbance is performed based on the initial reference value of active power P0 and the initial reference value of reactive power Q0.
[0170] Figure 5 This invention provides another method for testing the grid connection characteristics of wind-solar-storage grid-type converters, which further refines the aforementioned embodiments. See also... Figure 5 Following S130 are:
[0171] S310, Extension and Reuse of Multidimensional Working Condition Matrix.
[0172] Specifically, when a new test item needs to be added, simply add the item in the defined test item dimension, define the exclusive disturbance parameter dimension and parameter value of the new item in S1102, merge the resulting working condition item after cross-combining it with the common dimension into the end of the multi-dimensional working condition matrix in S1104 in S1103, and pre-configure the evaluation indicators and criteria of the new working condition in S1105, with the rest remaining unchanged.
[0173] When it is necessary to adapt to grid-type converters with different power or voltage levels, only the rated parameters and system parameters need to be modified in S2201 and S2202. In S2101, the impedance value of the variable AC equivalent impedance is recalculated according to the rated power of the new grid-type converter under test and the rated voltage of the primary side of the step-up transformer. In S1102, the values of each disturbance parameter are converted according to the rated power of the new grid-type converter under test and the rated voltage of the primary side of the step-up transformer, and the rest remain unchanged.
[0174] The technical solution provided by the embodiments of the present invention can realize the expansion and reuse of multi-dimensional working condition matrix, and has the beneficial effects of easy expansion and strong reusability.
[0175] Figure 6 This is a schematic diagram of a grid-connection characteristic testing device for a wind-solar-storage grid converter, provided in an embodiment of the present invention. (See attached diagram.) Figure 6 The device includes: a multi-dimensional working condition matrix generation module 410, a working condition database generation module 420, and a report output module 430.
[0176] The multi-dimensional operating condition matrix generation module 410 is used to load the pre-set test basic parameters and operating status set of the hardware-in-the-loop real-time simulation test platform based on the pre-built hardware-in-the-loop real-time simulation test platform, and generate a multi-dimensional operating condition matrix covering the full grid-connected characteristics of the grid-type converter.
[0177] The operating condition database generation module 420 is used to take a multi-dimensional operating condition matrix as input and, on a hardware-in-the-loop real-time simulation test platform, complete the operation state switching, disturbance injection and data acquisition for each operating condition according to the arrangement order of the operating condition numbers in the multi-dimensional operating condition matrix, thereby forming an operating condition database.
[0178] The report output module 430 is used to calculate the evaluation index value corresponding to each working condition based on the working condition database and the pre-established "working condition item-evaluation index" mapping relationship table, compare the evaluation index value with the pre-configured qualification criterion threshold in the "working condition item-evaluation index" mapping relationship table one by one to determine the working condition qualification, and output a grid connection characteristic comprehensive test report after summarizing the evaluation results of all working conditions.
[0179] The grid connection characteristic testing device for wind-solar-storage grid converters provided in this embodiment of the invention can execute the grid connection characteristic testing method for wind-solar-storage grid converters provided in any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the method.
[0180] Figure 7 This is a schematic diagram of an electronic device for testing the grid-connection characteristics of a wind-solar-storage grid-type converter, as provided in an embodiment of the present invention. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the invention described and / or claimed herein.
[0181] like Figure 7As shown, the electronic device 10 includes at least one processor 11 and a memory, such as a read-only memory (ROM) 12 and a random access memory (RAM) 13, communicatively connected to the at least one processor 11. The memory stores computer programs executable by the at least one processor. The processor 11 can perform various appropriate actions and processes based on the computer program stored in the ROM 12 or loaded into the RAM 13 from storage unit 18. The RAM 13 can also store various programs and data required for the operation of the electronic device 10. The processor 11, the ROM 12, and the RAM 13 are interconnected via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0182] Multiple components in electronic device 10 are connected to input / output I / O interface 15, including: input unit 16, such as keyboard, mouse, etc.; output unit 17, such as various types of monitors, speakers, etc.; storage unit 18, such as disk, optical disk, etc.; and communication unit 19, such as network card, modem, wireless transceiver, etc. Communication unit 19 allows electronic device 10 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.
[0183] Processor 11 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 11 include, but are not limited to, central processing unit (CPU), graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, digital signal processors (DSPs), and any suitable processor, controller, microcontroller, etc. Processor 11 performs the various methods and processes described above, such as a grid-connected characteristic testing method applicable to wind-solar-storage grid-type converters.
[0184] In some embodiments, a grid-connection characteristic testing method for wind-solar-storage grid-connected converters can be implemented as a computer program tangibly contained in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed on electronic device 10 via read-only memory ROM 12 and / or communication unit 19. When the computer program is loaded into random access memory RAM 13 and executed by processor 11, one or more steps of the grid-connection characteristic testing method for wind-solar-storage grid-connected converters described above can be performed. Alternatively, in other embodiments, processor 11 can be configured in any other suitable manner to perform a grid-connection characteristic testing method for wind-solar-storage grid-connected converters.
[0185] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transferring data and instructions to the storage system, the at least one input device, and the at least one output device.
[0186] Computer programs used to implement the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when executed by the processor, the computer programs cause the functions / operations specified in the flowcharts and / or block diagrams to be performed. The computer programs may be executed entirely on a machine, partially on a machine, or as a standalone software package, partially on a machine and partially on a remote machine, or entirely on a remote machine or server.
[0187] In the context of this invention, a computer-readable storage medium can be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0188] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device for displaying information to a user; and a keyboard and pointing device through which the user provides input to the electronic device. Other types of devices can also be used to provide interaction with a user; for example, feedback provided to the user can be any form of sensory feedback; and input from the user can be received in any form.
[0189] The systems and technologies described herein can be implemented in computing systems that include backend components, middleware components, or frontend components (e.g., a user computer with a graphical user interface or web browser through which a user can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium. Examples of communication networks include local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.
[0190] A computing system can include clients and servers. Clients and servers are generally located far apart and typically interact through communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a hosting product within the cloud computing service system to address the shortcomings of traditional physical hosts and VPS services, such as high management difficulty and weak business scalability.
[0191] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps described in this invention can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this invention can be achieved, and this is not limited herein.
[0192] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.
Claims
1. A method for testing the grid connection characteristics of wind-solar-storage grid-type converters, characterized in that, include: Based on the pre-built hardware-in-the-loop real-time simulation test platform, load the pre-set test basic parameters and operating status set of the hardware-in-the-loop real-time simulation test platform to generate a multi-dimensional operating condition matrix covering the full grid-connected characteristics of the grid-type converter. Using the multidimensional operating condition matrix as input, the operating condition database is formed on the hardware-in-the-loop real-time simulation test platform by performing the operation state switching, disturbance injection and data acquisition for each operating condition according to the arrangement order of the operating condition numbers in the multidimensional operating condition matrix. Based on the operating condition database and the pre-established "operating condition item-evaluation index" mapping table, the evaluation index value corresponding to each operating condition is calculated. The evaluation index value is compared with the qualified judgment thresholds pre-configured in the "operating condition item-evaluation index" mapping table to determine the qualifiedness of the operating condition. After summarizing the evaluation results of all operating conditions, a comprehensive grid connection characteristic test report is output.
2. The method according to claim 1, characterized in that, Based on a pre-built hardware-in-the-loop real-time simulation test platform, the pre-set test basic parameters and operating status set of the hardware-in-the-loop real-time simulation test platform are loaded to generate a multi-dimensional operating condition matrix covering the full grid-connected characteristics of the grid-connected converter, including: Based on the pre-built hardware-in-the-loop real-time simulation test platform, load the pre-set set of test basic parameters and operating status of the hardware-in-the-loop real-time simulation test platform; Configure corresponding exclusive perturbation parameter dimensions and parameter values for each predefined test item; The specific disturbance parameter dimension of each test item is combined with the pre-determined common dimension by Cartesian product to generate the operating condition entries for each test item; the operating condition entries include the following fields: operating condition number, test item name, current operating mode, current load level, disturbance type, disturbance parameter value, duration, fault phase and corresponding evaluation criterion name; All test item operating condition entries are arranged sequentially according to the test item number, and a unique operating condition number is assigned to each operating condition entry, forming a multi-dimensional operating condition matrix that covers the full grid-connected characteristics of the grid-type converter.
3. The method according to claim 2, characterized in that, After arranging all test item operating condition entries sequentially according to test item number and assigning a unique operating condition number to each operating condition entry to form a multi-dimensional operating condition matrix covering the full grid-connected characteristics of the grid-type converter, it also includes: For each working condition item, a corresponding list of data acquisition channels, calculation rules for evaluation indicators, and threshold values for qualification criteria are pre-configured, and a mapping table of "working condition item - evaluation indicator" is established.
4. The method according to claim 3, characterized in that, Using the multidimensional operating condition matrix as input, the operating condition database is formed on the hardware-in-the-loop real-time simulation test platform by performing operation state switching, disturbance injection, and data acquisition for each operating condition according to the arrangement order of the operating condition numbers in the multidimensional operating condition matrix, including: Read the current operating condition entry from the multi-dimensional operating condition matrix to obtain the current operating mode, current load level, disturbance type, and disturbance parameter value corresponding to the current operating condition; The active power command and reactive power command corresponding to the current operating condition item are issued to the controller of the grid-type converter under test, so that the controller adjusts the grid-type converter under test to the target operating mode and target load level. After the system meets the steady-state judgment rules, the corresponding disturbance is injected into the primary system simulation model in the hardware-in-the-loop real-time simulation test platform according to the disturbance type and disturbance parameter value of the current operating condition. Electrical and status data are collected based on a preset sampling period and stored using the operating condition number as an index. Iterate through all operating condition entries, perform corresponding operating state switching, disturbance injection, and data acquisition and storage to form an operating condition database.
5. The method according to claim 1, characterized in that, Based on the operating condition database and the pre-established "operating condition item-evaluation index" mapping table, the evaluation index value corresponding to each operating condition is calculated. The evaluation index value is then compared one by one with the pre-configured pass / fail threshold values in the "operating condition item-evaluation index" mapping table to determine the pass / fail status of the operating condition. After summarizing the evaluation results of all operating conditions, a comprehensive grid connection characteristic test report is output, including: Read the electrical and status data of each working condition and the data acquisition time point in the working condition database in order of working condition number; Based on the pre-established mapping table of "working condition items - evaluation indicators", find the calculation rules for the evaluation indicators corresponding to each working condition; Based on the electrical and status data for each working condition, as well as the data acquisition time point and evaluation index calculation rules, calculate the evaluation index value corresponding to each working condition. The evaluation index values are compared one by one with the pre-configured pass / fail thresholds in the "Working Condition Item - Evaluation Index" mapping table. If all evaluation index values meet the pass / fail thresholds, the working condition is judged as qualified; if any evaluation index value does not meet the threshold, the working condition is judged as unqualified, and the name of the unqualified index and the deviation between the evaluation index value and the pass / fail threshold are marked. After all operating conditions have been evaluated, the evaluation results for all operating conditions are summarized, and a comprehensive test report on the grid-connected characteristics of the grid-connected converter is output.
6. The method according to claim 1, characterized in that, Before generating a multi-dimensional operating condition matrix covering the full grid-connected characteristics of a grid-connected converter by loading the pre-set test base parameters and operating state set of the pre-built hardware-in-the-loop real-time simulation test platform, the process also includes: Build a hardware-in-the-loop real-time simulation test platform; Set the test base parameters and operating status set of the hardware-in-the-loop real-time simulation test platform.
7. The method according to claim 6, characterized in that, Building a hardware-in-the-loop real-time simulation test platform includes: A primary system simulation model is constructed in a real-time digital simulation system. The primary system simulation model includes an AC equivalent power source, a variable AC equivalent impedance, a step-up transformer, and a grid-type converter under test. The controller of the grid converter under test is connected to the real-time digital simulation system through the IO interface to establish a closed-loop interaction channel for analog, digital and PWM signals.
8. The method according to claim 7, characterized in that, The controller of the grid-type converter under test is connected to the real-time digital simulation system through the IO interface, and a closed-loop interaction channel for analog, digital and PWM signals is established, including: The controller of the grid-type converter under test is connected to the real-time digital simulation system through the IO interface. The real-time digital simulation system converts the three-phase voltage, three-phase current and DC bus voltage at the grid connection point into analog voltage signals and outputs them to the controller of the grid-type converter under test, thereby establishing an analog output channel. The real-time digital simulation system receives grid-connected switch, protection action, and control enable status signals output by the controller of the grid-connected converter under test, and sends simulation system status and test enable signals to the controller of the grid-connected converter under test, thereby establishing a digital quantity interaction channel. The real-time digital simulation system receives the PWM drive pulse output by the controller of the grid converter under test and applies the pulse to the power unit integrated inside the grid converter under test in real time, thereby establishing a PWM signal channel and forming a control closed loop.
9. The method according to claim 6, characterized in that, The set of basic test parameters and operating states for the hardware-in-the-loop real-time simulation test platform includes: Set the basic test parameters for the grid-type converter under test; wherein, the basic test parameters include: rated parameters, grid rated parameters, and step-up transformer rated parameters; Define a set of operating states consisting of a combination of operating modes and load levels, and determine the steady-state determination rules for operating states.
10. A grid-connection characteristic testing device suitable for wind-solar-storage grid-type converters, characterized in that, include: A multi-dimensional operating condition matrix generation module is used to generate a multi-dimensional operating condition matrix covering the full grid-connected characteristics of a grid-connected converter by loading a pre-set set of test basic parameters and operating statuses of the hardware-in-the-loop real-time simulation test platform based on a pre-built hardware-in-the-loop real-time simulation test platform. The working condition database generation module is used to take the multi-dimensional working condition matrix as input and, on the hardware-in-the-loop real-time simulation test platform, complete the operation state switching, disturbance injection and data acquisition for each working condition according to the arrangement order of the working condition numbers in the multi-dimensional working condition matrix to form a working condition database. The report output module is used to calculate the evaluation index value corresponding to each working condition based on the working condition database and the pre-established "working condition item-evaluation index" mapping relationship table, compare the evaluation index value with the pre-configured pass / fail criterion threshold in the "working condition item-evaluation index" mapping relationship table one by one to determine the pass / fail status of the working condition, and output a comprehensive grid connection characteristic test report after summarizing the evaluation results of all working conditions.
