多尺度注意力加权的CNN-BiGRU光伏功率预测方法
Photovoltaic Power Prediction Method Based on Multi-Scale Attention Weighted CNN-BiGRU
摘要: 光伏功率预测是保障光伏电站高效运维与电网优化调度的核心技术,其精度直接影响新能源消纳水平与并网安全性。针对传统CNN-BiGRU模型在光伏功率预测中存在的单尺度注意力表征能力不足、特征融合维度受限及网络结构布局不合理等问题,文章提出一种基于多尺度注意力加权的CNN-BiGRU光伏功率预测模型。该模型以“局部特征提取–多尺度特征融合–时序依赖建模–精准预测输出”为主干结构,首先通过卷积神经网络提取输入时序数据的局部空间特征;其次设计并行多尺度注意力模块,采用3、5、7三种卷积核分别捕捉短期波动、中期趋势与长期周期特性,并在192维高维特征空间中进行自适应加权,显著提升模型对复杂气象条件下功率变化的拟合能力;随后将优化后的特征输入BiGRU网络以建模双向时序依赖关系,最后通过全连接层输出单步预测结果。实验结果表明,所提模型在保证轻量化的同时有效降低了预测误差,相较于传统CNN-BiGRU及现有改进模型,在多项评价指标上均取得更优表现,验证了多尺度注意力机制与结构优化策略的有效性。
Abstract: Photovoltaic power prediction is a core technology for ensuring efficient operation and maintenance of photovoltaic power stations and optimized dispatch of power grids, and its accuracy directly affects the level of renewable energy accommodation and grid-connected security. To address the limitations of traditional CNN-BiGRU models in PV power prediction, such as insufficient single-scale attention representation capability, restricted feature fusion dimensions, and unreasonable network structural layout, this paper proposes a CNN-BiGRU photovoltaic power prediction model based on multi-scale attention weighting. The proposed model follows a main structure of “local feature extraction, multi-scale feature fusion, temporal dependency modeling, and accurate prediction output”. Firstly, a Convolutional Neural Network (CNN) is utilized to extract local spatial features from the input time-series data. Secondly, a parallel multi-scale attention module is designed, employing convolution kernels of sizes 3, 5, and 7 to capture short-term fluctuations, medium-term trends, and long-term periodic characteristics, respectively. Adaptive weighting is performed in a 192-dimensional high-dimensional feature space, significantly enhancing the model’s fitting capability for power variations under complex meteorological conditions. Subsequently, the optimized features are fed into a Bidirectional Gated Recurrent Unit (BiGRU) network to model bidirectional temporal dependencies. Finally, the single-step prediction results are output through a fully connected layer. Experimental results demonstrate that the proposed model effectively reduces prediction errors while maintaining a lightweight architecture. Compared with traditional CNN-BiGRU and existing improved models, the proposed method achieves superior performance across multiple evaluation metrics, verifying the effectiveness of the multi-scale attention mechanism and structural optimization strategies.
文章引用:李子阳, 朱以墨, 迟晨, 张依林, 刘甲辉, 张丽艳. 多尺度注意力加权的CNN-BiGRU光伏功率预测方法[J]. 智能电网, 2026, 16(3): 94-100. https://doi.org/10.12677/sg.2026.163011

参考文献

[1] 吐松江·卡日, 雷柯松, 马小晶, 等. 基于LSTM-Attention和CNN-BiGRU误差修正的光伏功率预测[J]. 太阳能学报, 2024, 45(12): 85-93.
[2] 张雯涵, 艾欣, 王昊洋, 等. 基于相似日划分与常春藤优化的CNN-BiGRU-Attention光伏功率预测研究[J]. 电网与清洁能源, 2025, 41(10): 119-127.
[3] Zou, H., Yang, C., Ma, H., Zhu, S., Sun, J., Yang, J., et al. (2024) Short‐Term Power Prediction of Distributed PV Based on Multi‐Scale Feature Fusion with TPE-CBiGRU-SCA. IET Generation, Transmission & Distribution, 18, 3200-3220. [Google Scholar] [CrossRef
[4] 陈殿昊, 臧海祥, 刘璟璇, 等. 基于多模态多尺度特征的超短期光伏功率预测[J]. 太阳能学报, 2025, 46(8): 472-480.
[5] Amirteimoury, F., Memarzadeh, G., Noori, H., Keynia, F., Heydari, A. and Fekih, A. (2025) A Novel Multi-Scale Feature Attention Network-Based Prediction Model for the Accurate Forecasting of Photovoltaic Power Generation. IEEE Access, 13, 165173-165188. [Google Scholar] [CrossRef
[6] Lee, D.S., Lai, C.W. and Fu, S.K. (2024) A Short-and Medium-Term Forecasting Model for Roof PV Systems with Data Pre-Processing. Heliyon, 10, e27752. [Google Scholar] [CrossRef] [PubMed]
[7] Yan, K., Liu, J., Zhang, J., Yang, F., Gao, Y. and Du, Y. (2025) Robust Photovoltaic Forecasting under Severe Data Missingness via Multi-Domain Collaboration and Covariate Interaction. Applied Energy, 401, Article ID: 126771. [Google Scholar] [CrossRef
[8] Cai, J., Cai, Y., Yan, Y., Chen, L. and Zhang, X. (2026) Synergistic Cyclic Optimization Strategy for the Data Screening and Forecasting of Solar Power, Wind Power, and Electricity Load. Renewable Energy, 256, Article ID: 124524. [Google Scholar] [CrossRef
[9] Ren, X., Zhang, F., Yan, J. and Liu, Y. (2024) A Novel Convolutional Neural Net Architecture Based on Incorporating Meteorological Variable Inputs into Ultra-Short-Term Photovoltaic Power Forecasting. Sustainability, 16, Article No. 2786. [Google Scholar] [CrossRef
[10] 朱文志, 郭力, 刘一欣, 等. 基于改进CNN-Autoformer网络的光伏功率短期概率预测方法[J]. 太阳能学报, 2026, 47(3): 678-689.
[11] Zhang, Y., Hu, C., Yang, Y., Jiao, F., Zhang, X. and Zhou, Y. (2026) Short Term Photovoltaic Power Prediction Using Multi-Scale Time and Frequency Features. Solar Energy, 310, Article ID: 114478. [Google Scholar] [CrossRef
[12] 孔令文, 陈思安, 耿若曦, 等. 基于自注意力机制-双向GRU的光伏功率间接预测模型[J]. 控制工程, 2026, 33(1): 73-79.
[13] Dai, Y., Yu, W. and Leng, M. (2024) A Hybrid Ensemble Optimized Bigru Method for Short-Term Photovoltaic Generation Forecasting. Energy, 299, Article ID: 131458. [Google Scholar] [CrossRef
[14] 刘国海, 孙文卿, 吴振飞, 等. 基于Attention-GRU的短期光伏发电功率预测[J]. 太阳能学报, 2022, 43(2): 226-232.
[15] 马越, 郭哲卓, 李尚明, 等. 黄土高原集中式光伏电站功率预测模型适用性评价[J]. 延安大学学报(自然科学版), 2026, 45(1): 89-97.