[go: up one dir, main page]

CN116816597A - Control method and system of wind turbine generator, electronic equipment and storage medium - Google Patents

Control method and system of wind turbine generator, electronic equipment and storage medium Download PDF

Info

Publication number
CN116816597A
CN116816597A CN202310841716.3A CN202310841716A CN116816597A CN 116816597 A CN116816597 A CN 116816597A CN 202310841716 A CN202310841716 A CN 202310841716A CN 116816597 A CN116816597 A CN 116816597A
Authority
CN
China
Prior art keywords
wind
control period
control
torque
wind turbine
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310841716.3A
Other languages
Chinese (zh)
Inventor
吴立建
郑松岳
许移庆
王立忠
韦国强
王思奇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang University ZJU
Shanghai Electric Wind Power Group Co Ltd
Original Assignee
Zhejiang University ZJU
Shanghai Electric Wind Power Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang University ZJU, Shanghai Electric Wind Power Group Co Ltd filed Critical Zhejiang University ZJU
Priority to CN202310841716.3A priority Critical patent/CN116816597A/en
Publication of CN116816597A publication Critical patent/CN116816597A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E10/00Energy generation through renewable energy sources
    • Y02E10/70Wind energy
    • Y02E10/72Wind turbines with rotation axis in wind direction

Landscapes

  • Wind Motors (AREA)

Abstract

本公开提供了一种风电机组的控制方法、系统、电子设备及存储介质。该控制方法包括:在当前控制周期内获取风电机组在至少一个预测控制周期内的来流风速;基于来流风速获取风电机组分别在预测控制周期内的运行状态数据;基于运行状态数据和发电机的预设成本函数,生成目标控制序列;响应于进入下一控制周期,根据目标控制序列中的目标转矩值控制发电机转矩。本公开基于帕累托理论,提出了一种预设成本函数,可以协同优化风电机组的塔架载荷和风能捕获功率,能够有效地对降低风电机组的塔架的侧向结构载荷,提升发电机应用在大型风电机组中的功率输出质量,提高风电机组运行的可靠性和高能效具有重要的工程应用价值。

The present disclosure provides a control method, system, electronic device and storage medium for a wind turbine. The control method includes: obtaining the inflow wind speed of the wind turbine in at least one predictive control period within the current control cycle; obtaining the operating status data of the wind turbine in the predictive control cycle based on the incoming wind speed; based on the operating status data and the generator The preset cost function generates a target control sequence; in response to entering the next control cycle, the generator torque is controlled according to the target torque value in the target control sequence. Based on the Pareto theory, this disclosure proposes a preset cost function that can collaboratively optimize the tower load of the wind turbine and the wind energy capture power, effectively reduce the lateral structural load of the tower of the wind turbine, and improve the generator. It has important engineering application value to improve the power output quality of large-scale wind turbines and improve the reliability and energy efficiency of wind turbine operations.

Description

风电机组的控制方法、系统、电子设备及存储介质Control methods, systems, electronic devices and storage media for wind turbines

技术领域Technical field

本公开涉及风电机组控制技术领域,特别涉及一种风电机组的控制方法、系统、电子设备及存储介质。The present disclosure relates to the technical field of wind turbine control, and in particular to a wind turbine control method, system, electronic equipment and storage medium.

背景技术Background technique

风电机组是一种利用风能转换为电能的设备,由多个组件组成。主要包括风轮(叶片)、发电机、变流器、塔架和控制系统等部分。风轮通过受风驱动旋转,激活发电机产生电能,并通过输电系统将电能输送到电网或其他用电设备。A wind turbine is a device that converts wind energy into electrical energy and consists of multiple components. It mainly includes wind wheel (blade), generator, converter, tower and control system. The wind wheel rotates driven by the wind, activating the generator to generate electrical energy, and transmits the electrical energy to the power grid or other electrical equipment through the power transmission system.

随着对风能的需求日益增加,风电机组的额定功率和关键支持结构的尺寸均进行了大型化设计,导致了风电机组结构的柔性特征明显。With the increasing demand for wind energy, the rated power of wind turbines and the size of key support structures have been designed to be large-scale, resulting in obvious flexibility characteristics of the wind turbine structure.

并且,大型的风电机组复杂气动载荷的影响,容易发生弹性变形,从而导致塔架的载荷增加,进而影响风电机组运行的稳定性和使用寿命。In addition, large-scale wind turbines are prone to elastic deformation under the influence of complex aerodynamic loads, which increases the load on the tower and affects the stability and service life of the wind turbine operation.

目前,可以通过控制叶片桨距角和发电机转矩来调节塔架的结构阻尼,例如在对叶片桨距角的控制过程中,加入主动阻尼控制回路以降低振荡,实现在不增加额外的结构的情况下,降低塔架的载荷。但此方法降低的主要是塔架前后方向的载荷,无法有效地优化塔架侧向的载荷。Currently, the structural damping of the tower can be adjusted by controlling the blade pitch angle and generator torque. For example, in the process of controlling the blade pitch angle, an active damping control loop is added to reduce oscillation, achieving the goal without adding additional structures. In this case, reduce the load on the tower. However, this method mainly reduces the load in the front and rear directions of the tower, and cannot effectively optimize the lateral load of the tower.

还可以在发电机转矩的控制过程中,通过抑制塔架侧向的变形加速度降低塔架的载荷。但塔架侧向的变形加速度主要通过传感器进行实时测量,具有明显的非线性特征,难以被直接预测。It can also reduce the load on the tower by suppressing the lateral deformation acceleration of the tower during the control process of the generator torque. However, the lateral deformation acceleration of the tower is mainly measured in real time through sensors, which has obvious nonlinear characteristics and is difficult to predict directly.

或者是采用多变量控制策略,抑制功率输出质量和塔架的侧向振荡,以实现降低塔架侧向的载荷。但非线性变量组成的多目标成本函数难以被求解,导致多变量控制策略难以实现。Or a multi-variable control strategy can be used to suppress the power output quality and the lateral oscillation of the tower to reduce the lateral load of the tower. However, the multi-objective cost function composed of nonlinear variables is difficult to solve, making the multi-variable control strategy difficult to implement.

发明内容Contents of the invention

本公开为了解决上述技术问题,提供一种风电机组的控制方法、系统、电子设备及存储介质。In order to solve the above technical problems, the present disclosure provides a control method, system, electronic device and storage medium for a wind turbine.

本公开是通过下述技术方案来解决上述技术问题:The present disclosure solves the above technical problems through the following technical solutions:

第一方面,本公开提供一种风电机组的控制方法。所述风电机组包括发电机和塔架。In a first aspect, the present disclosure provides a control method for a wind turbine generator. The wind turbine includes a generator and a tower.

所述控制方法的步骤包括:The steps of the control method include:

在当前控制周期内获取所述风电机组在至少一个预测控制周期内的来流风速;Obtain the inflow wind speed of the wind turbine generator in at least one predicted control period during the current control period;

基于所述来流风速获取所述风电机组分别在所述预测控制周期内的运行状态数据;其中,所述运行状态数据包括预测风能捕获功率、理想风能捕获功率以及所述塔架侧向的形变加速度;The operating status data of the wind turbine in the predictive control period are obtained based on the incoming wind speed; wherein the operating status data includes predicted wind energy capture power, ideal wind energy capture power and lateral deformation of the tower acceleration;

基于所述运行状态数据和所述发电机的预设成本函数,生成目标控制序列;其中,所述目标控制序列包括分别与所述预测控制周期对应的发电机转矩的目标转矩值;Generate a target control sequence based on the operating status data and the preset cost function of the generator; wherein the target control sequence includes target torque values of the generator torque respectively corresponding to the predicted control period;

响应于进入下一控制周期,根据所述目标控制序列中的所述目标转矩值控制所述发电机转矩。In response to entering the next control cycle, the generator torque is controlled according to the target torque value in the target control sequence.

可选地,所述预设成本函数表示为:Optionally, the preset cost function is expressed as:

其中,用于表征从第1个所述预测控制周期至第n个所述预测控制周期分别对应的所述发电机转矩,F1用于表征第一权重因子,F2用于表征第二权重因子,n用于表征所述预测控制周期的数量,Ts用于表征所述预测控制周期的时长,Pi用于表征在第i个所述预测控制周期内所述预测风能捕获功率,/>用于表征在第i个所述预测控制周期内所述理想风能捕获功率,/>用于表征在第i个所述预测控制周期内的所述形变加速度,用于表征预设最大形变加速度记录值;in, Used to characterize the generator torque corresponding to the first predictive control period to the nth predictive control period, F 1 is used to represent the first weight factor, and F 2 is used to represent the second weight factor. , n is used to characterize the number of the predictive control cycles, T s is used to characterize the duration of the predictive control cycle, Pi is used to characterize the predicted wind energy capture power in the i-th predictive control cycle, /> Used to characterize the ideal wind energy capture power in the i-th predictive control period, /> Used to characterize the deformation acceleration in the i-th predictive control period, Used to characterize the preset maximum deformation acceleration record value;

所述测风能捕获功率、所述理想风能捕获功率以及所述形变加速度均基于所述发电机转矩进行表示。The measured wind energy capture power, the ideal wind energy capture power and the deformation acceleration are all expressed based on the generator torque.

可选地,所述基于所述运行状态数据和所述发电机的预设成本函数,生成目标控制序列的步骤包括:Optionally, the step of generating a target control sequence based on the operating status data and the preset cost function of the generator includes:

使用粒子群算法分别在多个不同的求解方向对转矩控制序列和迭代变化率进行迭代计算,直到所述迭代计算的次数达到预设迭代次数,获取所述目标控制序列;Use the particle swarm algorithm to iteratively calculate the torque control sequence and iterative change rate in multiple different solution directions, until the number of iterative calculations reaches the preset number of iterations, and obtain the target control sequence;

其中,所述目标控制序列为在所有所述求解方向中所述预设成本函数取全局最小值时对应的所述转矩控制序列。Wherein, the target control sequence is the torque control sequence corresponding to when the preset cost function takes a global minimum in all solution directions.

可选地,所述迭代计算的公式为:Optionally, the formula for the iterative calculation is:

其中,用于表征第j次进行迭代计算得到的所述转矩控制序列,/>用于表征第j次进行迭代计算得到的所述迭代变化率,/>用于表征在所述求解方向的前j次迭代计算中所述预设成本函数取最小值时对应的所述转矩控制序列,/>用于表征在所有所述求解方向的前j次迭代计算中所述预设成本函数取全局最小值时对应的所述转矩控制序列,c1和c2分别用于表征学习因子,r1和r2分别用于表征预设参数,/>用于表征惯性权重。in, Used to characterize the torque control sequence obtained by the jth iterative calculation,/> Used to characterize the iterative change rate obtained by the jth iterative calculation,/> Used to characterize the torque control sequence corresponding to when the preset cost function takes the minimum value in the first j iterations of the solution direction,/> Used to characterize the torque control sequence corresponding to when the preset cost function takes the global minimum in the first j iterations of all solution directions, c 1 and c 2 are used to characterize the learning factor, r 1 and r 2 are used to characterize the preset parameters respectively,/> Used to represent inertia weight.

可选地,所述风电机组还包括风轮;Optionally, the wind turbine further includes a wind wheel;

所述基于所述来流风速获取所述风电机组在所述预测控制周期内的运行状态数据的步骤包括:The step of obtaining the operating status data of the wind turbine within the predictive control period based on the incoming wind speed includes:

根据在所述当前控制周期的上一控制周期内的实际转子转速、实际来流风速、实际能量转化效率和实际转矩值,以及在每个所述预测控制周期内的所述来流风速,利用风能捕获预测模型获取所述风轮在所述预测控制周期内的转子转速,以及所述风电机组在所述预测控制周期内的所述预测风能捕获功率、所述理想风能捕获功率。According to the actual rotor speed, actual inflow wind speed, actual energy conversion efficiency and actual torque value in the previous control period of the current control period, as well as the inflow wind speed in each of the predicted control periods, The wind energy capture prediction model is used to obtain the rotor speed of the wind wheel within the predictive control period, as well as the predicted wind energy capture power and the ideal wind energy capture power of the wind turbine within the predictive control period.

