Electrostatic grounding resistance monitoring equipment applied to industrial internet and address allocation algorithm
By designing electrostatic grounding resistance monitoring equipment and efficient address allocation algorithms in the industrial Internet, and using wireless ad hoc networking technology and encryption technology, the problem of limited application of traditional wired monitoring methods in complex industrial environments is solved, and the stable operation of the equipment in dynamic network environments is achieved and the high accuracy and reliability of data acquisition is achieved.
Patent Information
- Application Number
- CN202510083492.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-20
- Publication Date
- 2025-05-27
Smart Images

Figure CN120050617A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of industrial Internet of Things. Specifically, it relates to an electrostatic grounding resistance monitoring device and an address allocation algorithm applied on an industrial Internet. Background Art
[0002] In the field of industrial Internet, with the rapid development of Internet of Things (IoT) technology, more and more devices need to be connected to the network for real-time data monitoring and remote control. As an important part of industrial safety, the real-time and accurate monitoring of electrostatic grounding resistance is crucial for the normal operation of production equipment. However, the traditional wired monitoring method has problems such as complex wiring, high cost, and difficult maintenance, which limit its application in complex industrial environments. Therefore, it has become an urgent need to develop an electrostatic grounding resistance monitoring system based on wireless ad-hoc network technology. Wireless ad-hoc network technology has shown great potential in industrial Internet of Things applications with its advantages of high flexibility, low cost, easy deployment and maintenance. Through wireless ad-hoc network, devices can automatically form a network without a central node to achieve real-time data transmission and sharing. However, the stability and reliability of wireless ad-hoc network are affected by various factors, and the address allocation algorithm is one of the key factors. The address allocation algorithm is responsible for allocating a unique communication address to each device in the network to ensure that data can be accurately transmitted to the target device. In an ad-hoc network environment, due to the dynamic joining and leaving of devices and the limited channel resources, it is challenging to design an efficient and reliable address allocation algorithm. In addition, considering the complexity of the industrial environment and the high requirements for security, the address allocation algorithm also needs to have functions such as conflict detection, dynamic update, and security protection. Therefore, this application aims to design an ad-hoc network communication protocol and an address allocation algorithm suitable for electrostatic grounding resistance monitoring devices in industrial Internet to solve the problems existing in the prior art, improve the real-time, accuracy, and security of the system, and provide more reliable data support for industrial production. Summary of the Invention
[0003] In view of this, the present invention aims at the deficiencies of the prior art and provides an electrostatic grounding resistance monitoring device and an address allocation algorithm applied on an industrial Internet, aiming to solve at least one of the problems raised in the above background art.
[0004] In a first aspect, the present invention provides an electrostatic grounding resistance monitoring device applied on an industrial Internet, including: a microcontroller;
[0005] LoRa communication module, the microcontroller is connected to the LoRa communication module through a serial communication interface. The LoRa communication module is responsible for transmitting the data collected by the microcontroller to the base station through LoRa wireless technology, and receiving commands and address assignment information from the base station. The microcontroller sends the data to the host computer software through the LoRa communication module. The host computer software communicates with the device through the base station, sending control commands and receiving monitoring data;
[0006] Static grounding resistance monitoring module, the microcontroller is connected to the static grounding resistance monitoring module through an analog-to-digital converter to read the grounding resistance value in real time;
[0007] Power management module, the power management module provides stable power supply for the microcontroller, LoRa communication module and static grounding resistance monitoring module.
[0008] In some embodiments, the serial communication interface is UART.
[0009] In some embodiments, the static grounding resistance monitoring module uses a resistance sensor to measure the grounding resistance and converts the analog signal into a digital signal for the microcontroller to process.
[0010] In some embodiments, the microcontroller monitors the battery power through the power management module and sends an alarm when the power is low.
[0011] In some embodiments, the base station serves as the central node of the network, responsible for coordinating and managing the communication and address assignment of all devices.
[0012] In a second aspect, the present invention provides an address assignment algorithm for a static grounding resistance monitoring device applied on an industrial Internet, including the following steps:
[0013] S1. Define an address table that contains the addresses of all devices. When a device starts up, it automatically assigns an unoccupied address by querying the address table;
[0014] S2. After the device without an assigned address is powered on, it reports to the platform through the base station. After the device is assigned an address, it sends a broadcast message to inquire whether there are other devices using the same address. If there is a conflict, the device needs to reassign an address;
[0015] S3. When a new device joins the network or an old device is removed, the address table needs to be dynamically updated. Specifically, whenever a device joins or leaves the network, the base station updates the address table and broadcasts the updated address table to all devices. The devices that receive the update message will adjust their address status according to the new address table;
[0016] S4. Set up an address recycling mechanism to regularly check and recycle addresses that have not been used for a long time;
[0017] S5. Allocate according to the priority of the device to ensure that critical devices can obtain stable communication addresses;
[0018] S6. Use encryption technology to protect the integrity and confidentiality of data during the address allocation request and response process.
[0019] In some embodiments, step S1 includes maintaining an address table in the memory of the microcontroller to record allocated and unallocated addresses. When the device starts up, it traverses the address table and selects an unallocated address as its communication address.
[0020] In some embodiments, step S2 includes that after the device is allocated an address, it sends a message containing its own ID and address through the LoRa communication module to receive responses from other devices. If no conflict response is received, the address allocation is considered successful; otherwise, it re-enters the address allocation process.
[0021] In some embodiments, S4 includes that the base station maintains a record table of address usage time, checks the usage of each address according to a preset time. If an address has not been used within the specified time, the base station will mark it as recyclable and preferentially use these addresses during the next address allocation.
[0022] In some embodiments, step S6 includes that the base station can authenticate the device requesting to allocate an address.
[0023] Compared with the prior art, the beneficial effects of the present invention are as follows: By designing an efficient ad-hoc network communication protocol, it ensures that the device can operate stably in a dynamically changing network environment, reducing data transmission failures or delays caused by network instability. An accurate address allocation algorithm is adopted to assign a unique communication address to each monitoring device, avoiding address conflicts and improving the accuracy and reliability of data collection. The address allocation algorithm takes into account the priorities of the devices and the address recycling mechanism, reasonably allocating and recycling address resources, improving the utilization rate of addresses and reducing the risk of network congestion. Encryption technology and an authentication mechanism are introduced during the address allocation process to prevent malicious devices from forging addresses or interfering with normal communication, enhancing the security of the system. The design of the ad-hoc network communication protocol and the address allocation algorithm takes into account the maintenance and upgrade requirements of the system, simplifies the maintenance process, reduces the upgrade cost, and ensures the long-term stable operation of the system. The technical solution of this application helps to achieve the automation and intelligence of industrial production. By real-time monitoring the static grounding resistance, potential safety hazards can be prevented, and production efficiency and product quality can be improved. The application of wireless ad-hoc network technology enables the monitoring system to be flexibly deployed in complex and changeable industrial environments, reducing the dependence on wired infrastructure and improving the adaptability and flexibility of the system. Compared with traditional wired monitoring systems, wireless ad-hoc network technology reduces the costs of wiring and maintenance, while improving the scalability and flexibility of the system, bringing higher cost-effectiveness to users. Through integration with the host computer software or mobile applications, remote monitoring and management of the monitoring devices are achieved, providing users with a convenient operation interface and rich data analysis functions.
[0024] The above general description and the following detailed description are merely exemplary and explanatory, and do not limit the present disclosure.
[0025] Other features and aspects of the present disclosure will become clearer from the following detailed description of exemplary embodiments with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following will briefly introduce the drawings required for the description of the specific embodiments or the prior art. Obviously, the drawings in the following description are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0027] Figure 1 It is a structural block diagram of a static grounding resistance monitoring device applied to the industrial Internet provided by an embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0028] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments in the present application without creative efforts shall fall within the protection scope of the present application.
[0029] In the description of the present application, it should be understood that the orientation or positional relationship indicated by the terms "center", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", etc. is based on the orientation or positional relationship shown in the accompanying drawings, and is only for the convenience of describing the present application and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be construed as a limitation to the present application.
[0030] The terms "first" and "second" are only used for descriptive purposes and cannot be construed as indicating or implying relative importance or implicitly specifying the quantity of the indicated technical features. Thus, the features defined with "first" and "second" may explicitly or implicitly include one or more of such features. In the description of the present application, unless otherwise specified, the meaning of "plurality" is two or more.
[0031] In the description of the present application, it should be noted that unless otherwise clearly specified and limited, the terms "mounted", "connected" and "connected" should be understood in a broad sense. For example, it may be a fixed connection, a detachable connection or an integral connection; it may be a mechanical connection or an electrical connection; it may be directly connected or indirectly connected through an intermediate medium, and it may be the internal communication of two elements. For those of ordinary skill in the art, the specific meanings of the above terms in the present application can be understood according to specific circumstances.
[0032] As described in the background art, in the field of industrial Internet, with the rapid development of Internet of Things (IoT) technology, more and more devices need to be connected to the network for real-time data monitoring and remote control. As an important part of industrial safety, the real-time and accurate monitoring of static grounding resistance is crucial for the normal operation of production equipment. However, the traditional wired monitoring method has problems such as complex wiring, high cost, and difficult maintenance, which limit its application in complex industrial environments. Therefore, it has become an urgent need to develop a static grounding resistance monitoring system based on wireless ad-hoc network technology. Wireless ad-hoc network technology has shown great potential in industrial IoT applications due to its high flexibility, low cost, easy deployment and maintenance, etc. Through wireless ad-hoc network, devices can automatically form a network without a central node to achieve real-time data transmission and sharing. However, the stability and reliability of wireless ad-hoc network are affected by various factors, and the address allocation algorithm is one of the key factors. The address allocation algorithm is responsible for allocating a unique communication address to each device in the network to ensure that data can be accurately transmitted to the target device. In an ad-hoc network environment, due to the dynamic joining and leaving of devices and the limited channel resources, it is challenging to design an efficient and reliable address allocation algorithm. In addition, considering the complexity of the industrial environment and the high requirements for security, the address allocation algorithm also needs to have functions such as conflict detection, dynamic update, and security protection. Therefore, this application aims to design an ad-hoc network communication protocol and an address allocation algorithm suitable for static grounding resistance monitoring devices in the industrial Internet to solve the problems existing in the prior art, improve the real-time, accuracy, and security of the system, and provide more reliable data support for industrial production.
[0033] To address the above issues, this application proposes an electrostatic grounding resistance monitoring device and address allocation algorithm applied to the industrial Internet. By designing an efficient self-organizing network communication protocol, it ensures the stable operation of the device in a dynamically changing network environment, reduces data transmission failures or delays caused by network instability. An accurate address allocation algorithm is adopted to assign a unique communication address to each monitoring device, avoiding address conflicts and improving the accuracy and reliability of data collection. The address allocation algorithm takes into account the priority of the device and the address recycling mechanism, reasonably allocates and recycles address resources, improves the utilization rate of addresses, and reduces the risk of network congestion. Encryption technology and authentication mechanisms are introduced during the address allocation process to prevent malicious devices from forging addresses or interfering with normal communication, enhancing the security of the system. The design of the self-organizing network communication protocol and address allocation algorithm considers the maintenance and upgrade requirements of the system, simplifies the maintenance process, reduces the upgrade cost, and ensures the long-term stable operation of the system. The technical solution of this application helps to achieve the automation and intelligence of industrial production. By real-time monitoring the electrostatic grounding resistance, it prevents potential safety hazards and improves production efficiency and product quality. The application of wireless self-organizing network technology enables the monitoring system to be flexibly deployed in a complex and changeable industrial environment, reduces the dependence on wired infrastructure, and improves the adaptability and flexibility of the system. Compared with traditional wired monitoring systems, wireless self-organizing network technology reduces the wiring and maintenance costs, while improving the scalability and flexibility of the system, bringing higher cost-effectiveness to users. Through integration with the upper computer software or mobile applications, remote monitoring and management of the monitoring devices are realized, providing users with a convenient operation interface and rich data analysis functions.
[0034] Refer to Figure 1 as shown, the first embodiment
[0035] An electrostatic grounding resistance monitoring device applied to the industrial Internet according to an embodiment of the present application includes:
[0036] A microcontroller;
[0037] A LoRa communication module, the microcontroller is connected to the LoRa communication module through a serial communication interface. The LoRa communication module is responsible for transmitting the data collected by the microcontroller to the base station through LoRa wireless technology and receiving commands and address allocation information from the base station. The microcontroller sends the data to the upper computer software through the LoRa communication module, and the upper computer software communicates with the device through the base station, sending control commands and receiving monitoring data;
[0038] An electrostatic grounding resistance monitoring module, the microcontroller is connected to the electrostatic grounding resistance monitoring module through an analog-digital converter to read the grounding resistance value in real time;
[0039] A power management module that provides a stable power supply for the microcontroller, LoRa communication module, and static grounding resistance monitoring module.
[0040] Self-organizing network communication protocol design. Each data frame includes a frame header, source address, destination address, data length, data content, and checksum. The command set includes commands such as address request, address response, data upload, and data confirmation. When the device starts up, it sends an address request. After the base station or other devices receive the request, they return an unoccupied address. The firmware program is written in C language and runs on the microcontroller. A web application is developed using Python and the Flask framework, or a mobile application is developed using Swift and iOS. The device is deployed in an actual industrial environment for long-term operation testing. Test data is collected, the cause of problems is analyzed, and the firmware and software programs are modified. The device is installed at the specified location, connected to the power supply and communication network, and data collection and transmission begin.
[0041] In some specific embodiments, the serial communication interface is UART.
[0042] In some specific embodiments, the static grounding resistance monitoring module uses a resistance sensor to measure the grounding resistance and converts the analog signal into a digital signal for the microcontroller to process.
[0043] In some specific embodiments, the microcontroller monitors the battery power through the power management module and sends an alarm when the power is low.
[0044] In some specific embodiments, the base station serves as the central node of the network and is responsible for coordinating and managing the communication and address allocation of all devices.
[0045] Second Embodiment
[0046] An address allocation algorithm for a static grounding resistance monitoring device applied to the industrial Internet according to an embodiment of the present application includes the following steps:
[0047] S1. Define an address table that contains the addresses of all devices. When the device starts up, it automatically allocates an unoccupied address by querying the address table.
[0048] S2. After the device without an allocated address is powered on, it reports to the platform via the base station. After the device is allocated an address, it sends a broadcast message to inquire whether any other device is using the same address. If there is a conflict, the device needs to re-allocate the address.
[0049] S3. When a new device joins the network or an old device is removed, the address table needs to be updated dynamically. Specifically, whenever a device joins or leaves the network, the base station updates the address table and broadcasts the updated address table to all devices. The devices that receive the update message will adjust their address status according to the new address table.
[0050] S4. Set up an address recycling mechanism to regularly check and recycle addresses that have not been used for a long time.
[0051] S5. Allocate addresses according to the priority of the devices to ensure that critical devices can obtain stable communication addresses.
[0052] S6. Use encryption technology to protect the integrity and confidentiality of data during the address allocation request and response process.
[0053] In some specific embodiments, step S1 includes maintaining an address table in the memory of the microcontroller to record the allocated and unallocated addresses. When the device starts up, it traverses the address table and selects an address with an unallocated status as its communication address.
[0054] In some specific embodiments, step S2 includes that after the device is allocated an address, it sends a message containing its own ID and address through the LoRa communication module to receive responses from other devices. If no conflict response is received, the address allocation is considered successful; otherwise, it re-enters the address allocation process.
[0055] In some specific embodiments, S4 includes that the base station maintains a record table of address usage time, checks the usage of each address according to a preset time. If an address has not been used within the specified time, the base station will mark it as recyclable and preferentially use these addresses during the next address allocation.
[0056] In some specific embodiments, step S6 includes that the base station can authenticate the devices requesting address allocation.
[0057] After the device is allocated an address, it sends a broadcast message through the LoRa communication module to ask if any other device is using the same address. If a conflict response is received, the device re-enters the address allocation process until it is allocated a unique address.
[0058] Specific process: Produce a batch of static grounding resistance monitoring devices with LoRa communication modules. Preset an initial address table in the microcontroller of each device. Install the devices at various key positions in the workshop and connect them to the power supply. Turn on the LoRa communication modules of the devices, and the devices automatically form a LoRa network. When the devices start up, an unoccupied address is automatically allocated through the table lookup method. If a conflict occurs, the device will reallocate the address. The device periodically collects the static grounding resistance value and transmits it to the base station through the LoRa network. Run the upper computer software or mobile application in the monitoring center to display the monitoring data and status of each device in real time, and perform maintenance and firmware upgrades on the devices as needed to ensure the long-term stable operation of the system.
[0059] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and its equivalent technologies, the present invention is also intended to include these changes and modifications.
Claims
1. An electrostatic grounding resistance monitoring device used in the industrial Internet, characterized in that: include: Microcontroller; Lora communication module, the microcontroller is connected to the Lora communication module through a serial communication interface, the Lora communication module is responsible for transmitting the data collected by the microcontroller to the base station through the Lora wireless technology, and receiving commands and address allocation information from the base station, the microcontroller sends the data to the host computer software through the Lora communication module, the host computer software communicates with the device through the base station, sends control commands and receives monitoring data; The electrostatic grounding resistance monitoring module, the microcontroller is connected to the electrostatic grounding resistance monitoring module through an analog-to-digital converter to read the grounding resistance value in real time; A power management module, wherein the power management module provides a stable power supply for the microcontroller, the lora communication module and the electrostatic grounding resistance monitoring module.
2. According to claim 1, the electrostatic grounding resistance monitoring device used in the industrial Internet is characterized in that: The serial communication interface is UART.
3. The electrostatic grounding resistance monitoring device used in the industrial Internet according to claim 1 is characterized in that: The electrostatic grounding resistance monitoring module uses a resistance sensor to measure the grounding resistance and converts the analog signal into a digital signal for processing by the microcontroller.
4. The electrostatic grounding resistance monitoring device used in the industrial Internet according to claim 1 is characterized in that: The microcontroller monitors the battery charge through the power management module and sends an alarm when the battery is low.
5. The electrostatic grounding resistance monitoring device used in the industrial Internet according to claim 1 is characterized in that: The base station serves as the central node of the network and is responsible for coordinating and managing the communication and address allocation of all devices.
6. An address allocation algorithm for electrostatic grounding resistance monitoring equipment applied on the industrial Internet, characterized in that: An electrostatic grounding resistance monitoring device applied on the industrial Internet as described in any one of claims 1 to 5 comprises the following steps: S1. Define an address table, which contains the addresses of all devices. When the device starts, it automatically allocates an unoccupied address by querying the address table. S2. After the device without an assigned address is powered on, it reports to the platform through the base station. After the device is assigned an address, it sends a broadcast message to ask whether there are other devices using the same address. If there is a conflict, the device needs to reallocate the address; S3. When a new device joins the network or an old device is removed, the address table needs to be dynamically updated. Specifically, whenever a device joins or leaves the network, the base station will update the address table and broadcast the updated address table to all devices. The devices that receive the update message will adjust their address status according to the new address table. S4. Set up an address recycling mechanism to regularly check and recycle addresses that have not been used for a long time; S5. Allocate according to the priority of the device to ensure that key devices can obtain stable communication addresses; S6. During the address allocation request and response process, encryption technology is used to protect the integrity and confidentiality of data.
7. According to claim 6, an address allocation algorithm for electrostatic grounding resistance monitoring equipment applied on the industrial Internet is characterized in that: The step S1 includes maintaining an address table in the memory of the microcontroller to record the allocated and unallocated addresses. When the device starts, the address table is traversed to select an address in the unallocated state as its own communication address.
8. According to claim 7, an address allocation algorithm for electrostatic grounding resistance monitoring equipment applied on the industrial Internet is characterized in that: The step S2 includes that after the device is assigned an address, it sends a message containing its own ID and address through the lora communication module to receive responses from other devices. If no conflicting response is received, the address allocation is considered successful; otherwise, the address allocation process is re-entered.
9. The address allocation algorithm for electrostatic grounding resistance monitoring equipment applied on the industrial Internet according to claim 8 is characterized in that: The S4 includes the base station maintaining an address usage time record table, checking the usage of each address according to a preset time, and if an address is not used within the specified time, the base station will mark it as recyclable and give priority to using these addresses in the next address allocation.
10. The address allocation algorithm for electrostatic grounding resistance monitoring equipment applied on the industrial Internet according to claim 9 is characterized in that: The step S6 includes the base station performing identity authentication on the device requesting address allocation.