Electric leakage protector data acquisition method and system based on LoRa technology

By automatically configuring node addresses and dynamically binding channels in the data acquisition system of the leakage current protection device using LoRa technology, the problems of complex parameter configuration and signal interference are solved, achieving efficient data acquisition and management, and improving the system's stability and response speed.

CN120416695BActive Publication Date: 2026-03-31SHANGHAI HOLYSTAR INFORMATION TECH
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-04-23
Publication Date
2026-03-31

AI Technical Summary

Technical Problem

Existing data acquisition systems for residual current devices (RCDs) based on LoRa technology suffer from problems such as complex parameter configuration, severe signal interference, and inconvenient equipment replacement, making it difficult to achieve large-scale application.

Method used

After the residual current device (RCD) is powered on, the LoRa node module obtains the communication address and generates the node address (nodeid). The LoRa gateway module initializes the receiving channel and sends configuration commands. The LoRa node module establishes a dynamic channel binding with the gateway. The RCD uploads abnormal alarm information and performs parameter distribution and status management through the master station, realizing automated configuration and dynamic channel isolation.

Benefits of technology

It improved the accuracy of data collection and the stability of communication, enabled timely feedback of anomalies and remote centralized management and control, and improved management efficiency and response speed.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120416695B_ABST
    Figure CN120416695B_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of power equipment monitoring, and more particularly to a leakage protector data acquisition method and system based on LoRa technology, the method comprising: after the leakage protector is powered on, a LoRa node module connected thereto acquires a communication address and generates a nodeid; a LoRa gateway module initializes a receiving channel according to a preset netid, and sends a configuration instruction carrying the netid to the leakage protector; the LoRa node module initializes a sending channel according to the received netid, and establishes dynamic channel binding with the LoRa gateway module; the leakage protector uploads abnormal alarm information through the LoRa node module, and interacts with the LoRa gateway module; and a host station performs parameter issuing, debugging triggering and state management on the leakage protector through the LoRa gateway module. The present application can solve the problems of complex manual configuration, signal interference and inconvenient equipment replacement in the existing LoRa leakage protector data acquisition system, and significantly improve the reliability, versatility and deployment efficiency of the system.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of power equipment monitoring, and particularly relates to a leakage protector data acquisition method and system based on LoRa technology. BACKGROUND

[0002] The existing leakage protector data acquisition system based on LoRa technology realizes data transmission of the leakage protector and the distribution transformer terminal through LoRa wireless networking technology. In a typical architecture, the leakage protector collects data through a LoRa node module, and forwards the data to the distribution transformer terminal through a LoRa gateway module. Although the LoRa (Long Range) technology has the advantages of long distance, low power consumption and strong anti-interference, the existing system still has the following significant defects:

[0003] Firstly, the nodeid (node address) of each LoRa node module, the netid (network channel address) of the LoRa gateway module and the leakage protector address need to be manually configured and recorded one by one on site, which is easy to cause data transmission failure or mis-transmission to adjacent areas due to operation errors.

[0004] Secondly, in the prior art, the same netid needs to be used when the LoRa gateway and the LoRa node communicate, and if the LoRa gateway and the LoRa node in the physically adjacent area use the same netid, signal cross-reception will occur, causing data conflict. Although the interference can be alleviated by allocating different netids through physical spacing, it is difficult to realize dynamic adjustment because a large number of netids need to be manually managed.

[0005] In addition, when the leakage protector needs to be replaced due to failure, the LoRa node module of the new leakage protector needs to be reconfigured with nodeid and netid, which cannot realize plug and play, and limits the regional universality and replacement efficiency of the equipment.

[0006] The above problems seriously restrict the large-scale application of LoRa technology in the leakage protector data acquisition system, and an automatic parameter configuration, dynamic channel isolation and seamless equipment replacement solution is urgently needed. SUMMARY

[0007] The present application relates to the technical field of power equipment monitoring, and particularly relates to a leakage protector data acquisition method and system based on LoRa technology.

[0008] To achieve the above-mentioned purpose, in one aspect of the present application, a leakage protector data acquisition method based on LoRa technology is provided, comprising the following steps:

[0009] After the residual current device (RCD) is powered on, the LoRa node module connected to it obtains the communication address of the RCD, extracts a portion of the bytes from the communication address and performs high-low bit flipping to generate a nodeid;

