Probe measurement correction method based on genetic algorithm-optimized BP neural network
-
摘要:
针对探针在航空发动机复杂流场中因多种因素导致的总压测量误差的问题,采用了一种基于遗传算法优化反向传播 (GA-BP)神经网络的误差修正方法。基于数值模拟得到的多组样本数据集,采用GA-BP神经网络:确定隐藏层为6节点结构;logsig和purelin分别为隐藏层、输出层的激活函数,trainlm为训练函数;优化初始种群规模为45,交叉概率0.8与变异分布指数为5的组合使方均根误差降至
0.37591 。实验结果表明:GA-BP测试集的方均根误差较标准BP模型降低66.7%,平均相对误差降幅为72.4%,决定系数高于0.999;90%样本误差低于2×10−3且在零均值对称分布,显著提升了模型的修正精度与泛化能力,为航空发动机气动性能测试提供了参考方案。Abstract:To address total pressure measurement errors caused by multiple factors in complex aero-engine flow fields, an error correction method based on a genetic algorithm-optimized backpropagation (GA-BP) neural network was proposed. Utilizing multi-sample datasets from numerical simulations, the GA-BP neural network was adopted: a 6-node hidden layer structure was determined, with logsig and purelin served as activation functions for the hidden and output layers respectively, and trainlm as the training function. An optimized combination of initial population size of 45, crossover probability of 0.8, and mutation distribution index of 5 reduced the root mean square error to
0.37591 . Experimental results demonstrate that, compared with the standard BP model, the GA-BP model reduced root mean square error by 66.7% and the mean relative error by 72.4% on the test set, while achieving a coefficient of determination above 0.999; errors of 90% samples were below 2×10−3 and symmetrically distributed around zero. This proposed approach significantly enhances correction accuracy and generalization capability, providing a reference solution for aero-engine aerodynamic performance testing.-
Key words:
- probe /
- total pressure measurement /
- error correction /
- neural network /
- genetic algorithm
-
表 1 隐藏层不同节点数时的方均根误差
Table 1. Root mean squared error with different numbers of hidden layer nodes
隐藏层节点数 实验次数 平均值 1 2 3 4 5 6 7 3 1.1366 1.4693 1.7792 1.8433 1.4663 1.6276 0.9604 1.4690 4 0.8855 0.8052 1.8485 1.7460 0.9017 0.3784 0.5373 1.0147 5 0.3388 0.3491 0.8929 1.3562 0.9728 1.5196 1.2238 0.9505 6 1.5242 1.4524 0.4547 0.7616 0.3197 0.5855 0.2074 0.7580 7 0.6133 1.4029 0.5860 0.8684 0.3670 1.5094 0.7643 0.8730 8 1.3411 0.4445 1.6633 0.3749 1.0680 1.2330 0.6140 0.9627 9 1.2894 0.6478 0.8781 0.8180 0.9074 0.9928 1.0802 0.9448 10 1.4148 0.7764 0.627 1.3779 0.5524 1.1857 0.8677 0.9717 表 2 不同激活函数的方均根误差对比表
Table 2. Comparison table of root mean squared errors for different activation functions
隐藏层 输出层 方均根误差 logsig logsig 16.883 purelin logsig 15.933 tansig logsig 16.122 logsig purelin 0.710 purelin purelin 3.958 tansig purelin 0.766 logsig tansig 1.447 purelin tansig 3.376 tansig tansig 0.881 表 3 不同训练函数的方均根误差对比表
Table 3. Comparison table of root mean squared errors for different training functions
训练函数 训练步数 方均根误差 trainlm 50 0.553 trainbr 290 0.503 trainrp 36 2.272 traingdx 156 4.422 表 4 不同初始种群的方均根误差
Table 4. Root mean squared error with different initial populations
初始种群数量 训练步数 方均根误差 10 34 0.455546 15 42 0.448802 20 22 0.767064 25 24 0.711038 30 42 0.856368 35 32 0.704458 40 27 0.455836 45 31 0.337510 50 24 0.637122 55 30 0.578608 60 24 0.75814 65 24 0.390754 70 38 0.472082 表 5 不同交叉概率和变异分布指数的方均根误差
Table 5. Root mean squared error for different crossover probabilities and mutation distribution indices
变异分布指数 方均根误差 Pc=0.4 Pc=0.5 Pc=0.6 Pc=0.7 Pc=0.8 Pc=0.9 2 0.41737 0.599393 0.449535 0.607968 0.848658 1.13681 3 0.417895 0.560195 0.669135 0.585493 0.37986 0.398423 4 0.435128 0.65001 0.84736 0.775194 1.048908 0.775638 5 0.514388 0.731993 0.403785 0.407817 0.37591 1.016433 6 0.572373 0.89844 0.727013 0.53635 0.67243 0.381245 表 6 模型评价
Table 6. Model evaluation
评价指标 BP GA-BP 训练集 测试集 训练集 测试集 $ {e}_{{\mathrm{rms}}} $ 0.70242 1.0162 0.34214 0.33854 $ {{{R}^{2}}} $ 0.99851 0.9969 0.99986 0.99969 $ {e}_{{\mathrm{ma}}} $ 0.48448 0.72881 0.12507 0.20089 $ {e}_{{\mathrm{mr}}} $ 0.0038 0.0058 0.0010 0.0016 -
[1] 姚艳玲, 代军, 黄春峰. 现代航空发动机温度测试技术发展综述[J]. 航空制造技术, 2015, 58(12): 103-107. Yao Yanling, Dai Jun, Huang Chunfeng. Development for temperature measurement technology in modern aeroengine[J]. Aeronautical Manufacturing Technology, 2015, 58(12): 103-107. (in ChineseYao Yanling, Dai Jun, Huang Chunfeng. Development for temperature measurement technology in modern aeroengine[J]. Aeronautical Manufacturing Technology, 2015, 58(12): 103-107. (in Chinese) [2] 单晓明, 高倩, 魏秀利. 航空发动机试验与测试技术发展分析[J]. 航空动力, 2022(3): 67-70. Shan Xiaoming, Gao Qian, Wei Xiuli. Test and measurement technology for aero engines[J]. Aerospace Power, 2022(3): 67-70. (in ChineseShan Xiaoming, Gao Qian, Wei Xiuli. Test and measurement technology for aero engines[J]. Aerospace Power, 2022(3): 67-70. (in Chinese) [3] 吴志珺, 王毅, 赵俭, 等. 航空发动机试验用气动探针的动力学分析研究[J]. 装备制造技术, 2022(5): 80-84. Wu Zhijun, Wang Yi, Zhao Jian, et al. Dynamic analysis of pneumatic probes for aeroengine testing[J]. Equipment Manufacturing Technology, 2022(5): 80-84. (in ChineseWu Zhijun, Wang Yi, Zhao Jian, et al. Dynamic analysis of pneumatic probes for aeroengine testing[J]. Equipment Manufacturing Technology, 2022(5): 80-84. (in Chinese) [4] 刘绪鹏, 闫久坤, 王英锋. 叶型探针级间堵塞对压气机性能的影响[J]. 航空发动机, 2015, 41(3): 86-92. Liu Xupeng, Yan Jiukun, Wang Yingfeng. Blockage effect of inter-stage blade shaped gauge on compressor performance[J]. Aeroengine, 2015, 41(3): 86-92. (in ChineseLiu Xupeng, Yan Jiukun, Wang Yingfeng. Blockage effect of inter-stage blade shaped gauge on compressor performance[J]. Aeroengine, 2015, 41(3): 86-92. (in Chinese) [5] 马宏伟, 蒋浩康. 速度梯度、近壁效应和 Re 数对压力探针测量误差的影响[J]. 航空动力学报, 1995, 10(4): 337-342. Ma Hongwei, Jiang Haokang. Effect of velocity gradient, near-wall effect and Re number on measurement error of pressure probe[J]. Journal of Aerospace Power, 1995, 10(4): 337-342. (in ChineseMa Hongwei, Jiang Haokang. Effect of velocity gradient, near-wall effect and Re number on measurement error of pressure probe[J]. Journal of Aerospace Power, 1995, 10(4): 337-342. (in Chinese) [6] Vukoslavcevic P V, Petrovic D V. Influence of hot-wire probe configuration on the results of 3-D fluid velocity field measurements[C]//International Symposium on Turbulence. Podgorica: Ministry of Science and Education of Montenegro, 1997: 189-198. [7] Vukoslavcevic P V, Wallace J M. The influence of the arrangements of multi-sensor probe arrays on the accuracy of simultaneously measured velocity and velocity gradient-based statistics in turbulent shear flows[J]. Experiments in Fluids, 2013, 54(6): 1537. doi: 10.1007/s00348-013-1537-z [8] 王洪伟, 方剑, 王治. 速度梯度对圆柱探针测量的影响及修正[J]. 航空动力学报, 2008, 23(4): 712-717. Wang Hongwei, Fang Jian, Wang Zhi. Error correction for cylinder probes measuring the flow with velocity gradient[J]. Journal of Aerospace Power, 2008, 23(4): 712-717. (in Chinese doi: 10.13224/j.cnki.jasp.2008.04.026Wang Hongwei, Fang Jian, Wang Zhi. Error correction for cylinder probes measuring the flow with velocity gradient[J]. Journal of Aerospace Power, 2008, 23(4): 712-717. (in Chinese) doi: 10.13224/j.cnki.jasp.2008.04.026 [9] Guo Xipeng, Yin Shaohui, Shu Chengsong, et al. Contact on-machine measurement probe error correction method for optical aspheric surface ultraprecision machining[J]. Measurement, 2023, 214: 112731. [10] 王洪伟, 陈小龙. 五孔探针的神经网络处理方法[J]. 航空动力学报, 2010, 25(2): 417-423. Wang Hongwei, Chen Xiaolong. Five-hole probe and its neural network algorithm[J]. Journal of Aerospace Power, 2010, 25(2): 417-423. (in ChineseWang Hongwei, Chen Xiaolong. Five-hole probe and its neural network algorithm[J]. Journal of Aerospace Power, 2010, 25(2): 417-423. (in Chinese) [11] 吴晓东, 王迎国, 刘志刚, 等. 一种新的三孔探针试验数据处理方法[J]. 燃气涡轮试验与研究, 2019, 32(6): 54-60. Wu Xiaodong, Wang Yingguo, Liu Zhigang, et al. A new data processing method for three-hole probe[J]. Gas Turbine Experiment and Research, 2019, 32(6): 54-60. (in ChineseWu Xiaodong, Wang Yingguo, Liu Zhigang, et al. A new data processing method for three-hole probe[J]. Gas Turbine Experiment and Research, 2019, 32(6): 54-60. (in Chinese) [12] 仇宝云, 黄季艳, 袁寿其. 探针杆挠曲水流场测量误差修正方法及其收敛性[J]. 水动力学研究与进展A辑, 2003, 18(1): 47-51. Qiu Baoyun, Huang Jiyan, Yuan Shouqi. Correcting method and its convergence of water flow field measurement errors of a probe because of its rod bending[J]. Journal of Hydrodynamics, 2003, 18(1): 47-51. (in ChineseQiu Baoyun, Huang Jiyan, Yuan Shouqi. Correcting method and its convergence of water flow field measurement errors of a probe because of its rod bending[J]. Journal of Hydrodynamics, 2003, 18(1): 47-51. (in Chinese) [13] 谢金伟, 郭涛, 张京, 等. 大梯度低速流场中五孔探针测量误差修正方法研究[J]. 实验流体力学, 2025, 39(5): 11-18. Xie Jinwei, Guo Tao, Zhang Jing, et al. Study on correction method for measurement error of five-hole probe in large gradient low-speed flow field[J]. Journal of Experiments in Fluid Mechanics, 2025, 39(5): 11-18. (in ChineseXie Jinwei, Guo Tao, Zhang Jing, et al. Study on correction method for measurement error of five-hole probe in large gradient low-speed flow field[J]. Journal of Experiments in Fluid Mechanics, 2025, 39(5): 11-18. (in Chinese) [14] Su Cheng, Liang Jingwei, He Zengsheng. E-PINN: a fast physics-informed neural network based on explicit time-domain method for dynamic response prediction of nonlinear structures[J]. Engineering Structures, 2024, 321: 118900. [15] Li Chunguang, Liao Xiaofeng, Wu Zhongfu, et al. A multilayer complex neural network training algorithm and its application in adaptive equalization[J]. Journal of Electronics (China), 2001, 18(4): 321-329. [16] Herrmann L, Sigmund O, Li V M, et al. On neural networks for generating better local optima in topology optimization[J]. Structural and Multidisciplinary Optimization, 2024, 67(11): 192. [17] 张丽娜, 杨春信, 王安良. 应用遗传算法优化设计板翅式换热器[J]. 航空动力学报, 2004, 19(4): 530-535. Zhang Lina, Yang Chunxin, Wang Anliang. Optimum design of plate-fin heat exchanger with genetic algorithm[J]. Journal of Aerospace Power, 2004, 19(4): 530-535. (in ChineseZhang Lina, Yang Chunxin, Wang Anliang. Optimum design of plate-fin heat exchanger with genetic algorithm[J]. Journal of Aerospace Power, 2004, 19(4): 530-535. (in Chinese) [18] 辛建池, 吴化银, 陆华伟, 等. 基于七孔探针环形校准与神经网络插值方法的研究[J]. 工程热物理学报, 2025, 46(1): 127-137. Xin Jianchi, Wu Huayin, Lu Huawei, et al. A research based on a scheme of ring calibration of seven-hole probe and an interpolant method using neural network[J]. Journal of Engineering Thermophysics, 2025, 46(1): 127-137. (in ChineseXin Jianchi, Wu Huayin, Lu Huawei, et al. A research based on a scheme of ring calibration of seven-hole probe and an interpolant method using neural network[J]. Journal of Engineering Thermophysics, 2025, 46(1): 127-137. (in Chinese) [19] Xia Zhenxing, Dai Wei, Liu Xin, et al. Data-specific activation function learning for constructive neural networks[J]. Neurocomputing, 2025, 617: 129020. [20] Rosa P P, Sriwindono H, Nugroho R A, et al. Comparison of crossover and mutation operators to solve teachers placement problem by using genetic algorithm[J]. Journal of Physics: Conference Series, 2020, 1566(1): 012021. -

下载: