Simulink-based fan master control system modeling method

Through Simulink automatically correlating the physical signals and model signals of the fan main control system, the problem of lack of equipment correlation in fan control strategy modeling in the existing technology is solved, and more efficient model development and design is achieved.

WO2025124125A1PCT designated stage expired Publication Date: 2025-06-19CGN DIGITAL TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/134416
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-12-11
Filing Date
2024-11-26
Publication Date
2025-06-19

AI Technical Summary

Technical Problem

The lack of correlation to equipment in the modeling process of existing fan control strategies leads to high complexity in model development, high manual correlation workload and error-prone.

Method used

Create an empty model block diagram of the fan main control system through Simulink, and automatically associate the actual physical signal and the input and output parameters of the model signal based on the input parameters and output parameters of the fan main control system to form a mapping between the physical point and the model signal and between the model signal and the I/O channel.

Benefits of technology

The workload of manually input parameters is reduced, the tedious steps of manual association is eliminated, the complexity of the fan main control system model development is reduced, the design efficiency is improved, and human error is reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024134416_19062025_PF_FP_ABST
    Figure CN2024134416_19062025_PF_FP_ABST
Patent Text Reader

Abstract

Provided in the present invention is a Simulink-based fan master control system modeling method. The method comprises: acquiring physical point information of a fan master control system, and extracting, from the physical point information, input parameters and output parameters that correspond to the fan master control system; creating an empty model block diagram of the fan master control system in Simulink on the basis of the input parameters and the output parameters; adding an input interface and an output interface to the model block diagram; connecting the input interface to an actual physical signal in the physical point information, and connecting the output interface to a model signal in the model block diagram; and establishing a mapping relationship between the actual physical signal and the model signal. In the present invention, input and output parameters for an actual physical signal and a model signal are associated by means of Simulink and on the basis of specific I / O module parameters of a fan master control system device, so as to separately form mapping between a physical point and the model signal and between the model signal and an I / O channel, thereby solving the problem of development of a fan master control system model being complex caused by manual association which is required after completion of modelling and involves a large workload and is prone to errors.
Need to check novelty before this filing date? Find Prior Art

Description

A modeling method for wind turbine main control system based on Simulink Technical Field

[0001] The present invention relates to the technical field of fan main control systems, and in particular to a modeling method of a fan main control system based on Simulink. Background Art

[0002] Simulink modeling involves using computer software and tools to create, analyze, and validate system models. These models can be physical, engineering, biological, or other types of systems. Simulink modeling allows for experiments and tests in a virtual environment to evaluate system performance, optimize designs, and predict system behavior.

[0003] The Simulink modeling tool is a widely used tool that can build mathematical models of linear, nonlinear, real-time, and discrete systems. The models built with this tool can be used for mathematical simulation or compiled into C code and downloaded to a real-time simulator for real-time simulation. Therefore, Simulink models are widely used in various fields, such as wind turbine main control systems, power systems, and communications.

[0004] At present, when using Simulink modeling tools to model the wind turbine main control system, designers generally use the basic modules provided by Simulink models, such as addition, integration, and differentiation modules, to manually build the control strategy model corresponding to the wind turbine main control system based on their own understanding of wind turbines and wind energy.

[0005] However, the following problems exist in the above-mentioned manual model building process: Currently, wind turbine control strategy modeling generally only implements the control strategy algorithm, and lacks association with the corresponding equipment. These associations are an indispensable part of the entire wind turbine master control system. After the model is completed, manual association is required, which is very labor-intensive and prone to errors, increasing the complexity of the overall wind turbine master control system model development.

[0006] The main disadvantages of using Simulink in the design of existing fan controller master systems are that they generally only implement control strategy algorithms, without any association between related hardware, modeling models, and IO channel information. These associations are an indispensable part of the entire fan master control system, so manual association is required after the model is completed, which is very labor-intensive and prone to errors, increasing the overall development complexity of the fan master control system model.

[0007] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute prior art known to ordinary technicians in the field. Summary of the Invention

[0008] In view of the shortcomings of the prior art mentioned above, the present invention provides a modeling method for a fan master control system based on Simulink. Through Simulink, an empty fan master control system model block diagram is created according to the input parameters and output parameters of the fan master control system, and the input and output parameters of the actual physical signal and the model signal are automatically associated according to the specific I / O module parameters of the equipment to which the fan master control system belongs. A mapping is formed between the physical point and the model signal, and between the model signal and the I / O channel, respectively, to solve the problem that manual association is required after the model is opened, which is labor-intensive and error-prone, resulting in high complexity in the development of the fan master control system model.

[0009] The present invention provides a modeling method for a fan main control system based on Simulink, comprising:

[0010] S1. Obtain physical point information of the wind turbine main control system and extract input parameters and output parameters corresponding to the wind turbine main control system from the physical point information;

[0011] S2. Create an empty model block diagram of the wind turbine main control system in Simulink according to the input parameters and output parameters;

[0012] S3. Add input interfaces and output interfaces to the model block diagram based on the input parameters and output parameters;

[0013] S4. Connect the input interface to the actual physical signal in the physical point information, and connect the output interface to the model signal in the model block diagram;

[0014] S5. Based on the mapping relationship between the input interface and the output interface in the model block diagram, a mapping relationship between the actual physical signal and the model signal is established in Simulink.

[0015] In one embodiment of the present invention, S1 includes: S11, reading physical point information saved in the form of a file; S12, extracting input parameters and output parameters from the physical point information according to the design requirements of the wind turbine master control system; S13, reading the measurement point list of the wind turbine master control system in the input parameters; S14, reading the I / O module parameters in the input parameters and output parameters.

[0016] In one embodiment of the present invention, in S11, it includes: S111, determining the role and type of physical point information; S112, generating a data management submodule of the wind turbine master control system in the model block diagram; S113, determining the setting rules of the model block diagram according to the design requirements of the wind turbine master control system; S114, creating an output port of the data management submodule in the model block diagram based on the setting rules; S115, establishing a connection relationship between the physical point information and the output port based on the setting rules.

[0017] In one embodiment of the present invention, S14 includes: S141, reading the output parameters of the I / O channel in the I / O module parameters; S142, determining the model signal connected to the output interface based on the output interface corresponding to the output parameter; S143, establishing a mapping relationship between the model signal and the I / O channel; S144, determining the actual physical signal corresponding to the I / O module parameter to which the I / O channel belongs based on the mapping relationship between the actual physical signal and the model signal and the mapping relationship between the model signal and the I / O channel.

[0018] In one embodiment of the present invention, in S142, it also includes: S1421, determining the naming convention of the model signal; S1422, establishing a mapping relationship between the model signals according to the naming convention; S1423, matching the I / O channel to the corresponding input and output parameters based on the mapping relationship between the model signals.

[0019] In one embodiment of the present invention, S2 includes: S21, determining input parameters and output parameters according to the design requirements of the wind turbine master control system; S22, creating a model of the wind turbine master control system in Simulink, and adding an empty model block diagram to the model of the wind turbine master control system.

[0020] In one embodiment of the present invention, S4 also includes: S41, determining the parameters of the input interface in the model block diagram based on the parameters of the actual physical signal; S42, determining the parameters of the output interface in the model block diagram based on the parameters of the model signal; S43, connecting the input interface to the actual physical signal and the output interface to the model signal.

[0021] In one embodiment of the present invention, the naming convention includes variable names, input signal names, and output signal names; the mapping relationship between model signals includes the corresponding relationship between variable names and input signal names and output signal names.

[0022] In one embodiment of the present invention, the physical point information is the on-site configuration parameters of the equipment belonging to the wind turbine main control system, and the on-site configuration parameters include input parameters and output parameters; the input parameters include ambient wind speed, ambient wind direction, generator speed and grid voltage, and the output parameters include generator power, wind turbine speed, wind turbine blade angle of attack and wind turbine yaw angle.

[0023] The present invention also provides a computer-readable storage medium having computer-readable instructions stored thereon. When the computer-readable instructions are executed by a processor of a computer, the computer is caused to execute the modeling method as described above.

[0024] In one embodiment of the present invention, the input and output parameters of the wind turbine master control system model are first provided to Simulink. This includes a list of measurement points and device-specific I / O module parameter information. The measurement point list includes a list of signals that require monitoring, control, and protection, while the device-specific I / O module information includes the correspondence between actual I / O channels and physical signals.

[0025] Next, Simulink is made to read the physical point list file corresponding to the physical point information: In the present invention, it is necessary to read the physical point list file saved in the form of a file, which contains the information of all physical points, as well as their functions, types, etc.

[0026] Simulink then automatically connects the actual physical signals to the model signals: Based on the function and type of the physical point, a data management submodule is automatically generated in the Simulink model, converting the physical point into an input signal. Based on pre-defined rules, the physical point is then connected to the output signal of the corresponding submodule.

[0027] Next, we used Simulink to build a model platform and, through automated modeling tools, generated an empty wind turbine master control system model block diagram based on the input and output parameter requirements. The model block diagram includes each measurement point and the corresponding input and output parameters.