[0010] The LoRa gateway module initializes the receive channel according to the preset network channel address netid and sends a configuration command carrying the network channel address netid to the leakage current protector.

[0011] The LoRa node module initializes a transmit channel based on the received network channel address netid and establishes a dynamic channel binding with the LoRa gateway module. The dynamic channel binding steps include: the LoRa gateway module initializes a receive channel based on the network channel address netid and sends the network channel address netid to the LoRa node module during the first communication; the LoRa node module initializes an uplink transmit channel based on the network channel address netid, and the LoRa gateway module dynamically switches the downlink transmit channel based on the node address nodeid.

[0012] The leakage current protector uploads abnormal alarm information through the LoRa node module and interacts with the LoRa gateway module;

[0013] The main station uses the LoRa gateway module to send parameters, trigger debugging, and manage the status of the leakage current protector.

[0014] Preferably, in the data acquisition method for the residual current device, the specific steps for generating the nodeid include:

[0015] The LoRa node module sends a communication address acquisition request to the leakage current protector;

[0016] Extract a portion of bytes from the communication address returned by the leakage current protector and perform high-low bit flipping to generate the nodeid.

[0017] Preferably, in the data acquisition method for the residual current device (RCD), the step of the RCD uploading abnormal alarm information through the LoRa node module includes:

[0018] When the leakage current protector detects an abnormality, it uploads alarm information according to the preset protocol.

[0019] If the LoRa gateway module fails to respond with confirmation within a set time, the leakage current protector will activate a repeated alarm mechanism until the maximum number of retries is reached.

[0020] Preferably, in the data acquisition method for the residual current device (RCD), the steps of the master station sending parameters, triggering debugging, and managing the status of the RCD through the LoRa gateway module include:

[0021] The master station sends a leakage protection barcode to the LoRa gateway module, and the LoRa gateway module assigns and maintains a management table for each leakage current protector based on the leakage protection barcode.

[0022] The master station sends a debugging trigger command to the LoRa gateway module, and the LoRa gateway module interacts with the corresponding leakage current protector according to the management table to collect signal strength and communication status parameters.

[0023] After successful debugging, the LoRa gateway module marks the leakage current protector as active and performs parameter distribution and real-time status monitoring based on the management table.

[0024] The LoRa gateway module starts the normal data acquisition function of the leakage current protector after a set delay to ensure network stability.

[0025] Preferably, in the data acquisition method for the residual current device, the steps of debugging triggering and status management further include:

[0026] When a new residual current device (RCD) is installed, the master station completes the association between the device and the management table by inputting the RCD barcode of the new RCD, and synchronizes the association information to the LoRa gateway module;

[0027] The LoRa gateway module matches the target LoRa node based on the synchronized leakage protection barcode and triggers the first communication to allocate the network channel address netid;

[0028] If debugging fails, the main station will re-initiate the debugging process based on the leakage protection barcode in the management table until the device comes online.

[0029] Furthermore, in another aspect of the present invention, a data acquisition system for a residual current device (RCD) based on LoRa technology is also proposed, comprising:

[0030] The LoRa node module, deployed at the residual current device (RCD), includes an address resolution unit and a channel configuration unit. The address resolution unit extracts a portion of bytes from the RCD's communication address and performs high-low bit flipping to generate a node address (nodeid). The channel configuration unit initializes the uplink transmission channel based on the received network channel address (netid) and dynamically adapts the receiving channel based on the node address (nodeid). The LoRa node module interacts with the LoRa gateway module.

[0031] The LoRa gateway module includes a channel switching unit, which is used to initialize the receiving channel according to the network channel address netid, send the network channel address netid to the LoRa node module, and dynamically adjust the downlink transmission channel according to the node address nodeid through the channel switching unit to achieve directional communication;

[0032] The main station management platform is used to send leakage protection barcodes to the LoRa gateway module, trigger the debugging process, and monitor the device status.

[0033] The leakage current protector has a built-in communication address storage unit, which is used to respond to the address request of the LoRa node module and bind communication parameters with the LoRa node module;

[0034] The LoRa gateway module assigns a management table to each residual current device (RCD) based on the RCD barcode, and performs parameter distribution, debugging commands, and status management through the management table.

