基于UWB+LoRa的井下精确定位系统终端固件升级方法

    Firmware upgrade method for underground precise positioning system terminal based on UWB + LoRa

    • 摘要: 针对煤矿井下定位系统在固件无线升级环节面临升级效率与服务可靠性的双重瓶颈,提出了一种基于超宽带(UWB)与远距离低功耗无线通信技术(LoRa)协同传输的终端固件双模冗余升级架构。该架构将UWB的厘米级高精度定位能力与LoRa的广域通信覆盖特性有机融合,构建了具备空间自适应特性的异构网络体系。在通信策略方面,设计了动态双模协同机制:在终端稀疏区,系统采用UWB技术对定位信号与固件升级信道进行时分复用,既满足了精确定位需求,又实现了点对点固件传输;在终端密集区,启用双模分工机制,由UWB持续提供实时定位服务的同时,借助LoRa独立信道进行并行广播式固件分发,从而显著提升了多终端升级效率。为保证系统在复杂井下环境中的安全运行,引入了三重防护体系:①结合非对称加密(RSA)与对称加密(AES)构建了分级密钥管理体系,实现了固件传输环节的全链路加密防护,有效防范数据泄露和篡改;②基于空间分布特征设计了自适应固件获取机制,在终端稀疏区支持终端主动发起固件请求,在终端密集区则由基站主动广播升级包,并以此机制为基础实现了固件断点续传功能,提高了传输的可靠性;③采用双分区固件升级策略,通过Bootloader层对固件升级包执行CRC−32循环冗余校验与SHA−256哈希双重完整性验证,确保升级失败时能自动回滚至备分区的稳定版本。试验结果表明,无论在终端稀疏区还是终端密集区,该系统的最大定位误差均控制在30 cm以内,固件升级成功率达到100%,充分验证了该双模冗余升级架构在精准定位、升级效率、安全可靠性等方面的综合优势。

       

      Abstract: To address the dual challenges of upgrade efficiency and service reliability in wireless firmware updates for underground coal mine positioning systems, this study proposes a dual-mode redundant upgrade architecture based on coordinated transmission of ultra-wideband (UWB) and long range low-power wireless communication technology (LoRa). The architecture organically integrates centimeter-level high-precision positioning capability of UWB with wide-area communication coverage of LoRa, thereby establishing a heterogeneous network system with spatial self-adaptation. In communication strategy design, a dynamic dual-mode coordination mechanism is developed. In sparsely distributed terminal areas, the system employs UWB technology for time-division multiplexing of positioning signals and firmware upgrade channels, which simultaneously meets precise positioning requirements and enables point-to-point firmware transmission; in terminal-dense areas, a dual-mode division-of-labor mechanism is enabled, while UWB continuously provides real-time positioning services, independent channels of LoRa are used for parallel broadcast-style firmware distribution, thereby significantly enhancing the efficiency of multi-terminal upgrades. To ensure secure operation in complex underground environments, a triple-layer protection system is implemented. First, a hierarchical key management system combining RSA asymmetric encryption and AES symmetric encryption establishes peer-to-peer encryption for firmware transmission, effectively preventing data leakage and tampering. Second, an adaptive firmware acquisition mechanism based on spatial distribution characteristics enables terminals in sparse areas to actively initiate firmware requests while base stations proactively broadcast upgrade packages in dense areas, incorporating firmware breakpoint resume functionality to enhance transmission reliability. Third, a dual-partition firmware upgrade strategy performs CRC-32 cyclic redundancy checks and SHA-256 Hash verification at the Bootloader layer, ensuring automatic rollback to stable backup partition versions upon upgrade failures. Experimental results demonstrate that the system maintains the maximum positioning error below 30 cm regardless of whether in the sparse area or the dense area of the terminals, achieving 100% firmware upgrade success rate. This fully validates the comprehensive advantages of the dual-mode redundant architecture in precision positioning, upgrade efficiency, and operational reliability.

       

    /

    返回文章
    返回