[0028] Then, based on the specific I / O module parameters of the corresponding device in the wind turbine master control system, the automated modeling tool associates the actual I / O channels and physical signals with the input and output parameters in the model block diagram. The tool automatically connects the corresponding physical signals based on the specific I / O module parameters of the device. The specific steps are as follows:

[0029] Establish naming conventions for model signals. Based on specific application requirements, develop a standardized naming method, including the format for variable names, input signal names, and output signal names. For example, you can stipulate that variable names begin with a letter and contain only letters and numbers, input signal names begin with "In_", and output signal names begin with "Out_".

[0030] Establish mapping relationships based on system variable naming conventions. Map system variables to input and output signals to determine the I / O channel they are located on. By parsing the system variable names, you can automatically extract the input and output signal names.

[0031] Match I / O channels. Automatically match I / O channels based on the established mapping relationship and link the corresponding input and output signals to the correct channels.

[0032] In one embodiment of the present invention, during the automated modeling process, Simulink can also automatically add some common control logic modules according to user needs, such as PID controllers, switching logic, etc. These control logic modules can be further configured and adjusted according to actual needs.

[0033] Finally, the automatically generated wind turbine master control system model can be further modified and optimized based on the specific requirements of the actual application. The model simulation and analysis functions provided by the Simulink platform can be used to verify and debug the model to ensure that it meets the design requirements.

[0034] The beneficial effects of the present invention are as follows:

[0035] 1. The present invention provides a modeling method for a fan main control system based on Simulink. Simulink is used to create an empty fan main control system model block diagram according to the input parameters and output parameters provided by the fan main control system, and an association is established between the actual physical signals of the device hardware belonging to the fan main control system and the I / O channels of the fan main control system model, thereby reducing the workload of manually inputting various physical point information parameters.

[0036] 2. The present invention uses Simulink to form mapping connections between actual physical signals and model signals, and between model signals and I / O channels according to the specific I / O module parameters of the equipment belonging to the fan main control system, and then automatically associates the actual physical signals and the I / O channel parameters of the model during the modeling process, thereby eliminating the tedious steps of manual association.

[0037] 3. The present invention utilizes the functional module library provided by Simulink to automatically add common control logic modules according to the modeling requirements of the fan main control system, reducing the work of manual construction; and through the simulation and analysis functions provided by Simulink, the automatically generated model of the fan main control system is verified and debugged to ensure that it meets the design requirements.

[0038] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] The accompanying drawings are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present invention, and together with the specification, are used to explain the principles of the present invention. Obviously, the drawings described below are only some embodiments of the present invention, and it is clear that a person skilled in the art can derive other drawings based on these drawings without inventive effort. In the drawings:

[0040] FIG1 is a flow chart of a method for modeling a fan main control system according to the present invention;

[0041] FIG2 is a flowchart of an algorithm model development process for a wind turbine master control system according to an embodiment of the present invention;

[0042] FIG3 is a flow chart of the implementation steps of a method for modeling a wind turbine master control system in one embodiment of the present invention. DETAILED DESCRIPTION

[0043] The following describes the embodiments of the present invention through specific examples. Those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that the following examples and the features in the examples can be combined with each other unless they conflict. It should also be understood that the terms used in the examples of the present invention are for the purpose of describing specific embodiments, not for the purpose of limiting the scope of protection of the present invention. The test methods for which specific conditions are not specified in the following examples are generally carried out under conventional conditions or under the conditions recommended by the manufacturers.

[0044] Please refer to Figures 1 to 3. It should be noted that the structures, proportions, sizes, etc. illustrated in the drawings of this specification are only used to match the contents disclosed in the specification for people familiar with this technology to understand and read, and are not used to limit the limiting conditions for the implementation of the present invention. Therefore, they have no technical significance. Any modification of the structure, change in the proportional relationship or adjustment of the size should still fall within the scope of the technical content disclosed by the present invention without affecting the efficacy and purpose that can be achieved by the present invention. At the same time, the terms such as "upper", "lower", "left", "right", "middle" and "one" quoted in this specification are only for the convenience of description and are not used to limit the scope of the implementation of the present invention. Changes or adjustments in their relative relationships should also be regarded as the scope of the implementation of the present invention without substantially changing the technical content.

[0045] Referring to FIG1 , an embodiment of the present invention provides a method for modeling a wind turbine main control system based on Simulink, including:

[0046] S1. Obtain physical point information of the wind turbine main control system and extract input parameters and output parameters corresponding to the wind turbine main control system from the physical point information;

[0047] S2. Create an empty model block diagram of the wind turbine main control system in Simulink according to the input parameters and output parameters;

[0048] S3. Add input interfaces and output interfaces to the model block diagram based on the input parameters and output parameters;