可选地,所述基于所述来流风速获取所述风电机组在所述预测控制周期内的运行状态数据的步骤还包括:Optionally, the step of obtaining the operating status data of the wind turbine within the predictive control period based on the incoming wind speed further includes:

根据所述当前控制周期和上一控制周期各自的实际来流风速、实际运行状态数据、实际目标转矩值,以及在每个所述预测控制周期内的来流风速和运行状态数据,利用形变加速度预测模型依次预测得到在预测控制周期内的形变加速度。According to the actual inflow wind speed, actual operating status data, and actual target torque value of the current control cycle and the previous control cycle, as well as the incoming wind speed and operating status data in each of the predicted control cycles, the deformation The acceleration prediction model sequentially predicts the deformation acceleration within the prediction control period.

可选地,所述风能捕获预测模型表示为:Optionally, the wind energy capture prediction model is expressed as:

其中,用于表征在第i个所述预测控制周期内所述预测风能捕获功率,/>用于表征在第i个所述预测控制周期内所述理想风能捕获功率,/>用于表征在第i个所述预测控制周期内的能量转化效率,/>用于表征所述能量转化效率的预设最大值,/>用于表征在第i个所述预测控制周期内的所述来流风速,/>为在第i个所述预测控制周期内的所述来流风速对应的桨距角理论值,λi用于表征在第i个所述预测控制周期内的叶尖速比值,/>用于表征在第i个所述预测控制周期内所述风轮的转子转速,Ngear用于表征所述风电机组的齿轮箱变比,Jrotor用于表征所述风轮的转动惯量,ω0用于表征在所述当前控制周期内所述风轮的实际转子转速,a1、a2、a3、a4、a5、a6、b1、b2分别用于表征预设参数。in, Used to characterize the predicted wind energy capture power in the i-th predicted control period, /> Used to characterize the ideal wind energy capture power in the i-th predictive control period, /> Used to characterize the energy conversion efficiency within the i-th predictive control cycle,/> The preset maximum value used to characterize the energy conversion efficiency,/> Used to characterize the incoming wind speed in the i-th predictive control period,/> is the theoretical value of the pitch angle corresponding to the incoming wind speed in the i-th predictive control period, and λ i is used to characterize the tip speed ratio in the i-th predictive control period, /> is used to characterize the rotor speed of the wind wheel in the i-th predictive control period, N gear is used to characterize the gearbox ratio of the wind turbine unit, J rotor is used to characterize the rotational inertia of the wind wheel, ω 0 is used to represent the actual rotor speed of the wind wheel in the current control period, and a 1 , a 2 , a 3 , a 4 , a 5 , a 6 , b 1 , and b 2 are used to represent the preset parameters respectively. .

可选地,所述形变加速度预测模型表示为:Optionally, the deformation acceleration prediction model is expressed as:

其中,F用于表征形变加速度预测模型,用于表征在第i个所述预测控制周期内的所述形变加速度,xi用于表征在第i个所述预测控制周期内的所述运行状态数据,用于表征第i个所述预测控制周期对应的所述发电机转矩,/>用于表征在第i个所述预测控制周期内的所述来流风速。Among them, F is used to characterize the deformation acceleration prediction model, is used to characterize the deformation acceleration in the i-th predictive control cycle, x i is used to characterize the operating status data in the i-th predictive control cycle, Used to characterize the generator torque corresponding to the i-th predictive control cycle,/> It is used to characterize the incoming wind speed in the i-th predictive control period.

可选地,所述形变加速度预测模型为支持向量机,所述形变加速度预测模型中的核函数采用高斯核函数;其中,所述形变加速度预测模型根据所述风电机组的历史运行状态数据、历史转矩数据以及历史来流风速数据训练得到。Optionally, the deformation acceleration prediction model is a support vector machine, and the kernel function in the deformation acceleration prediction model adopts a Gaussian kernel function; wherein the deformation acceleration prediction model is based on the historical operating status data and historical data of the wind turbine. It is trained with torque data and historical inflow wind speed data.

第二方面,本公开提供一种风电机组的控制系统。所述风电机组包括发电机和塔架。In a second aspect, the present disclosure provides a control system for a wind turbine generator. The wind turbine includes a generator and a tower.

所述控制系统包括:The control system includes:

风速获取模块,用于在当前控制周期内获取所述风电机组在至少一个预测控制周期内的来流风速;A wind speed acquisition module, configured to acquire the incoming wind speed of the wind turbine in at least one predicted control period within the current control period;

状态数据预测模块,用于基于所述来流风速获取所述风电机组分别在所述预测控制周期内的运行状态数据;其中,所述运行状态数据包括预测风能捕获功率、理想风能捕获功率以及所述塔架侧向的形变加速度;A state data prediction module, configured to obtain the operating state data of the wind turbine in the predictive control period based on the incoming wind speed; wherein the operating state data includes predicted wind energy capture power, ideal wind energy capture power and the Describe the lateral deformation acceleration of the tower;

解算模块,用于基于所述运行状态数据和所述发电机的预设成本函数,生成目标控制序列;其中,所述目标控制序列包括分别与所述预测控制周期对应的发电机转矩的目标转矩值;A solution module, configured to generate a target control sequence based on the operating status data and the preset cost function of the generator; wherein the target control sequence includes generator torque corresponding to the predicted control period. Target torque value;

控制模块,用于响应于进入下一控制周期,根据所述目标控制序列中的所述目标转矩值控制所述发电机转矩。A control module configured to control the generator torque according to the target torque value in the target control sequence in response to entering the next control cycle.

可选地,所述预设成本函数表示为:Optionally, the preset cost function is expressed as:

其中,用于表征从第1个所述预测控制周期至第n个所述预测控制周期分别对应的所述发电机转矩,F1用于表征第一权重因子,F2用于表征第二权重因子,n用于表征所述预测控制周期的数量,Ts用于表征所述预测控制周期的时长,Pi用于表征在第i个所述预测控制周期内所述预测风能捕获功率,/>用于表征在第i个所述预测控制周期内所述理想风能捕获功率,/>用于表征在第i个所述预测控制周期内的所述形变加速度,用于表征预设最大形变加速度记录值;in, Used to characterize the generator torque corresponding to the first predictive control period to the nth predictive control period, F 1 is used to represent the first weight factor, and F 2 is used to represent the second weight factor. , n is used to characterize the number of the predictive control cycles, T s is used to characterize the duration of the predictive control cycle, Pi is used to characterize the predicted wind energy capture power in the i-th predictive control cycle, /> Used to characterize the ideal wind energy capture power in the i-th predictive control period, /> Used to characterize the deformation acceleration in the i-th predictive control period, Used to characterize the preset maximum deformation acceleration record value;

所述测风能捕获功率、所述理想风能捕获功率以及所述形变加速度均基于所述发电机转矩进行表示。The measured wind energy capture power, the ideal wind energy capture power and the deformation acceleration are all expressed based on the generator torque.

可选地,所述解算模块具体用于使用粒子群算法分别在多个不同的求解方向对转矩控制序列和迭代变化率进行迭代计算,直到所述迭代计算的次数达到预设迭代次数,获取所述目标控制序列;Optionally, the solution module is specifically configured to use the particle swarm algorithm to iteratively calculate the torque control sequence and the iterative change rate in multiple different solution directions, until the number of iterative calculations reaches a preset number of iterations, Obtain the target control sequence;

其中,所述目标控制序列为在所有所述求解方向中所述预设成本函数取全局最小值时对应的所述转矩控制序列。Wherein, the target control sequence is the torque control sequence corresponding to when the preset cost function takes a global minimum in all solution directions.

可选地,所述迭代计算的公式为:Optionally, the formula for the iterative calculation is:

其中,用于表征第j次进行迭代计算得到的所述转矩控制序列,/>用于表征第j次进行迭代计算得到的所述迭代变化率,/>用于表征在所述求解方向的前j次迭代计算中所述预设成本函数取最小值时对应的所述转矩控制序列,/>用于表征在所有所述求解方向的前j次迭代计算中所述预设成本函数取全局最小值时对应的所述转矩控制序列,c1和c2分别用于表征学习因子,r1和r2分别用于表征预设参数,/>用于表征惯性权重。in, Used to characterize the torque control sequence obtained by the jth iterative calculation,/> Used to characterize the iterative change rate obtained by the jth iterative calculation,/> Used to characterize the torque control sequence corresponding to when the preset cost function takes the minimum value in the first j iterations of the solution direction,/> Used to characterize the torque control sequence corresponding to when the preset cost function takes the global minimum in the first j iterations of all solution directions, c 1 and c 2 are used to characterize the learning factor, r 1 and r 2 are used to characterize the preset parameters respectively,/> Used to represent inertia weight.

可选地,所述风电机组还包括风轮;Optionally, the wind turbine further includes a wind wheel;

所述状态数据预测模块包括:The state data prediction module includes:

风能捕获预测单元,用于根据在所述当前控制周期的上一控制周期内的实际转子转速、实际来流风速、实际能量转化效率和实际转矩值,以及在每个所述预测控制周期内的所述来流风速,利用风能捕获预测模型获取所述风轮在所述预测控制周期内的转子转速,以及所述风电机组在所述预测控制周期内的所述预测风能捕获功率、所述理想风能捕获功率。A wind energy capture prediction unit configured to calculate the actual rotor speed, the actual inflow wind speed, the actual energy conversion efficiency and the actual torque value in the previous control period of the current control period, and in each of the predicted control periods. of the incoming wind speed, using the wind energy capture prediction model to obtain the rotor speed of the wind wheel during the prediction control period, and the predicted wind energy capture power of the wind turbine during the prediction control period, the Ideal wind energy capture power.

可选地,所述状态数据预测模块包括:Optionally, the state data prediction module includes:

形变加速度预测单元,用于根根据所述当前控制周期和上一控制周期各自的实际来流风速、实际运行状态数据、实际目标转矩值,以及在每个所述预测控制周期内的来流风速和运行状态数据,利用形变加速度预测模型依次预测得到在预测控制周期内的形变加速度。The deformation acceleration prediction unit is used to calculate the actual inflow wind speed, actual operating status data, actual target torque value according to the current control period and the previous control period, and the inflow in each of the predicted control periods. Using the wind speed and operating status data, the deformation acceleration prediction model is used to predict the deformation acceleration within the prediction control period.

可选地,所述风能捕获预测模型表示为:Optionally, the wind energy capture prediction model is expressed as:

其中,用于表征在第i个所述预测控制周期内所述预测风能捕获功率,/>用于表征在第i个所述预测控制周期内所述理想风能捕获功率,/>用于表征在第i个所述预测控制周期内的能量转化效率,/>用于表征所述能量转化效率的预设最大值,用于表征在第i个所述预测控制周期内的所述来流风速,/>为在第i个所述预测控制周期内的所述来流风速对应的桨距角理论值,λi用于表征在第i个所述预测控制周期内的叶尖速比值,/>用于表征在第i个所述预测控制周期内所述风轮的转子转速,Ngear用于表征所述风电机组的齿轮箱变比,Jrotor用于表征所述风轮的转动惯量,ω0用于表征在所述当前控制周期内所述风轮的实际转子转速,a1、a2、a3、a4、a5、a6、b1、b2分别用于表征预设参数。in, Used to characterize the predicted wind energy capture power in the i-th predicted control period, /> Used to characterize the ideal wind energy capture power in the i-th predictive control period, /> Used to characterize the energy conversion efficiency within the i-th predictive control cycle,/> The preset maximum value used to characterize the energy conversion efficiency, Used to characterize the incoming wind speed in the i-th predictive control period,/> is the theoretical value of the pitch angle corresponding to the incoming wind speed in the i-th predictive control period, and λ i is used to characterize the tip speed ratio in the i-th predictive control period, /> is used to characterize the rotor speed of the wind wheel in the i-th predictive control period, N gear is used to characterize the gearbox ratio of the wind turbine unit, J rotor is used to characterize the rotational inertia of the wind wheel, ω 0 is used to represent the actual rotor speed of the wind wheel in the current control period, and a 1 , a 2 , a 3 , a 4 , a 5 , a 6 , b 1 , and b 2 are used to represent the preset parameters respectively. .

