端到端机器学习代理模型构建及其在爆轰驱动问题中的应用

柏劲松 刘洋 陈翰 钟敏

柏劲松, 刘洋, 陈翰, 钟敏. 端到端机器学习代理模型构建及其在爆轰驱动问题中的应用[J]. 爆炸与冲击. doi: 10.11883/bzycj-2024-0099
引用本文: 柏劲松, 刘洋, 陈翰, 钟敏. 端到端机器学习代理模型构建及其在爆轰驱动问题中的应用[J]. 爆炸与冲击. doi: 10.11883/bzycj-2024-0099
BAI Jingsong, LIU Yang, CHEN Han, ZHONG Min. Construction of end-to-end machine learning surrogate model and its application in detonation driving problem[J]. Explosion And Shock Waves. doi: 10.11883/bzycj-2024-0099
Citation: BAI Jingsong, LIU Yang, CHEN Han, ZHONG Min. Construction of end-to-end machine learning surrogate model and its application in detonation driving problem[J]. Explosion And Shock Waves. doi: 10.11883/bzycj-2024-0099

端到端机器学习代理模型构建及其在爆轰驱动问题中的应用

doi: 10.11883/bzycj-2024-0099
详细信息
    作者简介:

    柏劲松(1968- ),男,博士,研究员,bjsong@foxmail.com

    通讯作者:

    刘 洋(1987- ),男,博士,助理研究员,blonster@163.com

  • 中图分类号: O389