[0049] S4. Connect the input interface to the actual physical signal in the physical point information, and connect the output interface to the model signal in the model block diagram;

[0050] S5. Based on the mapping relationship between the input interface and the output interface in the model block diagram, a mapping relationship between the actual physical signal and the model signal is established in Simulink.

[0051] In this embodiment, when modeling the wind turbine main control system, it can be considered that the mechanical system modeling and power system modeling of the wind turbine have been completed. The modeling of the wind turbine main control system includes modeling the speed control, yaw control, pitch control and other subsystems separately. The speed wind turbine main control system is used to adjust the speed of the wind turbine; the yaw wind turbine main control system is used to adjust the wind turbine to the wind direction; the pitch wind turbine main control system is used to adjust the angle of attack of the blades to optimize the performance of the wind turbine. The above subsystems are integrated together to form a complete wind turbine main control system model. The model parameters are set according to the parameters of the actual wind turbine, and the model is verified by comparing with the actual data. By running the model simulation, the performance of the wind turbine under different wind speeds, control strategies and other conditions is analyzed.

[0052] Specifically, in the modeling process of the above-mentioned wind turbine master control system, the physical point information of the wind turbine master control system, namely the physical point list file, is obtained. It is usually a document that describes all physical measurement points in the wind turbine system in detail, generally including: measurement point identifier, measurement point type, location information, connection method, measurement range, precision and accuracy, and sampling frequency, etc.

[0053] Furthermore, in S1, it includes:

[0054] S11, reading the physical point information saved in the form of a file;

[0055] S12. extracting input parameters and output parameters from the physical point information according to the design requirements of the wind turbine main control system;

[0056] S13, reading the measurement point list of the fan main control system in the input parameters;

[0057] S14. Read the I / O module parameters in the input parameters and output parameters.

[0058] Furthermore, the physical point information is the on-site configuration parameters of the equipment belonging to the wind turbine main control system. The on-site configuration parameters include input parameters and output parameters; the input parameters include ambient wind speed, ambient wind direction, generator speed and grid voltage, and the output parameters include generator power, wind turbine speed, wind turbine blade angle of attack and wind turbine yaw angle.

[0059] Specifically, Simulink obtains a list of measurement points for the equipment belonging to the wind turbine main control system, including wind speed, wind direction, generator speed, blade angle, grid voltage, grid frequency, etc. These parameters are usually measured by sensors and serve as inputs to the wind turbine main control system. In addition, it may also include some status indications, such as the running / stopping status and fault status of the wind turbine. It should be noted that in addition to the contents of the measurement point list, the physical point information also includes some parameter information outside the measurement point list. That is to say, the measurement point list mainly includes parameter information that directly affects the operating status of the equipment belonging to the wind turbine main control system, while the physical point information also includes parameter information that indirectly affects the operating status of the equipment belonging to the wind turbine main control system, such as environmental weather parameters, status parameter information of the corresponding sensors on the measurement point list, etc.

[0060] Physical point information (physical point list files) contains extensive parameter information for the wind turbine's main control system and its associated equipment. Based on the on-site configuration of the wind turbine's main control system's equipment, the parameters in this physical point information are categorized into input parameters, output parameters, and measurement point lists. Input parameters used for modeling typically include wind speed, wind direction, generator speed, blade angle, grid voltage, and grid frequency. These input parameters are typically measured by sensors and serve as inputs to the wind turbine's main control system. Output parameters typically include generator power, turbine speed, blade angle of attack, and yaw angle. These output parameters are the outputs of the wind turbine's main control system and are variables regulated by control strategies. Control strategies are the key link between input and output parameters. For example, a speed control strategy adjusts the blade angle based on the difference between wind speed and generator speed; a yaw control strategy adjusts the yaw motor based on the difference between wind direction and yaw angle; and a pitch control strategy adjusts the blade angle based on the difference between wind speed and blade angle.

[0061] Specifically, actual physical signals refer to actual physical quantities measured by sensors or other physical devices. These signals are collected by sensors and transmitted to the wind turbine's main control system for processing and analysis. Examples include wind speed and direction signals measured by wind speed and direction sensors, generator speed signals measured by generator speed sensors, and blade angle signals measured by blade angle sensors.

[0062] Model signals are virtual signals obtained by processing and converting actual physical signals, and are usually used in applications such as control algorithms, model predictions, and system monitoring. Model signals can be calculation results, state estimates, or other related information derived from actual physical signals. For example: State estimation signal: By using filters, Kalman filters, or other state estimation algorithms, the state variables of the wind turbine system can be estimated, such as wind speed estimates, wind direction estimates, generator speed estimates, etc. Fault diagnosis signal: By performing feature extraction, fault detection, and diagnosis algorithms on actual physical signals, signals representing fault states, such as fault codes, fault types, etc., can be obtained. Control command signal: Through control algorithms or model predictions, command signals for controlling wind turbine systems can be generated, such as blade angle control commands, yaw motor control commands, etc.

[0063] Thus, the conversion and relationship between actual physical signals and model signals depends on the specific control strategy and algorithm. During the modeling and wind turbine master control system design process, the mapping relationship between actual physical signals and model signals is generally the process of mapping input signals to output signals. This mapping relationship can be implemented through different modules and algorithms. For example, in a wind turbine master control system, a sensor module can be used to obtain input signals (such as wind speed and direction), and then a control algorithm module can be used to process the input signals and generate output signals (such as voltage or torque) according to the design requirements. This process is the process of mapping input signals to output signals.

[0064] Please refer to FIG. 1 and FIG. 3 . In one embodiment, in S11 , the following steps are included:

[0065] S111. Determine the function and type of the physical point information;

[0066] S112. Generate a data management submodule of the wind turbine main control system in the model block diagram;

[0067] S113. Determine the setting rules of the model block diagram according to the design requirements of the wind turbine main control system;

[0068] S114. Create an output port of the data management submodule in the model block diagram based on the set rules;

[0069] S115: Establish a connection relationship between the physical point information and the output port based on the set rules.

[0070] Specifically, create output ports for the corresponding output signals in each submodule. This can be accomplished using the corresponding blocks (e.g., Outport) in the Simulink model block diagram of the wind turbine master control system. For each output signal, add a corresponding block (e.g., Outport) and set properties such as the signal name, unit, and data type.

[0071] Connect physical points to the output signals of submodules: According to pre-defined rules, connect each physical point to the output signal of the corresponding submodule. This can be done by using signal lines on the Signal Routing toolbar. Connect the model signal of the physical point to the output port of the submodule.

[0072] Through the above steps, physical points can be connected to the output port signals of the corresponding data management submodules according to pre-set rules. In this way, the data flow in the model can be correctly transferred from the physical points to the corresponding submodules to realize the system functions.

[0073] Furthermore, generating a model block diagram of the wind turbine main control system according to the input parameters and the output parameters may include the following steps:

[0074] After determining the input and output parameter requirements, you need to clarify the required input and output parameters, as well as their properties and interface requirements. For example, input parameter signals may include wind speed, wind direction, and rotational speed, while output parameter signals may include blade angle and control commands. Next, create an empty model block diagram: Create a new model in Simulink and add an empty system block diagram as the master model. This can be accomplished by adding the corresponding blocks (such as Subsystem or Model Reference). Next, add input interfaces: Based on the input parameter requirements, add the corresponding input interfaces to the model block diagram. This can be accomplished by using Inport blocks in the system block diagram. Add an Inport block for each input signal and set properties such as the signal name, unit, and data type. Next, add output interfaces: Similarly, based on the output parameter requirements, add the corresponding output interfaces to the model block diagram. This can be accomplished by using Outport blocks in the system block diagram. Add an Outport block for each output signal and set properties such as the signal name, unit, and data type. Finally, connect the input and output interfaces to the measurement points: Connect each interface to the corresponding measurement point. This can be accomplished by using signal lines on the Signal Routing toolbar. Connect the input interface to the physical signal of the measurement point, and connect the model signal of the measurement point to the output interface. In this way, an empty wind turbine main control system model block diagram containing each measurement point and the corresponding input and output interfaces is generated.

[0075] Please refer to FIG. 1 and FIG. 2 . In one embodiment, in S14 , the following steps are included:

[0076] S141, read the output parameters of the I / O channel in the I / O module parameters;

[0077] S142, determining a model signal connected to the output interface based on the output interface corresponding to the output parameter;

[0078] S143, establishing a mapping relationship between the model signal and the I / O channel;

[0079] S144 , determining the actual physical signal corresponding to the I / O module parameter to which the I / O channel belongs based on the mapping relationship between the actual physical signal and the model signal and the mapping relationship between the model signal and the I / O channel.

[0080] Specifically, I / O module parameters typically include an input module for receiving input parameters and an output module for sending control commands. For example, there may be a module for receiving signals from a wind speed and direction sensor, a module for receiving signals from a generator speed and blade angle sensor, a module for sending blade angle control commands, a module for sending yaw motor control commands, and so on. Referring to FIG. 2 , by entering the actual physical point signals of the wind turbine as input parameters, during the development of the algorithm model for the wind turbine master control system, a physical point mapping corresponding to the actual physical point signals of the wind turbine is first formed. Subsequently, through the established algorithm model, each physical point mapping is matched with the I / O mapping, i.e., a connection and conversion relationship is established, and finally, it is used as the output parameter of the wind turbine master control system algorithm.