[0035] Preferably, in the aforementioned residual current device (RCD) data acquisition system, the LoRa gateway module includes:

[0036] The dynamic allocation unit is used to allocate different network channel addresses (netid) to the residual current devices in different areas, and to isolate the communication channels between adjacent areas through the network channel addresses (netid).

[0037] The management table storage unit is used to store the leakage protection barcodes issued by the master station, along with the corresponding device parameters and communication status information.

[0038] Preferably, in the aforementioned residual current device (RCD) data acquisition system, the RCD further includes:

[0039] A barcode identification unit is used to store a leakage protection barcode and match it with the leakage protection barcode information sent by the master station to complete the device association;

[0040] The active alarm unit is used to trigger the upload of alarm information when an anomaly is detected. If no confirmation is received from the LoRa gateway module, a multi-level retransmission mechanism is started.

[0041] The communication status storage unit is used to record the network channel address (netid), communication address binding status, and gateway interaction log in the memory, and supports viewing the real-time status through the device panel.

[0042] Compared with the prior art, the present invention has at least the following technical effects:

[0043] This invention discloses a data acquisition method for residual current devices (RCDs) based on LoRa technology. The method involves several steps: after the RCD is powered on, the LoRa node module obtains the communication address and generates a node address (nodeid); the LoRa gateway module initializes the receive channel according to the preset network channel address (netid) and sends configuration commands; the LoRa node module initializes the transmit channel and establishes a dynamic channel binding with the LoRa gateway; the RCD uploads abnormal alarm information and interacts with the gateway; and the master station uses the LoRa gateway to send parameters, trigger debugging, and manage the status of the RCD. Compared to existing technologies, this method not only improves the accuracy of RCD data acquisition and the stability and reliability of communication, but also enables timely feedback of anomalies and remote centralized management and control, thereby improving management efficiency and response speed. Attached Figure Description

[0044] Figure 1 This is a flowchart of a data acquisition method for a residual current device based on LoRa technology in one embodiment of the present invention;

[0045] Figure 2 This is a flowchart illustrating the process of obtaining and binding the communication address between the leakage current protector and the LoRa node module in one embodiment of the present invention.

[0046] Figure 3 This is a flowchart illustrating the process of a LoRa node module reading a communication address in one embodiment of the present invention.

[0047] Figure 4 This is a flowchart illustrating the configuration process of a LoRa node module writing a netid to a leakage current protector in one embodiment of the present invention.

[0048] Figure 5 This is a flowchart of the abnormal alarm information uploading and retransmission mechanism of the leakage current protector in one embodiment of the present invention;

[0049] Figure 6 This is a flowchart of the communication between the master station and the communication adapter in one embodiment of the present invention. Detailed Implementation

[0050] The following will describe in more detail a data acquisition method and system for a residual current device (RCD) based on LoRa technology, with reference to the schematic diagrams, which illustrate preferred embodiments of the invention. It should be understood that those skilled in the art can modify the invention described herein while still achieving its advantageous effects. Therefore, the following description should be understood as being of general knowledge to those skilled in the art and is not intended to limit the invention.

[0051] For clarity, not all features of the actual embodiments are described. In the following description, well-known functions and structures are not detailed in detail, as they would obscure the invention with unnecessary detail. It should be understood that in the development of any actual embodiment, numerous implementation details must be made to achieve the developer's specific objectives, such as changes from one embodiment to another according to limitations related to the system or business. Furthermore, it should be understood that such development work may be complex and time-consuming, but is merely routine work for those skilled in the art.

[0052] The invention is described more specifically by way of example in the following paragraphs with reference to the accompanying drawings. The advantages and features of the invention will become clearer from the following description. It should be noted that the drawings are in a very simplified form and use non-precise proportions, and are only used to facilitate and clarify the illustration of the embodiments of the invention.

[0053] As mentioned in the background section, traditional LoRa-based leakage current protection device (RCD) data acquisition systems mostly focus on network optimization or single-function improvement, but fail to systematically solve the coupling problems of automated parameter configuration, signal interference suppression, and ease of device replacement. For example, parameter configuration relies on manual operation, making it difficult to adapt to large-scale deployment needs; static netid allocation causes interference between adjacent transformer areas, and a dynamic allocation mechanism is lacking; replacing devices requires repeated parameter configuration, resulting in high operation and maintenance costs.