可选地,所述形变加速度预测模型表示为:Optionally, the deformation acceleration prediction model is expressed as:

其中,F用于表征形变加速度预测模型,用于表征在第i个所述预测控制周期内的所述形变加速度,xi用于表征在第i个所述预测控制周期内的所述运行状态数据,用于表征第i个所述预测控制周期对应的所述发电机转矩,/>用于表征在第i个所述预测控制周期内的所述来流风速。Among them, F is used to characterize the deformation acceleration prediction model, is used to characterize the deformation acceleration in the i-th predictive control cycle, x i is used to characterize the operating status data in the i-th predictive control cycle, Used to characterize the generator torque corresponding to the i-th predictive control cycle,/> It is used to characterize the incoming wind speed in the i-th predictive control period.

可选地,所述形变加速度预测模型为支持向量机,所述形变加速度预测模型中的核函数采用高斯核函数;其中,所述形变加速度预测模型根据所述风电机组的历史运行状态数据、历史转矩数据以及历史来流风速数据训练得到。Optionally, the deformation acceleration prediction model is a support vector machine, and the kernel function in the deformation acceleration prediction model adopts a Gaussian kernel function; wherein the deformation acceleration prediction model is based on the historical operating status data and historical data of the wind turbine. It is trained with torque data and historical inflow wind speed data.

第三方面,本公开提供一种电子设备,包括存储器、处理器及存储在存储器上并用于在处理器上运行的计算机程序,所述处理器执行计算机程序时,实现第一方面所述的控制方法。In a third aspect, the present disclosure provides an electronic device, including a memory, a processor, and a computer program stored in the memory and used for running on the processor. When the processor executes the computer program, the control described in the first aspect is implemented. method.

第四方面,本公开提供一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时,实现第一方面所述的控制方法。In a fourth aspect, the present disclosure provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the control method described in the first aspect is implemented.

本公开的积极进步效果在于:基于帕累托理论,提出了一种预设成本函数,可以协同优化风电机组的塔架载荷和风能捕获功率,能够有效地对降低风电机组的塔架的侧向结构载荷,提升发电机应用在大型风电机组中的功率输出质量,提高风电机组运行的可靠性和高能效具有重要的工程应用价值。The positive progressive effect of this disclosure is that based on the Pareto theory, a preset cost function is proposed, which can collaboratively optimize the tower load of the wind turbine generator and the wind energy capture power, and can effectively reduce the lateral deflection of the tower of the wind turbine generator. Structural load, improving the power output quality of generators used in large wind turbines, and improving the reliability and energy efficiency of wind turbine operations have important engineering application value.

并且,结合建立的风能捕获预测模型以及用于获取塔架侧向的形变加速度的形变加速度预测模型,采用粒子群算法,实时求解上述非线性的预设成本函数,以得到包括每个预测控制周期对应的目标转矩值的目标控制序列,进而使用目标控制序列中的目标转矩值对下一个控制周期中的发电机转矩进行控制。Moreover, combined with the established wind energy capture prediction model and the deformation acceleration prediction model used to obtain the lateral deformation acceleration of the tower, the particle swarm algorithm is used to solve the above-mentioned nonlinear preset cost function in real time to obtain the prediction control cycle including The target control sequence corresponding to the target torque value is used to control the generator torque in the next control cycle using the target torque value in the target control sequence.

附图说明Description of the drawings

图1为本公开实施例1提供的一种控制方法的流程示意图;Figure 1 is a schematic flow chart of a control method provided by Embodiment 1 of the present disclosure;

图2为本公开实施例1提供的一种粒子群算法的流程示意图;Figure 2 is a schematic flow chart of a particle swarm algorithm provided in Embodiment 1 of the present disclosure;

图3为本公开实施例2提供的一种控制系统的模块示意图;Figure 3 is a schematic module diagram of a control system provided in Embodiment 2 of the present disclosure;

图4为本公开实施例3提供的一种风电机组的结构示意图;Figure 4 is a schematic structural diagram of a wind turbine provided by Embodiment 3 of the present disclosure;

图5为本公开实施例4提供的一种电子设备的模块示意图。FIG. 5 is a schematic module diagram of an electronic device provided in Embodiment 4 of the present disclosure.

具体实施方式Detailed ways

下面通过实施例的方式进一步说明本公开,但并不因此将本公开限制在所述的实施例范围之中。The present disclosure is further described below by means of examples, but the present disclosure is not limited to the scope of the described examples.

需要说明,若本公开实施方式中有涉及“第一”、“第二”等的描述,则该“第一”、“第二”等的描述仅用于描述目的,而不能理解为指示或暗示其相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。It should be noted that if there are descriptions involving "first", "second", etc. in the embodiments of the present disclosure, the descriptions of "first", "second", etc. are only for descriptive purposes and cannot be understood as instructions or instructions. implying its relative importance or implicitly specifying the quantity of the technical feature indicated. Therefore, features defined as "first" and "second" may explicitly or implicitly include at least one of these features.

另外,各个实施方式之间的技术方案可以相互结合,但是必须是以本领域普通技术人员能够实现为基础,当技术方案的结合出现相互矛盾或无法实现时应当认为这种技术方案的结合不存在,也不在本公开要求的保护范围之内。In addition, the technical solutions between the various embodiments can be combined with each other, but it must be based on the realization by those of ordinary skill in the art. When the combination of technical solutions is contradictory or cannot be realized, it should be considered that such a combination of technical solutions does not exist. , nor is it within the scope of protection required by this disclosure.

实施例1Example 1

本实施例提供一种如图1所示的风电机组的控制方法。其中,风电机组主要包括风轮(叶片)、发电机和塔架等部分。This embodiment provides a control method for a wind turbine as shown in Figure 1 . Among them, wind turbines mainly include wind wheels (blades), generators and towers.

该控制方法包括如下步骤:The control method includes the following steps:

S101、在当前控制周期内获取风电机组在至少一个预测控制周期内的来流风速;S101. Obtain the inflow wind speed of the wind turbine generator in at least one predicted control period in the current control period;

S102、基于来流风速获取风电机组分别在预测控制周期内的运行状态数据;其中,运行状态数据包括预测风能捕获功率、理想风能捕获功率以及塔架侧向的形变加速度;S102. Obtain the operating status data of the wind turbine during the predictive control period based on the incoming wind speed; wherein the operating status data includes predicted wind energy capture power, ideal wind energy capture power and tower lateral deformation acceleration;

S103、基于运行状态数据和发电机的预设成本函数,生成目标控制序列;其中,目标控制序列包括分别与预测控制周期对应的发电机转矩的目标转矩值,目标转矩值的数量对应预测步长;S103. Based on the operating status data and the preset cost function of the generator, generate a target control sequence; wherein the target control sequence includes target torque values of the generator torque corresponding to the predicted control period, and the number of target torque values corresponds to prediction step size;

S104、响应于进入下一控制周期,根据目标控制序列中的目标转矩值控制发电机转矩。S104. In response to entering the next control cycle, control the generator torque according to the target torque value in the target control sequence.

本实施例通过获取到的在预测控制周期内的来流风速,预测出风电机组在预测控制周期内的运行状态数据。其中,运行状态数据包括运行状态数据包括预测风能捕获功率、理想风能捕获功率以及塔架侧向的形变加速度。This embodiment predicts the operating status data of the wind turbine during the predictive control period by acquiring the inflow wind speed during the predictive control period. Among them, the operating status data includes the operating status data including predicted wind energy capture power, ideal wind energy capture power and tower lateral deformation acceleration.

并基于运行状态数据求解预设成本函数,以得到目标控制序列。其中,目标控制序列包括每个在预测控制周期内的目标转矩值。And solve the preset cost function based on the operating status data to obtain the target control sequence. Wherein, the target control sequence includes each target torque value within the predictive control cycle.

进入下一控制周期后,根据目标控制序列中的目标转矩值控制发电机转矩。即可实现风电机组的塔架载荷和风能捕获功率的协同优化,能够有效地对降低风电机组的塔架的侧向结构载荷,提升发电机应用在大型风电机组中的功率输出质量。After entering the next control cycle, the generator torque is controlled according to the target torque value in the target control sequence. This can achieve collaborative optimization of the wind turbine tower load and wind energy capture power, which can effectively reduce the lateral structural load of the wind turbine tower and improve the power output quality of the generator used in large wind turbines.

并且进入下一控制周期后,将其作为当前控制周期重复上述过程,以再次得到用于目标控制序列。And after entering the next control period, use it as the current control period to repeat the above process to obtain the target control sequence again.

在步骤S101中,预测控制周期可以有一个或多个,预测控制周期的数量表征预测步长。即预测步长可以控制目标控制序列的长度,目标控制序列包含的目标转矩值的数量与预测控制周期的数量相同,并且目标转矩值与预测控制周期一一对应。In step S101, there may be one or more predictive control periods, and the number of predictive control periods represents the prediction step size. That is, the prediction step size can control the length of the target control sequence. The number of target torque values contained in the target control sequence is the same as the number of prediction control cycles, and the target torque values correspond to the prediction control cycles one-to-one.

示例性的,先确定预测步长为n,即确定预测控制周期的数量为n。每个预测控制周期的时长为Ts。考虑到风速变化和测风装置的准确性,预测步长n和预测控制周期的时长Ts不宜过大。For example, first determine the prediction step size to be n, that is, determine the number of predictive control cycles to be n. The duration of each predictive control cycle is T s . Taking into account the changes in wind speed and the accuracy of the wind measurement device, the prediction step size n and the length of the prediction control period T s should not be too large.

因此,通过测风装置测量得到风电机组从第1个预测控制周期至第n个预测控制周期的来流风速依次为 Therefore, the inflow wind speed of the wind turbine from the 1st predictive control period to the nth predictive control period measured by the wind measuring device is:

其中,测风装置可以为一种激光雷达探测装置。激光雷达探测装置可以通过发送激光脉冲并测量其返回时间来计算物体的距离。在风速探测中,激光雷达探测装置可以测量从风电机组的位置到空气中颗粒物(如尘埃、气溶胶等)的距离,进而判断出即将到达风电机组的来流风速。The wind measuring device may be a laser radar detection device. LiDAR detection devices can calculate the distance of an object by sending a laser pulse and measuring its return time. In wind speed detection, the lidar detection device can measure the distance from the position of the wind turbine to particles in the air (such as dust, aerosols, etc.), and then determine the incoming wind speed that is about to reach the wind turbine.

激光雷达探测装置通过连续测量可以获得来流风速的时间序列数据,以表示在一段时间内连续测量的来流风速。从这段时间中确定多个离散的预测控制周期,即可分别得到在每个预测控制周期内的来流风速。The lidar detection device can obtain time series data of incoming wind speed through continuous measurements to represent the incoming wind speed measured continuously over a period of time. From this period of time, multiple discrete prediction control periods are determined, and the inflow wind speed in each prediction control period can be obtained respectively.

基于步骤S101得到从第1个预测控制周期至第n个预测控制周期的来流风速步骤S102可以分别获取风电机组在每个预测控制周期内的运行状态数据。Based on step S101, the inflow wind speed from the 1st predictive control period to the nth predictive control period is obtained. Step S102 can separately obtain the operating status data of the wind turbine in each predictive control cycle.

步骤S102包括:根据在当前控制周期的上一控制周期内的实际转子转速、实际来流风速、实际能量转化效率和实际转矩值,以及在每个预测控制周期内的来流风速,利用风能捕获预测模型获取风轮在预测控制周期内的转子转速,以及风电机组在预测控制周期内的预测风能捕获功率、理想风能捕获功率。Step S102 includes: utilizing the wind energy based on the actual rotor speed, actual inflow wind speed, actual energy conversion efficiency and actual torque value in the previous control period of the current control period, as well as the inflow wind speed in each predicted control period. The capture prediction model obtains the rotor speed of the wind wheel during the predictive control period, as well as the predicted wind energy capture power and ideal wind energy capture power of the wind turbine during the predictive control period.