[0081] At the same time, the specific I / O module parameter information of the wind turbine main control system equipment is provided to Simulink, including the correspondence between the actual I / O channels and the actual physical signals.

[0082] Please refer to FIG. 2 and FIG. 3 . In one embodiment, in S4 , the following steps are further included:

[0083] S41. Determine the parameters of the input interface in the model block diagram based on the parameters of the actual physical signal;

[0084] S42. Determine the parameters of the output interface in the model block diagram based on the parameters of the model signal;

[0085] S43. Connect the input interface to the actual physical signal, and the output interface to the model signal.

[0086] Specifically, by using the automated modeling tools in the Simulink platform, an empty wind turbine master control system model block diagram is generated based on the input and output parameter requirements. The model block diagram includes measurement points such as wind speed, generator temperature, and speed, as well as interfaces for the corresponding input and output parameters.

[0087] Based on the specific I / O module information provided by the wind turbine's main control system equipment, the automated modeling tools in the Simulink platform associate the actual I / O channels and physical signals with the interfaces in the model block diagram. This association between input and output parameters is typically established through the wind turbine's dynamic equations and control strategies. For example, wind speed and blade angle affect wind turbine speed and power generation; wind direction and yaw angle affect wind turbine power and efficiency; and generator speed and grid frequency affect generator power. For example, if an actual I / O channel is used to measure wind speed, the automated modeling tools associate it with the wind speed interface in the model block diagram.

[0088] Please refer to FIG. 2 and FIG. 3 . In one embodiment, S142 further includes:

[0089] S1421. Determine the naming convention of the model signal;

[0090] S1422. Establish a mapping relationship between model signals according to the naming specification;

[0091] S1423. Match the I / O channels to corresponding input and output parameters based on the mapping relationship between the model signals.

[0092] The naming convention includes variable names, input signal names, and output signal names; the mapping relationship between model signals includes the correspondence between variable names and input signal names and output signal names.

[0093] Specifically, the naming conventions and mapping relationships for signals within a model can vary, depending on the model's application domain and requirements. Standardized naming practices can be adopted, such as using English words or abbreviations and adhering to certain naming conventions. For example, camel case or underscores can be used. Namespaces can also be used to categorize and organize signals based on the functional modules or subsystems to which they belong. By adding specific prefixes or identifiers to signal names, the source and purpose of the signal can be clearly indicated.

[0094] Furthermore, when signal transmission and mapping occur between multiple modules, a signal mapping table or mapping relationship can be established to match input signals with output signals. This makes it easier to find and understand the relationships between signals, improving the readability and maintainability of the model. During model design, detailed documentation can be compiled to explain and illustrate signal naming conventions and mapping relationships. This helps other developers or users better understand and use the model.

[0095] In this way, naming conventions and mapping relationships should be flexibly adjusted according to specific application scenarios and requirements to best suit the readability, scalability, and maintainability of the model.

[0096] Please refer to FIG. 2 and FIG. 3 . In one embodiment, S2 includes:

[0097] S21. Determine input parameters and output parameters according to the design requirements of the fan main control system;

[0098] S22. Create a model of the wind turbine main control system in Simulink, and add an empty model block diagram to the model of the wind turbine main control system.

[0099] Specifically, in modeling the wind turbine master control system, determining the role and type of physical point information primarily involves modeling and controlling the physical characteristics of the wind turbine system. This includes positional information on key components such as wind turbine blades, generators, and towers; motion information such as blade and generator speed; mechanical properties such as load and torque on wind turbine blades; temperature distribution information on key components such as wind turbine generators and inverters; meteorological parameters such as wind speed and direction; and electrical parameters such as voltage, current, and power.

[0100] Furthermore, a data management submodule of the wind turbine main control system is generated in the model block diagram. Generally, data from hardware devices such as sensors and actuators is obtained, including various types of signals such as temperature, humidity, wind speed, current, and voltage. The collected data is then stored for subsequent data processing, analysis, and application. At the same time, the collected data is transmitted to other modules or the outside world for real-time monitoring and control. The collected data is processed and analyzed to extract useful information to provide support for subsequent control strategies and decisions. In order to improve the understandability and usability of the wind turbine main control system, the collected data needs to be visualized in the form of charts, curves, etc.