[0054] In view of this, such as Figure 1 As shown, this invention provides a data acquisition method for residual current devices (RCDs) based on LoRa technology, comprising the following steps:

[0055] S1: After the residual current device is powered on, the LoRa node module connected to it obtains the communication address and generates the node address nodeid;

[0056] S2: The LoRa gateway module initializes the receiving channel according to the preset network channel address netid, and sends a configuration command carrying the network channel address netid to the leakage current protector;

[0057] S3: The LoRa node module initializes the transmission channel according to the received network channel address netid, and establishes a dynamic channel binding with the LoRa gateway module;

[0058] S4: The leakage current protector uploads abnormal alarm information through the LoRa node module and interacts with the LoRa gateway module;

[0059] S5: The main station uses the LoRa gateway module to send parameters, trigger debugging, and manage the status of the leakage current protector.

[0060] It should be noted that the LoRa module includes a LoRa node module and a LoRa gateway module. They work together with the residual current device (RCD), the LoRa gateway device, and the master station to complete the RCD's data acquisition and management functions. The various parts work closely together to form a complete system.

[0061] In step S1, the specific steps for generating the node address nodeid include: after the leakage current protector is powered on, the LoRa node module sends a communication address acquisition request to the leakage current protector; extracting a portion of bytes from the communication address returned by the leakage current protector and performing high-low bit flipping processing to generate the node address nodeid.

[0062] Specifically, the residual current device (RCD) integrates a LoRa node module, and the two are closely connected. For example... Figure 2 and Figure 3 As shown, after the residual current device (RCD) is powered on, the LoRa node module first actively sends a command to the RCD to read its communication address and performs the read operation. Then, it checks whether the LoRa node module has received a response from the RCD to the command to read the communication address.

[0063] If a communication address read response is received from the residual current device (RCD), the LoRa node module extracts 4 bytes from the response and flips the high and low bits to obtain a unique node address (nodeid). Then, the LoRa node module returns a successful communication address acquisition response command. After receiving this command, the RCD will mark the LoRa node module as successfully read in RAM, and the process ends.

[0064] If no response is received from the residual current device (RCD) to read the communication address, proceed to the next step. Check if the number of communication address read attempts is ≥3, i.e., check if the LoRa node module has attempted to read the communication address 3 times or more. If it has, the process ends, possibly indicating a read failure. If it has not reached 3 attempts, wait 5 seconds, and then the LoRa module will attempt to read the communication address again, returning to the "LoRa module reads communication address" step to continue attempting to read until a response is received or the maximum number of attempts is reached.

[0065] Furthermore, LoRa node modules initialize the receiving channel on different frequency bands based on their unique node addresses (nodeids), reducing wireless channel resource consumption. By processing the communication address of the residual current device (RCD) to generate a unique node address (nodeid), the uniqueness of each LoRa node module in the network is guaranteed, address conflicts are avoided, and this facilitates accurate data transmission and precise device identification.

[0066] In step S2, the LoRa gateway device embeds a LoRa gateway module. As the core control node of the entire network, the LoRa gateway module needs to complete a series of necessary initialization operations during system startup. Among these, initializing the receiving channel based on the preset network channel address (netid) is a key step. The netid serves as a unique identifier for the network, with each specific netid corresponding to an independent network channel. By initializing the receiving channel using the netid, the LoRa gateway can accurately determine the target channel for receiving data, laying the foundation for subsequent data reception.

[0067] Since LoRa node modules do not initially know their own netid, they must wait for the LoRa gateway to send them data to determine their netid. Therefore, the LoRa gateway module sends a configuration command carrying the netid to the residual current device (RCD), enabling the connected LoRa node modules to obtain the netid.

[0068] Specifically, such as Figure 4 As shown, after learning its own netid, the LoRa node module sends the netid information to the residual current device (RCD) and performs a write operation. It then checks whether the LoRa module receives a successful response from the RCD for the netid write operation. If a response is received, the netid write operation is successful, and the process ends. If no response is received, it checks whether the LoRa module has attempted to write the netid three times or more. If it has, the process ends, meaning the netid write operation failed. If it has not reached three attempts, it waits five seconds and then attempts to write the netid to the RCD again, returning to the "LoRa module writes netid to RCD" step, continuing to attempt to write until a response is received or the maximum number of attempts is reached.

