Real-time control system and method for dynamic adjustment of new energy
By designing a real-time control system for new energy, the problem of difficult adjustment of fan converter control strategies in traditional physical dynamic simulation systems is solved, and flexible control of dynamic simulation of new energy is achieved and the scope of relevant scientific research and experiments is expanded.
Patent Information
- Application Number
- CN202411986211.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-31
- Publication Date
- 2025-05-16
AI Technical Summary
In traditional physical dynamic simulation systems used for relay protection device testing, their fan converter control strategy is difficult to adjust according to actual needs, resulting in inconvenient testing.
A real-time control system including upper computer unit, lower computer unit and IO expansion unit is designed. The simulation model is built through a digital simulation platform to determine the analog digital signal controlling the new energy converter, and thus perform real-time control and dynamic adjustment.
The conversion control strategy is adjusted according to the needs of new energy dynamic simulation, and the scientific research and test scope related to the electrical characteristics of the power system in the new energy dynamic simulation test is expanded.
Smart Images

Figure CN120010312A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of relay protection, and more specifically, to a real-time control system and method for dynamic regulation of new energy. Background Art
[0002] The high proportion of new energy and high degree of power electronics in the new power system make the fault response process greatly affected by the control strategy. Constrained by the requirements of grid fault ride-through, the fleet in the field has different transient operation control modes under different fault scenarios. For specific transient control modes, the transient characteristics of the units are different during the fault period due to different operating parameters.
[0003] The simulation components selected by the power system physical simulation technology have the same physical characteristics as the prototype system, and the parameters (per unit value) of the corresponding components are equal. The physical model of the power system is built based on the similarity theory. The power system physical simulation platform consists of simulated synchronous generators, simulated transformers, simulated buses, simulated transmission lines, simulated loads, and connecting lines. The simulation components are equipped with a unified hardware interface. Experimenters can connect various physical simulation components according to simulation needs to simulate different power system operation scenarios.
[0004] The significant advantage of this method is that it can intuitively reflect the changing process of the phenomenon and has a distinct physical meaning; the results of physical simulation experiments can also be used to verify existing theories and models, verify the appropriateness of the assumptions made during modeling, and further improve and develop the theory; in addition, new equipment can easily complete experiments in physical simulation systems to test different algorithms. The limited scale of the system under study is the most significant drawback of this method. Generally, the typical power system wiring method and operation control strategy are used to verify the function of the tested equipment.
[0005] Compared with real-time simulation systems, physical dynamic simulation systems can simulate more accurately the magnetic field changes of electrical equipment and the rotational inertia of rotating motors. However, in traditional physical dynamic simulation systems used for relay protection device testing, the wind turbine converter control strategy is usually fixed and stored in the control chip. During the test of the wind power transmission system relay protection device, it is difficult to adjust the wind turbine converter control strategy according to actual needs, which causes great inconvenience to the test. Summary of the invention
[0006] In view of the above problems, the present invention proposes a real-time control system for dynamic regulation of new energy, comprising: a host computer unit, a slave computer unit and an IO expansion unit;
[0007] The upper computer unit is used to build a digital simulation platform for new energy, and to build a simulation model on the digital simulation platform. The analog digital signal for controlling the new energy converter is determined through the operation and calculation results of the simulation model. The lower computer unit is used to determine the control mode and control algorithm with the analog digital signal, and to perform real-time control of the new energy converter with the control mode and control algorithm. The IO expansion unit is used for the interaction of analog digital signals between the upper computer unit and the lower computer unit, and to dynamically adjust the new energy simulation system with the analog digital signal.
[0008] Optionally, after building the digital simulation platform, the host computer unit builds a computing subsystem and a GUI subsystem based on the digital simulation platform, and builds a simulation model and modifies the model through the computing subsystem and the GUI subsystem.
[0009] Optionally, the lower computer unit includes: a real-time controller.
[0010] Optionally, the lower computer unit performs hardware calculations by receiving the control logic to complete the command execution of the controlled object.
[0011] Optionally, the interactive objects of the IO expansion unit are: electrical quantities, switch signals and control parameters of a digital simulation model or a pure physical prototype.
[0012] Optional, computing subsystem, including: digital operation and IO modules;
[0013] The digital operation and IO module uses the S-Function module as a carrier and performs real-time control of the power electronic converter through a programming language.
[0014] Optionally, the GUI subsystem is also used to: perform online debugging, issue commands and monitor data of the simulation model during the operation of the simulation model.
[0015] Optionally, the computing subsystem executes the algorithm and logic functions of the power electronic converter by calling the C MEX S-Function controller unit.
[0016] Optionally, the input of the S-Function module is a sampled feedback signal, an external command, and an online debugging parameter, and the output is a modulation wave and a debugging channel.
[0017] Optionally, the C MEX S-Function controller unit calculates the basic functional functions in the converter control by calling the C file and configuring the calling interface.
[0018] In another aspect, a real-time control method for dynamic regulation of new energy includes:
[0019] A digital simulation platform is built for new energy through a host computer unit, and a simulation model is built on the digital simulation platform, and an analog digital signal for controlling the new energy converter is determined through the operation and calculation results of the simulation model;
[0020] Determine the control mode and control algorithm by using the analog digital signal through the lower computer unit, and use the control mode and control algorithm to perform real-time control on the new energy converter;
[0021] The analog digital signals between the upper computer unit and the lower computer unit are interacted through the IO expansion unit, and the new energy simulation system is dynamically adjusted by the analog digital signals.
[0022] In yet another aspect, the present invention further provides a computing device, comprising: one or more processors;
[0023] a processor for executing one or more programs;
[0024] When the one or more programs are executed by the one or more processors, the above-described method is implemented.
[0025] In yet another aspect, the present invention further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed, the method described above is implemented.
[0026] Compared with the prior art, the present invention has the following beneficial effects:
[0027] The present invention proposes a real-time control system for dynamic regulation of new energy, including: an upper computer unit, a lower computer unit and an IO expansion unit; the upper computer unit is used to build a digital simulation platform for new energy, and build a simulation model on the digital simulation platform, and determine the analog digital signal for controlling the new energy converter through the operation and calculation results of the simulation model, and the lower computer unit is used to determine the control mode and control algorithm with the analog digital signal, and perform real-time control of the new energy converter with the control mode and control algorithm; the IO expansion unit is used for the interaction of analog digital signals between the upper computer unit and the lower computer unit, and dynamically adjusts the new energy simulation system with the analog digital signal. The present invention can adjust the converter control strategy according to the needs of dynamic simulation of new energy, and greatly expand the scope of scientific research and experiments related to the converter control strategy on the electrical characteristics of the power system in the dynamic simulation test of new energy. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] Figure 1 It is a structural schematic diagram of the system of the present invention;
[0029] Figure 2 A schematic diagram of a primary main circuit of a controlled photovoltaic grid-connected system of the present invention;
[0030] Figure 3 It is a schematic diagram of the RTLAB simulation model of the system of the present invention;
[0031] Figure 4 It is a schematic diagram of the S-Function simulation process of the system of the present invention;
[0032] Figure 5 It is a schematic diagram of the output of the S-Function module of the system of the present invention;
[0033] Figure 6 It is a schematic diagram of the low-breakthrough waveform of a single-phase grounding fault of a 5kW photovoltaic power electronic converter of the system of the present invention. DETAILED DESCRIPTION
[0034] Now, exemplary embodiments of the present invention are described with reference to the accompanying drawings. However, the present invention can be implemented in many different forms and is not limited to the embodiments described herein. These embodiments are provided to disclose the present invention in detail and completely and to fully convey the scope of the present invention to those skilled in the art. The terms used in the exemplary embodiments shown in the accompanying drawings are not intended to limit the present invention. In the accompanying drawings, the same units / elements are marked with the same reference numerals.
[0035] Unless otherwise specified, the terms (including technical terms) used herein have the commonly understood meanings to those skilled in the art. In addition, it is understood that the terms defined in commonly used dictionaries should be understood to have the same meanings as those in the context of the relevant fields, and should not be understood as idealized or overly formal meanings.
[0036] Embodiment 1:
[0037] The present invention proposes a method and system for implementing high-precision dynamic regulation and real-time control of new energy, comprising: a host computer (software operation computer), a slave computer (real-time controller) and an IO expansion unit;
[0038] The host computer (software operation computer) builds the computing subsystem and GUI subsystem units through the real-time simulation platform to realize the framework construction and model modification of the simulation model. The computing subsystem includes all digital operations and IO modules, mainly using S-Function modules as carriers to realize real-time control of power electronic converters through programming languages, and supports real-time modification of control parameters and online debugging; the GUI subsystem includes oscilloscopes, manual switches, selection switches, constants and other modules, which are mainly used for online debugging, issuing commands and data monitoring during real-time operation.
[0039] The computing subsystem uses a C MEX S-Function controller unit to implement the algorithm and logic functions of the power electronic converter, including: creating a C MEX S-Function controller unit, an S-Function module calling a C file, and calling the S-Function module to simultaneously control a system of multiple converters.
[0040] The C MEX S-Function controller unit configures the relevant parameters of the S-Function module according to the workflow, specific tasks and parameter meanings of the S-Function module by creating a C MEX S-Function controller, including two main parts: initialization and simulation cycle.
[0041] The input of the S-Function module is the sampling feedback signals such as voltage and current required for the control of the power electronic converter, the external commands required for logic and the parameters required for online debugging; the output is the modulation wave, the debugging channel reserved for observing the intermediate variables, etc.
[0042] The C MEX S-Function controller unit calculates the basic function in the converter control by calling the C file and configures the calling interface, that is, it realizes the reuse of the basic function in real time and supports the online debugging and modification function.
[0043] The C MEX S-Function controller unit realizes a system that controls multiple converters simultaneously by calling S-Function modules separately within the real-time simulation system, and can also realize variable interaction between multiple S-Function modules.
[0044] The present invention will be further described below in conjunction with specific examples:
[0045] Taking the photovoltaic real-time control system as an example, the implementation method and system of high-precision dynamic adjustment real-time control of new energy are explained. The photovoltaic grid-connected power generation system consists of photovoltaic modules, power electronic converters, filtering units, transformers and distribution systems. The power electronic converter is mainly used to realize power conversion between photovoltaic modules and the power grid, and converts the DC power generated by the photovoltaic module into AC power that meets the requirements of grid connection, that is, a sinusoidal current signal with the same frequency and phase as the power grid.
[0046] Based on the classic current source power electronic converter control method, the control strategy of photovoltaic power electronic converter is designed. The inner loop is a dq decoupled current closed-loop control, which can realize the fast tracking of the grid-connected current to the given current. The outer loop is designed as a DC voltage loop determined according to the external mode. If the MPPT control is enabled, the DC voltage is given as the MPPT output; if the MPPT function is disabled, the DC voltage is given as a fixed value.
[0047] Figure 2 The main circuit and power grid parts shown are built by actual physical objects, and the control part is implemented in the RTLAB platform.
[0048] The establishment and operation of the RTLAB simulation model is completed on the host computer. First, the simulation model is built according to the RTLAB rules. The RTLAB simulation model is divided into a computing subsystem and a GUI subsystem, such as Figure 3 As shown in the figure, the computing subsystem includes all digital operations and IO modules, which mainly use S-Function modules as carriers to realize power electronic converter control through C language; the GUI subsystem includes oscilloscope, manual switch, selection switch and constant modules, which are mainly used for online debugging, issuing commands and data monitoring during real-time operation.
[0049] The real-time simulation system described in this article consists of three parts: the host computer, the slave computer (real-time controller) and the IO expansion unit. The host computer is a computer responsible for building the Simulink model and operating the RTLAB host computer software; the slave computer is the RTLAB real-time controller, which is mainly responsible for the calculation, update and operation of the Simulink model; the IO expansion unit is mainly responsible for the acquisition and output of analog digital signals.
[0050] exist Figure 3 In the SM computing subsystem in , C MEX S-Function is used to implement the algorithm and logic functions of the power electronic converter.
[0051] First, add the S-Function module to the SM computing subsystem of the Simulink model, and configure the relevant parameters of the S-Function according to the actual situation of the controlled object. Before configuration, you need to understand the workflow, specific tasks, and parameter meanings of the S-Function.
[0052] S-Function contains a set of callback functions, mainly including initialization and simulation loop. Figure 4 As shown, each function has its own task.
[0053] Among them, the test parameters of the system of the present invention are shown in Table 1:
[0054] Table 1
[0055]
[0056] Determine the number of input and output IO, transmission width, data type and sampling time, determine the execution order, allocate memory, etc.; the functions included are mdlInitializeSizes, mdlSetInputPortDimensionInfo, mdlSetOutputPortDimensionInfo, mdlInitializeSampleTimes, mdlInitializeConditions, mdlSetInputPortDataType, mdlSetOutputPortDataType, mdlSetDefaultPortDataTypes, mdlStart, which are only executed once at the beginning of the simulation. The mdlInitializeSampleTimes function can set the simulation step size of the S-Function, and mdlStart can execute the initialization of variables and arrays required by the control algorithm.
[0057] The control algorithm is executed in the mdlOutputs function, which is similar to the interrupt of DSP. Each loop is a simulation step, which can also simulate the main function of DSP. In each step, Simulink executes each S-Function module in sequence according to the execution order determined in the initialization phase. For each S-Function, Simulink calls the function to calculate the state and output of the S-Function at the current step. This process is repeated until the end of the simulation.
[0058] For systems containing multiple power electronic converters, their control parts all require some basic functional functions, such as Clarke transformation, Park transformation, iPark transformation, iClarke transformation, PI controller, phase-locked loop and filtering, etc. If this basic function is implemented with statements, there will be a lot of redundant and repeated codes. These basic functional statements can be encapsulated into independent functions, and it is more concise to call the functions separately.
[0059] First, define multiple .c files and .h files, and define file names, variables, structures, and function bodies according to different functions. Then, before calling a function, you need to add the path of its .c and .h files, and finally call the required function in the corresponding position of the mdlOutputs function. You need to configure the input interface of the function before calling it, and configure the output interface of the function after calling it.
[0060] In addition, for simulation systems using S-Function modules, online debugging is supported. The parameters required for online debugging can be set as the input of the S-Function, and this input can be associated with the variables inside the mdlOutputs function. You can also observe the intermediate variables inside the S-Function module through the output of the S-Function, such as the output and intermediate variables of the called function. The input of an S-Function module is the sampled feedback signals such as the voltage and current required for the control of the power electronic converter, the external commands required for the logic, and the parameters required for online debugging; the output is a modulated wave, a debugging channel reserved for observing intermediate variables, etc.
[0061] The simulation step of S-Function indicates how often the code in mdlOutputs function is executed, and the execution order is the order in which the code is written. Compared with the simulation model built with modules, the modeling method described is closer to the real control system. In summary, the modeling method implemented by editing S-Function in C language can realize high-precision control and online debugging functions, which is closer to the actual digital chip control system.
[0062] For a Simulink simulation system that includes multiple power electronic converters, since there are many controlled objects and many sampling signals and PWM signals are required, they can be placed in different S-Function modules. A Simulink simulation can call multiple S-Function modules, which run in parallel and their internal variables do not conflict with each other. Each power electronic converter has its own exclusive S-Function module. The names of the various S-Functions cannot be repeated, and each generates its own executable file without affecting each other. For this reason, the variables that are called in multiple places are defined in the form of structures, and the structure names contain functional characteristics so that they can be called by multiple S-Functions at the same time. Regarding data interaction between S-Functions, if data interaction is required between S-FunctionA and S-FunctionB, for example, the variables in S-FunctionA are transferred to S-FunctionB for use, a variable in S-FunctionA needs to be connected to the input interface of another S-FunctionB through its output interface.
[0063] Multiple S-Functions are equivalent to running in parallel, which is more efficient. It is equivalent to multiple DSP digital chips running at the same time. One S-Function module is equivalent to one DSP. This development method has higher integration and does not require repeated configuration of peripherals and projects, which is convenient for development.
[0064] In order to verify the feasibility and effectiveness of the high-precision dynamic regulation control method based on S-Function, two actual three-phase two-level PWM power electronic converters are taken as control objects and verified by relying on the real-time simulation platform of RTLAB.
[0065] The real-time simulation platform used is well compatible with tools such as Simulink and Sim Power System.
[0066] In the RTLAB host computer software, the input and output signals of the Simulink simulation model are matched one by one with the IO port of the RTLAB, and the information between the RTLAB real-time simulator and the IO expansion unit is configured, and then compiled and downloaded to the RTLAB real-time simulator. Compared with DSP digital chips, the operation steps such as function modification and code download of the real-time control system are simpler, faster and more efficient, because there is no need to download through a special simulator, which simplifies the code download steps, which can modify the code conveniently and flexibly.
[0067] The control part runs in the RTLAB controller, the controlled object is the actual main circuit, and the power grid adopts the actual power system. The grid voltage is obtained through a step-down transformer, and the actual line is simulated by adding components such as resistance and capacitance reactance.
[0068] Figure 5 (a) shows the waveform of an accumulated signal. Each S-Function execution cycle performs an addition operation. The operation result is consistent with the design, and the execution cycle of the controller also corresponds to the simulation step size configured by the S-Function module. In this experiment, the control step size is set to 1e-4s, and the control frequency is consistent with the switching frequency. The control code can be run once in each switching cycle and the duty cycle can be updated once, which can achieve high-precision real-time control.
[0069] Figure 5 (b) is to use a control signal that jumps from 0 to 1 in 0.01s as input and directly assign it to the output channel in the code. It can be seen that the change of the output signal is consistent with the change trend of the input signal, and the difference is one control cycle. In the actual control system, this signal can be the logic instruction of the SC page, PI parameters, or other parameters that need to be changed online. If digital chips such as DSP require online debugging functions, developers are required to specially develop upper computer software and write corresponding communication codes. The accuracy of data transmission and reception is limited by the communication rate, and the upper limit of the transmitted data is also closely related to the communication code.
[0070] according to Figure 5The results show that the model implemented by C MEX S-Function can run normally in the RTLAB real-time controller, can run the C language code according to the design requirements, the execution frequency is consistent with the designed simulation step size, can meet the high-precision requirements of the control algorithm, and can also realize the online debugging function.
[0071] In order to test the dynamic performance of photovoltaic power electronic converters, a single-phase grounding fault is taken as an example to observe the current dynamic performance during low voltage ride-through.
[0072] Depend on Figure 6 It can be seen that before the fault occurred, the power electronic converter was in the 5kW steady-state operation stage, and the feedback values of each current component can track the given value without difference. It can be seen that the simulation model built according to the method described in this article can correctly realize the closed-loop control of the power electronic converter.
[0073] When a single-phase grounding fault occurs and ends, the current at the photovoltaic grid-connected point has an impact and negative sequence component adjustment process. When the fault begins, the photovoltaic power electronic converter sends out the required reactive current, and the corresponding active current will decrease accordingly, and the relationship between them is less than 1.1 times the rated current.
[0074] Embodiment 2:
[0075] The present invention also proposes a real-time control method for dynamic regulation of new energy, comprising:
[0076] Step 1: Building a digital simulation platform for new energy through a host computer unit, and building a simulation model on the digital simulation platform, and determining the analog digital signal for controlling the new energy converter through the operation and calculation results of the simulation model;
[0077] Step 2: Determine a control mode and a control algorithm by using the analog digital signal through the lower computer unit, and perform real-time control on the new energy converter by using the control mode and the control algorithm;
[0078] Step 3: The analog digital signals between the upper computer unit and the lower computer unit are interacted through the IO expansion unit, and the new energy simulation system is dynamically adjusted with the analog digital signals.
[0079] In the present invention, the upper computer (software operation computer), the lower computer (real-time controller) and the IO expansion unit are three parts; the upper computer (software operation computer) builds the calculation subsystem and the GUI subsystem unit through the real-time simulation platform to realize the framework construction and model modification of the simulation model, wherein the calculation subsystem includes all digital operations and IO modules, mainly using the S-Function module as a carrier to realize the real-time control of the power electronic converter through the programming language, and supports real-time modification of control parameters and online debugging; the GUI subsystem includes modules such as oscilloscope, manual switch, selection switch and constant, which are mainly used for online debugging, issuing commands and data monitoring during real-time operation. The lower computer (real-time controller) is used for the execution of real-time control of the digital simulation platform, and is mainly responsible for the real-time calculation, update and operation of the simulation model. The IO expansion unit is responsible for the collection and output of analog digital signals, and the interactive object can be a digital simulation model or a pure physical prototype. By constructing the above-mentioned new energy high-precision dynamic adjustment real-time control platform, it can realize the independent or parallel operation of a single or multiple S-Function modules, greatly improving the control efficiency and the flexibility of control strategy adjustment. It is equivalent to multiple DSP digital chips running at the same time. An S-Function module is equivalent to a DSP. This development method has higher integration and does not require repeated configuration of peripherals and projects. The control strategy and control development efficiency of new energy physical dynamic simulation are greatly improved.
[0080] Embodiment 3:
[0081] Based on the same inventive concept, the present invention also provides a computer device, which includes a processor and a memory, wherein the memory is used to store a computer program, the computer program includes program instructions, and the processor is used to execute the program instructions stored in the computer storage medium. The processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. It is the computing core and control core of the terminal, which is suitable for implementing one or more instructions, and is specifically suitable for loading and executing one or more instructions in the computer storage medium to implement the corresponding method flow or corresponding functions, so as to implement the steps of the method in the above embodiment.
[0082] Embodiment 4:
[0083] Based on the same inventive concept, the present invention also provides a storage medium, specifically a computer-readable storage medium (Memory), which is a memory device in a computer device for storing programs and data. It is understandable that the computer-readable storage medium here can include both a built-in storage medium in a computer device and an extended storage medium supported by the computer device. The computer-readable storage medium provides a storage space, which stores the operating system of the terminal. In addition, one or more instructions suitable for being loaded and executed by a processor are also stored in the storage space, and these instructions can be one or more computer programs (including program codes). It should be noted that the computer-readable storage medium here can be a high-speed RAM memory or a non-volatile memory, such as at least one disk memory. The processor can load and execute one or more instructions stored in the computer-readable storage medium to implement the steps of the method in the above embodiment.
[0084] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes. The schemes in the embodiments of the present invention may be implemented in various computer languages, for example, object-oriented programming language Java and literal scripting language JavaScript, etc.
[0085] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0086] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0087] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0088] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.
[0089] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. A real-time control system for dynamic regulation of new energy, characterized in that: The system comprises: a host computer unit, a slave computer unit and an IO expansion unit; The upper computer unit is used to build a digital simulation platform for new energy, and to build a simulation model on the digital simulation platform. The analog digital signal for controlling the new energy converter is determined through the operation and calculation results of the simulation model. The lower computer unit is used to determine the control mode and control algorithm with the analog digital signal, and to perform real-time control of the new energy converter with the control mode and control algorithm. The IO expansion unit is used for the interaction of analog digital signals between the upper computer unit and the lower computer unit, and to dynamically adjust the new energy simulation system with the analog digital signal.
2. The real-time control system according to claim 1, characterized in that: The host computer unit includes: a software operation computer.
3. The real-time control system according to claim 1, characterized in that: After building the digital simulation platform, the host computer unit builds a computing subsystem and a GUI subsystem based on the digital simulation platform, and builds a simulation model and modifies the model through the computing subsystem and the GUI subsystem.
4. The real-time control system according to claim 1, characterized in that: The lower computer unit includes: a real-time controller.
5. The real-time control system according to claim 1, characterized in that: The lower computer unit performs hardware calculation by receiving the control logic to complete the command execution of the controlled object.
6. The real-time control system according to claim 1, characterized in that: The interactive objects of the IO expansion unit are: electrical quantities, switch signals and control parameters of a digital simulation model or a pure physical prototype.
7. The real-time control system according to claim 3, characterized in that: The computing subsystem includes: digital operation and IO modules; The digital operation and IO module uses the S-Function module as a carrier and performs real-time control of the power electronic converter through a programming language.
8. The real-time control system according to claim 3, characterized in that: The GUI subsystem is also used to perform online debugging, command issuance and data monitoring on the simulation model during the operation of the simulation model.
9. The real-time control system according to claim 3, characterized in that: The computing subsystem executes the algorithm and logic functions of the power electronic converter by calling the C MEXS-Function controller unit.
10. The real-time control system according to claim 7, characterized in that: The input of the S-Function module is a sampling feedback signal, an external command and an online debugging parameter, and the output is a modulation wave and a debugging channel.
11. The real-time control system according to claim 9, characterized in that: The C MEX S-Function controller unit calculates the basic functional functions in the converter control by calling the C file and configures the calling interface.
12. The real-time control system according to claim 9, characterized in that: The C MEX S-Function controller unit controls a multi-converter system simultaneously by calling S-Function modules respectively, and is used for variable interaction between multiple S-Function modules.
13. A real-time control method for dynamic regulation of new energy, characterized in that: The method comprises: A digital simulation platform is built for new energy through a host computer unit, and a simulation model is built on the digital simulation platform, and an analog digital signal for controlling the new energy converter is determined through the operation and calculation results of the simulation model; Determine the control mode and control algorithm by using the analog digital signal through the lower computer unit, and use the control mode and control algorithm to perform real-time control on the new energy converter; The analog digital signals between the upper computer unit and the lower computer unit are interacted through the IO expansion unit, and the new energy simulation system is dynamically adjusted by the analog digital signals.
14. A computer device, characterized in that: include: one or more processors; a processor for executing one or more programs; When the one or more programs are executed by the one or more processors, the method according to claim 13 is implemented.
15. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed, the method according to claim 13 is implemented.