Adaptive wireless communication method and system for substation signal-to-point debugging
By adopting an adaptive switching communication method between WiFi and LoRa in substation signal point-to-point commissioning, optimizing wireless transmission parameters and establishing closed-loop transmission, the coverage and interference problems of wireless signals in the substation environment were solved, improving the reliability and efficiency of commissioning.
Patent Information
- Application Number
- CN202310301744.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-24
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2043-03-24
AI Technical Summary
In existing substation signal point-to-point commissioning, wireless signals have weak penetration capabilities, data transmission is easily affected by environmental interference, and the coverage area is limited, which affects the reliability and efficiency of commissioning.
It adopts an adaptive switching communication method between WiFi and LoRa, automatically switches the transmission mode according to the communication quality, optimizes wireless transmission parameters, establishes a unified application layer interaction interface, supports mobile relay, and realizes closed-loop signal transmission.
It improves the reliability and efficiency of substation signal point-to-point commissioning, solves the problems of wireless signal coverage and interference in complex environments, simplifies the maintenance workload of the commissioning system, and realizes adaptive wireless communication.
Smart Images

Figure CN116347476B_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of wireless communication technology, and specifically relates to an adaptive wireless communication method and system for point-to-point commissioning of substation signals. Background Technology
[0002] With the extensive integration of digital and information technologies into power system construction, the level of intelligence in power grid operation is increasing. Monitoring the state changes of information nodes in substation operation, adjusting the process states of control nodes based on algorithmic logic, and reliably optimizing substation operating conditions in real time, as well as diagnosing and handling abnormal substation states, is an inevitable trend in the intelligent development of substations. Power grid intelligence also places new demands on substation monitoring technology. The number of signal nodes monitored in substations is growing exponentially, and the workload of on-site signal point-to-point debugging is increasing exponentially. Traditional manual signal point-to-point methods can no longer meet the needs of the large-scale development of intelligent substations. Reliable and convenient automatic on-site signal point-to-point debugging technology has become a hot research topic in related fields.
[0003] Currently, substation signal point-to-point operations mainly employ two schemes: communication-based point-to-point and wireless closed-loop point-to-point. The communication-based scheme simulates and triggers virtual signal points, verifying the correctness of secondary signal links, but it cannot verify the actual wiring of secondary circuits, making it impractical for on-site substation commissioning. The wireless closed-loop point-to-point commissioning scheme, based on local area network (LAN) WiFi communication technology, controls the commissioning process via wireless Ethernet, achieving a data spatial closed loop between signal application points and detection points. It eliminates the need for laying additional test lines on-site, facilitating network setup and commissioning. However, compared to other wireless communication methods, WiFi LAN communication has higher power consumption, resulting in poor power supply and mobility for commissioning equipment. In particular, WiFi signals have insufficient wireless penetration under building shielding conditions, limiting transmission distance. This leads to low overall implementation efficiency of existing wireless closed-loop point-to-point commissioning schemes, and related wireless data transmission technologies need further improvement.
[0004] Appendix Figure 1 This is the current WiFi-based wireless closed-loop commissioning solution for substations. The commissioning and verification host uses WiFi communication to wirelessly transmit test data to a remote test terminal. After passing through a power amplifier, the data outputs an analog test signal to the system under test (DUT). Simultaneously, the commissioning and verification host communicates with the DUT via message communication to obtain the DUT's output signal and verify the consistency of the DUT's signal transmission. Under normal circumstances, the WiFi module of the commissioning host is placed in the monitoring system room, while the WiFi module of the test terminal is placed at the local location of the secondary signal in the process layer. The two are separated by a certain distance in the field. In extreme cases, the commissioning test data needs to traverse the entire substation wirelessly.
[0005] The current wireless data transmission scheme used for point-to-point signal debugging in substations has the following shortcomings:
[0006] (1) WiFi wireless data communication technology cannot adapt to the complex operating conditions of substations. Existing technologies use WiFi wireless local area network communication. Although WiFi communication is convenient for networking and has a fast data transmission rate, it requires a large power supply, and WiFi wireless signals have weak penetration capabilities through physical obstructions such as indoor walls and sealed doors and windows. When conducting signal point-to-point debugging work at substations, staff need to perform global debugging in the monitoring system's small room. The debugging signal needs to pass through the enclosed building space, and the physical shielding and electromagnetic interference of numerous primary devices in the substation are significant. The wireless data transmission effect based on WiFi is not ideal, affecting the reliability and efficiency of point-to-point debugging work.
[0007] (2) High-power WiFi signals are difficult to relay within substations, resulting in limited wireless signal coverage. In conventional WiFi communication environments, when the signal transmission distance is insufficient, the wireless communication distance can be extended by adding wireless relay points to cascade the signal. However, in substation on-site commissioning environments, there is a lack of suitable power supply access points for relay equipment outdoors, and high-power long-distance WiFi modules consume a lot of energy, making battery power supply impractical. Furthermore, the data transmission protocol for WiFi wireless communication is complex, resulting in significant transmission delays in the interference environment of substations, and the data transmission delay after relaying also fails to meet the requirements of on-site commissioning work. Summary of the Invention
[0008] The purpose of this invention is to provide an adaptive wireless communication method and system for point-to-point commissioning of substation signals, in order to solve the technical problems of weak wireless signal penetration, easy data transmission interference from the substation environment, and limited wireless signal coverage in existing wireless communication methods used for point-to-point commissioning of substation signals, which in turn affect the reliability and efficiency of point-to-point commissioning of substation signals.
[0009] To achieve the above objectives, the present invention adopts the following technical solution:
[0010] In a first aspect, the present invention provides an adaptive wireless communication method for point-to-point commissioning of substation signals, comprising:
[0011] Based on the wireless adaptive switching communication method between WiFi and LoRa, the debugging host first conducts wireless communication with the test terminal through WiFi wireless transmission mode. If the WiFi wireless transmission mode communication is stable, the communication parameters are optimized. If the WiFi wireless transmission mode communication is unstable, the host switches to LoRa wireless transmission mode to conduct wireless communication with the terminal. If the LoRa wireless transmission mode communication is stable, the communication parameters are optimized. Otherwise, an abnormal warning is issued.
[0012] Point-to-point commissioning of substation signals is carried out between the commissioning host and the test terminal.
[0013] A further improvement of this invention is that: the debugging host communicates wirelessly with the test terminal via WiFi wireless transmission mode; if the WiFi wireless transmission mode communication is stable, communication parameters are optimized; if the WiFi wireless transmission mode communication is unstable, the host switches to LoRa wireless transmission mode to communicate wirelessly with the terminal. Specifically, this includes:
[0014] The debugging host sends a wireless broadcast signal to the test terminal via WiFi wireless transmission mode, and then monitors the initialization response message of the test terminal. If the debugging host receives the response message from the test terminal and the packet loss rate is less than the preset packet loss rate and the overall response delay is less than the preset delay, then the WiFi wireless transmission mode communication is stable and the communication parameters are optimized. If the response message of the test terminal times out, or the response message packet loss rate is greater than the preset packet loss rate, then the debugging host switches to LoRa wireless transmission mode and resends the broadcast message to the test terminal.
[0015] A further improvement of the present invention is that the step of optimizing communication parameters if the LoRa wireless transmission mode communication is stable, and issuing an abnormal warning otherwise, specifically includes: after the debugging host receives the LoRa response message from the test terminal, it detects that the packet loss rate of the LoRa communication is less than the preset packet loss rate and the overall response delay is less than the preset value delay, and judges that the communication is stable and starts optimizing wireless transmission parameters; otherwise, it judges that the communication is unstable and issues an abnormal warning.
[0016] A further improvement of this invention lies in the communication parameter optimization step, which specifically includes:
[0017] The wireless transmission process is initialized using stable initial preset parameters. The debugging host notifies the test terminal to adjust the wireless parameters to the optimal efficiency value, and the stability of wireless communication is verified through a broadcast-response mechanism. If the communication is stable, the debugging host notifies the test terminal to use the optimized parameters. If the communication is unstable, after a predetermined time, both the debugging host and the test terminal automatically revert to the preset parameters. After the communication stabilizes again under the preset parameters, the debugging host notifies the test terminal to lower the wireless parameters. After reaching an agreement, the communication stability is retested according to the adjusted parameters until the communication is stable. If subsequent parameters are not suitable, the initial preset parameters are used again.
[0018] A further improvement of this invention is that, in WiFi wireless transmission mode, the TCP / IP protocol is transparently transmitted through the WiFi module inside the debugging host, and then converted into a wireless Ethernet signal to directly interact with the WiFi module of the test terminal.
[0019] In LoRa wireless transmission mode, the debugging host obtains the IP address of the test terminal based on the broadcast response message of the test terminal, and uses the obtained IP address to establish a virtual TCP / IP server for the corresponding test terminal within the debugging host, thereby realizing the socket connection of the application layer system software. After a valid virtual TCP / IP communication link is established, the debugging host converts the application layer TCP / IP protocol into a serial port protocol that the LoRa module can recognize, unifying the interaction interface between the application layer and the debugging system, and realizing a consistent access environment for the application layer of the debugging system under different wireless transmission modes.
[0020] A further improvement of this invention is as follows: In LoRa wireless transmission mode, the debugging host sends a signal to the front-end LoRa module of the mobile repeater. The FPGA quickly receives the serial port data accessed by the front-end LoRa module, and synchronizes the access timing with the back-end LoRa module. Then, it outputs the data to the back-end LoRa module. The data between the front-end LoRa module and the back-end LoRa module adopts unidirectional fixed-frequency transmission with a fixed data baud rate. After verifying the validity of the data packet header, the FPGA does not need to receive the complete data packet and directly outputs the data buffered in the FIFO of the FPGA to the back-end LoRa module. The back-end LoRa module sends the received signal to the test terminal.
[0021] Secondly, the present invention provides an adaptive wireless communication system for point-to-point commissioning of substation signals, comprising:
[0022] The debugging host is used to communicate wirelessly with the test terminal via WiFi wireless transmission mode. If the WiFi wireless transmission mode communication is stable, the communication parameters are optimized. If the WiFi wireless transmission mode communication is unstable, it switches to LoRa wireless transmission mode to communicate wirelessly with the terminal. If the LoRa wireless transmission mode communication is stable, the communication parameters are optimized; otherwise, an abnormal warning is issued.
[0023] The test terminal is used to communicate wirelessly with the debugging host via WiFi or LoRa wireless transmission modes.
[0024] A further improvement of this invention is that the debugging host communicates wirelessly with the test terminal via WiFi wireless transmission mode. If the WiFi wireless transmission mode communication is stable, communication parameters are optimized; if the WiFi wireless transmission mode communication is unstable, the system switches to LoRa wireless transmission mode to communicate wirelessly with the terminal. Specifically, this includes:
[0025] The debugging host sends a wireless broadcast signal to the test terminal via WiFi wireless transmission mode, and then monitors the initialization response message of the test terminal. If the debugging host receives the response message from the test terminal and the packet loss rate is less than the preset packet loss rate and the overall response delay is less than the preset delay, then the WiFi wireless transmission mode communication is stable and the communication parameters are optimized. If the response message of the test terminal times out, or the response message packet loss rate is greater than the preset packet loss rate, then the debugging host switches to LoRa wireless transmission mode and resends the broadcast message to the test terminal.
[0026] A further improvement of the present invention is that: if the LoRa wireless transmission mode communication is stable, communication parameter optimization is performed; otherwise, an abnormal warning is issued. Specifically, after the debugging host receives the LoRa response message from the test terminal, it detects that the packet loss rate of the LoRa communication is less than the preset packet loss rate and the overall response delay is less than the preset delay value. If so, it determines that the communication is stable and starts wireless transmission parameter optimization; otherwise, it determines that the communication is unstable and issues an abnormal warning.
[0027] A further improvement of this invention lies in the optimization of communication parameters, specifically including:
[0028] The wireless transmission process is initialized using stable initial preset parameters. The debugging host notifies the test terminal to adjust the wireless parameters to the optimal efficiency value, and the stability of wireless communication is verified through a broadcast-response mechanism. If the communication is stable, the debugging host notifies the test terminal to use the optimized parameters. If the communication is unstable, after a predetermined time, both the debugging host and the test terminal automatically revert to the preset parameters. After the communication stabilizes again under the preset parameters, the debugging host notifies the test terminal to lower the wireless parameters. After reaching an agreement, the communication stability is retested according to the adjusted parameters until the communication is stable. If subsequent parameters are not suitable, the initial preset parameters are used again.
[0029] Compared with the prior art, the present invention has the following beneficial effects:
[0030] This invention provides an adaptive wireless communication method and system for point-to-point commissioning of substation signals, comprising: a wireless adaptive switching communication mode based on WiFi and LoRa. The commissioning host first establishes wireless communication with the test terminal via WiFi. If the WiFi wireless transmission mode communication is stable, communication parameters are optimized. If the WiFi wireless transmission mode communication is unstable, the system switches to LoRa wireless transmission mode for wireless communication with the terminal. If the LoRa wireless transmission mode communication is stable, communication parameters are optimized again; otherwise, an abnormal warning is issued. Point-to-point commissioning of substation signals is performed between the commissioning host and the test terminal. This invention automatically selects the wireless data communication mode suitable for the actual operating conditions of the substation, optimizes wireless transmission parameters, establishes a unified application layer interaction interface, supports mobile relay of wireless signals, establishes a closed-loop transmission channel for commissioning signals, and realizes adaptive wireless communication suitable for point-to-point commissioning in substations. This invention is based on a composite wireless communication technology of WiFi and LoRa. It automatically selects the appropriate wireless data transmission mode for the commissioning system at the substation commissioning site, solving the problems of weak wireless signal penetration, limited coverage, and susceptibility to external interference in traditional solutions. This improves the practicality of the wireless point-to-point commissioning system at the site and enhances the reliability and efficiency of point-to-point signal commissioning in substations.
[0031] This invention has the ability to automatically optimize wireless transmission parameters, eliminating the need for staff to manually adjust wireless communication parameters on-site. It solves the problem of inconsistent on-site environments in different substations affecting the wireless communication of the commissioning system, and improves the on-site efficiency of the commissioning system.
[0032] This invention is a hardware-level signal relay technology based on hardware programmable logic, which has extremely low signal relay latency and stable transmission time characteristics. The low power consumption design of the module can be powered by a battery, realizing mobile wireless signal relay in substations and quickly improving the coverage of wireless signals in the field.
[0033] This invention adopts a closed-loop debugging signal transmission scheme, which uses wireless communication data to provide real-time feedback on the actual output status of the remote debugging signal, thus solving the problem of fault location when debugging is abnormal and effectively improving the reliability of the debugging system. Attached Figure Description
[0034] The accompanying drawings, which form part of this specification, are used to provide a further understanding of the invention. The illustrative embodiments of the invention and their descriptions are used to explain the invention and do not constitute an undue limitation of the invention. In the drawings:
[0035] Figure 1 This is a wireless data transmission solution for point-to-point commissioning at substations at this stage.
[0036] Figure 2An adaptive wireless communication method suitable for point-to-point commissioning in substations;
[0037] Figure 3 An adaptive switching process for wireless transmission modes;
[0038] Figure 4 Automatic optimization process for wireless transmission parameters;
[0039] Figure 5 Application layer access methods for different communication modes;
[0040] Figure 6 It is a mobile wireless signal relay technology based on programmable hardware logic;
[0041] Figure 7 This is a closed-loop signal transmission technology for point-to-point debugging. Detailed Implementation
[0042] The present invention will now be described in detail with reference to the accompanying drawings and embodiments. It should be noted that, unless otherwise specified, the embodiments and features described herein can be combined with each other.
[0043] The following detailed description is exemplary and intended to provide further detailed explanation of the invention. Unless otherwise specified, all technical terms used in this invention have the same meaning as commonly understood by one of ordinary skill in the art. The terminology used in this invention is for describing particular embodiments only and is not intended to limit the scope of exemplary embodiments according to the invention.
[0044] This invention automatically selects a wireless data communication mode suitable for the actual working conditions of the substation, optimizes wireless transmission parameters, establishes a unified application layer interaction interface, supports mobile relay of wireless signals, establishes a closed-loop transmission channel for debugging signals, and realizes an adaptive wireless communication method suitable for point-to-point debugging in substations.
[0045] Example 1
[0046] Please see Figure 2 As shown, this invention provides an adaptive wireless communication method for point-to-point commissioning of substation signals. It adopts a combined WiFi and LoRa wireless communication scheme, automatically selects a wireless data communication mode suitable for the actual working conditions of the substation, optimizes wireless transmission parameters, establishes a unified application layer interaction interface, supports mobile relay of wireless signals, establishes a closed-loop transmission channel for commissioning signals, and realizes adaptive wireless communication technology suitable for point-to-point commissioning in substations.
[0047] This invention discloses an adaptive wireless communication method for point-to-point signal debugging in substations, specifically comprising the following steps:
[0048] Step 1: Adaptive switching; automatically select the appropriate wireless communication technology according to the site environment of the substation under test; adopt a composite wireless communication scheme combining WiFi (Wireless Fidelity) and LoRa (Long Range Radio), and the system automatically switches the actual wireless transmission mode according to the message communication quality.
[0049] WiFi and LoRa are two wireless data transmission technologies with complementary advantages and disadvantages. WiFi communication offers high transmission rates, and its layered protocol encapsulation ensures reliable data transmission. However, its coverage is limited, and its performance is poor in long-distance, heavily shielded environments. WiFi mode, combined with wireless 1588 time synchronization technology, is suitable for transient signal debugging of multiple devices in small substations. LoRa wireless transmission technology uses a long-distance radio modulation scheme, achieving a greater wireless transmission distance with the same power consumption. LoRa communication supports parallel processing of multiple channels and data rates, possessing good anti-interference capabilities for data transmission, achieving a balance between low power consumption and long distance wireless transmission. LoRa mode is suitable for steady-state signal debugging of local devices in large substations.
[0050] This invention employs a composite wireless communication scheme combining WiFi and LoRa. The system automatically switches the actual wireless transmission mode based on the message communication quality. (See attached diagram) Figure 3 As shown, after powering on, both the debugging host and the test terminal initialize dual-channel wireless data communication (WiFi and LoRa) in parallel. At the start of debugging, the WiFi wireless transmission mode is used by default. The debugging host sends a wireless broadcast signal to the test terminal via the WiFi module and then monitors the test terminal's initialization response message. If the debugging host receives the test terminal's response message, and the packet loss rate is less than the preset packet loss rate, and the overall response delay is less than the preset delay, then the debugging requirements are met, and the process proceeds to step two to begin optimizing the wireless transmission parameters. If the test terminal's response message times out, or the response message packet loss rate is greater than the preset packet loss rate, the debugging host switches to LoRa wireless transmission mode and resends the broadcast message to the test terminal. If the test terminal detects that the LoRa channel data is valid, receives and verifies that it is the debugging host's broadcast message, then switches to the LoRa data channel and responds to the debugging host's broadcast message. After receiving the LoRa response message from the test terminal, the debugging host also checks whether the LoRa communication is stable (if the packet loss rate is less than the preset packet loss rate and the overall response delay is less than the preset delay, the communication is considered stable; otherwise, the communication is considered unstable). If LoRa communication is determined to be stable, proceed to step two to begin optimizing the wireless transmission parameters. If LoRa communication is determined to be unstable, an abnormal warning is issued.
[0051] Step 2: Transmission self-optimization; automatically optimizes communication module parameters to obtain better debugging data and wireless communication performance.
[0052] The main communication parameters affecting wireless data transmission efficiency include: wireless communication frequency band, module output power, and data transmission rate. Different wireless communication modules operate on different electromagnetic wave transmission frequencies. The more devices operating on the same frequency band, the greater the interference in wireless data transmission. Therefore, in substation commissioning, it is necessary to select an appropriate wireless communication frequency band based on the actual situation to improve data transmission stability. The output power of the wireless communication module determines the signal strength of its transmitted wireless data. Higher output power can improve the transmission distance and stability of wireless data, but it will also increase the power consumption of the wireless module. During use, the power consumption of the wireless module needs to be balanced according to the actual wireless coverage area. The data transmission rate refers to the baud rate at which the wireless module sends data packets. Increasing the transmission rate can reduce data communication latency, but it will increase the data packet loss rate and reduce transmission stability. Therefore, optimizing wireless communication parameters can effectively improve the stability and efficiency of wireless data transmission.
[0053] This method uses appendix Figure 4 The automatic optimization technology for wireless transmission parameters is shown. First, the wireless transmission process is initialized using stable preset parameters. Then, the debugging host notifies the test terminal, and both adjust the wireless parameters to optimal efficiency values. The stability of wireless communication is verified through a broadcast-response mechanism (packet loss rate less than the preset packet loss rate and overall response delay less than the preset delay). If communication is stable, the debugging host notifies the test terminal to use the optimized parameters; if communication is unstable, after a period of time, both the debugging host and the test terminal automatically revert to the preset parameters (the preset parameters used in wireless communication, which are stable but inefficient, serving as a safety net for system operation in extreme environments). After communication stabilizes again under the preset parameters, the debugging host notifies the test terminal to lower the wireless parameters. After reaching an agreement, communication stability is retested using the adjusted parameters until communication is stable. If subsequent parameters are unsuitable, the initial preset parameters are used again.
[0054] Step 3: Consistent Interface; Configure test data for communication transmission through a consistent external interaction interface. Create a consistent application access environment interface for both WiFi and LoRa wireless modes, simplifying the development workload of external applications and improving the maintainability of the debugging system.
[0055] Application layer access environments under different communication modes are shown in the appendix. Figure 5As shown, the application layer of the point-to-point debugging system uniformly adopts the TCP / IP protocol interface of wired Ethernet. In WiFi mode, the system software transmits the TCP / IP protocol through the WiFi module inside the host, and then converts it into a wireless Ethernet signal to interact directly with the WiFi module of the test terminal. In LoRa mode, since the LoRa module uses serial port interaction, it cannot communicate directly through the TCP / IP protocol. The debugging host needs to obtain the IP address of the test terminal based on the broadcast response message of the test terminal, and use the obtained IP address to establish a virtual TCP / IP server for the corresponding test terminal within the debugging host to realize the socket connection of the application layer system software. Once a valid virtual TCP / IP communication link is established, the debugging host converts the application layer TCP / IP protocol into a serial port protocol that the LoRa module can recognize, according to the communication protocol differences between the WiFi module and the LoRa module. This unifies the interaction interface between the application layer and the debugging system, and achieves a consistent access environment for the application layer of the debugging system under different wireless transmission modes.
[0056] Step 4: Mobile relay; When the on-site wireless communication coverage cannot meet the requirements, mobile relay technology can be used to extend the wireless signal coverage and realize mobile low-latency wireless signal relay according to the on-site needs.
[0057] Wireless signal interference is prevalent at substation sites, and outdoor power interfaces are limited. Long-range WiFi modules consume high power, and the relay latency of encapsulation protocols is significant, making WiFi-based wireless signal relay ineffective in substation environments. This invention designs a mobile, low-latency signal relay method based on LoRa mode to meet on-site commissioning needs.
[0058] As attached Figure 6 As shown, FPGA programmable hardware logic is used to implement hardware-level relay forwarding for LoRa wireless communication. The FPGA employs an internal high-speed hardware FIFO to quickly receive serial data from the front-end LoRa module, simultaneously synchronizing the access timing with the back-end LoRa module, and then outputting the data to the back-end LoRa module. The LoRa module uses unidirectional fixed-frequency transmission with a fixed baud rate. After verifying the validity of the data packet header, the FPGA can output the data buffered in the FIFO to the back-end LoRa module without waiting for the complete data packet to be received, achieving low-latency and time-stable wireless signal data forwarding. In particular, the LoRa module itself has the advantage of low power consumption. When using a low-power FPGA processor, the overall power consumption of the relay system is low, and batteries can be used to power the system, realizing mobile wireless signal relay in substations.
[0059] Step 5: Closed-loop signal transmission; After the debugging system establishes a stable wireless communication environment, complete the closed-loop transmission monitoring of the output signal of the debugging system.
[0060] Currently, the wireless point-to-point commissioning method used in substations involves transmitting commissioning data from the commissioning host to the test terminal via wireless communication. The commissioning host only confirms the end of communication based on the response message from the test terminal, but it cannot obtain information on whether the remote signal (the analog test signal output by the test terminal placed at the remote end) is correctly output. When the commissioning results are inconsistent with the theoretical values, it is necessary to check the accuracy of the output signal of the test terminal at the remote end, making it impossible to quickly determine the anomaly of the system under test. In one specific implementation, the system under test is an operating equipment system (measurement and control device, backend, data transmission link) tested through a commissioning system (commissioning host + commissioning terminal).
[0061] This invention uses appendix Figure 7 The closed-loop signal transmission method shown adds an output signal feedback detection mechanism at the test terminal and transmits the result back to the debugging host via wireless communication closed loop. This allows the debugging host to monitor the actual output of the remote debugging signal in real time, improving the reliability of the debugging system. The output signal from the test terminal is amplified by a power amplifier and then transmitted to the debugging host via the system under test. The debugging host determines the accuracy of the output signal and sends back a feedback signal indicating accuracy, which is then sent back to the test terminal via the system under test.
[0062] This invention relates to an adaptive wireless communication implementation method for point-to-point signal debugging in substations, and has the following technical features:
[0063] (1) Based on a composite wireless communication technology of WiFi and LoRa, it combines the high data throughput of WiFi wireless communication with the strong signal coverage of LoRa wireless communication. By detecting the operating conditions of the substation, the system automatically adjusts to a suitable communication mode to achieve the best remote commissioning effect of the substation.
[0064] (2) The debugging host and the test terminal automatically negotiate and optimize wireless communication parameters such as communication frequency band, module output power, and data transmission rate, which further improves the reliability of wireless data transmission and communication efficiency of the debugging system.
[0065] (3) By using TCP / IP protocol pass-through, virtual server and protocol conversion, a consistent access interface environment between WiFi module and LoRa module was established, which simplifies the development workload of external application and improves the maintainability of the debugging system.
[0066] (4) Based on programmable hardware logic and low-power components, a battery-powered, portable, low-latency, and time-stable hardware-level wireless signal relay is realized by rapidly forwarding and synchronously outputting timing data through a high-speed FIFO, effectively expanding the wireless signal coverage of the debugging site.
[0067] (5) The output signal status is detected locally at the test terminal and feedback is provided through a closed loop via a wireless communication link, so that the debugging host can keep track of the actual output status of the remote debugging signal in real time, which effectively ensures the reliability of the debugging system.
[0068] Example 2
[0069] The present invention also provides an adaptive wireless communication system for point-to-point commissioning of substation signals, comprising:
[0070] The debugging host is used to communicate wirelessly with the test terminal via WiFi wireless transmission mode. If the WiFi wireless transmission mode communication is stable, the communication parameters are optimized. If the WiFi wireless transmission mode communication is unstable, it switches to LoRa wireless transmission mode to communicate wirelessly with the terminal. If the LoRa wireless transmission mode communication is stable, the communication parameters are optimized; otherwise, an abnormal warning is issued.
[0071] The test terminal is used to communicate wirelessly with the debugging host via WiFi or LoRa wireless transmission modes.
[0072] In one specific implementation, the debugging host communicates wirelessly with the test terminal via WiFi wireless transmission mode. If the WiFi wireless transmission mode communication is stable, communication parameters are optimized. If the WiFi wireless transmission mode communication is unstable, the system switches to LoRa wireless transmission mode to communicate wirelessly with the terminal. Specifically, this includes:
[0073] The debugging host sends a wireless broadcast signal to the test terminal via WiFi wireless transmission mode, and then monitors the initialization response message of the test terminal. If the debugging host receives the response message from the test terminal and the packet loss rate is less than the preset packet loss rate and the overall response delay is less than the preset delay, then the WiFi wireless transmission mode communication is stable and the communication parameters are optimized. If the response message of the test terminal times out, or the response message packet loss rate is greater than the preset packet loss rate, then the debugging host switches to LoRa wireless transmission mode and resends the broadcast message to the test terminal.
[0074] In one specific implementation, the step of optimizing communication parameters if the LoRa wireless transmission mode communication is stable, and issuing an abnormal warning otherwise, specifically includes: after the debugging host receives the LoRa response message from the test terminal, it detects that the packet loss rate of the LoRa communication is less than the preset packet loss rate and the overall response delay is less than the preset delay value, and judges that the communication is stable, and starts optimizing wireless transmission parameters; otherwise, it judges that the communication is unstable and issues an abnormal warning.
[0075] A further improvement of this invention lies in the optimization of communication parameters, specifically including:
[0076] The wireless transmission process is initialized using stable initial preset parameters. The debugging host notifies the test terminal to adjust the wireless parameters to the optimal efficiency value, and the stability of wireless communication is verified through a broadcast-response mechanism. If the communication is stable, the debugging host notifies the test terminal to use the optimized parameters. If the communication is unstable, after a predetermined time, both the debugging host and the test terminal automatically revert to the preset parameters. After the communication stabilizes again under the preset parameters, the debugging host notifies the test terminal to lower the wireless parameters. After reaching an agreement, the communication stability is retested according to the adjusted parameters until the communication is stable. If subsequent parameters are not suitable, the initial preset parameters are used again.
[0077] In one specific implementation, the communication parameter optimization step specifically includes:
[0078] The wireless transmission process is initialized using stable initial preset parameters. The debugging host notifies the test terminal to adjust the wireless parameters to the optimal efficiency value, and the stability of wireless communication is verified through a broadcast-response mechanism. If the communication is stable, the debugging host notifies the test terminal to use the optimized parameters. If the communication is unstable, after a predetermined time, both the debugging host and the test terminal automatically revert to the preset parameters. After the communication stabilizes again under the preset parameters, the debugging host notifies the test terminal to lower the wireless parameters. After reaching an agreement, the communication stability is retested according to the adjusted parameters until the communication is stable. If subsequent parameters are not suitable, the initial preset parameters are used again.
[0079] In one specific implementation, in WiFi wireless transmission mode, the TCP / IP protocol is transparently transmitted through the WiFi module inside the debugging host, and then converted into a wireless Ethernet signal to directly interact with the WiFi module of the test terminal;
[0080] In LoRa wireless transmission mode, the debugging host obtains the IP address of the test terminal based on the broadcast response message of the test terminal, and uses the obtained IP address to establish a virtual TCP / IP server for the corresponding test terminal within the debugging host, thereby realizing the socket connection of the application layer system software. After a valid virtual TCP / IP communication link is established, the debugging host converts the application layer TCP / IP protocol into a serial port protocol that the LoRa module can recognize, unifying the interaction interface between the application layer and the debugging system, and realizing a consistent access environment for the application layer of the debugging system under different wireless transmission modes.
[0081] In one specific implementation, in LoRa wireless transmission mode, the debugging host sends a signal to the front-end LoRa module of the mobile repeater. The FPGA quickly receives the serial port data accessed by the front-end LoRa module, synchronizes the access timing with the back-end LoRa module, and then outputs the data to the back-end LoRa module. The data between the front-end LoRa module and the back-end LoRa module adopts unidirectional fixed-frequency transmission with a fixed data baud rate. After verifying the validity of the data packet header, the FPGA directly outputs the data buffered in the FIFO in the FPGA to the back-end LoRa module. The back-end LoRa module sends the received signal to the test terminal.
Claims
1. An adaptive wireless communication method for point-to-point commissioning of substation signals, characterized in that, include: Based on the wireless adaptive switching communication method between WiFi and LoRa, the debugging host first conducts wireless communication with the test terminal through WiFi wireless transmission mode. If the WiFi wireless transmission mode communication is stable, the communication parameters are optimized. If the WiFi wireless transmission mode communication is unstable, the host switches to LoRa wireless transmission mode to conduct wireless communication with the terminal. If the LoRa wireless transmission mode communication is stable, optimize the communication parameters; otherwise, issue an abnormal warning. The debugging host first establishes wireless communication with the test terminal via WiFi wireless transmission mode. If the WiFi wireless transmission mode communication is stable, communication parameters are optimized. If the WiFi wireless transmission mode communication is unstable, the host switches to LoRa wireless transmission mode to establish wireless communication with the terminal. Specifically, this includes: The debugging host sends a wireless broadcast signal to the test terminal via WiFi wireless transmission mode, and then monitors the initialization response message of the test terminal. If the debugging host receives the response message from the test terminal and the packet loss rate is less than the preset packet loss rate and the overall response delay is less than the preset delay, then the WiFi wireless transmission mode communication is stable and the communication parameters are optimized. If the response message of the test terminal times out, or the response message packet loss rate is greater than the preset packet loss rate, then the debugging host switches to LoRa wireless transmission mode and resends the broadcast message to the test terminal. A consistent access interface environment was established between the WiFi module and the LoRa module; In WiFi wireless transmission mode, the TCP / IP protocol is transmitted through the WiFi module inside the debugging host, and then converted into a wireless Ethernet signal to directly interact with the WiFi module of the test terminal. In LoRa wireless transmission mode, the debugging host obtains the IP address of the test terminal based on the broadcast response message of the test terminal, and uses the obtained IP address to establish a virtual TCP / IP server for the corresponding test terminal in the debugging host to realize the socket connection of the application layer system software. After a valid virtual TCP / IP communication link is established, the debugging host converts the application layer TCP / IP protocol into a serial port protocol that the LoRa module can recognize, unifying the interaction interface between the application layer and the debugging system, and realizing a consistent access environment for the application layer of the debugging system under different wireless transmission modes. The debugging host and test terminal automatically negotiate and adaptively optimize wireless communication parameters, specifically including: The wireless transmission process is initialized using stable initial preset parameters. The debugging host notifies the test terminal to adjust the wireless parameters to the optimal efficiency value, and the stability of wireless communication is verified through a broadcast-response mechanism. If the communication is stable, the debugging host notifies the test terminal to use the optimized parameters. If the communication is unstable, after a predetermined time, both the debugging host and the test terminal automatically revert to the preset parameters. After the communication stabilizes again under the preset parameters, the debugging host notifies the test terminal to lower the wireless parameters. After reaching an agreement, the communication stability is retested according to the adjusted parameters until the communication is stable. If subsequent parameters are not suitable, the initial preset parameters are used again. Establish a mobile hardware-level wireless signal relay; the wireless signal relay includes: a front-end LoRa module, an FPGA, and a back-end LoRa module; In LoRa wireless transmission mode, the debugging host sends a signal to the front-end LoRa module of the mobile repeater. The FPGA quickly receives the serial port data from the front-end LoRa module and synchronizes the access timing with the back-end LoRa module. Then, it outputs the data to the back-end LoRa module. The data between the front-end and back-end LoRa modules is transmitted unidirectionally at a fixed frequency with a fixed baud rate. After verifying the validity of the data packet header, the FPGA directly outputs the data buffered in the FPGA's FIFO to the back-end LoRa module. The back-end LoRa module then sends the received signal to the test terminal. After establishing a stable wireless communication environment, the output signal status is detected locally at the test terminal. Through closed-loop feedback via the wireless communication link, the debugging host can monitor the actual output status of the remote debugging signal in real time.
2. The adaptive wireless communication method for point-to-point commissioning of substation signals according to claim 1, characterized in that, The step of optimizing communication parameters if LoRa wireless transmission mode communication is stable, and issuing an abnormal warning otherwise, specifically includes: after the debugging host receives the LoRa response message from the test terminal, it detects that the packet loss rate of LoRa communication is less than the preset packet loss rate and the overall response delay is less than the preset delay value, and judges that the communication is stable and starts optimizing wireless transmission parameters; otherwise, it judges that the communication is unstable and issues an abnormal warning.
3. An adaptive wireless communication system for point-to-point signal debugging in substations, characterized in that, include: The debugging host is used to communicate wirelessly with the test terminal via WiFi wireless transmission mode. If the WiFi wireless transmission mode communication is stable, the communication parameters are optimized. If the WiFi wireless transmission mode communication is unstable, it switches to LoRa wireless transmission mode to communicate wirelessly with the terminal. If the LoRa wireless transmission mode communication is stable, optimize the communication parameters; otherwise, issue an abnormal warning. The test terminal is used to communicate wirelessly with the debugging host via WiFi or LoRa wireless transmission modes. The debugging host communicates wirelessly with the test terminal via WiFi. If the WiFi wireless transmission mode is stable, communication parameters are optimized. If the WiFi wireless transmission mode is unstable, the system switches to LoRa wireless transmission mode to communicate with the terminal. Specifically, this includes: The debugging host sends a wireless broadcast signal to the test terminal via WiFi wireless transmission mode, and then monitors the initialization response message of the test terminal. If the debugging host receives the response message from the test terminal and the packet loss rate is less than the preset packet loss rate and the overall response delay is less than the preset delay, then the WiFi wireless transmission mode communication is stable and the communication parameters are optimized. If the response message of the test terminal times out, or the response message packet loss rate is greater than the preset packet loss rate, then the debugging host switches to LoRa wireless transmission mode and resends the broadcast message to the test terminal. A consistent access interface environment was established between the WiFi module and the LoRa module; In WiFi wireless transmission mode, the TCP / IP protocol is transmitted through the WiFi module inside the debugging host, and then converted into a wireless Ethernet signal to directly interact with the WiFi module of the test terminal. In LoRa wireless transmission mode, the debugging host obtains the IP address of the test terminal based on the broadcast response message of the test terminal, and uses the obtained IP address to establish a virtual TCP / IP server for the corresponding test terminal in the debugging host to realize the socket connection of the application layer system software. After a valid virtual TCP / IP communication link is established, the debugging host converts the application layer TCP / IP protocol into a serial port protocol that the LoRa module can recognize, unifying the interaction interface between the application layer and the debugging system, and realizing a consistent access environment for the application layer of the debugging system under different wireless transmission modes. The debugging host and test terminal automatically negotiate and adaptively optimize wireless communication parameters, specifically including: The wireless transmission process is initialized using stable initial preset parameters. The debugging host notifies the test terminal to adjust the wireless parameters to the optimal efficiency value, and the stability of wireless communication is verified through a broadcast-response mechanism. If the communication is stable, the debugging host notifies the test terminal to use the optimized parameters. If the communication is unstable, after a predetermined time, both the debugging host and the test terminal automatically revert to the preset parameters. After the communication stabilizes again under the preset parameters, the debugging host notifies the test terminal to lower the wireless parameters. After reaching an agreement, the communication stability is retested according to the adjusted parameters until the communication is stable. If subsequent parameters are not suitable, the initial preset parameters are used again. Establish a mobile hardware-level wireless signal relay; the wireless signal relay includes: a front-end LoRa module, an FPGA, and a back-end LoRa module; In LoRa wireless transmission mode, the debugging host sends a signal to the front-end LoRa module of the mobile repeater. The FPGA quickly receives the serial port data from the front-end LoRa module and synchronizes the access timing with the back-end LoRa module. Then, it outputs the data to the back-end LoRa module. The data between the front-end and back-end LoRa modules is transmitted unidirectionally at a fixed frequency with a fixed baud rate. After verifying the validity of the data packet header, the FPGA directly outputs the data buffered in the FPGA's FIFO to the back-end LoRa module. The back-end LoRa module then sends the received signal to the test terminal. After establishing a stable wireless communication environment, the output signal status is detected locally at the test terminal. Through closed-loop feedback via the wireless communication link, the debugging host can monitor the actual output status of the remote debugging signal in real time.
4. The adaptive wireless communication system for point-to-point commissioning of substation signals according to claim 3, characterized in that, The step of optimizing communication parameters if LoRa wireless transmission mode communication is stable, and issuing an abnormal warning otherwise, specifically includes: after the debugging host receives the LoRa response message from the test terminal, it detects that the packet loss rate of LoRa communication is less than the preset packet loss rate and the overall response delay is less than the preset delay value, and judges that the communication is stable and starts optimizing wireless transmission parameters; otherwise, it judges that the communication is unstable and issues an abnormal warning.
Citation Information
Patent Citations
Continuous service data transmission method and equipment
CN107733742A
Intelligent substation monitoring information individual debugging platform
CN110707820A
High-reliability explosion effect dynamic test system
CN115665592A