[0069] Subsequently, during the initial communication between the LoRa gateway module and the LoRa node module, the LoRa gateway module sends the netid to the LoRa node module. This process is equivalent to assigning each LoRa node access credentials to a specific network channel, enabling the LoRa node module to clearly identify the network channel it should use when communicating with the LoRa gateway module, thus providing a clear communication path for subsequent data interaction.

[0070] For step S3, the dynamic channel binding steps include:

[0071] The LoRa gateway module initializes the receive channel according to the network channel address netid, and sends the network channel address netid to the LoRa node module during the first communication.

[0072] The LoRa node module initializes the uplink transmission channel according to the network channel address netid, and the LoRa gateway module dynamically switches the downlink transmission channel according to the node address nodeid.

[0073] Specifically, after receiving the netid from the LoRa gateway, the LoRa node module initializes its uplink transmission channel based on the netid. This ensures that when the LoRa node module sends data to the LoRa gateway module, it can accurately select the uplink transmission channel that matches the LoRa gateway module's initialized receive channel, thereby achieving accurate data transmission, effectively avoiding data errors or loss during transmission, and improving the reliability and accuracy of communication.

[0074] In addition to initializing the receive channel and distributing the netid, the LoRa gateway module also has the function of dynamically switching the downlink transmit channel based on the unique node address (nodeid) of each LoRa node module. The nodeid serves as a unique identifier for each LoRa node in the network, and the LoRa gateway module distinguishes different LoRa nodes by recognizing this nodeid.

[0075] In addition, the LoRa node module does not have a valid netid in its initial state. When it receives a command from the LoRa gateway module for the first time, the LoRa node module extracts the netid sent by the LoRa gateway module from the data frame and sets it as its own netid. The LoRa node module initializes the uplink transmission channel according to the netid. In subsequent communication with the LoRa gateway module, the LoRa node module will always use this netid and the corresponding channel.

[0076] It should be noted that in scenarios where multiple LoRa nodes communicate with the LoRa gateway simultaneously, to avoid downlink transmission channel conflicts, the LoRa gateway dynamically selects an appropriate downlink transmission channel based on each LoRa node's nodeid. This dynamic adjustment mechanism ensures that data sent by the LoRa gateway to each LoRa node can be accurately transmitted through a dedicated, conflict-free channel, thereby significantly improving the efficiency and stability of network communication.

[0077] For step S4, the step of the residual current device (RCD) uploading abnormal alarm information through the LoRa node module includes: when the RCD detects an abnormality, it uploads alarm information according to a preset protocol; if the LoRa gateway module does not reply with confirmation within a set time, the RCD starts a repeated alarm mechanism until the maximum number of retries is reached and the alarm state is lifted.

[0078] Specifically, such as Figure 5As shown, the residual current device (RCD) supports active alarms. The alarm is initiated by the slave device actively uploading alarm information to the master device according to the frame format specified in 8.9.1 of the "Communication Protocol for Residual Current Operated Protective Devices". When the RCD detects an anomaly, it uploads the anomaly alarm information to the LoRa gateway module through the connected LoRa node module. After receiving the active alarm message from the slave device (in this example, the RCD), the LoRa gateway module must reply with confirmation within a set time. After receiving the data uploaded by the slave device, the master device responds according to the frame format specified in 8.9.3. After receiving the master device's response, the slave device cancels the active alarm.

[0079] Furthermore, if the LoRa gateway module fails to respond with confirmation within the set time, it indicates a potential problem with the transmission of alarm information, posing a risk of information loss or communication failure. To ensure successful reception and processing of alarm information, the slave station initiates a repeated alarm mechanism. Under this mechanism, the slave station continuously uploads the same alarm information according to a predetermined time interval and strategy. Each retry is an attempt to send the information to the LoRa gateway module again, until the maximum number of retries is reached; in this embodiment, the maximum number of retries is 3. The setting of the maximum number of retries is a balancing mechanism, ensuring sufficient alerts for abnormal situations while avoiding resource waste caused by infinite retries. Once the maximum number of retries is reached, the slave station deactivates the alarm state, meaning it stops the repeated upload operation and awaits subsequent possible new anomaly detection and processing procedures.

