LoRaWAN street lamp controller, communication system and communication method
By introducing a switching mechanism between the STM32WLE5CC chip and the LoRa RF module in the LoRaWAN street light controller, communication between the LoRaWAN device and the local controller is realized, solving the problems of high communication cost and high design complexity in the existing technology, and improving the local maintenance capability of the device.
Patent Information
- Application Number
- CN202511834973.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-08
- Publication Date
- 2026-03-17
AI Technical Summary
Existing LoRaWAN street light controllers cannot communicate directly with local controllers, making it difficult to diagnose device operation status and adjust parameters when network coverage is poor or gateway failures occur. Furthermore, existing solutions increase hardware costs and design complexity.
The STM32WLE5CC chip is used as the main control unit. Combined with the LoRa RF module, it switches between LoRaWAN communication mode and local communication mode. It listens for local controller access requests through FSK mode to achieve local communication, and maintains remote communication compatibility in Class C mode.
Without adding extra chips, communication costs and design complexity are reduced, communication with local controllers is achieved, local maintenance capabilities of the device are improved, and status diagnosis and parameter modification are ensured in the event of insufficient gateway coverage or failure.
Smart Images

Figure CN121692504A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The application belongs to the technical field of Internet of Things communication, and particularly relates to a LoRaWAN street lamp controller, a communication system and a communication method. BACKGROUND
[0002] The rapid development of Internet of Things (IoT) has driven the application of various low-power wide-area network (LPWAN) technologies. As a typical low-power and long-distance communication protocol, LoRaWAN has been widely used in smart water meters, gas meters, smart electricity meters, street lamp control, environmental monitoring and other scenarios. For example, a LoRaWAN street lamp controller usually relies on a LoRaWAN gateway to access a network server to realize remote data collection and control. However, in actual application, the LoRaWAN street lamp controller generally has the following problems: First, most of the existing LoRaWAN street lamp controllers only support communication with the network server through the gateway and do not have the ability to directly communicate with the local controller. When the device is in an area with poor network coverage or the gateway fails, the operation and maintenance personnel often cannot interact with the device directly on site, resulting in great difficulty in diagnosing the running state of the device and adjusting the parameters. Second, in order to realize local maintenance of the device, some existing solutions additionally integrate short-distance communication chips such as Bluetooth and Wi-Fi in the LoRaWAN street lamp controller, and establish a connection between the local controller and these modules. Although this kind of solution can realize local communication, it inevitably increases the hardware cost and design complexity, and also brings an additional power consumption burden, which is not conducive to long-term operation in low-power scenarios.
[0003] The patent with publication number CN220896845U provides a temperature and humidity wireless sensor based on LoRaWAN communication technology, which includes a power supply circuit, a Bluetooth chip, a LoRaWAN chip circuit, a radio frequency switch circuit, a key circuit, a first indicator light circuit, a second indicator light circuit, a buzzer circuit, a storage circuit, and a temperature and humidity sensor circuit. The LoRaWAN temperature and humidity wireless sensor in this patent integrates a Bluetooth chip, which has a large communication cost and high design complexity, and has the same disadvantages as the existing technology.
[0004] Therefore, how to realize communication between the LoRaWAN street lamp device and the local controller using the existing LoRaWAN chip without adding additional chips, which can not only guarantee the remote communication function of the LoRaWAN street lamp device, but also provide on-site diagnosis and parameter maintenance capability, reduce communication cost and design complexity, is a problem that needs to be solved by personnel in this technical field. SUMMARY
[0005] To address the shortcomings of existing technologies, the purpose of this invention is to provide a LoRaWAN street light controller, which solves the problems of existing LoRaWAN street light devices lacking the ability to communicate with a local controller, resulting in high communication costs and complex designs. In addition, this invention also provides a LoRaWAN communication system and communication method.
[0006] To solve the above-mentioned technical problems, the present invention adopts the following technical solution:
[0007] In a first aspect, the present invention provides a LoRaWAN street light controller, comprising:
[0008] The main control unit is used to run the LoRaWAN protocol stack and local controller communication protocol, control the switching of the LoRa radio module between LoRaWAN communication mode and local communication mode, and manage the external acquisition unit, execution unit and storage unit.
[0009] The power metering unit is used to collect electrical parameters during the operation of the streetlights and upload the collected data to the main control unit.
[0010] The power supply and power management unit is used to convert AC mains power into DC power to provide the main power supply of the system, and to convert the main power supply into low-voltage DC power required by the circuit.
[0011] The sensing and positioning unit is used to collect environmental parameters and provide device location information and time synchronization functions.
[0012] The control and execution unit is used to control the power supply of the streetlights and adjust the brightness level of the streetlights according to commands issued by the gateway or instructions from the local controller.
[0013] The storage unit is used to store device operating parameters, historical logs, authentication keys, and firmware programs, and supports power-off data retention and firmware updates.
[0014] The communication mechanism unit is used to communicate remotely with the LoRaWAN gateway via an external antenna and to receive access requests from the local controller.
[0015] Furthermore, the power supply management unit includes an AC-DC conversion module, a DC-DC conversion module, and a supercapacitor. The AC-DC conversion module is communicatively connected to the DC-DC conversion module, the DC-DC conversion module is communicatively connected to the main control unit and the power metering unit, and the supercapacitor is communicatively connected to the power metering unit.
[0016] Furthermore, the sensing and positioning unit includes a sensor and a GPS module. The sensor includes a light sensor and a temperature sensor. The sensor and the GPS module are respectively communicatively connected to the main control unit.
[0017] Furthermore, the control and execution unit includes a relay and a dimmer, the relay being communicatively connected to the power metering unit, and the dimmer being communicatively connected to the main control unit.
[0018] Furthermore, the storage unit includes Flash and EEPROM, with the Flash communicating with the main control unit and the EEPROM communicating with the power metering unit.
[0019] Furthermore, the communication mechanism unit is a LoRa radio frequency module, which is built into the STM32WLE5CC chip of the main control unit.
[0020] Furthermore, the main control unit uses an STM32WLE5CC chip, and the power metering unit uses an RN8213 chip.
[0021] Secondly, the present invention also provides a LoRaWAN communication system, comprising:
[0022] The LoRaWAN street light controller, master server, LoRaWAN gateway, and controller unit are as described above; the master server is communicatively connected to the LoRaWAN gateway, the LoRaWAN gateway is communicatively connected to the LoRaWAN street light controller, and the LoRaWAN street light controller is communicatively connected to the controller unit.
[0023] Furthermore, the controller unit incorporates an FSK module, a Bluetooth module, a power supply battery, and an external antenna. The Bluetooth module is used for client terminal connection, and the FSK module is used for communication with the LoRa street light controller.
[0024] Thirdly, the present invention also provides a communication method for a LoRaWAN communication system, comprising the following steps:
[0025] S10. Device startup phase: The LoRaWAN street light controller is powered on, the STM32WLE5CC chip is initialized, firmware and configuration parameters are loaded, the LoRa RF module enters LoRaWAN Class C mode, and the normal receiving window is opened.
[0026] S20, LoRaWAN regular communication phase: The LoRaWAN street light controller periodically reports the street light status to the gateway, listens for downlink commands from the gateway in real time and executes control instructions. When the network connection is abnormal, it periodically switches to FSK mode to listen for local controller entry within a specified time.
[0027] S30, Local controller access detection phase: The local controller sends an access request frame at close range. The LoRaWAN street light controller detects whether there is a controller signal in the Class C receiving window. If no signal is detected, LoRaWAN communication is maintained. If a signal is detected, step S40 is executed.
[0028] S40, Local Communication and Authentication Phase: The LoRaWAN street light controller and the local controller perform a handshake authentication to verify the legitimacy of the local controller. If the authentication is successful, the local communication mode is entered. If the authentication fails, access is rejected and Class C is restored, and LoRaWAN network access is attempted.
[0029] S50, Session Exit and Recovery Phase: Determine if there is a session timeout or if the local controller actively disconnects. If so, exit the local communication mode, and the LoRaWAN street light controller automatically returns to the LoRaWAN Class C normal communication state and reconnects to the gateway.
[0030] Compared with the prior art, the LoRaWAN street light controller, communication system, and communication method provided by this invention have at least the following advantages:
[0031] Existing LoRaWAN street light devices lack the ability to communicate with local controllers, resulting in high communication costs and design complexity. This invention offers a simple structure and convenient operation, utilizing only existing LoRaWAN chips. Through optimized communication mechanisms, it maintains monitoring of the controller in Class C mode, or switches to FSK for near-field discovery and session establishment according to set time slots. By reusing the same RF link and antenna, without adding any additional communication chips, it significantly reduces BOM costs and power consumption, shortens the signal link and EMC / safety certification scope, and simplifies hardware design and maintenance, while maintaining full compatibility with standard LoRaWAN networks and not affecting routine remote communication with the gateway. Furthermore, this invention introduces local access handshake and access control, ensuring that only authorized controllers can initiate maintenance operations. When gateway coverage is insufficient or malfunctions, maintenance personnel can access the device locally to perform status diagnosis, parameter reading / modification, and fault handling, thereby transforming "single-channel remote dependency" into "remote + local dual-channel redundancy." Therefore, without adding other chip hardware, this invention utilizes existing LoRaWAN chips and optimizes the communication mechanism to enable LoRaWAN devices to communicate normally with the LoRaWAN gateway while also communicating with the controller. This greatly improves the local maintenance capabilities of LoRaWAN devices. In cases where LoRaWAN devices cannot communicate normally with the gateway, the controller can connect to the LoRaWAN device to perform operational status diagnosis and read and modify various parameters. This solves the problems of existing LoRaWAN street light devices lacking the ability to communicate with local controllers, resulting in high communication costs and high design complexity. Attached Figure Description
[0032] To more clearly illustrate the solution of the present invention, a brief introduction will be given to the drawings used in the description of the embodiments below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0033] Figure 1 A structural block diagram of a LoRaWAN street light controller provided in an embodiment of the present invention;
[0034] Figure 2 A structural block diagram of a LoRaWAN communication system provided in an embodiment of the present invention;
[0035] Figure 3 This is a flowchart of a LoRaWAN communication method provided in an embodiment of the present invention. Detailed Implementation
[0036] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art. The terminology used in this specification is for the purpose of describing particular embodiments only and is not intended to limit the invention. For example, terms such as “length,” “width,” “upper,” “lower,” “left,” “right,” “front,” “rear,” “vertical,” “horizontal,” “top,” “bottom,” “inner,” and “outer” indicate orientations or positions based on the accompanying drawings and are for ease of description only, and should not be construed as limiting the technical solution. The terms “comprising” and “having,” and any variations thereof, in the specification, claims, and accompanying drawings of this invention, are intended to cover non-exclusive inclusion. The terms “first,” “second,” etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish different objects and not to describe a particular order. In the specification, claims, and accompanying drawings of this invention, when an element is referred to as “fixed to,” “mounted to,” “set on,” or “connected to” another element, it may be directly or indirectly located on that other element. For example, when an element is referred to as “connected to” another element, it may be directly or indirectly connected to that other element. Furthermore, the reference to "embodiment" herein means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of the invention. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.
[0037] This invention provides a LoRaWAN street light controller, applied in the field of Internet of Things (IoT) communication for street light controllers. The LoRaWAN street light controller includes:
[0038] The main control unit runs the LoRaWAN protocol stack and local controller communication protocol, controls the switching of the LoRa RF module between LoRaWAN communication mode and local communication mode, and manages the external acquisition unit, execution unit, and storage unit. The power metering unit collects electrical parameters during street light operation and uploads the collected data to the main control unit. The power supply and management unit converts AC mains power to DC power to provide the system's main power and converts the main power to the low-voltage DC power required by the circuit. The sensing and positioning unit collects environmental parameters, providing device location information and time synchronization. The control and execution unit controls the on / off of street light power and adjusts the street light brightness level according to commands issued by the gateway or instructions from the local controller. The storage unit stores device operating parameters, historical logs, authentication keys, and firmware programs, supporting power-off retention and firmware updates. The communication mechanism unit communicates remotely with the LoRaWAN gateway via an external antenna and receives access requests from the local controller.
[0039] This invention, without adding other chip hardware, utilizes existing LoRaWAN chips and optimizes the communication mechanism to enable LoRaWAN devices to communicate normally with LoRaWAN gateways and also with controllers. This greatly improves the local maintenance capabilities of LoRaWAN devices and solves the problems of existing LoRaWAN street light devices lacking the ability to communicate with local controllers, resulting in high communication costs and high design complexity.
[0040] To enable those skilled in the art to better understand the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings.
[0041] This invention provides a LoRaWAN street light controller, applied in the communication process of street light controllers in the field of Internet of Things (IoT) communication, such as... Figure 1 As shown, in this embodiment, the LoRaWAN street light controller includes:
[0042] The main control unit, preferably an STM32WLE5CC chip, is used as the core processor of the system to run the LoRaWAN protocol stack and the local controller communication protocol, control the switching of the radio frequency module between LoRaWAN communication mode and local communication mode, and manage the external acquisition unit, execution unit and storage unit.
[0043] The power metering unit, preferably using the RN8213 chip, is used to collect electrical parameters such as voltage, current, and active power during the operation of the street light, and upload the collected data to the main control unit for remote monitoring or local controller diagnostics.
[0044] The power supply and management unit includes: an AC-DC conversion module for converting AC mains power (L / N) to DC power to provide the system's main power; a DC-DC conversion module for further converting the main power to low-voltage DC power suitable for circuits such as the MCU and sensors; and a supercapacitor (Supcap) for maintaining critical system data and basic operation during short-term power outages, improving device reliability. The AC-DC conversion module and the DC-DC conversion module are communicatively connected, the DC-DC conversion module is communicatively connected to the main control unit and the power metering unit, and the supercapacitor is communicatively connected to the power metering unit.
[0045] The sensing and positioning unit includes: sensors, such as light sensors and temperature sensors, used to collect environmental parameters to assist the main control unit in intelligent control; and a GPS module to provide device location information and time synchronization functions for easy operation and maintenance management. Both the sensors and the GPS module are communicatively connected to the main control unit.
[0046] The control and execution unit includes: a relay, controlled by the main control unit, to control the power supply to the streetlights; and a dimmer, used to adjust the brightness level of the streetlights according to commands issued by the gateway or instructions from the local controller. The relay is communicatively connected to the energy metering unit, and the dimmer is communicatively connected to the main control unit.
[0047] The storage unit, including Flash and EEPROM, is used to store device operating parameters, historical logs, authentication keys, and firmware programs, supporting power-off retention and firmware updates. The Flash is communicatively connected to the main control unit, and the EEPROM is communicatively connected to the power metering unit.
[0048] The communication mechanism unit, relying on the LoRa RF module built into the STM32WLE5CC chip, communicates remotely with the LoRaWAN gateway via an external antenna, and can also receive access requests from local controllers. In Class C mode, this communication mechanism keeps the receive window always open, thus ensuring both remote gateway control and allowing on-site maintenance personnel to interact directly with the device via the controller.
[0049] This invention also provides a LoRaWAN communication system, including: the LoRaWAN street light controller, master server, LoRaWAN gateway, and controller described in the above embodiments; the master server is communicatively connected to the LoRaWAN gateway, the LoRaWAN gateway is communicatively connected to the LoRaWAN street light controller, and the LoRaWAN street light controller is communicatively connected to the controller.
[0050] Furthermore, in this embodiment, the controller unit has a built-in FSK module, Bluetooth module, power supply battery, and external antenna. It connects to the customer's mobile phone via Bluetooth. The APP on the customer's mobile phone initiates the search and authentication with the street light controller, and then initiates communication with the LoRaWAN street light controller through the FSK module to complete data interaction.
[0051] This invention also provides a LoRaWAN communication method, comprising the following steps:
[0052] S10. Device startup phase: The LoRaWAN street light controller is powered on, the STM32WLE5CC chip is initialized, firmware and configuration parameters are loaded, the LoRa RF module enters LoRaWAN Class C mode, and the normal receiving window is opened.
[0053] S20, LoRaWAN regular communication phase: The LoRaWAN street light controller periodically reports the street light status (current, voltage, power, etc.) to the gateway, listens for downlink commands from the gateway in real time and executes control commands such as turning on the lights and adjusting the brightness. When the network connection is normal, it maintains LoRaWAN module mode. If the network connection is abnormal, it periodically switches to FSK mode to listen for local controller entry within a specified time.
[0054] S30, Local controller access detection phase: The local controller sends an access request frame at close range. The LoRaWAN street light controller detects whether there is a controller signal in the Class C receiving window. If no signal is detected, LoRaWAN communication is maintained. If a signal is detected, step S40 is executed.
[0055] S40, Local Communication and Authentication Phase: The LoRaWAN street light controller and the local controller perform a handshake authentication to verify the legitimacy of the local controller. If the authentication is successful, the local communication mode is entered. If the authentication fails, access is rejected and Class C is restored. The LoRaWAN controller attempts to join the network. The local controller sends read / modify commands (such as status query and parameter setting) to the LoRaWAN street light controller. The LoRaWAN street light controller parses the commands and returns response data.
[0056] S50, Session Exit and Recovery Phase: Determine if there is a session timeout or if the local controller actively disconnects. If so, exit the local communication mode, and the LoRaWAN street light controller automatically returns to the LoRaWAN Class C normal communication state and reconnects to the gateway.
[0057] Example 1
[0058] The LoRaWAN street light controller below uses the STM32WLE5CC chip as its core. Normally, it is in LoRaWAN Class C mode and continuously receives downlink messages from the gateway. While maintaining regular LoRaWAN communication, the controller switches radio frequency parameters through a timing strategy, so that the radio frequency transceiver enters the FSK fixed frequency receiving mode at a preset time slice to listen for access requests from the local controller.
[0059] Workflow:
[0060] Scheduled switching strategy:
[0061] The MCU internally sets a timer, for example, to trigger a switch every 30 seconds.
[0062] Each time the switch occurs, the RF module (SX126x is built into the STM32WLE5CC) switches from LoRaWAN receive parameters to FSK mode and is fixed at a predefined frequency (e.g., 868.950MHz). The fixed frequency + FSK short frames are used as the "local maintenance channel" to avoid conflicts with LoRaWAN downlink.
[0063] FSK listener window:
[0064] At this frequency, the device remains in a receiving state for 200ms to capture the access request frame from the controller.
[0065] If no valid request is detected, the device immediately switches back to LoRaWAN Class C mode after the listening window ends to continue communication with the gateway.
[0066] Controller access:
[0067] When the controller approaches the device, it sends an access request in FSK format on the corresponding fixed frequency.
[0068] After receiving a frame, the device enters the receiving processing flow (parsing the frame header and determining whether it is a request from a local controller), which typically takes 20–100ms. Once received in the listening window, the device immediately responds with a handshake signal and establishes a local communication session.
[0069] Local communication process:
[0070] After entering local maintenance mode, the device can continue to communicate with the controller in FSK mode to complete parameter reading, modification and status diagnosis.
[0071] During maintenance sessions, the device will temporarily suspend LoRaWAN downlink reception to ensure real-time and stable communication with the controller.
[0072] Ending and resuming a session:
[0073] When the controller issues a session termination command or maintenance times out, the device automatically exits FSK mode, reconfigures to LoRaWAN Class C mode, and resumes communication with the gateway.
[0074] Compared with existing technologies, the LoRaWAN street light controller, communication system, and communication method described in the above embodiments have advantages. Existing LoRaWAN street light devices lack the ability to communicate with a local controller, resulting in higher communication costs and greater design complexity. This invention features a simple structure and convenient operation. It utilizes only existing LoRaWAN chips and optimizes the communication mechanism to maintain monitoring of the controller in Class C mode, or switches to FSK for near-field discovery and session establishment according to set time slots. Because it reuses the same RF link and antenna, it does not add any additional communication chips, thus significantly reducing BOM costs and power consumption, shortening the signal link and EMC / safety certification range, and making hardware design and maintenance simpler and more reliable. It also maintains full compatibility with standard LoRaWAN networks and does not affect routine remote communication with the gateway. Furthermore, this invention introduces local access handshake and access control to ensure that only authorized controllers can initiate maintenance operations. When gateway coverage is insufficient or faulty, maintenance personnel can access the device locally to complete status diagnosis, parameter reading / modification, and fault handling, thereby transforming "single-channel remote dependence" into "remote + local dual-channel redundancy." Therefore, without adding other chip hardware, this invention utilizes existing LoRaWAN chips and optimizes the communication mechanism to enable LoRaWAN devices to communicate normally with the LoRaWAN gateway while also communicating with the controller. This greatly improves the local maintenance capabilities of LoRaWAN devices. In cases where LoRaWAN devices cannot communicate normally with the gateway, the controller can connect to the LoRaWAN device to perform operational status diagnosis and read and modify various parameters. This solves the problems of existing LoRaWAN street light devices lacking the ability to communicate with local controllers, resulting in high communication costs and high design complexity.
[0075] Obviously, the embodiments described above are merely preferred embodiments of the present invention, and not all embodiments. The accompanying drawings illustrate preferred embodiments of the present invention, but do not limit the scope of the patent. The present invention can be implemented in many different forms; rather, these embodiments are provided to provide a more thorough and complete understanding of the disclosure of the present invention. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art can still modify the technical solutions described in the foregoing specific embodiments, or make equivalent substitutions for some of the technical features. Any equivalent structures made using the content of this specification and drawings, directly or indirectly applied to other related technical fields, are similarly within the scope of patent protection of this invention.
Claims
1. A LoRaWAN streetlight controller, characterized in that, It comprises: a master control unit for running a LoRaWAN protocol stack and a local operator communication protocol, controlling the switching of a LoRa radio frequency module between a LoRaWAN communication mode and a local communication mode, and managing an external acquisition unit, an execution unit and a storage unit; an electric energy metering unit for acquiring electric parameters in the operation process of street lamps and uploading the acquired data to the master control unit; a power supply and power management unit for converting AC power into DC power, providing a system main power supply, and converting the main power supply into low-voltage DC power required by the circuit; a sensing and positioning unit for acquiring environmental parameters, providing device location information and time synchronization function; a control and execution unit for controlling the on-off of street lamp power supply and adjusting the brightness level of street lamps according to the commands issued by the gateway or the instructions of the local operator; a storage unit for storing device operation parameters, historical logs, authentication keys and firmware programs, supporting power failure saving and firmware updating; a communication mechanism unit for remote communication with the LoRaWAN gateway through an external antenna and receiving the access request of the local operator.
2. The LoRaWAN streetlight controller of claim 1, wherein, The power supply and power management unit comprises an AC-DC conversion module, a DC-DC conversion module and a super capacitor, the AC-DC conversion module is in communication connection with the DC-DC conversion module, the DC-DC conversion module is in communication connection with the master control unit and the electric energy metering unit respectively, and the super capacitor is in communication connection with the electric energy metering unit.
3. The LoRaWAN streetlight controller of claim 1, wherein, The sensing and positioning unit comprises a sensor and a GPS module, the sensor comprises an illumination sensor and a temperature sensor, and the sensor and the GPS module are in communication connection with the master control unit respectively.
4. The LoRaWAN streetlight controller of claim 1, wherein, The control and execution unit comprises a relay and a dimmer, the relay is in communication connection with the electric energy metering unit, and the dimmer is in communication connection with the master control unit.
5. The LoRaWAN streetlight controller of claim 1, wherein, The storage unit comprises a Flash and an EEPROM, the Flash is in communication connection with the master control unit and the electric energy metering unit respectively, and the EEPROM is in communication connection with the electric energy metering unit.
6. The LoRaWAN streetlight controller of claim 1, wherein, The communication mechanism unit is a LoRa radio frequency module, which is built in an STM32WLE5CC chip of the master control unit.
7. The LoRaWAN streetlight controller of claim 1, wherein, The chip of the master control unit adopts STM32WLE5CC, and the chip of the electric energy metering unit adopts RN8213.
8. A LoRaWAN communication system, characterized in that, It comprises: the LoRaWAN street lamp controller, the master station server, the LoRaWAN gateway and the operator unit according to any one of claims 1 to 7, the master station server is in communication connection with the LoRaWAN gateway, the LoRaWAN gateway is in communication connection with the LoRaWAN street lamp controller, and the LoRaWAN street lamp controller is in communication connection with the operator unit.
9. The LoRaWAN communication system of claim 8, wherein, The operator unit is built in an FSK module, a Bluetooth module, a power supply battery and an external antenna, the Bluetooth module is used for client terminal connection, and the FSK module is used for communication with the LoRa street lamp controller.
10. A communication method applied to the LoRaWAN communication system of claim 9, characterized in that, It comprises the following steps: S10, device startup phase: LoRaWAN street light controller power on, STM32WLE5CC chip initialization, load firmware and configuration parameters, LoRa radio module enters LoRaWAN Class C mode, start regular receiving window; S20, LoRaWAN regular communication phase: LoRaWAN street light controller periodically reports street light status to gateway, real-time listens to gateway downlink command and executes control instruction, when network connection is abnormal, periodically switches to FSK mode to listen to local controller entrance within a specified time; S30, local controller access detection phase: local controller sends access request frame in close range, LoRaWAN street light controller detects whether there is controller signal in Class C receiving window, if not detected, continue to maintain LoRaWAN communication, if detected, execute step S40; S40, local communication and authentication phase: LoRaWAN street light controller and local controller execute handshake authentication, verify the legality of local controller, if authentication is passed, enter local communication mode, if authentication fails, refuse access and restore Class C, try LoRaWAN network access; S50, session exit and recovery phase: judge whether there is session timeout or local controller actively disconnects, if yes, exit local communication mode, LoRaWAN street light controller automatically recovers to LoRaWAN Class C regular communication state, re-enters gateway.
Citation Information
Patent Citations
Temperature and humidity wireless sensor based on LoRaWAN communication technology
CN220896845U
