| With the rapid development of China's economy,industrial production technology is also changing with each passing day,but the required industrial information acquisition technology can not meet the increasingly complex production environment.In order to realize low cost and simplify the deployment of acquisition network while collecting real-time information in the process of industrial production,and improve the efficiency of acquisition in actual production,an industrial acquisition system based on LoRa is designed in this paper.Firstly,this paper introduces the development background of industrial acquisition technology and the research status at home and abroad,and compares the wireless acquisition schemes which are widely used at present.Then,it develops the technical characteristics of LoRa step by step,and draws the conclusion that LoRa technology has great advantages in data acquisition in industrial scenarios.According to the requirement of enterprises,the technical requirement analysis and the general design structure of the system are given.Secondly,the hardware composition of the system is introduced.The system consists of three parts: terminal acquisition node module,relay device module and gateway module.Considering the factors such as the maximum power factor and cost of MCU,STM32F103VET6 chip is selected for terminal and relay acquisition node module.SX1278 chip is used for all nodes of the system,and SX1278 chip has transmission distance.With the characteristics of remote and low power consumption,the gateway needs to complete data processing,storage and uploading of nodes.Freescale I.MX28 chip is selected as the concentrator chip.Finally,the processed data is uploaded to the server by esp8266 WiFi module or Ethernet interface.In the chapter of system hardware design,the design framework of each hardware module of the system is given.Thirdly,this paper designs the software of the system and gives the general design scheme of the software.Firstly,the drawbacks of traditional LoRa star topology in industrial acquisition applications are clarified,and a new network structure is proposed.Then,the networking process and communication mode of the new topology structure are described in detail.Then,the serial communication protocol design and network communication protocol design of the system are introduced,as well as the program design idea and process of LoRa module.Finally,the transmission distance and power consumption of LoRa node module are tested in the factory environment,and the node networking transceiver and receiver are tested under the new topology structure,which proves that the new topology has networking ability and self-healing ability.Finally,whether the system can upload the collected data to the server and display the collected data on the web side is tested.The test results meet the requirements and meet the expected design objectives. |