Firmware Updates over the Air via LoRa: Unicast and Broadcast Combination for Boosting Update Speed

Author:

Malumbres Victor1ORCID,Saldana Jose1ORCID,Berné Gonzalo1ORCID,Modrego Julio2

Affiliation:

1. CIRCE Technology Center, Avenida Ranillas, 50018 Zaragoza, Spain

2. Airfal International, C. Río Ésera, 5, Villanueva de Gállego, 50830 Zaragoza, Spain

Abstract

The capacity to update firmware is a vital component in the lifecycle of Internet of Things (IoT) devices, even those with restricted hardware resources. This paper explores the best way to wirelessly (Over The Air, OTA) update low-end IoT nodes with difficult access, combining the use of unicast and broadcast communications. The devices under consideration correspond to a recent industrial IoT project that focuses on the installation of intelligent lighting systems within ATEX (potentially explosive atmospheres) zones, connected via LoRa to a gateway. As energy consumption is not limited in this use case, the main figure of merit is the total time required for updating a project. Therefore, the objective is to deliver all the fragments of the firmware to each and all the nodes in a safe way, in the least amount of time. Three different methods, combining unicast and broadcast transmissions in different ways, are explored analytically, with the aim of obtaining the expected update time. The methods are also tested via extensive simulations, modifying different parameters such as the size of the scenario, the number of bytes of each firmware chunk, the number of nodes, and the number of initial broadcast rounds. The simulations show that the update time of a project can be significant, considering the limitations posed by regulations, in terms of the percentage of airtime consumption. However, significant time reductions can be achieved by using the proper method: in some cases, when the number of nodes is high, the update time can be reduced by two orders of magnitude if the correct method is chosen. Moreover, one of the proposed methods is implemented using actual hardware. This real implementation is used to perform firmware update experiments in a lab environment. Overall, the article illustrates the advantage of broadcast approaches in this kind of technology, in which the transmission rate is constant despite the distance between the gateway and the node. However, the advantage of these broadcast methods with respect to the unicast one could be mitigated if the nodes do not run exactly the same firmware version, since the control of the broadcast update would be more difficult and the total update time would increase.

Funder

Arquitectura inteligente para control de luminarias

FONDO EUROPEO DE DESARROLLO REGIONAL

Ministerio de Ciencia e Innovación

CDTI

FEDER

Government of Spain

Government of Aragon

Publisher

MDPI AG

Reference39 articles.

1. A Review of Low-End, Middle-End, and High-End Iot Devices;Ojo;IEEE Access,2018

2. Moran, B., Brown, D., Meriac, M., and Tschofenig, H. (2024, March 06). A Firmware Update Architecture for Internet of Things. Request for Comments 9019. Available online: https://www.rfc-editor.org/rfc/rfc9019.

3. (2023, December 05). DALI Alliance, Introducing DALI. Available online: https://www.dali-alliance.org/dali/.

4. (2024, January 10). Microchip, MiWi Software Design Guide. Available online: https://ww1.microchip.com/downloads/en/DeviceDoc/MiWi-Software-Design-Guide-User-Guide-DS50002851B.pdf.

5. (2023, December 05). Microchip, Enable Easy to Use P2P Protocol for Long-Range & Low Power Applications on SAM R34 LoRa Technology ICs and WLR089U0 Module. Available online: https://github.com/MicrochipTech/atsamr34_long_range_p2p.

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3