[0080] For step S5, the steps of the master station sending parameters, triggering debugging, and managing the status of the residual current device (RCD) through the LoRa gateway module include: the master station sending an RCD barcode to the LoRa gateway module; the LoRa gateway module assigning and maintaining a management table for each RCD based on the barcode; the master station sending a debugging trigger command to the LoRa gateway module; the LoRa gateway module interacting with the corresponding RCD based on the management table, collecting signal strength and communication status parameters; after successful debugging, the LoRa gateway module marking the RCD as active and performing parameter sending and real-time status monitoring based on the management table; and the LoRa gateway module starting the RCD's regular data acquisition function after a set delay to ensure network stability.

[0081] Specifically, such as Figure 6As shown, before triggering debugging, the master station needs to send the leakage protection barcode information to the LoRa gateway module. The leakage protection barcode serves as the unique identifier of the leakage current device (RCD) and plays a crucial identification role. Leakage protection barcodes can be imported in batches, but they can be sent to the LoRa gateway module one by one. After receiving all the leakage protection barcodes, the LoRa gateway module returns a successful receipt notification to the master station. In this embodiment, after receiving the successful transmission response, the master station delays the trigger debugging button for 30 minutes before operation. After 30 minutes, the trigger debugging button becomes operable. The trigger debugging data interaction information is exactly the same as before until the trigger debugging is successful. When installing the RCD, the master station first associates the communication adapter, inputs the number of RCDs to be installed and the corresponding leakage protection barcodes, and then saves the information. Simultaneously, the master station sends all leakage protection barcodes to the LoRa gateway; debugging can only be triggered after successful saving.

[0082] It should be noted that a management table is assigned and maintained for each residual current device (RCD) based on these RCD barcodes. This management table is a database structure used to store and manage information related to the RCD, including basic information, communication parameters, status indicators, etc., providing basic data support for subsequent interactions with the RCD.

[0083] Furthermore, after the master station sends a debug trigger command to the LoRa gateway module, the LoRa gateway module, upon receiving the command, interacts with the corresponding residual current device (RCD) according to the established management table. During this interaction, the LoRa gateway module collects the signal strength and communication status parameters of the RCD. These parameters are crucial for evaluating the communication quality and operating status of the RCD. By analyzing these parameters, it is possible to determine whether the RCD is operating normally and whether the communication link is stable.

[0084] Once the debugging is successful, the LoRa gateway module marks the residual current device (RCD) as active, indicating that the RCD is ready for normal operation. At this point, the LoRa gateway module performs parameter distribution and real-time status monitoring based on the management table. Parameter distribution allows for the configuration and adjustment of the RCD's functions, while real-time status monitoring ensures timely understanding of the RCD's operating status and guarantees its normal operation.

[0085] Subsequently, to ensure network stability, the LoRa gateway module initiates the leakage current protector's regular data acquisition function after a set delay. This delayed start allows sufficient time for the network to stabilize after debugging and activation, preventing inaccurate data or communication anomalies caused by premature data acquisition.

[0086] Additionally, when a new residual current device (RCD) is installed, the master station associates the device with the management table by inputting the RCD's barcode and synchronizes the association information to the LoRa gateway module. The LoRa gateway module matches the target LoRa node based on the synchronized RCD barcode, triggering the initial communication to assign a network channel address (netid). The allocation of the netid is crucial for the RCD to connect to the network and communicate, ensuring that the RCD can interact with other devices on the correct network channel. If debugging fails, the master station re-initiates the debugging process based on the RCD barcode in the management table until the device comes online. This process ensures that the newly installed RCD can successfully connect to the network and function normally.

[0087] In another embodiment of this application, a data acquisition system for a residual current device (RCD) based on LoRa technology is proposed. The system includes a LoRa node module, a LoRa gateway module, and a master station management platform.