[0101] Thus, when specifying the pre-set rules, i.e., the signal corresponding to each physical point information is connected to the output port of the data management submodule, for example, the rule may be to connect the physical point to a specific submodule based on its type, or to connect the physical point to a corresponding functional module based on its function.

[0102] Please refer to Figure 3, and according to the steps of establishing the fan master control system model in Simulink in the above embodiment, it can also be implemented step by step according to the following contents: reading the physical point list file of the fan master control system, extracting the attributes and types of the physical point list file (in the fan master control system), generating the sub-module output signal of the fan master control system model, (conducting) the model design of the fan master control system, determining the naming convention of the fan master control system model in advance, and associating the I / O channel values ​​of the fan master control system model. The overall content of the step-by-step implementation process is the same as that of the above embodiment and will not be repeated here.

[0103] In one embodiment, during the automated modeling process, Simulink can also automatically add some common control logic modules according to user needs, such as PID controllers, switching logic, etc. These control logic modules can be further configured and adjusted according to actual needs.

[0104] Specifically, the relationship between the control logic module and the generated data management submodule can be interdependent, depending on the requirements and design of the master control system. In a wind turbine master control system, the control logic module is responsible for generating corresponding control outputs based on input signals, system status, and the required control strategy. These outputs typically affect various actuators or components in the system to achieve control of the controlled object.

[0105] Furthermore, in the above-mentioned wind turbine master control system, the data management submodule is used to collect, store, and manage various data generated in the master control system. This data can include sensor readings, system status information, control outputs, and other relevant operational data. The data management submodule is generally responsible for processing, storing, and transmitting this data to meet the needs of system monitoring, analysis, and recording. In some cases, the control logic module uses the data provided by the data management submodule to support its decision-making process. For example, the control logic module may need to read sensor data to assess the current state of the system and generate corresponding control instructions based on this data.

[0106] In this way, the data management submodule optimizes data collection and storage by using information provided by the control logic module. For example, the control logic module might instruct the data management submodule to record data when certain events occur, or to store specific types of data only when certain conditions are met.

[0107] Similarly, the mapping of physical points and I / O channel values ​​involved in the master control system modeling process can be implemented in IEC (International Electrotechnical Commission) algorithm software. For example, in industrial automation and wind turbine master control systems, this is based on the IEC 61131-3 standard, which defines the programmable logic controller (PLC) programming language and software model for industrial automation.

[0108] In this implementation, the mapping between physical points and I / O channels must first be defined. Physical points can be sensors, actuators, or other physical devices in the wind turbine control system, while I / O channels are the interface channels used to exchange data with these physical points. This mapping can be defined in a configuration file, parameter table, or other means.

[0109] Then, on the IEC algorithm software side, the mapping between physical points and I / O channel values ​​can be implemented using programming languages ​​defined in the IEC 61131-3 standard (such as structured text, function block diagram, etc.). The value corresponding to the physical point can usually be obtained or set by reading or writing the corresponding I / O variable.

[0110] This implementation method places the mapping relationship in the IEC algorithm software, allowing for more flexible configuration and adjustment of mapping rules. Modifying the mapping relationship requires modifying the software, without requiring hardware changes. This implementation method also improves system maintainability and scalability, as mapping rules can be easily added, deleted, or modified. Furthermore, the same or similar technology can be used in other industrial control areas beyond wind turbine control systems (DCSs).

[0111] An embodiment of the present invention further provides a computer-readable storage medium having computer-readable instructions stored thereon. When the computer-readable instructions are executed by a computer processor, the computer is caused to execute the above-described Simulink-based wind turbine master control system modeling method. Based on the model block diagram created in Simulink and the design requirements of the wind turbine master control system, the model signals in the model block diagram are mapped to the I / O channels of the I / O module and the actual physical signals of the wind turbine master control system. Furthermore, during the modeling process, the model block diagram is automatically associated with the inputs and outputs of the wind turbine master control system devices, thereby reducing the complexity of wind turbine master control system model development.

[0112] Thus, the present invention implements a complete hardware and software system design for a Simulink model by associating model signals with I / O channel parameters and with actual physical point signals. This architecture improves the design efficiency of large wind turbine control systems and reduces human error.

[0113] In summary, the present invention provides a modeling method for a fan main control system based on Simulink, which automatically generates an empty fan main control system model block diagram through Simulink according to the physical point list file of input parameters and output parameters provided by the fan main control system, thereby reducing the workload of manually inputting various parameters; and uses Simulink to automatically associate the input and output parameters of actual physical signals and model signals according to the specific I / O module parameters of the equipment belonging to the fan main control system, eliminating the tedious steps of manual association; and forms mappings between physical points and model signals, and between model signals and I / O channels respectively; and uses Simulink to automatically add common control logic modules according to the modeling requirements of the fan main control system, thereby reducing the work of manual construction; and verifies and debugs the automatically generated model of the fan main control system to ensure that it meets the design requirements.

