Modern society is developing rapidly and the national economy is improving.The development of smart grids is especially valued,and power data acquisition systems are one of the important components in the development of smart grids.As more automated and networked power data collection solutions are applied to thousands of households,how to use the least power data collectors on the basis of convenient,accurate and timely reading and management of user power consumption Reading a large amount of electricity meter data,reducing costs and improving economic benefits,this paper proposes a LoRa-based high-concurrency power data acquisition system.This article first introduces the development background of LoRa application in the store data acquisition system,analyzes the current research status of power data acquisition at home and abroad and why LoRa is used for system communication.According to the relevant standards of the State Grid,the performance indicators and functions of the power data acquisition system are analyzed and the overall architecture of the high-concurrency power data acquisition program is given.At the same time,the design requirements of the high-concurrency power data acquisition program designed in this paper are proposed.Secondly,this article reads and studies a large number of domestic and foreign literatures on LoRa communication schemes,mainly including related research on LoRa relay multi-hop technology.Combining the characteristics of the application environment of power data collection,on the basis of LoRa transparent transmission,a LoRa-based relay multi-hop networking scheme is proposed,which mainly includes the design of protocol frames,relay multi-hop transmission protocol settings and multi-hop The network link is designed,and the optimal hop routing algorithm is researched and implemented,and the most suitable multi-hop algorithm is selected to be used in the power data acquisition system.On the basis of taking full advantage of LoRa’s own communication advantages,it is further improved Its communication distance and communication stability effectively reduce network loss,and then the LoRa conflict avoidance communication scheme is designed to achieve high concurrent performance.Thirdly,according to the design requirements of the LoRa-based high-concurrency power data acquisition scheme and the relevant standards of the State Grid,this paper designs the software and hardware of the meter node and the collector node in the system and gives the flow diagram of each design.And description.Among them,in the software design of the collector node,we chose to transplant the μC/OS-Ⅲ operating system into STM32 as the scheduling platform of the LoRa networking task in the collector node for multi-task scheduling,and the designed relay multi-hop The networking protocol is transplanted to each node.Finally,according to the relevant standards of the State Grid and the design requirements of the high-concurrency power data collection scheme designed in this paper,the high-concurrency power data collection system is tested and analyzed.The test content includes the effective communication distance test of LoRa,the node networking test and the overall test of the system.The overall test first tests the basic functions and high concurrency performance,and then conducts the overall high concurrency power data acquisition system test.Experiments show that this system meets our index requirements for high concurrent performance while realizing the basic functions of the power data acquisition system. |