摘要
针对电力电子化电力系统中时钟抖动实时估计的工程需求,本文构建了一种基于长短期记忆网络(LSTM)的概率预测模型。模型采用双头结构,均值头输出抖动的点估计,方差头用于不确定性量化。在损失函数中引入对数校准项,并采用MSE预训练、弱校准联合训练和方差头单独校准的三阶段递进策略。将白噪声方差作为不可训练的工程先验注入方差头,使噪声引入的固有不确定性与模型估计的认知不确定性得以分离。在仿真数据集上,模型预测均方误差为7.12×10-8 s²,标准化残差标准差为1.105,不同信号频率(1~9 Hz)下方差中位数稳定在4.87×10-8 s²附近。与标准LSTM和卡尔曼滤波的对比实验表明,本文模型在预测精度接近标准LSTM的条件下,额外提供了经校准的方差输出,在平稳、缓慢变化和突变非平稳测试数据上均保持了良好的泛化能力和不确定性量化水平。
关键词: 时钟抖动;长短期记忆网络;概率预测;工程先验注入;对数校准损失
Abstract
Driven by the real-time clock jitter estimation demands in power-electronics-dominated power systems, we use the long short-term memory (LSTM) network to develop a probabilistic prediction model that provides conditional jitter estimates and their associated uncertainty simultaneously. The model uses a dual-head architecture, where a mean head predicts the conditional jitter estimate and a variance head quantifies the prediction uncertainty. We introduce a logarithmic calibration term into the loss function and adopt a three-stage training strategy: pre-training with mean squared error, jointly optimizing with a weakly calibrated loss, and fine-tuning of the variance head separately. We further inject the white noise variance into the variance head as a non-trainable engineering prior. On simulated datasets, the model achieves a mean squared error of 7.12×10-8 s2, a normalized residual standard deviation of 1.105, and a stable median variance around 4.87×10-8 s2 across signal frequencies of 1~9 Hz. Comparisons with standard LSTM and a Kalman filter show that the proposed model can maintain point prediction accuracy close to that of the standard LSTM and deliver well-calibrated variance outputs. It shows strong generalization and reliable uncertainty quantification on stationary, slowly varying, and abruptly changing non-stationary test data.
Key words: Clock jitter; Long short-term memory network; Probabilistic prediction; Engineering prior injection; Logarithmic calibration loss
参考文献 References
[1] 陈羽,韩腾飞,杨朋 等.通用航空集群的高精度时钟同步算法[J].数据采集与处理,2026,41(01):89-108.
[2] 李林伟,吴侃侃,周军 等.星载超宽带无线网络高精度时间同步技术[J].电讯技术,2026,66(03):430-436.
[3] IEEE Standard for Jitter and Phase Noise [S]. IEEE Std 2414-2020, 2021: 1-42.
[4] 朱家顺,周强,徐占洋 等.时钟抖动对射频脉宽调制性能的影响分析[J].太赫兹科学与电子信息学报,2023,21(03):340-348.
[5] 胡梅,李晓宇,陈建云.采样噪声对北斗全球信号测距误差的影响分析[J].仪器仪表学报,2019,40(09):180-188.
[6] 王海鑫,刘泽霖,郑飞 等.电力电子化电力系统低频振荡:构网型变流器与电网设备交互机理及源-网-荷-储协同抑制综述[J/OL].电力自动化设备,1-15 [2026-06-05].
[7] 胡家兵,李英彪,郭剑波.电力电子化电力系统跨时间尺度相互作用问题[J].中国科学:技术科学,2026,56(1):227-244.
[8] 林欣,王永纲.基于注入锁定的高精度锁相环芯片设计[J].核电子学与探测技术,2026.46(01):20-26.
[9] 王恒,王红,刘晓江.基于交替极小化卡尔曼滤波的PTP时钟同步参数跟踪方法[J/OL].重庆邮电大学学报(自然科学版),1-10[2026-05-16].
[10] 许万,余磊涛,夏瑞东.基于无迹卡尔曼滤波的精密时钟同步算法[J].湖北工业大学学报,2024,39(01):8-11+27.
[11] 朱文忠,罗鹏阳.深度学习在时序预测中的应用研究综述[J].四川轻化工大学学报(自然科学版),2026,39(02):69-83.
[12] 尚凡成,李传庆,詹可 等.改进LSTM神经网络在极短期波浪时序预报中的应用[J].上海交通大学学报,2023,57(06):659-665.
[13] 卢官明,蔡亚宁,卢峻禾 等.基于Bi-LSTM和时序注意力的异常心音检测[J].南京邮电大学学报(自然科学版),2025,45(01):12-20.
[14] 徐涛,郭宸宇,赵程.结合EKF与LSTM神经网络的授时/守时算法[J].全球定位系统,2024,49(05):126-132.
[15] 蒋卓豪,葛海波,吴天昊 等.LSTM模型在GNSS卫星钟差预报中的应用[J].导航定位学报,2026,14(02):10-20.
[16] 刘青俊,王然,黄震宁 等.基于LSTM的5G-TSN时钟同步误差预测[J].网络与信息安全学报,2026,12(01):40-53.
[17] Abdar, M., Pourpanah, F., Hussain, S., et al. A review of uncertainty quantification in deep learning: Techniques, applications and challenges [J]. Information Fusion, 2021, 76.