Relay networking system based on UWB communication
By introducing relay networking technology into the UWB communication system, and using multiple relay modes to enhance signal transmission, the signal quality problems of UWB technology in cabin occlusion and long-distance communication are solved, and more efficient network capacity and signal quality are achieved.
Patent Information
- Application Number
- CN202510084461.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-20
- Publication Date
- 2025-05-16
AI Technical Summary
The existing UWB technology has good transmission effect in the cabin, but due to severe occlusion, the signal receiving power of local locations is small or even impossible to receive. In communication scenarios with a long transmission distance, direct transmission cannot be reached, resulting in a decrease in signal quality.
A relay networking system based on UWB communication is provided. Through several nodes, relay networking is added to realize signal amplification and forwarding, and supports wired relay mode, dual-channel module wireless relay mode, same-band network wireless relay mode and same-band dual-channel UWB module wireless relay mode.
By adding relay nodes, the problem of signal quality degradation caused by communication distance limitation and occlusion attenuation is solved, the network capacity is expanded, the received signal quality is improved, and communication between nodes between different frequency bands is realized.
Smart Images

Figure CN120018161A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of communication relay networking, and in particular relates to a relay networking system based on UWB communication. Background Art
[0002] Existing UWB technology is mostly used for positioning, and there are fewer solutions for using UWB technology for communication transmission. Although UWB has a better transmission effect in the cabin, due to severe obstruction in the cabin, the received signal power in some local locations is small or even cannot be received. Therefore, it is necessary to add a relay function to UWB communication to improve the signal quality of obstructed UWB wireless data transmission module nodes. Another communication scenario is that a node in a UWB network needs to communicate with a node in another UWB network. Due to the long transmission distance, direct transmission cannot reach it. At this time, it is also necessary to add a relay function to amplify and forward the signal. Summary of the invention
[0003] In order to solve the above technical problems, the present invention provides a relay networking system based on UWB communication.
[0004] The present invention is achieved through the following technical solutions.
[0005] The present invention provides a relay networking system based on UWB communication, wherein the relay networking system is composed of a plurality of node relay networks;
[0006] Wherein, one of the nodes includes: a UWB wireless data transmission module and an external device, wherein the UWB wireless data transmission module is connected to the external device;
[0007] The UWB wireless data transmission module includes: a UWB module, an MCU and a network port interface chip, wherein the UWB module is connected to the MCU, and the MCU is connected to the network port interface chip;
[0008] The MCU includes: a processor, an SPI, a storage area and a dual pointer, wherein the dual pointer is used to realize continuous transmission and reception of data;
[0009] The relay networking modes include: wired relay mode, dual-channel module wireless relay mode, same-frequency band networking wireless relay mode and same-frequency band dual-channel UWB module wireless relay mode.
[0010] Preferably, the data transmission mode of the UWB wireless data transmission module supports a transparent transmission mode.
[0011] Preferably, the MCU is connected to an external device via a network port interface chip, and the transmission between the MCU and the external device supports DMA.
[0012] Preferably, the data structure of the storage area supports management of the ring buffer by double pointers.
[0013] Preferably, the dual pointer includes: a receiving pointer and a sending pointer; the receiving pointer is used to realize continuous reception of data, and the sending pointer is used to realize continuous sending of data.
[0014] Preferably, the wired relay mode specifically refers to:
[0015] Several of the nodes form a first network, and several of the nodes form a second network. Any node in the first network is designated as a first network relay node, and any node in the second network is designated as a second network relay node. The first network relay node and the second network relay node perform wired communication, the first network relay node and other nodes in the first network perform wireless communication, and the second network relay node and other nodes in the second network perform wireless communication.
[0016] Preferably, the dual-channel module wireless relay mode specifically refers to:
[0017] Several of the nodes form a first network, and several of the nodes form a second network. Any node is designated as a relay node, and the relay node includes a first UWB wireless data transmission module and a second UWB wireless data transmission module; the relay node wirelessly communicates with nodes in the first network through the first UWB wireless data transmission module, and the relay node wirelessly communicates with nodes in the second network through the second UWB wireless data transmission module. The first UWB wireless data transmission module and the second UWB wireless data transmission module inside the relay node forward data through the MCU to realize communication between nodes in the first network and nodes in the second network.
[0018] Preferably, the same-frequency-band networking wireless relay mode specifically refers to:
[0019] A number of the nodes form a same-frequency-band network, one of the nodes in the same-frequency-band network is selected as a relay node, and the relay node and other nodes in the same-frequency-band network perform wireless communication.
[0020] Preferably, the method for selecting a node in the same frequency band network as a relay node comprises the following steps:
[0021] Designate the node with the best installation position in the same frequency band network as the relay node, and other nodes in the same frequency band network as child nodes;
[0022] The relay node determines the relay node priority table according to the installation location and communication quality of the child node, periodically updates the relay node priority table, and broadcasts the relay node priority table to the child node;
[0023] If the child node does not receive the periodic signal quality information, a new relay node is designated from the child nodes according to the relay node priority table.
[0024] Preferably, the same-band dual-channel UWB module wireless relay mode specifically refers to:
[0025] Several of the nodes form a same-frequency band network, and one of the nodes in the same-frequency band network is selected as a relay node. The relay node includes a first UWB wireless data transmission module and a second UWB wireless data transmission module. The relay node and other nodes in the same-frequency band network perform wireless communication.
[0026] The beneficial effects of the present invention are:
[0027] 1. In the UWB wireless data transmission module, the data is stored in the storage area of the MCU, the data is packetized, and received and sent through the network interface chip in conjunction with DMA. This does not require the running time of external devices, can greatly save external device expenses, and increase the running speed of external devices;
[0028] 2. The storage area is a ring storage area, which is used to cache the sent and received data, and use double pointers to achieve continuous sending and receiving of data to solve problems such as temporary network congestion;
[0029] 3. By adding relay nodes, communication between different UWB network nodes or mutual communication between any nodes in the same network can be realized, solving the problems of signal quality degradation such as communication distance limitation and occlusion attenuation, expanding network capacity and improving the quality of received signals;
[0030] 4. Communication between nodes in different frequency bands can be achieved through wired relay mode or dual-channel module wireless relay mode. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Figure 1 It is a schematic diagram of the structure of a relay networking system provided by an embodiment of the present invention;
[0032] Figure 2 This is a flowchart of a data transparent transmission master-sender slave-receiver program provided by an embodiment of the present invention;
[0033] Figure 3 It is a schematic diagram of circular buffer data reception and transmission provided by an embodiment of the present invention;
[0034] Figure 4 This is a schematic diagram of relay networking provided by Embodiment 1 of the present invention;
[0035] Figure 5 This is a schematic diagram of relay networking provided by Embodiment 2 of the present invention;
[0036] Figure 6This is a schematic diagram of relay networking provided by Embodiment 3 of the present invention;
[0037] Figure 7 This is a schematic diagram of relay networking provided in Example 4 of the present invention. DETAILED DESCRIPTION
[0038] The technical solution of the present invention is further described below, but the scope of protection claimed is not limited to the description.
[0039] Embodiment 1:
[0040] like Figure 1 As shown, a relay networking system based on UWB communication, the relay networking system is composed of a plurality of node relay networks;
[0041] Wherein, one of the nodes includes: a UWB wireless data transmission module and an external device, wherein the UWB wireless data transmission module is connected to the external device;
[0042] The UWB wireless data transmission module includes: a UWB module, an MCU and a network port interface chip, wherein the UWB module is connected to the MCU, and the MCU is connected to the network port interface chip;
[0043] The MCU includes: a processor, an SPI, a storage area and a dual pointer, wherein the dual pointer is used to realize continuous transmission and reception of data;
[0044] Among them, MCU is a microcontroller. SPI is the abbreviation of Serial Peripheral interface. The processor is used to control the UWB wireless data transmission module; SPI is used for serial port connection, reading and writing data; the storage area is used to buffer data; and the dual pointer is used to realize continuous sending and receiving of data.
[0045] The relay networking modes include: wired relay mode, dual-channel module wireless relay mode, same-frequency band networking wireless relay mode and same-frequency band dual-channel UWB module wireless relay mode.
[0046] The data transmission mode of the UWB wireless data transmission module supports the transparent transmission mode.
[0047] In this embodiment, the data transmission mode of the UWB wireless data transmission module is a transparent transmission mode, and the data type is a two-dimensional array, specifically, data transparent transmission is master-sender and slave-receiver, and bidirectional data transparent transmission is supported, wherein the effective data unidirectional transmission process is as follows: Figure 2 As shown:
[0048] The external device in a node inputs the data to be transmitted into the network port interface chip, i.e., network port data. In the MCU, the network port data is received via SPI, and the UWB SPI starts writing after the network port reception is completed; clear the flag; read the length; update the pointer, write the data to the DW1000 cache via SPI, and send it immediately. The MCU completes the wireless transmission, clears the transmission, and resets the transceiver.
[0049] Another node receives data wirelessly through the UWB module. In the MCU, SPI reads the current status, SPI writes and clears the status bit, SPI reads the length, SPI reads the control word, configures the SPI read data address and length, SPI reads data, pointer updates, and the network port interface chip sends data to the external device through SPI.
[0050] The MCU is connected to an external device via a network port interface chip, and the transmission between the MCU and the external device supports DMA.
[0051] In the UWB wireless data transmission module, data is stored in the storage area of the MCU, and the data is packetized and received and sent through the network interface chip in conjunction with DMA. This does not require the running time of external devices, can greatly save external device overhead, and increase the running speed of external devices.
[0052] The data structure of the storage area supports the management of the ring buffer by double pointers.
[0053] The dual pointers include: a receiving pointer and a sending pointer; the receiving pointer is used to realize continuous reception of data, and the sending pointer is used to realize continuous transmission of data.
[0054] After the UWB wireless data transmission module receives data from the network interface chip, it is stored in the ring storage area of the MCU. When the system detects that the receive pointer has new data, it will point to the next data block, and the send pointer will move forward and send the corresponding data.
[0055] The effect of a ring buffer with double pointers is as follows Figure 3 As shown, a circular buffer is used to implement a circular cache for caching the sent and received data, and a double pointer is used to implement continuous sending and receiving of data, thereby solving problems such as temporary network congestion.
[0056] In this embodiment, the plurality of nodes respectively form two networks with different frequency bands and meet the wired connection conditions, so the wired relay mode is used for relay networking.
[0057] The wired relay mode specifically refers to:
[0058] Several of the nodes form a first network, and several of the nodes form a second network. Any node in the first network is designated as a first network relay node, and any node in the second network is designated as a second network relay node. The first network relay node and the second network relay node perform wired communication, the first network relay node and other nodes in the first network perform wireless communication, and the second network relay node and other nodes in the second network perform wireless communication.
[0059] Among them, the communication interface for wired communication between the first network relay node and the second network relay node supports RS422 / RS485, network interface, etc.
[0060] In this embodiment, the relay network is as follows Figure 4 As shown, specifically, A0, A1, A2, and A3 form a first network, and B0, B1, B2, and B3 form a second network. A3 is designated as a first network relay node, and B3 is designated as a second network relay node. A0 communicates with B0, and A0 first sends data to the first network relay node A3, and the data contains the destination address of B0. A3 transmits the data to the second network relay node B3 through a wired communication interface, and B3 sends the data to B0 according to the destination address of B0 contained in the data, completing a relay transmission, and vice versa.
[0061] In this embodiment, the data communication protocol of the UWB wireless data transmission module complies with IEEE 802.15.4.
[0062] The frame format sent by the source node to the relay node is as follows:
[0063] Byte position Value range meaning [0] 0x41 Frame control, frame header [1] 0x88 Frame Control [2] 0x00 Frame number [3] 0x34 Network ID low byte [4] 0x12 Network ID high byte [5] 0x00 Relay node destination address low byte [6] 0x01 Relay node destination address high byte [7] 0x00 The first network source address low byte [8] 0x50 High byte of the first network source address [9] 0x01 Second network target address low byte
[10] 0x01 Second network target address high byte
[11] ~[N] 0x00~0xFF data
[0064] The relay node receives the data from the source node, repackages it, and sends it to the destination node.
[0065] The frame format sent by the relay node to the destination node is:
[0066]
[0067]
[0068] Embodiment 2:
[0069] This embodiment is modified on the basis of Embodiment 1. The difference between this embodiment and Embodiment 1 is that:
[0070] In this embodiment, the plurality of nodes respectively form two networks with different frequency bands, but do not meet the conditions for wired connection, so a dual-channel module wireless relay mode is used for relay networking.
[0071] The dual-channel module wireless relay mode specifically refers to:
[0072] Several of the nodes form a first network, and several of the nodes form a second network. Any node is designated as a relay node, and the relay node includes a first UWB wireless data transmission module and a second UWB wireless data transmission module; the relay node wirelessly communicates with nodes in the first network through the first UWB wireless data transmission module, and the relay node wirelessly communicates with nodes in the second network through the second UWB wireless data transmission module. The first UWB wireless data transmission module and the second UWB wireless data transmission module inside the relay node forward data through the MCU to realize communication between nodes in the first network and nodes in the second network.
[0073] The first UWB wireless data transmission module and the second UWB wireless data transmission module need to be configured with different frequency bands, different preamble codes and other parameters.
[0074] In this embodiment, the relay network is as follows Figure 5 As shown, specifically, A0, A1, A2, and A3 form the first network, and B0, B1, B2, and B3 form the second network, and C0 is designated as the relay node; A0 communicates with B0, and A0 first sends data to the relay node C0, and the data contains the destination address of B0. The first UWB wireless data transmission module of the relay node C0 receives the data and stores it in the receiving buffer, and the MCU sends the data to the second group of UWB wireless communication modules, which sends the data to B0 to complete the relay transmission. Vice versa.
[0075] Embodiment 3:
[0076] This embodiment is modified on the basis of Embodiment 1. The difference between this embodiment and Embodiment 1 is that:
[0077] In this embodiment, several of the nodes respectively form a same-frequency band network, and all nodes operate in the same frequency band. However, due to the long distance between the nodes, the transmission power is insufficient; or the wireless signal is attenuated or blocked during transmission, and data needs to be forwarded through a relay node. Therefore, the same-frequency band networking wireless relay mode is used for relay networking.
[0078] The same frequency band networking wireless relay mode specifically refers to:
[0079] A number of the nodes form a same-frequency-band network, one of the nodes in the same-frequency-band network is selected as a relay node, and the relay node and other nodes in the same-frequency-band network perform wireless communication.
[0080] The method for selecting a node in the same frequency band network as a relay node comprises the following steps:
[0081] Designate the node with the best installation position in the same frequency band network as the relay node, and other nodes in the same frequency band network as child nodes;
[0082] The relay node determines the relay node priority table according to the installation location and communication quality of the child node, periodically updates the relay node priority table, and broadcasts the relay node priority table to the child node;
[0083] If the child node does not receive the periodic signal quality information, a new relay node is designated from the child nodes according to the relay node priority table.
[0084] The if the child node does not receive the periodic signal quality information can be set as: if the child node does not receive the periodic signal quality information for N consecutive times, misjudgment caused by communication fluctuations can be avoided.
[0085] If each child node does not receive periodic signal quality information, it is considered that the current relay node is abnormal or damaged. If the current relay node is abnormal or damaged, each node selects a new relay node according to the relay node priority table, and the new relay node receives and sends data.
[0086] In this embodiment, the relay network is as follows Figure 6 As shown, specifically, A0, A1, A2, A3, A4, A5, and A6 form a same-frequency band network, and A3 serves as a relay node; node A0 of the same-frequency band network communicates with node A5 of the same-frequency band network, and A0 first sends data to relay node A3, and then forwards the data to node A5 through relay node A3.
[0087] Embodiment 4:
[0088] This embodiment is modified on the basis of Embodiment 3. The difference between this embodiment and Embodiment 3 is as follows:
[0089] In this embodiment, the relay node includes two UWB wireless data transmission modules, and therefore, a same-frequency-band dual-channel UWB module wireless relay mode is used for relay networking.
[0090] The same-band dual-channel UWB module wireless relay mode specifically refers to:
[0091] Several of the nodes form a same-frequency band network, and one of the nodes in the same-frequency band network is selected as a relay node. The relay node includes a first UWB wireless data transmission module and a second UWB wireless data transmission module. The relay node and other nodes in the same-frequency band network perform wireless communication.
[0092] In this embodiment, the relay network is as follows Figure 7As shown, specifically, A0, A1, A2, A3, A4, A5, and A6 form a network in the same frequency band, and A3 serves as a relay node. Relay node A3 includes two UWB wireless data transmission modules. Under normal circumstances, the first UWB wireless data transmission module of the relay node receives and sends data for UWB relay. If the first UWB wireless data transmission module is damaged, the second UWB wireless data transmission module is enabled as a new relay function to receive and send data. That is, one UWB wireless data transmission module is in working state, and the other UWB wireless data transmission module is in standby state. Once the working UWB wireless data transmission module is damaged, the standby UWB wireless data transmission module is enabled to continue receiving and sending relay data.
[0093] It is worth noting that the relay networking mode of the present invention is not limited to embodiments 1 to 4. More relay networking modes can be obtained through the coordination and reuse of embodiments 1 to 4. At the same time, the number of relay networking nodes is not limited to embodiments 1 to 4. The number of relay networking nodes is adjusted according to actual needs.
[0094] In the UWB wireless data transmission module of the present invention, data is stored in the storage area of MCU, the data is packetized, and received and sent through the network interface chip in cooperation with DMA, so that the running time of the external device does not need to be occupied, the external device overhead can be greatly saved, and the running speed of the external device is increased; the storage area is a ring storage area, which is used to cache the sent and received data, and the double pointer is used to realize the continuous sending and receiving of data, and solve the problems of temporary network congestion; by adding relay nodes, communication between different UWB network nodes, or mutual communication between any nodes in the same network is realized, which solves the problems of signal quality degradation such as communication distance limitation and occlusion attenuation, expands the network capacity, and improves the quality of the received signal; through the wired relay mode or the dual-channel module wireless relay mode, the communication between nodes in different frequency bands can be realized.
Claims
1. A relay networking system based on UWB communication, characterized in that: The relay networking system is composed of a number of node relay networks; Wherein, one of the nodes includes: a UWB wireless data transmission module and an external device, wherein the UWB wireless data transmission module is connected to the external device; The UWB wireless data transmission module includes: a UWB module, an MCU and a network port interface chip, wherein the UWB module is connected to the MCU, and the MCU is connected to the network port interface chip; The MCU includes: a processor, an SPI, a storage area and a dual pointer, wherein the dual pointer is used to realize continuous transmission and reception of data; The relay networking modes include: wired relay mode, dual-channel module wireless relay mode, same-frequency band networking wireless relay mode and same-frequency band dual-channel UWB module wireless relay mode.
2. The relay networking system according to claim 1, characterized in that: The data transmission mode of the UWB wireless data transmission module supports the transparent transmission mode.
3. The relay networking system according to claim 1, characterized in that: The MCU is connected to an external device via a network port interface chip, and the transmission between the MCU and the external device supports DMA.
4. The relay networking system according to claim 1, characterized in that: The data structure of the storage area supports the management of the ring buffer by double pointers.
5. The relay networking system according to claim 1, characterized in that: The dual pointers include: a receiving pointer and a sending pointer; the receiving pointer is used to realize continuous reception of data, and the sending pointer is used to realize continuous transmission of data.
6. The relay networking system according to claim 1, characterized in that: The wired relay mode specifically refers to: Several of the nodes form a first network, and several of the nodes form a second network. Any node in the first network is designated as a first network relay node, and any node in the second network is designated as a second network relay node. The first network relay node and the second network relay node perform wired communication, the first network relay node and other nodes in the first network perform wireless communication, and the second network relay node and other nodes in the second network perform wireless communication.
7. The relay networking system according to claim 1, characterized in that: The dual-channel module wireless relay mode specifically refers to: Several of the nodes form a first network, and several of the nodes form a second network. Any node is designated as a relay node, and the relay node includes a first UWB wireless data transmission module and a second UWB wireless data transmission module; the relay node wirelessly communicates with nodes in the first network through the first UWB wireless data transmission module, and the relay node wirelessly communicates with nodes in the second network through the second UWB wireless data transmission module. The first UWB wireless data transmission module and the second UWB wireless data transmission module inside the relay node forward data through the MCU to realize communication between nodes in the first network and nodes in the second network.
8. The relay networking system according to claim 1, characterized in that: The same frequency band networking wireless relay mode specifically refers to: A number of the nodes form a same-frequency-band network, one of the nodes in the same-frequency-band network is selected as a relay node, and the relay node and other nodes in the same-frequency-band network perform wireless communication.
9. The relay networking system according to claim 8, characterized in that: The method for selecting a node in the same frequency band network as a relay node comprises the following steps: Designate the node with the best installation position in the same frequency band network as the relay node, and other nodes in the same frequency band network as child nodes; The relay node determines the relay node priority table according to the installation location and communication quality of the child node, periodically updates the relay node priority table, and broadcasts the relay node priority table to the child node; If the child node does not receive the periodic signal quality information, a new relay node is designated from the child nodes according to the relay node priority table.
10. The relay networking system according to claim 1, characterized in that: The same-band dual-channel UWB module wireless relay mode specifically refers to: Several of the nodes form a same-frequency band network, and one of the nodes in the same-frequency band network is selected as a relay node. The relay node includes a first UWB wireless data transmission module and a second UWB wireless data transmission module. The relay node and other nodes in the same-frequency band network perform wireless communication.