[0088] The LoRa node module, deployed at the residual current device (RCD), is used to generate node addresses (nodeid), dynamically configure communication channels, and interact with the LoRa gateway module. The LoRa gateway module initializes the receive channel based on the network channel address (netid), sends the network channel address (netid) to the LoRa node module, and dynamically switches the transmit channel for directional communication. The master management platform sends RCD barcodes to the LoRa gateway module, triggering debugging processes and monitoring device status. The RCD has a built-in communication address storage unit, used to respond to address requests from the LoRa node module and bind communication parameters with it. The LoRa gateway module assigns a management table to each RCD based on the RCD barcode and uses this table to execute parameter distribution, debugging commands, and status management.

[0089] Furthermore, the LoRa node module includes an address resolution unit and a channel configuration unit.

[0090] The address resolution unit is used to extract and process the communication address of the leakage current protector to generate the node address (nodeid). The channel configuration unit initializes the uplink transmission channel according to the received network channel address (netid) and dynamically adapts the receiving channel according to the node address (nodeid).

[0091] Furthermore, the LoRa gateway module includes a dynamic allocation unit, a management table storage unit, and a channel switching unit.

[0092] The dynamic allocation unit assigns different network channel addresses (netid) to the residual current devices (RCDs) in different areas, and isolates communication channels between adjacent areas using these netids. The management table storage unit stores the RCD barcodes issued by the master station, along with corresponding device parameters and communication status information. The channel switching unit dynamically adjusts the downlink transmission channel based on the node address (nodeid) to ensure data is transmitted directly to the target node.

[0093] Furthermore, the leakage current protector also includes a barcode identification unit, an active alarm unit, and a communication status storage unit.

[0094] The barcode identification unit stores the leakage protection barcode and matches it with the leakage protection barcode information sent by the master station to complete device association. The active alarm unit triggers alarm information upload when an anomaly is detected; if no confirmation is received from the LoRa gateway module, a multi-level retransmission mechanism is initiated. The communication status storage unit records the network channel address (netid), communication address binding status, and gateway interaction logs in the memory, supporting real-time status viewing via the device panel.

[0095] In summary, the data acquisition method and system for residual current devices (RCDs) based on LoRa technology of this invention involves the following steps: after the RCD is powered on, the LoRa node module obtains the communication address and generates the node address (nodeid); the LoRa gateway module initializes the receiving channel according to the preset network channel address (netid) and sends configuration commands; the LoRa node module initializes the transmitting channel and establishes a dynamic channel binding with the LoRa gateway; the RCD uploads abnormal alarm information and interacts with the gateway; and the master station uses the LoRa gateway to send parameters, trigger debugging, and manage the status of the RCD. Compared with existing technologies, this invention not only solves the problems of complex manual configuration, signal interference, and inconvenience in equipment replacement in existing LoRa RCD data acquisition systems, but also enables timely feedback of anomalies and remote centralized management and control, thereby improving management efficiency and response speed.

[0096] The above are merely preferred embodiments of the present invention and do not constitute any limitation on the present invention. Any equivalent substitutions or modifications made by those skilled in the art to the technical solutions and content disclosed in the present invention without departing from the scope of the present invention shall be deemed to have remained within the protection scope of the present invention.

Claims

1. A data acquisition method for a leakage protector based on LoRa technology, characterized in that, The method comprises the following steps: After the power-on of the leakage protector, the LoRa node module connected to the leakage protector acquires the communication address of the leakage protector, extracts part of the bytes from the communication address, and generates a node address nodeid through high-low bit flip processing; The LoRa gateway module initializes a receiving channel according to a preset network channel address netid, and sends a configuration instruction carrying the network channel address netid to the leakage protector; The LoRa node module initializes a sending channel according to the received network channel address netid, and establishes a dynamic channel binding with the LoRa gateway module, wherein the step of establishing the dynamic channel binding comprises: the LoRa gateway module initializes a receiving channel according to the network channel address netid, and issues the network channel address netid to the LoRa node module in the first communication; the LoRa node module initializes an uplink sending channel according to the network channel address netid, and the LoRa gateway module dynamically switches a downlink sending channel according to the node address nodeid; The leakage protector uploads abnormal alarm information through the LoRa node module, and interacts with the LoRa gateway module for data; The main station performs parameter issuing, debugging triggering and state management on the leakage protector through the LoRa gateway module.