示例性的,风能捕获预测模型可以表示为:For example, the wind energy capture prediction model can be expressed as:

其中,用于表征在第i个预测控制周期内预测风能捕获功率,Pi idea用于表征在第i个预测控制周期内理想风能捕获功率,/>用于表征在第i个预测控制周期内的能量转化效率,/>用于表征能量转化效率的预设最大值,/>用于表征在第i个预测控制周期内的来流风速,/>为在第i个预测控制周期内的来流风速对应的桨距角理论值,λi用于表征在第i个预测控制周期内的叶尖速比值,/>用于表征在第i个预测控制周期内风轮的转子转速,Ngear用于表征风电机组的齿轮箱变比,Jrotor用于表征风轮的转动惯量,ω0用于表征在当前控制周期内风轮的实际转子转速,a1、a2、a3、a4、a5、a6、b1、b2分别用于表征预设参数。in, Used to characterize the predicted wind energy capture power in the i-th predictive control cycle, P i idea is used to characterize the ideal wind energy capture power in the i-th predictive control cycle,/> Used to characterize the energy conversion efficiency in the i-th predictive control cycle,/> Preset maximum value used to characterize energy conversion efficiency,/> Used to represent the inflow wind speed in the i-th predictive control period,/> is the theoretical value of the pitch angle corresponding to the incoming wind speed in the i-th predictive control cycle, λ i is used to characterize the tip speed ratio in the i-th predictive control cycle,/> It is used to characterize the rotor speed of the wind wheel in the i-th predicted control period, N gear is used to characterize the gearbox ratio of the wind turbine unit, J rotor is used to characterize the rotational inertia of the wind wheel, and ω 0 is used to characterize the current control period. The actual rotor speed of the inner wind wheel, a 1 , a 2 , a 3 , a 4 , a 5 , a 6 , b 1 , and b 2 are used to characterize the preset parameters respectively.

桨距角理论值βi可以通过最优风-功率曲线来确定,最优风是指在低风速区所能达到的最大风能捕获功率,该曲线是在风电机组的设计阶段确定。The theoretical value of the pitch angle β i can be determined through the optimal wind-power curve. The optimal wind refers to the maximum wind energy capture power that can be achieved in the low wind speed area. This curve is determined during the design stage of the wind turbine.

示例性的,根据风轮在当前控制周期的上一控制周期内的实际转子转速、实际来流风速、实际能量转化效率、实际转矩值,计算得到风轮在第1个预测控制周期内的转子转速,以及风电机组在第1个预测控制周期内的风能转化效率;For example, based on the actual rotor speed, actual inflow wind speed, actual energy conversion efficiency, and actual torque value of the wind turbine in the previous control cycle of the current control cycle, the wind turbine in the first predictive control cycle is calculated. Rotor speed, and wind energy conversion efficiency of the wind turbine in the first predictive control cycle;

利用上述风能捕获预测模型,基于来流风速、在第1个预测控制周期内的转子转速和在第1个预测控制周期内的风能转化效率,依次计算得到风轮在每个预测控制周期内的转子转速,风电机组在每个预测控制周期内的预测风能捕获功率,以及风电机组在每个预测控制周期内的理想风能捕获功率。Using the above wind energy capture prediction model, based on the incoming wind speed, the rotor speed in the first prediction control period and the wind energy conversion efficiency in the first prediction control period, the wind turbine's performance in each prediction control period is calculated sequentially. The rotor speed, the predicted wind energy capture power of the wind turbine in each predictive control cycle, and the ideal wind energy capture power of the wind turbine in each predictive control cycle.

也就是说,基于第1个预测控制周期至第n个预测控制周期的来流风速和上述风能捕获预测模型,可以对预测风能捕获功率分别表示为以及对理想风能捕获功率分别表示为/> That is to say, based on the inflow wind speed from the 1st predictive control period to the nth predictive control period With the above wind energy capture prediction model, the predicted wind energy capture power can be expressed as And the ideal wind energy capture power is expressed as/>

步骤S102还包括:Step S102 also includes:

根据当前控制周期和上一控制周期各自的实际来流风速、实际运行状态数据、实际目标转矩值,以及在每个预测控制周期内的来流风速和运行状态数据,利用形变加速度预测模型依次预测得到在预测控制周期内的形变加速度。According to the actual inflow wind speed, actual operating status data, actual target torque value of the current control period and the previous control period, as well as the incoming wind speed and operating status data in each predictive control period, the deformation acceleration prediction model is used in sequence The deformation acceleration within the predictive control period is predicted.

由于风电机组的动态行为可以表示为一种二阶模型,因此,可以通过至少两个已预测的预测控制周期来获取待预测的预测控制周期的第二来流风速。Since the dynamic behavior of the wind turbine can be expressed as a second-order model, the second incoming wind speed of the predictive control period to be predicted can be obtained through at least two predicted predictive control periods.

示例性的,形变加速度预测模型表示为:For example, the deformation acceleration prediction model is expressed as:

其中,F用于表征形变加速度预测模型,用于表征在第i个预测控制周期内的形变加速度,xi用于表征在第i个预测控制周期内的运行状态数据,/>用于表征第i个预测控制周期对应的发电机转矩,/>用于表征在第i个预测控制周期内的来流风速。Among them, F is used to characterize the deformation acceleration prediction model, is used to characterize the deformation acceleration in the i-th predictive control cycle, x i is used to characterize the operating status data in the i-th predictive control cycle,/> Used to characterize the generator torque corresponding to the i-th predictive control cycle,/> Used to characterize the incoming wind speed in the i-th predictive control period.

具体地,对第1个预测控制周期的形变加速度进行预测时,可以将当前控制周期和上一控制周期各自的实际来流风速、实际运行状态数据、实际目标转矩值,以及第1个预测控制周期的第一来流风速,代入上述形变加速度预测模型,预测得到第1个预测控制周期的第一形变加速度。Specifically, when predicting the deformation acceleration in the first predictive control period, the actual inflow wind speed, actual operating status data, actual target torque value, and the first predicted The first incoming wind speed of the control period is substituted into the above deformation acceleration prediction model, and the first deformation acceleration of the first prediction control period is predicted.

同理的,对第2个预测控制周期的形变加速度进行预测时,可以第1个预测控制周期的第一来流风速、第一运行状态数据、第一目标转矩值,以及当前控制周期的实际来流风速、实际运行状态数据、实际目标转矩值,代入上述形变加速度预测模型,预测得到第2个预测控制周期的第二形变加速度。Similarly, when predicting the deformation acceleration in the second predictive control cycle, the first incoming wind speed, the first operating status data, the first target torque value of the first predictive control cycle, and the current control cycle can be used. The actual inflow wind speed, actual operating status data, and actual target torque value are substituted into the above-mentioned deformation acceleration prediction model, and the second deformation acceleration in the second prediction control cycle is predicted.

对第3个其之后的预测控制周期的形变加速度进行预测时,将两个第一预测控制周期的第二来流风速、第二运行状态数据、第二目标转矩值,以及第二预测控制周期的第三来流风速,代入上述形变加速度预测模型,预测得到第二预测控制周期的第三形变加速度。When predicting the deformation acceleration in the third and subsequent predictive control periods, the second incoming wind speed, second operating status data, second target torque value, and second predictive control period of the two first predictive control periods are combined. The third incoming wind speed of the period is substituted into the above deformation acceleration prediction model, and the third deformation acceleration of the second prediction control period is predicted.

其中,两个第一预测控制周期为已预测的两个相邻的预存控制周期,第二预测控制周期与两个第一预测控制周期中的后一个相邻。The two first predictive control periods are two adjacent pre-stored control periods that have been predicted, and the second predictive control period is adjacent to the latter of the two first predictive control periods.

示例性的,对第1个预测控制周期的形变加速度进行预测时:For example, when predicting the deformation acceleration in the first predictive control cycle:

例性的,对第1个预测控制周期的形变加速度进行预测时:For example, when predicting the deformation acceleration in the first predictive control cycle:

其中,xk0、xk-1分别用于表征在当前控制周期和上一个控制周期内的实际运行状态数据,分别用于表征在当前控制周期和上一个控制周期内的实际转矩值,分别用于表征在当前控制周期和上一个控制周期内的实际来流风速。Among them, x k0 and x k-1 are used to represent the actual operating status data in the current control period and the previous control period respectively. are used to represent the actual torque value in the current control cycle and the previous control cycle, respectively. They are used to represent the actual inflow wind speed in the current control period and the previous control period respectively.

对第2个预测控制周期的形变加速度进行预测时:When predicting the deformation acceleration in the second predictive control cycle:

并且,形变加速度预测模型具体可以为支持向量机,形变加速度预测模型中的核函数采用高斯核函数。Moreover, the deformation acceleration prediction model may specifically be a support vector machine, and the kernel function in the deformation acceleration prediction model adopts a Gaussian kernel function.

支持向量回归是一种机器学习算法,用于进行模式分类和回归分析。它可以有效地处理线性和非线性的数据分类问题。Support vector regression is a machine learning algorithm used for pattern classification and regression analysis. It can effectively handle linear and nonlinear data classification problems.

SVR的基本思想是找到一个最优的超平面,能够将不同类别的数据样本分隔开来,并且在超平面两侧的边界上找到一组支持向量(支持样本),用于定义决策边界。这个最优的超平面被称为最大间隔超平面,其目标是使边界上的支持向量到决策边界的距离最大化。The basic idea of SVR is to find an optimal hyperplane that can separate data samples of different categories, and to find a set of support vectors (support samples) on the boundaries on both sides of the hyperplane to define the decision boundary. This optimal hyperplane is called the maximum margin hyperplane, and its goal is to maximize the distance from the support vectors on the boundary to the decision boundary.

其中,形变加速度预测模型根据风电机组的历史运行状态数据、历史转矩数据以及历史来流风速数据训练得到。Among them, the deformation acceleration prediction model is trained based on the historical operating status data, historical torque data and historical incoming wind speed data of the wind turbine.

示例性的,上述形变加速度预测模型可以具体表示为:For example, the above deformation acceleration prediction model can be specifically expressed as:

其中,F(y)用于表征塔架侧向的形变加速度,W用于表征多维权重因子,b用于表征可调节因子,用于表征回归方程,以表达输入y与输出F(y)的映射关系。Among them, F(y) is used to characterize the lateral deformation acceleration of the tower, W is used to characterize the multi-dimensional weight factor, and b is used to characterize the adjustable factor. It is used to characterize the regression equation to express the mapping relationship between input y and output F(y).

将拉格朗日乘数ξii *代入,采用二次规划方法进行求解,最终塔架侧向的形变加速度预测模型可以表示为:Substituting the Lagrangian multipliers ξ i , ξ i * and using the quadratic programming method to solve, the final tower lateral deformation acceleration prediction model can be expressed as:

其中,K(yi-y)为高斯核函数。Among them, K(y i -y) is the Gaussian kernel function.

在步骤S103中,预设成本函数可以表示为:In step S103, the preset cost function can be expressed as:

预设成本函数表示为:The preset cost function is expressed as:

其中,用于表征从第1个预测控制周期至第n个预测控制周期分别对应的发电机转矩,F1用于表征第一权重因子,F2用于表征第二权重因子,n用于表征预测控制周期的数量,Ts用于表征预测控制周期的时长,Pi用于表征在第i个预测控制周期内预测风能捕获功率,Pi idea用于表征在第i个预测控制周期内理想风能捕获功率,/>用于表征在第i个预测控制周期内的形变加速度,/>用于表征预设最大形变加速度记录值。in, Used to characterize the generator torque corresponding to the 1st predictive control cycle to the nth predictive control cycle, F 1 is used to represent the first weight factor, F 2 is used to represent the second weight factor, and n is used to represent the prediction The number of control cycles, T s is used to characterize the length of the predictive control cycle, Pi is used to represent the predicted wind energy capture power in the i-th predictive control cycle, and P i idea is used to represent the ideal wind energy in the i-th predictive control cycle. capture power,/> Used to characterize the deformation acceleration in the i-th predictive control cycle,/> Used to characterize the preset maximum deformation acceleration record value.