Construction of end-to-end machine learning surrogate model and its application in detonation driving problem

  • 摘要: 人工智能/机器学习方法能够发现数据中隐藏的物理规律,构建状态参数与动态结果之间端到端的代理模型,可高效解决强耦合、非线性、多物理等复杂工程问题。在高度非线性的爆炸与冲击动力学领域,选择了一个经典的爆轰驱动问题作为研究对象,以数值模拟结果作为机器学习代理模型的训练数据,将正向模拟与逆向设计有机结合起来,基于深度神经网络技术,构建了特征位置速度剖面、材料动态变形与工程因素之间端到端的代理模型,给出了代理模型的计算精确度,验证了代理模型从速度剖面反演工程因素的能力。结果表明:端到端代理模型具有较高的预测能力,其预测的速度剖面与工程因素估计的相对误差均小于1%,可用于高度非线性的爆炸与冲击动力学问题的快速设计、高精度预测和敏捷迭代。
  • 图  1  神经元

    Figure  1.  Neurons

    图  2  由神经元权重表达的输出模式

    Figure  2.  Output pattern represented by neuron weights

    图  3  神经网络的几个概念

    Figure  3.  Several concepts of neural network

    图  4  BFGS和ADAM算法优化结果与模拟结果的比较

    Figure  4.  Comparison of optimization results of BFGS and ADAM algorithm with simulation results

    图  5  不同神经网络结构的代理模型计算结果与解析解的比较

    Figure  5.  Comparison of calculation results and analytical solutions of surrogate models with different neural network structures

    图  6  单因素影响的爆轰驱动模型

    Figure  6.  Single-factor-influenced detonation drive model

    图  7  P1P2处模拟的速度剖面

    Figure  7.  Numerical simulated velocity profiles at P1 and P2

    图  8  训练点上速度代理模型和数值模拟的计算结果比较

    Figure  8.  Results calculated by the speed surrogate model at the training points and the numerical simulation result

    图  9  预测点上速度代理模型给出的计算结果及其与数值模拟结果的比较

    Figure  9.  Results calculated by the velocity surrogate model at the prediction points with their comparison with the numerical simulation results

    图  10  应用代理模型依据速度剖面反向求解h

    Figure  10.  Applying the surrogate model to solve the h values according to velocity profiles

    图  11  t=25 µs时训练点上流场中材料动态时空分布代理模型计算的流场体积分数与数值模拟结果的比较

    Figure  11.  Comparison of material distribution surrogate model with numerical simulation results at training point at t=25 μs

    图  12  预测点上流场中材料动态时空分布代理模型计算的流场体积分数与数值模拟结果的比较

    Figure  12.  Material distribution calculated by surrogate model at prediction points with comparison to simulation data

    图  13  双因素影响的爆轰驱动模型

    Figure  13.  Two-factor-influenced detonation drive model

    图  14  代理模型计算的P1处的速度剖面与数值模拟结果的比较

    Figure  14.  Numerical simulation and surrogate model calculation results of speed history at P1

    图  15  c=1 mm、d=1 mm、t=25 µs时代理模型计算的流场体积分数与数值模拟结果的比较

    Figure  15.  Numerical simulation of material distribution and calculation results of surrogate model at the point while c=1 mm, d=1 mm, t=25 µs

    表  1  不同神经网络结构对代理模型的计算效果分析

    Table  1.   Analysis of calculation effect of surrogate model with different neural network structures

    组合序号dhwh标准误差
    010203.8845×10−3
    115203.4626×10−3
    210154.4272×10−3
    310253.3092×10−3
    45152.3908×10−3
    515251.0031×10−2
    下载: 导出CSV

    表  2  训练点上速度剖面代理模型计算的相对误差

    Table  2.   Relative errors of velocity surrogate model calculation at training points

    h/mm 相对误差/%
    P1 P2
    0 0.0034 0.0040
    1 0.0078 0.0094
    2 0.0063 0.0036
    3 0.0057 0.0014
    4 0.0027 0.0094
    5 0.0035 0.0067
    下载: 导出CSV

    表  3  预测点上速度剖面代理模型计算的相对误差

    Table  3.   Relative errors calculated by velocity surrogate model at prediction points

    h/mm 相对误差/%
    P1 P2
    0.5 0.0571 0.6665
    1.5 0.0524 0.8081
    2.5 0.0034 0.4332
    3.2 0.0116 0.1963
    4.7 0.0129 0.1669
    下载: 导出CSV

    表  4  $t $=25 µs时训练点上流场中材料动态时空分布代理模型计算的标准差和相对误差

    Table  4.   Standard and relative errors calculated by the material distribution surrogate model at training points at t=25 μs

    h/mm 标准差 相对误差/%
    0 5.99×10−2 0.3953
    1 5.81×10−2 0.2721
    2 5.95×10−2 0.0955
    3 6.15×10−2 0.3082
    4 6.30×10−2 0.3415
    5 6.39×10−2 0.2211
    下载: 导出CSV
  • [1] 杨凯, 吕文泉, 闫胜斌. 智能化时代的作战方式变革 [J]. 军事文摘, 2022(1): 7–11.

    YANG K, LYU W Q, YAN S B. Reform of combat methods in the era of intelligence [J]. Military Digest, 2022(1): 7–11.
    [2] 中国国防科技信息中心. DARPA成功完成“海上猎手”无人水面艇项目 [R/OL]. (2018-02-02)[2024-04-07]. https://www.sohu.com/a/220477417_313834.

    China National Defense Science and Technology Information Center. DARPA successfully completed the Sea Hunter unmanned surface vehicle project [R/OL]. (2018-02-02)[2024-04-07]. https://www.sohu.com/a/220477417_313834.
    [3] DATTELBAUM A M. Materials dynamics: LA-UR-22-25248 [R]. Los Alamos: Los Alamos National Laboratory, 2022.
    [4] SHALEV-SHWARTZ S, SHAMMAH S, SHASHUA A. Safe, multi-agent, reinforcement learning for autonomous driving [EB/OL]. arXiv: 1610.03295. (2016-11-11)[2024-04-10]. https://arxiv.org/abs/1610.03295. DOI: 10.48550/arXiv.1610.03295.
    [5] CHAR D S, SHAH N H, MAGNUS D. Implementing machine learning in health care—addressing ethical challenges [J]. The New England Journal of Medicine, 2018, 378(11): 981–983. DOI: 10.1056/NEJMp1714229.
    [6] LIN W Y, HU Y H, TSAI C F. Machine learning in financial crisis prediction: a survey [J]. IEEE Transactions on Systems, Man, and Cybernetics, Part C (Applications and Reviews), 2012, 42(4): 421–436. DOI: 10.1109/TSMCC.2011.2170420.
    [7] LIPSON H, POLLACK J B. Automatic design and manufacture of robotic lifeforms [J]. Nature, 2000, 406(6799): 974–978. DOI: 10.1038/35023115.
    [8] BERRAL J L, GOIRI Í, NOU R, et al. Towards energy-aware scheduling in data centers using machine learning [C]//Proceedings of the 1st International Conference on Energy-Efficient Computing and Networking. Passau: ACM, 2010: 215–224. DOI: 10.1145/1791314.1791349.
    [9] ENGEL A, VAN DEN BROECK C. Statistical mechanics of learning [M]. Cambridge: Cambridge University Press, 2001.
    [10] CARLEO G, TROYER M. Solving the quantum many-body problem with artificial neural networks [J]. Science, 2017, 355(6325): 602–606. DOI: 10.1126/science.aag2302.
    [11] SCHAFER N P, KIM B L, ZHENG W H, et al. Learning to fold proteins using energy landscape theory [J]. Israel Journal of Chemistry, 2014, 54(8/9): 1311–1337. DOI: 10.1002/ijch.201300145.
    [12] VANDERPLAS J, CONNOLLY A J, IVEZIĆ Ž, et al. Introduction to astroML: machine learning for astrophysics [C]//Proceedings of 2012 Conference on Intelligent Data Understanding. Boulder: IEEE, 2012: 47–54. DOI: 10.1109/CIDU.2012.6382200.
    [13] BLASCHKE D N, NGUYEN T, NITOL M, et al. Machine learning based approach to predict ductile damage model parameters for polycrystalline metals [J]. Computational Materials Science, 2023, 229: 112382. DOI: 10.1016/j.commatsci.2023.112382.
    [14] FERNÁNDEZ-GODINO M G, PANDA N, O’MALLEY D, et al. Accelerating high-strain continuum-scale brittle fracture simulations with machine learning [J]. Computational Materials Science, 2021, 186: 109959. DOI: 10.1016/j.commatsci.2020.109959.
    [15] 杨寓翔, 李炜, 申建民, 等. 机器学习在相变中的应用 [J]. 中国科学: 物理学 力学 天文学, 2023, 53(9): 290011. DOI: 10.1360/SSPMA-2023-0130.

    YANG Y X, LI W, SHEN J M, et al. Machine learning applications in phase transitions [J]. Scientia Sinica Physica, Mechanica & Astronomica, 2023, 53(9): 290011. DOI: 10.1360/SSPMA-2023-0130.
    [16] 刘泮宏. 基于机器学习的湍流建模应用研究 [D]. 哈尔滨: 哈尔滨工业大学, 2021. DOI: 10.27061/d.cnki.ghgdu.2021.001683.

    LIU P H. Application of turbulence modeling based on machine learning [D]. Harbin: Harbin Institute of Technology, 2021. DOI: 10.27061/d.cnki.ghgdu.2021.001683.
    [17] 刘永泽. 水下爆炸载荷下板架结构毁伤特性的机器学习方法及应用研究 [D]. 哈尔滨: 哈尔滨工程大学, 2022. DOI: 10.27060/d.cnki.ghbcu.2022.001951.

    LIU Y Z. Research on the machine learning method and its application in damage assessment of plate frame subjected to underwater explosion [D]. Harbin: Harbin Engineering University, 2022. DOI: 10.27060/d.cnki.ghbcu.2022.001951.
    [18] 张筱迪. 混凝土楼板火灾及冲击作用下力学性能数值仿真研究 [D]. 抚顺: 辽宁石油化工大学, 2021. DOI: 10.27023/d.cnki.gfssc.2021.000186.

    ZHANG X D. Numerical simulation study on mechanical properties of concrete floor under fire and impact [D]. Fushun: Liaoning Shihua University, 2021. DOI: 10.27023/d.cnki.gfssc.2021.000186.
    [19] BROYDEN C G. The convergence of a class of double-rank minimization algorithms: 2. the new algorithm [J]. IMA Journal of Applied Mathematics, 1970, 6(3): 222–231. DOI: 10.1093/imamat/6.3.222.
    [20] FLETCHER R. A new approach to variable metric algorithms [J]. The Computer Journal, 1970, 13(3): 317–322. DOI: 10.1093/comjnl/13.3.317.
    [21] GOLDFARB D. A family of variable-metric methods derived by variational means [J]. Mathematics of Computation, 1970, 24(109): 23–26. DOI: 10.1090/S0025-5718-1970-0258249-6.
    [22] SHANNO D F. Conditioning of quasi-Newton methods for function minimization [J]. Mathematics of Computation, 1970, 24(111): 647–650. DOI: 10.2307/2004840.
    [23] KINGMA D P, BA L J. Adam: a method for stochastic optimization [C]//Proceedings of International Conference on Learning Representations. Ithaca: ICLR, 2015.
    [24] 宁建国, 王成, 马天宝. 爆炸与冲击动力学 [M]. 北京: 国防工业出版社, 2010: 347–364.

    NING J G, WANG C, MA T B. Explosion and shock dynamics [M]. Beijing: National Defense Industry Press, 2010: 347–364.
    [25] 童石磊. 多介质界面改进数值模拟方法研究 [D]. 绵阳: 中国工程物理研究院, 2016.

    TONG S L. Numerical simulation method of multi-media interface [D]. Mianyang: China Academy of Engineering Physics, 2016.
  • 加载中
图(15) / 表(4)
计量
  • 文章访问数:  165
  • HTML全文浏览量:  21
  • PDF下载量:  64
  • 被引次数: 0
出版历程
  • 收稿日期:  2024-04-10
  • 修回日期:  2024-08-15
  • 网络出版日期:  2024-08-16

目录

    /

    返回文章
    返回