2. The method of claim 1, wherein, The specific steps of generating the node address nodeid comprise: The LoRa node module sends a communication address acquisition request to the leakage protector; Part of the bytes is extracted from the communication address returned by the leakage protector, and high-low bit flip processing is performed to generate the node address nodeid.

3. The method of claim 1, wherein the data collection method is performed by a ground fault circuit interrupter (GFCI) device. The step of uploading abnormal alarm information by the leakage protector through the LoRa node module comprises: When the leakage protector detects an abnormality, it uploads alarm information according to a preset protocol; If the LoRa gateway module does not reply within a set time, the leakage protector starts a repeated alarm mechanism until the maximum number of retries is reached and the alarm state is released.

4. The method of claim 1, wherein the step of collecting data comprises the step of: collecting data from a plurality of electrical devices. The steps of the main station performing parameter issuing, debugging triggering and state management on the leakage protector through the LoRa gateway module comprise: The main station issues a leakage protection barcode to the LoRa gateway module, and the LoRa gateway module allocates and maintains a management table for each leakage protector according to the leakage protection barcode; The main station sends a debugging triggering instruction to the LoRa gateway module, and the LoRa gateway module interacts with the corresponding leakage protector according to the management table to collect signal strength and communication state parameters; After successful debugging, the LoRa gateway module marks the leakage protector as an active state, and performs parameter issuing and real-time state monitoring based on the management table; The LoRa gateway module starts the normal data collection function of the leakage protector after a delay of a set time to ensure network stability.

5. The method of claim 4, wherein the data collection method is performed by the electrical leakage protector. The steps of debugging triggering and state management further comprise: When a new leakage protector is installed, the master station completes the association of the device with the management table by inputting the leakage protection barcode of the new leakage protector, and synchronizes the association information to the LoRa gateway module; The LoRa gateway module matches the target LoRa node according to the synchronized leakage protection barcode, triggers the first communication to allocate the network channel address netid; If the debugging fails, the master station reinitiates the debugging process based on the leakage protection barcode in the management table until the device is online.

6. A data acquisition system for electric leakage protector based on LoRa technology, characterized in that, It includes: The LoRa node module is deployed at the leakage protector end, including an address resolution unit and a channel configuration unit, the address resolution unit is used to extract part of the bytes from the communication address of the leakage protector and perform high-low bit flip processing to generate a node address nodeid; The channel configuration unit is used to initialize the uplink transmission channel according to the received network channel address netid, and dynamically adapt the receiving channel according to the node address nodeid, and the LoRa node module and the LoRa gateway module interact with data; The LoRa gateway module includes a channel switching unit, which is used to initialize the receiving channel according to the network channel address netid, and issues the network channel address netid to the LoRa node module, and dynamically adjusts the downlink transmission channel according to the node address nodeid through the channel switching unit to realize directional communication; The master station management platform is used to issue the leakage protection barcode to the LoRa gateway module, trigger the debugging process and monitor the device state; The leakage protector has a built-in communication address storage unit, which is used to respond to the address request of the LoRa node module and bind the communication parameters with the LoRa node module; The LoRa gateway module allocates a management table for each leakage protector according to the leakage protection barcode, and performs parameter issuance, debugging instructions and state management through the management table.

7. The arc fault circuit interrupter data collection system of claim 6, wherein, The LoRa gateway module further includes: The dynamic allocation unit is used to allocate different network channel addresses netid for the leakage protectors in different areas, and isolate the communication channels of adjacent areas through the network channel addresses netid; The management table storage unit is used to store the leakage protection barcode and the corresponding device parameters and communication state information issued by the master station.

8. The arc fault circuit interrupter data collection system of claim 6, wherein, The leakage protector further includes: The barcode identification unit is used to store the leakage protection barcode and match the leakage protection barcode information issued by the master station to complete the device association; The active alarm unit is used to trigger alarm information upload when an anomaly is detected, and starts a multi-level retransmission mechanism if no confirmation is received from the LoRa gateway module; The communication state storage unit is used to record the network channel address netid, communication address binding state and gateway interaction log in the memory, and supports viewing the real-time state through the device panel.

Citation Information

Patent Citations

  • LoRa networking method based on carrier sensing technology

    CN114650612A

  • Method and device for joining LoRa network, node equipment, system and medium

    CN115087076A