上述测风能捕获功率、理想风能捕获功率以及形变加速度均基于发电机转矩进行表示。The above measured wind energy capture power, ideal wind energy capture power and deformation acceleration are all expressed based on the generator torque.

为了生成目标控制序列,需要对上述非线性的预设成本函数进行求解。步骤S103具体包括:In order to generate the target control sequence, the above-mentioned nonlinear preset cost function needs to be solved. Step S103 specifically includes:

根据运行状态数据,使用粒子群算法分别在多个不同的求解方向对转矩控制序列和迭代变化率进行迭代计算,直到迭代计算的次数达到预设迭代次数,获取目标控制序列;According to the operating status data, the particle swarm algorithm is used to iteratively calculate the torque control sequence and iterative change rate in multiple different solution directions, until the number of iterative calculations reaches the preset number of iterations, and the target control sequence is obtained;

其中,目标控制序列为在所有求解方向中预设成本函数取全局最小值时对应的转矩控制序列。Among them, the target control sequence is the torque control sequence corresponding to when the preset cost function takes the global minimum in all solution directions.

示例性的,参见图2,基于粒子群算法,从m个不同的求解方向对转矩控制序列和迭代变化率进行迭代计算,相当于在有m个粒子组成的群体在空间中进行搜索。For example, see Figure 2. Based on the particle swarm algorithm, the torque control sequence and the iterative change rate are iteratively calculated from m different solution directions, which is equivalent to searching in space for a group of m particles.

对于任一粒子,需要算法中使用到的各种参数进行初始化,例如学习因子和预设参数进行初始化。即对于不同的求解方向,初始化得到的学习因子和预设参数的数值不同。基于初始化的算法参数,计算每个粒子的预设成本函数的值,更新每个粒子的迭代变化率和转矩控制序列,基于目前计算得到的预设成本函数取最小宅时对应的转矩控制序列,更新局部最优的转矩控制序列以及全局最优的转矩控制序列。然后判断迭代计算的次数是否小于预设迭代次数,若小于,继续迭代计算以更新局部最优的转矩控制序列以及全局最优的转矩控制序列,否则,则输出全局最优的转矩控制序列作为目标控制序列。For any particle, various parameters used in the algorithm need to be initialized, such as learning factors and preset parameters. That is, for different solution directions, the values of the initialized learning factors and the preset parameters are different. Based on the initialized algorithm parameters, calculate the value of the preset cost function of each particle, update the iterative change rate and torque control sequence of each particle, and obtain the torque control corresponding to the minimum time based on the preset cost function calculated so far. sequence, updating the local optimal torque control sequence and the globally optimal torque control sequence. Then determine whether the number of iterative calculations is less than the preset number of iterations. If it is less, continue the iterative calculation to update the local optimal torque control sequence and the global optimal torque control sequence. Otherwise, output the global optimal torque control sequence. sequence as the target control sequence.

然后在不同的求解方向对预设成本函数进行迭代计算,得到预设成本函数的值。Then the preset cost function is iteratively calculated in different solution directions to obtain the value of the preset cost function.

迭代计算的公式为:The formula for iterative calculation is:

其中,用于表征第j次进行迭代计算得到的转矩控制序列,/>用于表征第j次进行迭代计算得到的迭代变化率,/>用于表征在求解方向的前j次迭代计算中预设成本函数取最小值时对应的转矩控制序列,/>用于表征在所有求解方向的前j次迭代计算中预设成本函数取全局最小值时对应的转矩控制序列,c1和c2分别用于表征学习因子,r1和r2分别用于表征预设参数,/>用于表征惯性权重。in, Used to characterize the torque control sequence obtained by the jth iterative calculation,/> Used to characterize the iterative change rate obtained by the jth iterative calculation,/> Used to characterize the torque control sequence corresponding to the minimum value of the preset cost function in the first j iterations of the solution direction,/> Used to characterize the corresponding torque control sequence when the preset cost function takes the global minimum in the first j iterations of all solution directions, c 1 and c 2 are used to characterize the learning factors respectively, r 1 and r 2 are used to represent the learning factors respectively. Characterize the preset parameters,/> Used to represent inertia weight.

最终,得到目标控制序列 Finally, the target control sequence is obtained

需要说明的是,迭代变化率包括与对应转矩控制序列中的每n个转矩值相对应的变化值。即,第j次迭代计算得到转矩控制序列所包含的n个转矩值,先获取第j+1次迭代计算得到的迭代变化率,将迭代变化率中的每个变化值与转矩值一一对应相加,即可实现第j+1次对转矩控制序列迭代计算。It should be noted that the iterative change rate includes change values corresponding to every n torque values in the corresponding torque control sequence. That is, the n torque values contained in the torque control sequence are calculated at the jth iteration, first obtain the iterative change rate calculated at the j+1 iteration, and compare each change value in the iterative change rate with the torque value. One-to-one corresponding addition can realize the j+1th iterative calculation of the torque control sequence.

在步骤S104中,响应于进入下一控制周期,将目标控制序列中的第一个目标转矩值作为发电机的控制器的输出,以实现对发电机转矩进行控制。In step S104, in response to entering the next control cycle, the first target torque value in the target control sequence is As the output of the generator controller, to control the generator torque.

另外,在求解上述预设成本函数之前,还可以对风电机组的发电机转矩的目标转矩值、风轮的转子转速进行约束:In addition, before solving the above preset cost function, the target torque value of the generator torque of the wind turbine and the rotor speed of the wind turbine can also be constrained:

refi|≤σωωrefrefi |≤σ ω ω ref ,

其中,用于表征转矩参考值,ωref用于表征转子转速参考值,σT用于表征转矩允许偏差范围,σω用于表征转速允许偏差范围。in, It is used to characterize the torque reference value, ω ref is used to characterize the rotor speed reference value, σ T is used to characterize the torque allowable deviation range, and σ ω is used to characterize the speed allowable deviation range.

实施例2Example 2

本实施例提供一种如图3所示的风电机组的控制系统。其中,风电机组主要包括风轮(叶片)、发电机和塔架等部分。This embodiment provides a wind turbine control system as shown in FIG. 3 . Among them, wind turbines mainly include wind wheels (blades), generators and towers.

该控制系统包括:The control system includes:

风速获取模块301,用于在当前控制周期内获取所述风电机组在至少一个预测控制周期内的来流风速;The wind speed acquisition module 301 is used to acquire the inflow wind speed of the wind turbine in at least one predicted control period in the current control period;

状态数据预测模块302,用于基于所述来流风速获取所述风电机组分别在所述预测控制周期内的运行状态数据;其中,所述运行状态数据包括预测风能捕获功率、理想风能捕获功率以及所述塔架侧向的形变加速度;The state data prediction module 302 is used to obtain the operating state data of the wind turbine in the predictive control period based on the incoming wind speed; wherein the operating state data includes predicted wind energy capture power, ideal wind energy capture power and The lateral deformation acceleration of the tower;

解算模块303,用于基于所述运行状态数据和所述发电机的预设成本函数,生成目标控制序列;其中,所述目标控制序列包括分别与所述预测控制周期对应的发电机转矩的目标转矩值;The solution module 303 is configured to generate a target control sequence based on the operating status data and the preset cost function of the generator; wherein the target control sequence includes generator torques respectively corresponding to the predicted control periods. target torque value;

控制模块304,用于响应于进入下一控制周期,根据目标控制序列中的转矩值控制发电机转矩。The control module 304 is configured to control the generator torque according to the torque value in the target control sequence in response to entering the next control cycle.

本实施例通过获取到的在预测控制周期内的来流风速,预测出风电机组在预测控制周期内的运行状态数据。其中,运行状态数据包括运行状态数据包括预测风能捕获功率、理想风能捕获功率以及塔架侧向的形变加速度。This embodiment predicts the operating status data of the wind turbine during the predictive control period by acquiring the inflow wind speed during the predictive control period. Among them, the operating status data includes the operating status data including predicted wind energy capture power, ideal wind energy capture power and tower lateral deformation acceleration.

并基于运行状态数据求解预设成本函数,以得到目标控制序列。其中,目标控制序列包括每个在预测控制周期内的目标转矩值。And solve the preset cost function based on the operating status data to obtain the target control sequence. Wherein, the target control sequence includes each target torque value within the predictive control cycle.

进入下一控制周期后,根据目标控制序列中的目标转矩值控制发电机转矩。即可实现风电机组的塔架载荷和风能捕获功率的协同优化,能够有效地对降低风电机组的塔架的侧向结构载荷,提升发电机应用在大型风电机组中的功率输出质量。After entering the next control cycle, the generator torque is controlled according to the target torque value in the target control sequence. This can achieve collaborative optimization of the wind turbine tower load and wind energy capture power, which can effectively reduce the lateral structural load of the wind turbine tower and improve the power output quality of the generator used in large wind turbines.

并且进入下一控制周期后,将其作为当前控制周期重复上述过程,以再次得到用于目标控制序列。And after entering the next control period, use it as the current control period to repeat the above process to obtain the target control sequence again.

对于风速获取模块301,预测控制周期可以有一个或多个,预测控制周期的数量表征预测步长。即预测步长可以控制目标控制序列的长度,目标控制序列包含的目标转矩值的数量与预测控制周期的数量相同,并且目标转矩值与预测控制周期一一对应。For the wind speed acquisition module 301, there may be one or more predictive control periods, and the number of predictive control periods represents the prediction step size. That is, the prediction step size can control the length of the target control sequence. The number of target torque values contained in the target control sequence is the same as the number of prediction control cycles, and the target torque values correspond to the prediction control cycles one-to-one.

示例性的,先确定预测步长为n,即确定预测控制周期的数量为n。每个预测控制周期的时长为Ts。考虑到风速变化和测风装置的准确性,预测步长n和预测控制周期的时长Ts不宜过大。For example, first determine the prediction step size to be n, that is, determine the number of predictive control cycles to be n. The duration of each predictive control cycle is T s . Taking into account the changes in wind speed and the accuracy of the wind measurement device, the prediction step size n and the length of the prediction control period T s should not be too large.

因此,通过测风装置测量得到风电机组从第1个预测控制周期至第n个预测控制周期的来流风速依次为 Therefore, the inflow wind speed of the wind turbine from the 1st predictive control period to the nth predictive control period measured by the wind measuring device is:

其中,测风装置可以为一种激光雷达探测装置。激光雷达探测装置可以通过发送激光脉冲并测量其返回时间来计算物体的距离。在风速探测中,激光雷达探测装置可以测量从风电机组的位置到空气中颗粒物(如尘埃、气溶胶等)的距离,进而判断出即将到达风电机组的来流风速。The wind measuring device may be a laser radar detection device. LiDAR detection devices can calculate the distance of an object by sending a laser pulse and measuring its return time. In wind speed detection, the lidar detection device can measure the distance from the position of the wind turbine to particles in the air (such as dust, aerosols, etc.), and then determine the incoming wind speed that is about to reach the wind turbine.

激光雷达探测装置通过连续测量可以获得来流风速的时间序列数据,以表示在一段时间内连续测量的来流风速。从这段时间中确定多个离散的预测控制周期,即可分别得到在每个预测控制周期内的来流风速。The lidar detection device can obtain time series data of incoming wind speed through continuous measurements to represent the incoming wind speed measured continuously over a period of time. From this period of time, multiple discrete prediction control periods are determined, and the inflow wind speed in each prediction control period can be obtained respectively.

基于风速获取模块301得到从第1个预测控制周期至第n个预测控制周期的来流风速状态数据预测模块302可以分别获取风电机组在每个预测控制周期内的运行状态数据。Based on the wind speed acquisition module 301, the inflow wind speed from the 1st predictive control period to the nth predictive control period is obtained. The state data prediction module 302 can separately obtain the operating state data of the wind turbine generator in each predictive control cycle.