[0114] The above embodiments are merely illustrative of the principles and effects of the present invention and are not intended to limit the present invention. Anyone skilled in the art may modify or alter the above embodiments without departing from the spirit and scope of the present invention. Therefore, all equivalent modifications or alterations made by one of ordinary skill in the art without departing from the spirit and technical principles disclosed herein are intended to be covered by the claims of the present invention.

Claims

1. A modeling method for a fan main control system based on Simulink, characterized in that: include: S1. Obtaining physical point information of the wind turbine main control system, and extracting input parameters and output parameters corresponding to the wind turbine main control system from the physical point information; S2. Creating an empty model block diagram of the wind turbine master control system in the Simulink according to the input parameters and the output parameters; S3, adding an input interface and an output interface in the model block diagram based on the input parameters and the output parameters; S4, connecting the input interface with the actual physical signal in the physical point information, and connecting the output interface with the model signal in the model block diagram; S5. Based on the mapping relationship between the input interface and the output interface in the model block diagram, establish a mapping relationship between the actual physical signal and the model signal in the Simulink.

2. The modeling method according to claim 1, characterized in that: In said S1, it includes: S11, reading the physical point information saved in the form of a file; S12, extracting the input parameter and the output parameter from the physical point information according to the design requirements of the wind turbine master control system; S13, reading the measurement point list of the wind turbine master control system in the input parameters; S14. Read the I / O module parameters in the input parameters and the output parameters.

3. The modeling method according to claim 2, characterized in that: After the step S11 and before the step S12, the method includes: S111, determining the function and type of the physical point information; S112, generating a data management submodule of the wind turbine main control system in the model block diagram; S113, determining the setting rules of the model block diagram according to the design requirements of the wind turbine main control system; S114, creating an output port of the data management submodule in the model block diagram based on the setting rule; S115. Establish a connection relationship between the physical point information and the output port based on the setting rule.

4. The modeling method according to claim 2, characterized in that: In said S14, it includes: S141, reading the output parameters of the I / O channel in the I / O module parameters; S142, determining the model signal connected to the output interface based on the output interface corresponding to the output parameter; S143, establishing a mapping relationship between the model signal and the I / O channel; S144. Determine the actual physical signal corresponding to the I / O module parameter to which the I / O channel belongs according to the mapping relationship between the actual physical signal and the model signal and the mapping relationship between the model signal and the I / O channel.

5. The modeling method according to claim 4, characterized in that: In the S142, it also includes: S1421, determining a naming convention for the model signal; S1422, establishing a mapping relationship between the model signals according to the naming specification; S1423. Match the I / O channel to the corresponding input and output parameters based on the mapping relationship between the model signals.

6. The modeling method according to claim 5, characterized in that: The naming convention includes variable name, input signal name, and output signal name; the mapping relationship between the model signals includes the corresponding relationship between the variable name and the input signal name and the output signal name.

7. The modeling method according to claim 1, characterized in that: In said S2, it includes: S21, determining the input parameter and the output parameter according to the design requirements of the wind turbine main control system; S22, creating a model of the wind turbine master control system in the Simulink, and adding an empty model block diagram to the model of the wind turbine master control system.

8. The modeling method according to claim 1, characterized in that: In said S4, it also includes: S41, determining parameters of the input interface in the model block diagram based on parameters of the actual physical signal; S42, determining parameters of the output interface in the model block diagram based on parameters of the model signal; S43, connecting the input interface to the actual physical signal, and connecting the output interface to the model signal.

9. The modeling method according to claim 1, characterized in that: The physical point information is the on-site configuration parameters of the equipment to which the wind turbine main control system belongs, and the on-site configuration parameters include the input parameters and the output parameters; the input parameters include ambient wind speed, ambient wind direction, generator speed and grid voltage, and the output parameters include generator power, fan speed, fan blade angle of attack and fan yaw angle.

10. A computer-readable storage medium, characterized in that: Computer-readable instructions are stored thereon, and when the computer-readable instructions are executed by a processor of a computer, the computer is caused to execute the modeling method according to any one of claims 1 to 9.

Citation Information

Patent Citations

  • Wind power generation digital twin system

    CN113236491A

  • Fan multi-source model coupling collaborative simulation method, platform, medium and equipment

    CN115238409A

  • Fan master control system modeling method based on Simulink

    CN117688747A

  • Method and system for configuring a control system

    EP1522910A1

  • Handling parameters in block diagram modeling

    US20030107595A1