状态数据预测模块302包括:The state data prediction module 302 includes:

风能捕获预测单元,用于根据在当前控制周期的上一控制周期内的实际转子转速、实际来流风速、实际能量转化效率和实际转矩值,以及在每个预测控制周期内的来流风速,利用风能捕获预测模型获取风轮在预测控制周期内的转子转速,以及风电机组在预测控制周期内的预测风能捕获功率、理想风能捕获功率。The wind energy capture prediction unit is used to calculate the actual rotor speed, actual inflow wind speed, actual energy conversion efficiency and actual torque value in the previous control period of the current control period, as well as the inflow wind speed in each predicted control period. , using the wind energy capture prediction model to obtain the rotor speed of the wind turbine during the predictive control period, as well as the predicted wind energy capture power and ideal wind energy capture power of the wind turbine unit during the predictive control period.

示例性的,风能捕获预测模型可以表示为:For example, the wind energy capture prediction model can be expressed as:

其中,用于表征在第i个预测控制周期内预测风能捕获功率,Pi idea用于表征在第i个预测控制周期内理想风能捕获功率,/>用于表征在第i个预测控制周期内的能量转化效率,/>用于表征能量转化效率的预设最大值,/>用于表征在第i个预测控制周期内的来流风速,/>为在第i个预测控制周期内的来流风速对应的桨距角理论值,λi用于表征在第i个预测控制周期内的叶尖速比值,/>用于表征在第i个预测控制周期内风轮的转子转速,Ngear用于表征风电机组的齿轮箱变比,Jrotor用于表征风轮的转动惯量,ω0用于表征在当前控制周期内风轮的实际转子转速,a1、a2、a3、a4、a5、a6、b1、b2分别用于表征预设参数。in, Used to characterize the predicted wind energy capture power in the i-th predictive control cycle, P i idea is used to characterize the ideal wind energy capture power in the i-th predictive control cycle,/> Used to characterize the energy conversion efficiency in the i-th predictive control cycle,/> Preset maximum value used to characterize energy conversion efficiency,/> Used to represent the inflow wind speed in the i-th predictive control period,/> is the theoretical value of the pitch angle corresponding to the incoming wind speed in the i-th predictive control cycle, λ i is used to characterize the tip speed ratio in the i-th predictive control cycle,/> It is used to characterize the rotor speed of the wind wheel in the i-th predicted control period, N gear is used to characterize the gearbox ratio of the wind turbine unit, J rotor is used to characterize the rotational inertia of the wind wheel, and ω 0 is used to characterize the current control period. The actual rotor speed of the inner wind wheel, a 1 , a 2 , a 3 , a 4 , a 5 , a 6 , b 1 , and b 2 are used to characterize the preset parameters respectively.

桨距角理论值βi可以通过最优风-功率曲线来确定,最优风是指在低风速区所能达到的最大风能捕获功率,该曲线是在风电机组的设计阶段确定。The theoretical value of the pitch angle β i can be determined through the optimal wind-power curve. The optimal wind refers to the maximum wind energy capture power that can be achieved in the low wind speed area. This curve is determined during the design stage of the wind turbine.

示例性的,根据风轮在当前控制周期的上一控制周期内的实际转子转速、实际来流风速、实际能量转化效率、实际转矩值,计算得到风轮在第1个预测控制周期内的转子转速,以及风电机组在第1个预测控制周期内的风能转化效率;For example, based on the actual rotor speed, actual inflow wind speed, actual energy conversion efficiency, and actual torque value of the wind turbine in the previous control cycle of the current control cycle, the wind turbine in the first predictive control cycle is calculated. Rotor speed, and wind energy conversion efficiency of the wind turbine in the first predictive control cycle;

利用上述风能捕获预测模型,基于来流风速、在第1个预测控制周期内的转子转速和在第1个预测控制周期内的风能转化效率,依次计算得到风轮在每个预测控制周期内的转子转速,风电机组在每个预测控制周期内的预测风能捕获功率,以及风电机组在每个预测控制周期内的理想风能捕获功率。Using the above wind energy capture prediction model, based on the incoming wind speed, the rotor speed in the first prediction control period and the wind energy conversion efficiency in the first prediction control period, the wind turbine's performance in each prediction control period is calculated sequentially. The rotor speed, the predicted wind energy capture power of the wind turbine in each predictive control cycle, and the ideal wind energy capture power of the wind turbine in each predictive control cycle.

也就是说,基于第1个预测控制周期至第n个预测控制周期的来流风速和上述风能捕获预测模型,可以对预测风能捕获功率分别表示为以及对理想风能捕获功率分别表示为/> That is to say, based on the inflow wind speed from the 1st predictive control period to the nth predictive control period With the above wind energy capture prediction model, the predicted wind energy capture power can be expressed as And the ideal wind energy capture power is expressed as/>

状态数据预测模块302还包括:The state data prediction module 302 also includes:

形变加速度预测单元,用于根据当前控制周期和上一控制周期各自的实际来流风速、实际运行状态数据、实际目标转矩值,以及在每个预测控制周期内的来流风速和运行状态数据,利用形变加速度预测模型依次预测得到在预测控制周期内的形变加速度。The deformation acceleration prediction unit is used to calculate the actual inflow wind speed, actual operating status data, and actual target torque value of the current control cycle and the previous control cycle, as well as the incoming wind speed and operating status data in each predicted control cycle. , using the deformation acceleration prediction model to sequentially predict the deformation acceleration within the prediction control period.

由于风电机组的动态行为可以表示为一种二阶模型,因此,可以通过至少两个已预测的预测控制周期来获取待预测的预测控制周期的第二来流风速。Since the dynamic behavior of the wind turbine can be expressed as a second-order model, the second incoming wind speed of the predictive control period to be predicted can be obtained through at least two predicted predictive control periods.

示例性的,形变加速度预测模型表示为:For example, the deformation acceleration prediction model is expressed as:

其中,F用于表征形变加速度预测模型,用于表征在第i个预测控制周期内的形变加速度,xi用于表征在第i个预测控制周期内的运行状态数据,/>用于表征第i个预测控制周期对应的发电机转矩,/>用于表征在第i个预测控制周期内的来流风速。Among them, F is used to characterize the deformation acceleration prediction model, is used to characterize the deformation acceleration in the i-th predictive control cycle, x i is used to characterize the operating status data in the i-th predictive control cycle,/> Used to characterize the generator torque corresponding to the i-th predictive control cycle,/> Used to characterize the incoming wind speed in the i-th predictive control period.

具体地,对第1个预测控制周期的形变加速度进行预测时,可以将当前控制周期和上一控制周期各自的实际来流风速、实际运行状态数据、实际目标转矩值,以及第1个预测控制周期的第一来流风速,代入上述形变加速度预测模型,预测得到第1个预测控制周期的第一形变加速度。Specifically, when predicting the deformation acceleration in the first predictive control period, the actual inflow wind speed, actual operating status data, actual target torque value, and the first predicted The first incoming wind speed of the control period is substituted into the above deformation acceleration prediction model, and the first deformation acceleration of the first prediction control period is predicted.

同理的,对第2个预测控制周期的形变加速度进行预测时,可以第1个预测控制周期的第一来流风速、第一运行状态数据、第一目标转矩值,以及当前控制周期的实际来流风速、实际运行状态数据、实际目标转矩值,代入上述形变加速度预测模型,预测得到第2个预测控制周期的第二形变加速度。Similarly, when predicting the deformation acceleration in the second predictive control cycle, the first incoming wind speed, the first operating status data, the first target torque value of the first predictive control cycle, and the current control cycle can be used. The actual inflow wind speed, actual operating status data, and actual target torque value are substituted into the above-mentioned deformation acceleration prediction model, and the second deformation acceleration in the second prediction control cycle is predicted.

对第3个其之后的预测控制周期的形变加速度进行预测时,将两个第一预测控制周期的第二来流风速、第二运行状态数据、第二目标转矩值,以及第二预测控制周期的第三来流风速,代入上述形变加速度预测模型,预测得到第二预测控制周期的第三形变加速度。When predicting the deformation acceleration in the third and subsequent predictive control periods, the second incoming wind speed, second operating status data, second target torque value, and second predictive control period of the two first predictive control periods are combined. The third incoming wind speed of the period is substituted into the above deformation acceleration prediction model, and the third deformation acceleration of the second prediction control period is predicted.

其中,两个第一预测控制周期为已预测的两个相邻的预存控制周期,第二预测控制周期与两个第一预测控制周期中的后一个相邻。The two first predictive control periods are two adjacent pre-stored control periods that have been predicted, and the second predictive control period is adjacent to the latter of the two first predictive control periods.

示例性的,对第1个预测控制周期的形变加速度进行预测时:For example, when predicting the deformation acceleration in the first predictive control period:

其中,xk0、xk-1分别用于表征在当前控制周期和上一个控制周期内的实际运行状态数据,分别用于表征在当前控制周期和上一个控制周期内的实际转矩值,分别用于表征在当前控制周期和上一个控制周期内的实际来流风速。Among them, x k0 and x k-1 are used to represent the actual operating status data in the current control period and the previous control period respectively. are used to represent the actual torque value in the current control cycle and the previous control cycle, respectively. They are used to represent the actual inflow wind speed in the current control period and the previous control period respectively.

对第2个预测控制周期的形变加速度进行预测时:When predicting the deformation acceleration in the second predictive control cycle:

并且,形变加速度预测模型具体可以为支持向量机,形变加速度预测模型中的核函数采用高斯核函数。Moreover, the deformation acceleration prediction model may specifically be a support vector machine, and the kernel function in the deformation acceleration prediction model adopts a Gaussian kernel function.

支持向量回归(Support Vector Regression,SVR)是一种机器学习算法,用于进行模式分类和回归分析。它可以有效地处理线性和非线性的数据分类问题。Support Vector Regression (SVR) is a machine learning algorithm used for pattern classification and regression analysis. It can effectively handle linear and nonlinear data classification problems.

SVR的基本思想是找到一个最优的超平面,能够将不同类别的数据样本分隔开来,并且在超平面两侧的边界上找到一组支持向量(支持样本),用于定义决策边界。这个最优的超平面被称为最大间隔超平面,其目标是使边界上的支持向量到决策边界的距离最大化。The basic idea of SVR is to find an optimal hyperplane that can separate data samples of different categories, and to find a set of support vectors (support samples) on the boundaries on both sides of the hyperplane to define the decision boundary. This optimal hyperplane is called the maximum margin hyperplane, and its goal is to maximize the distance from the support vectors on the boundary to the decision boundary.

其中,形变加速度预测模型根据风电机组的历史运行状态数据、历史转矩数据以及历史来流风速数据训练得到。Among them, the deformation acceleration prediction model is trained based on the historical operating status data, historical torque data and historical incoming wind speed data of the wind turbine.

示例性的,上述形变加速度预测模型可以具体表示为:For example, the above deformation acceleration prediction model can be specifically expressed as:

其中,F(y)用于表征塔架侧向的形变加速度,W用于表征多维权重因子,b用于表征可调节因子,用于表征回归方程,以表达输入y与输出F(y)的映射关系。Among them, F(y) is used to characterize the lateral deformation acceleration of the tower, W is used to characterize the multi-dimensional weight factor, and b is used to characterize the adjustable factor. It is used to characterize the regression equation to express the mapping relationship between input y and output F(y).

将拉格朗日乘数ξii *代入,采用二次规划方法进行求解,最终塔架侧向的形变加速度预测模型可以表示为:Substituting the Lagrangian multipliers ξ i , ξ i * and using the quadratic programming method to solve, the final tower lateral deformation acceleration prediction model can be expressed as:

其中,K(yi-y)为高斯核函数。Among them, K(y i -y) is the Gaussian kernel function.

预设成本函数表示为:The preset cost function is expressed as:

其中,用于表征从第1个预测控制周期至第n个预测控制周期分别对应的发电机转矩,F1用于表征第一权重因子,F2用于表征第二权重因子,n用于表征预测控制周期的数量,Ts用于表征预测控制周期的时长,Pi用于表征在第i个预测控制周期内预测风能捕获功率,Pi idea用于表征在第i个预测控制周期内理想风能捕获功率,/>用于表征在第i个预测控制周期内的形变加速度,/>用于表征预设最大形变加速度记录值。in, Used to characterize the generator torque corresponding to the 1st predictive control cycle to the nth predictive control cycle, F 1 is used to represent the first weight factor, F 2 is used to represent the second weight factor, and n is used to represent the prediction The number of control cycles, T s is used to characterize the length of the predictive control cycle, Pi is used to represent the predicted wind energy capture power in the i-th predictive control cycle, and P i idea is used to represent the ideal wind energy in the i-th predictive control cycle. capture power,/> Used to characterize the deformation acceleration in the i-th predictive control cycle,/> Used to characterize the preset maximum deformation acceleration record value.

上述测风能捕获功率、理想风能捕获功率以及形变加速度均基于发电机转矩进行表示。The above measured wind energy capture power, ideal wind energy capture power and deformation acceleration are all expressed based on the generator torque.

为了生成目标控制序列,需要对上述非线性的预设成本函数进行求解。解算模块303具体用于根据运行状态数据,使用粒子群算法分别在多个不同的求解方向对转矩控制序列和迭代变化率进行迭代计算,直到迭代计算的次数达到预设迭代次数,获取目标控制序列。In order to generate the target control sequence, the above-mentioned nonlinear preset cost function needs to be solved. The solution module 303 is specifically configured to use the particle swarm algorithm to iteratively calculate the torque control sequence and the iterative change rate in multiple different solution directions according to the operating status data, until the number of iterative calculations reaches the preset number of iterations, and the target is obtained. control sequence.

其中,目标控制序列为在所有求解方向中预设成本函数取全局最小值时对应的转矩控制序列。Among them, the target control sequence is the torque control sequence corresponding to when the preset cost function takes the global minimum in all solution directions.

示例性的,参见图2,基于粒子群算法,从m个不同的求解方向对转矩控制序列和迭代变化率进行迭代计算,相当于在有m个粒子组成的群体在空间中进行搜索。For example, see Figure 2. Based on the particle swarm algorithm, the torque control sequence and the iterative change rate are iteratively calculated from m different solution directions, which is equivalent to searching in space for a group of m particles.

对于任一粒子,需要算法中使用到的各种参数进行初始化,例如学习因子和预设参数进行初始化。即对于不同的求解方向,初始化得到的学习因子和预设参数的数值不同。基于初始化的算法参数,计算每个粒子的预设成本函数的值,更新每个粒子的迭代变化率和转矩控制序列,基于目前计算得到的预设成本函数取最小宅时对应的转矩控制序列,更新局部最优的转矩控制序列以及全局最优的转矩控制序列。然后判断迭代计算的次数是否小于预设迭代次数,若小于,继续迭代计算以更新局部最优的转矩控制序列以及全局最优的转矩控制序列,否则,则输出全局最优的转矩控制序列作为目标控制序列。For any particle, various parameters used in the algorithm need to be initialized, such as learning factors and preset parameters. That is, for different solution directions, the values of the initialized learning factors and the preset parameters are different. Based on the initialized algorithm parameters, calculate the value of the preset cost function of each particle, update the iterative change rate and torque control sequence of each particle, and obtain the torque control corresponding to the minimum time based on the preset cost function calculated so far. sequence, updating the local optimal torque control sequence and the globally optimal torque control sequence. Then determine whether the number of iterative calculations is less than the preset number of iterations. If it is less, continue the iterative calculation to update the local optimal torque control sequence and the global optimal torque control sequence. Otherwise, output the global optimal torque control sequence. sequence as the target control sequence.

然后在不同的求解方向对预设成本函数进行迭代计算,得到预设成本函数的值。Then the preset cost function is iteratively calculated in different solution directions to obtain the value of the preset cost function.

迭代计算的公式为:The formula for iterative calculation is:

其中,用于表征第j次进行迭代计算得到的转矩控制序列,/>用于表征第j次进行迭代计算得到的迭代变化率,/>用于表征在求解方向的前j次迭代计算中预设成本函数取最小值时对应的转矩控制序列,/>用于表征在所有求解方向的前j次迭代计算中预设成本函数取全局最小值时对应的转矩控制序列,c1和c2分别用于表征学习因子,r1和r2分别用于表征预设参数,/>用于表征惯性权重。in, Used to characterize the torque control sequence obtained by the jth iterative calculation,/> Used to characterize the iterative change rate obtained by the jth iterative calculation,/> Used to characterize the torque control sequence corresponding to the minimum value of the preset cost function in the first j iterations of the solution direction,/> Used to characterize the corresponding torque control sequence when the preset cost function takes the global minimum in the first j iterations of all solution directions, c 1 and c 2 are used to characterize the learning factors respectively, r 1 and r 2 are used to represent the learning factors respectively. Characterize the preset parameters,/> Used to represent inertia weight.

最终,得到目标控制序列 Finally, the target control sequence is obtained

需要说明的是,迭代变化率包括与对应转矩控制序列中的每n个转矩值相对应的变化值。即,第j次迭代计算得到转矩控制序列所包含的n个转矩值,先获取第j+1次迭代计算得到的迭代变化率,将迭代变化率中的每个变化值与转矩值一一对应相加,即可实现第j+1次对转矩控制序列迭代计算。It should be noted that the iterative change rate includes change values corresponding to every n torque values in the corresponding torque control sequence. That is, the n torque values contained in the torque control sequence are calculated at the jth iteration, first obtain the iterative change rate calculated at the j+1 iteration, and compare each change value in the iterative change rate with the torque value. One-to-one corresponding addition can realize the j+1th iterative calculation of the torque control sequence.

在步骤S104中,响应于进入下一控制周期,将目标控制序列中的第一个目标转矩值作为发电机的控制器的输出,以实现对发电机转矩进行控制。In step S104, in response to entering the next control cycle, the first target torque value in the target control sequence is As the output of the generator controller, to control the generator torque.

另外,在求解上述预设成本函数之前,还可以对风电机组的发电机转矩的目标转矩值、风轮的转子转速进行约束:In addition, before solving the above preset cost function, the target torque value of the generator torque of the wind turbine and the rotor speed of the wind turbine can also be constrained:

refi|≤σωωrefrefi |≤σ ω ω ref ,

其中,用于表征转矩参考值,ωref用于表征转子转速参考值,σT用于表征转矩允许偏差范围,σω用于表征转速允许偏差范围。in, It is used to characterize the torque reference value, ω ref is used to characterize the rotor speed reference value, σ T is used to characterize the torque allowable deviation range, and σ ω is used to characterize the speed allowable deviation range.

实施例3Example 3

本实施例提供一种风电机组,包括实施例2中的控制系统。This embodiment provides a wind turbine generator, including the control system in Embodiment 2.

示例性的,参见图4。超大型风电机组雷达获取到的在预测控制周期内的来流风速,通过使用风能捕获预测模型和形变加速度预测模型根据来流风速,预测出风电机组在预测控制周期内的运行状态数据。其中,运行状态数据包括运行状态数据包括预测风能捕获功率、理想风能捕获功率以及塔架侧向的形变加速度。并使用粒子群算法基于运行状态数据求解预设成本函数,以得到目标控制序列。其中,目标控制序列包括每个在预测控制周期内的目标转矩值。See Figure 4 for an example. The incoming wind speed during the predictive control period obtained by the ultra-large wind turbine radar is used to predict the operating status data of the wind turbine during the predictive control period based on the incoming wind speed using the wind energy capture prediction model and the deformation acceleration prediction model. Among them, the operating status data includes the operating status data including predicted wind energy capture power, ideal wind energy capture power and tower lateral deformation acceleration. And use the particle swarm algorithm to solve the preset cost function based on the operating status data to obtain the target control sequence. Wherein, the target control sequence includes each target torque value within the predictive control cycle.

进入下一控制周期后,根据目标控制序列中的目标转矩值控制发电机转矩。即可实现风电机组的塔架载荷和风能捕获功率的协同优化,能够有效地对降低风电机组的塔架的侧向结构载荷,提升发电机应用在大型风电机组中的功率输出质量。并且进入下一控制周期后,将其作为当前控制周期重复上述过程,以再次得到用于目标控制序列。After entering the next control cycle, the generator torque is controlled according to the target torque value in the target control sequence. This can achieve collaborative optimization of the wind turbine tower load and wind energy capture power, which can effectively reduce the lateral structural load of the wind turbine tower and improve the power output quality of the generator used in large wind turbines. And after entering the next control period, use it as the current control period to repeat the above process to obtain the target control sequence again.

实施例4Example 4

图5示出了本公开其中一种电子设备的结构。电子设备包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,处理器执行程序时,实现上述控制方法。图5显示的电子设备50仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。FIG. 5 shows the structure of one electronic device of the present disclosure. The electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the above control method is implemented. The electronic device 50 shown in FIG. 5 is only an example and should not bring any limitations to the functions and scope of use of the embodiments of the present disclosure.

如图5所示,电子设备50也可以通用计算设备的形式表现,例如其可以为服务器设备。电子设备50的组件可以包括但不限于:上述至少一个处理器51、上述至少一个存储器52、连接不同系统组件(包括存储器52和处理器51)的总线53。As shown in FIG. 5 , the electronic device 50 may also be in the form of a general computing device, for example, it may be a server device. The components of the electronic device 50 may include, but are not limited to: the above-mentioned at least one processor 51, the above-mentioned at least one memory 52, and a bus 53 connecting different system components (including the memory 52 and the processor 51).

总线53包括数据总线、地址总线和控制总线。Bus 53 includes a data bus, an address bus and a control bus.

存储器52可以包括易失性存储器,例如随机存取存储器(RAM)521和/或高速缓存存储器522,还可以进一步包括只读存储器(ROM)523。Memory 52 may include volatile memory, such as random access memory (RAM) 521 and/or cache memory 522 , and may further include read-only memory (ROM) 523 .

存储器52还可以包括具有一组(至少一个)程序模块524的程序/实用工具525,这样的程序模块524包括但不限于:操作系统、一个或者多个应用程序、其它程序模块以及程序数据,这些示例中的每一个或某种组合中可能包括网络环境的实现。Memory 52 may also include a program/utility 525 having a set of (at least one) program modules 524 including, but not limited to: an operating system, one or more application programs, other program modules, and program data. Each of the examples, or some combination thereof, may include the implementation of a network environment.

处理器51通过运行存储在存储器52中的计算机程序,从而执行各种功能应用以及数据处理,例如本公开上述控制方法。The processor 51 executes computer programs stored in the memory 52 to execute various functional applications and data processing, such as the above-mentioned control method of the present disclosure.

电子设备50也可以与一个或多个外部设备54(例如键盘、指向设备等)通信。这种通信可以通过输入/输出(I/O)接口55进行。并且,模型生成的设备50还可以通过网络适配器56与一个或者多个网络(例如局域网(LAN),广域网(WAN)和/或公共网络,例如因特网)通信。如图5所示,网络适配器56通过总线53与模型生成的设备50的其它模块通信。应当明白,尽管图中未示出,可以结合模型生成的设备50使用其它硬件和/或软件模块,包括但不限于:微代码、设备驱动器、冗余处理器、外部磁盘驱动阵列、RAID(磁盘阵列)系统、磁带驱动器以及数据备份存储系统等。Electronic device 50 may also communicate with one or more external devices 54 (eg, keyboard, pointing device, etc.). This communication may occur through input/output (I/O) interface 55. Furthermore, the model generation device 50 may also communicate with one or more networks (eg, a local area network (LAN), a wide area network (WAN), and/or a public network, such as the Internet) through a network adapter 56 . As shown in FIG. 5 , network adapter 56 communicates with other modules of model-generated device 50 via bus 53 . It should be understood that, although not shown in the figures, other hardware and/or software modules may be used in conjunction with the model-generated device 50, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID (disk Array) systems, tape drives, and data backup storage systems, etc.

应当注意,尽管在上文详细描述中提及了电子设备的若干单元/模块或子单元/模块,但是这种划分仅仅是示例性的并非强制性的。实际上,根据本公开的实施方式,上文描述的两个或更多单元/模块的特征和功能可以在一个单元/模块中具体化。反之,上文描述的一个单元/模块的特征和功能可以进一步划分为由多个单元/模块来具体化。It should be noted that although several units/modules or sub-units/modules of the electronic device are mentioned in the above detailed description, this division is only exemplary and not mandatory. Indeed, according to embodiments of the present disclosure, the features and functions of two or more units/modules described above may be embodied in one unit/module. Conversely, the features and functions of one unit/module described above may be further divided to be embodied by multiple units/modules.

本公开还提供一种计算机可读存储介质,其上存储有计算机程序,程序被处理器执行时,实现上述控制方法。The present disclosure also provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the above control method is implemented.

其中,可读存储介质可以采用的更具体可以包括但不限于:便携式盘、硬盘、随机存取存储器、只读存储器、可擦拭可编程只读存储器、光存储器件、磁存储器件或上述的任意合适的组合。Among them, the readable storage medium that can be used may more specifically include but is not limited to: portable disk, hard disk, random access memory, read-only memory, erasable programmable read-only memory, optical storage device, magnetic storage device or any of the above. The right combination.

在可能的实施方式中,本公开还可以实现为一种程序产品的形式,其包括程序代码,当程序产品在终端设备上运行时,程序代码用于使终端设备执行时,实现上述控制方法。In a possible implementation, the present disclosure can also be implemented in the form of a program product, which includes program code. When the program product is run on a terminal device, the program code is used to cause the terminal device to execute the above control method.

其中,可以一种或多种程序设计语言的任意组合来编写用于执行本公开的程序代码,程序代码可以完全地在用户设备上执行、部分地在用户设备上执行、作为一个独立的软件包执行、部分在用户设备上部分在远程设备上执行或完全在远程设备上执行。The program code for executing the present disclosure can be written in any combination of one or more programming languages. The program code can be completely executed on the user device, partially executed on the user device, or as an independent software package. Executes, partially on the user device and partially on the remote device, or entirely on the remote device.

虽然以上描述了本公开的具体实施方式,但是本领域的技术人员应当理解,这仅是举例说明,本公开的保护范围是由所附权利要求书限定的。本领域的技术人员在不背离本公开的原理和实质的前提下,可以对这些实施方式做出多种变更或修改,但这些变更和修改均落入本公开的保护范围。Although specific embodiments of the present disclosure have been described above, those skilled in the art will understand that these are only examples and the protection scope of the present disclosure is defined by the appended claims. Those skilled in the art can make various changes or modifications to these embodiments without departing from the principles and essence of the present disclosure, but these changes and modifications all fall within the protection scope of the present disclosure.

Claims (10)

1. The control method of the wind turbine generator is characterized in that the wind turbine generator comprises a generator and a tower;
the control method comprises the following steps:
acquiring the incoming wind speed of the wind turbine generator in at least one prediction control period in the current control period;
acquiring running state data of the wind turbine generator in the prediction control period respectively based on the incoming wind speed; wherein the operational state data includes predicted wind energy capture power, ideal wind energy capture power, and deformation acceleration of the tower side direction;
Generating a target control sequence based on the operating state data and a preset cost function of the generator; wherein the target control sequence includes target torque values of generator torque corresponding to the predicted control periods, respectively;
in response to entering a next control period, the generator torque is controlled in accordance with the target torque value in the target control sequence.
2. The control method according to claim 1, characterized in that the preset cost function is expressed as:
wherein ,for characterizing the generator torque respectively corresponding to the 1 st to nth predictive control periods, F 1 For characterising the first weighting factor, F 2 For characterizing a second weighting factor, n for characterizing the number of predictive control cycles, T s For characterizing the duration of the predictive control period, P i For characterizing said predicted wind energy capture power during the ith said predicted control period,/and/or->For characterizing said ideal wind energy capture power,/-during the ith said predictive control period>For characterizing said deformation acceleration in an ith said predictive control period,the method is used for representing a preset maximum deformation acceleration record value;
The measured wind energy capture power, the ideal wind energy capture power, and the deformation acceleration are all represented based on the generator torque.
3. The control method according to claim 2, wherein the step of generating a target control sequence based on the operating state data and a preset cost function of the generator comprises:
performing iterative computation on the torque control sequence and the iteration change rate in a plurality of different solving directions by using a particle swarm algorithm until the number of iterative computation reaches a preset iteration number, and acquiring the target control sequence;
the target control sequence is the torque control sequence corresponding to the preset cost function in all solving directions when the preset cost function takes a global minimum value.
4. A control method according to claim 3, wherein the formula of the iterative calculation is:
wherein ,for characterizing the torque control sequence obtained by the j-th iteration calculation,/and a method for controlling the torque control sequence>For characterizing said iterative rate of change obtained by the jth iterative calculation,/th iterative calculation>For characterizing said torque control sequence corresponding to when said preset cost function takes a minimum value in the first j iterative calculations of said solving direction,/- >C) representing the torque control sequence corresponding to the preset cost function taking the global minimum value in the previous j iterative calculations of all the solving directions 1 and c2 Respectively used for characterizing learning factors, r 1 and r2 Respectively used for representing preset parameters->For characterizing inertial weights.
5. A control method according to any one of claims 1-4, characterized in that the wind turbine further comprises a wind rotor;
the step of obtaining the running state data of the wind turbine generator set in the prediction control period based on the incoming wind speed comprises the following steps:
acquiring the rotor speed of the wind wheel in the prediction control period and the predicted wind energy capturing power and the ideal wind energy capturing power of the wind turbine in the prediction control period by using a wind energy capturing prediction model according to the actual rotor speed, the actual incoming wind speed, the actual energy conversion efficiency and the actual torque value in the control period which is the last control period of the current control period and the incoming wind speed in each prediction control period;
and/or the number of the groups of groups,
and according to the actual incoming flow wind speed, the actual running state data and the actual target torque value of the current control period and the previous control period, and the incoming flow wind speed and the running state data in each prediction control period, the deformation acceleration in the prediction control period is predicted by using a deformation acceleration prediction model in sequence.
6. The control method according to claim 5, wherein the wind energy capture prediction model is expressed as:
wherein ,for characterizing said predicted wind energy capture power during the ith said predicted control period,/and/or->For characterizing said ideal wind energy capture power,/-during the ith said predictive control period>For characterizing the energy conversion efficiency in the ith said predictive control cycle, +.>A preset maximum value for characterizing the energy conversion efficiency,/-for>For characterizing said incoming wind speed in the ith said predictive control period,/and/or->Lambda is the theoretical value of the pitch angle corresponding to the incoming wind speed in the ith predictive control period i For characterizing the tip speed ratio in the ith said predictive control period,for characterising the rotor speed of the rotor during the ith said predictive control period, N gear Gearbox transformation ratio for representing wind turbine generator system, J rotor For characterising the moment of inertia, ω, of the rotor 0 For characterizing the actual rotor speed of the rotor, a 1 、a 2 、a 3 、a 4 、a 5 、a 6 、b 1 、b 2 Respectively used for representing preset parameters;
and/or the number of the groups of groups,
the deformation acceleration prediction model is expressed as:
wherein F is used for representing a deformation acceleration prediction model, For characterizing said deformation acceleration, x, in the ith said predictive control period i For characterizing said operating state data in the ith said predictive control period,/and>for characterizing said generator torque corresponding to the ith said predictive control period,/and>for characterizing said incoming wind speed in an ith said predictive control period.
7. The control method according to claim 6, wherein the deformation acceleration prediction model is a support vector machine, and a gaussian kernel function is adopted as a kernel function in the deformation acceleration prediction model; the deformation acceleration prediction model is obtained through training according to historical running state data, historical torque data and historical incoming flow wind speed data of the wind turbine generator.
8. A control system of a wind turbine, wherein the wind turbine comprises a generator and a tower;
the control system includes:
the wind speed acquisition module is used for acquiring the incoming wind speed of the wind turbine generator in at least one prediction control period in the current control period;
the state data prediction module is used for acquiring running state data of the wind turbine generator in the prediction control period respectively based on the incoming wind speed; wherein the operational state data includes predicted wind energy capture power, ideal wind energy capture power, and deformation acceleration of the tower side direction;
The calculation module is used for generating a target control sequence based on the running state data and a preset cost function of the generator; wherein the target control sequence includes target torque values of generator torque corresponding to the predicted control periods, respectively;
and the control module is used for controlling the generator torque according to the target torque value in the target control sequence in response to entering the next control period.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory for execution on the processor, characterized in that the processor implements the control method according to any one of claims 1-7 when executing the computer program.
10. A readable computer storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the control method according to any one of claims 1-7.
CN202310841716.3A 2023-07-10 2023-07-10 Control method and system of wind turbine generator, electronic equipment and storage medium Pending CN116816597A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310841716.3A CN116816597A (en) 2023-07-10 2023-07-10 Control method and system of wind turbine generator, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310841716.3A CN116816597A (en) 2023-07-10 2023-07-10 Control method and system of wind turbine generator, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116816597A true CN116816597A (en) 2023-09-29

Family

ID=88121980

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310841716.3A Pending CN116816597A (en) 2023-07-10 2023-07-10 Control method and system of wind turbine generator, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116816597A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118092147A (en) * 2024-04-28 2024-05-28 浙江大学 Industrial Planning Controller Design Method for Offshore Wind Turbines

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118092147A (en) * 2024-04-28 2024-05-28 浙江大学 Industrial Planning Controller Design Method for Offshore Wind Turbines
CN118092147B (en) * 2024-04-28 2024-07-30 浙江大学 Industrial Planning Controller Design Method for Offshore Wind Turbines

Similar Documents

Publication Publication Date Title
US11629694B2 (en) Wind turbine model based control and estimation with accurate online models
Bottasso et al. Aero-servo-elastic modeling and control of wind turbines using finite-element multibody procedures
Simani et al. Fault Diagnosis and Sustainable Control of Wind Turbines: Robust data-driven and model-based strategies
CN115333168B (en) A field-level control strategy for offshore wind farms based on distributed rolling optimization
CN114465287A (en) Method and system for quickly optimizing active power of wind power plant
Shetty et al. Comparison of modeling methods for wind power prediction: a critical study
KR20130099479A (en) Method of sensorless mppt neural control for wind energy conversion systems
CN107829878A (en) Yaw control device and method of wind generating set
CN107045574B (en) Estimation method of effective wind speed in low wind speed section of wind turbine based on SVR
CN112052604B (en) Method, system, equipment and readable medium for predicting equivalent fatigue load of fan
CN110985294A (en) A Stochastic Model Predictive Control Method Combined with Robust Probabilistic Tubes
CN118092147B (en) Industrial Planning Controller Design Method for Offshore Wind Turbines
CN115713029A (en) Wind power plant stochastic model prediction optimization control method considering delay
CN119532106A (en) Wind turbine array wake management method and system based on Doppler laser wind measurement
CN116816597A (en) Control method and system of wind turbine generator, electronic equipment and storage medium
CN120145613A (en) Integrated modeling method, system and medium for floating wind turbines
CN118462479A (en) Control methods, devices, equipment, media and procedures for offshore wind turbines
Wang et al. Turbulence intensity identification and load reduction of wind turbine under extreme turbulence
Dong et al. Optimised yaw model for adaptive wind direction characteristic based on a data‐driven approach
KR102187793B1 (en) Method for maximum wind energy extraction of variable speed wind turbines using previewed wind speed
CN117967499B (en) Wind power plant grouping wake optimization method and system
Baisthakur et al. Predicting Wind Turbine Blade Tip Deformation With Long Short‐Term Memory (LSTM) Models
CN118997980A (en) Wind energy capturing method and system with efficiency and load at low wind speed
Ayoubi et al. Intelligent control of a large variable speed wind turbine
Simani et al. Fuzzy control techniques applied to wind turbine systems and hydroelectric plants

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination